]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
2004-06-25 J"orn Rennecke <joern.rennecke@superh.com>
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
9a6831be
AO
12004-06-22 Alexandre Oliva <aoliva@redhat.com>
2
eb6a452a
AO
3 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
4 instead of typedefing jmp_buf.
5
9a6831be
AO
6 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
7 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
8 * libc/machine/h8300/defines.h (LEN): New macro.
9 * libc/machine/h8300/memcpy.S: Add h8sx version.
10 * libc/machine/h8300/memset.S: Likewise.
11 * libc/machine/h8300/strcmp.S: Likewise.
12 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
13 * libc/machine/h8300/h8sx_strcpy.S: New file.
14 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
15 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
16 __H8300SX__.
17 * libc/include/machine/setjmp.h: Likewise.
18 * libc/include/sys/config.h: Likewise.
19 * libc/machine/h8300/defines.h: Likewise.
20 * libc/machine/h8300/setjmp.S: Likewise.
21 * libc/machine/h8300/strcmp.S: Likewise.
22 * libc/sys/h8300hms/close.S: Likewise.
23 * libc/sys/h8300hms/fstat.S: Likewise.
24 * libc/sys/h8300hms/lseek.S: Likewise.
25 * libc/sys/h8300hms/read.S: Likewise.
26 * libc/sys/h8300hms/write.S: Likewise.
27 * libc/sys/h8300hms/crt0.S: Likewise.
28 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
29 __H8300SX__ is defined.
30 * libc/sys/h8300hms/setarch.h: Likewise.
31
80dba41e
JJ
322004-06-17 Jeff Johnston <jjohnstn@redhat.com>
33
34 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
35 out change which set _GLOBAL_REENT to _global_impure_ptr until
36 we understand why Cygwin breaks because of it.
37
be910599
JJ
382004-06-14 Jeff Johnston <jjohnstn@redhat.com>
39
40 * libc/sys/linux/machine/i386/syscall.h: For now, set up
41 __syscall_return macro for systems with vsyscall.
42
d0bd3e6f
JJ
432004-06-11 Antony King <antony.king@st.com>
44
45 * libc/include/sys/_types.h: Include <sys/lock.h> and change
46 _flock_t to be of type _LOCK_RECURSIVE_T.
47 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
48 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
49 (_global_impure_ptr): New declaration.
50 (_GLOBAL_REENT): Change to be _global_impure_ptr.
51 * libc/include/sys/stdio.h: Include <sys/lock.h> and
52 <sys/reent.h>.
53 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
54 (_funlockfile)[!SINGLE_THREAD]: Ditto.
55 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
56 * libc/stdio/fclose.c: Remove casting of fp lock to
57 _LOCK_RECURSIVE_T.
58 * libc/stdio/findfp.c: Ditto.
59 * libc/stdio/fopen.c: Ditto.
60 * libc/stdio/freopen.c: Ditto.
61 * libc/stdio/vfprintf.c: Ditto.
62 * libc/stdio64/fopen64.c: Ditto.
63 * libc/stdlib/envlock.c: Add default stubs that use generic
64 locking code.
65 * libc/stdlib/mlock.c: Ditto.
66
67 Jeff Johnston <jjohnstn@redhat.com>
68 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
69 (_flock_t): Change to be a struct containing a single member
70 named mutex which is of type __flock_mutex_t.
71
db7033a9
JJ
722004-06-09 Jeff Johnston <jjohnstn@redhat.com>
73
74 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
75 from /usr/include/asm/signal.h instead of kernel sources. Also
76 default max to 32 if not found in header file.
77 * libc/sys/linux/Makefile.in: Regenerated.
78 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
79 systems where __syscall_return is not defined.
80 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
81 systems to use syscall() function instead of assembler interrupt.
82
a170abec
JJ
832004-06-09 Toralf Lund <toralf@procaptura.com>
84
85 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
86 files from libc/sys/arm to libc/machine/arm.
87 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
88 library build support for files moved from libc/sys/arm.
89 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
90 references to access and setjmp.
91 * configure.host: Add checks for newlib_may_supply_syscalls to
92 determine whether or not to use sys/arm directory and use
93 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
94
8b57e664
JJ
952004-06-02 Jeff Johnston <jjohnstn@redhat.com>
96
97 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
98 reset digit flags appropriately after we have discovered "0x".
99 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
100
3f611058
JJ
1012004-05-27 Jeff Johnston <jjohnstn@redhat.com>
102
103 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
104 from here ...
105 (_VFPRINTF_R): ... to here so all I/O printf routines
106 are covered.
107
bb42a35c
JJ
1082004-05-26 Jeff Johnston <jjohnstn@redhat.com>
109
110 * libc/search/hash_buf.c: Protect MAX and MIN macros from
111 redefinition.
112 * libc/search/hash.c: Ditto.
113
227e6ef6
JJ
1142004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
115
116 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
117 (_WANT_IO_LONG_LONG): Ditto.
118 (_WANT_IO_LONG_DOUBLE): Ditto.
119 * configure.in: Add new configuration options
120 --enable-newlib-io-long-long and --enable-newlib-io-long-double
121 which tie to new defines in newlib.hin.
122 * configure: Regenerated.
123 * configure.host: Add checks for new configuration options. Also
124 fix up check for --enable-newlib-io-pos-args so configuration
125 option will override any default for a given platform.
126 Remove defining compiler flags for the _WANT_IO* options.
127 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
128 instead of looking for old compiler flags.
129 * libc/stdio/vfscanf.c: Ditto.
130 * libc/stdio/vfieeefp.h: Ditto.
131 * libc/machine/powerpc/vfprintf.c: Ditto.
132 * libc/machine/powerpc/vfscanf.c: Ditto.
133
9178da95
JJ
1342004-05-25 Jeff Johnston <jjohnstn@redhat.com>
135
136 * testsuite/include/check.h: Add include of <stdio.h>.
137
cf3aae91
CV
1382004-05-17 Corinna Vinschen <corinna@vinschen.de>
139
140 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
141
5b4c8ae2
JJ
1422004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
143
144 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
145 of free.
146
1472004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
148
149 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
150 list for reentrant pointer. Call _vfiprintf_r.
151 * libc/stdio/siprintf.c (_siprintf_r): New function.
152 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
153 pointer argument. Change all callers. Call _VFPRINTF_R.
154 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
155 prototypes.
156
631fbe65
JJ
1572004-05-07 Jeff Johnston <jjohnstn@redhat.com>
158
159 * libc/include/sys/param.h: Remove endian info and include
160 <machine/endian.h> instead.
161 * libc/include/machine/endian.h: New file.
162 * libc/include/machine/param.h: Ditto.
163 * libc/machine/arm/machine/endian.h: Ditto.
164 * libc/machine/arm/machine/param.h: Ditto.
165 * libc/sys/arm/sys/param.h: Removed.
166 * libc/sys/sysvi386/sys/param.h: Ditto.
167 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
168
1af84bb7
JJ
1692004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
170
171 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
172 multibyte functions return failure for %C, %S, %lc, and %ls
173 format specifiers.
174
1c63798e
JJ
1752004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
176
177 * testsuite/include/check.h (CHECK): Add flush of stdout.
178
20b0251a
JJ
1792004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
180
181 * libc/include/stdio.h (_ungetc_r): New prototype.
182 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
183 (__submore): Add reentrant struct pointer argument.
184 (ungetc): Change to call _ungetc_r.
185
6194cf4a
JJ
1862004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
187
188 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
189 function pointer argument.
190 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
191 to specify function pointer arguments.
192 (__fwalk, __fwalk_reent): Ditto.
193
b4ddf489
AH
1942004-04-26 Aldy Hernandez <aldyh@redhat.com>
195
196 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
197 CT_INT case.
198
f777e3a5
JJ
1992004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
200
201 * configure.in: Define _MB_CAPABLE if mb supported.
202 * configure: Regenerated.
203 * configure.host: Remove manual setting of MB_CAPABLE compiler
204 flag.
205 * newlib.hin: Add _MB_CAPABLE flag.
206 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
207 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
208 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
209 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
210 * libc/ctype/jp2uc.c: Ditto.
211 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
212 * libc/locale/locale.c: Ditto
213 * libc/machine/powerpc/vfscanf.c: Ditto
214 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
215 * libc/stdlib/mblen.c: Ditto
216 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
217 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
218 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
219 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
220 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
221 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
222 * libc/sys/linux/intl/explodename.c: Ditto
223 * libc/sys/linux/intl/finddomain.c: Ditto
224 * libc/sys/linux/intl/l10nflist.c: Ditto
225 * libc/sys/linux/intl/loadmsgcat.c: Ditto
226 * libc/sys/linux/intl/localealias.c: Ditto
227
27c7566c
JJ
2282004-04-23 Jeff Johnston <jjohnstn@redhat.com>
229
230 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
231 (__svfscanf_r): In integer conversions, leave out leading zeroes
232 which are not part of a base prefix.
233 Keep track of width truncation to fit into buf, not counting left-out
234 zeroes against width till the truncation has been compensated for.
235 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
236
c00f9719
JJ
2372004-04-23 Jeff Johnston <jjohnstn@redhat.com>
238
239 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
240
05b31577
JJ
2412004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
242
243 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
244 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
245 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
246 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
247 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
248 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
249 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
250 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
251 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
252 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
253 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
254 libc/stdio/getchar.c libc/stdio/getchar_u.c,
255 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
256 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
257 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
258 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
259 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
260 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
261 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
262 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
263 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
264 libc/stdio/siprintf.c libc/stdio/snprintf.c,
265 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
266 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
267 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
268 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
269 libc/stdio/vprintf.c libc/stdio/vscanf.c,
270 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
271 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
272 libc/stdio/wsetup.c: Perform minor formatting changes. Move
273 copyright notices to top of file, ensure that <_ansi.h> is
274 included, be consistent with open parentheses, use _DEFUN macro,
275 include "local.h" where needed, and remove various compiler
276 warnings.
277
04e8fca1
JJ
2782004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
279
280 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
281 (__svfscanf_r): In integer conversions, leave out leading zeroes
282 which are not part of a base prefix.
283 Keep track of width truncation to fit into buf, not counting left-out
284 zeroes against width till the truncation has been compensated for.
285
9090ec74
CV
2862004-04-20 Corinna Vinschen <corinna@vinschen.de>
287
288 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
289
1c17deea
CV
2902004-04-20 Corinna Vinschen <corinna@vinschen.de>
291
292 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
293
54c7940f
CV
2942004-04-10 Corinna Vinschen <corinna@vinschen.de>
295
296 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
297 to SUSv3.
298
47dcaf56
JJ
2992004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
300
301 * libc/stdio/fclose.c (_fclose_r): New function.
302 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
303 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
304 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
305 * libc/include/stdio.h (_fclose_r): New prototype.
306 * libc/stdio/fopen.c: Fix typo in comment.
307
3082004-04-08 Jeff Johnston <jjohnstn@redhat.com>
309
310 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
311 to handle _r reentrant functions.
312
4121d8cf
JJ
3132004-04-08 Eric Christopher <echristo@redhat.com>
314
315 * libc/include/machine/setjmp.h: Fix endif locations.
316
59c9f5f5
JJ
3172004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
318
319 * libc/time/strptime.c: Add standard includes to avoid
320 warning messages at compilation time.
321
38f4f023
JJ
3222004-04-01 Jeff Johnston <jjohnstn@redhat.com>
323
324 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
325 of file.
326
3272004-03-30 Jeff Johnston <jjohnstn@redhat.com>
ed4c5ece
JJ
328
329 * libc/machine/h8300/Makefile.am: Reformat slightly.
330 * libc/machine/h8300/Makefile.in: Regenerate.
331
38f4f023 3322004-03-30 Thomas Pfaff <tpfaff@gmx.net>
cacc0d44
JJ
333
334 * libc/stdio/findfp.c (__fp_lock_all): Add call to
335 __sfp_lock_acquire.
336 (__fp_unlock_all): Add call to __sfp_lock_release.
337
10dcf7e7
JJ
3382004-03-25 Thomas Pfaff <tpfaff@gmx.net>
339
340 * libc/stdio/fclose.c (fclose): Protect file pointer list when
341 releasing a file.
342 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
343 fwalk.
344 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
345 _flockfile/_funlockfile.
346 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
347 to recursive.
348 Change __lock_acquire/__lock_release calls for __sfp_lock to
349 __sfp_lock_acquire/__sfp_lock_release throughout.
350 (std): Make sure that file lock is only initialized once.
351 (__sfp): Move _file initialization. Initialize file lock.
352 (__sfp_lock_acquire): New function.
353 (__sfp_lock_release): Ditto.
354 (__fp_lock_all): Remove __sfp_lock_acquire call.
355 (__fp_unlock_all): Remove __sfp_lock_release call.
356 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
357 Add calls to _flockfile/_funlockfile. Remove
358 __lock_init_recursive call.
359 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
360 * libc/stdio/fwalk.c (__fwalk): New static function.
361 (_fwalk): Protect file pointer list. Use __fwalk to walk through
362 file pointers.
363 * libc/stdio/local.h: Add defines for
364 __sfp_lock_acquire/__sfp_lock_release when
365 single threaded. Add function prototypes otherwise.
366 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
367 _flockfile/_funlockfile.
368 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
369 Add calls to _flockfile/_funlockfile. Remove
370 __lock_init_recursive call.
371 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
372 list.
373
ec475b09
JJ
3742004-03-25 Jeff Johnston <jjohnstn@redhat.com>
375
376 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
377 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
378 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
379 to be __LOCK_INIT_RECURSIVE.
380
2c4ef10a
JJ
3812004-03-11 Kazu Hirata <kazu@cs.umass.edu>
382
383 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
384 _exit.c with _exit.S.
385 * libc/sys/h8300hms/Makefile.in: Regenerate.
386 * libc/sys/h8300hms/_exit.c: Remove.
387 * libc/sys/h8300hms/_exit.S: New.
388
41c3da6a
JJ
3892004-03-09 Thomas Pfaff <tpfaff@gmx.net>
390
391 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
392 Change __sfp_lock to static global.
393 (__fp_lock): New static function.
394 (__fp_unlock): Ditto.
395 (__fp_lock_all): New function.
396 (__fp_unlock_all): Ditto.
397
0ccf5430
CF
3982004-02-10 Christopher Faylor <cgf@redhat.com>
399
400 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
401 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
402 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
403 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
404
3536f0fb
CF
4052004-02-09 Christopher Faylor <cgf@redhat.com>
406
407 * libc/include/time.h (TIMER_RELTIME): New define.
408
6a6e493a
JJ
4092004-02-09 Jeff Johnston <jjohnstn@redhat.com>
410
411 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
412 * libc/stdlib/Makefile.in: Regenerated.
413
733309f5
CF
4142004-02-08 Christopher Faylor <cgf@redhat.com>
415
416 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
417 * libc/include/sys/reent.h (__getreent): Protect against possibly being
418 defined.
419 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
420
b4a84c66
JJ
4212004-02-05 Paul Brook <paul@codesourcery.com>
422
423 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
424 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
425
4669438f
JJ
4262004-02-02 Jeff Johnston <jjohnstn@redhat.com>
427
428 * NEWS: Update with 1.12.0 info.
429 * README: Ditto.
430 * acinclude.m4: Change version number to 1.12.0.
431 * aclocal.m4: Regenerated.
432 * configure: Ditto.
433 * doc/aclocal.m4: Ditto.
434 * doc/configure: Ditto.
435 * libc/*/aclocal.m4: Ditto.
436 * libc/*/configure: Ditto.
437 * libc/libc.texinfo: Ditto.
438 * libm/*/aclocal.m4: Ditto.
439 * libm/*/configure: Ditto.
440 * libm/libm.texinfo: Ditto.
441 * libc/sys/linux/shared.ld: Add VERS_1.12.
442
94d61fcb
JJ
4432004-02-02 Joel Sherrill <joel@oarcorp.com>
444
445 * configure.host: Add support for tic4x.
446 * libc/include/machine/ieeefp.h: Ditto.
447 * libc/include/machine/setjmp.h: Ditto.
448 * libc/machine/tic4x/Makefile.am: New file.
449 * libc/machine/tic4x/configure.in: Ditto.
450 * libc/machine/tic4x/setjmp.S: Ditto.
451 * libc/machine/tic4x/aclocal.m4: Generated.
452 * libc/machine/tic4x/configure: Ditto.
453 * libc/machine/tic4x/Makefile.in: Ditto.
454
c730e0e7
JJ
4552004-01-30 Jeff Johnston <jjohnstn@redhat.com>
456
457 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
458 file chain on the passed in reentrancy struct if it
459 is _GLOBAL_REENT.
460
2892ec68
JJ
4612004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
462 Jeff Johnston <jjohnstn@redhat.com>
463
464 * libc/iconv/iconv.tex: Updated with more information.
465
ff41498a
JJ
4662004-01-30 Thomas Pfaff <tpfaff@gmx.net>
467 Jeff Johnston <jjohnstn@redhat.com>
468
469 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
470 struct for std streams and traverse the global reeentrancy
471 struct for all other streams.
472
d5b6c234
JJ
4732004-01-27 Jeff Johnston <jjohnstn@redhat.com>
474
475 * libc/stdlib/atexit.c: Protect global atexit list with a
476 lock when newlib is multithreaded.
477
01e0a777
JJ
4782004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
479
480 * configure.in: Add support to generate iconv converter flags
481 for newlib.h
482 * newlib.hin: Add iconv converter flags.
483 * configure: Regenerated.
484 * libc/Makefile.in: Ditto.
485 * libc/configure.in: Moved iconv converter parsing logic to
486 top level newlib configure.in.
487 * libc/configure: Regenerated.
488 * libc/iconv/Makefile.in: Ditto.
489 * libc/iconv/README.TODO
490 * libc/iconv/charset.aliases: Remove wrong BE aliases for
491 UCS2/UCS4/UTF8.
492 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
493 newlib.h can be used.
494 * libc/iconv/ces/Makefile.am: Ditto.
495 * libc/iconv/lib/Makefile.am: Ditto.
496 * libc/iconv/ccs/Makefile.in: Regenerated.
497 * libc/iconv/ces/Makefile.in: Ditto.
498 * libc/iconv/lib/Makefile.in: Ditto.
499 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
500 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
501 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
502 defined in newlib.h.
503 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
504 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
505 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
506 * libc/iconv/ccs/cp775.c: Ditto.
507 * libc/iconv/ccs/cp850.c: Ditto.
508 * libc/iconv/ccs/cp852.c: Ditto.
509 * libc/iconv/ccs/cp855.c: Ditto.
510 * libc/iconv/ccs/cp866.c: Ditto.
511 * libc/iconv/ccs/gb_2312_80.c: Ditto.
512 * libc/iconv/ccs/iso_8859_1.c: Ditto.
513 * libc/iconv/ccs/iso_8859_15.c: Ditto.
514 * libc/iconv/ccs/iso_8859_2.c: Ditto.
515 * libc/iconv/ccs/iso_8859_4.c: Ditto.
516 * libc/iconv/ccs/iso_8859_5.c: Ditto.
517 * libc/iconv/ccs/jis_x0201.c: Ditto.
518 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
519 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
520 * libc/iconv/ccs/koi8_r.c: Ditto.
521 * libc/iconv/ccs/koi8_u.c: Ditto.
522 * libc/iconv/ccs/ksx1001.c: Ditto.
523 * libc/iconv/ccs/shift_jis.c: Ditto.
524 * libc/iconv/ccs/us_ascii.c: Ditto.
525 * libc/iconv/ccs/binary/big5.cct: Newly generated.
526 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
527 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
528 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
529 * libc/iconv/ccs/binary/cp775.cct: Ditto.
530 * libc/iconv/ccs/binary/cp850.cct: Ditto.
531 * libc/iconv/ccs/binary/cp852.cct: Ditto.
532 * libc/iconv/ccs/binary/cp855.cct: Ditto.
533 * libc/iconv/ccs/binary/cp866.cct: Ditto.
534 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
535 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
536 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
537 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
538 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
539 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
540 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
541 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
542 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
543 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
544 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
545 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
546 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
547 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
548 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
549 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
550 * libc/iconv/ces/euc-kr.c: Ditto.
551 * libc/iconv/ces/euc-tw.c: Ditto.
552 * libc/iconv/ces/gb2312.c: Ditto.
553 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
554 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
555 * libc/iconv/ces/ucs-2-internal.c: Ditto.
556 * libc/iconv/ces/ucs-4-internal.c: Ditto.
557 * libc/iconv/ces/utf-16.c: Ditto.
558 * libc/iconv/ces/utf-8.c: Ditto.
559 * libc/iconv/lib/aliases.c: Ditto.
560 * libc/iconv/lib/biccs.c: Ditto.
561 * libc/iconv/lib/bices.c: Ditto.
562 * libc/iconv/lib/ccs.c: Ditto.
563 * libc/iconv/lib/ces.c: Ditto.
564 * libc/iconv/lib/ces_euc.c: Ditto.
565 * libc/iconv/lib/ces_iso2022.c: Ditto.
566 * libc/iconv/lib/ces_table.c: Ditto.
567 * libc/iconv/lib/converter.c: Ditto.
568 * libc/iconv/lib/deps.h: Ditto.
569 * libc/iconv/lib/endian.h: Ditto.
570 * libc/iconv/lib/iconv.c: Ditto.
571 * libc/iconv/lib/loaddata.c: Ditto.
572 * libc/iconv/lib/local.h: Include newlib.h.
573 * libc/argz/Makefile.in: Regenerated.
574 * libc/ctype/Makefile.in: Ditto.
575 * libc/errno/Makefile.in: Ditto.
576 * libc/iconv/ccs/binary/Makefile.in: Ditto.
577 * libc/locale/Makefile.in: Ditto.
578 * libc/misc/Makefile.in: Ditto.
579 * libc/posix/Makefile.in: Ditto.
580 * libc/reent/Makefile.in: Ditto.
581 * libc/search/Makefile.in: Ditto.
582 * libc/signal/Makefile.in: Ditto.
583 * libc/stdio/Makefile.in: Ditto.
584 * libc/stdio64/Makefile.in: Ditto.
585 * libc/stdlib/Makefile.in: Ditto.
586 * libc/string/Makefile.in: Ditto.
587 * libc/syscalls/Makefile.in: Ditto.
588 * libc/time/Makefile.in: Ditto.
589 * libc/unix/Makefile.in: Ditto.
590 * testsuite/newlib.iconv/iconv.exp: New file.
591 * testsuite/newlib.iconv/iconvjp.c: Ditto.
592 * testsuite/newlib.iconv/iconvnm.c: Ditto.
593 * testsuite/newlib.iconv/iconvru.c: Ditto.
594
786ab12c
JJ
5952004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
596
597 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
598 (--enable-newlib-builtin-converters): Ditto.
599 * configure.in: Add code to set _ICONV_ENABLED flag.
600 Set _MB_LEN_MAX to 1 if not mb enabled.
601 * configure: Regenerated.
602 * aclocal.m4: Ditto.
603 * Makefile.in: Ditto.
604 * newlib.hin: Add _ICONV_ENABLED flag.
605 * libc/Makefile.am: Add support for iconv.
606 * libc/configure.in: Ditto.
607 * libc/Makefile.in: Regenerated.
608 * libc/aclocal.m4: Ditto.
609 * libc/configure: Ditto.
610 * libc/libc.texinfo: Add iconv documentation.
611 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
612 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
613 libc/iconv/README.TODO, libc/iconv/charset.aliases,
614 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
615 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
616 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
617 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
618 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
619 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
620 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
621 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
622 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
623 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
624 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
625 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
626 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
627 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
628 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
629 libc/iconv/ccs/binary/big5.cct,
630 libc/iconv/ccs/binary/cns11643_plane1.cct,
631 libc/iconv/ccs/binary/cns11643_plane14.cct,
632 libc/iconv/ccs/binary/cns11643_plane2.cct,
633 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
634 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
635 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
636 libc/iconv/ccs/binary/iso_8859_1.cct,
637 libc/iconv/ccs/binary/iso_8859_15.cct,
638 libc/iconv/ccs/binary/iso_8859_2.cct,
639 libc/iconv/ccs/binary/iso_8859_4.cct,
640 libc/iconv/ccs/binary/iso_8859_5.cct,
641 libc/iconv/ccs/binary/jis_x0201.cct,
642 libc/iconv/ccs/binary/jis_x0208_1983.cct,
643 libc/iconv/ccs/binary/jis_x0212_1990.cct,
644 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
645 libc/iconv/ccs/binary/ksx1001.cct,
646 libc/iconv/ccs/binary/shift_jis.cct,
647 libc/iconv/ccs/binary/us_ascii.cct,
648 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
649 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
650 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
651 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
652 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
653 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
654 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
655 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
656 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
657 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
658 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
659 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
660 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
661 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
662 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
663 * libc/sys/linux/include/iconv.h: Ditto.
664 * libc/include/sys/_types.h (_iconv_t): Added.
665 * doc/aclocal.m4: Regenerated.
666 * doc/configure: Ditto.
667 * doc/Makefile.in: Ditto.
668 * iconvdata/Makefile.in: Ditto.
669 * iconvdata/aclocal.m4: Ditto.
670 * iconvdata/configure: Ditto.
671 * libc/*aclocal.m4: Ditto.
672 * libc/*Makefile.in: Ditto.
673 * libc/*configure: Ditto.
674 * libm/*aclocal.m4: Ditto.
675 * libm/*Makefile.in: Ditto.
676 * libm/*configure: Ditto.
677
ed1a95dc
JJ
6782004-01-22 Thomas Pfaff <tpfaff@gmx.net>
679
680 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
681 by a lock when newlib is multithreaded.
682
7d4be1ef
JJ
6832004-01-21 Jeff Johnston <jjohnstn@redhat.com>
684
685 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
686 pointer to match C99 spec.
687 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
688 dst is NULL. Also fix to not alter src pointer when dst is NULL
689 and call _mbrtowc_r instead of _mbtowc_r.
690 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
691 of _wctomb_r.
692
403f752c
JJ
6932004-01-19 Thomas Pfaff <tpfaff@gmx.net>
694
695 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
696 * libc/stdio/freopen.c (freopen): Ditto.
697
85b6d63b
CF
6982004-01-16 Christopher Faylor <cgf@redhat.com>
699
700 * libc/stdio/vfprintf.c: Add sys/lock.h include.
701
4af71a91
JJ
7022004-01-16 Thomas Pfaff <tpfaff@gmx.net>
703
704 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
705 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
706 Add calls to __lock_init_recursive and __lock_close_recursive
707 instead.
708
6a150987
JJ
7092004-01-15 Thomas Pfaff <tpfaff@gmx.net>
710
711 * libc/stdio/fclose.c: Include sys/lock.h.
712 (fclose): Destroy lock when file is closed.
713 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
714 member.
715 * libc/stdio/freopen.c: Include sys/lock.h.
716 (_freopen_r): Destroy lock when file is closed.
717 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
718 _lock member.
719
c9524c0c
JJ
7202004-01-08 Joel Sherrill <joel@oarcorp.com>
721
722 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
723 Remove warnings.
724
9f13ccb3
JJ
7252004-01-08 Joel Sherrill <joel@oarcorp.com>
726
727 * libc/sys/rtems/sys/queue.h: New file.
728 * libc/include/sys/signal.h: Reflect renumbering of signals to
729 fit into 32-bit mask.
730 * libc/include/sys/unistd.h: Add fdatasync() prototype.
731 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
732 required. In particular, add the reentrant variants of libc calls.
733 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
734
9488c414
JJ
7352004-01-06 Mark Mitchell <mark@codesourcery.com>
736
737 * libc/sys/arm/syscalls.c (unistd.h): Include it.
738 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
739 Similarly for stdout and stderr.
740
5125f919
JJ
7412004-01-06 Jeff Johnston <jjohnstn@redhat.com>
742
743 * libc/libc.texinfo: Correct escape character for @ sign
744 so file will be processed by make info. Update copyright years.
745 * libm/libm.texinfo: Ditto.
746
9fc92ceb
JJ
7472003-12-05 Jeff Johnston <jjohnstn@redhat.com>
748
749 * libc/include/sys/stat.h: No longer include stat-dj.h.
750 * libc/include/sys/stat-dj.h: Removed.
751
25c7dad1
JJ
7522003-12-05 Jeff Johnston <jjohnstn@redhat.com>
753
754 * libc/include/wchar.h: Include <sys/reent.h>.
755
576593dd
CF
7562003-12-05 Christopher Faylor <cgf@redhat.com>
757
758 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
759 when defining _mbrtowc.
760 * libc/stdlib/mbsinit.c: Ditto.
761 * libc/stdlib/mbsrtowcs.c: Ditto.
762 * libc/stdlib/wcrtomb.c: Ditto.
763 * libc/stdlib/wcsrtombs.c: Ditto.
764 * libc/stdlib/wctob.c: Ditto.
765
7662003-12-05 Christopher Faylor <cgf@redhat.com>
767
768 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
769 errors when defining _mbrtowc.
770 * libc/stdlib/mbsinit.c: Ditto.
771 * libc/stdlib/mbsrtowcs.c: Ditto.
772
4c889d62
CF
7732003-12-05 Christopher Faylor <cgf@redhat.com>
774
775 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
776 errors when defining _mbrtowc.
777
5d109bde
JJ
7782003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
779
780 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
781 of mb routines for %lc and %ls support.
782 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
783 %ls, and %S support. Remove CYGNUS_NEC markers and
784 code within.
785
3aca0888
JJ
7862003-12-04 Jeff Johnston <jjohnstn@redhat.com>
787
788 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
789 _wcrtomb_r, and _wcsrtombs_r.
790
18dcb167
CV
7912003-12-01 Corinna Vinschen <corinna@vinschen.de>
792
793 * libc/include/sys/fcntl.h: Don't define struct flock when on
794 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
795
93f8e673
CF
7962003-11-28 Christopher Faylor <cgf@redhat.com>
797
798 * libc/include/sys/signal.h: Use system specific signal file when
799 building on cygwin.
800
cc2a11e0
JJ
8012003-11-27 Jeff Johnston <jjohnstn@redhat.com>
802
803 * libc/include/stdlib.h (_atoi_r): New prototype.
804 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
805
83bf7d2f
JJ
8062003-11-27 Jeff Johnston <jjohnstn@redhat.com>
807
808 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
809 * libc/stdlib/atol.c (_atol_r): New reentrant function.
810 * libc/stdlib/atoll.c (_atoll_r): Ditto.
811
5d109bde 8122003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6bbb700c
JJ
813 Jeff Johnston <jjohnstn@redhat.com>
814
815 * libc/include/stdlib.h (lldiv_t): New type.
816 (atoll, llabs, lldiv): New prototypes.
817 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
818 * libc/stdlib/stdlib.tex: Ditto.
819 * libc/stdlib/Makefile.in: Regenerated.
820 * libc/stdlib/atoll.c: New file.
821 * libc/stdlib/llabs.c: Ditto.
822 * libc/stdlib/lldiv.c: Ditto.
823
0a707c79
JJ
8242003-11-26 Corinna Vinschen <corinna@vinschen.de>
825
826 * libc/include/fcntl.h: Declare syscalls only when building newlib.
827 * libc/include/unistd.h: Ditto.
828 * libc/include/stat.h: Ditto. Also declare struct stat64.
829
5d109bde 8302003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6db165c2
JJ
831
832 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
833 specifier to use ch instead of *fmt.
834
5d109bde 8352003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
759a097e
JJ
836
837 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
838 code within checks for MB_CAPABLE. For non-mb-capable platforms,
839 use simple byte logic.
840
4f6149d6
JJ
8412003-11-21 Jeff Johnston <jjohnstn@redhat.com>
842
843 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
844 _strtold routine for processing floats and doubles since it
845 is not as fast as _strtod_r.
846
7343eefb
JJ
8472003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
848
849 * libc/machine/h8300/defines.h : Correct pointer register defines
850 for normal mode.
851 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
852 for normal mode.
853 * libc/machine/h8300/reg_memcpy.S : Likewise.
854 * libc/machine/h8300/reg_memset.S : Likewise.
855 * libc/machine/h8300/strcmp.S : Likewise.
856
64cfc6f2
JJ
8572003-11-19 Nicholas Wourms <nwourms@netscape.net>
858
859 * configure.host: Enable positional arguments for printf
860 family for Cygwin.
861 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
862 pointer reference for quad_ptr_t.
863
e1dc8171
JJ
8642003-11-19 Jeff Johnston <jjohnstn@redhat.com>
865
866 * libc/stdio/scanf.c: Don't include local.h more than once.
867
a472290f
JJ
8682003-11-18 Corinna Vinschen <corinna@vinschen.de>
869
870 * libc/include/sys/fcntl.h: Declare _open64.
871 * libc/include/sys/stat.h: Declare _fstat64.
872 * libc/include/sys/unistd.h: Declare _lseek64.
873
a2f1155c
CV
8742003-11-17 Corinna Vinschen <corinna@vinschen.de>
875
876 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
877 (setprogname): Ditto.
878
030441fc
JJ
8792003-11-10 Jeff Johnston <jjohnstn@redhat.com>
880
881 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
882 to use (Ebits + 1) which accounts for the sign-bit.
883
fe359733
JJ
8842003-11-07 Jeff Johnston <jjohnstn@redhat.com>
885
886 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
887 x86 build.
888 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
889 and set up default flags to pass to aclocal.
890 * iconvdata/Makefile.in: Regenerated.
891 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
892 and getpwuid routines.
893 * libc/sys/linux/Makefile.in: Regenerated.
894 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
895 applications to link with newlib's shared libc library.
896 * libc/sys/linux/getpwnam.c: Ditto.
897 * libc/sys/linux/getpwuid.c: Ditto.
898 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
899 that were formerly supplied by /usr/include/linux/types.h with
900 kernel types.
901 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
902 test _ELIX_LEVEL macro.
903
2985521f
JJ
9042003-11-07 Jeff Johnston <jjohnstn@redhat.com>
905
906 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
907 referring to _NO_LONGLONG macro.
908
dcad6a89
JJ
9092003-11-06 Jeff Johnston <jjohnstn@redhat.com>
910
911 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
912 in LOG() macro so this will compile on gcc 3.4 and up.
913 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
914 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
915 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
916 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
917 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
918 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
919 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
920 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
921 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
922 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
923 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
924 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
925 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
926 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
927 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
928 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
929 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
930 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
931 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
932 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
933 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
934 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
935 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
936 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
937 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
938 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
939 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
940 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
941 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
942 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
943 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
944 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
945 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
946 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
947 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
948 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
949
d2ffac09 9502003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5d109bde 951 Artem B. Bityuckiy <abitytsky@softminecorp.com>
d2ffac09
JJ
952
953 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
954 %ls, %S, %lc, and %C format specifiers.
955 (get_arg): Ditto.
956 * libc/stdio/sprintf.c: Add documentation regarding new
957 format specifiers added in vfprintf.c.
958
da2d1227
JJ
9592003-11-05 Jeff Johnston <jjohnstn@redhat.com>
960
961 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
962 to make code work as specified in standard.
963
3ef05bac
JJ
9642003-10-23 Jeff Johnston <jjohnstn@redhat.com>
965
966 * configure.in: Use absolute newlib basedir when forming
967 CC_FOR_NEWLIB include options.
968 * configure: Regenerated.
969
5d109bde 9702003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4340b63b
JJ
971
972 * libc/string/wcsnlen.c: New file.
973 * libc/include/wchar.h: Add wcsnlen prototype.
974 * libc/string/Makefile.am: Add wcsnlen support.
975 * libc/string/Makefile.in: Regenerated.
976 * libc/string/wcstrings.tex: Add wcsnlen documentation.
977
63a823f8
RS
9782003-10-22 Richard Sandiford <rsandifo@redhat.com>
979
980 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
981
76a7df52
JJ
9822003-10-20 Bob Wilson <bob.wilson@acm.org>
983
984 * libc/locale/locale.c: Use double quotes in code.
985 * libc/locale/locale.tex: Likewise.
986 * libc/libc.texinfo: Hyphenate "floating-point".
987 * libc/machine/necv70/necv70.tex: Likewise.
988 * libc/stdio/sprintf.c: Likewise.
989 * libc/stdio/sscanf.c: Likewise.
990 * libc/stdlib/atof.c: Likewise.
991 * libc/stdlib/ldtoa.c: Fix comment typo.
992 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
993 * libc/stdlib/ldiv.c: Likewise.
994 * libm/common/s_expm1.c: Likewise.
995 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
996 * libm/common/s_infinity: Hyphenate "double- and single-precision".
997 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
998 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
999 and "floating-point".
1000 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
1001 * libm/math/e_pow.c: Fix comment typo.
1002 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
1003 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
1004 * libm/math/s_atan.c: Likewise.
1005 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
1006 * libm/math/s_isnan.c: Hyphenate "single-precision" and
1007 "floating-point". Use "nonzero".
1008 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
1009 * libm/math/w_acos.c: Likewise.
1010 * libm/math/w_acosh.c: Likewise.
1011 * libm/math/w_asin.c: Likewise.
1012 * libm/math/w_atan2.c: Likewise.
1013 * libm/math/w_atanh.c: Likewise.
1014 * libm/math/w_cosh.c: Likewise.
1015 * libm/math/w_exp.c: Likewise.
1016 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
1017 version of 2^x in the description.
1018 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
1019 * libm/math/w_gamma.c: Likewise.
1020 * libm/math/w_hypot.c: Likewise.
1021 * libm/math/w_j0.c: Likewise.
1022 * libm/math/w_sinh.c: Likewise.
1023 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
1024 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
1025 "floating-point".
1026 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
1027 * libm/mathfp/e_atanh.c: Likewise.
1028 * libm/mathfp/e_hypot.c: Likewise.
1029 * libm/mathfp/er_lgamma.c: Likewise.
1030 * libm/mathfp/s_acos.c: Likewise.
1031 * libm/mathfp/s_asine.c: Likewise.
1032 * libm/mathfp/s_asinh.c: Likewise.
1033 * libm/mathfp/s_atan.c: Likewise.
1034 * libm/mathfp/s_atan2.c: Likewise.
1035 * libm/mathfp/s_atangent.c: Likewise.
1036 * libm/mathfp/s_cosh.c: Likewise.
1037 * libm/mathfp/s_exp.c: Likewise.
1038 * libm/mathfp/s_fmod.c: Likewise.
1039 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
1040 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
1041 "floating-point". Use "nonzero".
1042 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
1043 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
1044 * libm/mathfp/s_sineh.c: Likewise.
1045 * libm/mathfp/w_jn.c: Likewise.
1046
b11926e7
JJ
10472003-10-15 Alexandre Oliva <aoliva@redhat.com>
1048
1049 * Makefile.am: Add $(MAKE) comments to multido and multiclean
1050 lines, to enable parallel make.
1051 * Makefile.in: Rebuilt.
1052
31271d5c
CF
10532003-10-14 Christopher Faylor <cgf@redhat.com>
1054
1055 * libc/time/clock.c: Clarify documentation of return value when no
1056 measurement is available.
1057
bc707cbd
JJ
10582003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
1059
1060 * libm/configure.in: Check libm_machine_dir, not machine_dir.
1061 * libm/configure: Regenerate.
1062 * libm/Makefile.in: Ditto.
1063
f4b10605
JR
10642003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
1065
1066 * libc/machine/sh/strncpy.S: New file.
1067 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
1068 * libc/machine/sh/Makefile.in: Regenerate.
1069
ce044d8f
JW
10702003-09-11 James E Wilson <wilson@specifixinc.com>
1071
1072 * MAINTAINERS: Update my e-mail address.
1073
080ef411
CV
10742003-09-10 Corinna Vinschen <corinna@vinschen.de>
1075
1076 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
1077
3a767b69
JJ
10782003-09-09 Jeff Johnston <jjohnstn@redhat.com>
1079
080ef411
CV
1080 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
1081 prototype.
1082 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
1083 _simdldcheck(). Also add unsigned cast for index variable in
1084 for loop using sizeof operators.
1085 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
1086 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
1087 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
1088 plus fix shift calculation for determining if there is a
1089 carry from word2.
3a767b69 1090
84154fcc
CV
10912003-09-09 Corinna Vinschen <corinna@vinschen.de>
1092
1093 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
1094 setgroupent for Cygwin.
1095
f1b15058
JJ
10962003-09-05 Jeff Johnston <jjohnstn@redhat.com>
1097
1098 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
1099 is different for _REENT_SMALL than when using regular reent
1100 struct.
1101
cf88c20f 11022003-09-05 Ben Elliston <bje@wasabisystems.com>
0a8fd4dc 1103
b73263e4
BE
1104 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
1105 modern versions of GCC issue a warning.
1106
0a8fd4dc
BE
1107 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
1108 after continuation characters that induces a warning from modern
1109 versions of GCC.
1110
10a32423
BE
11112003-09-04 Ben Elliston <bje@wasabisystems.com>
1112
1113 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
1114 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
1115
ed027a53
JJ
11162003-09-02 Thomas Pfaff <tpfaff@gmx.net>
1117
1118 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
1119 * libc/stdlib/exit.c : Ditto.
1120 * libc/stdlib/on_exit.c: Ditto.
1121
880fa247
JJ
11222003-08-27 Corinna Vinschen <corinna@vinschen.de>
1123
1124 * libc/include/reent.h: Define stat64 as __stat64 when
1125 compiling newlib for Cygwin.
1126
54c1d7ea
JJ
11272003-08-26 Jeff Johnston <jjohnstn@redhat.com>
1128
1129 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
1130 __stat64 when compiling newlib.
1131
0eca0750
JJ
11322003-08-26 Jeff Johnston <jjohnstn@redhat.com>
1133
1134 * libc/include/stdio.h: Allow the io64 function prototypes for
1135 Cygwin when compiling newlib.
1136 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
1137 to expose the Cygwin struct __stat64 type.
1138 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
1139 pointer.
1140 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
1141
9d4aef19
CF
11422003-08-23 Christopher Faylor <cgf@redhat.com>
1143
1144 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
1145 definition to fseeko64.
1146
9fc9e1c9
JJ
11472003-08-22 Jeff Johnston <jjohnstn@redhat.com>
1148
1149 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
1150 * libc/stdio: Globally remove/replace all references to fp->_data.
1151 Replace with _REENT or _GLOBAL_REENT where appropriate.
1152 * libc/stdio/asprintf.c: Ditto.
1153 * libc/stdio/fclose.c: Ditto.
1154 * libc/stdio/fvwrite.c: Ditto.
1155 * libc/stdio/makebuf.c: Ditto.
1156 * libc/stdio/refill.c: Ditto.
1157 * libc/stdio/local.h: Ditto.
1158 * libc/stdio/setvbuf.c: Ditto.
1159 * libc/stdio/sscanf.c: Ditto.
1160 * libc/stdio/stdio.c: Ditto.
1161 * libc/stdio/ungetc.c: Ditto.
1162 * libc/stdio/vfscanf.c: Ditto.
1163 * libc/stdio/vsscanf.c: Ditto.
1164 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
1165 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
1166 * libc/stdio/vsnprintf.c: Ditto.
1167 * libc/stdio/vsprintf.c: Ditto.
1168 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
1169 instead of _REENT to walk file list.
1170 * libc/stdio/fflush.c: Ditto.
1171 * libc/stdio/fgetpos.c: Add reentrant version and have regular
1172 version call reentrant version with _REENT argument.
1173 * libc/stdio/fsetpos.c: Ditto.
1174 * libc/stdio/fseek.c: Ditto.
1175 * libc/stdio/fseeko.c: Ditto.
1176 * libc/stdio/ftell.c: Ditto.
1177 * libc/stdio/ftello.c: Ditto.
1178 * libc/stdio/freopen.c: Ditto.
1179 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
1180 new files to chain. Also use _GLOBAL_REENT pointer for
1181 cleaning up.
1182 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
1183 * libc/stdio/siprintf.c: Ditto.
1184 * libc/stdio/iprintf.c: Ditto.
1185 * libc/stdio/fprintf.c: Ditto.
1186 * libc/stdio/printf.c: Ditto.
1187 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
1188 * libc/stdio/sprintf.c: Ditto.
1189 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
1190 * libc/stdio/rewind.c: Call _fseek_r directly.
1191 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
1192 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
1193 data pointer.
1194 (get_arg): Add extra struct _reent pointer argument.
1195 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
1196 to fp->_data.
1197 * libc/stdio64/fopen64.c: Ditto.
1198 * libc/stdio64/freopen64.c: Ditto.
1199 * libc/stdio64/fsetpos64.c: Ditto.
1200 * libc/stdio64/ftello64.c: Ditto.
1201 * libc/stdio64/local64.h: Ditto.
1202 * libc/stdio64/stdio64.c: Ditto.
1203 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
1204 _fstat64_r for the meantime.
1205
8f021114
JJ
12062003-08-19 Jeff Johnston <jjohnstn@redhat.com>
1207
1208 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
1209 overflow detection.
1210
db979bb4
JJ
12112003-08-13 Aldy Hernandez <aldyh@redhat.com>
1212
1213 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
1214 extern "C".
1215
6efbdc7d
JJ
12162003-08-13 Jeff Johnston <jjohnstn@redhat.com>
1217
1218 * libc/include/math.h: Add prototypes for __signbitf and
1219 __signbitd.
1220
e895fc20
JJ
12212003-07-31 Jeff Johnston <jjohnstn@redhat.com>
1222
1223 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
1224 correct type of conversion when dealing with EUCJP or SJIS.
1225 * libc/ctype/iswblank.c: Ditto.
1226 * libc/ctype/iswcntrl.c: Ditto.
1227 * libc/ctype/iswprint.c: Ditto.
1228 * libc/ctype/iswpunct.c: Ditto.
1229 * libc/ctype/iswspace.c: Ditto.
1230 * libc/ctype/towlower.c: Ditto.
1231 * libc/ctype/towupper.c: Ditto.
1232
0302dfe5
NC
12332003-07-31 Nick Clifton <nickc@redhat.com>
1234
1235 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
1236 before calling main, in case it saves its argument registers.
1237 Remove reference to deleted v850ea port.
1238 * configure.host: Remove reference to deleted v850ea port.
1239 Do not use -mv850 when building for v850e target. This
1240 prevents the ctbp system register from being initialised.
1241
42de5592
JJ
12422003-07-29 Honda Hiroki <hhonda@ipflex.com>
1243
1244 * libc/stdio/vfprintf.c: Set output size to 1 when
1245 we have %f format with precision 0 and # flag not specified.
1246
e5de27b6
AO
12472003-07-29 Alexandre Oliva <aoliva@redhat.com>
1248
1249 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
1250 .am33_2.
1251
3c98a593
CF
12522003-07-25 Christopher Faylor <cgf@redhat.com>
1253
1254 * libc/stdio64/fdopen64.c: Include sys/lock.h.
1255
e222bf67
CF
12562003-07-25 Christopher Faylor <cgf@redhat.com>
1257
1258 * configure.host: Find cygwin include directory, when appropriate.
1259
03536757
CF
12602003-07-24 Christopher Faylor <cgf@redhat.com>
1261
1262 * libc/stdio64/fdopen64.c: New file.
1263 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
1264 * libc/stdio64/Makefile.in: Regenerate.
1265 * libc/include/stdio.h (fdopen64): Define.
1266 * libc/include/stdio.h (_fdopen64_r): Ditto.
1267
18072a4f
AO
12682003-07-10 Alexandre Oliva <aoliva@redhat.com>
1269
1270 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
1271 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
1272 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
1273 restore callee-saved FP registers.
1274
e0bec12f
JR
12752003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
1276
1277 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
1278 for __sh__.
1279 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
1280 truncate.c.
1281 * libc/sys/sh/Makefile.in: Regenerate.
1282 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
1283 * libc/sys/sh/ftruncate.c: New file.
1284 * libc/sys/sh/truncate.c: Likewise.
1285
03d65dd9
AO
12862003-07-09 Alexandre Oliva <aoliva@redhat.com>
1287
1288 * libc/include/math.h (nan, nanf): Update prototype to C99.
1289 * libm/common/s_nan.c (nan): Likewise.
1290 * libm/common/s_nanf.c (nanf, nan): Likewise.
1291 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
1292
74aa9d7d
JJ
12932003-07-07 Jeff Johnston <jjohnstn@redhat.com>
1294
1295 * libc/include/stdbool.h: Removed as this is defined by gcc.
1296
0a447ef3
JJ
12972003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
1298
1299 * libc/include/stdbool.h: New header file defined by C99.
1300
282eff9a
JJ
13012003-07-02 Jeff Johnston <jjohnstn@redhat.com>
1302
1303 * libc/include/sys/types.h (int8_t): Make signed.
1304
4e989b11
JJ
13052003-07-02 Jeff Johnston <jjohnstn@redhat.com>
1306
1307 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
1308
07b40cf8
JJ
13092003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
1310
1311 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
1312 on if we actually created the shared memory file exclusively.
1313
7daa7891
JJ
13142003-06-27 Joe Vornehm <joev@mitre.org>
1315
1316 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
1317 comparisons to account for unsigned internal value w.
1318
51fa7562
JJ
13192003-06-26 Jeff Johnston <jjohnstn@redhat.com>
1320
1321 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
1322 wrbuf for a non-creating open.
1323
b8f7ea5c
JJ
13242003-06-24 Kazu Hirata <kazu@cs.umass.edu>
1325
1326 * libc/machine/h8300/setarch.h: New.
1327 * libc/machine/h8300/memcpy.S: Use it.
1328 * libc/machine/h8300/memset.S: Likewise.
1329 * libc/machine/h8300/reg_memcpy.S: Likewise.
1330 * libc/machine/h8300/reg_memset.S: Likewise.
1331 * libc/machine/h8300/setjmp.S: Likewise.
1332 * libc/machine/h8300/strcmp.S: Likewise.
1333
6d7ea52a
RS
13342003-06-24 Richard Sandiford <rsandifo@redhat.com>
1335
1336 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
1337 to atexit().
1338
5a74f2aa
JJ
13392003-06-20 Jeff Johnston <jjohnstn@redhat.com>
1340
1341 * configure.host (iq2000): Add tabs.
1342
8266e478
JJ
13432003-06-20 Jeff Johnston <jjohnstn@redhat.com>
1344
1345 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
1346 to handle latest on_exit change.
1347 * libc/sys/linux/Makefile.am: Remove special compilation
1348 for malloc.c and mcheck.c.
1349 * libc/sys/linux/Makefile.in: Regenerated.
1350 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
1351 after including <features.h>.
1352 * libc/sys/linux/mcheck.c: Ditto.
1353 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
1354 for <features.h>.
1355 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
1356 add -DNOT_IN_libc to C flags.
1357 * libc/sys/linux/intl/Makefile.in: Regenerated.
1358 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
1359 * libc/sys/linux/linuxthreads/semaphore.h: Include
1360 <bits/pthreadtypes.h>.
1361 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
1362 including <features.h>.
1363 * libc/sys/linux/sys/lock.h: Ditto.
1364
0efe117b
NC
13652003-06-11 Nick Clifton <nickc@redhat.com>
1366
1367 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
1368 _on_exit_args_ptr.
1369
bfdfd7e6
AG
13702003-06-10 Stan Cox <scox@redhat.com>
1371 Anthony Green <green@redhat.com>
1372
1373 * configure.host: Add iq2000 support.
1374 * newlib/libc/include/machine/ieeefp.h: Ditto.
1375 * newlib/libc/include/machine/setjmp.h: Ditto.
1376 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
1377 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
1378 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
1379 libc/machine/iq2000/Makefile.in: New files.
1380
d9e4104b
RS
13812003-06-10 Richard Sandiford <rsandifo@redhat.com>
1382
1383 * libc/sys/h8300hms/setarch.h: New file.
1384 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
1385 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
1386 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
1387 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
1388
729d1ff9
JJ
13892003-06-06 Jeff Johnston <jjohnstn@redhat.com>
1390
1391 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
1392 definition.
1393 * libc/argz/argz_add_sep.c: Ditto.
1394 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
1395 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
1396 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
1397 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
1398 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
1399 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
1400 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
1401 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
1402 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
1403 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
1404 * libc/posix/execl.c libc/posix/execle.c: Ditto.
1405 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
1406 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
1407 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
1408 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
1409 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
1410 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
1411 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
1412 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
1413 * libc/search/twalk.c libc/signal/signal.c: Ditto.
1414
75d7d177
NC
14152003-06-05 Nick Clifton <nickc@redhat.com>
1416
1417 * libc/include/sys/reent.h (struct _on_exit_args): New
1418 structure containing fields used by the on_exit() function.
1419 (struct _atexit): Include struct _on_exit_args. For
1420 _REENT_SMALL do his via a pointer that is initialised when
1421 needed.
1422 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
1423 structure, if one has been allocated.
1424 * libc/stdlib/atexit.c (atexit): Update indirection to
1425 _fntypes field.
1426 * libc/stdlib/on_exit.c (on_exit): Indirect via the
1427 _on_exit_args structure. For _REENT_SMALL, allocate a
1428 structure if one does not exist.
1429 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
1430 structure.
1431
2129f283
JJ
14322003-06-04 Jeff Johnston <jjohnstn@redhat.com>
1433
1434 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
1435 * libc/sys/linux/net/Makefile.in: Regenerated.
1436
bf3bcac2
JJ
14372003-06-03 Jeff Johnston <jjohnstn@redhat.com>
1438
1439 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
1440 * libc/reent/fcntlr.c: Ditto.
1441 * libc/reent/fstat64r.c: Ditto.
1442 * libc/reent/linkr.c: Ditto.
1443 * libc/reent/lseek64r.c: Ditto.
1444 * libc/reent/lseekr.c: Ditto.
1445 * libc/reent/openr.c: Ditto.
1446 * libc/reent/readr.c: Ditto.
1447 * libc/reent/reent.c: Ditto.
1448 * libc/reent/sbrkr.c: Ditto.
1449 * libc/reent/signalr.c: Ditto.
1450 * libc/reent/signgam.c: Ditto.
1451 * libc/reent/statr.c: Ditto.
1452 * libc/reent/timer.c: Ditto.
1453 * libc/reent/unlinkr.c: Ditto.
1454 * libc/reent/writer.c: Ditto.
1455 * libc/syscalls/sysclose.c: Ditto.
1456 * libc/syscalls/sysexecve.c: Ditto.
1457 * libc/syscalls/sysfcntl.c: Ditto.
1458 * libc/syscalls/sysfork.c: Ditto.
1459 * libc/syscalls/sysfstat.c: Ditto.
1460 * libc/syscalls/sysgetpid.c: Ditto.
1461 * libc/syscalls/sysgettod.c: Ditto.
1462 * libc/syscalls/syskill.c: Ditto.
1463 * libc/syscalls/syslink.c: Ditto.
1464 * libc/syscalls/syslseek.c: Ditto.
1465 * libc/syscalls/sysopen.c: Ditto.
1466 * libc/syscalls/sysread.c: Ditto.
1467 * libc/syscalls/syssbrk.c: Ditto.
1468 * libc/syscalls/sysstat.c: Ditto.
1469 * libc/syscalls/systimes.c: Ditto.
1470 * libc/syscalls/sysunlink.c: Ditto.
1471 * libc/syscalls/syswait.c: Ditto.
1472 * libc/syscalls/syswrite.c: Ditto.
1473
702ceb23
JJ
14742003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
1475
1476 * libc/time/tzset_r.c: Change local variables that are
1477 set via sscanf using the %h format specifier to be unsigned short
1478 instead of int.
1479
102861c9
JJ
14802003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
1481
1482 * configure.host: Allow i[34567]86 variant.
1483 * configure.in: Likewise.
1484 * README: Likewise to the docs.
1485 * configure: Regenerated.
1486 * Makefile.in: Ditto.
1487
b359e82c
JJ
14882003-05-28 Jeff Johnston <jjohnstn@redhat.com>
1489 Tom Fitzsimmons <fitzsim@redhat.com>
1490
1491 * configure.in: Add iconvdata support for x86 linux.
1492 * configure: Regenerated.
1493 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
1494 library, iconv, and linuxthreads support.
1495 * libc/sys/linux/configure.in: Ditto.
1496 * libc/sys/linux/Makefile.in: Regenerated.
1497 * libc/sys/linux/configure: Ditto.
1498 * iconvdata/EUC-JP.irreversible: New file.
1499 * iconvdata/Makefile.am: Ditto.
1500 * iconvdata/Makefile.in: Ditto.
1501 * iconvdata/SJIS.irreversible: Ditto.
1502 * iconvdata/aclocal.m4: Ditto.
1503 * iconvdata/configure: Ditto.
1504 * iconvdata/configure.in: Ditto.
1505 * iconvdata/dummy.c: Ditto.
1506 * iconvdata/euc-jp.c: Ditto.
1507 * iconvdata/gconv-modules: Ditto.
1508 * iconvdata/jis0201.c: Ditto.
1509 * iconvdata/jis0201.h: Ditto.
1510 * iconvdata/jis0208.c: Ditto.
1511 * iconvdata/jis0208.h: Ditto.
1512 * iconvdata/jis0212.c: Ditto.
1513 * iconvdata/jis0212.h: Ditto.
1514 * iconvdata/sjis.c: Ditto.
1515 * libc/include/errno.h: Protect definition of error_t.
1516 * libc/sys/linux/gethostid.c: New file.
1517 * libc/sys/linux/sethostid.c: Ditto.
1518 * libc/sys/linux/dl/Makefile.am: Ditto.
1519 * libc/sys/linux/dl/Makefile.in: Ditto.
1520 * libc/sys/linux/dl/abi-tag.h: Ditto.
1521 * libc/sys/linux/dl/atomicity.h: Ditto.
1522 * libc/sys/linux/dl/dl-addr.c: Ditto.
1523 * libc/sys/linux/dl/dl-cache.c: Ditto.
1524 * libc/sys/linux/dl/dl-cache.h: Ditto.
1525 * libc/sys/linux/dl/dl-close.c: Ditto.
1526 * libc/sys/linux/dl/dl-debug.c: Ditto.
1527 * libc/sys/linux/dl/dl-deps.c: Ditto.
1528 * libc/sys/linux/dl/dl-dst.h: Ditto.
1529 * libc/sys/linux/dl/dl-error.c: Ditto.
1530 * libc/sys/linux/dl/dl-fini.c: Ditto.
1531 * libc/sys/linux/dl/dl-init.c: Ditto.
1532 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
1533 * libc/sys/linux/dl/dl-libc.c: Ditto.
1534 * libc/sys/linux/dl/dl-librecon.h: Ditto.
1535 * libc/sys/linux/dl/dl-load.c: Ditto.
1536 * libc/sys/linux/dl/dl-lookup.c: Ditto.
1537 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
1538 * libc/sys/linux/dl/dl-minimal.c: Ditto.
1539 * libc/sys/linux/dl/dl-misc.c: Ditto.
1540 * libc/sys/linux/dl/dl-object.c: Ditto.
1541 * libc/sys/linux/dl/dl-open.c: Ditto.
1542 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
1543 * libc/sys/linux/dl/dl-profile.c: Ditto.
1544 * libc/sys/linux/dl/dl-profstub.c: Ditto.
1545 * libc/sys/linux/dl/dl-reloc.c: Ditto.
1546 * libc/sys/linux/dl/dl-runtime.c: Ditto.
1547 * libc/sys/linux/dl/dl-support.c: Ditto.
1548 * libc/sys/linux/dl/dl-sym.c: Ditto.
1549 * libc/sys/linux/dl/dl-version.c: Ditto.
1550 * libc/sys/linux/dl/dlfcn.h: Ditto.
1551 * libc/sys/linux/dl/do-lookup.h: Ditto.
1552 * libc/sys/linux/dl/do-rel.h: Ditto.
1553 * libc/sys/linux/dl/dynamic-link.h: Ditto.
1554 * libc/sys/linux/dl/kernel-features.h: Ditto.
1555 * libc/sys/linux/dl/ldsodefs.h: Ditto.
1556 * libc/sys/linux/dl/libintl.h: Ditto.
1557 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
1558 * libc/sys/linux/dl/unsecvars.h: Ditto.
1559 * libc/sys/linux/iconv/Makefile.am: Ditto.
1560 * libc/sys/linux/iconv/Makefile.in: Ditto.
1561 * libc/sys/linux/iconv/categories.def: Ditto.
1562 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
1563 * libc/sys/linux/iconv/gconv.c: Ditto.
1564 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
1565 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
1566 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
1567 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
1568 * libc/sys/linux/iconv/gconv_close.c: Ditto.
1569 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
1570 * libc/sys/linux/iconv/gconv_db.c: Ditto.
1571 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
1572 * libc/sys/linux/iconv/gconv_int.h: Ditto.
1573 * libc/sys/linux/iconv/gconv_open.c: Ditto.
1574 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
1575 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
1576 * libc/sys/linux/iconv/hash-string.h: Ditto.
1577 * libc/sys/linux/iconv/iconv.c: Ditto.
1578 * libc/sys/linux/iconv/iconv.h: Ditto.
1579 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
1580 * libc/sys/linux/iconv/iconv_close.c: Ditto.
1581 * libc/sys/linux/iconv/iconv_open.c: Ditto.
1582 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
1583 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
1584 * libc/sys/linux/iconv/loadinfo.h: Ditto.
1585 * libc/sys/linux/iconv/localeinfo.h: Ditto.
1586 * libc/sys/linux/iconv/loop.c: Ditto.
1587 * libc/sys/linux/iconv/skeleton.c: Ditto.
1588 * libc/sys/linux/iconv/strtab.c: Ditto.
1589 * libc/sys/linux/include/dl-hash.h: Ditto.
1590 * libc/sys/linux/include/dlfcn.h: Ditto.
1591 * libc/sys/linux/include/fnmatch.h: Ditto.
1592 * libc/sys/linux/include/gconv.h: Ditto.
1593 * libc/sys/linux/include/glob.h: Ditto.
1594 * libc/sys/linux/include/hesiod.h: Ditto.
1595 * libc/sys/linux/include/ifaddrs.h: Ditto.
1596 * libc/sys/linux/include/libc_private.h: Ditto.
1597 * libc/sys/linux/include/link.h: Ditto.
1598 * libc/sys/linux/include/namespace.h: Ditto.
1599 * libc/sys/linux/include/netconfig.h: Ditto.
1600 * libc/sys/linux/include/netdb.h: Ditto.
1601 * libc/sys/linux/include/nsswitch.h: Ditto.
1602 * libc/sys/linux/include/regex.h: Ditto.
1603 * libc/sys/linux/include/resolv.h: Ditto.
1604 * libc/sys/linux/include/rune.h: Ditto.
1605 * libc/sys/linux/include/runetype.h: Ditto.
1606 * libc/sys/linux/include/semaphore.h: Ditto.
1607 * libc/sys/linux/include/setlocale.h: Ditto.
1608 * libc/sys/linux/include/un-namespace.h: Ditto.
1609 * libc/sys/linux/include/wordexp.h: Ditto.
1610 * libc/sys/linux/include/arpa/ftp.h: Ditto.
1611 * libc/sys/linux/include/arpa/inet.h: Ditto.
1612 * libc/sys/linux/include/arpa/nameser.h: Ditto.
1613 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
1614 * libc/sys/linux/include/arpa/telnet.h: Ditto.
1615 * libc/sys/linux/include/arpa/tftp.h: Ditto.
1616 * libc/sys/linux/include/net/bpf.h: Ditto.
1617 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
1618 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
1619 * libc/sys/linux/include/net/bridge.h: Ditto.
1620 * libc/sys/linux/include/net/ethernet.h: Ditto.
1621 * libc/sys/linux/include/net/fddi.h: Ditto.
1622 * libc/sys/linux/include/net/if.h: Ditto.
1623 * libc/sys/linux/include/net/if_arc.h: Ditto.
1624 * libc/sys/linux/include/net/if_arp.h: Ditto.
1625 * libc/sys/linux/include/net/if_atm.h: Ditto.
1626 * libc/sys/linux/include/net/if_dl.h: Ditto.
1627 * libc/sys/linux/include/net/if_gif.h: Ditto.
1628 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
1629 * libc/sys/linux/include/net/if_llc.h: Ditto.
1630 * libc/sys/linux/include/net/if_media.h: Ditto.
1631 * libc/sys/linux/include/net/if_mib.h: Ditto.
1632 * libc/sys/linux/include/net/if_ppp.h: Ditto.
1633 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
1634 * libc/sys/linux/include/net/if_slvar.h: Ditto.
1635 * libc/sys/linux/include/net/if_sppp.h: Ditto.
1636 * libc/sys/linux/include/net/if_stf.h: Ditto.
1637 * libc/sys/linux/include/net/if_tap.h: Ditto.
1638 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
1639 * libc/sys/linux/include/net/if_tun.h: Ditto.
1640 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
1641 * libc/sys/linux/include/net/if_types.h: Ditto.
1642 * libc/sys/linux/include/net/if_var.h: Ditto.
1643 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
1644 * libc/sys/linux/include/net/intrq.h: Ditto.
1645 * libc/sys/linux/include/net/iso88025.h: Ditto.
1646 * libc/sys/linux/include/net/net_osdep.h: Ditto.
1647 * libc/sys/linux/include/net/netisr.h: Ditto.
1648 * libc/sys/linux/include/net/pfil.h: Ditto.
1649 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
1650 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
1651 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
1652 * libc/sys/linux/include/net/radix.h: Ditto.
1653 * libc/sys/linux/include/net/raw_cb.h: Ditto.
1654 * libc/sys/linux/include/net/route.h: Ditto.
1655 * libc/sys/linux/include/net/slcompress.h: Ditto.
1656 * libc/sys/linux/include/net/slip.h: Ditto.
1657 * libc/sys/linux/include/net/zlib.h: Ditto.
1658 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
1659 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
1660 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
1661 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
1662 * libc/sys/linux/include/netinet/igmp.h: Ditto.
1663 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
1664 * libc/sys/linux/include/netinet/in.h: Ditto.
1665 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
1666 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
1667 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
1668 * libc/sys/linux/include/netinet/in_var.h: Ditto.
1669 * libc/sys/linux/include/netinet/ip.h: Ditto.
1670 * libc/sys/linux/include/netinet/ip6.h: Ditto.
1671 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
1672 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
1673 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
1674 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
1675 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
1676 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
1677 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
1678 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
1679 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
1680 * libc/sys/linux/include/netinet/tcp.h: Ditto.
1681 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
1682 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
1683 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
1684 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
1685 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
1686 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
1687 * libc/sys/linux/include/netinet/udp.h: Ditto.
1688 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
1689 * libc/sys/linux/include/netinet6/ah.h: Ditto.
1690 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
1691 * libc/sys/linux/include/netinet6/esp.h: Ditto.
1692 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
1693 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
1694 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
1695 * libc/sys/linux/include/netinet6/in6.h: Ditto.
1696 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
1697 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
1698 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
1699 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
1700 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
1701 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
1702 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
1703 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
1704 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
1705 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
1706 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
1707 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
1708 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
1709 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
1710 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
1711 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
1712 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
1713 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
1714 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
1715 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
1716 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
1717 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
1718 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
1719 * libc/sys/linux/include/netns/idp.h: Ditto.
1720 * libc/sys/linux/include/netns/idp_var.h: Ditto.
1721 * libc/sys/linux/include/netns/ns.h: Ditto.
1722 * libc/sys/linux/include/netns/ns_error.h: Ditto.
1723 * libc/sys/linux/include/netns/ns_if.h: Ditto.
1724 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
1725 * libc/sys/linux/include/netns/sp.h: Ditto.
1726 * libc/sys/linux/include/netns/spidp.h: Ditto.
1727 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
1728 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
1729 * libc/sys/linux/include/netns/spp_var.h: Ditto.
1730 * libc/sys/linux/include/rpc/Makefile: Ditto.
1731 * libc/sys/linux/include/rpc/auth.h: Ditto.
1732 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
1733 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
1734 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
1735 * libc/sys/linux/include/rpc/clnt.h: Ditto.
1736 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
1737 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
1738 * libc/sys/linux/include/rpc/des.h: Ditto.
1739 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
1740 * libc/sys/linux/include/rpc/nettype.h: Ditto.
1741 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
1742 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
1743 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
1744 * libc/sys/linux/include/rpc/raw.h: Ditto.
1745 * libc/sys/linux/include/rpc/rpc.h: Ditto.
1746 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
1747 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
1748 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
1749 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
1750 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
1751 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
1752 * libc/sys/linux/include/rpc/svc.h: Ditto.
1753 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
1754 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
1755 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
1756 * libc/sys/linux/include/rpc/types.h: Ditto.
1757 * libc/sys/linux/include/rpc/xdr.h: Ditto.
1758 * libc/sys/linux/intl/Makefile.am: Ditto.
1759 * libc/sys/linux/intl/Makefile.in: Ditto.
1760 * libc/sys/linux/intl/bindtextdom.c: Ditto.
1761 * libc/sys/linux/intl/catgets.c: Ditto.
1762 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
1763 * libc/sys/linux/intl/config.h: Ditto.
1764 * libc/sys/linux/intl/dcgettext.c: Ditto.
1765 * libc/sys/linux/intl/dcigettext.c: Ditto.
1766 * libc/sys/linux/intl/dcngettext.c: Ditto.
1767 * libc/sys/linux/intl/dgettext.c: Ditto.
1768 * libc/sys/linux/intl/dngettext.c: Ditto.
1769 * libc/sys/linux/intl/explodename.c: Ditto.
1770 * libc/sys/linux/intl/finddomain.c: Ditto.
1771 * libc/sys/linux/intl/gettext.c: Ditto.
1772 * libc/sys/linux/intl/gettext.h: Ditto.
1773 * libc/sys/linux/intl/gettextP.h: Ditto.
1774 * libc/sys/linux/intl/hash-string.h: Ditto.
1775 * libc/sys/linux/intl/l10nflist.c: Ditto.
1776 * libc/sys/linux/intl/loadinfo.h: Ditto.
1777 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
1778 * libc/sys/linux/intl/locale.alias: Ditto.
1779 * libc/sys/linux/intl/localealias.c: Ditto.
1780 * libc/sys/linux/intl/ngettext.c: Ditto.
1781 * libc/sys/linux/intl/open_catalog.c: Ditto.
1782 * libc/sys/linux/intl/plural.c: Ditto.
1783 * libc/sys/linux/intl/plural.y: Ditto.
1784 * libc/sys/linux/intl/stpcpy.c: Ditto.
1785 * libc/sys/linux/intl/textdomain.c: Ditto.
1786 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
1787 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
1788 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
1789 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
1790 * libc/sys/linux/linuxthreads/attr.c: Ditto.
1791 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
1792 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
1793 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
1794 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
1795 * libc/sys/linux/linuxthreads/config.h: Ditto.
1796 * libc/sys/linux/linuxthreads/configure: Ditto.
1797 * libc/sys/linux/linuxthreads/configure.in: Ditto.
1798 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
1799 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
1800 * libc/sys/linux/linuxthreads/events.c: Ditto.
1801 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
1802 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
1803 * libc/sys/linux/linuxthreads/internals.h: Ditto.
1804 * libc/sys/linux/linuxthreads/join.c: Ditto.
1805 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
1806 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
1807 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
1808 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
1809 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
1810 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
1811 * libc/sys/linux/linuxthreads/manager.c: Ditto.
1812 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
1813 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
1814 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
1815 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
1816 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
1817 * libc/sys/linux/linuxthreads/prio.c: Ditto.
1818 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
1819 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
1820 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
1821 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
1822 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
1823 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
1824 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
1825 * libc/sys/linux/linuxthreads/queue.h: Ditto.
1826 * libc/sys/linux/linuxthreads/reent.c: Ditto.
1827 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
1828 * libc/sys/linux/linuxthreads/restart.h: Ditto.
1829 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
1830 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
1831 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
1832 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
1833 * libc/sys/linux/linuxthreads/signals.c: Ditto.
1834 * libc/sys/linux/linuxthreads/specific.c: Ditto.
1835 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
1836 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
1837 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
1838 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
1839 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
1840 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
1841 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
1842 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
1843 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
1844 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
1845 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
1846 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
1847 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
1848 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
1849 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
1850 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
1851 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
1852 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
1853 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
1854 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
1855 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
1856 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
1857 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
1858 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
1859 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
1860 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
1861 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
1862 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
1863 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
1864 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
1865 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
1866 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
1867 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
1868 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
1869 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
1870 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
1871 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
1872 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
1873 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
1874 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
1875 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
1876 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
1877 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
1878 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
1879 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
1880 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
1881 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
1882 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
1883 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
1884 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
1885 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
1886 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
1887 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
1888 * libc/sys/linux/linuxthreads/unload.c: Ditto.
1889 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
1890 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
1891 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
1892 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
1893 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
1894 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
1895 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
1896 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
1897 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
1898 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
1899 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
1900 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
1901 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
1902 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
1903 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
1904 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
1905 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
1906 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
1907 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
1908 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
1909 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
1910 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
1911 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
1912 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
1913 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
1914 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
1915 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
1916 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
1917 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
1918 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
1919 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
1920 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
1921 * libc/sys/linux/net/Makefile.am: Ditto.
1922 * libc/sys/linux/net/Makefile.in: Ditto.
1923 * libc/sys/linux/net/addr2ascii.3: Ditto.
1924 * libc/sys/linux/net/addr2ascii.c: Ditto.
1925 * libc/sys/linux/net/ascii2addr.c: Ditto.
1926 * libc/sys/linux/net/base64.c: Ditto.
1927 * libc/sys/linux/net/bindresvport.c: Ditto.
1928 * libc/sys/linux/net/byteorder.3: Ditto.
1929 * libc/sys/linux/net/ether_addr.c: Ditto.
1930 * libc/sys/linux/net/ethers.3: Ditto.
1931 * libc/sys/linux/net/getaddrinfo.3: Ditto.
1932 * libc/sys/linux/net/getaddrinfo.c: Ditto.
1933 * libc/sys/linux/net/gethostbydns.c: Ditto.
1934 * libc/sys/linux/net/gethostbyht.c: Ditto.
1935 * libc/sys/linux/net/gethostbyname.3: Ditto.
1936 * libc/sys/linux/net/gethostbynis.c: Ditto.
1937 * libc/sys/linux/net/gethostnamadr.c: Ditto.
1938 * libc/sys/linux/net/getifaddrs.3: Ditto.
1939 * libc/sys/linux/net/getifaddrs.c: Ditto.
1940 * libc/sys/linux/net/getipnodebyname.3: Ditto.
1941 * libc/sys/linux/net/getnameinfo.3: Ditto.
1942 * libc/sys/linux/net/getnameinfo.c: Ditto.
1943 * libc/sys/linux/net/getnetbydns.c: Ditto.
1944 * libc/sys/linux/net/getnetbyht.c: Ditto.
1945 * libc/sys/linux/net/getnetbynis.c: Ditto.
1946 * libc/sys/linux/net/getnetent.3: Ditto.
1947 * libc/sys/linux/net/getnetnamadr.c: Ditto.
1948 * libc/sys/linux/net/getproto.c: Ditto.
1949 * libc/sys/linux/net/getprotoent.3: Ditto.
1950 * libc/sys/linux/net/getprotoent.c: Ditto.
1951 * libc/sys/linux/net/getprotoname.c: Ditto.
1952 * libc/sys/linux/net/getservbyname.c: Ditto.
1953 * libc/sys/linux/net/getservbyport.c: Ditto.
1954 * libc/sys/linux/net/getservent.3: Ditto.
1955 * libc/sys/linux/net/getservent.c: Ditto.
1956 * libc/sys/linux/net/herror.c: Ditto.
1957 * libc/sys/linux/net/hesiod.3: Ditto.
1958 * libc/sys/linux/net/hesiod.c: Ditto.
1959 * libc/sys/linux/net/if_indextoname.3: Ditto.
1960 * libc/sys/linux/net/ifname.c: Ditto.
1961 * libc/sys/linux/net/inet.3: Ditto.
1962 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
1963 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
1964 * libc/sys/linux/net/inet_addr.c: Ditto.
1965 * libc/sys/linux/net/inet_lnaof.c: Ditto.
1966 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
1967 * libc/sys/linux/net/inet_net.3: Ditto.
1968 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
1969 * libc/sys/linux/net/inet_net_pton.c: Ditto.
1970 * libc/sys/linux/net/inet_neta.c: Ditto.
1971 * libc/sys/linux/net/inet_netof.c: Ditto.
1972 * libc/sys/linux/net/inet_network.c: Ditto.
1973 * libc/sys/linux/net/inet_ntoa.c: Ditto.
1974 * libc/sys/linux/net/inet_ntop.c: Ditto.
1975 * libc/sys/linux/net/inet_pton.c: Ditto.
1976 * libc/sys/linux/net/innetgr-stub.c: Ditto.
1977 * libc/sys/linux/net/ip6opt.c: Ditto.
1978 * libc/sys/linux/net/iso_addr.3: Ditto.
1979 * libc/sys/linux/net/iso_addr.c: Ditto.
1980 * libc/sys/linux/net/issetugid-stub.c: Ditto.
1981 * libc/sys/linux/net/linkaddr.3: Ditto.
1982 * libc/sys/linux/net/linkaddr.c: Ditto.
1983 * libc/sys/linux/net/map_v4v6.c: Ditto.
1984 * libc/sys/linux/net/name6.c: Ditto.
1985 * libc/sys/linux/net/namespace.h: Ditto.
1986 * libc/sys/linux/net/ns.3: Ditto.
1987 * libc/sys/linux/net/ns_addr.c: Ditto.
1988 * libc/sys/linux/net/ns_name.c: Ditto.
1989 * libc/sys/linux/net/ns_netint.c: Ditto.
1990 * libc/sys/linux/net/ns_ntoa.c: Ditto.
1991 * libc/sys/linux/net/ns_parse.c: Ditto.
1992 * libc/sys/linux/net/ns_print.c: Ditto.
1993 * libc/sys/linux/net/ns_ttl.c: Ditto.
1994 * libc/sys/linux/net/nsap_addr.c: Ditto.
1995 * libc/sys/linux/net/nsdispatch.3: Ditto.
1996 * libc/sys/linux/net/nsdispatch.c: Ditto.
1997 * libc/sys/linux/net/nslexer.c: Ditto.
1998 * libc/sys/linux/net/nslexer.l: Ditto.
1999 * libc/sys/linux/net/nsparser.c: Ditto.
2000 * libc/sys/linux/net/nsparser.h: Ditto.
2001 * libc/sys/linux/net/nsparser.y: Ditto.
2002 * libc/sys/linux/net/rcmd.3: Ditto.
2003 * libc/sys/linux/net/rcmd.c: Ditto.
2004 * libc/sys/linux/net/rcmdsh.3: Ditto.
2005 * libc/sys/linux/net/rcmdsh.c: Ditto.
2006 * libc/sys/linux/net/recv.c: Ditto.
2007 * libc/sys/linux/net/res_comp.c: Ditto.
2008 * libc/sys/linux/net/res_config.h: Ditto.
2009 * libc/sys/linux/net/res_data.c: Ditto.
2010 * libc/sys/linux/net/res_debug.c: Ditto.
2011 * libc/sys/linux/net/res_init.c: Ditto.
2012 * libc/sys/linux/net/res_mkquery.c: Ditto.
2013 * libc/sys/linux/net/res_mkupdate.c: Ditto.
2014 * libc/sys/linux/net/res_query.c: Ditto.
2015 * libc/sys/linux/net/res_send.c: Ditto.
2016 * libc/sys/linux/net/res_update.c: Ditto.
2017 * libc/sys/linux/net/resolver.3: Ditto.
2018 * libc/sys/linux/net/rthdr.c: Ditto.
2019 * libc/sys/linux/net/send.c: Ditto.
2020 * libc/sys/linux/net/un-namespace.h: Ditto.
2021 * libc/sys/linux/net/vars.c: Ditto.
2022 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
2023 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2024 * libc/sys/linux/stdlib/Makefile.in: Ditto.
2025 * libc/sys/linux/stdlib/cclass.h: Ditto.
2026 * libc/sys/linux/stdlib/cname.h: Ditto.
2027 * libc/sys/linux/stdlib/collate.c: Ditto.
2028 * libc/sys/linux/stdlib/collate.h: Ditto.
2029 * libc/sys/linux/stdlib/collcmp.c: Ditto.
2030 * libc/sys/linux/stdlib/engine.c: Ditto.
2031 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
2032 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
2033 * libc/sys/linux/stdlib/glob.3: Ditto.
2034 * libc/sys/linux/stdlib/glob.c: Ditto.
2035 * libc/sys/linux/stdlib/reallocf.c: Ditto.
2036 * libc/sys/linux/stdlib/regcomp.c: Ditto.
2037 * libc/sys/linux/stdlib/regerror.c: Ditto.
2038 * libc/sys/linux/stdlib/regex.3: Ditto.
2039 * libc/sys/linux/stdlib/regex2.h: Ditto.
2040 * libc/sys/linux/stdlib/regexec.c: Ditto.
2041 * libc/sys/linux/stdlib/regfree.c: Ditto.
2042 * libc/sys/linux/stdlib/utils.h: Ditto.
2043 * libc/sys/linux/stdlib/wordexp.c: Ditto.
2044 * libc/sys/linux/stdlib/wordfree.c: Ditto.
2045 * libc/sys/linux/sys/dlfcn.h: Ditto.
2046 * libc/sys/linux/sys/elfclass.h: Ditto.
2047 * libc/sys/linux/sys/event.h: Ditto.
2048 * libc/sys/linux/sys/ioccom.h: Ditto.
2049 * libc/sys/linux/sys/libc-tsd.h: Ditto.
2050 * libc/sys/linux/sys/link.h: Ditto.
2051 * libc/sys/linux/sys/lock.h: Ditto.
2052 * libc/sys/linux/sys/param.h: Ditto.
2053 * libc/sys/linux/sys/socket.h: Ditto.
2054 * libc/sys/linux/sys/sockio.h: Ditto.
2055
82095e79
JJ
20562003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
2057
2058 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
2059 normal mode
2060 * newlib/libc/machine/h8300/memset.S: Likewise
2061 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
2062 * newlib/lib/machine/h8300/reg_memset.S: Likewise
2063 * newlib/lib/machine/h8300/setjmp.S: Likewise
2064 * newlib/lib/machine/h8300/strcmp.S: Likewise
2065 * newlib/lib/sys/h8300hms/crt0.S: Likewise
2066
8a4b4764
CV
20672003-05-13 Corinna Vinschen <corinna@vinschen.de>
2068
2069 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
2070 * libc/include/stdio.h: Ditto.
2071 * libc/include/sys/config.h: Ditto.
2072 * libc/stdio/mktemp.c: Ditto.
2073
837e070f
CV
20742003-05-13 Corinna Vinschen <corinna@vinschen.de>
2075
2076 * libc/locale/ldpart.c (__part_load_locale): Substitute
2077 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
2078 * libc/search/hash.c (__hash_open): Ditto.
2079 (init_hash): Ditto.
2080 * libc/stdio/fseek.c (fseek): Ditto.
2081 * libc/stdio/makebuf.c (__smakebuf): Ditto.
2082 * libc/stdio/mktemp.c (_gettemp): Ditto.
2083
b47fcdf0
CV
20842003-05-12 Corinna Vinschen <corinna@vinschen.de>
2085
2086 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
2087
11e3a520
CV
20882003-05-12 Corinna Vinschen <corinna@vinschen.de>
2089
2090 * configure.host: Accomodate removing the libc/sys/cygwin dir.
2091 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
2092 if __CYGWIN_USE_BIG_TYPES__ is set.
2093 * libc/search/hash.c (__hash_open): Ditto.
2094 (init_hash): Ditto.
2095 * libc/stdio/fseek.c (fseek): Ditto.
2096 * libc/stdio/makebuf.c (__smakebuf): Ditto.
2097 * libc/stdio/mktemp.c (_gettemp): Ditto.
2098 * libc/sys/cygwin/Makefile.am: Remove.
2099 * libc/sys/cygwin/Makefile.in: Remove.
2100 * libc/sys/cygwin/aclocal.m4: Remove.
2101 * libc/sys/cygwin/configure: Remove.
2102 * libc/sys/cygwin/configure.in: Remove.
2103 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
2104 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
2105 directory.
2106 * libc/sys/cygwin/sys/param.h: Ditto.
2107 * libc/sys/cygwin/sys/utime.h: Ditto.
2108 * libc/sys/cygwin/sys/utmp.h: Ditto.
2109
d1b5e65b
CV
21102003-05-11 Corinna Vinschen <corinna@vinschen.de>
2111
2112 * libc/include/sys/types.h: Don't define key_t for Cygwin.
2113
ec48a953
CF
21142003-05-10 Christopher Faylor <cgf@redhat.com>
2115
2116 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
2117 64 bit inodes.
2118
a3cc5851
CV
21192003-05-09 Corinna Vinschen <corinna@vinschen.de>
2120
2121 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
2122 Include cygwin/config.h instead.
2123
57ff95d3
JJ
21242003-04-16 Jeff Johnston <jjohnstn@redhat.com>
2125
2126 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
2127 all code with #ifdef __SPE__ test.
2128 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
2129
cfd2c7be
CF
21302003-04-15 Chris January <chris@atomice.net>
2131
2132 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
2133 Cygwin.
2134
6f48c0ae
JR
21352003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
2136
2137 * libc/machine/sh/memset.S: Avoid clobbering volatile
2138 objects following a tiny to-be-set array in the same quadword.
2139
8f8d09c0
CV
21402001-04-09 Corinna Vinschen <corinna@vinschen.de>
2141
2142 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
2143 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
2144 * libc/string/Makefile.in: Regenerated.
2145 * libc/string/wcswidth.c: New file.
2146 * libc/string/wcwidth.c: New file.
2147 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
2148
40c3b2d0
JR
2149Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
2150
2151 * libc/machine/sh/memset.S: Fix problem with alloco region
2152 exceeding destination region for length >= 88 bytes, start
2153 & 0x16 == 0, end & 0x1f == 18.
2154
8ae6a3dd
CV
21552001-04-03 Corinna Vinschen <corinna@vinschen.de>
2156
2157 * libc/string/wcscoll.c: Fix comment.
2158
d122b1cc
CV
21592001-04-02 Corinna Vinschen <corinna@vinschen.de>
2160
2161 * libc/include/wchar.h: Add definition for wcscoll.
2162 * libc/string/Makefile.am: Add wcscoll.c.
2163 * libc/string/Makefile.in: Regenerated.
2164 * libc/string/wcscoll.c: New file.
2165 * libc/string/wcstrings.tex: Add wcscoll.
2166
31ee99a4
CV
21672003-04-01 Corinna Vinschen <corinna@vinschen.de>
2168
2169 * libc/stdio/sscanf.c: Update flags description.
2170 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
2171 type.
2172 (__svfscanf_r): Add 'hh' and 'll' handling.
2173
d78045ee
CV
21742003-04-01 Corinna Vinschen <corinna@vinschen.de>
2175
2176 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
2177 __d_position member to _off_t.
2178
e6bdc6c5
JJ
21792003-03-20 Jeff Johnston <jjohnstn@redhat.com>
2180
2181 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
2182 count all characters used to create number against maximum width.
2183 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
2184
e65d559e
JJ
21852003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
2186
2187 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
2188 support.
2189 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
2190 flag to support simulator only extensions.
2191
6b3bb52b
JJ
21922003-03-17 Bob Cassels <bcassels@abinitio.com>
2193
2194 * libc/string/wcschr.c: (wcschr): Look for character first,
2195 then for end of string, so you can do wcschr(x, '\0').
2196
2a940c1a
CV
21972003-03-10 Corinna Vinschen <corinna@vinschen.de>
2198
2199 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
2200 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
2201 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
2202 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
2203 * libc/stdio/fseeko.c (fseeko): Ditto.
2204 * libc/stdio/ftello.c (ftello): Ditto.
2205 * libc/stdio/stdio.c (__swrite): Ditto.
2206 (__sseek): Ditto.
2207 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
2208 * libc/stdio/fseek.c (fseek): Ditto.
2209 * libc/stdio/fsetpos.c (fsetpos): Ditto.
2210 * libc/stdio/ftell.c (ftell): Ditto.
2211 * libc/stdio/local.h: Declare __sseek using _off_t.
2212
150c2818
CV
22132003-03-09 Corinna Vinschen <corinna@vinschen.de>
2214
2215 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
2216
2c440f9c
CV
22172003-03-09 Corinna Vinschen <corinna@vinschen.de>
2218
2219 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
2220 Cygwin.
2221
f882fd15
CV
22222003-03-09 Corinna Vinschen <corinna@vinschen.de>
2223
2224 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
2225 Cygwin.
2226 * libc/include/sys/stat.h: Ditto.
2227 * libc/include/sys/unistd.h: Ditto.
2228 * libc/sys/cygwin/sys/dirent.h: Ditto.
2229
01d61543
CF
22302003-03-07 Christopher Faylor <cgf@redhat.com>
2231
2232 * libc/include/sys/unistd.h: Guard getopt.h call to force only
2233 declaration of getopt and avoid getopt_long declaration.
2234 * libc/sys/cygwin/include/unistd.h: Remove.
2235
5582abd2
CV
22362003-03-07 Corinna Vinschen <corinna@vinschen.de>
2237
2238 * configure.host: Define stdio64_dir for Cygwin.
2239 * libc/include/stdio.h: Change definition of fpos_t to fulfill
2240 Cygwin 64bit file access requirements.
2241 Drop definition of f*64() functions when compiled for Cygwin.
2242 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
2243 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
2244 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
2245
641da1eb
JJ
22462003-03-07 Jeff Johnston <jjohnstn@redhat.com>
2247
2248 * libc/include/sys/reent.h: Remove extraneous _sig_func
2249 declaration.
2250
22512003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
41a639de
JJ
2252
2253 * libc/sys/h8300hms/Makefile.am: Add support for new files.
2254 * libc/sys/h8300hms/Makefile.in: Regenerated.
2255 * libc/sys/h8300hms/close.S: New file.
2256 * libc/sys/h8300hms/fstat.S: Ditto.
2257 * libc/sys/h8300hms/lseek.S: Ditto.
2258 * libc/sys/h8300hms/open.S: Ditto.
2259 * libc/sys/h8300hms/stat.S: Ditto.
2260 * libc/sys/h8300hms/read.S: New file to replace read.c.
2261 * libc/sys/h8300hms/read.c: Removed.
2262 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
2263 _lseek, _close, _stat, _fstat.
2264 * libc/sys/h8300hms/write.S: New file to replace write.c.
2265 * libc/sys/h8300hms/write.c: Removed.
2266
bac50d6b
NC
22672003-02-20 Nick Clifton <nickc@redhat.com>
2268
2269 * Add support for Cirrus Maverick ARM co-processor:
2270
2271 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
2272
2273 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
2274 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
2275
2276 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
2277
2278 * configure.host: set sys_dir, syscall_dir, and
2279 newlib_cflags for ep9312 host.
2280
2281 * configure.host: Restore alpha sorting of entries in case
2282 statements.
2283
12ee7037
JJ
22842003-02-19 Jeff Johnston <jjohnstn@redhat.com>
2285
2286 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
2287
1e810ba0
JJ
22882003-02-18 Christian Groessler <chris@groessler.org>
2289
2290 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
2291 support z8001 segmented mode.
2292
b1ca765e
JJ
22932003-02-18 Earnie Boyd <earnie@users.sf.net>
2294
2295 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
2296 with a NULL value.
2297
51a46b54
CF
22982003-02-10 Christopher Faylor <cgf@redhat.com>
2299
2300 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
2301 Don't define some types under cygwin.
2302
313f1349
JJ
23032003-02-07 Jeff Johnston <jjohnstn@redhat.com>
2304
2305 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
2306 option to allow disabling of syscalls being supplied in newlib.
2307 * aclocal.m4: Regenerated.
2308 * configure: Ditto.
2309 * configure.host: Add support of new configuration option and add
2310 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
2311 * doc/aclocal.m4: Regenerated.
2312 * doc/configure: Ditto.
2313 * libc/*aclocal.m4: Ditto.
2314 * libc/*configure: Ditto.
2315 * libm/*aclocal.m4: Ditto.
2316 * libm/*configure: Ditto.
2317 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
2318 is disabled.
2319 * libc/sys/arm/Makefile.in: Regenerated.
2320
5017a3da
JJ
23212003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
2322
2323 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
2324 -1 to be sure it cannot later match a valid file fd causing
2325 isatty() to return 1.
2326 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
2327 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
2328 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
2329
ad36f7d1
JJ
23302003-02-03 Jeff Johnston <jjohnstn@redhat.com>
2331
2332 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
2333 buffer based on the precision, after we have processed the input value
2334 in a local buffer and know its relative magnitude.
2335
a74181ee
JJ
23362003-01-31 Michael Snyder <msnyder@redhat.com>
2337
2338 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
2339 into registers r1 and r2, so that the simulator can distinguish
2340 this trap from a breakpoint trap. Copied from libgloss.
2341
b85498d4
JJ
23422003-01-31 Michael Snyder <msnyder@redhat.com>
2343
2344 * libc/sys/h8300hms/crt0.S (_start): Change local label
2345 from .loop to .Loop, so that ld and gdb will ignore it.
2346
4700b829
JJ
23472003-01-29 Jason Tishler <jason@tishler.net>
2348
2349 * libc/include/time.h: Declare nanosleep() under Cygwin.
2350
0127ae40
NC
23512003-01-24 Nick Clifton <nickc@redhat.com>
2352
2353 * Add sh2e support:
2354
2355 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
2356
2357 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
2358 * libc/machine/sh/setjmp.S: Likewise.
2359 * libc/include/machine/ieeefp.h: Likewise.
2360
8bbcd9a1
CV
23612003-01-24 Corinna Vinschen <corinna@vinschen.de>
2362
2363 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
2364 for Cygwin.
2365
b8838e6f
JJ
23662003-01-21 Anita Kulkarni <anitak@kpit.com>
2367
2368 * libc/time/difftime.c : Typecast the result to double.
2369
f9e41155
CF
23702003-01-20 Christopher Faylor <cgf@redhat.com>
2371
2372 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
2373
6b5a7988
NC
23742003-01-18 Nick Clifton <nickc@redhat.com>
2375
2376 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
2377 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
2378
c3e92877
JJ
23792003-01-16 Joel Sherrill <joel@OARcorp.com>
2380
2381 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
2382 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
2383 constants are defined in each file in the shared versions in
2384 libc/include.
2385 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
2386 autoconf can link programs.
2387 * libc/include/machine/types.h: Explicitly specify signed on
2388 intXX_t types to ensure they are signed.
2389
84510217
CF
23902003-01-14 Christopher Faylor <cgf@redhat.com>
2391
2392 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
2393 extensions.
2394
b3934ab3
RS
23952003-01-08 Richard Sandiford <rsandifo@redhat.com>
2396
2397 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
2398
be9c60e5
JJ
23992003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
2400
2401 * libc/stdio/sprintf.c: fix typo
2402 * libc/stdio/vfprintf.c: fix typo
2403
d4c3a750
JJ
24042003-01-07 Jeff Johnston <jjohnstn@redhat.com>
2405
2406 * configure.host: Support long double I/O for x86-linux.
2407 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
2408 large enough to hold formatted result.
2409 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
2410
b2294aaa
JJ
24112003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
2412
2413 * Makefile.am: Add vasprintf.
2414 * Makefile.in: Regenerated.
2415
ea5e5daf
JJ
24162003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
2417
2418 * asprintf.c (_asprintf_r): insure both declarations
2419 are the same.
2420
5c581eca
CF
24212002-12-28 Christopher Faylor <cgf@redhat.com>
2422
2423 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
2424 than defining getopt directly.
2425
60b0838f
JJ
24262002-12-20 Jeff Johnston <jjohnstn@redhat.com>
2427
2428 * NEWS: Update with 1.11.0 info.
2429 * README: Ditto.
2430 * acinclude.m4: Change version number to 1.11.0.
2431 * aclocal.m4: Regenerated.
2432 * configure: Ditto.
2433 * doc/aclocal.m4: Ditto.
2434 * doc/configure: Ditto.
2435 * libc/*/aclocal.m4: Ditto.
2436 * libc/*/configure: Ditto.
2437 * libc/libc.texinfo: Ditto.
2438 * libm/*/aclocal.m4: Ditto.
2439 * libm/*/configure: Ditto.
2440 * libm/libm.texinfo: Ditto.
2441 * libc/sys/linux/shared.ld: Add VERS_1.11.
2442
10501d57
JJ
24432002-12-20 Jeff Johnston <jjohnstn@redhat.com>
2444
2445 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
2446 Solutions to Red Hat Inc.
2447 * libc/machine/i386/f_atan2f.S: Ditto.
2448 * libc/machine/i386/f_exp.c: Ditto.
2449 * libc/machine/i386/f_expf.c: Ditto.
2450 * libc/machine/i386/f_frexp.S: Ditto.
2451 * libc/machine/i386/f_frexpf.S: Ditto.
2452 * libc/machine/i386/f_ldexp.S: Ditto.
2453 * libc/machine/i386/f_ldexpf.S: Ditto.
2454 * libc/machine/i386/f_log.S: Ditto.
2455 * libc/machine/i386/f_log10.S: Ditto.
2456 * libc/machine/i386/f_log10f.S: Ditto.
2457 * libc/machine/i386/f_logf.S: Ditto.
2458 * libc/machine/i386/f_pow.c: Ditto.
2459 * libc/machine/i386/f_powf.c: Ditto.
2460 * libc/machine/i386/f_tan.S: Ditto.
2461 * libc/machine/i386/f_tanf.S: Ditto.
2462 * libc/machine/i386/memchr.S: Ditto.
2463 * libc/machine/i386/memcmp.S: Ditto.
2464 * libc/machine/i386/memcpy.S: Ditto.
2465 * libc/machine/i386/memmove.S: Ditto.
2466 * libc/machine/i386/memset.S: Ditto.
2467 * libc/machine/i386/strchr.S: Ditto.
2468 * libc/machine/i386/strlen.S: Ditto.
2469 * libm/machine/i386/f_atan2.S: Ditto.
2470 * libm/machine/i386/f_atan2f.S: Ditto.
2471 * libm/machine/i386/f_exp.c: Ditto.
2472 * libm/machine/i386/f_expf.c: Ditto.
2473 * libm/machine/i386/f_frexp.S: Ditto.
2474 * libm/machine/i386/f_frexpf.S: Ditto.
2475 * libm/machine/i386/f_ldexp.S: Ditto.
2476 * libm/machine/i386/f_ldexpf.S: Ditto.
2477 * libm/machine/i386/f_log.S: Ditto.
2478 * libm/machine/i386/f_log10.S: Ditto.
2479 * libm/machine/i386/f_log10f.S: Ditto.
2480 * libm/machine/i386/f_logf.S: Ditto.
2481 * libm/machine/i386/f_pow.c: Ditto.
2482 * libm/machine/i386/f_powf.c: Ditto.
2483 * libm/machine/i386/f_tan.S: Ditto.
2484 * libm/machine/i386/f_tanf.S: Ditto.
2485
9b3f0d16
JJ
24862002-12-20 Jeff Johnston <jjohnstn@redhat.com>
2487
2488 * libc/stdlib/environ.c: Update license to Red Hat.
2489 * libc/machine/hppa/setjmp.S: Ditto.
2490 * libm/test/Makefile.in: Ditto.
2491
d693ad84
JJ
24922002-12-19 Jeff Johnston <jjohnstn@redhat.com>
2493
2494 * configure.host: Remove references to go32.
2495 * libc/sys/go32/*: Removed.
2496
7da92d15
JJ
24972002-12-16 Kazu Hirata <kazu@cs.umass.edu>
2498
2499 * libc/include/sys/config.h: Change setting of INT_MAX
2500 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
2501 __H8300S__. Also consolidate flag settings for these
2502 platforms.
2503
ea01c7f5
JJ
25042002-12-10 Joel Sherrill <joel@OARcorp.com>
2505
2506 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
2507 for i386-rtems targets.
2508
c049dd5a
JJ
25092002-12-06 Jeff Johnston <jjohnstn@redhat.com>
2510
2511 * libc/include/stdlib.h (strtof): New prototype (from C99).
2512 (strtodf): Changed from prototype to macro which redefines
2513 to strtof.
2514 * libc/stdlib/atof.c: Change documentation to refer to strtof
2515 instead of strtodf.
2516 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
2517 strtodf.
2518 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
2519 (strtof): New function.
2520 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
2521 calls strtof.
2522
46a402e0
CF
25232002-11-27 Christopher Faylor <cgf@redhat.com>
2524
2525 * libc/string/memset.c (memset): Fix comment.
2526
b3cc01b0
CF
25272002-11-26 Christopher Faylor <cgf@redhat.com>
2528
2529 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
2530 function.
2531
d90f3dc1
CF
25322002-11-25 Christopher Faylor <cgf@redhat.com>
2533
2534 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
2535 variable, introduced below, everywhere.
2536
f24585c6
KH
25372002-11-25 Kazu Hirata <kazu@cs.umass.edu>
2538
2539 * libc/string/memset.c (memset): Make it safe even if
2540 sizeof (int) = 2.
2541
2955fd76
JJ
25422002-11-22 Joe Buehler <jbuehler@hekimian.com>
2543
2544 * configure.in: Change check for libc/include in ${CC} to
2545 use an intermediate value so as to work with different shells.
2546 * configure: Regenerated.
2547 * Makefile.in: Ditto.
2548
40ce7368
JJ
25492002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
2550
2551 * libc/sys/h8300hms/read.c: Add support for normal mode
2552 architecture.
2553
505746ad
JJ
25542002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
2555
2556 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
2557 code for __H8300H__ and __H8300S__. Also return 32-bit return code
2558 when -mint32 is used.
2559
28ecb2f5
NC
25602002-11-18 Nick Clifton <nickc@redhat.com>
2561
2562 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
2563
665b994e
JJ
25642002-11-14 Jeff Johnston <jjohnstn@redhat.com>
2565
2566 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
2567 only issue one pass/fail message for a compile/link/execute.
2568 * testsuite/newlib.elix/elix.exp: New file.
2569 * testsuite/newlib.elix/tmmap.c: Ditto.
2570
e91ec2e3
CF
25712002-11-06 Christopher Faylor <cgf@redhat.com>
2572
2573 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
2574 * libc/stdlib/mlock.c: Ditto.
2575 * libc/stdlib/msize.c: Ditto.
2576 * libc/stdlib/msize.c: Ditto.
2577 * libc/stdlib/mtrim.c: Ditto.
2578 * libc/stdlib/valloc.c: Ditto.
2579
944772c7
JJ
25802002-11-12 Jeff Johnston <jjohnstn@redhat.com>
2581
2582 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
2583 for inf/nan, make sure that the check ignores the sign bit.
2584
dd7ee147
JJ
25852002-11-07 Joel Sherrill <joel@OARcorp.com>
2586
2587 * libc/sys/rtems/machine: New directory.
2588 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
2589 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
2590 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
2591 targets more BSD like when installed without requiring files to
2592 be overwritten at install point when RTEMS itself is installed.
2593 * Makefile.am: Pick up system dependent machine .h files such as
2594 might be found on a BSD-ish system.
2595 * Makefile.in: Regenerate.
2596 * libc/include/machine/types.h: When on an RTEMS target, define a
2597 few BSD flavor types.
2598
25992002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
503430d8
CF
2600
2601 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
2602
18cd62b7
JJ
26032002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
2604
2605 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
2606 * libc/include/wctype.h: Ditto.
2607
d2888812
JJ
26082002-11-04 Jeff Johnston <jjohnstn@redhat.com>
2609
2610 * libc/include/wchar.h: Add extern "C" specifier if C++.
2611 * libc/include/wctype.h: Ditto.
2612
978ea3cf
JJ
26132002-10-18 Jeff Johnston <jjohnstn@redhat.com>
2614
2615 * testsuite/newlib.wctype/tiswctype.c: New test case.
2616 * testsuite/newlib.wctype/twctrans.c: Ditto.
2617
a42cf80a
JJ
26182002-10-18 Jeff Johnston <jjohnstn@redhat.com>
2619
2620 * libc/sys/linux/machine/i386/include/endian.h: New file.
2621 * libc/sys/linux/machine/i386/include/param.h: Ditto.
2622
c9ccb1f2
JJ
26232002-10-18 Jeff Johnston <jjohnstn@redhat.com>
2624
2625 * libm/machine/i386/aclocal.m4: Regenerated.
2626 * libm/machine/i386/configure: Ditto.
2627
94c5b430
JJ
26282002-10-18 Jeff Johnston <jjohnstn@redhat.com>
2629
2630 * testsuite/include/check.h: New header file to use with
2631 test cases.
2632 * testsuite/lib/newlib.exp: Add testsuite/include directory
2633 to list of header files to use.
2634 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
2635 * testsuite/newlib.wctype/wctype.exp: New file.
2636
ccdae543
RS
26372002-10-11 Graham Stott <graham.stott@btinternet.com>
2638 Richard Sandiford <rsandifo@redhat.com>
f770cf44
RS
2639
2640 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
2641 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
2642 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
2643
73972116
JS
26442002-10-07 Joel Sherrill <joel@OARcorp.com>
2645
2646 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
2647 dummy programs.
2648
89e3fcba
JS
26492002-10-07 Joel Sherrill <joel@OARcorp.com>
2650
2651 * libc/include/pthread.h: Define PTHREAD_CANCELED.
2652
54ec52e4
JS
26532002-10-07 Joel Sherrill <joel@OARcorp.com>
2654
2655 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
2656 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
2657 compile with current GNU tools.
2658
d389acba
JJ
26592002-10-07 Jeff Johnston <jjohnstn@redhat.com>
2660
2661 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
2662 the build library.
2663 * configure.in: Ditto.
2664 * Makefile.in: Regenerated.
2665 * configure: Ditto.
2666 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
2667 for specifying configured libraries/directories.
2668 * libc/sys/linux/configure.in: Ditto.
2669 * libc/sys/linux/Makefile.in: Regenerated.
2670 * libc/sys/linux/configure: Ditto.
2671
af5a221f
JJ
26722002-10-03 Jeff Johnston <jjohnstn@redhat.com>
2673
2674 * libc/include/reent.h: Update documentation at start of file.
2675
59a758bd
JW
26762002-09-27 Jim Wilson <wilson@redhat.com>
2677
2678 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
2679 the ctbp register.
2680
1ed3c86d
JJ
26812002-09-27 Jeff Johnston <jjohnstn@redhat.com>
2682
2683 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
2684 Also convert to EUCJP before using arrays. For values not in
2685 the conversion arrays, return WEOF.
2686 * libc/ctype/jp2uc.h: Change from one array to a number of
2687 arrays to account for the fact that the originating table
2688 is not contiguous for the input values since some are invalid.
2689
6e1dfd2d
JJ
26902002-09-24 Jeff Johnston <jjohnstn@redhat.com>
2691
2692 * libc/time/ctime.c: Fix prototype documentation.
2693
06f1353a
CV
26942002-09-24 Corinna Vinschen <corinna@vinschen.de>
2695
2696 * libc/include/sys/errno.h: Add EOVERFLOW.
2697
1e0e64c9
JJ
26982002-09-20 Jeff Johnston <jjohnstn@redhat.com>
2699
2700 * libc/include/wctype.h: New file.
2701
1525d127
JJ
27022002-09-20 Jeff Johnston <jjohnstn@redhat.com>
2703
2704 * libc/ctype/Makefile.am: Add new files.
2705 * libc/ctype/Makefile.in: Regenerated.
2706 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
2707 and wctrans functions to documentation index.
2708 * libc/ctype/iswalnum.c: New file.
2709 * libc/ctype/iswalpha.c: Ditto.
2710 * libc/ctype/iswblank.c: Ditto.
2711 * libc/ctype/iswcntrl.c: Ditto.
2712 * libc/ctype/iswctype.c: Ditto.
2713 * libc/ctype/iswdigit.c: Ditto.
2714 * libc/ctype/iswgraph.c: Ditto.
2715 * libc/ctype/iswlower.c: Ditto.
2716 * libc/ctype/iswprint.c: Ditto.
2717 * libc/ctype/iswpunct.c: Ditto.
2718 * libc/ctype/iswspace.c: Ditto.
2719 * libc/ctype/iswupper.c: Ditto.
2720 * libc/ctype/iswxdigit.c: Ditto.
2721 * libc/ctype/jp2uc.c: Ditto.
2722 * libc/ctype/jp2uc.h: Ditto.
2723 * libc/ctype/local.h: Ditto.
2724 * libc/ctype/towctrans.c: Ditto.
2725 * libc/ctype/towlower.c: Ditto.
2726 * libc/ctype/towupper.c: Ditto.
2727 * libc/ctype/utf8alpha.h: Ditto.
2728 * libc/ctype/utf8print.h: Ditto.
2729 * libc/ctype/utf8punct.h: Ditto.
2730 * libc/ctype/wctrans.c: Ditto.
2731 * libc/ctype/wctype.c: Ditto.
2732 * libc/locale/locale.c (__lc_ctype): New external array to
2733 replace static lc_ctype array.
2734 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
2735 rather than reentrancy structure's _current_locale field.
2736 * libc/stdlib/wctomb_r.c: Ditto.
2737
da25e61f
JJ
27382002-09-20 Jeff Johnston <jjohnstn@redhat.com>
2739
2740 * configure.host: Minor comment and formatting changes.
2741 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
2742 * libc/Makefile.in: Regenerated.
2743 * libc/include/sys/config.h: Minor format change.
2744
5b9ee539
JJ
27452002-09-19 Jeff Johnston <jjohnstn@redhat.com>
2746
2747 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
2748 statement comment.
2749
50558bf3
JJ
27502002-09-19 Jeff Johnston <jjohnstn@redhat.com>
2751
2752 * libc/posix/opendir.c (opendir): Change code to check
2753 for HAVE_FCNTL before calling fcntl.
2754 * libc/search/hash.c (hash_open): Ditto.
2755 * libc/search/hash_page.c (open_tmp): Ditto.
2756 * libc/reent/Makefile.am: Add fcntlr.c.
2757 * libc/reent/Makefile.in: Regenerated.
2758 * libc/reent/fcntlr.c: New file.
2759 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
2760 instead of _fcntl when HAVE_FCNTL flag is set.
2761 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
2762 to see if _fcntl or _fcntl_r should be called. If flag is not
2763 set, default to ENOSYS stub.
2764
9211a1ad
JJ
27652002-09-16 Jeff Johnston <jjohnstn@redhat.com>
2766
2767 * libc/include/wchar.h (mbstate_t): Change protective flag to
2768 be _MBSTATE_T.
2769 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
2770 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
2771 for Cygwin.
2772 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
2773
a8615092
JJ
27742002-09-11 Jeff Johnston <jjohnstn@redhat.com>
2775
2776 * acinclude.m4 (enable-newlib-mb): Change check to
2777 default newlib_mb variable to empty string rather than "no".
2778 * configure.host: Remove hard-coding of -DMB_CAPABLE for
2779 x86-linux and Cygwin. Add code to check for newlib_mb
2780 being unset in which case set to "yes" for x86-linux and
2781 Cygwin. Change check for newlib_mb being "yes" to allow
2782 for an empty string.
2783 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
2784 * newlib.hin (_MB_LEN_MAX): New define to configure.
2785 * aclocal.m4: Regenerated.
2786 * configure: Ditto.
2787 * libc/include/limits.h: New file.
2788 * libc/sys/linux/include/limits.h: Ditto.
2789 * doc/aclocal.m4 doc/configure libc/aclocal.m4
2790 libc/configure libc/include/%redact libc/machine/aclocal.m4
2791 libc/machine/configure libc/machine/a29k/aclocal.m4
2792 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
2793 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
2794 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
2795 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
2796 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
2797 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
2798 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
2799 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
2800 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
2801 libc/machine/i386/configure libc/machine/i960/aclocal.m4
2802 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
2803 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
2804 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
2805 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
2806 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
2807 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
2808 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
2809 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
2810 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
2811 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
2812 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
2813 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
2814 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
2815 libc/machine/v850/configure libc/machine/w65/aclocal.m4
2816 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
2817 libc/machine/xscale/configure
2818 libc/machine/xstormy16/aclocal.m4
2819 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
2820 libc/machine/z8k/configure libc/sys/aclocal.m4
2821 libc/sys/configure libc/sys/a29khif/aclocal.m4
2822 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
2823 libc/sys/arc/configure libc/sys/arm/aclocal.m4
2824 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
2825 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
2826 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
2827 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
2828 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
2829 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
2830 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
2831 libc/sys/idt/configure libc/sys/linux/aclocal.m4
2832 libc/sys/linux/configure libc/sys/linux/include/%redact
2833 libc/sys/linux/machine/aclocal.m4
2834 libc/sys/linux/machine/configure
2835 libc/sys/linux/machine/i386/aclocal.m4
2836 libc/sys/linux/machine/i386/configure
2837 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
2838 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
2839 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
2840 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
2841 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
2842 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
2843 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
2844 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
2845 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
2846 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
2847 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
2848 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
2849 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
2850 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
2851 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
2852 libm/aclocal.m4 libm/configure: Regenerated.
2853
be83844e
JJ
28542002-09-09 Jeff Johnston <jjohnstn@redhat.com>
2855
2856 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
2857 code that clears the .bss section.
2858
9c64d2a7
JJ
28592002-09-09 Jeff Johnston <jjohnstn@redhat.com>
2860
2861 * libc/include/sys/_types.h (_mbstate_t): Changed to use
2862 unsigned char internally.
2863 * libc/sys/linux/sys/_types.h: Ditto.
2864 * libc/include/sys/reent.h
2865 * libc/stdlib/mblen.c (mblen): Use function-specific state
2866 value from default reentrancy structure.
2867 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
2868 _mbtowc_r is less than 0, reset state __count value and
2869 return -1.
2870 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
2871 is NULL, use the function-specific pointer provided in the
2872 default reentrancy structure.
2873 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
2874 If input state pointer is NULL, use function-specific area
2875 provided in reentrancy structure.
2876 * libc/stdlib/mbsrtowcs.c: Ditto.
2877 * libc/stdlib/wcrtomb.c: Ditto.
2878 * libc/stdlib/wcsrtombs.c: Ditto.
2879 * libc/stdlib/mbstowcs.c: Reformat.
2880 * libc/stdlib/wcstombs.c: Ditto.
2881 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
2882 reset the state's __count value and return -1.
2883 * libc/stdlib/mbtowc.c: Ditto.
2884 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
2885 If number of bytes is used up before completing a valid multibyte
2886 character, return -2 and save the state.
2887 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
2888 and change some __count references to __state for clarity.
2889
218b7a56
JJ
28902002-09-06 Jeff Johnston <jjohnstn@redhat.com>
2891
2892 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
2893 is defined by <limits.h>.
2894
c210a6ea
JJ
28952002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
2896
2897 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
2898 defined.
2899
efa077ce
JJ
29002002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
2901
2902 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
2903 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
2904 __WCHAR_MAX__ or 0x7fffffffu.
2905 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
2906 * libc/string/wcsncmp.c: Ditto.
2907
e4b0ebc1
JJ
29082002-09-03 Jeff Johnston <jjohnstn@redhat.com>
2909
2910 * libc/string/wcschr.c: Add include of <stddef.h>.
2911 * libc/string/wcspbrk.c: Ditto.
2912 * libc/string/wcsrchr.c: Ditto.
2913 * libc/string/wcsstr.c: Ditto.
2914
3db40db7
JJ
29152002-09-03 Jeff Johnston <jjohnstn@redhat.com>
2916
2917 * libc/include/sys/_types.h (_flock_t): Added.
2918 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
2919 (__lock_try_acquire_recursive): Ditto.
2920 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
2921 _lock field.
2922 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
2923 field.
2924 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
2925 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
2926 * libc/sys/linux/include/time.h (struct timespec): Moved from
2927 <sys/types.h> and added check for __need_timespec flag so type
2928 can be defined by itself.
2929 * libc/sys/linux/sys/_types.h (_flock_t): New type.
2930 * libc/sys/linux/sys/types.h (struct timespec): Moved to
2931 <time.h>.
2932
cd45f029
TF
29332002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
2934
2935 * libc/sys/linux/argp: New directory.
2936 * libc/sys/linux/getopt.c: New file.
2937 * libc/sys/linux/getopt1.c: New file.
2938 * libc/sys/linux/getoptlong.c: Remove file.
2939 * libc/sys/linux/include/argp.h: New file.
2940 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
2941 based on ELIX level.
2942 (SUBDIRS): Add argp_dir.
2943 (SUBLIBS): Add ARGP_LIB.
2944 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
2945 getopt_long.$(oext).
2946 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
2947
3c689185
JJ
29482002-08-29 Jeff Johnston <jjohnstn@redhat.com>
2949
2950 * libc/libc.texinfo: Add node reference to wide-character strings.
2951 * libc/string/wcstrings.tex: New file.
2952 * libc/string/strtok_r.c: Remove outdated advertising clause.
2953 * libc/string/Makefile.am (doc): Add wide-character string
2954 chapter to documentation.
2955 * libc/string/Makefile.in: Regenerated.
2956
890e7a1d
JJ
29572002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
2958
2959 * libc/include/wchar.h: Define NULL. Define WEOF more general
2960 way. Declare functions in newlib manner.
2961 * libc/stdlib/Makefile.am: Delete wmem*.c
2962 * libc/stdlib/Makefile.in: Regenerated.
2963 * libc/stdlib/wmemchr.c: Delete.
2964 * libc/stdlib/wmemcmp.c: Ditto.
2965 * libc/stdlib/wmemcpy.c: Ditto.
2966 * libc/stdlib/wmemmove.c: Ditto.
2967 * libc/stdlib/wmemset.c: Ditto.
2968 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
2969 * libc/string/Makefile.in: Regenerated.
2970 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
2971 * libc/string/wcschr.c: Ditto.
2972 * libc/string/wcscmp.c: Ditto.
2973 * libc/string/wcscpy.c: Ditto.
2974 * libc/string/wcscspn.c: Ditto.
2975 * libc/string/wcslcat.c: Ditto.
2976 * libc/string/wcslcpy.c: Ditto.
2977 * libc/string/wcslen.c: Ditto.
2978 * libc/string/wcsncat.c: Ditto.
2979 * libc/string/wcsncmp.c: Ditto.
2980 * libc/string/wcsncpy.c: Ditto.
2981 * libc/string/wcspbrk.c: Ditto.
2982 * libc/string/wcsrchr.c: Ditto.
2983 * libc/string/wcsspn.c: Ditto.
2984 * libc/string/wcsstr.c: Ditto.
2985 * libc/string/wmemchr.c: Ditto.
2986 * libc/string/wmemcmp.c: Ditto.
2987 * libc/string/wmemcpy.c: Ditto.
2988 * libc/string/wmemmove.c: Ditto.
2989 * libc/string/wmemset.c: Ditto.
2990
86620e21
JJ
29912002-08-29 Jeff Johnston <jjohnstn@redhat.com>
2992
2993 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
2994 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
2995 and is treated as if "C" was specified.
2996
f3741c27
JJ
29972002-08-28 Jeff Johnston <jjohnstn@redhat.com>
2998
2999 * Makefile.am (install-data-local): Move install of build
3000 newlib.h after installing headers in libc/include so as to
3001 overwrite default newlib.h.
3002 * Makefile.in: Regenerated.
3003
48da61f5
JJ
30042002-08-28 Jeff Johnston <jjohnstn@redhat.com>
3005
3006 * libc/include/newlib.h: New file for tools that use newlib
3007 headers but don't build newlib first (e.g. gcc).
3008
d82a94ac
JJ
30092002-08-28 Jeff Johnston <jjohnstn@redhat.com>
3010
3011 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
3012 * libc/stdlib/wmemcmp.c: Ditto.
3013 * libc/stdlib/wmemcpy.c: Ditto.
3014 * libc/stdlib/wmemmove.c: Ditto.
3015 * libc/stdlib/wmemset.c: Ditto.
3016
7d08241b
JJ
30172002-08-27 Egor Duda <deo@logos-m.ru>
3018
3019 * libc/stdlib/wmemchr.c: New file.
3020 * libc/stdlib/wmemcmp.c: Ditto.
3021 * libc/stdlib/wmemcpy.c: Ditto.
3022 * libc/stdlib/wmemmove.c: Ditto.
3023 * libc/stdlib/wmemset.c: Ditto.
3024 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
3025 * configure.host: Default -DMB_CAPABLE for cygwin.
3026 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
3027 wmemmove() and wmemset(). Add include of <_ansi.h>.
3028 * libc/stdlib/Makefile.in: Regenerate.
3029
8da1639b
JJ
30302002-08-27 Jeff Johnston <jjohnstn@redhat.com>
3031
ff2bf852 3032 * configure.host: Remove _ELIX_LEVEL flag setting.
8da1639b
JJ
3033 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
3034 (install-data-local): Install newlib.h.
3035 * Makefile.in: Regenerated.
3036 * aclocal.m4: Ditto.
3037 * configure: Ditto.
3038 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
3039 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
3040 and _NEWLIB_VERSION to fill in newlib.h header file entries.
3041 In AC_OUTPUT statement, unset ac_file so multilib support does
3042 not use last ac_file temporary used in newlib.h configuration.
3043 * libc/include/_ansi.h: Include <newlib.h>.
3044 * newlib.hin: New template file for newlib.h.
3045 * stamp-h.in: New file.
3046
a4421c11
JJ
30472002-08-26 Wu Yongwei <adah@netstd.com>
3048
3049 * time.h (timezonevar): Change "#if" to "#ifdef".
3050
90b65e2d
JJ
30512002-08-26 Jeff Johnston <jjohnstn@redhat.com>
3052
3053 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
3054 * Makefile.in: Regenerated.
3055 * acinclude.m4: Add support for --enable-newlib-elix-level option.
3056 * aclocal.m4: Regenerated.
3057 * configure: Ditto.
3058 * configure.host: Add code to define _ELIX_LEVEL if
3059 --enable-newlib-elix-level option is used.
3060 * configure.in:
3061 * libc/aclocal.m4: Regenerated.
3062 * libc/configure: Ditto.
3063 * libc/argz/Makefile.am: Add EL/IX level checking.
3064 * libc/argz/Makefile.in: Regenerated.
3065 * libc/argz/dummy.c: New file.
3066 * libc/ctype/Makefile.am: Add EL/IX level checking.
3067 * libc/ctype/Makefile.in: Regenerated.
3068 * libc/locale/Makefile.am: Add EL/IX level checking.
3069 * libc/locale/Makefile.in: Regenerated.
3070 * libc/posix/Makefile.am: Add EL/IX level checking.
3071 * libc/posix/Makefile.in: Regenerated.
3072 * libc/posix/telldir.c: Add EL/IX level checking.
3073 * libc/reent/Makefile.am: Ditto.
3074 * libc/reent/fstat64r.c: Ditto.
3075 * libc/reent/lseek64r.c: Ditto.
3076 * libc/reent/open64r.c: Ditto.
3077 * libc/reent/Makefile.in: Regenerated.
3078 * libc/search/Makefile.am: Add EL/IX level checking.
3079 * libc/search/Makefile.in: Regenerated.
3080 * libc/stdio/Makefile.am: Add EL/IX level checking.
3081 * libc/stdio/Makefile.in: Regenerated.
3082 * libc/stdio64/Makefile.am: Add EL/IX level checking.
3083 * libc/stdio64/Makefile.in: Regenerated.
3084 * libc/stdio64/dummy.c: New file.
9b487837 3085 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
90b65e2d
JJ
3086 after first include.
3087 * libc/stdio64/fopen64.c: Ditto.
3088 * libc/stdio64/freopen64.c: Ditto.
3089 * libc/stdio64/fseeko64.c: Ditto.
3090 * libc/stdio64/fsetpos64.c: Ditto.
3091 * libc/stdio64/ftello64.c: Ditto.
3092 * libc/stdio64/tmpfile64.c: Ditto.
3093 * libc/stdlib/Makefile.am: Add EL/IX level checking.
3094 * libc/stdlib/Makefile.in: Regenerated.
3095 * libc/stdlib/mstats.c: Add EL/IX level checking.
3096 * libc/string/Makefile.am: Ditto.
3097 * libc/string/Makefile.in: Regenerated.
3098 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
3099 * libc/sys/linux/Makefile.in: Regenerated.
3100 * libc/sys/linux/aclocal.m4: Ditto.
3101 * libc/sys/linux/configure: Ditto.
3102 * libc/sys/linux/aio.c: Add EL/IX level checking.
3103 * libc/sys/linux/ftok.c: Ditto.
3104 * libc/sys/linux/getdate.c: Ditto.
3105 * libc/sys/linux/ids.c: Ditto.
3106 * libc/sys/linux/inode.c: Ditto.
3107 * libc/sys/linux/io.c: Ditto.
3108 * libc/sys/linux/process.c: Ditto.
3109 * libc/sys/linux/resource.c: Ditto.
3110 * libc/sys/linux/sched.c: Ditto.
3111 * libc/sys/linux/sig.c: Ditto.
3112 * libc/sys/linux/termios.c: Ditto.
3113 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
3114 __libc___waitpid weak aliases.
3115 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
3116 that generate the code for a syscall, but do not create a
3117 weak alias.
3118 * libc/syscalls/Makefile.am: Add EL/IX level checking.
3119 * libc/syscalls/Makefile.in: Regenerated.
3120 * libc/time/tzset_r.c: Change to replace strdup with equivalent
3121 functionality.
3122 * libc/unix/Makefile.am: Add EL/IX level checking.
3123 * libc/unix/Makefile.in: Regenerated.
3124
2e2b268c
CF
31252002-08-26 Christopher Faylor <cgf@redhat.com>
3126
3127 * libc/include/malloc.h: On cygwin, define malloc _r functions as
3128 wrapper macros to standard malloc functions.
3129 * libc/include/stdlib.h: Ditto.
3130 * configure.host: Always define MALLOC_PROVIDED on cygwin.
3131
8d9112f2
TF
31322002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3133
3134 * libc/include/langinfo.h: New file.
3135 * libc/include/wchar.h: Likewise.
3136 * libc/include/sys/syslimits.h: Likewise.
3137 * libc/locale/fix_grouping.c: Likewise.
3138 * libc/locale/ldpart.c: Likewise.
3139 * libc/locale/ldpart.h: Likewise.
3140 * libc/locale/lmessages.c: Likewise.
3141 * libc/locale/lmessages.h: Likewise.
3142 * libc/locale/lmonetary.c: Likewise.
3143 * libc/locale/lmonetary.h: Likewise.
3144 * libc/locale/lnumeric.c: Likewise.
3145 * libc/locale/lnumeric.h: Likewise.
3146 * libc/locale/nl_langinfo.3: Likewise.
3147 * libc/locale/nl_langinfo.c: Likewise.
3148 * libc/locale/timelocal.c: Likewise.
3149 * libc/locale/timelocal.h: Likewise.
3150 * libc/stdlib/btowc.c: Likewise.
3151 * libc/stdlib/mbrlen.c: Likewise.
3152 * libc/stdlib/mbrtowc.c: Likewise.
3153 * libc/stdlib/mbsinit.c: Likewise.
3154 * libc/stdlib/mbsrtowcs.c: Likewise.
3155 * libc/stdlib/wcrtomb.c: Likewise.
3156 * libc/stdlib/wcsrtombs.c: Likewise.
3157 * libc/stdlib/wctob.c: Likewise.
3158 * libc/sys/linux/prof-freq.c: Likewise.
3159 * libc/sys/linux/profile.c: Likewise.
3160 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
3161 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
3162 * libc/include/stdlib.h: Change re-entrant functions to take
3163 mbstate_t pointers.
3164 * libc/include/sys/_types.h: Define _mbstate_t.
3165 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
3166 * libc/include/sys/errno.h (EILSEQ): New error code.
3167 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
3168 structure to use mbstate_t.
3169 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
3170 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
3171 * libc/machine/powerpc/vfscanf.c: Likewise.
3172 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
3173 * libc/stdio/vfprintf.c: Likewise.
3174 * libc/stdio/vfscanf.c: Likewise.
3175 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
3176 * libc/stdlib/mblen.c: Use mbstate_t.
3177 * libc/stdlib/mblen_r.c: Likewise.
3178 * libc/stdlib/mbstowcs.c: Likewise.
3179 * libc/stdlib/mbstowcs_r.c: Likewise.
3180 * libc/stdlib/mbtowc.c: Likewise.
3181 * libc/stdlib/mbtowc_r.c: Likewise.
3182 * libc/stdlib/wcstombs.c: Likewise.
3183 * libc/stdlib/wcstombs_r.c: Likewise.
3184 * libc/stdlib/wctomb_r.c: Likewise.
3185 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
3186 profile.c.
3187 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
3188 dl-procinfo.c.
3189 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
3190 * libc/sys/linux/sys/types.h (off_t): Define type.
3191 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
3192 to C-UTF-8.
3193 * testsuite/newlib.locale/UTF-8.exp: Likewise.
3194
fe47ea33
JJ
31952002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
3196
3197 * libc/stdlib/mallocr.c: #include windows.h on Win32.
3198 (AlignPage): Continue macro on next line.
3199
ada73509
JJ
32002002-08-19 Jeff Johnston <jjohnstn@redhat.com>
3201
3202 * libc/sys/linux/include/pthread.h: New file.
3203
64b5e8f2
JJ
32042002-08-19 Jeff Johnston <jjohnstn@redhat.com>
3205
3206 * libc/include/sys/types.h: Support __need_inttypes macro
3207 that only sets the __intxx and __uintxx types.
3208 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
3209 to get mprec.h.
3210 * libc/machine/powerpc/Makefile.in: Regenerated.
3211 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
3212 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
3213 redundant fixed-point conversion prototypes.
3214 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
3215 after setting __need_inttypes.
3216
a94b60ce
CF
32172002-08-18 Christopher Faylor <cgf@redhat.com>
3218
3219 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
3220
29e17a86
JJ
32212002-08-17 Jeff Johnston <jjohnstn@redhat.com>
3222
3223 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
3224 _LONG_DOUBLE to double.
3225
936b520f
JJ
32262002-08-17 Jeff Johnston <jjohnstn@redhat.com>
3227
3228 * configure.host: Add powerpc*-*-eabispe* configuration.
3229 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
3230 * libc/machine/powerpc/atosfix32.c: Ditto.
3231 * libc/machine/powerpc/atosfix64.c: Ditto.
3232 * libc/machine/powerpc/atoufix16.c: Ditto.
3233 * libc/machine/powerpc/atoufix32.c: Ditto.
3234 * libc/machine/powerpc/atoufix64.c: Ditto.
3235 * libc/machine/powerpc/fix64.h: Ditto.
3236 * libc/machine/powerpc/simdldtoa.c: Ditto.
3237 * libc/machine/powerpc/strtosfix16.c: Ditto.
3238 * libc/machine/powerpc/strtosfix32.c: Ditto.
3239 * libc/machine/powerpc/strtosfix64.c: Ditto.
3240 * libc/machine/powerpc/strtoufix16.c: Ditto.
3241 * libc/machine/powerpc/strtoufix32.c: Ditto.
3242 * libc/machine/powerpc/strtoufix64.c: Ditto.
3243 * libc/machine/powerpc/ufix64toa.c: Ditto.
3244 * libc/machine/powerpc/configure.in: Add check for
3245 powerpc*-eabispe and add fixed-point conversion functions.
3246 * libc/machine/powerpc/configure: Regenerated.
3247 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
3248 %r and %R format specifiers which handle fixed-point data.
3249 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
3250 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
3251 function prototypes.
3252
ad552766
JJ
32532002-08-17 Jeff Johnston <jjohnstn@redhat.com>
3254
3255 * Makefile.am: Move cmath stuff into libc/sys/linux.
3256 * Makefile.in: Regenerated.
3257 * configure.host: Default -DMB_CAPABLE for x86-linux.
3258 * libc/include/reent.h: Define _sbrk to take signed int argument.
3259 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
3260 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
3261 make locale name checking more efficient. Also allow "C-ISO-8859-1"
3262 locale for LC_CTYPE and LC_MESSAGES.
3263 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
3264 * libc/sys/linux/brk.c: Change sbrk prototype.
3265 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
3266 include <sys/features.h>.
3267 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
3268 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
3269 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
3270 with a few local additions.
3271 * libc/sys/linux/sys/features.h: New file.
3272 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
3273 to take signed argument.
3274 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
3275 prototypes to take signed size argument.
3276
d3bd3632
TF
32772002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
3278
3279 * libc/sys/linux/cmath: New directory.
3280 * libc/sys/linux/include/cmathcalls.h: New file.
3281 * libc/sys/linux/include/complex.h: New file.
3282 * libc/sys/linux/machine/i386/huge_val.h: New file
3283 * libm/math/w_sincos.c: New file
3284 * libm/math/wf_sincos.c: New file
3285 * libm/mathfp/s_sincos.c: New file
3286 * libm/mathfp/sf_sincos.c: New file
3287 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
3288 * libc/include/math.h: Add sincos and sincosf declarations.
3289 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
3290 (SUBLIBS): Likewise.
3291 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
3292 * libm/math/Makefile.am (src): Add w_sincos.c.
3293 (fsrc): Add wf_sincos.c.
3294 * libm/mathfp/Makefile.am (src): Add s_sincos.c
3295 (fsrc): Add sf_sincos.c.
3296
b3a9676b
JJ
32972002-08-12 Jeff Johnston <jjohnstn@redhat.com>
3298
3299 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
3300 Declare as extern chars and use the address operator to
3301 properly use values set in linker script.
3302
659e7062
JJ
33032002-08-09 Jason Tishler <jason@tishler.net>
3304
3305 * libc/stdlib/mallocr.c: Include <limits.h>.
3306 (request2size): Change macro to do
3307 unsigned long comparisons and avoid signed overflow.
3308 (mALLOc): Add overflow check for the number of bytes to allocate.
3309 (rEALLOc): Ditto.
3310
037240a2
JJ
33112002-08-09 Jeff Johnston <jjohnstn@redhat.com>
3312
3313 * configure.host: Add check for --enable-newlib-io-pos-args
3314 and define WANT_IO_POS_ARGS flag if enabled. Define
3315 the flag by default for x86-linux configurations.
3316 * configure.in: Add support for --enable-newlib-io-pos-args.
3317 * libc/configure.in: Ditto.
3318 * configure: Regenerated.
3319 * libc/configure: Ditto.
3320 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
3321 vfprintf.c and vfiprintf.c.
3322 * libc/stdio/Makefile.in: Regenerated.
3323 * libc/stdio/vfprintf.c: Add positional argument support that
3324 is enabled by compiling with -DWANT_IO_POS_ARGS.
3325
172fda76
RS
33262002-08-07 Richard Sandiford <rsandifo@redhat.com>
3327
3328 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
3329 based on __mips_soft_float rather than __mips64.
3330 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
3331 of both 32-bit and 64-bit code.
3332
4866247e
CF
33332002-08-04 Christopher Faylor <cgf@redhat.com>
3334
3335 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
3336 arguments for popen to match similar functionality in fopen.
3337
b96332ce
CV
33382002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
3339
3340 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
3341
60d99bce
JJ
33422002-07-29 Jeff Johnston <jjohnstn@redhat.com>
3343
3344 * libc/sys/linux/Makefile.am: Add aio64.c.
3345 * libc/sys/linux/Makefile.in: Regenerated.
3346 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
3347 * libc/sys/linux/aio64.c: New file.
3348
80a21be0
JJ
33492002-07-26 Jeff Johnston <jjohnstn@redhat.com>
3350
3351 * libc/include/sys/param.h (MAX, MIN): Added macros.
3352 * libc/sys/linux/Makefile.am: Add new files.
3353 * libc/sys/linux/Makefile.in: Regenerated.
3354 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
3355 * libc/sys/linux/inode.c (fchdir): Added syscall.
3356 * libc/sys/linux/ftw.c: New file.
3357 * libc/sys/linux/ftw64.c: Ditto.
3358 * libc/sys/linux/getwd.c: Ditto.
3359 * libc/sys/linux/scandir64.c: Ditto.
3360 * libc/sys/linux/strverscmp.c: Ditto.
3361 * libc/sys/linux/versionsort.c: Ditto.
3362 * libc/sys/linux/versionsort64.c: Ditto.
3363
6b6425cb
JJ
33642002-07-26 Jeff Johnston <jjohnstn@redhat.com>
3365
3366 * libc/string/strings.tex: Fix typo for memccpy.
3367
dc8ac8e6
JJ
33682002-07-25 Jeff Johnston <jjohnstn@redhat.com>
3369
3370 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
3371 * libc/sys/linux/sys/types.h (off64_t): Definition added.
3372
aa0ca6fd
JJ
33732002-07-25 Jeff Johnston <jjohnstn@redhat.com>
3374
3375 * libc/sys/linux/Makefile.am: Add fclean.c.
3376 * libc/sys/linux/Makefile.in: Regenerated.
3377 * libc/sys/linux/fclean.c: New file.
3378
61921945
JJ
33792002-07-25 Jeff Johnston <jjohnstn@redhat.com>
3380
3381 * libc/sys/linux/Makefile.am: Add confstr.c.
3382 * libc/sys/linux/Makefile.in: Regenerated.
3383 * libc/sys/linux/confstr.c: New file.
3384 * libc/sys/linux/confstr.h: Ditto.
3385 * libc/sys/linux/sys/unistd.h: Include <features.h> and
3386 <bits/environments.h>.
3387
3d966a92
JJ
33882002-07-25 Jeff Johnston <jjohnstn@redhat.com>
3389
3390 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
3391 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
3392 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
3393 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
3394 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
3395 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
3396
53b5bff7
JJ
33972002-07-24 Jeff Johnston <jjohnstn@redhat.com>
3398
3399 * libc/sys/linux/Makefile.am: Add new files.
3400 * libc/sys/linux/Makefile.in: Regenerated.
3401 * libc/sys/linux/fstab.c: New file.
3402 * libc/sys/linux/fstatvfs.c: Ditto.
3403 * libc/sys/linux/fstatvfs64.c: Ditto.
3404 * libc/sys/linux/internal_statvfs.c: Ditto.
3405 * libc/sys/linux/mntent.c: Ditto.
3406 * libc/sys/linux/mntent_r.c: Ditto.
3407 * libc/sys/linux/statvfs.c: Ditto.
3408 * libc/sys/linux/statvfs64.c: Ditto.
3409 * libc/sys/linux/include/paths.h: Ditto.
3410 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
3411 with double-underscore weak-aliases.
3412 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
3413
9cef8ef5
JJ
34142002-07-24 Jeff Johnston <jjohnstn@redhat.com>
3415
3416 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
3417 to use _sig_func_ptr type casted constants.
3418 (_sig_func_ptr): Typedef moved to sys/signal.h.
3419 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
3420 For __rtems, use POSIX definition, otherwise default to ANSI.
3421 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
3422
a703e0f2
JJ
34232002-07-24 Stephane Carrez <stcarrez@nerim.fr>
3424
3425 * configure.host: Recognize m6811-elf and m6812-elf targets.
3426 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
3427 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
3428 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
3429 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
3430 according to __INT_MAX__.
3431 (_POINTER_INT): Define to short.
3432 * libc/machine/m68hc11/Makefile.am: New file.
3433 * libc/machine/m68hc11/Makefile.in: New file.
3434 * libc/machine/m68hc11/configure.in: New file.
3435 * libc/machine/m68hc11/configure: New file.
3436 * libc/machine/m68hc11/aclocal.m4: New file.
3437 * libc/machine/m68hc11/setjmp.S: New file.
3438
d254189b
JJ
34392002-07-23 Jeff Johnston <jjohnstn@redhat.com>
3440
3441 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
3442 prototypes.
3443 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
3444 * libc/stdlib/Makefile.in: Regenerated.
3445 * libc/stdlib/strdup.c: Removed.
3446 * libc/stdlib/strdup_r.c: Removed.
3447 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
3448 mempcpy.c, strndup.c, and strndup_r.c.
3449 * libc/string/Makefile.in: Regenerated.
3450 * libc/string/memccpy.c: New file.
3451 * libc/string/mempcpy.c: Ditto.
3452 * libc/string/strndup.c: Ditto.
3453 * libc/string/strndup_r.c: Ditto.
3454 * libc/string/strdup.c: New file moved from stdlib.
3455 * libc/string/strdup_r.c: Ditto.
3456 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
3457
bc100655
JJ
34582002-07-23 Jeff Johnston <jjohnstn@redhat.com>
3459
3460 * libc/include/stdio.h: Move fcloseall prototype within
3461 #ifndef _REENT_ONLY section.
3462 * libc/sys/linux/Makefile.am: Add new files.
3463 * libc/sys/linux/Makefile.in: Regenerated.
3464 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
3465 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
3466 * libc/sys/linux/sys/types.h: Add ino64_t type.
3467 * libc/sys/linux/ctermid.c: New file.
3468 * libc/sys/linux/ttyname_r.c: Ditto.
3469 * libc/sys/linux/readdir64.c: Ditto.
3470
f5f27f07
JJ
34712002-07-22 Jeff Johnston <jjohnstn@redhat.com>
3472
3473 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
3474 * libc/stdio/Makefile.am: Added fcloseall.c support.
3475 * libc/stdio/Makefile.in: Regenerated.
3476 * libc/stdio/fcloseall.c: New file.
3477 * libc/stdio64/Makefile.am: Remove missing .def references.
3478 * libc/stdio64/Makefile.in: Regenerated.
3479
d541ba3e
JJ
34802002-07-22 Jeff Johnston <jjohnstn@redhat.com>
3481
3482 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
3483 * libc/machine/powerpc/times.c: New file.
3484 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
3485 * libc/machine/powerpc/Makefile.in: Regenerated.
3486
34872002-07-22 Aldy Hernandez <aldyh@redhat.com>
e964bca8
JJ
3488
3489 * libc/machine/powerpc/time.c: New file.
3490 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
3491 time.c.
3492 * libc/machine/powerpc/Makefile.in: Regenerated.
3493
5e7d0a55
TF
34942002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3495
3496 * libc/libc.texinfo: Change copyright notices to Red Hat from
3497 Cygnus.
3498 * libm/libm.texinfo: Likewise.
3499 * README: Change docs URL to
3500 http://sources.redhat.com/newlib/docs.html.
3501
504628e7
JJ
35022002-07-19 Jeff Johnston <jjohnstn@redhat.com>
3503
3504 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
3505 * libc/sys/linux/Makefile.in: Regenerated.
3506 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
3507 * libc/sys/linux/io.c: Add ftruncate syscall.
3508 * libc/sys/linux/fpathconf.c: New file.
3509 * libc/sys/linux/pathconf.c: Ditto.
3510 * libc/sys/linux/linux_fsinfo.h: Ditto.
3511 * libc/sys/linux/sys/unistd.h: Ditto.
3512
b155ad9f
JJ
35132002-07-19 Jeff Johnston <jjohnstn@redhat.com>
3514
3515 * libc/stdio64/Makefile.am: Remove missing files.
3516 * libc/stdio64/Makefile.in: Regenerated.
3517
c119e0ab
JJ
35182002-07-19 Jeff Johnston <jjohnstn@redhat.com>
3519
3520 * libc/include/sys/config.h[__i386__][__linux__]: Define
3521 _LARGE64FILE_SOURCE to 1.
3522 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
3523 * libc/sys/linux/Makefile.in: Regenerated.
3524 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
3525 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
3526 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
3527 of <linux/resource.h>.
3528 * libc/sys/linux/getrlimit64.c: New file.
3529 * libc/sys/linux/setrlimit64.c: Ditto.
3530
9b022d6d
TF
35312002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3532
3533 * libc/argz/argz_replace.c: Include buf_findstr.h.
3534 * libc/argz/buf_findstr.c: Likewise.
3535 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
3536 value to (char *).
3537 * libc/argz/envz_get.c: Likewise.
3538 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
3539 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
3540 * libc/stdlib/getsubopt.3: New file.
3541 * libc/stdlib/getsubopt.c: New file.
3542 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
3543 Change esp to ebp.
3544
dee51391
JJ
35452002-07-17 Jeff Johnston <jjohnstn@redhat.com>
3546
3547 * configure.host(stdio64_dir): New setting that is used to
3548 enable building of new stdio64 directory.
3549 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
3550 large files.
3551 (stmp-stdio64,stdio64.texi): New targets to optionally add in
3552 stdio64 info to info files.
3553 * libc/Makefile.in: Regenerated.
3554 * libc/configure: Ditto.
3555 * libc/configure.in: Add configuration variables that are set
3556 when stdio64 is selected as subdir in configure.host.
3557 * libc/libc.texinfo: Add optional menu item for Stdio64, based
3558 on whether STDIO64 flag is set or not.
3559 * libc/sys.tex: Add optional stdio64 syscalls based on whether
3560 STDIO64 flag is set or not.
3561 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
3562 _r sycall routines.
3563 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
3564 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
3565 (__SL64): New file flag indicating file is opened via fopen64.
3566 * libc/include/sys/_types.h(_off64_t): Added.
3567 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
3568 * libc/include/sys/reent.h(struct __sFILE64): New file structure
3569 for 64-bit offset large file support.
3570 (__FILE): New intermediate type either set to struct __sFILE64 or
3571 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
3572 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
3573 * libc/reent/Makefile.in: Regenerated.
3574 * libc/reent/fstat64r.c: New file.
3575 * libc/reent/lseek64r.c: Ditto.
3576 * libc/reent/open64r.c: Ditto.
3577 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
3578 based on whether STDIO64 flag is set.
3579 * libc/stdio/stdio.tex: Add blank line.
3580 * libc/stdio64/Makefile.am: New file.
3581 * libc/stdio64/Makefile.in: Ditto.
3582 * libc/stdio64/fgetpos64.c: Ditto.
3583 * libc/stdio64/fopen64.: Ditto.
3584 * libc/stdio64/freopen64.c: Ditto.
3585 * libc/stdio64/fseeko64.c: Ditto.
3586 * libc/stdio64/fsetpos64.c: Ditto.
3587 * libc/stdio64/ftello64.c: Ditto.
3588 * libc/stdio64/local64.h: Ditto.
3589 * libc/stdio64/stdio64.c: Ditto.
3590 * libc/stdio64/stdio64.tex: Ditto.
3591 * libc/stdio64/tmpfile64.c: Ditto.
3592 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
3593 open64.
3594
778876f6
JJ
35952002-07-16 Jeff Johnston <jjohnstn@redhat.com>
3596
3597 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
3598 if LIBC_EXTRA_LIB is present.
3599 * libc/Makefile.in: Regenerated.
3600 * libc/libc.texinfo: Add blank line.
3601 * libc/argz/Makefile.am: Add doc support.
3602 * libc/search/Makefile.am: Ditto.
3603 * libc/argz/Makefile.in: Regenerated.
3604 * libc/search/Makefile.in: Ditto.
3605 * libc/misc/misc.tex: Add ffs function.
3606 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
3607
37981145
JJ
36082002-07-15 Jeff Johnston <jjohnstn@redhat.com>
3609
3610 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
3611 definition that was removed in error.
3612
38b5dc59
JJ
36132002-07-15 Jeff Johnston <jjohnstn@redhat.com>
3614
3615 * libc/include/machine/ieeefp.h: Change to only define
3616 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
3617 __IEEE_LITTLE_ENDIAN must be defined for each platform).
3618 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
3619 remove redundant floating point definitions.
3620
8cb61a96
JJ
36212002-07-15 Jeff Johnston <jjohnstn@redhat.com>
3622
3623 * libc/sys/linux/callocr.c: Fix so code references
3624 calloc.
3625
edba3282
JJ
36262002-07-15 Jeff Johnston <jjohnstn@redhat.com>
3627
3628 * libc/sys/linux/Makefile.am: Add new files.
3629 * libc/sys/linux/Makefile.in: Regenerated.
3630 * libc/sys/linux/bp-sym.h: Moved to include directory.
3631 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
3632 * libc/sys/linux/inode.c: Set _LIBC to 1.
3633 * libc/sys/linux/mq_close.c: Ditto.
3634 * libc/sys/linux/mq_getattr.c: Ditto.
3635 * libc/sys/linux/mq_open.c: Ditto.
3636 * libc/sys/linux/mq_receive.c: Ditto.
3637 * libc/sys/linux/mq_send.c: Ditto.
3638 * libc/sys/linux/mq_setattr.c: Ditto.
3639 * libc/sys/linux/mq_unlink.c: Ditto.
3640 * libc/sys/linux/calloc.c: New file.
3641 * libc/sys/linux/callocr.c: Ditto.
3642 * libc/sys/linux/cfreer.c: Ditto.
3643 * libc/sys/linux/config.h: Ditto.
3644 * libc/sys/linux/free.c: Ditto.
3645 * libc/sys/linux/freer.c: Ditto.
3646 * libc/sys/linux/msize.c: Ditto.
3647 * libc/sys/linux/msizer.c: Ditto.
3648 * libc/sys/linux/mstats.c: Ditto.
3649 * libc/sys/linux/mtrim.c: Ditto.
3650 * libc/sys/linux/mtrimr.c: Ditto.
3651 * libc/sys/linux/pvallocr.c: Ditto.
3652 * libc/sys/linux/realloc.c: Ditto.
3653 * libc/sys/linux/reallocr.c: Ditto.
3654 * libc/sys/linux/thread-m.h: Ditto.
3655 * libc/sys/linux/vallocr.c: Ditto.
3656 * libc/sys/linux/bp-checks.h: Ditto.
3657 * libc/sys/linux/libc-symbols.h: Ditto.
3658 * libc/sys/linux/libc-tsd.h: Ditto.
3659 * libc/sys/linux/libintl.h: Ditto.
3660 * libc/sys/linux/malign.c: Ditto.
3661 * libc/sys/linux/malignr.c: Ditto.
3662 * libc/sys/linux/mallinfor.c: Ditto.
3663 * libc/sys/linux/malloc.c: Ditto.
3664 * libc/sys/linux/mallocr.c: Ditto.
3665 * libc/sys/linux/malloptr.c: Ditto.
3666 * libc/sys/linux/mallstatsr.c: Ditto.
3667 * libc/sys/linux/mcheck.c: Ditto.
3668 * libc/sys/linux/mhooks.h: Ditto.
3669 * libc/sys/linux/include/bp-sym.h: Ditto.
3670 * libc/sys/linux/include/malloc.h: Ditto.
3671 * libc/sys/linux/include/mcheck.h: Ditto.
3672 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
3673 getpagesize.c.
3674 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
3675 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
3676 * libc/sys/linux/machine/i386/getpagesize.c: New file.
3677 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
3678 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
3679 * libc/sys/linux/machine/i386/sysdep.h: New file.
3680 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
3681 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
3682 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
3683
ea20b60a
JJ
36842002-07-12 Jeff Johnston <jjohnstn@redhat.com>
3685
3686 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
3687 instead of <asm/siginfo.h>.
3688 * libc/sys/linux/sys/signal.h: Change to include various linux
3689 <bits/xxx.h> header files, rather than <linux/signal.h> so as
3690 to work with multiple releases of glibc header files.
3691
2fc82912
JJ
36922002-07-11 Chris Demetriou <cgd@broadcom.com>
3693
3694 * testsuite/newlib.search/hsearchtest.c: New file to test
3695 newlib/libc/search.
3696 * testsuite/newlib.search/hsearchtest.exp: Likewise.
3697
4a404e97 36982002-07-10 Florian Schrack <florian.schrack@freenet.de>
2a8b4ea3
JJ
3699
3700 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
3701 a terminal.
3702 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
3703
6aec558e
JJ
37042002-07-08 Jeff Johnston <jjohnstn@redhat.com>
3705
3706 * libc/include/math.h (MAXFLOAT): Added.
3707
e47e6f0e 3708Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
a31df303
JR
3709
3710 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
3711 Make strcmp.S unconditional.
3712 * libc/machine/sh/Makefile.in: Regenerate.
3713 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
3714 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
3715 for SHcompact.
3716
89ffbd66
JJ
37172002-07-04 Jeff Johnston <jjohnstn@redhat.com>
3718
3719 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
3720 define before including <sys/lock.h>.
3721
ae6c4c84
JJ
37222002-07-04 Jeff Johnston <jjohnstn@redhat.com>
3723
3724 * libc/include/utime.h: Add include of <_ansi.h>.
3725 * libc/sys/linux/Makefile.am: Add utimes.c.
3726 * libc/sys/linux/Makefile.in: Regenerated.
3727 * libc/sys/linux/inode.c(__umask): New static routine.
3728 (umask): Written to use __umask and attempt to thread lock.
3729 (getumask): New function written to use __umask and thread lock.
3730 * libc/sys/linux/utimes.c: New file.
3731 * libc/sys/linux/sys/time.h: Fix utimes prototype.
3732 * libc/sys/linux/sys/utime.h: New file.
3733
a6cac46c
TF
37342002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
3735
3736 * libtool.m4: New file.
3737 * libc/sys/linux/process.c: Implement vfork in terms of fork,
3738 rather than as a syscall.
3739
30b2092f
JJ
37402002-07-04 Jeff Johnston <jjohnstn@redhat.com>
3741
3742 * libc/include/stdio.h: Add new prototypes.
3743 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
3744 * libc/stdio/Makefile.in: Regenerated.
3745 * libc/stdio/fseek.c: Add fseeko documentation.
3746 * libc/stdio/ftell.c: Add ftello documentation.
3747 * libc/stdio/fseeko.c: New file.
3748 * libc/stdio/ftello.c: New file.
3749
7501704d
JJ
37502002-07-04 Jeff Johnston <jjohnstn@redhat.com>
3751
3752 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
3753 * libc/stdio/Makefile.in: Regenerated.
3754 * libc/stdio/asprintf.c: New file.
3755 * libc/stdio/vasprintf.c: Ditto.
3756 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
3757 the buffer for asprintf support.
3758 * libc/stdio/sprintf.c: Add asprintf documentation.
3759 * libc/stdio/vfprintf.c: Add vasprintf documentation.
3760 * libc/include/stdio.h: Add new prototypes.
3761
66eee32b
TF
37622002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
3763
3764 * libc/search/hcreate.c: Remove advertising clause from license.
3765 * libc/search/hcreate_r.c: Likewise.
3766
cec4a9f8
JJ
37672002-07-02 Chris Demetriou <cgd@broadcom.com>
3768
3769 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
3770 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
3771 Check that one of them is defined and error out if not.
3772 Add any platforms defined in <machine/ieeefp.h> that are missing.
3773 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
3774 (DB_LITTLE_ENDIAN): New defines.
3775 * libc/search/hash.c: Replace all incorrect checks for
3776 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
3777 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
3778 * libc/search/hash_page.c: Likewise.
3779
2d5eb17e
TF
37802002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
3781
3782 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
3783
c1a3171f
JJ
37842002-06-27 Benjamin Kosnik <bkoz@redhat.com>
3785
3786 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
3787 * libc/include/time.h: Same.
3788 * libc/include/string.h: Same.
3789 * libc/include/stdlib.h: Same.
3790 * libc/include/signal.h: Same.
3791 * libc/include/setjmp.h: Same.
3792 * libc/include/math.h: Same.
3793 * libc/include/locale.h: Same.
3794 * libc/include/ctype.h: Same.
3795 * libc/include/machine/setjmp.h: Same.
3796 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
3797 (_END_STD_C): Add.
3798
533b4e66
JJ
37992002-06-27 Jeff Johnston <jjohnstn@redhat.com>
3800
3801 * libc/include/sys/_types.h: Define _ssize_t as int if int is
3802 32-bits, otherwise define it as long.
3803 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
3804 and define ssize_t as _ssize_t.
3805 * libc/reent/readr.c: Change return type to _ssize_t.
3806 * libc/reent/writer.c: Ditto.
3807 * libc/sys/linux/Makefile.am: Add aio.c.
3808 * libc/sys/linux/Makefile.in: Regenerated.
3809 * libc/sys/linux/aio.c: New file.
3810 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
3811 * libm/common/fdlibm.h: Undef __P before defining it.
3812
c36e6dd7
TF
38132002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
3814
54be629f
TF
3815 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
3816 exponent_is_even_int variable. Handle case where x is
3817 negative, and y is an odd integer.
3818 * libm/mathfp/sf_pow.c (powf): Likewise.
3819
c36e6dd7
TF
3820 * libm/mathfp/er_lgamma.c: Remove __kernel references.
3821 * libm/mathfp/erf_lgamma.c: Likewise.
3822 * libm/mathfp/s_tgamma.c: Likewise.
3823 * libm/mathfp/sf_tgamma.c: Likewise.
3824
baf051ca
JJ
38252002-06-27 Jeff Johnston <jjohnstn@redhat.com>
3826
3827 * libc/sys/linux/Makefile.am: Add new clock routines.
3828 * libc/sys/linux/Makefile.in: Regenerated.
3829 * libc/sys/linux/clock_getres.c: New file.
3830 * libc/sys/linux/clock_gettime.c: Ditto.
3831 * libc/sys/linux/clock_settime.c: Ditto.
3832 * libc/sys/linux/hp-timing.h: Ditto.
3833 * libc/sys/linux/libc-internal.h: Ditto.
3834 * libc/sys/linux/sysconf.c: Fix typo.
3835 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
3836 * libc/sys/linux/machine/hp-timing.h: New file.
3837 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
3838 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
3839 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
3840 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
3841 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
3842 * libc/sys/linux/sys/linux_time.h: New file.
3843 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
3844 replace with <sys/linux_time.h>.
3845
0431ed4e
JR
3846Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
3847
3848 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
3849
fc067ba5
JJ
38502002-06-25 Jeff Johnston <jjohnstn@redhat.com>
3851
3852 * libc/sys/linux/Makefile.am: Consolidate additional items under
3853 ADD_OBJS.
3854 * libc/sys/linux/Makefile.in: Regenerated.
3855
ffddf61e
JJ
38562002-06-25 Jeff Johnston <jjohnstn@redhat.com>
3857
3858 * libc/sys/linux/sethostname.c: New file.
3859 * libc/sys/linux/Makefile.am: Add sethostname.c support.
3860 * libc/sys/linux/Makefile.in: Regenerated.
3861
d5487d3f
TF
38622002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3863
3864 * libc/search/db_local.h: New file.
3865 * libc/include/db.h: Remove.
3866 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
3867 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
3868 "db_local.h".
3869 * libc/search/hash_bigkey.c: Likewise.
3870 * libc/search/hash_buf.c: Likewise.
3871 * libc/search/hash_func.c: Likewise.
3872 * libc/search/hash_log2.c: Likewise.
3873 * libc/search/hash_page.c: Likewise.
3874
38752002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
e08a6118 3876
1e7ca711 3877 * libc/machine/sh/strlen.S: New file.
e08a6118
JR
3878 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
3879 * libc/machine/sh/Makefile.am: Regenerate.
3880
59c6d6c4
JJ
38812002-06-24 Jeff Johnston <jjohnstn@redhat.com>
3882
3883 * libc/sys/linux/gethostname.c: Change name to __gethostname and
3884 add gethostname alias.
3885
a70486d7
JJ
38862002-06-24 Jeff Johnston <jjohnstn@redhat.com>
3887
3888 * libc/include/math.h: Remove <sys/types.h>.
a5dadf33 3889 (__dmath): Use __ULong instead of __uint32_t.
a70486d7 3890 * libc/include/sys/reent.h: If long or int is not 32-bits,
a5dadf33 3891 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
a70486d7
JJ
3892 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
3893 * libm/common/fdlibm.h: Ditto.
3894
3118725a
TF
38952002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3896
3897 * libc/include/ndbm.h: Remove.
3898 * libc/search/ndbm.c: Remove.
3899
30a06168
TF
39002002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
3901
3902 * libc/stdio/fseek.c (fseek): Fix braces.
3903
01f5155e
CV
39042002-06-21 Corinna Vinschen <corinna@vinschen.de>
3905
3906 * libc/time/strftime.c (strftime): Add %e format specifier.
3907
930bc96b
TF
39082002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3909
3910 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
3911 previously defined.
3912
55105f86
JJ
39132002-06-21 Richard Earnshaw (rearnsha@arm.com)
3914
3915 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
3916 (BYTE_ORDER): Define as appropriate for the target.
3917
2e78444a
JJ
39182002-06-21 Jeff Johnston <jjohnstn@redhat.com>
3919
3920 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
3921 to _ssize_t.
3922 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
3923
d427d092
JJ
39242002-06-21 Jeff Johnston <jjohnstn@redhat.com>
3925
3926 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
3927 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
3928 [HAVE_GETDATE](getdate_err): New error code.
3929 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
3930 * libc/stdio/Makefile.in: Regenerated.
3931 * libc/stdio/getdelim.c: New file.
3932 * libc/stdio/getline.c: Ditto.
3933 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
3934 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
3935 * libc/sys/linux/Makefile.in: Regenerated.
3936 * libc/sys/linux/getdate.c: New file.
3937 * libc/sys/linux/getdate_err.c: Ditto.
3938 * libc/sys/linux/ntp_gettime.c: Ditto.
3939 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
3940 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
3941
35728d4f
JJ
39422002-06-21 Jeff Johnston <jjohnstn@redhat.com>
3943
3944 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
3945 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
3946 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
3947 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
3948 * libc/include/sys/param.h: Remove i386 case which is handled
3949 by default case.
3950 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
3951 definitions in case they are already defined.
3952 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
3953 _IEEE_LITTLE_ENDIAN flags.
3954 * libc/include/sys/reent.h: Change __uint32_t references to
3955 use _ULong instead.
3956 (_REENT_GETDATE_REENT_P): New macro.
3957 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
3958 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
3959 * libc/search/hash.h: Add default setting of BYTE_ORDER,
3960 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
3961 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
3962 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
3963 pid_t, off_t, loff_t, caddr_t, and daddr_t type
3964 definitions which are done by subsequent glibc headers.
3965 Add macro definitions to prevent subsequent header files from
3966 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
3967 intptr_t to after glibc definitions of types they are based on.
3968
4a2bfab7
JJ
39692002-06-21 Jeff Johnston <jjohnstn@redhat.com>
3970
3971 * libc/include/errno.h: Protect from multiple inclusion.
3972
f42d18ea
NC
39732002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
3974
3975 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
3976
a7b23a8f
TF
39772002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
3978
3979 * Makefile.am (LIB_OBJECTLISTS): Add
3980 libc/search/objectlist.awk.in.
3981 * libc/Makefile.am (SUBDIRS): Add search.
3982 (SUBLIBS): Add search/libsearch.la.
3983 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
3984 * libc/search: New directory.
3985 * libc/search/Makefile.am: New file.
3986 * libc/search/extern.h: New file.
3987 * libc/search/hash.c: New file.
3988 * libc/search/hash.h: New file.
3989 * libc/search/hash_bigkey.c: New file.
3990 * libc/search/hash_buf.c: New file.
3991 * libc/search/hash_func.c: New file.
3992 * libc/search/hash_log2.c: New file.
3993 * libc/search/hash_page.c: New file.
3994 * libc/search/hcreate.3: New file.
3995 * libc/search/hcreate.c: New file.
a7b23a8f
TF
3996 * libc/search/hcreate_r.c: New file.
3997 * libc/search/ndbm.c: New file.
3998 * libc/search/page.h: New file.
3999 * libc/search/tdelete.c: New file.
4000 * libc/search/tdestroy.c: New file.
4001 * libc/search/tfind.c: New file.
4002 * libc/search/tsearch.3: New file.
4003 * libc/search/tsearch.c: New file.
4004 * libc/search/twalk.c: New file.
4005 * libc/include/db.h: New file.
4006 * libc/include/ndbm.h: New file.
4007 * libc/include/search.h: New file.
4008 * libc/include/sys/queue.h: New file.
4009 * libc/include/sys/cdefs.h: New file.
4010 * libc/include/sys/param.h
4011 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
4012 LITTLE_ENDIAN or BIG_ENDIAN.
4013 * libc/include/sys/errno.h (EFTYPE): New macro.
4014 * libc/search/bsearch.c: Move from libc/stdlib.
4015 * libc/search/qsort.c: Likewise.
4016 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
4017 qsort.c.
4018 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
4019 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
4020
ef467338
JJ
40212002-06-19 Jeff Johnston <jjohnstn@redhat.com>
4022
4023 * libc/sys/linux/Makefile.am: Add support for message queue routines,
4024 ipc routines, and ftok.
4025 * libc/sys/linux/Makefile.in: Regenerated.
4026 * libc/sys/linux/ftok.c: New file.
4027 * libc/sys/linux/ipc.c: Ditto.
4028 * libc/sys/linux/mq_close.c: Ditto.
4029 * libc/sys/linux/mq_getattr.c: Ditto.
4030 * libc/sys/linux/mq_notify.c: Ditto.
4031 * libc/sys/linux/mq_open.c: Ditto.
4032 * libc/sys/linux/mq_receive.c: Ditto.
4033 * libc/sys/linux/mq_send.c: Ditto.
4034 * libc/sys/linux/mq_setattr.c: Ditto.
4035 * libc/sys/linux/mq_unlink.c: Ditto.
4036 * libc/sys/linux/mqlocal.h: Ditto.
4037 * libc/sys/linux/include/mqueue.h: Ditto.
4038 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
4039 __uid_t_defined.
4040
7f55c08c
TF
40412002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
4042
4043 * libm/common/sf_lround.c (round): Change name to: (lround).
4044 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
4045 remquof.
4046
c9ca68d7
TF
40472002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
4048
4049 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
4050 procedure.
4051 (newlib_pass_fail): Change to compile and run only one file.
4052 * testsuite/newlib.locale/locale.exp: Use new
4053 newlib_pass_fail_all procedure.
4054 * testsuite/newlib.string/string.exp: Likewise.
4055
4ecedd09
DB
40562002-06-18 Dave Brolley <brolley@redhat.com>
4057
4058 From Catherine Moore, Michael Meissner, Richard Sandiford:
4059 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
4060 (_JBTYPE): Ditto.
4061 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
4062 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
4063 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
4064 * configure.host: Support frv-*-*.
4065 * libc/machine/frv/Makefile.am: New file.
4066 * libc/machine/frv/configure.in: New file.
4067 * libc/machine/frv/setjmp.S: New file.
4068
af1c257a
TF
40692002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
4070
4071 * libc/include/ctype.h: Remove isblank macro.
4072
4073 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
4074 * libc/ctype/isblank.c: New file.
4075 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
4076 declaration. Add isblank macro.
4077
4e04fa90
JJ
40782002-06-18 Jeff Johnston <jjohnstn@redhat.com>
4079
4080 * testsuite/newlib.stdlib/atexit.c: New file.
4081 * testsuite/newlib.stdlib/atexit.exp: Ditto.
4082 * testsuite/newlib.string/tstring.c: Change default start size
4083 to something more reasonable for embedded platforms.
4084
b56d7e79
TF
40852002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
4086
ece3c72f
TF
4087 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
4088
b56d7e79
TF
4089 * libc/argz: New directory.
4090 * libc/argz/*: New files.
4091 * libc/argz/argz_add.c: New file.
4092 * libc/argz/argz_add_sep.c: New file.
4093 * libc/argz/argz_append.c: New file.
4094 * libc/argz/argz_count.c: New file.
4095 * libc/argz/argz_create.c: New file.
4096 * libc/argz/argz_create_sep.c: New file.
4097 * libc/argz/argz_delete.c: New file.
4098 * libc/argz/argz_extract.c: New file.
4099 * libc/argz/argz_insert.c: New file.
4100 * libc/argz/argz_next.c: New file.
4101 * libc/argz/argz_replace.c: New file.
4102 * libc/argz/argz_stringify.c: New file.
4103 * libc/argz/buf_findstr.c: New file.
4104 * libc/argz/envz_add.c: New file.
4105 * libc/argz/envz_entry.c: New file.
4106 * libc/argz/envz_get.c: New file.
4107 * libc/argz/envz_merge.c: New file.
4108 * libc/argz/envz_remove.c: New file.
4109 * libc/argz/envz_strip.c: New file.
4110 * libc/include/argz.h: New file.
4111 * libc/include/envz.h: New file.
4112 * Makefile.am (LIBC_OBJECTLISTS): Add
4113 libc/argz/objectlist.awk.in.
4114 * libc/Makefile.am (SUBDIRS): Add argz.
4115 (SUBLIBS): Add argz/libargz.la.
4116 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
4117 * libc/include/errno.h: Add error_t typedef.
4118
d062d3dd
JJ
41192002-06-13 Jeff Johnston <jjohnstn@redhat.com>
4120
4121 * libc/include/stdlib.h: Add _Exit prototype.
4122 * libc/stdlib/Makefile.am: Add _Exit.c support.
4123 * libc/stdlib/Makefile.in: Ditto.
4124 * libc/stdlib/_Exit.c: New file.
4125
a47e66ae
JJ
41262002-06-13 Stephen L. Moshier <steve@moshier.net>
4127
4128 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
4129 x is close to -1.0 and y is very large to use ax (absolute value)
4130 instead of x.
4131 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
4132
13f7d71f
JR
4133Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
4134
4135 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
4136 Fix clobbering bytes before destination if src and dst have same
4137 non-zero misalignment.
1f1fb421
JR
4138
4139 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
4140 Fixed bug in writing end of set region.
4141
b2e8018f
CF
41422002-06-10 Christopher Faylor <cgf@redhat.com>
4143
4144 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
4145 spawnve declaration.
4146
0953fe64
TF
41472002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
4148
4149 * libm/common/s_fdim.c: New file.
4150 * libm/common/s_fma.c: Likewise.
4151 * libm/common/s_fmax.c: Likewise.
4152 * libm/common/s_fmin.c: Likewise.
4153 * libm/common/s_fpclassify.c: Likewise.
4154 * libm/common/s_lrint.c: Likewise.
4155 * libm/common/s_lround.c: Likewise.
4156 * libm/common/s_nearbyint.c: Likewise.
4157 * libm/common/s_remquo.c: Likewise.
4158 * libm/common/s_round.c: Likewise.
4159 * libm/common/s_scalbln.c: Likewise.
4160 * libm/common/s_signbit.c: Likewise.
4161 * libm/common/s_trunc.c: Likewise.
4162 * libm/common/sf_fdim.c: Likewise.
4163 * libm/common/sf_fma.c: Likewise.
4164 * libm/common/sf_fmax.c: Likewise.
4165 * libm/common/sf_fmin.c: Likewise.
4166 * libm/common/sf_lrint.c: Likewise.
4167 * libm/common/sf_lround.c: Likewise.
4168 * libm/common/sf_nearbyint.c: Likewise.
4169 * libm/common/sf_remquo.c: Likewise.
4170 * libm/common/sf_round.c: Likewise.
4171 * libm/common/sf_scalbln.c: Likewise.
4172 * libm/common/sf_trunc.c: Likewise.
4173 * libm/math/w_exp2.c: Likewise.
4174 * libm/math/w_tgamma.c: Likewise.
4175 * libm/math/wf_exp2.c: Likewise.
4176 * libm/math/wf_tgamma.c: Likewise.
4177 * libm/mathfp/s_exp2.c: Likewise.
4178 * libm/mathfp/s_tgamma.c: Likewise.
4179 * libm/mathfp/sf_exp2.c: Likewise.
4180 * libm/mathfp/sf_tgamma.c: Likewise.
4181 * libm/math/er_gamma.c: Fix return value.
4182 * libm/math/erf_gamma.c: Likewise.
4183 * libm/mathfp/er_gamma.c: Likewise.
4184 * libm/mathfp/erf_gamma.c: Likewise.
4185 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
4186 declarations and macros.
4187 Regenerated all Makefile.in, aclocal.m4 and configure files to
4188 use new libtool macros in top-level libtool.m4
4189
39e65e01
JJ
41902002-06-05 Jeff Johnston <jjohnstn@redhat.com>
4191
4192 * libc/include/string.h[__linux__]: Add strsignal prototype.
4193 * libc/include/sys/lock.h: New file with default locking support.
4194 * libc/include/sys/reent.h: Add signal buffer support for strsignal
4195 and psignal.
4196 * libc/posix/Makefile.am: Add support for readdir_r.c.
4197 * libc/posix/Makefile.in: Regenerated.
4198 * libc/posix/closedir.c: Add locking support and hash table cleanup.
4199 * libc/posix/opendir.c: Add lock support.
4200 * libc/posix/readdir.c: Ditto.
4201 * libc/posix/rewinddir.c: Ditto.
4202 * libc/posix/scandir.c: Ditto.
4203 * libc/posix/seekdir.c: Ditto.
4204 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
4205 clean up leftover hash table entries.
4206 * libc/posix/readdir_r.c: New file.
4207 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
4208 * libc/sys/linux/Makefile.in: Regenerated.
4209 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
4210 * libc/sys/linux/sys/signal.h: Add psignal prototype.
4211 * libc/sys/linux/psignal.c: New file.
4212 * libc/sys/linux/strsignal.c: Ditto.
4213
cc890e89
CV
42142002-06-03 Corinna Vinschen <corinna@vinschen.de>
4215
4216 * libc/include/sys/types.h: Don't define dev_t when compiling for
4217 Cygwin.
4218
ea55e3f7
JJ
42192002-05-31 Jeff Johnston <jjohnstn@redhat.com>
4220
4221 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
4222 make siglist.inc dependent on sig.c instead of signal.c.
4223 * libc/sys/linux/Makefile.in: Regenerated.
4224 * libc/sys/linux/sig.c: Rename from signal.c and change code to
4225 use NSIG instead of _NSIG.
4226 * libc/sys/linux/sigaction.c: New file.
4227 * libc/sys/linux/signal.c: Changed to be linux signal() function
4228 so as to override regular newlib default signal.c.
ea55e3f7
JJ
4229 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
4230 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
4231 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
4232 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
4233 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
4234 default linux sigset_t typedef by defining it equal to __sigset_t.
4235 * libc/unix/sigset.c: Add check so code isn't compiled on systems
4236 with a sigset_t that isn't implemented with a single int.
4237
9d362914
JJ
42382002-05-30 Jeff Johnston <jjohnstn@redhat.com>
4239
4240 * libc/sys/linux/Makefile.am: Add support for new files.
4241 * libc/sys/linux/Makefile.in: Regenerated.
4242 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
4243 * libc/sys/linux/signal.c: Change to use real-time syscalls for
4244 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
4245 it is in a separate file now.
4246 * libc/sys/linux/machine/i386/Makefile.am
4247 * libc/sys/linux/machine/i386/Makefile.in
4248 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
4249 * libc/sys/linux/sigaction.c: New file.
4250 * libc/sys/linux/sigqueue.c: Ditto.
4251 * libc/sys/linux/sigwait.c: Ditto.
4252 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
4253 * libc/sys/linux/kernel_sigaction.h: Ditto.
4254
b1f07180
JJ
42552002-05-28 Jeff Johnston <jjohnstn@redhat.com>
4256
4257 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
4258 tcsendbrk.c.
4259 * libc/sys/linux/Makefile.in: Regenerated.
4260 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
4261 tcgetpgrp(), and tcsetpgrp() functions.
4262 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
4263 to get __MAX_BAUD rate.
4264 * libc/sys/linux/machine/i386/include/termios.h: New file.
4265 * libc/include/machine/termios.h: Ditto.
4266 * libc/sys/linux/cfspeed.c: Ditto.
4267 * libc/sys/linux/tcsendbrk.c: Ditto.
4268
d29587b4
JJ
42692002-05-24 Jeff Johnston <jjohnstn@redhat.com>
4270
4271 * libc/include/string.h: Add strnlen and strerror_r prototypes.
4272 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
4273 * libc/string/Makefile.in: Regenerated.
4274 * libc/string/strerror_r.c: New file.
4275 * libc/string/strnlen.c: New file.
4276 * libc/sys/linux/Makefile.am: Add rename.c.
4277 * libc/sys/linux/Makefile.in: Regenerated.
4278 * libc/sys/linux/rename.c: New file to override default rename.
4279
9a292385
TF
42802002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
4281
4282 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
4283 * libc/sys/linux/sys/time.h: Add conversion macros.
4284 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
4285 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
4286 * libc/sys/linux/gethostname.c: New file.
4287 * libc/sys/linux/seteuid.c: New file.
4288 * libc/sys/linux/sysctl.c: New file.
4289
7a364eb3
JJ
42902002-05-23 Jeff Johnston <jjohnstn@redhat.com>
4291
4292 * libc/string/Makefile.am: Add support for strsep.c.
4293 * libc/string/Makefile.in: Regenerated.
4294 * libc/string/strsep.c: New file.
4295 * libc/string/strtok.c: Change to call __strtok_r service routine.
4296 * libc/string/strtok_r.c: Add __strtok_r routine which takes
4297 additional flag parameter regarding whether to skip leading delimeters.
4298 Change strtok_r to call __strtok_r.
4299
164ee5b0
JJ
43002002-05-23 Gareth Pearce <tilps@hotmail.com>
4301
4302 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
4303 * libc/stdio/Makefile.in: Regenerated.
4304 * libc/stdio/setbuffer.c: New file.
4305 * libc/stdio/setlinebuf.c: New file.
4306
f6b2b567
JJ
43072002-05-23 Jeff Johnston <jjohnstn@redhat.com>
4308
4309 * libc/sys/linux/Makefile.am: Add resource.c.
4310 * libc/sys/linux/Makefile.in: Regenerated.
4311 * libc/sys/linux/resource.c: New file.
4312 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
4313 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
4314 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
4315 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
4316 are now found in libc/sys/linux/resource.c.
4317
afe56517
JJ
43182002-05-23 Jeff Johnston <jjohnstn@redhat.com>
4319
4320 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
4321 to use void * pointers and comply with Single Unix spec.
4322 * libc/string/bcmp.c: Change to use void * instead of char *.
4323 * libc/string/bcopy.c: Ditto.
4324 * libc/string/bzero.c: Ditto.
4325
7736feb2
JJ
43262002-05-22 Jeff Johnston <jjohnstn@redhat.com>
4327
4328 * libc/sys/linux/shm_open.c: New file.
4329 * libc/sys/linux/shm_unlink.c: Ditto.
4330 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
4331 shm_unlink.c.
4332 * libc/sys/linux/Makefile.in: Regenerated.
4333 * libc/sys/linux/sys/types.h: Add some additional checks to see
4334 if clock_t or time_t is already defined.
4335
19f111bd
JJ
43362002-05-22 Jeff Johnston <jjohnstn@redhat.com>
4337
4338 * Makefile.am: Don't pass $toollibdir down directly in
4339 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
4340 Pass it under the name: top_toollibdir.
4341 * Makefile.in: Regenerated.
4342
c811b1ee
CV
43432002-05-22 Corinna Vinschen <vinschen@redhat.com>
4344
4345 * libc/include/sys/types.h: Revert previous patch.
4346
2b43ad33
CV
43472002-05-22 Corinna Vinschen <vinschen@redhat.com>
4348
4349 * libc/include/sys/types.h: Include cygwin/types.h always under
4350 Cygwin, not only if _POSIX_THREADS is defined.
4351
dd671cde
TF
43522002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
4353
4354 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
4355
5e2cbfb6
JJ
43562002-05-17 Jeff Johnston <jjohnstn@redhat.com>
4357
4358 * Makefile.am: Copy and install headers from sys/machine/include
4359 directory. Also pass $toollibdir to lower-level directories.
4360 * Makefile.in: Regenerated.
4361 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
4362 stderr to use _REENT macro instead of _impure_ptr directly.
4363 * libc/include/sys/config.h[__i386__][__linux__]: Define
4364 __DYNAMIC_REENT__.
4365 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
4366 call to __getreent() function if !__SINGLE_THREAD__ and
4367 __DYNAMIC_REENT__ is set.
4368 * libc/reent/Makefile.am: Add support for getreent.c.
4369 * libc/reent/Makefile.in: Regenerated.
4370 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
4371 * libc/sys/linux/Makefile.am: Add support for new files.
4372 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
4373 * libc/sys/linux/Makefile.in: Regenerated.
4374 * libc/sys/linux/configure: Ditto.
4375 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
4376 __close, __read, __write, __poll, __open, __lseek, __fcntl from
4377 their __libc_ counterparts.
4378 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
4379 and weak-alias to regular names.
4380 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
4381 to pread64 and __pread64.
4382 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
4383 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
4384 weak-alias to pwrite64.
4385 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
4386 __libc_sched_getscheduler, __libc_sched_get_priority_max,
4387 __libc_sched_get_priority_min, and __libc_sched_setschedule to
4388 name with __ instead of __libc_.
4389 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
4390 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
4391 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
4392 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
4393 to raise.
4394 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
4395 __libc_send to __send.
4396 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
4397 __gettimeofday.
4398 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
4399 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
4400 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
4401 type and typedef __jmp_buf to jmp_buf.
4402 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
4403 setjmp.S.
4404 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
4405 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
4406 section.
4407 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
4408 prefix for function macros and then use weak_alias() to regular names.
4409 * libc/sys/linux/machine/i386/syscall.h: Ditto.
4410 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
4411 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
4412 to be flockfile() and funlockfile() respectively.
4413 * libc/sys/linux/sys/types.h
4414 * libc/reent/getreent.c: New file.
4415 * libc/sys/linux/flockfile.c: Ditto.
4416 * libc/sys/linux/funlockfile.c: Ditto.
4417 * libc/sys/linux/getreent.c: Ditto.
4418 * libc/sys/linux/pread.c: Ditto.
4419 * libc/sys/linux/pwrite.c: Ditto.
4420 * libc/sys/linux/raise.c: Ditto.
4421 * libc/sys/linux/system.c: Ditto.
4422 * libc/sys/linux/tcdrain.c: Ditto.
4423 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
4424 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
4425 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
4426 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
4427 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
4428
7fc85bd1
TF
44292002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
4430
4431 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
4432 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
4433 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
4434 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
4435
6935231f 4436Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
d7a2f413
JR
4437
4438 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6935231f
JR
4439 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
4440 exit point.
d7a2f413 4441
3a6cb01b
TF
44422002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4443
a68fa571
TF
4444 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
4445 options when testing natively on i[3456]86-*-linux.
4446
3a6cb01b
TF
4447 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
4448 only one pass or fail per test file. Trim \r's from output
4449 values received from test programs. Remove support for named
4450 tests.
4451 * testsuite/newlib.locale/UTF-8.exp: Update to support new
4452 newlib_check_output behaviour.
4453 * testsuite/newlib.locale/UTF-8.c: Likewise.
4454
dc824ef7
JJ
44552002-05-15 Jeff Johnston <jjohnstn@redhat.com>
4456
4457 * libc/include/stdlib.h: Add on_exit prototype.
4458 * libc/include/sys/reent.h (struct _atexit): Add argument array
4459 and bits to track type of exit routine to support both on_exit
4460 and atexit.
4461 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
4462 by default and change the setting of the atexit structure.
4463 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
4464 * libc/stdlib/on_exit.c: New file.
4465 * libc/stdlib/Makefile.am: Add support for on_exit.
4466 * libc/stdlib/Makefile.in: Regenerated.
4467 * libc/stdlib/atexit.c: Change to initialize types field.
4468 * libc/stdlib/exit.c: Change to look at types field for each
4469 exit routine and either call an atexit-style or an on_exit-style
4470 routine accordingly.
4471
48d91b4a
JJ
44722002-05-13 Jeff Johnston <jjohnstn@redhat.com>
4473
4474 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
4475 allow v specifier with n or L specifiers. For vector c format,
4476 move tmp declaration to the top.
4477
024739eb
JJ
44782002-05-13 Jeff Johnston <jjohnstn@redhat.com>
4479
4480 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
4481 the original format specifier when looping for vectors to compensate
4482 for any changes made in vector %g format processing.
4483 Also add syntax checking for various invalid scenarios
4484 involving vector format extensions.
4485 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
4486 return code setting for vector formats. Also treat vector
4487 separator mismatch as a match error instead of an input error.
4488 Perform some syntax checking for vector formats.
4489
7d2ce898
TF
44902002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
4491
4492 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
4493 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
4494 * libc/string/strlcat.c: New file.
4495 * libc/string/strlcpy.c: New file.
4496
809b6ce7
JJ
44972002-05-10 Jeff Johnston <jjohnstn@redhat.com>
4498
4499 * libc/string/strchr.c: Fix comment typo.
4500
76490806
TF
45012002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
4502
0c048a9a
TF
4503 * acinclude.m4: Add support for --enable-newlib-multithread.
4504 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
4505 --enable-newlib-multithread=no.
4506
76490806
TF
4507 * libc/stdio/getc_u.c: New file.
4508 * libc/stdio/getchar_u.c: New file.
4509 * libc/stdio/putc_u.c: New file.
4510 * libc/stdio/putchar_u.c: New file.
4511 * libc/include/stdio.h: Add declarations for getc_unlocked,
4512 getchar_unlocked, putc_unlocked and putchar_unlocked.
4513 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
4514 (CHEWOUT_FILES): Add new files' .def's.
4515 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
4516
96bff22c
JR
4517Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
4518
4519 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
4520 Also handle as single quad word when destination ends at last
4521 byte of first quad word. Fix byte selection in single quad code.
4522
e71372fa
TF
45232002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
4524
4525 * libc/include/sys/stdio.h: New file.
4526 * libc/sys/linux/sys/stdio.h: New file.
4527 * libc/include/stdio.h: Add declarations for flockfile,
4528 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
4529 * libc/stdio/clearerr.c: Add file locking.
4530 * libc/stdio/fclose.c: Likewise.
4531 * libc/stdio/feof.c: Likewise.
4532 * libc/stdio/ferror.c: Likewise.
4533 * libc/stdio/fflush.c: Likewise.
4534 * libc/stdio/fgetc.c: Likewise.
4535 * libc/stdio/fgetpos.c: Likewise.
4536 * libc/stdio/fgets.c: Likewise.
4537 * libc/stdio/fileno.c: Likewise.
4538 * libc/stdio/fputc.c: Likewise.
4539 * libc/stdio/fputs.c: Likewise.
4540 * libc/stdio/fread.c: Likewise.
4541 * libc/stdio/freopen.c: Likewise.
4542 * libc/stdio/fseek.c: Likewise.
4543 * libc/stdio/ftell.c: Likewise.
4544 * libc/stdio/fwrite.c: Likewise.
4545 * libc/stdio/getc.c: Likewise.
4546 * libc/stdio/putc.c: Likewise.
4547 * libc/stdio/setvbuf.c: Likewise.
4548 * libc/stdio/ungetc.c: Likewise.
4549 * libc/stdio/vfprintf.c: Likewise.
4550
a03790e4
JJ
45512002-05-06 Jeff Johnston <jjohnstn@redhat.com>
4552
60b2107c
TF
4553 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
4554 support for 'p' format. Fix code to print bytes for vector
4555 integer formats that do not specify 'h' or 'l'.
4556 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
4557 for 'p' specifier. Fix code to scan 16 bytes for vector integer
4558 formats that do not specify 'h' or 'l'.
4559
4560 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
4561
9c7d6a9d
TF
45622002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
4563
4564 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
4565 (_sbrk): Add cast of return value.
4566
c33c3635
JJ
45672002-05-06 Jeff Johnston <jjohnstn@redhat.com>
4568
4569 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
4570 (_REENT_L64A_BUF): New macro for accessing area.
4571 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
4572 * libc/stdlib/Makefile.in: Regenerated.
4573 * libc/stdlib/a64l.c: New file.
4574 * libc/stdlib/l64a.c: New file.
4575
f78e59a8
JJ
45762002-05-06 Jeff Johnston <jjohnstn@redhat.com>
4577
4578 * libc/unix/pread.c: Fix typo for _pread_r.
4579 * libc/unix/pwrite.c: Fix type for _pwrite_r.
4580 * libc/sys/linux/pread64.c: Fix typo for read syscall.
4581 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
4582
4b3f6588
CF
45832002-05-03 Christopher Faylor <cgf@redhat.com>
4584
4585 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
4586
e911832c
TF
45872002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
4588
4589 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
4590
0d0fdc8d
CF
45912002-05-01 Christopher Faylor <cgf@redhat.com>
4592
4593 * utmp.h: Define more UNIX constants.
4594
1e997c56
TF
45952002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
4596
0717f01c
TF
4597 * Makefile.am: Add support for checking multilibs.
4598
09841445
TF
4599 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
4600 (SUBDEFS): Add LIBC_EXTRA_DEF.
4601 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
4602 (LIBC_EXTRA_DEF): Likewise.
4603 (extra_dir): Likewise.
4604 * libc/machine/xscale/machine: New directory.
4605 * libc/machine/xscale/machine/profile.h: New file.
4606
1e997c56
TF
4607 * Makefile.am (site.exp): Remove newlib_cflags. Add
4608 multibuildtop.
4609 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
4610 * testsuite/lib/flags.exp: New file.
4611 * testsuite/lib/newlib.exp: Load flags.exp.
4612 (newlib_target_compile): Remove libgloss directory references.
4613 (newlib_init): Remove newlib_cflags references.
4614
4cf4f010
TF
46152002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
4616
f6bdb6f9
TF
4617 * testsuite/lib/newlib.exp (newlib_target_compile): Change
4618 method of finding libgloss_target_dir.
4619
4cf4f010
TF
4620 * Makefile.am (site.exp): Change host_alias, host_triplet,
4621 target_alias, target_triplet to refer to gcc's host and target
4622 variables (newlib's build and host variables).
4623 * testsuite/lib/newlib.exp (newlib_init): Change build
4624 references to host references, host references to target
4625 references to reflect Makefile.am changes.
4626 (newlib_target_compile): Likewise.
4627 (newlib_finish): Likewise.
4628
83096ae8
JJ
46292002-04-29 Jeff Johnston <jjohnstn@redhat.com>
4630
4631 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
4632
822afa53
JL
46332002-04-29 Jonathan Larmour <jlarmour@redhat.com>
4634
4635 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
4636 (_system): New function. Ditto.
4637 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
4638 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
4639 targets.
4640
29798f0d
JJ
46412002-04-29 Jeff Johnston <jjohnstn@redhat.com>
4642
4643 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
4644 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
4645 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
4646 * libc/sys/linux/Makefile.in: Regenerated.
4647 * libc/unix/Makefile.in: Ditto.
4648 * libc/sys/linux/pread64.c: New file.
4649 * libc/sys/linux/pwrite64.c: Ditto.
4650 * libc/unix/pread.c: Ditto.
4651 * libc/unix/pwrite.c: Ditto.
4652
557856bd
JJ
46532002-04-26 Jeff Johnston <jjohnstn@redhat.com>
4654
4655 * libc/sys/linux/Makefile.am: Add io64.c.
4656 * libc/sys/linux/Makefile.in: Regenerated.
4657 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
4658 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
4659 * libc/sys/linux/io64.c: New file.
4660
7b2b12d5
JJ
46612002-04-26 Jeff Johnston <jjohnstn@redhat.com>
4662
4663 * configure.in (CC_FOR_NEWLIB): New variable that
4664 bases on $(CC) and adds targ-include and libc/include as
4665 -isystem directives if they are not already part of $(CC).
4666 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
4667 $(CC_FOR_NEWLIB).
4668 * configure: Regenerated.
4669 * Makefile.in: Ditto.
4670
c62adacc
JJ
46712002-04-25 Jeff Johnston <jjohnstn@redhat.com>
4672
4673 * libc/sys/linux/Makefile.am: Add support for sched.c.
4674 * libc/sys/linux/Makefile.in: Regenerated.
4675 * libc/sys/linux/sched.c: New file.
4676 * libc/sys/linux/sys/types.h: Add struct timespec.
4677
217ad4a0
TF
46782002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
4679
4680 * configure.in (CC_FOR_BUILD): Set to gcc whether
4681 cross-compiling or not.
4682 (CC): Add -isystem's for targ-include and libc/include when they
4683 do not already appear in CC.
4684
eaa75b70
TF
46852002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
4686
4687 * Makefile.am (check-DEJAGNU): New target.
4688 (site.exp): Likewise.
4689 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
4690 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
4691 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
4692 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
4693 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
4694 * testsuite: New directory.
4695 * testsuite/config: Likewise.
4696 * testsuite/lib: Likewise.
4697 * testsuite/newlib.locale: Likewise.
4698 * testsuite/newlib.string: Likewise.
4699 * testsuite/config/default.exp: New file.
4700 * testsuite/lib/checkoutput.exp: New file.
4701 * testsuite/lib/newlib.exp: New file.
4702 * testsuite/lib/passfail.exp: New file.
4703 * testsuite/newlib.locale/UTF-8.c: New file.
4704 * testsuite/newlib.locale/UTF-8.exp: New file.
4705 * testsuite/newlib.locale/locale.exp: New file.
4706 * testsuite/newlib.string/string.exp: New file.
4707 * testsuite/newlib.string/tstring.c: New file.
4708
b9f9f699
JJ
47092002-04-23 Jeff Johnston <jjohnstn@redhat.com>
4710
4711 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
4712 * libc/sys/linux/Makefile.am: Add support for mmap.c.
4713 * libc/sys/linux/Makefile.in: Regenerated.
4714 * libc/sys/linux/mmap.c: New file.
4715 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
4716 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
4717
7394edbb
TF
47182002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
4719
4720 * acinclude.m4 (newlib_cflags): Remove include directories that
4721 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
4722
b9f9f699 47232002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
59be2290
JJ
4724
4725 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
4726 * libc/machine/xscale/memcmp.c: Ditto.
4727 * libc/machine/xscale/memcpy.c: Ditto.
4728 * libc/machine/xscale/memmove.c: Ditto.
4729 * libc/machine/xscale/memset.c: Ditto.
4730 * libc/machine/xscale/strchr.c: Ditto.
4731 * libc/machine/xscale/strcmp.c: Ditto.
4732 * libc/machine/xscale/strcpy.c: Ditto.
4733 * libc/machine/xscale/strlen.c: Ditto.
4734
2dd4c4dc
JJ
47352002-04-19 Alexandre Oliva <aoliva@redhat.com>
4736
4737 * libc/include/sys/config.h: Remove include of <limits.h>.
4738 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
4739 define INT_MAX and LONG_MAX. Use them in tests.
4740
0d844014
JJ
47412002-04-19 Jeff Johnston <jjohnstn@redhat.com>
4742
4743 * configure.host: Add support for powerpc-eabialtivec*.
4744 * libc/include/malloc.h: Add include of <machine/malloc.h>.
4745 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
4746 * libc/include/machine/malloc.h: New file.
4747 * libc/include/machine/stdlib.h: Ditto.
4748 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
4749 * libc/machine/powerpc/Makefile.am: Add conditional objects and
4750 sources based on configuration.
4751 * libc/machine/powerpc/Makefile.in: Regenerated.
4752 * libc/machine/powerpc/configure: Ditto.
4753 * libc/machine/powerpc/configure.in: Add check for
4754 powerpc-eabialtivec* in which case add in additional source files.
4755 * libc/machine/powerpc/setjmp.S: Add altivec support.
4756 * libc/machine/powerpc/vec_calloc.c: New file.
4757 * libc/machine/powerpc/vec_free.c: Ditto.
4758 * libc/machine/powerpc/vec_malloc.c: Ditto.
4759 * libc/machine/powerpc/vec_mallocr.c: Ditto.
4760 * libc/machine/powerpc/vec_realloc.c: Ditto.
4761 * libc/machine/powerpc/machine/malloc.h: Ditto.
4762 * libc/machine/powerpc/machine/stdlib.h: Ditto.
4763 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
4764 with added altivec format specifiers.
4765 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
4766 added altivec format specifiers.
4767
d413aadc
JS
47682002-04-19 Joel Sherrill <joel@OARcorp.com>
4769
4770 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
4771 while autoconf is trying to link main(){}.
4772
27193895
JJ
47732002-04-17 Jeff Johnston <jjohnstn@redhat.com>
4774
4775 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
4776 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
4777
10d00216
JJ
47782002-04-17 Jeff Johnston <jjohnstn@redhat.com>
4779
6b0f808e
JJ
4780 * libc/time/time.tex: Add tzset info.
4781
47822002-04-17 Jeff Johnston <jjohnstn@redhat.com>
4783
4784 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
4785 (strptime): Moved prototype to be within !__STRICT_ANSI__.
4786 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
4787 (tzname): Defined for all platforms.
4788 (daylight, timezone): Defined only for CYGWIN.
4789 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
4790 environment set up.
4791 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
4792 environment variable is set.
4793 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
4794 tzset_r.c.
4795 * libc/time/Makefile.in: Regenerated.
4796 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
4797 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
4798 * libc/time/lcltime_r.c (lcltime_r): Ditto.
4799 * libc/time/local.h: New local header file.
4800 * libc/time/mktime.c (mktime): Add timezone support.
4801 * libc/time/mktm_r.c: New file which is the common engine
4802 for gmtime_r and lcltime_r. This code has timezone support.
4803 * libc/time/strftime.c (strftime): Add %Z timezone support.
4804 * libc/time/tzlock.c: New file containing timezone lock stubs.
4805 * libc/time/tzset.c: New file containing tzset() routine.
4806 * libc/time/tzset_r.c: New file containing _tzset_r and
4807 internal routine for calculating timezone changes for specified year.
4808
48092002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
4810
4811 * configure.in (CRT0_DIR): Set to libc/.
4812 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
4813 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
4814 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
4815 $(CRT1_DIR)/$(CRT1).
4816 * libc/machine/xstormy16/Makefile.in: Regenerated.
4817 * libc/machine/xstormy16/aclocal.m4: Regenerated.
4818 * libc/machine/xstormy16/configure: Regenerated.
4819
48202002-04-13 Alexandre Oliva <aoliva@redhat.com>
4821
4822 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
4823 fails, don't bail out, and try to correct next time.
4824
4825 * libc/include/sys/config.h: Include limits.h.
4826
48272002-04-12 Eric Norum <eric.norum@usask.com>
4828
4829 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
4830 routine to allow autoconf to determine that building executables
4831 for rtems works.
4832 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
4833 (rtems_gxx_mutex_once): Ditto.
4834
48352002-04-09 Tom Rix <trix@redhat.com>
4836
4837 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
4838
48392002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
4840
4841 * libc/include/time.h: Fix strptime declaration.
4842 * libc/time/Makefile.am: Add strptime.c.
4843 * libc/time/Makefile.in: Regenerated.
4844 * libc/time/strptime.c: New file.
4845
48462002-04-08 Jeff Johnston <jjohnstn@redhat.com>
4847
4848 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
4849 siglongjmp prototype, and sigsetjmp macro definition.
4850 * libc/sys/linux/siglongjmp.c: New file.
4851 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
4852 * libc/sys/linux/Makefile.in: Regenerated.
4853
48542002-04-04 Jeff Johnston <jjohnstn@redhat.com>
4855
4856 * Makefile.am: Add support for installing crt1.o if one exists.
4857 * configure.host: Specify crt1.o for linux.
4858 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
4859 * Makefile.in: Regenerated.
4860 * configure: Ditto.
4861 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
4862 Added for non-Cygwin, non-RTEMS configurations.
4863 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
4864 * libc/sys/linux/Makefile.in: Regenerated.
4865 * libc/sys/linux/crt1.c: New empty file to override one defaulted
4866 by gcc. This fixes problem with reconfiguring linux newlib build.
4867 * libc/sys/linux/sysconf.c: New file.
4868
48692002-04-03 Jeff Johnston <jjohnstn@redhat.com>
4870
4871 * configure.host: Add support for machine subdirectory of
4872 sys subdirectory.
4873 * configure.in: Add check for sys machine subdirectory.
4874 * Makefile.am: Ditto.
4875 * configure: Regenerated.
4876 * Makefile.in: Ditto.
4877 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
4878 * libc/sys/linux/sys/syscall.h: Ditto.
4879 * libc/sys/linux/sleep.c: New file.
4880 * libc/sys/linux/socket.c: Ditto.
4881 * libc/sys/linux/sockops.h: Ditto.
4882 * libc/sys/linux/stack.c: Ditto.
4883 * libc/sys/linux/usleep.c: Ditto.
4884 * libc/sys/linux/machine/Makefile.am: Ditto.
4885 * libc/sys/linux/machine/Makefile.in: Ditto.
4886 * libc/sys/linux/machine/aclocal.m4: Ditto.
4887 * libc/sys/linux/machine/configure: Ditto.
4888 * libc/sys/linux/machine/configure.in: Ditto.
4889 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
4890 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
4891 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
4892 * libc/sys/linux/machine/i386/configure: Ditto.
4893 * libc/sys/linux/machine/i386/configure.in: Ditto.
4894 * libc/sys/linux/machine/i386/crt0.c: Ditto.
4895 * libc/sys/linux/machine/i386/sigset.c: Ditto.
4896 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
4897 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
4898 * libc/sys/linux/machine/i386/syscall.h: Ditto.
4899 * libc/sys/linux/sys/select.h: Ditto.
4900 * libc/sys/linux/configure.in: Add support for machine directory.
4901 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
4902 * libc/sys/linux/Makefile.in: Regenerated.
4903 * libc/sys/linux/configure: Ditto.
4904 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
4905 * libc/sys/linux/inode.c: Ditto.
4906 * libc/sys/linux/linux.c: Ditto.
4907 * libc/sys/linux/process.c: Ditto.
4908 * libc/sys/linux/systat.c: Ditto.
4909 * libc/sys/linux/time.c: Ditto.
4910 * libc/sys/linux/wait.c: Ditto.
4911 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
4912 * libc/sys/linux/io.c: Change header plus add readv/writev.
4913 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
4914 use __sigsuspend syscall.
4915 * libc/sys/linux/select.c: Change header plus change select to
4916 use _newselect syscall.
4917 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
4918 used by glibc header files.
4919 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
4920 types.
4921
49222002-04-01 Jeff Johnston <jjohnstn@redhat.com>
4923
4924 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
4925 initializing a struct _reent that has been dynamically allocated.
4926 (_REENT_CHECK_MISC): New macro that checks _misc struct for
4927 _REENT_SMALL and does nothing otherwise.
4928 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
4929 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
4930 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
4931 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
4932 [_REENT_SMALL](struct _misc_reent): New structure containing
4933 miscellaneous reentrant areas needed by newlib.
4934 [_REENT_SMALL](struct _reent): Add _misc pointer.
4935 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
4936 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
4937 and _REENT_STRTOK_LAST macros.
4938 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
4939 and _REENT_MBLEN_STATE macros.
4940 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
4941 and _REENT_MBTOWC_STATE macros.
4942 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
4943 and _REENT_WCTOMB_STATE macros.
4944
49452002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
4946
4947 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
4948
4949Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
4950
4951 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
4952
4953Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
4954
4955 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
4956 Store high part of leading bytes too.
4957
49582002-03-22 Richard Sandiford <rsandifo@redhat.com>
4959
4960 * libm/math/ef_hypot.c: Increase scale factor to 68.
4961
49622002-03-13 Alexandre Oliva <aoliva@redhat.com>
4963
4964 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
4965 error.
4966
49672002-03-12 Jeff Johnston <jjohnstn@redhat.com>
4968
4969 * libc/sys/go32/access.c: Change license to relaxed license
4970 used in identical file throughout newlib/libgloss.
4971
49722002-03-12 Richard Earnshaw <rearnsha@arm.com>
4973
4974 * libc/sys/arm/access.c: New file.
4975 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
4976 * libc/sys/arm/Makefile.in: Regenerate.
4977 * libc/sys/arm/syscalls.c (_stat): New function.
4978
49792002-03-11 Michael Meissner <meissner@redhat.com>
4980
4981 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
4982 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
4983 * libc/machine/mips/Makefile.in: Regenerate.
4984 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
4985 * libc/machine/mips/memset.c: Dito.
4986 * libc/machine/mips/strcmp.c: Dito.
4987 * libc/machine/mips/strlen.c: Dito.
4988 * libc/machine/mips/strncmp.c: Dito.
4989
49902002-03-06 Jeff Johnston <jjohnstn@redhat.com>
4991
4992 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
4993 object so it works for shared library or statici library.
49942002-04-17 Jeff Johnston <jjohnstn@redhat.com>
4995
10d00216
JJ
4996 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
4997 (strptime): Moved prototype to be within !__STRICT_ANSI__.
4998 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
4999 (tzname): Defined for all platforms.
5000 (daylight, timezone): Defined only for CYGWIN.
5001 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
5002 environment set up.
5003 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
5004 environment variable is set.
5005 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
5006 tzset_r.c.
5007 * libc/time/Makefile.in: Regenerated.
5008 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
5009 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
5010 * libc/time/lcltime_r.c (lcltime_r): Ditto.
5011 * libc/time/local.h: New local header file.
5012 * libc/time/mktime.c (mktime): Add timezone support.
5013 * libc/time/mktm_r.c: New file which is the common engine
5014 for gmtime_r and lcltime_r. This code has timezone support.
5015 * libc/time/strftime.c (strftime): Add %Z timezone support.
5016 * libc/time/tzlock.c: New file containing timezone lock stubs.
5017 * libc/time/tzset.c: New file containing tzset() routine.
5018 * libc/time/tzset_r.c: New file containing _tzset_r and
5019 internal routine for calculating timezone changes for specified year.
5020
5f1c13c6
TF
50212002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
5022
5023 * configure.in (CRT0_DIR): Set to libc/.
5024 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
5025 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
5026 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
5027 $(CRT1_DIR)/$(CRT1).
5028 * libc/machine/xstormy16/Makefile.in: Regenerated.
5029 * libc/machine/xstormy16/aclocal.m4: Regenerated.
5030 * libc/machine/xstormy16/configure: Regenerated.
5031
0cc261b1
AO
50322002-04-13 Alexandre Oliva <aoliva@redhat.com>
5033
2f3009bd
AO
5034 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
5035 fails, don't bail out, and try to correct next time.
5036
0cc261b1
AO
5037 * libc/include/sys/config.h: Include limits.h.
5038
26116455
JJ
50392002-04-12 Eric Norum <eric.norum@usask.com>
5040
5041 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
5042 routine to allow autoconf to determine that building executables
5043 for rtems works.
5044 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
5045 (rtems_gxx_mutex_once): Ditto.
5046
4608280d
TR
50472002-04-09 Tom Rix <trix@redhat.com>
5048
5049 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
5050
dea7e25c
JJ
50512002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
5052
5053 * libc/include/time.h: Fix strptime declaration.
5054 * libc/time/Makefile.am: Add strptime.c.
5055 * libc/time/Makefile.in: Regenerated.
5056 * libc/time/strptime.c: New file.
5057
c5ef1e95
JJ
50582002-04-08 Jeff Johnston <jjohnstn@redhat.com>
5059
5060 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
5061 siglongjmp prototype, and sigsetjmp macro definition.
5062 * libc/sys/linux/siglongjmp.c: New file.
5063 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
5064 * libc/sys/linux/Makefile.in: Regenerated.
5065
6e6cd5bd
JJ
50662002-04-04 Jeff Johnston <jjohnstn@redhat.com>
5067
5068 * Makefile.am: Add support for installing crt1.o if one exists.
5069 * configure.host: Specify crt1.o for linux.
5070 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
5071 * Makefile.in: Regenerated.
5072 * configure: Ditto.
5073 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
5074 Added for non-Cygwin, non-RTEMS configurations.
5075 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
5076 * libc/sys/linux/Makefile.in: Regenerated.
5077 * libc/sys/linux/crt1.c: New empty file to override one defaulted
5078 by gcc. This fixes problem with reconfiguring linux newlib build.
5079 * libc/sys/linux/sysconf.c: New file.
5080
fa4a16a1
JJ
50812002-04-03 Jeff Johnston <jjohnstn@redhat.com>
5082
5083 * configure.host: Add support for machine subdirectory of
5084 sys subdirectory.
5085 * configure.in: Add check for sys machine subdirectory.
5086 * Makefile.am: Ditto.
5087 * configure: Regenerated.
5088 * Makefile.in: Ditto.
5089 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
5090 * libc/sys/linux/sys/syscall.h: Ditto.
5091 * libc/sys/linux/sleep.c: New file.
5092 * libc/sys/linux/socket.c: Ditto.
5093 * libc/sys/linux/sockops.h: Ditto.
5094 * libc/sys/linux/stack.c: Ditto.
5095 * libc/sys/linux/usleep.c: Ditto.
5096 * libc/sys/linux/machine/Makefile.am: Ditto.
5097 * libc/sys/linux/machine/Makefile.in: Ditto.
5098 * libc/sys/linux/machine/aclocal.m4: Ditto.
5099 * libc/sys/linux/machine/configure: Ditto.
5100 * libc/sys/linux/machine/configure.in: Ditto.
5101 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
5102 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
5103 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
5104 * libc/sys/linux/machine/i386/configure: Ditto.
5105 * libc/sys/linux/machine/i386/configure.in: Ditto.
5106 * libc/sys/linux/machine/i386/crt0.c: Ditto.
5107 * libc/sys/linux/machine/i386/sigset.c: Ditto.
5108 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
5109 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
5110 * libc/sys/linux/machine/i386/syscall.h: Ditto.
5111 * libc/sys/linux/sys/select.h: Ditto.
5112 * libc/sys/linux/configure.in: Add support for machine directory.
5113 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
5114 * libc/sys/linux/Makefile.in: Regenerated.
5115 * libc/sys/linux/configure: Ditto.
5116 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
5117 * libc/sys/linux/inode.c: Ditto.
5118 * libc/sys/linux/linux.c: Ditto.
5119 * libc/sys/linux/process.c: Ditto.
5120 * libc/sys/linux/systat.c: Ditto.
5121 * libc/sys/linux/time.c: Ditto.
5122 * libc/sys/linux/wait.c: Ditto.
5123 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
5124 * libc/sys/linux/io.c: Change header plus add readv/writev.
5125 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
5126 use __sigsuspend syscall.
5127 * libc/sys/linux/select.c: Change header plus change select to
5128 use _newselect syscall.
5129 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
5130 used by glibc header files.
5131 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
5132 types.
5133
d4dca0e4
JJ
51342002-04-01 Jeff Johnston <jjohnstn@redhat.com>
5135
5136 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
5137 initializing a struct _reent that has been dynamically allocated.
5138 (_REENT_CHECK_MISC): New macro that checks _misc struct for
5139 _REENT_SMALL and does nothing otherwise.
5140 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
5141 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
5142 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
5143 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
5144 [_REENT_SMALL](struct _misc_reent): New structure containing
5145 miscellaneous reentrant areas needed by newlib.
5146 [_REENT_SMALL](struct _reent): Add _misc pointer.
5147 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
5148 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
5149 and _REENT_STRTOK_LAST macros.
5150 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
5151 and _REENT_MBLEN_STATE macros.
5152 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
5153 and _REENT_MBTOWC_STATE macros.
5154 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
5155 and _REENT_WCTOMB_STATE macros.
5156
54a7c6d2
JJ
51572002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
5158
5159 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
5160
c82479b1
CF
5161Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
5162
5163 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
5164
43ecf6e8
JR
5165Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
5166
5167 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
5168 Store high part of leading bytes too.
5169
a485d93f
RS
51702002-03-22 Richard Sandiford <rsandifo@redhat.com>
5171
5172 * libm/math/ef_hypot.c: Increase scale factor to 68.
5173
62a963ee
AO
51742002-03-13 Alexandre Oliva <aoliva@redhat.com>
5175
5176 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
5177 error.
5178
c53d8453
JJ
51792002-03-12 Jeff Johnston <jjohnstn@redhat.com>
5180
5181 * libc/sys/go32/access.c: Change license to relaxed license
5182 used in identical file throughout newlib/libgloss.
5183
d2a246ad
JJ
51842002-03-12 Richard Earnshaw <rearnsha@arm.com>
5185
5186 * libc/sys/arm/access.c: New file.
5187 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
5188 * libc/sys/arm/Makefile.in: Regenerate.
5189 * libc/sys/arm/syscalls.c (_stat): New function.
5190
eabb48d5
MM
51912002-03-11 Michael Meissner <meissner@redhat.com>
5192
5193 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
5194 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
5195 * libc/machine/mips/Makefile.in: Regenerate.
5196 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
5197 * libc/machine/mips/memset.c: Dito.
5198 * libc/machine/mips/strcmp.c: Dito.
5199 * libc/machine/mips/strlen.c: Dito.
5200 * libc/machine/mips/strncmp.c: Dito.
5201
2a606041
JJ
52022002-03-06 Jeff Johnston <jjohnstn@redhat.com>
5203
eabb48d5
MM
5204 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
5205 object so it works for shared library or statici library.
5206 * libc/machine/i386/Makefile.in: Regenerated.
2a606041 5207
55f26f11
JR
5208Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
5209
96bff22c
JR
5210 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
5211 Add memcpy.S, memset.S and strcpy.S.
5212 * libc/machine/sh/Makefile.in: Regenerate.
5213 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
55f26f11 5214 (SHHI, SHLO): Define.
96bff22c
JR
5215 * libc/machine/sh/memset.S: Add code for SH5.
5216 * libc/machine/sh/memset.S: Likewise.
5217 * libc/machine/sh/strcpy.S: Likewise.
55f26f11 5218
afecf2fa
JJ
52192002-02-27 Jeff Johnston <jjohnstn@redhat.com>
5220
5221 * configure.host: Add check for --disable-newlib-io-float
5222 configuration option and add -DNO_FLOATING_POINT to newlib cflags
5223 if appropriate.
5224 * acinclude.m4: Added --disable-newlib-io-float option.
5225 * aclocal.m4: Regenerated.
5226 * configure: Ditto.
5227 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
5228 * libc/*/aclocal.m4 libc/*/configure
5229 * libm/*/aclocal.m4 libm/*/configure: Ditto.
5230 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
5231 if NO_FLOATING_POINT flag is not defined.
5232
c1010a63
JJ
52332002-02-25 Jeff Johnston <jjohnstn@redhat.com>
5234
5235 * libc/include/sys/config.h: Add __extension__ in front of
5236 long long references.
5237
630c657e
CV
52382002-02-23 Corinna Vinschen <corinna@vinschen.de>
5239
5240 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
5241 (_stat): Ditto.
5242
59ee2e20
CV
52432002-02-23 Corinna Vinschen <corinna@vinschen.de>
5244
5245 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
5246 of off_t.
5247
2dd68dc2
NC
52482002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
5249
5250 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
5251 clobbered registers.
5252
55500bf1
TF
52532002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
5254
5255 * configure.host (newlib_cflags): When host is in m68* add
5256 -DCOMPACT_CTYPE.
5257
ba0173f0
JJ
52582002-02-15 Jeff Johnston <jjohnstn@redhat.com>
5259
5260 * libc/include/sys/config.h: Add definitions for
5261 __int16_t, __uint16_t, __int64_t, and __uint64_t.
5262
7b61d0c5
JJ
52632002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
5264
5265 * libc/sys/mmixware/link.c: New.
5266 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
5267 volatile.
5268 * libc/sys/mmixware/times.c (_times): Renamed from times.
5269 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
5270 properly by reading previous contents, not through BinaryReadWrite.
5271 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
5272 * libc/sys/mmixware/Makefile.in: Regenerate.
5273
a505db65
CV
52742002-02-10 Corinna Vinschen <corinna@vinschen.de>
5275
5276 * libc/include/grp.h: Don't declare group functions when compiling
5277 Cygwin.
5278
f3b39c45
CV
52792002-02-09 Corinna Vinschen <corinna@vinschen.de>
5280
5281 * libc/include/grp.h: Include Cygwin specific header.
5282 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
5283 when compiling for Cygwin.
5284 * libc/include/sys/types.h: Don't define off_t, uid_t
5285 and gid_t when compiling for Cygwin.
5286
82b3ac56
MG
52872002-02-08 matthew green <mrg@redhat.com>
5288
5289 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
5290 _REENT_EMERGENCY_SIZE, not sizeof(char *).
5291
9f25eed9
AO
52922002-02-08 Alexandre Oliva <aoliva@redhat.com>
5293
5294 Contribute sh64-elf.
5295 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
5296 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
5297 support in printf.
5298 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
5299 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
5300 any labels.
5301 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
5302 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
5303 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
5304 * libc/machine/sh/configure.in: Rework conditionals.
5305 * libc/machine/sh/Makefile.am: Likewise.
5306 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
5307 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
5308 * configure.host: Match `sh*'.
5309 * libc/include/machine/setjmp.h: Define for SH5.
5310 * libc/machine/sh/configure.in: Detect SH5.
5311 * libc/machine/sh/configure: Rebuilt.
5312 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
5313 * libc/machine/sh/Makefile.in: Rebuilt.
5314 * libc/machine/sh/asm.h: Adjust for SH5.
5315 * libc/machine/sh/setjmp.S: Implement in SHmedia.
5316 * libc/sys/sh/crt0.S: Likewise.
5317 * libc/sys/sh/trap.S: Likewise.
5318
a2a405ae
JJ
53192002-02-07 Jeff Johnston <jjohnstn@redhat.com>
5320
5321 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
5322 (mach_add_obj): Conditionally set to setjmp.o or nothing.
5323 (LIB_SOURCES): Remove $(mach_add_src).
5324 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
5325 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
5326 * libc/machine/i386/Makefile.in: Regenerate.
5327
27478365
JJ
53282002-02-05 Manik Raina <manik@cisco.com>
5329
994fa212 5330 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
27478365
JJ
5331 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
5332 s, p, k, and outstr.
5333 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
5334
815a37f7
JJ
53352002-02-04 Jeff Johnston <jjohnstn@redhat.com>
5336
5337 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
5338 _REENT_CHECK_EMERGENCY macro.
5339
a4139c12
MG
53402002-02-03 matthew green <mrg@redhat.com>
5341
5342 * libc/reent/signgam.c (__signgam): Fix error in previous.
5343
8195aff7
MG
53442002-02-02 matthew green <mrg@redhat.com>
5345
5346 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
5347
5348 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
5349 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
5350 * libc/include/sys/reent.h (struct _reent): Completely new version
5351 for _REENT_SMALL.
5352 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
5353 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
5354 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
5355 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
5356 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
5357 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
5358 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
5359 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
5360 (_REENT_EMERGENCY): Likewise.
5361
5362 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
5363 the start of the real __sFILE, used for stdin, stdout and stderr until
5364 they are setup properly.
5365 (struct __sFILE): Move location of _data in _REENT_SMALL case.
5366 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
5367 allocated stdin, stdout and stderr.
5368 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
5369 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
5370 * libc/stdio/perror.c (_perror_r): Likewise.
5371 * libc/stdio/printf.c (printf, _printf_r): Likewise.
5372 * libc/stdio/putchar.c (_putchar_r): Likewise.
5373 * libc/stdio/puts.c (_puts_r): Likewise.
5374 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
5375 * libc/stdio/vprintf.c (vprintf): Likewise.
5376 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
5377
5378 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
5379
5380 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
5381 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
5382 for _REENT_SMALL.
5383 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
5384 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
5385
5386 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
5387 _REENT_SMALL.
5388 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
5389 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
5390 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
5391 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
5392 * libc/stdlib/rand48.c (__dorand48): Likewise.
5393 * libc/stdlib/seed48.c (_seed48_r): Likewise.
5394 * libc/stdlib/srand48.c (_srand48_r): Likewise.
5395 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
5396 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
5397 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
5398 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
5399 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
5400 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
5401 * libc/stdlib/rand.c (rand): Likewise.
5402
5403 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
5404 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
5405
5406 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
5407 _REENT_MP_FREELIST() and _REENT_MP_P5S.
5408 * libc/include/sys/reent.h (struct _mprec): New structure.
5409
5410 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
5411 _unused_strtok_last.
5412 * libc/string/strtok.c (strtok): Use a local static variable.
5413
5414 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
5415 (_REENT_EMERGENCY_SIZE): Likewise.
5416 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
5417 _REENT_ASCTIME_BUF().
5418 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
5419 _REENT_TM().
5420
5421 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
5422 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
5423 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
5424 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
5425 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
5426 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
5427
9c2e7642
GK
54282002-02-01 Geoffrey Keating <geoffk@redhat.com>
5429
5430 * configure.host (xstormy16): Don't use the generic malloc.
5431 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
5432 * libc/machine/xstormy16/Makefile.in: Regenerate.
5433 * libc/machine/xstormy16/mallocr.c: New file.
5434 * libc/machine/xstormy16/tiny-malloc.c: New file.
5435
4bb6112f
TF
54362002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
5437
5438 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
5439 when _CYGWIN_TYPES_H is not defined.
5440
8d345552
TF
54412002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5442
5443 * libc/include/sys/signal.h: Revert 2002-01-23 change.
5444
bcc49082
TF
54452002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
5446
5447 * libc/include/sys/signal.h: Remove pthread_kill declaration
5448 when __CYGWIN__ is defined.
5449
13baedeb
CF
54502002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
5451
5452 * libc/include/time.h: Add prototype for strptime for Cygwin.
5453
b2db0ebc
NC
54542002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
5455
ebf139fb
NC
5456 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
5457 dst was not word aligned.
5458
b2db0ebc
NC
5459 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
5460 if too much memory is requested.
5461
798c015d
JJ
54622002-01-11 Jeff Johnston <jjohnstn@redhat.com>
5463
5464 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
5465 reads blanks from the input file to break if EOF reached
5466 rather than end processing.
5467
46ad2ef4
JJ
54682002-01-07 Jeff Johnston <jjohnstn@redhat.com>
5469
5470 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
5471
86b06396
JJ
54722002-01-07 Alan Matsuoka <alanm@redhat.com>
5473
5474 * libc/include/machine/ieeefp.h: Configure d10v doubles to
5475 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
5476 libc/include/sys/config.h: Ditto.
5477
423d5064
CV
54782001-12-28 Corinna Vinschen <corinna@vinschen.de>
5479
5480 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
5481
f6eff1c0
GK
54822001-12-22 Geoffrey Keating <geoffk@redhat.com>
5483 Catherine Moore <clm@redhat.com>
5484 Richard Henderson <rth@redhat.com>
5485 Corinna Vinschen <vinschen@redhat.com>
5486
5487 * configure.host: Add support for xstormy16.
5488 * libc/include/machine/ieeefp.h: Add support for xstormy16.
5489 * libc/include/machine/setjmp.h: Add support for xstormy16.
5490 * libc/include/sys/config.h: Add support for xstormy16.
5491 * libc/machine/xstormy16/Makefile.am: New file.
5492 * libc/machine/xstormy16/Makefile.in: New file.
5493 * libc/machine/xstormy16/aclocal.m4: New file.
5494 * libc/machine/xstormy16/configure: New file.
5495 * libc/machine/xstormy16/configure.in: New file.
5496 * libc/machine/xstormy16/setjmp.S: New file.
5497
1f93c55f
TF
54982001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
5499
5500 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
5501 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
5502
13b918be
CV
55032001-12-19 Corinna Vinschen <corinna@vinschen.de>
5504
5505 * libm/machine/Makefile.am: Change rules to create correct lib.a.
5506 * libm/machine/Makefile.in: Regenerated through automake.
5507
08e857b4
TF
55082001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5509
5510 * Makefile.am (DOCDIR): Force to empty string when doc
5511 directory is not present.
5512
60565ed6
TF
55132001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5514
5515 * libc/machine/i386/f_*: Move to libm/machine/i386.
5516
55172001-12-18 Joel Sherrill <joel@OARcorp.com>
5518
5519 * libm/machine/Makefile.am: Add dummy doc stub so
5520 "make info" works.
5521
55222001-12-17 Joel Sherrill <joel@OARcorp.com>
5523
5524 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
5525
fc504135
TF
55262001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
5527
5528 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
5529 $(COMPILE) rather than $(CC).
5530 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
5531 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
5532 $(LIB_COMPILE) change.
5533 (vfiprintf.$(oext)): Likewise.
5534
efeae9a3
CV
55352001-12-17 Corinna Vinschen <vinschen@redhat.de>
5536
5537 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
5538 conditionalized including of getopt stuff.
5539
cdf7120d
TF
55402001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5541
5542 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
5543 compile line.
f85be99c 5544 (vfiprintf.$(oext)): Likewise.
cdf7120d 5545
2e1a7175
TF
55462001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
5547
5548 * Makefile.shared: New file.
5549 * libc/sys/linux/shared.ld: New file.
5550 * libm/machine/*: New files.
5551 * libm/machine/i386/*: New files.
5552 * Makefile.am: Add libtool support. Change math and mathfp
5553 references to variables.
5554 * configure.host: Add variables for libtool support. Add
5555 libm_machine_dir variable.
5556 * configure.in: Add objectlist variables, for libtool
5557 support. Add CC_FOR_BUILD tests.
5558 * libc/Makefile.am: Add libtool support. Change crt0.o
5559 reference to be a variable reference.
5560 * libc/configure.in: Add libtool support. Change sublib
5561 names to be lib${subdir}.la when using libtool.
5562 * libc/ctype/Makefile.am: Add libtool support.
5563 * libc/errno/Makefile.am: Likewise.
5564 * libc/locale/Makefile.am: Likewise.
5565 * libc/machine/Makefile.am: Likewise.
5566 * libc/machine/configure.in: Likewise.
5567 * libc/machine/i386/Makefile.am: Likewise.
5568 * libc/machine/i386/configure.in: Likewise.
5569 * libc/misc/Makefile.am: Likewise.
5570 * libc/posix/Makefile.am: Likewise.
5571 * libc/reent/Makefile.am: Likewise.
5572 * libc/signal/Makefile.am: Likewise.
5573 * libc/stdio/Makefile.am: Likewise.
5574 * libc/stdlib/Makefile.am: Likewise.
5575 * libc/string/Makefile.am: Likewise.
5576 * libc/sys/Makefile.am: Likewise.
5577 * libc/sys/configure.in: Likewise.
5578 * libc/sys/linux/Makefile.am: Add libtool support. Change
5579 awk reference to a variable reference. Change signal.h
5580 reference to a variable reference.
5581 * libc/sys/linux/configure.in: Add libtool support.
5582 * libc/syscalls/Makefile.am: Likewise.
5583 * libc/time/Makefile.am: Likewise.
5584 * libc/unix/Makefile.am: Likewise.
5585 * libm/Makefile.am: Add libtool support. Change math and
5586 mathfp references to variables.
5587 * libm/configure.in: Add libtool support. Add
5588 LIBM_MACHINE_LIB variable.
5589 * libm/common/Makefile.am: Add libtool support.
5590 * libm/math/Makefile.am: Likewise.
5591 * libm/mathfp/Makefile.am: Likewise.
5592 Regenerate all Makefile.in, aclocal.m4, and configure.
5593
b92591a1
JJ
55942001-12-13 Anita Kulkarni <anitak@kpit.com>
5595
5596 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
5597
355b664e
CF
55982001-12-06 John Peacock <jpeacock@rowman.com>
5599
5600 * libc/include/sys/unistd.h: Correct ualarm declaration.
5601
e9853806
NC
56022001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
5603
5604 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
5605 vector before calling the initialisation functions.
5606
a8e091b0
CF
56072001-11-29 Christopher Faylor <cgf@redhat.com>
5608
5609 * libc/include/dirent.h: Protect against multiple inclusion.
5610
ab634123
CF
56112001-11-27 Christopher Faylor <cgf@redhat.com>
5612
5613 * libc/include/sys/types.h: Define useconds_t.
5614 * libc/include/sys/ulimit.h: Declare ualarm.
5615
d37e401e
CF
56162001-11-21 Christopher Faylor <cgf@redhat.com>
5617
5618 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
5619
8ac90051
HPN
56202001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
5621
5622 * libc/sys/mmixware/*: Tweak license header in all source files.
5623
d7ca37e4
CV
56242001-11-12 Corinna Vinschen <vinschen@redhat.com>
5625
5626 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
5627 to here. Rearrange for general inclusion by stdlib.h.
5628 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
5629 isn't defined.
5630 * libc/sys/linux/include/alloca.h: Move to libc/include.
5631
28f8744e
AG
56322001-11-12 Anthony Green <green@redhat.com>
5633
5634 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
5635
4cede8c4
HPN
56362001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
5637
5638 * libc/sys/mmixware/*: Correct spacing in all source files.
5639 * libc/sys/mmixware/syscall.h: Move misplaced file...
5640 * libc/sys/mmixware/sys/syscall.h: ...here.
5641
8be9b48b
JJ
56422001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
5643
5644 * libc/include/machine/ieeefp.h: Add support for mmix target.
5645 * libc/include/machine/setjmp.h: Ditto.
5646 * configure.host: Ditto.
5647 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
5648 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
5649 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
5650 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
5651 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
5652 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
5653 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
5654 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
5655 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
5656 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
5657 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
5658 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
5659 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
5660 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
5661 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
5662 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
5663 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
5664 libc/sys/mmixware/aclocal.m4: Generate.
5665
c7dd4f95
CV
56662001-11-05 Corinna Vinschen <corinna@vinschen.de>
5667
5668 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
5669 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
5670 when __CYGWIN__ is defined.
5671 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
5672 logwtmp().
5673
a6a6f9fe
JJ
56742001-11-01 Arati Dikey <aratidikey@hotmail.com>
5675
5676 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
5677 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
5678 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
5679 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
5680
d0504c35
JJ
56812001-10-24 Christopher Faylor <cgf@redhat.com>
5682
5683 * libc/stdio/fseek.c: Reset pointer to buffer base
5684 when forced to seek outside of current buffer contents.
5685 This prevents the code from erroneously thinking there is
5686 anything in the current buffer.
5687
0280c8c0
GK
56882001-10-22 Geoffrey Keating <geoffk@redhat.com>
5689
5690 * libc/include/math.h: The C++ standard adds the single-precision
5691 versions of the elementary functions.
5692
333d6098
CF
56932001-10-22 Christopher Faylor <cgf@redhat.com>
5694
5695 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
5696 throughout.
5697 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
5698 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
5699 * system.c (_system_r): Ditto.
5700
c7118319
CV
57012001-10-17 Corinna Vinschen <corinna@vinschen.de>
5702
5703 * libc/include/sys/unistd.h: Add prototype for fchdir() when
b4e98df6 5704 __CYGWIN__ or __rtems__ is defined.
c7118319 5705
5665b0e1
JJ
57062001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
5707
5708 * libc/include/stdlib.h: add declarations for
5709 _strtoull_r, _strtoll_r, strtoull, and strtoll.
5710 * libc/stdio/local.h: remove declarations of
5711 __strtoull_r and __strtoll_r.
5712 * libc/stdio/vfscanf.c(__svfscanf_r): call
5713 _strtoull_r instead of __strtoull_r. Ditto
5714 _strtoll_r vs. __strtoll_r.
5715 * libc/stdlib/Makefile.am: add new files to
5716 .c list and .def list
5717 * libc/stdlib/Makefile.in: regenerate
5718 * libc/stdlib/strtoll_r.c: rename __strtoll_r
5719 as _strtoll_r
5720 * libc/stdlib/strtoull_r.c: rename __strtoull_r
5721 as _strtoull_r
5722 * libc/stdlib/strtoull.c: new file
5723 * libc/stdlib/strtoll.c: new file
5724
d2d5eb41
CF
5725Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
5726
5727 * libc/include/process.h: Add getpid() declaration.
5728
448e3c14
NC
57292001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
5730
5731 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
5732 for new style arm/elf ctor/dtor handling.
5733 Minor formatting tidy up.
5734
7a2afbbb
JJ
57352001-09-13 Jeff Johnston <jjohnstn@redhat.com>
5736
5737 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
5738 and strtoull_r.c.
5739 * libc/stdlib/Makefile.in: Regenerated.
5740 * libc/stdlib/strtoll_r.c: New file.
5741 * libc/stdlib/strtoull_r.c: New file.
5742 * libc/stdio/local.h: Add prototypes for long long string
5743 conversion routines.
5744 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
5745 tied to %L integer conversion specifier.
5746
6342caa4
JJ
5747Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
5748
5749 * strftime.c (strftime): Fix "%W" implementation to properly handle
5750 Mondays too.
5751
b2d319cb
JJ
57522001-09-07 Jeff Law <law@redhat.com>
5753
5754 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
5755 __fini with "mov.l" instead of "mov.w".
5756
233823ba
CV
57572001-09-05 Corinna Vinschen <corinna@vinschen.de>
5758
5759 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
5760 and getopt.h.
5761
63c17b54
JJ
57622001-09-04 Jason Merrill <jason_merrill@redhat.com>
5763
5764 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
5765
a3e67ddf
CV
57662001-09-03 Corinna Vinschen <corinna@vinschen.de>
5767
5768 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
5769 field.
5770 (__DIRENT_VERSION): New define.
5771
6d47f33a
CV
57722001-09-03 Corinna Vinschen <corinna@vinschen.de>
5773
5774 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4f79e37e
CV
5775 Shrink __d_reserved accordingly to keep structure size.
5776 (dirfd): Declare external.
6d47f33a 5777
348c5e06
JJ
57782001-08-29 Joel Sherrill <joel@OARcorp.com>
5779
5780 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
5781
57822001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
5783
5784 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
5785 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
5786 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
5787 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
5788 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
5789 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
5790 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
5791 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
5792 Add conditional compilation to avoid HW FPU instructions
5793 when compiled for soft-float.
5794
f29865c5
JJ
57952001-08-29 Jeff Johnston <jjohnstn@redhat.com>
5796
5797 * Makefile.am: Add check for ln failing when creating libg.a
5798 so that cp gets used as a backup.
5799 * Makefile.in: Regenerated.
5800
9e2a4ef8
JJ
58012001-08-29 Jeff Johnston <jjohnstn@redhat.com>
5802
5803 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
5804 No longer include time.h. Add struct __tm to use for
5805 _localtime_buf in the reentrant structure. Add a
5806 _NULL definition to use in initializing the reentrant struct.
5807 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
5808 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
5809 <sys/_types.h>.
5810 * libc/include/sys/unistd.h: Include <sys/_types.h>.
5811 * libc/time/lcltime.c (localtime): Cast the reentrant struct
5812 _localtime_buf to be struct tm *.
5813
1ae900d6
JR
5814Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
5815
5816 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
5817 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
5818 __ctors_end.
5819 * libc/sys/h8300hms/syscalls.c: Include errno.h.
5820 (_unlink): New stub function.
5821
8e26d5b5
CF
5822Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
5823
5824 * libc/include/sys/errno.h: Add a cautionary comment.
5825
e8267664
JJ
58262001-08-21 Jeff Johnston <jjohnstn@redhat.com>
5827
5828 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
5829 for SIZE_SZ so that alignment ends up a minimum of 8.
5830
4acf3edf
CF
5831Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
5832
5833 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
5834 arguments.
5835
5836 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
5837 Cygwin.
5838
52c80be8
JJ
58392001-08-13 Jeff Johnston <jjohnstn@redhat.com>
5840
5841 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
5842 macro constants for mallopt options.
5843 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
5844
a7061f7f
JJ
58452001-08-02 Jeff Johnston <jjohnstn@redhat.com>
5846
5847 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
5848 otherwise default.
5849
0b4bfdd5
AH
58502001-07-12 Aldy Hernandez <aldyh@redhat.com>
5851
5852 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
5853
2b6b730c
NC
58542001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
5855
5856 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
5857 Define for little endian ARMs.
5858
5859 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
5860 __IEEE_BYTES_LITTLE_ENDIAN is defined.
5861
25842b68
JJ
58622001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
5863
5864 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
5865
371b76ef
JJ
58662001-06-11 Egor Duda <deo@logos-m.ru>
5867
5868 * libc/ctype/ctype_.c: When compiled with gcc on platforms
5869 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
5870 initialized memory region. Platform can define COMPACT_CTYPE
5871 to avoid allocation of the additional 128 bytes of data.
5872 Add pointer to _ctype_ array. Always initialize all _ctype_
5873 array elements.
5874
43b44bc5
JL
58752001-06-08 Jonathan Larmour <jlarmour@redhat.com>
5876
5877 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
5878 NULL pointer.
5879
188bc140
NC
58802001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
5881
5882 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
5883
2ce88418
NC
58842001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
5885
5886 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
5887 matching, non-word alignment, and the length is <= 4 but more than
5888 enough to move them over a word boundary.
5889 Add comments explaining what each instruction does.
5890
ca60ed47
CF
5891Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
5892
5893 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
c63e9997 5894 * libc/include/sys/unistd.h: Ditto.
ca60ed47 5895
8b3bcfba
JJ
58962001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
5897
5898 * libc/string/strrchr.c: Use strchr for the speed improvements.
5899
b09e3cf8
JJ
59002001-05-01 Jeff Johnston <jjohnstn@redhat.com>
5901
5902 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
5903 real file systems, let __smakebuf() determine if line buffering
5904 should be used for stdout.
5905
0ca66974
JJ
59062001-04-27 Jeff Johnston <jjohnstn@redhat.com>
5907
5908 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
5909
7cb7017a
JJ
59102001-04-27 Jeff Johnston <jjohnstn@redhat.com>
5911
5912 * libc/include/stdlib.h: Add prototype for _strtod_r.
5913
a874cd21
JJ
59142001-04-24 Charles Wilson <cwilson@ece.gatech.edu
5915
5916 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
5917 * libc/stdio/vprintf.c (_vprintf_r): new function
5918 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
5919 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
5920 _DEFUN, and call _vfprintf_r, not vfprintf.
5921 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
5922 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
5923 _DEFUN, and call _vfprintf_r, not vfprintf.
5924
cb4cc283
CF
59252001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
5926
5927 * libc/include/sys/unistd.h [X_OK]: Use better protection against
5928 Cygwin X_OK definitions in sys/file.h.
5929
8c9df1d5
CF
5930Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
5931
5932 * libc/include/sys/time.h: Define timercmp and other macros for
5933 __CYGWIN__, too.
5934
3ac6f3a7
JJ
59352001-04-20 Jeff Johnston <jjohnstn@redhat.com>
5936
5937 * acinclude.m4: Added --enable-malloc-debugging configure flag.
5938 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
5939 --enable-malloc-debugging selected.
5940 * aclocal.m4 configure: Regenerated.
5941 libm/aclocal.m4 libm/configure: Ditto.
5942 * libc/aclocal.m4 libc/configure: Ditto.
5943 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
5944 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
5945 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
5946 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
5947 * doc/aclocal.m4 doc/configure: Ditto.
5948
52cb9e69
JJ
59492001-04-20 Jeff Johnston <jjohnstn@redhat.com>
5950
5951 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
5952 into one list.
5953 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
5954 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
5955 function prototypes.
5956 (_fscanf_r, _sscanf_r): Ditto.
5957 * libc/include/stdlib.h: Added _strtod_r prototype.
5958 * libc/stdio/Makefile.am: Add new v*scanf functions.
5959 * libc/stdio/Makefile.in: Regenerate.
5960 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
5961 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
5962 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
5963 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
5964 (sscanf): Changed to call __svfscanf_r with _REENT argument.
5965 (_sscanf_r): New routine.
5966 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
5967 with __svfscanf_r prototype.
5968 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
5969 routines.
5970 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
5971 structure as argument as calls reentrant versions of helper functions
5972 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
5973 to _strtol_r and _strtod_r respectively.
5974 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
5975 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
5976 _REENT argument.
5977 * libc/stdio/vscanf.c: New file.
5978 * libc/stdio/vsscanf.c: Ditto.
5979
ee9f39fb
JJ
59802001-04-19 Robert Collins <rbtcollins@hotmail.com>
5981
5982 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
5983 Define daylight to _daylight if it is not defined
5984 Prepare a variable export of timezone based on timezonevariable.
5985 (Cannot be used with the timezone() function.)
5986
273861e3
JJ
59872001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
5988
5989 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
5990 Correct the numerical values.
5991
a25b8414
CF
59922001-04-13 Robert Collins <rbtcollins@hotmail.com>
5993
5994 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
5995
b8a8c59d
CV
5996Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
5997
5998 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
5999 on case insensitve file systems.
6000
74f8cc63
CF
60012001-04-12 Robert Collins <rbtcollins@hotmail.com>
6002
6003 * libc/include/sys/features.h: Add appropriate defines for Cygwin
6004 pthread support.
6005 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
6006 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
6007 types. Include <cygwin/types.h> for the cygwin specific typedefs.
6008
16740220
RS
60092001-04-04 Richard Sandiford <rsandifo@redhat.com>
6010
6011 * libc/include/machine/ieeefp.h: Comment about new configuration
6012 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
6013 * libm/common/fdlib.h: Define new macros for testing floats.
6014 * libm/common/sf_*: Use them.
6015 * libm/math/ef_*: Likewise.
6016 * libm/math/sf_*: Likewise.
6017
0694d8d3
JJ
60182001-03-29 Jeff Johnston <jjohnstn@redhat.com>
6019
6020 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
6021 prolog to by-pass possible assembler error.
6022
4833b38c
JJ
60232001-03-21 Egor Duda <deo@logos-m.ru>
6024
6025 Allow building internal stubs for non-reentrant syscalls
6026 if target provides its own malloc
6027 * libc/reent/reent.c (errno): Move definition here.
6028 * libc/reent/sbrkr.c: From here.
6029
d17d6d42
CF
60302001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
6031
6032 * libc/include/sys/types.h (BSD int typedefs): Guard with
6033 _BSDTYPES_DEFINED rather than _WINSOCK_H.
6034 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
6035 _SYS_TYPES_FD_SET.
6036 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
6037 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
6038
c7ee75cd
CV
6039Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
6040
6041 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
6042 _PC_POSIX_SECURITY constants for Cygwin.
6043
63dc5d80
CV
6044Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
6045
6046 * libc/sys/cygwin/crt0.c: Add copyright hint.
6047 * libc/sys/cygwin/sys/dirent.h: Ditto.
6048 * libc/sys/cygwin/sys/param.h: Ditto.
6049 * libc/sys/cygwin/sys/utime.h: Ditto.
6050 * libc/sys/cygwin/sys/utmp.h: Ditto.
6051
6f637037
AO
60522001-03-13 Alexandre Oliva <aoliva@redhat.com>
6053
6054 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
6055 equivalent to LONGINT.
6056
e69b6f73
JJ
60572001-03-08 Richard Sandiford <rsandifo@redhat.com>
6058
6059 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
6060 jmpbuf on MIPS64 targets.
6061 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
6062
6198dece
CF
6063Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
6064
e69b6f73
JJ
6065 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
6066 declarations.
6198dece 6067
cfc05d96
JJ
6068Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
6069
6070 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
6071 For RTEMS, define to be ssize_t. Default to int if not defined.
6072 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
6073 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
6074 * libc/stdio/local.h (__sread, __swrite): Likewise.
6075 * libc/include/sys/reent.h (_read, _write): Likewise.
6076 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
6077 * libc/syscalls/sysread.c (read): Likewise.
6078 * libc/syscalls/syswrite.c (write): Likewise.
6079
6249353a
JJ
60802001-03-05 Jeff Johnston <jjohnstn@redhat.com>
6081
6082 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
6083
658b5db9
CF
6084Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
6085
6086 * libc/include/sys/stat.h: Use special defines for executable stat bits
6087 when compiling for Cygwin.
6088 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
6089 for Cygwin.
6090
19ca46d5
JJ
60912001-03-02 Jeff Johnston <jjohnstn@redhat.com>
6092
6093 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
6094 of strtok_r is always defined.
6095
b73ed85e
JJ
60962001-03-02 Jeff Johnston <jjohnstn@redhat.com>
6097
6098 * libc/include/machine/ansi.h: New dummy header file.
6099
ee37ede1
JJ
61002001-02-22 Jeff Johnston <jjohnstn@redhat.com>
6101
6102 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
6103 changed the copyright information to allow free modification of the
6104 file with no reference to "copying.dj".
6105 * libc/include/sys/stat-dj.h: Ditto.
6106 * libc/machine/i386/setjmp.S: Ditto.
6107 * libc/sys/h8300hms/sys/file.h: Ditto.
6108 * libc/sys/sysmec/access.c: Ditto.
6109 * libc/sys/sysnecv850/access.c: Ditto.
6110 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
6111 * libc/stdlib/getenv_r.c: Ditto.
6112 * libc/stdlib/putenv_r.c: Ditto.
6113 * libc/stdlib/setenv_r.c: Ditto.
6114 * libc/stdlib/getenv.c: Removed DJ reference since any possible
6115 modifications will now be in the _r version of this file.
6116 * libc/stdlib/putenv.c: Ditto.
6117 * libc/stdlib/setenv.c: Ditto.
6118 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
6119 valid. Added a reference to DJ's web page that contains his address.
6120 * libc/sys/go32/*.s: Removed references to DJ's old address.
6121 * libc/sys/go32/*.c: Ditto.
6122 * libc/sys/go32/*.h: Ditto.
6123 * libc/sys/go32/*.S: Ditto.
6124 * libc/sys/go32/sys/*.h: Ditto.
6125
3a8fc0e4
JJ
61262001-02-21 Jeff Johnston <jjohnstn@redhat.com>
6127
6128 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
6129 HAVE_FCNTL flag check.
6130 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
6131 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
6132
b24ee749
CF
6133Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
6134
6135 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
6136
ab4745dc
JJ
61372001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
6138
6139 * libc/include/stdlib.h: Add declarations of rand48 functions and
6140 their reentrant versions.
6141 * libc/include/sys/reent.h: Move macros from rand48.h. Add
6142 struct _rand48 for shared parameters of rand48 functions.
6143 (struct _reent): Add a variable _r48 of struct _rand48.
6144 (_REENT_INIT): Add _r48 initialization.
6145 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
6146 (CHEWOUT_FILES): Add rand48.def.
6147 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
6148 * libc/stdlib/Makefile.in: Regenerated.
6149 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
6150 NetBSD C library.
6151 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
6152 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
6153 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
6154 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
6155 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
6156 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
6157 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
6158 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
6159 * libc/stdlib/rand48.c (__dorand48): Ditto.
6160 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
6161 parameters into macros referring them in the reentrant structure.
6162
a34c461f
JJ
61632001-02-12 Jeff Johnston <jjohnstn@redhat.com>
6164
6165 * libc/include/sys/stat.h: Add mknod for Cygwin now that
6166 Cygwin definition has correct prototype.
6167
34f31ff2
JJ
61682001-02-08 Jeff Johnston <jjohnstn@redhat.com>
6169
6170 * libc/include/sys/stat.h: Must revert change for mknod
6171 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
6172 prototype.
6173
5336d6de
JJ
61742001-02-08 Jeff Johnston <jjohnstn@redhat.com>
6175
6176 * libc/include/stdio.h: Revert putw prototype.
6177
8915d10a
JJ
61782001-02-08 Edward M. Lee <tailbert@yahoo.com>
6179
6180 * libc/include/grp.h: add prototype for initgroups.
6181 * libc/include/stdio.h: fix prototype for putw.
6182 * libc/include/sys/signal.h: add prototype for killpg.
6183 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
6184 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
6185 vhangup and remove duplicate sysconf prototype.
6186
93ac4487
JJ
61872001-02-07 Jeff Johnston <jjohnstn@redhat.com>
6188
6189 * libc/sys/rtems/sys/types.h: Removed.
6190
31f5feea
JJ
61912001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
6192
6193 * libc/include/locale.h: add LC_MESSAGES definition
6194
b5139f59
AO
61952001-02-01 Alexandre Oliva <aoliva@redhat.com>
6196
6197 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
6198 SYS_get_argN):
6199 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
6200 __setup_argv_and_call_main): New.
6201
e29d8355
JJ
62022001-01-31 Jeff Johnston <jjohnstn@redhat.com>
6203
6204 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
6205 if defined.
6206 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
6207 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
6208 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
6209 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
6210
82ea92f3
CF
6211Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
6212
6213 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
6214 compiling under Cygwin.
6215
3aaa66f8
JJ
62162001-01-29 Jeff Johnston <jjohnstn@redhat.com>
6217
6218 * libc/include/math.h (signgam): Change to errno-like solution
6219 using a function to return the address of the real signgam.
6220 * libc/reent/signgam.c: New file containing __signgam().
6221 * libc/reent/Makefile.am: Added signgam.c to list of files.
6222 * libc/reent/Makefile.in: Regenerated.
6223
610b895a
AO
62242001-01-25 Alexandre Oliva <aoliva@redhat.com>
6225
b0913397
AO
6226 * libc/sys/sh/syscalls.c (_times): New.
6227
610b895a
AO
6228 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
6229 * libc/sys/sh/syscalls.c (_gettimeofday): New.
6230
3643210e
JJ
62312001-01-23 Jeff Johnston <jjohnstn@redhat.com>
6232
6233 * libc/include/math.h (signgam): Regress previous fix as
6234 it does not handle programs with extern int signgam in them.
6235
841081c9
JJ
62362001-01-23 Jeff Johnston <jjohnstn@redhat.com>
6237
6238 * libc/include/math.h (signgam): Changed to a macro refering to
6239 its location in the reentrant structure.
6240
e9cd87b8
JJ
62412001-01-23 Jeff Johnston <jjohnstn@redhat.com>
6242
6243 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
6244 that suppressed . for %.0f, 0.1. Check now looks if there
6245 are padding zeroes (expt) in addition to any digits (ndig) to
6246 print.
6247
a302b48c
JJ
62482001-01-18 Jeff Johnston <jjohnstn@redhat.com>
6249
6250 * libc/sys/arc/Makefile.am: New file.
6251 * libc/sys/arc/Makefile.in: Ditto.
6252 * libc/sys/arc/aclocal.m4: Ditto.
6253 * libc/sys/arc/configure: Ditto.
6254 * libc/sys/arc/configure.in: Ditto.
6255 * libc/sys/arc/crt0.S: Ditto.
6256 * libc/sys/arc/isatty.c: Ditto.
6257 * libc/sys/arc/mem-layout.c: Ditto.
6258 * libc/sys/arc/sbrk.c: Ditto.
6259 * libc/sys/arc/syscalls.c: Ditto.
6260 * libc/sys/arc/sys/syscall.h: Ditto.
6261
d0319c3b
CF
6262Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
6263
6264 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
6265
e45ab890
CF
6266Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
6267
6268 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
6269
1376245a
DD
6270Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
6271
6272 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
6273
92b57543
NC
62742001-01-09 Nick Clifton <nickc@redhat.com>
6275
6276 * configure.host (v859): Remove unsupported compiler options.
6277
7d6d33d4
JJ
6278Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
6279
6280 * src/newlib/configure.host (*-*-rtems*): add printf long long
6281 support for RTEMS.
6282
602f8b5a 62832000-12-19 Graham Stott <grahams@redhat.com>
6286746a
NC
6284
6285 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
6286
9c2b8183
JJ
6287Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
6288
6289 * configure.host: Turn on long double I/O for Cygwin.
6290
804368d3
JJ
6291Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
6292
6293 * MAINTAINERS: Removed Ranjith.
6294 * NEWS: Updated for 1.9.0.
6295 * README: Updated.
6296 * acinclude.m4: Updated to release 1.9.0.
6297 * aclocal.m4 configure
6298 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
6299 libc/machine/aclocal.m4 libc/machine/configure
6300 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
6301 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
6302 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
6303 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
6304 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
6305 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
6306 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
6307 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
6308 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
6309 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
6310 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
6311 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
6312 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
6313 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
6314 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
6315 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
6316 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
6317 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
6318 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
6319 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
6320 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
6321 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
6322 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
6323 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
6324 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
6325 libc/sys/aclocal.m4 libc/sys/configure
6326 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
6327 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
6328 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
6329 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
6330 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
6331 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
6332 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
6333 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
6334 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
6335 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
6336 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
6337 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
6338 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
6339 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
6340 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
6341 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
6342 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
6343 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
6344 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
6345 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
6346 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
6347 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
6348 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
6349 libm/aclocal.m4 libm/configure: Regenerated.
6350
0985d43f
CV
6351Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
6352
6353 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
6354 when __CYGWIN__ is defined.
6355
b6182a09
JJ
63562000-12-13 Jeff Johnston <jjohnstn@redhat.com>
6357
6358 * libc/stdlib/ldtoa.c (_ldcheck): New routine
6359 that categorizes a long double as NaN, Infinity, or other.
6360 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
6361 isinfl and isnanl static routines which were i386-specific. Changed
6362 calls to the two removed routines to a single _ldcheck call.
6363 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
6364
adbbb034
JJ
63652000-12-13 Jeff Johnston <jjohnstn@redhat.com>
6366
6367 * Makefile.am: Fixed install-data-local target to use
6368 $(mkinstalldirs) for the installed header files to ensure
6369 the directories exist before copying.
6370 * Makefile.in: Regenerated.
6371
cbd19336
JJ
63722000-12-12 Jeff Johnston <jjohnstn@redhat.com>
6373
6374 * libc/include/sys/unistd.h: Restored Cygwin _SC
6375 constants and moved new constants appropriately
6376 so Cygwin will build.
6377
8fb37963
JJ
63782000-12-11 Joel Sherrill <joel@OARcorp.com>
6379
6380 * Merge RTEMS specific .h files into main libc/include.
6381 * libc/sys/rtems/include/signal.h: Removed.
6382 * libc/sys/rtems/include/time.h: Removed.
6383 * libc/sys/rtems/sys/features.h: Removed.
6384 * libc/sys/rtems/sys/sched.h: Removed.
6385 * libc/sys/rtems/sys/siginfo.h: Removed.
6386 * libc/sys/rtems/sys/signal.h: Removed.
6387 * libc/sys/rtems/sys/time.h: Removed.
6388 * libc/sys/rtems/sys/times.h: Removed.
6389 definitions for time_t and clock_t since these are
6390 no longer in time.h.
6391 * libc/include/pthread.h: New file.
6392 * libc/include/sys/sched.h: New file.
6393 * libc/include/sys/features.h: New file.
6394 * libc/include/time.h: Removed duplicate definition of clock_t
6395 and time_t, get them from <sys/types.h> instead. Add prototypes
6396 for POSIX clock and timer functionality.
6397 * libc/sys/linux/sys/types.h: Changed to include
6398 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
6399 * libc/include/sys/signal.h: Add more complete set of POSIX
6400 signal functionality including real-time and threaded signals.
6401 * libc/include/sys/types.h: Add clock_t, time_t, struct
6402 timespec, and struct itimerspec. Centralizing these makes
6403 things cleaner. RTEMS uses 64-bit dev_t.
6404 Added numerous primitive definitions
6405 for pthreads including macros, pthread_attr_t,
6406 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
6407 pthread_once_t, and pthread_t.
6408 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
6409 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
6410 Feature flags removed and moved to new file <sys/features.h>.
6411 Full set of POSIX sysconf() constants
6412
2efbc2a7
JJ
64132000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
6414
6415 * configure.host: Added x86 linux target.
6416 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
6417 definitions provided if not already defined.
6418 * libc/sys/linux/crt0.c: New file.
6419 * libc/sys/linux/Makefile.am: Ditto.
6420 * libc/sys/linux/Makefile.in: Ditto.
6421 * libc/sys/linux/aclocal.m4: Ditto.
6422 * libc/sys/linux/brk.c: Ditto.
6423 * libc/sys/linux/configure: Ditto.
6424 * libc/sys/linux/configure.in: Ditto.
6425 * libc/sys/linux/getoptlong.c: Ditto.
6426 * libc/sys/linux/ids.c: Ditto.
6427 * libc/sys/linux/inode.c: Ditto.
6428 * libc/sys/linux/io.c: Ditto.
6429 * libc/sys/linux/linux.c: Ditto.
6430 * libc/sys/linux/process.c: Ditto.
6431 * libc/sys/linux/realpath.c: Ditto.
6432 * libc/sys/linux/select.c: Ditto.
6433 * libc/sys/linux/signal.c: Ditto.
6434 * libc/sys/linux/systat.c: Ditto.
6435 * libc/sys/linux/termios.c: Ditto.
6436 * libc/sys/linux/time.c: Ditto.
6437 * libc/sys/linux/wait.c: Ditto.
6438 * libc/sys/linux/include/alloca.h: Ditto.
6439 * libc/sys/linux/include/getopt.h: Ditto.
6440 * libc/sys/linux/include/stdint.h: Ditto.
6441 * libc/sys/linux/include/unistd.h: Ditto.
6442 * libc/sys/linux/sys/cdefs.h: Ditto.
6443 * libc/sys/linux/sys/dirent.h: Ditto.
6444 * libc/sys/linux/sys/errno.h: Ditto.
6445 * libc/sys/linux/sys/fcntl.h: Ditto.
6446 * libc/sys/linux/sys/file.h: Ditto.
6447 * libc/sys/linux/sys/ioctl.h: Ditto.
6448 * libc/sys/linux/sys/resource.h: Ditto.
6449 * libc/sys/linux/sys/signal.h: Ditto.
6450 * libc/sys/linux/sys/stat.h: Ditto.
6451 * libc/sys/linux/sys/syscall.h: Ditto.
6452 * libc/sys/linux/sys/termios.h: Ditto.
6453 * libc/sys/linux/sys/time.h: Ditto.
6454 * libc/sys/linux/sys/types.h: Ditto.
6455 * libc/sys/linux/sys/utmp.h: Ditto.
6456 * libc/sys/linux/sys/utsname.h: Ditto.
6457 * libc/sys/linux/sys/wait.h: Ditto.
6458
a08c98bb
JJ
64592000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
6460
6461 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
6462 can be a relative path to $(top_srcdir)/install.sh so ensure the
6463 autoconf detected settings are properly passed recursively.
6464 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
6465 properly to subdirectories.
6466 * Makefile.in: Regenerated.
6467
b294082c
JJ
64682000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
6469
6470 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
6471 a floating point register unless really printing a floating
6472 point number.
6473
2005ab6b
JJ
64742000-12-07 Jeff Johnston <jjohnstn@redhat.com>
6475
6476 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
6477 Also removed \r's.
6478 (asctoeg): Replaced alloca call with stack array and malloc
6479 when storage exceeds reasonable limit.
6480 (e53toe): Fixed einfin calls missing ldp parameter.
6481 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
6482
9f6e8f1b
JJ
64832000-12-06 Jeff Johnston <jjohnstn@redhat.com>
6484
2005ab6b 6485
9f6e8f1b
JJ
6486 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
6487
6bdac416
JJ
64882000-12-06 Jeff Johnston <jjohnstn@redhat.com>
6489
6490 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
6491 * libc/stdlib/Makefile.in: Regenerated.
6492 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
6493 * libc/stdio/vfieeefp.h: Added long double bit structures.
6494 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
6495 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
6496 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
6497 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
6498 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
6499 _strtold routines used for conversions between character
6500 and long double.
6501
ec270d31
CV
6502Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
6503
6504 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
6505
db2d9549
JJ
65062000-12-04 Joel Sherrill <joel@OARcorp.com>
6507
6508 * libc/include/machine/time.h: RTEMS systems can configure clock
6509 tick rate so use sysconf() to ask.
6510
6ba54a15
JJ
65112000-12-04 Joel Sherrill <joel@OARcorp.com>
6512
6513 * libc/include/sys/times.h: Add reference to POSIX standard.
6514
8677b819
JJ
65152000-12-04 Joel Sherrill <joel@OARcorp.com>
6516
6517 * libc/include/sys/time.h: Added BSD timer manipulation macros
6518 used by RTEMS code.
6519
1b61a706
JJ
65202000-12-04 Joel Sherrill <joel@OARcorp.com>
6521
6522 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
6523 referenced by code generated by gcc 2.8.1.
6524 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
6525 satisfy gcc.
6526
f5e7c124
JJ
65272000-12-04 Joel Sherrill <joel@OARcorp.com>
6528
6529 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
6530
768abc9c
JJ
65312000-12-04 Joel Sherrill <joel@OARcorp.com>
6532
6533 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
6534
9e5dd5ea
JJ
65352000-12-04 Joel Sherrill <joel@OARcorp.com>
6536
6537 * configure.host (or16, or32): New entries for OpenCores
6538 OpenRisc CPUs.
6539 (*-*-rtems*): Add -DNO_EXEC.
6540
768abc9c 65412000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f
JJ
6542
6543 * libc/include/sys/errno.h: Added comments on many error numbers.
6544 * libc/string/strerror.c: Added some more strings.
6545
b273323f
JJ
65462000-11-30 Jeff Johnston <jjohnstn@redhat.com>
6547
6548 * libc/sys/sh/syscalls.c (_link): New stub.
6549
0ffc3b94
NC
65502000-11-29 Nick Clifton <nickc@redhat.com>
6551
6552 * configure.host: Add xscale target.
6553 * libc/machine/xscale: New directory.
6554 * libc/machine/xscale/Makefile.am: New file.
6555 * libc/machine/xscale/Makefile.in: New file.
6556 * libc/machine/xscale/aclocal.m4: New file.
6557 * libc/machine/xscale/configure: New file.
6558 * libc/machine/xscale/configure.in: New file.
6559 * libc/machine/xscale/memchr.S: New file.
6560 * libc/machine/xscale/memcmp.S: New file.
6561 * libc/machine/xscale/memcpy.S: New file.
6562 * libc/machine/xscale/memmove.S: New file.
6563 * libc/machine/xscale/memset.S: New file.
6564 * libc/machine/xscale/strchr.S: New file.
6565 * libc/machine/xscale/strcmp.S: New file.
6566 * libc/machine/xscale/strcpy.S: New file.
6567 * libc/machine/xscale/strlen.S: New file.
6568
cbbf0f96
CV
6569Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
6570
6571 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
6572 avoid compiler warnings.
6573
73dea790
MM
65742000-11-22 Michael Meissner <meissner@redhat.com>
6575
6576 * libc/posix/execl.c (execl): Don't reference environ directly,
6577 reference it only via a static pointer to avoid problems with some
6578 shared library systems and with different uses of small data where
6579 the user specifies his own version of environ.
6580 * libc/posix/execv.c (execv): Ditto.
6581 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
6582 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
6583 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
6584
6585 * libc/stdlib/getenv.c (environ): Delete unused reference to
6586 environ.
6587
6588 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
6589 colorization.
6590 * libc/stdlib/system.c: Ditto.
6591
08eac2ae
CF
6592Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
6593
6594 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
6595 including windows headers.
6596
5478bf37
JJ
65972000-11-20 Jeff Johnston <jjohnstn@redhat.com>
6598
6599 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
6600 * libc/include/dirent.h: Added definition of MAXNAMLEN if
6601 not defined by sys/dirent.h.
6602 * libc/posix/execvp.c: Added include of dirent.h to get
6603 MAXNAMLEN value which used to be in unistd.h.
6604
3a760728
CV
6605Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
6606
6607 * libc/include/sys/types.h: Change type of i to `size_t' in
6608 FD_ZERO macro to avoid compiler warnings.
6609
86fff69f
CF
6610Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
6611
6612 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
6613 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
6614
ba9e88d2
CV
6615Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
6616
6617 * libc/include/sys/unistd.h: Add defines for sysconf values
6618 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
6619 _SC_AVPHYS_PAGES.
6620
a8018ef3
CF
6621Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
6622
6623 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
6624 declarations for __CYGWIN__.
6625
b944c6f6
GK
66262000-09-19 Geoffrey Keating <geoffk@cygnus.com>
6627
6628 * libc/signal/signal.c (__sigtramp_r): ISO C requires
6629 case labels to be integral constant expressions, so
6630 use an if/else tree instead.
6631 (_raise_r): Likewise.
6632
7f18fcb4
JJ
66332000-09-13 Jeff Johnston <jjohnstn@redhat.com>
6634
6635 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
6636 clipping patch from e-mail reader.
6637
242361df
JJ
66382000-09-13 Will Cohen <wcohen@redhat.com>
6639
6640 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
6641 Added return value 0.
6642 (_longjmp): Allow longjmp to return value of second argument
6643 passed to it.
6644
8a8c59b9
JJ
66452000-09-06 Jeff Johnston <jjohnstn@redhat.com>
6646
6647 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
6648 inline code to prevent having to include another header file.
6649
a385ae75
CF
6650Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
6651
6652 * Makefile.am: Fix space vs. tab problem in install-data-local.
6653 * Makefile.in: Regenerate.
6654
6655Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
6656
6657 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
6658 (_EXPARM): New macro for defining a function parameter.
6659 * libc/include/stdlib.h: Use _EXPARM.
6660 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
6661
a36cd013
JJ
66622000-09-05 Manfred Hollstein <manfredh@redhat.com>
6663
6664 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
6665 required, as documented in the gnu coding standards.
6666 * Makefile.in: Regenerate.
6667
f825dfda
JJ
66682000-09-05 Jeff Johnston <jjohnstn@redhat.com>
6669
6670 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
6671 make O_NDELAY and O_NONBLOCK have the same value.
6672
4ba9aab7
JJ
66732000-08-30 Kazu Hirata <kazu@hxi.com>
6674
6675 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
6676
db7acc38
JJ
66772000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
6678
6679 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
6680 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
6681 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
6682 everywhere else.
6683
44e36af4
GK
66842000-08-30 Geoffrey Keating <geoffk@cygnus.com>
6685
6686 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
6687 * libc/include/string.h: Don't include <sys/types.h>,
6688 as it causes really bad namespace pollution. Don't declare
6689 swab(), it is properly declared in unistd.h.
6690
00a2f168
JJ
66912000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
6692
6693 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
6694 (broken) support for non-existent /etc/passwd field "comment".
6695
6beeb240
JJ
66962000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
6697
6698 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
6699 only if _DIRENT_HAVE_D_NAMLEN is defined.
6700 (alphasort): aligned prototype with
6701 libc/sys/cygwin/sys/dirent.h and simplified function body.
6702 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
6703 long telldir (DIR *) as mentioned in annex B of POSIX.1
6704
ef44da42
JJ
67052000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
6706
6707 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
6708 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
6709 Added __CLI and __STI macros (controlled via
6710 _I386MACH_ALLOW_HW_INTERRUPTS macro).
6711 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
6712 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
6713 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
6714 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
6715 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
6716 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
6717 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
6718 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
6719 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
6720 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
6721 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
6722 for all global entry points.
6723 * libc/machine/i386/setjmp.S: removed code replicated in
6724 libc/machine/i386/i386mach.h and included i386mach.h instead;
6725 Use __CLI and __STI instead of cli and sti.
6726
14d3488d
DD
67272000-08-25 DJ Delorie <dj@redhat.com>
6728
6729 * libc/include/sys/unistd.h (environ): this one isn't from the
6730 DLL, no __IMPORT
6731
c9ca4412
CF
6732Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
6733
6734 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
6735 environ when compiling under cygwin since it is already declared in
6736 unistd.h.
6737
2d5862de
JJ
67382000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
6739
6740 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
6741 like x << y-z to the equivalent x << (y-z).
6742 (d2b): changed if statements with assignment to perform the
6743 assignment prior to the if check.
6744 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
6745 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
6746 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
6747 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
6748 precedence.
6749 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
6750 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
6751 execve.c).
6752 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
6753 precedence.
6754 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
6755 clarify && and || precendence (and to remove pascalism).
6756 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
6757 * libm/math/s_infconst.c: added another pair of braces to all
6758 initializers for __infinity (need three: for __infinity[1] array,
6759 for union __dmath, and for i[2]).
6760
0888fedd
JJ
67612000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
6762
199359f0
JJ
6763 * libc/stdlib/abort.c: changed description: uses "raise" instead of
6764 "getpid" and "kill"; added: uses "write" and "_exit".
6765 Also included unistd.h for "_exit" prototype.
6766 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
6767 reent.h for "_fork_r" and "_wait_r" prototypes.
6768 (do_system): changed extern char *environ[] to POSIX-friendly
6769 extern char **environ.
6770 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
6771 prototypes.
6772 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
6773 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
6774 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
6775 * libc/reent/openr.c: included fcntl.h for "open" prototype.
6776 * libc/reent/signalr.c: included signal.h for "kill" prototype,
6777 unistd.h for "getpid" prototype.
6778 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
6779 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
6780 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
6781 prototype. Also included stdlib.h for "abort", string.h for
6782 "strdup" and "strncmp" prototypes.
6783 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
6784 "strncpy", unistd.h for "read" and "close" prototypes.
6785 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
6786 "strcat" prototypes.
6787
67882000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
6789
0888fedd
JJ
6790 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
6791 used later (ifdef __SCLE)
6792 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
6793 used later (ifdef MB_CAPABLE)
6794 * libc/string/memset.c (memset): removed unused variables "count"
6795 and "unaligned_addr"
6796 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
6797 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
6798 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
6799 and "gid"
6800
a334e5ef
JJ
68012000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
6802
6803 * libc/stdlib/envlock.c: changed documented "__env_lock" and
6804 "__env_unlock" prototype from "void *" or "char *" to
6805 "struct _reent *" to match real function. Also added include
6806 of envlock.h.
6807 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
6808 "__malloc_unlock" prototype from "void *" or "char *" to
6809 "struct _reent *" to match real function.
6810 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
6811 prototypes (for getenv_r.c and setenv_r.c).
6812
644b7f26
DD
68132000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
6814
6815 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
6816 and prototype in cygwin's utmp.h
6817
5bacbf10
JJ
68182000-08-16 Eric Fifer <efifer@sanwaint.com>
6819
6820 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
6821
38a6bf98
NC
68222000-08-09 Nick Clifton <nickc@cygnus.com>
6823
6824 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
6825 epilogue and to allow the functions to be used in a Thumb based
6826 toolchain.
6827
befe0fb3
JJ
68282000-08-08 Jeff Johnston <jjohnstn@redhat.com>
6829
6830 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
6831 so size of 0 results in nothing being written to string.
6832 Also fixed code so that when size is non-zero, there is only
6833 a maximum of size - 1 characters written to the array and
6834 a nul terminator is appended at the end.
6835 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
6836
749d9bcd
DD
68372000-08-01 DJ Delorie <dj@redhat.com>
6838
6839 * libc/include/sys/config.h: define __IMPORT appropriately
6840 * libc/include/ctype.h (_ctype_): use __IMPORT
6841 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
6842 * libc/include/math.h (__mb_cur_max): ditto
6843 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
6844 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
6845 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
6846 * libc/include/unistd.h (environ): ditto
6847
7c110b17
MM
68482000-07-28 Michael Meissner <meissner@redhat.com>
6849
6850 * libc/include/math.h (__infinity): Declare as an array without
6851 bounds to get around small data support. Rewrite Cygwin support
6852 to be more general.
6853 * libm/math/s_infconst.c (__infinity): Ditto.
6854 * libm/mathfp/s_infconst.c (__infinity): Ditto.
6855
bf7be721
CF
6856Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
6857
6858 * libc/include/math.h: Use appropriate dll import linkage for
6859 __infinity under Cygwin.
6860
91a8d90b
DD
68612000-07-13 DJ Delorie <dj@cygnus.com>
6862
6863 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
6864
ba2048d3
JJ
6865Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
6866
6867 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
6868 to argument list for AngelSWI_Reason_GetCmdLine.
6869
4634da64
JJ
6870Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
6871
6872 * configure.host: Add support for AVR target.
6873 * libc/include/machine/ieeefp.h: Likewise.
6874 * libc/include/sys/config.h: Likewise.
6875
b19f72a2
RK
6876Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
6877
6878 * README: Newlib 1.8.2 must be built in a separate directory
6879 than the sources.
6880
a704d94a
JJ
6881Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
6882
6883 * libc/include/sys/reent.h (_rand_next): Added __extension__
6884 qualifier as long long type is not strict ANSI.
6885 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
6886 to long long constant.
6887
b585720b
CV
6888Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
6889
6890 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
6891 `setegid' provided by Cygwin.
6892
01c327ba
CV
6893Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
6894
6895 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
6896 account for Cygwin.
6897
46a43a99
JJ
6898Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
6899
6900 * libc/include/sys/reent.h (_rand_next): Changed to
6901 unsigned long long and moved to end of _reent struct in _new union.
6902 (_REENT_INIT): Changed to move _rand_next initialization.
6903 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
6904 linear congruential algorithm that is used by DJGPP.
6905
a68078cb
RK
6906Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
6907
6908 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
6909 * libc/include/sys/config.h: Define __RAND_MAX.
6910
518882f3
JJ
6911Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
6912
6913 * libc/stdlib/rand_r.c: New algorithm that meets minimal
6914 standard.
6915
d51d968a
CF
6916Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
6917
6918 * libc/include/string.h: Work around problem with strsignal and gdb.
6919
d2dd5765
CF
6920Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
6921
6922 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
6923 * libc/include/malloc.h: Ditto.
6924 * libc/include/process.h: Ditto.
6925 * libc/include/stdio.h: Ditto.
6926 * libc/include/stdlib.h: Ditto.
6927 * libc/include/time.h: Ditto.
6928 * libc/include/machine/setjmp.h: Ditto.
6929 * libc/include/sys/errno.h: Ditto.
6930 * libc/include/sys/signal.h: Ditto.
6931 * libc/include/sys/stat.h: Ditto.
6932 * libc/include/sys/time.h: Ditto.
6933 * libc/include/sys/unistd.h: Ditto.
6934 * libc/include/string.h: Ditto. strsignal should return a const char *.
6935
88870218
JJ
69362000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
6937
6938 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
6939 * libm/common/s_log1p.c (log1p): Likewise.
6940 * libm/common/s_scalbn.c (scalbn): Likewise.
6941 * libm/math/e_log.c: Likewise.
6942 * libm/math/e_asin.c: Likewise.
6943 * libm/math/ef_asin.c: Likewise.
6944 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
6945 * libm/math/e_j1.c (pone, qone): Likewise.
6946 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
6947 * libm/math/ef_j1.c (ponef, qonef): Likewise.
6948 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
6949 * libm/mathfp/e_j1.c (pone, qone): Likewise.
6950 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
6951 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
6952
c4e1aa01
DD
69532000-05-19 DJ Delorie <dj@cygnus.com>
6954
6955 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
6956 (__sread): always read in binary mode
6957 (__swrite): always write in binary mode
6958 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
6959 compatibility issues with different dll versions
6960 * libc/stdio/fopen.c: use __stextmode
6961 * libc/stdio/fdopen.c: ditto
6962 * libc/stdio/freopen.c: ditto
6963 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
6964 * libc/stdio/local.h: declare __stextmode
6965
f4393261
DD
69662000-05-18 DJ Delorie <dj@cygnus.com>
6967
6968 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
6969
2b533fac
JJ
6970Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
6971
6972 * libc/include/ctype.h: Changed tolower and toupper macros
6973 to use __extension__ to prevent pedantic warnings.
6974
75362a76
RK
6975Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
6976
6977 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
6978 structures.
6979
ec463fc7
JW
6980Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
6981
6982 * libc/include/machine/ieeefp.h: Add ia64 support.
6983 * configure.host: Likewise.
6984
f35ceefa
JJ
6985Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
6986
6987 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
6988 month is now padded with space, not zero. This now conforms to
6989 ANSI standard.
6990
b96fca8c
CV
6991Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
6992
6993 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
6994 host or network path") used by cygwin. Add some comments.
6995
49d64538
JJ
6996Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
6997
6998 * libc/include/stdio.h (FILE): define __SCLE for "convert line
6999 endings" for Cygwin.
7000 (__sgetc): convert line endings if needed
7001 (__sputc): ditto
7002 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
7003 * libc/stdio/fopen.c (_fopen_r): ditto
7004 * libc/stdio/freopen.c (freopen): ditto
7005 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
7006 * libc/stdio/fvwrite.c (__sfvwrite): ditto
7007
91fb1e7f
AO
7008Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
7009
7010 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
7011 post-increment when it is worth it, spacewise.
7012
c87be3e4
JJ
7013Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
7014
7015 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
7016 * libc/stdio/findfp.c (std): Added declaration of flags and file.
7017 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
7018 return type.
7019 * libc/stdio/putchar.c (putchar): Added return statement.
7020 * libc/stdio/refill.c (lflush): Added correct parentheses.
7021 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
7022 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
7023 prints long value to use l qualifier.
7024 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
7025 messages and initialized local values: ilim, ilim1, and spec_case.
7026 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
7027 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
7028 * libc/stdlib/mprec.c: Ditto.
7029 * libc/stdlib/setenv_r.c: Ditto.
7030 * libc/stdlib/strtod.c: Ditto.
7031 * libc/stdlib/strtol.c: Ditto.
7032 * libc/stdlib/strtoul.c: Ditto.
7033 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
7034 * libm/common/sf_log1p.c: Ditto.
7035 * libm/common/sf_scalbn.c: Ditto.
7036 * libm/math/ef_log.c: Ditto.
7037
11f5b065
CV
7038Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
7039
7040 * libc/posix/execvp.c (execvp): Check path for
7041 trailing slash.
7042
796e3b20
CV
7043Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
7044
7045 * libc/include/sys/unistd.h: Add prototypes for
7046 fchmod, fchown, lchown.
7047
b489803a
JJ
7048Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
7049
7050 * acinclude.m4: Changed release to 1.8.2.
7051 * aclocal.m4 configure doc/aclocal.m4 doc/configure
7052 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
7053 libc/machine/configure libc/machine/a29k/aclocal.m4
7054 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
7055 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
7056 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
7057 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
7058 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
7059 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
7060 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
7061 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
7062 libc/machine/i386/configure libc/machine/i960/aclocal.m4
7063 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
7064 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
7065 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
7066 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
7067 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
7068 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
7069 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
7070 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
7071 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
7072 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
7073 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
7074 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
7075 libc/machine/v850/configure libc/machine/w65/aclocal.m4
7076 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
7077 libc/machine/z8k/configure libc/sys/aclocal.m4
7078 libc/sys/aclocal.m4 libc/sys/configure
7079 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
7080 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
7081 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
7082 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
7083 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
7084 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
7085 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
7086 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
7087 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
7088 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
7089 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
7090 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
7091 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
7092 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
7093 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
7094 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
7095 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
7096 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
7097 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
7098 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
7099 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
7100 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
7101 libm/aclocal.m4 libm/configure: Regenerated.
7102
79908d67
NC
71032000-03-24 Nick Clifton <nickc@cygnus.com>
7104
7105 * libc/sys/arm/syscalls.c: Fix compile time warnings.
7106 (do_AngelSWI): Add "cc" to list o registers clobbered.
7107
7684ddaf
FN
7108Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
7109
7110 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
7111 information to be clobbered by an Angel C library support syscall.
7112
b8ec20c8
JJ
7113Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
7114
7115 * libc/stdlib/envlock.c: Fixed comment typo.
7116
fae4c299
JJ
7117Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
7118
7119 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
7120 code to update nread as each character is processed instead
7121 of using buffer contents which throw away leading zeroes.
7122
dc98804b
RK
7123Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
7124
7125 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
7126
5ed2f523
JJ
7127Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
7128
7129 * libc/include/string.h: Include <sys/types.h>.
7130
1cf0ee34
AO
7131Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7132
7133 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
7134 with XSH5, not SVID.
7135
e9c94978
JJ
7136Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
7137
7138 * libc/include/string.h: Changed last argument back to ssize_t
7139 to make it compatible with XPG4 definition which is
7140 defined in <unistd.h>. There is a conflict in the SVID 3
7141 and XPG4 definitions and newlib will settle with XPG4.
7142 * libc/string/swab.c: Ditto.
7143
3072163c
JJ
7144Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
7145
7146 * libc/include/string.h: Changed last argument to size_t.
7147 * libc/string/swab.c: Changed last argument to size_t.
7148
f205ea7a
AO
7149Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7150
7151 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
7152 (CHEWOUT_FILES): Added unlinkr.def.
7153 * libc/reent/Makefile.in: Rebuilt.
7154 * libc/sys.tex: Include unlinkr.def.
7155 * libc/reent/linkr.c (_unlink_r): Moved to...
7156 * libc/reent/unlinkr.c: ... new file.
7157
85dd2e5b
AO
7158Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7159
7160 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
7161 (CHEWOUT_FILES): Added swab.def.
7162 * libc/string/Makefile.in: Rebuilt.
7163 * libc/string/string.tex: Include swab.def.
7164 * libc/include/string.h (swab): Declare.
7165 * libc/string/swab.c: New file.
7166
c5053058
AO
7167Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7168
7169 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
7170 (CHEWOUT_FILES): Added getw.def and putw.def.
7171 * libc/stdio/Makefile.in: Rebuilt.
7172 * libc/stdio/stdio.tex: Include getw.def and putw.def.
7173 * libc/stdio/getw.c: New file.
7174 * libc/stdio/putw.c: New file.
7175
dbaf37cf
JJ
7176Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
7177
7178 * libc/stdio/flags.c (__sflags): Added check that mode[1]
7179 is non-null before looking at mode[2].
7180
bc019ef2
RK
7181Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
7182
7183 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
7184 * libm/mathfp/sf_atan.c: Ditto.
7185
7186Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
7187
7188 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
7189
cd641b2d
RK
7190Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
7191
7192 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
7193 _DOUBLE_IS_32BITS.
7194
b0ba0ac2
JJ
7195Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
7196
7197 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
7198 call prior to calling _VFPRINTF_R so reentrant data area is set.
7199 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
7200
8a0efa53
CF
7201Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
7202
7203 * libc/stdio/vfscanf.c (limits.h): #include.
7204 (MAX_LONG_LEN): #define.
7205 (__svfscanf): Handle floating point numbers with arbitrary amounts
7206 of leading zeroes.
7207
72082000-02-15 Nick Clifton <nickc@cygnus.com>
7209
7210 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
7211 zero. Set the blocksize to 1024/
7212
7213Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
7214
7215 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
7216 with line buffering.
7217
7218Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
7219
7220 * acinclude.m4: Changed include directory for winsup headers.
7221 * aclocal.m4 configure libc/aclocal.m4
7222 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
7223 libc/locale/Makefile.in libc/machine/aclocal.m4
7224 libc/machine/configure libc/machine/a29k/aclocal.m4
7225 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
7226 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
7227 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
7228 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
7229 libc/machine/fr30/configure
7230 libc/machine/h8300/aclocal.m4
7231 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
7232 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
7233 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
7234 libc/machine/i386/configure libc/machine/i960/aclocal.m4
7235 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
7236 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
7237 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
7238 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
7239 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
7240 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
7241 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
7242 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
7243 libc/machine/powerpc/configure
7244 libc/machine/sh/aclocal.m4
7245 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
7246 libc/machine/sparc/configure
7247 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
7248 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
7249 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
7250 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
7251 libc/misc/Makefile.in libc/posix/Makefile.in
7252 libc/reent/Makefile.in
7253 libc/signal/Makefile.in
7254 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
7255 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
7256 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
7257 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
7258 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
7259 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
7260 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
7261 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
7262 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
7263 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
7264 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
7265 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
7266 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
7267 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
7268 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
7269 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
7270 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
7271 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
7272 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
7273 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
7274 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
7275 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
7276 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
7277 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
7278 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
7279 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
7280 libm/configure: Regenerated.
7281
7282Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
7283
7284 * libc/stdlib/putenv_r.c (_putenv_r): New file.
7285 * libc/stdlib/strdup_r.c (_strdup_r): New file.
7286 * libc/include/string.h: Added _strdup_r.
7287 * libc/stdlib/putenv.c: Added call to reentrant version.
7288 * libc/stdlib/strdup.c: Ditto.
7289 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
7290 * libc/include/stdlib.h: Ditto.
7291 * libc/stdlib/Makefile.in: Regenerated.
7292 * libc/string/Makefile.in: Regenerated.
7293 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
7294 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
7295 management calls to reentrant versions.
7296 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
7297 * libc/stdlib/wctomb.c: Ditto.
7298 * libc/stdlib/mblen.c: Ditto.
7299 * libc/stdlib/mbstowcs.c: Ditto.
7300 * libc/stdlib/mbtowc.c: Ditto.
7301 * libc/stdlib/getenv.c: Ditto.
7302 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
7303 and _strdup_r.
7304
7305Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
7306
7307 patch from Corinna Vinschen <corinna@vinschen.de>
7308 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
7309
bc019ef2 7310Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
7311
7312 * libm/mathfp/s_atangent.c: Fix exponent calculation.
7313 * libm/mathfp/s_ldexp.c: Ditto.
7314 * libm/mathfp/sf_atangent.c: Ditto.
7315 * libm/mathfp/sf_ldexp.c: Ditto.
7316
7317Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7318
7319 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
7320 * libc/include/locale.h: define NULL to be 0.
7321
7322Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
7323
7324 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
7325 function.
7326
7327Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
7328
7329 * libc/machine/mn10300/setjmp.S: Handle am33.
7330
73311999-11-26 Nick Clifton <nickc@cygnus.com>
7332
7333 * libc/sys/arm/syscalls.c: Add function prototypes.
7334 (stack_ptr): Move declaration before function definitions.
7335
7336Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7337
7338 * NEWS: Updated version information.
7339 * README: Ditto.
7340
7341Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
7342
7343 * libc/machine/i386/strchr.S: Fixed alignment test.
7344
7345Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
7346
7347 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
7348
7349Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
7350
7351 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
7352 ensuring that there is space between the two.
7353
7354Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
7355
7356 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
7357 only.
7358
73591999-10-08 Vadim Egorov <egorovv@1c.ru>
7360
7361 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
7362 section
7363
7364Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
7365
7366 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
7367 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
7368
7369Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
7370 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
7371 per POSIX 1003.1b.
7372 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
7373 per POSIX 1003.1b.
7374
73751999-09-13 DJ Delorie <dj@cygnus.com>
7376
7377 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
7378 also.
7379
7380Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
7381
7382 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
7383 also note BUFSIZ as its size.
7384
7385Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
7386
7387 * configure.host: Corrected feature defines for RTEMS.
7388 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
7389 * libc/include/sys/stat.h: mkfifo() should take const path arg.
7390 * libc/include/sys/unistd.h: pathconf() should take const path arg.
7391 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
7392 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
7393 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
7394 _PC_PRIO_IO, and _PC_SYNC_IO.
7395 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
7396 * libc/machine/m68k/Makefile.in: Regenerated.
7397 * libc/machine/m68k/strcpy.c: New file.
7398 * libc/machine/m68k/strlen.c: New file.
7399 * libc/stdio/tmpnam.c: Always make the returned name usable.
7400 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
7401 * libc/sys/rtems/sys/dirent.h: New file.
7402 * libc/sys/rtems/sys/types.h: Added dev_t.
7403
7404Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
7405
7406 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
7407
7408Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
7409
7410 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
7411 my patch.
7412
7413Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
7414
7415 patch from Jeff Johnston <jjohnstn@cygnus.com>
7416 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
7417 buffer is not in a useful state.
7418
74191999-09-01 Nick Clifton <nickc@cygnus.com>
7420
7421 * libc/sys/arm/syscalls.c (_link): Add stub.
7422
7423Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7424
7425 * ftell.c (ftell): Use actual position within buffer for text mode.
7426 * findfp.c (std): Initialize ptr->_bf._size.
7427
7428Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
7429
7430 * libc/include/sys/unistd.h: Add nice() declaration.
7431
74321999-08-09 Nick Clifton <nickc@cygnus.com>
7433
7434 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
7435 declare as a thumb function so that the disassembler will see the
7436 mode change.
7437
7438Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7439
7440 * libc/reent/reent.tex: Updated list of reentrant functions.
7441
74421999-07-09 Michael Meissner <meissner@cygnus.com>
7443
7444 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
7445
7446Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
7447
7448 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
7449 separate file.
7450 * libc/stdio/snprintf.c: New file.
7451 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
7452 separate file.
7453 * libc/stdio/vsnprintf.c: New file.
7454 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
7455 * libc/stdio/Makefile.in: Regenerated.
7456
7457Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
7458
7459 Patch submitted by Egor Duda <deo@logos-m.ru>:
7460 * libc/include/stdio.h: Add declarations for *nprintf.
7461 * libc/stdio/sprintf.c (snprintf): New function.
7462 (_snprintf_r): New function.
7463 * libc/stdio/vsprintf.c (vsnprintf): New function.
7464 (_vnsprintf_r): New function.
7465
7466Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
7467
7468 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
7469 * libm/Makefile.am (stmp-targetdep): Ditto.
7470 * libc/Makefile.in: Regenerated.
7471 * libm/Makefile.in: Ditto.
7472
7473Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
7474
7475 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
7476 * libm/Makefile.am (stmp-targetdep): Ditto.
7477 * libc/Makefile.in: Regenerated.
7478 * libm/Makefile.in: Ditto.
7479
7480Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
7481
7482 * Makefile.am: Removed dependencies on all-recursive and added "."
7483 to the SUBDIRS list to prevent infinite recursion from occurring.
7484 Also removed any references to EXTRA_DATA.
7485 * libc/Makefile.am: Ditto.
7486 * libc/machine/Makefile.am: Ditto.
7487 * libc/machine/i386/Makefile.am: Ditto.
7488 * libm/Makefile.am: Ditto.
7489 * libc/sys/Makefile.am: Ditto.
7490 * Makefile.in: Regenerated.
7491 * aclocal.m4: Ditto.
7492 * configure: Ditto.
7493 * doc/Makefile.in: Ditto.
7494 * doc/aclocal.m4: Ditto.
7495 * doc/configure: Ditto.
7496 * libc/Makefile.in: Ditto.
7497 * libc/aclocal.m4: Ditto.
7498 * libc/configure: Ditto.
7499 * libc/machine/Makefile.in: Ditto.
7500 * libc/machine/aclocal.m4: Ditto.
7501 * libc/machine/configure: Ditto.
7502 * libc/machine/mn10300/Makefile.in: Ditto.
7503 * libc/machine/mn10300/aclocal.m4: Ditto.
7504 * libc/machine/mn10300/configure: Ditto.
7505 * libc/sys/Makefile.in: Ditto.
7506 * libc/sys/aclocal.m4: Ditto.
7507 * libc/sys/configure: Ditto.
7508 * libm/Makefile.in: Ditto.
7509 * libm/aclocal.m4: Ditto.
7510 * libm/configure: Ditto.
7511
7512Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7513
7514 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
7515
7516Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7517
7518 * libc/include/stdlib.h: Add reentrant routines.
7519 * libc/stdlib/Makefile.am: Add reentrant routines.
7520 * libc/stdlib/Makefile.in: Ditto.
7521 * libc/stdlib/envlock.c: New file.
7522 * libc/stdlib/envlock.h: New file.
7523 * libc/stdlib/getenv.c: Modify to call reentrant routine.
7524 * libc/stdlib/getenv_r.c: New file.
7525 * libc/stdlib/mblen.c: Modify to call reentrant routine.
7526 * libc/stdlib/mblen_r.c: New file.
7527 * libc/stdlib/setenv.c: Modify to call reentrant routine.
7528 * libc/stdlib/setenv_r.c: New file.
7529 * libc/stdlib/stdlib.tex: Add reentrant routines.
7530
7531Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
7532
7533 * libc/include/sys/types.h: Define __MS_types__ whenever
7534 cygwin or win32.
7535
7536Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
7537
7538 * libc/include/machine/ieeefp.h: Always default to little
7539 endian if Windows, regardless of architecture.
7540 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
7541 regardless of architecture.
7542
7543Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
7544
7545 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
7546 _WIN32 isn't defined.
7547
7548Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
7549
7550 * libm/common/s_rint.c (rint): Add volatile qualifier for
7551 intermediate value w.
7552 * libm/common/sf_rint.c (rintf): Ditto.
7553
7554Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
7555
7556 * libc/sys/arm/syscalls.c (remap_handle): Added check to
7557 ensure that std streams are initialized before being referenced.
7558
75591999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
7560
7561 * README: Update reference to newlib@cygnus.com new
7562 newlib@sourceware.cygnus.com address.
7563
7564Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
7565
7566 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
7567 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
7568 defined, even if _WIN32 isn't defined.
7569
7570Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
7571
7572 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
7573
7574Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7575
7576 * libc/include/sys/reent.h: Change Long and ULong to __Long and
7577 __ULong.
7578 * libc/stdlib/dtoa.c: Ditto.
7579 * libc/stdlib/mprec.c: Ditto.
7580 * libc/stdlib/mprec.h: Ditto.
7581 * libc/stdlib/strtod.c: Ditto.
7582
75831999-04-21 Nick Clifton <nickc@cygnus.com>
7584
7585 * configure.host (mcore): Remove mcore machine directory.
7586
75871999-04-18 Nick Clifton <nickc@cygnus.com>
7588
7589 * libc/include/machine/ieeefp.h: Add support for mcore target.
7590 * libc/include/machine/setjmp.h: Add support for mcore target.
7591 * configure.host: Add support for mcore target.
7592
75931999-04-13 Mark Salter <msalter@cygnus.com>
7594
7595 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
7596 * libc/sys/arm/syscalls.c: Added isatty.
7597
7598Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
7599
7600 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
7601 insert zeroes after significant digits.
7602
7603Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
7604
7605 * libc/stdio/vfprintf.c (cvt): Changed floating point
7606 cvt routine to use union used by dtoa to properly determine
7607 if the sign bit is on or not.
7608 * libc/stdio/vfieeefp.h: New file
7609
7610Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
7611
7612 * aclocal.m4: Regenerated.
7613 * configure: Regenerated.
7614
7615Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
7616
7617 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
7618 f_tanf reference.
7619 * libc/machine/i386/Makefile.in: Regenerated.
7620
7621Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
7622
7623 * acinclude.m4: Changed to work with new automake.
7624 * configure: Regenerated.
7625 * libc/machine/i386/aclocal.m4: Regenerated.
7626 * libc/machine/i386/configure: Regenerated.
7627
7628Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
7629
7630 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
7631 for telldir() and seekdir(). Rename unused structure element
7632 for use with these two routines.
7633
7634Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
7635
7636 * libc/time/mktime.c (validate_structure): Multiple fixes to
7637 code to handle cases where input fields are outside valid ranges.
7638 * libc/stdlib/div.c (div): Modified invalid rounding check.
7639 * libc/stdlib/ldiv.c (ldiv): Ditto.
7640
7641Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
7642
7643 * libc/machine/i386/memcpy.S: Performance rewrite.
7644 * libc/machine/i386/memmove.S: Ditto.
7645 * libc/machine/i386/i386mach.h: Added more register definitions.
7646 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
7647 option used.
7648 * libc/include/machine/fastmath.h: Add definitions for x86
7649 fast-math routines.
7650
7651Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7652
7653 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
7654
7655Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
7656
7657 Adjust newlib headers for new Cygwin Win32 API header files:
7658 * libc/include/sys/time.h: Check _WINSOCK_H rather than
7659 _GNU_H_WINDOWS32_SOCKETS.
7660 * libc/include/sys/types.h: Ditto.
7661
7662Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7663
7664 *include/sys/reent.h: Add checks for size of Bigint element Long.
7665 *libc/dtoa.c: Change routines to use generic Long type.
7666 *libc/mprec.c: Change routines to use generic Long type.
7667 *libc/mprec.h: Change routines to use generic Long type.
7668
7669Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
7670
7671 * libc/Makefile.am: Add .def files.
7672 * libc/Makefile.in: Regenerate.
7673 * libc/e_acosh.c: Documentation update.
7674 * libc/e_atanh.c: Documentation update.
7675 * libc/e_hypot.c: Documentation update.
7676 * libc/e_remainder.c: Documentation update.
7677 * libc/er_lgamma.c: Documentation update.
7678 * libc/mathfp.tex: Documentation update.
7679 * libc/s_acos.c: Documentation update.
7680 * libc/s_atan.c: Documentation update.
7681 * libc/s_atan2.c: Documentation update.
7682 * libc/s_cosh.c: Documentation update.
7683 * libc/s_fmod.c: Documentation update.
7684 * libc/s_isnan.c: Documentation update.
7685 * libc/s_log10.c: Documentation update.
7686 * libc/s_pow.c: Documentation update.
7687 * libc/w_jn.c: Documentation update.
7688
7689Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
7690
7691 * aclocal.m4: Regenerate.
7692 * configure: Regenerate.
7693
7694Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
7695
7696 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
7697 to return 1 if user specified return code is 0.
7698 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
7699
7700Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
7701
7702 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
7703 to save the return address. Fixed longjmp to return to the original
7704 calling address of setjmp and to return the user specified return code
7705 rather than default to 1.
7706 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
7707
7708Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
7709
7710 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
7711
77121999-02-10 Nick Clifton <nickc@cygnus.com>
7713
7714 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
7715 volatile so that its assignments will not be discarded.
7716
7717Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
7718
7719 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
7720 be __STRICT_ANSI__ which is generated by compiler.
7721 * libc/include/ctype.h: Ditto.
7722 * libc/include/math.h: Ditto.
7723 * libc/include/stdio.h: Ditto.
7724 * libc/include/stdlib.h: Ditto.
7725 * libc/include/string.h: Ditto.
7726 * libc/include/sys/signal.h: Ditto.
7727
77281999-02-08 Nick Clifton <nickc@cygnus.com>
7729
7730 * configure.host: Add support for StrongARM target.
7731
7732Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
7733
7734 * libc/string/strncpy.c (strncpy): Removed redundant code
7735 that was copying bytes if data unaligned.
7736
77371999-02-02 Brendan Kehoe <brendan@cygnus.com>
7738
7739 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
7740 mbstowcs.def, and wcstombs.def.
7741
7742Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
7743
7744 * libc/include/sys/errno.h: Add Cygwin errno.
7745 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
7746 is specified.
7747
77481999-01-29 Nick Clifton <nickc@cygnus.com>
7749
7750 * libc/sys/arm/syscalls.c: Move C library functions into seperate
7751 file.
7752
7753 * libc/sys/arm/libcfunc.c: New file containing C library functions
7754 from syscalls.c
7755
7756 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
7757 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
7758
7759
77601999-01-27 Michael Meissner <meissner@cygnus.com>
7761
7762 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
7763 type, and cut size in half so that the jmp_buf array is guaranteed
7764 to be aligned on a 64-bit boundary.
7765
7766Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
7767
7768 * libc/string/strings.tex: Added information about
7769 strcasecmp and strncasecmp.
7770 * libc/stdlib/stdlib.tex: Added missing information
7771 about mblen, mbstowcs, and wcstombs.
7772 * libc/string/strchr.c: Changed how mask is built to use
7773 shift operators so register will be used instead of storage.
7774
77751999-01-22 DJ Delorie <dj@cygnus.com>
7776
7777 * libc/include/stdlib.h: don't use dllimport if we're building
7778 newlib, since it's inside cygwin.dll
7779
7780Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
7781
7782 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
7783 _ctype_ under cygwin.
7784
7785Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
7786
7787 * include/stdlib.h: Fix typo from previous checkin.
7788
7789Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
7790
7791 * include/ctype.h: Use __declspec(dllimport) method for exporting
7792 variable from cygwin DLL.
7793 * include/time.h: Ditto.
7794 * sys/errno.h: Ditto.
7795 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
7796 * libc/locale/locale.c: Use __declspec(dllexport) method for
7797 exporting variable from cygwin DLL.
7798
7799Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
7800
7801 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
7802 access of bogus pointer will result in SIGSEGV.
7803
78041999-01-07 Nick Clifton <nickc@cygnus.com>
7805
7806 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
7807 of an underscore prefix to function names.
7808
7809Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
7810
7811 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
7812 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
7813
78141998-12-31 Michael Meissner <meissner@cygnus.com>
7815
7816 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
7817 to `%' if not already defined.
7818
78191998-12-30 Michael Meissner <meissner@cygnus.com>
7820
7821 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
7822 arguments const char *, not char *.
7823 * libc/include/stdio.h (_tempnam_r): Ditto.
7824
7825 * libc/include/sys/reent.h (struct _reent): The _sig_func type
7826 points to a function taking an integer, not void.
7827
7828Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
7829
7830 * configure.host: Add a define for Cygwin builds.
7831 * libc/include/ctype.h: Don't use dll imported variables in newlib.
7832
7833Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
7834
7835 * libc/include/ctype.h: Define _ctype_ as dll imported variable
7836 for use with Cygwin.
7837 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
7838 dll imported variables for use with Cygwin.
7839 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
7840 as a dll imported variable for Cygwin.
7841
7842Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
7843
7844 * libc/include/sys/unistd.h: Add proto for getpass.
7845
7846Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
7847
7848 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
7849 alphasort.
7850
7851Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
7852
7853 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
7854 not posix_path_list_p.
7855
78561998-12-15 Nick Clifton <nickc@cygnus.com>
7857
7858 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
7859 a signed int.
7860
78611998-12-13 Nick Clifton <nickc@cygnus.com>
7862
7863 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
7864
78651998-12-12 Nick Clifton <nickc@cygnus.com>
7866
7867 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
7868 <msalter@cygnus.com>
7869 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
7870 * libc/machine/fr30/Makefile.in: Regenerated.
7871
78721998-12-11 Nick Clifton <nickc@cygnus.com>
7873
7874 * configure.host: Remove use of libc/sys for FR30 port.
7875 * libc/sys/fr30: Remove directory (replaced by libgloss).
7876
78771998-12-10 Ken Raeburn <raeburn@cygnus.com>
7878
7879 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
7880 * libc/string/strncat.c (ALIGNED): Ditto.
7881
7882Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
7883
7884 * libc/include/sys/time.h: include sys/types.h
7885
7886Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
7887
7888 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
7889 comparison found when checking word at a time.
7890
78911998-12-04 Nick Clifton <nickc@cygnus.com>
7892
7893 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
7894
78951998-12-03 Nick Clifton <nickc@cygnus.com>
7896
7897 * libc/sys/fr30/syscalls.c (_times): New function stub.
7898
7899Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
7900
7901 * configure.host (mach_add_setjmp): Replaced mach_add_objs
7902 with mach_add_setjmp flag which indicates if setjmp should
7903 be added to the machine directory objects.
7904 * acinclude.m4: Removed reference to mach_add_objs.
7905 * aclocal.m4: Regenerated.
7906 * Makefile.in: Regenerated.
7907 * configure: Regenerated.
7908 * libc/aclocal.m4: Regenerated.
7909 * libc/Makefile.in: Regenerated.
7910 * libc/configure: Regenerated.
7911 * libc/machine/aclocal.m4: Regenerated.
7912 * libc/machine/Makefile.in: Regenerated.
7913 * libc/machine/configure: Regenerated.
7914 * libc/machine/i386/aclocal.m4: Regenerated.
7915 * libc/machine/i386/Makefile.am: Altered to selectively add
7916 setjmp.S to the src files list.
7917 * libc/machine/i386/Makefile.in: Regenerated.
7918 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
7919 * libc/machine/i386/configure: Regenerated.
7920
79211998-12-02 Nick Clifton <nickc@cygnus.com>
7922
7923 * libc/sys/fr30/crt0.s (_start): Fix function names.
7924
7925 * libc/machine/fr30: New directory
7926 * libc/machine/fr30/Makefile.am: New file.
7927 * libc/machine/fr30/Makefile.in: New generated file.
7928 * libc/machine/fr30/configure.in: New file.
7929 * libc/machine/fr30/configure: New generated file.
7930 * libc/machine/fr30/aclocal.m4: New generated file.
7931 * libc/sys/fr30/Makefile.am: New file.
7932 * libc/sys/fr30/Makefile.in: New generated file.
7933 * libc/sys/fr30/configure.in: New file.
7934 * libc/sys/fr30/configure: New generated file.
7935 * libc/sys/fr30/syscalls.c: New file.
7936
7937Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
7938
7939 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
7940
79411998-12-01 Ken Raeburn <raeburn@cygnus.com>
7942
7943 * libc/time/strftime.c (strftime): Also handle %y for years before
7944 1900.
7945
7946Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
7947
7948 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
7949 UNIX convention. Perform tolower on characters before comparing
7950 them rather than use toupper.
7951 * libc/string/strncasecmp.c (strncasecmp): Ditto.
7952
7953Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
7954
7955 * configure.host: Added using i386 machine directory
7956 for all x86 cross-compiler and configuring
7957 which added object files to use via new "mach_add_objs" variable.
7958 * configure: Regenerated.
7959 * libc/configure: Regenerated.
7960 * libc/Makefile.in: Regenerated.
7961 * libc/aclocal.m4: Regenerated.
7962 * libc/ctype/Makefile.in: Regenerated.
7963 * libc/errno/Makefile.in: Regenerated.
7964 * libc/locale/Makefile.in: Regenerated.
7965 * libc/machine/Makefile.in: Regenerated.
7966 * libc/machine/aclocal.m4: Regenerated.
7967 * libc/machine/configure: Regenerated.
7968 * libc/posix/Makefile.in: Regenerated.
7969 * libc/reent/Makefile.in: Regenerated.
7970 * libc/signal/Makefile.in: Regenerated.
7971 * libc/stdio/Makefile.in: Regenerated.
7972 * libc/stdlib/Makefile.in: Regenerated.
7973 * libc/string/Makefile.in: Regenerated.
7974 * libc/string/memmove.c: Optimized code to use memcpy
7975 logic when performing a non-destructive copy.
7976 * libc/string/strncmp.c: Altered code to allow building
7977 optimized for size or speed.
7978 * libc/syscalls/Makefile.in: Regenerated.
7979 * libc/time/Makefile.in: Regenerated.
7980 * libc/unix/Makefile.in: Regenerated.
7981 * libc/machine/i386/Makefile.am: Added new files and reference
7982 to "mach_add_objs" to indicate optional object files.
7983 * libc/machine/i386/Makefile.in: Regenerated.
7984 * libc/machine/i386/aclocal.m4: Regenerated.
7985 * libc/machine/i386/configure: Regenerated.
7986 * libc/machine/i386/memchr.S: New file that implements
7987 function in Intel assembler.
7988 * libc/machine/i386/memcmp.S: ditto.
7989 * libc/machine/i386/memcpy.S: ditto.
7990 * libc/machine/i386/memmove.S: ditto.
7991 * libc/machine/i386/memset.S: ditto.
7992 * libc/machine/i386/strchr.S: ditto.
7993 * libc/machine/i386/strlen.S: ditto.
7994 * libc/machine/i386/f_atan2.S: New file that implements
7995 fast version of math function to be used by compiler when
7996 --ffast_math compile option is used.
7997 * libc/machine/i386/f_atan2f.S: ditto.
7998 * libc/machine/i386/f_exp.c: ditto.
7999 * libc/machine/i386/f_expf.c: ditto.
8000 * libc/machine/i386/f_frexp.S: ditto.
8001 * libc/machine/i386/f_frexpf.S: ditto.
8002 * libc/machine/i386/f_ldexp.S: ditto.
8003 * libc/machine/i386/f_ldexpf.S: ditto.
8004 * libc/machine/i386/f_log.S: ditto.
8005 * libc/machine/i386/f_logf.S: ditto.
8006 * libc/machine/i386/f_log10.S: ditto.
8007 * libc/machine/i386/f_log10f.S: ditto.
8008 * libc/machine/i386/f_math.h: New file.
8009 * libc/machine/i386/f_pow.c: ditto.
8010 * libc/machine/i386/f_powf.S: ditto.
8011 * libc/machine/i386/f_tan.S: ditto.
8012 * libc/machine/i386/f_tan.S: ditto.
8013 * libc/machine/i386/i386mach.h: New file.
8014
8015Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
8016
8017 patch from Mumit Khan <khan@xraylith.wisc.edu>
8018 * libc/include/stdio.h (tempnam): Add prototype.
8019 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
8020 (tempnam): Adhere to prototype.
8021
8022Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
8023
8024 * Makefile.am: Add default for AR_FLAGS.
8025 * Makefile.in: Regenerate.
8026
8027Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
8028
8029 * libc/include/time.h: move __cplusplus wrapper after includes
8030 * libc/include/sys/time.h: ditto. If Cygwin, include
8031 sys/select.h.
8032 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
8033
80341998-11-23 Ken Raeburn <raeburn@cygnus.com>
8035
8036 * libc/time/strftime.c (strftime): Handle %y after year 2000.
8037
8038Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
8039
8040 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
8041 abnormnal end-of-crt0 marker.
8042
8043Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
8044
8045 * libc/sys/fr30/crt0.s: New file/directory.
8046 * libc/include/machine/setjmp.h: Add FR30 target.
8047 * libc/include/machine/ieeefp.h: Add FR30 target.
8048 * configure.host: Add FR30 target.
8049
8050Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
8051
8052 * libm/math: Files that are duplicated in common directory removed.
8053 * libm/math/fdlibm.h: Removed.
8054 * libm/math/s_cbrt.c: Removed.
8055 * libm/math/s_copysign.c: Removed.
8056 * libm/math/s_expm1.c: Removed.
8057 * libm/math/s_finite.c: Removed.
8058 * libm/math/s_ilogb.c: Removed.
8059 * libm/math/s_infinity.c: Removed.
8060 * libm/math/s_lib_ver.c: Removed.
8061 * libm/math/s_log1p.c: Removed.
8062 * libm/math/s_logb.c: Removed.
8063 * libm/math/s_matherr.c: Removed.
8064 * libm/math/s_modf.c: Removed.
8065 * libm/math/s_nan.c: Removed.
8066 * libm/math/s_nextafter.c: Removed.
8067 * libm/math/s_rint.c: Removed.
8068 * libm/math/s_scalbn.c: Removed.
8069 * libm/math/sf_cbrt.c: Removed.
8070 * libm/math/sf_copysign.c: Removed.
8071 * libm/math/sf_expm1.c: Removed.
8072 * libm/math/sf_finite.c: Removed.
8073 * libm/math/sf_ilogb.c: Removed.
8074 * libm/math/sf_infinity.c: Removed.
8075 * libm/math/sf_log1p.c: Removed.
8076 * libm/math/sf_logb.c: Removed.
8077 * libm/math/sf_modf.c: Removed.
8078 * libm/math/sf_nan.c: Removed.
8079 * libm/math/sf_nextafter.c: Removed.
8080 * libm/math/sf_rint.c: Removed.
8081 * libm/math/sf_scalbn.c: Removed.
8082 * libm/math/Makefile.am: Removed references to deleted files (above).
8083 * libm/math/Makefile.in: Regenerated.
8084 * libm/Makefile.am: Added common directory to math.
8085 * libm/Makefile.in: Regenerated.
8086
8087Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
8088
8089 * libm/mathfp: Add non-ANSI functions.
8090 * libm/mathfp/e_acosh.c acosh(): New file.
8091 * libm/mathfp/e_atanh.c atanh(): New file.
8092 * libm/mathfp/e_hypot.c hypot(): New file.
8093 * libm/mathfp/e_j0.c j0(): New file.
8094 * libm/mathfp/e_j1.c j1(): New file.
8095 * libm/mathfp/e_remainder.c remainder(): New file.
8096 * libm/mathfp/e_scalb.c scalb(): New file.
8097 * libm/mathfp/ef_acosh.c acoshf(): New file.
8098 * libm/mathfp/ef_atanh.c atanhf(): New file.
8099 * libm/mathfp/ef_hypot.c hypotf(): New file.
8100 * libm/mathfp/ef_j0.c j0f(): New file.
8101 * libm/mathfp/ef_j1.c j1f(): New file.
8102 * libm/mathfp/ef_remainder.c remainderf(): New file.
8103 * libm/mathfp/ef_scalb.c scalbf(): New file.
8104 * libm/mathfp/er_gamma.c gamma_r: New file.
8105 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
8106 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
8107 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
8108 * libm/mathfp/w_cabs.c cabs(): New file.
8109 * libm/mathfp/w_drem.c drem(): New file.
8110 * libm/mathfp/w_jn.c jn(): New file.
8111 * libm/mathfp/wf_cabs.c cabsf(): New file.
8112 * libm/mathfp/wf_drem.c dremf(): New file.
8113 * libm/mathfp/wf_jn.c jnf(): New file.
8114
8115Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
8116
8117 * libc/sys/cygwin32: remove directory and contents
8118 * libc/sys/cygwin: and add back, losing the "32".
8119 * configure.host: check for cygwin* instead of cygwin32.
8120 * acinclude.m4: ditto.
8121 * aclocal.m4: regenerate with aclocal
8122 * configure: regenerate with autoconf
8123
8124Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
8125
8126 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
8127 for length
8128
8129Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
8130
8131 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
8132 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
8133 to make rand/srand, strtok, asctime, localtime, w_gamma,
8134 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
8135 time.h to bring in struct tm definition.
8136 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
8137 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
8138 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
8139 instead of static variable.
8140 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
8141 struct reent instead of static variable.
8142 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
8143 struct reent instead of static variable.
8144 * libm/math/Makefile.am: Removed s_signgam.o.
8145 * libm/math/Makefile.in: Regenerated.
8146 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
8147 struct reent instead of global variable 'signgam'.
8148 * libm/math/w_lgamma.c (lgamma): Likewise.
8149 * libm/math/wf_gamma.c (gammaf): Likewise.
8150 * libm/math/wf_lgamma.c (lgammaf): Likewise.
8151 * libm/math/s_signgam.c: Removed.
8152 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
8153 to be const.
8154 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
8155 to be const.
8156 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
8157 libc/include/reent.h.
8158 * libc/reent/Makefile.in: Regenerated.
8159 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
8160 to be const.
8161 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
8162 'JIS_action_table' to be const.
8163 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
8164
8165Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
8166
8167 * acinclude.m4: $with_target_subdir should default to '.'
8168 or confusion results when configuring in same directory as sources.
8169 * Regenerate all aclocal.m4 and configure files.
8170
8171Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
8172
8173 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
8174 can be set by defining MALLOC_ALIGNMENT=16. Also added support
8175 for platforms where sizeof(size_t) < sizeof(long) via
8176 SIZE_T_SMALLER_THAN_LONG macro.
8177
8178Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
8179
8180 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
8181 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
8182 which sets _CLOCKS_PER_SEC_ for selected machines.
8183 * libc/include/machine/time.h: New file.
8184
8185Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
8186
8187 * libc/syscalls/sysexecve.c: New file.
8188 * libc/syscalls/sysgettod.c: New file.
8189 * libc/syscalls/systimes.c: New file.
8190 * libc/syscalls/Makefile.am: Added new objects.
8191 * libc/syscalls/Makefile.in: Regenerated.
8192 * libc/include/_syslist.h (_execve): Moved define in file.
8193 * libc/include/reent.h: Added _execve_r declaration.
8194 * libc/Makefile.in: Regenerated.
8195 * libc/ctype/Makefile.in: Regenerated.
8196 * libc/errno/Makefile.in: Regenerated.
8197 * libc/locale/Makefile.in: Regenerated.
8198 * libc/machine/Makefile.in: Regenerated.
8199 * libc/misc/Makefile.in: Regenerated.
8200 * libc/posix/Makefile.in: Regenerated.
8201 * libc/reent/Makefile.in: Regenerated.
8202 * libc/reent/execr.c (_execve_r): Added _execve_r function.
8203 * libc/signal/Makefile.in: Regenerated.
8204 * libc/stdio/Makefile.in: Regenerated.
8205 * libc/time/Makefile.in: Regenerated.
8206 * libc/unix/Makefile.in: Regenerated.
8207 * libm/mathfp/Makefile.in: Regenerated.
8208
8209Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
8210
8211 * libc/string/Makefile.in: Regenerated.
8212 * libc/string/memchr.c (memchr): Moved code to reduce object size.
8213 * libc/string/memcpy.c (memcpy): Ditto.
8214 * libc/string/memcmp.c (memcmp): Ditto.
8215 * libc/string/memset.c (memset): Ditto.
8216 * libc/string/strchr.c (strchr): Ditto.
8217 * libc/string/strcmp.c (strcmp): Ditto.
8218 * libc/string/strcpy.c (strcpy): Ditto.
8219 * libc/string/strlen.c (strlen): Ditto.
8220
8221Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
8222
8223 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
8224 to generate aclocal.m4.
8225 * libm/Makefile.in: Regenerated.
8226 * libm/aclocal.m4: Regenerated.
8227 * libm/configure: Regenerated.
8228 * libm/math/Makefile.in: Regenerated.
8229 * libm/mathfp/Makefile.in: Regenerated.
8230
82311998-09-25 Mark Salter <msalter@cygnus.com>
8232
8233 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
8234 by adding leading and trailing underscores to symbol names.
8235
8236Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
8237
8238 * Makefile.in: Add default for AR_FLAGS.
8239
8240Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
8241
8242 patch from ian@airs.com (Ian Taylor):
8243 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
8244 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
8245 is needed for detecting the build machine. Required for
8246 cygwin native builds.
8247
8248 * Regenerate all aclocal.m4 and configure files.
8249
8250Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
8251
8252 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
8253 used to start with LC.
8254
8255Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8256
8257 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
8258 (longjmp): Likewise.
8259
8260Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8261
8262 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
8263 the test for small number of bytes.
8264
8265Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
8266
8267 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
8268 math library that uses floating point algorithms instead of the old
8269 libm.
8270 * Makefile.in: Regenerate with automake version 1.3b.
8271 * configure: Rebuild.
8272 * libm/Makefile.in: Regenerate with automake version 1.3b.
8273 * libm/aclocal.m4: Regenerate.
8274 * libm/configure: Rebuild.
8275 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
8276 * libm/acinclude.m4: Define macros for configure.in.
8277 * libm/config.h.in: Generate.
8278 * libm/mathfp/Makefile.am: New file.
8279 * libm/mathfp/Makefile.in: Generate.
8280 * libm/mathfp/s_acos.c (acos): New file.
8281 * libm/mathfp/s_asin.c (asin): New file.
8282 * libm/mathfp/s_asine.c (asine): New file.
8283 * libm/mathfp/s_atan.c (atan): New file.
8284 * libm/mathfp/s_atan2.c (atan2): New file.
8285 * libm/mathfp/s_atangent.c (atangent): New file.
8286 * libm/mathfp/s_ceil.c (ceil): New file.
8287 * libm/mathfp/s_copysign.c (copysign): New file.
8288 * libm/mathfp/s_cos.c (cos): New file.
8289 * libm/mathfp/s_cosh.c (cosh): New file.
8290 * libm/mathfp/s_exp.c (exp): New file.
8291 * libm/mathfp/s_fabs.c (fabs): New file.
8292 * libm/mathfp/s_finite.c (finite): New file.
8293 * libm/mathfp/s_floor.c (floor): New file.
8294 * libm/mathfp/s_fmod.c (fmod): New file.
8295 * libm/mathfp/s_frexp.c (frexp): New file.
8296 * libm/mathfp/s_infconst.c: New file.
8297 * libm/mathfp/s_isinf (isinf).c: New file.
8298 * libm/mathfp/s_isnan.c (isnan): New file.
8299 * libm/mathfp/s_ispos.c (ispos): New file.
8300 * libm/mathfp/s_ldexp.c (ldexp): New file.
8301 * libm/mathfp/s_log.c (log): New file.
8302 * libm/mathfp/s_log10.c (log10): New file.
8303 * libm/mathfp/s_logarithm.c (logarithm): New file.
8304 * libm/mathfp/s_mathcnst.c: New file.
8305 * libm/mathfp/s_modf (modf).c: New file.
8306 * libm/mathfp/s_numtest.c (numtest): New file.
8307 * libm/mathfp/s_pow.c (pow): New file.
8308 * libm/mathfp/s_scalbn.c (scalbn): New file.
8309 * libm/mathfp/s_sin (sin).c: New file.
8310 * libm/mathfp/s_sine.c (sine): New file.
8311 * libm/mathfp/s_sineh.c (sineh): New file.
8312 * libm/mathfp/s_sinf.c (sinf): New file.
8313 * libm/mathfp/s_sinh.c (sinh): New file.
8314 * libm/mathfp/s_sqrt.c (sqrt): New file.
8315 * libm/mathfp/s_tan.c (tan): New file.
8316 * libm/mathfp/s_tanh.c (tanh): New file.
8317 * libm/mathfp/sf_acos.c (acosf): New file.
8318 * libm/mathfp/sf_asin.c (asinf): New file.
8319 * libm/mathfp/sf_asine.c (asinef): New file.
8320 * libm/mathfp/sf_atan.c (atanf): New file.
8321 * libm/mathfp/sf_atan2.c (atan2f): New file.
8322 * libm/mathfp/sf_atangent.c (atangent): New file.
8323 * libm/mathfp/sf_ceil.c (ceilf): New file.
8324 * libm/mathfp/sf_copysign.c (copysignf): New file.
8325 * libm/mathfp/sf_cos.c (cosf): New file.
8326 * libm/mathfp/sf_cosh.c (coshf): New file.
8327 * libm/mathfp/sf_exp.c (expf): New file.
8328 * libm/mathfp/sf_fabs.c (fabsf): New file.
8329 * libm/mathfp/sf_finite.c (finitef): New file.
8330 * libm/mathfp/sf_floor.c (floorf): New file.
8331 * libm/mathfp/sf_fmod.c (fmodf): New file.
8332 * libm/mathfp/sf_frexp.c (frexpf): New file.
8333 * libm/mathfp/sf_isinf.c (isinff): New file.
8334 * libm/mathfp/sf_isnan.c (isnanf): New file.
8335 * libm/mathfp/sf_ispos.c (isposf): New file.
8336 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
8337 * libm/mathfp/sf_log.c (logf): New file.
8338 * libm/mathfp/sf_log10.c (log10f): New file.
8339 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
8340 * libm/mathfp/sf_modf.c (modff): New file.
8341 * libm/mathfp/sf_numtest.c (numtestf): New file.
8342 * libm/mathfp/sf_pow.c (powf): New file.
8343 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
8344 * libm/mathfp/sf_sin.c (sinf): New file.
8345 * libm/mathfp/sf_sine.c (sinef): New file.
8346 * libm/mathfp/sf_sineh.c (sinehf): New file.
8347 * libm/mathfp/sf_sinh.c (sinhf): New file.
8348 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
8349 * libm/mathfp/sf_tan.c (tanf): New file.
8350 * libm/mathfp/sf_tanh.c (tanhf): New file.
8351 * libm/mathfp/zmath.h: New file.
8352
8353Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8354
8355 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
8356 exit if it has been overwritten by pre-fetching in delay slot.
8357
83581998-09-01 Michael Meissner <meissner@cygnus.com>
8359
8360 * Makefile.am (tooldir): Add in host_alias, so that multilib
8361 libraries are installed in the directory the compiler looks in.
8362 * Makefile.in: Regenerate.
8363
8364 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
8365
8366Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
8367
8368 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
8369 ahead of test for number of bytes being moved.
8370
8371Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
8372
8373 * libc/include/sys/unistd.h: Nothing special needed for
8374 _exit under cygwin.
8375
8376Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
8377
8378 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
8379 conform to user label naming conventions.
8380
8381Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
8382
8383 * libc/sys/cygwin32/sys/utime.h: variable names in
8384 protos should start with two leading underscores
8385 * libc/include/string.h: ditto
8386 * libc/include/sys/signal.h: ditto
8387 * libc/include/sys/stat.h: ditto
8388 * libc/include/sys/time.h: ditto
8389 * libc/include/sys/unistd.h: ditto
8390 * libc/include/ctype.h: ditto
8391 * libc/include/stdlib.h: ditto
8392 * libc/include/sys/reent.h: struct _atexit function ptr takes a
8393 void, same with _sig_func.
8394
8395Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
8396
8397 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
8398 for MB_CAPABLE to reduce code size when newlib is not configured
8399 with --enable-newlib-mb.
8400 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
8401 mbtowc_r.o to minimize size.
8402 * libc/stdlib/Makefile.in: Rebuild.
8403
8404Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
8405
8406 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
8407 to -DREENT.
8408 * libc/sys/sparc64/Makefile.in: Rebuild.
8409
8410Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
8411
8412 * Makefile.am (MAKEOVERRIDES): Define.
8413 * Makefile.in: Rebuild.
8414
8415Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
8416
8417 * libc/sys/sparc64/sys/stat.h (stat): Add const.
8418
8419Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
8420
8421 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
8422 newlib_cflags when looking for targ-include.
8423 * */aclocal.m4, */configure: Rebuild.
8424
8425Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
8426
8427 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
8428 to "_end".
8429
8430Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
8431
8432 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
8433 on SPARCs with little-endian data.
8434 * libc/include/machine/ieeefp.h: Ditto.
8435
8436Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
8437
8438 * acinclude.m4: Handle a relative srcdir correctly when setting
8439 newlib_cflags.
8440 * */aclocal.m4, */configure: Rebuild.
8441
8442Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
8443
8444 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
8445 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
8446 * libm/math/wrf_gamma.c (gammaf_r): ditto
8447 * libm/math/wr_lgamma.c (lgamma_r): ditto
8448 * libm/math/wr_gamma.c (gamma_r): ditto
8449 * libm/math/wf_sqrt.c (sqrtf): ditto
8450 * libm/math/wf_sinh.c (sinhf): ditto
8451 * libm/math/wf_scalb.c (scalbf): ditto
8452 * libm/math/wf_remainder.c (remainderf): ditto
8453 * libm/math/wf_pow.c (powf): ditto
8454 * libm/math/wf_log10.c (log10f): ditto
8455 * libm/math/wf_log.c (logf): ditto
8456 * libm/math/wf_lgamma.c (lgammaf): ditto
8457 * libm/math/wf_jn.c (jnf, ynf): ditto
8458 * libm/math/wf_j1.c (j1f, y1f): ditto
8459 * libm/math/wf_j0.c (j0f, y0f): ditto
8460 * libm/math/wf_hypot.c (hypotf): ditto
8461 * libm/math/wf_gamma.c (gammaf): ditto
8462 * libm/math/wf_fmod.c (fmodf): ditto
8463 * libm/math/wf_exp.c (expf): ditto
8464 * libm/math/wf_cosh.c (coshf): ditto
8465 * libm/math/wf_atanh.c (atanhf): ditto
8466 * libm/math/wf_atan2f.c (atan2f): ditto
8467 * libm/math/wf_asin.c (asinf): ditto
8468 * libm/math/wf_acosh.c (acoshf): ditto
8469 * libm/math/wf_acos.c (acosf): ditto
8470 * libm/math/w_sqrt.c (sqrt): ditto
8471 * libm/math/w_sinh.c (sinh): ditto
8472 * libm/math/w_scalb.c (scalb): ditto
8473 * libm/math/w_remainder.c (remainder): ditto
8474 * libm/math/w_pow.c (pow): ditto
8475 * libm/math/w_log10.c (log10): ditto
8476 * libm/math/w_log.c (log): ditto
8477 * libm/math/w_lgamma.c (lgamma): ditto
8478 * libm/math/w_jn.c (jn, yn): ditto
8479 * libm/math/w_j1.c (j1, y1): ditto
8480 * libm/math/w_j0.c (j0, y0): ditto
8481 * libm/math/w_hypot.c (hypot): ditto
8482 * libm/math/w_gamma.c (gamma): ditto
8483 * libm/math/w_fmod.c (fmod): ditto
8484 * libm/math/w_exp.c (exp): ditto
8485 * libm/math/w_cosh.c (cosh): ditto
8486 * libm/math/w_atanh.c (atanh): ditto
8487 * libm/math/w_atan2f.c (atan2): ditto
8488 * libm/math/w_asin.c (asin): ditto
8489 * libm/math/w_acosh.c (acosh): ditto
8490 * libm/math/w_acos.c (acos): ditto
8491
8492Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
8493
8494 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
8495 (fsrc): Add wf_cabs.c and wf_drem.c.
8496 * libm/math/Makefile.in: Rebuild.
8497
8498 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
8499 unused directory variables. Remove duplicate CFLAGS.
8500 * Makefile.in: Rebuild.
8501
8502 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
8503 with $(CC_FOR_BUILD).
8504 (makedoc.o): Likewise.
8505 * doc/Makefile.in: Rebuild.
8506
8507 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
8508 force a definition of COMPILE.
8509 (libfoo_a_SOURCES): Define.
8510 * libc/sys/cygwin32/Makefile.in: Rebuild.
8511 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
8512 force a definition of COMPILE.
8513 (libfoo_a_SOURCES): Define.
8514 * libc/sys/tic80/Makefile.in: Rebuild.
8515
8516Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
8517
8518 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
8519 flag.
8520
8521Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
8522
8523 * Build using autoconf and automake. Added many Makefile.am and
8524 configure.in files, plus generated files. Old configure.in files
8525 and all old Makefile.in files completely replaced. Removed
8526 host/any. Added acinclude.m4 and configure.host.
8527
8528Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
8529
8530 * libc/stdio/vfprintf.c: enable long long support, sometimes.
8531 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
8532
8533Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8534
8535 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
8536 * libc/machine/sh/Makefile.in: Add rules for new files.
8537
8538Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8539
8540 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
8541 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
8542 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
8543
8544Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
8545
8546 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
8547 code is ignored.
8548
8549Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
8550
8551 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
8552 internal static buffer when s is NULL, as prescribed by ANSI.
8553
85541998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
8555
8556 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
8557 removed.
8558 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
8559 libc/stdlib will be used for h8300hms.
8560
8561Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
8562
8563 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
8564 version that can be built either for speed or size.
8565 * libc/machine/mn10300/memset.S (_memset): ditto
8566 * libc/machine/mn10300/memchr.S (_memchr): ditto
8567 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
8568 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
8569 * libc/machine/mn10300/strchr.S (_strchr): ditto
8570 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
8571 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
8572 * libc/machine/mn10300/Makefile.in: Added entries for
8573 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
8574 strcmp.o, strcpy.o, and strlen.o.
8575
8576Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
8577
8578 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
8579 been replaced with libgloss/mn10200.
8580
8581Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
8582
8583 * libc/string/strchr.c (strchr): Make s a constant pointer to
8584 avoid warning.
8585
8586Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
8587
8588 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
8589 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
8590 board SWIs instead of Demon board SWIs).
8591
8592Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
8593
8594 * libc/string/strncat.c (strncat): Make -Os act the same as
8595 PREFER_SIZE_OVER_SPEED being defined.
8596
8597Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
8598
8599 * libc/string/memchr.c (memchr): Make -Os act the same as
8600 PREFER_SIZE_OVER_SPEED being defined.
8601 * libc/string/memcmp.c (memcmp): Ditto.
8602 * libc/string/memcpy.c (memcpy): Ditto.
8603 * libc/string/memset.c (memset): Ditto.
8604 * libc/string/strcat.c (strcat): Ditto.
8605 * libc/string/strchr.c (strchr): Ditto.
8606 * libc/string/strcmp.c (strcmp): Ditto.
8607 * libc/string/strcpy.c (strcpy): Ditto.
8608 * libc/string/strlen.c (strlen): Ditto.
8609 * libc/string/strncat.c (strncat): Ditto.
8610 * libc/string/strncmp.c (strncmp): Ditto.
8611 * libc/string/strncpy.c (strncpy): Ditto.
8612
8613Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
8614
8615 * libc/include/sys/itimer.h: remove
8616 * libc/include/sys/time.h: itimer stuff should be here
8617
8618Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
8619
8620 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
8621 bit instead of comparing to 0 so -0.0 can be printed correctly.
8622
8623Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8624
8625 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
8626
8627Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
8628
8629 * libc/include/sys/unistd.h: fix sync() proto
8630 * libc/include/sys/fcntl.h: remove _close which is already
8631 defined in unistd.h.
8632 * libc/include/sys/time.h: add getitimer proto
8633
8634Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
8635
8636 * libc/string/strchr.c: convert arg to unsigned char
8637 * libc/include/stdlib.h: add protos for random, srandom
8638 * libc/include/sys/stat.h: add lstat proto
8639 * libc/include/sys/time.h: add setitimer proto
8640 * libc/include/sys/unistd.h: add readlink, symlink protos
8641 * libc/include/process.h: instead of including windows.h and using
8642 HANDLEs in sexec protos, just use void *s. Need to include
8643 sys/types.h.
8644
8645Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
8646
8647 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
8648
8649Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
8650
8651 * libc/include/process.h: add secure exec protos
8652
8653Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
8654
8655 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
8656 which are accessed as both doubles and integers.
8657 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
8658 * libc/stdlib/strtod.c (_strtod_r): Likewise.
8659 * libc/stdlib/mprec.h: Add "union double_union" and change
8660 word0/word1 macros to use it.
8661
8662Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
8663
8664 * libc/include/sys/signal.h: add __cplusplus wrapper
8665
8666Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
8667
8668 * libc/include/sys/utime.h: new generic file that gets replaced by
8669 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
8670 function.
8671 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
8672 * libc/include/time.h: remove duplicate utime proto
8673 * libc/include/utime.h: add comment
8674
8675Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
8676
8677 * libc/include/sys/time.h: Add missing include to
8678 allow use of _EXFUN. Remove times function that is
8679 already defined in times.h.
8680
8681Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
8682
8683 * libc/include/time.h: Fix typo in tzset.
8684
8685Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
8686
8687 * libc/include/sys/time.h: add missing Cygwin32 function protos
8688 * libc/include/sys/unistd.h: ditto
8689 * libc/include/time.h: ditto
8690
8691Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
8692
8693 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
8694 FIXME.
8695 * libc/include/sys/types.h: add a new __MS_types__ section
8696 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
8697 __BIT_TYPES_DEFINED__.
8698
8699Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
8700
8701 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
8702 since it overrides the one in libc/include/sys. Also, start
8703 including types.h.
8704
8705Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
8706
8707 * libm/math/Makefile.in: add s_signgam.o to obj list
8708
8709Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
8710
8711 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
8712
8713Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
8714
8715 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
8716 so don't use defines.
8717
8718Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
8719
8720 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
8721
8722Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
8723
8724 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
8725 _current_locale as default locale.
8726
8727Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
8728
8729 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
8730 insufficient space in a chunk.
8731
8732Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
8733
8734 * configure.in (links): Added check for --enable-newlib-mb configure
8735 option which defines the MB_CAPABLE macro.
8736 * libc/locale/locale.c (_setlocale_r): Added support for setting
8737 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
8738 defined.
8739 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
8740 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
8741 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
8742 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
8743 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
8744 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
8745 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
8746 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
8747 * libc/stdlib/Makefile.in: Added new multibyte
8748 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
8749 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
8750 _mbstowcs_r(), and _wcstombs_r().
8751 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
8752 for JIS, SJIS, and EUC-JP characters.
8753 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
8754 MB_CAPABLE defined.
8755 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
8756 MB_CAPABLE defined.
8757 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
8758 MB_CAPABLE defined.
8759 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
8760 if MB_CAPABLE defined.
8761 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
8762 if MB_CAPABLE defined.
8763 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
8764 to the format string processing when MB_CAPABLE.
8765 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
8766 call _mbtowc_r().
8767
8768Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
8769
8770 The following modifications are courtesy of Anthony Thompson,
8771 athompson@cambridge.arm.com:
8772 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
8773 boith RDI and RDP monitors.
8774 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
8775 RDI and RDP monitors.
8776
8777Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
8778
8779 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
8780 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
8781 (_swiopen): Fixed open flags to treat write with append as just append.
8782 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
8783 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
8784
8785Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8786
8787 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
8788 When needing to transfer an initial 2-byte-word, store as
8789 two single bytes.
8790
8791Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8792
8793 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
8794 __SH3E__ .
8795 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
8796 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
8797
8798Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
8799
8800 * configure.in (target_cflags): If --enable-target-optspace, use
8801 -Os to compile newlib rather than -O2. Default to using -Os for
8802 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
8803 used.
8804
8805Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
8806
8807 * libc/include/machine/setjmp.h: change sigsetjmp and
8808 siglongjmp definitions to use an array instead of a struct
8809 for __CYGWIN32__
8810
8811Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
8812
8813 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
8814
8815Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
8816
8817 * libc/string/strxfrm.c: fix to get correct return value
8818
8819Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
8820
8821 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
8822 builds. Make mode change labels global so that they will be seen
8823 by the debugger.
8824
8825Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
8826
8827 * configure.in (links): Do not use ARM debiugging protocols for PE
8828 builds.
8829
8830 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
8831 message.
8832
8833Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
8834
8835 * libc/stdio/findfp.c (__sinit): Made stdout default to
8836 line buffered mode as defined by ANSI.
8837
8838Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
8839
8840 * libc/include/sys/itimer.h: New file.
8841
8842 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
8843
8844Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8845
8846 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
8847 failure.
8848
8849Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
8850
8851 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
8852 insns.
8853
8854Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
8855
8856 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
8857
8858Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
8859
8860 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
8861 support.
8862
8863 * libc/include/machine/setjmp.h: Add D30V support.
8864
8865 * configure.in (d30v-*): Add d30v machine directory.
8866
8867Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
8868
8869 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
8870 been replaced with libgloss/mn10300.
8871
8872Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
8873
8874 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
8875 it is no longer needed.
8876
8877Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
8878
8879 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
8880
8881Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
8882
8883 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
8884 the file when O_APPEND is set, wherever the EOF happens to be at
8885 that time.
8886
8887Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
8888
8889 patch from cgf@bbc.com (Christopher Faylor):
8890 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
8891 convention of closing fp prior to attempting to open the file
8892 argument. This allows correct operation when reopening
8893 stdin/stdout/stderr. Replaces last freopen.c patch.
8894
8895Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
8896
8897 patch from cgf@bbc.com (Christopher Faylor):
8898 * libc/stdio/freopen.c: freopen was not preserving the fd
8899 of the stream being operated on. This confuses programs that
8900 expect that the handles for stdout and stderr will be 1 and 2.
8901
8902Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
8903
8904 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
8905
8906Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
8907
8908 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
8909
8910Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
8911
8912 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
8913 altered to not use a branch. Also added hint that last
8914 bclr in longjmp will likely result in branch.
8915
8916
8917Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
8918
8919 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
8920
8921Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
8922
8923 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
8924 v850 builds.
8925
8926 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
8927
8928Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
8929
8930 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
8931 that loads FR14 to specify offset of 8 rather than 4
8932 so it loads from offset 96 (where setjmp stored it).
8933
8934Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
8935
8936 * libc/machine/sh/memcpy.S: (_memcpy): Update to
8937 latest version supplied by customer.
8938 * libc/machine/sh/memset.S (_memset): Ditto.
8939
8940Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
8941
8942 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
8943 PR14730).
8944
8945Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
8946
8947 * libc/include/string.h: remove redefinition of ffs
8948
8949Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
8950
8951 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
8952 defined
8953
8954Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
8955
8956 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
8957 TI Libraries to link to libc.a
8958
8959Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
8960
8961 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
8962 * libc/include/sys/stat.h (_{,f}stat): Ditto.
8963 * libc/include/sys/wait.h (_wait): Ditto.
8964 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
8965 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
8966
8967Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
8968
8969 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
8970 minded stabs so function name shows up when running the simulator
8971 with -t.
8972 * libc/sys/d10v/{crt0,trap}.S: Ditto.
8973
8974Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
8975
8976 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
8977 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
8978 Use R5 where we used to use R3.
8979
8980Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
8981
8982 * libc/stdlib/getopt.c (getopt): replaced __progname
8983 with nargv[0] to improve portability to imbedded systems.
8984
8985Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
8986
8987 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
8988 patch supplied by Tont.Thompson@arm.com to fix the creation of the
8989 stdout file.
8990
8991Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
8992
8993 * libc/stdio/tmpnam.c (worker): Generate a different file name
8994 each time.
8995
8996 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
8997 fails, try an execlp for sh.
8998
8999 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
9000 option for the winsup include directory.
9001
9002Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
9003
9004 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
9005 debugging interface from Tony.Thompson@arm.com.
9006
9007 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
9008 * libc/sys/arm/swi.h: ditto.
9009
9010Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
9011
9012 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
9013 DIR struct used for readdir hashes.
9014
9015Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
9016
9017 * libc/string/strchr.c: Use "unsigned chars" as necessary.
9018
9019Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
9020
9021 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
9022 integer targets.
9023
9024Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
9025
9026 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
9027 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
9028 * libc/include/malloc.h: Add extern "C" if __cplusplus.
9029 (__malloc_copy): Declare.
9030
9031Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
9032
9033 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
9034 <sys/config.h>.
9035 (POINTER_UINT): Define.
9036 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
9037 (MALLOC_ALIGNMENT): Don't define if already defined.
9038 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
9039 long.
9040
9041Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
9042
9043 * libc/string/memset.c (memset): Fiddle with code so that the long
9044 value being stored is not a stack value. Unroll storing longs 4
9045 times.
9046
9047Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
9048
9049 * Reduce code size for libm modules.
9050 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
9051 and simply move code into sqrt.
9052 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
9053 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
9054 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
9055 * libm/math/wr_gamma.c (gamma_r): Likewise.
9056 * libm/math/wf_sinh.c (sinfh): Likewise.
9057 * libm/math/w_sinh.c (sinh): Likewise.
9058 * libm/math/wf_scalb.c (scalbf): Likewise.
9059 * libm/math/w_scalb.c (scalb): Likewise.
9060 * libm/math/wf_remainder.c (remainderf): Likewise.
9061 * libm/math/w_remainder.c (remainder): Likewise.
9062 * libm/math/wf_pow.c (powf): Likewise.
9063 * libm/math/w_pow.c (pow): Likewise.
9064 * libm/math/wf_log10.c (log10f): Likewise.
9065 * libm/math/w_log10.c (log10): Likewise.
9066 * libm/math/wf_log.c (logf): Likewise.
9067 * libm/math/w_log.c (log): Likewise.
9068 * libm/math/w_lgamma.c (lgamma): Likewise.
9069 * libm/math/wf_lgamma.c (lgammaf): Likewise.
9070 * libm/math/wf_jn.c (jnf): Likewise.
9071 * libm/math/w_jn.c (jn): Likewise.
9072 * libm/math/wf_j1.c (j1f): Likewise.
9073 * libm/math/w_j1.c (j1): Likewise.
9074 * libm/math/wf_j0.c (j0f): Likewise.
9075 * libm/math/w_j0.c (j0): Likewise.
9076 * libm/math/wf_hypot.c (hypotf): Likewise.
9077 * libm/math/w_hypot.c (hypot): Likewise.
9078 * libm/math/wf_gamma.c (gammaf): Likewise.
9079 * libm/math/w_gamma.c (gamma): Likewise.
9080 * libm/math/wf_fmod.c (fmodf): Likewise.
9081 * libm/math/w_fmod.c (fmod): Likewise.
9082 * libm/math/wf_exp.c (expf): Likewise.
9083 * libm/math/w_exp.c (exp): Likewise.
9084 * libm/math/wf_cosh.c (coshf): Likewise.
9085 * libm/math/w_cosh.c (cosh): Likewise.
9086 * libm/math/wf_atanh.c (atanhf): Likewise.
9087 * libm/math/w_atanh.c (atanh): Likewise.
9088 * libm/math/wf_atan2.c (atan2f): Likewise.
9089 * libm/math/w_atan2.c (atan2): Likewise.
9090 * libm/math/wf_asin.c (asinf): Likewise.
9091 * libm/math/w_asin.c (asin): Likewise.
9092 * libm/math/wf_acosh.c (acoshf): Likewise.
9093 * libm/math/w_acosh.c (acosh): Likewise.
9094 * libm/math/wf_acos.c (asocf): Likewise.
9095 * libm/math/w_acos.c (acos): Likewise.
9096 * libm/math/wf_sqrt.c (sqrtf): Likewise.
9097 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
9098 for embedded systems.
9099
9100Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
9101
9102 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
9103 Lea in case of a foreign sbrk.
9104
9105Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
9106
9107 Incorporate Doug Lea's malloc:
9108 * libc/stdlib/mallocr.c: Completely replaced.
9109 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
9110 (realloc): Remove.
9111 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
9112 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
9113 mallopt.
9114 (mallinfo, malloc_stats, mallopt): New functions.
9115 (_mstats_r): Just call _malloc_stats_r.
9116 * libc/stdlib/malign.c: New file.
9117 * libc/stdlib/mlock.c: New file.
9118 * libc/stdlib/msize.c: New file.
9119 * libc/stdlib/mtrim.c: New file.
9120 * libc/stdlib/realloc.c: New file.
9121 * libc/stdlib/valloc.c: New file.
9122 * libc/stdlib/malloc.h: Remove.
9123 * libc/stdlib/callocr.c: Remove.
9124 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
9125 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
9126 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
9127 reallocr.o, valloc.o, vallocr.o.
9128 (CHEWOUT_FILES): Add mlock.def, mstats.def.
9129 (MALLOC_CFLAGS): New variable.
9130 (mallocr.o): New target, build from mallocr.c.
9131 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
9132 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
9133 (msizer.o, malloptr.o): Likewise.
9134 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
9135 (valloc.o): New target.
9136 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
9137 * libc/include/malloc.h: Declare struct mallinfo, and new
9138 routines.
9139 * libc/include/stdlib.h (cfree): Correct declaration.
9140
9141Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
9142
9143 * libc/include/machine/setjmp.h: Add support for Thumb target.
9144
9145 * libc/include/machine/ieeefp.h: Add support for Thumb target.
9146
9147 * configure.in (links): Add support for Thumb target.
9148
9149Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
9150
9151 * libc/sys/arm/setjmp.S: Updated with version from branch.
9152
9153Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
9154
9155 * libc/include/stdio.h: add POSIX-required define L_ctermid
9156 for ctermid
9157
9158Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
9159
9160 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
9161 addition to MISSING_SYSCALL_NAMES.
9162
9163Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9164
9165 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
9166
9167Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
9168
9169 * libc/include/string.h: change strsignal proto to return
9170 a char *. This eliminates compile problems in gdb resulting
9171 from gdb's definition of strsignal in defs.h.
9172
9173Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
9174
9175 * libc/sys/cygwin32/sys/utime.h: new (moved here from
9176 winsup/include) so as not to conflict with the one in
9177 libc/include.
9178 * libc/include/string.h: add protos for strsignal, strtosigno
9179
9180Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
9181
9182 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
9183
9184 * configure.in (d30v-*-*): Add configuration.
9185
9186Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
9187
9188 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
9189 to select which kind of debug monitor is in use for an ARM target.
9190
9191 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
9192 Angel and Demon debug monitors. Part of this code was supplied by
9193 Tony Thompson at ARM: athompso@arm.com.
9194
9195Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
9196
9197 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
9198 semantics when the count is greater than the length of the second
9199 source string.
9200
9201Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
9202
9203 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
9204 * libc/include/sys/unistd.h: add protos for usleep, truncate,
9205 truncate and ftruncate take off_t, not size_t
9206
9207Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
9208
9209 * libc/string/strcat.c (strcat): Add missing comment end.
9210 * libc/string/strncat.c (strncat): Likewise.
9211
9212Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
9213
9214 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
9215 targets.
9216 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
9217 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
9218 defined.
9219 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
9220 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
9221 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
9222
9223Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
9224
9225 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
9226 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
9227
9228Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
9229
9230 * libc/machine/i386/setjmp.S: New file.
9231 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
9232 (OFILES): Add setjmp.o.
9233 (setjmp.o): Add rule for.
9234 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
9235
9236Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
9237 Jeffrey A Law (law@cygnus.com)
9238
9239 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
9240 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
9241 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
9242 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
9243
9244Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
9245
9246 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
9247 rules.
9248
9249 * libc/include/sys/config.h: Use __v850 to select v850
9250 endianness.
9251
9252 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
9253 buffer size.
9254
9255 * libc/include/machine/ieeefp.h: Use __v850 to select v850
9256 endianness.
9257
9258Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
9259
9260 * libc/stdlib/setenv.c: change unsetenv definition to match
9261 style of setenv (with _DEFUN). The string should be a const.
9262 * libc/include/stdlib.h: unsetenv proto should return void.
9263
9264Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
9265
9266 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
9267
9268Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
9269
9270 * libc/stdio/glue.h: remove.
9271 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
9272 * libc/stdio/Makefile.in: remove glue.h dependencies
9273
9274Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
9275
9276 * libc/sys/sysnecv850/crt0.S: Created V850e version.
9277
9278Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
9279
9280 * configure.in (target_cpu): Add `arc'.
9281
9282Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
9283
9284 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
9285 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
9286 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
9287 * newlib/libc/reent/reent.c: Add _wrapup_reent.
9288 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
9289
9290Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
9291
9292 * libc/machine/mips/setjmp.S: Handle mips16 builds.
9293
9294Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
9295
9296 * libc/include/stdio.h (siprintf): Declare.
9297
9298Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
9299
9300 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
9301 TARGET_CFLAGS and NEWLIB_FLAGS.
9302
9303Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
9304
9305 * configure.in (links): Add support for v850ea target.
9306
9307Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
9308
9309 * configure.in (links): Add support for v850e target.
9310
9311Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
9312
9313 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
9314
9315Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
9316
9317 * configure.in (arc-*-*): Add support for.
9318 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
9319
9320Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9321
9322 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
9323
9324Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
9325
9326 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
9327 comparison which accesses invalid memory when the key is
9328 larger than the last member of the array.
9329 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
9330 for CYGWIN32
9331 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
9332
9333Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
9334
9335 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
9336 not _STRICT_ANSI.
9337
9338Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
9339
9340 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
9341 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
9342
9343Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
9344
9345 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
9346 to load/store memory.
9347
9348Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
9349
9350 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
9351 underscores if _WIN32.
9352
9353Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
9354
9355 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
9356 support ifdef _USE_WRITE missed in last change.
9357 From Anders Blomdell <anders.blomdell@control.lth.se>.
9358
9359Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
9360
9361 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
9362 (_tmpnam_r, _tempnam_r): Update.
9363
9364Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
9365
9366 * libc/machine/sparc/setjmp.S: New file.
9367 * libc/machine/sparc/Makefile.in: Add setjmp.
9368 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
9369
9370Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
9371
9372 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
9373
9374Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
9375
9376 From Joel Sherrill <joel@oarcorp.com>.
9377 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
9378
9379 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
9380 * configure.in: Recognize *-*-rtems*.
9381 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
9382 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
9383 time.h,times.h,types.h}: New files.
9384 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
9385
9386Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
9387
9388 patch from sos@prospect.com.ru (Sergey Okhapkin):
9389 * include/sys/wait.h: correct operator precidence bug
9390 in WIFSIGNALED
9391
9392Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
9393
9394 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
9395 with newlib's unsetenv function
9396 * libc/sys/cygwin32/sys: new directory for includes
9397 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
9398 here from winsup/include/sys
9399
9400Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
9401
9402 * libc/include/sys/unistd.h: _exit should only be
9403 labelled noreturn when not __CYGWIN32__
9404 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
9405 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
9406 increment NSIG
9407
9408Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
9409
9410 * libc/include/sys/time.h: Only define timeval and timezone if
9411 _GNU_H_WINDOWS32_SOCKETS is not defined.
9412 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
9413
9414Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
9415
9416 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
9417 * libc/machine/mn10300/setjmp.S: Likewise.
9418
9419 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
9420 the mn10300 (more relaxing opportunities).
9421
9422Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
9423
9424 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
9425 Build libraries with -mstrict-align.
9426
9427Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
9428
9429 * libc/string/strlwr.c: New file.
9430 * libc/string/strupr.c: New file.
9431 * libc/include/string.h: Declare strlwr and strupr.
9432 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
9433 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
9434 (strlwr.o, strupr.o): New targets.
9435 * libc/string/strings.tex: Include strlwr and strupr docs.
9436
9437 * libc/include/sys/types.h: Don't define u_char, et. al., if
9438 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
9439 et. al. Make FD_SETSIZE default 64 rather than 60. Define
9440 _types_fd_set rather than fd_set, and define fd_set as a macro.
9441
9442 * libc/include/malloc.h: New file.
9443
9444 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
9445 strnicmp if they are not already defined.
9446
9447 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
9448 _timezone, _daylight, and _tzname.
9449
9450Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
9451
9452 * configure.in: Sort all configuration tables.
9453
9454 From Joel Sherrill <joel@oarcorp.com>
9455 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
9456
9457Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
9458
9459 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
9460 use int when declaring kill.
9461
9462 * libc/include/sys/timeb.h: New file.
9463
9464Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
9465
9466 * libc/include/sys/time.h: add itimer support for Cygwin32
9467
9468Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
9469
9470 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
9471 out a message that abort was called to stderr.
9472
9473Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
9474
9475 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
9476 so that libio doesn't freak.
9477
9478 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
9479 int.
9480
9481 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
9482 memory sizes, not int.
9483
9484Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
9485
9486 * libm/math/ef_hypot.c: Use long constants where
9487 appropriate.
9488 * libm/math/ef_sqrt.c: Ditto.
9489
9490 * libc/sys/sysmec/times.c(_times): Change to times.
9491
9492 * libc/sys/sysmec/read.c(_read): The third argument is
9493 size_t.
9494 * libc/sys/sysmec/write.c (_write): Ditto.
9495
9496 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
9497 (_lseek): It's off_t for the second argument.
9498
9499Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
9500
9501 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
9502 as well as machine/ieeefp.h.
9503
9504Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
9505
9506 * libc/include/sys/signal.h: add signal protos for winsup
9507 functions (when __CYGWIN32__), include types.h
9508 * libc/include/sys/types.h: Change __go32_types__ internal
9509 define to __MS_types__ since it's used for more than just
9510 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
9511 defined.
9512 * libc/include/sys/unistd.h: add ftruncate proto for
9513 winsup functions (when __CYGWIN32__)
9514
9515Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
9516
9517 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
9518
9519Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
9520
9521 * libc/include/machine/setjmp.h: Add tic80 support.
9522 * libc/machine/tic80/setjmp.S: Likewise.
9523
9524Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
9525
9526 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
9527 link programs from libraries only (such as in the X11
9528 distribution)
9529
9530Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
9531
9532 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
9533 supplied elsewhere in newlib.
9534
9535Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
9536
9537 * Makefile.in (INSTALL): Change install.sh to install-sh.
9538
9539Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
9540
9541 * README: update WWW address for on-line documentation.
9542
9543Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
9544
9545 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
9546 increment NSIG
9547
9548Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
9549
9550 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
9551 mn10300.
9552 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
9553
9554Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
9555
9556 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
9557 * libc/sys/d10v/syscalls.c: Likewise.
9558 * libc/sys/h8300hms/sbrk.c: Likewise.
9559 * libc/sys/h8500hms/syscalls.c: Likewise.
9560 * libc/sys/m88kbug/syscalls.c: Likewise.
9561 * libc/sys/sh/syscalls.c: Likewise.
9562 * libc/sys/sysmec/sbrk.c: Likewise.
9563 * libc/sys/sysnecv850/sbrk.c: Likewise.
9564 * libc/sys/w65/syscalls.c: Likewise.
9565 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
9566
9567Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
9568
9569 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
9570 emulated syscall instead of "trap".
9571
9572Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
9573
9574 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
9575 not trap 0.
9576
9577Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
9578
9579 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
9580
9581Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
9582
9583 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
9584 not "sh".
9585 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
9586 not "d10v".
9587 * libc/sys/tic80/crt0.c: New file for TIc80.
9588 * libc/sys/tic80/Makefile.in: New file for TIc80.
9589 * libc/machine/tic80/Makefile.in: New file for TIc80.
9590
9591Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
9592
9593 * libc/machine/sh/memcpy.S: New file.
9594 * libc/machine/sh/memset.S: New file.
9595 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
9596
9597Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
9598
9599 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
9600 for TIc80.
9601
9602Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
9603
9604 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
9605 the mn10200.
9606
9607Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
9608
9609 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
9610 (patch from andrew@pogo.WV.TEK.COM).
9611
9612Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
9613
9614 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
9615 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
9616
9617Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
9618
9619 * configure.in: Add cases for "tic80" to set machine_dir,
9620 sys_dir, and syscall_dir.
9621
9622Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
9623
9624 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
9625
9626Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
9627
9628 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
9629
9630Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
9631
9632 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
9633 Use proper constant prefix.
9634
9635Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
9636
9637 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
9638 that loses on the mn10200 where ints and pointers are different
9639 sizes.
9640
9641Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
9642
9643 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
9644 target as signal is provided in winsup.
9645
9646Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
9647
9648 * libc/include/sys/process.h: Corrected const definitions
9649 in spawn functions. Added cwait.
9650
9651Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
9652
9653 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
9654 doubles.
9655 * libc/include/sys/config.h: Similarly.
9656
9657Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9658
9659 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
9660 target_cflags.
9661 (i[3456]86-*-sco*): Ditto.
9662
9663 * libc/signal/Makefile.in (OFILES): Add signal.o.
9664 (CFILES): Add signal.c.
9665
9666 * libc/signal/raise.c (_raise_r): Only compile code if
9667 SIGNAL_PROVIDED is defined.
9668
9669 * libc/signal/signal.c: Redo whole file so that it works with
9670 current newlib. Use _kill_r if no signal handler provided.
9671
9672 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
9673 signal stubs.
9674 * libc/sys/sysvnecv70/Makefile.in: Ditto.
9675 * libc/sys/sysnecv850/Makefile.in: Ditto.
9676
9677 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
9678 * libc/sys/sysmec/{raise,signal}.c: Ditto.
9679 * libc/sys/sysvnecv70/signal.s: Ditto.
9680 * libc/sys/sysnecv850/raise.c: Ditto.
9681
9682 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
9683 simulator and debugger can tell the difference between a signal
9684 being raised and an exit system call.
9685
9686 * NEWS: Document software signals being provided.
9687
9688Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9689
9690 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
9691 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
9692 include/sys/config.h.
9693 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
9694 Change from 'inpure_data'.
9695 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
9696 &impure_data, not &inpure_data.
9697
9698 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
9699 and and System V ABI, define so that _impure_ptr lives in the
9700 .sdata section.
9701
9702Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9703
9704 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
9705 nothing if not defined.
9706 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
9707 its attributes.
9708
9709 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
9710
9711Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
9712
9713 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
9714 * libc/sys/sysmec/trap.s: Handle mn10200 too.
9715 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
9716
9717Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
9718
9719 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
9720
9721Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
9722
9723 * libc/include/sys/errno.h: Added net errno's.
9724
9725Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9726
9727 * libc/misc/ffs.c: New file to support ffs function for GCC test
9728 gcc.c-torture/execute/960909-1.c.
9729
9730 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
9731
9732Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
9733
9734 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
9735 * libc/sys/sysmec/trap.S: Likewise.
9736
9737Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
9738
9739 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
9740 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
9741
9742Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
9743
9744 * libc/sys/sysmec/signal.c: Dummy file.
9745 * libc/sys/sysmec/Makefile.in: Build it.
9746
9747Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
9748
9749 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
9750 mips16.
9751
9752Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
9753
9754 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
9755 c-startup and simulator traps.
9756
9757
9758 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
9759 * libc/sys/sysmec/trap0.S: Likewise.
9760
9761Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9762
9763 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
9764 round to double word alignment.
9765 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
9766 byte alignment.
9767
9768 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
9769
9770 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
9771 out of memory.
9772
9773Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
9774
9775 * configure.in: Handle mn10200 and mn10300.
9776 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
9777 * libc/include/sys/config.h: Likewise.
9778 * libc/sys/sysmec: New directory for mec stuff.
9779 * libc/machine/mn10300: New directory for mn10300 stuff.
9780 * libc/machine/mn10200: Similarly for mn10200 stuff.
9781
9782Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
9783
9784 * libc/sys/arm/crt0.S: Use .text, not .section .text.
9785 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
9786
9787 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
9788 (nlink_t): Change type from unsigned int to unsigned short.
9789 (mode_t): Ensure size is 32 bits even if int is 16.
9790 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
9791 (st_spare[123]): Change type from int to long.
9792
9793Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9794
9795 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
9796 byte boundary.
9797
9798 * configure.in (d10v*): Define SMALL_MEMORY.
9799
9800Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9801
9802 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
9803 -mrelocatable-lib and -mno-eabi flags.
9804
9805Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
9806
9807 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
9808 Fix handling of mis-aligned source operand when both the
9809 destination & length are properly aligned.
9810
9811Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
9812
9813 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
9814 times.o, time.o and gettime.o
9815 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
9816 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
9817 SYS_gettimeofday.
9818
9819Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
9820
9821 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
9822 * libc/sys/sysnecv850/access.c: New file.
9823
9824Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
9825
9826 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
9827
9828 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
9829 long.
9830
9831Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
9832
9833 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
9834
9835Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
9836
9837 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
9838 * libc/include/sys/config.h: Add m32r support.
9839
9840Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
9841
9842 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
9843 here.
9844
9845Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
9846
9847 * libc/include/machine/setjmp.h: Add D10v support.
9848
9849Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
9850
9851 * configure.in: Configure the "libc/syscalls" directory for
9852 the v850.
9853
9854 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
9855 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
9856 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
9857 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
9858 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
9859
9860Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
9861
9862 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
9863 stack for args for main and other routines. Zero out args for
9864 main.
9865
9866 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
9867 correctly.
9868
9869Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9870
9871 * libc/stdio/findfp.c (std): Remove extraneous ';' after
9872 function.
9873
9874 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
9875
9876 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
9877 real system calls now.
9878
9879 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
9880 before casting them to int.
9881 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
9882
9883 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
9884 aligning pointer.
9885 * libc/string/memset.c (memset): Ditto.
9886
9887 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
9888 first convert ints to _POINTER_INT to eliminate GCC warning.
9889
9890 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
9891 processing %p.
9892
9893 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
9894 from 65000 if ints are only 16 bits.
9895
9896 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
9897 from 50000 if ints are only 16 bits.
9898
9899 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
9900 int type that is the same size as a pointer.
9901
9902 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
9903 processing %p.
9904 (get_number): Explicitly cast number to long before shifting by 16
9905 or 24, in case ints are short.
9906
9907 * libc/include/sys/config.h (_POINTER_INT): Define as short.
9908
9909Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
9910
9911 * libc/string.h: Added ffs, removed swab.
9912 * libc/sys/errno.h: Added EOPNOTSUPP.
9913 * libc/sys/unistd.h: Added swab.
9914
9915Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
9916
9917 * libc/include/sys/stat.h: Added fchmod.
9918 * libc/include/sys/unistd.h: Added fsync.
9919
9920Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
9921
9922 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
9923 and ECONNRESET (104) for cygwin32.
9924
9925Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
9926
9927 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
9928 do the static destructors.
9929
9930Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
9931
9932 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
9933
9934Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
9935
9936 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
9937 * configure.in: Recognize m32r-*-*.
9938
9939Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
9940
9941 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
9942 __rt_stkovf_split_small): Added default software stack overflow
9943 handlers, which just call SWI_Exit.
9944 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
9945 limit initialisation.
9946
9947Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
9948
9949 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
9950
9951Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
9952
9953 * libc/include/sys/types.h: Added ssize_t definition.
9954
9955Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9956
9957 * libc/machine/d10v/setjmp.S: Use ';' for comments.
9958 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
9959
9960 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
9961 branch around a single ldi instruction.
9962
9963 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
9964 Call exit, instead of just issuing a stop instruction.
9965
9966Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9967
9968 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
9969
9970Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9971
9972 * libc/stdlib/mprec.h: Explicitly declare all large constants as
9973 longs, and then cast them to __uint32_t.
9974
9975 * libc/include/sys/config.h: Protect against multiple inclusions.
9976
9977Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
9978
9979 * configure.in (d10v*): Set syscall_dir.
9980
9981Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
9982
9983 * libc/sys/d10v/crt0.S: Set stack pointer.
9984
9985Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
9986
9987 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
9988 in assembly for efficiency. Change calling convention to allow
9989 long ints to be returned.
9990
9991Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9992
9993 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
9994
9995Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
9996
9997 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
9998 Handle empty entries in $PATH.
9999
10000Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
10001
10002 * libc/machine/d10v/setjmp.S: Make it really work.
10003
10004Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
10005
10006 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
10007 the .stack section.
10008
10009Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
10010
10011 * sys/sysnecv850/sys/file.h: Remove.
10012 * sys/sysnecv850/sys/syscall.h: New file.
10013 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
10014 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
10015 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
10016 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
10017 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
10018 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
10019 * sys/sysnec850/trap.S: New file.
10020 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
10021 syscalls.
10022 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
10023 * sys/sysnec850/sbrk.c: New version.
10024
10025Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
10026
10027 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
10028 as long as r6 is less than r7.
10029
10030Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
10031
10032 * Makefile.in (mostlyclean): Separate from clean target. Don't
10033 remove *.a or targ-include.
10034 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
10035
10036Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10037
10038 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
10039 d10v.
10040 (__SMALL_BITFIELDS): Ditto.
10041
10042 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
10043
10044Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
10045
10046 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
10047 prefix.
10048
10049 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
10050 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
10051 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
10052 * libc/sys/sysnecv850/write.c (write): Likewise.
10053
10054 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
10055 .bss.
10056
10057Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10058
10059 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
10060 appropriately for D10V, depending on -mint16/-mint32.
10061
10062Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
10063
10064 * configure.in: Add cases for D10V.
10065
10066Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10067
10068 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
10069
10070Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
10071
10072 * libc/include/machine/ieeefp.h: Fix typo.
10073
10074Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
10075
10076 * libc/sys/d10v: New directory for D10V stuff.
10077 * libc/include/machine/ieeefp.h: Add D10V defines.
10078
10079Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
10080
10081 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
10082 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
10083 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
10084 * libc/string/strerror.c (strerror): Add them.
10085
10086Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
10087
10088 * libc/sys/sysnecv850: New directory for v850 stuff.
10089
10090 * libc/machine/v850: New directory for v850 stuff.
10091 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
10092
10093 * configure.in: Add support for the v850.
10094
10095 * libc/include/machine/ieeefp.h: Add v850 defines.
10096 * libc/include/machine/setjmp.h: Likewise.
10097 * libc/include/sys/config.h: Add v850 defines.
10098
10099Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
10100
10101 * libc/include/machine/ieeefp.h
10102 * libc/include/machine/setjmp.h
10103 * libc/include/sys/fcntl.h
10104 * libc/include/sys/signal.h
10105 * libc/include/sys/types.h
10106 * libc/stdlib/system.c:
10107 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
10108 API availability, __CYGWIN32__ for cygwin32 environment specific).
10109
10110Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
10111
10112 * libc/include/stdlib.h: add multibyte character functions. Add
10113 __eprintf for assert.
10114
10115Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10116
10117 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
10118 arithmetic or __alignof__ to properly get the alignment, instead
10119 of hardwiring it to 4.
10120
10121Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
10122
10123 * libc/stdio/fseek.c: add fflush call to adjust seek offset
10124 on append stream (fix from NetBSD sources), adjust curoff offset
10125 for ungetc's benefit.
10126 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
10127 * libc/stdio/rewind.c: replace code with up to date NetBSD
10128 code to undo hacks made to work around above problem of not
10129 having fflush call mentioned above
10130
10131Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
10132
10133 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
10134 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
10135 Partially revert last changes. The thread specific errno is set
10136 iff if the underlying syscall fails and the global errno is not
10137 zero.
10138
10139Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
10140
10141 * libc/reent/filer.c: Removed files, all functions have split out
10142 into their own files.
10143 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
10144 New files containing functions formally in filer.c
10145 * libc/reent/Makefile.in: Updated for above change.
10146
10147 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
10148 syscall fails, not if errno is changed.
10149 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
10150 _write_r): Likewise.
10151 * libc/reent/fstatr.c (_fstat_r): Likewise.
10152 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
10153 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
10154 * libc/reent/signalr.c (_kill_r): Likewise.
10155 * libc/reent/statr.c (_stat_r): Likewise.
10156 * libc/reent/timer.c (_gettimeofday_r): Likewise.
10157
10158 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
10159 signalr.c, statr.c, timer.c} (errno): declare extern rather
10160 than as a common.
10161
10162 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
10163 instead of calling vfprintf so that i*printf will not require
10164 floating point support code.
10165
10166Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
10167
10168 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
10169 path delimiter.
10170 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
10171 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
10172
10173Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
10174
10175 * libc/include/signal.h: _sig_func_ptr function takes an int
10176 * libc/include/sys/signal.h: sa_handler function takes an int
10177
10178Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
10179
10180 * libc/include/machine/ieeefp.h: Simplify H8/S support.
10181 * libc/include/sys/config.h: Add missing H8/S conditional.
10182
10183Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
10184
10185 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
10186
10187Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
10188
10189 * libc/include/machine/setjmp.h: Handle H8/S.
10190 * libc/include/machine/ieeefp.h: Likewise.
10191 * libc/include/sys/config.h: Likewise.
10192 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
10193 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
10194 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
10195 * libc/sys/h8300hms/crt0.S: Likewise.
10196
10197Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
10198
10199 * Makefile.in (datadir): Set to $(prefix)/share.
10200 (oldincludedir, docdir): Removed.
10201 * doc/Makefile.in (datadir): Set to $(prefix)/share.
10202 (oldincludedir, docdir): Removed.
10203 * libc/Makefile.in (datadir): Set to $(prefix)/share.
10204 (oldincludedir, docdir): Removed.
10205 * libm/Makefile.in (datadir): Set to $(prefix)/share.
10206 (oldincludedir, docdir): Removed.
10207
10208Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
10209
10210 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
10211 _reent struct.
10212
10213Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
10214
10215 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
10216 fetch current path rules with sysconf and handler posix/win32
10217 appropriately.
10218
10219 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
10220
10221 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
10222 (WAIT_CHILD): Always define.
10223
10224Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
10225
10226 * libc/stdlib/eprintf.c: New file.
10227 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
10228 (eprintf.o): New target.
10229
10230Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
10231
10232 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
10233 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
10234
10235Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
10236
10237 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
10238 NT in PowerPC endianess cases.
10239
10240Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10241
10242 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
10243
10244Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10245
10246 * libc/string/strtok.c: Fix doc typo.
10247
10248Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
10249
10250 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
10251 _next, _scanpoint, _signgam fields.
10252
10253 * libc/include/stdlib.h (rand_r): Added new declaration.
10254 (_rand_r, _srand_r): Removed declarations.
10255 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
10256 have been made obsolete by rand_r.
10257 * libc/stdlib/rand_r.c: New file, rand_r function as specified
10258 by POSIX.1c.
10259
10260 * libc/string/strtok.c: Update documentation to describe
10261 strtok_r().
10262
10263Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
10264
10265 * libc/include/sys/stat.h (stat structure): Use the expanded stat
10266 structure on Solaris, and PowerPC systems even though __svr4__ is
10267 defined.
10268
10269Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
10270
10271 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
10272
10273Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
10274
10275 * host/any: Use ../.. rather than .. to get to the main build
10276 directory. This matches the current layout of the build
10277 directory.
10278
10279Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
10280
10281 * libc/machine/h8300/__main.S: Delete. No longer needed.
10282 * libc/machine/h8300/Makefile.in: Corresponding changes.
10283 * libc/sys/h8300hms/crt1.c: New file.
10284 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
10285 * libc/sys/h8300hms/crt0.s: Call __main.
10286
10287 * libc/sys/h8300hms/crt0.S: Use temporary label names
10288 for branch targets.
10289
10290Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
10291
10292 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
10293
10294Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10295
10296 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
10297 .sdata on the PowerPC so that we can link newlib with code
10298 compiled with -msdata.
10299
10300Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
10301
10302 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
10303
10304Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
10305
10306 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
10307 exception handler to __cygwin_exception_handler.
10308
10309Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
10310
10311 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
10312
10313Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
10314
10315 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
10316 SunOS VPATH.
10317 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
10318 wcstombs.o): Likewise.
10319
10320Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
10321
10322 * libc/stdlib/environ.c (initial_env): New static local.
10323 (environ): Point to `initial_env'.
10324
10325 * libc/include/machine/setjmp.h: Clean up.
10326 (__H8300H__,__PPC__): Define _JBTYPE.
10327 (__arm__): Provide entry for.
10328 (sigjmp_buf): Delete.
10329 (jmp_buf): Use _JBTYPE if defined, otherwise int.
10330
10331Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
10332
10333 * libc/machine/h8300/strcmp.S: Sign extend the result to
10334 32bits so we don't lose with -mint32.
10335
10336Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
10337
10338 * libc/sys/go32/sys/errno.h: New file.
10339 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
10340 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
10341 errno's address (make compatible with rest of newlib).
10342 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
10343 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
10344
10345Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
10346
10347 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
10348 * libc/machine/sparc/Makefile.in: Build them.
10349 * libc/machine/sparc/machine/sparclet.h: New file.
10350
10351Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
10352
10353 * libc/machine/sh/asm.h: New file.
10354 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
10355 support for SH3e's FP registers. Use asm.h.
10356
10357Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
10358
10359 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
10360 as first argument. Call _dtoa_r and pass the reent structure
10361 instead of calling __dtoa.
10362
10363Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
10364
10365 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
10366 the h8300, h8500, and others. Add comments for some rather
10367 dubious code.
10368
10369Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
10370
10371 * Makefile.in (check): Check that testsuite exists before cd.
10372
10373Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10374
10375 * libc/include/string.h (strsep): Correct prototype.
10376
10377Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
10378
10379 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
10380 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
10381 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
10382
10383Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
10384
10385 * libc/posix/{creat.c,isatty.c}: New files.
10386 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
10387
10388 * libc/sys/sparc64/crt0.S (environ): Delete.
10389 (.LHaveBias): Renamed from HaveBias.
10390
10391Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
10392
10393 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
10394 (_morecore_r): Delete SBRK_IS_ALLOC support.
10395
10396Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10397
10398 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
10399 module rather than touch, so we don't get warning messages when
10400 all of the libraries are combined into libc.a.
10401
10402Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
10403
10404 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
10405 crt0.s replaced by version in libgloss.
10406
10407Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
10408
10409 * libc/reent/Makefile.in (OFILES): Add impure.o.
10410 * libc/reent/impure.o: New file, define initial reentrancy struct.
10411 * libc/reent/reent.c: Remove above definition.
10412
10413 * libm/math/sf_asinh.c: Fix typo.
10414
10415 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
10416 srf_ldexp.o.
10417
10418 * libm/libm.texinfo: Change documentation to reflect changes
10419 in reentrancy model.
10420 * libm/math/w_gamma.c: Likewise.
10421
10422Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
10423
10424 * configure.in (*-*-cygwin32): New.
10425 (*-*-win32): Deleted.
10426 * libc/sys/win32 renamed libc/sys/cygwin32.
10427
10428Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10429
10430 * libc/include/sys/file.h: New include file.
10431
10432Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
10433
10434 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
10435
10436Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
10437
10438 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
10439
10440Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10441
10442 * doc/makedoc.c (realloc): Declare at file scope.
10443 (catchar): Not here.
10444
10445Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
10446
10447 * Makefile.in (VERSION): Update to 1.7.0.
10448 * {libc,libm}/Makefile.in (VERSION): Likewise.
10449 * configure.in: Minor clean up of multilib stuff.
10450
10451 From David Johnson <davidj@ICSI.Berkeley.EDU>
10452 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
10453
10454 * libc/stdlib/environ.c: New file.
10455 * libc/stdlib/Makefile.in (OFILES): Build it.
10456 * libc/sys/h8500hms/crt0.c (environ): Deleted.
10457 * libc/sys/m88kbug/crt0.c (environ): Deleted.
10458 * libc/sys/z8ksim/crt0.c (environ): Deleted.
10459 * libc/sys/netware/environ.c: Deleted.
10460
10461Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
10462
10463 * configure.in (links): set sys_dir, posix_dir, syscall_dir
10464
10465Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
10466
10467 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
10468 declaration out to external scope and declare it PTR, not char *.
10469
10470Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
10471
10472 * libc/include/sys/unistd.h (getpagesize): New declaration.
10473 (_SC_PAGESIZE): New definition.
10474 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
10475 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
10476
10477Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
10478
10479 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
10480 addressing. System call returns size, not (last address + 1).
10481
10482Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10483
10484 * libm/math/*.c: Removed _foo_r() reentrancy API.
10485 * libc/include/math.h: Removed _foo_r prototypes and macros.
10486
10487 * libm/math/*.c: On systems with IEEE single precision "doubles"
10488 move foo() -> foof() wrapper code from the files that implement
10489 the standard IEEE double precision functions to the files that
10490 implement IEEE single precision functions. (ie. On those systems
10491 sin is moved from s_sin.c to sf_sin.c). There should eventually
10492 be use of a C extension (like gcc's alias attribute) so that the
10493 wrappers are not needed at all.
10494
10495 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
10496 strict NEC V810 compiler.
10497 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
10498 for same reason.
10499
10500Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10501
10502 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
10503 from NetBSD C library.
10504 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
10505
10506 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
10507 and adapted from implementation I wrote for NetBSD C library.
10508 The difference is __assert doesn't take a format argument,
10509 so that there won't be multiple copies of the same string
10510 constant in the executable if assertions are enabled in
10511 more than one source module.
10512 * libc/include/assert.h (assert): Changed to call __assert.
10513
10514Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10515
10516 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
10517 word1 on systems with 32 bit doubles.
10518 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
10519 so that we can do arithmetic on them.
10520 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
10521 compilers.
10522
10523Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
10524
10525 * libc/sys/arm/crt0.S: Zero bss.
10526
10527Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
10528
10529 * libc/include/unctrl.h: New file.
10530 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
10531 * configure.in (subdirs): Add libc/misc.
10532 * libc/Makefile.in (SUBDIRS): Add misc.
10533 (SUBLIBS): Add misc/lib.a.
10534
10535 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
10536
10537Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
10538
10539 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
10540 (_vfprintf_r): Call CHECK_INIT.
10541
10542Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
10543
10544 * Makefile.in (MULTITOP): Delete.
10545 (MULTISRCTOP, MULTIBUILDTOP): Add.
10546 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
10547 instead of cfg-ml-pos.in.
10548
10549Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
10550
10551 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
10552 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
10553 presence.
10554
10555Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
10556
10557 * libc/string/strtok.c: Include string.h to pick up strtok_r
10558 prototype.
10559
10560Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10561
10562 * libc/string/strtok.c: include <_ansi.h>.
10563 * libc/time/asctime_r.c: `reresult' -> `result'.
10564
10565Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10566
10567 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
10568 in #ifndef _REENT_ONLY ... #endif conditional.
10569
10570 * libc/include/string.h (_strtok_r): Remove declaration.
10571 * libc/include/time.h (_asctime_r): Remove declaration.
10572 * libc/string/strtok.c (_strtok_r): Removed.
10573 * libc/time/asctime.c (_asctime_r): Removed.
10574
10575 * libc/string/Makefile.in (OFILES): Add new object.
10576 * libc/string/strtok_r.c: New file. strtok_r function as
10577 specified by POSIX.1c, adapted from strtok implementation
10578 from NetBSD C library.
10579 * libc/string/strtok.c (strtok): Reimplemented in terms of
10580 strtok_r.
10581
10582 * libc/time/Makefile.in (OFILES): Add new objects.
10583 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
10584 New files, reentrant time functions specified by POSIX.1c.
10585 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
10586 reentrant time functions re-written in terms of reentrant
10587 functions.
10588 * libc/time/lcltime.c: Renamed from localtime.c
10589
10590 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
10591 gmtime_r, and localtime_r.
10592
10593Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
10594
10595 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
10596 * libc/include/sys/unistd.h (getlogin): Revert change of
10597 Oct 19.
10598 * libc/include/sys/signal.h (sigprocmask): Change prototype
10599 so it compiles with c++.
10600
10601Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
10602
10603 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
10604 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
10605 to give some room in case we need to align the jmp_buf.
10606
10607 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
10608 the new ppc-asm.h include file the compiler provides to specify
10609 function prologue/epilogue. Eliminate saves of the xer and ctr
10610 registers, which are volatile. Before starting to save registers,
10611 align to 8 byte boundary.
10612
10613Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
10614
10615 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
10616 referenced by standard libraries.
10617
10618Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
10619
10620 * libc/unix/Makefile.in, libc/string/Makefile.in,
10621 libc/stdio/Makefile.in, libc/reent/Makefile.in,
10622 libc/posix/Makefile.in:
10623 Remove tabs from otherwise empty line. Confuses some
10624 older non-GNU versions of "make".
10625
10626Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
10627
10628 * libc/sys/unistd.h (getlogin): Returns const char *.
10629
10630Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
10631
10632 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
10633 * libc/include/errno.h: Moved into and include...
10634 * libc/include/sys/errno.h: New file.
10635 * libc/include/sys/wait.h: New file.
10636 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
10637 * libc/sys/win32/*: Moved out.
10638 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
10639 * configure.in (i[345]86-*-win32): HAVE_RENAME
10640
10641Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
10642
10643 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
10644 avoid macro expansion for these two names.
10645
10646Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
10647
10648 * libc/machine/h8500/psi.S: r6 renamed to fp.
10649
10650Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
10651
10652 * configure.in (powerpc*): No longer need to define
10653 NO_LONGLONG_POINTERS to supress warnings.
10654
10655Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
10656
10657 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
10658 through PTR instead of directly.
10659
10660 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
10661 non-standard constructor support.
10662
10663Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10664
10665 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
10666 address of the Bigint instead of the address of its _x field,
10667 as the size the result buffer was calculated accordingly.
10668 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
10669
10670 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
10671 from NetBSD C library. No longer special cases division by
10672 zero (which needs to be done by the application anyway), but
10673 it doesn't need to call abs() (or labs()) four times either.
10674
10675 * libc/stdlib/qsort.c: Replaced with implementation from
10676 NetBSD C library.
10677
10678Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10679
10680 * libc/stdio/vfprintf.c: Replaced with implementation from
10681 NetBSD C library (which is derived from the 4.4BSD C library).
10682 * libc/stdio/cvt.c: Removed.
10683 * libc/stdio/Makefile: Updated.
10684
10685Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
10686
10687 * libc/sys/win32/syscalls.c (rename): New.
10688 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
10689
10690Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
10691
10692 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
10693 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
10694
10695 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
10696 (setjmp.o): Delete rule to build setjmp.o.
10697 * libc/sys/sh/setjmp.S: Delete file.
10698
10699Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10700
10701 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
10702 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
10703 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
10704 pow5mult and s2b to identifiers with leading underscores.
10705 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
10706 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
10707
10708Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
10709
10710 * libc/sys/posix/popen.c (sys/types.h): Include.
10711
10712Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
10713
10714 * libc/sys/win32/syscalls.h (fhandler): New struct.
10715 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
10716 (__fhandler_normal): Declare.
10717 (hinfo): New member op_handlers.
10718 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
10719 (__write): Likewise.
10720 (_read, _write, _open, _close, _lseek): Validate fd here.
10721 Move file type specific stuff to foo_normal.
10722 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
10723 New functions.
10724 (__lookup_fhandler): New function.
10725 (__lookup_fhandler_hook, __fhandler_normal): New variables.
10726
10727 From anders.blomdell@control.lth.se (Anders Blomdell)
10728 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
10729 Don't touch standard handles.
10730 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
10731 (_execve): Only create __FD_TABLE__ if necessary.
10732 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
10733
10734Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
10735
10736 * libc/sys/win32/sys/termios.h (FLUSHO): New.
10737 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
10738 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
10739 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
10740 without a handler is received.
10741 * libc/sys/win32/Makefile.in: Remove --nodelete.
10742 * libc/sys/win32/resouce.c (gettimeofday): New.
10743 * libc/sys/win32/syscalls.c (path_to_real_path): New.
10744 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
10745
10746Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
10747
10748 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
10749 Don't append "/*" to search pattern if trailing '/' already there,
10750 append "*".
10751 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
10752 like /'s, convert them to \'s. Handle //<drive>/ path names.
10753 Add space for quoted \'s in arg string. Print translated prog name
10754 and original prog name.
10755 (_execve): Handle parent doing exec a teensy bit better.
10756 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
10757 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
10758 path needs conversion, handle both cases. Delete `const' from result.
10759 (hash_path_name): New function.
10760 (_open): Call it.
10761 (_stat): Likewise. Fill in more fields for directories.
10762 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
10763 (wait_for_any): Fix trace message.
10764 (waitpid): Explicitly test for intpid == 0.
10765
10766 From anders.blomdell@control.lth.se (Anders Blomdell)
10767 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
10768 so `next' is valid.
10769
10770Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
10771
10772 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
10773 complicated.
10774
10775Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10776
10777 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
10778 at all, not just == 1.
10779 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
10780
10781Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10782
10783 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
10784 * libc/sys/win32/include/wintypes.h: include <winnt.h>
10785 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
10786 file.
10787
10788Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
10789
10790 * libc/sys/syscalls.c (getcwd): Fix off by one error.
10791
10792 * libc/sys/signal.c (sleep): Fill it in.
10793 * libc/sys/termios.c (tcflush): Use PurgeComm
10794 (tcsetattr): Set some more of the bits.
10795 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
10796
10797Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
10798
10799 * libc/sys/arm/crt0.S (fp): Initialize to 0.
10800 Conditionally include .idata$3 stuff ifdef __pe__.
10801
10802Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
10803
10804 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
10805 * libc/sys/win32/pipe.c (pipe): Ditto.
10806 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
10807 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
10808 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
10809 (tcgetattr): Contents are new.
10810 * libc/sys/win32/include/winkernel.h (DCB): New.
10811 (GetCommState, SetCommState): New.
10812
10813Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
10814
10815 * libc/sys/arm/crt0.S (_start): Define.
10816
10817Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
10818
10819 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
10820 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
10821
10822 * libc/sys/win32/sysconf.c: New
10823 * libc/sys/win32/sys/winadvapi.h: New
10824 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
10825 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
10826 * libc/sys/win32/pipe.c (pipe): Ditto.
10827 * libc/sys/win32/signal.c (_raise): New.
10828 (_kill): Moved from spawn.c
10829 * libc/sys/win32/spawn.c (kill): Moved to signal.c
10830 * libc/sys/win32/syscalls.c (__read): Use new fields.
10831 (_open): Ditto.
10832 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
10833 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
10834 * libc/include/sys/unistd.h (rmdir): Takes const path.
10835 * libc/include/sys/stat.h (mkdir): Takes const path.
10836 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
10837
10838Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
10839
10840 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
10841
10842 Add support for specifying paths as //<drive>/foo/bar.
10843 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
10844 (__path_to_real_path): Declare.
10845 (PATH_TO_REAL_PATH): New macro.
10846 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
10847 (__path_needs_conversion_p, __path_to_real_path): New functions.
10848 (_open): Fix test for error return from CreateFileA.
10849 Handle new path syntax.
10850 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
10851 * libc/sys/win32/dirsearch.c (opendir): Likewise.
10852
10853Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
10854
10855 * libc/sys/win32/include/*.h: Reorganized
10856 * libc/sys/win32/include/WINREADME: New.
10857 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
10858 * libc/sys/win32/*.c: Fix for new include scheme.
10859 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
10860 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
10861 * libc/sys/win32/passwd.c (*): Fix.
10862 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
10863 (_stat): Get directory owner and permissions right.
10864 * libc/sys/win32/syscalls.h (uinfo): New.
10865 * libc/sys/win32/version.def: Remove leading underscores.
10866
10867Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10868
10869 * libc/sys/win32/key.c: include "include/wincon.h".
10870
10871Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
10872
10873 * libc/sys/win32/{key, stubs}.c: New.
10874 * libc/sys/win32/Makefile: Adjust to cope.
10875 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
10876 (environ_init): Change env names to upper case.
10877 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
10878 * libc/sys/win32/passwd.c (*): Fill in the functions.
10879 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
10880 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
10881 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
10882 (_open): Initialze hmap->execable_p too.
10883 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
10884 (_fstat): Fill in permissions.
10885 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
10886
10887Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
10888
10889 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
10890 if defined.
10891 (cfg-ml-pos.in invocation): Likewise.
10892
10893Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10894
10895 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
10896 s_isnan.o and sf_isnan.o.
10897
10898Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
10899
10900 * All Makefile.in files: added maintainer-clean target as a
10901 synonym for realclean.
10902
10903Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
10904
10905 * libc/include/machine/setjmp.h: Add hppa support.
10906 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
10907 support.
10908 * libc/machine/hppa/Makefile.in: Related changes.
10909
10910Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
10911
10912 * configure.in (machine_dir): Don't set for v810-*-*.
10913
10914Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10915
10916 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
10917 conventions correctly.
10918
10919Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
10920
10921 * libc/stdio/puts.c: Update documentation of return value to match
10922 ANSI standard.
10923
10924Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
10925
10926 Fix file descriptor inheritance.
10927 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
10928 (NOT_OPEN_FD): Fix.
10929 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
10930 close-on-exec flag not set. Initialize child's entire fd table.
10931 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
10932 CHILD_P.
10933 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
10934 if CHILD_P. Initialize entire hmap entry.
10935 (dup): Only create new handle as inheritable if CHILD_P.
10936 (dup2): Likewise. Properly initialize hmap entry.
10937
10938 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
10939 _spawn.
10940 (_exit): Use CHILD_P.
10941 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
10942 (_stat): Likewise.
10943
10944Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10945
10946 * libc/sys/win32/crt0.c (passover): fix up the state table.
10947 * libc/posix/popen.c: Added.
10948 * libc/posix/Makefile.in: compile popen.c.
10949
10950Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
10951
10952 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
10953 h8/500 define _DOUBLE_IS_32BITS.
10954
10955Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
10956
10957 Get vfork/exec/spawn/cwait/wait working again.
10958 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
10959 (procinfo): New member vfork_level.
10960 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
10961 (vfork_init_first): Use GetCurrentProcessId to get pid.
10962 Initialize vfork_level.
10963 (vfork_init): Delete __PID__.
10964 (environ_init): New function. Undo patch of Aug 19, Posix says
10965 environment variables are case sensitive.
10966 (mainCRTStartup): Call it.
10967 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
10968 (my_longjump: Make static.
10969 (_spawn): New argument `h'. Delete setting of __PID__.
10970 Delete local `idx'. Look for chars that need quotes, rather than
10971 ones that don't. Set handle of created process in `h'.
10972 Result is process id if created task.
10973 (allocate_spawn_entry): New function.
10974 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
10975 (_execve): Set __FD_TABLE__ before spawning child.
10976 Scan our fd table when passing fds, not our parent's.
10977 Store handle and pid in procinfo entry.
10978 (vfork0): Ensure strace message always printed.
10979 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
10980 (vfork): Don't clobber result of vfork0.
10981 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
10982 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
10983
10984 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
10985 and `exit_code'.
10986 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
10987 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
10988 adding vfork level to pseudo-pid.
10989 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
10990 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
10991 (_exit): If child, set exit code.
10992 (__vfork_record_death): Only close process handle if valid.
10993 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
10994 didn't exec.
10995 (wait_for_any): Likewise. Start scan after root entry.
10996
10997Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10998
10999 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
11000 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
11001 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
11002 of actual file length.
11003
11004 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
11005 * libc/include/paths.h: _PATH_BSHELL added.
11006 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
11007 and STDERR_FILENO.
11008
11009Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11010
11011 * libc/include/ar.h: Added.
11012 * libc/include/sys/types.h: ino_t goes back to 32-bits.
11013 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
11014 * libc/sys/win32/syscalls.c (_open): compute .namehash based
11015 on filename.
11016 (_fstat): use .namehash for inode number of the fd.
11017
11018Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
11019
11020 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
11021 Change hinfo to __this_procinfo.
11022 * libc/sys/win32/crt0.c: Remove procinfo_list.
11023
11024Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11025
11026 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
11027 win32 environment.
11028
11029Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11030
11031 * libc/sys/win32/include/grp.h: Removed.
11032 * libc/sys/include/grp.h: Added.
11033 * libc/sys/win32/grp.c: Include <grp.h>.
11034
11035Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
11036
11037 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
11038 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
11039 Defined for all but strict ANSI.
11040 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
11041 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
11042 * libc/signal/signal.c (_signal_r): Changed from using
11043 _MAX_SIGNALS to NSIG.
11044 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
11045 __hmap): Deleted.
11046 (__strace, __vfork_next_pid): New.
11047 (__exe_suffix): Default to 1.
11048 (passover, table): Understand quoted arguments.
11049 (vfork_init_first): New.
11050 (vfork_init): Initialize new process structure.
11051 (mainCRTStartup): Pass environ to main.
11052 * exceptions.c (__sig_mask): New
11053 (ehandler3): Ignore signals in mask.
11054 (really_exit): Remove CHILD_P test.
11055 * pipe.c (pipe, dup, dup2): Use new process and file structure.
11056 * resource.c (getrusage): Ditto.
11057 * signal.c (sigprocmask): New.
11058 * spawn.c (*): Rewritten.
11059 * syscalls.c (*): Use new process and file structure.
11060 (find_unused_handle): New.
11061 * syscalls.h (MAX_HANDLES): Deleted.
11062 (hinfo): Removed child_created_p.
11063 (MAX_CHILDREN): Deleted.
11064 (vfork_jmp_info, procinfo): New.
11065 * wait.c (*): Mostly new.
11066 * sys/strace.h (_STRACE_PARANOID): New.
11067 * sys/param.h: New file.
11068
11069Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11070
11071 * libc/include/sys/stat.h: add S_BLKSIZE.
11072 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
11073 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
11074 types under win32.
11075 (mode_t): add a #else to avoid multiple definitons.
11076
11077 * libc/sys/win32/Makefile.in: add grp.c.
11078 * libc/sys/win32/grp.c: include grp.h correctly.
11079 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
11080 of the st structure with real information.
11081 * libc/sys/win32 (dirent): d_ino is of type ino_t.
11082
11083Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
11084
11085 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
11086 and (maybe) sparc64.
11087 (nlink_t): Provide typedef.
11088
11089Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11090
11091 * libc/sys/win32/grp.c: New file.
11092 * libc/sys/win32/include/grp.h: New file.
11093
11094Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11095
11096 * libc/include/machine/ieeefp.h: Added whitespace to make this
11097 file easier to maintain.
11098 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
11099 depending on the value of __LITTLE_ENDIAN__.
11100 On the sh3e, define _DOUBLE_IS_32BITS.
11101
11102Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
11103
11104 * libc/sys/vr4300/syscalls.c: Added missing support
11105 routines. _raise() and getpid().
11106
11107Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
11108
11109 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
11110
11111Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
11112
11113 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
11114 and VR4300 processor.
11115 * libc/sys/vr4300: Add directory.
11116 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
11117 monitor run-time support.
11118
11119Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11120
11121 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
11122 * libc/stdlib/stdlib.tex: Don't include atol.def.
11123
11124Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11125
11126 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
11127
11128Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
11129
11130 * libc/ctype/Makefile.in: Fill in _to* dependencies.
11131
11132Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
11133
11134 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
11135 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
11136 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
11137 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
11138 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
11139
11140Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11141
11142 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
11143
11144Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11145
11146 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
11147 * libc/stdlib/atoff.c: New file.
11148 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
11149 * libc/stdlib/atoi.c (atol): Removed.
11150 * libc/stdlib/atol.c: Removed duplicate documentation.
11151
11152 * libc/include/ctype.h (_tolower, _toupper): Moved inside
11153 #ifndef _STRICT_ANSI conditional.
11154 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
11155 * libc/ctype/_tolower.c: New file.
11156 * libc/ctype/_toupper.c: New file.
11157 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
11158 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
11159 * libc/ctype/toascii.c (_toascii): Removed.
11160
11161Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
11162
11163 * libc/sys/sparc64/sys/types.h: Deleted.
11164
11165Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11166
11167 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
11168 and recognize Windows_95 systems.
11169
11170Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11171
11172 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
11173 and passed fds should be opened in text mode.
11174
11175Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11176
11177 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
11178 in __hmap, set to binary mode by default.
11179
11180Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11181
11182 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
11183 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
11184 vector 34.
11185
11186Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
11187
11188 * Makefile.in (install): Install all libraries found in the
11189 top level. If there's a sys/<type>/include directory,
11190 install those headers into include.
11191
11192 * libc/sys/win32/kernel.def351: Delete
11193 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
11194 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
11195 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
11196 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
11197 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
11198 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
11199 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
11200 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
11201
11202 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
11203 * libc/sys/win32/crt0.c: Force all env names to upper case.
11204 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
11205 * libc/sys/win32/*.c: Headers have moved.
11206 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
11207 __vfork_child_idx is now __vfork_child_ptr.
11208
11209 * posix/execvp (execvp): Don't crash if no PATH envname.
11210
11211Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11212
11213 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
11214 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
11215 through the _freelist instead of through the _reclaim list.
11216 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
11217 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
11218 sources.
11219
11220Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11221
11222 * libc/machine/h8500/setjmp.S: New file.
11223 * libc/include/machine/setjmp.h: Updated for H8/500.
11224
11225Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
11226
11227 * libc/sys/win32/syscalls.c (_open): More stracing.
11228 (_stat): Open the file in O_BINARY.
11229
11230Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11231
11232 * libc/machine/h8300/setjmp.S: New file.
11233 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
11234
11235Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
11236
11237 * libc/sys/win32/crt0.c (__exe_suffix): New global.
11238 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
11239 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
11240 __exe_suffix. Free fd_tab after setting env variable.
11241 (spawnv,_execve): Update.
11242 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
11243 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
11244 (__small_vfprintf): New function.
11245 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
11246 * libc/sys/win32/wait.c (cwait): Validate argument.
11247
11248 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
11249 (process_deletion_queue): Likewise.
11250
11251 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
11252
11253Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
11254
11255 * libc/sys/win32: Copyrights and gratuitous indenting.
11256
11257Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
11258
11259 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
11260 (process_deletion_queue): Likewise.
11261 (__close_all_files): New function.
11262 (_close): Only queue file deletion if really a file.
11263 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
11264 _P_APPEND_EXE.
11265 (_exit): Call __close_all_files.
11266
11267 * libc/stdlib/system.c: #include <errno.h>.
11268 (_system_r): Fix results in -DNO_EXEC case.
11269
11270 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
11271 Reorganize structure.
11272 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
11273 if argument is valid. Save directory name in DIR. malloc space
11274 for dirent struct separately.
11275 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
11276
11277 * libc/include/errno.h (ENAMETOOLONG): Define.
11278 * libc/string/strerror.c (strerror): Reword ENFILE.
11279 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
11280
11281Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
11282
11283 * libc/sys/win32/crt0.c (__progname): New global.
11284 (mainCRTStartup): Support strace=bitmask,filename.
11285 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
11286 * libc/sys/win32/syscalls.c (_write): Print parent trace message
11287 if error.
11288 (getcwd): Handle len too small. Convert '\\' to '/'.
11289 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
11290 Add prototypes for open, creat, fcntl.
11291 (O_APPEND): Change value to conform to Microsoft's value.
11292 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
11293
11294 * libc/stdlib/getopt.c: New file.
11295 * libc/stdlib/Makefile.in: Build it.
11296
11297Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
11298
11299 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
11300 Fix scanning of $PATH.
11301 * libc/posix/exec*.c: Call _execve, not execve.
11302 * libc/posix/execve.c: New file.
11303 * libc/posix/Makefile.in (OFILES): Add execve.o.
11304
11305 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
11306 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
11307 (_STRACE): If level==0, always print. Handle new bit mask scheme.
11308 * libc/sys/win32/crt0.c: Update _STRACE calls.
11309 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
11310
11311 * libc/sys/win32/smallprint.c (rn): Fix digit list.
11312
11313 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
11314 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
11315 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
11316 Print __seterrno trace message first.
11317 (_execve): Renamed from execve.
11318 (vfork): Update __strace usage.
11319 (__vfork_child_pid): Deleted.
11320 (__vfork_children, __vfork_child_idx): New globals.
11321 (_spawnvp): New function.
11322 (spawnvp, spawnv, _execve): Call _spawnvp.
11323 (init_child): Record child in __vfork_children.
11324 (__vfork_get_entry, __vfork_record_death): New functions.
11325 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
11326 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
11327 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
11328 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
11329 (children): New typedef.
11330 (__vfork_children,__vfork_child_idx): Declare.
11331 (__vfork_get_entry,__vfork_record_death): Declare.
11332 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
11333 (waitpid): Handle pid == -1.
11334 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
11335 * configure.in (i386-win32): Add -DNO_FORK.
11336 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
11337 * libc/reent/execr.c (_fork_r): Likewise.
11338 * libc/stdlib/system.c (do_system): New function.
11339 If WIN32, try to get shell path from $SH_PATH, use vfork.
11340 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
11341 otherwise return 0.
11342
11343Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
11344
11345 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
11346 * libc/sys/win32/fcntl.h: Don't include self.
11347 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
11348 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
11349 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
11350 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
11351 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
11352 Correct prototypes.
11353 * libc/sys/win32/strace.c: New file.
11354 * libc/sys/win32/smallprint.c: New file.
11355 * libc/sys/win32/crt0.c (func): Delete.
11356 (mainCRTStartup): Fix alloca usage. Set handles explictly.
11357 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
11358 * libc/sys/win32/exceptions.c: Lint.
11359 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
11360 Clean up handle usage.
11361 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
11362 (open.c): Default file type is text.
11363 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
11364 * libc/sys/win32/advapi32.def: New
11365
11366Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
11367
11368 * configure.in (posix_dir, libc_posix_lib): New variables.
11369 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
11370 (i[345]86-*-win32): Define posix_dir.
11371 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
11372 (if unix_dir): Fix typo.
11373 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
11374 scandir,seekdir,telldir}: New files.
11375 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
11376 from libc/unix.
11377 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
11378 (SUBDIRS): Add posix.
11379 (SUBLIBS): Add $(LIBC_POSIX_LIB).
11380
11381 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
11382 (NSIG): Increase to 21.
11383 * libc/include/sys/unistd.h (pid_t): Move from here,
11384 * libc/include/sys/types.h (pid_t): to here.
11385
11386 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
11387 (__ptrace): Delete.
11388 (hinfo): New members close_exec_p, child_created_p.
11389 (struct exception_list): Define.
11390 (__hmap): Redefine as pointer to table.
11391 (__parent_hmap, __child_hmap): New globals.
11392 (__set_errno, __really_exit): Declare.
11393 (__vfork_child_pid): Declare.
11394 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
11395 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
11396 (__parent_hmap, __child_hmap): New globals.
11397 (__hmap): Redefine as pointer to active map.
11398 (__get_console): New function.
11399 (mainCRTStartup): Change leading '=' in environ vars to '!'.
11400 (env __FD_TABLE__): Watch for this and initialize our fd/handle
11401 mapping table from it if defined.
11402 (argv, envp): Dump if __strace >= 4.
11403 (main): Call here.
11404 * libc/sys/win32/exceptions.c (myp): Redefine.
11405 (__syscalls_b): Delete.
11406 (__stack_trace): New function.
11407 (ehandler3): Update to use _STRACE. Print stack trace.
11408 Call __really_exit instead of exit.
11409 (init_exceptions): Delete args argc,argv. New arg mine.
11410 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
11411 FindFirstFileA, FindNextFileA, GetComputerNameA,
11412 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
11413 * libc/sys/win32/signal.c (signal): Validate arg.
11414 (alarm, sleep): Define as stubs for now.
11415 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
11416 (__syscalls_b, errno): Delete.
11417 (__vfork_child_pid, __vfork_jmp_buf): New globals.
11418 (__seterrno): Handle more errors.
11419 (__sys_printf): Renamed from _ptrace.
11420 (__really_exit): New function.
11421 (queue_file_deletion, process_deletion_queue): New functions.
11422 (__resume_parent): New function.
11423 (_unlink): Handle trying to delete open file.
11424 (__totime_t): Renamed from totime_t.
11425 (setsid, __read, __write): New functions.
11426 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
11427 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
11428 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
11429 * libc/sys/win32/console.c: Update to new definition of __hmap.
11430 * libc/sys/win32/Makefile.in: Build new files.
11431 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
11432 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
11433 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
11434 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
11435
11436Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
11437
11438 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
11439
11440Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11441
11442 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
11443 have been made to the master dtoa.c sources (from netlib.att.com)
11444 since they were integrated into newlib in early 1992. Fixes
11445 problems with storage leaks and handling of numbers with very
11446 negative exponents.
11447
11448Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11449
11450 * Makefile.in (all): set rootpre and srcrootpre before calling
11451 sub-makes.
11452
11453Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
11454
11455 * libc/sys/win32/crt0.c: Change __hmap usage.
11456 * libc/sys/win32/exceptions.c: Use _ptrace call.
11457 * libc/sys/win32/syscalls.c: Use _ptrace call.
11458 (read, write): Cope with DOS style CRLF when in TEXT mode.
11459 * libc/sys/win32/syscalls.h: Declare hinfo struct.
11460 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
11461 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
11462 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
11463 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
11464
11465Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11466
11467 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
11468
11469 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
11470 wrappers for hypot() and remainder() for BSD libm compatibility.
11471 These are public domain implementations written by me for the
11472 NetBSD libm some time ago. Note cabs() is required by ucbtest.
11473 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
11474 (fobj): Added wf_cabs.o and wf_drem.o.
11475
11476Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11477
11478 * libc/sys/h8500hms/misc.c: New file.
11479 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
11480
11481Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11482
11483 * libc/time/localtime.c (localtime): Fix problem with leap year
11484 handling. Stole algorithm from Arthur David Olson's tz code.
11485
11486Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
11487
11488 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
11489
11490 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
11491 (_exit): Use argument.
11492
11493Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
11494
11495 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
11496
11497Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
11498
11499 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
11500
11501Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11502
11503 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
11504 target_cflags.
11505
11506Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
11507
11508 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
11509 ptrace with case insensitivity
11510 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
11511 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
11512 New files.
11513
11514Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
11515
11516 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
11517 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
11518 (all, install, *clean): Use new multilib support.
11519 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
11520
11521Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
11522
11523 * libc/include/sys/signal.h (__WIN32__): New.
11524
11525 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
11526
11527 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
11528 (ulp, b2d): Handle 32 bit doubles.
11529 * libc/stdlib/mprec.h: Handle 32 bit doubles.
11530 * libc/stdlib/strtod.c (_strtod_r): Ditto.
11531
11532Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
11533
11534 from medp@primag.co.uk:
11535 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
11536 dynamically allocated buffers.
11537
11538Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
11539
11540 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
11541 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
11542
11543Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
11544
11545 * configure.in (powerpc): Fix previous fix.
11546
11547Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
11548
11549 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
11550 directories for this target.
11551
11552Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
11553
11554 * configure.in (hppa): Add machine_dir definition.
11555 * libc/machine/hppa: New directory with PA specific implementations
11556 of the basic memory/string functions.
11557
11558Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
11559
11560 * configure.in: Update current PowerPC multilib directories.
11561 Split big and little endian configurations.
11562
11563Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
11564
11565 * configure.in: Add --enable-single-float option to configure to
11566 control use of MIPS single-float directories. Default to yes.
11567
11568 * Makefile.in (all): Don't recurse into multilib directory if it
11569 does not exist.
11570
11571Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11572
11573 * libc/sys/sh/syscalls.c: Fix typo.
11574
11575Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
11576
11577 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
11578 Pass down DLLTOOL.
11579 * libc/include/process.h: Define WAIT_CHILD.
11580 * libc/include/types.h: Get sizes right for win32.
11581 * configure.in (i386-*-pe): Becomes i386-win32.
11582 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
11583 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
11584 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
11585 is defined.
11586
11587Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
11588
11589 * configure.in (i[345]86-*-pe): New target (NT).
11590 * host/any: DLLTOOL new.
11591 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
11592 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
11593 WIN32 (just enough to cross host the comp-tools).
11594
11595Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
11596
11597 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
11598 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
11599
11600Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
11601
11602 * libc/include/machine/ieeefp.h (arm): Change to always be
11603 __IEEE_BIG_ENDIAN (even on little endian ARM's).
11604
11605Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
11606
11607 * libc/sys/crt0.S: Initialze sp, and call exit after main.
11608 * libc/sys/syscalls.c (abort): New.
11609 * configure.in (arm): Define ABORT_PROVIDED.
11610
11611Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11612
11613 * configure.in (powerpc): Define multidirs.
11614
11615Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
11616
11617 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
11618
11619Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
11620
11621 * configure.in (sparclite): Delete target_cflags. Define multidirs.
11622
11623Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
11624
11625 * configure.in, libc/include/machine/ieeefp.h: Modified
11626 for arm:
11627 libc/machine/arm/*, libc/sys/arm/*: New
11628
11629Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11630
11631 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
11632 __powerpc__ when determining endianness.
11633
11634Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11635
11636 * configure.in (m68*): Add multidir for the m68332.
11637
11638 * host/any (CC): Fix typo in last change.
11639
11640Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
11641
11642 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
11643 when determining endianness.
11644 * libc/include/machine/ieeefp.h: Ditto.
11645 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
11646 operands.
11647
11648Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
11649
11650 * libc/include/errno.h (ENOTEMPTY): Define.
11651
11652Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11653
11654 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
11655 target_cflags.
11656
11657 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
11658 and umultiply.o.
11659
11660 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
11661 instead of only when open succeeds. ANSI requires that multiple
11662 calls to tmpnam() result in different files.
11663
11664 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
11665 objects pulled in from /lib/libc.a that must be renamed before
11666 being pulled into newlib. /lib/libc.a's div.o conflicted with
11667 newlib's file with the same name.
11668
11669 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
11670
11671 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
11672 the build tree will only be used if the executables are present
11673 (instead of just the Makefiles).
11674
11675 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
11676 wcstombs): Define.
11677 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
11678 versions of these functions that I orignally wrote for the
11679 NetBSD C library.
11680 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
11681 versions I wrote for NetBSD.
11682
11683Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
11684
11685 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
11686 * libc/sys/sparclite/crt0.s: ditto.
11687
11688Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
11689
11690 * configure.in: Add soft-float for proelf.
11691
11692Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
11693
11694 * libc/stdlib/mprec.h (Bcopy): Copy the right number
11695 of bytes.
11696
11697Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
11698
11699 * Makefile.in (all): Depend on `force'.
11700 * configure.in (syscall_dir): Renamed from fake_sys_dir.
11701 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
11702 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
11703 * libc/Makefile.in: Likewise.
11704 * libc/include/reent.h: Update syscall references.
11705 (_fcntl_r): Add prototype.
11706 * libc/syscalls/*.c #include <reent.h>.
11707 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
11708
11709Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
11710
11711 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
11712 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
11713 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
11714 (time.h, sys/types.h): Always include (even if MSDOS).
11715 (stat): Fix prototype.
11716
11717Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
11718
11719 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
11720
11721Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
11722
11723 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
11724
11725Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
11726
11727 * libc/include/regdef.h: New file.
11728 * libc/machine/mips/machine/regdef.h: New file.
11729
11730Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
11731
11732 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
11733
11734Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
11735
11736 * libc/sys/sh/crt0.S: Pass main's return to exit.
11737 * libc/sys/sh/trap.S: Put errno in the right place.
11738
11739Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
11740
11741 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
11742 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
11743 * libm/math/ef_rem_pio2.c: Likewise.
11744 * libm/math/e_log10.c: Remove unused static one.
11745 * libm/math/ef_log10.c: Likewise.
11746 * libm/math/s_frexp.c: Likewise.
11747 * libm/math/sf_frexp.c: Likewise.
11748
11749Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
11750
11751 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
11752 longjmp.S: Upgraded.
11753 * libc/sys/go32/sys/setjmp.h: Upgraded.
11754 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
11755
11756Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
11757
11758 * configure.in: Add many entries to multidirs for mips targets.
11759
11760Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11761
11762 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
11763 5.2 which fixes bug where jn(-1,x) is three times larger than
11764 the actual answer.
11765 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
11766
11767Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
11768
11769 * libc/sys/w65/sys/syscalls.h: New file
11770 * libc/include/machine/ieeefp.h: W65 support.
11771 * libc/include/sys/config.h: Ditto.
11772 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
11773 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
11774 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
11775
11776Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
11777
11778 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
11779
11780Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
11781
11782 * Makefile.in, configure.in: Remove any references to the old
11783 "stub" dir.
11784
11785Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
11786
11787 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
11788 uses ... in prototype.
11789
11790
11791Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
11792
11793 * libc/sys/a29khif/sys/libconfig.h: Remove.
11794 * libc/sys/go32/sys/libconfig.h: Remove.
11795 * libc/sys/sun4/sys/libconfig.h: Remove.
11796 * libc/sys/sysvi386/sys/libconfig.h: Remove.
11797 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
11798 * libc/sys/sparc64/sys/libconfig.h: Remove.
11799
11800 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
11801 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
11802 * libc/include/math.h: Change all uses of _FLOAT_RET and
11803 _FLOAT_ARG to float.
11804 * libm/test/math.c: Likewise.
11805 * testsuite/libm.sac/math.c: Likewise.
11806 * testsuite/libm.sac/working/math.c: Likewise.
11807
11808Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
11809
11810 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
11811 gcc calls gas with endian option.
11812 * configure.in (sh): Build little endian version too.
11813
11814Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
11815
11816 * configure.in: Configure big and little endian versions for MIPS
11817 targets.
11818
11819Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
11820
11821 * libc/include/limits.h: Deleted.
11822 * libc/include/machine/limits.h: Deleted.
11823
11824Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
11825
11826 * ChangeLog: Remove stub directory. This has all been rewritten
11827 and moved to devo/libgloss.
11828
11829Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
11830
11831 * Makefile.in (dvi): Add to info target, use $@ in sub make.
11832 (docs): Merge into info target.
11833 * libm/Makefile.in (dvi): Add $(srcdir).
11834 * libm/math/Makefile.in (chobjs): Remove underscores from file
11835 names. Texinfo doesn't like them.
11836 (wacos.def, ...): Add explicit targets for all .def files.
11837 * libm/math/math.tex: Remove underscores from @include file names.
11838 * doc/Makefile.in (dvi): Add dummy target.
11839 * testsuite/Makefile.in (dvi): Add dummy target.
11840
11841Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
11842
11843 * Makefile.in (VERSION): Define. For net newlib releases.
11844
11845Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
11846
11847 * README: New file.
11848
11849Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
11850
11851 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
11852
11853Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11854
11855 * libc/stdlib/setenv.c (_findenv): Declare.
11856
11857 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
11858 fcntl to not use _EXFUN, and change string parameters to open and
11859 creat to be ``const char *''.
11860 * libc/sys/sparc64/sys/fcntl.h: Likewise.
11861 * libc/sys/sparc64/creat.c (creat): Make PATH const.
11862 * libc/syscalls/sysopen.c: Include <fcntl.h>.
11863 (open) Make _FILE const.
11864 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
11865 (_creat): Make PATH const.
11866 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
11867 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
11868 * libc/sys/m88kbug/syscalls.c (open): Likewise.
11869 * libc/sys/sh/syscalls.c (_open): Likewise.
11870 * stub/shared/glue.c (open): Make BUF const.
11871 * stub/ex93x/syscalls.c (open): Make FILENAME const.
11872
11873Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
11874
11875 * libc/include/errno.h: Add ENMFILE
11876 * libc/include/sys/config.h: Support Z8000.
11877 * libc/include/sys/signal.h: New signals for go32.
11878 * libc/machine/h8500/psi.S (__addpsir0r0): New function
11879 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
11880 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
11881 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
11882 size is variable, depending upon CHUNK_POWER.
11883 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
11884
11885Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
11886
11887 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
11888
11889Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11890
11891 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
11892
11893Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11894
11895 * configure.in: Change i[34]86 to i[345]86.
11896
11897 * libc/include/math.h: Don't define HUGE_VAL if it is already
11898 defined.
11899
11900Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11901
11902 * testsuite/libm.sac/test_erfc.c: Correct some result values.
11903 * testsuite/libm.sac/test_gammaf.c: Likewise.
11904 * testsuite/libm.sac/test_sin.c: Likewise.
11905 * testsuite/libm.sac/test_tanh.c: Likewise.
11906
11907Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11908
11909 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
11910 already set. Define typedefs __int32_t and __uint32_t.
11911 * libc/include/math.h: Include <machine/ieeefp.h>.
11912 (union __dmath): Use __uint32_t.
11913 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
11914 instead of int and unsigned int.
11915
11916Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11917
11918 Replace the math library with the SunPRO fdlibm package.
11919 * libm/math: Completely changed all files.
11920 * libm/ieeefp: Remove contents and directory.
11921 * libm/Makefile.in (LIBM_FP_LIB): Remove.
11922 (SUBDIRS): Just set to math/lib.a.
11923 * libm/libm.texinfo: Updated for new library.
11924 * libc/include/math.h: Extensive changes for new math library.
11925 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
11926 from _FLOAT_ARG to float.
11927 (maxpowtwo, maxpowtwof): Don't declare.
11928 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
11929 (libm_fp_lib): Removed.
11930 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
11931 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
11932 argument to ${RUNTEST}.
11933 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
11934 (.c.o): New rule.
11935 (RUNTESTFLAGS): Set CC and CFLAGS.
11936 (TESTS): Remove test_log2 and test_log2f.
11937 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
11938 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
11939 _FLOAT_ARG, for single precision argument type.
11940 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
11941 expected failure. Close the input pipe.
11942 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
11943 Correct misspelling of inaccurate.
11944 (test_mok): Use ``inaccurate'', not ``wrong''.
11945 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
11946 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
11947 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
11948 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
11949 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
11950 test_yn.c): Correct many result values. Many are still wrong.
11951
11952 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
11953 just copy the string.
11954 (_gcvt): Always return the buffer.
11955
11956Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11957
11958 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
11959
11960Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
11961
11962 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
11963 structure.
11964 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
11965 (_reclaim_reent): declare new entry point.
11966 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
11967 functions.
11968
11969 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
11970 ever allocated, so that we can later reclaim them all.
11971 (pow5mult): make reentrant.
11972
11973 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
11974 so that when given NULL as a buffer, return a pointer to static
11975 space in the rent structure. This is not documented behaviour;
11976 it's only to support ecvt and fcvt, which aren't ANSI anyway.
11977 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
11978 therefore become reentrant).
11979
11980 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
11981
11982Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11983
11984 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
11985
11986Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11987
11988 * Makefile.in: Make link to libg.a after libc.a; this is needed
11989 for the testsuites to build executables when everything comes
11990 from the tree.
11991
11992Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
11993
11994 * libc/Makefile.in: Add a VERSION variable so we can keep track.
11995 * libm/Makefile.in: Add a VERSION variable so we can keep track.
11996
11997Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11998
11999 * libc/include/stdio.h: Use __VALIST, not va_list.
12000
12001Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
12002
12003 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
12004 testsuite/libm.sac/execute.exp:
12005 Replace error proc calls with perror calls.
12006
12007Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
12008
12009 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
12010 * libc/include/time.h: #define NULL as 0L.
12011
12012Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
12013
12014 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
12015 care of it.
12016
12017Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12018
12019 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
12020 not __unix__.
12021
12022Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
12023
12024 * configure.in (TARGET_CFLAGS): Set -O2 as default.
12025 (z8k-*-*): Use syscalls fake sys dir.
12026 * libc/sys/z8k/glue.c: Rename syscalls.
12027 * libc/sys/go32/Makefile.in: Use new routines.
12028 * libc/machine/Makefile.in: Fix typo in ln stuff.
12029
12030Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12031
12032 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
12033 * libc/Makefile.in (crt0.o): Likewise.
12034 * libc/machine/Makefile.in (lib.a): Likewise.
12035 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
12036
12037 All Makefile.in files: Added mostlyclean, realclean and distclean
12038 targets.
12039
12040 * Makefile.in: Don't bother to unexport XTRAFLAGS or
12041 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
12042 the top level Makefile.
12043
12044Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
12045
12046 * libc/sys/sparc64/sys/stat.h: New file.
12047 * libc/sys/sparc64/sys/time.h: New file.
12048 * libc/sys/sparc64/sys/types.h: New file.
12049
12050Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
12051
12052 * stub/ex93x/crt0.s (start): Add code to clear bss.
12053
12054Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
12055
12056 * libc/include/sys/types.h (time_t): Properly protect inside
12057 #ifndef __time_t_defined.
12058
12059 * libc/stdio/fileno.c: New file.
12060 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
12061 (fileno.o): Add dependency.
12062 * libc/include/stdio.h (__sgetc): Rename never to _never.
12063 (fileno macro): Disable, needs to do CHECK_INIT first.
12064
12065Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
12066
12067 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
12068 goal.
12069
12070 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
12071 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
12072 runtest.
12073 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
12074 runtest.
12075
12076Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
12077
12078 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
12079 of the various constants.
12080
12081Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
12082
12083 * libc/include/math.h: #ifndef __math_68881 around things which
12084 conflict with the (gcc-provided) inline functions in
12085 gcc/ginclude/math-68881.h.
12086
12087Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
12088
12089 * libc/include/_syslist.h (_gettimeofday): Define.
12090 (_times): Ditto.
12091 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
12092 (struct tms, timeval, timezone): Declare.
12093 (_gettimeofday_r, _times_r): Declare.
12094 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
12095 #ifdef _CLOCK_T_ surrounding definition of clock_t.
12096 (time_t): Add multiple definition protection, __time_t_defined.
12097 * libc/include/sys/time.h: Don't #include <time.h>.
12098 Always define struct timezone (remove #ifndef _TIME_H_).
12099 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
12100 #ifdef _CLOCK_T_ surrounding definition of clock_t.
12101 * libc/reent/Makefile.in (OFILES): Add timer.o.
12102 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
12103 * libc/reent/timer.c: New file.
12104 * libc/time/clock.c: #include <reent.h>.
12105 (clock): Call _times_r instead of times.
12106 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
12107 HAVE_GET_TIME_OF_DAY.
12108 Add comment regarding supporting OS routine(s) required (for docs).
12109 #include <reent.h>.
12110 (time): Call _gettimeofday_r instead of gettimeofday.
12111 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
12112 * libc/time/ctime.c: Ditto.
12113 * libc/time/strftime.c: Ditto.
12114 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
12115 (TEMPLATE_SFILES_R): Define here. Also define times.
12116 Add times_r.o/times.S dependence.
12117 (time2.c, junk.c): Deleted.
12118 * libc/sys/sparc64/time2.c: Deleted.
12119 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
12120
12121 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
12122 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
12123 * libc/sys/sparc64/junk.c: Deleted.
12124
12125Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
12126
12127 * libc/sys/sparc64/Makefile.in: Add times syscall.
12128 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
12129 be used with and without it. Add comment clarifying Medium/Anywhere
12130 model requirements.
12131 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
12132 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
12133 even if obsolete.
12134
12135Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
12136
12137 * configure.in (target_cflags): Move init.
12138 (sparc64-*-*): Define HAVE_BLKSIZE.
12139
12140Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
12141
12142 * libc/include/sys/_types.h: New file.
12143 * libc/include/reent.h: #include it.
12144 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
12145 MISSING_SYSCALL_NAMES.
12146 Sort syscalls.
12147 * libc/include/_syslist.h: Remove _raise.
12148 * libc/reent/signalr.c: New file.
12149 * libc/reent/Makefile.in: Compile it.
12150 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
12151 Add doc for raise and _raise_r.
12152 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
12153 (raise): Call _raise_r.
12154 (_raise_r): Call _getpid_r and _kill_r.
12155 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
12156 (abort): Loop forever calling raise and _exit.
12157
12158Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12159
12160 * configure.in: Remove extraneous echo.
12161
12162Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
12163
12164 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
12165 collision with unistd.h, and fix for svr4.
12166
12167Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
12168
12169 * libc/stdio/local.h (_llicvt): Declare.
12170 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
12171 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
12172 (_llicvt): Define.
12173 (_sicvt): Fix function header (`value' is short).
12174 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
12175 Add printing of long long's support.
12176 Add printing of 8 byte pointer support.
12177
12178Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
12179
12180 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
12181 stat, chmod): New hooks.
12182 (sbrk): Abort if stack and heap collide.
12183 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
12184 shortcut when given small args.
12185 * libc/machine/sh/setjmp.s: Rewritten.
12186 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
12187 of cmp/str instruction.
12188
12189Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12190
12191 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
12192 and machine_dir powerpc.
12193 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
12194 Add cases for __powerpc__.
12195 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
12196 New files.
12197
12198 * libc/include/stdio.h (_iprintf_r): Declare correctly.
12199
12200Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
12201
12202 * libc/stdlib/callocr.c: New file with _calloc_r in it.
12203 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
12204
12205Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
12206
12207 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
12208 (print_e): More comments to describe args, etc.
12209 "type" arg may now be 'g' or 'G' for %g/G format --> remove
12210 trailing blanks.
12211 (_gcvt): Remove locals decpt, sign, end, p, done.
12212 More comments for print_e invocation.
12213 Pass "type" to print_e as is (g/G).
12214
12215Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
12216
12217 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
12218 stock m68000.
12219
12220Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
12221
12222 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
12223 works with any sized pointer, including ones bigger than ints and
12224 longs.
12225
12226Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
12227
12228 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
12229
12230Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
12231
12232 * libc/include/stdlib.h (_calloc_r): Add prototype.
12233 * libc/machine/h8500/negsi2.c: New file.
12234 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
12235 large unsigned numbers.
12236 * libc/machine/h8500/cmpsi.c: Add cmppsi.
12237 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
12238 works when sizeof(size_t) != sizeof(char *).
12239 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
12240 get play area
12241 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
12242
12243Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
12244
12245 * libc/include/assert.h (assert): Handle -traditional.
12246
12247Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
12248
12249 * Makefile.in: added ; after every "fi" and "done" that wasn't at
12250 the end of a line (ie. anything before a backslash continuation)
12251 so that bash handles them.
12252
12253Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
12254
12255 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
12256 stat to lstat
12257
12258Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
12259
12260 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
12261 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
12262 libc/machine/sh/udivsi3.s: Use new calling convention.
12263
12264Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
12265
12266 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
12267 chmod, access, chdir, chown by making _path const. Also fix _amode
12268 param of access.
12269
12270Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
12271
12272 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
12273 _khif_tmpnam, because it doesn't comply with ANSI but may be
12274 useful anyway. Real tmpnam was already in libc/stdio, and was
12275 colliding with this one (pr 2176.)
12276 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
12277 the wrong idea anyhow.
12278
12279Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
12280
12281 * configure.in: Remove h8300h, we have multilib now.
12282
12283Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
12284
12285 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
12286 functions, to get preference over the ones in libiberty (since we
12287 provide correct declarations in <string.h>.
12288 * libc/string/Makefile.in: add support for strncasecmp,
12289 strcasecmp.
12290
12291Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
12292
12293 * Change netware config not to look for cpu explicitly.
12294
12295Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
12296
12297 * libc/sys/sparc64/{creat.c,junk.c}: New files.
12298 * libc/sys/sparc64/Makefile.in: Add dependencies.
12299
12300Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
12301
12302 * configure.in: Clean up v9 a bit, new "os" aoutv8.
12303
12304Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
12305
12306 * libc/include/sys/reent.h: make structure smaller by allocating
12307 some stuff when needed.
12308 * libc/signal/signal.c: allocate as needed
12309 * libc/stdio/findfp.c,stdio/local.h: ditto
12310 * libc/stdlib/mprec.c: ditto
12311
12312 * libc/time/localtime.c: don't return a dangling stack ptr.
12313
12314Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
12315
12316 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
12317
12318Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12319
12320 * libc/include/stdio.h (__sputc): comment out static inline which
12321 confuses coff toolchains.
12322
12323Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
12324
12325 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
12326 _write.s, getpid.c, kill.c, read.s}:
12327 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
12328 through the syscalls directory.
12329
12330Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
12331
12332 * configure.in: fixed double quote gotcha.
12333
12334Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
12335
12336 * stub/ex931: stub library for sparclite board.
12337 * stub/idp: Renamed from mc68ec. Added contructor table
12338 stuff to linker script.
12339 * stub/mvme135: Renamed from m68kmvme. Added contructor table
12340 stuff to linker script.
12341
12342Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12343
12344 * configure.in: Configure testsuites only if they exist.
12345
12346Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12347
12348 * configure.in: Don't set machine_dir for i386 until there is
12349 something in libc/machine/i386 to compile. For i[34]86-*-netware*
12350 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
12351 CLOCK_PROVIDED and MALLOC_PROVIDED.
12352
12353 * libc/sys/netware: New directory. Contains simplistic and
12354 probably incorrect stubs for NetWare. Should be enough to load
12355 the library.
12356 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
12357 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
12358 stub files.
12359
12360 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
12361 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
12362 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
12363 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
12364
12365Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
12366
12367 * testsuite/Makefile.in: add "docs" dummy target for consistency
12368 with rest of newlib; turn "info" and "install-info" into dummy
12369 targets, since they wouldn't have worked. (Depended on
12370 nonexistent "doc" subdir.)
12371
12372Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
12373
12374 * configure.in: handle mips* instead of mips
12375
12376Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
12377
12378 * libc/include/sys/dirent.h: New file. If it is not overridden by
12379 a version of libc/sys/*/sys/dirent.h, it includes the next
12380 <dirent.h> file in case there is one lurking somewhere.
12381
12382Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12383
12384 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
12385 compliance, namely: Accept a minus sign. Consider a single 0 with
12386 a radix of 0 as being a conversion. Determine overflow correctly.
12387 If an overflow occurs, set *ptr to the end of the number, not the
12388 middle.
12389 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
12390
12391Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
12392
12393 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
12394
12395Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
12396
12397 * Makefile.in (INSTALL): Use $srcrootpre.
12398 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
12399 can't handle it.
12400 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
12401 it.
12402 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
12403 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
12404 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
12405 * libm/math/Makefile.in (matherr.o): Ditto.
12406
12407Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
12408
12409 * configure.in: Build multidirs for z8k.
12410 * libc/include/stdlib.h (_strtoul_r): add prototype.
12411 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
12412 * libc/include/machine/setjmp.h: Add for z8k.
12413 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
12414 * libc/sys/z8ksim/glue.c: tidy up.
12415
12416Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
12417
12418 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
12419 New files. Requires execve system call.
12420 * libc/unix/Makefile.in: Use them.
12421 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
12422 Deleted, moved to libc/unix.
12423 * libc/sys/sparc64/Makefile.in: Remove them.
12424
12425Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
12426
12427 * libc/sys/sparc64/{template.S template_r.S}: New files.
12428 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
12429 from templates.
12430 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
12431 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
12432 umask.S unlink.S wait4.S write.S}: Removed, now built from
12433 templates.
12434
12435Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
12436
12437 * libc/time/time.c: #include <_ansi.h>.
12438
12439Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
12440
12441 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
12442
12443Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12444
12445 * configure.in: match m8* rather than m88k so that m88110 is
12446 recognized as well.
12447
12448Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
12449
12450 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
12451 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
12452 misc.c: New file.
12453
12454 * configure.in: Add multilib support to h8300.
12455
12456Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
12457
12458 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
12459 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
12460 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
12461
12462Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12463
12464 * configure.in: Corrected multidirs for sparc target.
12465
12466Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12467
12468 Support for building newlib multiple times with different
12469 compilation flags.
12470 * configure.in: Only configure doc at top level. Set multidirs
12471 when appropriate for target, unless not at top level. If
12472 multidirs is set, independently configure each subdirectory.
12473 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
12474 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
12475 automagically set by configure.in.
12476 (all): If MULTIDIRS is set, build multiple copies of libraries.
12477 (install): If MULTIDIRS is set, install multiple copies of
12478 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
12479 MULTISUBDIR is set, don't bother to install header files.
12480 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
12481 ${srcrootpre}.
12482 * stub/configure.in: Set MULTISUBDIR appropriately.
12483 * stub/Makefile.in (install): Install in
12484 $(tooldir)/lib/$(MULTISUBDIR).
12485 * All Makefile.in files: Define SRCTOP as well as TOP.
12486
12487Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
12488
12489 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
12490 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
12491
12492Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
12493
12494 * libc/sys/h8300hms/exit.c (_exit): New function.
12495
12496Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12497
12498 * configure.in: recognize m88110.
12499
12500Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12501
12502 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
12503 prototype main and call with args.
12504
12505Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
12506
12507 First real try at system traps for m88k-bug.
12508 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
12509 to real trap calls.
12510 * libc/sys/m88kbug/sys/systraps.h: new file.
12511
12512Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12513
12514 Patches to fix info building when target does not use sys
12515 directory.
12516 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
12517 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
12518 libc/sys.tex.
12519 * libc/sys/Makefile.in (doc): do nothing.
12520
12521Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12522
12523 * libc/Makefile.in (CRT0): new macro.
12524 (all): depend on $(CRT0) rather than crt0.o.
12525
12526 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
12527 do not default crt0, instead, set crt0 and crt0_dir based on
12528 sys_dir and stub_dir.
12529
12530 * Makefile.in (CRT0_DIR): new macro.
12531 (all): depend on $(CRT0) rather than crt0.o which may not exist.
12532 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
12533 $(CRT0).
12534 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
12535
12536Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
12537
12538 * testsuite/lib/libm.exp:
12539 added code to support compiling and linking of tests for
12540 libm.sac (paranoia to be added next) and processing the
12541 pass or failure of the tests.
12542
12543 * testsuite/config/unix-libm.exp:
12544 platform specific proc's for dealing with compiler, linker
12545 and the way we execute and process the test results.
12546
12547 * testsuite/libm.sac/execute.exp:
12548 generic framework for the sac tests. the config and lib
12549 expect code for specific platforms tie it all together.
12550
12551 * testsuite/libm.sac/test_is.c:
12552 changed the output of the test to be consistant with the
12553 other tests. parsing of pass nad fail messages is now fixed.
12554
12555Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
12556
12557 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
12558 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
12559 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
12560 #ifdef __cplusplus, surround by extern ""C { ... }.
12561 * libc/include/assert.h: Do *not* protect assert.h against
12562 multiple inclusion! Also, #undef it before #define, to allow
12563 redefinition.
12564 * libc/include/stdio.h (getlogin, cuserid): Removed. These
12565 should be only in unistd.h.
12566
12567 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
12568 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
12569 ... }.
12570
12571Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
12572
12573 * libc/machine/sparc/Makefile.in: Must create a library, even
12574 if empty.
12575
12576Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12577
12578 * configure.in: set machine_dir for m88k. edit crt0 definition
12579 into makefiles.
12580
12581 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
12582
12583 * libc/Makefile.in (all): also build crt0.o.
12584
12585 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
12586 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
12587 to remove CRT0.
12588
12589 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
12590 (all): reworked to build in place.
12591 (clean): remove lib.a
12592 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
12593
12594 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
12595 (_start): key off edata rather than _start_bss.
12596
12597Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
12598
12599 * libc/include/sys/unistd.h, libc/include/reent.h,
12600 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
12601
12602Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12603
12604 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
12605
12606 * Makefile.in (libc.a): break into two rules, one for libc.a and
12607 one for libc/libc.a. Force subdirs current before rebuilding
12608 library.
12609 (libm.a): break into two rules, one for libm.a and one for
12610 libm/libm.a. Force subdirs current before rebuilding library.
12611
12612 * libc/Makefile.in (SUBLIBS): fix typo.
12613
12614 * libc/sys/Makefile.in (all): force descent into subdirs, then
12615 rebuild library iff out of of date.
12616
12617Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12618
12619 Rework so that library is built and then finished rather than
12620 being built on each invocation of make.
12621
12622 * host/any (machine_dir, sys_dir, signal_dir): these are not
12623 shared and have been moved to their associated Makefile.in's.
12624 (AR_FLAGS): switch to qc which is faster.
12625 * configure.in: no longer assign machine_dir for m88k. set
12626 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
12627 stub_dir set, then add to configdirs. add comment about silly
12628 configuration.
12629 (configdirs): drop stub. It will be added only
12630 when needed.
12631 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
12632 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
12633 stub_lib, crt0): new variables for tailoring lower level
12634 makefiles. Assign accordingly and edit into makefiles.
12635 * libm/Makefile.in: updated copyright.
12636 (TARGETLIB): removed.
12637 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
12638 (SUBDIRS): removed TARGETDEP_DIRS.
12639 (LIBM_FP_LIB, SUBLIBS): new macros.
12640 (all): reworked.
12641 (force): new target to force rebuilds.
12642 (Makefile): call $(SHELL) rather than sh. drop redundant ./
12643 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
12644 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
12645 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
12646 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
12647 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
12648 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
12649 stub/m68kmvme/Makefile.in: updated copyright.
12650 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
12651 (all): reworked. made this the default rule.
12652 (clean): also remove lib.a.
12653 (Makefile): call $(SHELL) rather than sh. drop redundant ./
12654 * stub/Makefile.in: updated copyright.
12655 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
12656 (stub_lib): new macro.
12657 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
12658 RANLIB.
12659 (all): reworked.
12660 (clean, install): assume stub_dir exists.
12661 (Makefile): depend on configure.in. call $(SHELL) rather than
12662 sh. drop redundant ./
12663 * stub/configure.in (stublib): new macro, assign it, edit it into
12664 makefiles.
12665 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
12666 updated copyright.
12667 (all): reworked.
12668 (Makefile): call $(SHELL) rather than sh. drop redundant ./
12669 * libc/Makefile.in (TARGETCRT0): removed.
12670 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
12671 TARGETCRT0.
12672 (SUBDIRS): drop TARGETDEP_DIRS.
12673 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
12674 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
12675 (force): new target to force rebuilds.
12676 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
12677 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
12678 removed.
12679 (clean): assume sys_dir always exists.
12680 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
12681 drop redundant ./
12682 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
12683 libc/locale/Makefile.in, libc/machine/Makefile.in,
12684 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
12685 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
12686 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
12687 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
12688 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
12689 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
12690 libc/signal/Makefile.in, libc/stdio/Makefile.in,
12691 libc/stdlib/Makefile.in, libc/string/Makefile.in,
12692 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
12693 libc/time/Makefile.in, libc/unix/Makefile.in,
12694 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
12695 (TARGETLIB): removed.
12696 (all): reworked.
12697 (clean): also remove lib.a.
12698 (Makefile): call $(SHELL) rather than sh. drop redundant ./
12699 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
12700 new macros.
12701 (SUBDIRS): moved to follow frag inclusion, change stub to
12702 stub_dir.
12703 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
12704 are now set in the libc Makefile.
12705 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
12706 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
12707 TARGETCRT0.
12708 (force): new target to force rebuilds.
12709 * stub/configure.in: determine and set stub_lib for for Makefile.
12710
12711Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
12712
12713 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
12714 crt0.s renamed to crt0.S.
12715 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
12716
12717 * libc/machine/h8300/Makefile.in: Make `all' the default target.
12718 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
12719 h8300h.
12720 * libc/machine/h8300/defines.h: Add macros to handle pointers for
12721 h8300 (16 bits) and h8300h (32 bits).
12722 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
12723 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
12724
12725Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
12726
12727 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
12728 implementation of setjmp and longjmp for the m88k.
12729 * libc/include/machine/setjmp.h: Added __m88000__ case.
12730
12731Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
12732
12733 * configure.in: Recognize h8300h as variant of h8300.
12734
12735Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
12736
12737 * libc/include/sys/unistd.h (read, write): get prototypes right.
12738 (sbrk): New prototype.
12739 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
12740 * libc/stdio/local.h: Include unistd.h.
12741 * libc/machine/h8300/syscalls.c: Names have changed.
12742
12743Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
12744
12745 * configure.in: add sys_dir assignment for m88k-bug.
12746
12747Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
12748
12749 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
12750 a.out or elf.
12751 * libc/sys/sparc64: all *.S files: Use new macros.
12752 * libc/sys/sparc64/isatty.c: New file.
12753 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
12754 functions beyond what newlib provides.
12755
12756Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
12757
12758 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
12759 svr4.
12760
12761Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
12762
12763 * libc/include/machine/ieeefp.h: Add support for h8/300h.
12764
12765Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
12766
12767 * configure.in: add m88k.
12768 * libc/include/machine/ieeefp.h: add case for m88k. Also add
12769 sanity check so no one else need ever chase what I did to find
12770 this.
12771
12772 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
12773
12774Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
12775
12776 * doc/makedoc.c: Include <ctype.h>.
12777
12778Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
12779
12780 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
12781 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
12782 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
12783
12784 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
12785
12786Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
12787
12788 * libc/include/errno.h (ENOSYS): Added.
12789
12790 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
12791
12792Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
12793
12794 * libc/stdio/fflush.c (fflush): Check for reent struct
12795 initialization.
12796 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
12797
12798Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
12799
12800 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
12801 out of dtoa.c so it doesn't pollute the namespace.
12802 * libc/include/_syslist.h: new file -- mappings from _function to
12803 function, for systems where we can't win (by default, all of them,
12804 until we start updating system calls.)
12805 * libc/syscalls: new directory -- stubs for exporting _function
12806 names as unmodified function names.
12807 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
12808 _syslist.h on all platforms by default, but put hooks in for
12809 fake_sys_dir so we can include it when we've renamed the system
12810 calls.
12811 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
12812 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
12813 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
12814 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
12815 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
12816 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
12817 non ANSI functions to call _function.
12818
12819Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
12820
12821 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
12822 when base 16 is specified. Don't accept non-digits if radix > 10.
12823
12824Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
12825
12826 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
12827
12828Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
12829
12830 * libc/include/sys/stat.h: Surround text after #endif with
12831 comments.
12832
12833Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
12834
12835 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
12836 _malloc_r, _realloc_r, and free_r call the corresponding
12837 non-reentrant functions.
12838
12839 * libm/math/modf.c (modf): We now take the address of ipart, so
12840 don't make it a register variable.
12841
12842Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
12843
12844 * libm/math/*: Rename all xxx_r fns to _xxx_r.
12845
12846Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
12847
12848 * libc/libc.texinfo and embedded docn throughout: formatting
12849 improvements, minor rephrasing for clarity, and improved
12850 reentrancy docn.
12851
12852Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
12853
12854 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
12855
12856 * libc/stdio/cvt.c (_licvt): Print the right value on machines
12857 where sizeof(int) != sizeof(long).
12858
12859Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
12860
12861 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
12862 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
12863 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
12864 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
12865 libm/math/matherr.c: changes for better docn formatting (info).
12866
12867 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
12868 libc/reent/reent.tex, libc/signal/signal.tex,
12869 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
12870 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
12871 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
12872 makeinfo node defaulting to get better Info file node structure.
12873 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
12874 Also include a few formerly missing sections (subroutines).
12875
12876 * doc/doc.str: delete fossil expansion for "func"
12877
12878 * default.menu, no-signal.menu: delete.
12879
12880 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
12881 method used to adjust doc for missing "signals" chapter when
12882 signal_dir is empty.
12883
12884Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
12885
12886 * configure.in: added testsuite/libm.sac
12887
12888Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
12889
12890 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
12891 code model).
12892
12893Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
12894
12895 * libm/Makefile.in: Use $(MAKE) rather than make, and define
12896 MAKEOVERRIDES to be empty.
12897
12898Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
12899
12900 * configure.in: Don't build mips-*-* with -msoft-float, since that
12901 makes it incompatible with hard floating point.
12902
12903Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
12904
12905 * Makefile.in: added recursive 'make check'
12906
12907Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
12908
12909 * configure.in: added ./testsuite ./testsuite/libm.paranoia
12910 * ./testsuite/Makefile.in: created
12911 * ./testsuite/libm.paranoia: paranoia tests added
12912
12913Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
12914
12915 * configure.in: For mips-*-* set machine_dir to mips.
12916
12917 * libc/machine/mips: New directory.
12918 * libc/machine/mips/Makefile.in: New file.
12919 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
12920 setjmp and longjmp.
12921 * libc/include/machine/setjmp.h: Added __mips__ case.
12922
12923 * libc/machine/lmips: Removed unused and useless directory.
12924
12925Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
12926
12927 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
12928
12929Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
12930
12931 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
12932 start up).
12933
12934Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
12935
12936 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
12937 SETJMP_H.
12938
12939Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
12940
12941 * libm/test/convert.c: structure member errno -> errno_val.
12942 Must include <errno.h> to use errno, it's a macro now.
12943 * libm/test/math.c: Ditto.
12944 * libm/test/math2.c: Include errno.h.
12945 * libm/test/string.c: Ditto.
12946 * libm/test/test.h: structure member errno -> errno_val.
12947 Remove extern int errno decl.
12948
12949Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
12950
12951 * libc/stdio/Makefile.in: Added dependencies on local header
12952 files.
12953 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
12954 files.
12955
12956Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
12957
12958 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
12959
12960Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
12961
12962 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
12963 Initialize _data.
12964
12965 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
12966 * libc/stdio/local.h: Add prototype for _licvt.
12967
12968 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
12969 instead of malloc,reealloc.
12970
12971 * libc/stdlib/local.h: New file.
12972 * libc/stdlib/efgcvt.c: #include local.h.
12973 (gcvt): Fix call to _gcvt.
12974 * libc/stdlib/ecvtbuf.c: #include local.h.
12975
12976 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
12977 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
12978 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
12979
12980 * libc/stdlib/atexit.c: moved global data to struct _reent.
12981 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
12982
12983 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
12984
12985Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
12986
12987 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
12988 here from ../reent.h.
12989
12990Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
12991
12992 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
12993 should be provided in both libc.a and libm.a.
12994 (libc.a): Depend on targ-include and libm.a. Copy
12995 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
12996 (libm.a): Depend on targ-include.
12997 * configure.in (subdirs): Removed libc/math.
12998
12999Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
13000
13001 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
13002
13003Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
13004
13005 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
13006 sys/reent.h instead of reent.h.
13007 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
13008 headers moved to sys/reent.h.
13009 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
13010 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
13011 __need__MAX_SIGNALS defined.
13012 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
13013 std{in,out,err} refer to new _std{in,out,err} members.
13014
13015Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
13016
13017 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
13018 case.
13019
13020Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
13021
13022 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
13023 rather than whatever macro seterrno() has.
13024
13025Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
13026
13027 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
13028 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
13029
13030 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
13031 __STDC__.
13032
13033 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
13034 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
13035 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
13036
13037 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
13038 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
13039
13040 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
13041 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
13042 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
13043 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
13044 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
13045 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
13046 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
13047 renamed to _xxx_r. struct reent_struct renamed to struct _reent
13048 for ANSI. structure members given leading "_" for ANSI. Use
13049 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
13050
13051 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
13052 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
13053 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
13054 reent_struct renamed to struct _reent for ANSI.
13055 Structure members given leading "_" for ANSI.
13056 _CONST --> const in prototypes.
13057 Use _HAVE_STDC instead of __STDC__.
13058
13059 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
13060 _xxx_r.
13061 struct reent_struct renamed to struct _reent for ANSI.
13062 Structure members given leading "_" for ANSI.
13063
13064 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
13065 _xxx_r.
13066 struct reent_struct renamed to struct _reent for ANSI.
13067
13068 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
13069 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
13070 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
13071 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
13072 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
13073
13074 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
13075 signal.h, stdio.h, stdlib.h, string.h, time.h}:
13076 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
13077 #ifndef _STRICT_ANSI non-ANSI routines.
13078 Reentrant routines renamed from _r_xxx to _xxx_r.
13079 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
13080 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
13081 Clean up namespace (structure members have leading "_").
13082 struct reent_struct renamed to struct _reent for ANSI compliance.
13083 _CONST --> const in function prototypes.
13084
13085 * libc/include/string.h: Add NULL and size_t.
13086
13087 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
13088 unlink, wait, wait4. Reentrant syscall routines close, fork,
13089 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
13090 write.
13091 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
13092 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
13093 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
13094 write.S}: Define reentrant versions.
13095 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
13096 reentrant syscalls.
13097
13098 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
13099
13100 * libc/include/stdlib.h (RAND_MAX): Fix value.
13101
13102Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
13103
13104 * libc/sys/a29khif/_main.c: Removed unnecessary file.
13105 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
13106 VPATH support targets after all: target.
13107
13108 * stub/mvme135/mvme.S: Renamed exceptionhandler to
13109 exceptionHandler, which is what mvme135-stub.c expects.
13110
13111Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
13112
13113 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
13114
13115 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
13116 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
13117 compliant).
13118
13119Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
13120
13121 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
13122 first.
13123 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
13124 _r_write): Ditto.
13125 libc/reent/fstatr.c (_r_fstat): Ditto.
13126 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
13127 libc/reent/sbrkr.c (_r_sbrk): Ditto.
13128 libc/reent/statr.c (_r_stat): Ditto.
13129
13130 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
13131 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
13132 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
13133 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
13134 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
13135 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
13136 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
13137 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
13138 (__swrite): Ditto for _r_lseek, _r_write.
13139 (__sseek): Ditto for _r_lseek.
13140 (__close): Ditto for _r_close.
13141 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
13142
13143 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
13144 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
13145
13146 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
13147 to make reent_struct the first argument (and thus consistent with
13148 the rest of newlib).
13149
13150 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
13151 reference to __STDC__.
13152
13153Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
13154
13155 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
13156 global __cleanup.
13157
13158Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
13159
13160 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
13161 first.
13162 libc/stdio/fclose.c (fclose): Ditto.
13163
13164Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
13165
13166 * Run through indent and rename reentrant routines for ANSI.
13167 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
13168 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
13169 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
13170 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
13171 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
13172 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
13173 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
13174 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
13175 vsprintf.c wbuf.c wsetup.c local.h}
13176
13177 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
13178
13179 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
13180 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
13181 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
13182 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
13183 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
13184 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
13185
13186 * Run through indent.
13187 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
13188 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
13189 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
13190 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
13191 strxfrm.c}
13192
13193 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
13194 localtime.c mktime.c strftime.c time.c}:
13195 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
13196
13197 * Reformatting + renaming (for ANSI, GNU style, consistency).
13198 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
13199 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
13200 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
13201
13202Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
13203
13204 * libc/include/stdio.h (stdin_r): Fix.
13205
13206Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
13207
13208 * Makefile.in: Unexport some variables to keep GNU make from
13209 putting them in the environment and using up needed ARG_MAX space
13210 (a hack is used to let this work with older makes as well).
13211
13212Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
13213
13214 * Makefile.in: Use $(MAKE) rather than make.
13215 (MAKEOVERRIDES): Define to be empty.
13216 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
13217 (libc.a, libm.a): Depend on targ-include.
13218 * host/any (LD): Don't define.
13219 (INCLUDES): Use targ-include.
13220 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
13221 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
13222 * libc/Makefile.in: Use $(MAKE) rather than make.
13223 (MAKEOVERRIDES): Define to be empty.
13224 (FLAGS_TO_PASS): Don't pass LD (it's not used).
13225 (all): Rewrote to be slightly smaller.
13226 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
13227 Define to be empty.
13228 (FLAGS_TO_PASS): Don't pass LD (it's not used).
13229 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
13230
13231Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
13232
13233 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
13234 with errno/errno.c.
13235
13236Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
13237
13238 * Changes for reentrancy.
13239 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
13240 Use ptr->_errno, not errno.
13241 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
13242 libc/stdio/remove.c (remove_r): New function.
13243 libc/stdio/rename.c (rename_r): New function.
13244 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
13245 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
13246 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
13247 reentrant versions of system calls.
13248 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
13249 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
13250 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
13251 libc/stdio/findfp.c: Include <string.h>.
13252 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
13253 "local.h".
13254 libc/stdio/wbuf.c: Include "fvwrite.h"
13255
13256 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
13257 <string.h>.
13258 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
13259 (NULL): Don't define if already defined.
13260 libc/stdlib/system.c: Call reentrant versions of system calls.
13261 (system_r): New function.
13262
13263 * Changes for reentrancy.
13264 libc/include/_ansi.h (_PARAMS): New macro.
13265 libc/include/errno.h: Define errno as a macro that calls __errno.
13266 (__errno_r): New macro for reentrant code.
13267 libc/include/math.h: Include reent.h. Declare many reentrant
13268 functions.
13269 (signgam): Now a macro, not a variable.
13270 (struct exception): Added err field.
13271 libc/include/reent.h: Don't declare __sglue. Added function
13272 declarations.
13273 (struct reent_struct): Moved errno to beginning. Added _signgam.
13274 libc/include/stdio.h, libc/include/stdlib.h: Added function
13275 declarations.
13276
13277 * More reentrancy hacking.
13278 libc/errno/errno.c (__errno): New function.
13279 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
13280 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
13281 files.
13282
13283 * Added many new reentrant functions to libm/math/*.
13284 libm/math/error.c (__matherror): Added reent_struct pointer
13285 argument. Changed all callers.
13286 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
13287 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
13288 libm/math/tan.h: Removed obsolete unused header files.
13289
13290 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
13291
13292 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
13293
13294Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
13295
13296 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
13297 delay slots.
13298
13299Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
13300
13301 * libc/libc.texinfo: comment out reentrancy chapter (duh)
13302
13303Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
13304
13305 * libc/reent/reent.tex: New file. (text from
13306 newlib/libc/libc.texinfo)
13307 * libc/stdio/tmpnam.c: fixed doc typo
13308 * libc/stdlib/rand.c: fixed doc typo
13309
13310Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
13311
13312 * libc/reent/reent.tex: New file. (text from
13313 newlib/libc/libc.texinfo)
13314
13315Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
13316
13317 support for reentrancy
13318 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
13319 new files
13320 * libc/errno/errno.c, libc/include/ieeefp.h,
13321 libc/include/locale.h, libc/include/reent.h,
13322 libc/include/signal.h, libc/include/stdio.h,
13323 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
13324 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
13325 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
13326 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
13327 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
13328 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
13329 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
13330 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
13331 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
13332 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
13333 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
13334 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
13335 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
13336 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
13337 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
13338 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
13339 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
13340 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
13341 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
13342 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
13343 libc/time/strftime.c: modify to provide reentracy.
13344
13345 new routines:
13346 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
13347 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
13348 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
13349 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
13350 mstats_r, realloc_r, localeconv_r, setlocale_r
13351
13352Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
13353
13354 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
13355 libc/include/sys/config.h, libc/include/sys/signal.h,
13356 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
13357 provided macros (such as m68000), use the ansi version
13358 (__m68000__) so that the library can be used with code compiled
13359 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
13360 and sparc.
13361
13362Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
13363
13364 * configure.in (sparc*): Don't set -fsoft-float for sparc
13365 configurations. Do set -fsoft-float for sparclite configurations.
13366
13367Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
13368
13369 * default.menu, no-signal.menu: alternate forms of libc main menu
13370 (in newlib rather than newlib/libc due to configuration restrictions)
13371
13372 * configure.in: select one of the two menus above, link to
13373 libc.menu
13374
13375 * libc/libc.texinfo: include menu from separate file
13376
13377Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
13378
13379 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
13380 (info): Split long shell command in half.
13381 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
13382 sub-makes, just CHEW and TARGETDOC.
13383 (targetdep.tex): Removed now special handling of sys and machine
13384 subdirectories, made obsolete some time ago.
13385 * libc/machine/Makefile.in (doc): Don't pass everything to
13386 sub-make, just CHEW and TARGETDOC.
13387 (Makefile): New target.
13388 * libc/sys/Makefile.in (Makefile): New target.
13389
13390Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
13391
13392 * Makefile.in (here and most subdirectories): Only pass down CHEW
13393 and TARGETDOC when making info, not for other targets.
13394
13395 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
13396 $(AR_FLAGS) rather than $(ARUPDATE).
13397
13398Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
13399
13400 * Try to reduce command line length:
13401 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
13402 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
13403 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
13404 (info): Pass CHEW to other subdirs.
13405
13406Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
13407
13408 * configure.in: add signal_dir, like unix_dir, but by default it
13409 is set to "signal" so that a29khif can turn it off (since a29khif
13410 has raise() as part of machine-specific signal.s.)
13411
13412Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
13413
13414 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
13415 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
13416 correctly.
13417 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
13418 libc/stdio/vfprintf: type lint.
13419 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
13420 initialzation code.
13421 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
13422
13423Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
13424
13425 * stub/mvme135/mvme135-asm.S: new file.
13426 stub/mvme135mvme135-stub.c: moved all assembler routines into
13427 mvme135-asm.S.
13428 stub/mvme135/Makefile.in: build mvme135-stub.o.
13429
13430Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
13431
13432 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
13433 sub-Makefiles instead, to try to avoid line length limitations.
13434
13435Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
13436
13437 * libc/include/unistd.h (read, write): Use void* instead of
13438 char*.
13439
13440Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
13441
13442 * stub/go32/resetpc: sample script to send a reset packet to the
13443 stub
13444
13445 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
13446 DOS environment, which compiles with Turbo C.
13447
13448 * stub/go32/DSER32.LNK: new file, linker commands for serial
13449 remote stub.
13450
13451 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
13452 start up message to identify version; call set_debug_traps.
13453
13454 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
13455 keyboard interaction); call handle_exception() in go_til_stop,
13456 rather than return, so that the remote stub gets control.
13457
13458 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
13459 rename, rather than mv), set flags that work with current Turbo C,
13460 including using the /3 flag; also, add commands to build dser32.
13461
13462 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
13463 default Turbo C installation (\tc rather than \usr)
13464
13465 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
13466 "&..."
13467
13468Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
13469
13470 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
13471
13472Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
13473
13474 * libc/stdio/cvt.c (licvt): new function to convert ints when
13475 sizeof(int) != sizeof(long).
13476
13477 * libc/include/stdio.h: added prototype for iprintf.
13478 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
13479
13480Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
13481
13482 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
13483 __REGISTER_PREFIX__.
13484
13485Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
13486
13487 * libc/sys/m68kbare: moved into stub directory.
13488
13489Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
13490
13491 * configure.in, Makefile.in: created new directory stub, to hold
13492 sample code for specific targets.
13493
13494Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
13495
13496 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
13497 in the unified libc/include/sys/fcntl.h.
13498
13499Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
13500
13501 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
13502 printed .01, not 0.01.
13503
13504Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
13505
13506 * configure.in: compile with -m68000 for m68* targets.
13507
13508Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
13509
13510 * libm/math/remainder.c (remainder): document the svr4 and sunos
13511 references used to construct the function.
13512
13513Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
13514
13515 * libm/math/remainder.c (rint, remainder): fix old typos.
13516 * libm/math/Makefile.in: actually build remainder.c (functions
13517 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
13518 page.)
13519
13520Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
13521
13522 * libc/string/bcopy.c: BSD version works on overlapping strings,
13523 so ours should too.
13524
13525 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
13526 ("SHELL").
13527
13528Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
13529
13530 * Makefile.in (docs): new target.
13531
13532Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
13533
13534 * libc/include/sys/times.h: define clock_t as required by POSIX.
13535 libc/include/time.h: protect clock_t from multiple definitions.
13536
13537Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
13538
13539 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
13540 does not need more than the original three iterations to get
13541 within 1 ulp. (Paranoia tests for rounding to better than that,
13542 but further iterations *don't* help, only more subtle changes
13543 can.)
13544
13545Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
13546
13547 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
13548 were doing nothing useful.
13549
13550Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
13551
13552 * configure.in: define MALLOC_PROVIDED for vxworks targets;
13553 removed sys_dir settings of vxworks68 and vxworks960.
13554 host/any: don't pass -nostdinc to gcc, since newlib no longer
13555 provides all required header files.
13556
13557 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
13558 is not defined; this provides a hook for VxWorks.
13559
13560Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
13561
13562 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
13563 buffer if buf is NULL, don't do it here -- it is already being
13564 done by makebuf elsewhere in stdio.
13565
13566Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
13567
13568 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
13569 that C programs can call functions without using initial
13570 underscores.
13571
13572Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
13573
13574 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
13575
13576Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
13577
13578 * configure.in: set TARGET_CFLAGS for certain CPU types to
13579 -msoft-float.
13580
13581Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
13582
13583 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
13584
13585Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
13586
13587 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
13588 m68k*-unknown-coff.
13589
13590Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
13591
13592 * libc/include/stdio.h: define __need___va_list before including
13593 <stdarg.h>, to avoid defining va_arg, et. al.
13594
13595Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
13596
13597 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
13598 (don't cd to the user's home directory).
13599
13600 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
13601 In general this is the wrong thing to do, but I can't get around
13602 GNU make's insistence on passing command line arguments any other
13603 way.
13604
13605Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
13606
13607 * configure.in: always configure the libc/sys directory, since it
13608 now provides a required documentation file.
13609
13610 * Makefile.in: replaced all instances of $(MAKE) with make. In
13611 general this is the wrong thing to do, but I can't get around GNU
13612 make's insistence on passing command line arguments any other way.
13613
13614Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
13615
13616 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
13617 terminated.
13618
13619 * libc/stdio/local.h: include <stdarg.h> to define va_list.
13620 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
13621
13622 * libc/include/float.h, libc/include/stdarg.h,
13623 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
13624 versions instead.
13625 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
13626 <stdarg.h>, not from <machine/types.h>. Protect definition of
13627 NULL.
13628 libc/include/time.h: get size_t from stddef.h. Protect definition
13629 of NULL.
13630 libc/include/machine/limits.h: override gcc <limits.h> by defining
13631 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
13632 get correct INT_MIN and LONG_LONG values.
13633 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
13634 size_t or va_list at all; they're now gotten from stddef.h
13635 instead.
13636 libc/include/machine/varargs.h: removed; use gcc version instead.
13637 libc/include/sys/types.h: explicitly include <machine/types.h>.
13638
13639 * libm/math/sqrt.h: using the fp-bit routines appears to require
13640 more iterations.
13641
13642 * Makefile.in, host/any: let system include files override machine
13643 include files.
13644
13645Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
13646
13647 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
13648 override _*_T_ definitions defaulted here.
13649
13650Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
13651
13652 * Makefile.in (install): install the include files in
13653 $(tooldir)/include, not $(exec_prefix)/include.
13654
13655Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
13656
13657 * Makefile.in (install): fixed typo, and changed install to not
13658 force rebuild of libc.a and libm.a.
13659
13660Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
13661
13662 * libc/sys/a29khif/*: Changed all .include's to include
13663 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
13664 that they will be installed for the user.
13665
13666 * Makefile.in (all): create targ-include, a directory holding the
13667 machine and system specific header files during the build.
13668 (install): fixed installation of machine and system specific
13669 header files.
13670
13671 * Makefile.in: fixed comment.
13672 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
13673 we can pass $(INCLUDES) to it.
13674
13675Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
13676
13677 * libc/include/sys/param.h: new generic file, which may be
13678 overridden for specific systems.
13679
13680 * libc/include/sys/signal.h: define all ANSI signal names, and
13681 NSIG (which is not ANSI) for a29k.
13682
13683Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
13684
13685 * Makefile.in: don't pass down arguments the lower level makes
13686 will not need.
13687 * libc/Makefile.in: recurse directly, rather than using subdir_do,
13688 in hopes of avoiding argument length limits.
13689 * libm/Makefile.in: recurse directly, rather using subdir_do, in
13690 hopes of avoiding argument length limits.
13691
13692Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
13693
13694 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
13695 mode_t is defined.
13696
13697Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
13698
13699 * Fixed make info and make install-info for newlib, changing most
13700 Makefile.in and several *.tex files. Moved doc directory from
13701 libc to top level.
13702
13703 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
13704 Should be rewritten.
13705
13706 * libc/string/strings.tex: renamed node index to node index
13707 function, so that it does not conflict with the top level index
13708 node.
13709
13710 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
13711
13712Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
13713
13714 * Overhauled general configuration for newlib. Eliminated all
13715 target dependent Makefile fragments. Create libraries in newlib
13716 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
13717 than CROSS_CC, et. al. Broke make docs; will fix later.
13718
13719 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
13720 Should be rewritten.
13721
13722Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
13723
13724 * libc/configure.in: cleaned up somewhat; switch on ${target}
13725 rather than ${target_alias}.
13726 * libm/configure.in: cleaned up somewhat; switch on ${target}
13727 rather than ${target_alias}.
13728
13729 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
13730 * libc/include/ctype.h: marked _ctype_ as _CONST.
13731
13732 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
13733 _CONST.
13734
13735 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
13736 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
13737 libc/stdio/gets.c (gets): removed non-ANSI warning message.
13738 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
13739
13740 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
13741 bigtens, tinytens): marked arrays _CONST.
13742 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
13743 rather than a static variable.
13744
13745 * libc/time/asctime.c (asctime), libc/time/localtime.c
13746 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
13747 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
13748 mname_len, mname): Marked static arrays _CONST.
13749
13750 * libm/math/gamma.h: made local variables non-static.
13751
13752 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
13753 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
13754 _CONST.
13755
13756 * libm/math/constants.c: removed file, because the constants it
13757 defined were never referenced.
13758 libm/math/Makefile.in: removed references to constants.c.
13759 libm/math/mathimpl.h: removed declarations of constants.
13760
13761Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
13762
13763 * libc/include/machine/varargs.h: only call __builtin_saveregs if
13764 it is sensibly defined in libgcc2. Checks preprocessor defines,
13765 which is not a good solution.
13766
13767 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
13768
13769 * libm/frexp.c: handle denormalized numbers as arguments.
13770
13771 * libm/math/Makefile.in: added some dependencies for .c files
13772 which include local .h files.
13773
13774Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
13775
13776 * libc/configure.in: set target_alias for OSE*. Replace
13777 target_makefile_frag if it is blank.
13778
13779 * libc/Makefile.in: make sure everything is passed to subsidiary
13780 makes; create all directories when installing.
13781
13782 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
13783 CROSS_ARUPDATE instead of AR.
13784
13785 * libm/configure.in: set target_alias for OSE*. Replace
13786 target_makefile_frag if it is blank.
13787
13788 * libm/Makefile.in: make sure everything is passed to subsidiary
13789 makes; create all directories when installing.
13790
13791Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
13792
13793 * add following change from libc copy.
13794
13795Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
13796
13797 * libc/libc.texinfo: make copyright disclaimers appear on back of
13798 title page; make format of same slightly less ugly; avoid using
13799 underbars in section headings (avoids nasty texinfo bug in table
13800 of contents).
13801
13802 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
13803 comments only) avoid using underbars in section headings
13804
13805 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
13806 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
13807 changes in comments only): shorten headings ieeefp/infinity.c,
13808 ieeefp/isnan.c: (doc, comments only) more informative headings
13809
13810 * libc/math/bessel.c: (doc, comments only) shorten heading
13811
13812 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
13813 (doc, comments only) shorten headings
13814
13815 * libc/time/localtime.c (doc, comments only): shorten headings
13816
13817 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
13818 isnan
13819 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
13820 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
13821 headings
13822 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
13823 only) more informative headings
13824 * libm/math/bessel.c: (doc, comments only) shorten heading
13825
13826Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
13827
13828 * .../Makefile.in: use CROSS_ARUPDATE consistently.
13829 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
13830 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
13831 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
13832 defined, the one from the .mt file will be correct.
13833 * libc/include/machine, libc/include/sys: created, and populated
13834 with common files from machine/*/machine. ifdefs were used for
13835 most, typically by handling exceptions first and then filling in
13836 defaults. Files with D.J. Delorie copyright #included rather than
13837 copied. Most files in include/sys really were the same in the
13838 original.
13839 * libc/include/...: cleaned up use of _EXFUN.
13840 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
13841 it with double quotes, not angles.
13842
13843Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
13844
13845 * libc/Makefile.in: always create installation directories.
13846
13847Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
13848
13849 * libc/configure.in: handle host properly (using canonical
13850 triples), better error message for the case of target not found
13851
13852Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
13853
13854 * libc/Makefile.in (insincdir): Ensure this directory exists
13855 before attempting installation.
13856
13857Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
13858
13859 * libc/stdlib/assert.c: now calls abort like it should
13860 * libc/sys/a29khif: many many patches for 29khif work
13861 * libc/machine/i386: gnulib2 expanded there.
13862
13863Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
13864
13865 Added accurate fp conversion routines to stdlib, moved dcvt from
13866 stdio to stdlib and called it ecvtbuf:
13867 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
13868 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
13869 routines
13870 * libc/libc.texinfo: Modifed to include the copyright info from
13871 the mprec files
13872 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
13873 * libc/test/ : many vector which tested for the implementation
13874 defined returns of strange conversion requests have been updated
13875 to relflect the new implementation
13876
13877Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
13878
13879 * libc/libc.texinfo: new chapter on variable arg lists
13880 (stdarg.h/varargs.h)
13881 * libc/libc.texinfo: new title
13882 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
13883 (doc only) shorter headings for better formatting.
13884
13885Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
13886
13887 * libc/libc.texinfo: three more info menu entries
13888 * libc/locale/locale.tex: new chapter
13889 * libc/locale/locale.c: new doc for setlocale, localeconv
13890 * libc/locale/Makefile.in: use new locale doc
13891 * libc/signal/signal.tex: new chapter
13892 * libc/signal/raise.c, libc/signal/signal.c: new doc
13893 * libc/signal/Makefile.in: use new doc
13894 * libc/time/time.tex: new chapter
13895 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
13896 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
13897 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
13898 * libc/time/Makefile.in: use new doc
13899
13900Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
13901
13902 * libm/math/log1p.c: split to use the new function way of float
13903 function definition. math/log1p.h deleted
13904 * libm/math/scalb.c: obsolete and deleted
13905 * libm/math/scalbn.c: created from part log1p.c
13906 * libm/math/Makefile.in: know about log1p and scalbn
13907
13908Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
13909
13910 * libc/ctype/isupper.c: revise doc;
13911 libc/ctype/ctype.tex: use doc from isupper.c
13912
13913 * libc/string/bzero.c: new doc
13914
13915Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
13916
13917 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
13918 new doc
13919 * libc/stdlib/Makefile.in: extract new doc
13920 * libc/stdlib/stdlib.tex: use new doc
13921
13922 * libc/string/strerror.c: expanded doc.
13923
13924 * libc/stdio/Makefile.in: extract doc from more files
13925 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
13926 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
13927 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
13928 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
13929 libc/stdio/vsprintf.c: new doc
13930 * libc/stdio/stdio.tex: use new doc
13931
13932Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
13933
13934 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
13935 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
13936 finitef functions.
13937 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
13938 time ago.
13939
13940 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
13941 * libc/stdio/setbuf.c: added ansi style definition.
13942 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
13943 buffer if none provided.
13944 * libc/stdio/tmpfile.c: lint
13945 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
13946 rather than using static, also make sure file isn't already
13947 present. Uses P_tmpdir. (tempnam): rewritten to use new
13948 subroutine, and uses P_tmpdir.
13949 * libc/stdio/siprintf.c: created
13950
13951Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
13952
13953 Release 1.03 for NEC, major mods. Main differences from release
13954 1.02::
13955
13956 More tests in test/:
13957 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
13958 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
13959 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
13960 get/set mask, get/set sticky and get/set roundtoi. Tests
13961 that setting the bits changes the way arithmetic is done.
13962 * string.c: added test to make sure memcmp does it with unsigned
13963 chars.
13964 * test.c: cleaned up and removed lint.
13965 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
13966 dvec.c: tests for string to value conversions, sprintf, scanf,
13967 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
13968 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
13969 rounding in sprintf too.
13970 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
13971 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
13972 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
13973 and function form.
13974 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
13975 powf
13976
13977 In the library:
13978 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
13979 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
13980 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
13981 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
13982 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
13983 than sprintf.
13984 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
13985 * Method of producting float versions of double functions has
13986 changed, functions will be modified gradually. So far:
13987 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
13988 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
13989 altered
13990 * libc/string/memcmp.c: now uses unsigned chars
13991 * libc/string/bcmp.c, libc/string/strcpy.c,
13992 libc/stsring/strxfrm.c: fixed doc
13993 * libc/sys/sysvnecv70.tex: fix example of sbrk code
13994\f
13995Local Variables:
13996version-control: never
13997End:
This page took 1.435143 seconds and 5 git commands to generate.