]> sourceware.org Git - newlib-cygwin.git/blob - newlib/ChangeLog
* libc/include/grp.h: Don't define setgrfile, group_from_gid and
[newlib-cygwin.git] / newlib / ChangeLog
1 2003-09-09 Corinna Vinschen <corinna@vinschen.de>
2
3 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
4 setgroupent for Cygwin.
5
6 2003-09-05 Jeff Johnston <jjohnstn@redhat.com>
7
8 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
9 is different for _REENT_SMALL than when using regular reent
10 struct.
11
12 2003-09-05 Ben Elliston <bje@wasabisystems.com>
13
14 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
15 modern versions of GCC issue a warning.
16
17 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
18 after continuation characters that induces a warning from modern
19 versions of GCC.
20
21 2003-09-04 Ben Elliston <bje@wasabisystems.com>
22
23 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
24 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
25
26 2003-09-02 Thomas Pfaff <tpfaff@gmx.net>
27
28 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
29 * libc/stdlib/exit.c : Ditto.
30 * libc/stdlib/on_exit.c: Ditto.
31
32 2003-08-27 Corinna Vinschen <corinna@vinschen.de>
33
34 * libc/include/reent.h: Define stat64 as __stat64 when
35 compiling newlib for Cygwin.
36
37 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
38
39 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
40 __stat64 when compiling newlib.
41
42 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
43
44 * libc/include/stdio.h: Allow the io64 function prototypes for
45 Cygwin when compiling newlib.
46 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
47 to expose the Cygwin struct __stat64 type.
48 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
49 pointer.
50 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
51
52 2003-08-23 Christopher Faylor <cgf@redhat.com>
53
54 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
55 definition to fseeko64.
56
57 2003-08-22 Jeff Johnston <jjohnstn@redhat.com>
58
59 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
60 * libc/stdio: Globally remove/replace all references to fp->_data.
61 Replace with _REENT or _GLOBAL_REENT where appropriate.
62 * libc/stdio/asprintf.c: Ditto.
63 * libc/stdio/fclose.c: Ditto.
64 * libc/stdio/fvwrite.c: Ditto.
65 * libc/stdio/makebuf.c: Ditto.
66 * libc/stdio/refill.c: Ditto.
67 * libc/stdio/local.h: Ditto.
68 * libc/stdio/setvbuf.c: Ditto.
69 * libc/stdio/sscanf.c: Ditto.
70 * libc/stdio/stdio.c: Ditto.
71 * libc/stdio/ungetc.c: Ditto.
72 * libc/stdio/vfscanf.c: Ditto.
73 * libc/stdio/vsscanf.c: Ditto.
74 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
75 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
76 * libc/stdio/vsnprintf.c: Ditto.
77 * libc/stdio/vsprintf.c: Ditto.
78 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
79 instead of _REENT to walk file list.
80 * libc/stdio/fflush.c: Ditto.
81 * libc/stdio/fgetpos.c: Add reentrant version and have regular
82 version call reentrant version with _REENT argument.
83 * libc/stdio/fsetpos.c: Ditto.
84 * libc/stdio/fseek.c: Ditto.
85 * libc/stdio/fseeko.c: Ditto.
86 * libc/stdio/ftell.c: Ditto.
87 * libc/stdio/ftello.c: Ditto.
88 * libc/stdio/freopen.c: Ditto.
89 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
90 new files to chain. Also use _GLOBAL_REENT pointer for
91 cleaning up.
92 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
93 * libc/stdio/siprintf.c: Ditto.
94 * libc/stdio/iprintf.c: Ditto.
95 * libc/stdio/fprintf.c: Ditto.
96 * libc/stdio/printf.c: Ditto.
97 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
98 * libc/stdio/sprintf.c: Ditto.
99 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
100 * libc/stdio/rewind.c: Call _fseek_r directly.
101 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
102 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
103 data pointer.
104 (get_arg): Add extra struct _reent pointer argument.
105 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
106 to fp->_data.
107 * libc/stdio64/fopen64.c: Ditto.
108 * libc/stdio64/freopen64.c: Ditto.
109 * libc/stdio64/fsetpos64.c: Ditto.
110 * libc/stdio64/ftello64.c: Ditto.
111 * libc/stdio64/local64.h: Ditto.
112 * libc/stdio64/stdio64.c: Ditto.
113 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
114 _fstat64_r for the meantime.
115
116 2003-08-19 Jeff Johnston <jjohnstn@redhat.com>
117
118 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
119 overflow detection.
120
121 2003-08-13 Aldy Hernandez <aldyh@redhat.com>
122
123 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
124 extern "C".
125
126 2003-08-13 Jeff Johnston <jjohnstn@redhat.com>
127
128 * libc/include/math.h: Add prototypes for __signbitf and
129 __signbitd.
130
131 2003-07-31 Jeff Johnston <jjohnstn@redhat.com>
132
133 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
134 correct type of conversion when dealing with EUCJP or SJIS.
135 * libc/ctype/iswblank.c: Ditto.
136 * libc/ctype/iswcntrl.c: Ditto.
137 * libc/ctype/iswprint.c: Ditto.
138 * libc/ctype/iswpunct.c: Ditto.
139 * libc/ctype/iswspace.c: Ditto.
140 * libc/ctype/towlower.c: Ditto.
141 * libc/ctype/towupper.c: Ditto.
142
143 2003-07-31 Nick Clifton <nickc@redhat.com>
144
145 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
146 before calling main, in case it saves its argument registers.
147 Remove reference to deleted v850ea port.
148 * configure.host: Remove reference to deleted v850ea port.
149 Do not use -mv850 when building for v850e target. This
150 prevents the ctbp system register from being initialised.
151
152 2003-07-29 Honda Hiroki <hhonda@ipflex.com>
153
154 * libc/stdio/vfprintf.c: Set output size to 1 when
155 we have %f format with precision 0 and # flag not specified.
156
157 2003-07-29 Alexandre Oliva <aoliva@redhat.com>
158
159 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
160 .am33_2.
161
162 2003-07-25 Christopher Faylor <cgf@redhat.com>
163
164 * libc/stdio64/fdopen64.c: Include sys/lock.h.
165
166 2003-07-25 Christopher Faylor <cgf@redhat.com>
167
168 * configure.host: Find cygwin include directory, when appropriate.
169
170 2003-07-24 Christopher Faylor <cgf@redhat.com>
171
172 * libc/stdio64/fdopen64.c: New file.
173 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
174 * libc/stdio64/Makefile.in: Regenerate.
175 * libc/include/stdio.h (fdopen64): Define.
176 * libc/include/stdio.h (_fdopen64_r): Ditto.
177
178 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
179
180 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
181 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
182 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
183 restore callee-saved FP registers.
184
185 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
186
187 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
188 for __sh__.
189 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
190 truncate.c.
191 * libc/sys/sh/Makefile.in: Regenerate.
192 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
193 * libc/sys/sh/ftruncate.c: New file.
194 * libc/sys/sh/truncate.c: Likewise.
195
196 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
197
198 * libc/include/math.h (nan, nanf): Update prototype to C99.
199 * libm/common/s_nan.c (nan): Likewise.
200 * libm/common/s_nanf.c (nanf, nan): Likewise.
201 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
202
203 2003-07-07 Jeff Johnston <jjohnstn@redhat.com>
204
205 * libc/include/stdbool.h: Removed as this is defined by gcc.
206
207 2003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
208
209 * libc/include/stdbool.h: New header file defined by C99.
210
211 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
212
213 * libc/include/sys/types.h (int8_t): Make signed.
214
215 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
216
217 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
218
219 2003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
220
221 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
222 on if we actually created the shared memory file exclusively.
223
224 2003-06-27 Joe Vornehm <joev@mitre.org>
225
226 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
227 comparisons to account for unsigned internal value w.
228
229 2003-06-26 Jeff Johnston <jjohnstn@redhat.com>
230
231 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
232 wrbuf for a non-creating open.
233
234 2003-06-24 Kazu Hirata <kazu@cs.umass.edu>
235
236 * libc/machine/h8300/setarch.h: New.
237 * libc/machine/h8300/memcpy.S: Use it.
238 * libc/machine/h8300/memset.S: Likewise.
239 * libc/machine/h8300/reg_memcpy.S: Likewise.
240 * libc/machine/h8300/reg_memset.S: Likewise.
241 * libc/machine/h8300/setjmp.S: Likewise.
242 * libc/machine/h8300/strcmp.S: Likewise.
243
244 2003-06-24 Richard Sandiford <rsandifo@redhat.com>
245
246 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
247 to atexit().
248
249 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
250
251 * configure.host (iq2000): Add tabs.
252
253 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
254
255 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
256 to handle latest on_exit change.
257 * libc/sys/linux/Makefile.am: Remove special compilation
258 for malloc.c and mcheck.c.
259 * libc/sys/linux/Makefile.in: Regenerated.
260 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
261 after including <features.h>.
262 * libc/sys/linux/mcheck.c: Ditto.
263 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
264 for <features.h>.
265 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
266 add -DNOT_IN_libc to C flags.
267 * libc/sys/linux/intl/Makefile.in: Regenerated.
268 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
269 * libc/sys/linux/linuxthreads/semaphore.h: Include
270 <bits/pthreadtypes.h>.
271 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
272 including <features.h>.
273 * libc/sys/linux/sys/lock.h: Ditto.
274
275 2003-06-11 Nick Clifton <nickc@redhat.com>
276
277 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
278 _on_exit_args_ptr.
279
280 2003-06-10 Stan Cox <scox@redhat.com>
281 Anthony Green <green@redhat.com>
282
283 * configure.host: Add iq2000 support.
284 * newlib/libc/include/machine/ieeefp.h: Ditto.
285 * newlib/libc/include/machine/setjmp.h: Ditto.
286 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
287 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
288 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
289 libc/machine/iq2000/Makefile.in: New files.
290
291 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
292
293 * libc/sys/h8300hms/setarch.h: New file.
294 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
295 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
296 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
297 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
298
299 2003-06-06 Jeff Johnston <jjohnstn@redhat.com>
300
301 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
302 definition.
303 * libc/argz/argz_add_sep.c: Ditto.
304 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
305 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
306 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
307 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
308 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
309 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
310 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
311 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
312 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
313 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
314 * libc/posix/execl.c libc/posix/execle.c: Ditto.
315 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
316 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
317 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
318 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
319 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
320 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
321 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
322 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
323 * libc/search/twalk.c libc/signal/signal.c: Ditto.
324
325 2003-06-05 Nick Clifton <nickc@redhat.com>
326
327 * libc/include/sys/reent.h (struct _on_exit_args): New
328 structure containing fields used by the on_exit() function.
329 (struct _atexit): Include struct _on_exit_args. For
330 _REENT_SMALL do his via a pointer that is initialised when
331 needed.
332 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
333 structure, if one has been allocated.
334 * libc/stdlib/atexit.c (atexit): Update indirection to
335 _fntypes field.
336 * libc/stdlib/on_exit.c (on_exit): Indirect via the
337 _on_exit_args structure. For _REENT_SMALL, allocate a
338 structure if one does not exist.
339 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
340 structure.
341
342 2003-06-04 Jeff Johnston <jjohnstn@redhat.com>
343
344 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
345 * libc/sys/linux/net/Makefile.in: Regenerated.
346
347 2003-06-03 Jeff Johnston <jjohnstn@redhat.com>
348
349 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
350 * libc/reent/fcntlr.c: Ditto.
351 * libc/reent/fstat64r.c: Ditto.
352 * libc/reent/linkr.c: Ditto.
353 * libc/reent/lseek64r.c: Ditto.
354 * libc/reent/lseekr.c: Ditto.
355 * libc/reent/openr.c: Ditto.
356 * libc/reent/readr.c: Ditto.
357 * libc/reent/reent.c: Ditto.
358 * libc/reent/sbrkr.c: Ditto.
359 * libc/reent/signalr.c: Ditto.
360 * libc/reent/signgam.c: Ditto.
361 * libc/reent/statr.c: Ditto.
362 * libc/reent/timer.c: Ditto.
363 * libc/reent/unlinkr.c: Ditto.
364 * libc/reent/writer.c: Ditto.
365 * libc/syscalls/sysclose.c: Ditto.
366 * libc/syscalls/sysexecve.c: Ditto.
367 * libc/syscalls/sysfcntl.c: Ditto.
368 * libc/syscalls/sysfork.c: Ditto.
369 * libc/syscalls/sysfstat.c: Ditto.
370 * libc/syscalls/sysgetpid.c: Ditto.
371 * libc/syscalls/sysgettod.c: Ditto.
372 * libc/syscalls/syskill.c: Ditto.
373 * libc/syscalls/syslink.c: Ditto.
374 * libc/syscalls/syslseek.c: Ditto.
375 * libc/syscalls/sysopen.c: Ditto.
376 * libc/syscalls/sysread.c: Ditto.
377 * libc/syscalls/syssbrk.c: Ditto.
378 * libc/syscalls/sysstat.c: Ditto.
379 * libc/syscalls/systimes.c: Ditto.
380 * libc/syscalls/sysunlink.c: Ditto.
381 * libc/syscalls/syswait.c: Ditto.
382 * libc/syscalls/syswrite.c: Ditto.
383
384 2003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
385
386 * libc/time/tzset_r.c: Change local variables that are
387 set via sscanf using the %h format specifier to be unsigned short
388 instead of int.
389
390 2003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
391
392 * configure.host: Allow i[34567]86 variant.
393 * configure.in: Likewise.
394 * README: Likewise to the docs.
395 * configure: Regenerated.
396 * Makefile.in: Ditto.
397
398 2003-05-28 Jeff Johnston <jjohnstn@redhat.com>
399 Tom Fitzsimmons <fitzsim@redhat.com>
400
401 * configure.in: Add iconvdata support for x86 linux.
402 * configure: Regenerated.
403 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
404 library, iconv, and linuxthreads support.
405 * libc/sys/linux/configure.in: Ditto.
406 * libc/sys/linux/Makefile.in: Regenerated.
407 * libc/sys/linux/configure: Ditto.
408 * iconvdata/EUC-JP.irreversible: New file.
409 * iconvdata/Makefile.am: Ditto.
410 * iconvdata/Makefile.in: Ditto.
411 * iconvdata/SJIS.irreversible: Ditto.
412 * iconvdata/aclocal.m4: Ditto.
413 * iconvdata/configure: Ditto.
414 * iconvdata/configure.in: Ditto.
415 * iconvdata/dummy.c: Ditto.
416 * iconvdata/euc-jp.c: Ditto.
417 * iconvdata/gconv-modules: Ditto.
418 * iconvdata/jis0201.c: Ditto.
419 * iconvdata/jis0201.h: Ditto.
420 * iconvdata/jis0208.c: Ditto.
421 * iconvdata/jis0208.h: Ditto.
422 * iconvdata/jis0212.c: Ditto.
423 * iconvdata/jis0212.h: Ditto.
424 * iconvdata/sjis.c: Ditto.
425 * libc/include/errno.h: Protect definition of error_t.
426 * libc/sys/linux/gethostid.c: New file.
427 * libc/sys/linux/sethostid.c: Ditto.
428 * libc/sys/linux/dl/Makefile.am: Ditto.
429 * libc/sys/linux/dl/Makefile.in: Ditto.
430 * libc/sys/linux/dl/abi-tag.h: Ditto.
431 * libc/sys/linux/dl/atomicity.h: Ditto.
432 * libc/sys/linux/dl/dl-addr.c: Ditto.
433 * libc/sys/linux/dl/dl-cache.c: Ditto.
434 * libc/sys/linux/dl/dl-cache.h: Ditto.
435 * libc/sys/linux/dl/dl-close.c: Ditto.
436 * libc/sys/linux/dl/dl-debug.c: Ditto.
437 * libc/sys/linux/dl/dl-deps.c: Ditto.
438 * libc/sys/linux/dl/dl-dst.h: Ditto.
439 * libc/sys/linux/dl/dl-error.c: Ditto.
440 * libc/sys/linux/dl/dl-fini.c: Ditto.
441 * libc/sys/linux/dl/dl-init.c: Ditto.
442 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
443 * libc/sys/linux/dl/dl-libc.c: Ditto.
444 * libc/sys/linux/dl/dl-librecon.h: Ditto.
445 * libc/sys/linux/dl/dl-load.c: Ditto.
446 * libc/sys/linux/dl/dl-lookup.c: Ditto.
447 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
448 * libc/sys/linux/dl/dl-minimal.c: Ditto.
449 * libc/sys/linux/dl/dl-misc.c: Ditto.
450 * libc/sys/linux/dl/dl-object.c: Ditto.
451 * libc/sys/linux/dl/dl-open.c: Ditto.
452 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
453 * libc/sys/linux/dl/dl-profile.c: Ditto.
454 * libc/sys/linux/dl/dl-profstub.c: Ditto.
455 * libc/sys/linux/dl/dl-reloc.c: Ditto.
456 * libc/sys/linux/dl/dl-runtime.c: Ditto.
457 * libc/sys/linux/dl/dl-support.c: Ditto.
458 * libc/sys/linux/dl/dl-sym.c: Ditto.
459 * libc/sys/linux/dl/dl-version.c: Ditto.
460 * libc/sys/linux/dl/dlfcn.h: Ditto.
461 * libc/sys/linux/dl/do-lookup.h: Ditto.
462 * libc/sys/linux/dl/do-rel.h: Ditto.
463 * libc/sys/linux/dl/dynamic-link.h: Ditto.
464 * libc/sys/linux/dl/kernel-features.h: Ditto.
465 * libc/sys/linux/dl/ldsodefs.h: Ditto.
466 * libc/sys/linux/dl/libintl.h: Ditto.
467 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
468 * libc/sys/linux/dl/unsecvars.h: Ditto.
469 * libc/sys/linux/iconv/Makefile.am: Ditto.
470 * libc/sys/linux/iconv/Makefile.in: Ditto.
471 * libc/sys/linux/iconv/categories.def: Ditto.
472 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
473 * libc/sys/linux/iconv/gconv.c: Ditto.
474 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
475 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
476 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
477 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
478 * libc/sys/linux/iconv/gconv_close.c: Ditto.
479 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
480 * libc/sys/linux/iconv/gconv_db.c: Ditto.
481 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
482 * libc/sys/linux/iconv/gconv_int.h: Ditto.
483 * libc/sys/linux/iconv/gconv_open.c: Ditto.
484 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
485 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
486 * libc/sys/linux/iconv/hash-string.h: Ditto.
487 * libc/sys/linux/iconv/iconv.c: Ditto.
488 * libc/sys/linux/iconv/iconv.h: Ditto.
489 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
490 * libc/sys/linux/iconv/iconv_close.c: Ditto.
491 * libc/sys/linux/iconv/iconv_open.c: Ditto.
492 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
493 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
494 * libc/sys/linux/iconv/loadinfo.h: Ditto.
495 * libc/sys/linux/iconv/localeinfo.h: Ditto.
496 * libc/sys/linux/iconv/loop.c: Ditto.
497 * libc/sys/linux/iconv/skeleton.c: Ditto.
498 * libc/sys/linux/iconv/strtab.c: Ditto.
499 * libc/sys/linux/include/dl-hash.h: Ditto.
500 * libc/sys/linux/include/dlfcn.h: Ditto.
501 * libc/sys/linux/include/fnmatch.h: Ditto.
502 * libc/sys/linux/include/gconv.h: Ditto.
503 * libc/sys/linux/include/glob.h: Ditto.
504 * libc/sys/linux/include/hesiod.h: Ditto.
505 * libc/sys/linux/include/ifaddrs.h: Ditto.
506 * libc/sys/linux/include/libc_private.h: Ditto.
507 * libc/sys/linux/include/link.h: Ditto.
508 * libc/sys/linux/include/namespace.h: Ditto.
509 * libc/sys/linux/include/netconfig.h: Ditto.
510 * libc/sys/linux/include/netdb.h: Ditto.
511 * libc/sys/linux/include/nsswitch.h: Ditto.
512 * libc/sys/linux/include/regex.h: Ditto.
513 * libc/sys/linux/include/resolv.h: Ditto.
514 * libc/sys/linux/include/rune.h: Ditto.
515 * libc/sys/linux/include/runetype.h: Ditto.
516 * libc/sys/linux/include/semaphore.h: Ditto.
517 * libc/sys/linux/include/setlocale.h: Ditto.
518 * libc/sys/linux/include/un-namespace.h: Ditto.
519 * libc/sys/linux/include/wordexp.h: Ditto.
520 * libc/sys/linux/include/arpa/ftp.h: Ditto.
521 * libc/sys/linux/include/arpa/inet.h: Ditto.
522 * libc/sys/linux/include/arpa/nameser.h: Ditto.
523 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
524 * libc/sys/linux/include/arpa/telnet.h: Ditto.
525 * libc/sys/linux/include/arpa/tftp.h: Ditto.
526 * libc/sys/linux/include/net/bpf.h: Ditto.
527 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
528 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
529 * libc/sys/linux/include/net/bridge.h: Ditto.
530 * libc/sys/linux/include/net/ethernet.h: Ditto.
531 * libc/sys/linux/include/net/fddi.h: Ditto.
532 * libc/sys/linux/include/net/if.h: Ditto.
533 * libc/sys/linux/include/net/if_arc.h: Ditto.
534 * libc/sys/linux/include/net/if_arp.h: Ditto.
535 * libc/sys/linux/include/net/if_atm.h: Ditto.
536 * libc/sys/linux/include/net/if_dl.h: Ditto.
537 * libc/sys/linux/include/net/if_gif.h: Ditto.
538 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
539 * libc/sys/linux/include/net/if_llc.h: Ditto.
540 * libc/sys/linux/include/net/if_media.h: Ditto.
541 * libc/sys/linux/include/net/if_mib.h: Ditto.
542 * libc/sys/linux/include/net/if_ppp.h: Ditto.
543 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
544 * libc/sys/linux/include/net/if_slvar.h: Ditto.
545 * libc/sys/linux/include/net/if_sppp.h: Ditto.
546 * libc/sys/linux/include/net/if_stf.h: Ditto.
547 * libc/sys/linux/include/net/if_tap.h: Ditto.
548 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
549 * libc/sys/linux/include/net/if_tun.h: Ditto.
550 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
551 * libc/sys/linux/include/net/if_types.h: Ditto.
552 * libc/sys/linux/include/net/if_var.h: Ditto.
553 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
554 * libc/sys/linux/include/net/intrq.h: Ditto.
555 * libc/sys/linux/include/net/iso88025.h: Ditto.
556 * libc/sys/linux/include/net/net_osdep.h: Ditto.
557 * libc/sys/linux/include/net/netisr.h: Ditto.
558 * libc/sys/linux/include/net/pfil.h: Ditto.
559 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
560 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
561 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
562 * libc/sys/linux/include/net/radix.h: Ditto.
563 * libc/sys/linux/include/net/raw_cb.h: Ditto.
564 * libc/sys/linux/include/net/route.h: Ditto.
565 * libc/sys/linux/include/net/slcompress.h: Ditto.
566 * libc/sys/linux/include/net/slip.h: Ditto.
567 * libc/sys/linux/include/net/zlib.h: Ditto.
568 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
569 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
570 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
571 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
572 * libc/sys/linux/include/netinet/igmp.h: Ditto.
573 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
574 * libc/sys/linux/include/netinet/in.h: Ditto.
575 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
576 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
577 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
578 * libc/sys/linux/include/netinet/in_var.h: Ditto.
579 * libc/sys/linux/include/netinet/ip.h: Ditto.
580 * libc/sys/linux/include/netinet/ip6.h: Ditto.
581 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
582 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
583 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
584 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
585 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
586 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
587 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
588 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
589 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
590 * libc/sys/linux/include/netinet/tcp.h: Ditto.
591 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
592 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
593 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
594 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
595 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
596 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
597 * libc/sys/linux/include/netinet/udp.h: Ditto.
598 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
599 * libc/sys/linux/include/netinet6/ah.h: Ditto.
600 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
601 * libc/sys/linux/include/netinet6/esp.h: Ditto.
602 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
603 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
604 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
605 * libc/sys/linux/include/netinet6/in6.h: Ditto.
606 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
607 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
608 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
609 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
610 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
611 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
612 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
613 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
614 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
615 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
616 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
617 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
618 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
619 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
620 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
621 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
622 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
623 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
624 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
625 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
626 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
627 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
628 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
629 * libc/sys/linux/include/netns/idp.h: Ditto.
630 * libc/sys/linux/include/netns/idp_var.h: Ditto.
631 * libc/sys/linux/include/netns/ns.h: Ditto.
632 * libc/sys/linux/include/netns/ns_error.h: Ditto.
633 * libc/sys/linux/include/netns/ns_if.h: Ditto.
634 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
635 * libc/sys/linux/include/netns/sp.h: Ditto.
636 * libc/sys/linux/include/netns/spidp.h: Ditto.
637 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
638 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
639 * libc/sys/linux/include/netns/spp_var.h: Ditto.
640 * libc/sys/linux/include/rpc/Makefile: Ditto.
641 * libc/sys/linux/include/rpc/auth.h: Ditto.
642 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
643 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
644 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
645 * libc/sys/linux/include/rpc/clnt.h: Ditto.
646 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
647 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
648 * libc/sys/linux/include/rpc/des.h: Ditto.
649 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
650 * libc/sys/linux/include/rpc/nettype.h: Ditto.
651 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
652 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
653 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
654 * libc/sys/linux/include/rpc/raw.h: Ditto.
655 * libc/sys/linux/include/rpc/rpc.h: Ditto.
656 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
657 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
658 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
659 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
660 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
661 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
662 * libc/sys/linux/include/rpc/svc.h: Ditto.
663 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
664 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
665 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
666 * libc/sys/linux/include/rpc/types.h: Ditto.
667 * libc/sys/linux/include/rpc/xdr.h: Ditto.
668 * libc/sys/linux/intl/Makefile.am: Ditto.
669 * libc/sys/linux/intl/Makefile.in: Ditto.
670 * libc/sys/linux/intl/bindtextdom.c: Ditto.
671 * libc/sys/linux/intl/catgets.c: Ditto.
672 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
673 * libc/sys/linux/intl/config.h: Ditto.
674 * libc/sys/linux/intl/dcgettext.c: Ditto.
675 * libc/sys/linux/intl/dcigettext.c: Ditto.
676 * libc/sys/linux/intl/dcngettext.c: Ditto.
677 * libc/sys/linux/intl/dgettext.c: Ditto.
678 * libc/sys/linux/intl/dngettext.c: Ditto.
679 * libc/sys/linux/intl/explodename.c: Ditto.
680 * libc/sys/linux/intl/finddomain.c: Ditto.
681 * libc/sys/linux/intl/gettext.c: Ditto.
682 * libc/sys/linux/intl/gettext.h: Ditto.
683 * libc/sys/linux/intl/gettextP.h: Ditto.
684 * libc/sys/linux/intl/hash-string.h: Ditto.
685 * libc/sys/linux/intl/l10nflist.c: Ditto.
686 * libc/sys/linux/intl/loadinfo.h: Ditto.
687 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
688 * libc/sys/linux/intl/locale.alias: Ditto.
689 * libc/sys/linux/intl/localealias.c: Ditto.
690 * libc/sys/linux/intl/ngettext.c: Ditto.
691 * libc/sys/linux/intl/open_catalog.c: Ditto.
692 * libc/sys/linux/intl/plural.c: Ditto.
693 * libc/sys/linux/intl/plural.y: Ditto.
694 * libc/sys/linux/intl/stpcpy.c: Ditto.
695 * libc/sys/linux/intl/textdomain.c: Ditto.
696 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
697 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
698 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
699 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
700 * libc/sys/linux/linuxthreads/attr.c: Ditto.
701 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
702 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
703 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
704 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
705 * libc/sys/linux/linuxthreads/config.h: Ditto.
706 * libc/sys/linux/linuxthreads/configure: Ditto.
707 * libc/sys/linux/linuxthreads/configure.in: Ditto.
708 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
709 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
710 * libc/sys/linux/linuxthreads/events.c: Ditto.
711 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
712 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
713 * libc/sys/linux/linuxthreads/internals.h: Ditto.
714 * libc/sys/linux/linuxthreads/join.c: Ditto.
715 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
716 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
717 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
718 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
719 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
720 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
721 * libc/sys/linux/linuxthreads/manager.c: Ditto.
722 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
723 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
724 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
725 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
726 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
727 * libc/sys/linux/linuxthreads/prio.c: Ditto.
728 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
729 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
730 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
731 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
732 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
733 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
734 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
735 * libc/sys/linux/linuxthreads/queue.h: Ditto.
736 * libc/sys/linux/linuxthreads/reent.c: Ditto.
737 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
738 * libc/sys/linux/linuxthreads/restart.h: Ditto.
739 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
740 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
741 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
742 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
743 * libc/sys/linux/linuxthreads/signals.c: Ditto.
744 * libc/sys/linux/linuxthreads/specific.c: Ditto.
745 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
746 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
747 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
748 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
749 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
750 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
751 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
752 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
753 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
754 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
755 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
756 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
757 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
758 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
759 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
760 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
761 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
762 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
763 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
764 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
765 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
766 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
767 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
768 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
769 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
770 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
771 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
772 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
773 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
774 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
775 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
776 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
777 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
778 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
779 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
780 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
781 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
782 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
783 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
784 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
785 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
786 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
787 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
788 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
789 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
790 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
791 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
792 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
793 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
794 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
795 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
796 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
797 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
798 * libc/sys/linux/linuxthreads/unload.c: Ditto.
799 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
800 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
801 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
802 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
803 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
804 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
805 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
806 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
807 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
808 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
809 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
810 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
811 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
812 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
813 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
814 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
815 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
816 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
817 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
818 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
819 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
820 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
821 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
822 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
823 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
824 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
825 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
826 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
827 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
828 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
829 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
830 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
831 * libc/sys/linux/net/Makefile.am: Ditto.
832 * libc/sys/linux/net/Makefile.in: Ditto.
833 * libc/sys/linux/net/addr2ascii.3: Ditto.
834 * libc/sys/linux/net/addr2ascii.c: Ditto.
835 * libc/sys/linux/net/ascii2addr.c: Ditto.
836 * libc/sys/linux/net/base64.c: Ditto.
837 * libc/sys/linux/net/bindresvport.c: Ditto.
838 * libc/sys/linux/net/byteorder.3: Ditto.
839 * libc/sys/linux/net/ether_addr.c: Ditto.
840 * libc/sys/linux/net/ethers.3: Ditto.
841 * libc/sys/linux/net/getaddrinfo.3: Ditto.
842 * libc/sys/linux/net/getaddrinfo.c: Ditto.
843 * libc/sys/linux/net/gethostbydns.c: Ditto.
844 * libc/sys/linux/net/gethostbyht.c: Ditto.
845 * libc/sys/linux/net/gethostbyname.3: Ditto.
846 * libc/sys/linux/net/gethostbynis.c: Ditto.
847 * libc/sys/linux/net/gethostnamadr.c: Ditto.
848 * libc/sys/linux/net/getifaddrs.3: Ditto.
849 * libc/sys/linux/net/getifaddrs.c: Ditto.
850 * libc/sys/linux/net/getipnodebyname.3: Ditto.
851 * libc/sys/linux/net/getnameinfo.3: Ditto.
852 * libc/sys/linux/net/getnameinfo.c: Ditto.
853 * libc/sys/linux/net/getnetbydns.c: Ditto.
854 * libc/sys/linux/net/getnetbyht.c: Ditto.
855 * libc/sys/linux/net/getnetbynis.c: Ditto.
856 * libc/sys/linux/net/getnetent.3: Ditto.
857 * libc/sys/linux/net/getnetnamadr.c: Ditto.
858 * libc/sys/linux/net/getproto.c: Ditto.
859 * libc/sys/linux/net/getprotoent.3: Ditto.
860 * libc/sys/linux/net/getprotoent.c: Ditto.
861 * libc/sys/linux/net/getprotoname.c: Ditto.
862 * libc/sys/linux/net/getservbyname.c: Ditto.
863 * libc/sys/linux/net/getservbyport.c: Ditto.
864 * libc/sys/linux/net/getservent.3: Ditto.
865 * libc/sys/linux/net/getservent.c: Ditto.
866 * libc/sys/linux/net/herror.c: Ditto.
867 * libc/sys/linux/net/hesiod.3: Ditto.
868 * libc/sys/linux/net/hesiod.c: Ditto.
869 * libc/sys/linux/net/if_indextoname.3: Ditto.
870 * libc/sys/linux/net/ifname.c: Ditto.
871 * libc/sys/linux/net/inet.3: Ditto.
872 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
873 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
874 * libc/sys/linux/net/inet_addr.c: Ditto.
875 * libc/sys/linux/net/inet_lnaof.c: Ditto.
876 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
877 * libc/sys/linux/net/inet_net.3: Ditto.
878 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
879 * libc/sys/linux/net/inet_net_pton.c: Ditto.
880 * libc/sys/linux/net/inet_neta.c: Ditto.
881 * libc/sys/linux/net/inet_netof.c: Ditto.
882 * libc/sys/linux/net/inet_network.c: Ditto.
883 * libc/sys/linux/net/inet_ntoa.c: Ditto.
884 * libc/sys/linux/net/inet_ntop.c: Ditto.
885 * libc/sys/linux/net/inet_pton.c: Ditto.
886 * libc/sys/linux/net/innetgr-stub.c: Ditto.
887 * libc/sys/linux/net/ip6opt.c: Ditto.
888 * libc/sys/linux/net/iso_addr.3: Ditto.
889 * libc/sys/linux/net/iso_addr.c: Ditto.
890 * libc/sys/linux/net/issetugid-stub.c: Ditto.
891 * libc/sys/linux/net/linkaddr.3: Ditto.
892 * libc/sys/linux/net/linkaddr.c: Ditto.
893 * libc/sys/linux/net/map_v4v6.c: Ditto.
894 * libc/sys/linux/net/name6.c: Ditto.
895 * libc/sys/linux/net/namespace.h: Ditto.
896 * libc/sys/linux/net/ns.3: Ditto.
897 * libc/sys/linux/net/ns_addr.c: Ditto.
898 * libc/sys/linux/net/ns_name.c: Ditto.
899 * libc/sys/linux/net/ns_netint.c: Ditto.
900 * libc/sys/linux/net/ns_ntoa.c: Ditto.
901 * libc/sys/linux/net/ns_parse.c: Ditto.
902 * libc/sys/linux/net/ns_print.c: Ditto.
903 * libc/sys/linux/net/ns_ttl.c: Ditto.
904 * libc/sys/linux/net/nsap_addr.c: Ditto.
905 * libc/sys/linux/net/nsdispatch.3: Ditto.
906 * libc/sys/linux/net/nsdispatch.c: Ditto.
907 * libc/sys/linux/net/nslexer.c: Ditto.
908 * libc/sys/linux/net/nslexer.l: Ditto.
909 * libc/sys/linux/net/nsparser.c: Ditto.
910 * libc/sys/linux/net/nsparser.h: Ditto.
911 * libc/sys/linux/net/nsparser.y: Ditto.
912 * libc/sys/linux/net/rcmd.3: Ditto.
913 * libc/sys/linux/net/rcmd.c: Ditto.
914 * libc/sys/linux/net/rcmdsh.3: Ditto.
915 * libc/sys/linux/net/rcmdsh.c: Ditto.
916 * libc/sys/linux/net/recv.c: Ditto.
917 * libc/sys/linux/net/res_comp.c: Ditto.
918 * libc/sys/linux/net/res_config.h: Ditto.
919 * libc/sys/linux/net/res_data.c: Ditto.
920 * libc/sys/linux/net/res_debug.c: Ditto.
921 * libc/sys/linux/net/res_init.c: Ditto.
922 * libc/sys/linux/net/res_mkquery.c: Ditto.
923 * libc/sys/linux/net/res_mkupdate.c: Ditto.
924 * libc/sys/linux/net/res_query.c: Ditto.
925 * libc/sys/linux/net/res_send.c: Ditto.
926 * libc/sys/linux/net/res_update.c: Ditto.
927 * libc/sys/linux/net/resolver.3: Ditto.
928 * libc/sys/linux/net/rthdr.c: Ditto.
929 * libc/sys/linux/net/send.c: Ditto.
930 * libc/sys/linux/net/un-namespace.h: Ditto.
931 * libc/sys/linux/net/vars.c: Ditto.
932 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
933 * libc/sys/linux/stdlib/Makefile.am: Ditto.
934 * libc/sys/linux/stdlib/Makefile.in: Ditto.
935 * libc/sys/linux/stdlib/cclass.h: Ditto.
936 * libc/sys/linux/stdlib/cname.h: Ditto.
937 * libc/sys/linux/stdlib/collate.c: Ditto.
938 * libc/sys/linux/stdlib/collate.h: Ditto.
939 * libc/sys/linux/stdlib/collcmp.c: Ditto.
940 * libc/sys/linux/stdlib/engine.c: Ditto.
941 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
942 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
943 * libc/sys/linux/stdlib/glob.3: Ditto.
944 * libc/sys/linux/stdlib/glob.c: Ditto.
945 * libc/sys/linux/stdlib/reallocf.c: Ditto.
946 * libc/sys/linux/stdlib/regcomp.c: Ditto.
947 * libc/sys/linux/stdlib/regerror.c: Ditto.
948 * libc/sys/linux/stdlib/regex.3: Ditto.
949 * libc/sys/linux/stdlib/regex2.h: Ditto.
950 * libc/sys/linux/stdlib/regexec.c: Ditto.
951 * libc/sys/linux/stdlib/regfree.c: Ditto.
952 * libc/sys/linux/stdlib/utils.h: Ditto.
953 * libc/sys/linux/stdlib/wordexp.c: Ditto.
954 * libc/sys/linux/stdlib/wordfree.c: Ditto.
955 * libc/sys/linux/sys/dlfcn.h: Ditto.
956 * libc/sys/linux/sys/elfclass.h: Ditto.
957 * libc/sys/linux/sys/event.h: Ditto.
958 * libc/sys/linux/sys/ioccom.h: Ditto.
959 * libc/sys/linux/sys/libc-tsd.h: Ditto.
960 * libc/sys/linux/sys/link.h: Ditto.
961 * libc/sys/linux/sys/lock.h: Ditto.
962 * libc/sys/linux/sys/param.h: Ditto.
963 * libc/sys/linux/sys/socket.h: Ditto.
964 * libc/sys/linux/sys/sockio.h: Ditto.
965
966 2003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
967
968 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
969 normal mode
970 * newlib/libc/machine/h8300/memset.S: Likewise
971 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
972 * newlib/lib/machine/h8300/reg_memset.S: Likewise
973 * newlib/lib/machine/h8300/setjmp.S: Likewise
974 * newlib/lib/machine/h8300/strcmp.S: Likewise
975 * newlib/lib/sys/h8300hms/crt0.S: Likewise
976
977 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
978
979 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
980 * libc/include/stdio.h: Ditto.
981 * libc/include/sys/config.h: Ditto.
982 * libc/stdio/mktemp.c: Ditto.
983
984 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
985
986 * libc/locale/ldpart.c (__part_load_locale): Substitute
987 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
988 * libc/search/hash.c (__hash_open): Ditto.
989 (init_hash): Ditto.
990 * libc/stdio/fseek.c (fseek): Ditto.
991 * libc/stdio/makebuf.c (__smakebuf): Ditto.
992 * libc/stdio/mktemp.c (_gettemp): Ditto.
993
994 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
995
996 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
997
998 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
999
1000 * configure.host: Accomodate removing the libc/sys/cygwin dir.
1001 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
1002 if __CYGWIN_USE_BIG_TYPES__ is set.
1003 * libc/search/hash.c (__hash_open): Ditto.
1004 (init_hash): Ditto.
1005 * libc/stdio/fseek.c (fseek): Ditto.
1006 * libc/stdio/makebuf.c (__smakebuf): Ditto.
1007 * libc/stdio/mktemp.c (_gettemp): Ditto.
1008 * libc/sys/cygwin/Makefile.am: Remove.
1009 * libc/sys/cygwin/Makefile.in: Remove.
1010 * libc/sys/cygwin/aclocal.m4: Remove.
1011 * libc/sys/cygwin/configure: Remove.
1012 * libc/sys/cygwin/configure.in: Remove.
1013 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
1014 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
1015 directory.
1016 * libc/sys/cygwin/sys/param.h: Ditto.
1017 * libc/sys/cygwin/sys/utime.h: Ditto.
1018 * libc/sys/cygwin/sys/utmp.h: Ditto.
1019
1020 2003-05-11 Corinna Vinschen <corinna@vinschen.de>
1021
1022 * libc/include/sys/types.h: Don't define key_t for Cygwin.
1023
1024 2003-05-10 Christopher Faylor <cgf@redhat.com>
1025
1026 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
1027 64 bit inodes.
1028
1029 2003-05-09 Corinna Vinschen <corinna@vinschen.de>
1030
1031 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
1032 Include cygwin/config.h instead.
1033
1034 2003-04-16 Jeff Johnston <jjohnstn@redhat.com>
1035
1036 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
1037 all code with #ifdef __SPE__ test.
1038 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
1039
1040 2003-04-15 Chris January <chris@atomice.net>
1041
1042 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
1043 Cygwin.
1044
1045 2003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
1046
1047 * libc/machine/sh/memset.S: Avoid clobbering volatile
1048 objects following a tiny to-be-set array in the same quadword.
1049
1050 2001-04-09 Corinna Vinschen <corinna@vinschen.de>
1051
1052 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
1053 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
1054 * libc/string/Makefile.in: Regenerated.
1055 * libc/string/wcswidth.c: New file.
1056 * libc/string/wcwidth.c: New file.
1057 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
1058
1059 Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
1060
1061 * libc/machine/sh/memset.S: Fix problem with alloco region
1062 exceeding destination region for length >= 88 bytes, start
1063 & 0x16 == 0, end & 0x1f == 18.
1064
1065 2001-04-03 Corinna Vinschen <corinna@vinschen.de>
1066
1067 * libc/string/wcscoll.c: Fix comment.
1068
1069 2001-04-02 Corinna Vinschen <corinna@vinschen.de>
1070
1071 * libc/include/wchar.h: Add definition for wcscoll.
1072 * libc/string/Makefile.am: Add wcscoll.c.
1073 * libc/string/Makefile.in: Regenerated.
1074 * libc/string/wcscoll.c: New file.
1075 * libc/string/wcstrings.tex: Add wcscoll.
1076
1077 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
1078
1079 * libc/stdio/sscanf.c: Update flags description.
1080 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
1081 type.
1082 (__svfscanf_r): Add 'hh' and 'll' handling.
1083
1084 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
1085
1086 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
1087 __d_position member to _off_t.
1088
1089 2003-03-20 Jeff Johnston <jjohnstn@redhat.com>
1090
1091 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
1092 count all characters used to create number against maximum width.
1093 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
1094
1095 2003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
1096
1097 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
1098 support.
1099 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
1100 flag to support simulator only extensions.
1101
1102 2003-03-17 Bob Cassels <bcassels@abinitio.com>
1103
1104 * libc/string/wcschr.c: (wcschr): Look for character first,
1105 then for end of string, so you can do wcschr(x, '\0').
1106
1107 2003-03-10 Corinna Vinschen <corinna@vinschen.de>
1108
1109 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
1110 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
1111 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
1112 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
1113 * libc/stdio/fseeko.c (fseeko): Ditto.
1114 * libc/stdio/ftello.c (ftello): Ditto.
1115 * libc/stdio/stdio.c (__swrite): Ditto.
1116 (__sseek): Ditto.
1117 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
1118 * libc/stdio/fseek.c (fseek): Ditto.
1119 * libc/stdio/fsetpos.c (fsetpos): Ditto.
1120 * libc/stdio/ftell.c (ftell): Ditto.
1121 * libc/stdio/local.h: Declare __sseek using _off_t.
1122
1123 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
1124
1125 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
1126
1127 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
1128
1129 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
1130 Cygwin.
1131
1132 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
1133
1134 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
1135 Cygwin.
1136 * libc/include/sys/stat.h: Ditto.
1137 * libc/include/sys/unistd.h: Ditto.
1138 * libc/sys/cygwin/sys/dirent.h: Ditto.
1139
1140 2003-03-07 Christopher Faylor <cgf@redhat.com>
1141
1142 * libc/include/sys/unistd.h: Guard getopt.h call to force only
1143 declaration of getopt and avoid getopt_long declaration.
1144 * libc/sys/cygwin/include/unistd.h: Remove.
1145
1146 2003-03-07 Corinna Vinschen <corinna@vinschen.de>
1147
1148 * configure.host: Define stdio64_dir for Cygwin.
1149 * libc/include/stdio.h: Change definition of fpos_t to fulfill
1150 Cygwin 64bit file access requirements.
1151 Drop definition of f*64() functions when compiled for Cygwin.
1152 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
1153 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
1154 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
1155
1156 2003-03-07 Jeff Johnston <jjohnstn@redhat.com>
1157
1158 * libc/include/sys/reent.h: Remove extraneous _sig_func
1159 declaration.
1160
1161 2003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
1162
1163 * libc/sys/h8300hms/Makefile.am: Add support for new files.
1164 * libc/sys/h8300hms/Makefile.in: Regenerated.
1165 * libc/sys/h8300hms/close.S: New file.
1166 * libc/sys/h8300hms/fstat.S: Ditto.
1167 * libc/sys/h8300hms/lseek.S: Ditto.
1168 * libc/sys/h8300hms/open.S: Ditto.
1169 * libc/sys/h8300hms/stat.S: Ditto.
1170 * libc/sys/h8300hms/read.S: New file to replace read.c.
1171 * libc/sys/h8300hms/read.c: Removed.
1172 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
1173 _lseek, _close, _stat, _fstat.
1174 * libc/sys/h8300hms/write.S: New file to replace write.c.
1175 * libc/sys/h8300hms/write.c: Removed.
1176
1177 2003-02-20 Nick Clifton <nickc@redhat.com>
1178
1179 * Add support for Cirrus Maverick ARM co-processor:
1180
1181 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
1182
1183 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
1184 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
1185
1186 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
1187
1188 * configure.host: set sys_dir, syscall_dir, and
1189 newlib_cflags for ep9312 host.
1190
1191 * configure.host: Restore alpha sorting of entries in case
1192 statements.
1193
1194 2003-02-19 Jeff Johnston <jjohnstn@redhat.com>
1195
1196 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
1197
1198 2003-02-18 Christian Groessler <chris@groessler.org>
1199
1200 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
1201 support z8001 segmented mode.
1202
1203 2003-02-18 Earnie Boyd <earnie@users.sf.net>
1204
1205 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
1206 with a NULL value.
1207
1208 2003-02-10 Christopher Faylor <cgf@redhat.com>
1209
1210 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
1211 Don't define some types under cygwin.
1212
1213 2003-02-07 Jeff Johnston <jjohnstn@redhat.com>
1214
1215 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
1216 option to allow disabling of syscalls being supplied in newlib.
1217 * aclocal.m4: Regenerated.
1218 * configure: Ditto.
1219 * configure.host: Add support of new configuration option and add
1220 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
1221 * doc/aclocal.m4: Regenerated.
1222 * doc/configure: Ditto.
1223 * libc/*aclocal.m4: Ditto.
1224 * libc/*configure: Ditto.
1225 * libm/*aclocal.m4: Ditto.
1226 * libm/*configure: Ditto.
1227 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
1228 is disabled.
1229 * libc/sys/arm/Makefile.in: Regenerated.
1230
1231 2003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
1232
1233 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
1234 -1 to be sure it cannot later match a valid file fd causing
1235 isatty() to return 1.
1236 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
1237 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
1238 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
1239
1240 2003-02-03 Jeff Johnston <jjohnstn@redhat.com>
1241
1242 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
1243 buffer based on the precision, after we have processed the input value
1244 in a local buffer and know its relative magnitude.
1245
1246 2003-01-31 Michael Snyder <msnyder@redhat.com>
1247
1248 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
1249 into registers r1 and r2, so that the simulator can distinguish
1250 this trap from a breakpoint trap. Copied from libgloss.
1251
1252 2003-01-31 Michael Snyder <msnyder@redhat.com>
1253
1254 * libc/sys/h8300hms/crt0.S (_start): Change local label
1255 from .loop to .Loop, so that ld and gdb will ignore it.
1256
1257 2003-01-29 Jason Tishler <jason@tishler.net>
1258
1259 * libc/include/time.h: Declare nanosleep() under Cygwin.
1260
1261 2003-01-24 Nick Clifton <nickc@redhat.com>
1262
1263 * Add sh2e support:
1264
1265 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
1266
1267 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
1268 * libc/machine/sh/setjmp.S: Likewise.
1269 * libc/include/machine/ieeefp.h: Likewise.
1270
1271 2003-01-24 Corinna Vinschen <corinna@vinschen.de>
1272
1273 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
1274 for Cygwin.
1275
1276 2003-01-21 Anita Kulkarni <anitak@kpit.com>
1277
1278 * libc/time/difftime.c : Typecast the result to double.
1279
1280 2003-01-20 Christopher Faylor <cgf@redhat.com>
1281
1282 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
1283
1284 2003-01-18 Nick Clifton <nickc@redhat.com>
1285
1286 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
1287 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
1288
1289 2003-01-16 Joel Sherrill <joel@OARcorp.com>
1290
1291 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
1292 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
1293 constants are defined in each file in the shared versions in
1294 libc/include.
1295 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
1296 autoconf can link programs.
1297 * libc/include/machine/types.h: Explicitly specify signed on
1298 intXX_t types to ensure they are signed.
1299
1300 2003-01-14 Christopher Faylor <cgf@redhat.com>
1301
1302 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
1303 extensions.
1304
1305 2003-01-08 Richard Sandiford <rsandifo@redhat.com>
1306
1307 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
1308
1309 2003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
1310
1311 * libc/stdio/sprintf.c: fix typo
1312 * libc/stdio/vfprintf.c: fix typo
1313
1314 2003-01-07 Jeff Johnston <jjohnstn@redhat.com>
1315
1316 * configure.host: Support long double I/O for x86-linux.
1317 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
1318 large enough to hold formatted result.
1319 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
1320
1321 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
1322
1323 * Makefile.am: Add vasprintf.
1324 * Makefile.in: Regenerated.
1325
1326 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
1327
1328 * asprintf.c (_asprintf_r): insure both declarations
1329 are the same.
1330
1331 2002-12-28 Christopher Faylor <cgf@redhat.com>
1332
1333 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
1334 than defining getopt directly.
1335
1336 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
1337
1338 * NEWS: Update with 1.11.0 info.
1339 * README: Ditto.
1340 * acinclude.m4: Change version number to 1.11.0.
1341 * aclocal.m4: Regenerated.
1342 * configure: Ditto.
1343 * doc/aclocal.m4: Ditto.
1344 * doc/configure: Ditto.
1345 * libc/*/aclocal.m4: Ditto.
1346 * libc/*/configure: Ditto.
1347 * libc/libc.texinfo: Ditto.
1348 * libm/*/aclocal.m4: Ditto.
1349 * libm/*/configure: Ditto.
1350 * libm/libm.texinfo: Ditto.
1351 * libc/sys/linux/shared.ld: Add VERS_1.11.
1352
1353 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
1354
1355 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
1356 Solutions to Red Hat Inc.
1357 * libc/machine/i386/f_atan2f.S: Ditto.
1358 * libc/machine/i386/f_exp.c: Ditto.
1359 * libc/machine/i386/f_expf.c: Ditto.
1360 * libc/machine/i386/f_frexp.S: Ditto.
1361 * libc/machine/i386/f_frexpf.S: Ditto.
1362 * libc/machine/i386/f_ldexp.S: Ditto.
1363 * libc/machine/i386/f_ldexpf.S: Ditto.
1364 * libc/machine/i386/f_log.S: Ditto.
1365 * libc/machine/i386/f_log10.S: Ditto.
1366 * libc/machine/i386/f_log10f.S: Ditto.
1367 * libc/machine/i386/f_logf.S: Ditto.
1368 * libc/machine/i386/f_pow.c: Ditto.
1369 * libc/machine/i386/f_powf.c: Ditto.
1370 * libc/machine/i386/f_tan.S: Ditto.
1371 * libc/machine/i386/f_tanf.S: Ditto.
1372 * libc/machine/i386/memchr.S: Ditto.
1373 * libc/machine/i386/memcmp.S: Ditto.
1374 * libc/machine/i386/memcpy.S: Ditto.
1375 * libc/machine/i386/memmove.S: Ditto.
1376 * libc/machine/i386/memset.S: Ditto.
1377 * libc/machine/i386/strchr.S: Ditto.
1378 * libc/machine/i386/strlen.S: Ditto.
1379 * libm/machine/i386/f_atan2.S: Ditto.
1380 * libm/machine/i386/f_atan2f.S: Ditto.
1381 * libm/machine/i386/f_exp.c: Ditto.
1382 * libm/machine/i386/f_expf.c: Ditto.
1383 * libm/machine/i386/f_frexp.S: Ditto.
1384 * libm/machine/i386/f_frexpf.S: Ditto.
1385 * libm/machine/i386/f_ldexp.S: Ditto.
1386 * libm/machine/i386/f_ldexpf.S: Ditto.
1387 * libm/machine/i386/f_log.S: Ditto.
1388 * libm/machine/i386/f_log10.S: Ditto.
1389 * libm/machine/i386/f_log10f.S: Ditto.
1390 * libm/machine/i386/f_logf.S: Ditto.
1391 * libm/machine/i386/f_pow.c: Ditto.
1392 * libm/machine/i386/f_powf.c: Ditto.
1393 * libm/machine/i386/f_tan.S: Ditto.
1394 * libm/machine/i386/f_tanf.S: Ditto.
1395
1396 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
1397
1398 * libc/stdlib/environ.c: Update license to Red Hat.
1399 * libc/machine/hppa/setjmp.S: Ditto.
1400 * libm/test/Makefile.in: Ditto.
1401
1402 2002-12-19 Jeff Johnston <jjohnstn@redhat.com>
1403
1404 * configure.host: Remove references to go32.
1405 * libc/sys/go32/*: Removed.
1406
1407 2002-12-16 Kazu Hirata <kazu@cs.umass.edu>
1408
1409 * libc/include/sys/config.h: Change setting of INT_MAX
1410 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
1411 __H8300S__. Also consolidate flag settings for these
1412 platforms.
1413
1414 2002-12-10 Joel Sherrill <joel@OARcorp.com>
1415
1416 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
1417 for i386-rtems targets.
1418
1419 2002-12-06 Jeff Johnston <jjohnstn@redhat.com>
1420
1421 * libc/include/stdlib.h (strtof): New prototype (from C99).
1422 (strtodf): Changed from prototype to macro which redefines
1423 to strtof.
1424 * libc/stdlib/atof.c: Change documentation to refer to strtof
1425 instead of strtodf.
1426 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
1427 strtodf.
1428 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
1429 (strtof): New function.
1430 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
1431 calls strtof.
1432
1433 2002-11-27 Christopher Faylor <cgf@redhat.com>
1434
1435 * libc/string/memset.c (memset): Fix comment.
1436
1437 2002-11-26 Christopher Faylor <cgf@redhat.com>
1438
1439 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
1440 function.
1441
1442 2002-11-25 Christopher Faylor <cgf@redhat.com>
1443
1444 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
1445 variable, introduced below, everywhere.
1446
1447 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
1448
1449 * libc/string/memset.c (memset): Make it safe even if
1450 sizeof (int) = 2.
1451
1452 2002-11-22 Joe Buehler <jbuehler@hekimian.com>
1453
1454 * configure.in: Change check for libc/include in ${CC} to
1455 use an intermediate value so as to work with different shells.
1456 * configure: Regenerated.
1457 * Makefile.in: Ditto.
1458
1459 2002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
1460
1461 * libc/sys/h8300hms/read.c: Add support for normal mode
1462 architecture.
1463
1464 2002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
1465
1466 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
1467 code for __H8300H__ and __H8300S__. Also return 32-bit return code
1468 when -mint32 is used.
1469
1470 2002-11-18 Nick Clifton <nickc@redhat.com>
1471
1472 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
1473
1474 2002-11-14 Jeff Johnston <jjohnstn@redhat.com>
1475
1476 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
1477 only issue one pass/fail message for a compile/link/execute.
1478 * testsuite/newlib.elix/elix.exp: New file.
1479 * testsuite/newlib.elix/tmmap.c: Ditto.
1480
1481 2002-11-06 Christopher Faylor <cgf@redhat.com>
1482
1483 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
1484 * libc/stdlib/mlock.c: Ditto.
1485 * libc/stdlib/msize.c: Ditto.
1486 * libc/stdlib/msize.c: Ditto.
1487 * libc/stdlib/mtrim.c: Ditto.
1488 * libc/stdlib/valloc.c: Ditto.
1489
1490 2002-11-12 Jeff Johnston <jjohnstn@redhat.com>
1491
1492 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
1493 for inf/nan, make sure that the check ignores the sign bit.
1494
1495 2002-11-07 Joel Sherrill <joel@OARcorp.com>
1496
1497 * libc/sys/rtems/machine: New directory.
1498 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
1499 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
1500 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
1501 targets more BSD like when installed without requiring files to
1502 be overwritten at install point when RTEMS itself is installed.
1503 * Makefile.am: Pick up system dependent machine .h files such as
1504 might be found on a BSD-ish system.
1505 * Makefile.in: Regenerate.
1506 * libc/include/machine/types.h: When on an RTEMS target, define a
1507 few BSD flavor types.
1508
1509 2002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
1510
1511 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
1512
1513 2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
1514
1515 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
1516 * libc/include/wctype.h: Ditto.
1517
1518 2002-11-04 Jeff Johnston <jjohnstn@redhat.com>
1519
1520 * libc/include/wchar.h: Add extern "C" specifier if C++.
1521 * libc/include/wctype.h: Ditto.
1522
1523 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
1524
1525 * testsuite/newlib.wctype/tiswctype.c: New test case.
1526 * testsuite/newlib.wctype/twctrans.c: Ditto.
1527
1528 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
1529
1530 * libc/sys/linux/machine/i386/include/endian.h: New file.
1531 * libc/sys/linux/machine/i386/include/param.h: Ditto.
1532
1533 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
1534
1535 * libm/machine/i386/aclocal.m4: Regenerated.
1536 * libm/machine/i386/configure: Ditto.
1537
1538 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
1539
1540 * testsuite/include/check.h: New header file to use with
1541 test cases.
1542 * testsuite/lib/newlib.exp: Add testsuite/include directory
1543 to list of header files to use.
1544 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
1545 * testsuite/newlib.wctype/wctype.exp: New file.
1546
1547 2002-10-11 Graham Stott <graham.stott@btinternet.com>
1548 Richard Sandiford <rsandifo@redhat.com>
1549
1550 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
1551 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
1552 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
1553
1554 2002-10-07 Joel Sherrill <joel@OARcorp.com>
1555
1556 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
1557 dummy programs.
1558
1559 2002-10-07 Joel Sherrill <joel@OARcorp.com>
1560
1561 * libc/include/pthread.h: Define PTHREAD_CANCELED.
1562
1563 2002-10-07 Joel Sherrill <joel@OARcorp.com>
1564
1565 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
1566 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
1567 compile with current GNU tools.
1568
1569 2002-10-07 Jeff Johnston <jjohnstn@redhat.com>
1570
1571 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
1572 the build library.
1573 * configure.in: Ditto.
1574 * Makefile.in: Regenerated.
1575 * configure: Ditto.
1576 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
1577 for specifying configured libraries/directories.
1578 * libc/sys/linux/configure.in: Ditto.
1579 * libc/sys/linux/Makefile.in: Regenerated.
1580 * libc/sys/linux/configure: Ditto.
1581
1582 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
1583
1584 * libc/include/reent.h: Update documentation at start of file.
1585
1586 2002-09-27 Jim Wilson <wilson@redhat.com>
1587
1588 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
1589 the ctbp register.
1590
1591 2002-09-27 Jeff Johnston <jjohnstn@redhat.com>
1592
1593 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
1594 Also convert to EUCJP before using arrays. For values not in
1595 the conversion arrays, return WEOF.
1596 * libc/ctype/jp2uc.h: Change from one array to a number of
1597 arrays to account for the fact that the originating table
1598 is not contiguous for the input values since some are invalid.
1599
1600 2002-09-24 Jeff Johnston <jjohnstn@redhat.com>
1601
1602 * libc/time/ctime.c: Fix prototype documentation.
1603
1604 2002-09-24 Corinna Vinschen <corinna@vinschen.de>
1605
1606 * libc/include/sys/errno.h: Add EOVERFLOW.
1607
1608 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
1609
1610 * libc/include/wctype.h: New file.
1611
1612 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
1613
1614 * libc/ctype/Makefile.am: Add new files.
1615 * libc/ctype/Makefile.in: Regenerated.
1616 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
1617 and wctrans functions to documentation index.
1618 * libc/ctype/iswalnum.c: New file.
1619 * libc/ctype/iswalpha.c: Ditto.
1620 * libc/ctype/iswblank.c: Ditto.
1621 * libc/ctype/iswcntrl.c: Ditto.
1622 * libc/ctype/iswctype.c: Ditto.
1623 * libc/ctype/iswdigit.c: Ditto.
1624 * libc/ctype/iswgraph.c: Ditto.
1625 * libc/ctype/iswlower.c: Ditto.
1626 * libc/ctype/iswprint.c: Ditto.
1627 * libc/ctype/iswpunct.c: Ditto.
1628 * libc/ctype/iswspace.c: Ditto.
1629 * libc/ctype/iswupper.c: Ditto.
1630 * libc/ctype/iswxdigit.c: Ditto.
1631 * libc/ctype/jp2uc.c: Ditto.
1632 * libc/ctype/jp2uc.h: Ditto.
1633 * libc/ctype/local.h: Ditto.
1634 * libc/ctype/towctrans.c: Ditto.
1635 * libc/ctype/towlower.c: Ditto.
1636 * libc/ctype/towupper.c: Ditto.
1637 * libc/ctype/utf8alpha.h: Ditto.
1638 * libc/ctype/utf8print.h: Ditto.
1639 * libc/ctype/utf8punct.h: Ditto.
1640 * libc/ctype/wctrans.c: Ditto.
1641 * libc/ctype/wctype.c: Ditto.
1642 * libc/locale/locale.c (__lc_ctype): New external array to
1643 replace static lc_ctype array.
1644 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
1645 rather than reentrancy structure's _current_locale field.
1646 * libc/stdlib/wctomb_r.c: Ditto.
1647
1648 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
1649
1650 * configure.host: Minor comment and formatting changes.
1651 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
1652 * libc/Makefile.in: Regenerated.
1653 * libc/include/sys/config.h: Minor format change.
1654
1655 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
1656
1657 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
1658 statement comment.
1659
1660 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
1661
1662 * libc/posix/opendir.c (opendir): Change code to check
1663 for HAVE_FCNTL before calling fcntl.
1664 * libc/search/hash.c (hash_open): Ditto.
1665 * libc/search/hash_page.c (open_tmp): Ditto.
1666 * libc/reent/Makefile.am: Add fcntlr.c.
1667 * libc/reent/Makefile.in: Regenerated.
1668 * libc/reent/fcntlr.c: New file.
1669 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
1670 instead of _fcntl when HAVE_FCNTL flag is set.
1671 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
1672 to see if _fcntl or _fcntl_r should be called. If flag is not
1673 set, default to ENOSYS stub.
1674
1675 2002-09-16 Jeff Johnston <jjohnstn@redhat.com>
1676
1677 * libc/include/wchar.h (mbstate_t): Change protective flag to
1678 be _MBSTATE_T.
1679 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
1680 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
1681 for Cygwin.
1682 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
1683
1684 2002-09-11 Jeff Johnston <jjohnstn@redhat.com>
1685
1686 * acinclude.m4 (enable-newlib-mb): Change check to
1687 default newlib_mb variable to empty string rather than "no".
1688 * configure.host: Remove hard-coding of -DMB_CAPABLE for
1689 x86-linux and Cygwin. Add code to check for newlib_mb
1690 being unset in which case set to "yes" for x86-linux and
1691 Cygwin. Change check for newlib_mb being "yes" to allow
1692 for an empty string.
1693 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
1694 * newlib.hin (_MB_LEN_MAX): New define to configure.
1695 * aclocal.m4: Regenerated.
1696 * configure: Ditto.
1697 * libc/include/limits.h: New file.
1698 * libc/sys/linux/include/limits.h: Ditto.
1699 * doc/aclocal.m4 doc/configure libc/aclocal.m4
1700 libc/configure libc/include/%redact libc/machine/aclocal.m4
1701 libc/machine/configure libc/machine/a29k/aclocal.m4
1702 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
1703 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
1704 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
1705 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
1706 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
1707 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
1708 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
1709 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
1710 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
1711 libc/machine/i386/configure libc/machine/i960/aclocal.m4
1712 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
1713 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
1714 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
1715 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
1716 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
1717 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
1718 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
1719 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
1720 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
1721 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
1722 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
1723 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
1724 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
1725 libc/machine/v850/configure libc/machine/w65/aclocal.m4
1726 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
1727 libc/machine/xscale/configure
1728 libc/machine/xstormy16/aclocal.m4
1729 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
1730 libc/machine/z8k/configure libc/sys/aclocal.m4
1731 libc/sys/configure libc/sys/a29khif/aclocal.m4
1732 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
1733 libc/sys/arc/configure libc/sys/arm/aclocal.m4
1734 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
1735 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
1736 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
1737 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
1738 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
1739 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
1740 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
1741 libc/sys/idt/configure libc/sys/linux/aclocal.m4
1742 libc/sys/linux/configure libc/sys/linux/include/%redact
1743 libc/sys/linux/machine/aclocal.m4
1744 libc/sys/linux/machine/configure
1745 libc/sys/linux/machine/i386/aclocal.m4
1746 libc/sys/linux/machine/i386/configure
1747 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
1748 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
1749 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
1750 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
1751 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
1752 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
1753 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
1754 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
1755 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
1756 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
1757 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
1758 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
1759 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
1760 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
1761 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
1762 libm/aclocal.m4 libm/configure: Regenerated.
1763
1764 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
1765
1766 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
1767 code that clears the .bss section.
1768
1769 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
1770
1771 * libc/include/sys/_types.h (_mbstate_t): Changed to use
1772 unsigned char internally.
1773 * libc/sys/linux/sys/_types.h: Ditto.
1774 * libc/include/sys/reent.h
1775 * libc/stdlib/mblen.c (mblen): Use function-specific state
1776 value from default reentrancy structure.
1777 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
1778 _mbtowc_r is less than 0, reset state __count value and
1779 return -1.
1780 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
1781 is NULL, use the function-specific pointer provided in the
1782 default reentrancy structure.
1783 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
1784 If input state pointer is NULL, use function-specific area
1785 provided in reentrancy structure.
1786 * libc/stdlib/mbsrtowcs.c: Ditto.
1787 * libc/stdlib/wcrtomb.c: Ditto.
1788 * libc/stdlib/wcsrtombs.c: Ditto.
1789 * libc/stdlib/mbstowcs.c: Reformat.
1790 * libc/stdlib/wcstombs.c: Ditto.
1791 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
1792 reset the state's __count value and return -1.
1793 * libc/stdlib/mbtowc.c: Ditto.
1794 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
1795 If number of bytes is used up before completing a valid multibyte
1796 character, return -2 and save the state.
1797 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
1798 and change some __count references to __state for clarity.
1799
1800 2002-09-06 Jeff Johnston <jjohnstn@redhat.com>
1801
1802 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
1803 is defined by <limits.h>.
1804
1805 2002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
1806
1807 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
1808 defined.
1809
1810 2002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
1811
1812 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
1813 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
1814 __WCHAR_MAX__ or 0x7fffffffu.
1815 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
1816 * libc/string/wcsncmp.c: Ditto.
1817
1818 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
1819
1820 * libc/string/wcschr.c: Add include of <stddef.h>.
1821 * libc/string/wcspbrk.c: Ditto.
1822 * libc/string/wcsrchr.c: Ditto.
1823 * libc/string/wcsstr.c: Ditto.
1824
1825 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
1826
1827 * libc/include/sys/_types.h (_flock_t): Added.
1828 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
1829 (__lock_try_acquire_recursive): Ditto.
1830 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
1831 _lock field.
1832 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
1833 field.
1834 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
1835 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
1836 * libc/sys/linux/include/time.h (struct timespec): Moved from
1837 <sys/types.h> and added check for __need_timespec flag so type
1838 can be defined by itself.
1839 * libc/sys/linux/sys/_types.h (_flock_t): New type.
1840 * libc/sys/linux/sys/types.h (struct timespec): Moved to
1841 <time.h>.
1842
1843 2002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
1844
1845 * libc/sys/linux/argp: New directory.
1846 * libc/sys/linux/getopt.c: New file.
1847 * libc/sys/linux/getopt1.c: New file.
1848 * libc/sys/linux/getoptlong.c: Remove file.
1849 * libc/sys/linux/include/argp.h: New file.
1850 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
1851 based on ELIX level.
1852 (SUBDIRS): Add argp_dir.
1853 (SUBLIBS): Add ARGP_LIB.
1854 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
1855 getopt_long.$(oext).
1856 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
1857
1858 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
1859
1860 * libc/libc.texinfo: Add node reference to wide-character strings.
1861 * libc/string/wcstrings.tex: New file.
1862 * libc/string/strtok_r.c: Remove outdated advertising clause.
1863 * libc/string/Makefile.am (doc): Add wide-character string
1864 chapter to documentation.
1865 * libc/string/Makefile.in: Regenerated.
1866
1867 2002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
1868
1869 * libc/include/wchar.h: Define NULL. Define WEOF more general
1870 way. Declare functions in newlib manner.
1871 * libc/stdlib/Makefile.am: Delete wmem*.c
1872 * libc/stdlib/Makefile.in: Regenerated.
1873 * libc/stdlib/wmemchr.c: Delete.
1874 * libc/stdlib/wmemcmp.c: Ditto.
1875 * libc/stdlib/wmemcpy.c: Ditto.
1876 * libc/stdlib/wmemmove.c: Ditto.
1877 * libc/stdlib/wmemset.c: Ditto.
1878 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
1879 * libc/string/Makefile.in: Regenerated.
1880 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
1881 * libc/string/wcschr.c: Ditto.
1882 * libc/string/wcscmp.c: Ditto.
1883 * libc/string/wcscpy.c: Ditto.
1884 * libc/string/wcscspn.c: Ditto.
1885 * libc/string/wcslcat.c: Ditto.
1886 * libc/string/wcslcpy.c: Ditto.
1887 * libc/string/wcslen.c: Ditto.
1888 * libc/string/wcsncat.c: Ditto.
1889 * libc/string/wcsncmp.c: Ditto.
1890 * libc/string/wcsncpy.c: Ditto.
1891 * libc/string/wcspbrk.c: Ditto.
1892 * libc/string/wcsrchr.c: Ditto.
1893 * libc/string/wcsspn.c: Ditto.
1894 * libc/string/wcsstr.c: Ditto.
1895 * libc/string/wmemchr.c: Ditto.
1896 * libc/string/wmemcmp.c: Ditto.
1897 * libc/string/wmemcpy.c: Ditto.
1898 * libc/string/wmemmove.c: Ditto.
1899 * libc/string/wmemset.c: Ditto.
1900
1901 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
1902
1903 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
1904 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
1905 and is treated as if "C" was specified.
1906
1907 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
1908
1909 * Makefile.am (install-data-local): Move install of build
1910 newlib.h after installing headers in libc/include so as to
1911 overwrite default newlib.h.
1912 * Makefile.in: Regenerated.
1913
1914 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
1915
1916 * libc/include/newlib.h: New file for tools that use newlib
1917 headers but don't build newlib first (e.g. gcc).
1918
1919 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
1920
1921 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
1922 * libc/stdlib/wmemcmp.c: Ditto.
1923 * libc/stdlib/wmemcpy.c: Ditto.
1924 * libc/stdlib/wmemmove.c: Ditto.
1925 * libc/stdlib/wmemset.c: Ditto.
1926
1927 2002-08-27 Egor Duda <deo@logos-m.ru>
1928
1929 * libc/stdlib/wmemchr.c: New file.
1930 * libc/stdlib/wmemcmp.c: Ditto.
1931 * libc/stdlib/wmemcpy.c: Ditto.
1932 * libc/stdlib/wmemmove.c: Ditto.
1933 * libc/stdlib/wmemset.c: Ditto.
1934 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
1935 * configure.host: Default -DMB_CAPABLE for cygwin.
1936 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
1937 wmemmove() and wmemset(). Add include of <_ansi.h>.
1938 * libc/stdlib/Makefile.in: Regenerate.
1939
1940 2002-08-27 Jeff Johnston <jjohnstn@redhat.com>
1941
1942 * configure.host: Remove _ELIX_LEVEL flag setting.
1943 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
1944 (install-data-local): Install newlib.h.
1945 * Makefile.in: Regenerated.
1946 * aclocal.m4: Ditto.
1947 * configure: Ditto.
1948 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
1949 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
1950 and _NEWLIB_VERSION to fill in newlib.h header file entries.
1951 In AC_OUTPUT statement, unset ac_file so multilib support does
1952 not use last ac_file temporary used in newlib.h configuration.
1953 * libc/include/_ansi.h: Include <newlib.h>.
1954 * newlib.hin: New template file for newlib.h.
1955 * stamp-h.in: New file.
1956
1957 2002-08-26 Wu Yongwei <adah@netstd.com>
1958
1959 * time.h (timezonevar): Change "#if" to "#ifdef".
1960
1961 2002-08-26 Jeff Johnston <jjohnstn@redhat.com>
1962
1963 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
1964 * Makefile.in: Regenerated.
1965 * acinclude.m4: Add support for --enable-newlib-elix-level option.
1966 * aclocal.m4: Regenerated.
1967 * configure: Ditto.
1968 * configure.host: Add code to define _ELIX_LEVEL if
1969 --enable-newlib-elix-level option is used.
1970 * configure.in:
1971 * libc/aclocal.m4: Regenerated.
1972 * libc/configure: Ditto.
1973 * libc/argz/Makefile.am: Add EL/IX level checking.
1974 * libc/argz/Makefile.in: Regenerated.
1975 * libc/argz/dummy.c: New file.
1976 * libc/ctype/Makefile.am: Add EL/IX level checking.
1977 * libc/ctype/Makefile.in: Regenerated.
1978 * libc/locale/Makefile.am: Add EL/IX level checking.
1979 * libc/locale/Makefile.in: Regenerated.
1980 * libc/posix/Makefile.am: Add EL/IX level checking.
1981 * libc/posix/Makefile.in: Regenerated.
1982 * libc/posix/telldir.c: Add EL/IX level checking.
1983 * libc/reent/Makefile.am: Ditto.
1984 * libc/reent/fstat64r.c: Ditto.
1985 * libc/reent/lseek64r.c: Ditto.
1986 * libc/reent/open64r.c: Ditto.
1987 * libc/reent/Makefile.in: Regenerated.
1988 * libc/search/Makefile.am: Add EL/IX level checking.
1989 * libc/search/Makefile.in: Regenerated.
1990 * libc/stdio/Makefile.am: Add EL/IX level checking.
1991 * libc/stdio/Makefile.in: Regenerated.
1992 * libc/stdio64/Makefile.am: Add EL/IX level checking.
1993 * libc/stdio64/Makefile.in: Regenerated.
1994 * libc/stdio64/dummy.c: New file.
1995 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
1996 after first include.
1997 * libc/stdio64/fopen64.c: Ditto.
1998 * libc/stdio64/freopen64.c: Ditto.
1999 * libc/stdio64/fseeko64.c: Ditto.
2000 * libc/stdio64/fsetpos64.c: Ditto.
2001 * libc/stdio64/ftello64.c: Ditto.
2002 * libc/stdio64/tmpfile64.c: Ditto.
2003 * libc/stdlib/Makefile.am: Add EL/IX level checking.
2004 * libc/stdlib/Makefile.in: Regenerated.
2005 * libc/stdlib/mstats.c: Add EL/IX level checking.
2006 * libc/string/Makefile.am: Ditto.
2007 * libc/string/Makefile.in: Regenerated.
2008 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
2009 * libc/sys/linux/Makefile.in: Regenerated.
2010 * libc/sys/linux/aclocal.m4: Ditto.
2011 * libc/sys/linux/configure: Ditto.
2012 * libc/sys/linux/aio.c: Add EL/IX level checking.
2013 * libc/sys/linux/ftok.c: Ditto.
2014 * libc/sys/linux/getdate.c: Ditto.
2015 * libc/sys/linux/ids.c: Ditto.
2016 * libc/sys/linux/inode.c: Ditto.
2017 * libc/sys/linux/io.c: Ditto.
2018 * libc/sys/linux/process.c: Ditto.
2019 * libc/sys/linux/resource.c: Ditto.
2020 * libc/sys/linux/sched.c: Ditto.
2021 * libc/sys/linux/sig.c: Ditto.
2022 * libc/sys/linux/termios.c: Ditto.
2023 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
2024 __libc___waitpid weak aliases.
2025 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
2026 that generate the code for a syscall, but do not create a
2027 weak alias.
2028 * libc/syscalls/Makefile.am: Add EL/IX level checking.
2029 * libc/syscalls/Makefile.in: Regenerated.
2030 * libc/time/tzset_r.c: Change to replace strdup with equivalent
2031 functionality.
2032 * libc/unix/Makefile.am: Add EL/IX level checking.
2033 * libc/unix/Makefile.in: Regenerated.
2034
2035 2002-08-26 Christopher Faylor <cgf@redhat.com>
2036
2037 * libc/include/malloc.h: On cygwin, define malloc _r functions as
2038 wrapper macros to standard malloc functions.
2039 * libc/include/stdlib.h: Ditto.
2040 * configure.host: Always define MALLOC_PROVIDED on cygwin.
2041
2042 2002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
2043
2044 * libc/include/langinfo.h: New file.
2045 * libc/include/wchar.h: Likewise.
2046 * libc/include/sys/syslimits.h: Likewise.
2047 * libc/locale/fix_grouping.c: Likewise.
2048 * libc/locale/ldpart.c: Likewise.
2049 * libc/locale/ldpart.h: Likewise.
2050 * libc/locale/lmessages.c: Likewise.
2051 * libc/locale/lmessages.h: Likewise.
2052 * libc/locale/lmonetary.c: Likewise.
2053 * libc/locale/lmonetary.h: Likewise.
2054 * libc/locale/lnumeric.c: Likewise.
2055 * libc/locale/lnumeric.h: Likewise.
2056 * libc/locale/nl_langinfo.3: Likewise.
2057 * libc/locale/nl_langinfo.c: Likewise.
2058 * libc/locale/timelocal.c: Likewise.
2059 * libc/locale/timelocal.h: Likewise.
2060 * libc/stdlib/btowc.c: Likewise.
2061 * libc/stdlib/mbrlen.c: Likewise.
2062 * libc/stdlib/mbrtowc.c: Likewise.
2063 * libc/stdlib/mbsinit.c: Likewise.
2064 * libc/stdlib/mbsrtowcs.c: Likewise.
2065 * libc/stdlib/wcrtomb.c: Likewise.
2066 * libc/stdlib/wcsrtombs.c: Likewise.
2067 * libc/stdlib/wctob.c: Likewise.
2068 * libc/sys/linux/prof-freq.c: Likewise.
2069 * libc/sys/linux/profile.c: Likewise.
2070 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
2071 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
2072 * libc/include/stdlib.h: Change re-entrant functions to take
2073 mbstate_t pointers.
2074 * libc/include/sys/_types.h: Define _mbstate_t.
2075 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
2076 * libc/include/sys/errno.h (EILSEQ): New error code.
2077 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
2078 structure to use mbstate_t.
2079 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
2080 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
2081 * libc/machine/powerpc/vfscanf.c: Likewise.
2082 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
2083 * libc/stdio/vfprintf.c: Likewise.
2084 * libc/stdio/vfscanf.c: Likewise.
2085 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
2086 * libc/stdlib/mblen.c: Use mbstate_t.
2087 * libc/stdlib/mblen_r.c: Likewise.
2088 * libc/stdlib/mbstowcs.c: Likewise.
2089 * libc/stdlib/mbstowcs_r.c: Likewise.
2090 * libc/stdlib/mbtowc.c: Likewise.
2091 * libc/stdlib/mbtowc_r.c: Likewise.
2092 * libc/stdlib/wcstombs.c: Likewise.
2093 * libc/stdlib/wcstombs_r.c: Likewise.
2094 * libc/stdlib/wctomb_r.c: Likewise.
2095 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
2096 profile.c.
2097 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
2098 dl-procinfo.c.
2099 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
2100 * libc/sys/linux/sys/types.h (off_t): Define type.
2101 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
2102 to C-UTF-8.
2103 * testsuite/newlib.locale/UTF-8.exp: Likewise.
2104
2105 2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
2106
2107 * libc/stdlib/mallocr.c: #include windows.h on Win32.
2108 (AlignPage): Continue macro on next line.
2109
2110 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
2111
2112 * libc/sys/linux/include/pthread.h: New file.
2113
2114 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
2115
2116 * libc/include/sys/types.h: Support __need_inttypes macro
2117 that only sets the __intxx and __uintxx types.
2118 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
2119 to get mprec.h.
2120 * libc/machine/powerpc/Makefile.in: Regenerated.
2121 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
2122 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
2123 redundant fixed-point conversion prototypes.
2124 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
2125 after setting __need_inttypes.
2126
2127 2002-08-18 Christopher Faylor <cgf@redhat.com>
2128
2129 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
2130
2131 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
2132
2133 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
2134 _LONG_DOUBLE to double.
2135
2136 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
2137
2138 * configure.host: Add powerpc*-*-eabispe* configuration.
2139 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
2140 * libc/machine/powerpc/atosfix32.c: Ditto.
2141 * libc/machine/powerpc/atosfix64.c: Ditto.
2142 * libc/machine/powerpc/atoufix16.c: Ditto.
2143 * libc/machine/powerpc/atoufix32.c: Ditto.
2144 * libc/machine/powerpc/atoufix64.c: Ditto.
2145 * libc/machine/powerpc/fix64.h: Ditto.
2146 * libc/machine/powerpc/simdldtoa.c: Ditto.
2147 * libc/machine/powerpc/strtosfix16.c: Ditto.
2148 * libc/machine/powerpc/strtosfix32.c: Ditto.
2149 * libc/machine/powerpc/strtosfix64.c: Ditto.
2150 * libc/machine/powerpc/strtoufix16.c: Ditto.
2151 * libc/machine/powerpc/strtoufix32.c: Ditto.
2152 * libc/machine/powerpc/strtoufix64.c: Ditto.
2153 * libc/machine/powerpc/ufix64toa.c: Ditto.
2154 * libc/machine/powerpc/configure.in: Add check for
2155 powerpc*-eabispe and add fixed-point conversion functions.
2156 * libc/machine/powerpc/configure: Regenerated.
2157 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
2158 %r and %R format specifiers which handle fixed-point data.
2159 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
2160 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
2161 function prototypes.
2162
2163 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
2164
2165 * Makefile.am: Move cmath stuff into libc/sys/linux.
2166 * Makefile.in: Regenerated.
2167 * configure.host: Default -DMB_CAPABLE for x86-linux.
2168 * libc/include/reent.h: Define _sbrk to take signed int argument.
2169 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
2170 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
2171 make locale name checking more efficient. Also allow "C-ISO-8859-1"
2172 locale for LC_CTYPE and LC_MESSAGES.
2173 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
2174 * libc/sys/linux/brk.c: Change sbrk prototype.
2175 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
2176 include <sys/features.h>.
2177 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
2178 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
2179 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
2180 with a few local additions.
2181 * libc/sys/linux/sys/features.h: New file.
2182 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
2183 to take signed argument.
2184 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
2185 prototypes to take signed size argument.
2186
2187 2002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
2188
2189 * libc/sys/linux/cmath: New directory.
2190 * libc/sys/linux/include/cmathcalls.h: New file.
2191 * libc/sys/linux/include/complex.h: New file.
2192 * libc/sys/linux/machine/i386/huge_val.h: New file
2193 * libm/math/w_sincos.c: New file
2194 * libm/math/wf_sincos.c: New file
2195 * libm/mathfp/s_sincos.c: New file
2196 * libm/mathfp/sf_sincos.c: New file
2197 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
2198 * libc/include/math.h: Add sincos and sincosf declarations.
2199 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
2200 (SUBLIBS): Likewise.
2201 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
2202 * libm/math/Makefile.am (src): Add w_sincos.c.
2203 (fsrc): Add wf_sincos.c.
2204 * libm/mathfp/Makefile.am (src): Add s_sincos.c
2205 (fsrc): Add sf_sincos.c.
2206
2207 2002-08-12 Jeff Johnston <jjohnstn@redhat.com>
2208
2209 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
2210 Declare as extern chars and use the address operator to
2211 properly use values set in linker script.
2212
2213 2002-08-09 Jason Tishler <jason@tishler.net>
2214
2215 * libc/stdlib/mallocr.c: Include <limits.h>.
2216 (request2size): Change macro to do
2217 unsigned long comparisons and avoid signed overflow.
2218 (mALLOc): Add overflow check for the number of bytes to allocate.
2219 (rEALLOc): Ditto.
2220
2221 2002-08-09 Jeff Johnston <jjohnstn@redhat.com>
2222
2223 * configure.host: Add check for --enable-newlib-io-pos-args
2224 and define WANT_IO_POS_ARGS flag if enabled. Define
2225 the flag by default for x86-linux configurations.
2226 * configure.in: Add support for --enable-newlib-io-pos-args.
2227 * libc/configure.in: Ditto.
2228 * configure: Regenerated.
2229 * libc/configure: Ditto.
2230 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
2231 vfprintf.c and vfiprintf.c.
2232 * libc/stdio/Makefile.in: Regenerated.
2233 * libc/stdio/vfprintf.c: Add positional argument support that
2234 is enabled by compiling with -DWANT_IO_POS_ARGS.
2235
2236 2002-08-07 Richard Sandiford <rsandifo@redhat.com>
2237
2238 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
2239 based on __mips_soft_float rather than __mips64.
2240 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
2241 of both 32-bit and 64-bit code.
2242
2243 2002-08-04 Christopher Faylor <cgf@redhat.com>
2244
2245 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
2246 arguments for popen to match similar functionality in fopen.
2247
2248 2002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
2249
2250 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
2251
2252 2002-07-29 Jeff Johnston <jjohnstn@redhat.com>
2253
2254 * libc/sys/linux/Makefile.am: Add aio64.c.
2255 * libc/sys/linux/Makefile.in: Regenerated.
2256 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
2257 * libc/sys/linux/aio64.c: New file.
2258
2259 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
2260
2261 * libc/include/sys/param.h (MAX, MIN): Added macros.
2262 * libc/sys/linux/Makefile.am: Add new files.
2263 * libc/sys/linux/Makefile.in: Regenerated.
2264 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
2265 * libc/sys/linux/inode.c (fchdir): Added syscall.
2266 * libc/sys/linux/ftw.c: New file.
2267 * libc/sys/linux/ftw64.c: Ditto.
2268 * libc/sys/linux/getwd.c: Ditto.
2269 * libc/sys/linux/scandir64.c: Ditto.
2270 * libc/sys/linux/strverscmp.c: Ditto.
2271 * libc/sys/linux/versionsort.c: Ditto.
2272 * libc/sys/linux/versionsort64.c: Ditto.
2273
2274 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
2275
2276 * libc/string/strings.tex: Fix typo for memccpy.
2277
2278 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
2279
2280 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
2281 * libc/sys/linux/sys/types.h (off64_t): Definition added.
2282
2283 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
2284
2285 * libc/sys/linux/Makefile.am: Add fclean.c.
2286 * libc/sys/linux/Makefile.in: Regenerated.
2287 * libc/sys/linux/fclean.c: New file.
2288
2289 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
2290
2291 * libc/sys/linux/Makefile.am: Add confstr.c.
2292 * libc/sys/linux/Makefile.in: Regenerated.
2293 * libc/sys/linux/confstr.c: New file.
2294 * libc/sys/linux/confstr.h: Ditto.
2295 * libc/sys/linux/sys/unistd.h: Include <features.h> and
2296 <bits/environments.h>.
2297
2298 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
2299
2300 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
2301 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
2302 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
2303 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
2304 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
2305 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
2306
2307 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
2308
2309 * libc/sys/linux/Makefile.am: Add new files.
2310 * libc/sys/linux/Makefile.in: Regenerated.
2311 * libc/sys/linux/fstab.c: New file.
2312 * libc/sys/linux/fstatvfs.c: Ditto.
2313 * libc/sys/linux/fstatvfs64.c: Ditto.
2314 * libc/sys/linux/internal_statvfs.c: Ditto.
2315 * libc/sys/linux/mntent.c: Ditto.
2316 * libc/sys/linux/mntent_r.c: Ditto.
2317 * libc/sys/linux/statvfs.c: Ditto.
2318 * libc/sys/linux/statvfs64.c: Ditto.
2319 * libc/sys/linux/include/paths.h: Ditto.
2320 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
2321 with double-underscore weak-aliases.
2322 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
2323
2324 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
2325
2326 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
2327 to use _sig_func_ptr type casted constants.
2328 (_sig_func_ptr): Typedef moved to sys/signal.h.
2329 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
2330 For __rtems, use POSIX definition, otherwise default to ANSI.
2331 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
2332
2333 2002-07-24 Stephane Carrez <stcarrez@nerim.fr>
2334
2335 * configure.host: Recognize m6811-elf and m6812-elf targets.
2336 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
2337 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
2338 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
2339 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
2340 according to __INT_MAX__.
2341 (_POINTER_INT): Define to short.
2342 * libc/machine/m68hc11/Makefile.am: New file.
2343 * libc/machine/m68hc11/Makefile.in: New file.
2344 * libc/machine/m68hc11/configure.in: New file.
2345 * libc/machine/m68hc11/configure: New file.
2346 * libc/machine/m68hc11/aclocal.m4: New file.
2347 * libc/machine/m68hc11/setjmp.S: New file.
2348
2349 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
2350
2351 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
2352 prototypes.
2353 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
2354 * libc/stdlib/Makefile.in: Regenerated.
2355 * libc/stdlib/strdup.c: Removed.
2356 * libc/stdlib/strdup_r.c: Removed.
2357 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
2358 mempcpy.c, strndup.c, and strndup_r.c.
2359 * libc/string/Makefile.in: Regenerated.
2360 * libc/string/memccpy.c: New file.
2361 * libc/string/mempcpy.c: Ditto.
2362 * libc/string/strndup.c: Ditto.
2363 * libc/string/strndup_r.c: Ditto.
2364 * libc/string/strdup.c: New file moved from stdlib.
2365 * libc/string/strdup_r.c: Ditto.
2366 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
2367
2368 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
2369
2370 * libc/include/stdio.h: Move fcloseall prototype within
2371 #ifndef _REENT_ONLY section.
2372 * libc/sys/linux/Makefile.am: Add new files.
2373 * libc/sys/linux/Makefile.in: Regenerated.
2374 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
2375 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
2376 * libc/sys/linux/sys/types.h: Add ino64_t type.
2377 * libc/sys/linux/ctermid.c: New file.
2378 * libc/sys/linux/ttyname_r.c: Ditto.
2379 * libc/sys/linux/readdir64.c: Ditto.
2380
2381 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
2382
2383 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
2384 * libc/stdio/Makefile.am: Added fcloseall.c support.
2385 * libc/stdio/Makefile.in: Regenerated.
2386 * libc/stdio/fcloseall.c: New file.
2387 * libc/stdio64/Makefile.am: Remove missing .def references.
2388 * libc/stdio64/Makefile.in: Regenerated.
2389
2390 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
2391
2392 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
2393 * libc/machine/powerpc/times.c: New file.
2394 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
2395 * libc/machine/powerpc/Makefile.in: Regenerated.
2396
2397 2002-07-22 Aldy Hernandez <aldyh@redhat.com>
2398
2399 * libc/machine/powerpc/time.c: New file.
2400 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
2401 time.c.
2402 * libc/machine/powerpc/Makefile.in: Regenerated.
2403
2404 2002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
2405
2406 * libc/libc.texinfo: Change copyright notices to Red Hat from
2407 Cygnus.
2408 * libm/libm.texinfo: Likewise.
2409 * README: Change docs URL to
2410 http://sources.redhat.com/newlib/docs.html.
2411
2412 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
2413
2414 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
2415 * libc/sys/linux/Makefile.in: Regenerated.
2416 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
2417 * libc/sys/linux/io.c: Add ftruncate syscall.
2418 * libc/sys/linux/fpathconf.c: New file.
2419 * libc/sys/linux/pathconf.c: Ditto.
2420 * libc/sys/linux/linux_fsinfo.h: Ditto.
2421 * libc/sys/linux/sys/unistd.h: Ditto.
2422
2423 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
2424
2425 * libc/stdio64/Makefile.am: Remove missing files.
2426 * libc/stdio64/Makefile.in: Regenerated.
2427
2428 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
2429
2430 * libc/include/sys/config.h[__i386__][__linux__]: Define
2431 _LARGE64FILE_SOURCE to 1.
2432 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
2433 * libc/sys/linux/Makefile.in: Regenerated.
2434 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
2435 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
2436 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
2437 of <linux/resource.h>.
2438 * libc/sys/linux/getrlimit64.c: New file.
2439 * libc/sys/linux/setrlimit64.c: Ditto.
2440
2441 2002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
2442
2443 * libc/argz/argz_replace.c: Include buf_findstr.h.
2444 * libc/argz/buf_findstr.c: Likewise.
2445 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
2446 value to (char *).
2447 * libc/argz/envz_get.c: Likewise.
2448 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
2449 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
2450 * libc/stdlib/getsubopt.3: New file.
2451 * libc/stdlib/getsubopt.c: New file.
2452 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
2453 Change esp to ebp.
2454
2455 2002-07-17 Jeff Johnston <jjohnstn@redhat.com>
2456
2457 * configure.host(stdio64_dir): New setting that is used to
2458 enable building of new stdio64 directory.
2459 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
2460 large files.
2461 (stmp-stdio64,stdio64.texi): New targets to optionally add in
2462 stdio64 info to info files.
2463 * libc/Makefile.in: Regenerated.
2464 * libc/configure: Ditto.
2465 * libc/configure.in: Add configuration variables that are set
2466 when stdio64 is selected as subdir in configure.host.
2467 * libc/libc.texinfo: Add optional menu item for Stdio64, based
2468 on whether STDIO64 flag is set or not.
2469 * libc/sys.tex: Add optional stdio64 syscalls based on whether
2470 STDIO64 flag is set or not.
2471 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
2472 _r sycall routines.
2473 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
2474 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
2475 (__SL64): New file flag indicating file is opened via fopen64.
2476 * libc/include/sys/_types.h(_off64_t): Added.
2477 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
2478 * libc/include/sys/reent.h(struct __sFILE64): New file structure
2479 for 64-bit offset large file support.
2480 (__FILE): New intermediate type either set to struct __sFILE64 or
2481 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
2482 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
2483 * libc/reent/Makefile.in: Regenerated.
2484 * libc/reent/fstat64r.c: New file.
2485 * libc/reent/lseek64r.c: Ditto.
2486 * libc/reent/open64r.c: Ditto.
2487 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
2488 based on whether STDIO64 flag is set.
2489 * libc/stdio/stdio.tex: Add blank line.
2490 * libc/stdio64/Makefile.am: New file.
2491 * libc/stdio64/Makefile.in: Ditto.
2492 * libc/stdio64/fgetpos64.c: Ditto.
2493 * libc/stdio64/fopen64.: Ditto.
2494 * libc/stdio64/freopen64.c: Ditto.
2495 * libc/stdio64/fseeko64.c: Ditto.
2496 * libc/stdio64/fsetpos64.c: Ditto.
2497 * libc/stdio64/ftello64.c: Ditto.
2498 * libc/stdio64/local64.h: Ditto.
2499 * libc/stdio64/stdio64.c: Ditto.
2500 * libc/stdio64/stdio64.tex: Ditto.
2501 * libc/stdio64/tmpfile64.c: Ditto.
2502 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
2503 open64.
2504
2505 2002-07-16 Jeff Johnston <jjohnstn@redhat.com>
2506
2507 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
2508 if LIBC_EXTRA_LIB is present.
2509 * libc/Makefile.in: Regenerated.
2510 * libc/libc.texinfo: Add blank line.
2511 * libc/argz/Makefile.am: Add doc support.
2512 * libc/search/Makefile.am: Ditto.
2513 * libc/argz/Makefile.in: Regenerated.
2514 * libc/search/Makefile.in: Ditto.
2515 * libc/misc/misc.tex: Add ffs function.
2516 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
2517
2518 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
2519
2520 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
2521 definition that was removed in error.
2522
2523 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
2524
2525 * libc/include/machine/ieeefp.h: Change to only define
2526 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
2527 __IEEE_LITTLE_ENDIAN must be defined for each platform).
2528 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
2529 remove redundant floating point definitions.
2530
2531 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
2532
2533 * libc/sys/linux/callocr.c: Fix so code references
2534 calloc.
2535
2536 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
2537
2538 * libc/sys/linux/Makefile.am: Add new files.
2539 * libc/sys/linux/Makefile.in: Regenerated.
2540 * libc/sys/linux/bp-sym.h: Moved to include directory.
2541 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
2542 * libc/sys/linux/inode.c: Set _LIBC to 1.
2543 * libc/sys/linux/mq_close.c: Ditto.
2544 * libc/sys/linux/mq_getattr.c: Ditto.
2545 * libc/sys/linux/mq_open.c: Ditto.
2546 * libc/sys/linux/mq_receive.c: Ditto.
2547 * libc/sys/linux/mq_send.c: Ditto.
2548 * libc/sys/linux/mq_setattr.c: Ditto.
2549 * libc/sys/linux/mq_unlink.c: Ditto.
2550 * libc/sys/linux/calloc.c: New file.
2551 * libc/sys/linux/callocr.c: Ditto.
2552 * libc/sys/linux/cfreer.c: Ditto.
2553 * libc/sys/linux/config.h: Ditto.
2554 * libc/sys/linux/free.c: Ditto.
2555 * libc/sys/linux/freer.c: Ditto.
2556 * libc/sys/linux/msize.c: Ditto.
2557 * libc/sys/linux/msizer.c: Ditto.
2558 * libc/sys/linux/mstats.c: Ditto.
2559 * libc/sys/linux/mtrim.c: Ditto.
2560 * libc/sys/linux/mtrimr.c: Ditto.
2561 * libc/sys/linux/pvallocr.c: Ditto.
2562 * libc/sys/linux/realloc.c: Ditto.
2563 * libc/sys/linux/reallocr.c: Ditto.
2564 * libc/sys/linux/thread-m.h: Ditto.
2565 * libc/sys/linux/vallocr.c: Ditto.
2566 * libc/sys/linux/bp-checks.h: Ditto.
2567 * libc/sys/linux/libc-symbols.h: Ditto.
2568 * libc/sys/linux/libc-tsd.h: Ditto.
2569 * libc/sys/linux/libintl.h: Ditto.
2570 * libc/sys/linux/malign.c: Ditto.
2571 * libc/sys/linux/malignr.c: Ditto.
2572 * libc/sys/linux/mallinfor.c: Ditto.
2573 * libc/sys/linux/malloc.c: Ditto.
2574 * libc/sys/linux/mallocr.c: Ditto.
2575 * libc/sys/linux/malloptr.c: Ditto.
2576 * libc/sys/linux/mallstatsr.c: Ditto.
2577 * libc/sys/linux/mcheck.c: Ditto.
2578 * libc/sys/linux/mhooks.h: Ditto.
2579 * libc/sys/linux/include/bp-sym.h: Ditto.
2580 * libc/sys/linux/include/malloc.h: Ditto.
2581 * libc/sys/linux/include/mcheck.h: Ditto.
2582 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
2583 getpagesize.c.
2584 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
2585 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
2586 * libc/sys/linux/machine/i386/getpagesize.c: New file.
2587 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
2588 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
2589 * libc/sys/linux/machine/i386/sysdep.h: New file.
2590 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
2591 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
2592 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
2593
2594 2002-07-12 Jeff Johnston <jjohnstn@redhat.com>
2595
2596 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
2597 instead of <asm/siginfo.h>.
2598 * libc/sys/linux/sys/signal.h: Change to include various linux
2599 <bits/xxx.h> header files, rather than <linux/signal.h> so as
2600 to work with multiple releases of glibc header files.
2601
2602 2002-07-11 Chris Demetriou <cgd@broadcom.com>
2603
2604 * testsuite/newlib.search/hsearchtest.c: New file to test
2605 newlib/libc/search.
2606 * testsuite/newlib.search/hsearchtest.exp: Likewise.
2607
2608 2002-07-10 Florian Schrack <florian.schrack@freenet.de>
2609
2610 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
2611 a terminal.
2612 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
2613
2614 2002-07-08 Jeff Johnston <jjohnstn@redhat.com>
2615
2616 * libc/include/math.h (MAXFLOAT): Added.
2617
2618 Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
2619
2620 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
2621 Make strcmp.S unconditional.
2622 * libc/machine/sh/Makefile.in: Regenerate.
2623 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
2624 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
2625 for SHcompact.
2626
2627 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
2628
2629 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
2630 define before including <sys/lock.h>.
2631
2632 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
2633
2634 * libc/include/utime.h: Add include of <_ansi.h>.
2635 * libc/sys/linux/Makefile.am: Add utimes.c.
2636 * libc/sys/linux/Makefile.in: Regenerated.
2637 * libc/sys/linux/inode.c(__umask): New static routine.
2638 (umask): Written to use __umask and attempt to thread lock.
2639 (getumask): New function written to use __umask and thread lock.
2640 * libc/sys/linux/utimes.c: New file.
2641 * libc/sys/linux/sys/time.h: Fix utimes prototype.
2642 * libc/sys/linux/sys/utime.h: New file.
2643
2644 2002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2645
2646 * libtool.m4: New file.
2647 * libc/sys/linux/process.c: Implement vfork in terms of fork,
2648 rather than as a syscall.
2649
2650 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
2651
2652 * libc/include/stdio.h: Add new prototypes.
2653 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
2654 * libc/stdio/Makefile.in: Regenerated.
2655 * libc/stdio/fseek.c: Add fseeko documentation.
2656 * libc/stdio/ftell.c: Add ftello documentation.
2657 * libc/stdio/fseeko.c: New file.
2658 * libc/stdio/ftello.c: New file.
2659
2660 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
2661
2662 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
2663 * libc/stdio/Makefile.in: Regenerated.
2664 * libc/stdio/asprintf.c: New file.
2665 * libc/stdio/vasprintf.c: Ditto.
2666 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
2667 the buffer for asprintf support.
2668 * libc/stdio/sprintf.c: Add asprintf documentation.
2669 * libc/stdio/vfprintf.c: Add vasprintf documentation.
2670 * libc/include/stdio.h: Add new prototypes.
2671
2672 2002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
2673
2674 * libc/search/hcreate.c: Remove advertising clause from license.
2675 * libc/search/hcreate_r.c: Likewise.
2676
2677 2002-07-02 Chris Demetriou <cgd@broadcom.com>
2678
2679 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
2680 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
2681 Check that one of them is defined and error out if not.
2682 Add any platforms defined in <machine/ieeefp.h> that are missing.
2683 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
2684 (DB_LITTLE_ENDIAN): New defines.
2685 * libc/search/hash.c: Replace all incorrect checks for
2686 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
2687 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
2688 * libc/search/hash_page.c: Likewise.
2689
2690 2002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
2691
2692 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
2693
2694 2002-06-27 Benjamin Kosnik <bkoz@redhat.com>
2695
2696 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
2697 * libc/include/time.h: Same.
2698 * libc/include/string.h: Same.
2699 * libc/include/stdlib.h: Same.
2700 * libc/include/signal.h: Same.
2701 * libc/include/setjmp.h: Same.
2702 * libc/include/math.h: Same.
2703 * libc/include/locale.h: Same.
2704 * libc/include/ctype.h: Same.
2705 * libc/include/machine/setjmp.h: Same.
2706 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
2707 (_END_STD_C): Add.
2708
2709 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
2710
2711 * libc/include/sys/_types.h: Define _ssize_t as int if int is
2712 32-bits, otherwise define it as long.
2713 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
2714 and define ssize_t as _ssize_t.
2715 * libc/reent/readr.c: Change return type to _ssize_t.
2716 * libc/reent/writer.c: Ditto.
2717 * libc/sys/linux/Makefile.am: Add aio.c.
2718 * libc/sys/linux/Makefile.in: Regenerated.
2719 * libc/sys/linux/aio.c: New file.
2720 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
2721 * libm/common/fdlibm.h: Undef __P before defining it.
2722
2723 2002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
2724
2725 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
2726 exponent_is_even_int variable. Handle case where x is
2727 negative, and y is an odd integer.
2728 * libm/mathfp/sf_pow.c (powf): Likewise.
2729
2730 * libm/mathfp/er_lgamma.c: Remove __kernel references.
2731 * libm/mathfp/erf_lgamma.c: Likewise.
2732 * libm/mathfp/s_tgamma.c: Likewise.
2733 * libm/mathfp/sf_tgamma.c: Likewise.
2734
2735 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
2736
2737 * libc/sys/linux/Makefile.am: Add new clock routines.
2738 * libc/sys/linux/Makefile.in: Regenerated.
2739 * libc/sys/linux/clock_getres.c: New file.
2740 * libc/sys/linux/clock_gettime.c: Ditto.
2741 * libc/sys/linux/clock_settime.c: Ditto.
2742 * libc/sys/linux/hp-timing.h: Ditto.
2743 * libc/sys/linux/libc-internal.h: Ditto.
2744 * libc/sys/linux/sysconf.c: Fix typo.
2745 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
2746 * libc/sys/linux/machine/hp-timing.h: New file.
2747 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
2748 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
2749 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
2750 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
2751 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
2752 * libc/sys/linux/sys/linux_time.h: New file.
2753 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
2754 replace with <sys/linux_time.h>.
2755
2756 Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
2757
2758 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
2759
2760 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
2761
2762 * libc/sys/linux/Makefile.am: Consolidate additional items under
2763 ADD_OBJS.
2764 * libc/sys/linux/Makefile.in: Regenerated.
2765
2766 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
2767
2768 * libc/sys/linux/sethostname.c: New file.
2769 * libc/sys/linux/Makefile.am: Add sethostname.c support.
2770 * libc/sys/linux/Makefile.in: Regenerated.
2771
2772 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
2773
2774 * libc/search/db_local.h: New file.
2775 * libc/include/db.h: Remove.
2776 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
2777 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
2778 "db_local.h".
2779 * libc/search/hash_bigkey.c: Likewise.
2780 * libc/search/hash_buf.c: Likewise.
2781 * libc/search/hash_func.c: Likewise.
2782 * libc/search/hash_log2.c: Likewise.
2783 * libc/search/hash_page.c: Likewise.
2784
2785 2002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
2786
2787 * libc/machine/sh/strlen.S: New file.
2788 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
2789 * libc/machine/sh/Makefile.am: Regenerate.
2790
2791 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
2792
2793 * libc/sys/linux/gethostname.c: Change name to __gethostname and
2794 add gethostname alias.
2795
2796 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
2797
2798 * libc/include/math.h: Remove <sys/types.h>.
2799 (__dmath): Use __ULong instead of __uint32_t.
2800 * libc/include/sys/reent.h: If long or int is not 32-bits,
2801 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
2802 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
2803 * libm/common/fdlibm.h: Ditto.
2804
2805 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
2806
2807 * libc/include/ndbm.h: Remove.
2808 * libc/search/ndbm.c: Remove.
2809
2810 2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
2811
2812 * libc/stdio/fseek.c (fseek): Fix braces.
2813
2814 2002-06-21 Corinna Vinschen <corinna@vinschen.de>
2815
2816 * libc/time/strftime.c (strftime): Add %e format specifier.
2817
2818 2002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2819
2820 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
2821 previously defined.
2822
2823 2002-06-21 Richard Earnshaw (rearnsha@arm.com)
2824
2825 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
2826 (BYTE_ORDER): Define as appropriate for the target.
2827
2828 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
2829
2830 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
2831 to _ssize_t.
2832 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
2833
2834 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
2835
2836 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
2837 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
2838 [HAVE_GETDATE](getdate_err): New error code.
2839 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
2840 * libc/stdio/Makefile.in: Regenerated.
2841 * libc/stdio/getdelim.c: New file.
2842 * libc/stdio/getline.c: Ditto.
2843 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
2844 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
2845 * libc/sys/linux/Makefile.in: Regenerated.
2846 * libc/sys/linux/getdate.c: New file.
2847 * libc/sys/linux/getdate_err.c: Ditto.
2848 * libc/sys/linux/ntp_gettime.c: Ditto.
2849 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
2850 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
2851
2852 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
2853
2854 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
2855 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
2856 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
2857 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
2858 * libc/include/sys/param.h: Remove i386 case which is handled
2859 by default case.
2860 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
2861 definitions in case they are already defined.
2862 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
2863 _IEEE_LITTLE_ENDIAN flags.
2864 * libc/include/sys/reent.h: Change __uint32_t references to
2865 use _ULong instead.
2866 (_REENT_GETDATE_REENT_P): New macro.
2867 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
2868 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
2869 * libc/search/hash.h: Add default setting of BYTE_ORDER,
2870 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
2871 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
2872 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
2873 pid_t, off_t, loff_t, caddr_t, and daddr_t type
2874 definitions which are done by subsequent glibc headers.
2875 Add macro definitions to prevent subsequent header files from
2876 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
2877 intptr_t to after glibc definitions of types they are based on.
2878
2879 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
2880
2881 * libc/include/errno.h: Protect from multiple inclusion.
2882
2883 2002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
2884
2885 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
2886
2887 2002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
2888
2889 * Makefile.am (LIB_OBJECTLISTS): Add
2890 libc/search/objectlist.awk.in.
2891 * libc/Makefile.am (SUBDIRS): Add search.
2892 (SUBLIBS): Add search/libsearch.la.
2893 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
2894 * libc/search: New directory.
2895 * libc/search/Makefile.am: New file.
2896 * libc/search/extern.h: New file.
2897 * libc/search/hash.c: New file.
2898 * libc/search/hash.h: New file.
2899 * libc/search/hash_bigkey.c: New file.
2900 * libc/search/hash_buf.c: New file.
2901 * libc/search/hash_func.c: New file.
2902 * libc/search/hash_log2.c: New file.
2903 * libc/search/hash_page.c: New file.
2904 * libc/search/hcreate.3: New file.
2905 * libc/search/hcreate.c: New file.
2906 * libc/search/hcreate_r.c: New file.
2907 * libc/search/ndbm.c: New file.
2908 * libc/search/page.h: New file.
2909 * libc/search/tdelete.c: New file.
2910 * libc/search/tdestroy.c: New file.
2911 * libc/search/tfind.c: New file.
2912 * libc/search/tsearch.3: New file.
2913 * libc/search/tsearch.c: New file.
2914 * libc/search/twalk.c: New file.
2915 * libc/include/db.h: New file.
2916 * libc/include/ndbm.h: New file.
2917 * libc/include/search.h: New file.
2918 * libc/include/sys/queue.h: New file.
2919 * libc/include/sys/cdefs.h: New file.
2920 * libc/include/sys/param.h
2921 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
2922 LITTLE_ENDIAN or BIG_ENDIAN.
2923 * libc/include/sys/errno.h (EFTYPE): New macro.
2924 * libc/search/bsearch.c: Move from libc/stdlib.
2925 * libc/search/qsort.c: Likewise.
2926 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
2927 qsort.c.
2928 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
2929 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
2930
2931 2002-06-19 Jeff Johnston <jjohnstn@redhat.com>
2932
2933 * libc/sys/linux/Makefile.am: Add support for message queue routines,
2934 ipc routines, and ftok.
2935 * libc/sys/linux/Makefile.in: Regenerated.
2936 * libc/sys/linux/ftok.c: New file.
2937 * libc/sys/linux/ipc.c: Ditto.
2938 * libc/sys/linux/mq_close.c: Ditto.
2939 * libc/sys/linux/mq_getattr.c: Ditto.
2940 * libc/sys/linux/mq_notify.c: Ditto.
2941 * libc/sys/linux/mq_open.c: Ditto.
2942 * libc/sys/linux/mq_receive.c: Ditto.
2943 * libc/sys/linux/mq_send.c: Ditto.
2944 * libc/sys/linux/mq_setattr.c: Ditto.
2945 * libc/sys/linux/mq_unlink.c: Ditto.
2946 * libc/sys/linux/mqlocal.h: Ditto.
2947 * libc/sys/linux/include/mqueue.h: Ditto.
2948 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
2949 __uid_t_defined.
2950
2951 2002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
2952
2953 * libm/common/sf_lround.c (round): Change name to: (lround).
2954 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
2955 remquof.
2956
2957 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
2958
2959 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
2960 procedure.
2961 (newlib_pass_fail): Change to compile and run only one file.
2962 * testsuite/newlib.locale/locale.exp: Use new
2963 newlib_pass_fail_all procedure.
2964 * testsuite/newlib.string/string.exp: Likewise.
2965
2966 2002-06-18 Dave Brolley <brolley@redhat.com>
2967
2968 From Catherine Moore, Michael Meissner, Richard Sandiford:
2969 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
2970 (_JBTYPE): Ditto.
2971 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
2972 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
2973 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
2974 * configure.host: Support frv-*-*.
2975 * libc/machine/frv/Makefile.am: New file.
2976 * libc/machine/frv/configure.in: New file.
2977 * libc/machine/frv/setjmp.S: New file.
2978
2979 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
2980
2981 * libc/include/ctype.h: Remove isblank macro.
2982
2983 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
2984 * libc/ctype/isblank.c: New file.
2985 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
2986 declaration. Add isblank macro.
2987
2988 2002-06-18 Jeff Johnston <jjohnstn@redhat.com>
2989
2990 * testsuite/newlib.stdlib/atexit.c: New file.
2991 * testsuite/newlib.stdlib/atexit.exp: Ditto.
2992 * testsuite/newlib.string/tstring.c: Change default start size
2993 to something more reasonable for embedded platforms.
2994
2995 2002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2996
2997 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
2998
2999 * libc/argz: New directory.
3000 * libc/argz/*: New files.
3001 * libc/argz/argz_add.c: New file.
3002 * libc/argz/argz_add_sep.c: New file.
3003 * libc/argz/argz_append.c: New file.
3004 * libc/argz/argz_count.c: New file.
3005 * libc/argz/argz_create.c: New file.
3006 * libc/argz/argz_create_sep.c: New file.
3007 * libc/argz/argz_delete.c: New file.
3008 * libc/argz/argz_extract.c: New file.
3009 * libc/argz/argz_insert.c: New file.
3010 * libc/argz/argz_next.c: New file.
3011 * libc/argz/argz_replace.c: New file.
3012 * libc/argz/argz_stringify.c: New file.
3013 * libc/argz/buf_findstr.c: New file.
3014 * libc/argz/envz_add.c: New file.
3015 * libc/argz/envz_entry.c: New file.
3016 * libc/argz/envz_get.c: New file.
3017 * libc/argz/envz_merge.c: New file.
3018 * libc/argz/envz_remove.c: New file.
3019 * libc/argz/envz_strip.c: New file.
3020 * libc/include/argz.h: New file.
3021 * libc/include/envz.h: New file.
3022 * Makefile.am (LIBC_OBJECTLISTS): Add
3023 libc/argz/objectlist.awk.in.
3024 * libc/Makefile.am (SUBDIRS): Add argz.
3025 (SUBLIBS): Add argz/libargz.la.
3026 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
3027 * libc/include/errno.h: Add error_t typedef.
3028
3029 2002-06-13 Jeff Johnston <jjohnstn@redhat.com>
3030
3031 * libc/include/stdlib.h: Add _Exit prototype.
3032 * libc/stdlib/Makefile.am: Add _Exit.c support.
3033 * libc/stdlib/Makefile.in: Ditto.
3034 * libc/stdlib/_Exit.c: New file.
3035
3036 2002-06-13 Stephen L. Moshier <steve@moshier.net>
3037
3038 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
3039 x is close to -1.0 and y is very large to use ax (absolute value)
3040 instead of x.
3041 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
3042
3043 Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
3044
3045 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
3046 Fix clobbering bytes before destination if src and dst have same
3047 non-zero misalignment.
3048
3049 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
3050 Fixed bug in writing end of set region.
3051
3052 2002-06-10 Christopher Faylor <cgf@redhat.com>
3053
3054 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
3055 spawnve declaration.
3056
3057 2002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
3058
3059 * libm/common/s_fdim.c: New file.
3060 * libm/common/s_fma.c: Likewise.
3061 * libm/common/s_fmax.c: Likewise.
3062 * libm/common/s_fmin.c: Likewise.
3063 * libm/common/s_fpclassify.c: Likewise.
3064 * libm/common/s_lrint.c: Likewise.
3065 * libm/common/s_lround.c: Likewise.
3066 * libm/common/s_nearbyint.c: Likewise.
3067 * libm/common/s_remquo.c: Likewise.
3068 * libm/common/s_round.c: Likewise.
3069 * libm/common/s_scalbln.c: Likewise.
3070 * libm/common/s_signbit.c: Likewise.
3071 * libm/common/s_trunc.c: Likewise.
3072 * libm/common/sf_fdim.c: Likewise.
3073 * libm/common/sf_fma.c: Likewise.
3074 * libm/common/sf_fmax.c: Likewise.
3075 * libm/common/sf_fmin.c: Likewise.
3076 * libm/common/sf_lrint.c: Likewise.
3077 * libm/common/sf_lround.c: Likewise.
3078 * libm/common/sf_nearbyint.c: Likewise.
3079 * libm/common/sf_remquo.c: Likewise.
3080 * libm/common/sf_round.c: Likewise.
3081 * libm/common/sf_scalbln.c: Likewise.
3082 * libm/common/sf_trunc.c: Likewise.
3083 * libm/math/w_exp2.c: Likewise.
3084 * libm/math/w_tgamma.c: Likewise.
3085 * libm/math/wf_exp2.c: Likewise.
3086 * libm/math/wf_tgamma.c: Likewise.
3087 * libm/mathfp/s_exp2.c: Likewise.
3088 * libm/mathfp/s_tgamma.c: Likewise.
3089 * libm/mathfp/sf_exp2.c: Likewise.
3090 * libm/mathfp/sf_tgamma.c: Likewise.
3091 * libm/math/er_gamma.c: Fix return value.
3092 * libm/math/erf_gamma.c: Likewise.
3093 * libm/mathfp/er_gamma.c: Likewise.
3094 * libm/mathfp/erf_gamma.c: Likewise.
3095 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
3096 declarations and macros.
3097 Regenerated all Makefile.in, aclocal.m4 and configure files to
3098 use new libtool macros in top-level libtool.m4
3099
3100 2002-06-05 Jeff Johnston <jjohnstn@redhat.com>
3101
3102 * libc/include/string.h[__linux__]: Add strsignal prototype.
3103 * libc/include/sys/lock.h: New file with default locking support.
3104 * libc/include/sys/reent.h: Add signal buffer support for strsignal
3105 and psignal.
3106 * libc/posix/Makefile.am: Add support for readdir_r.c.
3107 * libc/posix/Makefile.in: Regenerated.
3108 * libc/posix/closedir.c: Add locking support and hash table cleanup.
3109 * libc/posix/opendir.c: Add lock support.
3110 * libc/posix/readdir.c: Ditto.
3111 * libc/posix/rewinddir.c: Ditto.
3112 * libc/posix/scandir.c: Ditto.
3113 * libc/posix/seekdir.c: Ditto.
3114 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
3115 clean up leftover hash table entries.
3116 * libc/posix/readdir_r.c: New file.
3117 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
3118 * libc/sys/linux/Makefile.in: Regenerated.
3119 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
3120 * libc/sys/linux/sys/signal.h: Add psignal prototype.
3121 * libc/sys/linux/psignal.c: New file.
3122 * libc/sys/linux/strsignal.c: Ditto.
3123
3124 2002-06-03 Corinna Vinschen <corinna@vinschen.de>
3125
3126 * libc/include/sys/types.h: Don't define dev_t when compiling for
3127 Cygwin.
3128
3129 2002-05-31 Jeff Johnston <jjohnstn@redhat.com>
3130
3131 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
3132 make siglist.inc dependent on sig.c instead of signal.c.
3133 * libc/sys/linux/Makefile.in: Regenerated.
3134 * libc/sys/linux/sig.c: Rename from signal.c and change code to
3135 use NSIG instead of _NSIG.
3136 * libc/sys/linux/sigaction.c: New file.
3137 * libc/sys/linux/signal.c: Changed to be linux signal() function
3138 so as to override regular newlib default signal.c.
3139 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
3140 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
3141 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
3142 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
3143 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
3144 default linux sigset_t typedef by defining it equal to __sigset_t.
3145 * libc/unix/sigset.c: Add check so code isn't compiled on systems
3146 with a sigset_t that isn't implemented with a single int.
3147
3148 2002-05-30 Jeff Johnston <jjohnstn@redhat.com>
3149
3150 * libc/sys/linux/Makefile.am: Add support for new files.
3151 * libc/sys/linux/Makefile.in: Regenerated.
3152 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
3153 * libc/sys/linux/signal.c: Change to use real-time syscalls for
3154 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
3155 it is in a separate file now.
3156 * libc/sys/linux/machine/i386/Makefile.am
3157 * libc/sys/linux/machine/i386/Makefile.in
3158 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
3159 * libc/sys/linux/sigaction.c: New file.
3160 * libc/sys/linux/sigqueue.c: Ditto.
3161 * libc/sys/linux/sigwait.c: Ditto.
3162 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
3163 * libc/sys/linux/kernel_sigaction.h: Ditto.
3164
3165 2002-05-28 Jeff Johnston <jjohnstn@redhat.com>
3166
3167 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
3168 tcsendbrk.c.
3169 * libc/sys/linux/Makefile.in: Regenerated.
3170 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
3171 tcgetpgrp(), and tcsetpgrp() functions.
3172 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
3173 to get __MAX_BAUD rate.
3174 * libc/sys/linux/machine/i386/include/termios.h: New file.
3175 * libc/include/machine/termios.h: Ditto.
3176 * libc/sys/linux/cfspeed.c: Ditto.
3177 * libc/sys/linux/tcsendbrk.c: Ditto.
3178
3179 2002-05-24 Jeff Johnston <jjohnstn@redhat.com>
3180
3181 * libc/include/string.h: Add strnlen and strerror_r prototypes.
3182 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
3183 * libc/string/Makefile.in: Regenerated.
3184 * libc/string/strerror_r.c: New file.
3185 * libc/string/strnlen.c: New file.
3186 * libc/sys/linux/Makefile.am: Add rename.c.
3187 * libc/sys/linux/Makefile.in: Regenerated.
3188 * libc/sys/linux/rename.c: New file to override default rename.
3189
3190 2002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3191
3192 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
3193 * libc/sys/linux/sys/time.h: Add conversion macros.
3194 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
3195 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
3196 * libc/sys/linux/gethostname.c: New file.
3197 * libc/sys/linux/seteuid.c: New file.
3198 * libc/sys/linux/sysctl.c: New file.
3199
3200 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
3201
3202 * libc/string/Makefile.am: Add support for strsep.c.
3203 * libc/string/Makefile.in: Regenerated.
3204 * libc/string/strsep.c: New file.
3205 * libc/string/strtok.c: Change to call __strtok_r service routine.
3206 * libc/string/strtok_r.c: Add __strtok_r routine which takes
3207 additional flag parameter regarding whether to skip leading delimeters.
3208 Change strtok_r to call __strtok_r.
3209
3210 2002-05-23 Gareth Pearce <tilps@hotmail.com>
3211
3212 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
3213 * libc/stdio/Makefile.in: Regenerated.
3214 * libc/stdio/setbuffer.c: New file.
3215 * libc/stdio/setlinebuf.c: New file.
3216
3217 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
3218
3219 * libc/sys/linux/Makefile.am: Add resource.c.
3220 * libc/sys/linux/Makefile.in: Regenerated.
3221 * libc/sys/linux/resource.c: New file.
3222 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
3223 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
3224 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
3225 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
3226 are now found in libc/sys/linux/resource.c.
3227
3228 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
3229
3230 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
3231 to use void * pointers and comply with Single Unix spec.
3232 * libc/string/bcmp.c: Change to use void * instead of char *.
3233 * libc/string/bcopy.c: Ditto.
3234 * libc/string/bzero.c: Ditto.
3235
3236 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
3237
3238 * libc/sys/linux/shm_open.c: New file.
3239 * libc/sys/linux/shm_unlink.c: Ditto.
3240 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
3241 shm_unlink.c.
3242 * libc/sys/linux/Makefile.in: Regenerated.
3243 * libc/sys/linux/sys/types.h: Add some additional checks to see
3244 if clock_t or time_t is already defined.
3245
3246 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
3247
3248 * Makefile.am: Don't pass $toollibdir down directly in
3249 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
3250 Pass it under the name: top_toollibdir.
3251 * Makefile.in: Regenerated.
3252
3253 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
3254
3255 * libc/include/sys/types.h: Revert previous patch.
3256
3257 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
3258
3259 * libc/include/sys/types.h: Include cygwin/types.h always under
3260 Cygwin, not only if _POSIX_THREADS is defined.
3261
3262 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
3263
3264 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
3265
3266 2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
3267
3268 * Makefile.am: Copy and install headers from sys/machine/include
3269 directory. Also pass $toollibdir to lower-level directories.
3270 * Makefile.in: Regenerated.
3271 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
3272 stderr to use _REENT macro instead of _impure_ptr directly.
3273 * libc/include/sys/config.h[__i386__][__linux__]: Define
3274 __DYNAMIC_REENT__.
3275 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
3276 call to __getreent() function if !__SINGLE_THREAD__ and
3277 __DYNAMIC_REENT__ is set.
3278 * libc/reent/Makefile.am: Add support for getreent.c.
3279 * libc/reent/Makefile.in: Regenerated.
3280 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
3281 * libc/sys/linux/Makefile.am: Add support for new files.
3282 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
3283 * libc/sys/linux/Makefile.in: Regenerated.
3284 * libc/sys/linux/configure: Ditto.
3285 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
3286 __close, __read, __write, __poll, __open, __lseek, __fcntl from
3287 their __libc_ counterparts.
3288 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
3289 and weak-alias to regular names.
3290 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
3291 to pread64 and __pread64.
3292 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
3293 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
3294 weak-alias to pwrite64.
3295 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
3296 __libc_sched_getscheduler, __libc_sched_get_priority_max,
3297 __libc_sched_get_priority_min, and __libc_sched_setschedule to
3298 name with __ instead of __libc_.
3299 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
3300 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
3301 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
3302 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
3303 to raise.
3304 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
3305 __libc_send to __send.
3306 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
3307 __gettimeofday.
3308 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
3309 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
3310 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
3311 type and typedef __jmp_buf to jmp_buf.
3312 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
3313 setjmp.S.
3314 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
3315 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
3316 section.
3317 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
3318 prefix for function macros and then use weak_alias() to regular names.
3319 * libc/sys/linux/machine/i386/syscall.h: Ditto.
3320 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
3321 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
3322 to be flockfile() and funlockfile() respectively.
3323 * libc/sys/linux/sys/types.h
3324 * libc/reent/getreent.c: New file.
3325 * libc/sys/linux/flockfile.c: Ditto.
3326 * libc/sys/linux/funlockfile.c: Ditto.
3327 * libc/sys/linux/getreent.c: Ditto.
3328 * libc/sys/linux/pread.c: Ditto.
3329 * libc/sys/linux/pwrite.c: Ditto.
3330 * libc/sys/linux/raise.c: Ditto.
3331 * libc/sys/linux/system.c: Ditto.
3332 * libc/sys/linux/tcdrain.c: Ditto.
3333 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
3334 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
3335 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
3336 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
3337 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
3338
3339 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
3340
3341 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
3342 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
3343 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
3344 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
3345
3346 Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
3347
3348 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
3349 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
3350 exit point.
3351
3352 2002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
3353
3354 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
3355 options when testing natively on i[3456]86-*-linux.
3356
3357 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
3358 only one pass or fail per test file. Trim \r's from output
3359 values received from test programs. Remove support for named
3360 tests.
3361 * testsuite/newlib.locale/UTF-8.exp: Update to support new
3362 newlib_check_output behaviour.
3363 * testsuite/newlib.locale/UTF-8.c: Likewise.
3364
3365 2002-05-15 Jeff Johnston <jjohnstn@redhat.com>
3366
3367 * libc/include/stdlib.h: Add on_exit prototype.
3368 * libc/include/sys/reent.h (struct _atexit): Add argument array
3369 and bits to track type of exit routine to support both on_exit
3370 and atexit.
3371 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
3372 by default and change the setting of the atexit structure.
3373 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
3374 * libc/stdlib/on_exit.c: New file.
3375 * libc/stdlib/Makefile.am: Add support for on_exit.
3376 * libc/stdlib/Makefile.in: Regenerated.
3377 * libc/stdlib/atexit.c: Change to initialize types field.
3378 * libc/stdlib/exit.c: Change to look at types field for each
3379 exit routine and either call an atexit-style or an on_exit-style
3380 routine accordingly.
3381
3382 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
3383
3384 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
3385 allow v specifier with n or L specifiers. For vector c format,
3386 move tmp declaration to the top.
3387
3388 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
3389
3390 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
3391 the original format specifier when looping for vectors to compensate
3392 for any changes made in vector %g format processing.
3393 Also add syntax checking for various invalid scenarios
3394 involving vector format extensions.
3395 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
3396 return code setting for vector formats. Also treat vector
3397 separator mismatch as a match error instead of an input error.
3398 Perform some syntax checking for vector formats.
3399
3400 2002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
3401
3402 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
3403 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
3404 * libc/string/strlcat.c: New file.
3405 * libc/string/strlcpy.c: New file.
3406
3407 2002-05-10 Jeff Johnston <jjohnstn@redhat.com>
3408
3409 * libc/string/strchr.c: Fix comment typo.
3410
3411 2002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
3412
3413 * acinclude.m4: Add support for --enable-newlib-multithread.
3414 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
3415 --enable-newlib-multithread=no.
3416
3417 * libc/stdio/getc_u.c: New file.
3418 * libc/stdio/getchar_u.c: New file.
3419 * libc/stdio/putc_u.c: New file.
3420 * libc/stdio/putchar_u.c: New file.
3421 * libc/include/stdio.h: Add declarations for getc_unlocked,
3422 getchar_unlocked, putc_unlocked and putchar_unlocked.
3423 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
3424 (CHEWOUT_FILES): Add new files' .def's.
3425 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
3426
3427 Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
3428
3429 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
3430 Also handle as single quad word when destination ends at last
3431 byte of first quad word. Fix byte selection in single quad code.
3432
3433 2002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
3434
3435 * libc/include/sys/stdio.h: New file.
3436 * libc/sys/linux/sys/stdio.h: New file.
3437 * libc/include/stdio.h: Add declarations for flockfile,
3438 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
3439 * libc/stdio/clearerr.c: Add file locking.
3440 * libc/stdio/fclose.c: Likewise.
3441 * libc/stdio/feof.c: Likewise.
3442 * libc/stdio/ferror.c: Likewise.
3443 * libc/stdio/fflush.c: Likewise.
3444 * libc/stdio/fgetc.c: Likewise.
3445 * libc/stdio/fgetpos.c: Likewise.
3446 * libc/stdio/fgets.c: Likewise.
3447 * libc/stdio/fileno.c: Likewise.
3448 * libc/stdio/fputc.c: Likewise.
3449 * libc/stdio/fputs.c: Likewise.
3450 * libc/stdio/fread.c: Likewise.
3451 * libc/stdio/freopen.c: Likewise.
3452 * libc/stdio/fseek.c: Likewise.
3453 * libc/stdio/ftell.c: Likewise.
3454 * libc/stdio/fwrite.c: Likewise.
3455 * libc/stdio/getc.c: Likewise.
3456 * libc/stdio/putc.c: Likewise.
3457 * libc/stdio/setvbuf.c: Likewise.
3458 * libc/stdio/ungetc.c: Likewise.
3459 * libc/stdio/vfprintf.c: Likewise.
3460
3461 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
3462
3463 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
3464 support for 'p' format. Fix code to print bytes for vector
3465 integer formats that do not specify 'h' or 'l'.
3466 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
3467 for 'p' specifier. Fix code to scan 16 bytes for vector integer
3468 formats that do not specify 'h' or 'l'.
3469
3470 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
3471
3472 2002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
3473
3474 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
3475 (_sbrk): Add cast of return value.
3476
3477 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
3478
3479 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
3480 (_REENT_L64A_BUF): New macro for accessing area.
3481 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
3482 * libc/stdlib/Makefile.in: Regenerated.
3483 * libc/stdlib/a64l.c: New file.
3484 * libc/stdlib/l64a.c: New file.
3485
3486 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
3487
3488 * libc/unix/pread.c: Fix typo for _pread_r.
3489 * libc/unix/pwrite.c: Fix type for _pwrite_r.
3490 * libc/sys/linux/pread64.c: Fix typo for read syscall.
3491 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
3492
3493 2002-05-03 Christopher Faylor <cgf@redhat.com>
3494
3495 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
3496
3497 2002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3498
3499 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
3500
3501 2002-05-01 Christopher Faylor <cgf@redhat.com>
3502
3503 * utmp.h: Define more UNIX constants.
3504
3505 2002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
3506
3507 * Makefile.am: Add support for checking multilibs.
3508
3509 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
3510 (SUBDEFS): Add LIBC_EXTRA_DEF.
3511 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
3512 (LIBC_EXTRA_DEF): Likewise.
3513 (extra_dir): Likewise.
3514 * libc/machine/xscale/machine: New directory.
3515 * libc/machine/xscale/machine/profile.h: New file.
3516
3517 * Makefile.am (site.exp): Remove newlib_cflags. Add
3518 multibuildtop.
3519 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
3520 * testsuite/lib/flags.exp: New file.
3521 * testsuite/lib/newlib.exp: Load flags.exp.
3522 (newlib_target_compile): Remove libgloss directory references.
3523 (newlib_init): Remove newlib_cflags references.
3524
3525 2002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
3526
3527 * testsuite/lib/newlib.exp (newlib_target_compile): Change
3528 method of finding libgloss_target_dir.
3529
3530 * Makefile.am (site.exp): Change host_alias, host_triplet,
3531 target_alias, target_triplet to refer to gcc's host and target
3532 variables (newlib's build and host variables).
3533 * testsuite/lib/newlib.exp (newlib_init): Change build
3534 references to host references, host references to target
3535 references to reflect Makefile.am changes.
3536 (newlib_target_compile): Likewise.
3537 (newlib_finish): Likewise.
3538
3539 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
3540
3541 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
3542
3543 2002-04-29 Jonathan Larmour <jlarmour@redhat.com>
3544
3545 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
3546 (_system): New function. Ditto.
3547 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
3548 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
3549 targets.
3550
3551 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
3552
3553 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
3554 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
3555 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
3556 * libc/sys/linux/Makefile.in: Regenerated.
3557 * libc/unix/Makefile.in: Ditto.
3558 * libc/sys/linux/pread64.c: New file.
3559 * libc/sys/linux/pwrite64.c: Ditto.
3560 * libc/unix/pread.c: Ditto.
3561 * libc/unix/pwrite.c: Ditto.
3562
3563 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
3564
3565 * libc/sys/linux/Makefile.am: Add io64.c.
3566 * libc/sys/linux/Makefile.in: Regenerated.
3567 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
3568 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
3569 * libc/sys/linux/io64.c: New file.
3570
3571 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
3572
3573 * configure.in (CC_FOR_NEWLIB): New variable that
3574 bases on $(CC) and adds targ-include and libc/include as
3575 -isystem directives if they are not already part of $(CC).
3576 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
3577 $(CC_FOR_NEWLIB).
3578 * configure: Regenerated.
3579 * Makefile.in: Ditto.
3580
3581 2002-04-25 Jeff Johnston <jjohnstn@redhat.com>
3582
3583 * libc/sys/linux/Makefile.am: Add support for sched.c.
3584 * libc/sys/linux/Makefile.in: Regenerated.
3585 * libc/sys/linux/sched.c: New file.
3586 * libc/sys/linux/sys/types.h: Add struct timespec.
3587
3588 2002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
3589
3590 * configure.in (CC_FOR_BUILD): Set to gcc whether
3591 cross-compiling or not.
3592 (CC): Add -isystem's for targ-include and libc/include when they
3593 do not already appear in CC.
3594
3595 2002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3596
3597 * Makefile.am (check-DEJAGNU): New target.
3598 (site.exp): Likewise.
3599 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
3600 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
3601 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
3602 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
3603 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
3604 * testsuite: New directory.
3605 * testsuite/config: Likewise.
3606 * testsuite/lib: Likewise.
3607 * testsuite/newlib.locale: Likewise.
3608 * testsuite/newlib.string: Likewise.
3609 * testsuite/config/default.exp: New file.
3610 * testsuite/lib/checkoutput.exp: New file.
3611 * testsuite/lib/newlib.exp: New file.
3612 * testsuite/lib/passfail.exp: New file.
3613 * testsuite/newlib.locale/UTF-8.c: New file.
3614 * testsuite/newlib.locale/UTF-8.exp: New file.
3615 * testsuite/newlib.locale/locale.exp: New file.
3616 * testsuite/newlib.string/string.exp: New file.
3617 * testsuite/newlib.string/tstring.c: New file.
3618
3619 2002-04-23 Jeff Johnston <jjohnstn@redhat.com>
3620
3621 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
3622 * libc/sys/linux/Makefile.am: Add support for mmap.c.
3623 * libc/sys/linux/Makefile.in: Regenerated.
3624 * libc/sys/linux/mmap.c: New file.
3625 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
3626 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
3627
3628 2002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3629
3630 * acinclude.m4 (newlib_cflags): Remove include directories that
3631 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
3632
3633 2002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
3634
3635 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
3636 * libc/machine/xscale/memcmp.c: Ditto.
3637 * libc/machine/xscale/memcpy.c: Ditto.
3638 * libc/machine/xscale/memmove.c: Ditto.
3639 * libc/machine/xscale/memset.c: Ditto.
3640 * libc/machine/xscale/strchr.c: Ditto.
3641 * libc/machine/xscale/strcmp.c: Ditto.
3642 * libc/machine/xscale/strcpy.c: Ditto.
3643 * libc/machine/xscale/strlen.c: Ditto.
3644
3645 2002-04-19 Alexandre Oliva <aoliva@redhat.com>
3646
3647 * libc/include/sys/config.h: Remove include of <limits.h>.
3648 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
3649 define INT_MAX and LONG_MAX. Use them in tests.
3650
3651 2002-04-19 Jeff Johnston <jjohnstn@redhat.com>
3652
3653 * configure.host: Add support for powerpc-eabialtivec*.
3654 * libc/include/malloc.h: Add include of <machine/malloc.h>.
3655 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
3656 * libc/include/machine/malloc.h: New file.
3657 * libc/include/machine/stdlib.h: Ditto.
3658 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
3659 * libc/machine/powerpc/Makefile.am: Add conditional objects and
3660 sources based on configuration.
3661 * libc/machine/powerpc/Makefile.in: Regenerated.
3662 * libc/machine/powerpc/configure: Ditto.
3663 * libc/machine/powerpc/configure.in: Add check for
3664 powerpc-eabialtivec* in which case add in additional source files.
3665 * libc/machine/powerpc/setjmp.S: Add altivec support.
3666 * libc/machine/powerpc/vec_calloc.c: New file.
3667 * libc/machine/powerpc/vec_free.c: Ditto.
3668 * libc/machine/powerpc/vec_malloc.c: Ditto.
3669 * libc/machine/powerpc/vec_mallocr.c: Ditto.
3670 * libc/machine/powerpc/vec_realloc.c: Ditto.
3671 * libc/machine/powerpc/machine/malloc.h: Ditto.
3672 * libc/machine/powerpc/machine/stdlib.h: Ditto.
3673 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
3674 with added altivec format specifiers.
3675 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
3676 added altivec format specifiers.
3677
3678 2002-04-19 Joel Sherrill <joel@OARcorp.com>
3679
3680 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
3681 while autoconf is trying to link main(){}.
3682
3683 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
3684
3685 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
3686 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
3687
3688 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
3689
3690 * libc/time/time.tex: Add tzset info.
3691
3692 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
3693
3694 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
3695 (strptime): Moved prototype to be within !__STRICT_ANSI__.
3696 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
3697 (tzname): Defined for all platforms.
3698 (daylight, timezone): Defined only for CYGWIN.
3699 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
3700 environment set up.
3701 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
3702 environment variable is set.
3703 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
3704 tzset_r.c.
3705 * libc/time/Makefile.in: Regenerated.
3706 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
3707 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
3708 * libc/time/lcltime_r.c (lcltime_r): Ditto.
3709 * libc/time/local.h: New local header file.
3710 * libc/time/mktime.c (mktime): Add timezone support.
3711 * libc/time/mktm_r.c: New file which is the common engine
3712 for gmtime_r and lcltime_r. This code has timezone support.
3713 * libc/time/strftime.c (strftime): Add %Z timezone support.
3714 * libc/time/tzlock.c: New file containing timezone lock stubs.
3715 * libc/time/tzset.c: New file containing tzset() routine.
3716 * libc/time/tzset_r.c: New file containing _tzset_r and
3717 internal routine for calculating timezone changes for specified year.
3718
3719 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
3720
3721 * configure.in (CRT0_DIR): Set to libc/.
3722 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
3723 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
3724 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
3725 $(CRT1_DIR)/$(CRT1).
3726 * libc/machine/xstormy16/Makefile.in: Regenerated.
3727 * libc/machine/xstormy16/aclocal.m4: Regenerated.
3728 * libc/machine/xstormy16/configure: Regenerated.
3729
3730 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
3731
3732 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
3733 fails, don't bail out, and try to correct next time.
3734
3735 * libc/include/sys/config.h: Include limits.h.
3736
3737 2002-04-12 Eric Norum <eric.norum@usask.com>
3738
3739 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
3740 routine to allow autoconf to determine that building executables
3741 for rtems works.
3742 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
3743 (rtems_gxx_mutex_once): Ditto.
3744
3745 2002-04-09 Tom Rix <trix@redhat.com>
3746
3747 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
3748
3749 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
3750
3751 * libc/include/time.h: Fix strptime declaration.
3752 * libc/time/Makefile.am: Add strptime.c.
3753 * libc/time/Makefile.in: Regenerated.
3754 * libc/time/strptime.c: New file.
3755
3756 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
3757
3758 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
3759 siglongjmp prototype, and sigsetjmp macro definition.
3760 * libc/sys/linux/siglongjmp.c: New file.
3761 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
3762 * libc/sys/linux/Makefile.in: Regenerated.
3763
3764 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
3765
3766 * Makefile.am: Add support for installing crt1.o if one exists.
3767 * configure.host: Specify crt1.o for linux.
3768 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
3769 * Makefile.in: Regenerated.
3770 * configure: Ditto.
3771 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
3772 Added for non-Cygwin, non-RTEMS configurations.
3773 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
3774 * libc/sys/linux/Makefile.in: Regenerated.
3775 * libc/sys/linux/crt1.c: New empty file to override one defaulted
3776 by gcc. This fixes problem with reconfiguring linux newlib build.
3777 * libc/sys/linux/sysconf.c: New file.
3778
3779 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
3780
3781 * configure.host: Add support for machine subdirectory of
3782 sys subdirectory.
3783 * configure.in: Add check for sys machine subdirectory.
3784 * Makefile.am: Ditto.
3785 * configure: Regenerated.
3786 * Makefile.in: Ditto.
3787 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
3788 * libc/sys/linux/sys/syscall.h: Ditto.
3789 * libc/sys/linux/sleep.c: New file.
3790 * libc/sys/linux/socket.c: Ditto.
3791 * libc/sys/linux/sockops.h: Ditto.
3792 * libc/sys/linux/stack.c: Ditto.
3793 * libc/sys/linux/usleep.c: Ditto.
3794 * libc/sys/linux/machine/Makefile.am: Ditto.
3795 * libc/sys/linux/machine/Makefile.in: Ditto.
3796 * libc/sys/linux/machine/aclocal.m4: Ditto.
3797 * libc/sys/linux/machine/configure: Ditto.
3798 * libc/sys/linux/machine/configure.in: Ditto.
3799 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
3800 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
3801 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
3802 * libc/sys/linux/machine/i386/configure: Ditto.
3803 * libc/sys/linux/machine/i386/configure.in: Ditto.
3804 * libc/sys/linux/machine/i386/crt0.c: Ditto.
3805 * libc/sys/linux/machine/i386/sigset.c: Ditto.
3806 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
3807 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
3808 * libc/sys/linux/machine/i386/syscall.h: Ditto.
3809 * libc/sys/linux/sys/select.h: Ditto.
3810 * libc/sys/linux/configure.in: Add support for machine directory.
3811 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
3812 * libc/sys/linux/Makefile.in: Regenerated.
3813 * libc/sys/linux/configure: Ditto.
3814 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
3815 * libc/sys/linux/inode.c: Ditto.
3816 * libc/sys/linux/linux.c: Ditto.
3817 * libc/sys/linux/process.c: Ditto.
3818 * libc/sys/linux/systat.c: Ditto.
3819 * libc/sys/linux/time.c: Ditto.
3820 * libc/sys/linux/wait.c: Ditto.
3821 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
3822 * libc/sys/linux/io.c: Change header plus add readv/writev.
3823 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
3824 use __sigsuspend syscall.
3825 * libc/sys/linux/select.c: Change header plus change select to
3826 use _newselect syscall.
3827 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
3828 used by glibc header files.
3829 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
3830 types.
3831
3832 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
3833
3834 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
3835 initializing a struct _reent that has been dynamically allocated.
3836 (_REENT_CHECK_MISC): New macro that checks _misc struct for
3837 _REENT_SMALL and does nothing otherwise.
3838 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
3839 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
3840 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
3841 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
3842 [_REENT_SMALL](struct _misc_reent): New structure containing
3843 miscellaneous reentrant areas needed by newlib.
3844 [_REENT_SMALL](struct _reent): Add _misc pointer.
3845 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
3846 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
3847 and _REENT_STRTOK_LAST macros.
3848 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
3849 and _REENT_MBLEN_STATE macros.
3850 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
3851 and _REENT_MBTOWC_STATE macros.
3852 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
3853 and _REENT_WCTOMB_STATE macros.
3854
3855 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
3856
3857 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
3858
3859 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
3860
3861 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
3862
3863 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
3864
3865 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
3866 Store high part of leading bytes too.
3867
3868 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
3869
3870 * libm/math/ef_hypot.c: Increase scale factor to 68.
3871
3872 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
3873
3874 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
3875 error.
3876
3877 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
3878
3879 * libc/sys/go32/access.c: Change license to relaxed license
3880 used in identical file throughout newlib/libgloss.
3881
3882 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
3883
3884 * libc/sys/arm/access.c: New file.
3885 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
3886 * libc/sys/arm/Makefile.in: Regenerate.
3887 * libc/sys/arm/syscalls.c (_stat): New function.
3888
3889 2002-03-11 Michael Meissner <meissner@redhat.com>
3890
3891 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
3892 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
3893 * libc/machine/mips/Makefile.in: Regenerate.
3894 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
3895 * libc/machine/mips/memset.c: Dito.
3896 * libc/machine/mips/strcmp.c: Dito.
3897 * libc/machine/mips/strlen.c: Dito.
3898 * libc/machine/mips/strncmp.c: Dito.
3899
3900 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
3901
3902 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
3903 object so it works for shared library or statici library.
3904 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
3905
3906 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
3907 (strptime): Moved prototype to be within !__STRICT_ANSI__.
3908 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
3909 (tzname): Defined for all platforms.
3910 (daylight, timezone): Defined only for CYGWIN.
3911 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
3912 environment set up.
3913 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
3914 environment variable is set.
3915 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
3916 tzset_r.c.
3917 * libc/time/Makefile.in: Regenerated.
3918 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
3919 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
3920 * libc/time/lcltime_r.c (lcltime_r): Ditto.
3921 * libc/time/local.h: New local header file.
3922 * libc/time/mktime.c (mktime): Add timezone support.
3923 * libc/time/mktm_r.c: New file which is the common engine
3924 for gmtime_r and lcltime_r. This code has timezone support.
3925 * libc/time/strftime.c (strftime): Add %Z timezone support.
3926 * libc/time/tzlock.c: New file containing timezone lock stubs.
3927 * libc/time/tzset.c: New file containing tzset() routine.
3928 * libc/time/tzset_r.c: New file containing _tzset_r and
3929 internal routine for calculating timezone changes for specified year.
3930
3931 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
3932
3933 * configure.in (CRT0_DIR): Set to libc/.
3934 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
3935 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
3936 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
3937 $(CRT1_DIR)/$(CRT1).
3938 * libc/machine/xstormy16/Makefile.in: Regenerated.
3939 * libc/machine/xstormy16/aclocal.m4: Regenerated.
3940 * libc/machine/xstormy16/configure: Regenerated.
3941
3942 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
3943
3944 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
3945 fails, don't bail out, and try to correct next time.
3946
3947 * libc/include/sys/config.h: Include limits.h.
3948
3949 2002-04-12 Eric Norum <eric.norum@usask.com>
3950
3951 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
3952 routine to allow autoconf to determine that building executables
3953 for rtems works.
3954 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
3955 (rtems_gxx_mutex_once): Ditto.
3956
3957 2002-04-09 Tom Rix <trix@redhat.com>
3958
3959 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
3960
3961 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
3962
3963 * libc/include/time.h: Fix strptime declaration.
3964 * libc/time/Makefile.am: Add strptime.c.
3965 * libc/time/Makefile.in: Regenerated.
3966 * libc/time/strptime.c: New file.
3967
3968 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
3969
3970 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
3971 siglongjmp prototype, and sigsetjmp macro definition.
3972 * libc/sys/linux/siglongjmp.c: New file.
3973 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
3974 * libc/sys/linux/Makefile.in: Regenerated.
3975
3976 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
3977
3978 * Makefile.am: Add support for installing crt1.o if one exists.
3979 * configure.host: Specify crt1.o for linux.
3980 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
3981 * Makefile.in: Regenerated.
3982 * configure: Ditto.
3983 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
3984 Added for non-Cygwin, non-RTEMS configurations.
3985 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
3986 * libc/sys/linux/Makefile.in: Regenerated.
3987 * libc/sys/linux/crt1.c: New empty file to override one defaulted
3988 by gcc. This fixes problem with reconfiguring linux newlib build.
3989 * libc/sys/linux/sysconf.c: New file.
3990
3991 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
3992
3993 * configure.host: Add support for machine subdirectory of
3994 sys subdirectory.
3995 * configure.in: Add check for sys machine subdirectory.
3996 * Makefile.am: Ditto.
3997 * configure: Regenerated.
3998 * Makefile.in: Ditto.
3999 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
4000 * libc/sys/linux/sys/syscall.h: Ditto.
4001 * libc/sys/linux/sleep.c: New file.
4002 * libc/sys/linux/socket.c: Ditto.
4003 * libc/sys/linux/sockops.h: Ditto.
4004 * libc/sys/linux/stack.c: Ditto.
4005 * libc/sys/linux/usleep.c: Ditto.
4006 * libc/sys/linux/machine/Makefile.am: Ditto.
4007 * libc/sys/linux/machine/Makefile.in: Ditto.
4008 * libc/sys/linux/machine/aclocal.m4: Ditto.
4009 * libc/sys/linux/machine/configure: Ditto.
4010 * libc/sys/linux/machine/configure.in: Ditto.
4011 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
4012 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
4013 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
4014 * libc/sys/linux/machine/i386/configure: Ditto.
4015 * libc/sys/linux/machine/i386/configure.in: Ditto.
4016 * libc/sys/linux/machine/i386/crt0.c: Ditto.
4017 * libc/sys/linux/machine/i386/sigset.c: Ditto.
4018 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
4019 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
4020 * libc/sys/linux/machine/i386/syscall.h: Ditto.
4021 * libc/sys/linux/sys/select.h: Ditto.
4022 * libc/sys/linux/configure.in: Add support for machine directory.
4023 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
4024 * libc/sys/linux/Makefile.in: Regenerated.
4025 * libc/sys/linux/configure: Ditto.
4026 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
4027 * libc/sys/linux/inode.c: Ditto.
4028 * libc/sys/linux/linux.c: Ditto.
4029 * libc/sys/linux/process.c: Ditto.
4030 * libc/sys/linux/systat.c: Ditto.
4031 * libc/sys/linux/time.c: Ditto.
4032 * libc/sys/linux/wait.c: Ditto.
4033 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
4034 * libc/sys/linux/io.c: Change header plus add readv/writev.
4035 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
4036 use __sigsuspend syscall.
4037 * libc/sys/linux/select.c: Change header plus change select to
4038 use _newselect syscall.
4039 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
4040 used by glibc header files.
4041 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
4042 types.
4043
4044 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
4045
4046 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
4047 initializing a struct _reent that has been dynamically allocated.
4048 (_REENT_CHECK_MISC): New macro that checks _misc struct for
4049 _REENT_SMALL and does nothing otherwise.
4050 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
4051 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
4052 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
4053 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
4054 [_REENT_SMALL](struct _misc_reent): New structure containing
4055 miscellaneous reentrant areas needed by newlib.
4056 [_REENT_SMALL](struct _reent): Add _misc pointer.
4057 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
4058 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
4059 and _REENT_STRTOK_LAST macros.
4060 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
4061 and _REENT_MBLEN_STATE macros.
4062 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
4063 and _REENT_MBTOWC_STATE macros.
4064 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
4065 and _REENT_WCTOMB_STATE macros.
4066
4067 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
4068
4069 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
4070
4071 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
4072
4073 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
4074
4075 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
4076
4077 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
4078 Store high part of leading bytes too.
4079
4080 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
4081
4082 * libm/math/ef_hypot.c: Increase scale factor to 68.
4083
4084 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
4085
4086 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
4087 error.
4088
4089 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
4090
4091 * libc/sys/go32/access.c: Change license to relaxed license
4092 used in identical file throughout newlib/libgloss.
4093
4094 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
4095
4096 * libc/sys/arm/access.c: New file.
4097 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
4098 * libc/sys/arm/Makefile.in: Regenerate.
4099 * libc/sys/arm/syscalls.c (_stat): New function.
4100
4101 2002-03-11 Michael Meissner <meissner@redhat.com>
4102
4103 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
4104 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
4105 * libc/machine/mips/Makefile.in: Regenerate.
4106 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
4107 * libc/machine/mips/memset.c: Dito.
4108 * libc/machine/mips/strcmp.c: Dito.
4109 * libc/machine/mips/strlen.c: Dito.
4110 * libc/machine/mips/strncmp.c: Dito.
4111
4112 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
4113
4114 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
4115 object so it works for shared library or statici library.
4116 * libc/machine/i386/Makefile.in: Regenerated.
4117
4118 Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
4119
4120 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
4121 Add memcpy.S, memset.S and strcpy.S.
4122 * libc/machine/sh/Makefile.in: Regenerate.
4123 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
4124 (SHHI, SHLO): Define.
4125 * libc/machine/sh/memset.S: Add code for SH5.
4126 * libc/machine/sh/memset.S: Likewise.
4127 * libc/machine/sh/strcpy.S: Likewise.
4128
4129 2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
4130
4131 * configure.host: Add check for --disable-newlib-io-float
4132 configuration option and add -DNO_FLOATING_POINT to newlib cflags
4133 if appropriate.
4134 * acinclude.m4: Added --disable-newlib-io-float option.
4135 * aclocal.m4: Regenerated.
4136 * configure: Ditto.
4137 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
4138 * libc/*/aclocal.m4 libc/*/configure
4139 * libm/*/aclocal.m4 libm/*/configure: Ditto.
4140 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
4141 if NO_FLOATING_POINT flag is not defined.
4142
4143 2002-02-25 Jeff Johnston <jjohnstn@redhat.com>
4144
4145 * libc/include/sys/config.h: Add __extension__ in front of
4146 long long references.
4147
4148 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
4149
4150 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
4151 (_stat): Ditto.
4152
4153 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
4154
4155 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
4156 of off_t.
4157
4158 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
4159
4160 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
4161 clobbered registers.
4162
4163 2002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
4164
4165 * configure.host (newlib_cflags): When host is in m68* add
4166 -DCOMPACT_CTYPE.
4167
4168 2002-02-15 Jeff Johnston <jjohnstn@redhat.com>
4169
4170 * libc/include/sys/config.h: Add definitions for
4171 __int16_t, __uint16_t, __int64_t, and __uint64_t.
4172
4173 2002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
4174
4175 * libc/sys/mmixware/link.c: New.
4176 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
4177 volatile.
4178 * libc/sys/mmixware/times.c (_times): Renamed from times.
4179 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
4180 properly by reading previous contents, not through BinaryReadWrite.
4181 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
4182 * libc/sys/mmixware/Makefile.in: Regenerate.
4183
4184 2002-02-10 Corinna Vinschen <corinna@vinschen.de>
4185
4186 * libc/include/grp.h: Don't declare group functions when compiling
4187 Cygwin.
4188
4189 2002-02-09 Corinna Vinschen <corinna@vinschen.de>
4190
4191 * libc/include/grp.h: Include Cygwin specific header.
4192 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
4193 when compiling for Cygwin.
4194 * libc/include/sys/types.h: Don't define off_t, uid_t
4195 and gid_t when compiling for Cygwin.
4196
4197 2002-02-08 matthew green <mrg@redhat.com>
4198
4199 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
4200 _REENT_EMERGENCY_SIZE, not sizeof(char *).
4201
4202 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
4203
4204 Contribute sh64-elf.
4205 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
4206 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
4207 support in printf.
4208 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
4209 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
4210 any labels.
4211 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
4212 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
4213 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
4214 * libc/machine/sh/configure.in: Rework conditionals.
4215 * libc/machine/sh/Makefile.am: Likewise.
4216 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
4217 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
4218 * configure.host: Match `sh*'.
4219 * libc/include/machine/setjmp.h: Define for SH5.
4220 * libc/machine/sh/configure.in: Detect SH5.
4221 * libc/machine/sh/configure: Rebuilt.
4222 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
4223 * libc/machine/sh/Makefile.in: Rebuilt.
4224 * libc/machine/sh/asm.h: Adjust for SH5.
4225 * libc/machine/sh/setjmp.S: Implement in SHmedia.
4226 * libc/sys/sh/crt0.S: Likewise.
4227 * libc/sys/sh/trap.S: Likewise.
4228
4229 2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
4230
4231 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
4232 (mach_add_obj): Conditionally set to setjmp.o or nothing.
4233 (LIB_SOURCES): Remove $(mach_add_src).
4234 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
4235 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
4236 * libc/machine/i386/Makefile.in: Regenerate.
4237
4238 2002-02-05 Manik Raina <manik@cisco.com>
4239
4240 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
4241 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
4242 s, p, k, and outstr.
4243 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
4244
4245 2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
4246
4247 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
4248 _REENT_CHECK_EMERGENCY macro.
4249
4250 2002-02-03 matthew green <mrg@redhat.com>
4251
4252 * libc/reent/signgam.c (__signgam): Fix error in previous.
4253
4254 2002-02-02 matthew green <mrg@redhat.com>
4255
4256 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
4257
4258 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
4259 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
4260 * libc/include/sys/reent.h (struct _reent): Completely new version
4261 for _REENT_SMALL.
4262 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
4263 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
4264 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
4265 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
4266 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
4267 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
4268 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
4269 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
4270 (_REENT_EMERGENCY): Likewise.
4271
4272 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
4273 the start of the real __sFILE, used for stdin, stdout and stderr until
4274 they are setup properly.
4275 (struct __sFILE): Move location of _data in _REENT_SMALL case.
4276 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
4277 allocated stdin, stdout and stderr.
4278 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
4279 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
4280 * libc/stdio/perror.c (_perror_r): Likewise.
4281 * libc/stdio/printf.c (printf, _printf_r): Likewise.
4282 * libc/stdio/putchar.c (_putchar_r): Likewise.
4283 * libc/stdio/puts.c (_puts_r): Likewise.
4284 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
4285 * libc/stdio/vprintf.c (vprintf): Likewise.
4286 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
4287
4288 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
4289
4290 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
4291 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
4292 for _REENT_SMALL.
4293 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
4294 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
4295
4296 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
4297 _REENT_SMALL.
4298 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
4299 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
4300 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
4301 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
4302 * libc/stdlib/rand48.c (__dorand48): Likewise.
4303 * libc/stdlib/seed48.c (_seed48_r): Likewise.
4304 * libc/stdlib/srand48.c (_srand48_r): Likewise.
4305 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
4306 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
4307 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
4308 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
4309 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
4310 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
4311 * libc/stdlib/rand.c (rand): Likewise.
4312
4313 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
4314 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
4315
4316 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
4317 _REENT_MP_FREELIST() and _REENT_MP_P5S.
4318 * libc/include/sys/reent.h (struct _mprec): New structure.
4319
4320 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
4321 _unused_strtok_last.
4322 * libc/string/strtok.c (strtok): Use a local static variable.
4323
4324 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
4325 (_REENT_EMERGENCY_SIZE): Likewise.
4326 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
4327 _REENT_ASCTIME_BUF().
4328 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
4329 _REENT_TM().
4330
4331 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
4332 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
4333 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
4334 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
4335 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
4336 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
4337
4338 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
4339
4340 * configure.host (xstormy16): Don't use the generic malloc.
4341 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
4342 * libc/machine/xstormy16/Makefile.in: Regenerate.
4343 * libc/machine/xstormy16/mallocr.c: New file.
4344 * libc/machine/xstormy16/tiny-malloc.c: New file.
4345
4346 2002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
4347
4348 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
4349 when _CYGWIN_TYPES_H is not defined.
4350
4351 2002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
4352
4353 * libc/include/sys/signal.h: Revert 2002-01-23 change.
4354
4355 2002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
4356
4357 * libc/include/sys/signal.h: Remove pthread_kill declaration
4358 when __CYGWIN__ is defined.
4359
4360 2002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
4361
4362 * libc/include/time.h: Add prototype for strptime for Cygwin.
4363
4364 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
4365
4366 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
4367 dst was not word aligned.
4368
4369 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
4370 if too much memory is requested.
4371
4372 2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
4373
4374 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
4375 reads blanks from the input file to break if EOF reached
4376 rather than end processing.
4377
4378 2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
4379
4380 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
4381
4382 2002-01-07 Alan Matsuoka <alanm@redhat.com>
4383
4384 * libc/include/machine/ieeefp.h: Configure d10v doubles to
4385 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
4386 libc/include/sys/config.h: Ditto.
4387
4388 2001-12-28 Corinna Vinschen <corinna@vinschen.de>
4389
4390 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
4391
4392 2001-12-22 Geoffrey Keating <geoffk@redhat.com>
4393 Catherine Moore <clm@redhat.com>
4394 Richard Henderson <rth@redhat.com>
4395 Corinna Vinschen <vinschen@redhat.com>
4396
4397 * configure.host: Add support for xstormy16.
4398 * libc/include/machine/ieeefp.h: Add support for xstormy16.
4399 * libc/include/machine/setjmp.h: Add support for xstormy16.
4400 * libc/include/sys/config.h: Add support for xstormy16.
4401 * libc/machine/xstormy16/Makefile.am: New file.
4402 * libc/machine/xstormy16/Makefile.in: New file.
4403 * libc/machine/xstormy16/aclocal.m4: New file.
4404 * libc/machine/xstormy16/configure: New file.
4405 * libc/machine/xstormy16/configure.in: New file.
4406 * libc/machine/xstormy16/setjmp.S: New file.
4407
4408 2001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
4409
4410 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
4411 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
4412
4413 2001-12-19 Corinna Vinschen <corinna@vinschen.de>
4414
4415 * libm/machine/Makefile.am: Change rules to create correct lib.a.
4416 * libm/machine/Makefile.in: Regenerated through automake.
4417
4418 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
4419
4420 * Makefile.am (DOCDIR): Force to empty string when doc
4421 directory is not present.
4422
4423 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
4424
4425 * libc/machine/i386/f_*: Move to libm/machine/i386.
4426
4427 2001-12-18 Joel Sherrill <joel@OARcorp.com>
4428
4429 * libm/machine/Makefile.am: Add dummy doc stub so
4430 "make info" works.
4431
4432 2001-12-17 Joel Sherrill <joel@OARcorp.com>
4433
4434 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
4435
4436 2001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
4437
4438 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
4439 $(COMPILE) rather than $(CC).
4440 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
4441 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
4442 $(LIB_COMPILE) change.
4443 (vfiprintf.$(oext)): Likewise.
4444
4445 2001-12-17 Corinna Vinschen <vinschen@redhat.de>
4446
4447 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
4448 conditionalized including of getopt stuff.
4449
4450 2001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
4451
4452 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
4453 compile line.
4454 (vfiprintf.$(oext)): Likewise.
4455
4456 2001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
4457
4458 * Makefile.shared: New file.
4459 * libc/sys/linux/shared.ld: New file.
4460 * libm/machine/*: New files.
4461 * libm/machine/i386/*: New files.
4462 * Makefile.am: Add libtool support. Change math and mathfp
4463 references to variables.
4464 * configure.host: Add variables for libtool support. Add
4465 libm_machine_dir variable.
4466 * configure.in: Add objectlist variables, for libtool
4467 support. Add CC_FOR_BUILD tests.
4468 * libc/Makefile.am: Add libtool support. Change crt0.o
4469 reference to be a variable reference.
4470 * libc/configure.in: Add libtool support. Change sublib
4471 names to be lib${subdir}.la when using libtool.
4472 * libc/ctype/Makefile.am: Add libtool support.
4473 * libc/errno/Makefile.am: Likewise.
4474 * libc/locale/Makefile.am: Likewise.
4475 * libc/machine/Makefile.am: Likewise.
4476 * libc/machine/configure.in: Likewise.
4477 * libc/machine/i386/Makefile.am: Likewise.
4478 * libc/machine/i386/configure.in: Likewise.
4479 * libc/misc/Makefile.am: Likewise.
4480 * libc/posix/Makefile.am: Likewise.
4481 * libc/reent/Makefile.am: Likewise.
4482 * libc/signal/Makefile.am: Likewise.
4483 * libc/stdio/Makefile.am: Likewise.
4484 * libc/stdlib/Makefile.am: Likewise.
4485 * libc/string/Makefile.am: Likewise.
4486 * libc/sys/Makefile.am: Likewise.
4487 * libc/sys/configure.in: Likewise.
4488 * libc/sys/linux/Makefile.am: Add libtool support. Change
4489 awk reference to a variable reference. Change signal.h
4490 reference to a variable reference.
4491 * libc/sys/linux/configure.in: Add libtool support.
4492 * libc/syscalls/Makefile.am: Likewise.
4493 * libc/time/Makefile.am: Likewise.
4494 * libc/unix/Makefile.am: Likewise.
4495 * libm/Makefile.am: Add libtool support. Change math and
4496 mathfp references to variables.
4497 * libm/configure.in: Add libtool support. Add
4498 LIBM_MACHINE_LIB variable.
4499 * libm/common/Makefile.am: Add libtool support.
4500 * libm/math/Makefile.am: Likewise.
4501 * libm/mathfp/Makefile.am: Likewise.
4502 Regenerate all Makefile.in, aclocal.m4, and configure.
4503
4504 2001-12-13 Anita Kulkarni <anitak@kpit.com>
4505
4506 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
4507
4508 2001-12-06 John Peacock <jpeacock@rowman.com>
4509
4510 * libc/include/sys/unistd.h: Correct ualarm declaration.
4511
4512 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
4513
4514 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
4515 vector before calling the initialisation functions.
4516
4517 2001-11-29 Christopher Faylor <cgf@redhat.com>
4518
4519 * libc/include/dirent.h: Protect against multiple inclusion.
4520
4521 2001-11-27 Christopher Faylor <cgf@redhat.com>
4522
4523 * libc/include/sys/types.h: Define useconds_t.
4524 * libc/include/sys/ulimit.h: Declare ualarm.
4525
4526 2001-11-21 Christopher Faylor <cgf@redhat.com>
4527
4528 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
4529
4530 2001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
4531
4532 * libc/sys/mmixware/*: Tweak license header in all source files.
4533
4534 2001-11-12 Corinna Vinschen <vinschen@redhat.com>
4535
4536 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
4537 to here. Rearrange for general inclusion by stdlib.h.
4538 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
4539 isn't defined.
4540 * libc/sys/linux/include/alloca.h: Move to libc/include.
4541
4542 2001-11-12 Anthony Green <green@redhat.com>
4543
4544 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
4545
4546 2001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
4547
4548 * libc/sys/mmixware/*: Correct spacing in all source files.
4549 * libc/sys/mmixware/syscall.h: Move misplaced file...
4550 * libc/sys/mmixware/sys/syscall.h: ...here.
4551
4552 2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
4553
4554 * libc/include/machine/ieeefp.h: Add support for mmix target.
4555 * libc/include/machine/setjmp.h: Ditto.
4556 * configure.host: Ditto.
4557 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
4558 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
4559 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
4560 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
4561 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
4562 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
4563 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
4564 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
4565 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
4566 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
4567 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
4568 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
4569 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
4570 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
4571 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
4572 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
4573 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
4574 libc/sys/mmixware/aclocal.m4: Generate.
4575
4576 2001-11-05 Corinna Vinschen <corinna@vinschen.de>
4577
4578 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
4579 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
4580 when __CYGWIN__ is defined.
4581 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
4582 logwtmp().
4583
4584 2001-11-01 Arati Dikey <aratidikey@hotmail.com>
4585
4586 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
4587 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
4588 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
4589 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
4590
4591 2001-10-24 Christopher Faylor <cgf@redhat.com>
4592
4593 * libc/stdio/fseek.c: Reset pointer to buffer base
4594 when forced to seek outside of current buffer contents.
4595 This prevents the code from erroneously thinking there is
4596 anything in the current buffer.
4597
4598 2001-10-22 Geoffrey Keating <geoffk@redhat.com>
4599
4600 * libc/include/math.h: The C++ standard adds the single-precision
4601 versions of the elementary functions.
4602
4603 2001-10-22 Christopher Faylor <cgf@redhat.com>
4604
4605 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
4606 throughout.
4607 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
4608 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
4609 * system.c (_system_r): Ditto.
4610
4611 2001-10-17 Corinna Vinschen <corinna@vinschen.de>
4612
4613 * libc/include/sys/unistd.h: Add prototype for fchdir() when
4614 __CYGWIN__ or __rtems__ is defined.
4615
4616 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
4617
4618 * libc/include/stdlib.h: add declarations for
4619 _strtoull_r, _strtoll_r, strtoull, and strtoll.
4620 * libc/stdio/local.h: remove declarations of
4621 __strtoull_r and __strtoll_r.
4622 * libc/stdio/vfscanf.c(__svfscanf_r): call
4623 _strtoull_r instead of __strtoull_r. Ditto
4624 _strtoll_r vs. __strtoll_r.
4625 * libc/stdlib/Makefile.am: add new files to
4626 .c list and .def list
4627 * libc/stdlib/Makefile.in: regenerate
4628 * libc/stdlib/strtoll_r.c: rename __strtoll_r
4629 as _strtoll_r
4630 * libc/stdlib/strtoull_r.c: rename __strtoull_r
4631 as _strtoull_r
4632 * libc/stdlib/strtoull.c: new file
4633 * libc/stdlib/strtoll.c: new file
4634
4635 Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
4636
4637 * libc/include/process.h: Add getpid() declaration.
4638
4639 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
4640
4641 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
4642 for new style arm/elf ctor/dtor handling.
4643 Minor formatting tidy up.
4644
4645 2001-09-13 Jeff Johnston <jjohnstn@redhat.com>
4646
4647 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
4648 and strtoull_r.c.
4649 * libc/stdlib/Makefile.in: Regenerated.
4650 * libc/stdlib/strtoll_r.c: New file.
4651 * libc/stdlib/strtoull_r.c: New file.
4652 * libc/stdio/local.h: Add prototypes for long long string
4653 conversion routines.
4654 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
4655 tied to %L integer conversion specifier.
4656
4657 Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
4658
4659 * strftime.c (strftime): Fix "%W" implementation to properly handle
4660 Mondays too.
4661
4662 2001-09-07 Jeff Law <law@redhat.com>
4663
4664 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
4665 __fini with "mov.l" instead of "mov.w".
4666
4667 2001-09-05 Corinna Vinschen <corinna@vinschen.de>
4668
4669 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
4670 and getopt.h.
4671
4672 2001-09-04 Jason Merrill <jason_merrill@redhat.com>
4673
4674 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
4675
4676 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
4677
4678 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
4679 field.
4680 (__DIRENT_VERSION): New define.
4681
4682 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
4683
4684 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4685 Shrink __d_reserved accordingly to keep structure size.
4686 (dirfd): Declare external.
4687
4688 2001-08-29 Joel Sherrill <joel@OARcorp.com>
4689
4690 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
4691
4692 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
4693
4694 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
4695 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
4696 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
4697 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
4698 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
4699 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
4700 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
4701 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
4702 Add conditional compilation to avoid HW FPU instructions
4703 when compiled for soft-float.
4704
4705 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
4706
4707 * Makefile.am: Add check for ln failing when creating libg.a
4708 so that cp gets used as a backup.
4709 * Makefile.in: Regenerated.
4710
4711 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
4712
4713 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
4714 No longer include time.h. Add struct __tm to use for
4715 _localtime_buf in the reentrant structure. Add a
4716 _NULL definition to use in initializing the reentrant struct.
4717 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
4718 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
4719 <sys/_types.h>.
4720 * libc/include/sys/unistd.h: Include <sys/_types.h>.
4721 * libc/time/lcltime.c (localtime): Cast the reentrant struct
4722 _localtime_buf to be struct tm *.
4723
4724 Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
4725
4726 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
4727 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
4728 __ctors_end.
4729 * libc/sys/h8300hms/syscalls.c: Include errno.h.
4730 (_unlink): New stub function.
4731
4732 Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
4733
4734 * libc/include/sys/errno.h: Add a cautionary comment.
4735
4736 2001-08-21 Jeff Johnston <jjohnstn@redhat.com>
4737
4738 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
4739 for SIZE_SZ so that alignment ends up a minimum of 8.
4740
4741 Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
4742
4743 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
4744 arguments.
4745
4746 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
4747 Cygwin.
4748
4749 2001-08-13 Jeff Johnston <jjohnstn@redhat.com>
4750
4751 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
4752 macro constants for mallopt options.
4753 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
4754
4755 2001-08-02 Jeff Johnston <jjohnstn@redhat.com>
4756
4757 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
4758 otherwise default.
4759
4760 2001-07-12 Aldy Hernandez <aldyh@redhat.com>
4761
4762 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
4763
4764 2001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
4765
4766 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
4767 Define for little endian ARMs.
4768
4769 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
4770 __IEEE_BYTES_LITTLE_ENDIAN is defined.
4771
4772 2001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
4773
4774 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
4775
4776 2001-06-11 Egor Duda <deo@logos-m.ru>
4777
4778 * libc/ctype/ctype_.c: When compiled with gcc on platforms
4779 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
4780 initialized memory region. Platform can define COMPACT_CTYPE
4781 to avoid allocation of the additional 128 bytes of data.
4782 Add pointer to _ctype_ array. Always initialize all _ctype_
4783 array elements.
4784
4785 2001-06-08 Jonathan Larmour <jlarmour@redhat.com>
4786
4787 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
4788 NULL pointer.
4789
4790 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
4791
4792 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
4793
4794 2001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
4795
4796 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
4797 matching, non-word alignment, and the length is <= 4 but more than
4798 enough to move them over a word boundary.
4799 Add comments explaining what each instruction does.
4800
4801 Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
4802
4803 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
4804 * libc/include/sys/unistd.h: Ditto.
4805
4806 2001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
4807
4808 * libc/string/strrchr.c: Use strchr for the speed improvements.
4809
4810 2001-05-01 Jeff Johnston <jjohnstn@redhat.com>
4811
4812 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
4813 real file systems, let __smakebuf() determine if line buffering
4814 should be used for stdout.
4815
4816 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
4817
4818 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
4819
4820 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
4821
4822 * libc/include/stdlib.h: Add prototype for _strtod_r.
4823
4824 2001-04-24 Charles Wilson <cwilson@ece.gatech.edu
4825
4826 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
4827 * libc/stdio/vprintf.c (_vprintf_r): new function
4828 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
4829 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
4830 _DEFUN, and call _vfprintf_r, not vfprintf.
4831 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
4832 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
4833 _DEFUN, and call _vfprintf_r, not vfprintf.
4834
4835 2001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
4836
4837 * libc/include/sys/unistd.h [X_OK]: Use better protection against
4838 Cygwin X_OK definitions in sys/file.h.
4839
4840 Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
4841
4842 * libc/include/sys/time.h: Define timercmp and other macros for
4843 __CYGWIN__, too.
4844
4845 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
4846
4847 * acinclude.m4: Added --enable-malloc-debugging configure flag.
4848 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
4849 --enable-malloc-debugging selected.
4850 * aclocal.m4 configure: Regenerated.
4851 libm/aclocal.m4 libm/configure: Ditto.
4852 * libc/aclocal.m4 libc/configure: Ditto.
4853 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
4854 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
4855 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
4856 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
4857 * doc/aclocal.m4 doc/configure: Ditto.
4858
4859 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
4860
4861 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
4862 into one list.
4863 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
4864 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
4865 function prototypes.
4866 (_fscanf_r, _sscanf_r): Ditto.
4867 * libc/include/stdlib.h: Added _strtod_r prototype.
4868 * libc/stdio/Makefile.am: Add new v*scanf functions.
4869 * libc/stdio/Makefile.in: Regenerate.
4870 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
4871 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
4872 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
4873 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
4874 (sscanf): Changed to call __svfscanf_r with _REENT argument.
4875 (_sscanf_r): New routine.
4876 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
4877 with __svfscanf_r prototype.
4878 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
4879 routines.
4880 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
4881 structure as argument as calls reentrant versions of helper functions
4882 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
4883 to _strtol_r and _strtod_r respectively.
4884 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
4885 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
4886 _REENT argument.
4887 * libc/stdio/vscanf.c: New file.
4888 * libc/stdio/vsscanf.c: Ditto.
4889
4890 2001-04-19 Robert Collins <rbtcollins@hotmail.com>
4891
4892 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
4893 Define daylight to _daylight if it is not defined
4894 Prepare a variable export of timezone based on timezonevariable.
4895 (Cannot be used with the timezone() function.)
4896
4897 2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
4898
4899 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
4900 Correct the numerical values.
4901
4902 2001-04-13 Robert Collins <rbtcollins@hotmail.com>
4903
4904 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
4905
4906 Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
4907
4908 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
4909 on case insensitve file systems.
4910
4911 2001-04-12 Robert Collins <rbtcollins@hotmail.com>
4912
4913 * libc/include/sys/features.h: Add appropriate defines for Cygwin
4914 pthread support.
4915 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
4916 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
4917 types. Include <cygwin/types.h> for the cygwin specific typedefs.
4918
4919 2001-04-04 Richard Sandiford <rsandifo@redhat.com>
4920
4921 * libc/include/machine/ieeefp.h: Comment about new configuration
4922 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
4923 * libm/common/fdlib.h: Define new macros for testing floats.
4924 * libm/common/sf_*: Use them.
4925 * libm/math/ef_*: Likewise.
4926 * libm/math/sf_*: Likewise.
4927
4928 2001-03-29 Jeff Johnston <jjohnstn@redhat.com>
4929
4930 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
4931 prolog to by-pass possible assembler error.
4932
4933 2001-03-21 Egor Duda <deo@logos-m.ru>
4934
4935 Allow building internal stubs for non-reentrant syscalls
4936 if target provides its own malloc
4937 * libc/reent/reent.c (errno): Move definition here.
4938 * libc/reent/sbrkr.c: From here.
4939
4940 2001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
4941
4942 * libc/include/sys/types.h (BSD int typedefs): Guard with
4943 _BSDTYPES_DEFINED rather than _WINSOCK_H.
4944 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
4945 _SYS_TYPES_FD_SET.
4946 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
4947 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
4948
4949 Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
4950
4951 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
4952 _PC_POSIX_SECURITY constants for Cygwin.
4953
4954 Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
4955
4956 * libc/sys/cygwin/crt0.c: Add copyright hint.
4957 * libc/sys/cygwin/sys/dirent.h: Ditto.
4958 * libc/sys/cygwin/sys/param.h: Ditto.
4959 * libc/sys/cygwin/sys/utime.h: Ditto.
4960 * libc/sys/cygwin/sys/utmp.h: Ditto.
4961
4962 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
4963
4964 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
4965 equivalent to LONGINT.
4966
4967 2001-03-08 Richard Sandiford <rsandifo@redhat.com>
4968
4969 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
4970 jmpbuf on MIPS64 targets.
4971 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
4972
4973 Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
4974
4975 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
4976 declarations.
4977
4978 Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
4979
4980 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
4981 For RTEMS, define to be ssize_t. Default to int if not defined.
4982 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
4983 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
4984 * libc/stdio/local.h (__sread, __swrite): Likewise.
4985 * libc/include/sys/reent.h (_read, _write): Likewise.
4986 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
4987 * libc/syscalls/sysread.c (read): Likewise.
4988 * libc/syscalls/syswrite.c (write): Likewise.
4989
4990 2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
4991
4992 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
4993
4994 Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
4995
4996 * libc/include/sys/stat.h: Use special defines for executable stat bits
4997 when compiling for Cygwin.
4998 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
4999 for Cygwin.
5000
5001 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
5002
5003 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
5004 of strtok_r is always defined.
5005
5006 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
5007
5008 * libc/include/machine/ansi.h: New dummy header file.
5009
5010 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
5011
5012 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
5013 changed the copyright information to allow free modification of the
5014 file with no reference to "copying.dj".
5015 * libc/include/sys/stat-dj.h: Ditto.
5016 * libc/machine/i386/setjmp.S: Ditto.
5017 * libc/sys/h8300hms/sys/file.h: Ditto.
5018 * libc/sys/sysmec/access.c: Ditto.
5019 * libc/sys/sysnecv850/access.c: Ditto.
5020 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
5021 * libc/stdlib/getenv_r.c: Ditto.
5022 * libc/stdlib/putenv_r.c: Ditto.
5023 * libc/stdlib/setenv_r.c: Ditto.
5024 * libc/stdlib/getenv.c: Removed DJ reference since any possible
5025 modifications will now be in the _r version of this file.
5026 * libc/stdlib/putenv.c: Ditto.
5027 * libc/stdlib/setenv.c: Ditto.
5028 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
5029 valid. Added a reference to DJ's web page that contains his address.
5030 * libc/sys/go32/*.s: Removed references to DJ's old address.
5031 * libc/sys/go32/*.c: Ditto.
5032 * libc/sys/go32/*.h: Ditto.
5033 * libc/sys/go32/*.S: Ditto.
5034 * libc/sys/go32/sys/*.h: Ditto.
5035
5036 2001-02-21 Jeff Johnston <jjohnstn@redhat.com>
5037
5038 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
5039 HAVE_FCNTL flag check.
5040 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
5041 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
5042
5043 Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
5044
5045 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
5046
5047 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
5048
5049 * libc/include/stdlib.h: Add declarations of rand48 functions and
5050 their reentrant versions.
5051 * libc/include/sys/reent.h: Move macros from rand48.h. Add
5052 struct _rand48 for shared parameters of rand48 functions.
5053 (struct _reent): Add a variable _r48 of struct _rand48.
5054 (_REENT_INIT): Add _r48 initialization.
5055 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
5056 (CHEWOUT_FILES): Add rand48.def.
5057 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
5058 * libc/stdlib/Makefile.in: Regenerated.
5059 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
5060 NetBSD C library.
5061 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
5062 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
5063 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
5064 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
5065 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
5066 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
5067 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
5068 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
5069 * libc/stdlib/rand48.c (__dorand48): Ditto.
5070 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
5071 parameters into macros referring them in the reentrant structure.
5072
5073 2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
5074
5075 * libc/include/sys/stat.h: Add mknod for Cygwin now that
5076 Cygwin definition has correct prototype.
5077
5078 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
5079
5080 * libc/include/sys/stat.h: Must revert change for mknod
5081 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
5082 prototype.
5083
5084 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
5085
5086 * libc/include/stdio.h: Revert putw prototype.
5087
5088 2001-02-08 Edward M. Lee <tailbert@yahoo.com>
5089
5090 * libc/include/grp.h: add prototype for initgroups.
5091 * libc/include/stdio.h: fix prototype for putw.
5092 * libc/include/sys/signal.h: add prototype for killpg.
5093 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
5094 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
5095 vhangup and remove duplicate sysconf prototype.
5096
5097 2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
5098
5099 * libc/sys/rtems/sys/types.h: Removed.
5100
5101 2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
5102
5103 * libc/include/locale.h: add LC_MESSAGES definition
5104
5105 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
5106
5107 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
5108 SYS_get_argN):
5109 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
5110 __setup_argv_and_call_main): New.
5111
5112 2001-01-31 Jeff Johnston <jjohnstn@redhat.com>
5113
5114 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
5115 if defined.
5116 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
5117 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
5118 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
5119 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
5120
5121 Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
5122
5123 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
5124 compiling under Cygwin.
5125
5126 2001-01-29 Jeff Johnston <jjohnstn@redhat.com>
5127
5128 * libc/include/math.h (signgam): Change to errno-like solution
5129 using a function to return the address of the real signgam.
5130 * libc/reent/signgam.c: New file containing __signgam().
5131 * libc/reent/Makefile.am: Added signgam.c to list of files.
5132 * libc/reent/Makefile.in: Regenerated.
5133
5134 2001-01-25 Alexandre Oliva <aoliva@redhat.com>
5135
5136 * libc/sys/sh/syscalls.c (_times): New.
5137
5138 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
5139 * libc/sys/sh/syscalls.c (_gettimeofday): New.
5140
5141 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
5142
5143 * libc/include/math.h (signgam): Regress previous fix as
5144 it does not handle programs with extern int signgam in them.
5145
5146 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
5147
5148 * libc/include/math.h (signgam): Changed to a macro refering to
5149 its location in the reentrant structure.
5150
5151 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
5152
5153 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
5154 that suppressed . for %.0f, 0.1. Check now looks if there
5155 are padding zeroes (expt) in addition to any digits (ndig) to
5156 print.
5157
5158 2001-01-18 Jeff Johnston <jjohnstn@redhat.com>
5159
5160 * libc/sys/arc/Makefile.am: New file.
5161 * libc/sys/arc/Makefile.in: Ditto.
5162 * libc/sys/arc/aclocal.m4: Ditto.
5163 * libc/sys/arc/configure: Ditto.
5164 * libc/sys/arc/configure.in: Ditto.
5165 * libc/sys/arc/crt0.S: Ditto.
5166 * libc/sys/arc/isatty.c: Ditto.
5167 * libc/sys/arc/mem-layout.c: Ditto.
5168 * libc/sys/arc/sbrk.c: Ditto.
5169 * libc/sys/arc/syscalls.c: Ditto.
5170 * libc/sys/arc/sys/syscall.h: Ditto.
5171
5172 Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
5173
5174 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
5175
5176 Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
5177
5178 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
5179
5180 Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
5181
5182 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
5183
5184 2001-01-09 Nick Clifton <nickc@redhat.com>
5185
5186 * configure.host (v859): Remove unsupported compiler options.
5187
5188 Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
5189
5190 * src/newlib/configure.host (*-*-rtems*): add printf long long
5191 support for RTEMS.
5192
5193 2000-12-19 Graham Stott <grahams@redhat.com>
5194
5195 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
5196
5197 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
5198
5199 * configure.host: Turn on long double I/O for Cygwin.
5200
5201 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
5202
5203 * MAINTAINERS: Removed Ranjith.
5204 * NEWS: Updated for 1.9.0.
5205 * README: Updated.
5206 * acinclude.m4: Updated to release 1.9.0.
5207 * aclocal.m4 configure
5208 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
5209 libc/machine/aclocal.m4 libc/machine/configure
5210 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
5211 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
5212 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
5213 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
5214 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
5215 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
5216 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
5217 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
5218 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
5219 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
5220 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
5221 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
5222 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
5223 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
5224 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
5225 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
5226 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
5227 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
5228 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
5229 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
5230 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
5231 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
5232 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
5233 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
5234 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
5235 libc/sys/aclocal.m4 libc/sys/configure
5236 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
5237 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
5238 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
5239 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
5240 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
5241 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
5242 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
5243 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
5244 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
5245 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
5246 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
5247 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
5248 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
5249 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
5250 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
5251 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
5252 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
5253 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
5254 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
5255 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
5256 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
5257 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
5258 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
5259 libm/aclocal.m4 libm/configure: Regenerated.
5260
5261 Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
5262
5263 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
5264 when __CYGWIN__ is defined.
5265
5266 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
5267
5268 * libc/stdlib/ldtoa.c (_ldcheck): New routine
5269 that categorizes a long double as NaN, Infinity, or other.
5270 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
5271 isinfl and isnanl static routines which were i386-specific. Changed
5272 calls to the two removed routines to a single _ldcheck call.
5273 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
5274
5275 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
5276
5277 * Makefile.am: Fixed install-data-local target to use
5278 $(mkinstalldirs) for the installed header files to ensure
5279 the directories exist before copying.
5280 * Makefile.in: Regenerated.
5281
5282 2000-12-12 Jeff Johnston <jjohnstn@redhat.com>
5283
5284 * libc/include/sys/unistd.h: Restored Cygwin _SC
5285 constants and moved new constants appropriately
5286 so Cygwin will build.
5287
5288 2000-12-11 Joel Sherrill <joel@OARcorp.com>
5289
5290 * Merge RTEMS specific .h files into main libc/include.
5291 * libc/sys/rtems/include/signal.h: Removed.
5292 * libc/sys/rtems/include/time.h: Removed.
5293 * libc/sys/rtems/sys/features.h: Removed.
5294 * libc/sys/rtems/sys/sched.h: Removed.
5295 * libc/sys/rtems/sys/siginfo.h: Removed.
5296 * libc/sys/rtems/sys/signal.h: Removed.
5297 * libc/sys/rtems/sys/time.h: Removed.
5298 * libc/sys/rtems/sys/times.h: Removed.
5299 definitions for time_t and clock_t since these are
5300 no longer in time.h.
5301 * libc/include/pthread.h: New file.
5302 * libc/include/sys/sched.h: New file.
5303 * libc/include/sys/features.h: New file.
5304 * libc/include/time.h: Removed duplicate definition of clock_t
5305 and time_t, get them from <sys/types.h> instead. Add prototypes
5306 for POSIX clock and timer functionality.
5307 * libc/sys/linux/sys/types.h: Changed to include
5308 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
5309 * libc/include/sys/signal.h: Add more complete set of POSIX
5310 signal functionality including real-time and threaded signals.
5311 * libc/include/sys/types.h: Add clock_t, time_t, struct
5312 timespec, and struct itimerspec. Centralizing these makes
5313 things cleaner. RTEMS uses 64-bit dev_t.
5314 Added numerous primitive definitions
5315 for pthreads including macros, pthread_attr_t,
5316 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
5317 pthread_once_t, and pthread_t.
5318 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
5319 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
5320 Feature flags removed and moved to new file <sys/features.h>.
5321 Full set of POSIX sysconf() constants
5322
5323 2000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
5324
5325 * configure.host: Added x86 linux target.
5326 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
5327 definitions provided if not already defined.
5328 * libc/sys/linux/crt0.c: New file.
5329 * libc/sys/linux/Makefile.am: Ditto.
5330 * libc/sys/linux/Makefile.in: Ditto.
5331 * libc/sys/linux/aclocal.m4: Ditto.
5332 * libc/sys/linux/brk.c: Ditto.
5333 * libc/sys/linux/configure: Ditto.
5334 * libc/sys/linux/configure.in: Ditto.
5335 * libc/sys/linux/getoptlong.c: Ditto.
5336 * libc/sys/linux/ids.c: Ditto.
5337 * libc/sys/linux/inode.c: Ditto.
5338 * libc/sys/linux/io.c: Ditto.
5339 * libc/sys/linux/linux.c: Ditto.
5340 * libc/sys/linux/process.c: Ditto.
5341 * libc/sys/linux/realpath.c: Ditto.
5342 * libc/sys/linux/select.c: Ditto.
5343 * libc/sys/linux/signal.c: Ditto.
5344 * libc/sys/linux/systat.c: Ditto.
5345 * libc/sys/linux/termios.c: Ditto.
5346 * libc/sys/linux/time.c: Ditto.
5347 * libc/sys/linux/wait.c: Ditto.
5348 * libc/sys/linux/include/alloca.h: Ditto.
5349 * libc/sys/linux/include/getopt.h: Ditto.
5350 * libc/sys/linux/include/stdint.h: Ditto.
5351 * libc/sys/linux/include/unistd.h: Ditto.
5352 * libc/sys/linux/sys/cdefs.h: Ditto.
5353 * libc/sys/linux/sys/dirent.h: Ditto.
5354 * libc/sys/linux/sys/errno.h: Ditto.
5355 * libc/sys/linux/sys/fcntl.h: Ditto.
5356 * libc/sys/linux/sys/file.h: Ditto.
5357 * libc/sys/linux/sys/ioctl.h: Ditto.
5358 * libc/sys/linux/sys/resource.h: Ditto.
5359 * libc/sys/linux/sys/signal.h: Ditto.
5360 * libc/sys/linux/sys/stat.h: Ditto.
5361 * libc/sys/linux/sys/syscall.h: Ditto.
5362 * libc/sys/linux/sys/termios.h: Ditto.
5363 * libc/sys/linux/sys/time.h: Ditto.
5364 * libc/sys/linux/sys/types.h: Ditto.
5365 * libc/sys/linux/sys/utmp.h: Ditto.
5366 * libc/sys/linux/sys/utsname.h: Ditto.
5367 * libc/sys/linux/sys/wait.h: Ditto.
5368
5369 2000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
5370
5371 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
5372 can be a relative path to $(top_srcdir)/install.sh so ensure the
5373 autoconf detected settings are properly passed recursively.
5374 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
5375 properly to subdirectories.
5376 * Makefile.in: Regenerated.
5377
5378 2000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
5379
5380 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
5381 a floating point register unless really printing a floating
5382 point number.
5383
5384 2000-12-07 Jeff Johnston <jjohnstn@redhat.com>
5385
5386 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
5387 Also removed \r's.
5388 (asctoeg): Replaced alloca call with stack array and malloc
5389 when storage exceeds reasonable limit.
5390 (e53toe): Fixed einfin calls missing ldp parameter.
5391 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
5392
5393 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
5394
5395
5396 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
5397
5398 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
5399
5400 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
5401 * libc/stdlib/Makefile.in: Regenerated.
5402 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
5403 * libc/stdio/vfieeefp.h: Added long double bit structures.
5404 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
5405 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
5406 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
5407 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
5408 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
5409 _strtold routines used for conversions between character
5410 and long double.
5411
5412 Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
5413
5414 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
5415
5416 2000-12-04 Joel Sherrill <joel@OARcorp.com>
5417
5418 * libc/include/machine/time.h: RTEMS systems can configure clock
5419 tick rate so use sysconf() to ask.
5420
5421 2000-12-04 Joel Sherrill <joel@OARcorp.com>
5422
5423 * libc/include/sys/times.h: Add reference to POSIX standard.
5424
5425 2000-12-04 Joel Sherrill <joel@OARcorp.com>
5426
5427 * libc/include/sys/time.h: Added BSD timer manipulation macros
5428 used by RTEMS code.
5429
5430 2000-12-04 Joel Sherrill <joel@OARcorp.com>
5431
5432 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
5433 referenced by code generated by gcc 2.8.1.
5434 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
5435 satisfy gcc.
5436
5437 2000-12-04 Joel Sherrill <joel@OARcorp.com>
5438
5439 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
5440
5441 2000-12-04 Joel Sherrill <joel@OARcorp.com>
5442
5443 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
5444
5445 2000-12-04 Joel Sherrill <joel@OARcorp.com>
5446
5447 * configure.host (or16, or32): New entries for OpenCores
5448 OpenRisc CPUs.
5449 (*-*-rtems*): Add -DNO_EXEC.
5450
5451 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
5452
5453 * libc/include/sys/errno.h: Added comments on many error numbers.
5454 * libc/string/strerror.c: Added some more strings.
5455
5456 2000-11-30 Jeff Johnston <jjohnstn@redhat.com>
5457
5458 * libc/sys/sh/syscalls.c (_link): New stub.
5459
5460 2000-11-29 Nick Clifton <nickc@redhat.com>
5461
5462 * configure.host: Add xscale target.
5463 * libc/machine/xscale: New directory.
5464 * libc/machine/xscale/Makefile.am: New file.
5465 * libc/machine/xscale/Makefile.in: New file.
5466 * libc/machine/xscale/aclocal.m4: New file.
5467 * libc/machine/xscale/configure: New file.
5468 * libc/machine/xscale/configure.in: New file.
5469 * libc/machine/xscale/memchr.S: New file.
5470 * libc/machine/xscale/memcmp.S: New file.
5471 * libc/machine/xscale/memcpy.S: New file.
5472 * libc/machine/xscale/memmove.S: New file.
5473 * libc/machine/xscale/memset.S: New file.
5474 * libc/machine/xscale/strchr.S: New file.
5475 * libc/machine/xscale/strcmp.S: New file.
5476 * libc/machine/xscale/strcpy.S: New file.
5477 * libc/machine/xscale/strlen.S: New file.
5478
5479 Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
5480
5481 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
5482 avoid compiler warnings.
5483
5484 2000-11-22 Michael Meissner <meissner@redhat.com>
5485
5486 * libc/posix/execl.c (execl): Don't reference environ directly,
5487 reference it only via a static pointer to avoid problems with some
5488 shared library systems and with different uses of small data where
5489 the user specifies his own version of environ.
5490 * libc/posix/execv.c (execv): Ditto.
5491 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
5492 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
5493 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
5494
5495 * libc/stdlib/getenv.c (environ): Delete unused reference to
5496 environ.
5497
5498 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
5499 colorization.
5500 * libc/stdlib/system.c: Ditto.
5501
5502 Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
5503
5504 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
5505 including windows headers.
5506
5507 2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
5508
5509 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
5510 * libc/include/dirent.h: Added definition of MAXNAMLEN if
5511 not defined by sys/dirent.h.
5512 * libc/posix/execvp.c: Added include of dirent.h to get
5513 MAXNAMLEN value which used to be in unistd.h.
5514
5515 Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
5516
5517 * libc/include/sys/types.h: Change type of i to `size_t' in
5518 FD_ZERO macro to avoid compiler warnings.
5519
5520 Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
5521
5522 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
5523 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
5524
5525 Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
5526
5527 * libc/include/sys/unistd.h: Add defines for sysconf values
5528 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
5529 _SC_AVPHYS_PAGES.
5530
5531 Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
5532
5533 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
5534 declarations for __CYGWIN__.
5535
5536 2000-09-19 Geoffrey Keating <geoffk@cygnus.com>
5537
5538 * libc/signal/signal.c (__sigtramp_r): ISO C requires
5539 case labels to be integral constant expressions, so
5540 use an if/else tree instead.
5541 (_raise_r): Likewise.
5542
5543 2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
5544
5545 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
5546 clipping patch from e-mail reader.
5547
5548 2000-09-13 Will Cohen <wcohen@redhat.com>
5549
5550 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
5551 Added return value 0.
5552 (_longjmp): Allow longjmp to return value of second argument
5553 passed to it.
5554
5555 2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
5556
5557 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
5558 inline code to prevent having to include another header file.
5559
5560 Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
5561
5562 * Makefile.am: Fix space vs. tab problem in install-data-local.
5563 * Makefile.in: Regenerate.
5564
5565 Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
5566
5567 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
5568 (_EXPARM): New macro for defining a function parameter.
5569 * libc/include/stdlib.h: Use _EXPARM.
5570 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
5571
5572 2000-09-05 Manfred Hollstein <manfredh@redhat.com>
5573
5574 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
5575 required, as documented in the gnu coding standards.
5576 * Makefile.in: Regenerate.
5577
5578 2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
5579
5580 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
5581 make O_NDELAY and O_NONBLOCK have the same value.
5582
5583 2000-08-30 Kazu Hirata <kazu@hxi.com>
5584
5585 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
5586
5587 2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
5588
5589 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
5590 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
5591 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
5592 everywhere else.
5593
5594 2000-08-30 Geoffrey Keating <geoffk@cygnus.com>
5595
5596 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
5597 * libc/include/string.h: Don't include <sys/types.h>,
5598 as it causes really bad namespace pollution. Don't declare
5599 swab(), it is properly declared in unistd.h.
5600
5601 2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
5602
5603 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
5604 (broken) support for non-existent /etc/passwd field "comment".
5605
5606 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
5607
5608 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
5609 only if _DIRENT_HAVE_D_NAMLEN is defined.
5610 (alphasort): aligned prototype with
5611 libc/sys/cygwin/sys/dirent.h and simplified function body.
5612 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
5613 long telldir (DIR *) as mentioned in annex B of POSIX.1
5614
5615 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
5616
5617 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
5618 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
5619 Added __CLI and __STI macros (controlled via
5620 _I386MACH_ALLOW_HW_INTERRUPTS macro).
5621 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
5622 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
5623 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
5624 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
5625 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
5626 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
5627 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
5628 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
5629 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
5630 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
5631 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
5632 for all global entry points.
5633 * libc/machine/i386/setjmp.S: removed code replicated in
5634 libc/machine/i386/i386mach.h and included i386mach.h instead;
5635 Use __CLI and __STI instead of cli and sti.
5636
5637 2000-08-25 DJ Delorie <dj@redhat.com>
5638
5639 * libc/include/sys/unistd.h (environ): this one isn't from the
5640 DLL, no __IMPORT
5641
5642 Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
5643
5644 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
5645 environ when compiling under cygwin since it is already declared in
5646 unistd.h.
5647
5648 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
5649
5650 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
5651 like x << y-z to the equivalent x << (y-z).
5652 (d2b): changed if statements with assignment to perform the
5653 assignment prior to the if check.
5654 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
5655 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
5656 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
5657 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
5658 precedence.
5659 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
5660 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
5661 execve.c).
5662 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
5663 precedence.
5664 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
5665 clarify && and || precendence (and to remove pascalism).
5666 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
5667 * libm/math/s_infconst.c: added another pair of braces to all
5668 initializers for __infinity (need three: for __infinity[1] array,
5669 for union __dmath, and for i[2]).
5670
5671 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
5672
5673 * libc/stdlib/abort.c: changed description: uses "raise" instead of
5674 "getpid" and "kill"; added: uses "write" and "_exit".
5675 Also included unistd.h for "_exit" prototype.
5676 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
5677 reent.h for "_fork_r" and "_wait_r" prototypes.
5678 (do_system): changed extern char *environ[] to POSIX-friendly
5679 extern char **environ.
5680 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
5681 prototypes.
5682 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
5683 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
5684 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
5685 * libc/reent/openr.c: included fcntl.h for "open" prototype.
5686 * libc/reent/signalr.c: included signal.h for "kill" prototype,
5687 unistd.h for "getpid" prototype.
5688 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
5689 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
5690 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
5691 prototype. Also included stdlib.h for "abort", string.h for
5692 "strdup" and "strncmp" prototypes.
5693 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
5694 "strncpy", unistd.h for "read" and "close" prototypes.
5695 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
5696 "strcat" prototypes.
5697
5698 2000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
5699
5700 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
5701 used later (ifdef __SCLE)
5702 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
5703 used later (ifdef MB_CAPABLE)
5704 * libc/string/memset.c (memset): removed unused variables "count"
5705 and "unaligned_addr"
5706 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
5707 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
5708 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
5709 and "gid"
5710
5711 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
5712
5713 * libc/stdlib/envlock.c: changed documented "__env_lock" and
5714 "__env_unlock" prototype from "void *" or "char *" to
5715 "struct _reent *" to match real function. Also added include
5716 of envlock.h.
5717 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
5718 "__malloc_unlock" prototype from "void *" or "char *" to
5719 "struct _reent *" to match real function.
5720 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
5721 prototypes (for getenv_r.c and setenv_r.c).
5722
5723 2000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
5724
5725 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
5726 and prototype in cygwin's utmp.h
5727
5728 2000-08-16 Eric Fifer <efifer@sanwaint.com>
5729
5730 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
5731
5732 2000-08-09 Nick Clifton <nickc@cygnus.com>
5733
5734 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
5735 epilogue and to allow the functions to be used in a Thumb based
5736 toolchain.
5737
5738 2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
5739
5740 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
5741 so size of 0 results in nothing being written to string.
5742 Also fixed code so that when size is non-zero, there is only
5743 a maximum of size - 1 characters written to the array and
5744 a nul terminator is appended at the end.
5745 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
5746
5747 2000-08-01 DJ Delorie <dj@redhat.com>
5748
5749 * libc/include/sys/config.h: define __IMPORT appropriately
5750 * libc/include/ctype.h (_ctype_): use __IMPORT
5751 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
5752 * libc/include/math.h (__mb_cur_max): ditto
5753 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
5754 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
5755 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
5756 * libc/include/unistd.h (environ): ditto
5757
5758 2000-07-28 Michael Meissner <meissner@redhat.com>
5759
5760 * libc/include/math.h (__infinity): Declare as an array without
5761 bounds to get around small data support. Rewrite Cygwin support
5762 to be more general.
5763 * libm/math/s_infconst.c (__infinity): Ditto.
5764 * libm/mathfp/s_infconst.c (__infinity): Ditto.
5765
5766 Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
5767
5768 * libc/include/math.h: Use appropriate dll import linkage for
5769 __infinity under Cygwin.
5770
5771 2000-07-13 DJ Delorie <dj@cygnus.com>
5772
5773 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
5774
5775 Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
5776
5777 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
5778 to argument list for AngelSWI_Reason_GetCmdLine.
5779
5780 Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
5781
5782 * configure.host: Add support for AVR target.
5783 * libc/include/machine/ieeefp.h: Likewise.
5784 * libc/include/sys/config.h: Likewise.
5785
5786 Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
5787
5788 * README: Newlib 1.8.2 must be built in a separate directory
5789 than the sources.
5790
5791 Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
5792
5793 * libc/include/sys/reent.h (_rand_next): Added __extension__
5794 qualifier as long long type is not strict ANSI.
5795 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
5796 to long long constant.
5797
5798 Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
5799
5800 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
5801 `setegid' provided by Cygwin.
5802
5803 Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
5804
5805 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
5806 account for Cygwin.
5807
5808 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
5809
5810 * libc/include/sys/reent.h (_rand_next): Changed to
5811 unsigned long long and moved to end of _reent struct in _new union.
5812 (_REENT_INIT): Changed to move _rand_next initialization.
5813 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
5814 linear congruential algorithm that is used by DJGPP.
5815
5816 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
5817
5818 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
5819 * libc/include/sys/config.h: Define __RAND_MAX.
5820
5821 Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
5822
5823 * libc/stdlib/rand_r.c: New algorithm that meets minimal
5824 standard.
5825
5826 Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
5827
5828 * libc/include/string.h: Work around problem with strsignal and gdb.
5829
5830 Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
5831
5832 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
5833 * libc/include/malloc.h: Ditto.
5834 * libc/include/process.h: Ditto.
5835 * libc/include/stdio.h: Ditto.
5836 * libc/include/stdlib.h: Ditto.
5837 * libc/include/time.h: Ditto.
5838 * libc/include/machine/setjmp.h: Ditto.
5839 * libc/include/sys/errno.h: Ditto.
5840 * libc/include/sys/signal.h: Ditto.
5841 * libc/include/sys/stat.h: Ditto.
5842 * libc/include/sys/time.h: Ditto.
5843 * libc/include/sys/unistd.h: Ditto.
5844 * libc/include/string.h: Ditto. strsignal should return a const char *.
5845
5846 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
5847
5848 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
5849 * libm/common/s_log1p.c (log1p): Likewise.
5850 * libm/common/s_scalbn.c (scalbn): Likewise.
5851 * libm/math/e_log.c: Likewise.
5852 * libm/math/e_asin.c: Likewise.
5853 * libm/math/ef_asin.c: Likewise.
5854 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
5855 * libm/math/e_j1.c (pone, qone): Likewise.
5856 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
5857 * libm/math/ef_j1.c (ponef, qonef): Likewise.
5858 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
5859 * libm/mathfp/e_j1.c (pone, qone): Likewise.
5860 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
5861 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
5862
5863 2000-05-19 DJ Delorie <dj@cygnus.com>
5864
5865 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
5866 (__sread): always read in binary mode
5867 (__swrite): always write in binary mode
5868 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
5869 compatibility issues with different dll versions
5870 * libc/stdio/fopen.c: use __stextmode
5871 * libc/stdio/fdopen.c: ditto
5872 * libc/stdio/freopen.c: ditto
5873 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
5874 * libc/stdio/local.h: declare __stextmode
5875
5876 2000-05-18 DJ Delorie <dj@cygnus.com>
5877
5878 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
5879
5880 Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
5881
5882 * libc/include/ctype.h: Changed tolower and toupper macros
5883 to use __extension__ to prevent pedantic warnings.
5884
5885 Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
5886
5887 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
5888 structures.
5889
5890 Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
5891
5892 * libc/include/machine/ieeefp.h: Add ia64 support.
5893 * configure.host: Likewise.
5894
5895 Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
5896
5897 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
5898 month is now padded with space, not zero. This now conforms to
5899 ANSI standard.
5900
5901 Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
5902
5903 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
5904 host or network path") used by cygwin. Add some comments.
5905
5906 Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
5907
5908 * libc/include/stdio.h (FILE): define __SCLE for "convert line
5909 endings" for Cygwin.
5910 (__sgetc): convert line endings if needed
5911 (__sputc): ditto
5912 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
5913 * libc/stdio/fopen.c (_fopen_r): ditto
5914 * libc/stdio/freopen.c (freopen): ditto
5915 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
5916 * libc/stdio/fvwrite.c (__sfvwrite): ditto
5917
5918 Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
5919
5920 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
5921 post-increment when it is worth it, spacewise.
5922
5923 Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
5924
5925 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
5926 * libc/stdio/findfp.c (std): Added declaration of flags and file.
5927 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
5928 return type.
5929 * libc/stdio/putchar.c (putchar): Added return statement.
5930 * libc/stdio/refill.c (lflush): Added correct parentheses.
5931 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
5932 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
5933 prints long value to use l qualifier.
5934 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
5935 messages and initialized local values: ilim, ilim1, and spec_case.
5936 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
5937 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
5938 * libc/stdlib/mprec.c: Ditto.
5939 * libc/stdlib/setenv_r.c: Ditto.
5940 * libc/stdlib/strtod.c: Ditto.
5941 * libc/stdlib/strtol.c: Ditto.
5942 * libc/stdlib/strtoul.c: Ditto.
5943 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
5944 * libm/common/sf_log1p.c: Ditto.
5945 * libm/common/sf_scalbn.c: Ditto.
5946 * libm/math/ef_log.c: Ditto.
5947
5948 Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
5949
5950 * libc/posix/execvp.c (execvp): Check path for
5951 trailing slash.
5952
5953 Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
5954
5955 * libc/include/sys/unistd.h: Add prototypes for
5956 fchmod, fchown, lchown.
5957
5958 Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
5959
5960 * acinclude.m4: Changed release to 1.8.2.
5961 * aclocal.m4 configure doc/aclocal.m4 doc/configure
5962 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
5963 libc/machine/configure libc/machine/a29k/aclocal.m4
5964 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
5965 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
5966 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
5967 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
5968 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
5969 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
5970 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
5971 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
5972 libc/machine/i386/configure libc/machine/i960/aclocal.m4
5973 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
5974 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
5975 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
5976 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
5977 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
5978 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
5979 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
5980 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
5981 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
5982 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
5983 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
5984 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
5985 libc/machine/v850/configure libc/machine/w65/aclocal.m4
5986 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
5987 libc/machine/z8k/configure libc/sys/aclocal.m4
5988 libc/sys/aclocal.m4 libc/sys/configure
5989 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
5990 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
5991 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
5992 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
5993 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
5994 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
5995 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
5996 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
5997 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
5998 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
5999 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
6000 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
6001 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
6002 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
6003 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
6004 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
6005 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
6006 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
6007 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
6008 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
6009 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
6010 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
6011 libm/aclocal.m4 libm/configure: Regenerated.
6012
6013 2000-03-24 Nick Clifton <nickc@cygnus.com>
6014
6015 * libc/sys/arm/syscalls.c: Fix compile time warnings.
6016 (do_AngelSWI): Add "cc" to list o registers clobbered.
6017
6018 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
6019
6020 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
6021 information to be clobbered by an Angel C library support syscall.
6022
6023 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
6024
6025 * libc/stdlib/envlock.c: Fixed comment typo.
6026
6027 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
6028
6029 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
6030 code to update nread as each character is processed instead
6031 of using buffer contents which throw away leading zeroes.
6032
6033 Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
6034
6035 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
6036
6037 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
6038
6039 * libc/include/string.h: Include <sys/types.h>.
6040
6041 Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6042
6043 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
6044 with XSH5, not SVID.
6045
6046 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
6047
6048 * libc/include/string.h: Changed last argument back to ssize_t
6049 to make it compatible with XPG4 definition which is
6050 defined in <unistd.h>. There is a conflict in the SVID 3
6051 and XPG4 definitions and newlib will settle with XPG4.
6052 * libc/string/swab.c: Ditto.
6053
6054 Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
6055
6056 * libc/include/string.h: Changed last argument to size_t.
6057 * libc/string/swab.c: Changed last argument to size_t.
6058
6059 Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6060
6061 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
6062 (CHEWOUT_FILES): Added unlinkr.def.
6063 * libc/reent/Makefile.in: Rebuilt.
6064 * libc/sys.tex: Include unlinkr.def.
6065 * libc/reent/linkr.c (_unlink_r): Moved to...
6066 * libc/reent/unlinkr.c: ... new file.
6067
6068 Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6069
6070 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
6071 (CHEWOUT_FILES): Added swab.def.
6072 * libc/string/Makefile.in: Rebuilt.
6073 * libc/string/string.tex: Include swab.def.
6074 * libc/include/string.h (swab): Declare.
6075 * libc/string/swab.c: New file.
6076
6077 Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6078
6079 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
6080 (CHEWOUT_FILES): Added getw.def and putw.def.
6081 * libc/stdio/Makefile.in: Rebuilt.
6082 * libc/stdio/stdio.tex: Include getw.def and putw.def.
6083 * libc/stdio/getw.c: New file.
6084 * libc/stdio/putw.c: New file.
6085
6086 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
6087
6088 * libc/stdio/flags.c (__sflags): Added check that mode[1]
6089 is non-null before looking at mode[2].
6090
6091 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
6092
6093 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
6094 * libm/mathfp/sf_atan.c: Ditto.
6095
6096 Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
6097
6098 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
6099
6100 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
6101
6102 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
6103 _DOUBLE_IS_32BITS.
6104
6105 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
6106
6107 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
6108 call prior to calling _VFPRINTF_R so reentrant data area is set.
6109 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
6110
6111 Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6112
6113 * libc/stdio/vfscanf.c (limits.h): #include.
6114 (MAX_LONG_LEN): #define.
6115 (__svfscanf): Handle floating point numbers with arbitrary amounts
6116 of leading zeroes.
6117
6118 2000-02-15 Nick Clifton <nickc@cygnus.com>
6119
6120 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
6121 zero. Set the blocksize to 1024/
6122
6123 Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
6124
6125 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
6126 with line buffering.
6127
6128 Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
6129
6130 * acinclude.m4: Changed include directory for winsup headers.
6131 * aclocal.m4 configure libc/aclocal.m4
6132 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
6133 libc/locale/Makefile.in libc/machine/aclocal.m4
6134 libc/machine/configure libc/machine/a29k/aclocal.m4
6135 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
6136 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
6137 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
6138 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
6139 libc/machine/fr30/configure
6140 libc/machine/h8300/aclocal.m4
6141 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
6142 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
6143 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
6144 libc/machine/i386/configure libc/machine/i960/aclocal.m4
6145 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
6146 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
6147 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
6148 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
6149 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
6150 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
6151 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
6152 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
6153 libc/machine/powerpc/configure
6154 libc/machine/sh/aclocal.m4
6155 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
6156 libc/machine/sparc/configure
6157 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
6158 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
6159 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
6160 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
6161 libc/misc/Makefile.in libc/posix/Makefile.in
6162 libc/reent/Makefile.in
6163 libc/signal/Makefile.in
6164 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
6165 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
6166 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
6167 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
6168 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
6169 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
6170 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
6171 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
6172 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
6173 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
6174 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
6175 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
6176 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
6177 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
6178 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
6179 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
6180 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
6181 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
6182 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
6183 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
6184 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
6185 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
6186 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
6187 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
6188 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
6189 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
6190 libm/configure: Regenerated.
6191
6192 Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
6193
6194 * libc/stdlib/putenv_r.c (_putenv_r): New file.
6195 * libc/stdlib/strdup_r.c (_strdup_r): New file.
6196 * libc/include/string.h: Added _strdup_r.
6197 * libc/stdlib/putenv.c: Added call to reentrant version.
6198 * libc/stdlib/strdup.c: Ditto.
6199 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
6200 * libc/include/stdlib.h: Ditto.
6201 * libc/stdlib/Makefile.in: Regenerated.
6202 * libc/string/Makefile.in: Regenerated.
6203 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
6204 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
6205 management calls to reentrant versions.
6206 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
6207 * libc/stdlib/wctomb.c: Ditto.
6208 * libc/stdlib/mblen.c: Ditto.
6209 * libc/stdlib/mbstowcs.c: Ditto.
6210 * libc/stdlib/mbtowc.c: Ditto.
6211 * libc/stdlib/getenv.c: Ditto.
6212 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
6213 and _strdup_r.
6214
6215 Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
6216
6217 patch from Corinna Vinschen <corinna@vinschen.de>
6218 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
6219
6220 Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
6221
6222 * libm/mathfp/s_atangent.c: Fix exponent calculation.
6223 * libm/mathfp/s_ldexp.c: Ditto.
6224 * libm/mathfp/sf_atangent.c: Ditto.
6225 * libm/mathfp/sf_ldexp.c: Ditto.
6226
6227 Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
6228
6229 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
6230 * libc/include/locale.h: define NULL to be 0.
6231
6232 Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
6233
6234 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
6235 function.
6236
6237 Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
6238
6239 * libc/machine/mn10300/setjmp.S: Handle am33.
6240
6241 1999-11-26 Nick Clifton <nickc@cygnus.com>
6242
6243 * libc/sys/arm/syscalls.c: Add function prototypes.
6244 (stack_ptr): Move declaration before function definitions.
6245
6246 Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
6247
6248 * NEWS: Updated version information.
6249 * README: Ditto.
6250
6251 Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
6252
6253 * libc/machine/i386/strchr.S: Fixed alignment test.
6254
6255 Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
6256
6257 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
6258
6259 Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
6260
6261 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
6262 ensuring that there is space between the two.
6263
6264 Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
6265
6266 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
6267 only.
6268
6269 1999-10-08 Vadim Egorov <egorovv@1c.ru>
6270
6271 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
6272 section
6273
6274 Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
6275
6276 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
6277 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
6278
6279 Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
6280 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
6281 per POSIX 1003.1b.
6282 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
6283 per POSIX 1003.1b.
6284
6285 1999-09-13 DJ Delorie <dj@cygnus.com>
6286
6287 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
6288 also.
6289
6290 Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
6291
6292 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
6293 also note BUFSIZ as its size.
6294
6295 Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
6296
6297 * configure.host: Corrected feature defines for RTEMS.
6298 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
6299 * libc/include/sys/stat.h: mkfifo() should take const path arg.
6300 * libc/include/sys/unistd.h: pathconf() should take const path arg.
6301 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
6302 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
6303 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
6304 _PC_PRIO_IO, and _PC_SYNC_IO.
6305 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
6306 * libc/machine/m68k/Makefile.in: Regenerated.
6307 * libc/machine/m68k/strcpy.c: New file.
6308 * libc/machine/m68k/strlen.c: New file.
6309 * libc/stdio/tmpnam.c: Always make the returned name usable.
6310 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
6311 * libc/sys/rtems/sys/dirent.h: New file.
6312 * libc/sys/rtems/sys/types.h: Added dev_t.
6313
6314 Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
6315
6316 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
6317
6318 Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
6319
6320 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
6321 my patch.
6322
6323 Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
6324
6325 patch from Jeff Johnston <jjohnstn@cygnus.com>
6326 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
6327 buffer is not in a useful state.
6328
6329 1999-09-01 Nick Clifton <nickc@cygnus.com>
6330
6331 * libc/sys/arm/syscalls.c (_link): Add stub.
6332
6333 Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
6334
6335 * ftell.c (ftell): Use actual position within buffer for text mode.
6336 * findfp.c (std): Initialize ptr->_bf._size.
6337
6338 Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
6339
6340 * libc/include/sys/unistd.h: Add nice() declaration.
6341
6342 1999-08-09 Nick Clifton <nickc@cygnus.com>
6343
6344 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
6345 declare as a thumb function so that the disassembler will see the
6346 mode change.
6347
6348 Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
6349
6350 * libc/reent/reent.tex: Updated list of reentrant functions.
6351
6352 1999-07-09 Michael Meissner <meissner@cygnus.com>
6353
6354 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
6355
6356 Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
6357
6358 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
6359 separate file.
6360 * libc/stdio/snprintf.c: New file.
6361 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
6362 separate file.
6363 * libc/stdio/vsnprintf.c: New file.
6364 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
6365 * libc/stdio/Makefile.in: Regenerated.
6366
6367 Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
6368
6369 Patch submitted by Egor Duda <deo@logos-m.ru>:
6370 * libc/include/stdio.h: Add declarations for *nprintf.
6371 * libc/stdio/sprintf.c (snprintf): New function.
6372 (_snprintf_r): New function.
6373 * libc/stdio/vsprintf.c (vsnprintf): New function.
6374 (_vnsprintf_r): New function.
6375
6376 Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
6377
6378 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
6379 * libm/Makefile.am (stmp-targetdep): Ditto.
6380 * libc/Makefile.in: Regenerated.
6381 * libm/Makefile.in: Ditto.
6382
6383 Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
6384
6385 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
6386 * libm/Makefile.am (stmp-targetdep): Ditto.
6387 * libc/Makefile.in: Regenerated.
6388 * libm/Makefile.in: Ditto.
6389
6390 Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
6391
6392 * Makefile.am: Removed dependencies on all-recursive and added "."
6393 to the SUBDIRS list to prevent infinite recursion from occurring.
6394 Also removed any references to EXTRA_DATA.
6395 * libc/Makefile.am: Ditto.
6396 * libc/machine/Makefile.am: Ditto.
6397 * libc/machine/i386/Makefile.am: Ditto.
6398 * libm/Makefile.am: Ditto.
6399 * libc/sys/Makefile.am: Ditto.
6400 * Makefile.in: Regenerated.
6401 * aclocal.m4: Ditto.
6402 * configure: Ditto.
6403 * doc/Makefile.in: Ditto.
6404 * doc/aclocal.m4: Ditto.
6405 * doc/configure: Ditto.
6406 * libc/Makefile.in: Ditto.
6407 * libc/aclocal.m4: Ditto.
6408 * libc/configure: Ditto.
6409 * libc/machine/Makefile.in: Ditto.
6410 * libc/machine/aclocal.m4: Ditto.
6411 * libc/machine/configure: Ditto.
6412 * libc/machine/mn10300/Makefile.in: Ditto.
6413 * libc/machine/mn10300/aclocal.m4: Ditto.
6414 * libc/machine/mn10300/configure: Ditto.
6415 * libc/sys/Makefile.in: Ditto.
6416 * libc/sys/aclocal.m4: Ditto.
6417 * libc/sys/configure: Ditto.
6418 * libm/Makefile.in: Ditto.
6419 * libm/aclocal.m4: Ditto.
6420 * libm/configure: Ditto.
6421
6422 Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
6423
6424 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
6425
6426 Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
6427
6428 * libc/include/stdlib.h: Add reentrant routines.
6429 * libc/stdlib/Makefile.am: Add reentrant routines.
6430 * libc/stdlib/Makefile.in: Ditto.
6431 * libc/stdlib/envlock.c: New file.
6432 * libc/stdlib/envlock.h: New file.
6433 * libc/stdlib/getenv.c: Modify to call reentrant routine.
6434 * libc/stdlib/getenv_r.c: New file.
6435 * libc/stdlib/mblen.c: Modify to call reentrant routine.
6436 * libc/stdlib/mblen_r.c: New file.
6437 * libc/stdlib/setenv.c: Modify to call reentrant routine.
6438 * libc/stdlib/setenv_r.c: New file.
6439 * libc/stdlib/stdlib.tex: Add reentrant routines.
6440
6441 Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
6442
6443 * libc/include/sys/types.h: Define __MS_types__ whenever
6444 cygwin or win32.
6445
6446 Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
6447
6448 * libc/include/machine/ieeefp.h: Always default to little
6449 endian if Windows, regardless of architecture.
6450 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
6451 regardless of architecture.
6452
6453 Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
6454
6455 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
6456 _WIN32 isn't defined.
6457
6458 Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
6459
6460 * libm/common/s_rint.c (rint): Add volatile qualifier for
6461 intermediate value w.
6462 * libm/common/sf_rint.c (rintf): Ditto.
6463
6464 Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
6465
6466 * libc/sys/arm/syscalls.c (remap_handle): Added check to
6467 ensure that std streams are initialized before being referenced.
6468
6469 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
6470
6471 * README: Update reference to newlib@cygnus.com new
6472 newlib@sourceware.cygnus.com address.
6473
6474 Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
6475
6476 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
6477 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
6478 defined, even if _WIN32 isn't defined.
6479
6480 Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
6481
6482 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
6483
6484 Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
6485
6486 * libc/include/sys/reent.h: Change Long and ULong to __Long and
6487 __ULong.
6488 * libc/stdlib/dtoa.c: Ditto.
6489 * libc/stdlib/mprec.c: Ditto.
6490 * libc/stdlib/mprec.h: Ditto.
6491 * libc/stdlib/strtod.c: Ditto.
6492
6493 1999-04-21 Nick Clifton <nickc@cygnus.com>
6494
6495 * configure.host (mcore): Remove mcore machine directory.
6496
6497 1999-04-18 Nick Clifton <nickc@cygnus.com>
6498
6499 * libc/include/machine/ieeefp.h: Add support for mcore target.
6500 * libc/include/machine/setjmp.h: Add support for mcore target.
6501 * configure.host: Add support for mcore target.
6502
6503 1999-04-13 Mark Salter <msalter@cygnus.com>
6504
6505 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
6506 * libc/sys/arm/syscalls.c: Added isatty.
6507
6508 Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
6509
6510 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
6511 insert zeroes after significant digits.
6512
6513 Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
6514
6515 * libc/stdio/vfprintf.c (cvt): Changed floating point
6516 cvt routine to use union used by dtoa to properly determine
6517 if the sign bit is on or not.
6518 * libc/stdio/vfieeefp.h: New file
6519
6520 Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
6521
6522 * aclocal.m4: Regenerated.
6523 * configure: Regenerated.
6524
6525 Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
6526
6527 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
6528 f_tanf reference.
6529 * libc/machine/i386/Makefile.in: Regenerated.
6530
6531 Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
6532
6533 * acinclude.m4: Changed to work with new automake.
6534 * configure: Regenerated.
6535 * libc/machine/i386/aclocal.m4: Regenerated.
6536 * libc/machine/i386/configure: Regenerated.
6537
6538 Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
6539
6540 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
6541 for telldir() and seekdir(). Rename unused structure element
6542 for use with these two routines.
6543
6544 Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
6545
6546 * libc/time/mktime.c (validate_structure): Multiple fixes to
6547 code to handle cases where input fields are outside valid ranges.
6548 * libc/stdlib/div.c (div): Modified invalid rounding check.
6549 * libc/stdlib/ldiv.c (ldiv): Ditto.
6550
6551 Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
6552
6553 * libc/machine/i386/memcpy.S: Performance rewrite.
6554 * libc/machine/i386/memmove.S: Ditto.
6555 * libc/machine/i386/i386mach.h: Added more register definitions.
6556 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
6557 option used.
6558 * libc/include/machine/fastmath.h: Add definitions for x86
6559 fast-math routines.
6560
6561 Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
6562
6563 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
6564
6565 Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
6566
6567 Adjust newlib headers for new Cygwin Win32 API header files:
6568 * libc/include/sys/time.h: Check _WINSOCK_H rather than
6569 _GNU_H_WINDOWS32_SOCKETS.
6570 * libc/include/sys/types.h: Ditto.
6571
6572 Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
6573
6574 *include/sys/reent.h: Add checks for size of Bigint element Long.
6575 *libc/dtoa.c: Change routines to use generic Long type.
6576 *libc/mprec.c: Change routines to use generic Long type.
6577 *libc/mprec.h: Change routines to use generic Long type.
6578
6579 Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
6580
6581 * libc/Makefile.am: Add .def files.
6582 * libc/Makefile.in: Regenerate.
6583 * libc/e_acosh.c: Documentation update.
6584 * libc/e_atanh.c: Documentation update.
6585 * libc/e_hypot.c: Documentation update.
6586 * libc/e_remainder.c: Documentation update.
6587 * libc/er_lgamma.c: Documentation update.
6588 * libc/mathfp.tex: Documentation update.
6589 * libc/s_acos.c: Documentation update.
6590 * libc/s_atan.c: Documentation update.
6591 * libc/s_atan2.c: Documentation update.
6592 * libc/s_cosh.c: Documentation update.
6593 * libc/s_fmod.c: Documentation update.
6594 * libc/s_isnan.c: Documentation update.
6595 * libc/s_log10.c: Documentation update.
6596 * libc/s_pow.c: Documentation update.
6597 * libc/w_jn.c: Documentation update.
6598
6599 Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
6600
6601 * aclocal.m4: Regenerate.
6602 * configure: Regenerate.
6603
6604 Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
6605
6606 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
6607 to return 1 if user specified return code is 0.
6608 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
6609
6610 Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
6611
6612 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
6613 to save the return address. Fixed longjmp to return to the original
6614 calling address of setjmp and to return the user specified return code
6615 rather than default to 1.
6616 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
6617
6618 Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
6619
6620 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
6621
6622 1999-02-10 Nick Clifton <nickc@cygnus.com>
6623
6624 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
6625 volatile so that its assignments will not be discarded.
6626
6627 Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
6628
6629 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
6630 be __STRICT_ANSI__ which is generated by compiler.
6631 * libc/include/ctype.h: Ditto.
6632 * libc/include/math.h: Ditto.
6633 * libc/include/stdio.h: Ditto.
6634 * libc/include/stdlib.h: Ditto.
6635 * libc/include/string.h: Ditto.
6636 * libc/include/sys/signal.h: Ditto.
6637
6638 1999-02-08 Nick Clifton <nickc@cygnus.com>
6639
6640 * configure.host: Add support for StrongARM target.
6641
6642 Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
6643
6644 * libc/string/strncpy.c (strncpy): Removed redundant code
6645 that was copying bytes if data unaligned.
6646
6647 1999-02-02 Brendan Kehoe <brendan@cygnus.com>
6648
6649 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
6650 mbstowcs.def, and wcstombs.def.
6651
6652 Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
6653
6654 * libc/include/sys/errno.h: Add Cygwin errno.
6655 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
6656 is specified.
6657
6658 1999-01-29 Nick Clifton <nickc@cygnus.com>
6659
6660 * libc/sys/arm/syscalls.c: Move C library functions into seperate
6661 file.
6662
6663 * libc/sys/arm/libcfunc.c: New file containing C library functions
6664 from syscalls.c
6665
6666 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
6667 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
6668
6669
6670 1999-01-27 Michael Meissner <meissner@cygnus.com>
6671
6672 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
6673 type, and cut size in half so that the jmp_buf array is guaranteed
6674 to be aligned on a 64-bit boundary.
6675
6676 Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
6677
6678 * libc/string/strings.tex: Added information about
6679 strcasecmp and strncasecmp.
6680 * libc/stdlib/stdlib.tex: Added missing information
6681 about mblen, mbstowcs, and wcstombs.
6682 * libc/string/strchr.c: Changed how mask is built to use
6683 shift operators so register will be used instead of storage.
6684
6685 1999-01-22 DJ Delorie <dj@cygnus.com>
6686
6687 * libc/include/stdlib.h: don't use dllimport if we're building
6688 newlib, since it's inside cygwin.dll
6689
6690 Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
6691
6692 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
6693 _ctype_ under cygwin.
6694
6695 Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
6696
6697 * include/stdlib.h: Fix typo from previous checkin.
6698
6699 Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
6700
6701 * include/ctype.h: Use __declspec(dllimport) method for exporting
6702 variable from cygwin DLL.
6703 * include/time.h: Ditto.
6704 * sys/errno.h: Ditto.
6705 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
6706 * libc/locale/locale.c: Use __declspec(dllexport) method for
6707 exporting variable from cygwin DLL.
6708
6709 Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
6710
6711 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
6712 access of bogus pointer will result in SIGSEGV.
6713
6714 1999-01-07 Nick Clifton <nickc@cygnus.com>
6715
6716 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
6717 of an underscore prefix to function names.
6718
6719 Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
6720
6721 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
6722 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
6723
6724 1998-12-31 Michael Meissner <meissner@cygnus.com>
6725
6726 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
6727 to `%' if not already defined.
6728
6729 1998-12-30 Michael Meissner <meissner@cygnus.com>
6730
6731 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
6732 arguments const char *, not char *.
6733 * libc/include/stdio.h (_tempnam_r): Ditto.
6734
6735 * libc/include/sys/reent.h (struct _reent): The _sig_func type
6736 points to a function taking an integer, not void.
6737
6738 Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
6739
6740 * configure.host: Add a define for Cygwin builds.
6741 * libc/include/ctype.h: Don't use dll imported variables in newlib.
6742
6743 Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
6744
6745 * libc/include/ctype.h: Define _ctype_ as dll imported variable
6746 for use with Cygwin.
6747 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
6748 dll imported variables for use with Cygwin.
6749 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
6750 as a dll imported variable for Cygwin.
6751
6752 Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
6753
6754 * libc/include/sys/unistd.h: Add proto for getpass.
6755
6756 Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
6757
6758 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
6759 alphasort.
6760
6761 Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
6762
6763 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
6764 not posix_path_list_p.
6765
6766 1998-12-15 Nick Clifton <nickc@cygnus.com>
6767
6768 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
6769 a signed int.
6770
6771 1998-12-13 Nick Clifton <nickc@cygnus.com>
6772
6773 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
6774
6775 1998-12-12 Nick Clifton <nickc@cygnus.com>
6776
6777 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
6778 <msalter@cygnus.com>
6779 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
6780 * libc/machine/fr30/Makefile.in: Regenerated.
6781
6782 1998-12-11 Nick Clifton <nickc@cygnus.com>
6783
6784 * configure.host: Remove use of libc/sys for FR30 port.
6785 * libc/sys/fr30: Remove directory (replaced by libgloss).
6786
6787 1998-12-10 Ken Raeburn <raeburn@cygnus.com>
6788
6789 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
6790 * libc/string/strncat.c (ALIGNED): Ditto.
6791
6792 Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
6793
6794 * libc/include/sys/time.h: include sys/types.h
6795
6796 Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
6797
6798 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
6799 comparison found when checking word at a time.
6800
6801 1998-12-04 Nick Clifton <nickc@cygnus.com>
6802
6803 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
6804
6805 1998-12-03 Nick Clifton <nickc@cygnus.com>
6806
6807 * libc/sys/fr30/syscalls.c (_times): New function stub.
6808
6809 Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
6810
6811 * configure.host (mach_add_setjmp): Replaced mach_add_objs
6812 with mach_add_setjmp flag which indicates if setjmp should
6813 be added to the machine directory objects.
6814 * acinclude.m4: Removed reference to mach_add_objs.
6815 * aclocal.m4: Regenerated.
6816 * Makefile.in: Regenerated.
6817 * configure: Regenerated.
6818 * libc/aclocal.m4: Regenerated.
6819 * libc/Makefile.in: Regenerated.
6820 * libc/configure: Regenerated.
6821 * libc/machine/aclocal.m4: Regenerated.
6822 * libc/machine/Makefile.in: Regenerated.
6823 * libc/machine/configure: Regenerated.
6824 * libc/machine/i386/aclocal.m4: Regenerated.
6825 * libc/machine/i386/Makefile.am: Altered to selectively add
6826 setjmp.S to the src files list.
6827 * libc/machine/i386/Makefile.in: Regenerated.
6828 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
6829 * libc/machine/i386/configure: Regenerated.
6830
6831 1998-12-02 Nick Clifton <nickc@cygnus.com>
6832
6833 * libc/sys/fr30/crt0.s (_start): Fix function names.
6834
6835 * libc/machine/fr30: New directory
6836 * libc/machine/fr30/Makefile.am: New file.
6837 * libc/machine/fr30/Makefile.in: New generated file.
6838 * libc/machine/fr30/configure.in: New file.
6839 * libc/machine/fr30/configure: New generated file.
6840 * libc/machine/fr30/aclocal.m4: New generated file.
6841 * libc/sys/fr30/Makefile.am: New file.
6842 * libc/sys/fr30/Makefile.in: New generated file.
6843 * libc/sys/fr30/configure.in: New file.
6844 * libc/sys/fr30/configure: New generated file.
6845 * libc/sys/fr30/syscalls.c: New file.
6846
6847 Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
6848
6849 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
6850
6851 1998-12-01 Ken Raeburn <raeburn@cygnus.com>
6852
6853 * libc/time/strftime.c (strftime): Also handle %y for years before
6854 1900.
6855
6856 Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
6857
6858 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
6859 UNIX convention. Perform tolower on characters before comparing
6860 them rather than use toupper.
6861 * libc/string/strncasecmp.c (strncasecmp): Ditto.
6862
6863 Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
6864
6865 * configure.host: Added using i386 machine directory
6866 for all x86 cross-compiler and configuring
6867 which added object files to use via new "mach_add_objs" variable.
6868 * configure: Regenerated.
6869 * libc/configure: Regenerated.
6870 * libc/Makefile.in: Regenerated.
6871 * libc/aclocal.m4: Regenerated.
6872 * libc/ctype/Makefile.in: Regenerated.
6873 * libc/errno/Makefile.in: Regenerated.
6874 * libc/locale/Makefile.in: Regenerated.
6875 * libc/machine/Makefile.in: Regenerated.
6876 * libc/machine/aclocal.m4: Regenerated.
6877 * libc/machine/configure: Regenerated.
6878 * libc/posix/Makefile.in: Regenerated.
6879 * libc/reent/Makefile.in: Regenerated.
6880 * libc/signal/Makefile.in: Regenerated.
6881 * libc/stdio/Makefile.in: Regenerated.
6882 * libc/stdlib/Makefile.in: Regenerated.
6883 * libc/string/Makefile.in: Regenerated.
6884 * libc/string/memmove.c: Optimized code to use memcpy
6885 logic when performing a non-destructive copy.
6886 * libc/string/strncmp.c: Altered code to allow building
6887 optimized for size or speed.
6888 * libc/syscalls/Makefile.in: Regenerated.
6889 * libc/time/Makefile.in: Regenerated.
6890 * libc/unix/Makefile.in: Regenerated.
6891 * libc/machine/i386/Makefile.am: Added new files and reference
6892 to "mach_add_objs" to indicate optional object files.
6893 * libc/machine/i386/Makefile.in: Regenerated.
6894 * libc/machine/i386/aclocal.m4: Regenerated.
6895 * libc/machine/i386/configure: Regenerated.
6896 * libc/machine/i386/memchr.S: New file that implements
6897 function in Intel assembler.
6898 * libc/machine/i386/memcmp.S: ditto.
6899 * libc/machine/i386/memcpy.S: ditto.
6900 * libc/machine/i386/memmove.S: ditto.
6901 * libc/machine/i386/memset.S: ditto.
6902 * libc/machine/i386/strchr.S: ditto.
6903 * libc/machine/i386/strlen.S: ditto.
6904 * libc/machine/i386/f_atan2.S: New file that implements
6905 fast version of math function to be used by compiler when
6906 --ffast_math compile option is used.
6907 * libc/machine/i386/f_atan2f.S: ditto.
6908 * libc/machine/i386/f_exp.c: ditto.
6909 * libc/machine/i386/f_expf.c: ditto.
6910 * libc/machine/i386/f_frexp.S: ditto.
6911 * libc/machine/i386/f_frexpf.S: ditto.
6912 * libc/machine/i386/f_ldexp.S: ditto.
6913 * libc/machine/i386/f_ldexpf.S: ditto.
6914 * libc/machine/i386/f_log.S: ditto.
6915 * libc/machine/i386/f_logf.S: ditto.
6916 * libc/machine/i386/f_log10.S: ditto.
6917 * libc/machine/i386/f_log10f.S: ditto.
6918 * libc/machine/i386/f_math.h: New file.
6919 * libc/machine/i386/f_pow.c: ditto.
6920 * libc/machine/i386/f_powf.S: ditto.
6921 * libc/machine/i386/f_tan.S: ditto.
6922 * libc/machine/i386/f_tan.S: ditto.
6923 * libc/machine/i386/i386mach.h: New file.
6924
6925 Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
6926
6927 patch from Mumit Khan <khan@xraylith.wisc.edu>
6928 * libc/include/stdio.h (tempnam): Add prototype.
6929 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
6930 (tempnam): Adhere to prototype.
6931
6932 Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
6933
6934 * Makefile.am: Add default for AR_FLAGS.
6935 * Makefile.in: Regenerate.
6936
6937 Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
6938
6939 * libc/include/time.h: move __cplusplus wrapper after includes
6940 * libc/include/sys/time.h: ditto. If Cygwin, include
6941 sys/select.h.
6942 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
6943
6944 1998-11-23 Ken Raeburn <raeburn@cygnus.com>
6945
6946 * libc/time/strftime.c (strftime): Handle %y after year 2000.
6947
6948 Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
6949
6950 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
6951 abnormnal end-of-crt0 marker.
6952
6953 Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
6954
6955 * libc/sys/fr30/crt0.s: New file/directory.
6956 * libc/include/machine/setjmp.h: Add FR30 target.
6957 * libc/include/machine/ieeefp.h: Add FR30 target.
6958 * configure.host: Add FR30 target.
6959
6960 Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
6961
6962 * libm/math: Files that are duplicated in common directory removed.
6963 * libm/math/fdlibm.h: Removed.
6964 * libm/math/s_cbrt.c: Removed.
6965 * libm/math/s_copysign.c: Removed.
6966 * libm/math/s_expm1.c: Removed.
6967 * libm/math/s_finite.c: Removed.
6968 * libm/math/s_ilogb.c: Removed.
6969 * libm/math/s_infinity.c: Removed.
6970 * libm/math/s_lib_ver.c: Removed.
6971 * libm/math/s_log1p.c: Removed.
6972 * libm/math/s_logb.c: Removed.
6973 * libm/math/s_matherr.c: Removed.
6974 * libm/math/s_modf.c: Removed.
6975 * libm/math/s_nan.c: Removed.
6976 * libm/math/s_nextafter.c: Removed.
6977 * libm/math/s_rint.c: Removed.
6978 * libm/math/s_scalbn.c: Removed.
6979 * libm/math/sf_cbrt.c: Removed.
6980 * libm/math/sf_copysign.c: Removed.
6981 * libm/math/sf_expm1.c: Removed.
6982 * libm/math/sf_finite.c: Removed.
6983 * libm/math/sf_ilogb.c: Removed.
6984 * libm/math/sf_infinity.c: Removed.
6985 * libm/math/sf_log1p.c: Removed.
6986 * libm/math/sf_logb.c: Removed.
6987 * libm/math/sf_modf.c: Removed.
6988 * libm/math/sf_nan.c: Removed.
6989 * libm/math/sf_nextafter.c: Removed.
6990 * libm/math/sf_rint.c: Removed.
6991 * libm/math/sf_scalbn.c: Removed.
6992 * libm/math/Makefile.am: Removed references to deleted files (above).
6993 * libm/math/Makefile.in: Regenerated.
6994 * libm/Makefile.am: Added common directory to math.
6995 * libm/Makefile.in: Regenerated.
6996
6997 Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
6998
6999 * libm/mathfp: Add non-ANSI functions.
7000 * libm/mathfp/e_acosh.c acosh(): New file.
7001 * libm/mathfp/e_atanh.c atanh(): New file.
7002 * libm/mathfp/e_hypot.c hypot(): New file.
7003 * libm/mathfp/e_j0.c j0(): New file.
7004 * libm/mathfp/e_j1.c j1(): New file.
7005 * libm/mathfp/e_remainder.c remainder(): New file.
7006 * libm/mathfp/e_scalb.c scalb(): New file.
7007 * libm/mathfp/ef_acosh.c acoshf(): New file.
7008 * libm/mathfp/ef_atanh.c atanhf(): New file.
7009 * libm/mathfp/ef_hypot.c hypotf(): New file.
7010 * libm/mathfp/ef_j0.c j0f(): New file.
7011 * libm/mathfp/ef_j1.c j1f(): New file.
7012 * libm/mathfp/ef_remainder.c remainderf(): New file.
7013 * libm/mathfp/ef_scalb.c scalbf(): New file.
7014 * libm/mathfp/er_gamma.c gamma_r: New file.
7015 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
7016 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
7017 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
7018 * libm/mathfp/w_cabs.c cabs(): New file.
7019 * libm/mathfp/w_drem.c drem(): New file.
7020 * libm/mathfp/w_jn.c jn(): New file.
7021 * libm/mathfp/wf_cabs.c cabsf(): New file.
7022 * libm/mathfp/wf_drem.c dremf(): New file.
7023 * libm/mathfp/wf_jn.c jnf(): New file.
7024
7025 Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
7026
7027 * libc/sys/cygwin32: remove directory and contents
7028 * libc/sys/cygwin: and add back, losing the "32".
7029 * configure.host: check for cygwin* instead of cygwin32.
7030 * acinclude.m4: ditto.
7031 * aclocal.m4: regenerate with aclocal
7032 * configure: regenerate with autoconf
7033
7034 Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
7035
7036 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
7037 for length
7038
7039 Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
7040
7041 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
7042 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
7043 to make rand/srand, strtok, asctime, localtime, w_gamma,
7044 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
7045 time.h to bring in struct tm definition.
7046 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
7047 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
7048 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
7049 instead of static variable.
7050 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
7051 struct reent instead of static variable.
7052 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
7053 struct reent instead of static variable.
7054 * libm/math/Makefile.am: Removed s_signgam.o.
7055 * libm/math/Makefile.in: Regenerated.
7056 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
7057 struct reent instead of global variable 'signgam'.
7058 * libm/math/w_lgamma.c (lgamma): Likewise.
7059 * libm/math/wf_gamma.c (gammaf): Likewise.
7060 * libm/math/wf_lgamma.c (lgammaf): Likewise.
7061 * libm/math/s_signgam.c: Removed.
7062 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
7063 to be const.
7064 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
7065 to be const.
7066 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
7067 libc/include/reent.h.
7068 * libc/reent/Makefile.in: Regenerated.
7069 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
7070 to be const.
7071 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
7072 'JIS_action_table' to be const.
7073 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
7074
7075 Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
7076
7077 * acinclude.m4: $with_target_subdir should default to '.'
7078 or confusion results when configuring in same directory as sources.
7079 * Regenerate all aclocal.m4 and configure files.
7080
7081 Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
7082
7083 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
7084 can be set by defining MALLOC_ALIGNMENT=16. Also added support
7085 for platforms where sizeof(size_t) < sizeof(long) via
7086 SIZE_T_SMALLER_THAN_LONG macro.
7087
7088 Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
7089
7090 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
7091 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
7092 which sets _CLOCKS_PER_SEC_ for selected machines.
7093 * libc/include/machine/time.h: New file.
7094
7095 Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
7096
7097 * libc/syscalls/sysexecve.c: New file.
7098 * libc/syscalls/sysgettod.c: New file.
7099 * libc/syscalls/systimes.c: New file.
7100 * libc/syscalls/Makefile.am: Added new objects.
7101 * libc/syscalls/Makefile.in: Regenerated.
7102 * libc/include/_syslist.h (_execve): Moved define in file.
7103 * libc/include/reent.h: Added _execve_r declaration.
7104 * libc/Makefile.in: Regenerated.
7105 * libc/ctype/Makefile.in: Regenerated.
7106 * libc/errno/Makefile.in: Regenerated.
7107 * libc/locale/Makefile.in: Regenerated.
7108 * libc/machine/Makefile.in: Regenerated.
7109 * libc/misc/Makefile.in: Regenerated.
7110 * libc/posix/Makefile.in: Regenerated.
7111 * libc/reent/Makefile.in: Regenerated.
7112 * libc/reent/execr.c (_execve_r): Added _execve_r function.
7113 * libc/signal/Makefile.in: Regenerated.
7114 * libc/stdio/Makefile.in: Regenerated.
7115 * libc/time/Makefile.in: Regenerated.
7116 * libc/unix/Makefile.in: Regenerated.
7117 * libm/mathfp/Makefile.in: Regenerated.
7118
7119 Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
7120
7121 * libc/string/Makefile.in: Regenerated.
7122 * libc/string/memchr.c (memchr): Moved code to reduce object size.
7123 * libc/string/memcpy.c (memcpy): Ditto.
7124 * libc/string/memcmp.c (memcmp): Ditto.
7125 * libc/string/memset.c (memset): Ditto.
7126 * libc/string/strchr.c (strchr): Ditto.
7127 * libc/string/strcmp.c (strcmp): Ditto.
7128 * libc/string/strcpy.c (strcpy): Ditto.
7129 * libc/string/strlen.c (strlen): Ditto.
7130
7131 Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
7132
7133 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
7134 to generate aclocal.m4.
7135 * libm/Makefile.in: Regenerated.
7136 * libm/aclocal.m4: Regenerated.
7137 * libm/configure: Regenerated.
7138 * libm/math/Makefile.in: Regenerated.
7139 * libm/mathfp/Makefile.in: Regenerated.
7140
7141 1998-09-25 Mark Salter <msalter@cygnus.com>
7142
7143 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
7144 by adding leading and trailing underscores to symbol names.
7145
7146 Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
7147
7148 * Makefile.in: Add default for AR_FLAGS.
7149
7150 Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
7151
7152 patch from ian@airs.com (Ian Taylor):
7153 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
7154 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
7155 is needed for detecting the build machine. Required for
7156 cygwin native builds.
7157
7158 * Regenerate all aclocal.m4 and configure files.
7159
7160 Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
7161
7162 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
7163 used to start with LC.
7164
7165 Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7166
7167 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
7168 (longjmp): Likewise.
7169
7170 Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7171
7172 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
7173 the test for small number of bytes.
7174
7175 Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
7176
7177 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
7178 math library that uses floating point algorithms instead of the old
7179 libm.
7180 * Makefile.in: Regenerate with automake version 1.3b.
7181 * configure: Rebuild.
7182 * libm/Makefile.in: Regenerate with automake version 1.3b.
7183 * libm/aclocal.m4: Regenerate.
7184 * libm/configure: Rebuild.
7185 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
7186 * libm/acinclude.m4: Define macros for configure.in.
7187 * libm/config.h.in: Generate.
7188 * libm/mathfp/Makefile.am: New file.
7189 * libm/mathfp/Makefile.in: Generate.
7190 * libm/mathfp/s_acos.c (acos): New file.
7191 * libm/mathfp/s_asin.c (asin): New file.
7192 * libm/mathfp/s_asine.c (asine): New file.
7193 * libm/mathfp/s_atan.c (atan): New file.
7194 * libm/mathfp/s_atan2.c (atan2): New file.
7195 * libm/mathfp/s_atangent.c (atangent): New file.
7196 * libm/mathfp/s_ceil.c (ceil): New file.
7197 * libm/mathfp/s_copysign.c (copysign): New file.
7198 * libm/mathfp/s_cos.c (cos): New file.
7199 * libm/mathfp/s_cosh.c (cosh): New file.
7200 * libm/mathfp/s_exp.c (exp): New file.
7201 * libm/mathfp/s_fabs.c (fabs): New file.
7202 * libm/mathfp/s_finite.c (finite): New file.
7203 * libm/mathfp/s_floor.c (floor): New file.
7204 * libm/mathfp/s_fmod.c (fmod): New file.
7205 * libm/mathfp/s_frexp.c (frexp): New file.
7206 * libm/mathfp/s_infconst.c: New file.
7207 * libm/mathfp/s_isinf (isinf).c: New file.
7208 * libm/mathfp/s_isnan.c (isnan): New file.
7209 * libm/mathfp/s_ispos.c (ispos): New file.
7210 * libm/mathfp/s_ldexp.c (ldexp): New file.
7211 * libm/mathfp/s_log.c (log): New file.
7212 * libm/mathfp/s_log10.c (log10): New file.
7213 * libm/mathfp/s_logarithm.c (logarithm): New file.
7214 * libm/mathfp/s_mathcnst.c: New file.
7215 * libm/mathfp/s_modf (modf).c: New file.
7216 * libm/mathfp/s_numtest.c (numtest): New file.
7217 * libm/mathfp/s_pow.c (pow): New file.
7218 * libm/mathfp/s_scalbn.c (scalbn): New file.
7219 * libm/mathfp/s_sin (sin).c: New file.
7220 * libm/mathfp/s_sine.c (sine): New file.
7221 * libm/mathfp/s_sineh.c (sineh): New file.
7222 * libm/mathfp/s_sinf.c (sinf): New file.
7223 * libm/mathfp/s_sinh.c (sinh): New file.
7224 * libm/mathfp/s_sqrt.c (sqrt): New file.
7225 * libm/mathfp/s_tan.c (tan): New file.
7226 * libm/mathfp/s_tanh.c (tanh): New file.
7227 * libm/mathfp/sf_acos.c (acosf): New file.
7228 * libm/mathfp/sf_asin.c (asinf): New file.
7229 * libm/mathfp/sf_asine.c (asinef): New file.
7230 * libm/mathfp/sf_atan.c (atanf): New file.
7231 * libm/mathfp/sf_atan2.c (atan2f): New file.
7232 * libm/mathfp/sf_atangent.c (atangent): New file.
7233 * libm/mathfp/sf_ceil.c (ceilf): New file.
7234 * libm/mathfp/sf_copysign.c (copysignf): New file.
7235 * libm/mathfp/sf_cos.c (cosf): New file.
7236 * libm/mathfp/sf_cosh.c (coshf): New file.
7237 * libm/mathfp/sf_exp.c (expf): New file.
7238 * libm/mathfp/sf_fabs.c (fabsf): New file.
7239 * libm/mathfp/sf_finite.c (finitef): New file.
7240 * libm/mathfp/sf_floor.c (floorf): New file.
7241 * libm/mathfp/sf_fmod.c (fmodf): New file.
7242 * libm/mathfp/sf_frexp.c (frexpf): New file.
7243 * libm/mathfp/sf_isinf.c (isinff): New file.
7244 * libm/mathfp/sf_isnan.c (isnanf): New file.
7245 * libm/mathfp/sf_ispos.c (isposf): New file.
7246 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
7247 * libm/mathfp/sf_log.c (logf): New file.
7248 * libm/mathfp/sf_log10.c (log10f): New file.
7249 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
7250 * libm/mathfp/sf_modf.c (modff): New file.
7251 * libm/mathfp/sf_numtest.c (numtestf): New file.
7252 * libm/mathfp/sf_pow.c (powf): New file.
7253 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
7254 * libm/mathfp/sf_sin.c (sinf): New file.
7255 * libm/mathfp/sf_sine.c (sinef): New file.
7256 * libm/mathfp/sf_sineh.c (sinehf): New file.
7257 * libm/mathfp/sf_sinh.c (sinhf): New file.
7258 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
7259 * libm/mathfp/sf_tan.c (tanf): New file.
7260 * libm/mathfp/sf_tanh.c (tanhf): New file.
7261 * libm/mathfp/zmath.h: New file.
7262
7263 Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7264
7265 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
7266 exit if it has been overwritten by pre-fetching in delay slot.
7267
7268 1998-09-01 Michael Meissner <meissner@cygnus.com>
7269
7270 * Makefile.am (tooldir): Add in host_alias, so that multilib
7271 libraries are installed in the directory the compiler looks in.
7272 * Makefile.in: Regenerate.
7273
7274 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
7275
7276 Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
7277
7278 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
7279 ahead of test for number of bytes being moved.
7280
7281 Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
7282
7283 * libc/include/sys/unistd.h: Nothing special needed for
7284 _exit under cygwin.
7285
7286 Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
7287
7288 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
7289 conform to user label naming conventions.
7290
7291 Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
7292
7293 * libc/sys/cygwin32/sys/utime.h: variable names in
7294 protos should start with two leading underscores
7295 * libc/include/string.h: ditto
7296 * libc/include/sys/signal.h: ditto
7297 * libc/include/sys/stat.h: ditto
7298 * libc/include/sys/time.h: ditto
7299 * libc/include/sys/unistd.h: ditto
7300 * libc/include/ctype.h: ditto
7301 * libc/include/stdlib.h: ditto
7302 * libc/include/sys/reent.h: struct _atexit function ptr takes a
7303 void, same with _sig_func.
7304
7305 Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
7306
7307 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
7308 for MB_CAPABLE to reduce code size when newlib is not configured
7309 with --enable-newlib-mb.
7310 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
7311 mbtowc_r.o to minimize size.
7312 * libc/stdlib/Makefile.in: Rebuild.
7313
7314 Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
7315
7316 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
7317 to -DREENT.
7318 * libc/sys/sparc64/Makefile.in: Rebuild.
7319
7320 Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
7321
7322 * Makefile.am (MAKEOVERRIDES): Define.
7323 * Makefile.in: Rebuild.
7324
7325 Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
7326
7327 * libc/sys/sparc64/sys/stat.h (stat): Add const.
7328
7329 Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
7330
7331 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
7332 newlib_cflags when looking for targ-include.
7333 * */aclocal.m4, */configure: Rebuild.
7334
7335 Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
7336
7337 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
7338 to "_end".
7339
7340 Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
7341
7342 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
7343 on SPARCs with little-endian data.
7344 * libc/include/machine/ieeefp.h: Ditto.
7345
7346 Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
7347
7348 * acinclude.m4: Handle a relative srcdir correctly when setting
7349 newlib_cflags.
7350 * */aclocal.m4, */configure: Rebuild.
7351
7352 Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
7353
7354 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
7355 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
7356 * libm/math/wrf_gamma.c (gammaf_r): ditto
7357 * libm/math/wr_lgamma.c (lgamma_r): ditto
7358 * libm/math/wr_gamma.c (gamma_r): ditto
7359 * libm/math/wf_sqrt.c (sqrtf): ditto
7360 * libm/math/wf_sinh.c (sinhf): ditto
7361 * libm/math/wf_scalb.c (scalbf): ditto
7362 * libm/math/wf_remainder.c (remainderf): ditto
7363 * libm/math/wf_pow.c (powf): ditto
7364 * libm/math/wf_log10.c (log10f): ditto
7365 * libm/math/wf_log.c (logf): ditto
7366 * libm/math/wf_lgamma.c (lgammaf): ditto
7367 * libm/math/wf_jn.c (jnf, ynf): ditto
7368 * libm/math/wf_j1.c (j1f, y1f): ditto
7369 * libm/math/wf_j0.c (j0f, y0f): ditto
7370 * libm/math/wf_hypot.c (hypotf): ditto
7371 * libm/math/wf_gamma.c (gammaf): ditto
7372 * libm/math/wf_fmod.c (fmodf): ditto
7373 * libm/math/wf_exp.c (expf): ditto
7374 * libm/math/wf_cosh.c (coshf): ditto
7375 * libm/math/wf_atanh.c (atanhf): ditto
7376 * libm/math/wf_atan2f.c (atan2f): ditto
7377 * libm/math/wf_asin.c (asinf): ditto
7378 * libm/math/wf_acosh.c (acoshf): ditto
7379 * libm/math/wf_acos.c (acosf): ditto
7380 * libm/math/w_sqrt.c (sqrt): ditto
7381 * libm/math/w_sinh.c (sinh): ditto
7382 * libm/math/w_scalb.c (scalb): ditto
7383 * libm/math/w_remainder.c (remainder): ditto
7384 * libm/math/w_pow.c (pow): ditto
7385 * libm/math/w_log10.c (log10): ditto
7386 * libm/math/w_log.c (log): ditto
7387 * libm/math/w_lgamma.c (lgamma): ditto
7388 * libm/math/w_jn.c (jn, yn): ditto
7389 * libm/math/w_j1.c (j1, y1): ditto
7390 * libm/math/w_j0.c (j0, y0): ditto
7391 * libm/math/w_hypot.c (hypot): ditto
7392 * libm/math/w_gamma.c (gamma): ditto
7393 * libm/math/w_fmod.c (fmod): ditto
7394 * libm/math/w_exp.c (exp): ditto
7395 * libm/math/w_cosh.c (cosh): ditto
7396 * libm/math/w_atanh.c (atanh): ditto
7397 * libm/math/w_atan2f.c (atan2): ditto
7398 * libm/math/w_asin.c (asin): ditto
7399 * libm/math/w_acosh.c (acosh): ditto
7400 * libm/math/w_acos.c (acos): ditto
7401
7402 Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
7403
7404 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
7405 (fsrc): Add wf_cabs.c and wf_drem.c.
7406 * libm/math/Makefile.in: Rebuild.
7407
7408 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
7409 unused directory variables. Remove duplicate CFLAGS.
7410 * Makefile.in: Rebuild.
7411
7412 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
7413 with $(CC_FOR_BUILD).
7414 (makedoc.o): Likewise.
7415 * doc/Makefile.in: Rebuild.
7416
7417 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
7418 force a definition of COMPILE.
7419 (libfoo_a_SOURCES): Define.
7420 * libc/sys/cygwin32/Makefile.in: Rebuild.
7421 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
7422 force a definition of COMPILE.
7423 (libfoo_a_SOURCES): Define.
7424 * libc/sys/tic80/Makefile.in: Rebuild.
7425
7426 Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
7427
7428 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
7429 flag.
7430
7431 Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
7432
7433 * Build using autoconf and automake. Added many Makefile.am and
7434 configure.in files, plus generated files. Old configure.in files
7435 and all old Makefile.in files completely replaced. Removed
7436 host/any. Added acinclude.m4 and configure.host.
7437
7438 Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
7439
7440 * libc/stdio/vfprintf.c: enable long long support, sometimes.
7441 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
7442
7443 Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7444
7445 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
7446 * libc/machine/sh/Makefile.in: Add rules for new files.
7447
7448 Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7449
7450 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
7451 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
7452 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
7453
7454 Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
7455
7456 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
7457 code is ignored.
7458
7459 Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
7460
7461 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
7462 internal static buffer when s is NULL, as prescribed by ANSI.
7463
7464 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
7465
7466 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
7467 removed.
7468 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
7469 libc/stdlib will be used for h8300hms.
7470
7471 Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
7472
7473 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
7474 version that can be built either for speed or size.
7475 * libc/machine/mn10300/memset.S (_memset): ditto
7476 * libc/machine/mn10300/memchr.S (_memchr): ditto
7477 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
7478 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
7479 * libc/machine/mn10300/strchr.S (_strchr): ditto
7480 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
7481 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
7482 * libc/machine/mn10300/Makefile.in: Added entries for
7483 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
7484 strcmp.o, strcpy.o, and strlen.o.
7485
7486 Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
7487
7488 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
7489 been replaced with libgloss/mn10200.
7490
7491 Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
7492
7493 * libc/string/strchr.c (strchr): Make s a constant pointer to
7494 avoid warning.
7495
7496 Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
7497
7498 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
7499 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
7500 board SWIs instead of Demon board SWIs).
7501
7502 Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
7503
7504 * libc/string/strncat.c (strncat): Make -Os act the same as
7505 PREFER_SIZE_OVER_SPEED being defined.
7506
7507 Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
7508
7509 * libc/string/memchr.c (memchr): Make -Os act the same as
7510 PREFER_SIZE_OVER_SPEED being defined.
7511 * libc/string/memcmp.c (memcmp): Ditto.
7512 * libc/string/memcpy.c (memcpy): Ditto.
7513 * libc/string/memset.c (memset): Ditto.
7514 * libc/string/strcat.c (strcat): Ditto.
7515 * libc/string/strchr.c (strchr): Ditto.
7516 * libc/string/strcmp.c (strcmp): Ditto.
7517 * libc/string/strcpy.c (strcpy): Ditto.
7518 * libc/string/strlen.c (strlen): Ditto.
7519 * libc/string/strncat.c (strncat): Ditto.
7520 * libc/string/strncmp.c (strncmp): Ditto.
7521 * libc/string/strncpy.c (strncpy): Ditto.
7522
7523 Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
7524
7525 * libc/include/sys/itimer.h: remove
7526 * libc/include/sys/time.h: itimer stuff should be here
7527
7528 Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
7529
7530 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
7531 bit instead of comparing to 0 so -0.0 can be printed correctly.
7532
7533 Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7534
7535 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
7536
7537 Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
7538
7539 * libc/include/sys/unistd.h: fix sync() proto
7540 * libc/include/sys/fcntl.h: remove _close which is already
7541 defined in unistd.h.
7542 * libc/include/sys/time.h: add getitimer proto
7543
7544 Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
7545
7546 * libc/string/strchr.c: convert arg to unsigned char
7547 * libc/include/stdlib.h: add protos for random, srandom
7548 * libc/include/sys/stat.h: add lstat proto
7549 * libc/include/sys/time.h: add setitimer proto
7550 * libc/include/sys/unistd.h: add readlink, symlink protos
7551 * libc/include/process.h: instead of including windows.h and using
7552 HANDLEs in sexec protos, just use void *s. Need to include
7553 sys/types.h.
7554
7555 Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
7556
7557 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
7558
7559 Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
7560
7561 * libc/include/process.h: add secure exec protos
7562
7563 Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
7564
7565 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
7566 which are accessed as both doubles and integers.
7567 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
7568 * libc/stdlib/strtod.c (_strtod_r): Likewise.
7569 * libc/stdlib/mprec.h: Add "union double_union" and change
7570 word0/word1 macros to use it.
7571
7572 Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
7573
7574 * libc/include/sys/signal.h: add __cplusplus wrapper
7575
7576 Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
7577
7578 * libc/include/sys/utime.h: new generic file that gets replaced by
7579 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
7580 function.
7581 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
7582 * libc/include/time.h: remove duplicate utime proto
7583 * libc/include/utime.h: add comment
7584
7585 Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
7586
7587 * libc/include/sys/time.h: Add missing include to
7588 allow use of _EXFUN. Remove times function that is
7589 already defined in times.h.
7590
7591 Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
7592
7593 * libc/include/time.h: Fix typo in tzset.
7594
7595 Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
7596
7597 * libc/include/sys/time.h: add missing Cygwin32 function protos
7598 * libc/include/sys/unistd.h: ditto
7599 * libc/include/time.h: ditto
7600
7601 Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
7602
7603 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
7604 FIXME.
7605 * libc/include/sys/types.h: add a new __MS_types__ section
7606 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
7607 __BIT_TYPES_DEFINED__.
7608
7609 Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
7610
7611 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
7612 since it overrides the one in libc/include/sys. Also, start
7613 including types.h.
7614
7615 Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
7616
7617 * libm/math/Makefile.in: add s_signgam.o to obj list
7618
7619 Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
7620
7621 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
7622
7623 Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
7624
7625 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
7626 so don't use defines.
7627
7628 Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
7629
7630 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
7631
7632 Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
7633
7634 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
7635 _current_locale as default locale.
7636
7637 Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
7638
7639 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
7640 insufficient space in a chunk.
7641
7642 Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
7643
7644 * configure.in (links): Added check for --enable-newlib-mb configure
7645 option which defines the MB_CAPABLE macro.
7646 * libc/locale/locale.c (_setlocale_r): Added support for setting
7647 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
7648 defined.
7649 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
7650 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
7651 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
7652 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
7653 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
7654 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
7655 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
7656 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
7657 * libc/stdlib/Makefile.in: Added new multibyte
7658 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
7659 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
7660 _mbstowcs_r(), and _wcstombs_r().
7661 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
7662 for JIS, SJIS, and EUC-JP characters.
7663 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
7664 MB_CAPABLE defined.
7665 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
7666 MB_CAPABLE defined.
7667 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
7668 MB_CAPABLE defined.
7669 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
7670 if MB_CAPABLE defined.
7671 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
7672 if MB_CAPABLE defined.
7673 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
7674 to the format string processing when MB_CAPABLE.
7675 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
7676 call _mbtowc_r().
7677
7678 Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
7679
7680 The following modifications are courtesy of Anthony Thompson,
7681 athompson@cambridge.arm.com:
7682 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
7683 boith RDI and RDP monitors.
7684 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
7685 RDI and RDP monitors.
7686
7687 Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
7688
7689 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
7690 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
7691 (_swiopen): Fixed open flags to treat write with append as just append.
7692 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
7693 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
7694
7695 Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7696
7697 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
7698 When needing to transfer an initial 2-byte-word, store as
7699 two single bytes.
7700
7701 Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7702
7703 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
7704 __SH3E__ .
7705 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
7706 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
7707
7708 Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
7709
7710 * configure.in (target_cflags): If --enable-target-optspace, use
7711 -Os to compile newlib rather than -O2. Default to using -Os for
7712 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
7713 used.
7714
7715 Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
7716
7717 * libc/include/machine/setjmp.h: change sigsetjmp and
7718 siglongjmp definitions to use an array instead of a struct
7719 for __CYGWIN32__
7720
7721 Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
7722
7723 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
7724
7725 Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
7726
7727 * libc/string/strxfrm.c: fix to get correct return value
7728
7729 Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
7730
7731 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
7732 builds. Make mode change labels global so that they will be seen
7733 by the debugger.
7734
7735 Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
7736
7737 * configure.in (links): Do not use ARM debiugging protocols for PE
7738 builds.
7739
7740 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
7741 message.
7742
7743 Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
7744
7745 * libc/stdio/findfp.c (__sinit): Made stdout default to
7746 line buffered mode as defined by ANSI.
7747
7748 Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
7749
7750 * libc/include/sys/itimer.h: New file.
7751
7752 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
7753
7754 Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7755
7756 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
7757 failure.
7758
7759 Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
7760
7761 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
7762 insns.
7763
7764 Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
7765
7766 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
7767
7768 Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
7769
7770 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
7771 support.
7772
7773 * libc/include/machine/setjmp.h: Add D30V support.
7774
7775 * configure.in (d30v-*): Add d30v machine directory.
7776
7777 Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
7778
7779 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
7780 been replaced with libgloss/mn10300.
7781
7782 Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
7783
7784 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
7785 it is no longer needed.
7786
7787 Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
7788
7789 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
7790
7791 Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
7792
7793 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
7794 the file when O_APPEND is set, wherever the EOF happens to be at
7795 that time.
7796
7797 Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
7798
7799 patch from cgf@bbc.com (Christopher Faylor):
7800 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
7801 convention of closing fp prior to attempting to open the file
7802 argument. This allows correct operation when reopening
7803 stdin/stdout/stderr. Replaces last freopen.c patch.
7804
7805 Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
7806
7807 patch from cgf@bbc.com (Christopher Faylor):
7808 * libc/stdio/freopen.c: freopen was not preserving the fd
7809 of the stream being operated on. This confuses programs that
7810 expect that the handles for stdout and stderr will be 1 and 2.
7811
7812 Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
7813
7814 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
7815
7816 Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
7817
7818 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
7819
7820 Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
7821
7822 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
7823 altered to not use a branch. Also added hint that last
7824 bclr in longjmp will likely result in branch.
7825
7826
7827 Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
7828
7829 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
7830
7831 Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
7832
7833 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
7834 v850 builds.
7835
7836 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
7837
7838 Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
7839
7840 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
7841 that loads FR14 to specify offset of 8 rather than 4
7842 so it loads from offset 96 (where setjmp stored it).
7843
7844 Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
7845
7846 * libc/machine/sh/memcpy.S: (_memcpy): Update to
7847 latest version supplied by customer.
7848 * libc/machine/sh/memset.S (_memset): Ditto.
7849
7850 Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
7851
7852 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
7853 PR14730).
7854
7855 Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
7856
7857 * libc/include/string.h: remove redefinition of ffs
7858
7859 Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
7860
7861 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
7862 defined
7863
7864 Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
7865
7866 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
7867 TI Libraries to link to libc.a
7868
7869 Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
7870
7871 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
7872 * libc/include/sys/stat.h (_{,f}stat): Ditto.
7873 * libc/include/sys/wait.h (_wait): Ditto.
7874 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
7875 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
7876
7877 Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
7878
7879 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
7880 minded stabs so function name shows up when running the simulator
7881 with -t.
7882 * libc/sys/d10v/{crt0,trap}.S: Ditto.
7883
7884 Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
7885
7886 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
7887 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
7888 Use R5 where we used to use R3.
7889
7890 Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
7891
7892 * libc/stdlib/getopt.c (getopt): replaced __progname
7893 with nargv[0] to improve portability to imbedded systems.
7894
7895 Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
7896
7897 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
7898 patch supplied by Tont.Thompson@arm.com to fix the creation of the
7899 stdout file.
7900
7901 Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
7902
7903 * libc/stdio/tmpnam.c (worker): Generate a different file name
7904 each time.
7905
7906 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
7907 fails, try an execlp for sh.
7908
7909 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
7910 option for the winsup include directory.
7911
7912 Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
7913
7914 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
7915 debugging interface from Tony.Thompson@arm.com.
7916
7917 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
7918 * libc/sys/arm/swi.h: ditto.
7919
7920 Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
7921
7922 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
7923 DIR struct used for readdir hashes.
7924
7925 Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
7926
7927 * libc/string/strchr.c: Use "unsigned chars" as necessary.
7928
7929 Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
7930
7931 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
7932 integer targets.
7933
7934 Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
7935
7936 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
7937 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
7938 * libc/include/malloc.h: Add extern "C" if __cplusplus.
7939 (__malloc_copy): Declare.
7940
7941 Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
7942
7943 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
7944 <sys/config.h>.
7945 (POINTER_UINT): Define.
7946 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
7947 (MALLOC_ALIGNMENT): Don't define if already defined.
7948 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
7949 long.
7950
7951 Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
7952
7953 * libc/string/memset.c (memset): Fiddle with code so that the long
7954 value being stored is not a stack value. Unroll storing longs 4
7955 times.
7956
7957 Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
7958
7959 * Reduce code size for libm modules.
7960 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
7961 and simply move code into sqrt.
7962 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
7963 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
7964 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
7965 * libm/math/wr_gamma.c (gamma_r): Likewise.
7966 * libm/math/wf_sinh.c (sinfh): Likewise.
7967 * libm/math/w_sinh.c (sinh): Likewise.
7968 * libm/math/wf_scalb.c (scalbf): Likewise.
7969 * libm/math/w_scalb.c (scalb): Likewise.
7970 * libm/math/wf_remainder.c (remainderf): Likewise.
7971 * libm/math/w_remainder.c (remainder): Likewise.
7972 * libm/math/wf_pow.c (powf): Likewise.
7973 * libm/math/w_pow.c (pow): Likewise.
7974 * libm/math/wf_log10.c (log10f): Likewise.
7975 * libm/math/w_log10.c (log10): Likewise.
7976 * libm/math/wf_log.c (logf): Likewise.
7977 * libm/math/w_log.c (log): Likewise.
7978 * libm/math/w_lgamma.c (lgamma): Likewise.
7979 * libm/math/wf_lgamma.c (lgammaf): Likewise.
7980 * libm/math/wf_jn.c (jnf): Likewise.
7981 * libm/math/w_jn.c (jn): Likewise.
7982 * libm/math/wf_j1.c (j1f): Likewise.
7983 * libm/math/w_j1.c (j1): Likewise.
7984 * libm/math/wf_j0.c (j0f): Likewise.
7985 * libm/math/w_j0.c (j0): Likewise.
7986 * libm/math/wf_hypot.c (hypotf): Likewise.
7987 * libm/math/w_hypot.c (hypot): Likewise.
7988 * libm/math/wf_gamma.c (gammaf): Likewise.
7989 * libm/math/w_gamma.c (gamma): Likewise.
7990 * libm/math/wf_fmod.c (fmodf): Likewise.
7991 * libm/math/w_fmod.c (fmod): Likewise.
7992 * libm/math/wf_exp.c (expf): Likewise.
7993 * libm/math/w_exp.c (exp): Likewise.
7994 * libm/math/wf_cosh.c (coshf): Likewise.
7995 * libm/math/w_cosh.c (cosh): Likewise.
7996 * libm/math/wf_atanh.c (atanhf): Likewise.
7997 * libm/math/w_atanh.c (atanh): Likewise.
7998 * libm/math/wf_atan2.c (atan2f): Likewise.
7999 * libm/math/w_atan2.c (atan2): Likewise.
8000 * libm/math/wf_asin.c (asinf): Likewise.
8001 * libm/math/w_asin.c (asin): Likewise.
8002 * libm/math/wf_acosh.c (acoshf): Likewise.
8003 * libm/math/w_acosh.c (acosh): Likewise.
8004 * libm/math/wf_acos.c (asocf): Likewise.
8005 * libm/math/w_acos.c (acos): Likewise.
8006 * libm/math/wf_sqrt.c (sqrtf): Likewise.
8007 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
8008 for embedded systems.
8009
8010 Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
8011
8012 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
8013 Lea in case of a foreign sbrk.
8014
8015 Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
8016
8017 Incorporate Doug Lea's malloc:
8018 * libc/stdlib/mallocr.c: Completely replaced.
8019 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
8020 (realloc): Remove.
8021 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
8022 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
8023 mallopt.
8024 (mallinfo, malloc_stats, mallopt): New functions.
8025 (_mstats_r): Just call _malloc_stats_r.
8026 * libc/stdlib/malign.c: New file.
8027 * libc/stdlib/mlock.c: New file.
8028 * libc/stdlib/msize.c: New file.
8029 * libc/stdlib/mtrim.c: New file.
8030 * libc/stdlib/realloc.c: New file.
8031 * libc/stdlib/valloc.c: New file.
8032 * libc/stdlib/malloc.h: Remove.
8033 * libc/stdlib/callocr.c: Remove.
8034 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
8035 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
8036 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
8037 reallocr.o, valloc.o, vallocr.o.
8038 (CHEWOUT_FILES): Add mlock.def, mstats.def.
8039 (MALLOC_CFLAGS): New variable.
8040 (mallocr.o): New target, build from mallocr.c.
8041 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
8042 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
8043 (msizer.o, malloptr.o): Likewise.
8044 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
8045 (valloc.o): New target.
8046 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
8047 * libc/include/malloc.h: Declare struct mallinfo, and new
8048 routines.
8049 * libc/include/stdlib.h (cfree): Correct declaration.
8050
8051 Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
8052
8053 * libc/include/machine/setjmp.h: Add support for Thumb target.
8054
8055 * libc/include/machine/ieeefp.h: Add support for Thumb target.
8056
8057 * configure.in (links): Add support for Thumb target.
8058
8059 Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
8060
8061 * libc/sys/arm/setjmp.S: Updated with version from branch.
8062
8063 Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
8064
8065 * libc/include/stdio.h: add POSIX-required define L_ctermid
8066 for ctermid
8067
8068 Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
8069
8070 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
8071 addition to MISSING_SYSCALL_NAMES.
8072
8073 Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8074
8075 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
8076
8077 Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
8078
8079 * libc/include/string.h: change strsignal proto to return
8080 a char *. This eliminates compile problems in gdb resulting
8081 from gdb's definition of strsignal in defs.h.
8082
8083 Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
8084
8085 * libc/sys/cygwin32/sys/utime.h: new (moved here from
8086 winsup/include) so as not to conflict with the one in
8087 libc/include.
8088 * libc/include/string.h: add protos for strsignal, strtosigno
8089
8090 Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
8091
8092 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
8093
8094 * configure.in (d30v-*-*): Add configuration.
8095
8096 Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
8097
8098 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
8099 to select which kind of debug monitor is in use for an ARM target.
8100
8101 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
8102 Angel and Demon debug monitors. Part of this code was supplied by
8103 Tony Thompson at ARM: athompso@arm.com.
8104
8105 Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
8106
8107 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
8108 semantics when the count is greater than the length of the second
8109 source string.
8110
8111 Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
8112
8113 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
8114 * libc/include/sys/unistd.h: add protos for usleep, truncate,
8115 truncate and ftruncate take off_t, not size_t
8116
8117 Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
8118
8119 * libc/string/strcat.c (strcat): Add missing comment end.
8120 * libc/string/strncat.c (strncat): Likewise.
8121
8122 Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
8123
8124 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
8125 targets.
8126 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
8127 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
8128 defined.
8129 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
8130 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
8131 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
8132
8133 Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
8134
8135 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
8136 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
8137
8138 Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
8139
8140 * libc/machine/i386/setjmp.S: New file.
8141 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
8142 (OFILES): Add setjmp.o.
8143 (setjmp.o): Add rule for.
8144 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
8145
8146 Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
8147 Jeffrey A Law (law@cygnus.com)
8148
8149 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
8150 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
8151 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
8152 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
8153
8154 Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
8155
8156 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
8157 rules.
8158
8159 * libc/include/sys/config.h: Use __v850 to select v850
8160 endianness.
8161
8162 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
8163 buffer size.
8164
8165 * libc/include/machine/ieeefp.h: Use __v850 to select v850
8166 endianness.
8167
8168 Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
8169
8170 * libc/stdlib/setenv.c: change unsetenv definition to match
8171 style of setenv (with _DEFUN). The string should be a const.
8172 * libc/include/stdlib.h: unsetenv proto should return void.
8173
8174 Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
8175
8176 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
8177
8178 Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
8179
8180 * libc/stdio/glue.h: remove.
8181 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
8182 * libc/stdio/Makefile.in: remove glue.h dependencies
8183
8184 Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
8185
8186 * libc/sys/sysnecv850/crt0.S: Created V850e version.
8187
8188 Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
8189
8190 * configure.in (target_cpu): Add `arc'.
8191
8192 Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
8193
8194 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
8195 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
8196 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
8197 * newlib/libc/reent/reent.c: Add _wrapup_reent.
8198 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
8199
8200 Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
8201
8202 * libc/machine/mips/setjmp.S: Handle mips16 builds.
8203
8204 Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
8205
8206 * libc/include/stdio.h (siprintf): Declare.
8207
8208 Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
8209
8210 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
8211 TARGET_CFLAGS and NEWLIB_FLAGS.
8212
8213 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
8214
8215 * configure.in (links): Add support for v850ea target.
8216
8217 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
8218
8219 * configure.in (links): Add support for v850e target.
8220
8221 Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
8222
8223 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
8224
8225 Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
8226
8227 * configure.in (arc-*-*): Add support for.
8228 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
8229
8230 Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8231
8232 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
8233
8234 Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
8235
8236 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
8237 comparison which accesses invalid memory when the key is
8238 larger than the last member of the array.
8239 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
8240 for CYGWIN32
8241 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
8242
8243 Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
8244
8245 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
8246 not _STRICT_ANSI.
8247
8248 Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
8249
8250 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
8251 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
8252
8253 Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
8254
8255 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
8256 to load/store memory.
8257
8258 Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
8259
8260 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
8261 underscores if _WIN32.
8262
8263 Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
8264
8265 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
8266 support ifdef _USE_WRITE missed in last change.
8267 From Anders Blomdell <anders.blomdell@control.lth.se>.
8268
8269 Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
8270
8271 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
8272 (_tmpnam_r, _tempnam_r): Update.
8273
8274 Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
8275
8276 * libc/machine/sparc/setjmp.S: New file.
8277 * libc/machine/sparc/Makefile.in: Add setjmp.
8278 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
8279
8280 Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
8281
8282 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
8283
8284 Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
8285
8286 From Joel Sherrill <joel@oarcorp.com>.
8287 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
8288
8289 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
8290 * configure.in: Recognize *-*-rtems*.
8291 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
8292 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
8293 time.h,times.h,types.h}: New files.
8294 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
8295
8296 Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
8297
8298 patch from sos@prospect.com.ru (Sergey Okhapkin):
8299 * include/sys/wait.h: correct operator precidence bug
8300 in WIFSIGNALED
8301
8302 Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
8303
8304 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
8305 with newlib's unsetenv function
8306 * libc/sys/cygwin32/sys: new directory for includes
8307 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
8308 here from winsup/include/sys
8309
8310 Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
8311
8312 * libc/include/sys/unistd.h: _exit should only be
8313 labelled noreturn when not __CYGWIN32__
8314 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
8315 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
8316 increment NSIG
8317
8318 Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
8319
8320 * libc/include/sys/time.h: Only define timeval and timezone if
8321 _GNU_H_WINDOWS32_SOCKETS is not defined.
8322 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
8323
8324 Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
8325
8326 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
8327 * libc/machine/mn10300/setjmp.S: Likewise.
8328
8329 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
8330 the mn10300 (more relaxing opportunities).
8331
8332 Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
8333
8334 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
8335 Build libraries with -mstrict-align.
8336
8337 Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
8338
8339 * libc/string/strlwr.c: New file.
8340 * libc/string/strupr.c: New file.
8341 * libc/include/string.h: Declare strlwr and strupr.
8342 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
8343 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
8344 (strlwr.o, strupr.o): New targets.
8345 * libc/string/strings.tex: Include strlwr and strupr docs.
8346
8347 * libc/include/sys/types.h: Don't define u_char, et. al., if
8348 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
8349 et. al. Make FD_SETSIZE default 64 rather than 60. Define
8350 _types_fd_set rather than fd_set, and define fd_set as a macro.
8351
8352 * libc/include/malloc.h: New file.
8353
8354 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
8355 strnicmp if they are not already defined.
8356
8357 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
8358 _timezone, _daylight, and _tzname.
8359
8360 Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
8361
8362 * configure.in: Sort all configuration tables.
8363
8364 From Joel Sherrill <joel@oarcorp.com>
8365 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
8366
8367 Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
8368
8369 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
8370 use int when declaring kill.
8371
8372 * libc/include/sys/timeb.h: New file.
8373
8374 Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
8375
8376 * libc/include/sys/time.h: add itimer support for Cygwin32
8377
8378 Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
8379
8380 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
8381 out a message that abort was called to stderr.
8382
8383 Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
8384
8385 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
8386 so that libio doesn't freak.
8387
8388 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
8389 int.
8390
8391 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
8392 memory sizes, not int.
8393
8394 Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
8395
8396 * libm/math/ef_hypot.c: Use long constants where
8397 appropriate.
8398 * libm/math/ef_sqrt.c: Ditto.
8399
8400 * libc/sys/sysmec/times.c(_times): Change to times.
8401
8402 * libc/sys/sysmec/read.c(_read): The third argument is
8403 size_t.
8404 * libc/sys/sysmec/write.c (_write): Ditto.
8405
8406 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
8407 (_lseek): It's off_t for the second argument.
8408
8409 Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
8410
8411 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
8412 as well as machine/ieeefp.h.
8413
8414 Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
8415
8416 * libc/include/sys/signal.h: add signal protos for winsup
8417 functions (when __CYGWIN32__), include types.h
8418 * libc/include/sys/types.h: Change __go32_types__ internal
8419 define to __MS_types__ since it's used for more than just
8420 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
8421 defined.
8422 * libc/include/sys/unistd.h: add ftruncate proto for
8423 winsup functions (when __CYGWIN32__)
8424
8425 Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
8426
8427 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
8428
8429 Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
8430
8431 * libc/include/machine/setjmp.h: Add tic80 support.
8432 * libc/machine/tic80/setjmp.S: Likewise.
8433
8434 Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
8435
8436 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
8437 link programs from libraries only (such as in the X11
8438 distribution)
8439
8440 Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
8441
8442 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
8443 supplied elsewhere in newlib.
8444
8445 Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
8446
8447 * Makefile.in (INSTALL): Change install.sh to install-sh.
8448
8449 Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
8450
8451 * README: update WWW address for on-line documentation.
8452
8453 Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
8454
8455 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
8456 increment NSIG
8457
8458 Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
8459
8460 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
8461 mn10300.
8462 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
8463
8464 Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
8465
8466 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
8467 * libc/sys/d10v/syscalls.c: Likewise.
8468 * libc/sys/h8300hms/sbrk.c: Likewise.
8469 * libc/sys/h8500hms/syscalls.c: Likewise.
8470 * libc/sys/m88kbug/syscalls.c: Likewise.
8471 * libc/sys/sh/syscalls.c: Likewise.
8472 * libc/sys/sysmec/sbrk.c: Likewise.
8473 * libc/sys/sysnecv850/sbrk.c: Likewise.
8474 * libc/sys/w65/syscalls.c: Likewise.
8475 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
8476
8477 Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
8478
8479 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
8480 emulated syscall instead of "trap".
8481
8482 Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
8483
8484 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
8485 not trap 0.
8486
8487 Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
8488
8489 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
8490
8491 Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
8492
8493 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
8494 not "sh".
8495 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
8496 not "d10v".
8497 * libc/sys/tic80/crt0.c: New file for TIc80.
8498 * libc/sys/tic80/Makefile.in: New file for TIc80.
8499 * libc/machine/tic80/Makefile.in: New file for TIc80.
8500
8501 Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
8502
8503 * libc/machine/sh/memcpy.S: New file.
8504 * libc/machine/sh/memset.S: New file.
8505 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
8506
8507 Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
8508
8509 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
8510 for TIc80.
8511
8512 Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
8513
8514 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
8515 the mn10200.
8516
8517 Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
8518
8519 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
8520 (patch from andrew@pogo.WV.TEK.COM).
8521
8522 Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
8523
8524 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
8525 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
8526
8527 Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
8528
8529 * configure.in: Add cases for "tic80" to set machine_dir,
8530 sys_dir, and syscall_dir.
8531
8532 Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
8533
8534 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
8535
8536 Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
8537
8538 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
8539
8540 Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
8541
8542 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
8543 Use proper constant prefix.
8544
8545 Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
8546
8547 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
8548 that loses on the mn10200 where ints and pointers are different
8549 sizes.
8550
8551 Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
8552
8553 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
8554 target as signal is provided in winsup.
8555
8556 Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
8557
8558 * libc/include/sys/process.h: Corrected const definitions
8559 in spawn functions. Added cwait.
8560
8561 Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
8562
8563 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
8564 doubles.
8565 * libc/include/sys/config.h: Similarly.
8566
8567 Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8568
8569 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
8570 target_cflags.
8571 (i[3456]86-*-sco*): Ditto.
8572
8573 * libc/signal/Makefile.in (OFILES): Add signal.o.
8574 (CFILES): Add signal.c.
8575
8576 * libc/signal/raise.c (_raise_r): Only compile code if
8577 SIGNAL_PROVIDED is defined.
8578
8579 * libc/signal/signal.c: Redo whole file so that it works with
8580 current newlib. Use _kill_r if no signal handler provided.
8581
8582 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
8583 signal stubs.
8584 * libc/sys/sysvnecv70/Makefile.in: Ditto.
8585 * libc/sys/sysnecv850/Makefile.in: Ditto.
8586
8587 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
8588 * libc/sys/sysmec/{raise,signal}.c: Ditto.
8589 * libc/sys/sysvnecv70/signal.s: Ditto.
8590 * libc/sys/sysnecv850/raise.c: Ditto.
8591
8592 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
8593 simulator and debugger can tell the difference between a signal
8594 being raised and an exit system call.
8595
8596 * NEWS: Document software signals being provided.
8597
8598 Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8599
8600 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
8601 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
8602 include/sys/config.h.
8603 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
8604 Change from 'inpure_data'.
8605 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
8606 &impure_data, not &inpure_data.
8607
8608 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
8609 and and System V ABI, define so that _impure_ptr lives in the
8610 .sdata section.
8611
8612 Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8613
8614 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
8615 nothing if not defined.
8616 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
8617 its attributes.
8618
8619 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
8620
8621 Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
8622
8623 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
8624 * libc/sys/sysmec/trap.s: Handle mn10200 too.
8625 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
8626
8627 Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
8628
8629 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
8630
8631 Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
8632
8633 * libc/include/sys/errno.h: Added net errno's.
8634
8635 Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8636
8637 * libc/misc/ffs.c: New file to support ffs function for GCC test
8638 gcc.c-torture/execute/960909-1.c.
8639
8640 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
8641
8642 Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
8643
8644 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
8645 * libc/sys/sysmec/trap.S: Likewise.
8646
8647 Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
8648
8649 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
8650 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
8651
8652 Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
8653
8654 * libc/sys/sysmec/signal.c: Dummy file.
8655 * libc/sys/sysmec/Makefile.in: Build it.
8656
8657 Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
8658
8659 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
8660 mips16.
8661
8662 Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
8663
8664 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
8665 c-startup and simulator traps.
8666
8667
8668 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
8669 * libc/sys/sysmec/trap0.S: Likewise.
8670
8671 Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8672
8673 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
8674 round to double word alignment.
8675 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
8676 byte alignment.
8677
8678 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
8679
8680 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
8681 out of memory.
8682
8683 Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
8684
8685 * configure.in: Handle mn10200 and mn10300.
8686 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
8687 * libc/include/sys/config.h: Likewise.
8688 * libc/sys/sysmec: New directory for mec stuff.
8689 * libc/machine/mn10300: New directory for mn10300 stuff.
8690 * libc/machine/mn10200: Similarly for mn10200 stuff.
8691
8692 Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
8693
8694 * libc/sys/arm/crt0.S: Use .text, not .section .text.
8695 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
8696
8697 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
8698 (nlink_t): Change type from unsigned int to unsigned short.
8699 (mode_t): Ensure size is 32 bits even if int is 16.
8700 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
8701 (st_spare[123]): Change type from int to long.
8702
8703 Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8704
8705 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
8706 byte boundary.
8707
8708 * configure.in (d10v*): Define SMALL_MEMORY.
8709
8710 Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8711
8712 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
8713 -mrelocatable-lib and -mno-eabi flags.
8714
8715 Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
8716
8717 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
8718 Fix handling of mis-aligned source operand when both the
8719 destination & length are properly aligned.
8720
8721 Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
8722
8723 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
8724 times.o, time.o and gettime.o
8725 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
8726 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
8727 SYS_gettimeofday.
8728
8729 Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
8730
8731 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
8732 * libc/sys/sysnecv850/access.c: New file.
8733
8734 Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
8735
8736 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
8737
8738 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
8739 long.
8740
8741 Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
8742
8743 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
8744
8745 Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
8746
8747 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
8748 * libc/include/sys/config.h: Add m32r support.
8749
8750 Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
8751
8752 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
8753 here.
8754
8755 Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
8756
8757 * libc/include/machine/setjmp.h: Add D10v support.
8758
8759 Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
8760
8761 * configure.in: Configure the "libc/syscalls" directory for
8762 the v850.
8763
8764 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
8765 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
8766 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
8767 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
8768 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
8769
8770 Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
8771
8772 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
8773 stack for args for main and other routines. Zero out args for
8774 main.
8775
8776 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
8777 correctly.
8778
8779 Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8780
8781 * libc/stdio/findfp.c (std): Remove extraneous ';' after
8782 function.
8783
8784 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
8785
8786 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
8787 real system calls now.
8788
8789 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
8790 before casting them to int.
8791 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
8792
8793 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
8794 aligning pointer.
8795 * libc/string/memset.c (memset): Ditto.
8796
8797 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
8798 first convert ints to _POINTER_INT to eliminate GCC warning.
8799
8800 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
8801 processing %p.
8802
8803 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
8804 from 65000 if ints are only 16 bits.
8805
8806 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
8807 from 50000 if ints are only 16 bits.
8808
8809 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
8810 int type that is the same size as a pointer.
8811
8812 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
8813 processing %p.
8814 (get_number): Explicitly cast number to long before shifting by 16
8815 or 24, in case ints are short.
8816
8817 * libc/include/sys/config.h (_POINTER_INT): Define as short.
8818
8819 Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
8820
8821 * libc/string.h: Added ffs, removed swab.
8822 * libc/sys/errno.h: Added EOPNOTSUPP.
8823 * libc/sys/unistd.h: Added swab.
8824
8825 Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
8826
8827 * libc/include/sys/stat.h: Added fchmod.
8828 * libc/include/sys/unistd.h: Added fsync.
8829
8830 Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
8831
8832 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
8833 and ECONNRESET (104) for cygwin32.
8834
8835 Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
8836
8837 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
8838 do the static destructors.
8839
8840 Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
8841
8842 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
8843
8844 Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
8845
8846 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
8847 * configure.in: Recognize m32r-*-*.
8848
8849 Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
8850
8851 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
8852 __rt_stkovf_split_small): Added default software stack overflow
8853 handlers, which just call SWI_Exit.
8854 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
8855 limit initialisation.
8856
8857 Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
8858
8859 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
8860
8861 Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
8862
8863 * libc/include/sys/types.h: Added ssize_t definition.
8864
8865 Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8866
8867 * libc/machine/d10v/setjmp.S: Use ';' for comments.
8868 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
8869
8870 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
8871 branch around a single ldi instruction.
8872
8873 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
8874 Call exit, instead of just issuing a stop instruction.
8875
8876 Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8877
8878 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
8879
8880 Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8881
8882 * libc/stdlib/mprec.h: Explicitly declare all large constants as
8883 longs, and then cast them to __uint32_t.
8884
8885 * libc/include/sys/config.h: Protect against multiple inclusions.
8886
8887 Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
8888
8889 * configure.in (d10v*): Set syscall_dir.
8890
8891 Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
8892
8893 * libc/sys/d10v/crt0.S: Set stack pointer.
8894
8895 Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
8896
8897 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
8898 in assembly for efficiency. Change calling convention to allow
8899 long ints to be returned.
8900
8901 Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8902
8903 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
8904
8905 Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
8906
8907 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
8908 Handle empty entries in $PATH.
8909
8910 Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
8911
8912 * libc/machine/d10v/setjmp.S: Make it really work.
8913
8914 Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
8915
8916 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
8917 the .stack section.
8918
8919 Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
8920
8921 * sys/sysnecv850/sys/file.h: Remove.
8922 * sys/sysnecv850/sys/syscall.h: New file.
8923 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
8924 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
8925 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
8926 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
8927 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
8928 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
8929 * sys/sysnec850/trap.S: New file.
8930 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
8931 syscalls.
8932 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
8933 * sys/sysnec850/sbrk.c: New version.
8934
8935 Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
8936
8937 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
8938 as long as r6 is less than r7.
8939
8940 Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
8941
8942 * Makefile.in (mostlyclean): Separate from clean target. Don't
8943 remove *.a or targ-include.
8944 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
8945
8946 Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8947
8948 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
8949 d10v.
8950 (__SMALL_BITFIELDS): Ditto.
8951
8952 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
8953
8954 Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
8955
8956 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
8957 prefix.
8958
8959 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
8960 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
8961 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
8962 * libc/sys/sysnecv850/write.c (write): Likewise.
8963
8964 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
8965 .bss.
8966
8967 Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8968
8969 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
8970 appropriately for D10V, depending on -mint16/-mint32.
8971
8972 Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
8973
8974 * configure.in: Add cases for D10V.
8975
8976 Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8977
8978 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
8979
8980 Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
8981
8982 * libc/include/machine/ieeefp.h: Fix typo.
8983
8984 Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
8985
8986 * libc/sys/d10v: New directory for D10V stuff.
8987 * libc/include/machine/ieeefp.h: Add D10V defines.
8988
8989 Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
8990
8991 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
8992 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
8993 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
8994 * libc/string/strerror.c (strerror): Add them.
8995
8996 Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
8997
8998 * libc/sys/sysnecv850: New directory for v850 stuff.
8999
9000 * libc/machine/v850: New directory for v850 stuff.
9001 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
9002
9003 * configure.in: Add support for the v850.
9004
9005 * libc/include/machine/ieeefp.h: Add v850 defines.
9006 * libc/include/machine/setjmp.h: Likewise.
9007 * libc/include/sys/config.h: Add v850 defines.
9008
9009 Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
9010
9011 * libc/include/machine/ieeefp.h
9012 * libc/include/machine/setjmp.h
9013 * libc/include/sys/fcntl.h
9014 * libc/include/sys/signal.h
9015 * libc/include/sys/types.h
9016 * libc/stdlib/system.c:
9017 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
9018 API availability, __CYGWIN32__ for cygwin32 environment specific).
9019
9020 Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
9021
9022 * libc/include/stdlib.h: add multibyte character functions. Add
9023 __eprintf for assert.
9024
9025 Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9026
9027 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
9028 arithmetic or __alignof__ to properly get the alignment, instead
9029 of hardwiring it to 4.
9030
9031 Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
9032
9033 * libc/stdio/fseek.c: add fflush call to adjust seek offset
9034 on append stream (fix from NetBSD sources), adjust curoff offset
9035 for ungetc's benefit.
9036 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
9037 * libc/stdio/rewind.c: replace code with up to date NetBSD
9038 code to undo hacks made to work around above problem of not
9039 having fflush call mentioned above
9040
9041 Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
9042
9043 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
9044 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
9045 Partially revert last changes. The thread specific errno is set
9046 iff if the underlying syscall fails and the global errno is not
9047 zero.
9048
9049 Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
9050
9051 * libc/reent/filer.c: Removed files, all functions have split out
9052 into their own files.
9053 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
9054 New files containing functions formally in filer.c
9055 * libc/reent/Makefile.in: Updated for above change.
9056
9057 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
9058 syscall fails, not if errno is changed.
9059 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
9060 _write_r): Likewise.
9061 * libc/reent/fstatr.c (_fstat_r): Likewise.
9062 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
9063 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
9064 * libc/reent/signalr.c (_kill_r): Likewise.
9065 * libc/reent/statr.c (_stat_r): Likewise.
9066 * libc/reent/timer.c (_gettimeofday_r): Likewise.
9067
9068 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
9069 signalr.c, statr.c, timer.c} (errno): declare extern rather
9070 than as a common.
9071
9072 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
9073 instead of calling vfprintf so that i*printf will not require
9074 floating point support code.
9075
9076 Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
9077
9078 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
9079 path delimiter.
9080 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
9081 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
9082
9083 Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
9084
9085 * libc/include/signal.h: _sig_func_ptr function takes an int
9086 * libc/include/sys/signal.h: sa_handler function takes an int
9087
9088 Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
9089
9090 * libc/include/machine/ieeefp.h: Simplify H8/S support.
9091 * libc/include/sys/config.h: Add missing H8/S conditional.
9092
9093 Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
9094
9095 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
9096
9097 Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
9098
9099 * libc/include/machine/setjmp.h: Handle H8/S.
9100 * libc/include/machine/ieeefp.h: Likewise.
9101 * libc/include/sys/config.h: Likewise.
9102 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
9103 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
9104 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
9105 * libc/sys/h8300hms/crt0.S: Likewise.
9106
9107 Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
9108
9109 * Makefile.in (datadir): Set to $(prefix)/share.
9110 (oldincludedir, docdir): Removed.
9111 * doc/Makefile.in (datadir): Set to $(prefix)/share.
9112 (oldincludedir, docdir): Removed.
9113 * libc/Makefile.in (datadir): Set to $(prefix)/share.
9114 (oldincludedir, docdir): Removed.
9115 * libm/Makefile.in (datadir): Set to $(prefix)/share.
9116 (oldincludedir, docdir): Removed.
9117
9118 Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
9119
9120 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
9121 _reent struct.
9122
9123 Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
9124
9125 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
9126 fetch current path rules with sysconf and handler posix/win32
9127 appropriately.
9128
9129 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
9130
9131 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
9132 (WAIT_CHILD): Always define.
9133
9134 Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
9135
9136 * libc/stdlib/eprintf.c: New file.
9137 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
9138 (eprintf.o): New target.
9139
9140 Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
9141
9142 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
9143 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
9144
9145 Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
9146
9147 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
9148 NT in PowerPC endianess cases.
9149
9150 Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9151
9152 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
9153
9154 Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9155
9156 * libc/string/strtok.c: Fix doc typo.
9157
9158 Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
9159
9160 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
9161 _next, _scanpoint, _signgam fields.
9162
9163 * libc/include/stdlib.h (rand_r): Added new declaration.
9164 (_rand_r, _srand_r): Removed declarations.
9165 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
9166 have been made obsolete by rand_r.
9167 * libc/stdlib/rand_r.c: New file, rand_r function as specified
9168 by POSIX.1c.
9169
9170 * libc/string/strtok.c: Update documentation to describe
9171 strtok_r().
9172
9173 Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
9174
9175 * libc/include/sys/stat.h (stat structure): Use the expanded stat
9176 structure on Solaris, and PowerPC systems even though __svr4__ is
9177 defined.
9178
9179 Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
9180
9181 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
9182
9183 Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
9184
9185 * host/any: Use ../.. rather than .. to get to the main build
9186 directory. This matches the current layout of the build
9187 directory.
9188
9189 Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
9190
9191 * libc/machine/h8300/__main.S: Delete. No longer needed.
9192 * libc/machine/h8300/Makefile.in: Corresponding changes.
9193 * libc/sys/h8300hms/crt1.c: New file.
9194 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
9195 * libc/sys/h8300hms/crt0.s: Call __main.
9196
9197 * libc/sys/h8300hms/crt0.S: Use temporary label names
9198 for branch targets.
9199
9200 Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
9201
9202 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
9203
9204 Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9205
9206 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
9207 .sdata on the PowerPC so that we can link newlib with code
9208 compiled with -msdata.
9209
9210 Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
9211
9212 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
9213
9214 Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
9215
9216 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
9217 exception handler to __cygwin_exception_handler.
9218
9219 Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
9220
9221 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
9222
9223 Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
9224
9225 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
9226 SunOS VPATH.
9227 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
9228 wcstombs.o): Likewise.
9229
9230 Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
9231
9232 * libc/stdlib/environ.c (initial_env): New static local.
9233 (environ): Point to `initial_env'.
9234
9235 * libc/include/machine/setjmp.h: Clean up.
9236 (__H8300H__,__PPC__): Define _JBTYPE.
9237 (__arm__): Provide entry for.
9238 (sigjmp_buf): Delete.
9239 (jmp_buf): Use _JBTYPE if defined, otherwise int.
9240
9241 Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
9242
9243 * libc/machine/h8300/strcmp.S: Sign extend the result to
9244 32bits so we don't lose with -mint32.
9245
9246 Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
9247
9248 * libc/sys/go32/sys/errno.h: New file.
9249 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
9250 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
9251 errno's address (make compatible with rest of newlib).
9252 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
9253 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
9254
9255 Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
9256
9257 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
9258 * libc/machine/sparc/Makefile.in: Build them.
9259 * libc/machine/sparc/machine/sparclet.h: New file.
9260
9261 Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
9262
9263 * libc/machine/sh/asm.h: New file.
9264 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
9265 support for SH3e's FP registers. Use asm.h.
9266
9267 Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
9268
9269 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
9270 as first argument. Call _dtoa_r and pass the reent structure
9271 instead of calling __dtoa.
9272
9273 Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
9274
9275 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
9276 the h8300, h8500, and others. Add comments for some rather
9277 dubious code.
9278
9279 Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
9280
9281 * Makefile.in (check): Check that testsuite exists before cd.
9282
9283 Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9284
9285 * libc/include/string.h (strsep): Correct prototype.
9286
9287 Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
9288
9289 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
9290 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
9291 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
9292
9293 Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
9294
9295 * libc/posix/{creat.c,isatty.c}: New files.
9296 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
9297
9298 * libc/sys/sparc64/crt0.S (environ): Delete.
9299 (.LHaveBias): Renamed from HaveBias.
9300
9301 Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
9302
9303 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
9304 (_morecore_r): Delete SBRK_IS_ALLOC support.
9305
9306 Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9307
9308 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
9309 module rather than touch, so we don't get warning messages when
9310 all of the libraries are combined into libc.a.
9311
9312 Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
9313
9314 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
9315 crt0.s replaced by version in libgloss.
9316
9317 Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
9318
9319 * libc/reent/Makefile.in (OFILES): Add impure.o.
9320 * libc/reent/impure.o: New file, define initial reentrancy struct.
9321 * libc/reent/reent.c: Remove above definition.
9322
9323 * libm/math/sf_asinh.c: Fix typo.
9324
9325 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
9326 srf_ldexp.o.
9327
9328 * libm/libm.texinfo: Change documentation to reflect changes
9329 in reentrancy model.
9330 * libm/math/w_gamma.c: Likewise.
9331
9332 Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
9333
9334 * configure.in (*-*-cygwin32): New.
9335 (*-*-win32): Deleted.
9336 * libc/sys/win32 renamed libc/sys/cygwin32.
9337
9338 Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9339
9340 * libc/include/sys/file.h: New include file.
9341
9342 Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
9343
9344 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
9345
9346 Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
9347
9348 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
9349
9350 Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9351
9352 * doc/makedoc.c (realloc): Declare at file scope.
9353 (catchar): Not here.
9354
9355 Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
9356
9357 * Makefile.in (VERSION): Update to 1.7.0.
9358 * {libc,libm}/Makefile.in (VERSION): Likewise.
9359 * configure.in: Minor clean up of multilib stuff.
9360
9361 From David Johnson <davidj@ICSI.Berkeley.EDU>
9362 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
9363
9364 * libc/stdlib/environ.c: New file.
9365 * libc/stdlib/Makefile.in (OFILES): Build it.
9366 * libc/sys/h8500hms/crt0.c (environ): Deleted.
9367 * libc/sys/m88kbug/crt0.c (environ): Deleted.
9368 * libc/sys/z8ksim/crt0.c (environ): Deleted.
9369 * libc/sys/netware/environ.c: Deleted.
9370
9371 Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
9372
9373 * configure.in (links): set sys_dir, posix_dir, syscall_dir
9374
9375 Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
9376
9377 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
9378 declaration out to external scope and declare it PTR, not char *.
9379
9380 Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
9381
9382 * libc/include/sys/unistd.h (getpagesize): New declaration.
9383 (_SC_PAGESIZE): New definition.
9384 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
9385 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
9386
9387 Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
9388
9389 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
9390 addressing. System call returns size, not (last address + 1).
9391
9392 Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9393
9394 * libm/math/*.c: Removed _foo_r() reentrancy API.
9395 * libc/include/math.h: Removed _foo_r prototypes and macros.
9396
9397 * libm/math/*.c: On systems with IEEE single precision "doubles"
9398 move foo() -> foof() wrapper code from the files that implement
9399 the standard IEEE double precision functions to the files that
9400 implement IEEE single precision functions. (ie. On those systems
9401 sin is moved from s_sin.c to sf_sin.c). There should eventually
9402 be use of a C extension (like gcc's alias attribute) so that the
9403 wrappers are not needed at all.
9404
9405 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
9406 strict NEC V810 compiler.
9407 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
9408 for same reason.
9409
9410 Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9411
9412 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
9413 from NetBSD C library.
9414 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
9415
9416 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
9417 and adapted from implementation I wrote for NetBSD C library.
9418 The difference is __assert doesn't take a format argument,
9419 so that there won't be multiple copies of the same string
9420 constant in the executable if assertions are enabled in
9421 more than one source module.
9422 * libc/include/assert.h (assert): Changed to call __assert.
9423
9424 Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9425
9426 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
9427 word1 on systems with 32 bit doubles.
9428 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
9429 so that we can do arithmetic on them.
9430 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
9431 compilers.
9432
9433 Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
9434
9435 * libc/sys/arm/crt0.S: Zero bss.
9436
9437 Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
9438
9439 * libc/include/unctrl.h: New file.
9440 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
9441 * configure.in (subdirs): Add libc/misc.
9442 * libc/Makefile.in (SUBDIRS): Add misc.
9443 (SUBLIBS): Add misc/lib.a.
9444
9445 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
9446
9447 Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
9448
9449 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
9450 (_vfprintf_r): Call CHECK_INIT.
9451
9452 Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
9453
9454 * Makefile.in (MULTITOP): Delete.
9455 (MULTISRCTOP, MULTIBUILDTOP): Add.
9456 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
9457 instead of cfg-ml-pos.in.
9458
9459 Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
9460
9461 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
9462 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
9463 presence.
9464
9465 Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
9466
9467 * libc/string/strtok.c: Include string.h to pick up strtok_r
9468 prototype.
9469
9470 Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9471
9472 * libc/string/strtok.c: include <_ansi.h>.
9473 * libc/time/asctime_r.c: `reresult' -> `result'.
9474
9475 Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9476
9477 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
9478 in #ifndef _REENT_ONLY ... #endif conditional.
9479
9480 * libc/include/string.h (_strtok_r): Remove declaration.
9481 * libc/include/time.h (_asctime_r): Remove declaration.
9482 * libc/string/strtok.c (_strtok_r): Removed.
9483 * libc/time/asctime.c (_asctime_r): Removed.
9484
9485 * libc/string/Makefile.in (OFILES): Add new object.
9486 * libc/string/strtok_r.c: New file. strtok_r function as
9487 specified by POSIX.1c, adapted from strtok implementation
9488 from NetBSD C library.
9489 * libc/string/strtok.c (strtok): Reimplemented in terms of
9490 strtok_r.
9491
9492 * libc/time/Makefile.in (OFILES): Add new objects.
9493 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
9494 New files, reentrant time functions specified by POSIX.1c.
9495 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
9496 reentrant time functions re-written in terms of reentrant
9497 functions.
9498 * libc/time/lcltime.c: Renamed from localtime.c
9499
9500 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
9501 gmtime_r, and localtime_r.
9502
9503 Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
9504
9505 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
9506 * libc/include/sys/unistd.h (getlogin): Revert change of
9507 Oct 19.
9508 * libc/include/sys/signal.h (sigprocmask): Change prototype
9509 so it compiles with c++.
9510
9511 Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
9512
9513 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
9514 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
9515 to give some room in case we need to align the jmp_buf.
9516
9517 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
9518 the new ppc-asm.h include file the compiler provides to specify
9519 function prologue/epilogue. Eliminate saves of the xer and ctr
9520 registers, which are volatile. Before starting to save registers,
9521 align to 8 byte boundary.
9522
9523 Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
9524
9525 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
9526 referenced by standard libraries.
9527
9528 Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
9529
9530 * libc/unix/Makefile.in, libc/string/Makefile.in,
9531 libc/stdio/Makefile.in, libc/reent/Makefile.in,
9532 libc/posix/Makefile.in:
9533 Remove tabs from otherwise empty line. Confuses some
9534 older non-GNU versions of "make".
9535
9536 Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
9537
9538 * libc/sys/unistd.h (getlogin): Returns const char *.
9539
9540 Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
9541
9542 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
9543 * libc/include/errno.h: Moved into and include...
9544 * libc/include/sys/errno.h: New file.
9545 * libc/include/sys/wait.h: New file.
9546 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
9547 * libc/sys/win32/*: Moved out.
9548 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
9549 * configure.in (i[345]86-*-win32): HAVE_RENAME
9550
9551 Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
9552
9553 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
9554 avoid macro expansion for these two names.
9555
9556 Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
9557
9558 * libc/machine/h8500/psi.S: r6 renamed to fp.
9559
9560 Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
9561
9562 * configure.in (powerpc*): No longer need to define
9563 NO_LONGLONG_POINTERS to supress warnings.
9564
9565 Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
9566
9567 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
9568 through PTR instead of directly.
9569
9570 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
9571 non-standard constructor support.
9572
9573 Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9574
9575 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
9576 address of the Bigint instead of the address of its _x field,
9577 as the size the result buffer was calculated accordingly.
9578 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
9579
9580 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
9581 from NetBSD C library. No longer special cases division by
9582 zero (which needs to be done by the application anyway), but
9583 it doesn't need to call abs() (or labs()) four times either.
9584
9585 * libc/stdlib/qsort.c: Replaced with implementation from
9586 NetBSD C library.
9587
9588 Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9589
9590 * libc/stdio/vfprintf.c: Replaced with implementation from
9591 NetBSD C library (which is derived from the 4.4BSD C library).
9592 * libc/stdio/cvt.c: Removed.
9593 * libc/stdio/Makefile: Updated.
9594
9595 Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
9596
9597 * libc/sys/win32/syscalls.c (rename): New.
9598 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
9599
9600 Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
9601
9602 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
9603 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
9604
9605 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
9606 (setjmp.o): Delete rule to build setjmp.o.
9607 * libc/sys/sh/setjmp.S: Delete file.
9608
9609 Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9610
9611 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
9612 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
9613 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
9614 pow5mult and s2b to identifiers with leading underscores.
9615 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
9616 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
9617
9618 Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
9619
9620 * libc/sys/posix/popen.c (sys/types.h): Include.
9621
9622 Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
9623
9624 * libc/sys/win32/syscalls.h (fhandler): New struct.
9625 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
9626 (__fhandler_normal): Declare.
9627 (hinfo): New member op_handlers.
9628 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
9629 (__write): Likewise.
9630 (_read, _write, _open, _close, _lseek): Validate fd here.
9631 Move file type specific stuff to foo_normal.
9632 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
9633 New functions.
9634 (__lookup_fhandler): New function.
9635 (__lookup_fhandler_hook, __fhandler_normal): New variables.
9636
9637 From anders.blomdell@control.lth.se (Anders Blomdell)
9638 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
9639 Don't touch standard handles.
9640 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
9641 (_execve): Only create __FD_TABLE__ if necessary.
9642 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
9643
9644 Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
9645
9646 * libc/sys/win32/sys/termios.h (FLUSHO): New.
9647 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
9648 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
9649 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
9650 without a handler is received.
9651 * libc/sys/win32/Makefile.in: Remove --nodelete.
9652 * libc/sys/win32/resouce.c (gettimeofday): New.
9653 * libc/sys/win32/syscalls.c (path_to_real_path): New.
9654 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
9655
9656 Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
9657
9658 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
9659 Don't append "/*" to search pattern if trailing '/' already there,
9660 append "*".
9661 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
9662 like /'s, convert them to \'s. Handle //<drive>/ path names.
9663 Add space for quoted \'s in arg string. Print translated prog name
9664 and original prog name.
9665 (_execve): Handle parent doing exec a teensy bit better.
9666 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
9667 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
9668 path needs conversion, handle both cases. Delete `const' from result.
9669 (hash_path_name): New function.
9670 (_open): Call it.
9671 (_stat): Likewise. Fill in more fields for directories.
9672 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
9673 (wait_for_any): Fix trace message.
9674 (waitpid): Explicitly test for intpid == 0.
9675
9676 From anders.blomdell@control.lth.se (Anders Blomdell)
9677 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
9678 so `next' is valid.
9679
9680 Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
9681
9682 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
9683 complicated.
9684
9685 Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9686
9687 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
9688 at all, not just == 1.
9689 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
9690
9691 Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9692
9693 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
9694 * libc/sys/win32/include/wintypes.h: include <winnt.h>
9695 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
9696 file.
9697
9698 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
9699
9700 * libc/sys/syscalls.c (getcwd): Fix off by one error.
9701
9702 * libc/sys/signal.c (sleep): Fill it in.
9703 * libc/sys/termios.c (tcflush): Use PurgeComm
9704 (tcsetattr): Set some more of the bits.
9705 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
9706
9707 Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
9708
9709 * libc/sys/arm/crt0.S (fp): Initialize to 0.
9710 Conditionally include .idata$3 stuff ifdef __pe__.
9711
9712 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
9713
9714 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
9715 * libc/sys/win32/pipe.c (pipe): Ditto.
9716 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
9717 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
9718 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
9719 (tcgetattr): Contents are new.
9720 * libc/sys/win32/include/winkernel.h (DCB): New.
9721 (GetCommState, SetCommState): New.
9722
9723 Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
9724
9725 * libc/sys/arm/crt0.S (_start): Define.
9726
9727 Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
9728
9729 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
9730 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
9731
9732 * libc/sys/win32/sysconf.c: New
9733 * libc/sys/win32/sys/winadvapi.h: New
9734 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
9735 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
9736 * libc/sys/win32/pipe.c (pipe): Ditto.
9737 * libc/sys/win32/signal.c (_raise): New.
9738 (_kill): Moved from spawn.c
9739 * libc/sys/win32/spawn.c (kill): Moved to signal.c
9740 * libc/sys/win32/syscalls.c (__read): Use new fields.
9741 (_open): Ditto.
9742 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
9743 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
9744 * libc/include/sys/unistd.h (rmdir): Takes const path.
9745 * libc/include/sys/stat.h (mkdir): Takes const path.
9746 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
9747
9748 Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
9749
9750 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
9751
9752 Add support for specifying paths as //<drive>/foo/bar.
9753 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
9754 (__path_to_real_path): Declare.
9755 (PATH_TO_REAL_PATH): New macro.
9756 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
9757 (__path_needs_conversion_p, __path_to_real_path): New functions.
9758 (_open): Fix test for error return from CreateFileA.
9759 Handle new path syntax.
9760 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
9761 * libc/sys/win32/dirsearch.c (opendir): Likewise.
9762
9763 Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
9764
9765 * libc/sys/win32/include/*.h: Reorganized
9766 * libc/sys/win32/include/WINREADME: New.
9767 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
9768 * libc/sys/win32/*.c: Fix for new include scheme.
9769 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
9770 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
9771 * libc/sys/win32/passwd.c (*): Fix.
9772 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
9773 (_stat): Get directory owner and permissions right.
9774 * libc/sys/win32/syscalls.h (uinfo): New.
9775 * libc/sys/win32/version.def: Remove leading underscores.
9776
9777 Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9778
9779 * libc/sys/win32/key.c: include "include/wincon.h".
9780
9781 Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
9782
9783 * libc/sys/win32/{key, stubs}.c: New.
9784 * libc/sys/win32/Makefile: Adjust to cope.
9785 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
9786 (environ_init): Change env names to upper case.
9787 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
9788 * libc/sys/win32/passwd.c (*): Fill in the functions.
9789 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
9790 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
9791 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
9792 (_open): Initialze hmap->execable_p too.
9793 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
9794 (_fstat): Fill in permissions.
9795 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
9796
9797 Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
9798
9799 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
9800 if defined.
9801 (cfg-ml-pos.in invocation): Likewise.
9802
9803 Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9804
9805 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
9806 s_isnan.o and sf_isnan.o.
9807
9808 Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
9809
9810 * All Makefile.in files: added maintainer-clean target as a
9811 synonym for realclean.
9812
9813 Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
9814
9815 * libc/include/machine/setjmp.h: Add hppa support.
9816 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
9817 support.
9818 * libc/machine/hppa/Makefile.in: Related changes.
9819
9820 Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
9821
9822 * configure.in (machine_dir): Don't set for v810-*-*.
9823
9824 Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9825
9826 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
9827 conventions correctly.
9828
9829 Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
9830
9831 * libc/stdio/puts.c: Update documentation of return value to match
9832 ANSI standard.
9833
9834 Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
9835
9836 Fix file descriptor inheritance.
9837 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
9838 (NOT_OPEN_FD): Fix.
9839 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
9840 close-on-exec flag not set. Initialize child's entire fd table.
9841 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
9842 CHILD_P.
9843 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
9844 if CHILD_P. Initialize entire hmap entry.
9845 (dup): Only create new handle as inheritable if CHILD_P.
9846 (dup2): Likewise. Properly initialize hmap entry.
9847
9848 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
9849 _spawn.
9850 (_exit): Use CHILD_P.
9851 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
9852 (_stat): Likewise.
9853
9854 Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9855
9856 * libc/sys/win32/crt0.c (passover): fix up the state table.
9857 * libc/posix/popen.c: Added.
9858 * libc/posix/Makefile.in: compile popen.c.
9859
9860 Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
9861
9862 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
9863 h8/500 define _DOUBLE_IS_32BITS.
9864
9865 Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
9866
9867 Get vfork/exec/spawn/cwait/wait working again.
9868 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
9869 (procinfo): New member vfork_level.
9870 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
9871 (vfork_init_first): Use GetCurrentProcessId to get pid.
9872 Initialize vfork_level.
9873 (vfork_init): Delete __PID__.
9874 (environ_init): New function. Undo patch of Aug 19, Posix says
9875 environment variables are case sensitive.
9876 (mainCRTStartup): Call it.
9877 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
9878 (my_longjump: Make static.
9879 (_spawn): New argument `h'. Delete setting of __PID__.
9880 Delete local `idx'. Look for chars that need quotes, rather than
9881 ones that don't. Set handle of created process in `h'.
9882 Result is process id if created task.
9883 (allocate_spawn_entry): New function.
9884 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
9885 (_execve): Set __FD_TABLE__ before spawning child.
9886 Scan our fd table when passing fds, not our parent's.
9887 Store handle and pid in procinfo entry.
9888 (vfork0): Ensure strace message always printed.
9889 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
9890 (vfork): Don't clobber result of vfork0.
9891 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
9892 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
9893
9894 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
9895 and `exit_code'.
9896 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
9897 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
9898 adding vfork level to pseudo-pid.
9899 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
9900 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
9901 (_exit): If child, set exit code.
9902 (__vfork_record_death): Only close process handle if valid.
9903 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
9904 didn't exec.
9905 (wait_for_any): Likewise. Start scan after root entry.
9906
9907 Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9908
9909 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
9910 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
9911 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
9912 of actual file length.
9913
9914 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
9915 * libc/include/paths.h: _PATH_BSHELL added.
9916 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
9917 and STDERR_FILENO.
9918
9919 Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9920
9921 * libc/include/ar.h: Added.
9922 * libc/include/sys/types.h: ino_t goes back to 32-bits.
9923 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
9924 * libc/sys/win32/syscalls.c (_open): compute .namehash based
9925 on filename.
9926 (_fstat): use .namehash for inode number of the fd.
9927
9928 Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
9929
9930 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
9931 Change hinfo to __this_procinfo.
9932 * libc/sys/win32/crt0.c: Remove procinfo_list.
9933
9934 Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9935
9936 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
9937 win32 environment.
9938
9939 Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9940
9941 * libc/sys/win32/include/grp.h: Removed.
9942 * libc/sys/include/grp.h: Added.
9943 * libc/sys/win32/grp.c: Include <grp.h>.
9944
9945 Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
9946
9947 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
9948 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
9949 Defined for all but strict ANSI.
9950 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
9951 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
9952 * libc/signal/signal.c (_signal_r): Changed from using
9953 _MAX_SIGNALS to NSIG.
9954 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
9955 __hmap): Deleted.
9956 (__strace, __vfork_next_pid): New.
9957 (__exe_suffix): Default to 1.
9958 (passover, table): Understand quoted arguments.
9959 (vfork_init_first): New.
9960 (vfork_init): Initialize new process structure.
9961 (mainCRTStartup): Pass environ to main.
9962 * exceptions.c (__sig_mask): New
9963 (ehandler3): Ignore signals in mask.
9964 (really_exit): Remove CHILD_P test.
9965 * pipe.c (pipe, dup, dup2): Use new process and file structure.
9966 * resource.c (getrusage): Ditto.
9967 * signal.c (sigprocmask): New.
9968 * spawn.c (*): Rewritten.
9969 * syscalls.c (*): Use new process and file structure.
9970 (find_unused_handle): New.
9971 * syscalls.h (MAX_HANDLES): Deleted.
9972 (hinfo): Removed child_created_p.
9973 (MAX_CHILDREN): Deleted.
9974 (vfork_jmp_info, procinfo): New.
9975 * wait.c (*): Mostly new.
9976 * sys/strace.h (_STRACE_PARANOID): New.
9977 * sys/param.h: New file.
9978
9979 Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9980
9981 * libc/include/sys/stat.h: add S_BLKSIZE.
9982 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
9983 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
9984 types under win32.
9985 (mode_t): add a #else to avoid multiple definitons.
9986
9987 * libc/sys/win32/Makefile.in: add grp.c.
9988 * libc/sys/win32/grp.c: include grp.h correctly.
9989 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
9990 of the st structure with real information.
9991 * libc/sys/win32 (dirent): d_ino is of type ino_t.
9992
9993 Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
9994
9995 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
9996 and (maybe) sparc64.
9997 (nlink_t): Provide typedef.
9998
9999 Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10000
10001 * libc/sys/win32/grp.c: New file.
10002 * libc/sys/win32/include/grp.h: New file.
10003
10004 Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10005
10006 * libc/include/machine/ieeefp.h: Added whitespace to make this
10007 file easier to maintain.
10008 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
10009 depending on the value of __LITTLE_ENDIAN__.
10010 On the sh3e, define _DOUBLE_IS_32BITS.
10011
10012 Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
10013
10014 * libc/sys/vr4300/syscalls.c: Added missing support
10015 routines. _raise() and getpid().
10016
10017 Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
10018
10019 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
10020
10021 Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
10022
10023 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
10024 and VR4300 processor.
10025 * libc/sys/vr4300: Add directory.
10026 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
10027 monitor run-time support.
10028
10029 Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10030
10031 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
10032 * libc/stdlib/stdlib.tex: Don't include atol.def.
10033
10034 Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10035
10036 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
10037
10038 Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
10039
10040 * libc/ctype/Makefile.in: Fill in _to* dependencies.
10041
10042 Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
10043
10044 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
10045 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
10046 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
10047 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
10048 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
10049
10050 Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10051
10052 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
10053
10054 Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10055
10056 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
10057 * libc/stdlib/atoff.c: New file.
10058 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
10059 * libc/stdlib/atoi.c (atol): Removed.
10060 * libc/stdlib/atol.c: Removed duplicate documentation.
10061
10062 * libc/include/ctype.h (_tolower, _toupper): Moved inside
10063 #ifndef _STRICT_ANSI conditional.
10064 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
10065 * libc/ctype/_tolower.c: New file.
10066 * libc/ctype/_toupper.c: New file.
10067 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
10068 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
10069 * libc/ctype/toascii.c (_toascii): Removed.
10070
10071 Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
10072
10073 * libc/sys/sparc64/sys/types.h: Deleted.
10074
10075 Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10076
10077 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
10078 and recognize Windows_95 systems.
10079
10080 Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10081
10082 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
10083 and passed fds should be opened in text mode.
10084
10085 Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10086
10087 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
10088 in __hmap, set to binary mode by default.
10089
10090 Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10091
10092 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
10093 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
10094 vector 34.
10095
10096 Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
10097
10098 * Makefile.in (install): Install all libraries found in the
10099 top level. If there's a sys/<type>/include directory,
10100 install those headers into include.
10101
10102 * libc/sys/win32/kernel.def351: Delete
10103 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
10104 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
10105 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
10106 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
10107 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
10108 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
10109 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
10110 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
10111
10112 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
10113 * libc/sys/win32/crt0.c: Force all env names to upper case.
10114 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
10115 * libc/sys/win32/*.c: Headers have moved.
10116 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
10117 __vfork_child_idx is now __vfork_child_ptr.
10118
10119 * posix/execvp (execvp): Don't crash if no PATH envname.
10120
10121 Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10122
10123 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
10124 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
10125 through the _freelist instead of through the _reclaim list.
10126 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
10127 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
10128 sources.
10129
10130 Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10131
10132 * libc/machine/h8500/setjmp.S: New file.
10133 * libc/include/machine/setjmp.h: Updated for H8/500.
10134
10135 Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
10136
10137 * libc/sys/win32/syscalls.c (_open): More stracing.
10138 (_stat): Open the file in O_BINARY.
10139
10140 Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10141
10142 * libc/machine/h8300/setjmp.S: New file.
10143 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
10144
10145 Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
10146
10147 * libc/sys/win32/crt0.c (__exe_suffix): New global.
10148 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
10149 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
10150 __exe_suffix. Free fd_tab after setting env variable.
10151 (spawnv,_execve): Update.
10152 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
10153 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
10154 (__small_vfprintf): New function.
10155 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
10156 * libc/sys/win32/wait.c (cwait): Validate argument.
10157
10158 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
10159 (process_deletion_queue): Likewise.
10160
10161 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
10162
10163 Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
10164
10165 * libc/sys/win32: Copyrights and gratuitous indenting.
10166
10167 Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
10168
10169 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
10170 (process_deletion_queue): Likewise.
10171 (__close_all_files): New function.
10172 (_close): Only queue file deletion if really a file.
10173 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
10174 _P_APPEND_EXE.
10175 (_exit): Call __close_all_files.
10176
10177 * libc/stdlib/system.c: #include <errno.h>.
10178 (_system_r): Fix results in -DNO_EXEC case.
10179
10180 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
10181 Reorganize structure.
10182 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
10183 if argument is valid. Save directory name in DIR. malloc space
10184 for dirent struct separately.
10185 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
10186
10187 * libc/include/errno.h (ENAMETOOLONG): Define.
10188 * libc/string/strerror.c (strerror): Reword ENFILE.
10189 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
10190
10191 Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
10192
10193 * libc/sys/win32/crt0.c (__progname): New global.
10194 (mainCRTStartup): Support strace=bitmask,filename.
10195 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
10196 * libc/sys/win32/syscalls.c (_write): Print parent trace message
10197 if error.
10198 (getcwd): Handle len too small. Convert '\\' to '/'.
10199 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
10200 Add prototypes for open, creat, fcntl.
10201 (O_APPEND): Change value to conform to Microsoft's value.
10202 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
10203
10204 * libc/stdlib/getopt.c: New file.
10205 * libc/stdlib/Makefile.in: Build it.
10206
10207 Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
10208
10209 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
10210 Fix scanning of $PATH.
10211 * libc/posix/exec*.c: Call _execve, not execve.
10212 * libc/posix/execve.c: New file.
10213 * libc/posix/Makefile.in (OFILES): Add execve.o.
10214
10215 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
10216 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
10217 (_STRACE): If level==0, always print. Handle new bit mask scheme.
10218 * libc/sys/win32/crt0.c: Update _STRACE calls.
10219 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
10220
10221 * libc/sys/win32/smallprint.c (rn): Fix digit list.
10222
10223 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
10224 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
10225 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
10226 Print __seterrno trace message first.
10227 (_execve): Renamed from execve.
10228 (vfork): Update __strace usage.
10229 (__vfork_child_pid): Deleted.
10230 (__vfork_children, __vfork_child_idx): New globals.
10231 (_spawnvp): New function.
10232 (spawnvp, spawnv, _execve): Call _spawnvp.
10233 (init_child): Record child in __vfork_children.
10234 (__vfork_get_entry, __vfork_record_death): New functions.
10235 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
10236 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
10237 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
10238 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
10239 (children): New typedef.
10240 (__vfork_children,__vfork_child_idx): Declare.
10241 (__vfork_get_entry,__vfork_record_death): Declare.
10242 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
10243 (waitpid): Handle pid == -1.
10244 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
10245 * configure.in (i386-win32): Add -DNO_FORK.
10246 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
10247 * libc/reent/execr.c (_fork_r): Likewise.
10248 * libc/stdlib/system.c (do_system): New function.
10249 If WIN32, try to get shell path from $SH_PATH, use vfork.
10250 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
10251 otherwise return 0.
10252
10253 Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
10254
10255 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
10256 * libc/sys/win32/fcntl.h: Don't include self.
10257 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
10258 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
10259 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
10260 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
10261 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
10262 Correct prototypes.
10263 * libc/sys/win32/strace.c: New file.
10264 * libc/sys/win32/smallprint.c: New file.
10265 * libc/sys/win32/crt0.c (func): Delete.
10266 (mainCRTStartup): Fix alloca usage. Set handles explictly.
10267 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
10268 * libc/sys/win32/exceptions.c: Lint.
10269 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
10270 Clean up handle usage.
10271 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
10272 (open.c): Default file type is text.
10273 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
10274 * libc/sys/win32/advapi32.def: New
10275
10276 Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
10277
10278 * configure.in (posix_dir, libc_posix_lib): New variables.
10279 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
10280 (i[345]86-*-win32): Define posix_dir.
10281 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
10282 (if unix_dir): Fix typo.
10283 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
10284 scandir,seekdir,telldir}: New files.
10285 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
10286 from libc/unix.
10287 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
10288 (SUBDIRS): Add posix.
10289 (SUBLIBS): Add $(LIBC_POSIX_LIB).
10290
10291 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
10292 (NSIG): Increase to 21.
10293 * libc/include/sys/unistd.h (pid_t): Move from here,
10294 * libc/include/sys/types.h (pid_t): to here.
10295
10296 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
10297 (__ptrace): Delete.
10298 (hinfo): New members close_exec_p, child_created_p.
10299 (struct exception_list): Define.
10300 (__hmap): Redefine as pointer to table.
10301 (__parent_hmap, __child_hmap): New globals.
10302 (__set_errno, __really_exit): Declare.
10303 (__vfork_child_pid): Declare.
10304 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
10305 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
10306 (__parent_hmap, __child_hmap): New globals.
10307 (__hmap): Redefine as pointer to active map.
10308 (__get_console): New function.
10309 (mainCRTStartup): Change leading '=' in environ vars to '!'.
10310 (env __FD_TABLE__): Watch for this and initialize our fd/handle
10311 mapping table from it if defined.
10312 (argv, envp): Dump if __strace >= 4.
10313 (main): Call here.
10314 * libc/sys/win32/exceptions.c (myp): Redefine.
10315 (__syscalls_b): Delete.
10316 (__stack_trace): New function.
10317 (ehandler3): Update to use _STRACE. Print stack trace.
10318 Call __really_exit instead of exit.
10319 (init_exceptions): Delete args argc,argv. New arg mine.
10320 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
10321 FindFirstFileA, FindNextFileA, GetComputerNameA,
10322 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
10323 * libc/sys/win32/signal.c (signal): Validate arg.
10324 (alarm, sleep): Define as stubs for now.
10325 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
10326 (__syscalls_b, errno): Delete.
10327 (__vfork_child_pid, __vfork_jmp_buf): New globals.
10328 (__seterrno): Handle more errors.
10329 (__sys_printf): Renamed from _ptrace.
10330 (__really_exit): New function.
10331 (queue_file_deletion, process_deletion_queue): New functions.
10332 (__resume_parent): New function.
10333 (_unlink): Handle trying to delete open file.
10334 (__totime_t): Renamed from totime_t.
10335 (setsid, __read, __write): New functions.
10336 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
10337 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
10338 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
10339 * libc/sys/win32/console.c: Update to new definition of __hmap.
10340 * libc/sys/win32/Makefile.in: Build new files.
10341 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
10342 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
10343 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
10344 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
10345
10346 Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
10347
10348 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
10349
10350 Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10351
10352 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
10353 have been made to the master dtoa.c sources (from netlib.att.com)
10354 since they were integrated into newlib in early 1992. Fixes
10355 problems with storage leaks and handling of numbers with very
10356 negative exponents.
10357
10358 Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10359
10360 * Makefile.in (all): set rootpre and srcrootpre before calling
10361 sub-makes.
10362
10363 Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
10364
10365 * libc/sys/win32/crt0.c: Change __hmap usage.
10366 * libc/sys/win32/exceptions.c: Use _ptrace call.
10367 * libc/sys/win32/syscalls.c: Use _ptrace call.
10368 (read, write): Cope with DOS style CRLF when in TEXT mode.
10369 * libc/sys/win32/syscalls.h: Declare hinfo struct.
10370 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
10371 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
10372 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
10373 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
10374
10375 Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10376
10377 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
10378
10379 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
10380 wrappers for hypot() and remainder() for BSD libm compatibility.
10381 These are public domain implementations written by me for the
10382 NetBSD libm some time ago. Note cabs() is required by ucbtest.
10383 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
10384 (fobj): Added wf_cabs.o and wf_drem.o.
10385
10386 Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10387
10388 * libc/sys/h8500hms/misc.c: New file.
10389 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
10390
10391 Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10392
10393 * libc/time/localtime.c (localtime): Fix problem with leap year
10394 handling. Stole algorithm from Arthur David Olson's tz code.
10395
10396 Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
10397
10398 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
10399
10400 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
10401 (_exit): Use argument.
10402
10403 Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
10404
10405 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
10406
10407 Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
10408
10409 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
10410
10411 Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10412
10413 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
10414 target_cflags.
10415
10416 Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
10417
10418 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
10419 ptrace with case insensitivity
10420 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
10421 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
10422 New files.
10423
10424 Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
10425
10426 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
10427 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
10428 (all, install, *clean): Use new multilib support.
10429 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
10430
10431 Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
10432
10433 * libc/include/sys/signal.h (__WIN32__): New.
10434
10435 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
10436
10437 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
10438 (ulp, b2d): Handle 32 bit doubles.
10439 * libc/stdlib/mprec.h: Handle 32 bit doubles.
10440 * libc/stdlib/strtod.c (_strtod_r): Ditto.
10441
10442 Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
10443
10444 from medp@primag.co.uk:
10445 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
10446 dynamically allocated buffers.
10447
10448 Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
10449
10450 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
10451 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
10452
10453 Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
10454
10455 * configure.in (powerpc): Fix previous fix.
10456
10457 Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
10458
10459 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
10460 directories for this target.
10461
10462 Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10463
10464 * configure.in (hppa): Add machine_dir definition.
10465 * libc/machine/hppa: New directory with PA specific implementations
10466 of the basic memory/string functions.
10467
10468 Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
10469
10470 * configure.in: Update current PowerPC multilib directories.
10471 Split big and little endian configurations.
10472
10473 Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
10474
10475 * configure.in: Add --enable-single-float option to configure to
10476 control use of MIPS single-float directories. Default to yes.
10477
10478 * Makefile.in (all): Don't recurse into multilib directory if it
10479 does not exist.
10480
10481 Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10482
10483 * libc/sys/sh/syscalls.c: Fix typo.
10484
10485 Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
10486
10487 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
10488 Pass down DLLTOOL.
10489 * libc/include/process.h: Define WAIT_CHILD.
10490 * libc/include/types.h: Get sizes right for win32.
10491 * configure.in (i386-*-pe): Becomes i386-win32.
10492 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
10493 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
10494 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
10495 is defined.
10496
10497 Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
10498
10499 * configure.in (i[345]86-*-pe): New target (NT).
10500 * host/any: DLLTOOL new.
10501 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
10502 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
10503 WIN32 (just enough to cross host the comp-tools).
10504
10505 Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
10506
10507 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
10508 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
10509
10510 Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
10511
10512 * libc/include/machine/ieeefp.h (arm): Change to always be
10513 __IEEE_BIG_ENDIAN (even on little endian ARM's).
10514
10515 Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
10516
10517 * libc/sys/crt0.S: Initialze sp, and call exit after main.
10518 * libc/sys/syscalls.c (abort): New.
10519 * configure.in (arm): Define ABORT_PROVIDED.
10520
10521 Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10522
10523 * configure.in (powerpc): Define multidirs.
10524
10525 Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
10526
10527 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
10528
10529 Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
10530
10531 * configure.in (sparclite): Delete target_cflags. Define multidirs.
10532
10533 Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
10534
10535 * configure.in, libc/include/machine/ieeefp.h: Modified
10536 for arm:
10537 libc/machine/arm/*, libc/sys/arm/*: New
10538
10539 Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10540
10541 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
10542 __powerpc__ when determining endianness.
10543
10544 Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10545
10546 * configure.in (m68*): Add multidir for the m68332.
10547
10548 * host/any (CC): Fix typo in last change.
10549
10550 Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
10551
10552 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
10553 when determining endianness.
10554 * libc/include/machine/ieeefp.h: Ditto.
10555 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
10556 operands.
10557
10558 Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
10559
10560 * libc/include/errno.h (ENOTEMPTY): Define.
10561
10562 Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10563
10564 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
10565 target_cflags.
10566
10567 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
10568 and umultiply.o.
10569
10570 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
10571 instead of only when open succeeds. ANSI requires that multiple
10572 calls to tmpnam() result in different files.
10573
10574 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
10575 objects pulled in from /lib/libc.a that must be renamed before
10576 being pulled into newlib. /lib/libc.a's div.o conflicted with
10577 newlib's file with the same name.
10578
10579 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
10580
10581 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
10582 the build tree will only be used if the executables are present
10583 (instead of just the Makefiles).
10584
10585 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
10586 wcstombs): Define.
10587 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
10588 versions of these functions that I orignally wrote for the
10589 NetBSD C library.
10590 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
10591 versions I wrote for NetBSD.
10592
10593 Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
10594
10595 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
10596 * libc/sys/sparclite/crt0.s: ditto.
10597
10598 Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
10599
10600 * configure.in: Add soft-float for proelf.
10601
10602 Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
10603
10604 * libc/stdlib/mprec.h (Bcopy): Copy the right number
10605 of bytes.
10606
10607 Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
10608
10609 * Makefile.in (all): Depend on `force'.
10610 * configure.in (syscall_dir): Renamed from fake_sys_dir.
10611 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
10612 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
10613 * libc/Makefile.in: Likewise.
10614 * libc/include/reent.h: Update syscall references.
10615 (_fcntl_r): Add prototype.
10616 * libc/syscalls/*.c #include <reent.h>.
10617 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
10618
10619 Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
10620
10621 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
10622 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
10623 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
10624 (time.h, sys/types.h): Always include (even if MSDOS).
10625 (stat): Fix prototype.
10626
10627 Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
10628
10629 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
10630
10631 Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
10632
10633 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
10634
10635 Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
10636
10637 * libc/include/regdef.h: New file.
10638 * libc/machine/mips/machine/regdef.h: New file.
10639
10640 Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
10641
10642 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
10643
10644 Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
10645
10646 * libc/sys/sh/crt0.S: Pass main's return to exit.
10647 * libc/sys/sh/trap.S: Put errno in the right place.
10648
10649 Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
10650
10651 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
10652 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
10653 * libm/math/ef_rem_pio2.c: Likewise.
10654 * libm/math/e_log10.c: Remove unused static one.
10655 * libm/math/ef_log10.c: Likewise.
10656 * libm/math/s_frexp.c: Likewise.
10657 * libm/math/sf_frexp.c: Likewise.
10658
10659 Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
10660
10661 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
10662 longjmp.S: Upgraded.
10663 * libc/sys/go32/sys/setjmp.h: Upgraded.
10664 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
10665
10666 Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
10667
10668 * configure.in: Add many entries to multidirs for mips targets.
10669
10670 Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10671
10672 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
10673 5.2 which fixes bug where jn(-1,x) is three times larger than
10674 the actual answer.
10675 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
10676
10677 Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
10678
10679 * libc/sys/w65/sys/syscalls.h: New file
10680 * libc/include/machine/ieeefp.h: W65 support.
10681 * libc/include/sys/config.h: Ditto.
10682 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
10683 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
10684 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
10685
10686 Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
10687
10688 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
10689
10690 Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
10691
10692 * Makefile.in, configure.in: Remove any references to the old
10693 "stub" dir.
10694
10695 Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
10696
10697 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
10698 uses ... in prototype.
10699
10700
10701 Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
10702
10703 * libc/sys/a29khif/sys/libconfig.h: Remove.
10704 * libc/sys/go32/sys/libconfig.h: Remove.
10705 * libc/sys/sun4/sys/libconfig.h: Remove.
10706 * libc/sys/sysvi386/sys/libconfig.h: Remove.
10707 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
10708 * libc/sys/sparc64/sys/libconfig.h: Remove.
10709
10710 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
10711 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
10712 * libc/include/math.h: Change all uses of _FLOAT_RET and
10713 _FLOAT_ARG to float.
10714 * libm/test/math.c: Likewise.
10715 * testsuite/libm.sac/math.c: Likewise.
10716 * testsuite/libm.sac/working/math.c: Likewise.
10717
10718 Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
10719
10720 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
10721 gcc calls gas with endian option.
10722 * configure.in (sh): Build little endian version too.
10723
10724 Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
10725
10726 * configure.in: Configure big and little endian versions for MIPS
10727 targets.
10728
10729 Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
10730
10731 * libc/include/limits.h: Deleted.
10732 * libc/include/machine/limits.h: Deleted.
10733
10734 Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
10735
10736 * ChangeLog: Remove stub directory. This has all been rewritten
10737 and moved to devo/libgloss.
10738
10739 Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
10740
10741 * Makefile.in (dvi): Add to info target, use $@ in sub make.
10742 (docs): Merge into info target.
10743 * libm/Makefile.in (dvi): Add $(srcdir).
10744 * libm/math/Makefile.in (chobjs): Remove underscores from file
10745 names. Texinfo doesn't like them.
10746 (wacos.def, ...): Add explicit targets for all .def files.
10747 * libm/math/math.tex: Remove underscores from @include file names.
10748 * doc/Makefile.in (dvi): Add dummy target.
10749 * testsuite/Makefile.in (dvi): Add dummy target.
10750
10751 Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
10752
10753 * Makefile.in (VERSION): Define. For net newlib releases.
10754
10755 Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
10756
10757 * README: New file.
10758
10759 Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
10760
10761 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
10762
10763 Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10764
10765 * libc/stdlib/setenv.c (_findenv): Declare.
10766
10767 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
10768 fcntl to not use _EXFUN, and change string parameters to open and
10769 creat to be ``const char *''.
10770 * libc/sys/sparc64/sys/fcntl.h: Likewise.
10771 * libc/sys/sparc64/creat.c (creat): Make PATH const.
10772 * libc/syscalls/sysopen.c: Include <fcntl.h>.
10773 (open) Make _FILE const.
10774 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
10775 (_creat): Make PATH const.
10776 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
10777 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
10778 * libc/sys/m88kbug/syscalls.c (open): Likewise.
10779 * libc/sys/sh/syscalls.c (_open): Likewise.
10780 * stub/shared/glue.c (open): Make BUF const.
10781 * stub/ex93x/syscalls.c (open): Make FILENAME const.
10782
10783 Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
10784
10785 * libc/include/errno.h: Add ENMFILE
10786 * libc/include/sys/config.h: Support Z8000.
10787 * libc/include/sys/signal.h: New signals for go32.
10788 * libc/machine/h8500/psi.S (__addpsir0r0): New function
10789 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
10790 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
10791 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
10792 size is variable, depending upon CHUNK_POWER.
10793 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
10794
10795 Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
10796
10797 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
10798
10799 Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10800
10801 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
10802
10803 Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10804
10805 * configure.in: Change i[34]86 to i[345]86.
10806
10807 * libc/include/math.h: Don't define HUGE_VAL if it is already
10808 defined.
10809
10810 Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10811
10812 * testsuite/libm.sac/test_erfc.c: Correct some result values.
10813 * testsuite/libm.sac/test_gammaf.c: Likewise.
10814 * testsuite/libm.sac/test_sin.c: Likewise.
10815 * testsuite/libm.sac/test_tanh.c: Likewise.
10816
10817 Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10818
10819 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
10820 already set. Define typedefs __int32_t and __uint32_t.
10821 * libc/include/math.h: Include <machine/ieeefp.h>.
10822 (union __dmath): Use __uint32_t.
10823 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
10824 instead of int and unsigned int.
10825
10826 Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10827
10828 Replace the math library with the SunPRO fdlibm package.
10829 * libm/math: Completely changed all files.
10830 * libm/ieeefp: Remove contents and directory.
10831 * libm/Makefile.in (LIBM_FP_LIB): Remove.
10832 (SUBDIRS): Just set to math/lib.a.
10833 * libm/libm.texinfo: Updated for new library.
10834 * libc/include/math.h: Extensive changes for new math library.
10835 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
10836 from _FLOAT_ARG to float.
10837 (maxpowtwo, maxpowtwof): Don't declare.
10838 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
10839 (libm_fp_lib): Removed.
10840 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
10841 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
10842 argument to ${RUNTEST}.
10843 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
10844 (.c.o): New rule.
10845 (RUNTESTFLAGS): Set CC and CFLAGS.
10846 (TESTS): Remove test_log2 and test_log2f.
10847 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
10848 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
10849 _FLOAT_ARG, for single precision argument type.
10850 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
10851 expected failure. Close the input pipe.
10852 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
10853 Correct misspelling of inaccurate.
10854 (test_mok): Use ``inaccurate'', not ``wrong''.
10855 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
10856 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
10857 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
10858 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
10859 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
10860 test_yn.c): Correct many result values. Many are still wrong.
10861
10862 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
10863 just copy the string.
10864 (_gcvt): Always return the buffer.
10865
10866 Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10867
10868 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
10869
10870 Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
10871
10872 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
10873 structure.
10874 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
10875 (_reclaim_reent): declare new entry point.
10876 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
10877 functions.
10878
10879 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
10880 ever allocated, so that we can later reclaim them all.
10881 (pow5mult): make reentrant.
10882
10883 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
10884 so that when given NULL as a buffer, return a pointer to static
10885 space in the rent structure. This is not documented behaviour;
10886 it's only to support ecvt and fcvt, which aren't ANSI anyway.
10887 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
10888 therefore become reentrant).
10889
10890 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
10891
10892 Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10893
10894 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
10895
10896 Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10897
10898 * Makefile.in: Make link to libg.a after libc.a; this is needed
10899 for the testsuites to build executables when everything comes
10900 from the tree.
10901
10902 Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
10903
10904 * libc/Makefile.in: Add a VERSION variable so we can keep track.
10905 * libm/Makefile.in: Add a VERSION variable so we can keep track.
10906
10907 Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10908
10909 * libc/include/stdio.h: Use __VALIST, not va_list.
10910
10911 Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
10912
10913 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
10914 testsuite/libm.sac/execute.exp:
10915 Replace error proc calls with perror calls.
10916
10917 Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
10918
10919 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
10920 * libc/include/time.h: #define NULL as 0L.
10921
10922 Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
10923
10924 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
10925 care of it.
10926
10927 Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10928
10929 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
10930 not __unix__.
10931
10932 Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
10933
10934 * configure.in (TARGET_CFLAGS): Set -O2 as default.
10935 (z8k-*-*): Use syscalls fake sys dir.
10936 * libc/sys/z8k/glue.c: Rename syscalls.
10937 * libc/sys/go32/Makefile.in: Use new routines.
10938 * libc/machine/Makefile.in: Fix typo in ln stuff.
10939
10940 Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10941
10942 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
10943 * libc/Makefile.in (crt0.o): Likewise.
10944 * libc/machine/Makefile.in (lib.a): Likewise.
10945 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
10946
10947 All Makefile.in files: Added mostlyclean, realclean and distclean
10948 targets.
10949
10950 * Makefile.in: Don't bother to unexport XTRAFLAGS or
10951 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
10952 the top level Makefile.
10953
10954 Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
10955
10956 * libc/sys/sparc64/sys/stat.h: New file.
10957 * libc/sys/sparc64/sys/time.h: New file.
10958 * libc/sys/sparc64/sys/types.h: New file.
10959
10960 Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
10961
10962 * stub/ex93x/crt0.s (start): Add code to clear bss.
10963
10964 Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
10965
10966 * libc/include/sys/types.h (time_t): Properly protect inside
10967 #ifndef __time_t_defined.
10968
10969 * libc/stdio/fileno.c: New file.
10970 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
10971 (fileno.o): Add dependency.
10972 * libc/include/stdio.h (__sgetc): Rename never to _never.
10973 (fileno macro): Disable, needs to do CHECK_INIT first.
10974
10975 Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
10976
10977 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
10978 goal.
10979
10980 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
10981 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
10982 runtest.
10983 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
10984 runtest.
10985
10986 Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
10987
10988 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
10989 of the various constants.
10990
10991 Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
10992
10993 * libc/include/math.h: #ifndef __math_68881 around things which
10994 conflict with the (gcc-provided) inline functions in
10995 gcc/ginclude/math-68881.h.
10996
10997 Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
10998
10999 * libc/include/_syslist.h (_gettimeofday): Define.
11000 (_times): Ditto.
11001 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
11002 (struct tms, timeval, timezone): Declare.
11003 (_gettimeofday_r, _times_r): Declare.
11004 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
11005 #ifdef _CLOCK_T_ surrounding definition of clock_t.
11006 (time_t): Add multiple definition protection, __time_t_defined.
11007 * libc/include/sys/time.h: Don't #include <time.h>.
11008 Always define struct timezone (remove #ifndef _TIME_H_).
11009 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
11010 #ifdef _CLOCK_T_ surrounding definition of clock_t.
11011 * libc/reent/Makefile.in (OFILES): Add timer.o.
11012 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
11013 * libc/reent/timer.c: New file.
11014 * libc/time/clock.c: #include <reent.h>.
11015 (clock): Call _times_r instead of times.
11016 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
11017 HAVE_GET_TIME_OF_DAY.
11018 Add comment regarding supporting OS routine(s) required (for docs).
11019 #include <reent.h>.
11020 (time): Call _gettimeofday_r instead of gettimeofday.
11021 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
11022 * libc/time/ctime.c: Ditto.
11023 * libc/time/strftime.c: Ditto.
11024 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
11025 (TEMPLATE_SFILES_R): Define here. Also define times.
11026 Add times_r.o/times.S dependence.
11027 (time2.c, junk.c): Deleted.
11028 * libc/sys/sparc64/time2.c: Deleted.
11029 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
11030
11031 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
11032 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
11033 * libc/sys/sparc64/junk.c: Deleted.
11034
11035 Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
11036
11037 * libc/sys/sparc64/Makefile.in: Add times syscall.
11038 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
11039 be used with and without it. Add comment clarifying Medium/Anywhere
11040 model requirements.
11041 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
11042 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
11043 even if obsolete.
11044
11045 Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
11046
11047 * configure.in (target_cflags): Move init.
11048 (sparc64-*-*): Define HAVE_BLKSIZE.
11049
11050 Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
11051
11052 * libc/include/sys/_types.h: New file.
11053 * libc/include/reent.h: #include it.
11054 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
11055 MISSING_SYSCALL_NAMES.
11056 Sort syscalls.
11057 * libc/include/_syslist.h: Remove _raise.
11058 * libc/reent/signalr.c: New file.
11059 * libc/reent/Makefile.in: Compile it.
11060 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
11061 Add doc for raise and _raise_r.
11062 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
11063 (raise): Call _raise_r.
11064 (_raise_r): Call _getpid_r and _kill_r.
11065 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
11066 (abort): Loop forever calling raise and _exit.
11067
11068 Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11069
11070 * configure.in: Remove extraneous echo.
11071
11072 Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
11073
11074 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
11075 collision with unistd.h, and fix for svr4.
11076
11077 Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
11078
11079 * libc/stdio/local.h (_llicvt): Declare.
11080 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
11081 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
11082 (_llicvt): Define.
11083 (_sicvt): Fix function header (`value' is short).
11084 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
11085 Add printing of long long's support.
11086 Add printing of 8 byte pointer support.
11087
11088 Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
11089
11090 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
11091 stat, chmod): New hooks.
11092 (sbrk): Abort if stack and heap collide.
11093 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
11094 shortcut when given small args.
11095 * libc/machine/sh/setjmp.s: Rewritten.
11096 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
11097 of cmp/str instruction.
11098
11099 Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11100
11101 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
11102 and machine_dir powerpc.
11103 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
11104 Add cases for __powerpc__.
11105 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
11106 New files.
11107
11108 * libc/include/stdio.h (_iprintf_r): Declare correctly.
11109
11110 Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
11111
11112 * libc/stdlib/callocr.c: New file with _calloc_r in it.
11113 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
11114
11115 Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
11116
11117 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
11118 (print_e): More comments to describe args, etc.
11119 "type" arg may now be 'g' or 'G' for %g/G format --> remove
11120 trailing blanks.
11121 (_gcvt): Remove locals decpt, sign, end, p, done.
11122 More comments for print_e invocation.
11123 Pass "type" to print_e as is (g/G).
11124
11125 Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
11126
11127 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
11128 stock m68000.
11129
11130 Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
11131
11132 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
11133 works with any sized pointer, including ones bigger than ints and
11134 longs.
11135
11136 Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
11137
11138 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
11139
11140 Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
11141
11142 * libc/include/stdlib.h (_calloc_r): Add prototype.
11143 * libc/machine/h8500/negsi2.c: New file.
11144 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
11145 large unsigned numbers.
11146 * libc/machine/h8500/cmpsi.c: Add cmppsi.
11147 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
11148 works when sizeof(size_t) != sizeof(char *).
11149 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
11150 get play area
11151 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
11152
11153 Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
11154
11155 * libc/include/assert.h (assert): Handle -traditional.
11156
11157 Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
11158
11159 * Makefile.in: added ; after every "fi" and "done" that wasn't at
11160 the end of a line (ie. anything before a backslash continuation)
11161 so that bash handles them.
11162
11163 Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
11164
11165 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
11166 stat to lstat
11167
11168 Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
11169
11170 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
11171 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
11172 libc/machine/sh/udivsi3.s: Use new calling convention.
11173
11174 Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
11175
11176 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
11177 chmod, access, chdir, chown by making _path const. Also fix _amode
11178 param of access.
11179
11180 Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
11181
11182 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
11183 _khif_tmpnam, because it doesn't comply with ANSI but may be
11184 useful anyway. Real tmpnam was already in libc/stdio, and was
11185 colliding with this one (pr 2176.)
11186 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
11187 the wrong idea anyhow.
11188
11189 Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
11190
11191 * configure.in: Remove h8300h, we have multilib now.
11192
11193 Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
11194
11195 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
11196 functions, to get preference over the ones in libiberty (since we
11197 provide correct declarations in <string.h>.
11198 * libc/string/Makefile.in: add support for strncasecmp,
11199 strcasecmp.
11200
11201 Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
11202
11203 * Change netware config not to look for cpu explicitly.
11204
11205 Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
11206
11207 * libc/sys/sparc64/{creat.c,junk.c}: New files.
11208 * libc/sys/sparc64/Makefile.in: Add dependencies.
11209
11210 Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
11211
11212 * configure.in: Clean up v9 a bit, new "os" aoutv8.
11213
11214 Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
11215
11216 * libc/include/sys/reent.h: make structure smaller by allocating
11217 some stuff when needed.
11218 * libc/signal/signal.c: allocate as needed
11219 * libc/stdio/findfp.c,stdio/local.h: ditto
11220 * libc/stdlib/mprec.c: ditto
11221
11222 * libc/time/localtime.c: don't return a dangling stack ptr.
11223
11224 Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
11225
11226 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
11227
11228 Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11229
11230 * libc/include/stdio.h (__sputc): comment out static inline which
11231 confuses coff toolchains.
11232
11233 Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
11234
11235 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
11236 _write.s, getpid.c, kill.c, read.s}:
11237 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
11238 through the syscalls directory.
11239
11240 Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
11241
11242 * configure.in: fixed double quote gotcha.
11243
11244 Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
11245
11246 * stub/ex931: stub library for sparclite board.
11247 * stub/idp: Renamed from mc68ec. Added contructor table
11248 stuff to linker script.
11249 * stub/mvme135: Renamed from m68kmvme. Added contructor table
11250 stuff to linker script.
11251
11252 Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11253
11254 * configure.in: Configure testsuites only if they exist.
11255
11256 Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11257
11258 * configure.in: Don't set machine_dir for i386 until there is
11259 something in libc/machine/i386 to compile. For i[34]86-*-netware*
11260 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
11261 CLOCK_PROVIDED and MALLOC_PROVIDED.
11262
11263 * libc/sys/netware: New directory. Contains simplistic and
11264 probably incorrect stubs for NetWare. Should be enough to load
11265 the library.
11266 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
11267 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
11268 stub files.
11269
11270 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
11271 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
11272 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
11273 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
11274
11275 Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
11276
11277 * testsuite/Makefile.in: add "docs" dummy target for consistency
11278 with rest of newlib; turn "info" and "install-info" into dummy
11279 targets, since they wouldn't have worked. (Depended on
11280 nonexistent "doc" subdir.)
11281
11282 Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
11283
11284 * configure.in: handle mips* instead of mips
11285
11286 Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
11287
11288 * libc/include/sys/dirent.h: New file. If it is not overridden by
11289 a version of libc/sys/*/sys/dirent.h, it includes the next
11290 <dirent.h> file in case there is one lurking somewhere.
11291
11292 Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11293
11294 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
11295 compliance, namely: Accept a minus sign. Consider a single 0 with
11296 a radix of 0 as being a conversion. Determine overflow correctly.
11297 If an overflow occurs, set *ptr to the end of the number, not the
11298 middle.
11299 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
11300
11301 Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
11302
11303 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
11304
11305 Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
11306
11307 * Makefile.in (INSTALL): Use $srcrootpre.
11308 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
11309 can't handle it.
11310 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
11311 it.
11312 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
11313 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
11314 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
11315 * libm/math/Makefile.in (matherr.o): Ditto.
11316
11317 Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
11318
11319 * configure.in: Build multidirs for z8k.
11320 * libc/include/stdlib.h (_strtoul_r): add prototype.
11321 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
11322 * libc/include/machine/setjmp.h: Add for z8k.
11323 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
11324 * libc/sys/z8ksim/glue.c: tidy up.
11325
11326 Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
11327
11328 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
11329 New files. Requires execve system call.
11330 * libc/unix/Makefile.in: Use them.
11331 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
11332 Deleted, moved to libc/unix.
11333 * libc/sys/sparc64/Makefile.in: Remove them.
11334
11335 Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
11336
11337 * libc/sys/sparc64/{template.S template_r.S}: New files.
11338 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
11339 from templates.
11340 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
11341 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
11342 umask.S unlink.S wait4.S write.S}: Removed, now built from
11343 templates.
11344
11345 Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
11346
11347 * libc/time/time.c: #include <_ansi.h>.
11348
11349 Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
11350
11351 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
11352
11353 Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11354
11355 * configure.in: match m8* rather than m88k so that m88110 is
11356 recognized as well.
11357
11358 Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
11359
11360 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
11361 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
11362 misc.c: New file.
11363
11364 * configure.in: Add multilib support to h8300.
11365
11366 Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
11367
11368 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
11369 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
11370 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
11371
11372 Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11373
11374 * configure.in: Corrected multidirs for sparc target.
11375
11376 Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11377
11378 Support for building newlib multiple times with different
11379 compilation flags.
11380 * configure.in: Only configure doc at top level. Set multidirs
11381 when appropriate for target, unless not at top level. If
11382 multidirs is set, independently configure each subdirectory.
11383 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
11384 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
11385 automagically set by configure.in.
11386 (all): If MULTIDIRS is set, build multiple copies of libraries.
11387 (install): If MULTIDIRS is set, install multiple copies of
11388 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
11389 MULTISUBDIR is set, don't bother to install header files.
11390 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
11391 ${srcrootpre}.
11392 * stub/configure.in: Set MULTISUBDIR appropriately.
11393 * stub/Makefile.in (install): Install in
11394 $(tooldir)/lib/$(MULTISUBDIR).
11395 * All Makefile.in files: Define SRCTOP as well as TOP.
11396
11397 Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
11398
11399 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
11400 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
11401
11402 Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
11403
11404 * libc/sys/h8300hms/exit.c (_exit): New function.
11405
11406 Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11407
11408 * configure.in: recognize m88110.
11409
11410 Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11411
11412 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
11413 prototype main and call with args.
11414
11415 Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
11416
11417 First real try at system traps for m88k-bug.
11418 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
11419 to real trap calls.
11420 * libc/sys/m88kbug/sys/systraps.h: new file.
11421
11422 Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11423
11424 Patches to fix info building when target does not use sys
11425 directory.
11426 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
11427 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
11428 libc/sys.tex.
11429 * libc/sys/Makefile.in (doc): do nothing.
11430
11431 Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11432
11433 * libc/Makefile.in (CRT0): new macro.
11434 (all): depend on $(CRT0) rather than crt0.o.
11435
11436 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
11437 do not default crt0, instead, set crt0 and crt0_dir based on
11438 sys_dir and stub_dir.
11439
11440 * Makefile.in (CRT0_DIR): new macro.
11441 (all): depend on $(CRT0) rather than crt0.o which may not exist.
11442 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
11443 $(CRT0).
11444 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
11445
11446 Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
11447
11448 * testsuite/lib/libm.exp:
11449 added code to support compiling and linking of tests for
11450 libm.sac (paranoia to be added next) and processing the
11451 pass or failure of the tests.
11452
11453 * testsuite/config/unix-libm.exp:
11454 platform specific proc's for dealing with compiler, linker
11455 and the way we execute and process the test results.
11456
11457 * testsuite/libm.sac/execute.exp:
11458 generic framework for the sac tests. the config and lib
11459 expect code for specific platforms tie it all together.
11460
11461 * testsuite/libm.sac/test_is.c:
11462 changed the output of the test to be consistant with the
11463 other tests. parsing of pass nad fail messages is now fixed.
11464
11465 Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
11466
11467 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
11468 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
11469 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
11470 #ifdef __cplusplus, surround by extern ""C { ... }.
11471 * libc/include/assert.h: Do *not* protect assert.h against
11472 multiple inclusion! Also, #undef it before #define, to allow
11473 redefinition.
11474 * libc/include/stdio.h (getlogin, cuserid): Removed. These
11475 should be only in unistd.h.
11476
11477 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
11478 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
11479 ... }.
11480
11481 Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
11482
11483 * libc/machine/sparc/Makefile.in: Must create a library, even
11484 if empty.
11485
11486 Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11487
11488 * configure.in: set machine_dir for m88k. edit crt0 definition
11489 into makefiles.
11490
11491 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
11492
11493 * libc/Makefile.in (all): also build crt0.o.
11494
11495 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
11496 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
11497 to remove CRT0.
11498
11499 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
11500 (all): reworked to build in place.
11501 (clean): remove lib.a
11502 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
11503
11504 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
11505 (_start): key off edata rather than _start_bss.
11506
11507 Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
11508
11509 * libc/include/sys/unistd.h, libc/include/reent.h,
11510 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
11511
11512 Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11513
11514 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
11515
11516 * Makefile.in (libc.a): break into two rules, one for libc.a and
11517 one for libc/libc.a. Force subdirs current before rebuilding
11518 library.
11519 (libm.a): break into two rules, one for libm.a and one for
11520 libm/libm.a. Force subdirs current before rebuilding library.
11521
11522 * libc/Makefile.in (SUBLIBS): fix typo.
11523
11524 * libc/sys/Makefile.in (all): force descent into subdirs, then
11525 rebuild library iff out of of date.
11526
11527 Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11528
11529 Rework so that library is built and then finished rather than
11530 being built on each invocation of make.
11531
11532 * host/any (machine_dir, sys_dir, signal_dir): these are not
11533 shared and have been moved to their associated Makefile.in's.
11534 (AR_FLAGS): switch to qc which is faster.
11535 * configure.in: no longer assign machine_dir for m88k. set
11536 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
11537 stub_dir set, then add to configdirs. add comment about silly
11538 configuration.
11539 (configdirs): drop stub. It will be added only
11540 when needed.
11541 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
11542 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
11543 stub_lib, crt0): new variables for tailoring lower level
11544 makefiles. Assign accordingly and edit into makefiles.
11545 * libm/Makefile.in: updated copyright.
11546 (TARGETLIB): removed.
11547 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
11548 (SUBDIRS): removed TARGETDEP_DIRS.
11549 (LIBM_FP_LIB, SUBLIBS): new macros.
11550 (all): reworked.
11551 (force): new target to force rebuilds.
11552 (Makefile): call $(SHELL) rather than sh. drop redundant ./
11553 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
11554 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
11555 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
11556 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
11557 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
11558 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
11559 stub/m68kmvme/Makefile.in: updated copyright.
11560 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
11561 (all): reworked. made this the default rule.
11562 (clean): also remove lib.a.
11563 (Makefile): call $(SHELL) rather than sh. drop redundant ./
11564 * stub/Makefile.in: updated copyright.
11565 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
11566 (stub_lib): new macro.
11567 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
11568 RANLIB.
11569 (all): reworked.
11570 (clean, install): assume stub_dir exists.
11571 (Makefile): depend on configure.in. call $(SHELL) rather than
11572 sh. drop redundant ./
11573 * stub/configure.in (stublib): new macro, assign it, edit it into
11574 makefiles.
11575 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
11576 updated copyright.
11577 (all): reworked.
11578 (Makefile): call $(SHELL) rather than sh. drop redundant ./
11579 * libc/Makefile.in (TARGETCRT0): removed.
11580 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
11581 TARGETCRT0.
11582 (SUBDIRS): drop TARGETDEP_DIRS.
11583 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
11584 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
11585 (force): new target to force rebuilds.
11586 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
11587 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
11588 removed.
11589 (clean): assume sys_dir always exists.
11590 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
11591 drop redundant ./
11592 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
11593 libc/locale/Makefile.in, libc/machine/Makefile.in,
11594 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
11595 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
11596 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
11597 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
11598 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
11599 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
11600 libc/signal/Makefile.in, libc/stdio/Makefile.in,
11601 libc/stdlib/Makefile.in, libc/string/Makefile.in,
11602 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
11603 libc/time/Makefile.in, libc/unix/Makefile.in,
11604 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
11605 (TARGETLIB): removed.
11606 (all): reworked.
11607 (clean): also remove lib.a.
11608 (Makefile): call $(SHELL) rather than sh. drop redundant ./
11609 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
11610 new macros.
11611 (SUBDIRS): moved to follow frag inclusion, change stub to
11612 stub_dir.
11613 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
11614 are now set in the libc Makefile.
11615 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
11616 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
11617 TARGETCRT0.
11618 (force): new target to force rebuilds.
11619 * stub/configure.in: determine and set stub_lib for for Makefile.
11620
11621 Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
11622
11623 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
11624 crt0.s renamed to crt0.S.
11625 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
11626
11627 * libc/machine/h8300/Makefile.in: Make `all' the default target.
11628 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
11629 h8300h.
11630 * libc/machine/h8300/defines.h: Add macros to handle pointers for
11631 h8300 (16 bits) and h8300h (32 bits).
11632 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
11633 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
11634
11635 Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
11636
11637 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
11638 implementation of setjmp and longjmp for the m88k.
11639 * libc/include/machine/setjmp.h: Added __m88000__ case.
11640
11641 Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
11642
11643 * configure.in: Recognize h8300h as variant of h8300.
11644
11645 Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
11646
11647 * libc/include/sys/unistd.h (read, write): get prototypes right.
11648 (sbrk): New prototype.
11649 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
11650 * libc/stdio/local.h: Include unistd.h.
11651 * libc/machine/h8300/syscalls.c: Names have changed.
11652
11653 Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
11654
11655 * configure.in: add sys_dir assignment for m88k-bug.
11656
11657 Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
11658
11659 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
11660 a.out or elf.
11661 * libc/sys/sparc64: all *.S files: Use new macros.
11662 * libc/sys/sparc64/isatty.c: New file.
11663 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
11664 functions beyond what newlib provides.
11665
11666 Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
11667
11668 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
11669 svr4.
11670
11671 Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
11672
11673 * libc/include/machine/ieeefp.h: Add support for h8/300h.
11674
11675 Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
11676
11677 * configure.in: add m88k.
11678 * libc/include/machine/ieeefp.h: add case for m88k. Also add
11679 sanity check so no one else need ever chase what I did to find
11680 this.
11681
11682 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
11683
11684 Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
11685
11686 * doc/makedoc.c: Include <ctype.h>.
11687
11688 Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
11689
11690 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
11691 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
11692 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
11693
11694 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
11695
11696 Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
11697
11698 * libc/include/errno.h (ENOSYS): Added.
11699
11700 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
11701
11702 Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
11703
11704 * libc/stdio/fflush.c (fflush): Check for reent struct
11705 initialization.
11706 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
11707
11708 Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
11709
11710 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
11711 out of dtoa.c so it doesn't pollute the namespace.
11712 * libc/include/_syslist.h: new file -- mappings from _function to
11713 function, for systems where we can't win (by default, all of them,
11714 until we start updating system calls.)
11715 * libc/syscalls: new directory -- stubs for exporting _function
11716 names as unmodified function names.
11717 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
11718 _syslist.h on all platforms by default, but put hooks in for
11719 fake_sys_dir so we can include it when we've renamed the system
11720 calls.
11721 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
11722 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
11723 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
11724 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
11725 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
11726 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
11727 non ANSI functions to call _function.
11728
11729 Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
11730
11731 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
11732 when base 16 is specified. Don't accept non-digits if radix > 10.
11733
11734 Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
11735
11736 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
11737
11738 Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
11739
11740 * libc/include/sys/stat.h: Surround text after #endif with
11741 comments.
11742
11743 Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
11744
11745 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
11746 _malloc_r, _realloc_r, and free_r call the corresponding
11747 non-reentrant functions.
11748
11749 * libm/math/modf.c (modf): We now take the address of ipart, so
11750 don't make it a register variable.
11751
11752 Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
11753
11754 * libm/math/*: Rename all xxx_r fns to _xxx_r.
11755
11756 Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
11757
11758 * libc/libc.texinfo and embedded docn throughout: formatting
11759 improvements, minor rephrasing for clarity, and improved
11760 reentrancy docn.
11761
11762 Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
11763
11764 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
11765
11766 * libc/stdio/cvt.c (_licvt): Print the right value on machines
11767 where sizeof(int) != sizeof(long).
11768
11769 Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
11770
11771 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
11772 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
11773 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
11774 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
11775 libm/math/matherr.c: changes for better docn formatting (info).
11776
11777 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
11778 libc/reent/reent.tex, libc/signal/signal.tex,
11779 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
11780 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
11781 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
11782 makeinfo node defaulting to get better Info file node structure.
11783 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
11784 Also include a few formerly missing sections (subroutines).
11785
11786 * doc/doc.str: delete fossil expansion for "func"
11787
11788 * default.menu, no-signal.menu: delete.
11789
11790 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
11791 method used to adjust doc for missing "signals" chapter when
11792 signal_dir is empty.
11793
11794 Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
11795
11796 * configure.in: added testsuite/libm.sac
11797
11798 Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
11799
11800 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
11801 code model).
11802
11803 Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
11804
11805 * libm/Makefile.in: Use $(MAKE) rather than make, and define
11806 MAKEOVERRIDES to be empty.
11807
11808 Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
11809
11810 * configure.in: Don't build mips-*-* with -msoft-float, since that
11811 makes it incompatible with hard floating point.
11812
11813 Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
11814
11815 * Makefile.in: added recursive 'make check'
11816
11817 Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
11818
11819 * configure.in: added ./testsuite ./testsuite/libm.paranoia
11820 * ./testsuite/Makefile.in: created
11821 * ./testsuite/libm.paranoia: paranoia tests added
11822
11823 Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
11824
11825 * configure.in: For mips-*-* set machine_dir to mips.
11826
11827 * libc/machine/mips: New directory.
11828 * libc/machine/mips/Makefile.in: New file.
11829 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
11830 setjmp and longjmp.
11831 * libc/include/machine/setjmp.h: Added __mips__ case.
11832
11833 * libc/machine/lmips: Removed unused and useless directory.
11834
11835 Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
11836
11837 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
11838
11839 Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
11840
11841 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
11842 start up).
11843
11844 Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
11845
11846 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
11847 SETJMP_H.
11848
11849 Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
11850
11851 * libm/test/convert.c: structure member errno -> errno_val.
11852 Must include <errno.h> to use errno, it's a macro now.
11853 * libm/test/math.c: Ditto.
11854 * libm/test/math2.c: Include errno.h.
11855 * libm/test/string.c: Ditto.
11856 * libm/test/test.h: structure member errno -> errno_val.
11857 Remove extern int errno decl.
11858
11859 Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
11860
11861 * libc/stdio/Makefile.in: Added dependencies on local header
11862 files.
11863 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
11864 files.
11865
11866 Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
11867
11868 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
11869
11870 Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
11871
11872 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
11873 Initialize _data.
11874
11875 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
11876 * libc/stdio/local.h: Add prototype for _licvt.
11877
11878 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
11879 instead of malloc,reealloc.
11880
11881 * libc/stdlib/local.h: New file.
11882 * libc/stdlib/efgcvt.c: #include local.h.
11883 (gcvt): Fix call to _gcvt.
11884 * libc/stdlib/ecvtbuf.c: #include local.h.
11885
11886 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
11887 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
11888 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
11889
11890 * libc/stdlib/atexit.c: moved global data to struct _reent.
11891 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
11892
11893 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
11894
11895 Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
11896
11897 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
11898 here from ../reent.h.
11899
11900 Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
11901
11902 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
11903 should be provided in both libc.a and libm.a.
11904 (libc.a): Depend on targ-include and libm.a. Copy
11905 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
11906 (libm.a): Depend on targ-include.
11907 * configure.in (subdirs): Removed libc/math.
11908
11909 Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
11910
11911 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
11912
11913 Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
11914
11915 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
11916 sys/reent.h instead of reent.h.
11917 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
11918 headers moved to sys/reent.h.
11919 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
11920 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
11921 __need__MAX_SIGNALS defined.
11922 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
11923 std{in,out,err} refer to new _std{in,out,err} members.
11924
11925 Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
11926
11927 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
11928 case.
11929
11930 Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
11931
11932 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
11933 rather than whatever macro seterrno() has.
11934
11935 Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
11936
11937 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
11938 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
11939
11940 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
11941 __STDC__.
11942
11943 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
11944 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
11945 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
11946
11947 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
11948 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
11949
11950 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
11951 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
11952 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
11953 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
11954 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
11955 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
11956 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
11957 renamed to _xxx_r. struct reent_struct renamed to struct _reent
11958 for ANSI. structure members given leading "_" for ANSI. Use
11959 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
11960
11961 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
11962 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
11963 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
11964 reent_struct renamed to struct _reent for ANSI.
11965 Structure members given leading "_" for ANSI.
11966 _CONST --> const in prototypes.
11967 Use _HAVE_STDC instead of __STDC__.
11968
11969 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
11970 _xxx_r.
11971 struct reent_struct renamed to struct _reent for ANSI.
11972 Structure members given leading "_" for ANSI.
11973
11974 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
11975 _xxx_r.
11976 struct reent_struct renamed to struct _reent for ANSI.
11977
11978 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
11979 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
11980 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
11981 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
11982 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
11983
11984 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
11985 signal.h, stdio.h, stdlib.h, string.h, time.h}:
11986 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
11987 #ifndef _STRICT_ANSI non-ANSI routines.
11988 Reentrant routines renamed from _r_xxx to _xxx_r.
11989 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
11990 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
11991 Clean up namespace (structure members have leading "_").
11992 struct reent_struct renamed to struct _reent for ANSI compliance.
11993 _CONST --> const in function prototypes.
11994
11995 * libc/include/string.h: Add NULL and size_t.
11996
11997 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
11998 unlink, wait, wait4. Reentrant syscall routines close, fork,
11999 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
12000 write.
12001 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
12002 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
12003 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
12004 write.S}: Define reentrant versions.
12005 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
12006 reentrant syscalls.
12007
12008 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
12009
12010 * libc/include/stdlib.h (RAND_MAX): Fix value.
12011
12012 Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
12013
12014 * libc/sys/a29khif/_main.c: Removed unnecessary file.
12015 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
12016 VPATH support targets after all: target.
12017
12018 * stub/mvme135/mvme.S: Renamed exceptionhandler to
12019 exceptionHandler, which is what mvme135-stub.c expects.
12020
12021 Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
12022
12023 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
12024
12025 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
12026 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
12027 compliant).
12028
12029 Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
12030
12031 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
12032 first.
12033 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
12034 _r_write): Ditto.
12035 libc/reent/fstatr.c (_r_fstat): Ditto.
12036 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
12037 libc/reent/sbrkr.c (_r_sbrk): Ditto.
12038 libc/reent/statr.c (_r_stat): Ditto.
12039
12040 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
12041 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
12042 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
12043 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
12044 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
12045 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
12046 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
12047 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
12048 (__swrite): Ditto for _r_lseek, _r_write.
12049 (__sseek): Ditto for _r_lseek.
12050 (__close): Ditto for _r_close.
12051 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
12052
12053 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
12054 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
12055
12056 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
12057 to make reent_struct the first argument (and thus consistent with
12058 the rest of newlib).
12059
12060 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
12061 reference to __STDC__.
12062
12063 Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
12064
12065 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
12066 global __cleanup.
12067
12068 Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
12069
12070 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
12071 first.
12072 libc/stdio/fclose.c (fclose): Ditto.
12073
12074 Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
12075
12076 * Run through indent and rename reentrant routines for ANSI.
12077 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
12078 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
12079 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
12080 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
12081 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
12082 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
12083 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
12084 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
12085 vsprintf.c wbuf.c wsetup.c local.h}
12086
12087 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
12088
12089 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
12090 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
12091 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
12092 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
12093 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
12094 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
12095
12096 * Run through indent.
12097 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
12098 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
12099 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
12100 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
12101 strxfrm.c}
12102
12103 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
12104 localtime.c mktime.c strftime.c time.c}:
12105 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
12106
12107 * Reformatting + renaming (for ANSI, GNU style, consistency).
12108 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
12109 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
12110 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
12111
12112 Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
12113
12114 * libc/include/stdio.h (stdin_r): Fix.
12115
12116 Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
12117
12118 * Makefile.in: Unexport some variables to keep GNU make from
12119 putting them in the environment and using up needed ARG_MAX space
12120 (a hack is used to let this work with older makes as well).
12121
12122 Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
12123
12124 * Makefile.in: Use $(MAKE) rather than make.
12125 (MAKEOVERRIDES): Define to be empty.
12126 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
12127 (libc.a, libm.a): Depend on targ-include.
12128 * host/any (LD): Don't define.
12129 (INCLUDES): Use targ-include.
12130 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
12131 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
12132 * libc/Makefile.in: Use $(MAKE) rather than make.
12133 (MAKEOVERRIDES): Define to be empty.
12134 (FLAGS_TO_PASS): Don't pass LD (it's not used).
12135 (all): Rewrote to be slightly smaller.
12136 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
12137 Define to be empty.
12138 (FLAGS_TO_PASS): Don't pass LD (it's not used).
12139 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
12140
12141 Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
12142
12143 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
12144 with errno/errno.c.
12145
12146 Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
12147
12148 * Changes for reentrancy.
12149 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
12150 Use ptr->_errno, not errno.
12151 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
12152 libc/stdio/remove.c (remove_r): New function.
12153 libc/stdio/rename.c (rename_r): New function.
12154 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
12155 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
12156 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
12157 reentrant versions of system calls.
12158 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
12159 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
12160 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
12161 libc/stdio/findfp.c: Include <string.h>.
12162 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
12163 "local.h".
12164 libc/stdio/wbuf.c: Include "fvwrite.h"
12165
12166 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
12167 <string.h>.
12168 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
12169 (NULL): Don't define if already defined.
12170 libc/stdlib/system.c: Call reentrant versions of system calls.
12171 (system_r): New function.
12172
12173 * Changes for reentrancy.
12174 libc/include/_ansi.h (_PARAMS): New macro.
12175 libc/include/errno.h: Define errno as a macro that calls __errno.
12176 (__errno_r): New macro for reentrant code.
12177 libc/include/math.h: Include reent.h. Declare many reentrant
12178 functions.
12179 (signgam): Now a macro, not a variable.
12180 (struct exception): Added err field.
12181 libc/include/reent.h: Don't declare __sglue. Added function
12182 declarations.
12183 (struct reent_struct): Moved errno to beginning. Added _signgam.
12184 libc/include/stdio.h, libc/include/stdlib.h: Added function
12185 declarations.
12186
12187 * More reentrancy hacking.
12188 libc/errno/errno.c (__errno): New function.
12189 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
12190 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
12191 files.
12192
12193 * Added many new reentrant functions to libm/math/*.
12194 libm/math/error.c (__matherror): Added reent_struct pointer
12195 argument. Changed all callers.
12196 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
12197 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
12198 libm/math/tan.h: Removed obsolete unused header files.
12199
12200 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
12201
12202 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
12203
12204 Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
12205
12206 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
12207 delay slots.
12208
12209 Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
12210
12211 * libc/libc.texinfo: comment out reentrancy chapter (duh)
12212
12213 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
12214
12215 * libc/reent/reent.tex: New file. (text from
12216 newlib/libc/libc.texinfo)
12217 * libc/stdio/tmpnam.c: fixed doc typo
12218 * libc/stdlib/rand.c: fixed doc typo
12219
12220 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
12221
12222 * libc/reent/reent.tex: New file. (text from
12223 newlib/libc/libc.texinfo)
12224
12225 Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
12226
12227 support for reentrancy
12228 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
12229 new files
12230 * libc/errno/errno.c, libc/include/ieeefp.h,
12231 libc/include/locale.h, libc/include/reent.h,
12232 libc/include/signal.h, libc/include/stdio.h,
12233 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
12234 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
12235 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
12236 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
12237 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
12238 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
12239 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
12240 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
12241 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
12242 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
12243 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
12244 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
12245 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
12246 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
12247 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
12248 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
12249 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
12250 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
12251 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
12252 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
12253 libc/time/strftime.c: modify to provide reentracy.
12254
12255 new routines:
12256 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
12257 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
12258 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
12259 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
12260 mstats_r, realloc_r, localeconv_r, setlocale_r
12261
12262 Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
12263
12264 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
12265 libc/include/sys/config.h, libc/include/sys/signal.h,
12266 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
12267 provided macros (such as m68000), use the ansi version
12268 (__m68000__) so that the library can be used with code compiled
12269 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
12270 and sparc.
12271
12272 Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
12273
12274 * configure.in (sparc*): Don't set -fsoft-float for sparc
12275 configurations. Do set -fsoft-float for sparclite configurations.
12276
12277 Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
12278
12279 * default.menu, no-signal.menu: alternate forms of libc main menu
12280 (in newlib rather than newlib/libc due to configuration restrictions)
12281
12282 * configure.in: select one of the two menus above, link to
12283 libc.menu
12284
12285 * libc/libc.texinfo: include menu from separate file
12286
12287 Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
12288
12289 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
12290 (info): Split long shell command in half.
12291 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
12292 sub-makes, just CHEW and TARGETDOC.
12293 (targetdep.tex): Removed now special handling of sys and machine
12294 subdirectories, made obsolete some time ago.
12295 * libc/machine/Makefile.in (doc): Don't pass everything to
12296 sub-make, just CHEW and TARGETDOC.
12297 (Makefile): New target.
12298 * libc/sys/Makefile.in (Makefile): New target.
12299
12300 Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
12301
12302 * Makefile.in (here and most subdirectories): Only pass down CHEW
12303 and TARGETDOC when making info, not for other targets.
12304
12305 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
12306 $(AR_FLAGS) rather than $(ARUPDATE).
12307
12308 Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
12309
12310 * Try to reduce command line length:
12311 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
12312 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
12313 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
12314 (info): Pass CHEW to other subdirs.
12315
12316 Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
12317
12318 * configure.in: add signal_dir, like unix_dir, but by default it
12319 is set to "signal" so that a29khif can turn it off (since a29khif
12320 has raise() as part of machine-specific signal.s.)
12321
12322 Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
12323
12324 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
12325 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
12326 correctly.
12327 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
12328 libc/stdio/vfprintf: type lint.
12329 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
12330 initialzation code.
12331 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
12332
12333 Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
12334
12335 * stub/mvme135/mvme135-asm.S: new file.
12336 stub/mvme135mvme135-stub.c: moved all assembler routines into
12337 mvme135-asm.S.
12338 stub/mvme135/Makefile.in: build mvme135-stub.o.
12339
12340 Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
12341
12342 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
12343 sub-Makefiles instead, to try to avoid line length limitations.
12344
12345 Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
12346
12347 * libc/include/unistd.h (read, write): Use void* instead of
12348 char*.
12349
12350 Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
12351
12352 * stub/go32/resetpc: sample script to send a reset packet to the
12353 stub
12354
12355 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
12356 DOS environment, which compiles with Turbo C.
12357
12358 * stub/go32/DSER32.LNK: new file, linker commands for serial
12359 remote stub.
12360
12361 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
12362 start up message to identify version; call set_debug_traps.
12363
12364 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
12365 keyboard interaction); call handle_exception() in go_til_stop,
12366 rather than return, so that the remote stub gets control.
12367
12368 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
12369 rename, rather than mv), set flags that work with current Turbo C,
12370 including using the /3 flag; also, add commands to build dser32.
12371
12372 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
12373 default Turbo C installation (\tc rather than \usr)
12374
12375 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
12376 "&..."
12377
12378 Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
12379
12380 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
12381
12382 Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
12383
12384 * libc/stdio/cvt.c (licvt): new function to convert ints when
12385 sizeof(int) != sizeof(long).
12386
12387 * libc/include/stdio.h: added prototype for iprintf.
12388 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
12389
12390 Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
12391
12392 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
12393 __REGISTER_PREFIX__.
12394
12395 Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
12396
12397 * libc/sys/m68kbare: moved into stub directory.
12398
12399 Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
12400
12401 * configure.in, Makefile.in: created new directory stub, to hold
12402 sample code for specific targets.
12403
12404 Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
12405
12406 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
12407 in the unified libc/include/sys/fcntl.h.
12408
12409 Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
12410
12411 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
12412 printed .01, not 0.01.
12413
12414 Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
12415
12416 * configure.in: compile with -m68000 for m68* targets.
12417
12418 Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
12419
12420 * libm/math/remainder.c (remainder): document the svr4 and sunos
12421 references used to construct the function.
12422
12423 Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
12424
12425 * libm/math/remainder.c (rint, remainder): fix old typos.
12426 * libm/math/Makefile.in: actually build remainder.c (functions
12427 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
12428 page.)
12429
12430 Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
12431
12432 * libc/string/bcopy.c: BSD version works on overlapping strings,
12433 so ours should too.
12434
12435 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
12436 ("SHELL").
12437
12438 Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
12439
12440 * Makefile.in (docs): new target.
12441
12442 Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
12443
12444 * libc/include/sys/times.h: define clock_t as required by POSIX.
12445 libc/include/time.h: protect clock_t from multiple definitions.
12446
12447 Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
12448
12449 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
12450 does not need more than the original three iterations to get
12451 within 1 ulp. (Paranoia tests for rounding to better than that,
12452 but further iterations *don't* help, only more subtle changes
12453 can.)
12454
12455 Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
12456
12457 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
12458 were doing nothing useful.
12459
12460 Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
12461
12462 * configure.in: define MALLOC_PROVIDED for vxworks targets;
12463 removed sys_dir settings of vxworks68 and vxworks960.
12464 host/any: don't pass -nostdinc to gcc, since newlib no longer
12465 provides all required header files.
12466
12467 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
12468 is not defined; this provides a hook for VxWorks.
12469
12470 Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
12471
12472 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
12473 buffer if buf is NULL, don't do it here -- it is already being
12474 done by makebuf elsewhere in stdio.
12475
12476 Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
12477
12478 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
12479 that C programs can call functions without using initial
12480 underscores.
12481
12482 Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
12483
12484 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
12485
12486 Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
12487
12488 * configure.in: set TARGET_CFLAGS for certain CPU types to
12489 -msoft-float.
12490
12491 Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
12492
12493 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
12494
12495 Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
12496
12497 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
12498 m68k*-unknown-coff.
12499
12500 Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
12501
12502 * libc/include/stdio.h: define __need___va_list before including
12503 <stdarg.h>, to avoid defining va_arg, et. al.
12504
12505 Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
12506
12507 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
12508 (don't cd to the user's home directory).
12509
12510 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
12511 In general this is the wrong thing to do, but I can't get around
12512 GNU make's insistence on passing command line arguments any other
12513 way.
12514
12515 Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
12516
12517 * configure.in: always configure the libc/sys directory, since it
12518 now provides a required documentation file.
12519
12520 * Makefile.in: replaced all instances of $(MAKE) with make. In
12521 general this is the wrong thing to do, but I can't get around GNU
12522 make's insistence on passing command line arguments any other way.
12523
12524 Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
12525
12526 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
12527 terminated.
12528
12529 * libc/stdio/local.h: include <stdarg.h> to define va_list.
12530 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
12531
12532 * libc/include/float.h, libc/include/stdarg.h,
12533 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
12534 versions instead.
12535 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
12536 <stdarg.h>, not from <machine/types.h>. Protect definition of
12537 NULL.
12538 libc/include/time.h: get size_t from stddef.h. Protect definition
12539 of NULL.
12540 libc/include/machine/limits.h: override gcc <limits.h> by defining
12541 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
12542 get correct INT_MIN and LONG_LONG values.
12543 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
12544 size_t or va_list at all; they're now gotten from stddef.h
12545 instead.
12546 libc/include/machine/varargs.h: removed; use gcc version instead.
12547 libc/include/sys/types.h: explicitly include <machine/types.h>.
12548
12549 * libm/math/sqrt.h: using the fp-bit routines appears to require
12550 more iterations.
12551
12552 * Makefile.in, host/any: let system include files override machine
12553 include files.
12554
12555 Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
12556
12557 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
12558 override _*_T_ definitions defaulted here.
12559
12560 Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
12561
12562 * Makefile.in (install): install the include files in
12563 $(tooldir)/include, not $(exec_prefix)/include.
12564
12565 Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
12566
12567 * Makefile.in (install): fixed typo, and changed install to not
12568 force rebuild of libc.a and libm.a.
12569
12570 Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
12571
12572 * libc/sys/a29khif/*: Changed all .include's to include
12573 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
12574 that they will be installed for the user.
12575
12576 * Makefile.in (all): create targ-include, a directory holding the
12577 machine and system specific header files during the build.
12578 (install): fixed installation of machine and system specific
12579 header files.
12580
12581 * Makefile.in: fixed comment.
12582 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
12583 we can pass $(INCLUDES) to it.
12584
12585 Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
12586
12587 * libc/include/sys/param.h: new generic file, which may be
12588 overridden for specific systems.
12589
12590 * libc/include/sys/signal.h: define all ANSI signal names, and
12591 NSIG (which is not ANSI) for a29k.
12592
12593 Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
12594
12595 * Makefile.in: don't pass down arguments the lower level makes
12596 will not need.
12597 * libc/Makefile.in: recurse directly, rather than using subdir_do,
12598 in hopes of avoiding argument length limits.
12599 * libm/Makefile.in: recurse directly, rather using subdir_do, in
12600 hopes of avoiding argument length limits.
12601
12602 Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
12603
12604 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
12605 mode_t is defined.
12606
12607 Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
12608
12609 * Fixed make info and make install-info for newlib, changing most
12610 Makefile.in and several *.tex files. Moved doc directory from
12611 libc to top level.
12612
12613 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
12614 Should be rewritten.
12615
12616 * libc/string/strings.tex: renamed node index to node index
12617 function, so that it does not conflict with the top level index
12618 node.
12619
12620 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
12621
12622 Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
12623
12624 * Overhauled general configuration for newlib. Eliminated all
12625 target dependent Makefile fragments. Create libraries in newlib
12626 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
12627 than CROSS_CC, et. al. Broke make docs; will fix later.
12628
12629 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
12630 Should be rewritten.
12631
12632 Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
12633
12634 * libc/configure.in: cleaned up somewhat; switch on ${target}
12635 rather than ${target_alias}.
12636 * libm/configure.in: cleaned up somewhat; switch on ${target}
12637 rather than ${target_alias}.
12638
12639 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
12640 * libc/include/ctype.h: marked _ctype_ as _CONST.
12641
12642 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
12643 _CONST.
12644
12645 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
12646 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
12647 libc/stdio/gets.c (gets): removed non-ANSI warning message.
12648 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
12649
12650 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
12651 bigtens, tinytens): marked arrays _CONST.
12652 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
12653 rather than a static variable.
12654
12655 * libc/time/asctime.c (asctime), libc/time/localtime.c
12656 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
12657 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
12658 mname_len, mname): Marked static arrays _CONST.
12659
12660 * libm/math/gamma.h: made local variables non-static.
12661
12662 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
12663 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
12664 _CONST.
12665
12666 * libm/math/constants.c: removed file, because the constants it
12667 defined were never referenced.
12668 libm/math/Makefile.in: removed references to constants.c.
12669 libm/math/mathimpl.h: removed declarations of constants.
12670
12671 Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
12672
12673 * libc/include/machine/varargs.h: only call __builtin_saveregs if
12674 it is sensibly defined in libgcc2. Checks preprocessor defines,
12675 which is not a good solution.
12676
12677 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
12678
12679 * libm/frexp.c: handle denormalized numbers as arguments.
12680
12681 * libm/math/Makefile.in: added some dependencies for .c files
12682 which include local .h files.
12683
12684 Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
12685
12686 * libc/configure.in: set target_alias for OSE*. Replace
12687 target_makefile_frag if it is blank.
12688
12689 * libc/Makefile.in: make sure everything is passed to subsidiary
12690 makes; create all directories when installing.
12691
12692 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
12693 CROSS_ARUPDATE instead of AR.
12694
12695 * libm/configure.in: set target_alias for OSE*. Replace
12696 target_makefile_frag if it is blank.
12697
12698 * libm/Makefile.in: make sure everything is passed to subsidiary
12699 makes; create all directories when installing.
12700
12701 Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
12702
12703 * add following change from libc copy.
12704
12705 Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
12706
12707 * libc/libc.texinfo: make copyright disclaimers appear on back of
12708 title page; make format of same slightly less ugly; avoid using
12709 underbars in section headings (avoids nasty texinfo bug in table
12710 of contents).
12711
12712 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
12713 comments only) avoid using underbars in section headings
12714
12715 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
12716 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
12717 changes in comments only): shorten headings ieeefp/infinity.c,
12718 ieeefp/isnan.c: (doc, comments only) more informative headings
12719
12720 * libc/math/bessel.c: (doc, comments only) shorten heading
12721
12722 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
12723 (doc, comments only) shorten headings
12724
12725 * libc/time/localtime.c (doc, comments only): shorten headings
12726
12727 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
12728 isnan
12729 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
12730 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
12731 headings
12732 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
12733 only) more informative headings
12734 * libm/math/bessel.c: (doc, comments only) shorten heading
12735
12736 Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
12737
12738 * .../Makefile.in: use CROSS_ARUPDATE consistently.
12739 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
12740 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
12741 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
12742 defined, the one from the .mt file will be correct.
12743 * libc/include/machine, libc/include/sys: created, and populated
12744 with common files from machine/*/machine. ifdefs were used for
12745 most, typically by handling exceptions first and then filling in
12746 defaults. Files with D.J. Delorie copyright #included rather than
12747 copied. Most files in include/sys really were the same in the
12748 original.
12749 * libc/include/...: cleaned up use of _EXFUN.
12750 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
12751 it with double quotes, not angles.
12752
12753 Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
12754
12755 * libc/Makefile.in: always create installation directories.
12756
12757 Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
12758
12759 * libc/configure.in: handle host properly (using canonical
12760 triples), better error message for the case of target not found
12761
12762 Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
12763
12764 * libc/Makefile.in (insincdir): Ensure this directory exists
12765 before attempting installation.
12766
12767 Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
12768
12769 * libc/stdlib/assert.c: now calls abort like it should
12770 * libc/sys/a29khif: many many patches for 29khif work
12771 * libc/machine/i386: gnulib2 expanded there.
12772
12773 Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
12774
12775 Added accurate fp conversion routines to stdlib, moved dcvt from
12776 stdio to stdlib and called it ecvtbuf:
12777 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
12778 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
12779 routines
12780 * libc/libc.texinfo: Modifed to include the copyright info from
12781 the mprec files
12782 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
12783 * libc/test/ : many vector which tested for the implementation
12784 defined returns of strange conversion requests have been updated
12785 to relflect the new implementation
12786
12787 Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
12788
12789 * libc/libc.texinfo: new chapter on variable arg lists
12790 (stdarg.h/varargs.h)
12791 * libc/libc.texinfo: new title
12792 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
12793 (doc only) shorter headings for better formatting.
12794
12795 Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
12796
12797 * libc/libc.texinfo: three more info menu entries
12798 * libc/locale/locale.tex: new chapter
12799 * libc/locale/locale.c: new doc for setlocale, localeconv
12800 * libc/locale/Makefile.in: use new locale doc
12801 * libc/signal/signal.tex: new chapter
12802 * libc/signal/raise.c, libc/signal/signal.c: new doc
12803 * libc/signal/Makefile.in: use new doc
12804 * libc/time/time.tex: new chapter
12805 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
12806 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
12807 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
12808 * libc/time/Makefile.in: use new doc
12809
12810 Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
12811
12812 * libm/math/log1p.c: split to use the new function way of float
12813 function definition. math/log1p.h deleted
12814 * libm/math/scalb.c: obsolete and deleted
12815 * libm/math/scalbn.c: created from part log1p.c
12816 * libm/math/Makefile.in: know about log1p and scalbn
12817
12818 Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
12819
12820 * libc/ctype/isupper.c: revise doc;
12821 libc/ctype/ctype.tex: use doc from isupper.c
12822
12823 * libc/string/bzero.c: new doc
12824
12825 Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
12826
12827 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
12828 new doc
12829 * libc/stdlib/Makefile.in: extract new doc
12830 * libc/stdlib/stdlib.tex: use new doc
12831
12832 * libc/string/strerror.c: expanded doc.
12833
12834 * libc/stdio/Makefile.in: extract doc from more files
12835 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
12836 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
12837 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
12838 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
12839 libc/stdio/vsprintf.c: new doc
12840 * libc/stdio/stdio.tex: use new doc
12841
12842 Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
12843
12844 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
12845 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
12846 finitef functions.
12847 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
12848 time ago.
12849
12850 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
12851 * libc/stdio/setbuf.c: added ansi style definition.
12852 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
12853 buffer if none provided.
12854 * libc/stdio/tmpfile.c: lint
12855 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
12856 rather than using static, also make sure file isn't already
12857 present. Uses P_tmpdir. (tempnam): rewritten to use new
12858 subroutine, and uses P_tmpdir.
12859 * libc/stdio/siprintf.c: created
12860
12861 Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
12862
12863 Release 1.03 for NEC, major mods. Main differences from release
12864 1.02::
12865
12866 More tests in test/:
12867 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
12868 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
12869 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
12870 get/set mask, get/set sticky and get/set roundtoi. Tests
12871 that setting the bits changes the way arithmetic is done.
12872 * string.c: added test to make sure memcmp does it with unsigned
12873 chars.
12874 * test.c: cleaned up and removed lint.
12875 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
12876 dvec.c: tests for string to value conversions, sprintf, scanf,
12877 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
12878 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
12879 rounding in sprintf too.
12880 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
12881 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
12882 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
12883 and function form.
12884 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
12885 powf
12886
12887 In the library:
12888 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
12889 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
12890 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
12891 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
12892 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
12893 than sprintf.
12894 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
12895 * Method of producting float versions of double functions has
12896 changed, functions will be modified gradually. So far:
12897 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
12898 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
12899 altered
12900 * libc/string/memcmp.c: now uses unsigned chars
12901 * libc/string/bcmp.c, libc/string/strcpy.c,
12902 libc/stsring/strxfrm.c: fixed doc
12903 * libc/sys/sysvnecv70.tex: fix example of sbrk code
12904 \f
12905 Local Variables:
12906 version-control: never
12907 End:
This page took 0.571763 seconds and 5 git commands to generate.