]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
* configure: Regenerate.
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
ed027a53
JJ
12003-09-02 Thomas Pfaff <tpfaff@gmx.net>
2
3 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
4 * libc/stdlib/exit.c : Ditto.
5 * libc/stdlib/on_exit.c: Ditto.
6
880fa247
JJ
72003-08-27 Corinna Vinschen <corinna@vinschen.de>
8
9 * libc/include/reent.h: Define stat64 as __stat64 when
10 compiling newlib for Cygwin.
11
54c1d7ea
JJ
122003-08-26 Jeff Johnston <jjohnstn@redhat.com>
13
14 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
15 __stat64 when compiling newlib.
16
0eca0750
JJ
172003-08-26 Jeff Johnston <jjohnstn@redhat.com>
18
19 * libc/include/stdio.h: Allow the io64 function prototypes for
20 Cygwin when compiling newlib.
21 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
22 to expose the Cygwin struct __stat64 type.
23 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
24 pointer.
25 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
26
9d4aef19
CF
272003-08-23 Christopher Faylor <cgf@redhat.com>
28
29 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
30 definition to fseeko64.
31
9fc9e1c9
JJ
322003-08-22 Jeff Johnston <jjohnstn@redhat.com>
33
34 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
35 * libc/stdio: Globally remove/replace all references to fp->_data.
36 Replace with _REENT or _GLOBAL_REENT where appropriate.
37 * libc/stdio/asprintf.c: Ditto.
38 * libc/stdio/fclose.c: Ditto.
39 * libc/stdio/fvwrite.c: Ditto.
40 * libc/stdio/makebuf.c: Ditto.
41 * libc/stdio/refill.c: Ditto.
42 * libc/stdio/local.h: Ditto.
43 * libc/stdio/setvbuf.c: Ditto.
44 * libc/stdio/sscanf.c: Ditto.
45 * libc/stdio/stdio.c: Ditto.
46 * libc/stdio/ungetc.c: Ditto.
47 * libc/stdio/vfscanf.c: Ditto.
48 * libc/stdio/vsscanf.c: Ditto.
49 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
50 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
51 * libc/stdio/vsnprintf.c: Ditto.
52 * libc/stdio/vsprintf.c: Ditto.
53 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
54 instead of _REENT to walk file list.
55 * libc/stdio/fflush.c: Ditto.
56 * libc/stdio/fgetpos.c: Add reentrant version and have regular
57 version call reentrant version with _REENT argument.
58 * libc/stdio/fsetpos.c: Ditto.
59 * libc/stdio/fseek.c: Ditto.
60 * libc/stdio/fseeko.c: Ditto.
61 * libc/stdio/ftell.c: Ditto.
62 * libc/stdio/ftello.c: Ditto.
63 * libc/stdio/freopen.c: Ditto.
64 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
65 new files to chain. Also use _GLOBAL_REENT pointer for
66 cleaning up.
67 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
68 * libc/stdio/siprintf.c: Ditto.
69 * libc/stdio/iprintf.c: Ditto.
70 * libc/stdio/fprintf.c: Ditto.
71 * libc/stdio/printf.c: Ditto.
72 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
73 * libc/stdio/sprintf.c: Ditto.
74 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
75 * libc/stdio/rewind.c: Call _fseek_r directly.
76 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
77 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
78 data pointer.
79 (get_arg): Add extra struct _reent pointer argument.
80 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
81 to fp->_data.
82 * libc/stdio64/fopen64.c: Ditto.
83 * libc/stdio64/freopen64.c: Ditto.
84 * libc/stdio64/fsetpos64.c: Ditto.
85 * libc/stdio64/ftello64.c: Ditto.
86 * libc/stdio64/local64.h: Ditto.
87 * libc/stdio64/stdio64.c: Ditto.
88 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
89 _fstat64_r for the meantime.
90
8f021114
JJ
912003-08-19 Jeff Johnston <jjohnstn@redhat.com>
92
93 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
94 overflow detection.
95
db979bb4
JJ
962003-08-13 Aldy Hernandez <aldyh@redhat.com>
97
98 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
99 extern "C".
100
6efbdc7d
JJ
1012003-08-13 Jeff Johnston <jjohnstn@redhat.com>
102
103 * libc/include/math.h: Add prototypes for __signbitf and
104 __signbitd.
105
e895fc20
JJ
1062003-07-31 Jeff Johnston <jjohnstn@redhat.com>
107
108 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
109 correct type of conversion when dealing with EUCJP or SJIS.
110 * libc/ctype/iswblank.c: Ditto.
111 * libc/ctype/iswcntrl.c: Ditto.
112 * libc/ctype/iswprint.c: Ditto.
113 * libc/ctype/iswpunct.c: Ditto.
114 * libc/ctype/iswspace.c: Ditto.
115 * libc/ctype/towlower.c: Ditto.
116 * libc/ctype/towupper.c: Ditto.
117
0302dfe5
NC
1182003-07-31 Nick Clifton <nickc@redhat.com>
119
120 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
121 before calling main, in case it saves its argument registers.
122 Remove reference to deleted v850ea port.
123 * configure.host: Remove reference to deleted v850ea port.
124 Do not use -mv850 when building for v850e target. This
125 prevents the ctbp system register from being initialised.
126
42de5592
JJ
1272003-07-29 Honda Hiroki <hhonda@ipflex.com>
128
129 * libc/stdio/vfprintf.c: Set output size to 1 when
130 we have %f format with precision 0 and # flag not specified.
131
e5de27b6
AO
1322003-07-29 Alexandre Oliva <aoliva@redhat.com>
133
134 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
135 .am33_2.
136
3c98a593
CF
1372003-07-25 Christopher Faylor <cgf@redhat.com>
138
139 * libc/stdio64/fdopen64.c: Include sys/lock.h.
140
e222bf67
CF
1412003-07-25 Christopher Faylor <cgf@redhat.com>
142
143 * configure.host: Find cygwin include directory, when appropriate.
144
03536757
CF
1452003-07-24 Christopher Faylor <cgf@redhat.com>
146
147 * libc/stdio64/fdopen64.c: New file.
148 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
149 * libc/stdio64/Makefile.in: Regenerate.
150 * libc/include/stdio.h (fdopen64): Define.
151 * libc/include/stdio.h (_fdopen64_r): Ditto.
152
18072a4f
AO
1532003-07-10 Alexandre Oliva <aoliva@redhat.com>
154
155 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
156 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
157 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
158 restore callee-saved FP registers.
159
e0bec12f
JR
1602003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
161
162 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
163 for __sh__.
164 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
165 truncate.c.
166 * libc/sys/sh/Makefile.in: Regenerate.
167 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
168 * libc/sys/sh/ftruncate.c: New file.
169 * libc/sys/sh/truncate.c: Likewise.
170
03d65dd9
AO
1712003-07-09 Alexandre Oliva <aoliva@redhat.com>
172
173 * libc/include/math.h (nan, nanf): Update prototype to C99.
174 * libm/common/s_nan.c (nan): Likewise.
175 * libm/common/s_nanf.c (nanf, nan): Likewise.
176 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
177
74aa9d7d
JJ
1782003-07-07 Jeff Johnston <jjohnstn@redhat.com>
179
180 * libc/include/stdbool.h: Removed as this is defined by gcc.
181
0a447ef3
JJ
1822003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
183
184 * libc/include/stdbool.h: New header file defined by C99.
185
282eff9a
JJ
1862003-07-02 Jeff Johnston <jjohnstn@redhat.com>
187
188 * libc/include/sys/types.h (int8_t): Make signed.
189
4e989b11
JJ
1902003-07-02 Jeff Johnston <jjohnstn@redhat.com>
191
192 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
193
07b40cf8
JJ
1942003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
195
196 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
197 on if we actually created the shared memory file exclusively.
198
7daa7891
JJ
1992003-06-27 Joe Vornehm <joev@mitre.org>
200
201 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
202 comparisons to account for unsigned internal value w.
203
51fa7562
JJ
2042003-06-26 Jeff Johnston <jjohnstn@redhat.com>
205
206 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
207 wrbuf for a non-creating open.
208
b8f7ea5c
JJ
2092003-06-24 Kazu Hirata <kazu@cs.umass.edu>
210
211 * libc/machine/h8300/setarch.h: New.
212 * libc/machine/h8300/memcpy.S: Use it.
213 * libc/machine/h8300/memset.S: Likewise.
214 * libc/machine/h8300/reg_memcpy.S: Likewise.
215 * libc/machine/h8300/reg_memset.S: Likewise.
216 * libc/machine/h8300/setjmp.S: Likewise.
217 * libc/machine/h8300/strcmp.S: Likewise.
218
6d7ea52a
RS
2192003-06-24 Richard Sandiford <rsandifo@redhat.com>
220
221 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
222 to atexit().
223
5a74f2aa
JJ
2242003-06-20 Jeff Johnston <jjohnstn@redhat.com>
225
226 * configure.host (iq2000): Add tabs.
227
8266e478
JJ
2282003-06-20 Jeff Johnston <jjohnstn@redhat.com>
229
230 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
231 to handle latest on_exit change.
232 * libc/sys/linux/Makefile.am: Remove special compilation
233 for malloc.c and mcheck.c.
234 * libc/sys/linux/Makefile.in: Regenerated.
235 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
236 after including <features.h>.
237 * libc/sys/linux/mcheck.c: Ditto.
238 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
239 for <features.h>.
240 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
241 add -DNOT_IN_libc to C flags.
242 * libc/sys/linux/intl/Makefile.in: Regenerated.
243 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
244 * libc/sys/linux/linuxthreads/semaphore.h: Include
245 <bits/pthreadtypes.h>.
246 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
247 including <features.h>.
248 * libc/sys/linux/sys/lock.h: Ditto.
249
0efe117b
NC
2502003-06-11 Nick Clifton <nickc@redhat.com>
251
252 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
253 _on_exit_args_ptr.
254
bfdfd7e6
AG
2552003-06-10 Stan Cox <scox@redhat.com>
256 Anthony Green <green@redhat.com>
257
258 * configure.host: Add iq2000 support.
259 * newlib/libc/include/machine/ieeefp.h: Ditto.
260 * newlib/libc/include/machine/setjmp.h: Ditto.
261 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
262 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
263 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
264 libc/machine/iq2000/Makefile.in: New files.
265
d9e4104b
RS
2662003-06-10 Richard Sandiford <rsandifo@redhat.com>
267
268 * libc/sys/h8300hms/setarch.h: New file.
269 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
270 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
271 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
272 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
273
729d1ff9
JJ
2742003-06-06 Jeff Johnston <jjohnstn@redhat.com>
275
276 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
277 definition.
278 * libc/argz/argz_add_sep.c: Ditto.
279 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
280 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
281 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
282 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
283 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
284 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
285 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
286 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
287 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
288 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
289 * libc/posix/execl.c libc/posix/execle.c: Ditto.
290 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
291 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
292 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
293 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
294 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
295 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
296 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
297 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
298 * libc/search/twalk.c libc/signal/signal.c: Ditto.
299
75d7d177
NC
3002003-06-05 Nick Clifton <nickc@redhat.com>
301
302 * libc/include/sys/reent.h (struct _on_exit_args): New
303 structure containing fields used by the on_exit() function.
304 (struct _atexit): Include struct _on_exit_args. For
305 _REENT_SMALL do his via a pointer that is initialised when
306 needed.
307 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
308 structure, if one has been allocated.
309 * libc/stdlib/atexit.c (atexit): Update indirection to
310 _fntypes field.
311 * libc/stdlib/on_exit.c (on_exit): Indirect via the
312 _on_exit_args structure. For _REENT_SMALL, allocate a
313 structure if one does not exist.
314 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
315 structure.
316
2129f283
JJ
3172003-06-04 Jeff Johnston <jjohnstn@redhat.com>
318
319 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
320 * libc/sys/linux/net/Makefile.in: Regenerated.
321
bf3bcac2
JJ
3222003-06-03 Jeff Johnston <jjohnstn@redhat.com>
323
324 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
325 * libc/reent/fcntlr.c: Ditto.
326 * libc/reent/fstat64r.c: Ditto.
327 * libc/reent/linkr.c: Ditto.
328 * libc/reent/lseek64r.c: Ditto.
329 * libc/reent/lseekr.c: Ditto.
330 * libc/reent/openr.c: Ditto.
331 * libc/reent/readr.c: Ditto.
332 * libc/reent/reent.c: Ditto.
333 * libc/reent/sbrkr.c: Ditto.
334 * libc/reent/signalr.c: Ditto.
335 * libc/reent/signgam.c: Ditto.
336 * libc/reent/statr.c: Ditto.
337 * libc/reent/timer.c: Ditto.
338 * libc/reent/unlinkr.c: Ditto.
339 * libc/reent/writer.c: Ditto.
340 * libc/syscalls/sysclose.c: Ditto.
341 * libc/syscalls/sysexecve.c: Ditto.
342 * libc/syscalls/sysfcntl.c: Ditto.
343 * libc/syscalls/sysfork.c: Ditto.
344 * libc/syscalls/sysfstat.c: Ditto.
345 * libc/syscalls/sysgetpid.c: Ditto.
346 * libc/syscalls/sysgettod.c: Ditto.
347 * libc/syscalls/syskill.c: Ditto.
348 * libc/syscalls/syslink.c: Ditto.
349 * libc/syscalls/syslseek.c: Ditto.
350 * libc/syscalls/sysopen.c: Ditto.
351 * libc/syscalls/sysread.c: Ditto.
352 * libc/syscalls/syssbrk.c: Ditto.
353 * libc/syscalls/sysstat.c: Ditto.
354 * libc/syscalls/systimes.c: Ditto.
355 * libc/syscalls/sysunlink.c: Ditto.
356 * libc/syscalls/syswait.c: Ditto.
357 * libc/syscalls/syswrite.c: Ditto.
358
702ceb23
JJ
3592003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
360
361 * libc/time/tzset_r.c: Change local variables that are
362 set via sscanf using the %h format specifier to be unsigned short
363 instead of int.
364
102861c9
JJ
3652003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
366
367 * configure.host: Allow i[34567]86 variant.
368 * configure.in: Likewise.
369 * README: Likewise to the docs.
370 * configure: Regenerated.
371 * Makefile.in: Ditto.
372
b359e82c
JJ
3732003-05-28 Jeff Johnston <jjohnstn@redhat.com>
374 Tom Fitzsimmons <fitzsim@redhat.com>
375
376 * configure.in: Add iconvdata support for x86 linux.
377 * configure: Regenerated.
378 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
379 library, iconv, and linuxthreads support.
380 * libc/sys/linux/configure.in: Ditto.
381 * libc/sys/linux/Makefile.in: Regenerated.
382 * libc/sys/linux/configure: Ditto.
383 * iconvdata/EUC-JP.irreversible: New file.
384 * iconvdata/Makefile.am: Ditto.
385 * iconvdata/Makefile.in: Ditto.
386 * iconvdata/SJIS.irreversible: Ditto.
387 * iconvdata/aclocal.m4: Ditto.
388 * iconvdata/configure: Ditto.
389 * iconvdata/configure.in: Ditto.
390 * iconvdata/dummy.c: Ditto.
391 * iconvdata/euc-jp.c: Ditto.
392 * iconvdata/gconv-modules: Ditto.
393 * iconvdata/jis0201.c: Ditto.
394 * iconvdata/jis0201.h: Ditto.
395 * iconvdata/jis0208.c: Ditto.
396 * iconvdata/jis0208.h: Ditto.
397 * iconvdata/jis0212.c: Ditto.
398 * iconvdata/jis0212.h: Ditto.
399 * iconvdata/sjis.c: Ditto.
400 * libc/include/errno.h: Protect definition of error_t.
401 * libc/sys/linux/gethostid.c: New file.
402 * libc/sys/linux/sethostid.c: Ditto.
403 * libc/sys/linux/dl/Makefile.am: Ditto.
404 * libc/sys/linux/dl/Makefile.in: Ditto.
405 * libc/sys/linux/dl/abi-tag.h: Ditto.
406 * libc/sys/linux/dl/atomicity.h: Ditto.
407 * libc/sys/linux/dl/dl-addr.c: Ditto.
408 * libc/sys/linux/dl/dl-cache.c: Ditto.
409 * libc/sys/linux/dl/dl-cache.h: Ditto.
410 * libc/sys/linux/dl/dl-close.c: Ditto.
411 * libc/sys/linux/dl/dl-debug.c: Ditto.
412 * libc/sys/linux/dl/dl-deps.c: Ditto.
413 * libc/sys/linux/dl/dl-dst.h: Ditto.
414 * libc/sys/linux/dl/dl-error.c: Ditto.
415 * libc/sys/linux/dl/dl-fini.c: Ditto.
416 * libc/sys/linux/dl/dl-init.c: Ditto.
417 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
418 * libc/sys/linux/dl/dl-libc.c: Ditto.
419 * libc/sys/linux/dl/dl-librecon.h: Ditto.
420 * libc/sys/linux/dl/dl-load.c: Ditto.
421 * libc/sys/linux/dl/dl-lookup.c: Ditto.
422 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
423 * libc/sys/linux/dl/dl-minimal.c: Ditto.
424 * libc/sys/linux/dl/dl-misc.c: Ditto.
425 * libc/sys/linux/dl/dl-object.c: Ditto.
426 * libc/sys/linux/dl/dl-open.c: Ditto.
427 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
428 * libc/sys/linux/dl/dl-profile.c: Ditto.
429 * libc/sys/linux/dl/dl-profstub.c: Ditto.
430 * libc/sys/linux/dl/dl-reloc.c: Ditto.
431 * libc/sys/linux/dl/dl-runtime.c: Ditto.
432 * libc/sys/linux/dl/dl-support.c: Ditto.
433 * libc/sys/linux/dl/dl-sym.c: Ditto.
434 * libc/sys/linux/dl/dl-version.c: Ditto.
435 * libc/sys/linux/dl/dlfcn.h: Ditto.
436 * libc/sys/linux/dl/do-lookup.h: Ditto.
437 * libc/sys/linux/dl/do-rel.h: Ditto.
438 * libc/sys/linux/dl/dynamic-link.h: Ditto.
439 * libc/sys/linux/dl/kernel-features.h: Ditto.
440 * libc/sys/linux/dl/ldsodefs.h: Ditto.
441 * libc/sys/linux/dl/libintl.h: Ditto.
442 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
443 * libc/sys/linux/dl/unsecvars.h: Ditto.
444 * libc/sys/linux/iconv/Makefile.am: Ditto.
445 * libc/sys/linux/iconv/Makefile.in: Ditto.
446 * libc/sys/linux/iconv/categories.def: Ditto.
447 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
448 * libc/sys/linux/iconv/gconv.c: Ditto.
449 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
450 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
451 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
452 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
453 * libc/sys/linux/iconv/gconv_close.c: Ditto.
454 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
455 * libc/sys/linux/iconv/gconv_db.c: Ditto.
456 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
457 * libc/sys/linux/iconv/gconv_int.h: Ditto.
458 * libc/sys/linux/iconv/gconv_open.c: Ditto.
459 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
460 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
461 * libc/sys/linux/iconv/hash-string.h: Ditto.
462 * libc/sys/linux/iconv/iconv.c: Ditto.
463 * libc/sys/linux/iconv/iconv.h: Ditto.
464 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
465 * libc/sys/linux/iconv/iconv_close.c: Ditto.
466 * libc/sys/linux/iconv/iconv_open.c: Ditto.
467 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
468 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
469 * libc/sys/linux/iconv/loadinfo.h: Ditto.
470 * libc/sys/linux/iconv/localeinfo.h: Ditto.
471 * libc/sys/linux/iconv/loop.c: Ditto.
472 * libc/sys/linux/iconv/skeleton.c: Ditto.
473 * libc/sys/linux/iconv/strtab.c: Ditto.
474 * libc/sys/linux/include/dl-hash.h: Ditto.
475 * libc/sys/linux/include/dlfcn.h: Ditto.
476 * libc/sys/linux/include/fnmatch.h: Ditto.
477 * libc/sys/linux/include/gconv.h: Ditto.
478 * libc/sys/linux/include/glob.h: Ditto.
479 * libc/sys/linux/include/hesiod.h: Ditto.
480 * libc/sys/linux/include/ifaddrs.h: Ditto.
481 * libc/sys/linux/include/libc_private.h: Ditto.
482 * libc/sys/linux/include/link.h: Ditto.
483 * libc/sys/linux/include/namespace.h: Ditto.
484 * libc/sys/linux/include/netconfig.h: Ditto.
485 * libc/sys/linux/include/netdb.h: Ditto.
486 * libc/sys/linux/include/nsswitch.h: Ditto.
487 * libc/sys/linux/include/regex.h: Ditto.
488 * libc/sys/linux/include/resolv.h: Ditto.
489 * libc/sys/linux/include/rune.h: Ditto.
490 * libc/sys/linux/include/runetype.h: Ditto.
491 * libc/sys/linux/include/semaphore.h: Ditto.
492 * libc/sys/linux/include/setlocale.h: Ditto.
493 * libc/sys/linux/include/un-namespace.h: Ditto.
494 * libc/sys/linux/include/wordexp.h: Ditto.
495 * libc/sys/linux/include/arpa/ftp.h: Ditto.
496 * libc/sys/linux/include/arpa/inet.h: Ditto.
497 * libc/sys/linux/include/arpa/nameser.h: Ditto.
498 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
499 * libc/sys/linux/include/arpa/telnet.h: Ditto.
500 * libc/sys/linux/include/arpa/tftp.h: Ditto.
501 * libc/sys/linux/include/net/bpf.h: Ditto.
502 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
503 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
504 * libc/sys/linux/include/net/bridge.h: Ditto.
505 * libc/sys/linux/include/net/ethernet.h: Ditto.
506 * libc/sys/linux/include/net/fddi.h: Ditto.
507 * libc/sys/linux/include/net/if.h: Ditto.
508 * libc/sys/linux/include/net/if_arc.h: Ditto.
509 * libc/sys/linux/include/net/if_arp.h: Ditto.
510 * libc/sys/linux/include/net/if_atm.h: Ditto.
511 * libc/sys/linux/include/net/if_dl.h: Ditto.
512 * libc/sys/linux/include/net/if_gif.h: Ditto.
513 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
514 * libc/sys/linux/include/net/if_llc.h: Ditto.
515 * libc/sys/linux/include/net/if_media.h: Ditto.
516 * libc/sys/linux/include/net/if_mib.h: Ditto.
517 * libc/sys/linux/include/net/if_ppp.h: Ditto.
518 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
519 * libc/sys/linux/include/net/if_slvar.h: Ditto.
520 * libc/sys/linux/include/net/if_sppp.h: Ditto.
521 * libc/sys/linux/include/net/if_stf.h: Ditto.
522 * libc/sys/linux/include/net/if_tap.h: Ditto.
523 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
524 * libc/sys/linux/include/net/if_tun.h: Ditto.
525 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
526 * libc/sys/linux/include/net/if_types.h: Ditto.
527 * libc/sys/linux/include/net/if_var.h: Ditto.
528 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
529 * libc/sys/linux/include/net/intrq.h: Ditto.
530 * libc/sys/linux/include/net/iso88025.h: Ditto.
531 * libc/sys/linux/include/net/net_osdep.h: Ditto.
532 * libc/sys/linux/include/net/netisr.h: Ditto.
533 * libc/sys/linux/include/net/pfil.h: Ditto.
534 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
535 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
536 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
537 * libc/sys/linux/include/net/radix.h: Ditto.
538 * libc/sys/linux/include/net/raw_cb.h: Ditto.
539 * libc/sys/linux/include/net/route.h: Ditto.
540 * libc/sys/linux/include/net/slcompress.h: Ditto.
541 * libc/sys/linux/include/net/slip.h: Ditto.
542 * libc/sys/linux/include/net/zlib.h: Ditto.
543 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
544 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
545 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
546 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
547 * libc/sys/linux/include/netinet/igmp.h: Ditto.
548 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
549 * libc/sys/linux/include/netinet/in.h: Ditto.
550 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
551 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
552 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
553 * libc/sys/linux/include/netinet/in_var.h: Ditto.
554 * libc/sys/linux/include/netinet/ip.h: Ditto.
555 * libc/sys/linux/include/netinet/ip6.h: Ditto.
556 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
557 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
558 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
559 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
560 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
561 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
562 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
563 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
564 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
565 * libc/sys/linux/include/netinet/tcp.h: Ditto.
566 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
567 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
568 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
569 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
570 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
571 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
572 * libc/sys/linux/include/netinet/udp.h: Ditto.
573 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
574 * libc/sys/linux/include/netinet6/ah.h: Ditto.
575 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
576 * libc/sys/linux/include/netinet6/esp.h: Ditto.
577 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
578 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
579 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
580 * libc/sys/linux/include/netinet6/in6.h: Ditto.
581 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
582 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
583 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
584 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
585 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
586 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
587 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
588 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
589 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
590 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
591 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
592 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
593 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
594 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
595 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
596 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
597 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
598 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
599 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
600 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
601 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
602 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
603 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
604 * libc/sys/linux/include/netns/idp.h: Ditto.
605 * libc/sys/linux/include/netns/idp_var.h: Ditto.
606 * libc/sys/linux/include/netns/ns.h: Ditto.
607 * libc/sys/linux/include/netns/ns_error.h: Ditto.
608 * libc/sys/linux/include/netns/ns_if.h: Ditto.
609 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
610 * libc/sys/linux/include/netns/sp.h: Ditto.
611 * libc/sys/linux/include/netns/spidp.h: Ditto.
612 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
613 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
614 * libc/sys/linux/include/netns/spp_var.h: Ditto.
615 * libc/sys/linux/include/rpc/Makefile: Ditto.
616 * libc/sys/linux/include/rpc/auth.h: Ditto.
617 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
618 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
619 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
620 * libc/sys/linux/include/rpc/clnt.h: Ditto.
621 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
622 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
623 * libc/sys/linux/include/rpc/des.h: Ditto.
624 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
625 * libc/sys/linux/include/rpc/nettype.h: Ditto.
626 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
627 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
628 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
629 * libc/sys/linux/include/rpc/raw.h: Ditto.
630 * libc/sys/linux/include/rpc/rpc.h: Ditto.
631 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
632 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
633 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
634 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
635 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
636 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
637 * libc/sys/linux/include/rpc/svc.h: Ditto.
638 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
639 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
640 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
641 * libc/sys/linux/include/rpc/types.h: Ditto.
642 * libc/sys/linux/include/rpc/xdr.h: Ditto.
643 * libc/sys/linux/intl/Makefile.am: Ditto.
644 * libc/sys/linux/intl/Makefile.in: Ditto.
645 * libc/sys/linux/intl/bindtextdom.c: Ditto.
646 * libc/sys/linux/intl/catgets.c: Ditto.
647 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
648 * libc/sys/linux/intl/config.h: Ditto.
649 * libc/sys/linux/intl/dcgettext.c: Ditto.
650 * libc/sys/linux/intl/dcigettext.c: Ditto.
651 * libc/sys/linux/intl/dcngettext.c: Ditto.
652 * libc/sys/linux/intl/dgettext.c: Ditto.
653 * libc/sys/linux/intl/dngettext.c: Ditto.
654 * libc/sys/linux/intl/explodename.c: Ditto.
655 * libc/sys/linux/intl/finddomain.c: Ditto.
656 * libc/sys/linux/intl/gettext.c: Ditto.
657 * libc/sys/linux/intl/gettext.h: Ditto.
658 * libc/sys/linux/intl/gettextP.h: Ditto.
659 * libc/sys/linux/intl/hash-string.h: Ditto.
660 * libc/sys/linux/intl/l10nflist.c: Ditto.
661 * libc/sys/linux/intl/loadinfo.h: Ditto.
662 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
663 * libc/sys/linux/intl/locale.alias: Ditto.
664 * libc/sys/linux/intl/localealias.c: Ditto.
665 * libc/sys/linux/intl/ngettext.c: Ditto.
666 * libc/sys/linux/intl/open_catalog.c: Ditto.
667 * libc/sys/linux/intl/plural.c: Ditto.
668 * libc/sys/linux/intl/plural.y: Ditto.
669 * libc/sys/linux/intl/stpcpy.c: Ditto.
670 * libc/sys/linux/intl/textdomain.c: Ditto.
671 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
672 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
673 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
674 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
675 * libc/sys/linux/linuxthreads/attr.c: Ditto.
676 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
677 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
678 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
679 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
680 * libc/sys/linux/linuxthreads/config.h: Ditto.
681 * libc/sys/linux/linuxthreads/configure: Ditto.
682 * libc/sys/linux/linuxthreads/configure.in: Ditto.
683 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
684 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
685 * libc/sys/linux/linuxthreads/events.c: Ditto.
686 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
687 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
688 * libc/sys/linux/linuxthreads/internals.h: Ditto.
689 * libc/sys/linux/linuxthreads/join.c: Ditto.
690 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
691 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
692 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
693 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
694 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
695 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
696 * libc/sys/linux/linuxthreads/manager.c: Ditto.
697 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
698 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
699 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
700 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
701 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
702 * libc/sys/linux/linuxthreads/prio.c: Ditto.
703 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
704 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
705 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
706 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
707 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
708 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
709 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
710 * libc/sys/linux/linuxthreads/queue.h: Ditto.
711 * libc/sys/linux/linuxthreads/reent.c: Ditto.
712 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
713 * libc/sys/linux/linuxthreads/restart.h: Ditto.
714 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
715 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
716 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
717 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
718 * libc/sys/linux/linuxthreads/signals.c: Ditto.
719 * libc/sys/linux/linuxthreads/specific.c: Ditto.
720 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
721 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
722 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
723 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
724 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
725 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
726 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
727 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
728 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
729 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
730 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
731 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
732 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
733 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
734 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
735 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
736 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
737 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
738 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
739 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
740 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
741 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
742 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
743 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
744 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
745 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
746 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
747 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
748 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
749 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
750 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
751 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
752 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
753 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
754 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
755 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
756 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
757 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
758 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
759 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
760 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
761 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
762 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
763 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
764 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
765 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
766 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
767 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
768 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
769 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
770 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
771 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
772 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
773 * libc/sys/linux/linuxthreads/unload.c: Ditto.
774 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
775 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
776 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
777 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
778 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
779 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
780 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
781 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
782 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
783 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
784 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
785 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
786 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
787 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
788 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
789 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
790 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
791 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
792 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
793 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
794 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
795 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
796 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
797 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
798 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
799 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
800 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
801 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
802 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
803 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
804 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
805 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
806 * libc/sys/linux/net/Makefile.am: Ditto.
807 * libc/sys/linux/net/Makefile.in: Ditto.
808 * libc/sys/linux/net/addr2ascii.3: Ditto.
809 * libc/sys/linux/net/addr2ascii.c: Ditto.
810 * libc/sys/linux/net/ascii2addr.c: Ditto.
811 * libc/sys/linux/net/base64.c: Ditto.
812 * libc/sys/linux/net/bindresvport.c: Ditto.
813 * libc/sys/linux/net/byteorder.3: Ditto.
814 * libc/sys/linux/net/ether_addr.c: Ditto.
815 * libc/sys/linux/net/ethers.3: Ditto.
816 * libc/sys/linux/net/getaddrinfo.3: Ditto.
817 * libc/sys/linux/net/getaddrinfo.c: Ditto.
818 * libc/sys/linux/net/gethostbydns.c: Ditto.
819 * libc/sys/linux/net/gethostbyht.c: Ditto.
820 * libc/sys/linux/net/gethostbyname.3: Ditto.
821 * libc/sys/linux/net/gethostbynis.c: Ditto.
822 * libc/sys/linux/net/gethostnamadr.c: Ditto.
823 * libc/sys/linux/net/getifaddrs.3: Ditto.
824 * libc/sys/linux/net/getifaddrs.c: Ditto.
825 * libc/sys/linux/net/getipnodebyname.3: Ditto.
826 * libc/sys/linux/net/getnameinfo.3: Ditto.
827 * libc/sys/linux/net/getnameinfo.c: Ditto.
828 * libc/sys/linux/net/getnetbydns.c: Ditto.
829 * libc/sys/linux/net/getnetbyht.c: Ditto.
830 * libc/sys/linux/net/getnetbynis.c: Ditto.
831 * libc/sys/linux/net/getnetent.3: Ditto.
832 * libc/sys/linux/net/getnetnamadr.c: Ditto.
833 * libc/sys/linux/net/getproto.c: Ditto.
834 * libc/sys/linux/net/getprotoent.3: Ditto.
835 * libc/sys/linux/net/getprotoent.c: Ditto.
836 * libc/sys/linux/net/getprotoname.c: Ditto.
837 * libc/sys/linux/net/getservbyname.c: Ditto.
838 * libc/sys/linux/net/getservbyport.c: Ditto.
839 * libc/sys/linux/net/getservent.3: Ditto.
840 * libc/sys/linux/net/getservent.c: Ditto.
841 * libc/sys/linux/net/herror.c: Ditto.
842 * libc/sys/linux/net/hesiod.3: Ditto.
843 * libc/sys/linux/net/hesiod.c: Ditto.
844 * libc/sys/linux/net/if_indextoname.3: Ditto.
845 * libc/sys/linux/net/ifname.c: Ditto.
846 * libc/sys/linux/net/inet.3: Ditto.
847 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
848 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
849 * libc/sys/linux/net/inet_addr.c: Ditto.
850 * libc/sys/linux/net/inet_lnaof.c: Ditto.
851 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
852 * libc/sys/linux/net/inet_net.3: Ditto.
853 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
854 * libc/sys/linux/net/inet_net_pton.c: Ditto.
855 * libc/sys/linux/net/inet_neta.c: Ditto.
856 * libc/sys/linux/net/inet_netof.c: Ditto.
857 * libc/sys/linux/net/inet_network.c: Ditto.
858 * libc/sys/linux/net/inet_ntoa.c: Ditto.
859 * libc/sys/linux/net/inet_ntop.c: Ditto.
860 * libc/sys/linux/net/inet_pton.c: Ditto.
861 * libc/sys/linux/net/innetgr-stub.c: Ditto.
862 * libc/sys/linux/net/ip6opt.c: Ditto.
863 * libc/sys/linux/net/iso_addr.3: Ditto.
864 * libc/sys/linux/net/iso_addr.c: Ditto.
865 * libc/sys/linux/net/issetugid-stub.c: Ditto.
866 * libc/sys/linux/net/linkaddr.3: Ditto.
867 * libc/sys/linux/net/linkaddr.c: Ditto.
868 * libc/sys/linux/net/map_v4v6.c: Ditto.
869 * libc/sys/linux/net/name6.c: Ditto.
870 * libc/sys/linux/net/namespace.h: Ditto.
871 * libc/sys/linux/net/ns.3: Ditto.
872 * libc/sys/linux/net/ns_addr.c: Ditto.
873 * libc/sys/linux/net/ns_name.c: Ditto.
874 * libc/sys/linux/net/ns_netint.c: Ditto.
875 * libc/sys/linux/net/ns_ntoa.c: Ditto.
876 * libc/sys/linux/net/ns_parse.c: Ditto.
877 * libc/sys/linux/net/ns_print.c: Ditto.
878 * libc/sys/linux/net/ns_ttl.c: Ditto.
879 * libc/sys/linux/net/nsap_addr.c: Ditto.
880 * libc/sys/linux/net/nsdispatch.3: Ditto.
881 * libc/sys/linux/net/nsdispatch.c: Ditto.
882 * libc/sys/linux/net/nslexer.c: Ditto.
883 * libc/sys/linux/net/nslexer.l: Ditto.
884 * libc/sys/linux/net/nsparser.c: Ditto.
885 * libc/sys/linux/net/nsparser.h: Ditto.
886 * libc/sys/linux/net/nsparser.y: Ditto.
887 * libc/sys/linux/net/rcmd.3: Ditto.
888 * libc/sys/linux/net/rcmd.c: Ditto.
889 * libc/sys/linux/net/rcmdsh.3: Ditto.
890 * libc/sys/linux/net/rcmdsh.c: Ditto.
891 * libc/sys/linux/net/recv.c: Ditto.
892 * libc/sys/linux/net/res_comp.c: Ditto.
893 * libc/sys/linux/net/res_config.h: Ditto.
894 * libc/sys/linux/net/res_data.c: Ditto.
895 * libc/sys/linux/net/res_debug.c: Ditto.
896 * libc/sys/linux/net/res_init.c: Ditto.
897 * libc/sys/linux/net/res_mkquery.c: Ditto.
898 * libc/sys/linux/net/res_mkupdate.c: Ditto.
899 * libc/sys/linux/net/res_query.c: Ditto.
900 * libc/sys/linux/net/res_send.c: Ditto.
901 * libc/sys/linux/net/res_update.c: Ditto.
902 * libc/sys/linux/net/resolver.3: Ditto.
903 * libc/sys/linux/net/rthdr.c: Ditto.
904 * libc/sys/linux/net/send.c: Ditto.
905 * libc/sys/linux/net/un-namespace.h: Ditto.
906 * libc/sys/linux/net/vars.c: Ditto.
907 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
908 * libc/sys/linux/stdlib/Makefile.am: Ditto.
909 * libc/sys/linux/stdlib/Makefile.in: Ditto.
910 * libc/sys/linux/stdlib/cclass.h: Ditto.
911 * libc/sys/linux/stdlib/cname.h: Ditto.
912 * libc/sys/linux/stdlib/collate.c: Ditto.
913 * libc/sys/linux/stdlib/collate.h: Ditto.
914 * libc/sys/linux/stdlib/collcmp.c: Ditto.
915 * libc/sys/linux/stdlib/engine.c: Ditto.
916 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
917 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
918 * libc/sys/linux/stdlib/glob.3: Ditto.
919 * libc/sys/linux/stdlib/glob.c: Ditto.
920 * libc/sys/linux/stdlib/reallocf.c: Ditto.
921 * libc/sys/linux/stdlib/regcomp.c: Ditto.
922 * libc/sys/linux/stdlib/regerror.c: Ditto.
923 * libc/sys/linux/stdlib/regex.3: Ditto.
924 * libc/sys/linux/stdlib/regex2.h: Ditto.
925 * libc/sys/linux/stdlib/regexec.c: Ditto.
926 * libc/sys/linux/stdlib/regfree.c: Ditto.
927 * libc/sys/linux/stdlib/utils.h: Ditto.
928 * libc/sys/linux/stdlib/wordexp.c: Ditto.
929 * libc/sys/linux/stdlib/wordfree.c: Ditto.
930 * libc/sys/linux/sys/dlfcn.h: Ditto.
931 * libc/sys/linux/sys/elfclass.h: Ditto.
932 * libc/sys/linux/sys/event.h: Ditto.
933 * libc/sys/linux/sys/ioccom.h: Ditto.
934 * libc/sys/linux/sys/libc-tsd.h: Ditto.
935 * libc/sys/linux/sys/link.h: Ditto.
936 * libc/sys/linux/sys/lock.h: Ditto.
937 * libc/sys/linux/sys/param.h: Ditto.
938 * libc/sys/linux/sys/socket.h: Ditto.
939 * libc/sys/linux/sys/sockio.h: Ditto.
940
82095e79
JJ
9412003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
942
943 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
944 normal mode
945 * newlib/libc/machine/h8300/memset.S: Likewise
946 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
947 * newlib/lib/machine/h8300/reg_memset.S: Likewise
948 * newlib/lib/machine/h8300/setjmp.S: Likewise
949 * newlib/lib/machine/h8300/strcmp.S: Likewise
950 * newlib/lib/sys/h8300hms/crt0.S: Likewise
951
8a4b4764
CV
9522003-05-13 Corinna Vinschen <corinna@vinschen.de>
953
954 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
955 * libc/include/stdio.h: Ditto.
956 * libc/include/sys/config.h: Ditto.
957 * libc/stdio/mktemp.c: Ditto.
958
837e070f
CV
9592003-05-13 Corinna Vinschen <corinna@vinschen.de>
960
961 * libc/locale/ldpart.c (__part_load_locale): Substitute
962 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
963 * libc/search/hash.c (__hash_open): Ditto.
964 (init_hash): Ditto.
965 * libc/stdio/fseek.c (fseek): Ditto.
966 * libc/stdio/makebuf.c (__smakebuf): Ditto.
967 * libc/stdio/mktemp.c (_gettemp): Ditto.
968
b47fcdf0
CV
9692003-05-12 Corinna Vinschen <corinna@vinschen.de>
970
971 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
972
11e3a520
CV
9732003-05-12 Corinna Vinschen <corinna@vinschen.de>
974
975 * configure.host: Accomodate removing the libc/sys/cygwin dir.
976 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
977 if __CYGWIN_USE_BIG_TYPES__ is set.
978 * libc/search/hash.c (__hash_open): Ditto.
979 (init_hash): Ditto.
980 * libc/stdio/fseek.c (fseek): Ditto.
981 * libc/stdio/makebuf.c (__smakebuf): Ditto.
982 * libc/stdio/mktemp.c (_gettemp): Ditto.
983 * libc/sys/cygwin/Makefile.am: Remove.
984 * libc/sys/cygwin/Makefile.in: Remove.
985 * libc/sys/cygwin/aclocal.m4: Remove.
986 * libc/sys/cygwin/configure: Remove.
987 * libc/sys/cygwin/configure.in: Remove.
988 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
989 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
990 directory.
991 * libc/sys/cygwin/sys/param.h: Ditto.
992 * libc/sys/cygwin/sys/utime.h: Ditto.
993 * libc/sys/cygwin/sys/utmp.h: Ditto.
994
d1b5e65b
CV
9952003-05-11 Corinna Vinschen <corinna@vinschen.de>
996
997 * libc/include/sys/types.h: Don't define key_t for Cygwin.
998
ec48a953
CF
9992003-05-10 Christopher Faylor <cgf@redhat.com>
1000
1001 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
1002 64 bit inodes.
1003
a3cc5851
CV
10042003-05-09 Corinna Vinschen <corinna@vinschen.de>
1005
1006 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
1007 Include cygwin/config.h instead.
1008
57ff95d3
JJ
10092003-04-16 Jeff Johnston <jjohnstn@redhat.com>
1010
1011 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
1012 all code with #ifdef __SPE__ test.
1013 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
1014
cfd2c7be
CF
10152003-04-15 Chris January <chris@atomice.net>
1016
1017 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
1018 Cygwin.
1019
6f48c0ae
JR
10202003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
1021
1022 * libc/machine/sh/memset.S: Avoid clobbering volatile
1023 objects following a tiny to-be-set array in the same quadword.
1024
8f8d09c0
CV
10252001-04-09 Corinna Vinschen <corinna@vinschen.de>
1026
1027 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
1028 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
1029 * libc/string/Makefile.in: Regenerated.
1030 * libc/string/wcswidth.c: New file.
1031 * libc/string/wcwidth.c: New file.
1032 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
1033
40c3b2d0
JR
1034Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
1035
1036 * libc/machine/sh/memset.S: Fix problem with alloco region
1037 exceeding destination region for length >= 88 bytes, start
1038 & 0x16 == 0, end & 0x1f == 18.
1039
8ae6a3dd
CV
10402001-04-03 Corinna Vinschen <corinna@vinschen.de>
1041
1042 * libc/string/wcscoll.c: Fix comment.
1043
d122b1cc
CV
10442001-04-02 Corinna Vinschen <corinna@vinschen.de>
1045
1046 * libc/include/wchar.h: Add definition for wcscoll.
1047 * libc/string/Makefile.am: Add wcscoll.c.
1048 * libc/string/Makefile.in: Regenerated.
1049 * libc/string/wcscoll.c: New file.
1050 * libc/string/wcstrings.tex: Add wcscoll.
1051
31ee99a4
CV
10522003-04-01 Corinna Vinschen <corinna@vinschen.de>
1053
1054 * libc/stdio/sscanf.c: Update flags description.
1055 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
1056 type.
1057 (__svfscanf_r): Add 'hh' and 'll' handling.
1058
d78045ee
CV
10592003-04-01 Corinna Vinschen <corinna@vinschen.de>
1060
1061 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
1062 __d_position member to _off_t.
1063
e6bdc6c5
JJ
10642003-03-20 Jeff Johnston <jjohnstn@redhat.com>
1065
1066 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
1067 count all characters used to create number against maximum width.
1068 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
1069
e65d559e
JJ
10702003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
1071
1072 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
1073 support.
1074 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
1075 flag to support simulator only extensions.
1076
6b3bb52b
JJ
10772003-03-17 Bob Cassels <bcassels@abinitio.com>
1078
1079 * libc/string/wcschr.c: (wcschr): Look for character first,
1080 then for end of string, so you can do wcschr(x, '\0').
1081
2a940c1a
CV
10822003-03-10 Corinna Vinschen <corinna@vinschen.de>
1083
1084 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
1085 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
1086 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
1087 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
1088 * libc/stdio/fseeko.c (fseeko): Ditto.
1089 * libc/stdio/ftello.c (ftello): Ditto.
1090 * libc/stdio/stdio.c (__swrite): Ditto.
1091 (__sseek): Ditto.
1092 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
1093 * libc/stdio/fseek.c (fseek): Ditto.
1094 * libc/stdio/fsetpos.c (fsetpos): Ditto.
1095 * libc/stdio/ftell.c (ftell): Ditto.
1096 * libc/stdio/local.h: Declare __sseek using _off_t.
1097
150c2818
CV
10982003-03-09 Corinna Vinschen <corinna@vinschen.de>
1099
1100 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
1101
2c440f9c
CV
11022003-03-09 Corinna Vinschen <corinna@vinschen.de>
1103
1104 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
1105 Cygwin.
1106
f882fd15
CV
11072003-03-09 Corinna Vinschen <corinna@vinschen.de>
1108
1109 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
1110 Cygwin.
1111 * libc/include/sys/stat.h: Ditto.
1112 * libc/include/sys/unistd.h: Ditto.
1113 * libc/sys/cygwin/sys/dirent.h: Ditto.
1114
01d61543
CF
11152003-03-07 Christopher Faylor <cgf@redhat.com>
1116
1117 * libc/include/sys/unistd.h: Guard getopt.h call to force only
1118 declaration of getopt and avoid getopt_long declaration.
1119 * libc/sys/cygwin/include/unistd.h: Remove.
1120
5582abd2
CV
11212003-03-07 Corinna Vinschen <corinna@vinschen.de>
1122
1123 * configure.host: Define stdio64_dir for Cygwin.
1124 * libc/include/stdio.h: Change definition of fpos_t to fulfill
1125 Cygwin 64bit file access requirements.
1126 Drop definition of f*64() functions when compiled for Cygwin.
1127 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
1128 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
1129 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
1130
641da1eb
JJ
11312003-03-07 Jeff Johnston <jjohnstn@redhat.com>
1132
1133 * libc/include/sys/reent.h: Remove extraneous _sig_func
1134 declaration.
1135
11362003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
41a639de
JJ
1137
1138 * libc/sys/h8300hms/Makefile.am: Add support for new files.
1139 * libc/sys/h8300hms/Makefile.in: Regenerated.
1140 * libc/sys/h8300hms/close.S: New file.
1141 * libc/sys/h8300hms/fstat.S: Ditto.
1142 * libc/sys/h8300hms/lseek.S: Ditto.
1143 * libc/sys/h8300hms/open.S: Ditto.
1144 * libc/sys/h8300hms/stat.S: Ditto.
1145 * libc/sys/h8300hms/read.S: New file to replace read.c.
1146 * libc/sys/h8300hms/read.c: Removed.
1147 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
1148 _lseek, _close, _stat, _fstat.
1149 * libc/sys/h8300hms/write.S: New file to replace write.c.
1150 * libc/sys/h8300hms/write.c: Removed.
1151
bac50d6b
NC
11522003-02-20 Nick Clifton <nickc@redhat.com>
1153
1154 * Add support for Cirrus Maverick ARM co-processor:
1155
1156 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
1157
1158 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
1159 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
1160
1161 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
1162
1163 * configure.host: set sys_dir, syscall_dir, and
1164 newlib_cflags for ep9312 host.
1165
1166 * configure.host: Restore alpha sorting of entries in case
1167 statements.
1168
12ee7037
JJ
11692003-02-19 Jeff Johnston <jjohnstn@redhat.com>
1170
1171 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
1172
1e810ba0
JJ
11732003-02-18 Christian Groessler <chris@groessler.org>
1174
1175 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
1176 support z8001 segmented mode.
1177
b1ca765e
JJ
11782003-02-18 Earnie Boyd <earnie@users.sf.net>
1179
1180 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
1181 with a NULL value.
1182
51a46b54
CF
11832003-02-10 Christopher Faylor <cgf@redhat.com>
1184
1185 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
1186 Don't define some types under cygwin.
1187
313f1349
JJ
11882003-02-07 Jeff Johnston <jjohnstn@redhat.com>
1189
1190 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
1191 option to allow disabling of syscalls being supplied in newlib.
1192 * aclocal.m4: Regenerated.
1193 * configure: Ditto.
1194 * configure.host: Add support of new configuration option and add
1195 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
1196 * doc/aclocal.m4: Regenerated.
1197 * doc/configure: Ditto.
1198 * libc/*aclocal.m4: Ditto.
1199 * libc/*configure: Ditto.
1200 * libm/*aclocal.m4: Ditto.
1201 * libm/*configure: Ditto.
1202 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
1203 is disabled.
1204 * libc/sys/arm/Makefile.in: Regenerated.
1205
5017a3da
JJ
12062003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
1207
1208 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
1209 -1 to be sure it cannot later match a valid file fd causing
1210 isatty() to return 1.
1211 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
1212 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
1213 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
1214
ad36f7d1
JJ
12152003-02-03 Jeff Johnston <jjohnstn@redhat.com>
1216
1217 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
1218 buffer based on the precision, after we have processed the input value
1219 in a local buffer and know its relative magnitude.
1220
a74181ee
JJ
12212003-01-31 Michael Snyder <msnyder@redhat.com>
1222
1223 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
1224 into registers r1 and r2, so that the simulator can distinguish
1225 this trap from a breakpoint trap. Copied from libgloss.
1226
b85498d4
JJ
12272003-01-31 Michael Snyder <msnyder@redhat.com>
1228
1229 * libc/sys/h8300hms/crt0.S (_start): Change local label
1230 from .loop to .Loop, so that ld and gdb will ignore it.
1231
4700b829
JJ
12322003-01-29 Jason Tishler <jason@tishler.net>
1233
1234 * libc/include/time.h: Declare nanosleep() under Cygwin.
1235
0127ae40
NC
12362003-01-24 Nick Clifton <nickc@redhat.com>
1237
1238 * Add sh2e support:
1239
1240 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
1241
1242 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
1243 * libc/machine/sh/setjmp.S: Likewise.
1244 * libc/include/machine/ieeefp.h: Likewise.
1245
8bbcd9a1
CV
12462003-01-24 Corinna Vinschen <corinna@vinschen.de>
1247
1248 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
1249 for Cygwin.
1250
b8838e6f
JJ
12512003-01-21 Anita Kulkarni <anitak@kpit.com>
1252
1253 * libc/time/difftime.c : Typecast the result to double.
1254
f9e41155
CF
12552003-01-20 Christopher Faylor <cgf@redhat.com>
1256
1257 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
1258
6b5a7988
NC
12592003-01-18 Nick Clifton <nickc@redhat.com>
1260
1261 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
1262 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
1263
c3e92877
JJ
12642003-01-16 Joel Sherrill <joel@OARcorp.com>
1265
1266 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
1267 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
1268 constants are defined in each file in the shared versions in
1269 libc/include.
1270 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
1271 autoconf can link programs.
1272 * libc/include/machine/types.h: Explicitly specify signed on
1273 intXX_t types to ensure they are signed.
1274
84510217
CF
12752003-01-14 Christopher Faylor <cgf@redhat.com>
1276
1277 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
1278 extensions.
1279
b3934ab3
RS
12802003-01-08 Richard Sandiford <rsandifo@redhat.com>
1281
1282 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
1283
be9c60e5
JJ
12842003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
1285
1286 * libc/stdio/sprintf.c: fix typo
1287 * libc/stdio/vfprintf.c: fix typo
1288
d4c3a750
JJ
12892003-01-07 Jeff Johnston <jjohnstn@redhat.com>
1290
1291 * configure.host: Support long double I/O for x86-linux.
1292 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
1293 large enough to hold formatted result.
1294 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
1295
b2294aaa
JJ
12962003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
1297
1298 * Makefile.am: Add vasprintf.
1299 * Makefile.in: Regenerated.
1300
ea5e5daf
JJ
13012003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
1302
1303 * asprintf.c (_asprintf_r): insure both declarations
1304 are the same.
1305
5c581eca
CF
13062002-12-28 Christopher Faylor <cgf@redhat.com>
1307
1308 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
1309 than defining getopt directly.
1310
60b0838f
JJ
13112002-12-20 Jeff Johnston <jjohnstn@redhat.com>
1312
1313 * NEWS: Update with 1.11.0 info.
1314 * README: Ditto.
1315 * acinclude.m4: Change version number to 1.11.0.
1316 * aclocal.m4: Regenerated.
1317 * configure: Ditto.
1318 * doc/aclocal.m4: Ditto.
1319 * doc/configure: Ditto.
1320 * libc/*/aclocal.m4: Ditto.
1321 * libc/*/configure: Ditto.
1322 * libc/libc.texinfo: Ditto.
1323 * libm/*/aclocal.m4: Ditto.
1324 * libm/*/configure: Ditto.
1325 * libm/libm.texinfo: Ditto.
1326 * libc/sys/linux/shared.ld: Add VERS_1.11.
1327
10501d57
JJ
13282002-12-20 Jeff Johnston <jjohnstn@redhat.com>
1329
1330 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
1331 Solutions to Red Hat Inc.
1332 * libc/machine/i386/f_atan2f.S: Ditto.
1333 * libc/machine/i386/f_exp.c: Ditto.
1334 * libc/machine/i386/f_expf.c: Ditto.
1335 * libc/machine/i386/f_frexp.S: Ditto.
1336 * libc/machine/i386/f_frexpf.S: Ditto.
1337 * libc/machine/i386/f_ldexp.S: Ditto.
1338 * libc/machine/i386/f_ldexpf.S: Ditto.
1339 * libc/machine/i386/f_log.S: Ditto.
1340 * libc/machine/i386/f_log10.S: Ditto.
1341 * libc/machine/i386/f_log10f.S: Ditto.
1342 * libc/machine/i386/f_logf.S: Ditto.
1343 * libc/machine/i386/f_pow.c: Ditto.
1344 * libc/machine/i386/f_powf.c: Ditto.
1345 * libc/machine/i386/f_tan.S: Ditto.
1346 * libc/machine/i386/f_tanf.S: Ditto.
1347 * libc/machine/i386/memchr.S: Ditto.
1348 * libc/machine/i386/memcmp.S: Ditto.
1349 * libc/machine/i386/memcpy.S: Ditto.
1350 * libc/machine/i386/memmove.S: Ditto.
1351 * libc/machine/i386/memset.S: Ditto.
1352 * libc/machine/i386/strchr.S: Ditto.
1353 * libc/machine/i386/strlen.S: Ditto.
1354 * libm/machine/i386/f_atan2.S: Ditto.
1355 * libm/machine/i386/f_atan2f.S: Ditto.
1356 * libm/machine/i386/f_exp.c: Ditto.
1357 * libm/machine/i386/f_expf.c: Ditto.
1358 * libm/machine/i386/f_frexp.S: Ditto.
1359 * libm/machine/i386/f_frexpf.S: Ditto.
1360 * libm/machine/i386/f_ldexp.S: Ditto.
1361 * libm/machine/i386/f_ldexpf.S: Ditto.
1362 * libm/machine/i386/f_log.S: Ditto.
1363 * libm/machine/i386/f_log10.S: Ditto.
1364 * libm/machine/i386/f_log10f.S: Ditto.
1365 * libm/machine/i386/f_logf.S: Ditto.
1366 * libm/machine/i386/f_pow.c: Ditto.
1367 * libm/machine/i386/f_powf.c: Ditto.
1368 * libm/machine/i386/f_tan.S: Ditto.
1369 * libm/machine/i386/f_tanf.S: Ditto.
1370
9b3f0d16
JJ
13712002-12-20 Jeff Johnston <jjohnstn@redhat.com>
1372
1373 * libc/stdlib/environ.c: Update license to Red Hat.
1374 * libc/machine/hppa/setjmp.S: Ditto.
1375 * libm/test/Makefile.in: Ditto.
1376
d693ad84
JJ
13772002-12-19 Jeff Johnston <jjohnstn@redhat.com>
1378
1379 * configure.host: Remove references to go32.
1380 * libc/sys/go32/*: Removed.
1381
7da92d15
JJ
13822002-12-16 Kazu Hirata <kazu@cs.umass.edu>
1383
1384 * libc/include/sys/config.h: Change setting of INT_MAX
1385 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
1386 __H8300S__. Also consolidate flag settings for these
1387 platforms.
1388
ea01c7f5
JJ
13892002-12-10 Joel Sherrill <joel@OARcorp.com>
1390
1391 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
1392 for i386-rtems targets.
1393
c049dd5a
JJ
13942002-12-06 Jeff Johnston <jjohnstn@redhat.com>
1395
1396 * libc/include/stdlib.h (strtof): New prototype (from C99).
1397 (strtodf): Changed from prototype to macro which redefines
1398 to strtof.
1399 * libc/stdlib/atof.c: Change documentation to refer to strtof
1400 instead of strtodf.
1401 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
1402 strtodf.
1403 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
1404 (strtof): New function.
1405 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
1406 calls strtof.
1407
46a402e0
CF
14082002-11-27 Christopher Faylor <cgf@redhat.com>
1409
1410 * libc/string/memset.c (memset): Fix comment.
1411
b3cc01b0
CF
14122002-11-26 Christopher Faylor <cgf@redhat.com>
1413
1414 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
1415 function.
1416
d90f3dc1
CF
14172002-11-25 Christopher Faylor <cgf@redhat.com>
1418
1419 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
1420 variable, introduced below, everywhere.
1421
f24585c6
KH
14222002-11-25 Kazu Hirata <kazu@cs.umass.edu>
1423
1424 * libc/string/memset.c (memset): Make it safe even if
1425 sizeof (int) = 2.
1426
2955fd76
JJ
14272002-11-22 Joe Buehler <jbuehler@hekimian.com>
1428
1429 * configure.in: Change check for libc/include in ${CC} to
1430 use an intermediate value so as to work with different shells.
1431 * configure: Regenerated.
1432 * Makefile.in: Ditto.
1433
40ce7368
JJ
14342002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
1435
1436 * libc/sys/h8300hms/read.c: Add support for normal mode
1437 architecture.
1438
505746ad
JJ
14392002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
1440
1441 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
1442 code for __H8300H__ and __H8300S__. Also return 32-bit return code
1443 when -mint32 is used.
1444
28ecb2f5
NC
14452002-11-18 Nick Clifton <nickc@redhat.com>
1446
1447 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
1448
665b994e
JJ
14492002-11-14 Jeff Johnston <jjohnstn@redhat.com>
1450
1451 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
1452 only issue one pass/fail message for a compile/link/execute.
1453 * testsuite/newlib.elix/elix.exp: New file.
1454 * testsuite/newlib.elix/tmmap.c: Ditto.
1455
e91ec2e3
CF
14562002-11-06 Christopher Faylor <cgf@redhat.com>
1457
1458 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
1459 * libc/stdlib/mlock.c: Ditto.
1460 * libc/stdlib/msize.c: Ditto.
1461 * libc/stdlib/msize.c: Ditto.
1462 * libc/stdlib/mtrim.c: Ditto.
1463 * libc/stdlib/valloc.c: Ditto.
1464
944772c7
JJ
14652002-11-12 Jeff Johnston <jjohnstn@redhat.com>
1466
1467 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
1468 for inf/nan, make sure that the check ignores the sign bit.
1469
dd7ee147
JJ
14702002-11-07 Joel Sherrill <joel@OARcorp.com>
1471
1472 * libc/sys/rtems/machine: New directory.
1473 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
1474 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
1475 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
1476 targets more BSD like when installed without requiring files to
1477 be overwritten at install point when RTEMS itself is installed.
1478 * Makefile.am: Pick up system dependent machine .h files such as
1479 might be found on a BSD-ish system.
1480 * Makefile.in: Regenerate.
1481 * libc/include/machine/types.h: When on an RTEMS target, define a
1482 few BSD flavor types.
1483
14842002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
503430d8
CF
1485
1486 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
1487
18cd62b7
JJ
14882002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
1489
1490 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
1491 * libc/include/wctype.h: Ditto.
1492
d2888812
JJ
14932002-11-04 Jeff Johnston <jjohnstn@redhat.com>
1494
1495 * libc/include/wchar.h: Add extern "C" specifier if C++.
1496 * libc/include/wctype.h: Ditto.
1497
978ea3cf
JJ
14982002-10-18 Jeff Johnston <jjohnstn@redhat.com>
1499
1500 * testsuite/newlib.wctype/tiswctype.c: New test case.
1501 * testsuite/newlib.wctype/twctrans.c: Ditto.
1502
a42cf80a
JJ
15032002-10-18 Jeff Johnston <jjohnstn@redhat.com>
1504
1505 * libc/sys/linux/machine/i386/include/endian.h: New file.
1506 * libc/sys/linux/machine/i386/include/param.h: Ditto.
1507
c9ccb1f2
JJ
15082002-10-18 Jeff Johnston <jjohnstn@redhat.com>
1509
1510 * libm/machine/i386/aclocal.m4: Regenerated.
1511 * libm/machine/i386/configure: Ditto.
1512
94c5b430
JJ
15132002-10-18 Jeff Johnston <jjohnstn@redhat.com>
1514
1515 * testsuite/include/check.h: New header file to use with
1516 test cases.
1517 * testsuite/lib/newlib.exp: Add testsuite/include directory
1518 to list of header files to use.
1519 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
1520 * testsuite/newlib.wctype/wctype.exp: New file.
1521
ccdae543
RS
15222002-10-11 Graham Stott <graham.stott@btinternet.com>
1523 Richard Sandiford <rsandifo@redhat.com>
f770cf44
RS
1524
1525 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
1526 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
1527 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
1528
73972116
JS
15292002-10-07 Joel Sherrill <joel@OARcorp.com>
1530
1531 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
1532 dummy programs.
1533
89e3fcba
JS
15342002-10-07 Joel Sherrill <joel@OARcorp.com>
1535
1536 * libc/include/pthread.h: Define PTHREAD_CANCELED.
1537
54ec52e4
JS
15382002-10-07 Joel Sherrill <joel@OARcorp.com>
1539
1540 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
1541 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
1542 compile with current GNU tools.
1543
d389acba
JJ
15442002-10-07 Jeff Johnston <jjohnstn@redhat.com>
1545
1546 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
1547 the build library.
1548 * configure.in: Ditto.
1549 * Makefile.in: Regenerated.
1550 * configure: Ditto.
1551 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
1552 for specifying configured libraries/directories.
1553 * libc/sys/linux/configure.in: Ditto.
1554 * libc/sys/linux/Makefile.in: Regenerated.
1555 * libc/sys/linux/configure: Ditto.
1556
af5a221f
JJ
15572002-10-03 Jeff Johnston <jjohnstn@redhat.com>
1558
1559 * libc/include/reent.h: Update documentation at start of file.
1560
59a758bd
JW
15612002-09-27 Jim Wilson <wilson@redhat.com>
1562
1563 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
1564 the ctbp register.
1565
1ed3c86d
JJ
15662002-09-27 Jeff Johnston <jjohnstn@redhat.com>
1567
1568 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
1569 Also convert to EUCJP before using arrays. For values not in
1570 the conversion arrays, return WEOF.
1571 * libc/ctype/jp2uc.h: Change from one array to a number of
1572 arrays to account for the fact that the originating table
1573 is not contiguous for the input values since some are invalid.
1574
6e1dfd2d
JJ
15752002-09-24 Jeff Johnston <jjohnstn@redhat.com>
1576
1577 * libc/time/ctime.c: Fix prototype documentation.
1578
06f1353a
CV
15792002-09-24 Corinna Vinschen <corinna@vinschen.de>
1580
1581 * libc/include/sys/errno.h: Add EOVERFLOW.
1582
1e0e64c9
JJ
15832002-09-20 Jeff Johnston <jjohnstn@redhat.com>
1584
1585 * libc/include/wctype.h: New file.
1586
1525d127
JJ
15872002-09-20 Jeff Johnston <jjohnstn@redhat.com>
1588
1589 * libc/ctype/Makefile.am: Add new files.
1590 * libc/ctype/Makefile.in: Regenerated.
1591 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
1592 and wctrans functions to documentation index.
1593 * libc/ctype/iswalnum.c: New file.
1594 * libc/ctype/iswalpha.c: Ditto.
1595 * libc/ctype/iswblank.c: Ditto.
1596 * libc/ctype/iswcntrl.c: Ditto.
1597 * libc/ctype/iswctype.c: Ditto.
1598 * libc/ctype/iswdigit.c: Ditto.
1599 * libc/ctype/iswgraph.c: Ditto.
1600 * libc/ctype/iswlower.c: Ditto.
1601 * libc/ctype/iswprint.c: Ditto.
1602 * libc/ctype/iswpunct.c: Ditto.
1603 * libc/ctype/iswspace.c: Ditto.
1604 * libc/ctype/iswupper.c: Ditto.
1605 * libc/ctype/iswxdigit.c: Ditto.
1606 * libc/ctype/jp2uc.c: Ditto.
1607 * libc/ctype/jp2uc.h: Ditto.
1608 * libc/ctype/local.h: Ditto.
1609 * libc/ctype/towctrans.c: Ditto.
1610 * libc/ctype/towlower.c: Ditto.
1611 * libc/ctype/towupper.c: Ditto.
1612 * libc/ctype/utf8alpha.h: Ditto.
1613 * libc/ctype/utf8print.h: Ditto.
1614 * libc/ctype/utf8punct.h: Ditto.
1615 * libc/ctype/wctrans.c: Ditto.
1616 * libc/ctype/wctype.c: Ditto.
1617 * libc/locale/locale.c (__lc_ctype): New external array to
1618 replace static lc_ctype array.
1619 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
1620 rather than reentrancy structure's _current_locale field.
1621 * libc/stdlib/wctomb_r.c: Ditto.
1622
da25e61f
JJ
16232002-09-20 Jeff Johnston <jjohnstn@redhat.com>
1624
1625 * configure.host: Minor comment and formatting changes.
1626 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
1627 * libc/Makefile.in: Regenerated.
1628 * libc/include/sys/config.h: Minor format change.
1629
5b9ee539
JJ
16302002-09-19 Jeff Johnston <jjohnstn@redhat.com>
1631
1632 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
1633 statement comment.
1634
50558bf3
JJ
16352002-09-19 Jeff Johnston <jjohnstn@redhat.com>
1636
1637 * libc/posix/opendir.c (opendir): Change code to check
1638 for HAVE_FCNTL before calling fcntl.
1639 * libc/search/hash.c (hash_open): Ditto.
1640 * libc/search/hash_page.c (open_tmp): Ditto.
1641 * libc/reent/Makefile.am: Add fcntlr.c.
1642 * libc/reent/Makefile.in: Regenerated.
1643 * libc/reent/fcntlr.c: New file.
1644 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
1645 instead of _fcntl when HAVE_FCNTL flag is set.
1646 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
1647 to see if _fcntl or _fcntl_r should be called. If flag is not
1648 set, default to ENOSYS stub.
1649
9211a1ad
JJ
16502002-09-16 Jeff Johnston <jjohnstn@redhat.com>
1651
1652 * libc/include/wchar.h (mbstate_t): Change protective flag to
1653 be _MBSTATE_T.
1654 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
1655 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
1656 for Cygwin.
1657 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
1658
a8615092
JJ
16592002-09-11 Jeff Johnston <jjohnstn@redhat.com>
1660
1661 * acinclude.m4 (enable-newlib-mb): Change check to
1662 default newlib_mb variable to empty string rather than "no".
1663 * configure.host: Remove hard-coding of -DMB_CAPABLE for
1664 x86-linux and Cygwin. Add code to check for newlib_mb
1665 being unset in which case set to "yes" for x86-linux and
1666 Cygwin. Change check for newlib_mb being "yes" to allow
1667 for an empty string.
1668 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
1669 * newlib.hin (_MB_LEN_MAX): New define to configure.
1670 * aclocal.m4: Regenerated.
1671 * configure: Ditto.
1672 * libc/include/limits.h: New file.
1673 * libc/sys/linux/include/limits.h: Ditto.
1674 * doc/aclocal.m4 doc/configure libc/aclocal.m4
1675 libc/configure libc/include/%redact libc/machine/aclocal.m4
1676 libc/machine/configure libc/machine/a29k/aclocal.m4
1677 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
1678 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
1679 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
1680 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
1681 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
1682 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
1683 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
1684 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
1685 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
1686 libc/machine/i386/configure libc/machine/i960/aclocal.m4
1687 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
1688 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
1689 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
1690 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
1691 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
1692 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
1693 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
1694 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
1695 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
1696 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
1697 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
1698 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
1699 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
1700 libc/machine/v850/configure libc/machine/w65/aclocal.m4
1701 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
1702 libc/machine/xscale/configure
1703 libc/machine/xstormy16/aclocal.m4
1704 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
1705 libc/machine/z8k/configure libc/sys/aclocal.m4
1706 libc/sys/configure libc/sys/a29khif/aclocal.m4
1707 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
1708 libc/sys/arc/configure libc/sys/arm/aclocal.m4
1709 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
1710 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
1711 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
1712 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
1713 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
1714 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
1715 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
1716 libc/sys/idt/configure libc/sys/linux/aclocal.m4
1717 libc/sys/linux/configure libc/sys/linux/include/%redact
1718 libc/sys/linux/machine/aclocal.m4
1719 libc/sys/linux/machine/configure
1720 libc/sys/linux/machine/i386/aclocal.m4
1721 libc/sys/linux/machine/i386/configure
1722 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
1723 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
1724 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
1725 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
1726 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
1727 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
1728 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
1729 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
1730 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
1731 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
1732 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
1733 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
1734 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
1735 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
1736 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
1737 libm/aclocal.m4 libm/configure: Regenerated.
1738
be83844e
JJ
17392002-09-09 Jeff Johnston <jjohnstn@redhat.com>
1740
1741 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
1742 code that clears the .bss section.
1743
9c64d2a7
JJ
17442002-09-09 Jeff Johnston <jjohnstn@redhat.com>
1745
1746 * libc/include/sys/_types.h (_mbstate_t): Changed to use
1747 unsigned char internally.
1748 * libc/sys/linux/sys/_types.h: Ditto.
1749 * libc/include/sys/reent.h
1750 * libc/stdlib/mblen.c (mblen): Use function-specific state
1751 value from default reentrancy structure.
1752 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
1753 _mbtowc_r is less than 0, reset state __count value and
1754 return -1.
1755 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
1756 is NULL, use the function-specific pointer provided in the
1757 default reentrancy structure.
1758 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
1759 If input state pointer is NULL, use function-specific area
1760 provided in reentrancy structure.
1761 * libc/stdlib/mbsrtowcs.c: Ditto.
1762 * libc/stdlib/wcrtomb.c: Ditto.
1763 * libc/stdlib/wcsrtombs.c: Ditto.
1764 * libc/stdlib/mbstowcs.c: Reformat.
1765 * libc/stdlib/wcstombs.c: Ditto.
1766 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
1767 reset the state's __count value and return -1.
1768 * libc/stdlib/mbtowc.c: Ditto.
1769 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
1770 If number of bytes is used up before completing a valid multibyte
1771 character, return -2 and save the state.
1772 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
1773 and change some __count references to __state for clarity.
1774
218b7a56
JJ
17752002-09-06 Jeff Johnston <jjohnstn@redhat.com>
1776
1777 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
1778 is defined by <limits.h>.
1779
c210a6ea
JJ
17802002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
1781
1782 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
1783 defined.
1784
efa077ce
JJ
17852002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
1786
1787 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
1788 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
1789 __WCHAR_MAX__ or 0x7fffffffu.
1790 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
1791 * libc/string/wcsncmp.c: Ditto.
1792
e4b0ebc1
JJ
17932002-09-03 Jeff Johnston <jjohnstn@redhat.com>
1794
1795 * libc/string/wcschr.c: Add include of <stddef.h>.
1796 * libc/string/wcspbrk.c: Ditto.
1797 * libc/string/wcsrchr.c: Ditto.
1798 * libc/string/wcsstr.c: Ditto.
1799
3db40db7
JJ
18002002-09-03 Jeff Johnston <jjohnstn@redhat.com>
1801
1802 * libc/include/sys/_types.h (_flock_t): Added.
1803 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
1804 (__lock_try_acquire_recursive): Ditto.
1805 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
1806 _lock field.
1807 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
1808 field.
1809 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
1810 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
1811 * libc/sys/linux/include/time.h (struct timespec): Moved from
1812 <sys/types.h> and added check for __need_timespec flag so type
1813 can be defined by itself.
1814 * libc/sys/linux/sys/_types.h (_flock_t): New type.
1815 * libc/sys/linux/sys/types.h (struct timespec): Moved to
1816 <time.h>.
1817
cd45f029
TF
18182002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
1819
1820 * libc/sys/linux/argp: New directory.
1821 * libc/sys/linux/getopt.c: New file.
1822 * libc/sys/linux/getopt1.c: New file.
1823 * libc/sys/linux/getoptlong.c: Remove file.
1824 * libc/sys/linux/include/argp.h: New file.
1825 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
1826 based on ELIX level.
1827 (SUBDIRS): Add argp_dir.
1828 (SUBLIBS): Add ARGP_LIB.
1829 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
1830 getopt_long.$(oext).
1831 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
1832
3c689185
JJ
18332002-08-29 Jeff Johnston <jjohnstn@redhat.com>
1834
1835 * libc/libc.texinfo: Add node reference to wide-character strings.
1836 * libc/string/wcstrings.tex: New file.
1837 * libc/string/strtok_r.c: Remove outdated advertising clause.
1838 * libc/string/Makefile.am (doc): Add wide-character string
1839 chapter to documentation.
1840 * libc/string/Makefile.in: Regenerated.
1841
890e7a1d
JJ
18422002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
1843
1844 * libc/include/wchar.h: Define NULL. Define WEOF more general
1845 way. Declare functions in newlib manner.
1846 * libc/stdlib/Makefile.am: Delete wmem*.c
1847 * libc/stdlib/Makefile.in: Regenerated.
1848 * libc/stdlib/wmemchr.c: Delete.
1849 * libc/stdlib/wmemcmp.c: Ditto.
1850 * libc/stdlib/wmemcpy.c: Ditto.
1851 * libc/stdlib/wmemmove.c: Ditto.
1852 * libc/stdlib/wmemset.c: Ditto.
1853 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
1854 * libc/string/Makefile.in: Regenerated.
1855 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
1856 * libc/string/wcschr.c: Ditto.
1857 * libc/string/wcscmp.c: Ditto.
1858 * libc/string/wcscpy.c: Ditto.
1859 * libc/string/wcscspn.c: Ditto.
1860 * libc/string/wcslcat.c: Ditto.
1861 * libc/string/wcslcpy.c: Ditto.
1862 * libc/string/wcslen.c: Ditto.
1863 * libc/string/wcsncat.c: Ditto.
1864 * libc/string/wcsncmp.c: Ditto.
1865 * libc/string/wcsncpy.c: Ditto.
1866 * libc/string/wcspbrk.c: Ditto.
1867 * libc/string/wcsrchr.c: Ditto.
1868 * libc/string/wcsspn.c: Ditto.
1869 * libc/string/wcsstr.c: Ditto.
1870 * libc/string/wmemchr.c: Ditto.
1871 * libc/string/wmemcmp.c: Ditto.
1872 * libc/string/wmemcpy.c: Ditto.
1873 * libc/string/wmemmove.c: Ditto.
1874 * libc/string/wmemset.c: Ditto.
1875
86620e21
JJ
18762002-08-29 Jeff Johnston <jjohnstn@redhat.com>
1877
1878 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
1879 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
1880 and is treated as if "C" was specified.
1881
f3741c27
JJ
18822002-08-28 Jeff Johnston <jjohnstn@redhat.com>
1883
1884 * Makefile.am (install-data-local): Move install of build
1885 newlib.h after installing headers in libc/include so as to
1886 overwrite default newlib.h.
1887 * Makefile.in: Regenerated.
1888
48da61f5
JJ
18892002-08-28 Jeff Johnston <jjohnstn@redhat.com>
1890
1891 * libc/include/newlib.h: New file for tools that use newlib
1892 headers but don't build newlib first (e.g. gcc).
1893
d82a94ac
JJ
18942002-08-28 Jeff Johnston <jjohnstn@redhat.com>
1895
1896 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
1897 * libc/stdlib/wmemcmp.c: Ditto.
1898 * libc/stdlib/wmemcpy.c: Ditto.
1899 * libc/stdlib/wmemmove.c: Ditto.
1900 * libc/stdlib/wmemset.c: Ditto.
1901
7d08241b
JJ
19022002-08-27 Egor Duda <deo@logos-m.ru>
1903
1904 * libc/stdlib/wmemchr.c: New file.
1905 * libc/stdlib/wmemcmp.c: Ditto.
1906 * libc/stdlib/wmemcpy.c: Ditto.
1907 * libc/stdlib/wmemmove.c: Ditto.
1908 * libc/stdlib/wmemset.c: Ditto.
1909 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
1910 * configure.host: Default -DMB_CAPABLE for cygwin.
1911 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
1912 wmemmove() and wmemset(). Add include of <_ansi.h>.
1913 * libc/stdlib/Makefile.in: Regenerate.
1914
8da1639b
JJ
19152002-08-27 Jeff Johnston <jjohnstn@redhat.com>
1916
ff2bf852 1917 * configure.host: Remove _ELIX_LEVEL flag setting.
8da1639b
JJ
1918 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
1919 (install-data-local): Install newlib.h.
1920 * Makefile.in: Regenerated.
1921 * aclocal.m4: Ditto.
1922 * configure: Ditto.
1923 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
1924 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
1925 and _NEWLIB_VERSION to fill in newlib.h header file entries.
1926 In AC_OUTPUT statement, unset ac_file so multilib support does
1927 not use last ac_file temporary used in newlib.h configuration.
1928 * libc/include/_ansi.h: Include <newlib.h>.
1929 * newlib.hin: New template file for newlib.h.
1930 * stamp-h.in: New file.
1931
a4421c11
JJ
19322002-08-26 Wu Yongwei <adah@netstd.com>
1933
1934 * time.h (timezonevar): Change "#if" to "#ifdef".
1935
90b65e2d
JJ
19362002-08-26 Jeff Johnston <jjohnstn@redhat.com>
1937
1938 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
1939 * Makefile.in: Regenerated.
1940 * acinclude.m4: Add support for --enable-newlib-elix-level option.
1941 * aclocal.m4: Regenerated.
1942 * configure: Ditto.
1943 * configure.host: Add code to define _ELIX_LEVEL if
1944 --enable-newlib-elix-level option is used.
1945 * configure.in:
1946 * libc/aclocal.m4: Regenerated.
1947 * libc/configure: Ditto.
1948 * libc/argz/Makefile.am: Add EL/IX level checking.
1949 * libc/argz/Makefile.in: Regenerated.
1950 * libc/argz/dummy.c: New file.
1951 * libc/ctype/Makefile.am: Add EL/IX level checking.
1952 * libc/ctype/Makefile.in: Regenerated.
1953 * libc/locale/Makefile.am: Add EL/IX level checking.
1954 * libc/locale/Makefile.in: Regenerated.
1955 * libc/posix/Makefile.am: Add EL/IX level checking.
1956 * libc/posix/Makefile.in: Regenerated.
1957 * libc/posix/telldir.c: Add EL/IX level checking.
1958 * libc/reent/Makefile.am: Ditto.
1959 * libc/reent/fstat64r.c: Ditto.
1960 * libc/reent/lseek64r.c: Ditto.
1961 * libc/reent/open64r.c: Ditto.
1962 * libc/reent/Makefile.in: Regenerated.
1963 * libc/search/Makefile.am: Add EL/IX level checking.
1964 * libc/search/Makefile.in: Regenerated.
1965 * libc/stdio/Makefile.am: Add EL/IX level checking.
1966 * libc/stdio/Makefile.in: Regenerated.
1967 * libc/stdio64/Makefile.am: Add EL/IX level checking.
1968 * libc/stdio64/Makefile.in: Regenerated.
1969 * libc/stdio64/dummy.c: New file.
9b487837 1970 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
90b65e2d
JJ
1971 after first include.
1972 * libc/stdio64/fopen64.c: Ditto.
1973 * libc/stdio64/freopen64.c: Ditto.
1974 * libc/stdio64/fseeko64.c: Ditto.
1975 * libc/stdio64/fsetpos64.c: Ditto.
1976 * libc/stdio64/ftello64.c: Ditto.
1977 * libc/stdio64/tmpfile64.c: Ditto.
1978 * libc/stdlib/Makefile.am: Add EL/IX level checking.
1979 * libc/stdlib/Makefile.in: Regenerated.
1980 * libc/stdlib/mstats.c: Add EL/IX level checking.
1981 * libc/string/Makefile.am: Ditto.
1982 * libc/string/Makefile.in: Regenerated.
1983 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
1984 * libc/sys/linux/Makefile.in: Regenerated.
1985 * libc/sys/linux/aclocal.m4: Ditto.
1986 * libc/sys/linux/configure: Ditto.
1987 * libc/sys/linux/aio.c: Add EL/IX level checking.
1988 * libc/sys/linux/ftok.c: Ditto.
1989 * libc/sys/linux/getdate.c: Ditto.
1990 * libc/sys/linux/ids.c: Ditto.
1991 * libc/sys/linux/inode.c: Ditto.
1992 * libc/sys/linux/io.c: Ditto.
1993 * libc/sys/linux/process.c: Ditto.
1994 * libc/sys/linux/resource.c: Ditto.
1995 * libc/sys/linux/sched.c: Ditto.
1996 * libc/sys/linux/sig.c: Ditto.
1997 * libc/sys/linux/termios.c: Ditto.
1998 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
1999 __libc___waitpid weak aliases.
2000 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
2001 that generate the code for a syscall, but do not create a
2002 weak alias.
2003 * libc/syscalls/Makefile.am: Add EL/IX level checking.
2004 * libc/syscalls/Makefile.in: Regenerated.
2005 * libc/time/tzset_r.c: Change to replace strdup with equivalent
2006 functionality.
2007 * libc/unix/Makefile.am: Add EL/IX level checking.
2008 * libc/unix/Makefile.in: Regenerated.
2009
2e2b268c
CF
20102002-08-26 Christopher Faylor <cgf@redhat.com>
2011
2012 * libc/include/malloc.h: On cygwin, define malloc _r functions as
2013 wrapper macros to standard malloc functions.
2014 * libc/include/stdlib.h: Ditto.
2015 * configure.host: Always define MALLOC_PROVIDED on cygwin.
2016
8d9112f2
TF
20172002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
2018
2019 * libc/include/langinfo.h: New file.
2020 * libc/include/wchar.h: Likewise.
2021 * libc/include/sys/syslimits.h: Likewise.
2022 * libc/locale/fix_grouping.c: Likewise.
2023 * libc/locale/ldpart.c: Likewise.
2024 * libc/locale/ldpart.h: Likewise.
2025 * libc/locale/lmessages.c: Likewise.
2026 * libc/locale/lmessages.h: Likewise.
2027 * libc/locale/lmonetary.c: Likewise.
2028 * libc/locale/lmonetary.h: Likewise.
2029 * libc/locale/lnumeric.c: Likewise.
2030 * libc/locale/lnumeric.h: Likewise.
2031 * libc/locale/nl_langinfo.3: Likewise.
2032 * libc/locale/nl_langinfo.c: Likewise.
2033 * libc/locale/timelocal.c: Likewise.
2034 * libc/locale/timelocal.h: Likewise.
2035 * libc/stdlib/btowc.c: Likewise.
2036 * libc/stdlib/mbrlen.c: Likewise.
2037 * libc/stdlib/mbrtowc.c: Likewise.
2038 * libc/stdlib/mbsinit.c: Likewise.
2039 * libc/stdlib/mbsrtowcs.c: Likewise.
2040 * libc/stdlib/wcrtomb.c: Likewise.
2041 * libc/stdlib/wcsrtombs.c: Likewise.
2042 * libc/stdlib/wctob.c: Likewise.
2043 * libc/sys/linux/prof-freq.c: Likewise.
2044 * libc/sys/linux/profile.c: Likewise.
2045 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
2046 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
2047 * libc/include/stdlib.h: Change re-entrant functions to take
2048 mbstate_t pointers.
2049 * libc/include/sys/_types.h: Define _mbstate_t.
2050 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
2051 * libc/include/sys/errno.h (EILSEQ): New error code.
2052 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
2053 structure to use mbstate_t.
2054 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
2055 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
2056 * libc/machine/powerpc/vfscanf.c: Likewise.
2057 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
2058 * libc/stdio/vfprintf.c: Likewise.
2059 * libc/stdio/vfscanf.c: Likewise.
2060 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
2061 * libc/stdlib/mblen.c: Use mbstate_t.
2062 * libc/stdlib/mblen_r.c: Likewise.
2063 * libc/stdlib/mbstowcs.c: Likewise.
2064 * libc/stdlib/mbstowcs_r.c: Likewise.
2065 * libc/stdlib/mbtowc.c: Likewise.
2066 * libc/stdlib/mbtowc_r.c: Likewise.
2067 * libc/stdlib/wcstombs.c: Likewise.
2068 * libc/stdlib/wcstombs_r.c: Likewise.
2069 * libc/stdlib/wctomb_r.c: Likewise.
2070 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
2071 profile.c.
2072 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
2073 dl-procinfo.c.
2074 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
2075 * libc/sys/linux/sys/types.h (off_t): Define type.
2076 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
2077 to C-UTF-8.
2078 * testsuite/newlib.locale/UTF-8.exp: Likewise.
2079
fe47ea33
JJ
20802002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
2081
2082 * libc/stdlib/mallocr.c: #include windows.h on Win32.
2083 (AlignPage): Continue macro on next line.
2084
ada73509
JJ
20852002-08-19 Jeff Johnston <jjohnstn@redhat.com>
2086
2087 * libc/sys/linux/include/pthread.h: New file.
2088
64b5e8f2
JJ
20892002-08-19 Jeff Johnston <jjohnstn@redhat.com>
2090
2091 * libc/include/sys/types.h: Support __need_inttypes macro
2092 that only sets the __intxx and __uintxx types.
2093 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
2094 to get mprec.h.
2095 * libc/machine/powerpc/Makefile.in: Regenerated.
2096 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
2097 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
2098 redundant fixed-point conversion prototypes.
2099 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
2100 after setting __need_inttypes.
2101
a94b60ce
CF
21022002-08-18 Christopher Faylor <cgf@redhat.com>
2103
2104 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
2105
29e17a86
JJ
21062002-08-17 Jeff Johnston <jjohnstn@redhat.com>
2107
2108 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
2109 _LONG_DOUBLE to double.
2110
936b520f
JJ
21112002-08-17 Jeff Johnston <jjohnstn@redhat.com>
2112
2113 * configure.host: Add powerpc*-*-eabispe* configuration.
2114 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
2115 * libc/machine/powerpc/atosfix32.c: Ditto.
2116 * libc/machine/powerpc/atosfix64.c: Ditto.
2117 * libc/machine/powerpc/atoufix16.c: Ditto.
2118 * libc/machine/powerpc/atoufix32.c: Ditto.
2119 * libc/machine/powerpc/atoufix64.c: Ditto.
2120 * libc/machine/powerpc/fix64.h: Ditto.
2121 * libc/machine/powerpc/simdldtoa.c: Ditto.
2122 * libc/machine/powerpc/strtosfix16.c: Ditto.
2123 * libc/machine/powerpc/strtosfix32.c: Ditto.
2124 * libc/machine/powerpc/strtosfix64.c: Ditto.
2125 * libc/machine/powerpc/strtoufix16.c: Ditto.
2126 * libc/machine/powerpc/strtoufix32.c: Ditto.
2127 * libc/machine/powerpc/strtoufix64.c: Ditto.
2128 * libc/machine/powerpc/ufix64toa.c: Ditto.
2129 * libc/machine/powerpc/configure.in: Add check for
2130 powerpc*-eabispe and add fixed-point conversion functions.
2131 * libc/machine/powerpc/configure: Regenerated.
2132 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
2133 %r and %R format specifiers which handle fixed-point data.
2134 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
2135 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
2136 function prototypes.
2137
ad552766
JJ
21382002-08-17 Jeff Johnston <jjohnstn@redhat.com>
2139
2140 * Makefile.am: Move cmath stuff into libc/sys/linux.
2141 * Makefile.in: Regenerated.
2142 * configure.host: Default -DMB_CAPABLE for x86-linux.
2143 * libc/include/reent.h: Define _sbrk to take signed int argument.
2144 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
2145 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
2146 make locale name checking more efficient. Also allow "C-ISO-8859-1"
2147 locale for LC_CTYPE and LC_MESSAGES.
2148 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
2149 * libc/sys/linux/brk.c: Change sbrk prototype.
2150 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
2151 include <sys/features.h>.
2152 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
2153 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
2154 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
2155 with a few local additions.
2156 * libc/sys/linux/sys/features.h: New file.
2157 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
2158 to take signed argument.
2159 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
2160 prototypes to take signed size argument.
2161
d3bd3632
TF
21622002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
2163
2164 * libc/sys/linux/cmath: New directory.
2165 * libc/sys/linux/include/cmathcalls.h: New file.
2166 * libc/sys/linux/include/complex.h: New file.
2167 * libc/sys/linux/machine/i386/huge_val.h: New file
2168 * libm/math/w_sincos.c: New file
2169 * libm/math/wf_sincos.c: New file
2170 * libm/mathfp/s_sincos.c: New file
2171 * libm/mathfp/sf_sincos.c: New file
2172 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
2173 * libc/include/math.h: Add sincos and sincosf declarations.
2174 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
2175 (SUBLIBS): Likewise.
2176 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
2177 * libm/math/Makefile.am (src): Add w_sincos.c.
2178 (fsrc): Add wf_sincos.c.
2179 * libm/mathfp/Makefile.am (src): Add s_sincos.c
2180 (fsrc): Add sf_sincos.c.
2181
b3a9676b
JJ
21822002-08-12 Jeff Johnston <jjohnstn@redhat.com>
2183
2184 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
2185 Declare as extern chars and use the address operator to
2186 properly use values set in linker script.
2187
659e7062
JJ
21882002-08-09 Jason Tishler <jason@tishler.net>
2189
2190 * libc/stdlib/mallocr.c: Include <limits.h>.
2191 (request2size): Change macro to do
2192 unsigned long comparisons and avoid signed overflow.
2193 (mALLOc): Add overflow check for the number of bytes to allocate.
2194 (rEALLOc): Ditto.
2195
037240a2
JJ
21962002-08-09 Jeff Johnston <jjohnstn@redhat.com>
2197
2198 * configure.host: Add check for --enable-newlib-io-pos-args
2199 and define WANT_IO_POS_ARGS flag if enabled. Define
2200 the flag by default for x86-linux configurations.
2201 * configure.in: Add support for --enable-newlib-io-pos-args.
2202 * libc/configure.in: Ditto.
2203 * configure: Regenerated.
2204 * libc/configure: Ditto.
2205 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
2206 vfprintf.c and vfiprintf.c.
2207 * libc/stdio/Makefile.in: Regenerated.
2208 * libc/stdio/vfprintf.c: Add positional argument support that
2209 is enabled by compiling with -DWANT_IO_POS_ARGS.
2210
172fda76
RS
22112002-08-07 Richard Sandiford <rsandifo@redhat.com>
2212
2213 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
2214 based on __mips_soft_float rather than __mips64.
2215 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
2216 of both 32-bit and 64-bit code.
2217
4866247e
CF
22182002-08-04 Christopher Faylor <cgf@redhat.com>
2219
2220 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
2221 arguments for popen to match similar functionality in fopen.
2222
b96332ce
CV
22232002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
2224
2225 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
2226
60d99bce
JJ
22272002-07-29 Jeff Johnston <jjohnstn@redhat.com>
2228
2229 * libc/sys/linux/Makefile.am: Add aio64.c.
2230 * libc/sys/linux/Makefile.in: Regenerated.
2231 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
2232 * libc/sys/linux/aio64.c: New file.
2233
80a21be0
JJ
22342002-07-26 Jeff Johnston <jjohnstn@redhat.com>
2235
2236 * libc/include/sys/param.h (MAX, MIN): Added macros.
2237 * libc/sys/linux/Makefile.am: Add new files.
2238 * libc/sys/linux/Makefile.in: Regenerated.
2239 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
2240 * libc/sys/linux/inode.c (fchdir): Added syscall.
2241 * libc/sys/linux/ftw.c: New file.
2242 * libc/sys/linux/ftw64.c: Ditto.
2243 * libc/sys/linux/getwd.c: Ditto.
2244 * libc/sys/linux/scandir64.c: Ditto.
2245 * libc/sys/linux/strverscmp.c: Ditto.
2246 * libc/sys/linux/versionsort.c: Ditto.
2247 * libc/sys/linux/versionsort64.c: Ditto.
2248
6b6425cb
JJ
22492002-07-26 Jeff Johnston <jjohnstn@redhat.com>
2250
2251 * libc/string/strings.tex: Fix typo for memccpy.
2252
dc8ac8e6
JJ
22532002-07-25 Jeff Johnston <jjohnstn@redhat.com>
2254
2255 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
2256 * libc/sys/linux/sys/types.h (off64_t): Definition added.
2257
aa0ca6fd
JJ
22582002-07-25 Jeff Johnston <jjohnstn@redhat.com>
2259
2260 * libc/sys/linux/Makefile.am: Add fclean.c.
2261 * libc/sys/linux/Makefile.in: Regenerated.
2262 * libc/sys/linux/fclean.c: New file.
2263
61921945
JJ
22642002-07-25 Jeff Johnston <jjohnstn@redhat.com>
2265
2266 * libc/sys/linux/Makefile.am: Add confstr.c.
2267 * libc/sys/linux/Makefile.in: Regenerated.
2268 * libc/sys/linux/confstr.c: New file.
2269 * libc/sys/linux/confstr.h: Ditto.
2270 * libc/sys/linux/sys/unistd.h: Include <features.h> and
2271 <bits/environments.h>.
2272
3d966a92
JJ
22732002-07-25 Jeff Johnston <jjohnstn@redhat.com>
2274
2275 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
2276 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
2277 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
2278 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
2279 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
2280 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
2281
53b5bff7
JJ
22822002-07-24 Jeff Johnston <jjohnstn@redhat.com>
2283
2284 * libc/sys/linux/Makefile.am: Add new files.
2285 * libc/sys/linux/Makefile.in: Regenerated.
2286 * libc/sys/linux/fstab.c: New file.
2287 * libc/sys/linux/fstatvfs.c: Ditto.
2288 * libc/sys/linux/fstatvfs64.c: Ditto.
2289 * libc/sys/linux/internal_statvfs.c: Ditto.
2290 * libc/sys/linux/mntent.c: Ditto.
2291 * libc/sys/linux/mntent_r.c: Ditto.
2292 * libc/sys/linux/statvfs.c: Ditto.
2293 * libc/sys/linux/statvfs64.c: Ditto.
2294 * libc/sys/linux/include/paths.h: Ditto.
2295 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
2296 with double-underscore weak-aliases.
2297 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
2298
9cef8ef5
JJ
22992002-07-24 Jeff Johnston <jjohnstn@redhat.com>
2300
2301 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
2302 to use _sig_func_ptr type casted constants.
2303 (_sig_func_ptr): Typedef moved to sys/signal.h.
2304 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
2305 For __rtems, use POSIX definition, otherwise default to ANSI.
2306 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
2307
a703e0f2
JJ
23082002-07-24 Stephane Carrez <stcarrez@nerim.fr>
2309
2310 * configure.host: Recognize m6811-elf and m6812-elf targets.
2311 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
2312 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
2313 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
2314 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
2315 according to __INT_MAX__.
2316 (_POINTER_INT): Define to short.
2317 * libc/machine/m68hc11/Makefile.am: New file.
2318 * libc/machine/m68hc11/Makefile.in: New file.
2319 * libc/machine/m68hc11/configure.in: New file.
2320 * libc/machine/m68hc11/configure: New file.
2321 * libc/machine/m68hc11/aclocal.m4: New file.
2322 * libc/machine/m68hc11/setjmp.S: New file.
2323
d254189b
JJ
23242002-07-23 Jeff Johnston <jjohnstn@redhat.com>
2325
2326 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
2327 prototypes.
2328 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
2329 * libc/stdlib/Makefile.in: Regenerated.
2330 * libc/stdlib/strdup.c: Removed.
2331 * libc/stdlib/strdup_r.c: Removed.
2332 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
2333 mempcpy.c, strndup.c, and strndup_r.c.
2334 * libc/string/Makefile.in: Regenerated.
2335 * libc/string/memccpy.c: New file.
2336 * libc/string/mempcpy.c: Ditto.
2337 * libc/string/strndup.c: Ditto.
2338 * libc/string/strndup_r.c: Ditto.
2339 * libc/string/strdup.c: New file moved from stdlib.
2340 * libc/string/strdup_r.c: Ditto.
2341 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
2342
bc100655
JJ
23432002-07-23 Jeff Johnston <jjohnstn@redhat.com>
2344
2345 * libc/include/stdio.h: Move fcloseall prototype within
2346 #ifndef _REENT_ONLY section.
2347 * libc/sys/linux/Makefile.am: Add new files.
2348 * libc/sys/linux/Makefile.in: Regenerated.
2349 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
2350 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
2351 * libc/sys/linux/sys/types.h: Add ino64_t type.
2352 * libc/sys/linux/ctermid.c: New file.
2353 * libc/sys/linux/ttyname_r.c: Ditto.
2354 * libc/sys/linux/readdir64.c: Ditto.
2355
f5f27f07
JJ
23562002-07-22 Jeff Johnston <jjohnstn@redhat.com>
2357
2358 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
2359 * libc/stdio/Makefile.am: Added fcloseall.c support.
2360 * libc/stdio/Makefile.in: Regenerated.
2361 * libc/stdio/fcloseall.c: New file.
2362 * libc/stdio64/Makefile.am: Remove missing .def references.
2363 * libc/stdio64/Makefile.in: Regenerated.
2364
d541ba3e
JJ
23652002-07-22 Jeff Johnston <jjohnstn@redhat.com>
2366
2367 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
2368 * libc/machine/powerpc/times.c: New file.
2369 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
2370 * libc/machine/powerpc/Makefile.in: Regenerated.
2371
23722002-07-22 Aldy Hernandez <aldyh@redhat.com>
e964bca8
JJ
2373
2374 * libc/machine/powerpc/time.c: New file.
2375 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
2376 time.c.
2377 * libc/machine/powerpc/Makefile.in: Regenerated.
2378
5e7d0a55
TF
23792002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
2380
2381 * libc/libc.texinfo: Change copyright notices to Red Hat from
2382 Cygnus.
2383 * libm/libm.texinfo: Likewise.
2384 * README: Change docs URL to
2385 http://sources.redhat.com/newlib/docs.html.
2386
504628e7
JJ
23872002-07-19 Jeff Johnston <jjohnstn@redhat.com>
2388
2389 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
2390 * libc/sys/linux/Makefile.in: Regenerated.
2391 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
2392 * libc/sys/linux/io.c: Add ftruncate syscall.
2393 * libc/sys/linux/fpathconf.c: New file.
2394 * libc/sys/linux/pathconf.c: Ditto.
2395 * libc/sys/linux/linux_fsinfo.h: Ditto.
2396 * libc/sys/linux/sys/unistd.h: Ditto.
2397
b155ad9f
JJ
23982002-07-19 Jeff Johnston <jjohnstn@redhat.com>
2399
2400 * libc/stdio64/Makefile.am: Remove missing files.
2401 * libc/stdio64/Makefile.in: Regenerated.
2402
c119e0ab
JJ
24032002-07-19 Jeff Johnston <jjohnstn@redhat.com>
2404
2405 * libc/include/sys/config.h[__i386__][__linux__]: Define
2406 _LARGE64FILE_SOURCE to 1.
2407 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
2408 * libc/sys/linux/Makefile.in: Regenerated.
2409 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
2410 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
2411 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
2412 of <linux/resource.h>.
2413 * libc/sys/linux/getrlimit64.c: New file.
2414 * libc/sys/linux/setrlimit64.c: Ditto.
2415
9b022d6d
TF
24162002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
2417
2418 * libc/argz/argz_replace.c: Include buf_findstr.h.
2419 * libc/argz/buf_findstr.c: Likewise.
2420 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
2421 value to (char *).
2422 * libc/argz/envz_get.c: Likewise.
2423 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
2424 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
2425 * libc/stdlib/getsubopt.3: New file.
2426 * libc/stdlib/getsubopt.c: New file.
2427 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
2428 Change esp to ebp.
2429
dee51391
JJ
24302002-07-17 Jeff Johnston <jjohnstn@redhat.com>
2431
2432 * configure.host(stdio64_dir): New setting that is used to
2433 enable building of new stdio64 directory.
2434 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
2435 large files.
2436 (stmp-stdio64,stdio64.texi): New targets to optionally add in
2437 stdio64 info to info files.
2438 * libc/Makefile.in: Regenerated.
2439 * libc/configure: Ditto.
2440 * libc/configure.in: Add configuration variables that are set
2441 when stdio64 is selected as subdir in configure.host.
2442 * libc/libc.texinfo: Add optional menu item for Stdio64, based
2443 on whether STDIO64 flag is set or not.
2444 * libc/sys.tex: Add optional stdio64 syscalls based on whether
2445 STDIO64 flag is set or not.
2446 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
2447 _r sycall routines.
2448 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
2449 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
2450 (__SL64): New file flag indicating file is opened via fopen64.
2451 * libc/include/sys/_types.h(_off64_t): Added.
2452 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
2453 * libc/include/sys/reent.h(struct __sFILE64): New file structure
2454 for 64-bit offset large file support.
2455 (__FILE): New intermediate type either set to struct __sFILE64 or
2456 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
2457 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
2458 * libc/reent/Makefile.in: Regenerated.
2459 * libc/reent/fstat64r.c: New file.
2460 * libc/reent/lseek64r.c: Ditto.
2461 * libc/reent/open64r.c: Ditto.
2462 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
2463 based on whether STDIO64 flag is set.
2464 * libc/stdio/stdio.tex: Add blank line.
2465 * libc/stdio64/Makefile.am: New file.
2466 * libc/stdio64/Makefile.in: Ditto.
2467 * libc/stdio64/fgetpos64.c: Ditto.
2468 * libc/stdio64/fopen64.: Ditto.
2469 * libc/stdio64/freopen64.c: Ditto.
2470 * libc/stdio64/fseeko64.c: Ditto.
2471 * libc/stdio64/fsetpos64.c: Ditto.
2472 * libc/stdio64/ftello64.c: Ditto.
2473 * libc/stdio64/local64.h: Ditto.
2474 * libc/stdio64/stdio64.c: Ditto.
2475 * libc/stdio64/stdio64.tex: Ditto.
2476 * libc/stdio64/tmpfile64.c: Ditto.
2477 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
2478 open64.
2479
778876f6
JJ
24802002-07-16 Jeff Johnston <jjohnstn@redhat.com>
2481
2482 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
2483 if LIBC_EXTRA_LIB is present.
2484 * libc/Makefile.in: Regenerated.
2485 * libc/libc.texinfo: Add blank line.
2486 * libc/argz/Makefile.am: Add doc support.
2487 * libc/search/Makefile.am: Ditto.
2488 * libc/argz/Makefile.in: Regenerated.
2489 * libc/search/Makefile.in: Ditto.
2490 * libc/misc/misc.tex: Add ffs function.
2491 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
2492
37981145
JJ
24932002-07-15 Jeff Johnston <jjohnstn@redhat.com>
2494
2495 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
2496 definition that was removed in error.
2497
38b5dc59
JJ
24982002-07-15 Jeff Johnston <jjohnstn@redhat.com>
2499
2500 * libc/include/machine/ieeefp.h: Change to only define
2501 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
2502 __IEEE_LITTLE_ENDIAN must be defined for each platform).
2503 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
2504 remove redundant floating point definitions.
2505
8cb61a96
JJ
25062002-07-15 Jeff Johnston <jjohnstn@redhat.com>
2507
2508 * libc/sys/linux/callocr.c: Fix so code references
2509 calloc.
2510
edba3282
JJ
25112002-07-15 Jeff Johnston <jjohnstn@redhat.com>
2512
2513 * libc/sys/linux/Makefile.am: Add new files.
2514 * libc/sys/linux/Makefile.in: Regenerated.
2515 * libc/sys/linux/bp-sym.h: Moved to include directory.
2516 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
2517 * libc/sys/linux/inode.c: Set _LIBC to 1.
2518 * libc/sys/linux/mq_close.c: Ditto.
2519 * libc/sys/linux/mq_getattr.c: Ditto.
2520 * libc/sys/linux/mq_open.c: Ditto.
2521 * libc/sys/linux/mq_receive.c: Ditto.
2522 * libc/sys/linux/mq_send.c: Ditto.
2523 * libc/sys/linux/mq_setattr.c: Ditto.
2524 * libc/sys/linux/mq_unlink.c: Ditto.
2525 * libc/sys/linux/calloc.c: New file.
2526 * libc/sys/linux/callocr.c: Ditto.
2527 * libc/sys/linux/cfreer.c: Ditto.
2528 * libc/sys/linux/config.h: Ditto.
2529 * libc/sys/linux/free.c: Ditto.
2530 * libc/sys/linux/freer.c: Ditto.
2531 * libc/sys/linux/msize.c: Ditto.
2532 * libc/sys/linux/msizer.c: Ditto.
2533 * libc/sys/linux/mstats.c: Ditto.
2534 * libc/sys/linux/mtrim.c: Ditto.
2535 * libc/sys/linux/mtrimr.c: Ditto.
2536 * libc/sys/linux/pvallocr.c: Ditto.
2537 * libc/sys/linux/realloc.c: Ditto.
2538 * libc/sys/linux/reallocr.c: Ditto.
2539 * libc/sys/linux/thread-m.h: Ditto.
2540 * libc/sys/linux/vallocr.c: Ditto.
2541 * libc/sys/linux/bp-checks.h: Ditto.
2542 * libc/sys/linux/libc-symbols.h: Ditto.
2543 * libc/sys/linux/libc-tsd.h: Ditto.
2544 * libc/sys/linux/libintl.h: Ditto.
2545 * libc/sys/linux/malign.c: Ditto.
2546 * libc/sys/linux/malignr.c: Ditto.
2547 * libc/sys/linux/mallinfor.c: Ditto.
2548 * libc/sys/linux/malloc.c: Ditto.
2549 * libc/sys/linux/mallocr.c: Ditto.
2550 * libc/sys/linux/malloptr.c: Ditto.
2551 * libc/sys/linux/mallstatsr.c: Ditto.
2552 * libc/sys/linux/mcheck.c: Ditto.
2553 * libc/sys/linux/mhooks.h: Ditto.
2554 * libc/sys/linux/include/bp-sym.h: Ditto.
2555 * libc/sys/linux/include/malloc.h: Ditto.
2556 * libc/sys/linux/include/mcheck.h: Ditto.
2557 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
2558 getpagesize.c.
2559 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
2560 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
2561 * libc/sys/linux/machine/i386/getpagesize.c: New file.
2562 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
2563 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
2564 * libc/sys/linux/machine/i386/sysdep.h: New file.
2565 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
2566 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
2567 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
2568
ea20b60a
JJ
25692002-07-12 Jeff Johnston <jjohnstn@redhat.com>
2570
2571 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
2572 instead of <asm/siginfo.h>.
2573 * libc/sys/linux/sys/signal.h: Change to include various linux
2574 <bits/xxx.h> header files, rather than <linux/signal.h> so as
2575 to work with multiple releases of glibc header files.
2576
2fc82912
JJ
25772002-07-11 Chris Demetriou <cgd@broadcom.com>
2578
2579 * testsuite/newlib.search/hsearchtest.c: New file to test
2580 newlib/libc/search.
2581 * testsuite/newlib.search/hsearchtest.exp: Likewise.
2582
4a404e97 25832002-07-10 Florian Schrack <florian.schrack@freenet.de>
2a8b4ea3
JJ
2584
2585 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
2586 a terminal.
2587 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
2588
6aec558e
JJ
25892002-07-08 Jeff Johnston <jjohnstn@redhat.com>
2590
2591 * libc/include/math.h (MAXFLOAT): Added.
2592
e47e6f0e 2593Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
a31df303
JR
2594
2595 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
2596 Make strcmp.S unconditional.
2597 * libc/machine/sh/Makefile.in: Regenerate.
2598 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
2599 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
2600 for SHcompact.
2601
89ffbd66
JJ
26022002-07-04 Jeff Johnston <jjohnstn@redhat.com>
2603
2604 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
2605 define before including <sys/lock.h>.
2606
ae6c4c84
JJ
26072002-07-04 Jeff Johnston <jjohnstn@redhat.com>
2608
2609 * libc/include/utime.h: Add include of <_ansi.h>.
2610 * libc/sys/linux/Makefile.am: Add utimes.c.
2611 * libc/sys/linux/Makefile.in: Regenerated.
2612 * libc/sys/linux/inode.c(__umask): New static routine.
2613 (umask): Written to use __umask and attempt to thread lock.
2614 (getumask): New function written to use __umask and thread lock.
2615 * libc/sys/linux/utimes.c: New file.
2616 * libc/sys/linux/sys/time.h: Fix utimes prototype.
2617 * libc/sys/linux/sys/utime.h: New file.
2618
a6cac46c
TF
26192002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2620
2621 * libtool.m4: New file.
2622 * libc/sys/linux/process.c: Implement vfork in terms of fork,
2623 rather than as a syscall.
2624
30b2092f
JJ
26252002-07-04 Jeff Johnston <jjohnstn@redhat.com>
2626
2627 * libc/include/stdio.h: Add new prototypes.
2628 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
2629 * libc/stdio/Makefile.in: Regenerated.
2630 * libc/stdio/fseek.c: Add fseeko documentation.
2631 * libc/stdio/ftell.c: Add ftello documentation.
2632 * libc/stdio/fseeko.c: New file.
2633 * libc/stdio/ftello.c: New file.
2634
7501704d
JJ
26352002-07-04 Jeff Johnston <jjohnstn@redhat.com>
2636
2637 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
2638 * libc/stdio/Makefile.in: Regenerated.
2639 * libc/stdio/asprintf.c: New file.
2640 * libc/stdio/vasprintf.c: Ditto.
2641 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
2642 the buffer for asprintf support.
2643 * libc/stdio/sprintf.c: Add asprintf documentation.
2644 * libc/stdio/vfprintf.c: Add vasprintf documentation.
2645 * libc/include/stdio.h: Add new prototypes.
2646
66eee32b
TF
26472002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
2648
2649 * libc/search/hcreate.c: Remove advertising clause from license.
2650 * libc/search/hcreate_r.c: Likewise.
2651
cec4a9f8
JJ
26522002-07-02 Chris Demetriou <cgd@broadcom.com>
2653
2654 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
2655 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
2656 Check that one of them is defined and error out if not.
2657 Add any platforms defined in <machine/ieeefp.h> that are missing.
2658 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
2659 (DB_LITTLE_ENDIAN): New defines.
2660 * libc/search/hash.c: Replace all incorrect checks for
2661 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
2662 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
2663 * libc/search/hash_page.c: Likewise.
2664
2d5eb17e
TF
26652002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
2666
2667 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
2668
c1a3171f
JJ
26692002-06-27 Benjamin Kosnik <bkoz@redhat.com>
2670
2671 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
2672 * libc/include/time.h: Same.
2673 * libc/include/string.h: Same.
2674 * libc/include/stdlib.h: Same.
2675 * libc/include/signal.h: Same.
2676 * libc/include/setjmp.h: Same.
2677 * libc/include/math.h: Same.
2678 * libc/include/locale.h: Same.
2679 * libc/include/ctype.h: Same.
2680 * libc/include/machine/setjmp.h: Same.
2681 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
2682 (_END_STD_C): Add.
2683
533b4e66
JJ
26842002-06-27 Jeff Johnston <jjohnstn@redhat.com>
2685
2686 * libc/include/sys/_types.h: Define _ssize_t as int if int is
2687 32-bits, otherwise define it as long.
2688 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
2689 and define ssize_t as _ssize_t.
2690 * libc/reent/readr.c: Change return type to _ssize_t.
2691 * libc/reent/writer.c: Ditto.
2692 * libc/sys/linux/Makefile.am: Add aio.c.
2693 * libc/sys/linux/Makefile.in: Regenerated.
2694 * libc/sys/linux/aio.c: New file.
2695 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
2696 * libm/common/fdlibm.h: Undef __P before defining it.
2697
c36e6dd7
TF
26982002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
2699
54be629f
TF
2700 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
2701 exponent_is_even_int variable. Handle case where x is
2702 negative, and y is an odd integer.
2703 * libm/mathfp/sf_pow.c (powf): Likewise.
2704
c36e6dd7
TF
2705 * libm/mathfp/er_lgamma.c: Remove __kernel references.
2706 * libm/mathfp/erf_lgamma.c: Likewise.
2707 * libm/mathfp/s_tgamma.c: Likewise.
2708 * libm/mathfp/sf_tgamma.c: Likewise.
2709
baf051ca
JJ
27102002-06-27 Jeff Johnston <jjohnstn@redhat.com>
2711
2712 * libc/sys/linux/Makefile.am: Add new clock routines.
2713 * libc/sys/linux/Makefile.in: Regenerated.
2714 * libc/sys/linux/clock_getres.c: New file.
2715 * libc/sys/linux/clock_gettime.c: Ditto.
2716 * libc/sys/linux/clock_settime.c: Ditto.
2717 * libc/sys/linux/hp-timing.h: Ditto.
2718 * libc/sys/linux/libc-internal.h: Ditto.
2719 * libc/sys/linux/sysconf.c: Fix typo.
2720 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
2721 * libc/sys/linux/machine/hp-timing.h: New file.
2722 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
2723 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
2724 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
2725 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
2726 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
2727 * libc/sys/linux/sys/linux_time.h: New file.
2728 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
2729 replace with <sys/linux_time.h>.
2730
0431ed4e
JR
2731Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
2732
2733 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
2734
fc067ba5
JJ
27352002-06-25 Jeff Johnston <jjohnstn@redhat.com>
2736
2737 * libc/sys/linux/Makefile.am: Consolidate additional items under
2738 ADD_OBJS.
2739 * libc/sys/linux/Makefile.in: Regenerated.
2740
ffddf61e
JJ
27412002-06-25 Jeff Johnston <jjohnstn@redhat.com>
2742
2743 * libc/sys/linux/sethostname.c: New file.
2744 * libc/sys/linux/Makefile.am: Add sethostname.c support.
2745 * libc/sys/linux/Makefile.in: Regenerated.
2746
d5487d3f
TF
27472002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
2748
2749 * libc/search/db_local.h: New file.
2750 * libc/include/db.h: Remove.
2751 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
2752 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
2753 "db_local.h".
2754 * libc/search/hash_bigkey.c: Likewise.
2755 * libc/search/hash_buf.c: Likewise.
2756 * libc/search/hash_func.c: Likewise.
2757 * libc/search/hash_log2.c: Likewise.
2758 * libc/search/hash_page.c: Likewise.
2759
27602002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
e08a6118 2761
1e7ca711 2762 * libc/machine/sh/strlen.S: New file.
e08a6118
JR
2763 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
2764 * libc/machine/sh/Makefile.am: Regenerate.
2765
59c6d6c4
JJ
27662002-06-24 Jeff Johnston <jjohnstn@redhat.com>
2767
2768 * libc/sys/linux/gethostname.c: Change name to __gethostname and
2769 add gethostname alias.
2770
a70486d7
JJ
27712002-06-24 Jeff Johnston <jjohnstn@redhat.com>
2772
2773 * libc/include/math.h: Remove <sys/types.h>.
a5dadf33 2774 (__dmath): Use __ULong instead of __uint32_t.
a70486d7 2775 * libc/include/sys/reent.h: If long or int is not 32-bits,
a5dadf33 2776 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
a70486d7
JJ
2777 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
2778 * libm/common/fdlibm.h: Ditto.
2779
3118725a
TF
27802002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
2781
2782 * libc/include/ndbm.h: Remove.
2783 * libc/search/ndbm.c: Remove.
2784
30a06168
TF
27852002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
2786
2787 * libc/stdio/fseek.c (fseek): Fix braces.
2788
01f5155e
CV
27892002-06-21 Corinna Vinschen <corinna@vinschen.de>
2790
2791 * libc/time/strftime.c (strftime): Add %e format specifier.
2792
930bc96b
TF
27932002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2794
2795 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
2796 previously defined.
2797
55105f86
JJ
27982002-06-21 Richard Earnshaw (rearnsha@arm.com)
2799
2800 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
2801 (BYTE_ORDER): Define as appropriate for the target.
2802
2e78444a
JJ
28032002-06-21 Jeff Johnston <jjohnstn@redhat.com>
2804
2805 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
2806 to _ssize_t.
2807 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
2808
d427d092
JJ
28092002-06-21 Jeff Johnston <jjohnstn@redhat.com>
2810
2811 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
2812 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
2813 [HAVE_GETDATE](getdate_err): New error code.
2814 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
2815 * libc/stdio/Makefile.in: Regenerated.
2816 * libc/stdio/getdelim.c: New file.
2817 * libc/stdio/getline.c: Ditto.
2818 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
2819 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
2820 * libc/sys/linux/Makefile.in: Regenerated.
2821 * libc/sys/linux/getdate.c: New file.
2822 * libc/sys/linux/getdate_err.c: Ditto.
2823 * libc/sys/linux/ntp_gettime.c: Ditto.
2824 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
2825 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
2826
35728d4f
JJ
28272002-06-21 Jeff Johnston <jjohnstn@redhat.com>
2828
2829 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
2830 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
2831 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
2832 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
2833 * libc/include/sys/param.h: Remove i386 case which is handled
2834 by default case.
2835 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
2836 definitions in case they are already defined.
2837 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
2838 _IEEE_LITTLE_ENDIAN flags.
2839 * libc/include/sys/reent.h: Change __uint32_t references to
2840 use _ULong instead.
2841 (_REENT_GETDATE_REENT_P): New macro.
2842 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
2843 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
2844 * libc/search/hash.h: Add default setting of BYTE_ORDER,
2845 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
2846 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
2847 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
2848 pid_t, off_t, loff_t, caddr_t, and daddr_t type
2849 definitions which are done by subsequent glibc headers.
2850 Add macro definitions to prevent subsequent header files from
2851 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
2852 intptr_t to after glibc definitions of types they are based on.
2853
4a2bfab7
JJ
28542002-06-21 Jeff Johnston <jjohnstn@redhat.com>
2855
2856 * libc/include/errno.h: Protect from multiple inclusion.
2857
f42d18ea
NC
28582002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
2859
2860 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
2861
a7b23a8f
TF
28622002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
2863
2864 * Makefile.am (LIB_OBJECTLISTS): Add
2865 libc/search/objectlist.awk.in.
2866 * libc/Makefile.am (SUBDIRS): Add search.
2867 (SUBLIBS): Add search/libsearch.la.
2868 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
2869 * libc/search: New directory.
2870 * libc/search/Makefile.am: New file.
2871 * libc/search/extern.h: New file.
2872 * libc/search/hash.c: New file.
2873 * libc/search/hash.h: New file.
2874 * libc/search/hash_bigkey.c: New file.
2875 * libc/search/hash_buf.c: New file.
2876 * libc/search/hash_func.c: New file.
2877 * libc/search/hash_log2.c: New file.
2878 * libc/search/hash_page.c: New file.
2879 * libc/search/hcreate.3: New file.
2880 * libc/search/hcreate.c: New file.
a7b23a8f
TF
2881 * libc/search/hcreate_r.c: New file.
2882 * libc/search/ndbm.c: New file.
2883 * libc/search/page.h: New file.
2884 * libc/search/tdelete.c: New file.
2885 * libc/search/tdestroy.c: New file.
2886 * libc/search/tfind.c: New file.
2887 * libc/search/tsearch.3: New file.
2888 * libc/search/tsearch.c: New file.
2889 * libc/search/twalk.c: New file.
2890 * libc/include/db.h: New file.
2891 * libc/include/ndbm.h: New file.
2892 * libc/include/search.h: New file.
2893 * libc/include/sys/queue.h: New file.
2894 * libc/include/sys/cdefs.h: New file.
2895 * libc/include/sys/param.h
2896 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
2897 LITTLE_ENDIAN or BIG_ENDIAN.
2898 * libc/include/sys/errno.h (EFTYPE): New macro.
2899 * libc/search/bsearch.c: Move from libc/stdlib.
2900 * libc/search/qsort.c: Likewise.
2901 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
2902 qsort.c.
2903 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
2904 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
2905
ef467338
JJ
29062002-06-19 Jeff Johnston <jjohnstn@redhat.com>
2907
2908 * libc/sys/linux/Makefile.am: Add support for message queue routines,
2909 ipc routines, and ftok.
2910 * libc/sys/linux/Makefile.in: Regenerated.
2911 * libc/sys/linux/ftok.c: New file.
2912 * libc/sys/linux/ipc.c: Ditto.
2913 * libc/sys/linux/mq_close.c: Ditto.
2914 * libc/sys/linux/mq_getattr.c: Ditto.
2915 * libc/sys/linux/mq_notify.c: Ditto.
2916 * libc/sys/linux/mq_open.c: Ditto.
2917 * libc/sys/linux/mq_receive.c: Ditto.
2918 * libc/sys/linux/mq_send.c: Ditto.
2919 * libc/sys/linux/mq_setattr.c: Ditto.
2920 * libc/sys/linux/mq_unlink.c: Ditto.
2921 * libc/sys/linux/mqlocal.h: Ditto.
2922 * libc/sys/linux/include/mqueue.h: Ditto.
2923 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
2924 __uid_t_defined.
2925
7f55c08c
TF
29262002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
2927
2928 * libm/common/sf_lround.c (round): Change name to: (lround).
2929 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
2930 remquof.
2931
c9ca68d7
TF
29322002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
2933
2934 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
2935 procedure.
2936 (newlib_pass_fail): Change to compile and run only one file.
2937 * testsuite/newlib.locale/locale.exp: Use new
2938 newlib_pass_fail_all procedure.
2939 * testsuite/newlib.string/string.exp: Likewise.
2940
4ecedd09
DB
29412002-06-18 Dave Brolley <brolley@redhat.com>
2942
2943 From Catherine Moore, Michael Meissner, Richard Sandiford:
2944 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
2945 (_JBTYPE): Ditto.
2946 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
2947 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
2948 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
2949 * configure.host: Support frv-*-*.
2950 * libc/machine/frv/Makefile.am: New file.
2951 * libc/machine/frv/configure.in: New file.
2952 * libc/machine/frv/setjmp.S: New file.
2953
af1c257a
TF
29542002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
2955
2956 * libc/include/ctype.h: Remove isblank macro.
2957
2958 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
2959 * libc/ctype/isblank.c: New file.
2960 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
2961 declaration. Add isblank macro.
2962
4e04fa90
JJ
29632002-06-18 Jeff Johnston <jjohnstn@redhat.com>
2964
2965 * testsuite/newlib.stdlib/atexit.c: New file.
2966 * testsuite/newlib.stdlib/atexit.exp: Ditto.
2967 * testsuite/newlib.string/tstring.c: Change default start size
2968 to something more reasonable for embedded platforms.
2969
b56d7e79
TF
29702002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2971
ece3c72f
TF
2972 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
2973
b56d7e79
TF
2974 * libc/argz: New directory.
2975 * libc/argz/*: New files.
2976 * libc/argz/argz_add.c: New file.
2977 * libc/argz/argz_add_sep.c: New file.
2978 * libc/argz/argz_append.c: New file.
2979 * libc/argz/argz_count.c: New file.
2980 * libc/argz/argz_create.c: New file.
2981 * libc/argz/argz_create_sep.c: New file.
2982 * libc/argz/argz_delete.c: New file.
2983 * libc/argz/argz_extract.c: New file.
2984 * libc/argz/argz_insert.c: New file.
2985 * libc/argz/argz_next.c: New file.
2986 * libc/argz/argz_replace.c: New file.
2987 * libc/argz/argz_stringify.c: New file.
2988 * libc/argz/buf_findstr.c: New file.
2989 * libc/argz/envz_add.c: New file.
2990 * libc/argz/envz_entry.c: New file.
2991 * libc/argz/envz_get.c: New file.
2992 * libc/argz/envz_merge.c: New file.
2993 * libc/argz/envz_remove.c: New file.
2994 * libc/argz/envz_strip.c: New file.
2995 * libc/include/argz.h: New file.
2996 * libc/include/envz.h: New file.
2997 * Makefile.am (LIBC_OBJECTLISTS): Add
2998 libc/argz/objectlist.awk.in.
2999 * libc/Makefile.am (SUBDIRS): Add argz.
3000 (SUBLIBS): Add argz/libargz.la.
3001 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
3002 * libc/include/errno.h: Add error_t typedef.
3003
d062d3dd
JJ
30042002-06-13 Jeff Johnston <jjohnstn@redhat.com>
3005
3006 * libc/include/stdlib.h: Add _Exit prototype.
3007 * libc/stdlib/Makefile.am: Add _Exit.c support.
3008 * libc/stdlib/Makefile.in: Ditto.
3009 * libc/stdlib/_Exit.c: New file.
3010
a47e66ae
JJ
30112002-06-13 Stephen L. Moshier <steve@moshier.net>
3012
3013 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
3014 x is close to -1.0 and y is very large to use ax (absolute value)
3015 instead of x.
3016 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
3017
13f7d71f
JR
3018Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
3019
3020 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
3021 Fix clobbering bytes before destination if src and dst have same
3022 non-zero misalignment.
1f1fb421
JR
3023
3024 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
3025 Fixed bug in writing end of set region.
3026
b2e8018f
CF
30272002-06-10 Christopher Faylor <cgf@redhat.com>
3028
3029 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
3030 spawnve declaration.
3031
0953fe64
TF
30322002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
3033
3034 * libm/common/s_fdim.c: New file.
3035 * libm/common/s_fma.c: Likewise.
3036 * libm/common/s_fmax.c: Likewise.
3037 * libm/common/s_fmin.c: Likewise.
3038 * libm/common/s_fpclassify.c: Likewise.
3039 * libm/common/s_lrint.c: Likewise.
3040 * libm/common/s_lround.c: Likewise.
3041 * libm/common/s_nearbyint.c: Likewise.
3042 * libm/common/s_remquo.c: Likewise.
3043 * libm/common/s_round.c: Likewise.
3044 * libm/common/s_scalbln.c: Likewise.
3045 * libm/common/s_signbit.c: Likewise.
3046 * libm/common/s_trunc.c: Likewise.
3047 * libm/common/sf_fdim.c: Likewise.
3048 * libm/common/sf_fma.c: Likewise.
3049 * libm/common/sf_fmax.c: Likewise.
3050 * libm/common/sf_fmin.c: Likewise.
3051 * libm/common/sf_lrint.c: Likewise.
3052 * libm/common/sf_lround.c: Likewise.
3053 * libm/common/sf_nearbyint.c: Likewise.
3054 * libm/common/sf_remquo.c: Likewise.
3055 * libm/common/sf_round.c: Likewise.
3056 * libm/common/sf_scalbln.c: Likewise.
3057 * libm/common/sf_trunc.c: Likewise.
3058 * libm/math/w_exp2.c: Likewise.
3059 * libm/math/w_tgamma.c: Likewise.
3060 * libm/math/wf_exp2.c: Likewise.
3061 * libm/math/wf_tgamma.c: Likewise.
3062 * libm/mathfp/s_exp2.c: Likewise.
3063 * libm/mathfp/s_tgamma.c: Likewise.
3064 * libm/mathfp/sf_exp2.c: Likewise.
3065 * libm/mathfp/sf_tgamma.c: Likewise.
3066 * libm/math/er_gamma.c: Fix return value.
3067 * libm/math/erf_gamma.c: Likewise.
3068 * libm/mathfp/er_gamma.c: Likewise.
3069 * libm/mathfp/erf_gamma.c: Likewise.
3070 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
3071 declarations and macros.
3072 Regenerated all Makefile.in, aclocal.m4 and configure files to
3073 use new libtool macros in top-level libtool.m4
3074
39e65e01
JJ
30752002-06-05 Jeff Johnston <jjohnstn@redhat.com>
3076
3077 * libc/include/string.h[__linux__]: Add strsignal prototype.
3078 * libc/include/sys/lock.h: New file with default locking support.
3079 * libc/include/sys/reent.h: Add signal buffer support for strsignal
3080 and psignal.
3081 * libc/posix/Makefile.am: Add support for readdir_r.c.
3082 * libc/posix/Makefile.in: Regenerated.
3083 * libc/posix/closedir.c: Add locking support and hash table cleanup.
3084 * libc/posix/opendir.c: Add lock support.
3085 * libc/posix/readdir.c: Ditto.
3086 * libc/posix/rewinddir.c: Ditto.
3087 * libc/posix/scandir.c: Ditto.
3088 * libc/posix/seekdir.c: Ditto.
3089 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
3090 clean up leftover hash table entries.
3091 * libc/posix/readdir_r.c: New file.
3092 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
3093 * libc/sys/linux/Makefile.in: Regenerated.
3094 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
3095 * libc/sys/linux/sys/signal.h: Add psignal prototype.
3096 * libc/sys/linux/psignal.c: New file.
3097 * libc/sys/linux/strsignal.c: Ditto.
3098
cc890e89
CV
30992002-06-03 Corinna Vinschen <corinna@vinschen.de>
3100
3101 * libc/include/sys/types.h: Don't define dev_t when compiling for
3102 Cygwin.
3103
ea55e3f7
JJ
31042002-05-31 Jeff Johnston <jjohnstn@redhat.com>
3105
3106 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
3107 make siglist.inc dependent on sig.c instead of signal.c.
3108 * libc/sys/linux/Makefile.in: Regenerated.
3109 * libc/sys/linux/sig.c: Rename from signal.c and change code to
3110 use NSIG instead of _NSIG.
3111 * libc/sys/linux/sigaction.c: New file.
3112 * libc/sys/linux/signal.c: Changed to be linux signal() function
3113 so as to override regular newlib default signal.c.
ea55e3f7
JJ
3114 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
3115 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
3116 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
3117 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
3118 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
3119 default linux sigset_t typedef by defining it equal to __sigset_t.
3120 * libc/unix/sigset.c: Add check so code isn't compiled on systems
3121 with a sigset_t that isn't implemented with a single int.
3122
9d362914
JJ
31232002-05-30 Jeff Johnston <jjohnstn@redhat.com>
3124
3125 * libc/sys/linux/Makefile.am: Add support for new files.
3126 * libc/sys/linux/Makefile.in: Regenerated.
3127 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
3128 * libc/sys/linux/signal.c: Change to use real-time syscalls for
3129 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
3130 it is in a separate file now.
3131 * libc/sys/linux/machine/i386/Makefile.am
3132 * libc/sys/linux/machine/i386/Makefile.in
3133 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
3134 * libc/sys/linux/sigaction.c: New file.
3135 * libc/sys/linux/sigqueue.c: Ditto.
3136 * libc/sys/linux/sigwait.c: Ditto.
3137 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
3138 * libc/sys/linux/kernel_sigaction.h: Ditto.
3139
b1f07180
JJ
31402002-05-28 Jeff Johnston <jjohnstn@redhat.com>
3141
3142 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
3143 tcsendbrk.c.
3144 * libc/sys/linux/Makefile.in: Regenerated.
3145 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
3146 tcgetpgrp(), and tcsetpgrp() functions.
3147 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
3148 to get __MAX_BAUD rate.
3149 * libc/sys/linux/machine/i386/include/termios.h: New file.
3150 * libc/include/machine/termios.h: Ditto.
3151 * libc/sys/linux/cfspeed.c: Ditto.
3152 * libc/sys/linux/tcsendbrk.c: Ditto.
3153
d29587b4
JJ
31542002-05-24 Jeff Johnston <jjohnstn@redhat.com>
3155
3156 * libc/include/string.h: Add strnlen and strerror_r prototypes.
3157 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
3158 * libc/string/Makefile.in: Regenerated.
3159 * libc/string/strerror_r.c: New file.
3160 * libc/string/strnlen.c: New file.
3161 * libc/sys/linux/Makefile.am: Add rename.c.
3162 * libc/sys/linux/Makefile.in: Regenerated.
3163 * libc/sys/linux/rename.c: New file to override default rename.
3164
9a292385
TF
31652002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3166
3167 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
3168 * libc/sys/linux/sys/time.h: Add conversion macros.
3169 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
3170 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
3171 * libc/sys/linux/gethostname.c: New file.
3172 * libc/sys/linux/seteuid.c: New file.
3173 * libc/sys/linux/sysctl.c: New file.
3174
7a364eb3
JJ
31752002-05-23 Jeff Johnston <jjohnstn@redhat.com>
3176
3177 * libc/string/Makefile.am: Add support for strsep.c.
3178 * libc/string/Makefile.in: Regenerated.
3179 * libc/string/strsep.c: New file.
3180 * libc/string/strtok.c: Change to call __strtok_r service routine.
3181 * libc/string/strtok_r.c: Add __strtok_r routine which takes
3182 additional flag parameter regarding whether to skip leading delimeters.
3183 Change strtok_r to call __strtok_r.
3184
164ee5b0
JJ
31852002-05-23 Gareth Pearce <tilps@hotmail.com>
3186
3187 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
3188 * libc/stdio/Makefile.in: Regenerated.
3189 * libc/stdio/setbuffer.c: New file.
3190 * libc/stdio/setlinebuf.c: New file.
3191
f6b2b567
JJ
31922002-05-23 Jeff Johnston <jjohnstn@redhat.com>
3193
3194 * libc/sys/linux/Makefile.am: Add resource.c.
3195 * libc/sys/linux/Makefile.in: Regenerated.
3196 * libc/sys/linux/resource.c: New file.
3197 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
3198 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
3199 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
3200 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
3201 are now found in libc/sys/linux/resource.c.
3202
afe56517
JJ
32032002-05-23 Jeff Johnston <jjohnstn@redhat.com>
3204
3205 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
3206 to use void * pointers and comply with Single Unix spec.
3207 * libc/string/bcmp.c: Change to use void * instead of char *.
3208 * libc/string/bcopy.c: Ditto.
3209 * libc/string/bzero.c: Ditto.
3210
7736feb2
JJ
32112002-05-22 Jeff Johnston <jjohnstn@redhat.com>
3212
3213 * libc/sys/linux/shm_open.c: New file.
3214 * libc/sys/linux/shm_unlink.c: Ditto.
3215 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
3216 shm_unlink.c.
3217 * libc/sys/linux/Makefile.in: Regenerated.
3218 * libc/sys/linux/sys/types.h: Add some additional checks to see
3219 if clock_t or time_t is already defined.
3220
19f111bd
JJ
32212002-05-22 Jeff Johnston <jjohnstn@redhat.com>
3222
3223 * Makefile.am: Don't pass $toollibdir down directly in
3224 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
3225 Pass it under the name: top_toollibdir.
3226 * Makefile.in: Regenerated.
3227
c811b1ee
CV
32282002-05-22 Corinna Vinschen <vinschen@redhat.com>
3229
3230 * libc/include/sys/types.h: Revert previous patch.
3231
2b43ad33
CV
32322002-05-22 Corinna Vinschen <vinschen@redhat.com>
3233
3234 * libc/include/sys/types.h: Include cygwin/types.h always under
3235 Cygwin, not only if _POSIX_THREADS is defined.
3236
dd671cde
TF
32372002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
3238
3239 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
3240
5e2cbfb6
JJ
32412002-05-17 Jeff Johnston <jjohnstn@redhat.com>
3242
3243 * Makefile.am: Copy and install headers from sys/machine/include
3244 directory. Also pass $toollibdir to lower-level directories.
3245 * Makefile.in: Regenerated.
3246 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
3247 stderr to use _REENT macro instead of _impure_ptr directly.
3248 * libc/include/sys/config.h[__i386__][__linux__]: Define
3249 __DYNAMIC_REENT__.
3250 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
3251 call to __getreent() function if !__SINGLE_THREAD__ and
3252 __DYNAMIC_REENT__ is set.
3253 * libc/reent/Makefile.am: Add support for getreent.c.
3254 * libc/reent/Makefile.in: Regenerated.
3255 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
3256 * libc/sys/linux/Makefile.am: Add support for new files.
3257 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
3258 * libc/sys/linux/Makefile.in: Regenerated.
3259 * libc/sys/linux/configure: Ditto.
3260 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
3261 __close, __read, __write, __poll, __open, __lseek, __fcntl from
3262 their __libc_ counterparts.
3263 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
3264 and weak-alias to regular names.
3265 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
3266 to pread64 and __pread64.
3267 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
3268 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
3269 weak-alias to pwrite64.
3270 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
3271 __libc_sched_getscheduler, __libc_sched_get_priority_max,
3272 __libc_sched_get_priority_min, and __libc_sched_setschedule to
3273 name with __ instead of __libc_.
3274 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
3275 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
3276 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
3277 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
3278 to raise.
3279 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
3280 __libc_send to __send.
3281 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
3282 __gettimeofday.
3283 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
3284 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
3285 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
3286 type and typedef __jmp_buf to jmp_buf.
3287 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
3288 setjmp.S.
3289 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
3290 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
3291 section.
3292 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
3293 prefix for function macros and then use weak_alias() to regular names.
3294 * libc/sys/linux/machine/i386/syscall.h: Ditto.
3295 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
3296 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
3297 to be flockfile() and funlockfile() respectively.
3298 * libc/sys/linux/sys/types.h
3299 * libc/reent/getreent.c: New file.
3300 * libc/sys/linux/flockfile.c: Ditto.
3301 * libc/sys/linux/funlockfile.c: Ditto.
3302 * libc/sys/linux/getreent.c: Ditto.
3303 * libc/sys/linux/pread.c: Ditto.
3304 * libc/sys/linux/pwrite.c: Ditto.
3305 * libc/sys/linux/raise.c: Ditto.
3306 * libc/sys/linux/system.c: Ditto.
3307 * libc/sys/linux/tcdrain.c: Ditto.
3308 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
3309 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
3310 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
3311 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
3312 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
3313
7fc85bd1
TF
33142002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
3315
3316 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
3317 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
3318 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
3319 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
3320
6935231f 3321Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
d7a2f413
JR
3322
3323 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6935231f
JR
3324 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
3325 exit point.
d7a2f413 3326
3a6cb01b
TF
33272002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
3328
a68fa571
TF
3329 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
3330 options when testing natively on i[3456]86-*-linux.
3331
3a6cb01b
TF
3332 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
3333 only one pass or fail per test file. Trim \r's from output
3334 values received from test programs. Remove support for named
3335 tests.
3336 * testsuite/newlib.locale/UTF-8.exp: Update to support new
3337 newlib_check_output behaviour.
3338 * testsuite/newlib.locale/UTF-8.c: Likewise.
3339
dc824ef7
JJ
33402002-05-15 Jeff Johnston <jjohnstn@redhat.com>
3341
3342 * libc/include/stdlib.h: Add on_exit prototype.
3343 * libc/include/sys/reent.h (struct _atexit): Add argument array
3344 and bits to track type of exit routine to support both on_exit
3345 and atexit.
3346 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
3347 by default and change the setting of the atexit structure.
3348 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
3349 * libc/stdlib/on_exit.c: New file.
3350 * libc/stdlib/Makefile.am: Add support for on_exit.
3351 * libc/stdlib/Makefile.in: Regenerated.
3352 * libc/stdlib/atexit.c: Change to initialize types field.
3353 * libc/stdlib/exit.c: Change to look at types field for each
3354 exit routine and either call an atexit-style or an on_exit-style
3355 routine accordingly.
3356
48d91b4a
JJ
33572002-05-13 Jeff Johnston <jjohnstn@redhat.com>
3358
3359 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
3360 allow v specifier with n or L specifiers. For vector c format,
3361 move tmp declaration to the top.
3362
024739eb
JJ
33632002-05-13 Jeff Johnston <jjohnstn@redhat.com>
3364
3365 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
3366 the original format specifier when looping for vectors to compensate
3367 for any changes made in vector %g format processing.
3368 Also add syntax checking for various invalid scenarios
3369 involving vector format extensions.
3370 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
3371 return code setting for vector formats. Also treat vector
3372 separator mismatch as a match error instead of an input error.
3373 Perform some syntax checking for vector formats.
3374
7d2ce898
TF
33752002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
3376
3377 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
3378 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
3379 * libc/string/strlcat.c: New file.
3380 * libc/string/strlcpy.c: New file.
3381
809b6ce7
JJ
33822002-05-10 Jeff Johnston <jjohnstn@redhat.com>
3383
3384 * libc/string/strchr.c: Fix comment typo.
3385
76490806
TF
33862002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
3387
0c048a9a
TF
3388 * acinclude.m4: Add support for --enable-newlib-multithread.
3389 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
3390 --enable-newlib-multithread=no.
3391
76490806
TF
3392 * libc/stdio/getc_u.c: New file.
3393 * libc/stdio/getchar_u.c: New file.
3394 * libc/stdio/putc_u.c: New file.
3395 * libc/stdio/putchar_u.c: New file.
3396 * libc/include/stdio.h: Add declarations for getc_unlocked,
3397 getchar_unlocked, putc_unlocked and putchar_unlocked.
3398 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
3399 (CHEWOUT_FILES): Add new files' .def's.
3400 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
3401
96bff22c
JR
3402Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
3403
3404 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
3405 Also handle as single quad word when destination ends at last
3406 byte of first quad word. Fix byte selection in single quad code.
3407
e71372fa
TF
34082002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
3409
3410 * libc/include/sys/stdio.h: New file.
3411 * libc/sys/linux/sys/stdio.h: New file.
3412 * libc/include/stdio.h: Add declarations for flockfile,
3413 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
3414 * libc/stdio/clearerr.c: Add file locking.
3415 * libc/stdio/fclose.c: Likewise.
3416 * libc/stdio/feof.c: Likewise.
3417 * libc/stdio/ferror.c: Likewise.
3418 * libc/stdio/fflush.c: Likewise.
3419 * libc/stdio/fgetc.c: Likewise.
3420 * libc/stdio/fgetpos.c: Likewise.
3421 * libc/stdio/fgets.c: Likewise.
3422 * libc/stdio/fileno.c: Likewise.
3423 * libc/stdio/fputc.c: Likewise.
3424 * libc/stdio/fputs.c: Likewise.
3425 * libc/stdio/fread.c: Likewise.
3426 * libc/stdio/freopen.c: Likewise.
3427 * libc/stdio/fseek.c: Likewise.
3428 * libc/stdio/ftell.c: Likewise.
3429 * libc/stdio/fwrite.c: Likewise.
3430 * libc/stdio/getc.c: Likewise.
3431 * libc/stdio/putc.c: Likewise.
3432 * libc/stdio/setvbuf.c: Likewise.
3433 * libc/stdio/ungetc.c: Likewise.
3434 * libc/stdio/vfprintf.c: Likewise.
3435
a03790e4
JJ
34362002-05-06 Jeff Johnston <jjohnstn@redhat.com>
3437
60b2107c
TF
3438 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
3439 support for 'p' format. Fix code to print bytes for vector
3440 integer formats that do not specify 'h' or 'l'.
3441 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
3442 for 'p' specifier. Fix code to scan 16 bytes for vector integer
3443 formats that do not specify 'h' or 'l'.
3444
3445 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
3446
9c7d6a9d
TF
34472002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
3448
3449 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
3450 (_sbrk): Add cast of return value.
3451
c33c3635
JJ
34522002-05-06 Jeff Johnston <jjohnstn@redhat.com>
3453
3454 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
3455 (_REENT_L64A_BUF): New macro for accessing area.
3456 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
3457 * libc/stdlib/Makefile.in: Regenerated.
3458 * libc/stdlib/a64l.c: New file.
3459 * libc/stdlib/l64a.c: New file.
3460
f78e59a8
JJ
34612002-05-06 Jeff Johnston <jjohnstn@redhat.com>
3462
3463 * libc/unix/pread.c: Fix typo for _pread_r.
3464 * libc/unix/pwrite.c: Fix type for _pwrite_r.
3465 * libc/sys/linux/pread64.c: Fix typo for read syscall.
3466 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
3467
4b3f6588
CF
34682002-05-03 Christopher Faylor <cgf@redhat.com>
3469
3470 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
3471
e911832c
TF
34722002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3473
3474 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
3475
0d0fdc8d
CF
34762002-05-01 Christopher Faylor <cgf@redhat.com>
3477
3478 * utmp.h: Define more UNIX constants.
3479
1e997c56
TF
34802002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
3481
0717f01c
TF
3482 * Makefile.am: Add support for checking multilibs.
3483
09841445
TF
3484 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
3485 (SUBDEFS): Add LIBC_EXTRA_DEF.
3486 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
3487 (LIBC_EXTRA_DEF): Likewise.
3488 (extra_dir): Likewise.
3489 * libc/machine/xscale/machine: New directory.
3490 * libc/machine/xscale/machine/profile.h: New file.
3491
1e997c56
TF
3492 * Makefile.am (site.exp): Remove newlib_cflags. Add
3493 multibuildtop.
3494 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
3495 * testsuite/lib/flags.exp: New file.
3496 * testsuite/lib/newlib.exp: Load flags.exp.
3497 (newlib_target_compile): Remove libgloss directory references.
3498 (newlib_init): Remove newlib_cflags references.
3499
4cf4f010
TF
35002002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
3501
f6bdb6f9
TF
3502 * testsuite/lib/newlib.exp (newlib_target_compile): Change
3503 method of finding libgloss_target_dir.
3504
4cf4f010
TF
3505 * Makefile.am (site.exp): Change host_alias, host_triplet,
3506 target_alias, target_triplet to refer to gcc's host and target
3507 variables (newlib's build and host variables).
3508 * testsuite/lib/newlib.exp (newlib_init): Change build
3509 references to host references, host references to target
3510 references to reflect Makefile.am changes.
3511 (newlib_target_compile): Likewise.
3512 (newlib_finish): Likewise.
3513
83096ae8
JJ
35142002-04-29 Jeff Johnston <jjohnstn@redhat.com>
3515
3516 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
3517
822afa53
JL
35182002-04-29 Jonathan Larmour <jlarmour@redhat.com>
3519
3520 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
3521 (_system): New function. Ditto.
3522 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
3523 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
3524 targets.
3525
29798f0d
JJ
35262002-04-29 Jeff Johnston <jjohnstn@redhat.com>
3527
3528 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
3529 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
3530 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
3531 * libc/sys/linux/Makefile.in: Regenerated.
3532 * libc/unix/Makefile.in: Ditto.
3533 * libc/sys/linux/pread64.c: New file.
3534 * libc/sys/linux/pwrite64.c: Ditto.
3535 * libc/unix/pread.c: Ditto.
3536 * libc/unix/pwrite.c: Ditto.
3537
557856bd
JJ
35382002-04-26 Jeff Johnston <jjohnstn@redhat.com>
3539
3540 * libc/sys/linux/Makefile.am: Add io64.c.
3541 * libc/sys/linux/Makefile.in: Regenerated.
3542 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
3543 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
3544 * libc/sys/linux/io64.c: New file.
3545
7b2b12d5
JJ
35462002-04-26 Jeff Johnston <jjohnstn@redhat.com>
3547
3548 * configure.in (CC_FOR_NEWLIB): New variable that
3549 bases on $(CC) and adds targ-include and libc/include as
3550 -isystem directives if they are not already part of $(CC).
3551 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
3552 $(CC_FOR_NEWLIB).
3553 * configure: Regenerated.
3554 * Makefile.in: Ditto.
3555
c62adacc
JJ
35562002-04-25 Jeff Johnston <jjohnstn@redhat.com>
3557
3558 * libc/sys/linux/Makefile.am: Add support for sched.c.
3559 * libc/sys/linux/Makefile.in: Regenerated.
3560 * libc/sys/linux/sched.c: New file.
3561 * libc/sys/linux/sys/types.h: Add struct timespec.
3562
217ad4a0
TF
35632002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
3564
3565 * configure.in (CC_FOR_BUILD): Set to gcc whether
3566 cross-compiling or not.
3567 (CC): Add -isystem's for targ-include and libc/include when they
3568 do not already appear in CC.
3569
eaa75b70
TF
35702002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3571
3572 * Makefile.am (check-DEJAGNU): New target.
3573 (site.exp): Likewise.
3574 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
3575 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
3576 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
3577 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
3578 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
3579 * testsuite: New directory.
3580 * testsuite/config: Likewise.
3581 * testsuite/lib: Likewise.
3582 * testsuite/newlib.locale: Likewise.
3583 * testsuite/newlib.string: Likewise.
3584 * testsuite/config/default.exp: New file.
3585 * testsuite/lib/checkoutput.exp: New file.
3586 * testsuite/lib/newlib.exp: New file.
3587 * testsuite/lib/passfail.exp: New file.
3588 * testsuite/newlib.locale/UTF-8.c: New file.
3589 * testsuite/newlib.locale/UTF-8.exp: New file.
3590 * testsuite/newlib.locale/locale.exp: New file.
3591 * testsuite/newlib.string/string.exp: New file.
3592 * testsuite/newlib.string/tstring.c: New file.
3593
b9f9f699
JJ
35942002-04-23 Jeff Johnston <jjohnstn@redhat.com>
3595
3596 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
3597 * libc/sys/linux/Makefile.am: Add support for mmap.c.
3598 * libc/sys/linux/Makefile.in: Regenerated.
3599 * libc/sys/linux/mmap.c: New file.
3600 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
3601 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
3602
7394edbb
TF
36032002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3604
3605 * acinclude.m4 (newlib_cflags): Remove include directories that
3606 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
3607
b9f9f699 36082002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
59be2290
JJ
3609
3610 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
3611 * libc/machine/xscale/memcmp.c: Ditto.
3612 * libc/machine/xscale/memcpy.c: Ditto.
3613 * libc/machine/xscale/memmove.c: Ditto.
3614 * libc/machine/xscale/memset.c: Ditto.
3615 * libc/machine/xscale/strchr.c: Ditto.
3616 * libc/machine/xscale/strcmp.c: Ditto.
3617 * libc/machine/xscale/strcpy.c: Ditto.
3618 * libc/machine/xscale/strlen.c: Ditto.
3619
2dd4c4dc
JJ
36202002-04-19 Alexandre Oliva <aoliva@redhat.com>
3621
3622 * libc/include/sys/config.h: Remove include of <limits.h>.
3623 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
3624 define INT_MAX and LONG_MAX. Use them in tests.
3625
0d844014
JJ
36262002-04-19 Jeff Johnston <jjohnstn@redhat.com>
3627
3628 * configure.host: Add support for powerpc-eabialtivec*.
3629 * libc/include/malloc.h: Add include of <machine/malloc.h>.
3630 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
3631 * libc/include/machine/malloc.h: New file.
3632 * libc/include/machine/stdlib.h: Ditto.
3633 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
3634 * libc/machine/powerpc/Makefile.am: Add conditional objects and
3635 sources based on configuration.
3636 * libc/machine/powerpc/Makefile.in: Regenerated.
3637 * libc/machine/powerpc/configure: Ditto.
3638 * libc/machine/powerpc/configure.in: Add check for
3639 powerpc-eabialtivec* in which case add in additional source files.
3640 * libc/machine/powerpc/setjmp.S: Add altivec support.
3641 * libc/machine/powerpc/vec_calloc.c: New file.
3642 * libc/machine/powerpc/vec_free.c: Ditto.
3643 * libc/machine/powerpc/vec_malloc.c: Ditto.
3644 * libc/machine/powerpc/vec_mallocr.c: Ditto.
3645 * libc/machine/powerpc/vec_realloc.c: Ditto.
3646 * libc/machine/powerpc/machine/malloc.h: Ditto.
3647 * libc/machine/powerpc/machine/stdlib.h: Ditto.
3648 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
3649 with added altivec format specifiers.
3650 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
3651 added altivec format specifiers.
3652
d413aadc
JS
36532002-04-19 Joel Sherrill <joel@OARcorp.com>
3654
3655 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
3656 while autoconf is trying to link main(){}.
3657
27193895
JJ
36582002-04-17 Jeff Johnston <jjohnstn@redhat.com>
3659
3660 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
3661 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
3662
10d00216
JJ
36632002-04-17 Jeff Johnston <jjohnstn@redhat.com>
3664
6b0f808e
JJ
3665 * libc/time/time.tex: Add tzset info.
3666
36672002-04-17 Jeff Johnston <jjohnstn@redhat.com>
3668
3669 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
3670 (strptime): Moved prototype to be within !__STRICT_ANSI__.
3671 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
3672 (tzname): Defined for all platforms.
3673 (daylight, timezone): Defined only for CYGWIN.
3674 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
3675 environment set up.
3676 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
3677 environment variable is set.
3678 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
3679 tzset_r.c.
3680 * libc/time/Makefile.in: Regenerated.
3681 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
3682 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
3683 * libc/time/lcltime_r.c (lcltime_r): Ditto.
3684 * libc/time/local.h: New local header file.
3685 * libc/time/mktime.c (mktime): Add timezone support.
3686 * libc/time/mktm_r.c: New file which is the common engine
3687 for gmtime_r and lcltime_r. This code has timezone support.
3688 * libc/time/strftime.c (strftime): Add %Z timezone support.
3689 * libc/time/tzlock.c: New file containing timezone lock stubs.
3690 * libc/time/tzset.c: New file containing tzset() routine.
3691 * libc/time/tzset_r.c: New file containing _tzset_r and
3692 internal routine for calculating timezone changes for specified year.
3693
36942002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
3695
3696 * configure.in (CRT0_DIR): Set to libc/.
3697 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
3698 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
3699 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
3700 $(CRT1_DIR)/$(CRT1).
3701 * libc/machine/xstormy16/Makefile.in: Regenerated.
3702 * libc/machine/xstormy16/aclocal.m4: Regenerated.
3703 * libc/machine/xstormy16/configure: Regenerated.
3704
37052002-04-13 Alexandre Oliva <aoliva@redhat.com>
3706
3707 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
3708 fails, don't bail out, and try to correct next time.
3709
3710 * libc/include/sys/config.h: Include limits.h.
3711
37122002-04-12 Eric Norum <eric.norum@usask.com>
3713
3714 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
3715 routine to allow autoconf to determine that building executables
3716 for rtems works.
3717 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
3718 (rtems_gxx_mutex_once): Ditto.
3719
37202002-04-09 Tom Rix <trix@redhat.com>
3721
3722 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
3723
37242002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
3725
3726 * libc/include/time.h: Fix strptime declaration.
3727 * libc/time/Makefile.am: Add strptime.c.
3728 * libc/time/Makefile.in: Regenerated.
3729 * libc/time/strptime.c: New file.
3730
37312002-04-08 Jeff Johnston <jjohnstn@redhat.com>
3732
3733 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
3734 siglongjmp prototype, and sigsetjmp macro definition.
3735 * libc/sys/linux/siglongjmp.c: New file.
3736 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
3737 * libc/sys/linux/Makefile.in: Regenerated.
3738
37392002-04-04 Jeff Johnston <jjohnstn@redhat.com>
3740
3741 * Makefile.am: Add support for installing crt1.o if one exists.
3742 * configure.host: Specify crt1.o for linux.
3743 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
3744 * Makefile.in: Regenerated.
3745 * configure: Ditto.
3746 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
3747 Added for non-Cygwin, non-RTEMS configurations.
3748 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
3749 * libc/sys/linux/Makefile.in: Regenerated.
3750 * libc/sys/linux/crt1.c: New empty file to override one defaulted
3751 by gcc. This fixes problem with reconfiguring linux newlib build.
3752 * libc/sys/linux/sysconf.c: New file.
3753
37542002-04-03 Jeff Johnston <jjohnstn@redhat.com>
3755
3756 * configure.host: Add support for machine subdirectory of
3757 sys subdirectory.
3758 * configure.in: Add check for sys machine subdirectory.
3759 * Makefile.am: Ditto.
3760 * configure: Regenerated.
3761 * Makefile.in: Ditto.
3762 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
3763 * libc/sys/linux/sys/syscall.h: Ditto.
3764 * libc/sys/linux/sleep.c: New file.
3765 * libc/sys/linux/socket.c: Ditto.
3766 * libc/sys/linux/sockops.h: Ditto.
3767 * libc/sys/linux/stack.c: Ditto.
3768 * libc/sys/linux/usleep.c: Ditto.
3769 * libc/sys/linux/machine/Makefile.am: Ditto.
3770 * libc/sys/linux/machine/Makefile.in: Ditto.
3771 * libc/sys/linux/machine/aclocal.m4: Ditto.
3772 * libc/sys/linux/machine/configure: Ditto.
3773 * libc/sys/linux/machine/configure.in: Ditto.
3774 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
3775 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
3776 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
3777 * libc/sys/linux/machine/i386/configure: Ditto.
3778 * libc/sys/linux/machine/i386/configure.in: Ditto.
3779 * libc/sys/linux/machine/i386/crt0.c: Ditto.
3780 * libc/sys/linux/machine/i386/sigset.c: Ditto.
3781 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
3782 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
3783 * libc/sys/linux/machine/i386/syscall.h: Ditto.
3784 * libc/sys/linux/sys/select.h: Ditto.
3785 * libc/sys/linux/configure.in: Add support for machine directory.
3786 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
3787 * libc/sys/linux/Makefile.in: Regenerated.
3788 * libc/sys/linux/configure: Ditto.
3789 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
3790 * libc/sys/linux/inode.c: Ditto.
3791 * libc/sys/linux/linux.c: Ditto.
3792 * libc/sys/linux/process.c: Ditto.
3793 * libc/sys/linux/systat.c: Ditto.
3794 * libc/sys/linux/time.c: Ditto.
3795 * libc/sys/linux/wait.c: Ditto.
3796 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
3797 * libc/sys/linux/io.c: Change header plus add readv/writev.
3798 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
3799 use __sigsuspend syscall.
3800 * libc/sys/linux/select.c: Change header plus change select to
3801 use _newselect syscall.
3802 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
3803 used by glibc header files.
3804 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
3805 types.
3806
38072002-04-01 Jeff Johnston <jjohnstn@redhat.com>
3808
3809 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
3810 initializing a struct _reent that has been dynamically allocated.
3811 (_REENT_CHECK_MISC): New macro that checks _misc struct for
3812 _REENT_SMALL and does nothing otherwise.
3813 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
3814 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
3815 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
3816 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
3817 [_REENT_SMALL](struct _misc_reent): New structure containing
3818 miscellaneous reentrant areas needed by newlib.
3819 [_REENT_SMALL](struct _reent): Add _misc pointer.
3820 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
3821 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
3822 and _REENT_STRTOK_LAST macros.
3823 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
3824 and _REENT_MBLEN_STATE macros.
3825 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
3826 and _REENT_MBTOWC_STATE macros.
3827 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
3828 and _REENT_WCTOMB_STATE macros.
3829
38302002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
3831
3832 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
3833
3834Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
3835
3836 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
3837
3838Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
3839
3840 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
3841 Store high part of leading bytes too.
3842
38432002-03-22 Richard Sandiford <rsandifo@redhat.com>
3844
3845 * libm/math/ef_hypot.c: Increase scale factor to 68.
3846
38472002-03-13 Alexandre Oliva <aoliva@redhat.com>
3848
3849 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
3850 error.
3851
38522002-03-12 Jeff Johnston <jjohnstn@redhat.com>
3853
3854 * libc/sys/go32/access.c: Change license to relaxed license
3855 used in identical file throughout newlib/libgloss.
3856
38572002-03-12 Richard Earnshaw <rearnsha@arm.com>
3858
3859 * libc/sys/arm/access.c: New file.
3860 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
3861 * libc/sys/arm/Makefile.in: Regenerate.
3862 * libc/sys/arm/syscalls.c (_stat): New function.
3863
38642002-03-11 Michael Meissner <meissner@redhat.com>
3865
3866 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
3867 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
3868 * libc/machine/mips/Makefile.in: Regenerate.
3869 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
3870 * libc/machine/mips/memset.c: Dito.
3871 * libc/machine/mips/strcmp.c: Dito.
3872 * libc/machine/mips/strlen.c: Dito.
3873 * libc/machine/mips/strncmp.c: Dito.
3874
38752002-03-06 Jeff Johnston <jjohnstn@redhat.com>
3876
3877 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
3878 object so it works for shared library or statici library.
38792002-04-17 Jeff Johnston <jjohnstn@redhat.com>
3880
10d00216
JJ
3881 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
3882 (strptime): Moved prototype to be within !__STRICT_ANSI__.
3883 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
3884 (tzname): Defined for all platforms.
3885 (daylight, timezone): Defined only for CYGWIN.
3886 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
3887 environment set up.
3888 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
3889 environment variable is set.
3890 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
3891 tzset_r.c.
3892 * libc/time/Makefile.in: Regenerated.
3893 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
3894 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
3895 * libc/time/lcltime_r.c (lcltime_r): Ditto.
3896 * libc/time/local.h: New local header file.
3897 * libc/time/mktime.c (mktime): Add timezone support.
3898 * libc/time/mktm_r.c: New file which is the common engine
3899 for gmtime_r and lcltime_r. This code has timezone support.
3900 * libc/time/strftime.c (strftime): Add %Z timezone support.
3901 * libc/time/tzlock.c: New file containing timezone lock stubs.
3902 * libc/time/tzset.c: New file containing tzset() routine.
3903 * libc/time/tzset_r.c: New file containing _tzset_r and
3904 internal routine for calculating timezone changes for specified year.
3905
5f1c13c6
TF
39062002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
3907
3908 * configure.in (CRT0_DIR): Set to libc/.
3909 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
3910 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
3911 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
3912 $(CRT1_DIR)/$(CRT1).
3913 * libc/machine/xstormy16/Makefile.in: Regenerated.
3914 * libc/machine/xstormy16/aclocal.m4: Regenerated.
3915 * libc/machine/xstormy16/configure: Regenerated.
3916
0cc261b1
AO
39172002-04-13 Alexandre Oliva <aoliva@redhat.com>
3918
2f3009bd
AO
3919 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
3920 fails, don't bail out, and try to correct next time.
3921
0cc261b1
AO
3922 * libc/include/sys/config.h: Include limits.h.
3923
26116455
JJ
39242002-04-12 Eric Norum <eric.norum@usask.com>
3925
3926 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
3927 routine to allow autoconf to determine that building executables
3928 for rtems works.
3929 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
3930 (rtems_gxx_mutex_once): Ditto.
3931
4608280d
TR
39322002-04-09 Tom Rix <trix@redhat.com>
3933
3934 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
3935
dea7e25c
JJ
39362002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
3937
3938 * libc/include/time.h: Fix strptime declaration.
3939 * libc/time/Makefile.am: Add strptime.c.
3940 * libc/time/Makefile.in: Regenerated.
3941 * libc/time/strptime.c: New file.
3942
c5ef1e95
JJ
39432002-04-08 Jeff Johnston <jjohnstn@redhat.com>
3944
3945 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
3946 siglongjmp prototype, and sigsetjmp macro definition.
3947 * libc/sys/linux/siglongjmp.c: New file.
3948 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
3949 * libc/sys/linux/Makefile.in: Regenerated.
3950
6e6cd5bd
JJ
39512002-04-04 Jeff Johnston <jjohnstn@redhat.com>
3952
3953 * Makefile.am: Add support for installing crt1.o if one exists.
3954 * configure.host: Specify crt1.o for linux.
3955 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
3956 * Makefile.in: Regenerated.
3957 * configure: Ditto.
3958 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
3959 Added for non-Cygwin, non-RTEMS configurations.
3960 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
3961 * libc/sys/linux/Makefile.in: Regenerated.
3962 * libc/sys/linux/crt1.c: New empty file to override one defaulted
3963 by gcc. This fixes problem with reconfiguring linux newlib build.
3964 * libc/sys/linux/sysconf.c: New file.
3965
fa4a16a1
JJ
39662002-04-03 Jeff Johnston <jjohnstn@redhat.com>
3967
3968 * configure.host: Add support for machine subdirectory of
3969 sys subdirectory.
3970 * configure.in: Add check for sys machine subdirectory.
3971 * Makefile.am: Ditto.
3972 * configure: Regenerated.
3973 * Makefile.in: Ditto.
3974 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
3975 * libc/sys/linux/sys/syscall.h: Ditto.
3976 * libc/sys/linux/sleep.c: New file.
3977 * libc/sys/linux/socket.c: Ditto.
3978 * libc/sys/linux/sockops.h: Ditto.
3979 * libc/sys/linux/stack.c: Ditto.
3980 * libc/sys/linux/usleep.c: Ditto.
3981 * libc/sys/linux/machine/Makefile.am: Ditto.
3982 * libc/sys/linux/machine/Makefile.in: Ditto.
3983 * libc/sys/linux/machine/aclocal.m4: Ditto.
3984 * libc/sys/linux/machine/configure: Ditto.
3985 * libc/sys/linux/machine/configure.in: Ditto.
3986 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
3987 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
3988 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
3989 * libc/sys/linux/machine/i386/configure: Ditto.
3990 * libc/sys/linux/machine/i386/configure.in: Ditto.
3991 * libc/sys/linux/machine/i386/crt0.c: Ditto.
3992 * libc/sys/linux/machine/i386/sigset.c: Ditto.
3993 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
3994 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
3995 * libc/sys/linux/machine/i386/syscall.h: Ditto.
3996 * libc/sys/linux/sys/select.h: Ditto.
3997 * libc/sys/linux/configure.in: Add support for machine directory.
3998 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
3999 * libc/sys/linux/Makefile.in: Regenerated.
4000 * libc/sys/linux/configure: Ditto.
4001 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
4002 * libc/sys/linux/inode.c: Ditto.
4003 * libc/sys/linux/linux.c: Ditto.
4004 * libc/sys/linux/process.c: Ditto.
4005 * libc/sys/linux/systat.c: Ditto.
4006 * libc/sys/linux/time.c: Ditto.
4007 * libc/sys/linux/wait.c: Ditto.
4008 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
4009 * libc/sys/linux/io.c: Change header plus add readv/writev.
4010 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
4011 use __sigsuspend syscall.
4012 * libc/sys/linux/select.c: Change header plus change select to
4013 use _newselect syscall.
4014 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
4015 used by glibc header files.
4016 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
4017 types.
4018
d4dca0e4
JJ
40192002-04-01 Jeff Johnston <jjohnstn@redhat.com>
4020
4021 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
4022 initializing a struct _reent that has been dynamically allocated.
4023 (_REENT_CHECK_MISC): New macro that checks _misc struct for
4024 _REENT_SMALL and does nothing otherwise.
4025 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
4026 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
4027 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
4028 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
4029 [_REENT_SMALL](struct _misc_reent): New structure containing
4030 miscellaneous reentrant areas needed by newlib.
4031 [_REENT_SMALL](struct _reent): Add _misc pointer.
4032 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
4033 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
4034 and _REENT_STRTOK_LAST macros.
4035 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
4036 and _REENT_MBLEN_STATE macros.
4037 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
4038 and _REENT_MBTOWC_STATE macros.
4039 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
4040 and _REENT_WCTOMB_STATE macros.
4041
54a7c6d2
JJ
40422002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
4043
4044 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
4045
c82479b1
CF
4046Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
4047
4048 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
4049
43ecf6e8
JR
4050Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
4051
4052 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
4053 Store high part of leading bytes too.
4054
a485d93f
RS
40552002-03-22 Richard Sandiford <rsandifo@redhat.com>
4056
4057 * libm/math/ef_hypot.c: Increase scale factor to 68.
4058
62a963ee
AO
40592002-03-13 Alexandre Oliva <aoliva@redhat.com>
4060
4061 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
4062 error.
4063
c53d8453
JJ
40642002-03-12 Jeff Johnston <jjohnstn@redhat.com>
4065
4066 * libc/sys/go32/access.c: Change license to relaxed license
4067 used in identical file throughout newlib/libgloss.
4068
d2a246ad
JJ
40692002-03-12 Richard Earnshaw <rearnsha@arm.com>
4070
4071 * libc/sys/arm/access.c: New file.
4072 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
4073 * libc/sys/arm/Makefile.in: Regenerate.
4074 * libc/sys/arm/syscalls.c (_stat): New function.
4075
eabb48d5
MM
40762002-03-11 Michael Meissner <meissner@redhat.com>
4077
4078 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
4079 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
4080 * libc/machine/mips/Makefile.in: Regenerate.
4081 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
4082 * libc/machine/mips/memset.c: Dito.
4083 * libc/machine/mips/strcmp.c: Dito.
4084 * libc/machine/mips/strlen.c: Dito.
4085 * libc/machine/mips/strncmp.c: Dito.
4086
2a606041
JJ
40872002-03-06 Jeff Johnston <jjohnstn@redhat.com>
4088
eabb48d5
MM
4089 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
4090 object so it works for shared library or statici library.
4091 * libc/machine/i386/Makefile.in: Regenerated.
2a606041 4092
55f26f11
JR
4093Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
4094
96bff22c
JR
4095 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
4096 Add memcpy.S, memset.S and strcpy.S.
4097 * libc/machine/sh/Makefile.in: Regenerate.
4098 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
55f26f11 4099 (SHHI, SHLO): Define.
96bff22c
JR
4100 * libc/machine/sh/memset.S: Add code for SH5.
4101 * libc/machine/sh/memset.S: Likewise.
4102 * libc/machine/sh/strcpy.S: Likewise.
55f26f11 4103
afecf2fa
JJ
41042002-02-27 Jeff Johnston <jjohnstn@redhat.com>
4105
4106 * configure.host: Add check for --disable-newlib-io-float
4107 configuration option and add -DNO_FLOATING_POINT to newlib cflags
4108 if appropriate.
4109 * acinclude.m4: Added --disable-newlib-io-float option.
4110 * aclocal.m4: Regenerated.
4111 * configure: Ditto.
4112 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
4113 * libc/*/aclocal.m4 libc/*/configure
4114 * libm/*/aclocal.m4 libm/*/configure: Ditto.
4115 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
4116 if NO_FLOATING_POINT flag is not defined.
4117
c1010a63
JJ
41182002-02-25 Jeff Johnston <jjohnstn@redhat.com>
4119
4120 * libc/include/sys/config.h: Add __extension__ in front of
4121 long long references.
4122
630c657e
CV
41232002-02-23 Corinna Vinschen <corinna@vinschen.de>
4124
4125 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
4126 (_stat): Ditto.
4127
59ee2e20
CV
41282002-02-23 Corinna Vinschen <corinna@vinschen.de>
4129
4130 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
4131 of off_t.
4132
2dd68dc2
NC
41332002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
4134
4135 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
4136 clobbered registers.
4137
55500bf1
TF
41382002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
4139
4140 * configure.host (newlib_cflags): When host is in m68* add
4141 -DCOMPACT_CTYPE.
4142
ba0173f0
JJ
41432002-02-15 Jeff Johnston <jjohnstn@redhat.com>
4144
4145 * libc/include/sys/config.h: Add definitions for
4146 __int16_t, __uint16_t, __int64_t, and __uint64_t.
4147
7b61d0c5
JJ
41482002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
4149
4150 * libc/sys/mmixware/link.c: New.
4151 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
4152 volatile.
4153 * libc/sys/mmixware/times.c (_times): Renamed from times.
4154 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
4155 properly by reading previous contents, not through BinaryReadWrite.
4156 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
4157 * libc/sys/mmixware/Makefile.in: Regenerate.
4158
a505db65
CV
41592002-02-10 Corinna Vinschen <corinna@vinschen.de>
4160
4161 * libc/include/grp.h: Don't declare group functions when compiling
4162 Cygwin.
4163
f3b39c45
CV
41642002-02-09 Corinna Vinschen <corinna@vinschen.de>
4165
4166 * libc/include/grp.h: Include Cygwin specific header.
4167 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
4168 when compiling for Cygwin.
4169 * libc/include/sys/types.h: Don't define off_t, uid_t
4170 and gid_t when compiling for Cygwin.
4171
82b3ac56
MG
41722002-02-08 matthew green <mrg@redhat.com>
4173
4174 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
4175 _REENT_EMERGENCY_SIZE, not sizeof(char *).
4176
9f25eed9
AO
41772002-02-08 Alexandre Oliva <aoliva@redhat.com>
4178
4179 Contribute sh64-elf.
4180 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
4181 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
4182 support in printf.
4183 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
4184 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
4185 any labels.
4186 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
4187 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
4188 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
4189 * libc/machine/sh/configure.in: Rework conditionals.
4190 * libc/machine/sh/Makefile.am: Likewise.
4191 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
4192 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
4193 * configure.host: Match `sh*'.
4194 * libc/include/machine/setjmp.h: Define for SH5.
4195 * libc/machine/sh/configure.in: Detect SH5.
4196 * libc/machine/sh/configure: Rebuilt.
4197 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
4198 * libc/machine/sh/Makefile.in: Rebuilt.
4199 * libc/machine/sh/asm.h: Adjust for SH5.
4200 * libc/machine/sh/setjmp.S: Implement in SHmedia.
4201 * libc/sys/sh/crt0.S: Likewise.
4202 * libc/sys/sh/trap.S: Likewise.
4203
a2a405ae
JJ
42042002-02-07 Jeff Johnston <jjohnstn@redhat.com>
4205
4206 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
4207 (mach_add_obj): Conditionally set to setjmp.o or nothing.
4208 (LIB_SOURCES): Remove $(mach_add_src).
4209 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
4210 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
4211 * libc/machine/i386/Makefile.in: Regenerate.
4212
27478365
JJ
42132002-02-05 Manik Raina <manik@cisco.com>
4214
994fa212 4215 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
27478365
JJ
4216 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
4217 s, p, k, and outstr.
4218 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
4219
815a37f7
JJ
42202002-02-04 Jeff Johnston <jjohnstn@redhat.com>
4221
4222 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
4223 _REENT_CHECK_EMERGENCY macro.
4224
a4139c12
MG
42252002-02-03 matthew green <mrg@redhat.com>
4226
4227 * libc/reent/signgam.c (__signgam): Fix error in previous.
4228
8195aff7
MG
42292002-02-02 matthew green <mrg@redhat.com>
4230
4231 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
4232
4233 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
4234 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
4235 * libc/include/sys/reent.h (struct _reent): Completely new version
4236 for _REENT_SMALL.
4237 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
4238 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
4239 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
4240 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
4241 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
4242 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
4243 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
4244 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
4245 (_REENT_EMERGENCY): Likewise.
4246
4247 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
4248 the start of the real __sFILE, used for stdin, stdout and stderr until
4249 they are setup properly.
4250 (struct __sFILE): Move location of _data in _REENT_SMALL case.
4251 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
4252 allocated stdin, stdout and stderr.
4253 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
4254 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
4255 * libc/stdio/perror.c (_perror_r): Likewise.
4256 * libc/stdio/printf.c (printf, _printf_r): Likewise.
4257 * libc/stdio/putchar.c (_putchar_r): Likewise.
4258 * libc/stdio/puts.c (_puts_r): Likewise.
4259 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
4260 * libc/stdio/vprintf.c (vprintf): Likewise.
4261 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
4262
4263 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
4264
4265 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
4266 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
4267 for _REENT_SMALL.
4268 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
4269 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
4270
4271 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
4272 _REENT_SMALL.
4273 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
4274 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
4275 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
4276 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
4277 * libc/stdlib/rand48.c (__dorand48): Likewise.
4278 * libc/stdlib/seed48.c (_seed48_r): Likewise.
4279 * libc/stdlib/srand48.c (_srand48_r): Likewise.
4280 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
4281 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
4282 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
4283 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
4284 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
4285 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
4286 * libc/stdlib/rand.c (rand): Likewise.
4287
4288 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
4289 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
4290
4291 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
4292 _REENT_MP_FREELIST() and _REENT_MP_P5S.
4293 * libc/include/sys/reent.h (struct _mprec): New structure.
4294
4295 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
4296 _unused_strtok_last.
4297 * libc/string/strtok.c (strtok): Use a local static variable.
4298
4299 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
4300 (_REENT_EMERGENCY_SIZE): Likewise.
4301 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
4302 _REENT_ASCTIME_BUF().
4303 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
4304 _REENT_TM().
4305
4306 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
4307 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
4308 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
4309 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
4310 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
4311 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
4312
9c2e7642
GK
43132002-02-01 Geoffrey Keating <geoffk@redhat.com>
4314
4315 * configure.host (xstormy16): Don't use the generic malloc.
4316 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
4317 * libc/machine/xstormy16/Makefile.in: Regenerate.
4318 * libc/machine/xstormy16/mallocr.c: New file.
4319 * libc/machine/xstormy16/tiny-malloc.c: New file.
4320
4bb6112f
TF
43212002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
4322
4323 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
4324 when _CYGWIN_TYPES_H is not defined.
4325
8d345552
TF
43262002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
4327
4328 * libc/include/sys/signal.h: Revert 2002-01-23 change.
4329
bcc49082
TF
43302002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
4331
4332 * libc/include/sys/signal.h: Remove pthread_kill declaration
4333 when __CYGWIN__ is defined.
4334
13baedeb
CF
43352002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
4336
4337 * libc/include/time.h: Add prototype for strptime for Cygwin.
4338
b2db0ebc
NC
43392002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
4340
ebf139fb
NC
4341 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
4342 dst was not word aligned.
4343
b2db0ebc
NC
4344 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
4345 if too much memory is requested.
4346
798c015d
JJ
43472002-01-11 Jeff Johnston <jjohnstn@redhat.com>
4348
4349 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
4350 reads blanks from the input file to break if EOF reached
4351 rather than end processing.
4352
46ad2ef4
JJ
43532002-01-07 Jeff Johnston <jjohnstn@redhat.com>
4354
4355 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
4356
86b06396
JJ
43572002-01-07 Alan Matsuoka <alanm@redhat.com>
4358
4359 * libc/include/machine/ieeefp.h: Configure d10v doubles to
4360 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
4361 libc/include/sys/config.h: Ditto.
4362
423d5064
CV
43632001-12-28 Corinna Vinschen <corinna@vinschen.de>
4364
4365 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
4366
f6eff1c0
GK
43672001-12-22 Geoffrey Keating <geoffk@redhat.com>
4368 Catherine Moore <clm@redhat.com>
4369 Richard Henderson <rth@redhat.com>
4370 Corinna Vinschen <vinschen@redhat.com>
4371
4372 * configure.host: Add support for xstormy16.
4373 * libc/include/machine/ieeefp.h: Add support for xstormy16.
4374 * libc/include/machine/setjmp.h: Add support for xstormy16.
4375 * libc/include/sys/config.h: Add support for xstormy16.
4376 * libc/machine/xstormy16/Makefile.am: New file.
4377 * libc/machine/xstormy16/Makefile.in: New file.
4378 * libc/machine/xstormy16/aclocal.m4: New file.
4379 * libc/machine/xstormy16/configure: New file.
4380 * libc/machine/xstormy16/configure.in: New file.
4381 * libc/machine/xstormy16/setjmp.S: New file.
4382
1f93c55f
TF
43832001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
4384
4385 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
4386 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
4387
13b918be
CV
43882001-12-19 Corinna Vinschen <corinna@vinschen.de>
4389
4390 * libm/machine/Makefile.am: Change rules to create correct lib.a.
4391 * libm/machine/Makefile.in: Regenerated through automake.
4392
08e857b4
TF
43932001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
4394
4395 * Makefile.am (DOCDIR): Force to empty string when doc
4396 directory is not present.
4397
60565ed6
TF
43982001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
4399
4400 * libc/machine/i386/f_*: Move to libm/machine/i386.
4401
44022001-12-18 Joel Sherrill <joel@OARcorp.com>
4403
4404 * libm/machine/Makefile.am: Add dummy doc stub so
4405 "make info" works.
4406
44072001-12-17 Joel Sherrill <joel@OARcorp.com>
4408
4409 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
4410
fc504135
TF
44112001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
4412
4413 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
4414 $(COMPILE) rather than $(CC).
4415 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
4416 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
4417 $(LIB_COMPILE) change.
4418 (vfiprintf.$(oext)): Likewise.
4419
efeae9a3
CV
44202001-12-17 Corinna Vinschen <vinschen@redhat.de>
4421
4422 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
4423 conditionalized including of getopt stuff.
4424
cdf7120d
TF
44252001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
4426
4427 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
4428 compile line.
f85be99c 4429 (vfiprintf.$(oext)): Likewise.
cdf7120d 4430
2e1a7175
TF
44312001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
4432
4433 * Makefile.shared: New file.
4434 * libc/sys/linux/shared.ld: New file.
4435 * libm/machine/*: New files.
4436 * libm/machine/i386/*: New files.
4437 * Makefile.am: Add libtool support. Change math and mathfp
4438 references to variables.
4439 * configure.host: Add variables for libtool support. Add
4440 libm_machine_dir variable.
4441 * configure.in: Add objectlist variables, for libtool
4442 support. Add CC_FOR_BUILD tests.
4443 * libc/Makefile.am: Add libtool support. Change crt0.o
4444 reference to be a variable reference.
4445 * libc/configure.in: Add libtool support. Change sublib
4446 names to be lib${subdir}.la when using libtool.
4447 * libc/ctype/Makefile.am: Add libtool support.
4448 * libc/errno/Makefile.am: Likewise.
4449 * libc/locale/Makefile.am: Likewise.
4450 * libc/machine/Makefile.am: Likewise.
4451 * libc/machine/configure.in: Likewise.
4452 * libc/machine/i386/Makefile.am: Likewise.
4453 * libc/machine/i386/configure.in: Likewise.
4454 * libc/misc/Makefile.am: Likewise.
4455 * libc/posix/Makefile.am: Likewise.
4456 * libc/reent/Makefile.am: Likewise.
4457 * libc/signal/Makefile.am: Likewise.
4458 * libc/stdio/Makefile.am: Likewise.
4459 * libc/stdlib/Makefile.am: Likewise.
4460 * libc/string/Makefile.am: Likewise.
4461 * libc/sys/Makefile.am: Likewise.
4462 * libc/sys/configure.in: Likewise.
4463 * libc/sys/linux/Makefile.am: Add libtool support. Change
4464 awk reference to a variable reference. Change signal.h
4465 reference to a variable reference.
4466 * libc/sys/linux/configure.in: Add libtool support.
4467 * libc/syscalls/Makefile.am: Likewise.
4468 * libc/time/Makefile.am: Likewise.
4469 * libc/unix/Makefile.am: Likewise.
4470 * libm/Makefile.am: Add libtool support. Change math and
4471 mathfp references to variables.
4472 * libm/configure.in: Add libtool support. Add
4473 LIBM_MACHINE_LIB variable.
4474 * libm/common/Makefile.am: Add libtool support.
4475 * libm/math/Makefile.am: Likewise.
4476 * libm/mathfp/Makefile.am: Likewise.
4477 Regenerate all Makefile.in, aclocal.m4, and configure.
4478
b92591a1
JJ
44792001-12-13 Anita Kulkarni <anitak@kpit.com>
4480
4481 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
4482
355b664e
CF
44832001-12-06 John Peacock <jpeacock@rowman.com>
4484
4485 * libc/include/sys/unistd.h: Correct ualarm declaration.
4486
e9853806
NC
44872001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
4488
4489 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
4490 vector before calling the initialisation functions.
4491
a8e091b0
CF
44922001-11-29 Christopher Faylor <cgf@redhat.com>
4493
4494 * libc/include/dirent.h: Protect against multiple inclusion.
4495
ab634123
CF
44962001-11-27 Christopher Faylor <cgf@redhat.com>
4497
4498 * libc/include/sys/types.h: Define useconds_t.
4499 * libc/include/sys/ulimit.h: Declare ualarm.
4500
d37e401e
CF
45012001-11-21 Christopher Faylor <cgf@redhat.com>
4502
4503 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
4504
8ac90051
HPN
45052001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
4506
4507 * libc/sys/mmixware/*: Tweak license header in all source files.
4508
d7ca37e4
CV
45092001-11-12 Corinna Vinschen <vinschen@redhat.com>
4510
4511 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
4512 to here. Rearrange for general inclusion by stdlib.h.
4513 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
4514 isn't defined.
4515 * libc/sys/linux/include/alloca.h: Move to libc/include.
4516
28f8744e
AG
45172001-11-12 Anthony Green <green@redhat.com>
4518
4519 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
4520
4cede8c4
HPN
45212001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
4522
4523 * libc/sys/mmixware/*: Correct spacing in all source files.
4524 * libc/sys/mmixware/syscall.h: Move misplaced file...
4525 * libc/sys/mmixware/sys/syscall.h: ...here.
4526
8be9b48b
JJ
45272001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
4528
4529 * libc/include/machine/ieeefp.h: Add support for mmix target.
4530 * libc/include/machine/setjmp.h: Ditto.
4531 * configure.host: Ditto.
4532 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
4533 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
4534 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
4535 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
4536 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
4537 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
4538 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
4539 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
4540 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
4541 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
4542 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
4543 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
4544 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
4545 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
4546 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
4547 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
4548 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
4549 libc/sys/mmixware/aclocal.m4: Generate.
4550
c7dd4f95
CV
45512001-11-05 Corinna Vinschen <corinna@vinschen.de>
4552
4553 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
4554 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
4555 when __CYGWIN__ is defined.
4556 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
4557 logwtmp().
4558
a6a6f9fe
JJ
45592001-11-01 Arati Dikey <aratidikey@hotmail.com>
4560
4561 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
4562 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
4563 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
4564 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
4565
d0504c35
JJ
45662001-10-24 Christopher Faylor <cgf@redhat.com>
4567
4568 * libc/stdio/fseek.c: Reset pointer to buffer base
4569 when forced to seek outside of current buffer contents.
4570 This prevents the code from erroneously thinking there is
4571 anything in the current buffer.
4572
0280c8c0
GK
45732001-10-22 Geoffrey Keating <geoffk@redhat.com>
4574
4575 * libc/include/math.h: The C++ standard adds the single-precision
4576 versions of the elementary functions.
4577
333d6098
CF
45782001-10-22 Christopher Faylor <cgf@redhat.com>
4579
4580 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
4581 throughout.
4582 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
4583 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
4584 * system.c (_system_r): Ditto.
4585
c7118319
CV
45862001-10-17 Corinna Vinschen <corinna@vinschen.de>
4587
4588 * libc/include/sys/unistd.h: Add prototype for fchdir() when
b4e98df6 4589 __CYGWIN__ or __rtems__ is defined.
c7118319 4590
5665b0e1
JJ
45912001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
4592
4593 * libc/include/stdlib.h: add declarations for
4594 _strtoull_r, _strtoll_r, strtoull, and strtoll.
4595 * libc/stdio/local.h: remove declarations of
4596 __strtoull_r and __strtoll_r.
4597 * libc/stdio/vfscanf.c(__svfscanf_r): call
4598 _strtoull_r instead of __strtoull_r. Ditto
4599 _strtoll_r vs. __strtoll_r.
4600 * libc/stdlib/Makefile.am: add new files to
4601 .c list and .def list
4602 * libc/stdlib/Makefile.in: regenerate
4603 * libc/stdlib/strtoll_r.c: rename __strtoll_r
4604 as _strtoll_r
4605 * libc/stdlib/strtoull_r.c: rename __strtoull_r
4606 as _strtoull_r
4607 * libc/stdlib/strtoull.c: new file
4608 * libc/stdlib/strtoll.c: new file
4609
d2d5eb41
CF
4610Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
4611
4612 * libc/include/process.h: Add getpid() declaration.
4613
448e3c14
NC
46142001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
4615
4616 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
4617 for new style arm/elf ctor/dtor handling.
4618 Minor formatting tidy up.
4619
7a2afbbb
JJ
46202001-09-13 Jeff Johnston <jjohnstn@redhat.com>
4621
4622 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
4623 and strtoull_r.c.
4624 * libc/stdlib/Makefile.in: Regenerated.
4625 * libc/stdlib/strtoll_r.c: New file.
4626 * libc/stdlib/strtoull_r.c: New file.
4627 * libc/stdio/local.h: Add prototypes for long long string
4628 conversion routines.
4629 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
4630 tied to %L integer conversion specifier.
4631
6342caa4
JJ
4632Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
4633
4634 * strftime.c (strftime): Fix "%W" implementation to properly handle
4635 Mondays too.
4636
b2d319cb
JJ
46372001-09-07 Jeff Law <law@redhat.com>
4638
4639 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
4640 __fini with "mov.l" instead of "mov.w".
4641
233823ba
CV
46422001-09-05 Corinna Vinschen <corinna@vinschen.de>
4643
4644 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
4645 and getopt.h.
4646
63c17b54
JJ
46472001-09-04 Jason Merrill <jason_merrill@redhat.com>
4648
4649 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
4650
a3e67ddf
CV
46512001-09-03 Corinna Vinschen <corinna@vinschen.de>
4652
4653 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
4654 field.
4655 (__DIRENT_VERSION): New define.
4656
6d47f33a
CV
46572001-09-03 Corinna Vinschen <corinna@vinschen.de>
4658
4659 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4f79e37e
CV
4660 Shrink __d_reserved accordingly to keep structure size.
4661 (dirfd): Declare external.
6d47f33a 4662
348c5e06
JJ
46632001-08-29 Joel Sherrill <joel@OARcorp.com>
4664
4665 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
4666
46672001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
4668
4669 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
4670 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
4671 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
4672 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
4673 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
4674 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
4675 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
4676 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
4677 Add conditional compilation to avoid HW FPU instructions
4678 when compiled for soft-float.
4679
f29865c5
JJ
46802001-08-29 Jeff Johnston <jjohnstn@redhat.com>
4681
4682 * Makefile.am: Add check for ln failing when creating libg.a
4683 so that cp gets used as a backup.
4684 * Makefile.in: Regenerated.
4685
9e2a4ef8
JJ
46862001-08-29 Jeff Johnston <jjohnstn@redhat.com>
4687
4688 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
4689 No longer include time.h. Add struct __tm to use for
4690 _localtime_buf in the reentrant structure. Add a
4691 _NULL definition to use in initializing the reentrant struct.
4692 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
4693 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
4694 <sys/_types.h>.
4695 * libc/include/sys/unistd.h: Include <sys/_types.h>.
4696 * libc/time/lcltime.c (localtime): Cast the reentrant struct
4697 _localtime_buf to be struct tm *.
4698
1ae900d6
JR
4699Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
4700
4701 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
4702 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
4703 __ctors_end.
4704 * libc/sys/h8300hms/syscalls.c: Include errno.h.
4705 (_unlink): New stub function.
4706
8e26d5b5
CF
4707Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
4708
4709 * libc/include/sys/errno.h: Add a cautionary comment.
4710
e8267664
JJ
47112001-08-21 Jeff Johnston <jjohnstn@redhat.com>
4712
4713 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
4714 for SIZE_SZ so that alignment ends up a minimum of 8.
4715
4acf3edf
CF
4716Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
4717
4718 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
4719 arguments.
4720
4721 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
4722 Cygwin.
4723
52c80be8
JJ
47242001-08-13 Jeff Johnston <jjohnstn@redhat.com>
4725
4726 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
4727 macro constants for mallopt options.
4728 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
4729
a7061f7f
JJ
47302001-08-02 Jeff Johnston <jjohnstn@redhat.com>
4731
4732 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
4733 otherwise default.
4734
0b4bfdd5
AH
47352001-07-12 Aldy Hernandez <aldyh@redhat.com>
4736
4737 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
4738
2b6b730c
NC
47392001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
4740
4741 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
4742 Define for little endian ARMs.
4743
4744 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
4745 __IEEE_BYTES_LITTLE_ENDIAN is defined.
4746
25842b68
JJ
47472001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
4748
4749 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
4750
371b76ef
JJ
47512001-06-11 Egor Duda <deo@logos-m.ru>
4752
4753 * libc/ctype/ctype_.c: When compiled with gcc on platforms
4754 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
4755 initialized memory region. Platform can define COMPACT_CTYPE
4756 to avoid allocation of the additional 128 bytes of data.
4757 Add pointer to _ctype_ array. Always initialize all _ctype_
4758 array elements.
4759
43b44bc5
JL
47602001-06-08 Jonathan Larmour <jlarmour@redhat.com>
4761
4762 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
4763 NULL pointer.
4764
188bc140
NC
47652001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
4766
4767 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
4768
2ce88418
NC
47692001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
4770
4771 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
4772 matching, non-word alignment, and the length is <= 4 but more than
4773 enough to move them over a word boundary.
4774 Add comments explaining what each instruction does.
4775
ca60ed47
CF
4776Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
4777
4778 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
c63e9997 4779 * libc/include/sys/unistd.h: Ditto.
ca60ed47 4780
8b3bcfba
JJ
47812001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
4782
4783 * libc/string/strrchr.c: Use strchr for the speed improvements.
4784
b09e3cf8
JJ
47852001-05-01 Jeff Johnston <jjohnstn@redhat.com>
4786
4787 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
4788 real file systems, let __smakebuf() determine if line buffering
4789 should be used for stdout.
4790
0ca66974
JJ
47912001-04-27 Jeff Johnston <jjohnstn@redhat.com>
4792
4793 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
4794
7cb7017a
JJ
47952001-04-27 Jeff Johnston <jjohnstn@redhat.com>
4796
4797 * libc/include/stdlib.h: Add prototype for _strtod_r.
4798
a874cd21
JJ
47992001-04-24 Charles Wilson <cwilson@ece.gatech.edu
4800
4801 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
4802 * libc/stdio/vprintf.c (_vprintf_r): new function
4803 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
4804 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
4805 _DEFUN, and call _vfprintf_r, not vfprintf.
4806 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
4807 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
4808 _DEFUN, and call _vfprintf_r, not vfprintf.
4809
cb4cc283
CF
48102001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
4811
4812 * libc/include/sys/unistd.h [X_OK]: Use better protection against
4813 Cygwin X_OK definitions in sys/file.h.
4814
8c9df1d5
CF
4815Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
4816
4817 * libc/include/sys/time.h: Define timercmp and other macros for
4818 __CYGWIN__, too.
4819
3ac6f3a7
JJ
48202001-04-20 Jeff Johnston <jjohnstn@redhat.com>
4821
4822 * acinclude.m4: Added --enable-malloc-debugging configure flag.
4823 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
4824 --enable-malloc-debugging selected.
4825 * aclocal.m4 configure: Regenerated.
4826 libm/aclocal.m4 libm/configure: Ditto.
4827 * libc/aclocal.m4 libc/configure: Ditto.
4828 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
4829 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
4830 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
4831 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
4832 * doc/aclocal.m4 doc/configure: Ditto.
4833
52cb9e69
JJ
48342001-04-20 Jeff Johnston <jjohnstn@redhat.com>
4835
4836 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
4837 into one list.
4838 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
4839 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
4840 function prototypes.
4841 (_fscanf_r, _sscanf_r): Ditto.
4842 * libc/include/stdlib.h: Added _strtod_r prototype.
4843 * libc/stdio/Makefile.am: Add new v*scanf functions.
4844 * libc/stdio/Makefile.in: Regenerate.
4845 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
4846 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
4847 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
4848 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
4849 (sscanf): Changed to call __svfscanf_r with _REENT argument.
4850 (_sscanf_r): New routine.
4851 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
4852 with __svfscanf_r prototype.
4853 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
4854 routines.
4855 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
4856 structure as argument as calls reentrant versions of helper functions
4857 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
4858 to _strtol_r and _strtod_r respectively.
4859 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
4860 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
4861 _REENT argument.
4862 * libc/stdio/vscanf.c: New file.
4863 * libc/stdio/vsscanf.c: Ditto.
4864
ee9f39fb
JJ
48652001-04-19 Robert Collins <rbtcollins@hotmail.com>
4866
4867 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
4868 Define daylight to _daylight if it is not defined
4869 Prepare a variable export of timezone based on timezonevariable.
4870 (Cannot be used with the timezone() function.)
4871
273861e3
JJ
48722001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
4873
4874 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
4875 Correct the numerical values.
4876
a25b8414
CF
48772001-04-13 Robert Collins <rbtcollins@hotmail.com>
4878
4879 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
4880
b8a8c59d
CV
4881Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
4882
4883 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
4884 on case insensitve file systems.
4885
74f8cc63
CF
48862001-04-12 Robert Collins <rbtcollins@hotmail.com>
4887
4888 * libc/include/sys/features.h: Add appropriate defines for Cygwin
4889 pthread support.
4890 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
4891 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
4892 types. Include <cygwin/types.h> for the cygwin specific typedefs.
4893
16740220
RS
48942001-04-04 Richard Sandiford <rsandifo@redhat.com>
4895
4896 * libc/include/machine/ieeefp.h: Comment about new configuration
4897 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
4898 * libm/common/fdlib.h: Define new macros for testing floats.
4899 * libm/common/sf_*: Use them.
4900 * libm/math/ef_*: Likewise.
4901 * libm/math/sf_*: Likewise.
4902
0694d8d3
JJ
49032001-03-29 Jeff Johnston <jjohnstn@redhat.com>
4904
4905 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
4906 prolog to by-pass possible assembler error.
4907
4833b38c
JJ
49082001-03-21 Egor Duda <deo@logos-m.ru>
4909
4910 Allow building internal stubs for non-reentrant syscalls
4911 if target provides its own malloc
4912 * libc/reent/reent.c (errno): Move definition here.
4913 * libc/reent/sbrkr.c: From here.
4914
d17d6d42
CF
49152001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
4916
4917 * libc/include/sys/types.h (BSD int typedefs): Guard with
4918 _BSDTYPES_DEFINED rather than _WINSOCK_H.
4919 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
4920 _SYS_TYPES_FD_SET.
4921 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
4922 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
4923
c7ee75cd
CV
4924Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
4925
4926 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
4927 _PC_POSIX_SECURITY constants for Cygwin.
4928
63dc5d80
CV
4929Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
4930
4931 * libc/sys/cygwin/crt0.c: Add copyright hint.
4932 * libc/sys/cygwin/sys/dirent.h: Ditto.
4933 * libc/sys/cygwin/sys/param.h: Ditto.
4934 * libc/sys/cygwin/sys/utime.h: Ditto.
4935 * libc/sys/cygwin/sys/utmp.h: Ditto.
4936
6f637037
AO
49372001-03-13 Alexandre Oliva <aoliva@redhat.com>
4938
4939 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
4940 equivalent to LONGINT.
4941
e69b6f73
JJ
49422001-03-08 Richard Sandiford <rsandifo@redhat.com>
4943
4944 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
4945 jmpbuf on MIPS64 targets.
4946 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
4947
6198dece
CF
4948Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
4949
e69b6f73
JJ
4950 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
4951 declarations.
6198dece 4952
cfc05d96
JJ
4953Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
4954
4955 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
4956 For RTEMS, define to be ssize_t. Default to int if not defined.
4957 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
4958 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
4959 * libc/stdio/local.h (__sread, __swrite): Likewise.
4960 * libc/include/sys/reent.h (_read, _write): Likewise.
4961 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
4962 * libc/syscalls/sysread.c (read): Likewise.
4963 * libc/syscalls/syswrite.c (write): Likewise.
4964
6249353a
JJ
49652001-03-05 Jeff Johnston <jjohnstn@redhat.com>
4966
4967 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
4968
658b5db9
CF
4969Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
4970
4971 * libc/include/sys/stat.h: Use special defines for executable stat bits
4972 when compiling for Cygwin.
4973 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
4974 for Cygwin.
4975
19ca46d5
JJ
49762001-03-02 Jeff Johnston <jjohnstn@redhat.com>
4977
4978 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
4979 of strtok_r is always defined.
4980
b73ed85e
JJ
49812001-03-02 Jeff Johnston <jjohnstn@redhat.com>
4982
4983 * libc/include/machine/ansi.h: New dummy header file.
4984
ee37ede1
JJ
49852001-02-22 Jeff Johnston <jjohnstn@redhat.com>
4986
4987 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
4988 changed the copyright information to allow free modification of the
4989 file with no reference to "copying.dj".
4990 * libc/include/sys/stat-dj.h: Ditto.
4991 * libc/machine/i386/setjmp.S: Ditto.
4992 * libc/sys/h8300hms/sys/file.h: Ditto.
4993 * libc/sys/sysmec/access.c: Ditto.
4994 * libc/sys/sysnecv850/access.c: Ditto.
4995 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
4996 * libc/stdlib/getenv_r.c: Ditto.
4997 * libc/stdlib/putenv_r.c: Ditto.
4998 * libc/stdlib/setenv_r.c: Ditto.
4999 * libc/stdlib/getenv.c: Removed DJ reference since any possible
5000 modifications will now be in the _r version of this file.
5001 * libc/stdlib/putenv.c: Ditto.
5002 * libc/stdlib/setenv.c: Ditto.
5003 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
5004 valid. Added a reference to DJ's web page that contains his address.
5005 * libc/sys/go32/*.s: Removed references to DJ's old address.
5006 * libc/sys/go32/*.c: Ditto.
5007 * libc/sys/go32/*.h: Ditto.
5008 * libc/sys/go32/*.S: Ditto.
5009 * libc/sys/go32/sys/*.h: Ditto.
5010
3a8fc0e4
JJ
50112001-02-21 Jeff Johnston <jjohnstn@redhat.com>
5012
5013 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
5014 HAVE_FCNTL flag check.
5015 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
5016 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
5017
b24ee749
CF
5018Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
5019
5020 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
5021
ab4745dc
JJ
50222001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
5023
5024 * libc/include/stdlib.h: Add declarations of rand48 functions and
5025 their reentrant versions.
5026 * libc/include/sys/reent.h: Move macros from rand48.h. Add
5027 struct _rand48 for shared parameters of rand48 functions.
5028 (struct _reent): Add a variable _r48 of struct _rand48.
5029 (_REENT_INIT): Add _r48 initialization.
5030 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
5031 (CHEWOUT_FILES): Add rand48.def.
5032 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
5033 * libc/stdlib/Makefile.in: Regenerated.
5034 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
5035 NetBSD C library.
5036 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
5037 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
5038 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
5039 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
5040 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
5041 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
5042 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
5043 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
5044 * libc/stdlib/rand48.c (__dorand48): Ditto.
5045 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
5046 parameters into macros referring them in the reentrant structure.
5047
a34c461f
JJ
50482001-02-12 Jeff Johnston <jjohnstn@redhat.com>
5049
5050 * libc/include/sys/stat.h: Add mknod for Cygwin now that
5051 Cygwin definition has correct prototype.
5052
34f31ff2
JJ
50532001-02-08 Jeff Johnston <jjohnstn@redhat.com>
5054
5055 * libc/include/sys/stat.h: Must revert change for mknod
5056 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
5057 prototype.
5058
5336d6de
JJ
50592001-02-08 Jeff Johnston <jjohnstn@redhat.com>
5060
5061 * libc/include/stdio.h: Revert putw prototype.
5062
8915d10a
JJ
50632001-02-08 Edward M. Lee <tailbert@yahoo.com>
5064
5065 * libc/include/grp.h: add prototype for initgroups.
5066 * libc/include/stdio.h: fix prototype for putw.
5067 * libc/include/sys/signal.h: add prototype for killpg.
5068 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
5069 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
5070 vhangup and remove duplicate sysconf prototype.
5071
93ac4487
JJ
50722001-02-07 Jeff Johnston <jjohnstn@redhat.com>
5073
5074 * libc/sys/rtems/sys/types.h: Removed.
5075
31f5feea
JJ
50762001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
5077
5078 * libc/include/locale.h: add LC_MESSAGES definition
5079
b5139f59
AO
50802001-02-01 Alexandre Oliva <aoliva@redhat.com>
5081
5082 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
5083 SYS_get_argN):
5084 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
5085 __setup_argv_and_call_main): New.
5086
e29d8355
JJ
50872001-01-31 Jeff Johnston <jjohnstn@redhat.com>
5088
5089 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
5090 if defined.
5091 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
5092 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
5093 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
5094 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
5095
82ea92f3
CF
5096Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
5097
5098 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
5099 compiling under Cygwin.
5100
3aaa66f8
JJ
51012001-01-29 Jeff Johnston <jjohnstn@redhat.com>
5102
5103 * libc/include/math.h (signgam): Change to errno-like solution
5104 using a function to return the address of the real signgam.
5105 * libc/reent/signgam.c: New file containing __signgam().
5106 * libc/reent/Makefile.am: Added signgam.c to list of files.
5107 * libc/reent/Makefile.in: Regenerated.
5108
610b895a
AO
51092001-01-25 Alexandre Oliva <aoliva@redhat.com>
5110
b0913397
AO
5111 * libc/sys/sh/syscalls.c (_times): New.
5112
610b895a
AO
5113 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
5114 * libc/sys/sh/syscalls.c (_gettimeofday): New.
5115
3643210e
JJ
51162001-01-23 Jeff Johnston <jjohnstn@redhat.com>
5117
5118 * libc/include/math.h (signgam): Regress previous fix as
5119 it does not handle programs with extern int signgam in them.
5120
841081c9
JJ
51212001-01-23 Jeff Johnston <jjohnstn@redhat.com>
5122
5123 * libc/include/math.h (signgam): Changed to a macro refering to
5124 its location in the reentrant structure.
5125
e9cd87b8
JJ
51262001-01-23 Jeff Johnston <jjohnstn@redhat.com>
5127
5128 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
5129 that suppressed . for %.0f, 0.1. Check now looks if there
5130 are padding zeroes (expt) in addition to any digits (ndig) to
5131 print.
5132
a302b48c
JJ
51332001-01-18 Jeff Johnston <jjohnstn@redhat.com>
5134
5135 * libc/sys/arc/Makefile.am: New file.
5136 * libc/sys/arc/Makefile.in: Ditto.
5137 * libc/sys/arc/aclocal.m4: Ditto.
5138 * libc/sys/arc/configure: Ditto.
5139 * libc/sys/arc/configure.in: Ditto.
5140 * libc/sys/arc/crt0.S: Ditto.
5141 * libc/sys/arc/isatty.c: Ditto.
5142 * libc/sys/arc/mem-layout.c: Ditto.
5143 * libc/sys/arc/sbrk.c: Ditto.
5144 * libc/sys/arc/syscalls.c: Ditto.
5145 * libc/sys/arc/sys/syscall.h: Ditto.
5146
d0319c3b
CF
5147Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
5148
5149 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
5150
e45ab890
CF
5151Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
5152
5153 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
5154
1376245a
DD
5155Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
5156
5157 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
5158
92b57543
NC
51592001-01-09 Nick Clifton <nickc@redhat.com>
5160
5161 * configure.host (v859): Remove unsupported compiler options.
5162
7d6d33d4
JJ
5163Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
5164
5165 * src/newlib/configure.host (*-*-rtems*): add printf long long
5166 support for RTEMS.
5167
602f8b5a 51682000-12-19 Graham Stott <grahams@redhat.com>
6286746a
NC
5169
5170 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
5171
9c2b8183
JJ
5172Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
5173
5174 * configure.host: Turn on long double I/O for Cygwin.
5175
804368d3
JJ
5176Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
5177
5178 * MAINTAINERS: Removed Ranjith.
5179 * NEWS: Updated for 1.9.0.
5180 * README: Updated.
5181 * acinclude.m4: Updated to release 1.9.0.
5182 * aclocal.m4 configure
5183 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
5184 libc/machine/aclocal.m4 libc/machine/configure
5185 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
5186 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
5187 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
5188 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
5189 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
5190 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
5191 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
5192 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
5193 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
5194 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
5195 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
5196 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
5197 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
5198 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
5199 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
5200 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
5201 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
5202 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
5203 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
5204 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
5205 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
5206 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
5207 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
5208 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
5209 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
5210 libc/sys/aclocal.m4 libc/sys/configure
5211 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
5212 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
5213 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
5214 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
5215 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
5216 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
5217 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
5218 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
5219 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
5220 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
5221 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
5222 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
5223 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
5224 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
5225 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
5226 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
5227 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
5228 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
5229 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
5230 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
5231 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
5232 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
5233 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
5234 libm/aclocal.m4 libm/configure: Regenerated.
5235
0985d43f
CV
5236Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
5237
5238 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
5239 when __CYGWIN__ is defined.
5240
b6182a09
JJ
52412000-12-13 Jeff Johnston <jjohnstn@redhat.com>
5242
5243 * libc/stdlib/ldtoa.c (_ldcheck): New routine
5244 that categorizes a long double as NaN, Infinity, or other.
5245 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
5246 isinfl and isnanl static routines which were i386-specific. Changed
5247 calls to the two removed routines to a single _ldcheck call.
5248 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
5249
adbbb034
JJ
52502000-12-13 Jeff Johnston <jjohnstn@redhat.com>
5251
5252 * Makefile.am: Fixed install-data-local target to use
5253 $(mkinstalldirs) for the installed header files to ensure
5254 the directories exist before copying.
5255 * Makefile.in: Regenerated.
5256
cbd19336
JJ
52572000-12-12 Jeff Johnston <jjohnstn@redhat.com>
5258
5259 * libc/include/sys/unistd.h: Restored Cygwin _SC
5260 constants and moved new constants appropriately
5261 so Cygwin will build.
5262
8fb37963
JJ
52632000-12-11 Joel Sherrill <joel@OARcorp.com>
5264
5265 * Merge RTEMS specific .h files into main libc/include.
5266 * libc/sys/rtems/include/signal.h: Removed.
5267 * libc/sys/rtems/include/time.h: Removed.
5268 * libc/sys/rtems/sys/features.h: Removed.
5269 * libc/sys/rtems/sys/sched.h: Removed.
5270 * libc/sys/rtems/sys/siginfo.h: Removed.
5271 * libc/sys/rtems/sys/signal.h: Removed.
5272 * libc/sys/rtems/sys/time.h: Removed.
5273 * libc/sys/rtems/sys/times.h: Removed.
5274 definitions for time_t and clock_t since these are
5275 no longer in time.h.
5276 * libc/include/pthread.h: New file.
5277 * libc/include/sys/sched.h: New file.
5278 * libc/include/sys/features.h: New file.
5279 * libc/include/time.h: Removed duplicate definition of clock_t
5280 and time_t, get them from <sys/types.h> instead. Add prototypes
5281 for POSIX clock and timer functionality.
5282 * libc/sys/linux/sys/types.h: Changed to include
5283 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
5284 * libc/include/sys/signal.h: Add more complete set of POSIX
5285 signal functionality including real-time and threaded signals.
5286 * libc/include/sys/types.h: Add clock_t, time_t, struct
5287 timespec, and struct itimerspec. Centralizing these makes
5288 things cleaner. RTEMS uses 64-bit dev_t.
5289 Added numerous primitive definitions
5290 for pthreads including macros, pthread_attr_t,
5291 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
5292 pthread_once_t, and pthread_t.
5293 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
5294 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
5295 Feature flags removed and moved to new file <sys/features.h>.
5296 Full set of POSIX sysconf() constants
5297
2efbc2a7
JJ
52982000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
5299
5300 * configure.host: Added x86 linux target.
5301 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
5302 definitions provided if not already defined.
5303 * libc/sys/linux/crt0.c: New file.
5304 * libc/sys/linux/Makefile.am: Ditto.
5305 * libc/sys/linux/Makefile.in: Ditto.
5306 * libc/sys/linux/aclocal.m4: Ditto.
5307 * libc/sys/linux/brk.c: Ditto.
5308 * libc/sys/linux/configure: Ditto.
5309 * libc/sys/linux/configure.in: Ditto.
5310 * libc/sys/linux/getoptlong.c: Ditto.
5311 * libc/sys/linux/ids.c: Ditto.
5312 * libc/sys/linux/inode.c: Ditto.
5313 * libc/sys/linux/io.c: Ditto.
5314 * libc/sys/linux/linux.c: Ditto.
5315 * libc/sys/linux/process.c: Ditto.
5316 * libc/sys/linux/realpath.c: Ditto.
5317 * libc/sys/linux/select.c: Ditto.
5318 * libc/sys/linux/signal.c: Ditto.
5319 * libc/sys/linux/systat.c: Ditto.
5320 * libc/sys/linux/termios.c: Ditto.
5321 * libc/sys/linux/time.c: Ditto.
5322 * libc/sys/linux/wait.c: Ditto.
5323 * libc/sys/linux/include/alloca.h: Ditto.
5324 * libc/sys/linux/include/getopt.h: Ditto.
5325 * libc/sys/linux/include/stdint.h: Ditto.
5326 * libc/sys/linux/include/unistd.h: Ditto.
5327 * libc/sys/linux/sys/cdefs.h: Ditto.
5328 * libc/sys/linux/sys/dirent.h: Ditto.
5329 * libc/sys/linux/sys/errno.h: Ditto.
5330 * libc/sys/linux/sys/fcntl.h: Ditto.
5331 * libc/sys/linux/sys/file.h: Ditto.
5332 * libc/sys/linux/sys/ioctl.h: Ditto.
5333 * libc/sys/linux/sys/resource.h: Ditto.
5334 * libc/sys/linux/sys/signal.h: Ditto.
5335 * libc/sys/linux/sys/stat.h: Ditto.
5336 * libc/sys/linux/sys/syscall.h: Ditto.
5337 * libc/sys/linux/sys/termios.h: Ditto.
5338 * libc/sys/linux/sys/time.h: Ditto.
5339 * libc/sys/linux/sys/types.h: Ditto.
5340 * libc/sys/linux/sys/utmp.h: Ditto.
5341 * libc/sys/linux/sys/utsname.h: Ditto.
5342 * libc/sys/linux/sys/wait.h: Ditto.
5343
a08c98bb
JJ
53442000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
5345
5346 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
5347 can be a relative path to $(top_srcdir)/install.sh so ensure the
5348 autoconf detected settings are properly passed recursively.
5349 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
5350 properly to subdirectories.
5351 * Makefile.in: Regenerated.
5352
b294082c
JJ
53532000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
5354
5355 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
5356 a floating point register unless really printing a floating
5357 point number.
5358
2005ab6b
JJ
53592000-12-07 Jeff Johnston <jjohnstn@redhat.com>
5360
5361 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
5362 Also removed \r's.
5363 (asctoeg): Replaced alloca call with stack array and malloc
5364 when storage exceeds reasonable limit.
5365 (e53toe): Fixed einfin calls missing ldp parameter.
5366 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
5367
9f6e8f1b
JJ
53682000-12-06 Jeff Johnston <jjohnstn@redhat.com>
5369
2005ab6b 5370
9f6e8f1b
JJ
5371 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
5372
6bdac416
JJ
53732000-12-06 Jeff Johnston <jjohnstn@redhat.com>
5374
5375 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
5376 * libc/stdlib/Makefile.in: Regenerated.
5377 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
5378 * libc/stdio/vfieeefp.h: Added long double bit structures.
5379 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
5380 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
5381 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
5382 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
5383 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
5384 _strtold routines used for conversions between character
5385 and long double.
5386
ec270d31
CV
5387Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
5388
5389 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
5390
db2d9549
JJ
53912000-12-04 Joel Sherrill <joel@OARcorp.com>
5392
5393 * libc/include/machine/time.h: RTEMS systems can configure clock
5394 tick rate so use sysconf() to ask.
5395
6ba54a15
JJ
53962000-12-04 Joel Sherrill <joel@OARcorp.com>
5397
5398 * libc/include/sys/times.h: Add reference to POSIX standard.
5399
8677b819
JJ
54002000-12-04 Joel Sherrill <joel@OARcorp.com>
5401
5402 * libc/include/sys/time.h: Added BSD timer manipulation macros
5403 used by RTEMS code.
5404
1b61a706
JJ
54052000-12-04 Joel Sherrill <joel@OARcorp.com>
5406
5407 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
5408 referenced by code generated by gcc 2.8.1.
5409 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
5410 satisfy gcc.
5411
f5e7c124
JJ
54122000-12-04 Joel Sherrill <joel@OARcorp.com>
5413
5414 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
5415
768abc9c
JJ
54162000-12-04 Joel Sherrill <joel@OARcorp.com>
5417
5418 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
5419
9e5dd5ea
JJ
54202000-12-04 Joel Sherrill <joel@OARcorp.com>
5421
5422 * configure.host (or16, or32): New entries for OpenCores
5423 OpenRisc CPUs.
5424 (*-*-rtems*): Add -DNO_EXEC.
5425
768abc9c 54262000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f
JJ
5427
5428 * libc/include/sys/errno.h: Added comments on many error numbers.
5429 * libc/string/strerror.c: Added some more strings.
5430
b273323f
JJ
54312000-11-30 Jeff Johnston <jjohnstn@redhat.com>
5432
5433 * libc/sys/sh/syscalls.c (_link): New stub.
5434
0ffc3b94
NC
54352000-11-29 Nick Clifton <nickc@redhat.com>
5436
5437 * configure.host: Add xscale target.
5438 * libc/machine/xscale: New directory.
5439 * libc/machine/xscale/Makefile.am: New file.
5440 * libc/machine/xscale/Makefile.in: New file.
5441 * libc/machine/xscale/aclocal.m4: New file.
5442 * libc/machine/xscale/configure: New file.
5443 * libc/machine/xscale/configure.in: New file.
5444 * libc/machine/xscale/memchr.S: New file.
5445 * libc/machine/xscale/memcmp.S: New file.
5446 * libc/machine/xscale/memcpy.S: New file.
5447 * libc/machine/xscale/memmove.S: New file.
5448 * libc/machine/xscale/memset.S: New file.
5449 * libc/machine/xscale/strchr.S: New file.
5450 * libc/machine/xscale/strcmp.S: New file.
5451 * libc/machine/xscale/strcpy.S: New file.
5452 * libc/machine/xscale/strlen.S: New file.
5453
cbbf0f96
CV
5454Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
5455
5456 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
5457 avoid compiler warnings.
5458
73dea790
MM
54592000-11-22 Michael Meissner <meissner@redhat.com>
5460
5461 * libc/posix/execl.c (execl): Don't reference environ directly,
5462 reference it only via a static pointer to avoid problems with some
5463 shared library systems and with different uses of small data where
5464 the user specifies his own version of environ.
5465 * libc/posix/execv.c (execv): Ditto.
5466 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
5467 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
5468 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
5469
5470 * libc/stdlib/getenv.c (environ): Delete unused reference to
5471 environ.
5472
5473 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
5474 colorization.
5475 * libc/stdlib/system.c: Ditto.
5476
08eac2ae
CF
5477Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
5478
5479 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
5480 including windows headers.
5481
5478bf37
JJ
54822000-11-20 Jeff Johnston <jjohnstn@redhat.com>
5483
5484 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
5485 * libc/include/dirent.h: Added definition of MAXNAMLEN if
5486 not defined by sys/dirent.h.
5487 * libc/posix/execvp.c: Added include of dirent.h to get
5488 MAXNAMLEN value which used to be in unistd.h.
5489
3a760728
CV
5490Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
5491
5492 * libc/include/sys/types.h: Change type of i to `size_t' in
5493 FD_ZERO macro to avoid compiler warnings.
5494
86fff69f
CF
5495Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
5496
5497 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
5498 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
5499
ba9e88d2
CV
5500Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
5501
5502 * libc/include/sys/unistd.h: Add defines for sysconf values
5503 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
5504 _SC_AVPHYS_PAGES.
5505
a8018ef3
CF
5506Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
5507
5508 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
5509 declarations for __CYGWIN__.
5510
b944c6f6
GK
55112000-09-19 Geoffrey Keating <geoffk@cygnus.com>
5512
5513 * libc/signal/signal.c (__sigtramp_r): ISO C requires
5514 case labels to be integral constant expressions, so
5515 use an if/else tree instead.
5516 (_raise_r): Likewise.
5517
7f18fcb4
JJ
55182000-09-13 Jeff Johnston <jjohnstn@redhat.com>
5519
5520 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
5521 clipping patch from e-mail reader.
5522
242361df
JJ
55232000-09-13 Will Cohen <wcohen@redhat.com>
5524
5525 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
5526 Added return value 0.
5527 (_longjmp): Allow longjmp to return value of second argument
5528 passed to it.
5529
8a8c59b9
JJ
55302000-09-06 Jeff Johnston <jjohnstn@redhat.com>
5531
5532 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
5533 inline code to prevent having to include another header file.
5534
a385ae75
CF
5535Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
5536
5537 * Makefile.am: Fix space vs. tab problem in install-data-local.
5538 * Makefile.in: Regenerate.
5539
5540Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
5541
5542 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
5543 (_EXPARM): New macro for defining a function parameter.
5544 * libc/include/stdlib.h: Use _EXPARM.
5545 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
5546
a36cd013
JJ
55472000-09-05 Manfred Hollstein <manfredh@redhat.com>
5548
5549 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
5550 required, as documented in the gnu coding standards.
5551 * Makefile.in: Regenerate.
5552
f825dfda
JJ
55532000-09-05 Jeff Johnston <jjohnstn@redhat.com>
5554
5555 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
5556 make O_NDELAY and O_NONBLOCK have the same value.
5557
4ba9aab7
JJ
55582000-08-30 Kazu Hirata <kazu@hxi.com>
5559
5560 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
5561
db7acc38
JJ
55622000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
5563
5564 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
5565 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
5566 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
5567 everywhere else.
5568
44e36af4
GK
55692000-08-30 Geoffrey Keating <geoffk@cygnus.com>
5570
5571 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
5572 * libc/include/string.h: Don't include <sys/types.h>,
5573 as it causes really bad namespace pollution. Don't declare
5574 swab(), it is properly declared in unistd.h.
5575
00a2f168
JJ
55762000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
5577
5578 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
5579 (broken) support for non-existent /etc/passwd field "comment".
5580
6beeb240
JJ
55812000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
5582
5583 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
5584 only if _DIRENT_HAVE_D_NAMLEN is defined.
5585 (alphasort): aligned prototype with
5586 libc/sys/cygwin/sys/dirent.h and simplified function body.
5587 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
5588 long telldir (DIR *) as mentioned in annex B of POSIX.1
5589
ef44da42
JJ
55902000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
5591
5592 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
5593 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
5594 Added __CLI and __STI macros (controlled via
5595 _I386MACH_ALLOW_HW_INTERRUPTS macro).
5596 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
5597 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
5598 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
5599 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
5600 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
5601 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
5602 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
5603 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
5604 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
5605 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
5606 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
5607 for all global entry points.
5608 * libc/machine/i386/setjmp.S: removed code replicated in
5609 libc/machine/i386/i386mach.h and included i386mach.h instead;
5610 Use __CLI and __STI instead of cli and sti.
5611
14d3488d
DD
56122000-08-25 DJ Delorie <dj@redhat.com>
5613
5614 * libc/include/sys/unistd.h (environ): this one isn't from the
5615 DLL, no __IMPORT
5616
c9ca4412
CF
5617Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
5618
5619 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
5620 environ when compiling under cygwin since it is already declared in
5621 unistd.h.
5622
2d5862de
JJ
56232000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
5624
5625 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
5626 like x << y-z to the equivalent x << (y-z).
5627 (d2b): changed if statements with assignment to perform the
5628 assignment prior to the if check.
5629 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
5630 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
5631 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
5632 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
5633 precedence.
5634 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
5635 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
5636 execve.c).
5637 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
5638 precedence.
5639 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
5640 clarify && and || precendence (and to remove pascalism).
5641 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
5642 * libm/math/s_infconst.c: added another pair of braces to all
5643 initializers for __infinity (need three: for __infinity[1] array,
5644 for union __dmath, and for i[2]).
5645
0888fedd
JJ
56462000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
5647
199359f0
JJ
5648 * libc/stdlib/abort.c: changed description: uses "raise" instead of
5649 "getpid" and "kill"; added: uses "write" and "_exit".
5650 Also included unistd.h for "_exit" prototype.
5651 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
5652 reent.h for "_fork_r" and "_wait_r" prototypes.
5653 (do_system): changed extern char *environ[] to POSIX-friendly
5654 extern char **environ.
5655 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
5656 prototypes.
5657 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
5658 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
5659 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
5660 * libc/reent/openr.c: included fcntl.h for "open" prototype.
5661 * libc/reent/signalr.c: included signal.h for "kill" prototype,
5662 unistd.h for "getpid" prototype.
5663 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
5664 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
5665 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
5666 prototype. Also included stdlib.h for "abort", string.h for
5667 "strdup" and "strncmp" prototypes.
5668 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
5669 "strncpy", unistd.h for "read" and "close" prototypes.
5670 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
5671 "strcat" prototypes.
5672
56732000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
5674
0888fedd
JJ
5675 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
5676 used later (ifdef __SCLE)
5677 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
5678 used later (ifdef MB_CAPABLE)
5679 * libc/string/memset.c (memset): removed unused variables "count"
5680 and "unaligned_addr"
5681 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
5682 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
5683 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
5684 and "gid"
5685
a334e5ef
JJ
56862000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
5687
5688 * libc/stdlib/envlock.c: changed documented "__env_lock" and
5689 "__env_unlock" prototype from "void *" or "char *" to
5690 "struct _reent *" to match real function. Also added include
5691 of envlock.h.
5692 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
5693 "__malloc_unlock" prototype from "void *" or "char *" to
5694 "struct _reent *" to match real function.
5695 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
5696 prototypes (for getenv_r.c and setenv_r.c).
5697
644b7f26
DD
56982000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
5699
5700 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
5701 and prototype in cygwin's utmp.h
5702
5bacbf10
JJ
57032000-08-16 Eric Fifer <efifer@sanwaint.com>
5704
5705 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
5706
38a6bf98
NC
57072000-08-09 Nick Clifton <nickc@cygnus.com>
5708
5709 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
5710 epilogue and to allow the functions to be used in a Thumb based
5711 toolchain.
5712
befe0fb3
JJ
57132000-08-08 Jeff Johnston <jjohnstn@redhat.com>
5714
5715 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
5716 so size of 0 results in nothing being written to string.
5717 Also fixed code so that when size is non-zero, there is only
5718 a maximum of size - 1 characters written to the array and
5719 a nul terminator is appended at the end.
5720 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
5721
749d9bcd
DD
57222000-08-01 DJ Delorie <dj@redhat.com>
5723
5724 * libc/include/sys/config.h: define __IMPORT appropriately
5725 * libc/include/ctype.h (_ctype_): use __IMPORT
5726 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
5727 * libc/include/math.h (__mb_cur_max): ditto
5728 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
5729 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
5730 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
5731 * libc/include/unistd.h (environ): ditto
5732
7c110b17
MM
57332000-07-28 Michael Meissner <meissner@redhat.com>
5734
5735 * libc/include/math.h (__infinity): Declare as an array without
5736 bounds to get around small data support. Rewrite Cygwin support
5737 to be more general.
5738 * libm/math/s_infconst.c (__infinity): Ditto.
5739 * libm/mathfp/s_infconst.c (__infinity): Ditto.
5740
bf7be721
CF
5741Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
5742
5743 * libc/include/math.h: Use appropriate dll import linkage for
5744 __infinity under Cygwin.
5745
91a8d90b
DD
57462000-07-13 DJ Delorie <dj@cygnus.com>
5747
5748 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
5749
ba2048d3
JJ
5750Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
5751
5752 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
5753 to argument list for AngelSWI_Reason_GetCmdLine.
5754
4634da64
JJ
5755Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
5756
5757 * configure.host: Add support for AVR target.
5758 * libc/include/machine/ieeefp.h: Likewise.
5759 * libc/include/sys/config.h: Likewise.
5760
b19f72a2
RK
5761Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
5762
5763 * README: Newlib 1.8.2 must be built in a separate directory
5764 than the sources.
5765
a704d94a
JJ
5766Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
5767
5768 * libc/include/sys/reent.h (_rand_next): Added __extension__
5769 qualifier as long long type is not strict ANSI.
5770 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
5771 to long long constant.
5772
b585720b
CV
5773Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
5774
5775 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
5776 `setegid' provided by Cygwin.
5777
01c327ba
CV
5778Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
5779
5780 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
5781 account for Cygwin.
5782
46a43a99
JJ
5783Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
5784
5785 * libc/include/sys/reent.h (_rand_next): Changed to
5786 unsigned long long and moved to end of _reent struct in _new union.
5787 (_REENT_INIT): Changed to move _rand_next initialization.
5788 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
5789 linear congruential algorithm that is used by DJGPP.
5790
a68078cb
RK
5791Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
5792
5793 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
5794 * libc/include/sys/config.h: Define __RAND_MAX.
5795
518882f3
JJ
5796Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
5797
5798 * libc/stdlib/rand_r.c: New algorithm that meets minimal
5799 standard.
5800
d51d968a
CF
5801Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
5802
5803 * libc/include/string.h: Work around problem with strsignal and gdb.
5804
d2dd5765
CF
5805Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
5806
5807 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
5808 * libc/include/malloc.h: Ditto.
5809 * libc/include/process.h: Ditto.
5810 * libc/include/stdio.h: Ditto.
5811 * libc/include/stdlib.h: Ditto.
5812 * libc/include/time.h: Ditto.
5813 * libc/include/machine/setjmp.h: Ditto.
5814 * libc/include/sys/errno.h: Ditto.
5815 * libc/include/sys/signal.h: Ditto.
5816 * libc/include/sys/stat.h: Ditto.
5817 * libc/include/sys/time.h: Ditto.
5818 * libc/include/sys/unistd.h: Ditto.
5819 * libc/include/string.h: Ditto. strsignal should return a const char *.
5820
88870218
JJ
58212000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
5822
5823 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
5824 * libm/common/s_log1p.c (log1p): Likewise.
5825 * libm/common/s_scalbn.c (scalbn): Likewise.
5826 * libm/math/e_log.c: Likewise.
5827 * libm/math/e_asin.c: Likewise.
5828 * libm/math/ef_asin.c: Likewise.
5829 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
5830 * libm/math/e_j1.c (pone, qone): Likewise.
5831 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
5832 * libm/math/ef_j1.c (ponef, qonef): Likewise.
5833 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
5834 * libm/mathfp/e_j1.c (pone, qone): Likewise.
5835 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
5836 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
5837
c4e1aa01
DD
58382000-05-19 DJ Delorie <dj@cygnus.com>
5839
5840 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
5841 (__sread): always read in binary mode
5842 (__swrite): always write in binary mode
5843 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
5844 compatibility issues with different dll versions
5845 * libc/stdio/fopen.c: use __stextmode
5846 * libc/stdio/fdopen.c: ditto
5847 * libc/stdio/freopen.c: ditto
5848 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
5849 * libc/stdio/local.h: declare __stextmode
5850
f4393261
DD
58512000-05-18 DJ Delorie <dj@cygnus.com>
5852
5853 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
5854
2b533fac
JJ
5855Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
5856
5857 * libc/include/ctype.h: Changed tolower and toupper macros
5858 to use __extension__ to prevent pedantic warnings.
5859
75362a76
RK
5860Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
5861
5862 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
5863 structures.
5864
ec463fc7
JW
5865Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
5866
5867 * libc/include/machine/ieeefp.h: Add ia64 support.
5868 * configure.host: Likewise.
5869
f35ceefa
JJ
5870Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
5871
5872 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
5873 month is now padded with space, not zero. This now conforms to
5874 ANSI standard.
5875
b96fca8c
CV
5876Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
5877
5878 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
5879 host or network path") used by cygwin. Add some comments.
5880
49d64538
JJ
5881Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
5882
5883 * libc/include/stdio.h (FILE): define __SCLE for "convert line
5884 endings" for Cygwin.
5885 (__sgetc): convert line endings if needed
5886 (__sputc): ditto
5887 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
5888 * libc/stdio/fopen.c (_fopen_r): ditto
5889 * libc/stdio/freopen.c (freopen): ditto
5890 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
5891 * libc/stdio/fvwrite.c (__sfvwrite): ditto
5892
91fb1e7f
AO
5893Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
5894
5895 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
5896 post-increment when it is worth it, spacewise.
5897
c87be3e4
JJ
5898Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
5899
5900 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
5901 * libc/stdio/findfp.c (std): Added declaration of flags and file.
5902 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
5903 return type.
5904 * libc/stdio/putchar.c (putchar): Added return statement.
5905 * libc/stdio/refill.c (lflush): Added correct parentheses.
5906 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
5907 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
5908 prints long value to use l qualifier.
5909 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
5910 messages and initialized local values: ilim, ilim1, and spec_case.
5911 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
5912 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
5913 * libc/stdlib/mprec.c: Ditto.
5914 * libc/stdlib/setenv_r.c: Ditto.
5915 * libc/stdlib/strtod.c: Ditto.
5916 * libc/stdlib/strtol.c: Ditto.
5917 * libc/stdlib/strtoul.c: Ditto.
5918 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
5919 * libm/common/sf_log1p.c: Ditto.
5920 * libm/common/sf_scalbn.c: Ditto.
5921 * libm/math/ef_log.c: Ditto.
5922
11f5b065
CV
5923Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
5924
5925 * libc/posix/execvp.c (execvp): Check path for
5926 trailing slash.
5927
796e3b20
CV
5928Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
5929
5930 * libc/include/sys/unistd.h: Add prototypes for
5931 fchmod, fchown, lchown.
5932
b489803a
JJ
5933Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
5934
5935 * acinclude.m4: Changed release to 1.8.2.
5936 * aclocal.m4 configure doc/aclocal.m4 doc/configure
5937 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
5938 libc/machine/configure libc/machine/a29k/aclocal.m4
5939 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
5940 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
5941 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
5942 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
5943 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
5944 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
5945 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
5946 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
5947 libc/machine/i386/configure libc/machine/i960/aclocal.m4
5948 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
5949 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
5950 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
5951 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
5952 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
5953 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
5954 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
5955 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
5956 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
5957 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
5958 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
5959 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
5960 libc/machine/v850/configure libc/machine/w65/aclocal.m4
5961 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
5962 libc/machine/z8k/configure libc/sys/aclocal.m4
5963 libc/sys/aclocal.m4 libc/sys/configure
5964 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
5965 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
5966 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
5967 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
5968 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
5969 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
5970 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
5971 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
5972 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
5973 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
5974 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
5975 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
5976 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
5977 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
5978 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
5979 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
5980 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
5981 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
5982 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
5983 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
5984 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
5985 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
5986 libm/aclocal.m4 libm/configure: Regenerated.
5987
79908d67
NC
59882000-03-24 Nick Clifton <nickc@cygnus.com>
5989
5990 * libc/sys/arm/syscalls.c: Fix compile time warnings.
5991 (do_AngelSWI): Add "cc" to list o registers clobbered.
5992
7684ddaf
FN
5993Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
5994
5995 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
5996 information to be clobbered by an Angel C library support syscall.
5997
b8ec20c8
JJ
5998Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
5999
6000 * libc/stdlib/envlock.c: Fixed comment typo.
6001
fae4c299
JJ
6002Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
6003
6004 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
6005 code to update nread as each character is processed instead
6006 of using buffer contents which throw away leading zeroes.
6007
dc98804b
RK
6008Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
6009
6010 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
6011
5ed2f523
JJ
6012Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
6013
6014 * libc/include/string.h: Include <sys/types.h>.
6015
1cf0ee34
AO
6016Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6017
6018 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
6019 with XSH5, not SVID.
6020
e9c94978
JJ
6021Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
6022
6023 * libc/include/string.h: Changed last argument back to ssize_t
6024 to make it compatible with XPG4 definition which is
6025 defined in <unistd.h>. There is a conflict in the SVID 3
6026 and XPG4 definitions and newlib will settle with XPG4.
6027 * libc/string/swab.c: Ditto.
6028
3072163c
JJ
6029Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
6030
6031 * libc/include/string.h: Changed last argument to size_t.
6032 * libc/string/swab.c: Changed last argument to size_t.
6033
f205ea7a
AO
6034Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6035
6036 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
6037 (CHEWOUT_FILES): Added unlinkr.def.
6038 * libc/reent/Makefile.in: Rebuilt.
6039 * libc/sys.tex: Include unlinkr.def.
6040 * libc/reent/linkr.c (_unlink_r): Moved to...
6041 * libc/reent/unlinkr.c: ... new file.
6042
85dd2e5b
AO
6043Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6044
6045 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
6046 (CHEWOUT_FILES): Added swab.def.
6047 * libc/string/Makefile.in: Rebuilt.
6048 * libc/string/string.tex: Include swab.def.
6049 * libc/include/string.h (swab): Declare.
6050 * libc/string/swab.c: New file.
6051
c5053058
AO
6052Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6053
6054 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
6055 (CHEWOUT_FILES): Added getw.def and putw.def.
6056 * libc/stdio/Makefile.in: Rebuilt.
6057 * libc/stdio/stdio.tex: Include getw.def and putw.def.
6058 * libc/stdio/getw.c: New file.
6059 * libc/stdio/putw.c: New file.
6060
dbaf37cf
JJ
6061Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
6062
6063 * libc/stdio/flags.c (__sflags): Added check that mode[1]
6064 is non-null before looking at mode[2].
6065
bc019ef2
RK
6066Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
6067
6068 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
6069 * libm/mathfp/sf_atan.c: Ditto.
6070
6071Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
6072
6073 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
6074
cd641b2d
RK
6075Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
6076
6077 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
6078 _DOUBLE_IS_32BITS.
6079
b0ba0ac2
JJ
6080Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
6081
6082 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
6083 call prior to calling _VFPRINTF_R so reentrant data area is set.
6084 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
6085
8a0efa53
CF
6086Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6087
6088 * libc/stdio/vfscanf.c (limits.h): #include.
6089 (MAX_LONG_LEN): #define.
6090 (__svfscanf): Handle floating point numbers with arbitrary amounts
6091 of leading zeroes.
6092
60932000-02-15 Nick Clifton <nickc@cygnus.com>
6094
6095 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
6096 zero. Set the blocksize to 1024/
6097
6098Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
6099
6100 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
6101 with line buffering.
6102
6103Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
6104
6105 * acinclude.m4: Changed include directory for winsup headers.
6106 * aclocal.m4 configure libc/aclocal.m4
6107 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
6108 libc/locale/Makefile.in libc/machine/aclocal.m4
6109 libc/machine/configure libc/machine/a29k/aclocal.m4
6110 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
6111 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
6112 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
6113 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
6114 libc/machine/fr30/configure
6115 libc/machine/h8300/aclocal.m4
6116 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
6117 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
6118 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
6119 libc/machine/i386/configure libc/machine/i960/aclocal.m4
6120 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
6121 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
6122 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
6123 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
6124 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
6125 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
6126 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
6127 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
6128 libc/machine/powerpc/configure
6129 libc/machine/sh/aclocal.m4
6130 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
6131 libc/machine/sparc/configure
6132 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
6133 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
6134 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
6135 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
6136 libc/misc/Makefile.in libc/posix/Makefile.in
6137 libc/reent/Makefile.in
6138 libc/signal/Makefile.in
6139 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
6140 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
6141 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
6142 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
6143 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
6144 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
6145 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
6146 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
6147 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
6148 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
6149 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
6150 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
6151 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
6152 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
6153 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
6154 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
6155 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
6156 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
6157 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
6158 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
6159 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
6160 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
6161 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
6162 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
6163 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
6164 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
6165 libm/configure: Regenerated.
6166
6167Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
6168
6169 * libc/stdlib/putenv_r.c (_putenv_r): New file.
6170 * libc/stdlib/strdup_r.c (_strdup_r): New file.
6171 * libc/include/string.h: Added _strdup_r.
6172 * libc/stdlib/putenv.c: Added call to reentrant version.
6173 * libc/stdlib/strdup.c: Ditto.
6174 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
6175 * libc/include/stdlib.h: Ditto.
6176 * libc/stdlib/Makefile.in: Regenerated.
6177 * libc/string/Makefile.in: Regenerated.
6178 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
6179 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
6180 management calls to reentrant versions.
6181 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
6182 * libc/stdlib/wctomb.c: Ditto.
6183 * libc/stdlib/mblen.c: Ditto.
6184 * libc/stdlib/mbstowcs.c: Ditto.
6185 * libc/stdlib/mbtowc.c: Ditto.
6186 * libc/stdlib/getenv.c: Ditto.
6187 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
6188 and _strdup_r.
6189
6190Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
6191
6192 patch from Corinna Vinschen <corinna@vinschen.de>
6193 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
6194
bc019ef2 6195Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
6196
6197 * libm/mathfp/s_atangent.c: Fix exponent calculation.
6198 * libm/mathfp/s_ldexp.c: Ditto.
6199 * libm/mathfp/sf_atangent.c: Ditto.
6200 * libm/mathfp/sf_ldexp.c: Ditto.
6201
6202Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
6203
6204 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
6205 * libc/include/locale.h: define NULL to be 0.
6206
6207Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
6208
6209 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
6210 function.
6211
6212Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
6213
6214 * libc/machine/mn10300/setjmp.S: Handle am33.
6215
62161999-11-26 Nick Clifton <nickc@cygnus.com>
6217
6218 * libc/sys/arm/syscalls.c: Add function prototypes.
6219 (stack_ptr): Move declaration before function definitions.
6220
6221Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
6222
6223 * NEWS: Updated version information.
6224 * README: Ditto.
6225
6226Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
6227
6228 * libc/machine/i386/strchr.S: Fixed alignment test.
6229
6230Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
6231
6232 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
6233
6234Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
6235
6236 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
6237 ensuring that there is space between the two.
6238
6239Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
6240
6241 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
6242 only.
6243
62441999-10-08 Vadim Egorov <egorovv@1c.ru>
6245
6246 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
6247 section
6248
6249Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
6250
6251 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
6252 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
6253
6254Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
6255 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
6256 per POSIX 1003.1b.
6257 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
6258 per POSIX 1003.1b.
6259
62601999-09-13 DJ Delorie <dj@cygnus.com>
6261
6262 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
6263 also.
6264
6265Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
6266
6267 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
6268 also note BUFSIZ as its size.
6269
6270Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
6271
6272 * configure.host: Corrected feature defines for RTEMS.
6273 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
6274 * libc/include/sys/stat.h: mkfifo() should take const path arg.
6275 * libc/include/sys/unistd.h: pathconf() should take const path arg.
6276 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
6277 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
6278 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
6279 _PC_PRIO_IO, and _PC_SYNC_IO.
6280 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
6281 * libc/machine/m68k/Makefile.in: Regenerated.
6282 * libc/machine/m68k/strcpy.c: New file.
6283 * libc/machine/m68k/strlen.c: New file.
6284 * libc/stdio/tmpnam.c: Always make the returned name usable.
6285 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
6286 * libc/sys/rtems/sys/dirent.h: New file.
6287 * libc/sys/rtems/sys/types.h: Added dev_t.
6288
6289Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
6290
6291 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
6292
6293Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
6294
6295 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
6296 my patch.
6297
6298Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
6299
6300 patch from Jeff Johnston <jjohnstn@cygnus.com>
6301 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
6302 buffer is not in a useful state.
6303
63041999-09-01 Nick Clifton <nickc@cygnus.com>
6305
6306 * libc/sys/arm/syscalls.c (_link): Add stub.
6307
6308Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
6309
6310 * ftell.c (ftell): Use actual position within buffer for text mode.
6311 * findfp.c (std): Initialize ptr->_bf._size.
6312
6313Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
6314
6315 * libc/include/sys/unistd.h: Add nice() declaration.
6316
63171999-08-09 Nick Clifton <nickc@cygnus.com>
6318
6319 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
6320 declare as a thumb function so that the disassembler will see the
6321 mode change.
6322
6323Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
6324
6325 * libc/reent/reent.tex: Updated list of reentrant functions.
6326
63271999-07-09 Michael Meissner <meissner@cygnus.com>
6328
6329 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
6330
6331Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
6332
6333 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
6334 separate file.
6335 * libc/stdio/snprintf.c: New file.
6336 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
6337 separate file.
6338 * libc/stdio/vsnprintf.c: New file.
6339 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
6340 * libc/stdio/Makefile.in: Regenerated.
6341
6342Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
6343
6344 Patch submitted by Egor Duda <deo@logos-m.ru>:
6345 * libc/include/stdio.h: Add declarations for *nprintf.
6346 * libc/stdio/sprintf.c (snprintf): New function.
6347 (_snprintf_r): New function.
6348 * libc/stdio/vsprintf.c (vsnprintf): New function.
6349 (_vnsprintf_r): New function.
6350
6351Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
6352
6353 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
6354 * libm/Makefile.am (stmp-targetdep): Ditto.
6355 * libc/Makefile.in: Regenerated.
6356 * libm/Makefile.in: Ditto.
6357
6358Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
6359
6360 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
6361 * libm/Makefile.am (stmp-targetdep): Ditto.
6362 * libc/Makefile.in: Regenerated.
6363 * libm/Makefile.in: Ditto.
6364
6365Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
6366
6367 * Makefile.am: Removed dependencies on all-recursive and added "."
6368 to the SUBDIRS list to prevent infinite recursion from occurring.
6369 Also removed any references to EXTRA_DATA.
6370 * libc/Makefile.am: Ditto.
6371 * libc/machine/Makefile.am: Ditto.
6372 * libc/machine/i386/Makefile.am: Ditto.
6373 * libm/Makefile.am: Ditto.
6374 * libc/sys/Makefile.am: Ditto.
6375 * Makefile.in: Regenerated.
6376 * aclocal.m4: Ditto.
6377 * configure: Ditto.
6378 * doc/Makefile.in: Ditto.
6379 * doc/aclocal.m4: Ditto.
6380 * doc/configure: Ditto.
6381 * libc/Makefile.in: Ditto.
6382 * libc/aclocal.m4: Ditto.
6383 * libc/configure: Ditto.
6384 * libc/machine/Makefile.in: Ditto.
6385 * libc/machine/aclocal.m4: Ditto.
6386 * libc/machine/configure: Ditto.
6387 * libc/machine/mn10300/Makefile.in: Ditto.
6388 * libc/machine/mn10300/aclocal.m4: Ditto.
6389 * libc/machine/mn10300/configure: Ditto.
6390 * libc/sys/Makefile.in: Ditto.
6391 * libc/sys/aclocal.m4: Ditto.
6392 * libc/sys/configure: Ditto.
6393 * libm/Makefile.in: Ditto.
6394 * libm/aclocal.m4: Ditto.
6395 * libm/configure: Ditto.
6396
6397Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
6398
6399 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
6400
6401Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
6402
6403 * libc/include/stdlib.h: Add reentrant routines.
6404 * libc/stdlib/Makefile.am: Add reentrant routines.
6405 * libc/stdlib/Makefile.in: Ditto.
6406 * libc/stdlib/envlock.c: New file.
6407 * libc/stdlib/envlock.h: New file.
6408 * libc/stdlib/getenv.c: Modify to call reentrant routine.
6409 * libc/stdlib/getenv_r.c: New file.
6410 * libc/stdlib/mblen.c: Modify to call reentrant routine.
6411 * libc/stdlib/mblen_r.c: New file.
6412 * libc/stdlib/setenv.c: Modify to call reentrant routine.
6413 * libc/stdlib/setenv_r.c: New file.
6414 * libc/stdlib/stdlib.tex: Add reentrant routines.
6415
6416Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
6417
6418 * libc/include/sys/types.h: Define __MS_types__ whenever
6419 cygwin or win32.
6420
6421Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
6422
6423 * libc/include/machine/ieeefp.h: Always default to little
6424 endian if Windows, regardless of architecture.
6425 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
6426 regardless of architecture.
6427
6428Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
6429
6430 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
6431 _WIN32 isn't defined.
6432
6433Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
6434
6435 * libm/common/s_rint.c (rint): Add volatile qualifier for
6436 intermediate value w.
6437 * libm/common/sf_rint.c (rintf): Ditto.
6438
6439Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
6440
6441 * libc/sys/arm/syscalls.c (remap_handle): Added check to
6442 ensure that std streams are initialized before being referenced.
6443
64441999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
6445
6446 * README: Update reference to newlib@cygnus.com new
6447 newlib@sourceware.cygnus.com address.
6448
6449Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
6450
6451 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
6452 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
6453 defined, even if _WIN32 isn't defined.
6454
6455Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
6456
6457 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
6458
6459Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
6460
6461 * libc/include/sys/reent.h: Change Long and ULong to __Long and
6462 __ULong.
6463 * libc/stdlib/dtoa.c: Ditto.
6464 * libc/stdlib/mprec.c: Ditto.
6465 * libc/stdlib/mprec.h: Ditto.
6466 * libc/stdlib/strtod.c: Ditto.
6467
64681999-04-21 Nick Clifton <nickc@cygnus.com>
6469
6470 * configure.host (mcore): Remove mcore machine directory.
6471
64721999-04-18 Nick Clifton <nickc@cygnus.com>
6473
6474 * libc/include/machine/ieeefp.h: Add support for mcore target.
6475 * libc/include/machine/setjmp.h: Add support for mcore target.
6476 * configure.host: Add support for mcore target.
6477
64781999-04-13 Mark Salter <msalter@cygnus.com>
6479
6480 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
6481 * libc/sys/arm/syscalls.c: Added isatty.
6482
6483Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
6484
6485 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
6486 insert zeroes after significant digits.
6487
6488Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
6489
6490 * libc/stdio/vfprintf.c (cvt): Changed floating point
6491 cvt routine to use union used by dtoa to properly determine
6492 if the sign bit is on or not.
6493 * libc/stdio/vfieeefp.h: New file
6494
6495Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
6496
6497 * aclocal.m4: Regenerated.
6498 * configure: Regenerated.
6499
6500Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
6501
6502 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
6503 f_tanf reference.
6504 * libc/machine/i386/Makefile.in: Regenerated.
6505
6506Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
6507
6508 * acinclude.m4: Changed to work with new automake.
6509 * configure: Regenerated.
6510 * libc/machine/i386/aclocal.m4: Regenerated.
6511 * libc/machine/i386/configure: Regenerated.
6512
6513Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
6514
6515 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
6516 for telldir() and seekdir(). Rename unused structure element
6517 for use with these two routines.
6518
6519Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
6520
6521 * libc/time/mktime.c (validate_structure): Multiple fixes to
6522 code to handle cases where input fields are outside valid ranges.
6523 * libc/stdlib/div.c (div): Modified invalid rounding check.
6524 * libc/stdlib/ldiv.c (ldiv): Ditto.
6525
6526Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
6527
6528 * libc/machine/i386/memcpy.S: Performance rewrite.
6529 * libc/machine/i386/memmove.S: Ditto.
6530 * libc/machine/i386/i386mach.h: Added more register definitions.
6531 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
6532 option used.
6533 * libc/include/machine/fastmath.h: Add definitions for x86
6534 fast-math routines.
6535
6536Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
6537
6538 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
6539
6540Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
6541
6542 Adjust newlib headers for new Cygwin Win32 API header files:
6543 * libc/include/sys/time.h: Check _WINSOCK_H rather than
6544 _GNU_H_WINDOWS32_SOCKETS.
6545 * libc/include/sys/types.h: Ditto.
6546
6547Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
6548
6549 *include/sys/reent.h: Add checks for size of Bigint element Long.
6550 *libc/dtoa.c: Change routines to use generic Long type.
6551 *libc/mprec.c: Change routines to use generic Long type.
6552 *libc/mprec.h: Change routines to use generic Long type.
6553
6554Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
6555
6556 * libc/Makefile.am: Add .def files.
6557 * libc/Makefile.in: Regenerate.
6558 * libc/e_acosh.c: Documentation update.
6559 * libc/e_atanh.c: Documentation update.
6560 * libc/e_hypot.c: Documentation update.
6561 * libc/e_remainder.c: Documentation update.
6562 * libc/er_lgamma.c: Documentation update.
6563 * libc/mathfp.tex: Documentation update.
6564 * libc/s_acos.c: Documentation update.
6565 * libc/s_atan.c: Documentation update.
6566 * libc/s_atan2.c: Documentation update.
6567 * libc/s_cosh.c: Documentation update.
6568 * libc/s_fmod.c: Documentation update.
6569 * libc/s_isnan.c: Documentation update.
6570 * libc/s_log10.c: Documentation update.
6571 * libc/s_pow.c: Documentation update.
6572 * libc/w_jn.c: Documentation update.
6573
6574Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
6575
6576 * aclocal.m4: Regenerate.
6577 * configure: Regenerate.
6578
6579Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
6580
6581 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
6582 to return 1 if user specified return code is 0.
6583 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
6584
6585Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
6586
6587 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
6588 to save the return address. Fixed longjmp to return to the original
6589 calling address of setjmp and to return the user specified return code
6590 rather than default to 1.
6591 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
6592
6593Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
6594
6595 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
6596
65971999-02-10 Nick Clifton <nickc@cygnus.com>
6598
6599 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
6600 volatile so that its assignments will not be discarded.
6601
6602Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
6603
6604 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
6605 be __STRICT_ANSI__ which is generated by compiler.
6606 * libc/include/ctype.h: Ditto.
6607 * libc/include/math.h: Ditto.
6608 * libc/include/stdio.h: Ditto.
6609 * libc/include/stdlib.h: Ditto.
6610 * libc/include/string.h: Ditto.
6611 * libc/include/sys/signal.h: Ditto.
6612
66131999-02-08 Nick Clifton <nickc@cygnus.com>
6614
6615 * configure.host: Add support for StrongARM target.
6616
6617Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
6618
6619 * libc/string/strncpy.c (strncpy): Removed redundant code
6620 that was copying bytes if data unaligned.
6621
66221999-02-02 Brendan Kehoe <brendan@cygnus.com>
6623
6624 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
6625 mbstowcs.def, and wcstombs.def.
6626
6627Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
6628
6629 * libc/include/sys/errno.h: Add Cygwin errno.
6630 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
6631 is specified.
6632
66331999-01-29 Nick Clifton <nickc@cygnus.com>
6634
6635 * libc/sys/arm/syscalls.c: Move C library functions into seperate
6636 file.
6637
6638 * libc/sys/arm/libcfunc.c: New file containing C library functions
6639 from syscalls.c
6640
6641 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
6642 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
6643
6644
66451999-01-27 Michael Meissner <meissner@cygnus.com>
6646
6647 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
6648 type, and cut size in half so that the jmp_buf array is guaranteed
6649 to be aligned on a 64-bit boundary.
6650
6651Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
6652
6653 * libc/string/strings.tex: Added information about
6654 strcasecmp and strncasecmp.
6655 * libc/stdlib/stdlib.tex: Added missing information
6656 about mblen, mbstowcs, and wcstombs.
6657 * libc/string/strchr.c: Changed how mask is built to use
6658 shift operators so register will be used instead of storage.
6659
66601999-01-22 DJ Delorie <dj@cygnus.com>
6661
6662 * libc/include/stdlib.h: don't use dllimport if we're building
6663 newlib, since it's inside cygwin.dll
6664
6665Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
6666
6667 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
6668 _ctype_ under cygwin.
6669
6670Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
6671
6672 * include/stdlib.h: Fix typo from previous checkin.
6673
6674Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
6675
6676 * include/ctype.h: Use __declspec(dllimport) method for exporting
6677 variable from cygwin DLL.
6678 * include/time.h: Ditto.
6679 * sys/errno.h: Ditto.
6680 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
6681 * libc/locale/locale.c: Use __declspec(dllexport) method for
6682 exporting variable from cygwin DLL.
6683
6684Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
6685
6686 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
6687 access of bogus pointer will result in SIGSEGV.
6688
66891999-01-07 Nick Clifton <nickc@cygnus.com>
6690
6691 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
6692 of an underscore prefix to function names.
6693
6694Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
6695
6696 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
6697 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
6698
66991998-12-31 Michael Meissner <meissner@cygnus.com>
6700
6701 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
6702 to `%' if not already defined.
6703
67041998-12-30 Michael Meissner <meissner@cygnus.com>
6705
6706 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
6707 arguments const char *, not char *.
6708 * libc/include/stdio.h (_tempnam_r): Ditto.
6709
6710 * libc/include/sys/reent.h (struct _reent): The _sig_func type
6711 points to a function taking an integer, not void.
6712
6713Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
6714
6715 * configure.host: Add a define for Cygwin builds.
6716 * libc/include/ctype.h: Don't use dll imported variables in newlib.
6717
6718Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
6719
6720 * libc/include/ctype.h: Define _ctype_ as dll imported variable
6721 for use with Cygwin.
6722 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
6723 dll imported variables for use with Cygwin.
6724 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
6725 as a dll imported variable for Cygwin.
6726
6727Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
6728
6729 * libc/include/sys/unistd.h: Add proto for getpass.
6730
6731Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
6732
6733 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
6734 alphasort.
6735
6736Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
6737
6738 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
6739 not posix_path_list_p.
6740
67411998-12-15 Nick Clifton <nickc@cygnus.com>
6742
6743 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
6744 a signed int.
6745
67461998-12-13 Nick Clifton <nickc@cygnus.com>
6747
6748 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
6749
67501998-12-12 Nick Clifton <nickc@cygnus.com>
6751
6752 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
6753 <msalter@cygnus.com>
6754 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
6755 * libc/machine/fr30/Makefile.in: Regenerated.
6756
67571998-12-11 Nick Clifton <nickc@cygnus.com>
6758
6759 * configure.host: Remove use of libc/sys for FR30 port.
6760 * libc/sys/fr30: Remove directory (replaced by libgloss).
6761
67621998-12-10 Ken Raeburn <raeburn@cygnus.com>
6763
6764 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
6765 * libc/string/strncat.c (ALIGNED): Ditto.
6766
6767Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
6768
6769 * libc/include/sys/time.h: include sys/types.h
6770
6771Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
6772
6773 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
6774 comparison found when checking word at a time.
6775
67761998-12-04 Nick Clifton <nickc@cygnus.com>
6777
6778 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
6779
67801998-12-03 Nick Clifton <nickc@cygnus.com>
6781
6782 * libc/sys/fr30/syscalls.c (_times): New function stub.
6783
6784Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
6785
6786 * configure.host (mach_add_setjmp): Replaced mach_add_objs
6787 with mach_add_setjmp flag which indicates if setjmp should
6788 be added to the machine directory objects.
6789 * acinclude.m4: Removed reference to mach_add_objs.
6790 * aclocal.m4: Regenerated.
6791 * Makefile.in: Regenerated.
6792 * configure: Regenerated.
6793 * libc/aclocal.m4: Regenerated.
6794 * libc/Makefile.in: Regenerated.
6795 * libc/configure: Regenerated.
6796 * libc/machine/aclocal.m4: Regenerated.
6797 * libc/machine/Makefile.in: Regenerated.
6798 * libc/machine/configure: Regenerated.
6799 * libc/machine/i386/aclocal.m4: Regenerated.
6800 * libc/machine/i386/Makefile.am: Altered to selectively add
6801 setjmp.S to the src files list.
6802 * libc/machine/i386/Makefile.in: Regenerated.
6803 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
6804 * libc/machine/i386/configure: Regenerated.
6805
68061998-12-02 Nick Clifton <nickc@cygnus.com>
6807
6808 * libc/sys/fr30/crt0.s (_start): Fix function names.
6809
6810 * libc/machine/fr30: New directory
6811 * libc/machine/fr30/Makefile.am: New file.
6812 * libc/machine/fr30/Makefile.in: New generated file.
6813 * libc/machine/fr30/configure.in: New file.
6814 * libc/machine/fr30/configure: New generated file.
6815 * libc/machine/fr30/aclocal.m4: New generated file.
6816 * libc/sys/fr30/Makefile.am: New file.
6817 * libc/sys/fr30/Makefile.in: New generated file.
6818 * libc/sys/fr30/configure.in: New file.
6819 * libc/sys/fr30/configure: New generated file.
6820 * libc/sys/fr30/syscalls.c: New file.
6821
6822Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
6823
6824 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
6825
68261998-12-01 Ken Raeburn <raeburn@cygnus.com>
6827
6828 * libc/time/strftime.c (strftime): Also handle %y for years before
6829 1900.
6830
6831Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
6832
6833 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
6834 UNIX convention. Perform tolower on characters before comparing
6835 them rather than use toupper.
6836 * libc/string/strncasecmp.c (strncasecmp): Ditto.
6837
6838Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
6839
6840 * configure.host: Added using i386 machine directory
6841 for all x86 cross-compiler and configuring
6842 which added object files to use via new "mach_add_objs" variable.
6843 * configure: Regenerated.
6844 * libc/configure: Regenerated.
6845 * libc/Makefile.in: Regenerated.
6846 * libc/aclocal.m4: Regenerated.
6847 * libc/ctype/Makefile.in: Regenerated.
6848 * libc/errno/Makefile.in: Regenerated.
6849 * libc/locale/Makefile.in: Regenerated.
6850 * libc/machine/Makefile.in: Regenerated.
6851 * libc/machine/aclocal.m4: Regenerated.
6852 * libc/machine/configure: Regenerated.
6853 * libc/posix/Makefile.in: Regenerated.
6854 * libc/reent/Makefile.in: Regenerated.
6855 * libc/signal/Makefile.in: Regenerated.
6856 * libc/stdio/Makefile.in: Regenerated.
6857 * libc/stdlib/Makefile.in: Regenerated.
6858 * libc/string/Makefile.in: Regenerated.
6859 * libc/string/memmove.c: Optimized code to use memcpy
6860 logic when performing a non-destructive copy.
6861 * libc/string/strncmp.c: Altered code to allow building
6862 optimized for size or speed.
6863 * libc/syscalls/Makefile.in: Regenerated.
6864 * libc/time/Makefile.in: Regenerated.
6865 * libc/unix/Makefile.in: Regenerated.
6866 * libc/machine/i386/Makefile.am: Added new files and reference
6867 to "mach_add_objs" to indicate optional object files.
6868 * libc/machine/i386/Makefile.in: Regenerated.
6869 * libc/machine/i386/aclocal.m4: Regenerated.
6870 * libc/machine/i386/configure: Regenerated.
6871 * libc/machine/i386/memchr.S: New file that implements
6872 function in Intel assembler.
6873 * libc/machine/i386/memcmp.S: ditto.
6874 * libc/machine/i386/memcpy.S: ditto.
6875 * libc/machine/i386/memmove.S: ditto.
6876 * libc/machine/i386/memset.S: ditto.
6877 * libc/machine/i386/strchr.S: ditto.
6878 * libc/machine/i386/strlen.S: ditto.
6879 * libc/machine/i386/f_atan2.S: New file that implements
6880 fast version of math function to be used by compiler when
6881 --ffast_math compile option is used.
6882 * libc/machine/i386/f_atan2f.S: ditto.
6883 * libc/machine/i386/f_exp.c: ditto.
6884 * libc/machine/i386/f_expf.c: ditto.
6885 * libc/machine/i386/f_frexp.S: ditto.
6886 * libc/machine/i386/f_frexpf.S: ditto.
6887 * libc/machine/i386/f_ldexp.S: ditto.
6888 * libc/machine/i386/f_ldexpf.S: ditto.
6889 * libc/machine/i386/f_log.S: ditto.
6890 * libc/machine/i386/f_logf.S: ditto.
6891 * libc/machine/i386/f_log10.S: ditto.
6892 * libc/machine/i386/f_log10f.S: ditto.
6893 * libc/machine/i386/f_math.h: New file.
6894 * libc/machine/i386/f_pow.c: ditto.
6895 * libc/machine/i386/f_powf.S: ditto.
6896 * libc/machine/i386/f_tan.S: ditto.
6897 * libc/machine/i386/f_tan.S: ditto.
6898 * libc/machine/i386/i386mach.h: New file.
6899
6900Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
6901
6902 patch from Mumit Khan <khan@xraylith.wisc.edu>
6903 * libc/include/stdio.h (tempnam): Add prototype.
6904 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
6905 (tempnam): Adhere to prototype.
6906
6907Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
6908
6909 * Makefile.am: Add default for AR_FLAGS.
6910 * Makefile.in: Regenerate.
6911
6912Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
6913
6914 * libc/include/time.h: move __cplusplus wrapper after includes
6915 * libc/include/sys/time.h: ditto. If Cygwin, include
6916 sys/select.h.
6917 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
6918
69191998-11-23 Ken Raeburn <raeburn@cygnus.com>
6920
6921 * libc/time/strftime.c (strftime): Handle %y after year 2000.
6922
6923Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
6924
6925 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
6926 abnormnal end-of-crt0 marker.
6927
6928Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
6929
6930 * libc/sys/fr30/crt0.s: New file/directory.
6931 * libc/include/machine/setjmp.h: Add FR30 target.
6932 * libc/include/machine/ieeefp.h: Add FR30 target.
6933 * configure.host: Add FR30 target.
6934
6935Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
6936
6937 * libm/math: Files that are duplicated in common directory removed.
6938 * libm/math/fdlibm.h: Removed.
6939 * libm/math/s_cbrt.c: Removed.
6940 * libm/math/s_copysign.c: Removed.
6941 * libm/math/s_expm1.c: Removed.
6942 * libm/math/s_finite.c: Removed.
6943 * libm/math/s_ilogb.c: Removed.
6944 * libm/math/s_infinity.c: Removed.
6945 * libm/math/s_lib_ver.c: Removed.
6946 * libm/math/s_log1p.c: Removed.
6947 * libm/math/s_logb.c: Removed.
6948 * libm/math/s_matherr.c: Removed.
6949 * libm/math/s_modf.c: Removed.
6950 * libm/math/s_nan.c: Removed.
6951 * libm/math/s_nextafter.c: Removed.
6952 * libm/math/s_rint.c: Removed.
6953 * libm/math/s_scalbn.c: Removed.
6954 * libm/math/sf_cbrt.c: Removed.
6955 * libm/math/sf_copysign.c: Removed.
6956 * libm/math/sf_expm1.c: Removed.
6957 * libm/math/sf_finite.c: Removed.
6958 * libm/math/sf_ilogb.c: Removed.
6959 * libm/math/sf_infinity.c: Removed.
6960 * libm/math/sf_log1p.c: Removed.
6961 * libm/math/sf_logb.c: Removed.
6962 * libm/math/sf_modf.c: Removed.
6963 * libm/math/sf_nan.c: Removed.
6964 * libm/math/sf_nextafter.c: Removed.
6965 * libm/math/sf_rint.c: Removed.
6966 * libm/math/sf_scalbn.c: Removed.
6967 * libm/math/Makefile.am: Removed references to deleted files (above).
6968 * libm/math/Makefile.in: Regenerated.
6969 * libm/Makefile.am: Added common directory to math.
6970 * libm/Makefile.in: Regenerated.
6971
6972Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
6973
6974 * libm/mathfp: Add non-ANSI functions.
6975 * libm/mathfp/e_acosh.c acosh(): New file.
6976 * libm/mathfp/e_atanh.c atanh(): New file.
6977 * libm/mathfp/e_hypot.c hypot(): New file.
6978 * libm/mathfp/e_j0.c j0(): New file.
6979 * libm/mathfp/e_j1.c j1(): New file.
6980 * libm/mathfp/e_remainder.c remainder(): New file.
6981 * libm/mathfp/e_scalb.c scalb(): New file.
6982 * libm/mathfp/ef_acosh.c acoshf(): New file.
6983 * libm/mathfp/ef_atanh.c atanhf(): New file.
6984 * libm/mathfp/ef_hypot.c hypotf(): New file.
6985 * libm/mathfp/ef_j0.c j0f(): New file.
6986 * libm/mathfp/ef_j1.c j1f(): New file.
6987 * libm/mathfp/ef_remainder.c remainderf(): New file.
6988 * libm/mathfp/ef_scalb.c scalbf(): New file.
6989 * libm/mathfp/er_gamma.c gamma_r: New file.
6990 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
6991 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
6992 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
6993 * libm/mathfp/w_cabs.c cabs(): New file.
6994 * libm/mathfp/w_drem.c drem(): New file.
6995 * libm/mathfp/w_jn.c jn(): New file.
6996 * libm/mathfp/wf_cabs.c cabsf(): New file.
6997 * libm/mathfp/wf_drem.c dremf(): New file.
6998 * libm/mathfp/wf_jn.c jnf(): New file.
6999
7000Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
7001
7002 * libc/sys/cygwin32: remove directory and contents
7003 * libc/sys/cygwin: and add back, losing the "32".
7004 * configure.host: check for cygwin* instead of cygwin32.
7005 * acinclude.m4: ditto.
7006 * aclocal.m4: regenerate with aclocal
7007 * configure: regenerate with autoconf
7008
7009Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
7010
7011 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
7012 for length
7013
7014Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
7015
7016 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
7017 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
7018 to make rand/srand, strtok, asctime, localtime, w_gamma,
7019 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
7020 time.h to bring in struct tm definition.
7021 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
7022 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
7023 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
7024 instead of static variable.
7025 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
7026 struct reent instead of static variable.
7027 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
7028 struct reent instead of static variable.
7029 * libm/math/Makefile.am: Removed s_signgam.o.
7030 * libm/math/Makefile.in: Regenerated.
7031 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
7032 struct reent instead of global variable 'signgam'.
7033 * libm/math/w_lgamma.c (lgamma): Likewise.
7034 * libm/math/wf_gamma.c (gammaf): Likewise.
7035 * libm/math/wf_lgamma.c (lgammaf): Likewise.
7036 * libm/math/s_signgam.c: Removed.
7037 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
7038 to be const.
7039 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
7040 to be const.
7041 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
7042 libc/include/reent.h.
7043 * libc/reent/Makefile.in: Regenerated.
7044 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
7045 to be const.
7046 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
7047 'JIS_action_table' to be const.
7048 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
7049
7050Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
7051
7052 * acinclude.m4: $with_target_subdir should default to '.'
7053 or confusion results when configuring in same directory as sources.
7054 * Regenerate all aclocal.m4 and configure files.
7055
7056Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
7057
7058 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
7059 can be set by defining MALLOC_ALIGNMENT=16. Also added support
7060 for platforms where sizeof(size_t) < sizeof(long) via
7061 SIZE_T_SMALLER_THAN_LONG macro.
7062
7063Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
7064
7065 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
7066 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
7067 which sets _CLOCKS_PER_SEC_ for selected machines.
7068 * libc/include/machine/time.h: New file.
7069
7070Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
7071
7072 * libc/syscalls/sysexecve.c: New file.
7073 * libc/syscalls/sysgettod.c: New file.
7074 * libc/syscalls/systimes.c: New file.
7075 * libc/syscalls/Makefile.am: Added new objects.
7076 * libc/syscalls/Makefile.in: Regenerated.
7077 * libc/include/_syslist.h (_execve): Moved define in file.
7078 * libc/include/reent.h: Added _execve_r declaration.
7079 * libc/Makefile.in: Regenerated.
7080 * libc/ctype/Makefile.in: Regenerated.
7081 * libc/errno/Makefile.in: Regenerated.
7082 * libc/locale/Makefile.in: Regenerated.
7083 * libc/machine/Makefile.in: Regenerated.
7084 * libc/misc/Makefile.in: Regenerated.
7085 * libc/posix/Makefile.in: Regenerated.
7086 * libc/reent/Makefile.in: Regenerated.
7087 * libc/reent/execr.c (_execve_r): Added _execve_r function.
7088 * libc/signal/Makefile.in: Regenerated.
7089 * libc/stdio/Makefile.in: Regenerated.
7090 * libc/time/Makefile.in: Regenerated.
7091 * libc/unix/Makefile.in: Regenerated.
7092 * libm/mathfp/Makefile.in: Regenerated.
7093
7094Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
7095
7096 * libc/string/Makefile.in: Regenerated.
7097 * libc/string/memchr.c (memchr): Moved code to reduce object size.
7098 * libc/string/memcpy.c (memcpy): Ditto.
7099 * libc/string/memcmp.c (memcmp): Ditto.
7100 * libc/string/memset.c (memset): Ditto.
7101 * libc/string/strchr.c (strchr): Ditto.
7102 * libc/string/strcmp.c (strcmp): Ditto.
7103 * libc/string/strcpy.c (strcpy): Ditto.
7104 * libc/string/strlen.c (strlen): Ditto.
7105
7106Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
7107
7108 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
7109 to generate aclocal.m4.
7110 * libm/Makefile.in: Regenerated.
7111 * libm/aclocal.m4: Regenerated.
7112 * libm/configure: Regenerated.
7113 * libm/math/Makefile.in: Regenerated.
7114 * libm/mathfp/Makefile.in: Regenerated.
7115
71161998-09-25 Mark Salter <msalter@cygnus.com>
7117
7118 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
7119 by adding leading and trailing underscores to symbol names.
7120
7121Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
7122
7123 * Makefile.in: Add default for AR_FLAGS.
7124
7125Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
7126
7127 patch from ian@airs.com (Ian Taylor):
7128 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
7129 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
7130 is needed for detecting the build machine. Required for
7131 cygwin native builds.
7132
7133 * Regenerate all aclocal.m4 and configure files.
7134
7135Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
7136
7137 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
7138 used to start with LC.
7139
7140Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7141
7142 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
7143 (longjmp): Likewise.
7144
7145Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7146
7147 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
7148 the test for small number of bytes.
7149
7150Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
7151
7152 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
7153 math library that uses floating point algorithms instead of the old
7154 libm.
7155 * Makefile.in: Regenerate with automake version 1.3b.
7156 * configure: Rebuild.
7157 * libm/Makefile.in: Regenerate with automake version 1.3b.
7158 * libm/aclocal.m4: Regenerate.
7159 * libm/configure: Rebuild.
7160 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
7161 * libm/acinclude.m4: Define macros for configure.in.
7162 * libm/config.h.in: Generate.
7163 * libm/mathfp/Makefile.am: New file.
7164 * libm/mathfp/Makefile.in: Generate.
7165 * libm/mathfp/s_acos.c (acos): New file.
7166 * libm/mathfp/s_asin.c (asin): New file.
7167 * libm/mathfp/s_asine.c (asine): New file.
7168 * libm/mathfp/s_atan.c (atan): New file.
7169 * libm/mathfp/s_atan2.c (atan2): New file.
7170 * libm/mathfp/s_atangent.c (atangent): New file.
7171 * libm/mathfp/s_ceil.c (ceil): New file.
7172 * libm/mathfp/s_copysign.c (copysign): New file.
7173 * libm/mathfp/s_cos.c (cos): New file.
7174 * libm/mathfp/s_cosh.c (cosh): New file.
7175 * libm/mathfp/s_exp.c (exp): New file.
7176 * libm/mathfp/s_fabs.c (fabs): New file.
7177 * libm/mathfp/s_finite.c (finite): New file.
7178 * libm/mathfp/s_floor.c (floor): New file.
7179 * libm/mathfp/s_fmod.c (fmod): New file.
7180 * libm/mathfp/s_frexp.c (frexp): New file.
7181 * libm/mathfp/s_infconst.c: New file.
7182 * libm/mathfp/s_isinf (isinf).c: New file.
7183 * libm/mathfp/s_isnan.c (isnan): New file.
7184 * libm/mathfp/s_ispos.c (ispos): New file.
7185 * libm/mathfp/s_ldexp.c (ldexp): New file.
7186 * libm/mathfp/s_log.c (log): New file.
7187 * libm/mathfp/s_log10.c (log10): New file.
7188 * libm/mathfp/s_logarithm.c (logarithm): New file.
7189 * libm/mathfp/s_mathcnst.c: New file.
7190 * libm/mathfp/s_modf (modf).c: New file.
7191 * libm/mathfp/s_numtest.c (numtest): New file.
7192 * libm/mathfp/s_pow.c (pow): New file.
7193 * libm/mathfp/s_scalbn.c (scalbn): New file.
7194 * libm/mathfp/s_sin (sin).c: New file.
7195 * libm/mathfp/s_sine.c (sine): New file.
7196 * libm/mathfp/s_sineh.c (sineh): New file.
7197 * libm/mathfp/s_sinf.c (sinf): New file.
7198 * libm/mathfp/s_sinh.c (sinh): New file.
7199 * libm/mathfp/s_sqrt.c (sqrt): New file.
7200 * libm/mathfp/s_tan.c (tan): New file.
7201 * libm/mathfp/s_tanh.c (tanh): New file.
7202 * libm/mathfp/sf_acos.c (acosf): New file.
7203 * libm/mathfp/sf_asin.c (asinf): New file.
7204 * libm/mathfp/sf_asine.c (asinef): New file.
7205 * libm/mathfp/sf_atan.c (atanf): New file.
7206 * libm/mathfp/sf_atan2.c (atan2f): New file.
7207 * libm/mathfp/sf_atangent.c (atangent): New file.
7208 * libm/mathfp/sf_ceil.c (ceilf): New file.
7209 * libm/mathfp/sf_copysign.c (copysignf): New file.
7210 * libm/mathfp/sf_cos.c (cosf): New file.
7211 * libm/mathfp/sf_cosh.c (coshf): New file.
7212 * libm/mathfp/sf_exp.c (expf): New file.
7213 * libm/mathfp/sf_fabs.c (fabsf): New file.
7214 * libm/mathfp/sf_finite.c (finitef): New file.
7215 * libm/mathfp/sf_floor.c (floorf): New file.
7216 * libm/mathfp/sf_fmod.c (fmodf): New file.
7217 * libm/mathfp/sf_frexp.c (frexpf): New file.
7218 * libm/mathfp/sf_isinf.c (isinff): New file.
7219 * libm/mathfp/sf_isnan.c (isnanf): New file.
7220 * libm/mathfp/sf_ispos.c (isposf): New file.
7221 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
7222 * libm/mathfp/sf_log.c (logf): New file.
7223 * libm/mathfp/sf_log10.c (log10f): New file.
7224 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
7225 * libm/mathfp/sf_modf.c (modff): New file.
7226 * libm/mathfp/sf_numtest.c (numtestf): New file.
7227 * libm/mathfp/sf_pow.c (powf): New file.
7228 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
7229 * libm/mathfp/sf_sin.c (sinf): New file.
7230 * libm/mathfp/sf_sine.c (sinef): New file.
7231 * libm/mathfp/sf_sineh.c (sinehf): New file.
7232 * libm/mathfp/sf_sinh.c (sinhf): New file.
7233 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
7234 * libm/mathfp/sf_tan.c (tanf): New file.
7235 * libm/mathfp/sf_tanh.c (tanhf): New file.
7236 * libm/mathfp/zmath.h: New file.
7237
7238Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7239
7240 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
7241 exit if it has been overwritten by pre-fetching in delay slot.
7242
72431998-09-01 Michael Meissner <meissner@cygnus.com>
7244
7245 * Makefile.am (tooldir): Add in host_alias, so that multilib
7246 libraries are installed in the directory the compiler looks in.
7247 * Makefile.in: Regenerate.
7248
7249 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
7250
7251Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
7252
7253 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
7254 ahead of test for number of bytes being moved.
7255
7256Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
7257
7258 * libc/include/sys/unistd.h: Nothing special needed for
7259 _exit under cygwin.
7260
7261Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
7262
7263 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
7264 conform to user label naming conventions.
7265
7266Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
7267
7268 * libc/sys/cygwin32/sys/utime.h: variable names in
7269 protos should start with two leading underscores
7270 * libc/include/string.h: ditto
7271 * libc/include/sys/signal.h: ditto
7272 * libc/include/sys/stat.h: ditto
7273 * libc/include/sys/time.h: ditto
7274 * libc/include/sys/unistd.h: ditto
7275 * libc/include/ctype.h: ditto
7276 * libc/include/stdlib.h: ditto
7277 * libc/include/sys/reent.h: struct _atexit function ptr takes a
7278 void, same with _sig_func.
7279
7280Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
7281
7282 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
7283 for MB_CAPABLE to reduce code size when newlib is not configured
7284 with --enable-newlib-mb.
7285 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
7286 mbtowc_r.o to minimize size.
7287 * libc/stdlib/Makefile.in: Rebuild.
7288
7289Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
7290
7291 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
7292 to -DREENT.
7293 * libc/sys/sparc64/Makefile.in: Rebuild.
7294
7295Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
7296
7297 * Makefile.am (MAKEOVERRIDES): Define.
7298 * Makefile.in: Rebuild.
7299
7300Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
7301
7302 * libc/sys/sparc64/sys/stat.h (stat): Add const.
7303
7304Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
7305
7306 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
7307 newlib_cflags when looking for targ-include.
7308 * */aclocal.m4, */configure: Rebuild.
7309
7310Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
7311
7312 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
7313 to "_end".
7314
7315Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
7316
7317 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
7318 on SPARCs with little-endian data.
7319 * libc/include/machine/ieeefp.h: Ditto.
7320
7321Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
7322
7323 * acinclude.m4: Handle a relative srcdir correctly when setting
7324 newlib_cflags.
7325 * */aclocal.m4, */configure: Rebuild.
7326
7327Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
7328
7329 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
7330 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
7331 * libm/math/wrf_gamma.c (gammaf_r): ditto
7332 * libm/math/wr_lgamma.c (lgamma_r): ditto
7333 * libm/math/wr_gamma.c (gamma_r): ditto
7334 * libm/math/wf_sqrt.c (sqrtf): ditto
7335 * libm/math/wf_sinh.c (sinhf): ditto
7336 * libm/math/wf_scalb.c (scalbf): ditto
7337 * libm/math/wf_remainder.c (remainderf): ditto
7338 * libm/math/wf_pow.c (powf): ditto
7339 * libm/math/wf_log10.c (log10f): ditto
7340 * libm/math/wf_log.c (logf): ditto
7341 * libm/math/wf_lgamma.c (lgammaf): ditto
7342 * libm/math/wf_jn.c (jnf, ynf): ditto
7343 * libm/math/wf_j1.c (j1f, y1f): ditto
7344 * libm/math/wf_j0.c (j0f, y0f): ditto
7345 * libm/math/wf_hypot.c (hypotf): ditto
7346 * libm/math/wf_gamma.c (gammaf): ditto
7347 * libm/math/wf_fmod.c (fmodf): ditto
7348 * libm/math/wf_exp.c (expf): ditto
7349 * libm/math/wf_cosh.c (coshf): ditto
7350 * libm/math/wf_atanh.c (atanhf): ditto
7351 * libm/math/wf_atan2f.c (atan2f): ditto
7352 * libm/math/wf_asin.c (asinf): ditto
7353 * libm/math/wf_acosh.c (acoshf): ditto
7354 * libm/math/wf_acos.c (acosf): ditto
7355 * libm/math/w_sqrt.c (sqrt): ditto
7356 * libm/math/w_sinh.c (sinh): ditto
7357 * libm/math/w_scalb.c (scalb): ditto
7358 * libm/math/w_remainder.c (remainder): ditto
7359 * libm/math/w_pow.c (pow): ditto
7360 * libm/math/w_log10.c (log10): ditto
7361 * libm/math/w_log.c (log): ditto
7362 * libm/math/w_lgamma.c (lgamma): ditto
7363 * libm/math/w_jn.c (jn, yn): ditto
7364 * libm/math/w_j1.c (j1, y1): ditto
7365 * libm/math/w_j0.c (j0, y0): ditto
7366 * libm/math/w_hypot.c (hypot): ditto
7367 * libm/math/w_gamma.c (gamma): ditto
7368 * libm/math/w_fmod.c (fmod): ditto
7369 * libm/math/w_exp.c (exp): ditto
7370 * libm/math/w_cosh.c (cosh): ditto
7371 * libm/math/w_atanh.c (atanh): ditto
7372 * libm/math/w_atan2f.c (atan2): ditto
7373 * libm/math/w_asin.c (asin): ditto
7374 * libm/math/w_acosh.c (acosh): ditto
7375 * libm/math/w_acos.c (acos): ditto
7376
7377Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
7378
7379 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
7380 (fsrc): Add wf_cabs.c and wf_drem.c.
7381 * libm/math/Makefile.in: Rebuild.
7382
7383 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
7384 unused directory variables. Remove duplicate CFLAGS.
7385 * Makefile.in: Rebuild.
7386
7387 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
7388 with $(CC_FOR_BUILD).
7389 (makedoc.o): Likewise.
7390 * doc/Makefile.in: Rebuild.
7391
7392 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
7393 force a definition of COMPILE.
7394 (libfoo_a_SOURCES): Define.
7395 * libc/sys/cygwin32/Makefile.in: Rebuild.
7396 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
7397 force a definition of COMPILE.
7398 (libfoo_a_SOURCES): Define.
7399 * libc/sys/tic80/Makefile.in: Rebuild.
7400
7401Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
7402
7403 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
7404 flag.
7405
7406Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
7407
7408 * Build using autoconf and automake. Added many Makefile.am and
7409 configure.in files, plus generated files. Old configure.in files
7410 and all old Makefile.in files completely replaced. Removed
7411 host/any. Added acinclude.m4 and configure.host.
7412
7413Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
7414
7415 * libc/stdio/vfprintf.c: enable long long support, sometimes.
7416 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
7417
7418Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7419
7420 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
7421 * libc/machine/sh/Makefile.in: Add rules for new files.
7422
7423Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7424
7425 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
7426 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
7427 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
7428
7429Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
7430
7431 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
7432 code is ignored.
7433
7434Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
7435
7436 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
7437 internal static buffer when s is NULL, as prescribed by ANSI.
7438
74391998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
7440
7441 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
7442 removed.
7443 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
7444 libc/stdlib will be used for h8300hms.
7445
7446Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
7447
7448 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
7449 version that can be built either for speed or size.
7450 * libc/machine/mn10300/memset.S (_memset): ditto
7451 * libc/machine/mn10300/memchr.S (_memchr): ditto
7452 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
7453 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
7454 * libc/machine/mn10300/strchr.S (_strchr): ditto
7455 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
7456 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
7457 * libc/machine/mn10300/Makefile.in: Added entries for
7458 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
7459 strcmp.o, strcpy.o, and strlen.o.
7460
7461Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
7462
7463 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
7464 been replaced with libgloss/mn10200.
7465
7466Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
7467
7468 * libc/string/strchr.c (strchr): Make s a constant pointer to
7469 avoid warning.
7470
7471Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
7472
7473 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
7474 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
7475 board SWIs instead of Demon board SWIs).
7476
7477Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
7478
7479 * libc/string/strncat.c (strncat): Make -Os act the same as
7480 PREFER_SIZE_OVER_SPEED being defined.
7481
7482Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
7483
7484 * libc/string/memchr.c (memchr): Make -Os act the same as
7485 PREFER_SIZE_OVER_SPEED being defined.
7486 * libc/string/memcmp.c (memcmp): Ditto.
7487 * libc/string/memcpy.c (memcpy): Ditto.
7488 * libc/string/memset.c (memset): Ditto.
7489 * libc/string/strcat.c (strcat): Ditto.
7490 * libc/string/strchr.c (strchr): Ditto.
7491 * libc/string/strcmp.c (strcmp): Ditto.
7492 * libc/string/strcpy.c (strcpy): Ditto.
7493 * libc/string/strlen.c (strlen): Ditto.
7494 * libc/string/strncat.c (strncat): Ditto.
7495 * libc/string/strncmp.c (strncmp): Ditto.
7496 * libc/string/strncpy.c (strncpy): Ditto.
7497
7498Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
7499
7500 * libc/include/sys/itimer.h: remove
7501 * libc/include/sys/time.h: itimer stuff should be here
7502
7503Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
7504
7505 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
7506 bit instead of comparing to 0 so -0.0 can be printed correctly.
7507
7508Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7509
7510 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
7511
7512Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
7513
7514 * libc/include/sys/unistd.h: fix sync() proto
7515 * libc/include/sys/fcntl.h: remove _close which is already
7516 defined in unistd.h.
7517 * libc/include/sys/time.h: add getitimer proto
7518
7519Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
7520
7521 * libc/string/strchr.c: convert arg to unsigned char
7522 * libc/include/stdlib.h: add protos for random, srandom
7523 * libc/include/sys/stat.h: add lstat proto
7524 * libc/include/sys/time.h: add setitimer proto
7525 * libc/include/sys/unistd.h: add readlink, symlink protos
7526 * libc/include/process.h: instead of including windows.h and using
7527 HANDLEs in sexec protos, just use void *s. Need to include
7528 sys/types.h.
7529
7530Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
7531
7532 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
7533
7534Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
7535
7536 * libc/include/process.h: add secure exec protos
7537
7538Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
7539
7540 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
7541 which are accessed as both doubles and integers.
7542 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
7543 * libc/stdlib/strtod.c (_strtod_r): Likewise.
7544 * libc/stdlib/mprec.h: Add "union double_union" and change
7545 word0/word1 macros to use it.
7546
7547Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
7548
7549 * libc/include/sys/signal.h: add __cplusplus wrapper
7550
7551Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
7552
7553 * libc/include/sys/utime.h: new generic file that gets replaced by
7554 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
7555 function.
7556 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
7557 * libc/include/time.h: remove duplicate utime proto
7558 * libc/include/utime.h: add comment
7559
7560Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
7561
7562 * libc/include/sys/time.h: Add missing include to
7563 allow use of _EXFUN. Remove times function that is
7564 already defined in times.h.
7565
7566Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
7567
7568 * libc/include/time.h: Fix typo in tzset.
7569
7570Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
7571
7572 * libc/include/sys/time.h: add missing Cygwin32 function protos
7573 * libc/include/sys/unistd.h: ditto
7574 * libc/include/time.h: ditto
7575
7576Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
7577
7578 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
7579 FIXME.
7580 * libc/include/sys/types.h: add a new __MS_types__ section
7581 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
7582 __BIT_TYPES_DEFINED__.
7583
7584Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
7585
7586 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
7587 since it overrides the one in libc/include/sys. Also, start
7588 including types.h.
7589
7590Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
7591
7592 * libm/math/Makefile.in: add s_signgam.o to obj list
7593
7594Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
7595
7596 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
7597
7598Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
7599
7600 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
7601 so don't use defines.
7602
7603Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
7604
7605 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
7606
7607Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
7608
7609 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
7610 _current_locale as default locale.
7611
7612Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
7613
7614 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
7615 insufficient space in a chunk.
7616
7617Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
7618
7619 * configure.in (links): Added check for --enable-newlib-mb configure
7620 option which defines the MB_CAPABLE macro.
7621 * libc/locale/locale.c (_setlocale_r): Added support for setting
7622 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
7623 defined.
7624 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
7625 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
7626 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
7627 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
7628 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
7629 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
7630 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
7631 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
7632 * libc/stdlib/Makefile.in: Added new multibyte
7633 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
7634 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
7635 _mbstowcs_r(), and _wcstombs_r().
7636 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
7637 for JIS, SJIS, and EUC-JP characters.
7638 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
7639 MB_CAPABLE defined.
7640 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
7641 MB_CAPABLE defined.
7642 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
7643 MB_CAPABLE defined.
7644 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
7645 if MB_CAPABLE defined.
7646 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
7647 if MB_CAPABLE defined.
7648 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
7649 to the format string processing when MB_CAPABLE.
7650 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
7651 call _mbtowc_r().
7652
7653Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
7654
7655 The following modifications are courtesy of Anthony Thompson,
7656 athompson@cambridge.arm.com:
7657 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
7658 boith RDI and RDP monitors.
7659 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
7660 RDI and RDP monitors.
7661
7662Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
7663
7664 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
7665 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
7666 (_swiopen): Fixed open flags to treat write with append as just append.
7667 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
7668 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
7669
7670Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7671
7672 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
7673 When needing to transfer an initial 2-byte-word, store as
7674 two single bytes.
7675
7676Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7677
7678 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
7679 __SH3E__ .
7680 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
7681 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
7682
7683Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
7684
7685 * configure.in (target_cflags): If --enable-target-optspace, use
7686 -Os to compile newlib rather than -O2. Default to using -Os for
7687 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
7688 used.
7689
7690Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
7691
7692 * libc/include/machine/setjmp.h: change sigsetjmp and
7693 siglongjmp definitions to use an array instead of a struct
7694 for __CYGWIN32__
7695
7696Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
7697
7698 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
7699
7700Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
7701
7702 * libc/string/strxfrm.c: fix to get correct return value
7703
7704Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
7705
7706 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
7707 builds. Make mode change labels global so that they will be seen
7708 by the debugger.
7709
7710Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
7711
7712 * configure.in (links): Do not use ARM debiugging protocols for PE
7713 builds.
7714
7715 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
7716 message.
7717
7718Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
7719
7720 * libc/stdio/findfp.c (__sinit): Made stdout default to
7721 line buffered mode as defined by ANSI.
7722
7723Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
7724
7725 * libc/include/sys/itimer.h: New file.
7726
7727 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
7728
7729Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7730
7731 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
7732 failure.
7733
7734Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
7735
7736 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
7737 insns.
7738
7739Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
7740
7741 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
7742
7743Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
7744
7745 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
7746 support.
7747
7748 * libc/include/machine/setjmp.h: Add D30V support.
7749
7750 * configure.in (d30v-*): Add d30v machine directory.
7751
7752Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
7753
7754 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
7755 been replaced with libgloss/mn10300.
7756
7757Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
7758
7759 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
7760 it is no longer needed.
7761
7762Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
7763
7764 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
7765
7766Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
7767
7768 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
7769 the file when O_APPEND is set, wherever the EOF happens to be at
7770 that time.
7771
7772Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
7773
7774 patch from cgf@bbc.com (Christopher Faylor):
7775 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
7776 convention of closing fp prior to attempting to open the file
7777 argument. This allows correct operation when reopening
7778 stdin/stdout/stderr. Replaces last freopen.c patch.
7779
7780Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
7781
7782 patch from cgf@bbc.com (Christopher Faylor):
7783 * libc/stdio/freopen.c: freopen was not preserving the fd
7784 of the stream being operated on. This confuses programs that
7785 expect that the handles for stdout and stderr will be 1 and 2.
7786
7787Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
7788
7789 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
7790
7791Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
7792
7793 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
7794
7795Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
7796
7797 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
7798 altered to not use a branch. Also added hint that last
7799 bclr in longjmp will likely result in branch.
7800
7801
7802Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
7803
7804 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
7805
7806Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
7807
7808 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
7809 v850 builds.
7810
7811 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
7812
7813Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
7814
7815 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
7816 that loads FR14 to specify offset of 8 rather than 4
7817 so it loads from offset 96 (where setjmp stored it).
7818
7819Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
7820
7821 * libc/machine/sh/memcpy.S: (_memcpy): Update to
7822 latest version supplied by customer.
7823 * libc/machine/sh/memset.S (_memset): Ditto.
7824
7825Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
7826
7827 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
7828 PR14730).
7829
7830Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
7831
7832 * libc/include/string.h: remove redefinition of ffs
7833
7834Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
7835
7836 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
7837 defined
7838
7839Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
7840
7841 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
7842 TI Libraries to link to libc.a
7843
7844Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
7845
7846 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
7847 * libc/include/sys/stat.h (_{,f}stat): Ditto.
7848 * libc/include/sys/wait.h (_wait): Ditto.
7849 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
7850 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
7851
7852Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
7853
7854 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
7855 minded stabs so function name shows up when running the simulator
7856 with -t.
7857 * libc/sys/d10v/{crt0,trap}.S: Ditto.
7858
7859Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
7860
7861 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
7862 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
7863 Use R5 where we used to use R3.
7864
7865Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
7866
7867 * libc/stdlib/getopt.c (getopt): replaced __progname
7868 with nargv[0] to improve portability to imbedded systems.
7869
7870Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
7871
7872 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
7873 patch supplied by Tont.Thompson@arm.com to fix the creation of the
7874 stdout file.
7875
7876Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
7877
7878 * libc/stdio/tmpnam.c (worker): Generate a different file name
7879 each time.
7880
7881 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
7882 fails, try an execlp for sh.
7883
7884 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
7885 option for the winsup include directory.
7886
7887Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
7888
7889 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
7890 debugging interface from Tony.Thompson@arm.com.
7891
7892 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
7893 * libc/sys/arm/swi.h: ditto.
7894
7895Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
7896
7897 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
7898 DIR struct used for readdir hashes.
7899
7900Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
7901
7902 * libc/string/strchr.c: Use "unsigned chars" as necessary.
7903
7904Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
7905
7906 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
7907 integer targets.
7908
7909Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
7910
7911 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
7912 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
7913 * libc/include/malloc.h: Add extern "C" if __cplusplus.
7914 (__malloc_copy): Declare.
7915
7916Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
7917
7918 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
7919 <sys/config.h>.
7920 (POINTER_UINT): Define.
7921 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
7922 (MALLOC_ALIGNMENT): Don't define if already defined.
7923 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
7924 long.
7925
7926Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
7927
7928 * libc/string/memset.c (memset): Fiddle with code so that the long
7929 value being stored is not a stack value. Unroll storing longs 4
7930 times.
7931
7932Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
7933
7934 * Reduce code size for libm modules.
7935 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
7936 and simply move code into sqrt.
7937 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
7938 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
7939 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
7940 * libm/math/wr_gamma.c (gamma_r): Likewise.
7941 * libm/math/wf_sinh.c (sinfh): Likewise.
7942 * libm/math/w_sinh.c (sinh): Likewise.
7943 * libm/math/wf_scalb.c (scalbf): Likewise.
7944 * libm/math/w_scalb.c (scalb): Likewise.
7945 * libm/math/wf_remainder.c (remainderf): Likewise.
7946 * libm/math/w_remainder.c (remainder): Likewise.
7947 * libm/math/wf_pow.c (powf): Likewise.
7948 * libm/math/w_pow.c (pow): Likewise.
7949 * libm/math/wf_log10.c (log10f): Likewise.
7950 * libm/math/w_log10.c (log10): Likewise.
7951 * libm/math/wf_log.c (logf): Likewise.
7952 * libm/math/w_log.c (log): Likewise.
7953 * libm/math/w_lgamma.c (lgamma): Likewise.
7954 * libm/math/wf_lgamma.c (lgammaf): Likewise.
7955 * libm/math/wf_jn.c (jnf): Likewise.
7956 * libm/math/w_jn.c (jn): Likewise.
7957 * libm/math/wf_j1.c (j1f): Likewise.
7958 * libm/math/w_j1.c (j1): Likewise.
7959 * libm/math/wf_j0.c (j0f): Likewise.
7960 * libm/math/w_j0.c (j0): Likewise.
7961 * libm/math/wf_hypot.c (hypotf): Likewise.
7962 * libm/math/w_hypot.c (hypot): Likewise.
7963 * libm/math/wf_gamma.c (gammaf): Likewise.
7964 * libm/math/w_gamma.c (gamma): Likewise.
7965 * libm/math/wf_fmod.c (fmodf): Likewise.
7966 * libm/math/w_fmod.c (fmod): Likewise.
7967 * libm/math/wf_exp.c (expf): Likewise.
7968 * libm/math/w_exp.c (exp): Likewise.
7969 * libm/math/wf_cosh.c (coshf): Likewise.
7970 * libm/math/w_cosh.c (cosh): Likewise.
7971 * libm/math/wf_atanh.c (atanhf): Likewise.
7972 * libm/math/w_atanh.c (atanh): Likewise.
7973 * libm/math/wf_atan2.c (atan2f): Likewise.
7974 * libm/math/w_atan2.c (atan2): Likewise.
7975 * libm/math/wf_asin.c (asinf): Likewise.
7976 * libm/math/w_asin.c (asin): Likewise.
7977 * libm/math/wf_acosh.c (acoshf): Likewise.
7978 * libm/math/w_acosh.c (acosh): Likewise.
7979 * libm/math/wf_acos.c (asocf): Likewise.
7980 * libm/math/w_acos.c (acos): Likewise.
7981 * libm/math/wf_sqrt.c (sqrtf): Likewise.
7982 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
7983 for embedded systems.
7984
7985Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
7986
7987 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
7988 Lea in case of a foreign sbrk.
7989
7990Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
7991
7992 Incorporate Doug Lea's malloc:
7993 * libc/stdlib/mallocr.c: Completely replaced.
7994 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
7995 (realloc): Remove.
7996 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
7997 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
7998 mallopt.
7999 (mallinfo, malloc_stats, mallopt): New functions.
8000 (_mstats_r): Just call _malloc_stats_r.
8001 * libc/stdlib/malign.c: New file.
8002 * libc/stdlib/mlock.c: New file.
8003 * libc/stdlib/msize.c: New file.
8004 * libc/stdlib/mtrim.c: New file.
8005 * libc/stdlib/realloc.c: New file.
8006 * libc/stdlib/valloc.c: New file.
8007 * libc/stdlib/malloc.h: Remove.
8008 * libc/stdlib/callocr.c: Remove.
8009 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
8010 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
8011 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
8012 reallocr.o, valloc.o, vallocr.o.
8013 (CHEWOUT_FILES): Add mlock.def, mstats.def.
8014 (MALLOC_CFLAGS): New variable.
8015 (mallocr.o): New target, build from mallocr.c.
8016 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
8017 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
8018 (msizer.o, malloptr.o): Likewise.
8019 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
8020 (valloc.o): New target.
8021 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
8022 * libc/include/malloc.h: Declare struct mallinfo, and new
8023 routines.
8024 * libc/include/stdlib.h (cfree): Correct declaration.
8025
8026Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
8027
8028 * libc/include/machine/setjmp.h: Add support for Thumb target.
8029
8030 * libc/include/machine/ieeefp.h: Add support for Thumb target.
8031
8032 * configure.in (links): Add support for Thumb target.
8033
8034Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
8035
8036 * libc/sys/arm/setjmp.S: Updated with version from branch.
8037
8038Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
8039
8040 * libc/include/stdio.h: add POSIX-required define L_ctermid
8041 for ctermid
8042
8043Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
8044
8045 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
8046 addition to MISSING_SYSCALL_NAMES.
8047
8048Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8049
8050 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
8051
8052Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
8053
8054 * libc/include/string.h: change strsignal proto to return
8055 a char *. This eliminates compile problems in gdb resulting
8056 from gdb's definition of strsignal in defs.h.
8057
8058Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
8059
8060 * libc/sys/cygwin32/sys/utime.h: new (moved here from
8061 winsup/include) so as not to conflict with the one in
8062 libc/include.
8063 * libc/include/string.h: add protos for strsignal, strtosigno
8064
8065Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
8066
8067 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
8068
8069 * configure.in (d30v-*-*): Add configuration.
8070
8071Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
8072
8073 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
8074 to select which kind of debug monitor is in use for an ARM target.
8075
8076 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
8077 Angel and Demon debug monitors. Part of this code was supplied by
8078 Tony Thompson at ARM: athompso@arm.com.
8079
8080Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
8081
8082 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
8083 semantics when the count is greater than the length of the second
8084 source string.
8085
8086Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
8087
8088 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
8089 * libc/include/sys/unistd.h: add protos for usleep, truncate,
8090 truncate and ftruncate take off_t, not size_t
8091
8092Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
8093
8094 * libc/string/strcat.c (strcat): Add missing comment end.
8095 * libc/string/strncat.c (strncat): Likewise.
8096
8097Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
8098
8099 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
8100 targets.
8101 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
8102 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
8103 defined.
8104 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
8105 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
8106 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
8107
8108Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
8109
8110 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
8111 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
8112
8113Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
8114
8115 * libc/machine/i386/setjmp.S: New file.
8116 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
8117 (OFILES): Add setjmp.o.
8118 (setjmp.o): Add rule for.
8119 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
8120
8121Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
8122 Jeffrey A Law (law@cygnus.com)
8123
8124 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
8125 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
8126 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
8127 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
8128
8129Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
8130
8131 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
8132 rules.
8133
8134 * libc/include/sys/config.h: Use __v850 to select v850
8135 endianness.
8136
8137 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
8138 buffer size.
8139
8140 * libc/include/machine/ieeefp.h: Use __v850 to select v850
8141 endianness.
8142
8143Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
8144
8145 * libc/stdlib/setenv.c: change unsetenv definition to match
8146 style of setenv (with _DEFUN). The string should be a const.
8147 * libc/include/stdlib.h: unsetenv proto should return void.
8148
8149Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
8150
8151 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
8152
8153Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
8154
8155 * libc/stdio/glue.h: remove.
8156 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
8157 * libc/stdio/Makefile.in: remove glue.h dependencies
8158
8159Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
8160
8161 * libc/sys/sysnecv850/crt0.S: Created V850e version.
8162
8163Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
8164
8165 * configure.in (target_cpu): Add `arc'.
8166
8167Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
8168
8169 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
8170 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
8171 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
8172 * newlib/libc/reent/reent.c: Add _wrapup_reent.
8173 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
8174
8175Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
8176
8177 * libc/machine/mips/setjmp.S: Handle mips16 builds.
8178
8179Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
8180
8181 * libc/include/stdio.h (siprintf): Declare.
8182
8183Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
8184
8185 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
8186 TARGET_CFLAGS and NEWLIB_FLAGS.
8187
8188Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
8189
8190 * configure.in (links): Add support for v850ea target.
8191
8192Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
8193
8194 * configure.in (links): Add support for v850e target.
8195
8196Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
8197
8198 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
8199
8200Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
8201
8202 * configure.in (arc-*-*): Add support for.
8203 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
8204
8205Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8206
8207 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
8208
8209Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
8210
8211 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
8212 comparison which accesses invalid memory when the key is
8213 larger than the last member of the array.
8214 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
8215 for CYGWIN32
8216 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
8217
8218Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
8219
8220 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
8221 not _STRICT_ANSI.
8222
8223Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
8224
8225 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
8226 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
8227
8228Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
8229
8230 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
8231 to load/store memory.
8232
8233Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
8234
8235 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
8236 underscores if _WIN32.
8237
8238Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
8239
8240 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
8241 support ifdef _USE_WRITE missed in last change.
8242 From Anders Blomdell <anders.blomdell@control.lth.se>.
8243
8244Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
8245
8246 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
8247 (_tmpnam_r, _tempnam_r): Update.
8248
8249Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
8250
8251 * libc/machine/sparc/setjmp.S: New file.
8252 * libc/machine/sparc/Makefile.in: Add setjmp.
8253 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
8254
8255Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
8256
8257 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
8258
8259Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
8260
8261 From Joel Sherrill <joel@oarcorp.com>.
8262 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
8263
8264 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
8265 * configure.in: Recognize *-*-rtems*.
8266 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
8267 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
8268 time.h,times.h,types.h}: New files.
8269 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
8270
8271Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
8272
8273 patch from sos@prospect.com.ru (Sergey Okhapkin):
8274 * include/sys/wait.h: correct operator precidence bug
8275 in WIFSIGNALED
8276
8277Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
8278
8279 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
8280 with newlib's unsetenv function
8281 * libc/sys/cygwin32/sys: new directory for includes
8282 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
8283 here from winsup/include/sys
8284
8285Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
8286
8287 * libc/include/sys/unistd.h: _exit should only be
8288 labelled noreturn when not __CYGWIN32__
8289 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
8290 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
8291 increment NSIG
8292
8293Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
8294
8295 * libc/include/sys/time.h: Only define timeval and timezone if
8296 _GNU_H_WINDOWS32_SOCKETS is not defined.
8297 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
8298
8299Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
8300
8301 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
8302 * libc/machine/mn10300/setjmp.S: Likewise.
8303
8304 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
8305 the mn10300 (more relaxing opportunities).
8306
8307Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
8308
8309 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
8310 Build libraries with -mstrict-align.
8311
8312Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
8313
8314 * libc/string/strlwr.c: New file.
8315 * libc/string/strupr.c: New file.
8316 * libc/include/string.h: Declare strlwr and strupr.
8317 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
8318 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
8319 (strlwr.o, strupr.o): New targets.
8320 * libc/string/strings.tex: Include strlwr and strupr docs.
8321
8322 * libc/include/sys/types.h: Don't define u_char, et. al., if
8323 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
8324 et. al. Make FD_SETSIZE default 64 rather than 60. Define
8325 _types_fd_set rather than fd_set, and define fd_set as a macro.
8326
8327 * libc/include/malloc.h: New file.
8328
8329 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
8330 strnicmp if they are not already defined.
8331
8332 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
8333 _timezone, _daylight, and _tzname.
8334
8335Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
8336
8337 * configure.in: Sort all configuration tables.
8338
8339 From Joel Sherrill <joel@oarcorp.com>
8340 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
8341
8342Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
8343
8344 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
8345 use int when declaring kill.
8346
8347 * libc/include/sys/timeb.h: New file.
8348
8349Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
8350
8351 * libc/include/sys/time.h: add itimer support for Cygwin32
8352
8353Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
8354
8355 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
8356 out a message that abort was called to stderr.
8357
8358Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
8359
8360 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
8361 so that libio doesn't freak.
8362
8363 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
8364 int.
8365
8366 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
8367 memory sizes, not int.
8368
8369Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
8370
8371 * libm/math/ef_hypot.c: Use long constants where
8372 appropriate.
8373 * libm/math/ef_sqrt.c: Ditto.
8374
8375 * libc/sys/sysmec/times.c(_times): Change to times.
8376
8377 * libc/sys/sysmec/read.c(_read): The third argument is
8378 size_t.
8379 * libc/sys/sysmec/write.c (_write): Ditto.
8380
8381 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
8382 (_lseek): It's off_t for the second argument.
8383
8384Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
8385
8386 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
8387 as well as machine/ieeefp.h.
8388
8389Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
8390
8391 * libc/include/sys/signal.h: add signal protos for winsup
8392 functions (when __CYGWIN32__), include types.h
8393 * libc/include/sys/types.h: Change __go32_types__ internal
8394 define to __MS_types__ since it's used for more than just
8395 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
8396 defined.
8397 * libc/include/sys/unistd.h: add ftruncate proto for
8398 winsup functions (when __CYGWIN32__)
8399
8400Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
8401
8402 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
8403
8404Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
8405
8406 * libc/include/machine/setjmp.h: Add tic80 support.
8407 * libc/machine/tic80/setjmp.S: Likewise.
8408
8409Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
8410
8411 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
8412 link programs from libraries only (such as in the X11
8413 distribution)
8414
8415Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
8416
8417 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
8418 supplied elsewhere in newlib.
8419
8420Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
8421
8422 * Makefile.in (INSTALL): Change install.sh to install-sh.
8423
8424Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
8425
8426 * README: update WWW address for on-line documentation.
8427
8428Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
8429
8430 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
8431 increment NSIG
8432
8433Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
8434
8435 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
8436 mn10300.
8437 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
8438
8439Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
8440
8441 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
8442 * libc/sys/d10v/syscalls.c: Likewise.
8443 * libc/sys/h8300hms/sbrk.c: Likewise.
8444 * libc/sys/h8500hms/syscalls.c: Likewise.
8445 * libc/sys/m88kbug/syscalls.c: Likewise.
8446 * libc/sys/sh/syscalls.c: Likewise.
8447 * libc/sys/sysmec/sbrk.c: Likewise.
8448 * libc/sys/sysnecv850/sbrk.c: Likewise.
8449 * libc/sys/w65/syscalls.c: Likewise.
8450 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
8451
8452Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
8453
8454 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
8455 emulated syscall instead of "trap".
8456
8457Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
8458
8459 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
8460 not trap 0.
8461
8462Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
8463
8464 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
8465
8466Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
8467
8468 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
8469 not "sh".
8470 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
8471 not "d10v".
8472 * libc/sys/tic80/crt0.c: New file for TIc80.
8473 * libc/sys/tic80/Makefile.in: New file for TIc80.
8474 * libc/machine/tic80/Makefile.in: New file for TIc80.
8475
8476Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
8477
8478 * libc/machine/sh/memcpy.S: New file.
8479 * libc/machine/sh/memset.S: New file.
8480 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
8481
8482Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
8483
8484 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
8485 for TIc80.
8486
8487Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
8488
8489 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
8490 the mn10200.
8491
8492Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
8493
8494 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
8495 (patch from andrew@pogo.WV.TEK.COM).
8496
8497Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
8498
8499 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
8500 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
8501
8502Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
8503
8504 * configure.in: Add cases for "tic80" to set machine_dir,
8505 sys_dir, and syscall_dir.
8506
8507Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
8508
8509 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
8510
8511Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
8512
8513 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
8514
8515Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
8516
8517 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
8518 Use proper constant prefix.
8519
8520Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
8521
8522 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
8523 that loses on the mn10200 where ints and pointers are different
8524 sizes.
8525
8526Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
8527
8528 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
8529 target as signal is provided in winsup.
8530
8531Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
8532
8533 * libc/include/sys/process.h: Corrected const definitions
8534 in spawn functions. Added cwait.
8535
8536Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
8537
8538 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
8539 doubles.
8540 * libc/include/sys/config.h: Similarly.
8541
8542Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8543
8544 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
8545 target_cflags.
8546 (i[3456]86-*-sco*): Ditto.
8547
8548 * libc/signal/Makefile.in (OFILES): Add signal.o.
8549 (CFILES): Add signal.c.
8550
8551 * libc/signal/raise.c (_raise_r): Only compile code if
8552 SIGNAL_PROVIDED is defined.
8553
8554 * libc/signal/signal.c: Redo whole file so that it works with
8555 current newlib. Use _kill_r if no signal handler provided.
8556
8557 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
8558 signal stubs.
8559 * libc/sys/sysvnecv70/Makefile.in: Ditto.
8560 * libc/sys/sysnecv850/Makefile.in: Ditto.
8561
8562 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
8563 * libc/sys/sysmec/{raise,signal}.c: Ditto.
8564 * libc/sys/sysvnecv70/signal.s: Ditto.
8565 * libc/sys/sysnecv850/raise.c: Ditto.
8566
8567 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
8568 simulator and debugger can tell the difference between a signal
8569 being raised and an exit system call.
8570
8571 * NEWS: Document software signals being provided.
8572
8573Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8574
8575 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
8576 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
8577 include/sys/config.h.
8578 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
8579 Change from 'inpure_data'.
8580 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
8581 &impure_data, not &inpure_data.
8582
8583 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
8584 and and System V ABI, define so that _impure_ptr lives in the
8585 .sdata section.
8586
8587Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8588
8589 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
8590 nothing if not defined.
8591 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
8592 its attributes.
8593
8594 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
8595
8596Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
8597
8598 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
8599 * libc/sys/sysmec/trap.s: Handle mn10200 too.
8600 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
8601
8602Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
8603
8604 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
8605
8606Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
8607
8608 * libc/include/sys/errno.h: Added net errno's.
8609
8610Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8611
8612 * libc/misc/ffs.c: New file to support ffs function for GCC test
8613 gcc.c-torture/execute/960909-1.c.
8614
8615 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
8616
8617Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
8618
8619 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
8620 * libc/sys/sysmec/trap.S: Likewise.
8621
8622Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
8623
8624 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
8625 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
8626
8627Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
8628
8629 * libc/sys/sysmec/signal.c: Dummy file.
8630 * libc/sys/sysmec/Makefile.in: Build it.
8631
8632Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
8633
8634 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
8635 mips16.
8636
8637Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
8638
8639 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
8640 c-startup and simulator traps.
8641
8642
8643 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
8644 * libc/sys/sysmec/trap0.S: Likewise.
8645
8646Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8647
8648 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
8649 round to double word alignment.
8650 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
8651 byte alignment.
8652
8653 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
8654
8655 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
8656 out of memory.
8657
8658Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
8659
8660 * configure.in: Handle mn10200 and mn10300.
8661 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
8662 * libc/include/sys/config.h: Likewise.
8663 * libc/sys/sysmec: New directory for mec stuff.
8664 * libc/machine/mn10300: New directory for mn10300 stuff.
8665 * libc/machine/mn10200: Similarly for mn10200 stuff.
8666
8667Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
8668
8669 * libc/sys/arm/crt0.S: Use .text, not .section .text.
8670 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
8671
8672 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
8673 (nlink_t): Change type from unsigned int to unsigned short.
8674 (mode_t): Ensure size is 32 bits even if int is 16.
8675 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
8676 (st_spare[123]): Change type from int to long.
8677
8678Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8679
8680 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
8681 byte boundary.
8682
8683 * configure.in (d10v*): Define SMALL_MEMORY.
8684
8685Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8686
8687 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
8688 -mrelocatable-lib and -mno-eabi flags.
8689
8690Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
8691
8692 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
8693 Fix handling of mis-aligned source operand when both the
8694 destination & length are properly aligned.
8695
8696Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
8697
8698 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
8699 times.o, time.o and gettime.o
8700 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
8701 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
8702 SYS_gettimeofday.
8703
8704Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
8705
8706 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
8707 * libc/sys/sysnecv850/access.c: New file.
8708
8709Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
8710
8711 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
8712
8713 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
8714 long.
8715
8716Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
8717
8718 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
8719
8720Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
8721
8722 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
8723 * libc/include/sys/config.h: Add m32r support.
8724
8725Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
8726
8727 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
8728 here.
8729
8730Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
8731
8732 * libc/include/machine/setjmp.h: Add D10v support.
8733
8734Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
8735
8736 * configure.in: Configure the "libc/syscalls" directory for
8737 the v850.
8738
8739 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
8740 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
8741 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
8742 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
8743 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
8744
8745Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
8746
8747 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
8748 stack for args for main and other routines. Zero out args for
8749 main.
8750
8751 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
8752 correctly.
8753
8754Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8755
8756 * libc/stdio/findfp.c (std): Remove extraneous ';' after
8757 function.
8758
8759 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
8760
8761 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
8762 real system calls now.
8763
8764 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
8765 before casting them to int.
8766 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
8767
8768 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
8769 aligning pointer.
8770 * libc/string/memset.c (memset): Ditto.
8771
8772 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
8773 first convert ints to _POINTER_INT to eliminate GCC warning.
8774
8775 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
8776 processing %p.
8777
8778 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
8779 from 65000 if ints are only 16 bits.
8780
8781 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
8782 from 50000 if ints are only 16 bits.
8783
8784 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
8785 int type that is the same size as a pointer.
8786
8787 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
8788 processing %p.
8789 (get_number): Explicitly cast number to long before shifting by 16
8790 or 24, in case ints are short.
8791
8792 * libc/include/sys/config.h (_POINTER_INT): Define as short.
8793
8794Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
8795
8796 * libc/string.h: Added ffs, removed swab.
8797 * libc/sys/errno.h: Added EOPNOTSUPP.
8798 * libc/sys/unistd.h: Added swab.
8799
8800Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
8801
8802 * libc/include/sys/stat.h: Added fchmod.
8803 * libc/include/sys/unistd.h: Added fsync.
8804
8805Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
8806
8807 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
8808 and ECONNRESET (104) for cygwin32.
8809
8810Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
8811
8812 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
8813 do the static destructors.
8814
8815Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
8816
8817 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
8818
8819Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
8820
8821 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
8822 * configure.in: Recognize m32r-*-*.
8823
8824Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
8825
8826 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
8827 __rt_stkovf_split_small): Added default software stack overflow
8828 handlers, which just call SWI_Exit.
8829 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
8830 limit initialisation.
8831
8832Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
8833
8834 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
8835
8836Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
8837
8838 * libc/include/sys/types.h: Added ssize_t definition.
8839
8840Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8841
8842 * libc/machine/d10v/setjmp.S: Use ';' for comments.
8843 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
8844
8845 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
8846 branch around a single ldi instruction.
8847
8848 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
8849 Call exit, instead of just issuing a stop instruction.
8850
8851Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8852
8853 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
8854
8855Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8856
8857 * libc/stdlib/mprec.h: Explicitly declare all large constants as
8858 longs, and then cast them to __uint32_t.
8859
8860 * libc/include/sys/config.h: Protect against multiple inclusions.
8861
8862Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
8863
8864 * configure.in (d10v*): Set syscall_dir.
8865
8866Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
8867
8868 * libc/sys/d10v/crt0.S: Set stack pointer.
8869
8870Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
8871
8872 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
8873 in assembly for efficiency. Change calling convention to allow
8874 long ints to be returned.
8875
8876Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8877
8878 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
8879
8880Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
8881
8882 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
8883 Handle empty entries in $PATH.
8884
8885Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
8886
8887 * libc/machine/d10v/setjmp.S: Make it really work.
8888
8889Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
8890
8891 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
8892 the .stack section.
8893
8894Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
8895
8896 * sys/sysnecv850/sys/file.h: Remove.
8897 * sys/sysnecv850/sys/syscall.h: New file.
8898 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
8899 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
8900 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
8901 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
8902 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
8903 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
8904 * sys/sysnec850/trap.S: New file.
8905 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
8906 syscalls.
8907 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
8908 * sys/sysnec850/sbrk.c: New version.
8909
8910Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
8911
8912 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
8913 as long as r6 is less than r7.
8914
8915Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
8916
8917 * Makefile.in (mostlyclean): Separate from clean target. Don't
8918 remove *.a or targ-include.
8919 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
8920
8921Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8922
8923 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
8924 d10v.
8925 (__SMALL_BITFIELDS): Ditto.
8926
8927 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
8928
8929Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
8930
8931 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
8932 prefix.
8933
8934 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
8935 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
8936 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
8937 * libc/sys/sysnecv850/write.c (write): Likewise.
8938
8939 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
8940 .bss.
8941
8942Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8943
8944 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
8945 appropriately for D10V, depending on -mint16/-mint32.
8946
8947Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
8948
8949 * configure.in: Add cases for D10V.
8950
8951Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8952
8953 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
8954
8955Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
8956
8957 * libc/include/machine/ieeefp.h: Fix typo.
8958
8959Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
8960
8961 * libc/sys/d10v: New directory for D10V stuff.
8962 * libc/include/machine/ieeefp.h: Add D10V defines.
8963
8964Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
8965
8966 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
8967 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
8968 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
8969 * libc/string/strerror.c (strerror): Add them.
8970
8971Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
8972
8973 * libc/sys/sysnecv850: New directory for v850 stuff.
8974
8975 * libc/machine/v850: New directory for v850 stuff.
8976 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
8977
8978 * configure.in: Add support for the v850.
8979
8980 * libc/include/machine/ieeefp.h: Add v850 defines.
8981 * libc/include/machine/setjmp.h: Likewise.
8982 * libc/include/sys/config.h: Add v850 defines.
8983
8984Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
8985
8986 * libc/include/machine/ieeefp.h
8987 * libc/include/machine/setjmp.h
8988 * libc/include/sys/fcntl.h
8989 * libc/include/sys/signal.h
8990 * libc/include/sys/types.h
8991 * libc/stdlib/system.c:
8992 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
8993 API availability, __CYGWIN32__ for cygwin32 environment specific).
8994
8995Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
8996
8997 * libc/include/stdlib.h: add multibyte character functions. Add
8998 __eprintf for assert.
8999
9000Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9001
9002 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
9003 arithmetic or __alignof__ to properly get the alignment, instead
9004 of hardwiring it to 4.
9005
9006Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
9007
9008 * libc/stdio/fseek.c: add fflush call to adjust seek offset
9009 on append stream (fix from NetBSD sources), adjust curoff offset
9010 for ungetc's benefit.
9011 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
9012 * libc/stdio/rewind.c: replace code with up to date NetBSD
9013 code to undo hacks made to work around above problem of not
9014 having fflush call mentioned above
9015
9016Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
9017
9018 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
9019 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
9020 Partially revert last changes. The thread specific errno is set
9021 iff if the underlying syscall fails and the global errno is not
9022 zero.
9023
9024Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
9025
9026 * libc/reent/filer.c: Removed files, all functions have split out
9027 into their own files.
9028 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
9029 New files containing functions formally in filer.c
9030 * libc/reent/Makefile.in: Updated for above change.
9031
9032 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
9033 syscall fails, not if errno is changed.
9034 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
9035 _write_r): Likewise.
9036 * libc/reent/fstatr.c (_fstat_r): Likewise.
9037 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
9038 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
9039 * libc/reent/signalr.c (_kill_r): Likewise.
9040 * libc/reent/statr.c (_stat_r): Likewise.
9041 * libc/reent/timer.c (_gettimeofday_r): Likewise.
9042
9043 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
9044 signalr.c, statr.c, timer.c} (errno): declare extern rather
9045 than as a common.
9046
9047 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
9048 instead of calling vfprintf so that i*printf will not require
9049 floating point support code.
9050
9051Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
9052
9053 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
9054 path delimiter.
9055 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
9056 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
9057
9058Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
9059
9060 * libc/include/signal.h: _sig_func_ptr function takes an int
9061 * libc/include/sys/signal.h: sa_handler function takes an int
9062
9063Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
9064
9065 * libc/include/machine/ieeefp.h: Simplify H8/S support.
9066 * libc/include/sys/config.h: Add missing H8/S conditional.
9067
9068Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
9069
9070 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
9071
9072Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
9073
9074 * libc/include/machine/setjmp.h: Handle H8/S.
9075 * libc/include/machine/ieeefp.h: Likewise.
9076 * libc/include/sys/config.h: Likewise.
9077 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
9078 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
9079 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
9080 * libc/sys/h8300hms/crt0.S: Likewise.
9081
9082Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
9083
9084 * Makefile.in (datadir): Set to $(prefix)/share.
9085 (oldincludedir, docdir): Removed.
9086 * doc/Makefile.in (datadir): Set to $(prefix)/share.
9087 (oldincludedir, docdir): Removed.
9088 * libc/Makefile.in (datadir): Set to $(prefix)/share.
9089 (oldincludedir, docdir): Removed.
9090 * libm/Makefile.in (datadir): Set to $(prefix)/share.
9091 (oldincludedir, docdir): Removed.
9092
9093Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
9094
9095 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
9096 _reent struct.
9097
9098Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
9099
9100 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
9101 fetch current path rules with sysconf and handler posix/win32
9102 appropriately.
9103
9104 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
9105
9106 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
9107 (WAIT_CHILD): Always define.
9108
9109Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
9110
9111 * libc/stdlib/eprintf.c: New file.
9112 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
9113 (eprintf.o): New target.
9114
9115Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
9116
9117 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
9118 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
9119
9120Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
9121
9122 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
9123 NT in PowerPC endianess cases.
9124
9125Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9126
9127 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
9128
9129Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9130
9131 * libc/string/strtok.c: Fix doc typo.
9132
9133Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
9134
9135 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
9136 _next, _scanpoint, _signgam fields.
9137
9138 * libc/include/stdlib.h (rand_r): Added new declaration.
9139 (_rand_r, _srand_r): Removed declarations.
9140 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
9141 have been made obsolete by rand_r.
9142 * libc/stdlib/rand_r.c: New file, rand_r function as specified
9143 by POSIX.1c.
9144
9145 * libc/string/strtok.c: Update documentation to describe
9146 strtok_r().
9147
9148Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
9149
9150 * libc/include/sys/stat.h (stat structure): Use the expanded stat
9151 structure on Solaris, and PowerPC systems even though __svr4__ is
9152 defined.
9153
9154Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
9155
9156 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
9157
9158Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
9159
9160 * host/any: Use ../.. rather than .. to get to the main build
9161 directory. This matches the current layout of the build
9162 directory.
9163
9164Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
9165
9166 * libc/machine/h8300/__main.S: Delete. No longer needed.
9167 * libc/machine/h8300/Makefile.in: Corresponding changes.
9168 * libc/sys/h8300hms/crt1.c: New file.
9169 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
9170 * libc/sys/h8300hms/crt0.s: Call __main.
9171
9172 * libc/sys/h8300hms/crt0.S: Use temporary label names
9173 for branch targets.
9174
9175Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
9176
9177 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
9178
9179Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9180
9181 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
9182 .sdata on the PowerPC so that we can link newlib with code
9183 compiled with -msdata.
9184
9185Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
9186
9187 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
9188
9189Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
9190
9191 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
9192 exception handler to __cygwin_exception_handler.
9193
9194Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
9195
9196 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
9197
9198Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
9199
9200 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
9201 SunOS VPATH.
9202 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
9203 wcstombs.o): Likewise.
9204
9205Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
9206
9207 * libc/stdlib/environ.c (initial_env): New static local.
9208 (environ): Point to `initial_env'.
9209
9210 * libc/include/machine/setjmp.h: Clean up.
9211 (__H8300H__,__PPC__): Define _JBTYPE.
9212 (__arm__): Provide entry for.
9213 (sigjmp_buf): Delete.
9214 (jmp_buf): Use _JBTYPE if defined, otherwise int.
9215
9216Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
9217
9218 * libc/machine/h8300/strcmp.S: Sign extend the result to
9219 32bits so we don't lose with -mint32.
9220
9221Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
9222
9223 * libc/sys/go32/sys/errno.h: New file.
9224 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
9225 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
9226 errno's address (make compatible with rest of newlib).
9227 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
9228 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
9229
9230Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
9231
9232 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
9233 * libc/machine/sparc/Makefile.in: Build them.
9234 * libc/machine/sparc/machine/sparclet.h: New file.
9235
9236Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
9237
9238 * libc/machine/sh/asm.h: New file.
9239 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
9240 support for SH3e's FP registers. Use asm.h.
9241
9242Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
9243
9244 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
9245 as first argument. Call _dtoa_r and pass the reent structure
9246 instead of calling __dtoa.
9247
9248Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
9249
9250 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
9251 the h8300, h8500, and others. Add comments for some rather
9252 dubious code.
9253
9254Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
9255
9256 * Makefile.in (check): Check that testsuite exists before cd.
9257
9258Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9259
9260 * libc/include/string.h (strsep): Correct prototype.
9261
9262Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
9263
9264 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
9265 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
9266 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
9267
9268Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
9269
9270 * libc/posix/{creat.c,isatty.c}: New files.
9271 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
9272
9273 * libc/sys/sparc64/crt0.S (environ): Delete.
9274 (.LHaveBias): Renamed from HaveBias.
9275
9276Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
9277
9278 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
9279 (_morecore_r): Delete SBRK_IS_ALLOC support.
9280
9281Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9282
9283 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
9284 module rather than touch, so we don't get warning messages when
9285 all of the libraries are combined into libc.a.
9286
9287Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
9288
9289 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
9290 crt0.s replaced by version in libgloss.
9291
9292Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
9293
9294 * libc/reent/Makefile.in (OFILES): Add impure.o.
9295 * libc/reent/impure.o: New file, define initial reentrancy struct.
9296 * libc/reent/reent.c: Remove above definition.
9297
9298 * libm/math/sf_asinh.c: Fix typo.
9299
9300 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
9301 srf_ldexp.o.
9302
9303 * libm/libm.texinfo: Change documentation to reflect changes
9304 in reentrancy model.
9305 * libm/math/w_gamma.c: Likewise.
9306
9307Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
9308
9309 * configure.in (*-*-cygwin32): New.
9310 (*-*-win32): Deleted.
9311 * libc/sys/win32 renamed libc/sys/cygwin32.
9312
9313Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9314
9315 * libc/include/sys/file.h: New include file.
9316
9317Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
9318
9319 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
9320
9321Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
9322
9323 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
9324
9325Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9326
9327 * doc/makedoc.c (realloc): Declare at file scope.
9328 (catchar): Not here.
9329
9330Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
9331
9332 * Makefile.in (VERSION): Update to 1.7.0.
9333 * {libc,libm}/Makefile.in (VERSION): Likewise.
9334 * configure.in: Minor clean up of multilib stuff.
9335
9336 From David Johnson <davidj@ICSI.Berkeley.EDU>
9337 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
9338
9339 * libc/stdlib/environ.c: New file.
9340 * libc/stdlib/Makefile.in (OFILES): Build it.
9341 * libc/sys/h8500hms/crt0.c (environ): Deleted.
9342 * libc/sys/m88kbug/crt0.c (environ): Deleted.
9343 * libc/sys/z8ksim/crt0.c (environ): Deleted.
9344 * libc/sys/netware/environ.c: Deleted.
9345
9346Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
9347
9348 * configure.in (links): set sys_dir, posix_dir, syscall_dir
9349
9350Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
9351
9352 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
9353 declaration out to external scope and declare it PTR, not char *.
9354
9355Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
9356
9357 * libc/include/sys/unistd.h (getpagesize): New declaration.
9358 (_SC_PAGESIZE): New definition.
9359 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
9360 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
9361
9362Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
9363
9364 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
9365 addressing. System call returns size, not (last address + 1).
9366
9367Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9368
9369 * libm/math/*.c: Removed _foo_r() reentrancy API.
9370 * libc/include/math.h: Removed _foo_r prototypes and macros.
9371
9372 * libm/math/*.c: On systems with IEEE single precision "doubles"
9373 move foo() -> foof() wrapper code from the files that implement
9374 the standard IEEE double precision functions to the files that
9375 implement IEEE single precision functions. (ie. On those systems
9376 sin is moved from s_sin.c to sf_sin.c). There should eventually
9377 be use of a C extension (like gcc's alias attribute) so that the
9378 wrappers are not needed at all.
9379
9380 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
9381 strict NEC V810 compiler.
9382 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
9383 for same reason.
9384
9385Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9386
9387 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
9388 from NetBSD C library.
9389 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
9390
9391 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
9392 and adapted from implementation I wrote for NetBSD C library.
9393 The difference is __assert doesn't take a format argument,
9394 so that there won't be multiple copies of the same string
9395 constant in the executable if assertions are enabled in
9396 more than one source module.
9397 * libc/include/assert.h (assert): Changed to call __assert.
9398
9399Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9400
9401 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
9402 word1 on systems with 32 bit doubles.
9403 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
9404 so that we can do arithmetic on them.
9405 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
9406 compilers.
9407
9408Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
9409
9410 * libc/sys/arm/crt0.S: Zero bss.
9411
9412Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
9413
9414 * libc/include/unctrl.h: New file.
9415 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
9416 * configure.in (subdirs): Add libc/misc.
9417 * libc/Makefile.in (SUBDIRS): Add misc.
9418 (SUBLIBS): Add misc/lib.a.
9419
9420 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
9421
9422Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
9423
9424 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
9425 (_vfprintf_r): Call CHECK_INIT.
9426
9427Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
9428
9429 * Makefile.in (MULTITOP): Delete.
9430 (MULTISRCTOP, MULTIBUILDTOP): Add.
9431 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
9432 instead of cfg-ml-pos.in.
9433
9434Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
9435
9436 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
9437 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
9438 presence.
9439
9440Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
9441
9442 * libc/string/strtok.c: Include string.h to pick up strtok_r
9443 prototype.
9444
9445Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9446
9447 * libc/string/strtok.c: include <_ansi.h>.
9448 * libc/time/asctime_r.c: `reresult' -> `result'.
9449
9450Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9451
9452 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
9453 in #ifndef _REENT_ONLY ... #endif conditional.
9454
9455 * libc/include/string.h (_strtok_r): Remove declaration.
9456 * libc/include/time.h (_asctime_r): Remove declaration.
9457 * libc/string/strtok.c (_strtok_r): Removed.
9458 * libc/time/asctime.c (_asctime_r): Removed.
9459
9460 * libc/string/Makefile.in (OFILES): Add new object.
9461 * libc/string/strtok_r.c: New file. strtok_r function as
9462 specified by POSIX.1c, adapted from strtok implementation
9463 from NetBSD C library.
9464 * libc/string/strtok.c (strtok): Reimplemented in terms of
9465 strtok_r.
9466
9467 * libc/time/Makefile.in (OFILES): Add new objects.
9468 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
9469 New files, reentrant time functions specified by POSIX.1c.
9470 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
9471 reentrant time functions re-written in terms of reentrant
9472 functions.
9473 * libc/time/lcltime.c: Renamed from localtime.c
9474
9475 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
9476 gmtime_r, and localtime_r.
9477
9478Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
9479
9480 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
9481 * libc/include/sys/unistd.h (getlogin): Revert change of
9482 Oct 19.
9483 * libc/include/sys/signal.h (sigprocmask): Change prototype
9484 so it compiles with c++.
9485
9486Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
9487
9488 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
9489 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
9490 to give some room in case we need to align the jmp_buf.
9491
9492 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
9493 the new ppc-asm.h include file the compiler provides to specify
9494 function prologue/epilogue. Eliminate saves of the xer and ctr
9495 registers, which are volatile. Before starting to save registers,
9496 align to 8 byte boundary.
9497
9498Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
9499
9500 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
9501 referenced by standard libraries.
9502
9503Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
9504
9505 * libc/unix/Makefile.in, libc/string/Makefile.in,
9506 libc/stdio/Makefile.in, libc/reent/Makefile.in,
9507 libc/posix/Makefile.in:
9508 Remove tabs from otherwise empty line. Confuses some
9509 older non-GNU versions of "make".
9510
9511Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
9512
9513 * libc/sys/unistd.h (getlogin): Returns const char *.
9514
9515Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
9516
9517 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
9518 * libc/include/errno.h: Moved into and include...
9519 * libc/include/sys/errno.h: New file.
9520 * libc/include/sys/wait.h: New file.
9521 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
9522 * libc/sys/win32/*: Moved out.
9523 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
9524 * configure.in (i[345]86-*-win32): HAVE_RENAME
9525
9526Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
9527
9528 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
9529 avoid macro expansion for these two names.
9530
9531Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
9532
9533 * libc/machine/h8500/psi.S: r6 renamed to fp.
9534
9535Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
9536
9537 * configure.in (powerpc*): No longer need to define
9538 NO_LONGLONG_POINTERS to supress warnings.
9539
9540Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
9541
9542 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
9543 through PTR instead of directly.
9544
9545 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
9546 non-standard constructor support.
9547
9548Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9549
9550 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
9551 address of the Bigint instead of the address of its _x field,
9552 as the size the result buffer was calculated accordingly.
9553 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
9554
9555 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
9556 from NetBSD C library. No longer special cases division by
9557 zero (which needs to be done by the application anyway), but
9558 it doesn't need to call abs() (or labs()) four times either.
9559
9560 * libc/stdlib/qsort.c: Replaced with implementation from
9561 NetBSD C library.
9562
9563Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9564
9565 * libc/stdio/vfprintf.c: Replaced with implementation from
9566 NetBSD C library (which is derived from the 4.4BSD C library).
9567 * libc/stdio/cvt.c: Removed.
9568 * libc/stdio/Makefile: Updated.
9569
9570Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
9571
9572 * libc/sys/win32/syscalls.c (rename): New.
9573 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
9574
9575Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
9576
9577 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
9578 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
9579
9580 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
9581 (setjmp.o): Delete rule to build setjmp.o.
9582 * libc/sys/sh/setjmp.S: Delete file.
9583
9584Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9585
9586 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
9587 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
9588 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
9589 pow5mult and s2b to identifiers with leading underscores.
9590 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
9591 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
9592
9593Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
9594
9595 * libc/sys/posix/popen.c (sys/types.h): Include.
9596
9597Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
9598
9599 * libc/sys/win32/syscalls.h (fhandler): New struct.
9600 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
9601 (__fhandler_normal): Declare.
9602 (hinfo): New member op_handlers.
9603 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
9604 (__write): Likewise.
9605 (_read, _write, _open, _close, _lseek): Validate fd here.
9606 Move file type specific stuff to foo_normal.
9607 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
9608 New functions.
9609 (__lookup_fhandler): New function.
9610 (__lookup_fhandler_hook, __fhandler_normal): New variables.
9611
9612 From anders.blomdell@control.lth.se (Anders Blomdell)
9613 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
9614 Don't touch standard handles.
9615 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
9616 (_execve): Only create __FD_TABLE__ if necessary.
9617 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
9618
9619Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
9620
9621 * libc/sys/win32/sys/termios.h (FLUSHO): New.
9622 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
9623 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
9624 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
9625 without a handler is received.
9626 * libc/sys/win32/Makefile.in: Remove --nodelete.
9627 * libc/sys/win32/resouce.c (gettimeofday): New.
9628 * libc/sys/win32/syscalls.c (path_to_real_path): New.
9629 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
9630
9631Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
9632
9633 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
9634 Don't append "/*" to search pattern if trailing '/' already there,
9635 append "*".
9636 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
9637 like /'s, convert them to \'s. Handle //<drive>/ path names.
9638 Add space for quoted \'s in arg string. Print translated prog name
9639 and original prog name.
9640 (_execve): Handle parent doing exec a teensy bit better.
9641 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
9642 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
9643 path needs conversion, handle both cases. Delete `const' from result.
9644 (hash_path_name): New function.
9645 (_open): Call it.
9646 (_stat): Likewise. Fill in more fields for directories.
9647 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
9648 (wait_for_any): Fix trace message.
9649 (waitpid): Explicitly test for intpid == 0.
9650
9651 From anders.blomdell@control.lth.se (Anders Blomdell)
9652 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
9653 so `next' is valid.
9654
9655Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
9656
9657 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
9658 complicated.
9659
9660Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9661
9662 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
9663 at all, not just == 1.
9664 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
9665
9666Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9667
9668 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
9669 * libc/sys/win32/include/wintypes.h: include <winnt.h>
9670 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
9671 file.
9672
9673Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
9674
9675 * libc/sys/syscalls.c (getcwd): Fix off by one error.
9676
9677 * libc/sys/signal.c (sleep): Fill it in.
9678 * libc/sys/termios.c (tcflush): Use PurgeComm
9679 (tcsetattr): Set some more of the bits.
9680 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
9681
9682Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
9683
9684 * libc/sys/arm/crt0.S (fp): Initialize to 0.
9685 Conditionally include .idata$3 stuff ifdef __pe__.
9686
9687Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
9688
9689 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
9690 * libc/sys/win32/pipe.c (pipe): Ditto.
9691 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
9692 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
9693 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
9694 (tcgetattr): Contents are new.
9695 * libc/sys/win32/include/winkernel.h (DCB): New.
9696 (GetCommState, SetCommState): New.
9697
9698Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
9699
9700 * libc/sys/arm/crt0.S (_start): Define.
9701
9702Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
9703
9704 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
9705 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
9706
9707 * libc/sys/win32/sysconf.c: New
9708 * libc/sys/win32/sys/winadvapi.h: New
9709 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
9710 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
9711 * libc/sys/win32/pipe.c (pipe): Ditto.
9712 * libc/sys/win32/signal.c (_raise): New.
9713 (_kill): Moved from spawn.c
9714 * libc/sys/win32/spawn.c (kill): Moved to signal.c
9715 * libc/sys/win32/syscalls.c (__read): Use new fields.
9716 (_open): Ditto.
9717 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
9718 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
9719 * libc/include/sys/unistd.h (rmdir): Takes const path.
9720 * libc/include/sys/stat.h (mkdir): Takes const path.
9721 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
9722
9723Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
9724
9725 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
9726
9727 Add support for specifying paths as //<drive>/foo/bar.
9728 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
9729 (__path_to_real_path): Declare.
9730 (PATH_TO_REAL_PATH): New macro.
9731 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
9732 (__path_needs_conversion_p, __path_to_real_path): New functions.
9733 (_open): Fix test for error return from CreateFileA.
9734 Handle new path syntax.
9735 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
9736 * libc/sys/win32/dirsearch.c (opendir): Likewise.
9737
9738Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
9739
9740 * libc/sys/win32/include/*.h: Reorganized
9741 * libc/sys/win32/include/WINREADME: New.
9742 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
9743 * libc/sys/win32/*.c: Fix for new include scheme.
9744 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
9745 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
9746 * libc/sys/win32/passwd.c (*): Fix.
9747 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
9748 (_stat): Get directory owner and permissions right.
9749 * libc/sys/win32/syscalls.h (uinfo): New.
9750 * libc/sys/win32/version.def: Remove leading underscores.
9751
9752Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9753
9754 * libc/sys/win32/key.c: include "include/wincon.h".
9755
9756Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
9757
9758 * libc/sys/win32/{key, stubs}.c: New.
9759 * libc/sys/win32/Makefile: Adjust to cope.
9760 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
9761 (environ_init): Change env names to upper case.
9762 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
9763 * libc/sys/win32/passwd.c (*): Fill in the functions.
9764 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
9765 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
9766 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
9767 (_open): Initialze hmap->execable_p too.
9768 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
9769 (_fstat): Fill in permissions.
9770 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
9771
9772Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
9773
9774 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
9775 if defined.
9776 (cfg-ml-pos.in invocation): Likewise.
9777
9778Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9779
9780 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
9781 s_isnan.o and sf_isnan.o.
9782
9783Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
9784
9785 * All Makefile.in files: added maintainer-clean target as a
9786 synonym for realclean.
9787
9788Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
9789
9790 * libc/include/machine/setjmp.h: Add hppa support.
9791 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
9792 support.
9793 * libc/machine/hppa/Makefile.in: Related changes.
9794
9795Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
9796
9797 * configure.in (machine_dir): Don't set for v810-*-*.
9798
9799Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9800
9801 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
9802 conventions correctly.
9803
9804Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
9805
9806 * libc/stdio/puts.c: Update documentation of return value to match
9807 ANSI standard.
9808
9809Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
9810
9811 Fix file descriptor inheritance.
9812 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
9813 (NOT_OPEN_FD): Fix.
9814 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
9815 close-on-exec flag not set. Initialize child's entire fd table.
9816 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
9817 CHILD_P.
9818 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
9819 if CHILD_P. Initialize entire hmap entry.
9820 (dup): Only create new handle as inheritable if CHILD_P.
9821 (dup2): Likewise. Properly initialize hmap entry.
9822
9823 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
9824 _spawn.
9825 (_exit): Use CHILD_P.
9826 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
9827 (_stat): Likewise.
9828
9829Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9830
9831 * libc/sys/win32/crt0.c (passover): fix up the state table.
9832 * libc/posix/popen.c: Added.
9833 * libc/posix/Makefile.in: compile popen.c.
9834
9835Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
9836
9837 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
9838 h8/500 define _DOUBLE_IS_32BITS.
9839
9840Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
9841
9842 Get vfork/exec/spawn/cwait/wait working again.
9843 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
9844 (procinfo): New member vfork_level.
9845 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
9846 (vfork_init_first): Use GetCurrentProcessId to get pid.
9847 Initialize vfork_level.
9848 (vfork_init): Delete __PID__.
9849 (environ_init): New function. Undo patch of Aug 19, Posix says
9850 environment variables are case sensitive.
9851 (mainCRTStartup): Call it.
9852 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
9853 (my_longjump: Make static.
9854 (_spawn): New argument `h'. Delete setting of __PID__.
9855 Delete local `idx'. Look for chars that need quotes, rather than
9856 ones that don't. Set handle of created process in `h'.
9857 Result is process id if created task.
9858 (allocate_spawn_entry): New function.
9859 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
9860 (_execve): Set __FD_TABLE__ before spawning child.
9861 Scan our fd table when passing fds, not our parent's.
9862 Store handle and pid in procinfo entry.
9863 (vfork0): Ensure strace message always printed.
9864 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
9865 (vfork): Don't clobber result of vfork0.
9866 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
9867 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
9868
9869 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
9870 and `exit_code'.
9871 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
9872 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
9873 adding vfork level to pseudo-pid.
9874 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
9875 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
9876 (_exit): If child, set exit code.
9877 (__vfork_record_death): Only close process handle if valid.
9878 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
9879 didn't exec.
9880 (wait_for_any): Likewise. Start scan after root entry.
9881
9882Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9883
9884 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
9885 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
9886 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
9887 of actual file length.
9888
9889 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
9890 * libc/include/paths.h: _PATH_BSHELL added.
9891 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
9892 and STDERR_FILENO.
9893
9894Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9895
9896 * libc/include/ar.h: Added.
9897 * libc/include/sys/types.h: ino_t goes back to 32-bits.
9898 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
9899 * libc/sys/win32/syscalls.c (_open): compute .namehash based
9900 on filename.
9901 (_fstat): use .namehash for inode number of the fd.
9902
9903Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
9904
9905 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
9906 Change hinfo to __this_procinfo.
9907 * libc/sys/win32/crt0.c: Remove procinfo_list.
9908
9909Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9910
9911 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
9912 win32 environment.
9913
9914Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9915
9916 * libc/sys/win32/include/grp.h: Removed.
9917 * libc/sys/include/grp.h: Added.
9918 * libc/sys/win32/grp.c: Include <grp.h>.
9919
9920Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
9921
9922 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
9923 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
9924 Defined for all but strict ANSI.
9925 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
9926 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
9927 * libc/signal/signal.c (_signal_r): Changed from using
9928 _MAX_SIGNALS to NSIG.
9929 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
9930 __hmap): Deleted.
9931 (__strace, __vfork_next_pid): New.
9932 (__exe_suffix): Default to 1.
9933 (passover, table): Understand quoted arguments.
9934 (vfork_init_first): New.
9935 (vfork_init): Initialize new process structure.
9936 (mainCRTStartup): Pass environ to main.
9937 * exceptions.c (__sig_mask): New
9938 (ehandler3): Ignore signals in mask.
9939 (really_exit): Remove CHILD_P test.
9940 * pipe.c (pipe, dup, dup2): Use new process and file structure.
9941 * resource.c (getrusage): Ditto.
9942 * signal.c (sigprocmask): New.
9943 * spawn.c (*): Rewritten.
9944 * syscalls.c (*): Use new process and file structure.
9945 (find_unused_handle): New.
9946 * syscalls.h (MAX_HANDLES): Deleted.
9947 (hinfo): Removed child_created_p.
9948 (MAX_CHILDREN): Deleted.
9949 (vfork_jmp_info, procinfo): New.
9950 * wait.c (*): Mostly new.
9951 * sys/strace.h (_STRACE_PARANOID): New.
9952 * sys/param.h: New file.
9953
9954Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9955
9956 * libc/include/sys/stat.h: add S_BLKSIZE.
9957 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
9958 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
9959 types under win32.
9960 (mode_t): add a #else to avoid multiple definitons.
9961
9962 * libc/sys/win32/Makefile.in: add grp.c.
9963 * libc/sys/win32/grp.c: include grp.h correctly.
9964 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
9965 of the st structure with real information.
9966 * libc/sys/win32 (dirent): d_ino is of type ino_t.
9967
9968Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
9969
9970 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
9971 and (maybe) sparc64.
9972 (nlink_t): Provide typedef.
9973
9974Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9975
9976 * libc/sys/win32/grp.c: New file.
9977 * libc/sys/win32/include/grp.h: New file.
9978
9979Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9980
9981 * libc/include/machine/ieeefp.h: Added whitespace to make this
9982 file easier to maintain.
9983 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
9984 depending on the value of __LITTLE_ENDIAN__.
9985 On the sh3e, define _DOUBLE_IS_32BITS.
9986
9987Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
9988
9989 * libc/sys/vr4300/syscalls.c: Added missing support
9990 routines. _raise() and getpid().
9991
9992Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
9993
9994 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
9995
9996Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
9997
9998 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
9999 and VR4300 processor.
10000 * libc/sys/vr4300: Add directory.
10001 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
10002 monitor run-time support.
10003
10004Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10005
10006 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
10007 * libc/stdlib/stdlib.tex: Don't include atol.def.
10008
10009Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10010
10011 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
10012
10013Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
10014
10015 * libc/ctype/Makefile.in: Fill in _to* dependencies.
10016
10017Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
10018
10019 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
10020 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
10021 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
10022 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
10023 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
10024
10025Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10026
10027 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
10028
10029Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10030
10031 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
10032 * libc/stdlib/atoff.c: New file.
10033 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
10034 * libc/stdlib/atoi.c (atol): Removed.
10035 * libc/stdlib/atol.c: Removed duplicate documentation.
10036
10037 * libc/include/ctype.h (_tolower, _toupper): Moved inside
10038 #ifndef _STRICT_ANSI conditional.
10039 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
10040 * libc/ctype/_tolower.c: New file.
10041 * libc/ctype/_toupper.c: New file.
10042 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
10043 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
10044 * libc/ctype/toascii.c (_toascii): Removed.
10045
10046Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
10047
10048 * libc/sys/sparc64/sys/types.h: Deleted.
10049
10050Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10051
10052 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
10053 and recognize Windows_95 systems.
10054
10055Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10056
10057 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
10058 and passed fds should be opened in text mode.
10059
10060Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10061
10062 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
10063 in __hmap, set to binary mode by default.
10064
10065Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10066
10067 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
10068 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
10069 vector 34.
10070
10071Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
10072
10073 * Makefile.in (install): Install all libraries found in the
10074 top level. If there's a sys/<type>/include directory,
10075 install those headers into include.
10076
10077 * libc/sys/win32/kernel.def351: Delete
10078 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
10079 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
10080 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
10081 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
10082 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
10083 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
10084 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
10085 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
10086
10087 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
10088 * libc/sys/win32/crt0.c: Force all env names to upper case.
10089 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
10090 * libc/sys/win32/*.c: Headers have moved.
10091 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
10092 __vfork_child_idx is now __vfork_child_ptr.
10093
10094 * posix/execvp (execvp): Don't crash if no PATH envname.
10095
10096Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10097
10098 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
10099 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
10100 through the _freelist instead of through the _reclaim list.
10101 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
10102 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
10103 sources.
10104
10105Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10106
10107 * libc/machine/h8500/setjmp.S: New file.
10108 * libc/include/machine/setjmp.h: Updated for H8/500.
10109
10110Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
10111
10112 * libc/sys/win32/syscalls.c (_open): More stracing.
10113 (_stat): Open the file in O_BINARY.
10114
10115Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10116
10117 * libc/machine/h8300/setjmp.S: New file.
10118 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
10119
10120Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
10121
10122 * libc/sys/win32/crt0.c (__exe_suffix): New global.
10123 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
10124 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
10125 __exe_suffix. Free fd_tab after setting env variable.
10126 (spawnv,_execve): Update.
10127 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
10128 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
10129 (__small_vfprintf): New function.
10130 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
10131 * libc/sys/win32/wait.c (cwait): Validate argument.
10132
10133 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
10134 (process_deletion_queue): Likewise.
10135
10136 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
10137
10138Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
10139
10140 * libc/sys/win32: Copyrights and gratuitous indenting.
10141
10142Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
10143
10144 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
10145 (process_deletion_queue): Likewise.
10146 (__close_all_files): New function.
10147 (_close): Only queue file deletion if really a file.
10148 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
10149 _P_APPEND_EXE.
10150 (_exit): Call __close_all_files.
10151
10152 * libc/stdlib/system.c: #include <errno.h>.
10153 (_system_r): Fix results in -DNO_EXEC case.
10154
10155 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
10156 Reorganize structure.
10157 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
10158 if argument is valid. Save directory name in DIR. malloc space
10159 for dirent struct separately.
10160 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
10161
10162 * libc/include/errno.h (ENAMETOOLONG): Define.
10163 * libc/string/strerror.c (strerror): Reword ENFILE.
10164 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
10165
10166Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
10167
10168 * libc/sys/win32/crt0.c (__progname): New global.
10169 (mainCRTStartup): Support strace=bitmask,filename.
10170 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
10171 * libc/sys/win32/syscalls.c (_write): Print parent trace message
10172 if error.
10173 (getcwd): Handle len too small. Convert '\\' to '/'.
10174 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
10175 Add prototypes for open, creat, fcntl.
10176 (O_APPEND): Change value to conform to Microsoft's value.
10177 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
10178
10179 * libc/stdlib/getopt.c: New file.
10180 * libc/stdlib/Makefile.in: Build it.
10181
10182Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
10183
10184 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
10185 Fix scanning of $PATH.
10186 * libc/posix/exec*.c: Call _execve, not execve.
10187 * libc/posix/execve.c: New file.
10188 * libc/posix/Makefile.in (OFILES): Add execve.o.
10189
10190 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
10191 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
10192 (_STRACE): If level==0, always print. Handle new bit mask scheme.
10193 * libc/sys/win32/crt0.c: Update _STRACE calls.
10194 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
10195
10196 * libc/sys/win32/smallprint.c (rn): Fix digit list.
10197
10198 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
10199 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
10200 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
10201 Print __seterrno trace message first.
10202 (_execve): Renamed from execve.
10203 (vfork): Update __strace usage.
10204 (__vfork_child_pid): Deleted.
10205 (__vfork_children, __vfork_child_idx): New globals.
10206 (_spawnvp): New function.
10207 (spawnvp, spawnv, _execve): Call _spawnvp.
10208 (init_child): Record child in __vfork_children.
10209 (__vfork_get_entry, __vfork_record_death): New functions.
10210 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
10211 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
10212 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
10213 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
10214 (children): New typedef.
10215 (__vfork_children,__vfork_child_idx): Declare.
10216 (__vfork_get_entry,__vfork_record_death): Declare.
10217 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
10218 (waitpid): Handle pid == -1.
10219 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
10220 * configure.in (i386-win32): Add -DNO_FORK.
10221 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
10222 * libc/reent/execr.c (_fork_r): Likewise.
10223 * libc/stdlib/system.c (do_system): New function.
10224 If WIN32, try to get shell path from $SH_PATH, use vfork.
10225 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
10226 otherwise return 0.
10227
10228Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
10229
10230 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
10231 * libc/sys/win32/fcntl.h: Don't include self.
10232 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
10233 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
10234 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
10235 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
10236 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
10237 Correct prototypes.
10238 * libc/sys/win32/strace.c: New file.
10239 * libc/sys/win32/smallprint.c: New file.
10240 * libc/sys/win32/crt0.c (func): Delete.
10241 (mainCRTStartup): Fix alloca usage. Set handles explictly.
10242 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
10243 * libc/sys/win32/exceptions.c: Lint.
10244 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
10245 Clean up handle usage.
10246 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
10247 (open.c): Default file type is text.
10248 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
10249 * libc/sys/win32/advapi32.def: New
10250
10251Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
10252
10253 * configure.in (posix_dir, libc_posix_lib): New variables.
10254 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
10255 (i[345]86-*-win32): Define posix_dir.
10256 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
10257 (if unix_dir): Fix typo.
10258 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
10259 scandir,seekdir,telldir}: New files.
10260 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
10261 from libc/unix.
10262 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
10263 (SUBDIRS): Add posix.
10264 (SUBLIBS): Add $(LIBC_POSIX_LIB).
10265
10266 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
10267 (NSIG): Increase to 21.
10268 * libc/include/sys/unistd.h (pid_t): Move from here,
10269 * libc/include/sys/types.h (pid_t): to here.
10270
10271 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
10272 (__ptrace): Delete.
10273 (hinfo): New members close_exec_p, child_created_p.
10274 (struct exception_list): Define.
10275 (__hmap): Redefine as pointer to table.
10276 (__parent_hmap, __child_hmap): New globals.
10277 (__set_errno, __really_exit): Declare.
10278 (__vfork_child_pid): Declare.
10279 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
10280 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
10281 (__parent_hmap, __child_hmap): New globals.
10282 (__hmap): Redefine as pointer to active map.
10283 (__get_console): New function.
10284 (mainCRTStartup): Change leading '=' in environ vars to '!'.
10285 (env __FD_TABLE__): Watch for this and initialize our fd/handle
10286 mapping table from it if defined.
10287 (argv, envp): Dump if __strace >= 4.
10288 (main): Call here.
10289 * libc/sys/win32/exceptions.c (myp): Redefine.
10290 (__syscalls_b): Delete.
10291 (__stack_trace): New function.
10292 (ehandler3): Update to use _STRACE. Print stack trace.
10293 Call __really_exit instead of exit.
10294 (init_exceptions): Delete args argc,argv. New arg mine.
10295 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
10296 FindFirstFileA, FindNextFileA, GetComputerNameA,
10297 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
10298 * libc/sys/win32/signal.c (signal): Validate arg.
10299 (alarm, sleep): Define as stubs for now.
10300 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
10301 (__syscalls_b, errno): Delete.
10302 (__vfork_child_pid, __vfork_jmp_buf): New globals.
10303 (__seterrno): Handle more errors.
10304 (__sys_printf): Renamed from _ptrace.
10305 (__really_exit): New function.
10306 (queue_file_deletion, process_deletion_queue): New functions.
10307 (__resume_parent): New function.
10308 (_unlink): Handle trying to delete open file.
10309 (__totime_t): Renamed from totime_t.
10310 (setsid, __read, __write): New functions.
10311 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
10312 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
10313 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
10314 * libc/sys/win32/console.c: Update to new definition of __hmap.
10315 * libc/sys/win32/Makefile.in: Build new files.
10316 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
10317 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
10318 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
10319 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
10320
10321Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
10322
10323 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
10324
10325Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10326
10327 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
10328 have been made to the master dtoa.c sources (from netlib.att.com)
10329 since they were integrated into newlib in early 1992. Fixes
10330 problems with storage leaks and handling of numbers with very
10331 negative exponents.
10332
10333Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10334
10335 * Makefile.in (all): set rootpre and srcrootpre before calling
10336 sub-makes.
10337
10338Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
10339
10340 * libc/sys/win32/crt0.c: Change __hmap usage.
10341 * libc/sys/win32/exceptions.c: Use _ptrace call.
10342 * libc/sys/win32/syscalls.c: Use _ptrace call.
10343 (read, write): Cope with DOS style CRLF when in TEXT mode.
10344 * libc/sys/win32/syscalls.h: Declare hinfo struct.
10345 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
10346 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
10347 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
10348 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
10349
10350Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10351
10352 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
10353
10354 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
10355 wrappers for hypot() and remainder() for BSD libm compatibility.
10356 These are public domain implementations written by me for the
10357 NetBSD libm some time ago. Note cabs() is required by ucbtest.
10358 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
10359 (fobj): Added wf_cabs.o and wf_drem.o.
10360
10361Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10362
10363 * libc/sys/h8500hms/misc.c: New file.
10364 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
10365
10366Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10367
10368 * libc/time/localtime.c (localtime): Fix problem with leap year
10369 handling. Stole algorithm from Arthur David Olson's tz code.
10370
10371Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
10372
10373 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
10374
10375 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
10376 (_exit): Use argument.
10377
10378Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
10379
10380 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
10381
10382Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
10383
10384 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
10385
10386Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10387
10388 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
10389 target_cflags.
10390
10391Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
10392
10393 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
10394 ptrace with case insensitivity
10395 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
10396 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
10397 New files.
10398
10399Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
10400
10401 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
10402 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
10403 (all, install, *clean): Use new multilib support.
10404 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
10405
10406Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
10407
10408 * libc/include/sys/signal.h (__WIN32__): New.
10409
10410 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
10411
10412 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
10413 (ulp, b2d): Handle 32 bit doubles.
10414 * libc/stdlib/mprec.h: Handle 32 bit doubles.
10415 * libc/stdlib/strtod.c (_strtod_r): Ditto.
10416
10417Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
10418
10419 from medp@primag.co.uk:
10420 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
10421 dynamically allocated buffers.
10422
10423Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
10424
10425 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
10426 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
10427
10428Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
10429
10430 * configure.in (powerpc): Fix previous fix.
10431
10432Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
10433
10434 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
10435 directories for this target.
10436
10437Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10438
10439 * configure.in (hppa): Add machine_dir definition.
10440 * libc/machine/hppa: New directory with PA specific implementations
10441 of the basic memory/string functions.
10442
10443Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
10444
10445 * configure.in: Update current PowerPC multilib directories.
10446 Split big and little endian configurations.
10447
10448Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
10449
10450 * configure.in: Add --enable-single-float option to configure to
10451 control use of MIPS single-float directories. Default to yes.
10452
10453 * Makefile.in (all): Don't recurse into multilib directory if it
10454 does not exist.
10455
10456Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10457
10458 * libc/sys/sh/syscalls.c: Fix typo.
10459
10460Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
10461
10462 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
10463 Pass down DLLTOOL.
10464 * libc/include/process.h: Define WAIT_CHILD.
10465 * libc/include/types.h: Get sizes right for win32.
10466 * configure.in (i386-*-pe): Becomes i386-win32.
10467 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
10468 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
10469 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
10470 is defined.
10471
10472Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
10473
10474 * configure.in (i[345]86-*-pe): New target (NT).
10475 * host/any: DLLTOOL new.
10476 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
10477 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
10478 WIN32 (just enough to cross host the comp-tools).
10479
10480Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
10481
10482 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
10483 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
10484
10485Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
10486
10487 * libc/include/machine/ieeefp.h (arm): Change to always be
10488 __IEEE_BIG_ENDIAN (even on little endian ARM's).
10489
10490Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
10491
10492 * libc/sys/crt0.S: Initialze sp, and call exit after main.
10493 * libc/sys/syscalls.c (abort): New.
10494 * configure.in (arm): Define ABORT_PROVIDED.
10495
10496Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10497
10498 * configure.in (powerpc): Define multidirs.
10499
10500Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
10501
10502 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
10503
10504Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
10505
10506 * configure.in (sparclite): Delete target_cflags. Define multidirs.
10507
10508Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
10509
10510 * configure.in, libc/include/machine/ieeefp.h: Modified
10511 for arm:
10512 libc/machine/arm/*, libc/sys/arm/*: New
10513
10514Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10515
10516 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
10517 __powerpc__ when determining endianness.
10518
10519Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10520
10521 * configure.in (m68*): Add multidir for the m68332.
10522
10523 * host/any (CC): Fix typo in last change.
10524
10525Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
10526
10527 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
10528 when determining endianness.
10529 * libc/include/machine/ieeefp.h: Ditto.
10530 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
10531 operands.
10532
10533Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
10534
10535 * libc/include/errno.h (ENOTEMPTY): Define.
10536
10537Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10538
10539 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
10540 target_cflags.
10541
10542 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
10543 and umultiply.o.
10544
10545 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
10546 instead of only when open succeeds. ANSI requires that multiple
10547 calls to tmpnam() result in different files.
10548
10549 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
10550 objects pulled in from /lib/libc.a that must be renamed before
10551 being pulled into newlib. /lib/libc.a's div.o conflicted with
10552 newlib's file with the same name.
10553
10554 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
10555
10556 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
10557 the build tree will only be used if the executables are present
10558 (instead of just the Makefiles).
10559
10560 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
10561 wcstombs): Define.
10562 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
10563 versions of these functions that I orignally wrote for the
10564 NetBSD C library.
10565 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
10566 versions I wrote for NetBSD.
10567
10568Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
10569
10570 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
10571 * libc/sys/sparclite/crt0.s: ditto.
10572
10573Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
10574
10575 * configure.in: Add soft-float for proelf.
10576
10577Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
10578
10579 * libc/stdlib/mprec.h (Bcopy): Copy the right number
10580 of bytes.
10581
10582Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
10583
10584 * Makefile.in (all): Depend on `force'.
10585 * configure.in (syscall_dir): Renamed from fake_sys_dir.
10586 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
10587 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
10588 * libc/Makefile.in: Likewise.
10589 * libc/include/reent.h: Update syscall references.
10590 (_fcntl_r): Add prototype.
10591 * libc/syscalls/*.c #include <reent.h>.
10592 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
10593
10594Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
10595
10596 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
10597 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
10598 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
10599 (time.h, sys/types.h): Always include (even if MSDOS).
10600 (stat): Fix prototype.
10601
10602Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
10603
10604 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
10605
10606Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
10607
10608 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
10609
10610Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
10611
10612 * libc/include/regdef.h: New file.
10613 * libc/machine/mips/machine/regdef.h: New file.
10614
10615Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
10616
10617 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
10618
10619Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
10620
10621 * libc/sys/sh/crt0.S: Pass main's return to exit.
10622 * libc/sys/sh/trap.S: Put errno in the right place.
10623
10624Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
10625
10626 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
10627 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
10628 * libm/math/ef_rem_pio2.c: Likewise.
10629 * libm/math/e_log10.c: Remove unused static one.
10630 * libm/math/ef_log10.c: Likewise.
10631 * libm/math/s_frexp.c: Likewise.
10632 * libm/math/sf_frexp.c: Likewise.
10633
10634Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
10635
10636 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
10637 longjmp.S: Upgraded.
10638 * libc/sys/go32/sys/setjmp.h: Upgraded.
10639 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
10640
10641Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
10642
10643 * configure.in: Add many entries to multidirs for mips targets.
10644
10645Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10646
10647 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
10648 5.2 which fixes bug where jn(-1,x) is three times larger than
10649 the actual answer.
10650 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
10651
10652Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
10653
10654 * libc/sys/w65/sys/syscalls.h: New file
10655 * libc/include/machine/ieeefp.h: W65 support.
10656 * libc/include/sys/config.h: Ditto.
10657 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
10658 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
10659 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
10660
10661Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
10662
10663 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
10664
10665Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
10666
10667 * Makefile.in, configure.in: Remove any references to the old
10668 "stub" dir.
10669
10670Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
10671
10672 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
10673 uses ... in prototype.
10674
10675
10676Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
10677
10678 * libc/sys/a29khif/sys/libconfig.h: Remove.
10679 * libc/sys/go32/sys/libconfig.h: Remove.
10680 * libc/sys/sun4/sys/libconfig.h: Remove.
10681 * libc/sys/sysvi386/sys/libconfig.h: Remove.
10682 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
10683 * libc/sys/sparc64/sys/libconfig.h: Remove.
10684
10685 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
10686 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
10687 * libc/include/math.h: Change all uses of _FLOAT_RET and
10688 _FLOAT_ARG to float.
10689 * libm/test/math.c: Likewise.
10690 * testsuite/libm.sac/math.c: Likewise.
10691 * testsuite/libm.sac/working/math.c: Likewise.
10692
10693Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
10694
10695 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
10696 gcc calls gas with endian option.
10697 * configure.in (sh): Build little endian version too.
10698
10699Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
10700
10701 * configure.in: Configure big and little endian versions for MIPS
10702 targets.
10703
10704Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
10705
10706 * libc/include/limits.h: Deleted.
10707 * libc/include/machine/limits.h: Deleted.
10708
10709Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
10710
10711 * ChangeLog: Remove stub directory. This has all been rewritten
10712 and moved to devo/libgloss.
10713
10714Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
10715
10716 * Makefile.in (dvi): Add to info target, use $@ in sub make.
10717 (docs): Merge into info target.
10718 * libm/Makefile.in (dvi): Add $(srcdir).
10719 * libm/math/Makefile.in (chobjs): Remove underscores from file
10720 names. Texinfo doesn't like them.
10721 (wacos.def, ...): Add explicit targets for all .def files.
10722 * libm/math/math.tex: Remove underscores from @include file names.
10723 * doc/Makefile.in (dvi): Add dummy target.
10724 * testsuite/Makefile.in (dvi): Add dummy target.
10725
10726Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
10727
10728 * Makefile.in (VERSION): Define. For net newlib releases.
10729
10730Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
10731
10732 * README: New file.
10733
10734Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
10735
10736 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
10737
10738Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10739
10740 * libc/stdlib/setenv.c (_findenv): Declare.
10741
10742 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
10743 fcntl to not use _EXFUN, and change string parameters to open and
10744 creat to be ``const char *''.
10745 * libc/sys/sparc64/sys/fcntl.h: Likewise.
10746 * libc/sys/sparc64/creat.c (creat): Make PATH const.
10747 * libc/syscalls/sysopen.c: Include <fcntl.h>.
10748 (open) Make _FILE const.
10749 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
10750 (_creat): Make PATH const.
10751 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
10752 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
10753 * libc/sys/m88kbug/syscalls.c (open): Likewise.
10754 * libc/sys/sh/syscalls.c (_open): Likewise.
10755 * stub/shared/glue.c (open): Make BUF const.
10756 * stub/ex93x/syscalls.c (open): Make FILENAME const.
10757
10758Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
10759
10760 * libc/include/errno.h: Add ENMFILE
10761 * libc/include/sys/config.h: Support Z8000.
10762 * libc/include/sys/signal.h: New signals for go32.
10763 * libc/machine/h8500/psi.S (__addpsir0r0): New function
10764 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
10765 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
10766 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
10767 size is variable, depending upon CHUNK_POWER.
10768 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
10769
10770Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
10771
10772 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
10773
10774Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10775
10776 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
10777
10778Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10779
10780 * configure.in: Change i[34]86 to i[345]86.
10781
10782 * libc/include/math.h: Don't define HUGE_VAL if it is already
10783 defined.
10784
10785Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10786
10787 * testsuite/libm.sac/test_erfc.c: Correct some result values.
10788 * testsuite/libm.sac/test_gammaf.c: Likewise.
10789 * testsuite/libm.sac/test_sin.c: Likewise.
10790 * testsuite/libm.sac/test_tanh.c: Likewise.
10791
10792Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10793
10794 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
10795 already set. Define typedefs __int32_t and __uint32_t.
10796 * libc/include/math.h: Include <machine/ieeefp.h>.
10797 (union __dmath): Use __uint32_t.
10798 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
10799 instead of int and unsigned int.
10800
10801Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10802
10803 Replace the math library with the SunPRO fdlibm package.
10804 * libm/math: Completely changed all files.
10805 * libm/ieeefp: Remove contents and directory.
10806 * libm/Makefile.in (LIBM_FP_LIB): Remove.
10807 (SUBDIRS): Just set to math/lib.a.
10808 * libm/libm.texinfo: Updated for new library.
10809 * libc/include/math.h: Extensive changes for new math library.
10810 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
10811 from _FLOAT_ARG to float.
10812 (maxpowtwo, maxpowtwof): Don't declare.
10813 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
10814 (libm_fp_lib): Removed.
10815 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
10816 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
10817 argument to ${RUNTEST}.
10818 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
10819 (.c.o): New rule.
10820 (RUNTESTFLAGS): Set CC and CFLAGS.
10821 (TESTS): Remove test_log2 and test_log2f.
10822 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
10823 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
10824 _FLOAT_ARG, for single precision argument type.
10825 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
10826 expected failure. Close the input pipe.
10827 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
10828 Correct misspelling of inaccurate.
10829 (test_mok): Use ``inaccurate'', not ``wrong''.
10830 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
10831 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
10832 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
10833 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
10834 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
10835 test_yn.c): Correct many result values. Many are still wrong.
10836
10837 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
10838 just copy the string.
10839 (_gcvt): Always return the buffer.
10840
10841Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10842
10843 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
10844
10845Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
10846
10847 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
10848 structure.
10849 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
10850 (_reclaim_reent): declare new entry point.
10851 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
10852 functions.
10853
10854 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
10855 ever allocated, so that we can later reclaim them all.
10856 (pow5mult): make reentrant.
10857
10858 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
10859 so that when given NULL as a buffer, return a pointer to static
10860 space in the rent structure. This is not documented behaviour;
10861 it's only to support ecvt and fcvt, which aren't ANSI anyway.
10862 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
10863 therefore become reentrant).
10864
10865 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
10866
10867Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10868
10869 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
10870
10871Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
10872
10873 * Makefile.in: Make link to libg.a after libc.a; this is needed
10874 for the testsuites to build executables when everything comes
10875 from the tree.
10876
10877Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
10878
10879 * libc/Makefile.in: Add a VERSION variable so we can keep track.
10880 * libm/Makefile.in: Add a VERSION variable so we can keep track.
10881
10882Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
10883
10884 * libc/include/stdio.h: Use __VALIST, not va_list.
10885
10886Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
10887
10888 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
10889 testsuite/libm.sac/execute.exp:
10890 Replace error proc calls with perror calls.
10891
10892Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
10893
10894 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
10895 * libc/include/time.h: #define NULL as 0L.
10896
10897Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
10898
10899 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
10900 care of it.
10901
10902Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10903
10904 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
10905 not __unix__.
10906
10907Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
10908
10909 * configure.in (TARGET_CFLAGS): Set -O2 as default.
10910 (z8k-*-*): Use syscalls fake sys dir.
10911 * libc/sys/z8k/glue.c: Rename syscalls.
10912 * libc/sys/go32/Makefile.in: Use new routines.
10913 * libc/machine/Makefile.in: Fix typo in ln stuff.
10914
10915Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10916
10917 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
10918 * libc/Makefile.in (crt0.o): Likewise.
10919 * libc/machine/Makefile.in (lib.a): Likewise.
10920 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
10921
10922 All Makefile.in files: Added mostlyclean, realclean and distclean
10923 targets.
10924
10925 * Makefile.in: Don't bother to unexport XTRAFLAGS or
10926 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
10927 the top level Makefile.
10928
10929Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
10930
10931 * libc/sys/sparc64/sys/stat.h: New file.
10932 * libc/sys/sparc64/sys/time.h: New file.
10933 * libc/sys/sparc64/sys/types.h: New file.
10934
10935Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
10936
10937 * stub/ex93x/crt0.s (start): Add code to clear bss.
10938
10939Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
10940
10941 * libc/include/sys/types.h (time_t): Properly protect inside
10942 #ifndef __time_t_defined.
10943
10944 * libc/stdio/fileno.c: New file.
10945 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
10946 (fileno.o): Add dependency.
10947 * libc/include/stdio.h (__sgetc): Rename never to _never.
10948 (fileno macro): Disable, needs to do CHECK_INIT first.
10949
10950Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
10951
10952 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
10953 goal.
10954
10955 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
10956 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
10957 runtest.
10958 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
10959 runtest.
10960
10961Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
10962
10963 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
10964 of the various constants.
10965
10966Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
10967
10968 * libc/include/math.h: #ifndef __math_68881 around things which
10969 conflict with the (gcc-provided) inline functions in
10970 gcc/ginclude/math-68881.h.
10971
10972Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
10973
10974 * libc/include/_syslist.h (_gettimeofday): Define.
10975 (_times): Ditto.
10976 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
10977 (struct tms, timeval, timezone): Declare.
10978 (_gettimeofday_r, _times_r): Declare.
10979 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
10980 #ifdef _CLOCK_T_ surrounding definition of clock_t.
10981 (time_t): Add multiple definition protection, __time_t_defined.
10982 * libc/include/sys/time.h: Don't #include <time.h>.
10983 Always define struct timezone (remove #ifndef _TIME_H_).
10984 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
10985 #ifdef _CLOCK_T_ surrounding definition of clock_t.
10986 * libc/reent/Makefile.in (OFILES): Add timer.o.
10987 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
10988 * libc/reent/timer.c: New file.
10989 * libc/time/clock.c: #include <reent.h>.
10990 (clock): Call _times_r instead of times.
10991 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
10992 HAVE_GET_TIME_OF_DAY.
10993 Add comment regarding supporting OS routine(s) required (for docs).
10994 #include <reent.h>.
10995 (time): Call _gettimeofday_r instead of gettimeofday.
10996 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
10997 * libc/time/ctime.c: Ditto.
10998 * libc/time/strftime.c: Ditto.
10999 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
11000 (TEMPLATE_SFILES_R): Define here. Also define times.
11001 Add times_r.o/times.S dependence.
11002 (time2.c, junk.c): Deleted.
11003 * libc/sys/sparc64/time2.c: Deleted.
11004 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
11005
11006 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
11007 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
11008 * libc/sys/sparc64/junk.c: Deleted.
11009
11010Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
11011
11012 * libc/sys/sparc64/Makefile.in: Add times syscall.
11013 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
11014 be used with and without it. Add comment clarifying Medium/Anywhere
11015 model requirements.
11016 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
11017 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
11018 even if obsolete.
11019
11020Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
11021
11022 * configure.in (target_cflags): Move init.
11023 (sparc64-*-*): Define HAVE_BLKSIZE.
11024
11025Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
11026
11027 * libc/include/sys/_types.h: New file.
11028 * libc/include/reent.h: #include it.
11029 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
11030 MISSING_SYSCALL_NAMES.
11031 Sort syscalls.
11032 * libc/include/_syslist.h: Remove _raise.
11033 * libc/reent/signalr.c: New file.
11034 * libc/reent/Makefile.in: Compile it.
11035 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
11036 Add doc for raise and _raise_r.
11037 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
11038 (raise): Call _raise_r.
11039 (_raise_r): Call _getpid_r and _kill_r.
11040 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
11041 (abort): Loop forever calling raise and _exit.
11042
11043Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11044
11045 * configure.in: Remove extraneous echo.
11046
11047Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
11048
11049 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
11050 collision with unistd.h, and fix for svr4.
11051
11052Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
11053
11054 * libc/stdio/local.h (_llicvt): Declare.
11055 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
11056 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
11057 (_llicvt): Define.
11058 (_sicvt): Fix function header (`value' is short).
11059 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
11060 Add printing of long long's support.
11061 Add printing of 8 byte pointer support.
11062
11063Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
11064
11065 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
11066 stat, chmod): New hooks.
11067 (sbrk): Abort if stack and heap collide.
11068 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
11069 shortcut when given small args.
11070 * libc/machine/sh/setjmp.s: Rewritten.
11071 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
11072 of cmp/str instruction.
11073
11074Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11075
11076 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
11077 and machine_dir powerpc.
11078 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
11079 Add cases for __powerpc__.
11080 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
11081 New files.
11082
11083 * libc/include/stdio.h (_iprintf_r): Declare correctly.
11084
11085Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
11086
11087 * libc/stdlib/callocr.c: New file with _calloc_r in it.
11088 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
11089
11090Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
11091
11092 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
11093 (print_e): More comments to describe args, etc.
11094 "type" arg may now be 'g' or 'G' for %g/G format --> remove
11095 trailing blanks.
11096 (_gcvt): Remove locals decpt, sign, end, p, done.
11097 More comments for print_e invocation.
11098 Pass "type" to print_e as is (g/G).
11099
11100Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
11101
11102 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
11103 stock m68000.
11104
11105Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
11106
11107 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
11108 works with any sized pointer, including ones bigger than ints and
11109 longs.
11110
11111Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
11112
11113 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
11114
11115Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
11116
11117 * libc/include/stdlib.h (_calloc_r): Add prototype.
11118 * libc/machine/h8500/negsi2.c: New file.
11119 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
11120 large unsigned numbers.
11121 * libc/machine/h8500/cmpsi.c: Add cmppsi.
11122 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
11123 works when sizeof(size_t) != sizeof(char *).
11124 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
11125 get play area
11126 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
11127
11128Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
11129
11130 * libc/include/assert.h (assert): Handle -traditional.
11131
11132Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
11133
11134 * Makefile.in: added ; after every "fi" and "done" that wasn't at
11135 the end of a line (ie. anything before a backslash continuation)
11136 so that bash handles them.
11137
11138Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
11139
11140 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
11141 stat to lstat
11142
11143Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
11144
11145 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
11146 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
11147 libc/machine/sh/udivsi3.s: Use new calling convention.
11148
11149Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
11150
11151 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
11152 chmod, access, chdir, chown by making _path const. Also fix _amode
11153 param of access.
11154
11155Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
11156
11157 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
11158 _khif_tmpnam, because it doesn't comply with ANSI but may be
11159 useful anyway. Real tmpnam was already in libc/stdio, and was
11160 colliding with this one (pr 2176.)
11161 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
11162 the wrong idea anyhow.
11163
11164Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
11165
11166 * configure.in: Remove h8300h, we have multilib now.
11167
11168Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
11169
11170 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
11171 functions, to get preference over the ones in libiberty (since we
11172 provide correct declarations in <string.h>.
11173 * libc/string/Makefile.in: add support for strncasecmp,
11174 strcasecmp.
11175
11176Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
11177
11178 * Change netware config not to look for cpu explicitly.
11179
11180Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
11181
11182 * libc/sys/sparc64/{creat.c,junk.c}: New files.
11183 * libc/sys/sparc64/Makefile.in: Add dependencies.
11184
11185Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
11186
11187 * configure.in: Clean up v9 a bit, new "os" aoutv8.
11188
11189Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
11190
11191 * libc/include/sys/reent.h: make structure smaller by allocating
11192 some stuff when needed.
11193 * libc/signal/signal.c: allocate as needed
11194 * libc/stdio/findfp.c,stdio/local.h: ditto
11195 * libc/stdlib/mprec.c: ditto
11196
11197 * libc/time/localtime.c: don't return a dangling stack ptr.
11198
11199Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
11200
11201 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
11202
11203Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11204
11205 * libc/include/stdio.h (__sputc): comment out static inline which
11206 confuses coff toolchains.
11207
11208Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
11209
11210 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
11211 _write.s, getpid.c, kill.c, read.s}:
11212 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
11213 through the syscalls directory.
11214
11215Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
11216
11217 * configure.in: fixed double quote gotcha.
11218
11219Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
11220
11221 * stub/ex931: stub library for sparclite board.
11222 * stub/idp: Renamed from mc68ec. Added contructor table
11223 stuff to linker script.
11224 * stub/mvme135: Renamed from m68kmvme. Added contructor table
11225 stuff to linker script.
11226
11227Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11228
11229 * configure.in: Configure testsuites only if they exist.
11230
11231Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11232
11233 * configure.in: Don't set machine_dir for i386 until there is
11234 something in libc/machine/i386 to compile. For i[34]86-*-netware*
11235 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
11236 CLOCK_PROVIDED and MALLOC_PROVIDED.
11237
11238 * libc/sys/netware: New directory. Contains simplistic and
11239 probably incorrect stubs for NetWare. Should be enough to load
11240 the library.
11241 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
11242 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
11243 stub files.
11244
11245 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
11246 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
11247 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
11248 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
11249
11250Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
11251
11252 * testsuite/Makefile.in: add "docs" dummy target for consistency
11253 with rest of newlib; turn "info" and "install-info" into dummy
11254 targets, since they wouldn't have worked. (Depended on
11255 nonexistent "doc" subdir.)
11256
11257Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
11258
11259 * configure.in: handle mips* instead of mips
11260
11261Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
11262
11263 * libc/include/sys/dirent.h: New file. If it is not overridden by
11264 a version of libc/sys/*/sys/dirent.h, it includes the next
11265 <dirent.h> file in case there is one lurking somewhere.
11266
11267Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11268
11269 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
11270 compliance, namely: Accept a minus sign. Consider a single 0 with
11271 a radix of 0 as being a conversion. Determine overflow correctly.
11272 If an overflow occurs, set *ptr to the end of the number, not the
11273 middle.
11274 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
11275
11276Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
11277
11278 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
11279
11280Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
11281
11282 * Makefile.in (INSTALL): Use $srcrootpre.
11283 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
11284 can't handle it.
11285 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
11286 it.
11287 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
11288 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
11289 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
11290 * libm/math/Makefile.in (matherr.o): Ditto.
11291
11292Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
11293
11294 * configure.in: Build multidirs for z8k.
11295 * libc/include/stdlib.h (_strtoul_r): add prototype.
11296 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
11297 * libc/include/machine/setjmp.h: Add for z8k.
11298 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
11299 * libc/sys/z8ksim/glue.c: tidy up.
11300
11301Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
11302
11303 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
11304 New files. Requires execve system call.
11305 * libc/unix/Makefile.in: Use them.
11306 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
11307 Deleted, moved to libc/unix.
11308 * libc/sys/sparc64/Makefile.in: Remove them.
11309
11310Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
11311
11312 * libc/sys/sparc64/{template.S template_r.S}: New files.
11313 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
11314 from templates.
11315 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
11316 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
11317 umask.S unlink.S wait4.S write.S}: Removed, now built from
11318 templates.
11319
11320Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
11321
11322 * libc/time/time.c: #include <_ansi.h>.
11323
11324Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
11325
11326 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
11327
11328Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11329
11330 * configure.in: match m8* rather than m88k so that m88110 is
11331 recognized as well.
11332
11333Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
11334
11335 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
11336 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
11337 misc.c: New file.
11338
11339 * configure.in: Add multilib support to h8300.
11340
11341Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
11342
11343 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
11344 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
11345 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
11346
11347Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11348
11349 * configure.in: Corrected multidirs for sparc target.
11350
11351Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11352
11353 Support for building newlib multiple times with different
11354 compilation flags.
11355 * configure.in: Only configure doc at top level. Set multidirs
11356 when appropriate for target, unless not at top level. If
11357 multidirs is set, independently configure each subdirectory.
11358 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
11359 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
11360 automagically set by configure.in.
11361 (all): If MULTIDIRS is set, build multiple copies of libraries.
11362 (install): If MULTIDIRS is set, install multiple copies of
11363 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
11364 MULTISUBDIR is set, don't bother to install header files.
11365 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
11366 ${srcrootpre}.
11367 * stub/configure.in: Set MULTISUBDIR appropriately.
11368 * stub/Makefile.in (install): Install in
11369 $(tooldir)/lib/$(MULTISUBDIR).
11370 * All Makefile.in files: Define SRCTOP as well as TOP.
11371
11372Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
11373
11374 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
11375 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
11376
11377Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
11378
11379 * libc/sys/h8300hms/exit.c (_exit): New function.
11380
11381Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11382
11383 * configure.in: recognize m88110.
11384
11385Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11386
11387 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
11388 prototype main and call with args.
11389
11390Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
11391
11392 First real try at system traps for m88k-bug.
11393 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
11394 to real trap calls.
11395 * libc/sys/m88kbug/sys/systraps.h: new file.
11396
11397Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11398
11399 Patches to fix info building when target does not use sys
11400 directory.
11401 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
11402 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
11403 libc/sys.tex.
11404 * libc/sys/Makefile.in (doc): do nothing.
11405
11406Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11407
11408 * libc/Makefile.in (CRT0): new macro.
11409 (all): depend on $(CRT0) rather than crt0.o.
11410
11411 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
11412 do not default crt0, instead, set crt0 and crt0_dir based on
11413 sys_dir and stub_dir.
11414
11415 * Makefile.in (CRT0_DIR): new macro.
11416 (all): depend on $(CRT0) rather than crt0.o which may not exist.
11417 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
11418 $(CRT0).
11419 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
11420
11421Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
11422
11423 * testsuite/lib/libm.exp:
11424 added code to support compiling and linking of tests for
11425 libm.sac (paranoia to be added next) and processing the
11426 pass or failure of the tests.
11427
11428 * testsuite/config/unix-libm.exp:
11429 platform specific proc's for dealing with compiler, linker
11430 and the way we execute and process the test results.
11431
11432 * testsuite/libm.sac/execute.exp:
11433 generic framework for the sac tests. the config and lib
11434 expect code for specific platforms tie it all together.
11435
11436 * testsuite/libm.sac/test_is.c:
11437 changed the output of the test to be consistant with the
11438 other tests. parsing of pass nad fail messages is now fixed.
11439
11440Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
11441
11442 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
11443 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
11444 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
11445 #ifdef __cplusplus, surround by extern ""C { ... }.
11446 * libc/include/assert.h: Do *not* protect assert.h against
11447 multiple inclusion! Also, #undef it before #define, to allow
11448 redefinition.
11449 * libc/include/stdio.h (getlogin, cuserid): Removed. These
11450 should be only in unistd.h.
11451
11452 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
11453 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
11454 ... }.
11455
11456Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
11457
11458 * libc/machine/sparc/Makefile.in: Must create a library, even
11459 if empty.
11460
11461Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11462
11463 * configure.in: set machine_dir for m88k. edit crt0 definition
11464 into makefiles.
11465
11466 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
11467
11468 * libc/Makefile.in (all): also build crt0.o.
11469
11470 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
11471 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
11472 to remove CRT0.
11473
11474 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
11475 (all): reworked to build in place.
11476 (clean): remove lib.a
11477 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
11478
11479 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
11480 (_start): key off edata rather than _start_bss.
11481
11482Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
11483
11484 * libc/include/sys/unistd.h, libc/include/reent.h,
11485 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
11486
11487Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11488
11489 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
11490
11491 * Makefile.in (libc.a): break into two rules, one for libc.a and
11492 one for libc/libc.a. Force subdirs current before rebuilding
11493 library.
11494 (libm.a): break into two rules, one for libm.a and one for
11495 libm/libm.a. Force subdirs current before rebuilding library.
11496
11497 * libc/Makefile.in (SUBLIBS): fix typo.
11498
11499 * libc/sys/Makefile.in (all): force descent into subdirs, then
11500 rebuild library iff out of of date.
11501
11502Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
11503
11504 Rework so that library is built and then finished rather than
11505 being built on each invocation of make.
11506
11507 * host/any (machine_dir, sys_dir, signal_dir): these are not
11508 shared and have been moved to their associated Makefile.in's.
11509 (AR_FLAGS): switch to qc which is faster.
11510 * configure.in: no longer assign machine_dir for m88k. set
11511 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
11512 stub_dir set, then add to configdirs. add comment about silly
11513 configuration.
11514 (configdirs): drop stub. It will be added only
11515 when needed.
11516 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
11517 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
11518 stub_lib, crt0): new variables for tailoring lower level
11519 makefiles. Assign accordingly and edit into makefiles.
11520 * libm/Makefile.in: updated copyright.
11521 (TARGETLIB): removed.
11522 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
11523 (SUBDIRS): removed TARGETDEP_DIRS.
11524 (LIBM_FP_LIB, SUBLIBS): new macros.
11525 (all): reworked.
11526 (force): new target to force rebuilds.
11527 (Makefile): call $(SHELL) rather than sh. drop redundant ./
11528 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
11529 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
11530 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
11531 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
11532 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
11533 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
11534 stub/m68kmvme/Makefile.in: updated copyright.
11535 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
11536 (all): reworked. made this the default rule.
11537 (clean): also remove lib.a.
11538 (Makefile): call $(SHELL) rather than sh. drop redundant ./
11539 * stub/Makefile.in: updated copyright.
11540 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
11541 (stub_lib): new macro.
11542 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
11543 RANLIB.
11544 (all): reworked.
11545 (clean, install): assume stub_dir exists.
11546 (Makefile): depend on configure.in. call $(SHELL) rather than
11547 sh. drop redundant ./
11548 * stub/configure.in (stublib): new macro, assign it, edit it into
11549 makefiles.
11550 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
11551 updated copyright.
11552 (all): reworked.
11553 (Makefile): call $(SHELL) rather than sh. drop redundant ./
11554 * libc/Makefile.in (TARGETCRT0): removed.
11555 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
11556 TARGETCRT0.
11557 (SUBDIRS): drop TARGETDEP_DIRS.
11558 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
11559 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
11560 (force): new target to force rebuilds.
11561 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
11562 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
11563 removed.
11564 (clean): assume sys_dir always exists.
11565 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
11566 drop redundant ./
11567 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
11568 libc/locale/Makefile.in, libc/machine/Makefile.in,
11569 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
11570 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
11571 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
11572 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
11573 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
11574 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
11575 libc/signal/Makefile.in, libc/stdio/Makefile.in,
11576 libc/stdlib/Makefile.in, libc/string/Makefile.in,
11577 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
11578 libc/time/Makefile.in, libc/unix/Makefile.in,
11579 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
11580 (TARGETLIB): removed.
11581 (all): reworked.
11582 (clean): also remove lib.a.
11583 (Makefile): call $(SHELL) rather than sh. drop redundant ./
11584 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
11585 new macros.
11586 (SUBDIRS): moved to follow frag inclusion, change stub to
11587 stub_dir.
11588 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
11589 are now set in the libc Makefile.
11590 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
11591 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
11592 TARGETCRT0.
11593 (force): new target to force rebuilds.
11594 * stub/configure.in: determine and set stub_lib for for Makefile.
11595
11596Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
11597
11598 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
11599 crt0.s renamed to crt0.S.
11600 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
11601
11602 * libc/machine/h8300/Makefile.in: Make `all' the default target.
11603 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
11604 h8300h.
11605 * libc/machine/h8300/defines.h: Add macros to handle pointers for
11606 h8300 (16 bits) and h8300h (32 bits).
11607 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
11608 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
11609
11610Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
11611
11612 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
11613 implementation of setjmp and longjmp for the m88k.
11614 * libc/include/machine/setjmp.h: Added __m88000__ case.
11615
11616Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
11617
11618 * configure.in: Recognize h8300h as variant of h8300.
11619
11620Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
11621
11622 * libc/include/sys/unistd.h (read, write): get prototypes right.
11623 (sbrk): New prototype.
11624 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
11625 * libc/stdio/local.h: Include unistd.h.
11626 * libc/machine/h8300/syscalls.c: Names have changed.
11627
11628Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
11629
11630 * configure.in: add sys_dir assignment for m88k-bug.
11631
11632Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
11633
11634 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
11635 a.out or elf.
11636 * libc/sys/sparc64: all *.S files: Use new macros.
11637 * libc/sys/sparc64/isatty.c: New file.
11638 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
11639 functions beyond what newlib provides.
11640
11641Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
11642
11643 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
11644 svr4.
11645
11646Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
11647
11648 * libc/include/machine/ieeefp.h: Add support for h8/300h.
11649
11650Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
11651
11652 * configure.in: add m88k.
11653 * libc/include/machine/ieeefp.h: add case for m88k. Also add
11654 sanity check so no one else need ever chase what I did to find
11655 this.
11656
11657 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
11658
11659Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
11660
11661 * doc/makedoc.c: Include <ctype.h>.
11662
11663Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
11664
11665 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
11666 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
11667 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
11668
11669 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
11670
11671Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
11672
11673 * libc/include/errno.h (ENOSYS): Added.
11674
11675 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
11676
11677Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
11678
11679 * libc/stdio/fflush.c (fflush): Check for reent struct
11680 initialization.
11681 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
11682
11683Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
11684
11685 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
11686 out of dtoa.c so it doesn't pollute the namespace.
11687 * libc/include/_syslist.h: new file -- mappings from _function to
11688 function, for systems where we can't win (by default, all of them,
11689 until we start updating system calls.)
11690 * libc/syscalls: new directory -- stubs for exporting _function
11691 names as unmodified function names.
11692 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
11693 _syslist.h on all platforms by default, but put hooks in for
11694 fake_sys_dir so we can include it when we've renamed the system
11695 calls.
11696 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
11697 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
11698 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
11699 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
11700 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
11701 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
11702 non ANSI functions to call _function.
11703
11704Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
11705
11706 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
11707 when base 16 is specified. Don't accept non-digits if radix > 10.
11708
11709Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
11710
11711 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
11712
11713Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
11714
11715 * libc/include/sys/stat.h: Surround text after #endif with
11716 comments.
11717
11718Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
11719
11720 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
11721 _malloc_r, _realloc_r, and free_r call the corresponding
11722 non-reentrant functions.
11723
11724 * libm/math/modf.c (modf): We now take the address of ipart, so
11725 don't make it a register variable.
11726
11727Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
11728
11729 * libm/math/*: Rename all xxx_r fns to _xxx_r.
11730
11731Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
11732
11733 * libc/libc.texinfo and embedded docn throughout: formatting
11734 improvements, minor rephrasing for clarity, and improved
11735 reentrancy docn.
11736
11737Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
11738
11739 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
11740
11741 * libc/stdio/cvt.c (_licvt): Print the right value on machines
11742 where sizeof(int) != sizeof(long).
11743
11744Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
11745
11746 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
11747 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
11748 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
11749 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
11750 libm/math/matherr.c: changes for better docn formatting (info).
11751
11752 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
11753 libc/reent/reent.tex, libc/signal/signal.tex,
11754 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
11755 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
11756 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
11757 makeinfo node defaulting to get better Info file node structure.
11758 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
11759 Also include a few formerly missing sections (subroutines).
11760
11761 * doc/doc.str: delete fossil expansion for "func"
11762
11763 * default.menu, no-signal.menu: delete.
11764
11765 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
11766 method used to adjust doc for missing "signals" chapter when
11767 signal_dir is empty.
11768
11769Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
11770
11771 * configure.in: added testsuite/libm.sac
11772
11773Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
11774
11775 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
11776 code model).
11777
11778Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
11779
11780 * libm/Makefile.in: Use $(MAKE) rather than make, and define
11781 MAKEOVERRIDES to be empty.
11782
11783Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
11784
11785 * configure.in: Don't build mips-*-* with -msoft-float, since that
11786 makes it incompatible with hard floating point.
11787
11788Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
11789
11790 * Makefile.in: added recursive 'make check'
11791
11792Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
11793
11794 * configure.in: added ./testsuite ./testsuite/libm.paranoia
11795 * ./testsuite/Makefile.in: created
11796 * ./testsuite/libm.paranoia: paranoia tests added
11797
11798Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
11799
11800 * configure.in: For mips-*-* set machine_dir to mips.
11801
11802 * libc/machine/mips: New directory.
11803 * libc/machine/mips/Makefile.in: New file.
11804 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
11805 setjmp and longjmp.
11806 * libc/include/machine/setjmp.h: Added __mips__ case.
11807
11808 * libc/machine/lmips: Removed unused and useless directory.
11809
11810Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
11811
11812 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
11813
11814Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
11815
11816 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
11817 start up).
11818
11819Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
11820
11821 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
11822 SETJMP_H.
11823
11824Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
11825
11826 * libm/test/convert.c: structure member errno -> errno_val.
11827 Must include <errno.h> to use errno, it's a macro now.
11828 * libm/test/math.c: Ditto.
11829 * libm/test/math2.c: Include errno.h.
11830 * libm/test/string.c: Ditto.
11831 * libm/test/test.h: structure member errno -> errno_val.
11832 Remove extern int errno decl.
11833
11834Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
11835
11836 * libc/stdio/Makefile.in: Added dependencies on local header
11837 files.
11838 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
11839 files.
11840
11841Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
11842
11843 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
11844
11845Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
11846
11847 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
11848 Initialize _data.
11849
11850 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
11851 * libc/stdio/local.h: Add prototype for _licvt.
11852
11853 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
11854 instead of malloc,reealloc.
11855
11856 * libc/stdlib/local.h: New file.
11857 * libc/stdlib/efgcvt.c: #include local.h.
11858 (gcvt): Fix call to _gcvt.
11859 * libc/stdlib/ecvtbuf.c: #include local.h.
11860
11861 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
11862 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
11863 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
11864
11865 * libc/stdlib/atexit.c: moved global data to struct _reent.
11866 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
11867
11868 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
11869
11870Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
11871
11872 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
11873 here from ../reent.h.
11874
11875Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
11876
11877 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
11878 should be provided in both libc.a and libm.a.
11879 (libc.a): Depend on targ-include and libm.a. Copy
11880 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
11881 (libm.a): Depend on targ-include.
11882 * configure.in (subdirs): Removed libc/math.
11883
11884Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
11885
11886 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
11887
11888Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
11889
11890 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
11891 sys/reent.h instead of reent.h.
11892 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
11893 headers moved to sys/reent.h.
11894 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
11895 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
11896 __need__MAX_SIGNALS defined.
11897 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
11898 std{in,out,err} refer to new _std{in,out,err} members.
11899
11900Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
11901
11902 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
11903 case.
11904
11905Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
11906
11907 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
11908 rather than whatever macro seterrno() has.
11909
11910Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
11911
11912 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
11913 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
11914
11915 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
11916 __STDC__.
11917
11918 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
11919 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
11920 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
11921
11922 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
11923 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
11924
11925 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
11926 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
11927 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
11928 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
11929 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
11930 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
11931 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
11932 renamed to _xxx_r. struct reent_struct renamed to struct _reent
11933 for ANSI. structure members given leading "_" for ANSI. Use
11934 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
11935
11936 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
11937 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
11938 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
11939 reent_struct renamed to struct _reent for ANSI.
11940 Structure members given leading "_" for ANSI.
11941 _CONST --> const in prototypes.
11942 Use _HAVE_STDC instead of __STDC__.
11943
11944 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
11945 _xxx_r.
11946 struct reent_struct renamed to struct _reent for ANSI.
11947 Structure members given leading "_" for ANSI.
11948
11949 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
11950 _xxx_r.
11951 struct reent_struct renamed to struct _reent for ANSI.
11952
11953 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
11954 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
11955 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
11956 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
11957 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
11958
11959 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
11960 signal.h, stdio.h, stdlib.h, string.h, time.h}:
11961 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
11962 #ifndef _STRICT_ANSI non-ANSI routines.
11963 Reentrant routines renamed from _r_xxx to _xxx_r.
11964 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
11965 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
11966 Clean up namespace (structure members have leading "_").
11967 struct reent_struct renamed to struct _reent for ANSI compliance.
11968 _CONST --> const in function prototypes.
11969
11970 * libc/include/string.h: Add NULL and size_t.
11971
11972 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
11973 unlink, wait, wait4. Reentrant syscall routines close, fork,
11974 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
11975 write.
11976 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
11977 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
11978 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
11979 write.S}: Define reentrant versions.
11980 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
11981 reentrant syscalls.
11982
11983 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
11984
11985 * libc/include/stdlib.h (RAND_MAX): Fix value.
11986
11987Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
11988
11989 * libc/sys/a29khif/_main.c: Removed unnecessary file.
11990 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
11991 VPATH support targets after all: target.
11992
11993 * stub/mvme135/mvme.S: Renamed exceptionhandler to
11994 exceptionHandler, which is what mvme135-stub.c expects.
11995
11996Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
11997
11998 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
11999
12000 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
12001 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
12002 compliant).
12003
12004Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
12005
12006 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
12007 first.
12008 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
12009 _r_write): Ditto.
12010 libc/reent/fstatr.c (_r_fstat): Ditto.
12011 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
12012 libc/reent/sbrkr.c (_r_sbrk): Ditto.
12013 libc/reent/statr.c (_r_stat): Ditto.
12014
12015 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
12016 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
12017 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
12018 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
12019 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
12020 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
12021 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
12022 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
12023 (__swrite): Ditto for _r_lseek, _r_write.
12024 (__sseek): Ditto for _r_lseek.
12025 (__close): Ditto for _r_close.
12026 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
12027
12028 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
12029 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
12030
12031 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
12032 to make reent_struct the first argument (and thus consistent with
12033 the rest of newlib).
12034
12035 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
12036 reference to __STDC__.
12037
12038Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
12039
12040 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
12041 global __cleanup.
12042
12043Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
12044
12045 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
12046 first.
12047 libc/stdio/fclose.c (fclose): Ditto.
12048
12049Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
12050
12051 * Run through indent and rename reentrant routines for ANSI.
12052 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
12053 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
12054 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
12055 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
12056 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
12057 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
12058 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
12059 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
12060 vsprintf.c wbuf.c wsetup.c local.h}
12061
12062 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
12063
12064 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
12065 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
12066 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
12067 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
12068 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
12069 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
12070
12071 * Run through indent.
12072 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
12073 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
12074 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
12075 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
12076 strxfrm.c}
12077
12078 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
12079 localtime.c mktime.c strftime.c time.c}:
12080 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
12081
12082 * Reformatting + renaming (for ANSI, GNU style, consistency).
12083 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
12084 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
12085 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
12086
12087Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
12088
12089 * libc/include/stdio.h (stdin_r): Fix.
12090
12091Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
12092
12093 * Makefile.in: Unexport some variables to keep GNU make from
12094 putting them in the environment and using up needed ARG_MAX space
12095 (a hack is used to let this work with older makes as well).
12096
12097Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
12098
12099 * Makefile.in: Use $(MAKE) rather than make.
12100 (MAKEOVERRIDES): Define to be empty.
12101 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
12102 (libc.a, libm.a): Depend on targ-include.
12103 * host/any (LD): Don't define.
12104 (INCLUDES): Use targ-include.
12105 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
12106 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
12107 * libc/Makefile.in: Use $(MAKE) rather than make.
12108 (MAKEOVERRIDES): Define to be empty.
12109 (FLAGS_TO_PASS): Don't pass LD (it's not used).
12110 (all): Rewrote to be slightly smaller.
12111 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
12112 Define to be empty.
12113 (FLAGS_TO_PASS): Don't pass LD (it's not used).
12114 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
12115
12116Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
12117
12118 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
12119 with errno/errno.c.
12120
12121Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
12122
12123 * Changes for reentrancy.
12124 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
12125 Use ptr->_errno, not errno.
12126 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
12127 libc/stdio/remove.c (remove_r): New function.
12128 libc/stdio/rename.c (rename_r): New function.
12129 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
12130 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
12131 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
12132 reentrant versions of system calls.
12133 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
12134 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
12135 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
12136 libc/stdio/findfp.c: Include <string.h>.
12137 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
12138 "local.h".
12139 libc/stdio/wbuf.c: Include "fvwrite.h"
12140
12141 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
12142 <string.h>.
12143 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
12144 (NULL): Don't define if already defined.
12145 libc/stdlib/system.c: Call reentrant versions of system calls.
12146 (system_r): New function.
12147
12148 * Changes for reentrancy.
12149 libc/include/_ansi.h (_PARAMS): New macro.
12150 libc/include/errno.h: Define errno as a macro that calls __errno.
12151 (__errno_r): New macro for reentrant code.
12152 libc/include/math.h: Include reent.h. Declare many reentrant
12153 functions.
12154 (signgam): Now a macro, not a variable.
12155 (struct exception): Added err field.
12156 libc/include/reent.h: Don't declare __sglue. Added function
12157 declarations.
12158 (struct reent_struct): Moved errno to beginning. Added _signgam.
12159 libc/include/stdio.h, libc/include/stdlib.h: Added function
12160 declarations.
12161
12162 * More reentrancy hacking.
12163 libc/errno/errno.c (__errno): New function.
12164 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
12165 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
12166 files.
12167
12168 * Added many new reentrant functions to libm/math/*.
12169 libm/math/error.c (__matherror): Added reent_struct pointer
12170 argument. Changed all callers.
12171 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
12172 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
12173 libm/math/tan.h: Removed obsolete unused header files.
12174
12175 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
12176
12177 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
12178
12179Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
12180
12181 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
12182 delay slots.
12183
12184Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
12185
12186 * libc/libc.texinfo: comment out reentrancy chapter (duh)
12187
12188Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
12189
12190 * libc/reent/reent.tex: New file. (text from
12191 newlib/libc/libc.texinfo)
12192 * libc/stdio/tmpnam.c: fixed doc typo
12193 * libc/stdlib/rand.c: fixed doc typo
12194
12195Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
12196
12197 * libc/reent/reent.tex: New file. (text from
12198 newlib/libc/libc.texinfo)
12199
12200Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
12201
12202 support for reentrancy
12203 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
12204 new files
12205 * libc/errno/errno.c, libc/include/ieeefp.h,
12206 libc/include/locale.h, libc/include/reent.h,
12207 libc/include/signal.h, libc/include/stdio.h,
12208 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
12209 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
12210 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
12211 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
12212 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
12213 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
12214 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
12215 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
12216 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
12217 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
12218 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
12219 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
12220 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
12221 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
12222 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
12223 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
12224 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
12225 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
12226 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
12227 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
12228 libc/time/strftime.c: modify to provide reentracy.
12229
12230 new routines:
12231 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
12232 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
12233 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
12234 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
12235 mstats_r, realloc_r, localeconv_r, setlocale_r
12236
12237Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
12238
12239 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
12240 libc/include/sys/config.h, libc/include/sys/signal.h,
12241 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
12242 provided macros (such as m68000), use the ansi version
12243 (__m68000__) so that the library can be used with code compiled
12244 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
12245 and sparc.
12246
12247Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
12248
12249 * configure.in (sparc*): Don't set -fsoft-float for sparc
12250 configurations. Do set -fsoft-float for sparclite configurations.
12251
12252Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
12253
12254 * default.menu, no-signal.menu: alternate forms of libc main menu
12255 (in newlib rather than newlib/libc due to configuration restrictions)
12256
12257 * configure.in: select one of the two menus above, link to
12258 libc.menu
12259
12260 * libc/libc.texinfo: include menu from separate file
12261
12262Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
12263
12264 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
12265 (info): Split long shell command in half.
12266 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
12267 sub-makes, just CHEW and TARGETDOC.
12268 (targetdep.tex): Removed now special handling of sys and machine
12269 subdirectories, made obsolete some time ago.
12270 * libc/machine/Makefile.in (doc): Don't pass everything to
12271 sub-make, just CHEW and TARGETDOC.
12272 (Makefile): New target.
12273 * libc/sys/Makefile.in (Makefile): New target.
12274
12275Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
12276
12277 * Makefile.in (here and most subdirectories): Only pass down CHEW
12278 and TARGETDOC when making info, not for other targets.
12279
12280 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
12281 $(AR_FLAGS) rather than $(ARUPDATE).
12282
12283Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
12284
12285 * Try to reduce command line length:
12286 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
12287 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
12288 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
12289 (info): Pass CHEW to other subdirs.
12290
12291Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
12292
12293 * configure.in: add signal_dir, like unix_dir, but by default it
12294 is set to "signal" so that a29khif can turn it off (since a29khif
12295 has raise() as part of machine-specific signal.s.)
12296
12297Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
12298
12299 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
12300 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
12301 correctly.
12302 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
12303 libc/stdio/vfprintf: type lint.
12304 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
12305 initialzation code.
12306 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
12307
12308Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
12309
12310 * stub/mvme135/mvme135-asm.S: new file.
12311 stub/mvme135mvme135-stub.c: moved all assembler routines into
12312 mvme135-asm.S.
12313 stub/mvme135/Makefile.in: build mvme135-stub.o.
12314
12315Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
12316
12317 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
12318 sub-Makefiles instead, to try to avoid line length limitations.
12319
12320Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
12321
12322 * libc/include/unistd.h (read, write): Use void* instead of
12323 char*.
12324
12325Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
12326
12327 * stub/go32/resetpc: sample script to send a reset packet to the
12328 stub
12329
12330 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
12331 DOS environment, which compiles with Turbo C.
12332
12333 * stub/go32/DSER32.LNK: new file, linker commands for serial
12334 remote stub.
12335
12336 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
12337 start up message to identify version; call set_debug_traps.
12338
12339 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
12340 keyboard interaction); call handle_exception() in go_til_stop,
12341 rather than return, so that the remote stub gets control.
12342
12343 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
12344 rename, rather than mv), set flags that work with current Turbo C,
12345 including using the /3 flag; also, add commands to build dser32.
12346
12347 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
12348 default Turbo C installation (\tc rather than \usr)
12349
12350 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
12351 "&..."
12352
12353Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
12354
12355 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
12356
12357Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
12358
12359 * libc/stdio/cvt.c (licvt): new function to convert ints when
12360 sizeof(int) != sizeof(long).
12361
12362 * libc/include/stdio.h: added prototype for iprintf.
12363 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
12364
12365Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
12366
12367 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
12368 __REGISTER_PREFIX__.
12369
12370Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
12371
12372 * libc/sys/m68kbare: moved into stub directory.
12373
12374Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
12375
12376 * configure.in, Makefile.in: created new directory stub, to hold
12377 sample code for specific targets.
12378
12379Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
12380
12381 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
12382 in the unified libc/include/sys/fcntl.h.
12383
12384Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
12385
12386 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
12387 printed .01, not 0.01.
12388
12389Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
12390
12391 * configure.in: compile with -m68000 for m68* targets.
12392
12393Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
12394
12395 * libm/math/remainder.c (remainder): document the svr4 and sunos
12396 references used to construct the function.
12397
12398Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
12399
12400 * libm/math/remainder.c (rint, remainder): fix old typos.
12401 * libm/math/Makefile.in: actually build remainder.c (functions
12402 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
12403 page.)
12404
12405Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
12406
12407 * libc/string/bcopy.c: BSD version works on overlapping strings,
12408 so ours should too.
12409
12410 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
12411 ("SHELL").
12412
12413Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
12414
12415 * Makefile.in (docs): new target.
12416
12417Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
12418
12419 * libc/include/sys/times.h: define clock_t as required by POSIX.
12420 libc/include/time.h: protect clock_t from multiple definitions.
12421
12422Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
12423
12424 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
12425 does not need more than the original three iterations to get
12426 within 1 ulp. (Paranoia tests for rounding to better than that,
12427 but further iterations *don't* help, only more subtle changes
12428 can.)
12429
12430Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
12431
12432 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
12433 were doing nothing useful.
12434
12435Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
12436
12437 * configure.in: define MALLOC_PROVIDED for vxworks targets;
12438 removed sys_dir settings of vxworks68 and vxworks960.
12439 host/any: don't pass -nostdinc to gcc, since newlib no longer
12440 provides all required header files.
12441
12442 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
12443 is not defined; this provides a hook for VxWorks.
12444
12445Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
12446
12447 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
12448 buffer if buf is NULL, don't do it here -- it is already being
12449 done by makebuf elsewhere in stdio.
12450
12451Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
12452
12453 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
12454 that C programs can call functions without using initial
12455 underscores.
12456
12457Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
12458
12459 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
12460
12461Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
12462
12463 * configure.in: set TARGET_CFLAGS for certain CPU types to
12464 -msoft-float.
12465
12466Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
12467
12468 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
12469
12470Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
12471
12472 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
12473 m68k*-unknown-coff.
12474
12475Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
12476
12477 * libc/include/stdio.h: define __need___va_list before including
12478 <stdarg.h>, to avoid defining va_arg, et. al.
12479
12480Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
12481
12482 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
12483 (don't cd to the user's home directory).
12484
12485 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
12486 In general this is the wrong thing to do, but I can't get around
12487 GNU make's insistence on passing command line arguments any other
12488 way.
12489
12490Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
12491
12492 * configure.in: always configure the libc/sys directory, since it
12493 now provides a required documentation file.
12494
12495 * Makefile.in: replaced all instances of $(MAKE) with make. In
12496 general this is the wrong thing to do, but I can't get around GNU
12497 make's insistence on passing command line arguments any other way.
12498
12499Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
12500
12501 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
12502 terminated.
12503
12504 * libc/stdio/local.h: include <stdarg.h> to define va_list.
12505 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
12506
12507 * libc/include/float.h, libc/include/stdarg.h,
12508 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
12509 versions instead.
12510 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
12511 <stdarg.h>, not from <machine/types.h>. Protect definition of
12512 NULL.
12513 libc/include/time.h: get size_t from stddef.h. Protect definition
12514 of NULL.
12515 libc/include/machine/limits.h: override gcc <limits.h> by defining
12516 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
12517 get correct INT_MIN and LONG_LONG values.
12518 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
12519 size_t or va_list at all; they're now gotten from stddef.h
12520 instead.
12521 libc/include/machine/varargs.h: removed; use gcc version instead.
12522 libc/include/sys/types.h: explicitly include <machine/types.h>.
12523
12524 * libm/math/sqrt.h: using the fp-bit routines appears to require
12525 more iterations.
12526
12527 * Makefile.in, host/any: let system include files override machine
12528 include files.
12529
12530Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
12531
12532 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
12533 override _*_T_ definitions defaulted here.
12534
12535Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
12536
12537 * Makefile.in (install): install the include files in
12538 $(tooldir)/include, not $(exec_prefix)/include.
12539
12540Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
12541
12542 * Makefile.in (install): fixed typo, and changed install to not
12543 force rebuild of libc.a and libm.a.
12544
12545Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
12546
12547 * libc/sys/a29khif/*: Changed all .include's to include
12548 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
12549 that they will be installed for the user.
12550
12551 * Makefile.in (all): create targ-include, a directory holding the
12552 machine and system specific header files during the build.
12553 (install): fixed installation of machine and system specific
12554 header files.
12555
12556 * Makefile.in: fixed comment.
12557 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
12558 we can pass $(INCLUDES) to it.
12559
12560Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
12561
12562 * libc/include/sys/param.h: new generic file, which may be
12563 overridden for specific systems.
12564
12565 * libc/include/sys/signal.h: define all ANSI signal names, and
12566 NSIG (which is not ANSI) for a29k.
12567
12568Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
12569
12570 * Makefile.in: don't pass down arguments the lower level makes
12571 will not need.
12572 * libc/Makefile.in: recurse directly, rather than using subdir_do,
12573 in hopes of avoiding argument length limits.
12574 * libm/Makefile.in: recurse directly, rather using subdir_do, in
12575 hopes of avoiding argument length limits.
12576
12577Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
12578
12579 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
12580 mode_t is defined.
12581
12582Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
12583
12584 * Fixed make info and make install-info for newlib, changing most
12585 Makefile.in and several *.tex files. Moved doc directory from
12586 libc to top level.
12587
12588 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
12589 Should be rewritten.
12590
12591 * libc/string/strings.tex: renamed node index to node index
12592 function, so that it does not conflict with the top level index
12593 node.
12594
12595 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
12596
12597Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
12598
12599 * Overhauled general configuration for newlib. Eliminated all
12600 target dependent Makefile fragments. Create libraries in newlib
12601 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
12602 than CROSS_CC, et. al. Broke make docs; will fix later.
12603
12604 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
12605 Should be rewritten.
12606
12607Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
12608
12609 * libc/configure.in: cleaned up somewhat; switch on ${target}
12610 rather than ${target_alias}.
12611 * libm/configure.in: cleaned up somewhat; switch on ${target}
12612 rather than ${target_alias}.
12613
12614 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
12615 * libc/include/ctype.h: marked _ctype_ as _CONST.
12616
12617 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
12618 _CONST.
12619
12620 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
12621 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
12622 libc/stdio/gets.c (gets): removed non-ANSI warning message.
12623 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
12624
12625 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
12626 bigtens, tinytens): marked arrays _CONST.
12627 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
12628 rather than a static variable.
12629
12630 * libc/time/asctime.c (asctime), libc/time/localtime.c
12631 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
12632 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
12633 mname_len, mname): Marked static arrays _CONST.
12634
12635 * libm/math/gamma.h: made local variables non-static.
12636
12637 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
12638 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
12639 _CONST.
12640
12641 * libm/math/constants.c: removed file, because the constants it
12642 defined were never referenced.
12643 libm/math/Makefile.in: removed references to constants.c.
12644 libm/math/mathimpl.h: removed declarations of constants.
12645
12646Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
12647
12648 * libc/include/machine/varargs.h: only call __builtin_saveregs if
12649 it is sensibly defined in libgcc2. Checks preprocessor defines,
12650 which is not a good solution.
12651
12652 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
12653
12654 * libm/frexp.c: handle denormalized numbers as arguments.
12655
12656 * libm/math/Makefile.in: added some dependencies for .c files
12657 which include local .h files.
12658
12659Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
12660
12661 * libc/configure.in: set target_alias for OSE*. Replace
12662 target_makefile_frag if it is blank.
12663
12664 * libc/Makefile.in: make sure everything is passed to subsidiary
12665 makes; create all directories when installing.
12666
12667 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
12668 CROSS_ARUPDATE instead of AR.
12669
12670 * libm/configure.in: set target_alias for OSE*. Replace
12671 target_makefile_frag if it is blank.
12672
12673 * libm/Makefile.in: make sure everything is passed to subsidiary
12674 makes; create all directories when installing.
12675
12676Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
12677
12678 * add following change from libc copy.
12679
12680Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
12681
12682 * libc/libc.texinfo: make copyright disclaimers appear on back of
12683 title page; make format of same slightly less ugly; avoid using
12684 underbars in section headings (avoids nasty texinfo bug in table
12685 of contents).
12686
12687 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
12688 comments only) avoid using underbars in section headings
12689
12690 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
12691 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
12692 changes in comments only): shorten headings ieeefp/infinity.c,
12693 ieeefp/isnan.c: (doc, comments only) more informative headings
12694
12695 * libc/math/bessel.c: (doc, comments only) shorten heading
12696
12697 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
12698 (doc, comments only) shorten headings
12699
12700 * libc/time/localtime.c (doc, comments only): shorten headings
12701
12702 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
12703 isnan
12704 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
12705 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
12706 headings
12707 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
12708 only) more informative headings
12709 * libm/math/bessel.c: (doc, comments only) shorten heading
12710
12711Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
12712
12713 * .../Makefile.in: use CROSS_ARUPDATE consistently.
12714 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
12715 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
12716 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
12717 defined, the one from the .mt file will be correct.
12718 * libc/include/machine, libc/include/sys: created, and populated
12719 with common files from machine/*/machine. ifdefs were used for
12720 most, typically by handling exceptions first and then filling in
12721 defaults. Files with D.J. Delorie copyright #included rather than
12722 copied. Most files in include/sys really were the same in the
12723 original.
12724 * libc/include/...: cleaned up use of _EXFUN.
12725 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
12726 it with double quotes, not angles.
12727
12728Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
12729
12730 * libc/Makefile.in: always create installation directories.
12731
12732Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
12733
12734 * libc/configure.in: handle host properly (using canonical
12735 triples), better error message for the case of target not found
12736
12737Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
12738
12739 * libc/Makefile.in (insincdir): Ensure this directory exists
12740 before attempting installation.
12741
12742Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
12743
12744 * libc/stdlib/assert.c: now calls abort like it should
12745 * libc/sys/a29khif: many many patches for 29khif work
12746 * libc/machine/i386: gnulib2 expanded there.
12747
12748Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
12749
12750 Added accurate fp conversion routines to stdlib, moved dcvt from
12751 stdio to stdlib and called it ecvtbuf:
12752 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
12753 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
12754 routines
12755 * libc/libc.texinfo: Modifed to include the copyright info from
12756 the mprec files
12757 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
12758 * libc/test/ : many vector which tested for the implementation
12759 defined returns of strange conversion requests have been updated
12760 to relflect the new implementation
12761
12762Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
12763
12764 * libc/libc.texinfo: new chapter on variable arg lists
12765 (stdarg.h/varargs.h)
12766 * libc/libc.texinfo: new title
12767 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
12768 (doc only) shorter headings for better formatting.
12769
12770Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
12771
12772 * libc/libc.texinfo: three more info menu entries
12773 * libc/locale/locale.tex: new chapter
12774 * libc/locale/locale.c: new doc for setlocale, localeconv
12775 * libc/locale/Makefile.in: use new locale doc
12776 * libc/signal/signal.tex: new chapter
12777 * libc/signal/raise.c, libc/signal/signal.c: new doc
12778 * libc/signal/Makefile.in: use new doc
12779 * libc/time/time.tex: new chapter
12780 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
12781 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
12782 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
12783 * libc/time/Makefile.in: use new doc
12784
12785Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
12786
12787 * libm/math/log1p.c: split to use the new function way of float
12788 function definition. math/log1p.h deleted
12789 * libm/math/scalb.c: obsolete and deleted
12790 * libm/math/scalbn.c: created from part log1p.c
12791 * libm/math/Makefile.in: know about log1p and scalbn
12792
12793Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
12794
12795 * libc/ctype/isupper.c: revise doc;
12796 libc/ctype/ctype.tex: use doc from isupper.c
12797
12798 * libc/string/bzero.c: new doc
12799
12800Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
12801
12802 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
12803 new doc
12804 * libc/stdlib/Makefile.in: extract new doc
12805 * libc/stdlib/stdlib.tex: use new doc
12806
12807 * libc/string/strerror.c: expanded doc.
12808
12809 * libc/stdio/Makefile.in: extract doc from more files
12810 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
12811 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
12812 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
12813 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
12814 libc/stdio/vsprintf.c: new doc
12815 * libc/stdio/stdio.tex: use new doc
12816
12817Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
12818
12819 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
12820 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
12821 finitef functions.
12822 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
12823 time ago.
12824
12825 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
12826 * libc/stdio/setbuf.c: added ansi style definition.
12827 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
12828 buffer if none provided.
12829 * libc/stdio/tmpfile.c: lint
12830 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
12831 rather than using static, also make sure file isn't already
12832 present. Uses P_tmpdir. (tempnam): rewritten to use new
12833 subroutine, and uses P_tmpdir.
12834 * libc/stdio/siprintf.c: created
12835
12836Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
12837
12838 Release 1.03 for NEC, major mods. Main differences from release
12839 1.02::
12840
12841 More tests in test/:
12842 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
12843 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
12844 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
12845 get/set mask, get/set sticky and get/set roundtoi. Tests
12846 that setting the bits changes the way arithmetic is done.
12847 * string.c: added test to make sure memcmp does it with unsigned
12848 chars.
12849 * test.c: cleaned up and removed lint.
12850 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
12851 dvec.c: tests for string to value conversions, sprintf, scanf,
12852 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
12853 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
12854 rounding in sprintf too.
12855 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
12856 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
12857 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
12858 and function form.
12859 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
12860 powf
12861
12862 In the library:
12863 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
12864 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
12865 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
12866 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
12867 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
12868 than sprintf.
12869 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
12870 * Method of producting float versions of double functions has
12871 changed, functions will be modified gradually. So far:
12872 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
12873 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
12874 altered
12875 * libc/string/memcmp.c: now uses unsigned chars
12876 * libc/string/bcmp.c, libc/string/strcpy.c,
12877 libc/stsring/strxfrm.c: fixed doc
12878 * libc/sys/sysvnecv70.tex: fix example of sbrk code
12879\f
12880Local Variables:
12881version-control: never
12882End:
This page took 1.411206 seconds and 5 git commands to generate.