]> sourceware.org Git - newlib-cygwin.git/blob - newlib/ChangeLog
2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
[newlib-cygwin.git] / newlib / ChangeLog
1 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
2
3 * libc/include/sched.h: New file, just include sys/sched.h.
4 * libc/machine/spu/sys/sched.h: New file, has just sched_yield
5 prototype.
6 * libc/machine/spu/sys/utime.h: New file, has utime prototype and
7 struct utimbuf definition.
8
9 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
10
11 * libc/machine/spu/sys/dirent.h: New file, add prototypes and SPU
12 specific struct and typedef.
13
14 2007-09-18 Patrick Mansfield <patmans@us.ibm.com>
15
16 * libc/include/sys/types.h: Use __dev_t, __uid_t, and __gid_t to
17 typedef dev_t, gid_t, and uid_t.
18 * libc/include/sys/_types.h: Move previous dev_t, uid_t and gid_t
19 types.h code to here, but typedef __dev_t, __uid_t, and __gid_t instead.
20 Change to lower case for all __foo_t_defined names.
21 * libc/machine/spu/machine/_types.h: Add SPU specific __dev_t,
22 __uid_t, and __gid_t making them all four bytes. Change to lower case
23 for all __foo_t_defined names.
24
25 2007-09-18 Jeff Johnston <jjohnstn@redhat.com>
26
27 * libc/reent/renamer.c: New file.
28 * libc/reent/Makefile.am: Add new file.
29 * libc/reent/Makefile.in: Regenerated.
30 * libc/stdio/rename.c: Break out _rename_r code into reent/renamer.c
31 and add check for rename syscall.
32
33 2007-09-17 Eric Blake <ebb9@byu.net>
34
35 Obey POSIX on printf("%.s", (char*)NULL).
36 * libc/stdio/vfprintf.c (_VFPRINTF_R): Take precision into account
37 for %s on NULL. Skip NULL check when optimizing for size.
38
39 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
40
41 * libc/include/sys/_types.h: Protect all types with flag
42 checks to allow definition in machine/_types.h.
43
44 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
45
46 * libc/sys/linux/sys/_types.h: Add _fpos_t and _fpos64_t
47 definitions in light of the previous change.
48
49 2007-09-07 Patrick Mansfield <patmans@us.ibm.com>
50
51 * libc/include/machine/_default_types.h: New file, contains what
52 was previously in libc/include/machine/_types.h.
53 * libc/include/machine/_types.h: Now only includes
54 machine/_default_types.h.
55 * libc/include/sys/reent.h: Remove _fpos_t and _fpos64_t.
56 * libc/include/sys/_types.h: Move _fpos_t and _fpos64_t to here,
57 with conditional declarations.
58 * libc/machine/spu/machine/_types.h: New file, add SPU specific
59 typedefs for _fpos_t and _fpos64_t.
60
61 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
62
63 * libc/include/math.h (_M_LOG2E): Replace with..
64 (_M_LOG2_E): New macro.
65 (log2, log2f, M_LOG2_E): Use _M_LOG2_E.
66
67 2007-09-06 Brian Dessent <brian@dessent.net>
68
69 * libc/reent/getreent.c: Allow for case where __getreent is
70 defined as a macro.
71
72 2007-09-06 Jeff Johnston <jjohnstn@redhat.com>
73
74 * libc/include/math.h (_M_LOG2E): New log2 of e macro.
75 (log2): Use _M_LOG2E instead of M_LOG2E.
76 (log2f): Ditto.
77 (M_LOG2E): Define to be _M_LOG2E.
78
79 2007-09-04 Kazunori Asayama <asayama@sm.sony.co.jp>
80
81 * libm/math/wf_tgamma.c: Add missing include.
82
83 2007-08-31 Antony King <antony.king@st.com>
84
85 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS}: Define IEEE_Arith
86 bits and redefine associated dword0 macro (rvalue issue).
87 * libc/stdio/vfieeefp.h: Ditto.
88 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
89 to prevent setting dword1 which is an rvalue only.
90
91 2007-08-28 Hans Kester <hans.kester@ellips.nl>
92
93 * configure.host: Added support for x86_64.
94 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for x86_64.
95 * libc/include/machine/setjmp.h: Define _JBTYPE and _JBLEN for x86_64.
96 * libc/machine/x86_64/aclocal.m4: Generated.
97 * libc/machine/x86_64/configure.in: New.
98 * libc/machine/x86_64/configure: Generated.
99 * libc/machine/x86_64/Makefile.am: New.
100 * libc/machine/x86_64/Makefile.in: Generated.
101 * libc/machine/x86_64/setjmp.S: New.
102 * libc/machine/x86_64/memcpy.S: New.
103 * libc/machine/x86_64/memset.S: New.
104 * libc/machine/configure.in: Added support for x86_64.
105 * libc/machine/configure: Regenerated.
106
107 2007-08-24 Jeff Johnston <jjohnstn@redhat.com>
108
109 * libm/common/sf_lround.c (lroundf): Cast sizeof calculation
110 to int before comparing it to a signed int value.
111
112 2007-08-24 Hans-Peter Nilsson <hp@axis.com>
113
114 * libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
115 (EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP):
116 Define.
117
118 2007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
119
120 Reduce the memory consumption of variable argument functions
121 for SPU (cell):
122 * libc/machine/spu/Makefile.am: Replace printf/scanf family C sources
123 to assembler sources.
124 * libc/machine/spu/Makefile.in: Regenerated.
125 * libc/machine/spu/stdio.c: Add __check_init function wrapping
126 CHECK_INIT macro to use from assembler routines.
127 * libc/machine/spu/c99ppe.h: Add definitions for assembler code.
128 * libc/machine/spu/fiprintf.S: New file.
129 * libc/machine/spu/fiscanf.S: Ditto.
130 * libc/machine/spu/fprintf.S: Ditto.
131 * libc/machine/spu/fscanf.S: Ditto.
132 * libc/machine/spu/iprintf.S: Ditto.
133 * libc/machine/spu/iscanf.S: Ditto.
134 * libc/machine/spu/printf.S: Ditto.
135 * libc/machine/spu/scanf.S: Ditto.
136 * libc/machine/spu/siprintf.S: Ditto.
137 * libc/machine/spu/siscanf.S: Ditto.
138 * libc/machine/spu/sniprintf.S: Ditto.
139 * libc/machine/spu/snprintf.S: Ditto.
140 * libc/machine/spu/sprintf.S: Ditto.
141 * libc/machine/spu/sscanf.S: Ditto.
142 * libc/machine/spu/stack_reg_va.S: Ditto.
143 * libc/machine/spu/syscall.def: Ditto. (for maintenance)
144 * libc/machine/spu/mk_syscalls: Ditto. (for maintenance)
145 * libc/machine/spu/fiprintf.c: Removed. (Replaced by .S)
146 * libc/machine/spu/fiscanf.c: Ditto.
147 * libc/machine/spu/fprintf.c: Ditto.
148 * libc/machine/spu/fscanf.c: Ditto.
149 * libc/machine/spu/iprintf.c: Ditto.
150 * libc/machine/spu/iscanf.c: Ditto.
151 * libc/machine/spu/printf.c: Ditto.
152 * libc/machine/spu/scanf.c: Ditto.
153 * libc/machine/spu/siprintf.c: Ditto.
154 * libc/machine/spu/siscanf.c: Ditto.
155 * libc/machine/spu/sniprintf.c: Ditto.
156 * libc/machine/spu/snprintf.c: Ditto.
157 * libc/machine/spu/sprintf.c: Ditto.
158 * libc/machine/spu/sscanf.c: Ditto.
159
160 2007-08-03 Ralf Corsepius <ralf.corsepius@rtems.org>
161
162 * libc/include/tar.h: New.
163
164 2007-08-03 Jeff Johnston <jjohnstn@redhat.com>
165
166 * libc/sys/linux/intl/Makefile.am: Change stpcpy reference to
167 lcl_stpcpy to avoid conflict with new stpcpy.c in libc/string.
168 * libc/sys/linux/intl/Makefile.in: Regenerated.
169 * libc/sys/linux/intl/stpcpy.c: Renamed to...
170 * libc/sys/linux/intl/lcl_stpcpy.c: ..this.
171
172 2007-08-02 Eric Blake <ebb9@byu.net>
173
174 Implement fmemopen and open_memstream.
175 * libc/stdio/fmemopen.c (_fmemopen_r, fmemopen): New file.
176 * libc/stdio/open_memstream.c (_open_memstream_r, open_memstream):
177 New file.
178 * libc/stdio/fopencookie.c (fcwriter): Minor optimization.
179 * libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x
180 functions together.
181 (fmemopen, open_memstream): Declare new functions.
182 * libc/stdio/stdio.tex: Document them.
183 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Add
184 fmemopen and open_memstream.
185 * libc/stdio/Makefile.in: Regenerate.
186
187 2007-07-31 Eric Blake <ebb9@byu.net>
188
189 More POSIX stream corner cases.
190 * libc/stdio/findfp.c (__sinit): Open stderr read/write.
191 * libc/stdio/fdopen.c (_fdopen_r): Set O_APPEND on fd when
192 requested.
193 * libc/stdio64/fdopen64.c (_fdopen64_r): Likewise.
194
195 2007-07-18 Eric Blake <ebb9@byu.net>
196
197 Fix 'make info'.
198 * libc/stdio/stdio.tex: Add missing include.
199 * libc/stdio/vfprintf.c: Use expected node name.
200 * libc/stdio/vfscanf.c: Likewise.
201 * libc/stdio/sscanf.c: Likewise.
202 * libc/stdio/sprintf.c: Likewise.
203 * libc/stdio/siscanf.c: Likewise.
204 * libc/stdio/siprintf.c: Likewise.
205 * libc/stdio/fopencookie.c: Quote raw {}.
206 Reported by DJ Delorie.
207
208 2007-07-13 Eric Blake <ebb9@byu.net>
209
210 Fix fflush issues.
211 * libc/stdio/fflush.c (_fflush_r): New function.
212 (fflush): Fix reentrancy and large offset behavior.
213 * libc/include/stdio.h (_fflush_r): Add prototype.
214 * libc/stdio/fclose.c (_fclose_r): All fflush callers changed.
215 * libc/stdio/freopen.c (_freopen_r): Likewise.
216 * libc/stdio/fseek.c (_fseek_r): Likewise.
217 * libc/stdio/ftell.c (_ftell_r): Likewise.
218 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
219 * libc/stdio/refill.c (__srefill_r): Likewise.
220 * libc/stdio/setvbuf.c (setvbuf): Likewise.
221 * libc/stdio/ungetc.c (_ungetc_r): Likewise.
222 * libc/stdio/vfprintf.c (__sbprintf): Likewise.
223 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
224 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
225 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise. Defer to
226 32-bit version if not large file.
227 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
228 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.
229
230 Documentation updates.
231 * libc/stdio/ungetc.c: Document ungetc.
232 * libc/stdio/Makefile.am (CHEWOUT_FILES): Sort, match current list
233 of files with documentation.
234 * libc/stdio/Makefile.in: Regenerate.
235 * libc/stdio/stdio.tex: Sort and update stdio documentation index.
236
237 2007-07-11 Jeff Johnston <jjohnstn@redhat.com>
238
239 * libc/include/math.h: Fix so C99 functions/macros are accessible
240 when -std=c99 is used when compiling and not when using C89.
241
242 2007-07-06 Corinna Vinschen <corinna@vinschen.de>
243
244 * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul,
245 wcstoull, _wcstol_r, _wcstoll_r, _wcstoul_r and _wcstoull_r.
246 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstol.c and wcstoul.c.
247 (EXTENDED_SOURCES): Add wcstoll.c, wcstoll_r.c, wcstoull.c and
248 wcstoull_r.c.
249 (CHEWOUT_FILES): Add .def files accordingly.
250 * libc/stdlib/Makefile.in: Regenerate.
251 * libc/stdlib/stdlib.tex: Add documentation links for above functions.
252 * libc/stdlib/strtoll.c: Fix portability note.
253 * libc/stdlib/strtoull.c: Ditto.
254 * libc/stdlib/wcstol.c: New file.
255 * libc/stdlib/wcstoll.c: New file.
256 * libc/stdlib/wcstoll_r.c: New file.
257 * libc/stdlib/wcstoul.c: New file.
258 * libc/stdlib/wcstoull.c: New file.
259 * libc/stdlib/wcstoull_r.c: New file.
260
261 2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
262
263 * libc/include/sys/time.h (gettimeofday): Change to proper
264 prototype where second parameter is void *.
265 * libc/reent/gettimeofdayr.c (_gettimeofday_r): Change prototype
266 accordingly.
267 * libc/include/reent.h: Fix prototype for _gettimeofday_r.
268 * libc/sys/arm/syscalls.c: Fix gettimeofday function signature.
269 * libc/sys/rdos/gettod.c: Ditto.
270 * libc/sys/sh/syscalls.c: Ditto.
271 * libc/time/time.c (time): Change call to _gettimeofday_r
272 to pass NULL as 2nd argument.
273
274 2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
275
276 * libc/sys/linux/intl/dcigettext.c: Define HAVE_STPCPY.
277 * libc/sys/linux/intl/l10nflist.c: Ditto.
278
279 2007-07-04 Corinna Vinschen <corinna@vinschen.de>
280
281 * libc/include/wchar.h: Add prototype for wcsxfrm.
282 * libc/string/Makefile.am (GENERAL_SOURCES): Add wcsxfrm.c.
283 (CHEWOUT_FILES): Add wcsxfrm.def.
284 * libc/string/Makefile.in: Regenerate.
285 * libc/string/wcsxfrm.c: New file.
286 * libc/string/wcstrings.tex: Add wcsxfrm.
287
288 2007-06-28 Corinna Vinschen <corinna@vinschen.de>
289
290 * libc/include/string.h: Add prototypes for stpcpy and stpncpy.
291 * libc/string/Makefile.am (ELIX_SOURCES): Add stpcpy.c and
292 stpncpy.c.
293 (CHEWOUT_FILES): Add stpcpy.def and stpncpy.def.
294 * libc/string/Makefile.in: Regenerate.
295 * libc/string/stpcpy.c: New file.
296 * libc/string/stpncpy.c: New file.
297 * libc/string/strings.tex: Add stpcpy and stpncpy.
298
299 2007-06-27 Eric Blake <ebb9@byu.net>
300
301 Support __func__ in assert, as required by C99.
302 * libc/stdlib/assert.c (__assert_func): New function.
303 (__assert): Use __assert_func.
304 * libc/include/assert.h (assert) [!NDEBUG]: Use __assert_func when
305 possible.
306
307 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
308
309 * libc/machine/spu/perror.c: Pass errno as the second argument to
310 the assist call.
311
312 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
313
314 * libc/include/sys/unistd.h[__SPU__]: Add lockf prototype and related
315 defines; expose ftruncate, truncate and sync prototypes.
316
317 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
318
319 * libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible.
320 * libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes
321 visible.
322
323 2007-06-15 Patrick Mansfield <patmans@us.ibm.com>
324
325 * libc/machine/spu/Makefile.am: Remove mktemp.c, it was left in
326 from a dropped patch.
327 * libc/machine/spu/Makefile.in: Regenerate.
328
329 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
330
331 * libc/machine/spu/creat.c: New file copied from libc/posix/creat.c,
332 it just calls open with appropriate arguments.
333 * libc/machine/spu/Makefile.am: Add creat.c.
334 * libc/machine/spu/Makefile.in: Regenerate.
335
336 2007-06-13 Jeff Johnston <jjohnstn@redhat.com>
337
338 * libc/machine/spu/Makefile.am: Re-add back setjmp.S which
339 I accidentally dropped.
340 * libc/machine/spu/Makefile.in: Regenerated.
341
342 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
343
344 * libc/include/sys/features.h: Define _POSIX_TIMERS for spu.
345 * libc/include/sys/unistd.h: Change usleep prototype to Posix
346 form and move outside of OS flag checks.
347 * libc/machine/spu/Makefile.am: Add sleep and usleep.
348 * libc/machine/spu/Makefile.in: Regenerate.
349 * libc/machine/spu/sleep.c: Copy libc/posix/sleep.c.
350 * libc/machine/spu/usleep.c: Copy libc/posix/usleep.c.
351
352 2007-06-11 Corinna Vinschen <corinna@vinschen.de>
353
354 * libc/include/sys/unistd.h: Declare confstr for Cygwin.
355 Define confstr constants for Cygwin. Add comment.
356
357 2007-06-10 Hans-Peter Nilsson <hp@bitrange.com>
358
359 * libc/sys/mmixware/access.c (access): Do not try to use a magic
360 file-handle and a direct syscall, just use _open.
361 * libc/sys/mmixware/sys/syscall.h (TMPFNO): Remove this magic
362 file-handle.
363
364 * libc/sys/mmixware/_exit.c (_exit): Update comment about
365 passing on the exit value.
366
367 2007-06-08 Jeff Johnston <jjohnstn@redhat.com>
368
369 * libc/string/strcasestr.c: New file.
370 * libc/include/string.h: Add strcasestr.
371 * libc/string/strings.tex: Add strcasestr.
372 * libc/string/Makefile.am: Ditto.
373 * libc/string/Makefile.in: Regenerated.
374
375 2007-06-06 Christian Groessler <chris@groessler.org>
376
377 * libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
378 rnd is done after the last local variable declaration.
379
380 2007-06-06 Jeff Johnston <jjohnstn@redhat.com>
381
382 * libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.
383
384 2007-06-05 Christian Groessler <chris@groessler.org>
385
386 * libc/argz/argz_insert.c (argz_insert): Move delta variable
387 declaration to top of function in keeping with C89 standard.
388
389 2007-06-04 Eric Blake <ebb9@byu.net>
390
391 Implement funopen, fopencookie.
392 * libc/include/sys/reent.h (struct __sFILE, struct __sFILE64):
393 Switch to reentrant callbacks.
394 * libc/include/stdio.h (funopen): Fix declaration.
395 (fopencookie): Declare.
396 * libc/stdio/local.h (__sread, __swrite, __sseek, __sclose)
397 (__sseek64, __swrite64): Fix prototypes.
398 [__SCLE]: Pull in setmode declaration.
399 * libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix
400 reentrancy.
401 * libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete.
402 (__sseek64, __swrite64): Fix reentrancy.
403 * libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
404 reentrancy.
405 * libc/stdio/ftell.c (_ftell_r): Likewise.
406 * libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+".
407 * libc/stdio/fclose.c (_fclose_r): Fix reentrancy.
408 * libc/stdio/freopen.c (_freopen_r): Likewise.
409 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
410 * libc/stdio/refill.c (__srefill_r): Likewise.
411 * libc/stdio/siscanf.c (eofread): Likewise.
412 * libc/stdio/sscanf.c (eofread): Likewise.
413 * libc/stdio/vsiscanf.c (eofread1): Likewise.
414 * libc/stdio/vsscanf.c (eofread1): Likewise.
415 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
416 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
417 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
418 * libc/stdio/fflush.c (fflush): Improve reentrancy, although more
419 could be fixed.
420 * libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file.
421 * libc/stdio/funopen.c (_funopen_r, funopen): New file.
422 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build
423 new files.
424 * libc/stdio/Makefile.in: Regenerate.
425
426 2007-05-29 Eric Blake <ebb9@byu.net>
427
428 Avoid more compiler warnings.
429 * libc/stdlib/btowc.c: Add missing header.
430 * libc/stdlib/getopt.c (getopt_internal): Initialize variable.
431 * libc/stdlib/system.c (do_system) [__CYGWIN__]: Add declaration.
432 * libc/stdlib/wctob.c: Add missing header.
433 * libc/string/strcpy.c (strcpy): Avoid warnings.
434 * libc/string/strrchr.c (strrchr): Likewise.
435
436 2007-05-29 Corinna Vinschen <corinna@vinschen.de>
437
438 * libc/argz/argz_add_sep.c (argz_add_sep): Handle empty string
439 argument.
440 * libc/argz/argz_append.c (argz_append): Handle empty buf argument.
441 * libc/argz/argz_create_sep.c (argz_create_sep): Return (NULL, 0)
442 on empty input strings.
443 * libc/argz/argz_extract.c (argz_extract): Check argz_len before
444 looping through argz.
445 * libc/argz/argz_stringify.c (argz_stringify): Ditto.
446
447 2007-05-27 Brian Dessent <brian@dessent.net>
448
449 * libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
450 handling %p.
451
452 2007-05-25 Eric Blake <ebb9@byu.net>
453
454 * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
455
456 2007-05-24 Steve Ellcey <sje@cup.hp.com>
457 Charles Wilson <libtool@cwilson.fastmail.fm>
458
459 * libtool.m4: removed
460 * configure.in: invoke _LD_DECL_SED before conditionally initializing
461 libtool. Move AC_PROG_AWK outside conditional.
462 * libc/sys/linux/configure.in: Ditto.
463 * libc/sys/linux/linuxthreads/configure.in: Ditto.
464 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
465 * libc/sys/linux/machine/i386/configure.in: Ditto.
466
467 * iconvdata/configure.in: invoke _LD_DECL_SED before conditionally
468 initializing libtool.
469 * libc/configure.in: Ditto.
470 * libc/machine/configure.in: Ditto.
471 * libc/machine/i386/configure.in: Ditto.
472 * libc/sys/configure.in: Ditto.
473 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
474 * libc/sys/linux/machine/configure.in: Ditto.
475 * libm/configure.in: Ditto.
476 * libm/machine/configure.in: Ditto.
477
478 * Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
479 * doc/Makefile.am: Ditto.
480 * iconvdata/Makefile.am: Ditto.
481 * libc/Makefile.am: Ditto.
482 * libc/machine/Makefile.am: Ditto.
483 * libc/machine/a29k/Makefile.am: Ditto.
484 * libc/machine/arm/Makefile.am: Ditto.
485 * libc/machine/bfin/Makefile.am: Ditto.
486 * libc/machine/cris/Makefile.am: Ditto.
487 * libc/machine/crx/Makefile.am: Ditto.
488 * libc/machine/d10v/Makefile.am: Ditto.
489 * libc/machine/d30v/Makefile.am: Ditto.
490 * libc/machine/fr30/Makefile.am: Ditto.
491 * libc/machine/frv/Makefile.am: Ditto.
492 * libc/machine/h8300/Makefile.am: Ditto.
493 * libc/machine/h8500/Makefile.am: Ditto.
494 * libc/machine/hppa/Makefile.am: Ditto.
495 * libc/machine/i386/Makefile.am: Ditto.
496 * libc/machine/i960/Makefile.am: Ditto.
497 * libc/machine/iq2000/Makefile.am: Ditto.
498 * libc/machine/m32c/Makefile.am: Ditto.
499 * libc/machine/m32r/Makefile.am: Ditto.
500 * libc/machine/m68hc11/Makefile.am: Ditto.
501 * libc/machine/m68k/Makefile.am: Ditto.
502 * libc/machine/m88k/Makefile.am: Ditto.
503 * libc/machine/mips/Makefile.am: Ditto.
504 * libc/machine/mn10200/Makefile.am: Ditto.
505 * libc/machine/mn10300/Makefile.am: Ditto.
506 * libc/machine/mt/Makefile.am: Ditto.
507 * libc/machine/necv70/Makefile.am: Ditto.
508 * libc/machine/powerpc/Makefile.am: Ditto.
509 * libc/machine/sh/Makefile.am: Ditto.
510 * libc/machine/sparc/Makefile.am: Ditto.
511 * libc/machine/spu/Makefile.am: Ditto.
512 * libc/machine/tic4x/Makefile.am: Ditto.
513 * libc/machine/tic80/Makefile.am: Ditto.
514 * libc/machine/v850/Makefile.am: Ditto.
515 * libc/machine/w65/Makefile.am: Ditto.
516 * libc/machine/xscale/Makefile.am: Ditto.
517 * libc/machine/xstormy16/Makefile.am: Ditto.
518 * libc/machine/z8k/Makefile.am: Ditto.
519 * libc/sys/Makefile.am: Ditto.
520 * libc/sys/a29khif/Makefile.am: Ditto.
521 * libc/sys/arc/Makefile.am: Ditto.
522 * libc/sys/arm/Makefile.am: Ditto.
523 * libc/sys/d10v/Makefile.am: Ditto.
524 * libc/sys/decstation/Makefile.am: Ditto.
525 * libc/sys/h8300hms/Makefile.am: Ditto.
526 * libc/sys/h8500hms/Makefile.am: Ditto.
527 * libc/sys/linux/Makefile.am: Ditto.
528 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
529 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
530 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
531 * libc/sys/linux/machine/Makefile.am: Ditto.
532 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
533 * libc/sys/m88kbug/Makefile.am: Ditto.
534 * libc/sys/mmixware/Makefile.am: Ditto.
535 * libc/sys/netware/Makefile.am: Ditto.
536 * libc/sys/rdos/Makefile.am: Ditto.
537 * libc/sys/rtems/Makefile.am: Ditto.
538 * libc/sys/sh/Makefile.am: Ditto.
539 * libc/sys/sparc64/Makefile.am: Ditto.
540 * libc/sys/sun4/Makefile.am: Ditto.
541 * libc/sys/sysmec/Makefile.am: Ditto.
542 * libc/sys/sysnec810/Makefile.am: Ditto.
543 * libc/sys/sysnecv850/Makefile.am: Ditto.
544 * libc/sys/sysvi386/Makefile.am: Ditto.
545 * libc/sys/sysvnecv70/Makefile.am: Ditto.
546 * libc/sys/tic80/Makefile.am: Ditto.
547 * libc/sys/w65/Makefile.am: Ditto.
548 * libc/sys/z8ksim/Makefile.am: Ditto.
549 * libm/Makefile.am: Ditto.
550 * libm/machine/Makefile.am: Ditto.
551 * libm/machine/i386/Makefile.am: Ditto.
552 * libm/machine/spu/Makefile.am: Ditto.
553
554 * aclocal.m4: Regenerate.
555 * iconvdata/aclocal.m4: Regenerate.
556 * libc/aclocal.m4: Regenerate.
557 * libc/machine/aclocal.m4: Regenerate.
558 * libc/machine/i386/aclocal.m4: Regenerate.
559 * libc/sys/aclocal.m4: Regenerate.
560 * libc/sys/linux/aclocal.m4: Regenerate.
561 * libc/sys/linux/linuxthreads/aclocal.m4: Regenerate.
562 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Regenerate.
563 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Regenerate.
564 * libc/sys/linux/machine/aclocal.m4: Regenerate.
565 * libc/sys/linux/machine/i386/aclocal.m4: Regenerate.
566 * libm/aclocal.m4: Regenerate.
567 * libm/machine/aclocal.m4: Regenerate.
568 * libm/machine/i386/aclocal.m4: Regenerate.
569
570 * Makefile.in: Regenerate.
571 * doc/Makefile.in: Regenerate.
572 * iconvdata/Makefile.in: Regenerate.
573 * libc/Makefile.in: Regenerate.
574 * libc/argz/Makefile.in: Regenerate.
575 * libc/ctype/Makefile.in: Regenerate.
576 * libc/errno/Makefile.in: Regenerate.
577 * libc/iconv/Makefile.in: Regenerate.
578 * libc/iconv/ccs/Makefile.in: Regenerate.
579 * libc/iconv/ccs/binary/Makefile.in: Regenerate.
580 * libc/iconv/ces/Makefile.in: Regenerate.
581 * libc/iconv/lib/Makefile.in: Regenerate.
582 * libc/locale/Makefile.in: Regenerate.
583 * libc/machine/Makefile.in: Regenerate.
584 * libc/machine/a29k/Makefile.in: Regenerate.
585 * libc/machine/arm/Makefile.in: Regenerate.
586 * libc/machine/bfin/Makefile.in: Regenerate.
587 * libc/machine/cris/Makefile.in: Regenerate.
588 * libc/machine/crx/Makefile.in: Regenerate.
589 * libc/machine/d10v/Makefile.in: Regenerate.
590 * libc/machine/d30v/Makefile.in: Regenerate.
591 * libc/machine/fr30/Makefile.in: Regenerate.
592 * libc/machine/frv/Makefile.in: Regenerate.
593 * libc/machine/h8300/Makefile.in: Regenerate.
594 * libc/machine/h8500/Makefile.in: Regenerate.
595 * libc/machine/hppa/Makefile.in: Regenerate.
596 * libc/machine/i386/Makefile.in: Regenerate.
597 * libc/machine/i960/Makefile.in: Regenerate.
598 * libc/machine/iq2000/Makefile.in: Regenerate.
599 * libc/machine/m32c/Makefile.in: Regenerate.
600 * libc/machine/m32r/Makefile.in: Regenerate.
601 * libc/machine/m68hc11/Makefile.in: Regenerate.
602 * libc/machine/m68k/Makefile.in: Regenerate.
603 * libc/machine/m88k/Makefile.in: Regenerate.
604 * libc/machine/mips/Makefile.in: Regenerate.
605 * libc/machine/mn10200/Makefile.in: Regenerate.
606 * libc/machine/mn10300/Makefile.in: Regenerate.
607 * libc/machine/mt/Makefile.in: Regenerate.
608 * libc/machine/necv70/Makefile.in: Regenerate.
609 * libc/machine/powerpc/Makefile.in: Regenerate.
610 * libc/machine/sh/Makefile.in: Regenerate.
611 * libc/machine/sparc/Makefile.in: Regenerate.
612 * libc/machine/spu/Makefile.in: Regenerate.
613 * libc/machine/tic4x/Makefile.in: Regenerate.
614 * libc/machine/tic80/Makefile.in: Regenerate.
615 * libc/machine/v850/Makefile.in: Regenerate.
616 * libc/machine/w65/Makefile.in: Regenerate.
617 * libc/machine/xscale/Makefile.in: Regenerate.
618 * libc/machine/xstormy16/Makefile.in: Regenerate.
619 * libc/machine/z8k/Makefile.in: Regenerate.
620 * libc/misc/Makefile.in: Regenerate.
621 * libc/posix/Makefile.in: Regenerate.
622 * libc/reent/Makefile.in: Regenerate.
623 * libc/search/Makefile.in: Regenerate.
624 * libc/signal/Makefile.in: Regenerate.
625 * libc/stdio/Makefile.in: Regenerate.
626 * libc/stdio64/Makefile.in: Regenerate.
627 * libc/stdlib/Makefile.in: Regenerate.
628 * libc/string/Makefile.in: Regenerate.
629 * libc/sys/Makefile.in: Regenerate.
630 * libc/sys/a29khif/Makefile.in: Regenerate.
631 * libc/sys/arc/Makefile.in: Regenerate.
632 * libc/sys/arm/Makefile.in: Regenerate.
633 * libc/sys/d10v/Makefile.in: Regenerate.
634 * libc/sys/decstation/Makefile.in: Regenerate.
635 * libc/sys/h8300hms/Makefile.in: Regenerate.
636 * libc/sys/h8500hms/Makefile.in: Regenerate.
637 * libc/sys/linux/Makefile.in: Regenerate.
638 * libc/sys/linux/argp/Makefile.in: Regenerate.
639 * libc/sys/linux/cmath/Makefile.in: Regenerate.
640 * libc/sys/linux/dl/Makefile.in: Regenerate.
641 * libc/sys/linux/iconv/Makefile.in: Regenerate.
642 * libc/sys/linux/intl/Makefile.in: Regenerate.
643 * libc/sys/linux/linuxthreads/Makefile.in: Regenerate.
644 * libc/sys/linux/linuxthreads/machine/Makefile.in: Regenerate.
645 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerate.
646 * libc/sys/linux/machine/Makefile.in: Regenerate.
647 * libc/sys/linux/machine/i386/Makefile.in: Regenerate.
648 * libc/sys/linux/net/Makefile.in: Regenerate.
649 * libc/sys/linux/stdlib/Makefile.in: Regenerate.
650 * libc/sys/m88kbug/Makefile.in: Regenerate.
651 * libc/sys/mmixware/Makefile.in: Regenerate.
652 * libc/sys/netware/Makefile.in: Regenerate.
653 * libc/sys/rdos/Makefile.in: Regenerate.
654 * libc/sys/rtems/Makefile.in: Regenerate.
655 * libc/sys/sh/Makefile.in: Regenerate.
656 * libc/sys/sparc64/Makefile.in: Regenerate.
657 * libc/sys/sun4/Makefile.in: Regenerate.
658 * libc/sys/sysmec/Makefile.in: Regenerate.
659 * libc/sys/sysnec810/Makefile.in: Regenerate.
660 * libc/sys/sysnecv850/Makefile.in: Regenerate.
661 * libc/sys/sysvi386/Makefile.in: Regenerate.
662 * libc/sys/sysvnecv70/Makefile.in: Regenerate.
663 * libc/sys/tic80/Makefile.in: Regenerate.
664 * libc/sys/w65/Makefile.in: Regenerate.
665 * libc/sys/z8ksim/Makefile.in: Regenerate.
666 * libc/syscalls/Makefile.in: Regenerate.
667 * libc/time/Makefile.in: Regenerate.
668 * libc/unix/Makefile.in: Regenerate.
669 * libm/Makefile.in: Regenerate.
670 * libm/common/Makefile.in: Regenerate.
671 * libm/machine/Makefile.in: Regenerate.
672 * libm/machine/i386/Makefile.in: Regenerate.
673 * libm/machine/spu/Makefile.in: Regenerate.
674 * libm/math/Makefile.in: Regenerate.
675 * libm/mathfp/Makefile.in: Regenerate.
676
677 * configure: Regenerate.
678 * iconvdata/configure: Regenerate.
679 * libc/configure: Regenerate.
680 * libc/machine/configure: Regenerate.
681 * libc/machine/i386/configure: Regenerate.
682 * libc/sys/configure: Regenerate.
683 * libc/sys/linux/configure: Regenerate.
684 * libc/sys/linux/linuxthreads/configure: Regenerate.
685 * libc/sys/linux/linuxthreads/machine/configure: Regenerate.
686 * libc/sys/linux/linuxthreads/machine/i386/configure: Regenerate.
687 * libc/sys/linux/machine/configure: Regenerate.
688 * libc/sys/linux/machine/i386/configure: Regenerate.
689 * libm/configure: Regenerate.
690 * libm/machine/configure: Regenerate.
691 * libm/machine/i386/configure: Regenerate.
692
693 2007-05-23 Eric Blake <ebb9@byu.net>
694
695 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
696 sizeof(void*) is 8 but sizeof(long) is 4.
697 * libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise. Fix %i scanning
698 of "-0x". Support "-nan" and "inf" for %e. Audit usage of ungetc
699 to fix reentrancy and bug on encoding error in multibyte locales.
700 Always return EOF on read error.
701
702 2007-05-23 Patrick Mansfield <patmans@us.ibm.com>
703
704 * libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
705 prototype.
706 * libc/machine/spu/fclose.c: Use the __send_to_ppe return value
707 instead of the slot 0 value, remove any now unused variables, and
708 for some cases, now store the result in an int vs int*.
709 * libc/machine/spu/feof.c: Ditto.
710 * libc/machine/spu/ferror.c: Ditto.
711 * libc/machine/spu/fflush.c: Ditto.
712 * libc/machine/spu/fgetc.c: Ditto.
713 * libc/machine/spu/fgetpos.c: Ditto.
714 * libc/machine/spu/fgets.c: Ditto.
715 * libc/machine/spu/fileno.c: Ditto.
716 * libc/machine/spu/fopen.c: Ditto.
717 * libc/machine/spu/fprintf.c: Ditto.
718 * libc/machine/spu/fputc.c: Ditto.
719 * libc/machine/spu/fputs.c: Ditto.
720 * libc/machine/spu/fread.c: Ditto.
721 * libc/machine/spu/freopen.c: Ditto.
722 * libc/machine/spu/fscanf.c: Ditto.
723 * libc/machine/spu/fseek.c: Ditto.
724 * libc/machine/spu/fsetpos.c: Ditto.
725 * libc/machine/spu/ftell.c: Ditto.
726 * libc/machine/spu/fwrite.c: Ditto.
727 * libc/machine/spu/getc.c: Ditto.
728 * libc/machine/spu/getchar.c: Ditto.
729 * libc/machine/spu/gets.c: Ditto.
730 * libc/machine/spu/printf.c: Ditto.
731 * libc/machine/spu/putc.c: Ditto.
732 * libc/machine/spu/putchar.c: Ditto.
733 * libc/machine/spu/puts.c: Ditto.
734 * libc/machine/spu/remove.c: Ditto.
735 * libc/machine/spu/rename.c: Ditto.
736 * libc/machine/spu/scanf.c: Ditto.
737 * libc/machine/spu/setvbuf.c: Ditto.
738 * libc/machine/spu/snprintf.c: Ditto.
739 * libc/machine/spu/sprintf.c: Ditto.
740 * libc/machine/spu/sscanf.c: Ditto.
741 * libc/machine/spu/tmpfile.c: Ditto.
742 * libc/machine/spu/tmpnam.c: Ditto.
743 * libc/machine/spu/ungetc.c: Ditto.
744 * libc/machine/spu/vfprintf.c: Ditto.
745 * libc/machine/spu/vfscanf.c: Ditto.
746 * libc/machine/spu/vprintf.c: Ditto.
747 * libc/machine/spu/vscanf.c: Ditto.
748 * libc/machine/spu/vsnprintf.c: Ditto.
749 * libc/machine/spu/vsprintf.c: Ditto.
750 * libc/machine/spu/vsscanf.c: Ditto.
751
752 2007-05-23 Eric Blake <ebb9@byu.net>
753
754 * libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
755 Avoid warning when !FLOATING_POINT.
756 * libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS
757 slightly.
758
759 2007-05-23 Corinna Vinschen <vinschen@redhat.com>
760
761 * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
762 to zero.
763 * libc/include/argz.h: Guard against multiple inclusion. Guard for
764 use with C++.
765
766 2007-05-18 Eric Blake <ebb9@byu.net>
767
768 * libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
769 compilers.
770 * libc/stdio/vfscanf.c: Likewise.
771
772 2007-05-17 Cary R. <cygcary <at> yahoo.com>
773
774 * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
775 (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
776 * libm/math/wf_atan2.c: Ditto.
777
778 2007-05-17 Yaakov Selkowitz <yselkowitz <at> users.sourceforge.net>
779
780 * libm/common/Makefile.am: Add support for exp10, exp10f,
781 pow10, and pow10f functions.
782 * libm/common/Makefile.in: Regenerated.
783 * libm/common/s_pow10.c: New file.
784 * libm/common/sf_pow10.c: Ditto.
785 * libm/common/s_exp10.c: Ditto.
786 * libm/common/sf_exp10.c: Ditto.
787 * libc/include/math.h [!pow10]: New pow10 prototype.
788 [!pow10f]: New pow10f prototype.
789 [!exp10]: New exp10 prototype.
790 [!exp10f]: New exp10f prototype.
791
792 2007-05-17 Charles Wilson <cygwin@...>
793
794 * stdio/tmpfile.c: Include <sys/stat.h>.
795 * stdio64/tmpfile64.c: Ditto.
796
797 2007-05-16 Eric Blake <ebb9@byu.net>
798
799 Close security hole in tmpfile.
800 * libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
801 generation and opening the fd.
802 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.
803
804 * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
805 (MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
806 required by POSIX.
807 * libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
808 avoid clash with <math.h>.
809
810 * libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
811 * libc/search/hash.c (__hash_open): Likewise.
812
813 2007-05-14 Eric Blake <ebb9@byu.net>
814
815 Reduce stack size of *printf.
816 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
817 in %f. Avoid malloc when possible for %S.
818 (BUF): Improve stack locality by using smaller size.
819 (MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
820 (exponent): Use smaller stack size.
821
822 2007-05-11 Eric Blake <ebb9@byu.net>
823
824 Minimize printf/scanf size on platforms that don't need C99.
825 * acconfig.h (_WANT_IO_C99_FORMATS): New macro.
826 * newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
827 * configure.in (newlib-io-c99-formats): New configure option.
828 (_WANT_IO_C99_FORMATS): Define appropriately.
829 * configure.host (*-linux*, cygwin): Default c99-formats to yes.
830 * libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
831 Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
832 * libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
833 Likewise.
834 * configure: Regenerate.
835
836 * libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
837 (get_arg): Support '%a' and '%A'.
838
839 2007-05-09 Eric Blake <ebb9@byu.net>
840
841 Allow zero size with non-null buf in *asnprintf.
842 * libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
843 user's buf.
844 * libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
845 * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
846 * libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.
847
848 2007-05-07 Charles Wilson <cygwin@...>
849
850 * libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
851
852 2007-05-03 Eric Blake <ebb9@byu.net>
853
854 Add support for asnprintf, and improve *printf documentation.
855 * libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
856 (ELIX_2_SOURCES): ...to this.
857 (ELIX_4_SOURCES): Add new variable. Build asnprintf.
858 (GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
859 (CHEWOUT_FILES): Include diprintf in documentation.
860 * libc/stdio/Makefile.in: Regenerate.
861 * libc/stdio/diprintf.c: Improve documentation.
862 * libc/stdio/dprintf.c: Likewise.
863 * libc/stdio/siprintf.c: Likewise.
864 * libc/stdio/sprintf.c: Likewise.
865 * libc/stdio/vfprintf.c: Likewise.
866 * libc/stdio/viprintf.c: Likewise.
867 * libc/stdio/vsniprintf.c: Consolidate documentation.
868 * libc/stdio/asiprintf.c: Refer to documentation.
869 * libc/stdio/asprintf.c: Likewise.
870 * libc/stdio/fiprintf.c: Likewise.
871 * libc/stdio/fprintf.c: Likewise.
872 * libc/stdio/iprintf.c: Likewise.
873 * libc/stdio/printf.c: Likewise.
874 * libc/stdio/sniprintf.c: Likewise.
875 * libc/stdio/vdiprintf.c: Likewise.
876 * libc/stdio/vdprintf.c: Likewise.
877 * libc/stdio/vsiprintf.c: Likewise.
878 * libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
879 * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
880 * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
881 * libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
882 file.
883 * libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
884 * libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
885 typical case.
886 * libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
887 * libc/include/stdio.h: Add prototypes for new functions; sort
888 existing functions.
889
890 2007-05-03 Kazu Hirata <kazu@codesourcery.com>
891
892 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
893 and memset.S.
894 * libc/machine/m68k/Makefile.in: Regenerate.
895 * libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
896 * libc/machine/m68k/memset.S: Likewise.
897
898 2007-05-01 Eric Blake <ebb9@byu.net>
899
900 * libc/stdio64/local64.h: Delete, move contents to...
901 * libc/stdio/local.h: ...here.
902 * libc/stdio64/fdopen64.c: Update includes.
903 * libc/stdio64/fopen64.c: Likewise.
904 * libc/stdio64/freopen64.c: Likewise.
905 * libc/stdio64/fseeko64.c: Likewise.
906 * libc/stdio64/ftello64.c: Likewise.
907 * libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
908 and stderr with 64-bit offset.
909 * libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
910 * libc/stdio/makebuf.c (__smakebuf_r): Likewise.
911 * libc/stdio/mktemp.c (_gettemp): Likewise.
912
913 2007-05-01 Cary R. <cygcary <at> yahoo.com>
914
915 * libm/math/e_pow.c: Fix to be consistent with glibc with regards
916 to treatment of NaN and +-inf arguments.
917 * libm/math/ef_pow.c: Ditto.
918 * libm/math/w_pow.c: Ditto.
919 * libm/math/wf_pow.c: Ditto.
920 * libm/math/w_acos.c: Fix domain errors to return NaN.
921 * libm/math/w_asin.c: Ditto.
922 * libm/math/wf_acos.c: Ditto.
923 * libm/math/wf_asin.c: Ditto.
924 * libm/math/w_log.c: Fix to return NaN for negative number inputs.
925 * libm/math/wf_log.c: Ditto.
926 * libm/math/wf_log10.c: Ditto.
927 * libm/math/w_log10.c: Ditto.
928
929 2007-04-27 Jeff Johnston <jjohnstn@redhat.com>
930
931 * libc/machine/m68k/Makefile.am: Temporarily remove
932 memcpy.S and memset.S until logic can be confirmed for
933 !(__mcoldfile__) case.
934 * libc/machine/m68k/Makefile.in: Regenerated.
935
936 2007-04-27 Kazu Hirata <kazu@codesourcery.com>
937
938 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
939 and memset.S.
940 * libc/machine/m68k/Makefile.in: Regenerate.
941 * libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.
942
943 2007-04-26 Patrick Mansfield <patmans@us.ibm.com>
944
945 * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
946 overridden via machine/ieeefp.h.
947 * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
948 macros for isnan and related macros.
949 * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
950 overridden via machine/ieeefp.h.
951 * libm/machine/spu/Makefile.am: Add new files.
952 * libm/machine/spu/Makefile.in: Autogenerate with new files.
953 * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
954 * libm/machine/spu/sf_finite.c: Add SPU specific finitef.
955 * libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
956 * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
957 * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
958 * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
959 * libm/machine/spu/sf_nan.c: Add SPU specific nanf.
960
961 2007-04-25 Jeff Johnston <jjohnstn@redhat.com>
962
963 * libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
964 * libm/common/sf_fpclassify.c: ...here. New file.
965 * libm/common/Makefile.am: Add sf_fpclassify.c.
966 * libm/common/Makefile.in: Regenerated.
967
968 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
969
970 * libc/machine/spu/sys/errno.h: New file, so spu errno values match
971 ppu linux values. This file is a copy of the cris/sys/errno.h plus
972 a few changes (see spu errno.h comments).
973
974 2007-04-25 Eric Blake <ebb9@byu.net>
975
976 * libc/stdio/vfprintf.c (get_arg): Support %1$lc. Simplify types
977 that promote to int.
978
979 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
980
981 * libm/machine/spu/headers/feholdexcept.h: Use *envp not env so
982 we clear the proper bits in the fpscr, and don't set some random ones.
983
984 2007-04-24 Eric Blake <ebb9@byu.net>
985
986 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
987 or NaN with %05f.
988
989 * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
990 _MB_CAPABLE.
991
992 * libc/include/limits.h (NL_ARGMAX): Define a default value.
993 * libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
994 NL_ARGMAX, if present.
995
996 2007-04-23 Brian Dessent <brian@dessent.net>
997
998 * libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
999 has been specified with types 'f', 'F', 'g', or 'G', ensure the
1000 trailing decimal is printed.
1001
1002 2007-04-23 Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
1003
1004 * confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
1005 file. Override Autoconf-2.59's version of these macros with
1006 fixed handling of multiple adjacent whitespace in arguments.
1007 * aclocal.m4: Regenerated forcefully.
1008 * configure: Ditto.
1009 * Makefile.in: Ditto.
1010 * libc/*Makefile.in: Ditto.
1011 * libc/*aclocal.m4: Ditto.
1012 * libc/*configure: Ditto.
1013 * libm/*Makefile.in: Ditto.
1014 * libm/*aclocal.m4: Ditto.
1015 * libm/*configure: Ditto.
1016
1017 2007-04-23 Jeff Johnston <jjohnstn@redhat.com>
1018
1019 * libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
1020 * libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
1021 and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
1022 * libc/sys/arc/Makefile.in: Regenerated.
1023
1024 2007-04-17 Brian Dessent <brian@dessent.net>
1025
1026 * libc/stdio/sscanf.c: Update documentation comments.
1027 * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
1028
1029 2007-04-12 Eric Blake <ebb9@byu.net>
1030
1031 * libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
1032 (chclass): Recognize 'F', 'X', 'n', and not 'W'.
1033 (get_arg): Handle %1$F, %1$n.
1034
1035 2007-04-10 Eric Blake <ebb9@byu.net>
1036
1037 * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
1038 CFLAGS=-O0.
1039
1040 2007-04-09 Eric Blake <ebb9@byu.net>
1041
1042 * libc/include/stdio.h: Add gcc format attributes to printf and
1043 scanf families.
1044
1045 2007-04-09 Joel Schopp <jschopp@austin.ibm.com>
1046
1047 * libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
1048 even if the passed in length n is shorter than the source string.
1049 This matches both the non-spu specific and the glibc strxfrm
1050 behaviour.
1051
1052 2007-04-04 Mark Mitchell <mark@codesourcery.com>
1053
1054 * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
1055 functions registering additional atexit functions.
1056
1057 * testsuite/lib/flags.exp (newlib_include_flags): Drop
1058 -I${newlib_dir}.
1059
1060 2007-04-04 Patrick Mansfield <patmans@us.ibm.com>
1061
1062 * libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
1063 prototype.
1064 * libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
1065 * libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
1066 * libc/machine/spu/fclose.c: Ditto.
1067 * libc/machine/spu/feof.c: Ditto.
1068 * libc/machine/spu/ferror.c: Ditto.
1069 * libc/machine/spu/fflush.c: Ditto.
1070 * libc/machine/spu/fgetc.c: Ditto.
1071 * libc/machine/spu/fgetpos.c: Ditto.
1072 * libc/machine/spu/fgets.c: Ditto.
1073 * libc/machine/spu/fileno.c: Ditto.
1074 * libc/machine/spu/fopen.c: Ditto.
1075 * libc/machine/spu/fprintf.c: Ditto.
1076 * libc/machine/spu/fputc.c: Ditto.
1077 * libc/machine/spu/fputs.c: Ditto.
1078 * libc/machine/spu/fread.c: Ditto.
1079 * libc/machine/spu/freopen.c: Ditto.
1080 * libc/machine/spu/fscanf.c: Ditto.
1081 * libc/machine/spu/fseek.c: Ditto.
1082 * libc/machine/spu/fsetpos.c: Ditto.
1083 * libc/machine/spu/ftell.c: Ditto.
1084 * libc/machine/spu/fwrite.c: Ditto.
1085 * libc/machine/spu/getc.c: Ditto.
1086 * libc/machine/spu/getchar.c: Ditto.
1087 * libc/machine/spu/gets.c: Ditto.
1088 * libc/machine/spu/perror.c: Ditto.
1089 * libc/machine/spu/printf.c: Ditto.
1090 * libc/machine/spu/putc.c: Ditto.
1091 * libc/machine/spu/putchar.c: Ditto.
1092 * libc/machine/spu/puts.c: Ditto.
1093 * libc/machine/spu/remove.c: Ditto.
1094 * libc/machine/spu/rename.c: Ditto.
1095 * libc/machine/spu/rewind.c: Ditto.
1096 * libc/machine/spu/scanf.c: Ditto.
1097 * libc/machine/spu/setbuf.c: Ditto.
1098 * libc/machine/spu/setvbuf.c: Ditto.
1099 * libc/machine/spu/snprintf.c: Ditto.
1100 * libc/machine/spu/sprintf.c: Ditto.
1101 * libc/machine/spu/sscanf.c: Ditto.
1102 * libc/machine/spu/tmpfile.c: Ditto.
1103 * libc/machine/spu/tmpnam.c: Ditto.
1104 * libc/machine/spu/ungetc.c: Ditto.
1105 * libc/machine/spu/vfprintf.c: Ditto.
1106 * libc/machine/spu/vfscanf.c: Ditto.
1107 * libc/machine/spu/vprintf.c: Ditto.
1108 * libc/machine/spu/vscanf.c: Ditto.
1109 * libc/machine/spu/vsnprintf.c: Ditto.
1110 * libc/machine/spu/vsprintf.c: Ditto.
1111 * libc/machine/spu/vsscanf.c: Ditto.
1112
1113 2007-04-04 Jeff Johnston <jjohnstn@redhat.com>
1114
1115 * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
1116
1117 2007-04-04 Eric Blake <ebb9@byu.net>
1118
1119 * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
1120 (asiprintf): Avoid overhead.
1121 * libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
1122 (asprintf): Avoid overhead.
1123 * libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
1124 * libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
1125 * libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
1126 (fiprintf): Avoid overhead.
1127 * libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
1128 (fprintf): Avoid overhead.
1129 * libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
1130 (iprintf): Avoid overhead.
1131 * libc/stdio/printf.c (_printf_r): Use _DEFUN.
1132 (printf): Avoid overhead.
1133 * libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
1134 * libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
1135 * libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
1136 * libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
1137 * libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
1138 * libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
1139 * libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
1140 * libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
1141 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
1142 vdiprintf.c.
1143 * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
1144 (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
1145
1146 2007-03-30 Dave Korn <dave.korn@artimi.com>
1147
1148 * libc/include/stdio.h (_ELIDABLE_INLINE): New macro to conceal
1149 conflicting inline semantics between C99 and GNU89.
1150 (__sgetc_r): Replace static inline with _ELIDABLE_INLINE to be
1151 compatible with -fkeep-inline-functions usage.
1152 (__sputc_r): Likewise for consistency even though disabled.
1153
1154 2007-03-29 Nick Clifton <nickc@redhat.com>
1155
1156 Reflect changes made to generic vfprintf.c:
1157 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
1158 and add a "struct reent *" argument.
1159 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
1160 argument and call _VFPRINTF_R instead of VFPRINTF.
1161 (_VFPRINTF_R): Add data pointer to call to cantwrite().
1162 Fix uses of __sprint() and __sbprintf.
1163
1164 2007-03-20 Nick Clifton <nickc@redhat.com>
1165
1166 Reflect changes made to generic vfprintf.c:
1167 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
1168 and add a "struct reent *" argument.
1169 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
1170 argument and call _VFPRINTF_R instead of VFPRINTF.
1171 (_VFPRINTF_R): Add data pointer to call to cantwrite().
1172 Fix uses of __sprint() and __sbprintf.
1173
1174 2007-03-16 Charles Wilson <cygwin@...>
1175
1176 * libc/argz/argz_insert.c: "before" pointer is
1177 invalid after *argz realloc. Compute offset
1178 between "before" and *argz, and use it after
1179 reallocation instead.
1180
1181 2007-03-16 Eric Blake <ebb9@byu.net>
1182
1183 * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
1184 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
1185
1186 2007-03-15 Jeff Johnston <jjohnstn@redhat.com>
1187
1188 * configure.in: Add new --enable-newlib-reent-small option.
1189 * configure: Regenerated.
1190 * acconfig.h: Add _WANT_REENT_SMALL.
1191 * newlib.hin: Regenerated minus PACKAGE macros to add
1192 _WANT_REENT_SMALL macro.
1193 * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
1194 if not already set.
1195 * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
1196 there is no buffer.
1197 * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
1198 use reentrant pointer passed in when resetting the file
1199 pointer to one of the std streams.
1200
1201 2007-03-15 Eric Blake <ebb9@byu.net>
1202
1203 * libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
1204 (__smakebuf): Rename...
1205 (__smakebuf_r): to this.
1206 * libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
1207 * libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
1208 allocation, then rename...
1209 (__smakebuf_r): ...to this and fix reentrancy.
1210 * libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
1211 allocation, then rename...
1212 (__swsetup_r): ...to this and fix reentrancy.
1213 * libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
1214 * libc/stdio/refill.c (__srefill_r): Likewise.
1215 * libc/stdio/fclose.c (_fclose_r): Likewise.
1216 * libc/stdio/fread.c (_fread_r): Likewise.
1217 * libc/stdio/freopen.c (_freopen_r): Likewise.
1218 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
1219 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
1220 * libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
1221 failed asprintf allocation, and fix reentrancy.
1222 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
1223 as required by POSIX.
1224 * libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
1225 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
1226 * libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
1227
1228 2007-03-12 Eric Blake <ebb9@byu.net>
1229
1230 * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
1231 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
1232 allocation to caller.
1233 * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
1234 * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
1235 * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
1236
1237 2007-02-23 Jeff Johnston <jjohnstn@redhat.com>
1238
1239 * libm/math/w_pow.c: Fix typo in documentation comment.
1240
1241 2007-02-21 Patrick Mansfield <patmans@us.ibm.com>
1242
1243 * libc/reent/timer.c: Removed (split into two new files).
1244 * libc/reent/timesr.c: New file for _times_r.
1245 * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
1246 * reent/Makefile.in: Remove timer.c, add timesr.c and
1247 gettimeofdayr.c.
1248 * libc/reent/Makefile.am: Regenerate.
1249
1250 2007-02-20 Patrick Mansfield <patmans@us.ibm.com>
1251
1252 * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
1253
1254 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
1255
1256 * libc/machine/spu/Makefile.am: Add new objects.
1257 * libc/machine/spu/Makefile.in: Regenerated.
1258 * libc/machine/spu/fiprintf.c: New file. Add implementation of
1259 integer-only version.
1260 * libc/machine/spu/fiscanf.c: Ditto.
1261 * libc/machine/spu/iprintf.c: Ditto.
1262 * libc/machine/spu/iscanf.c: Ditto.
1263 * libc/machine/spu/siprintf.c: Ditto.
1264 * libc/machine/spu/siscanf.c: Ditto.
1265 * libc/machine/spu/sniprintf.c: Ditto.
1266 * libc/machine/spu/vfiprintf.c: Ditto.
1267 * libc/machine/spu/vfiscanf.c: Ditto.
1268 * libc/machine/spu/viprintf.c: Ditto.
1269 * libc/machine/spu/viscanf.c: Ditto.
1270 * libc/machine/spu/vsiprintf.c: Ditto.
1271 * libc/machine/spu/vsiscanf.c: Ditto.
1272 * libc/machine/spu/vsniprintf.c: Ditto.
1273 * libc/machine/spu/fprintf.c: Add support for integer-only
1274 version.
1275 * libc/machine/spu/fscanf.c: Ditto.
1276 * libc/machine/spu/printf.c: Ditto.
1277 * libc/machine/spu/scanf.c: Ditto.
1278 * libc/machine/spu/snprintf.c: Ditto.
1279 * libc/machine/spu/sprintf.c: Ditto.
1280 * libc/machine/spu/sscanf.c: Ditto.
1281 * libc/machine/spu/vfprintf.c: Ditto.
1282 * libc/machine/spu/vfscanf.c: Ditto.
1283 * libc/machine/spu/vprintf.c: Ditto.
1284 * libc/machine/spu/vscanf.c: Ditto.
1285 * libc/machine/spu/vsnprintf.c: Ditto.
1286 * libc/machine/spu/vsprintf.c: Ditto.
1287 * libc/machine/spu/vsscanf.c: Ditto.
1288
1289 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
1290
1291 * libc/include/stdio.h: Add declaration for vsiprintf.
1292
1293 2007-02-14 Patrick Mansfield <patmans@us.ibm.com>
1294
1295 Add a floating point environment for SPU (cell):
1296
1297 * configure.host: add libm_machine_dir=spu.
1298 * libm/machine/configure: Add spu.
1299 * libm/machine/configure.in: regenerated with spu added.
1300 * libc/machine/spu/include/fenv.h: New file.
1301 * libc/machine/spu/sys/fenv.h: Ditto.
1302 * libm/machine/spu/Makefile.am: Ditto.
1303 * libm/machine/spu/Makefile.in: Ditto.
1304 * libm/machine/spu/aclocal.m4: Ditto.
1305 * libm/machine/spu/configure: Ditto.
1306 * libm/machine/spu/configure.in: Ditto.
1307 * libm/machine/spu/fe_dfl_env.c: Ditto.
1308 * libm/machine/spu/feclearexcept.c: Ditto.
1309 * libm/machine/spu/fegetenv.c: Ditto.
1310 * libm/machine/spu/fegetexceptflag.c: Ditto.
1311 * libm/machine/spu/fegetround.c: Ditto.
1312 * libm/machine/spu/feholdexcept.c: Ditto.
1313 * libm/machine/spu/feraiseexcept.c: Ditto.
1314 * libm/machine/spu/fesetenv.c: Ditto.
1315 * libm/machine/spu/fesetexceptflag.c: Ditto.
1316 * libm/machine/spu/fesetround.c: Ditto.
1317 * libm/machine/spu/fetestexcept.c: Ditto.
1318 * libm/machine/spu/feupdateenv.c: Ditto.
1319 * libm/machine/spu/headers/feclearexcept.h: Ditto.
1320 * libm/machine/spu/headers/fefpscr.h: Ditto.
1321 * libm/machine/spu/headers/fegetenv.h: Ditto.
1322 * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
1323 * libm/machine/spu/headers/fegetround.h: Ditto.
1324 * libm/machine/spu/headers/feholdexcept.h: Ditto.
1325 * libm/machine/spu/headers/feraiseexcept.h: Ditto.
1326 * libm/machine/spu/headers/fesetenv.h: Ditto.
1327 * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
1328 * libm/machine/spu/headers/fesetround.h: Ditto.
1329 * libm/machine/spu/headers/fetestexcept.h: Ditto.
1330 * libm/machine/spu/headers/feupdateenv.h: Ditto.
1331
1332 2007-02-14 Corinna Vinschen <corinna@vinschen.de>
1333
1334 * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
1335 Cygwin.
1336
1337 2007-02-08 Corinna Vinschen <corinna@vinschen.de>
1338
1339 * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
1340 Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
1341
1342 2007-02-07 Corinna Vinschen <corinna@vinschen.de>
1343
1344 * libc/include/sys/features.h: Add definition of all supported
1345 _POSIX_xxx values for Cygwin.
1346 * libc/include/sys/types.h (pthread_rwlock_t): Omit definition
1347 on Cygwin.
1348 (pthread_rwlockattr_t): Ditto.
1349 * libc/include/sys/unistd.h: Define all _SC_xxx values as
1350 required by SUSv3. Unify formatting.
1351
1352 2007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
1353
1354 * libc/include/sys/errno.h: Add ECANCELED.
1355
1356 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
1357 Kazunori Asayama <asayama@sm.sony.co.jp>
1358
1359 * libc/machine/spu/Makefile.am: Add objects.
1360 * libc/machine/spu/Makefile.in: Regenerated.
1361 * libc/machine/spu/vsscanf.c: New file. Add a stdio function
1362 implementation.
1363 * libc/machine/spu/snprintf.c: Ditto.
1364 * libc/machine/spu/sprintf.c: Ditto.
1365 * libc/machine/spu/sscanf.c: Ditto.
1366 * libc/machine/spu/remove.c: Ditto.
1367 * libc/machine/spu/rename.c: Ditto.
1368 * libc/machine/spu/tmpnam.c: Ditto.
1369 * libc/machine/spu/vsnprintf.c: Add initialization routine of
1370 stdio stuffs.
1371 * libc/machine/spu/vsprintf.c: Ditto.
1372
1373 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
1374 Kazunori Asayama <asayama@sm.sony.co.jp>
1375
1376 * configure.host: Enable SPU specific stdio directory.
1377 * libc/machine/spu/Makefile.am: Add objects.
1378 * libc/machine/spu/Makefile.in: Regenerated.
1379 * libc/machine/spu/c99ppe.h: Add macros and function
1380 declarations to initialize SPU specific stdio stuffs.
1381 * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
1382 specific FILE structures.
1383 * libc/machine/spu/perror.c: Add initialization routine of
1384 stdio stuffs.
1385 * libc/machine/spu/printf.c: Ditto.
1386 * libc/machine/spu/putchar.c: Ditto.
1387 * libc/machine/spu/puts.c: Ditto.
1388 * libc/machine/spu/vprintf.c: Ditto.
1389 * libc/machine/spu/clearerr.c: New file. Add a stdio function
1390 implementation.
1391 * libc/machine/spu/feof.c: Ditto.
1392 * libc/machine/spu/ferror.c: Ditto.
1393 * libc/machine/spu/fileno.c: Ditto.
1394 * libc/machine/spu/fopen.c: Ditto.
1395 * libc/machine/spu/fclose.c: Ditto.
1396 * libc/machine/spu/freopen.c: Ditto.
1397 * libc/machine/spu/fflush.c: Ditto.
1398 * libc/machine/spu/fseek.c: Ditto.
1399 * libc/machine/spu/ftell.c: Ditto.
1400 * libc/machine/spu/rewind.c: Ditto.
1401 * libc/machine/spu/fgetpos.c: Ditto.
1402 * libc/machine/spu/fsetpos.c: Ditto.
1403 * libc/machine/spu/fread.c: Ditto.
1404 * libc/machine/spu/fwrite.c: Ditto.
1405 * libc/machine/spu/getc.c: Ditto.
1406 * libc/machine/spu/getchar.c: Ditto.
1407 * libc/machine/spu/gets.c: Ditto.
1408 * libc/machine/spu/fgetc.c: Ditto.
1409 * libc/machine/spu/fgets.c: Ditto.
1410 * libc/machine/spu/ungetc.c: Ditto.
1411 * libc/machine/spu/putc.c: Ditto.
1412 * libc/machine/spu/fputc.c: Ditto.
1413 * libc/machine/spu/fputs.c: Ditto.
1414 * libc/machine/spu/vfprintf.c: Ditto.
1415 * libc/machine/spu/vfscanf.c: Ditto.
1416 * libc/machine/spu/fprintf.c: Ditto.
1417 * libc/machine/spu/fscanf.c: Ditto.
1418 * libc/machine/spu/scanf.c: Ditto.
1419 * libc/machine/spu/vscanf.c: Ditto.
1420 * libc/machine/spu/setbuf.c: Ditto.
1421 * libc/machine/spu/setvbuf.c: Ditto.
1422 * libc/machine/spu/tmpfile.c: Ditto.
1423
1424 2007-02-01 Jeff Johnston <jjohnstn@redhat.com>
1425
1426 * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
1427 * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
1428 around stdio macros that manipulate fields in the normal file
1429 structure.
1430 * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
1431 <sys/custom_file.h> to define custom FILE structure.
1432 * libc/include/sys/custom_file.h: New default header file
1433 that generates error if not overridden when __CUSTOM_FILE_IO__ set.
1434 * libc/machine/spu/sys/custom_file.h: New file.
1435
1436 2007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>
1437
1438 * configure.host: Define stdio directory as a variable.
1439 * libc/Makefile.am: Define stdio related names
1440 as macros.
1441 * libc/configure.in: Add detection routine of stdio directory.
1442 * libc/Makefile.in: Regenerated.
1443 * libc/configure: Ditto.
1444 * libc/argz/Makefile.in: Ditto.
1445 * libc/ctype/Makefile.in: Ditto.
1446 * libc/errno/Makefile.in: Ditto.
1447 * libc/iconv/Makefile.in: Ditto.
1448 * libc/iconv/ccs/Makefile.in: Ditto.
1449 * libc/iconv/ccs/binary/Makefile.in: Ditto.
1450 * libc/iconv/ces/Makefile.in: Ditto.
1451 * libc/iconv/lib/Makefile.in: Ditto.
1452 * libc/locale/Makefile.in: Ditto.
1453 * libc/misc/Makefile.in: Ditto.
1454 * libc/posix/Makefile.in: Ditto.
1455 * libc/reent/Makefile.in: Ditto.
1456 * libc/search/Makefile.in: Ditto.
1457 * libc/signal/Makefile.in: Ditto.
1458 * libc/stdio/Makefile.in: Ditto.
1459 * libc/stdio64/Makefile.in: Ditto.
1460 * libc/stdlib/Makefile.in: Ditto.
1461 * libc/string/Makefile.in: Ditto.
1462 * libc/syscalls/Makefile.in: Ditto.
1463 * libc/time/Makefile.in: Ditto.
1464 * libc/unix/Makefile.in: Ditto.
1465
1466 2007-01-30 Ben Elliston <bje@au.ibm.com>
1467
1468 * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
1469 fmt member.
1470 * libc/machine/spu/printf.c (c99_printf_t): Likewise.
1471 (printf): Pass fmt to va_start to suppress a warning.
1472
1473 * libc/search/hash.c (init_hash): Make `info' parameter const.
1474
1475 2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
1476
1477 * libc/machine/spu/c99ppe.h: Replace vector with __vector.
1478 * libc/machine/spu/vec_literal.h: Ditto.
1479 * libc/machine/spu/strncmp.c: Ditto.
1480
1481 2007-01-15 Joseph Myers <joseph@codesourcery.com>
1482 Kazu Hirata <kazu@codesourcery.com>
1483
1484 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
1485 for E500V1 and E500V2.
1486
1487 2007-01-11 Jeff Johnston <jjohnstn@redhat.com>
1488
1489 * libm/configure.in: Always configure machine directory.
1490 * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
1491 unconditionally.
1492 * libm/configure: Regenerated.
1493 * libm/Makefile.in: Ditto.
1494 * libm/*/Makefile.in: Ditto.
1495
1496 2007-01-05 Brian Ford <Brian.Ford@FlightSafety.com>
1497
1498 * configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
1499
1500 2007-01-02 Ben Elliston <bje@au.ibm.com>
1501
1502 * doc/makedoc.c: Include <stdlib.h>.
1503 (malloc, realloc): Remove extern declarations.
1504
1505 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
1506
1507 * NEWS: Update with 1.15.0 info.
1508 * README: Ditto.
1509 * acinclude.m4: Change version number to 1.15.0.
1510 * aclocal.m4: Regenerated.
1511 * configure: Ditto.
1512 * doc/aclocal.m4: Ditto.
1513 * doc/configure: Ditto.
1514 * libc/*/aclocal.m4: Ditto.
1515 * libc/*/configure: Ditto.
1516 * libc/libc.texinfo: Ditto.
1517 * libm/*/aclocal.m4: Ditto.
1518 * libm/*/configure: Ditto.
1519 * libm/libm.texinfo: Ditto.
1520 * libc/sys/linux/shared.ld: Add VERS_1.15.
1521
1522 2006-12-18 Kazu Hirata <kazu@codesourcery.com>
1523
1524 Merge from newlib-csl-20060320-branch:
1525 2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
1526 Kazu Hirata <kazu@codesourcery.com>
1527
1528 * configure.host: Recognize fido.
1529
1530 2006-12-18 Joel Schopp <jschopp@austin.ibm.com>
1531
1532 * libc/machine/spu/c99ppe.h: New file
1533 * libc/machine/spu/perror.c: New file to override libc/stdio version.
1534 * libc/machine/spu/printf.c: New file
1535 * libc/machine/spu/putchar.c: New file
1536 * libc/machine/spu/puts.c: New file
1537 * libc/machine/spu/vprintf.c: New file
1538 * libc/machine/spu/vsnprintf.c: New file
1539 * libc/machine/spu/vsprintf.c: New file
1540 * libc/machine/spu/Makefile.am: Add new targets.
1541 * libc/machine/spu/Makefile.in: Regenerated.
1542
1543 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
1544
1545 * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
1546 * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
1547
1548 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
1549
1550 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
1551 2.6.5 version of Doug Lea's malloc which is the basis of
1552 this code.
1553
1554 2006-12-18 Kazunori Asayama <asayama@sm.sony.co.jp>
1555
1556 * libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
1557
1558 2006-12-14 Jeff Johnston <jjohnstn@redhat.com>
1559 Eric Blake <ebb9@byu.net>
1560
1561 * libc/stdio/fflush.c (fflush): On seekable streams, always flush
1562 read but unused data.
1563 * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
1564 even read streams may have side effects that must happen.
1565
1566 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
1567
1568 * libc/machine/spu/setjmp.S: Fix to handle registers past 115
1569 correctly.
1570
1571 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
1572
1573 * libc/include/alloca.h: Add undef alloca to work with xlc.
1574
1575 2006-12-12 Joel Schopp <jschopp@austin.ibm.com>
1576
1577 * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
1578 cell spu.
1579
1580 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
1581
1582 * libc/machine/spu/strncpy.c: Add padding.
1583
1584 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
1585
1586 * testsuite/newlib.string/tstring.c:
1587
1588 2006-12-01 Kazunori Asayama <asayama@sm.sony.co.jp>
1589
1590 * libc/machine/spu/strchr.c: Fix mask for misaligned string.
1591 * libc/machine/spu/strrchr.c: Ditto.
1592
1593 2006-11-30 Lev Bishop <lev.bishop@gmail.com>
1594
1595 * libc/include/math.h: Allow C99 functions/macros to be
1596 defined for C++ even when __STRICT_ANSI__.
1597
1598 2006-11-29 Jeff Johnston <jjohnstn@redhat.com>
1599
1600 * libc/stdio/makebuf.c (__smakebuf): If dealing with
1601 an asprintf-family buffer, make the default initial size 64.
1602
1603 2006-11-29 Eric Blake <ebb9@byu.net>
1604
1605 * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
1606 asprintf, as well as quadratic realloc behavior.
1607
1608 2006-11-29 Kazunori Asayama <asayama@sm.sony.co.jpi
1609
1610 * libc/machine/spu/memset.c: Fix type of explicit cast.
1611 * libc/machine/spu/strncmp.c: Add explicit cast.
1612 * libc/machine/spu/strrchr.c: Ditto.
1613 * libc/machine/spu/strspn.c: Ditto.
1614
1615 2006-11-22 Luca Barbato <lu_zero@gentoo.org>
1616
1617 * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
1618 * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
1619 * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
1620 * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
1621 * libc/machine/spu/strncat.c: Explicit cast.
1622 * libc/machine/spu/strncmp.c: Use spu_splats.
1623 * libc/machine/spu/strncpy.c: Explicit cast.
1624 * libc/machine/spu/strrchr.c: Use spu_splats.
1625 * libc/machine/spu/strspn.c: Use spu_splats.
1626
1627 2006-11-15 Till Straumann <strauman@slac.stanford.edu>
1628
1629 * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
1630
1631 2006-11-14 Eric Blake <ebb9@byu.net>
1632
1633 * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
1634 (chclass): ' is a flag. j, t, and z are modifiers.
1635
1636 2006-11-08 Jie Zhang <jie.zhang@analog.com>
1637
1638 * configure.host: Add support for bfin.
1639 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
1640 * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
1641 * libc/machine/bfin/aclocal.m4: Generate.
1642 * libc/machine/bfin/configure.in: New.
1643 * libc/machine/bfin/configure: Generate.
1644 * libc/machine/bfin/Makefile.am: New.
1645 * libc/machine/bfin/Makefile.in: Generate.
1646 * libc/machine/bfin/setjmp.S: New.
1647 * libc/machine/bfin/longjmp.S: New.
1648 * libc/machine/configure.in: Add bfin support.
1649 * libc/machine/configure: Generate.
1650
1651 2006-11-07 Corinna Vinschen <corinna@vinschen.de>
1652
1653 * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
1654 (_PC_FILESIZEBITS): Add definition.
1655 (_PC_2_SYMLINKS): Ditto.
1656 (_PC_SYMLINK_MAX): Ditto.
1657
1658 2006-10-27 Joel Schopp <jschopp@austin.ibm.com>
1659
1660 * libc/machine/spu/memcpy.c: Override generic function with vectorized
1661 version optimized for the cell spu.
1662 * libc/machine/spu/memmove.c: Ditto.
1663 * libc/machine/spu/memset.c: Ditto.
1664 * libc/machine/spu/strcat.c: Ditto.
1665 * libc/machine/spu/strchr.c: Ditto.
1666 * libc/machine/spu/strcmp.c: Ditto.
1667 * libc/machine/spu/strcpy.c: Ditto.
1668 * libc/machine/spu/strcspn.c: Ditto.
1669 * libc/machine/spu/strlen.c: Ditto.
1670 * libc/machine/spu/strncat.c: Ditto.
1671 * libc/machine/spu/strncmp.c: Ditto.
1672 * libc/machine/spu/strncpy.c: Ditto.
1673 * libc/machine/spu/strpbrk.c: Ditto.
1674 * libc/machine/spu/strrchr.c: Ditto.
1675 * libc/machine/spu/strspn.c: Ditto.
1676 * libc/machine/spu/strxfrm.c: Ditto.
1677 * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
1678 removing altivec style initializers.
1679 * libc/machine/spu/Makefile.am: Add new files to list so they build
1680 * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
1681
1682 2006-10-27 Jeff Johnston <jjohnstn@redhat.com>
1683
1684 * README: Add a brief section on how to regenerate
1685 configuration files in newlib.
1686
1687 2006-10-25 Vladimir Prus <vladimir@codesourcery.com>
1688
1689 * libc/include/math.h: (exception): Add a comment
1690 telling fixincludes that we handle C vs. C++ issue.
1691
1692 2006-10-11 Yang Tse <yangsita@gmail.com>
1693
1694 * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
1695 braced-groups.
1696
1697 2006-10-11 Corinna Vinschen <corinna@vinschen.de>
1698
1699 * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
1700
1701 2006-09-26 Jeff Johnston <jjohnstn@redhat.com>
1702
1703 * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
1704 for clearerr, feof, or fileno.
1705 * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
1706 the dummy std stream scheme to use pointers to const external
1707 fake files, one for each standard stream.
1708 * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
1709 argument. For _REENT_SMALL, reset the file pointer if it
1710 matches one of the fake std stream pointers.
1711 * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
1712 argument.
1713 * libc/stdio/fclose.c: Ditto.
1714 * libc/stdio/feof.c: Ditto.
1715 * libc/stdio/ferror.c: Ditto.
1716 * libc/stdio/fflush.c: Ditto.
1717 * libc/stdio/fgetc.c: Ditto.
1718 * libc/stdio/fgets.c: Ditto.
1719 * libc/stdio/fileno.c: Ditto.
1720 * libc/stdio/findfp.c: Ditto.
1721 * libc/stdio/fputc.c: Ditto.
1722 * libc/stdio/fputs.c: Ditto.
1723 * libc/stdio/fread.c: Ditto.
1724 * libc/stdio/freopen.c: Ditto.
1725 * libc/stdio/fseek.c: Ditto.
1726 * libc/stdio/ftell.c: Ditto.
1727 * libc/stdio/fwrite.c: Ditto.
1728 * libc/stdio/getc.c: Ditto.
1729 * libc/stdio/getdelim.c: Ditto.
1730 * libc/stdio/putc.c: Ditto.
1731 * libc/stdio/refill.c: Ditto.
1732 * libc/stdio/setvbuf.c: Ditto.
1733 * libc/stdio/ungetc.c: Ditto.
1734 * libc/stdio/vfprintf.c: Ditto.
1735 * libc/stdio/vfscanf.c: Ditto.
1736 * libc/stdio/wbuf.c: Ditto.: Ditto.
1737 * libc/stdio/wsetup.c: Ditto.
1738 * libc/stdio64/freopen64.c: Ditto.
1739 * libc/stdio64/fseeko64.c: Ditto.
1740 * libc/stdio64/ftello64.c: Ditto.
1741 * libc/machine/powerpc/vfprintf.c: Ditto.
1742 * libc/machine/powerpc/vfscanf.c: Ditto.
1743
1744 2006-09-22 Paul Brook <paul@codesourcery.com>
1745
1746 * libc/include/sys/reent.h: Define and use __reent_assert.
1747
1748 2006-09-13 Joel Sherrill <joel@oarcorp.com>
1749
1750 * libc/include/pthread.h: Add pthread barriers,
1751 rwlocks, and spinlocks. Change const to
1752 _CONST and prefix parameter names with
1753 an underscore.
1754 * libc/include/sys/types.h: Add id and attribute
1755 types for barriers, wrlocks, and spinlocks.
1756 * libc/include/sys/features.h: Enable barriers,
1757 wrlocks, and spinlocks for RTEMS.
1758
1759 2006-09-13 Patrick Mansfield <patmans@us.ibm.com>
1760
1761 * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
1762 supposed to be writable.
1763 * libm/common/s_lib_ver.c: Ditto.
1764
1765 2006-09-12 Paul Brook <paul@codesourcery.com>
1766
1767 * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
1768
1769 2006-09-07 Masaki Muranaka <monaka@monami-software.com>
1770
1771
1772 * libc/machine/xstormy16/Makefile.am:
1773 Add $(lpfx) prefix to LIBADD objects.
1774 lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
1775 * libc/machine/xstormy16/Makefile.in: Regenerated.
1776
1777 2006-09-06 Eric Blake <ebb9@byu.net>
1778
1779 * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
1780 't', and 'z' modifiers.
1781
1782 2006-09-01 Kazu Hirata <kazu@codesourcery.com>
1783
1784 Merge from newlib-csl-20060320-branch:
1785 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
1786
1787 * configure.host: Tell it we have _rename and _system when
1788 building m68k-unknown-elf.
1789
1790 2006-08-29 Paul Brook <paul@codesourcery.com>
1791
1792 * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
1793
1794 2006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
1795
1796 * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
1797 BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
1798 This is needed to build all AVR and H8300 RTEMS multilib variants.
1799
1800 2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
1801
1802 * libc/machine/configure.in: Add configuration for SPU.
1803 * libc/machine/configure: Regenerated.
1804 * libc/machine/spu/memcpy.c: Include string.h.
1805
1806 2006-08-22 Eric Blake <ebb9@byu.net>
1807
1808 * libc/posix/popen.c (popen): Don't close output end of pipe in
1809 child if stdout was closed on entry.
1810 [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
1811
1812 2006-08-19 Ramana Radhakrishnan <ramana.r@gmail.com>
1813
1814 * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
1815 line.
1816
1817 2006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
1818
1819 * libc/time/gmtime.c: Correct man page; clock is not a
1820 local time and no conversion occurs.
1821
1822 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
1823
1824 * configure.host (newlib_cflags) [spu]: Add special compiler
1825 options to reduce size.
1826
1827 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
1828
1829 * configure.host: Add spu support.
1830 * libc/include/stdint.h: Ditto.
1831 * libc/include/machine/ieeefp.h: Ditto.
1832 * libc/include/machine/setjmp.h: Ditto.
1833 * libc/include/sys/config.h: Ditto.
1834 * libc/include/sys/types.h: Ditto.
1835 * libc/machine/spu/Makefile.am: New file.
1836 * libc/machine/spu/Makefile.in: Ditto.
1837 * libc/machine/spu/aclocal.m4: Ditto.
1838 * libc/machine/spu/configure: Ditto.
1839 * libc/machine/spu/configure.in: Ditto.
1840 * libc/machine/spu/memcpy.c: Ditto.
1841 * libc/machine/spu/setjmp.S: Ditto.
1842
1843 2006-08-03 J"orn Rennecke <joern.rennecke@st.com>
1844
1845 * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
1846 properly.
1847
1848 2006-08-01 Jeff Johnston <jjohnstn@redhat.com>
1849
1850 * libc/Makefile.am: Add libc_TEXINFOS dependency on
1851 generated .texi files.
1852 * libm/Makefile.am: Add libm_TEXINFOS dependency on
1853 generated .texi files.
1854 * libc/Makefile.in: Regenerated.
1855 * libm/Makefile.in: Ditto.
1856
1857 2006-08-01 Thiemo Seufer <ths@mips.com>
1858 Nigel Stephens <nigel@mips.com>
1859
1860 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
1861 define this to force _impure_ptr to live in the .sdata section.
1862
1863 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
1864
1865 * acinclude.m4: Check for readelf tool.
1866 * configure.in: Use ${READELF} instead of hard-coding.
1867 * Regenerate all aclocal.m4, Makefile.in, and configure files.
1868
1869 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
1870
1871 * libc/sys/linux/mmap.c: Remove include of sys/mman.h
1872 to avoid conflict with newer glibc's revision of mremap.
1873
1874 2006-07-05 Jeff Johnston <jjohnstn@redhat.com>
1875
1876 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
1877 floating-point format support. Also redefine
1878 dword0 and dword1 macros.
1879 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
1880 to prevent setting dword1 which is an rvalue only.
1881
1882 2006-06-22 Jeff Johnston <jjohnstn@redhat.com>
1883
1884 * libc/stdlib/Makefile.am: Add new gdtoa routines.
1885 * libc/stdlib/Makefile.in: Regenerated.
1886 * libc/stdlib/gd_qnan.h: New file.
1887 * libc/stdlib/gdtoa-gethex.c: Ditto.
1888 * libc/stdlib/gdtoa-hexnan.c: Ditto.
1889 * libc/stdlib/gdtoa.h: Ditto.
1890 * libc/stdlib/mprec.c: Add new helper routines needed by
1891 the new gdtoa code.
1892 * libc/stdlib/mprec.h: Integrate some defines and prototypes
1893 used by gdtoa routines here.
1894 * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
1895 which adds C99 support such as nan, inf, and hexadecimal input
1896 format.
1897
1898 2006-06-15 Corinna Vinschen <corinna@vinschen.de>
1899
1900 * libc/include/stdio.h (__sgetc_r): Fix typo.
1901 * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
1902 * libc/stdio/rget.c (__srbuf): Reinstantiate.
1903 * libc/stdio/wbuf.c (__swbuf): Ditto.
1904
1905 2006-06-14 Jeff Johnston <jjohnstn@redhat.com>
1906
1907 * libc/include/stdio.h: Add new reentrant I/O prototypes for
1908 read/write functions. Change getc/putc macros to have reentrant underlying
1909 macros/functions. This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
1910 * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
1911 new reentrant I/O functions/macros for reading/writing.
1912 * libc/stdio/fgets.c: Ditto.
1913 * libc/stdio/fputc.c: Ditto.
1914 * libc/stdio/fputs.c: Ditto.
1915 * libc/stdio/fread.c: Ditto.
1916 * libc/stdio/fseek.c: Ditto.
1917 * libc/stdio64/fseeko64.c: Ditto.
1918 * libc/stdio/fwrite.c: Ditto.
1919 * libc/stdio/getc.c: Ditto.
1920 * libc/stdio/getc_u.c: Ditto.
1921 * libc/stdio/getchar.c: Ditto.
1922 * libc/stdio/getchar_u.c: Ditto.
1923 * libc/stdio/putc.c: Ditto.
1924 * libc/stdio/putc_u.c: Ditto.
1925 * libc/stdio/putchar.c: Ditto.
1926 * libc/stdio/puts.c: Ditto.
1927 * libc/stdio/vfprintf.c: Ditto.
1928 * libc/stdio/vfscanf.c: Ditto.
1929 * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
1930 Change all previous callers of __sfvwrite. Set errno to EBADF and
1931 set error flag on if attempt is made to write to file that does not
1932 allow writing.
1933 * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
1934 * libc/stdio/local.h: Ditto.
1935 * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
1936 Set errno to EBADF and the error flag on if attempt is made to
1937 read unreadable file. Change all previous callers of __srefill.
1938 * libc/stdio/rget.c
1939 * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r. Change
1940 all previous callers of __swbuf.
1941 * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
1942 huge value macros are already defined correctly for i386 by <math.h>.
1943
1944 2006-06-13 Sandra Loosemore <sandra@codesourcery.com>
1945
1946 * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
1947 Make them do something useful in the ARM_RDI_MONITOR case.
1948
1949 2006-06-07 Fred Fish <fnf@specifix.com>
1950
1951 * libc/search/hash_bigkey.c (MIN,MAX): Remove
1952 defines that are already supplied by <sys/param.h>.
1953
1954 2006-06-07 Fred Fish <fnf@specifix.com>
1955
1956 * configure.host: Remove references to HAVE_GETTIMEOFDAY.
1957
1958 2006-06-05 Shaun Jackman <sjackman@gmail.com>
1959
1960 * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
1961 usleep.c.
1962 * libc/posix/Makefile.in: Regenerate.
1963 * libc/posix/sleep.c: New file.
1964 * libc/posix/usleep.c: Ditto.
1965
1966 2006-06-05 Shaun Jackman <sjackman@gmail.com>
1967
1968 * configure.host (newlib_cflags) [arm, thumb, xscale]: Remove
1969 -DABORT_PROVIDED flag.
1970 * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
1971 * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
1972
1973 2006-06-05 Jeff Johnston <jjohnstn@redhat.com>
1974
1975 * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
1976 * Makefile.in: Regenerated.
1977 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
1978 extraneous CFLAGS reference now that CCASFLAGS are being extended
1979 properly via multilib.
1980 * libc/machine/sh/Makefile.in: Regenerated.
1981
1982 2006-06-02 Shaun Jackman <sjackman@gmail.com>
1983
1984 * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
1985 sigismember.
1986
1987 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
1988
1989 * libc/misc/dprintf.c: Removed.
1990 * libc/misc/__dprintf.c: Renamed from dprintf.c.
1991 * libc/misc/Makefile.am: Changed appropriately for rename.
1992 * libc/misc/Makefile.in: Regenerated.
1993
1994 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
1995
1996 * libc/include/stdio.h: Protect dprintf prototype
1997 with #ifndef dprintf so as to not interfere with
1998 historical code defining their own dprintf macro.
1999
2000 2006-05-18 Jeff Johnston <jjohnstn@redhat.com>
2001
2002 * libc/include/stdio.h: Add prototypes for fiscanf,
2003 iscanf, and siscanf.
2004
2005 2006-05-11 J"orn Rennecke <joern.rennecke@st.com>
2006
2007 * acinclude.m4 (_NEWLIB_VERSION): Rename to:
2008 (DEF_NEWLIB_VERSION).
2009 * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
2010 * configure: Regenerate.
2011
2012 2006-05-09 Jeff Johnston <jjohnstn@redhat.com>
2013
2014 * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
2015 lib_a_SOURCES.
2016 * libc/ctype/Makefile.in: Regenerated.
2017
2018 2006-05-09 Kazu Hirata <kazu@codesourcery.com>
2019
2020 * libc/machine/arm/Makefile.am: Fix a typo.
2021 * libc/machine/arm/Makefile.in: Regenerated.
2022
2023 2006-05-08 J"orn Rennecke <joern.rennecke@st.com>
2024
2025 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
2026 * libc/machine/sh/Makefile.in: Regenerate.
2027
2028 2006-05-03 J"orn Rennecke <joern.rennecke@st.com>
2029
2030 * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
2031 * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
2032
2033 2006-05-02 Jeff Johnston <jjohnstn@redhat.com>
2034
2035 * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
2036 .s.
2037 * libc/sys/sysnec810/Makefile.in: Regenerated.
2038 * libc/sys/sysnec810/crt0.S: Renamed from .s file.
2039 * libc/sys/sysnec810/io.S: Ditto.
2040 * libc/sys/sysnec810/crt0.s: Renamed to .S file.
2041 * libc/sys/sysnec810/io.s: Ditto.
2042
2043 2006-05-01 Jeff Johnston <jjohnstn@redhat.com>
2044
2045 * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx). If source file can
2046 be specified instead of object, do so.
2047 * libc/ctype/Makefile.am: Ditto.
2048 * libc/iconv/ccs/Makefile.am: Ditto.
2049 * libc/iconv/ces/Makefile.am: Ditto.
2050 * libc/iconv/lib/Makefile.am: Ditto.
2051 * libc/locale/Makefile.am: Ditto.
2052 * libc/posix/Makefile.am: Ditto.
2053 * libc/reent/Makefile.am: Ditto.
2054 * libc/search/Makefile.am: Ditto.
2055 * libc/stdio/Makefile.am: Ditto.
2056 * libc/stdio64/Makefile.am: Ditto.
2057 * libc/stdlib/Makefile.am: Ditto.
2058 * libc/string/Makefile.am: Ditto.
2059 * libc/syscalls/Makefile.am: Ditto.
2060 * libc/unix/Makefile.am: Ditto.
2061 * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
2062 prefix added automatically. Any specified rules must use $(lpfx) for
2063 object file names.
2064 * libc/machine/arm/Makefile.am: Ditto.
2065 * libc/machine/cris/Makefile.am: Ditto.
2066 * libc/machine/crx/Makefile.am: Ditto.
2067 * libc/machine/d10v/Makefile.am: Ditto.
2068 * libc/machine/d30v/Makefile.am: Ditto.
2069 * libc/machine/fr30/Makefile.am: Ditto.
2070 * libc/machine/frv/Makefile.am: Ditto.
2071 * libc/machine/h8300/Makefile.am: Ditto.
2072 * libc/machine/h8500/Makefile.am: Ditto.
2073 * libc/machine/hppa/Makefile.am: Ditto.
2074 * libc/machine/i386/Makefile.am: Ditto.
2075 * libc/machine/i960/Makefile.am: Ditto.
2076 * libc/machine/iq2000/Makefile.am: Ditto.
2077 * libc/machine/m32c/Makefile.am: Ditto.
2078 * libc/machine/m32r/Makefile.am: Ditto.
2079 * libc/machine/m68hc11/Makefile.am: Ditto.
2080 * libc/machine/m68k/Makefile.am: Ditto.
2081 * libc/machine/m88k/Makefile.am: Ditto.
2082 * libc/machine/mips/Makefile.am: Ditto.
2083 * libc/machine/mn10200/Makefile.am: Ditto.
2084 * libc/machine/mn10300/Makefile.am: Ditto.
2085 * libc/machine/mt/Makefile.am: Ditto.
2086 * libc/machine/necv70/Makefile.am: Ditto.
2087 * libc/machine/powerpc/Makefile.am: Ditto.
2088 * libc/machine/sh/Makefile.am: Ditto.
2089 * libc/machine/sh/Makefile.in: Ditto.
2090 * libc/machine/sparc/Makefile.am: Ditto.
2091 * libc/machine/tic4x/Makefile.am: Ditto.
2092 * libc/machine/tic80/Makefile.am: Ditto.
2093 * libc/machine/v850/Makefile.am: Ditto.
2094 * libc/machine/w65/Makefile.am: Ditto.
2095 * libc/machine/xscale/Makefile.am: Ditto.
2096 * libc/machine/xstormy16/Makefile.am: Ditto.
2097 * libc/machine/z8k/Makefile.am: Ditto.
2098 * libc/sys/a29khif/Makefile.am: Ditto.
2099 * libc/sys/arm/Makefile.am: Ditto.
2100 * libc/sys/d10v/Makefile.am: Ditto.
2101 * libc/sys/h8300hms/Makefile.am: Ditto.
2102 * libc/sys/h8500hms/Makefile.am: Ditto.
2103 * libc/sys/linux/Makefile.am: Ditto.
2104 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2105 * libc/sys/linux/net/Makefile.am: Ditto.
2106 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2107 * libc/sys/m88kbug/Makefile.am: Ditto.
2108 * libc/sys/mmixware/Makefile.am: Ditto.
2109 * libc/sys/rdos/Makefile.am: Ditto.
2110 * libc/sys/rtems/Makefile.am: Ditto.
2111 * libc/sys/sh/Makefile.am: Ditto.
2112 * libc/sys/sun4/Makefile.am: Ditto.
2113 * libc/sys/sysmec/Makefile.am: Ditto.
2114 * libc/sys/sysnec810/Makefile.am: Ditto.
2115 * libc/sys/sysnecv850/Makefile.am: Ditto.
2116 * libc/sys/sysvi386/Makefile.am: Ditto.
2117 * libc/sys/sysvnecv70/Makefile.am: Ditto.
2118 * libc/sys/tic80/Makefile.am: Ditto.
2119 * libc/sys/w65/Makefile.am: Ditto.
2120 * libc/sys/z8ksim/Makefile.am: Ditto.
2121 * libc/machine/necv70/fastmath.S: Renamed from .s file.
2122 * libc/machine/necv70/setjmp.S: Ditto.
2123 * libc/machine/necv70/fastmath.s: Removed.
2124 * libc/machine/necv70/setjmp.s: Ditto.
2125 * libc/machine/w65/*.S: New files renamed from .s files.
2126 * libc/machine/w65/*.s: Renamed and removed.
2127 * libc/sys/a29khif/*.S: New files renamed from .s files.
2128 * libc/sys/a29khif/*.s: Renamed and removed.
2129 * libc/sys/sysvi386/*.S: New files renamed from .s files.
2130 * libc/sys/sysvi386/*.s: Renamed and removed.
2131 * libc/sys/sysvnecv70/*.S: New files renamed from .s files.
2132 * libc/sys/sysvnecv70/*.s: Renamed and removed.
2133 * libc/*Makefile.in: Regenerated as appropriate.
2134
2135 2006-04-24 DJ Delorie <dj@redhat.com>
2136
2137 * libc/machine/sh/configure.in: Avoid link tests.
2138 * libc/machine/sh/configure: Regenerate.
2139
2140 2006-04-18 Jeff Johnston <jjohnstn@redhat.com>
2141
2142 * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
2143 (sigaddset, sigemptyset): Add return code.
2144
2145 2006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
2146
2147 * acinclude.m4: New _NEWLIB_VERSION.
2148 * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
2149 Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
2150 Use new form of AC_INIT_AUTOMAKE.
2151 * configure.in: AC_PREREQ(2.59).
2152 Use autoconf-2.5.x version of AC_INIT.
2153 Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
2154 autoconf-2.13's AC_OUTPUT.
2155 * libm/configure.in: Ditto.
2156 * libm/machine/configure.in: Ditto.
2157 * libm/machine/i386/configure.in: Ditto.
2158 * libc/configure.in: Ditto.
2159 * libc/machine/a29k/configure.in: Ditto.
2160 * libc/machine/arm/configure.in: Ditto.
2161 * libc/machine/configure.in: Ditto.
2162 * libc/machine/mn10300/configure.in: Ditto.
2163 * libc/machine/powerpc/configure.in: Ditto.
2164 * libc/machine/z8k/configure.in: Ditto.
2165 * libc/machine/h8300/configure.in: Ditto.
2166 * libc/machine/mips/configure.in: Ditto.
2167 * libc/machine/crx/configure.in: Ditto.
2168 * libc/machine/m68hc11/configure.in: Ditto.
2169 * libc/machine/h8500/configure.in: Ditto.
2170 * libc/machine/xscale/configure.in: Ditto.
2171 * libc/machine/d10v/configure.in: Ditto.
2172 * libc/machine/fr30/configure.in: Ditto.
2173 * libc/machine/sh/configure.in: Ditto.
2174 * libc/machine/tic80/configure.in: Ditto.
2175 * libc/machine/m32r/configure.in: Ditto.
2176 * libc/machine/xstormy16/configure.in: Ditto.
2177 * libc/machine/i386/configure.in: Ditto.
2178 * libc/machine/d30v/configure.in: Ditto.
2179 * libc/machine/mn10200/configure.in: Ditto.
2180 * libc/machine/frv/configure.in: Ditto.
2181 * libc/machine/mt/configure.in: Ditto.
2182 * libc/machine/i960/configure.in: Ditto.
2183 * libc/machine/v850/configure.in: Ditto.
2184 * libc/machine/necv70/configure.in: Ditto.
2185 * libc/machine/tic4x/configure.in: Ditto.
2186 * libc/machine/cris/configure.in: Ditto.
2187 * libc/machine/m68k/configure.in: Ditto.
2188 * libc/machine/m32c/configure.in: Ditto.
2189 * libc/machine/hppa/configure.in: Ditto.
2190 * libc/machine/w65/configure.in: Ditto.
2191 * libc/machine/iq2000/configure.in: Ditto.
2192 * libc/machine/sparc/configure.in: Ditto.
2193 * libc/machine/m88k/configure.in: Ditto.
2194 * libc/sys/linux/configure.in: Ditto.
2195 * libc/sys/linux/machine/configure.in: Ditto.
2196 * libc/sys/linux/machine/i386/configure.in: Ditto.
2197 * libc/sys/linux/linuxthreads/configure.in: Ditto.
2198 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2199 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
2200 * libc/sys/arm/configure.in: Ditto.
2201 * libc/sys/configure.in: Ditto.
2202 * libc/sys/decstation/configure.in: Ditto.
2203 * libc/sys/a29khif/configure.in: Ditto.
2204 * libc/sys/sysnecv850/configure.in: Ditto.
2205 * libc/sys/d10v/configure.in: Ditto.
2206 * libc/sys/netware/configure.in: Ditto.
2207 * libc/sys/mmixware/configure.in: Ditto.
2208 * libc/sys/h8500hms/configure.in: Ditto.
2209 * libc/sys/sh/configure.in: Ditto.
2210 * libc/sys/tic80/configure.in: Ditto.
2211 * libc/sys/rdos/configure.in: Ditto.
2212 * libc/sys/sysmec/configure.in: Ditto.
2213 * libc/sys/sysvi386/configure.in: Ditto.
2214 * libc/sys/h8300hms/configure.in: Ditto.
2215 * libc/sys/sparc64/configure.in: Ditto.
2216 * libc/sys/arc/configure.in: Ditto.
2217 * libc/sys/sysnec810/configure.in: Ditto.
2218 * libc/sys/m88kbug/configure.in: Ditto.
2219 * libc/sys/sysvnecv70/configure.in: Ditto.
2220 * libc/sys/z8ksim/configure.in: Ditto.
2221 * libc/sys/rtems/configure.in: Ditto.
2222 * libc/sys/w65/configure.in: Ditto.
2223 * libc/sys/sun4/configure.in: Ditto.
2224 * doc/configure.in: Ditto.
2225 * iconvdata/configure.in: Ditto.
2226 * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
2227
2228 2006-04-11 Jeff Johnston <jjohnstn@redhat.com>
2229
2230 * acinclude.m4: Properly add square brackets for
2231 AC_DEFUN macros. Rewrite LIB_AC_PROG_CC to remove
2232 macros no longer available. Add LIB_AM_PROG_AS to
2233 remove prereq of AC_PROG_CC. Add LIB_AC_PROG_CC_GNU
2234 macro. Substitute lpfx (library object prefix).
2235 * configure.host: Set lpfx depending on whether
2236 libtool is used or not.
2237 * configure.in: Individually specify libc and libm
2238 to AC_CONFIG_SUBDIRS. Add square bracket quoting as
2239 necessary.
2240 * Makefile.am: Use $(lpfx) to get object names for
2241 math-library functions that should also be in libc.
2242 * libc/machine/configure.in: Use case statement to determine
2243 AC_CONFIG_SUBDIRS statement.
2244 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2245 * libc/sys/linux/machine/configure.in: Ditto.
2246 * libc/sys/configure.in: Ditto.
2247 * libm/machine/configure.in: Ditto.
2248 * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
2249 * libm/configure.in: Add AM_CONDITIONAL statement
2250 for HAVE_LIBM_MACHINE_DIR.
2251 * libc/machine/a29k/Makefile.am: Modified to work with
2252 latest automake. Change includes setting AM_CCASFLAGS
2253 so building .S files will properly pick up flags used
2254 to build C files.
2255 * libc/machine/arm/Makefile.am: Ditto.
2256 * libc/machine/crx/Makefile.am: Ditto.
2257 * libc/machine/d10v/Makefile.am: Ditto.
2258 * libc/machine/d30v/Makefile.am: Ditto.
2259 * libc/machine/fr30/Makefile.am: Ditto.
2260 * libc/machine/frv/Makefile.am: Ditto.
2261 * libc/machine/h8300/Makefile.am: Ditto.
2262 * libc/machine/h8500/Makefile.am: Ditto.
2263 * libc/machine/hppa/Makefile.am: Ditto.
2264 * libc/machine/i386/Makefile.am: Ditto.
2265 * libc/machine/iq2000/Makefile.am: Ditto.
2266 * libc/machine/m32c/Makefile.am: Ditto.
2267 * libc/machine/m32r/Makefile.am: Ditto.
2268 * libc/machine/m68hc11/Makefile.am: Ditto.
2269 * libc/machine/m68k/Makefile.am: Ditto.
2270 * libc/machine/m88k/Makefile.am: Ditto.
2271 * libc/machine/mips/Makefile.am: Ditto.
2272 * libc/machine/mn10200/Makefile.am: Ditto.
2273 * libc/machine/mn10300/Makefile.am: Ditto.
2274 * libc/machine/mt/Makefile.am: Ditto.
2275 * libc/machine/necv70/Makefile.am: Ditto.
2276 * libc/machine/powerpc/Makefile.am: Ditto.
2277 * libc/machine/sh/Makefile.am: Ditto.
2278 * libc/machine/sparc/Makefile.am: Ditto.
2279 * libc/machine/tic4x/Makefile.am: Ditto.
2280 * libc/machine/tic80/Makefile.am: Ditto.
2281 * libc/machine/v850/Makefile.am: Ditto.
2282 * libc/machine/w65/Makefile.am: Ditto.
2283 * libc/machine/xscale/Makefile.am: Ditto.
2284 * libc/machine/xstormy16/Makefile.am: Ditto.
2285 * libc/machine/z8k/Makefile.am: Ditto.
2286 * libc/sys/a29khif/Makefile.am: Ditto.
2287 * libc/sys/arc/Makefile.am: Ditto.
2288 * libc/sys/arm/Makefile.am: Ditto.
2289 * libc/sys/d10v/Makefile.am: Ditto.
2290 * libc/sys/decstation/Makefile.am: Ditto.
2291 * libc/sys/h8300hms/Makefile.am: Ditto.
2292 * libc/sys/h8500hms/Makefile.am: Ditto.
2293 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
2294 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
2295 * libc/sys/m88kbug/Makefile.am: Ditto.
2296 * libc/sys/mmixware/Makefile.am: Ditto.
2297 * libc/sys/netware/Makefile.am: Ditto.
2298 * libc/sys/rdos/Makefile.am: Ditto.
2299 * libc/sys/rtems/Makefile.am: Ditto.
2300 * libc/sys/sh/Makefile.am: Ditto.
2301 * libc/sys/sparc64/Makefile.am: Ditto.
2302 * libc/sys/sysmec/Makefile.am: Ditto.
2303 * libc/sys/sysnec810/Makefile.am: Ditto.
2304 * libc/sys/sysnecv850/Makefile.am: Ditto.
2305 * libc/sys/sysvi386/Makefile.am: Ditto.
2306 * libc/sys/sysvnecv70/Makefile.am: Ditto.
2307 * libc/sys/tic80/Makefile.am: Ditto.
2308 * libc/sys/w65/Makefile.am: Ditto.
2309 * libc/sys/z8ksim/Makefile.am: Ditto.
2310 * libm/machine/i386/Makefile.am: Ditto.
2311 * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
2312 trap.S so that automake will generate a .S.o suffix rule.
2313 * libc/argz/Makefile.am: Modified to work with
2314 latest automake. Change includes adding lib_a_CFLAGS
2315 so automake doesn't complain about libtool and non-libtool
2316 libraries sharing objects.
2317 * libc/ctype/Makefile.am: Ditto.
2318 * libc/errno/Makefile.am: Ditto.
2319 * libc/iconv/ccs/Makefile.am: Ditto.
2320 * libc/iconv/ces/Makefile.am: Ditto.
2321 * libc/iconv/lib/Makefile.am: Ditto.
2322 * libc/locale/Makefile.am: Ditto.
2323 * libc/misc/Makefile.am: Ditto.
2324 * libc/posix/Makefile.am: Ditto.
2325 * libc/reent/Makefile.am: Ditto.
2326 * libc/search/Makefile.am: Ditto.
2327 * libc/signal/Makefile.am: Ditto.
2328 * libc/stdio/Makefile.am: Ditto.
2329 * libc/stdio64/Makefile.am: Ditto.
2330 * libc/stdlib/Makefile.am: Ditto.
2331 * libc/string/Makefile.am: Ditto.
2332 * libc/sys/linux/Makefile.am: Ditto.
2333 * libc/sys/linux/argp/Makefile.am: Ditto.
2334 * libc/sys/linux/cmath/Makefile.am: Ditto.
2335 * libc/sys/linux/dl/Makefile.am: Ditto.
2336 * libc/sys/linux/iconv/Makefile.am: Ditto.
2337 * libc/sys/linux/intl/Makefile.am: Ditto.
2338 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2339 * libc/sys/linux/net/Makefile.am: Ditto.
2340 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2341 * libc/syscalls/Makefile.am: Ditto.
2342 * libc/time/Makefile.am: Ditto.
2343 * libc/unix/Makefile.am: Ditto.
2344 * libm/Makefile.am: Ditto.
2345 * libm/common/Makefile.am: Ditto.
2346 * libm/math/Makefile.am: Ditto.
2347 * libm/mathfp/Makefile.am: Ditto.
2348 * Regenerate all aclocal.m4, Makefile.in, and configure files.
2349
2350 2006-04-07 Jeff Johnston <jjohnstn@redhat.com>
2351
2352 * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
2353 anymore. Assume there is a gettimeofday syscall.
2354
2355 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2356
2357 * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
2358 for the declaration of n_long.
2359
2360 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2361
2362 * libc/sys/linux/include/net/if.h: Include sys/socket.h for
2363 struct sockaddr.
2364 (IFF_SMART): Replace this define with IFF_NOTRAILERS.
2365 (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
2366 (IFF_NOTRAILERS): New define.
2367 (struct ifreq): Add ifru_netmask.
2368 (ifr_netmask): New define.
2369
2370 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2371
2372 * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
2373 match sys/ioctl.h.
2374
2375 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2376
2377 * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
2378 linux-newlib libc implementations.
2379
2380 2006-03-29 Eric Blake <ebb9@byu.net>
2381
2382 * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
2383 * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
2384
2385 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
2386
2387 * libc/sys/linux/io.c (__mknod): Fix declaration of
2388 syscall to pass a dev_t as third argument rather than
2389 a pointer to dev_t.
2390
2391 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
2392
2393 * libc/sys/linux/net/name6.c: Fix struct references.
2394
2395 2006-03-22 Mark Mitchell <mark@codesourcery.com>
2396
2397 * configure.host: Allow hosts to set the default
2398 newlib_atexit_dynamic_alloc value.
2399 * configure.in: Likewise.
2400 * configure: Regenerated.
2401
2402 2006-03-20 Mark Mitchell <mark@codesourcery.com>
2403
2404 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
2405 * configure.in (--disable-newlib-atexit-dynamic-alloc): New
2406 option.
2407 * configure: Regenerated.
2408 * newlib.hin: Regenerated.
2409 * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
2410 if _ATEXIT_DYNAMIC_ALLOC is undefined.
2411 * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
2412 if _ATEXIT_DYNAMIC_ALLOC is undefined.
2413
2414 2006-03-17 Jeff Johnston <jjohnstn@redhat.com>
2415
2416 * libc/sys/linux/linuxthreads/config.h: Remove definition
2417 of UINT32_C.
2418
2419 2006-03-15 Jeff Johnston <jjohnstn@redhat.com>
2420
2421 * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
2422 for a string I/O file that isn't using the asprintf family.
2423
2424 2006-03-07 Eric Blake <ebb9@byu.net>
2425
2426 * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
2427 filename, allow read-only or write-only FILE atop O_RDWR file
2428 descriptor.
2429 * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
2430
2431 2006-03-07 Jeff Johnston <jjohnstn@redhat.com>
2432
2433 * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
2434 * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
2435
2436 2006-03-02 Jeff Johnston <jjohnstn@redhat.com>
2437
2438 * libm/math/math.tex: Fix reference to sisnan.def which
2439 is now in common subdirectory.
2440 * libm/mathfp/mathfp.tex: Ditto.
2441
2442 2006-02-27 Jeff Johnston <jjohnstn@redhat.com>
2443
2444 * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
2445 s_isnand, and sf_isnanf object files.
2446 * Makefile.in: Regenerated.
2447 * libc/include/ieeefp.h: Undef isnan and isinf to avoid
2448 conflict if <math.h> has previously been included.
2449 * libc/include/math.h
2450 * libc/include/math.h: Make isnan and isinf macros to
2451 conform to C99.
2452 (__isinfd, __isinff, __isnand, __isnanf): New functions.
2453 * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
2454 and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and
2455 sf_isinf files which have been moved from math/mathfp directories.
2456 * libm/common/Makefile.in: Regenerated.
2457 * libm/common/s_isinfd.c: New file.
2458 * libm/common/s_isnand.c: Ditto.
2459 * libm/common/sf_isinff.c: Ditto.
2460 * libm/common/sf_isnanf.c: Ditto.
2461 * libm/common/s_isinf.c: Moved from libm/math directory.
2462 * libm/common/s_isnan.c: Ditto.
2463 * libm/common/sf_isinf.c: Ditto.
2464 * libm/common/sf_isnan.c: Ditto.
2465 * libm/math/Makefile.am: Remove isinf and isnan family functions
2466 which have been moved into common directory.
2467 * libm/mathfp/Makefile.am: Ditto.
2468 * libm/math/Makefile.in: Regenerated.
2469 * libm/mathfp/Makefile.in: Ditto.
2470 * libm/math/s_isinf.c: Removed.
2471 * libm/math/s_isnan.c: Ditto.
2472 * libm/math/sf_isinf.c: Ditto.
2473 * libm/math/sf_isnan.c: Ditto.
2474 * libm/mathfp/s_isinf.c: Ditto.
2475 * libm/mathfp/s_isnan.c: Ditto.
2476 * libm/mathfp/sf_isinf.c: Ditto.
2477 * libm/mathfp/sf_isnan.c: Ditto.
2478
2479 2006-02-20 Jeff Johnston <jjohnstn@redhat.com>
2480
2481 * libc/stdio/fflush.c (fflush): For an fflush on a read-only
2482 stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
2483 * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
2484 seek, turn off the __SNPT no-optimization flag.
2485
2486 2006-02-16 Jeff Johnston <jjohnstn@redhat.com>
2487
2488 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
2489 will be defined.
2490 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
2491 <features.h> to preset special flags.
2492
2493 2006-02-15 Corinna Vinschen <corinna@vinschen.de>
2494
2495 * libc/include/sys/time.h (struct timeval): Change member types
2496 according to SUSv3.
2497 * libc/include/sys/types.h (useconds_t): Change to unsigned
2498 according to SUSv3.
2499 (suseconds_t): Define type.
2500
2501 2006-02-13 Jeff Johnston <jjohnstn@redhat.com>
2502 David Carne <davidcarne@gmail.com>
2503
2504 * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
2505 instead of strlen to determine number of bytes to copy.
2506 * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
2507 before looking at storage location.
2508
2509 2006-02-07 Paul Brook <paul@codesourcery.com>
2510
2511 * libc/machine/arm/setjmp.S: Add Thumb-2 support.
2512 * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
2513 * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
2514 * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
2515 * libc/sys/arm/trap.S: Disable for Thumb-2.
2516
2517 2006-01-31 Leif Ekblad <leif@rdos.net>
2518
2519 * configure.host: RDOS support added
2520 * libc/include/sys/config.h: Ditto.
2521 * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
2522 * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
2523 * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
2524 * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
2525 * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
2526 * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
2527 * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
2528 * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
2529 * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
2530 * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
2531 * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
2532 * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
2533 * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
2534 * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
2535 * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
2536 * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
2537 * libc/sys/rdos/write.c: Ditto.
2538
2539 2006-01-24 Jeff Johnston <jjohnstn@redhat.com>
2540
2541 * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
2542 so as not to define PACKAGE and VERSION in newlib.h.
2543 * aclocal.m4: Regenerated.
2544 * configure: Ditto.
2545 * newlib.hin: Ditto.
2546
2547 2006-01-20 Jeff Johnston <jjohnstn@redhat.com>
2548
2549 * acconfig.h: New file to generate newlib.hin from.
2550 * newlib.hin: Regenerated.
2551 * stamp-h.in: Regenerated.
2552 * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
2553 called automatically.
2554 * Makefile.in: Regenerated.
2555 * acinclude.m4: Add proper comment for hack in previous change.
2556 * aclocal.m4 */aclocal.m4: Regenerated.
2557 * configure */configure: Regenerated.
2558
2559 2006-01-11 Jeff Johnston <jjohnstn@redhat.com>
2560
2561 * acinclude.m4: Add hack to prevent INSTALL in subdirs
2562 from being set to "../".
2563 * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
2564 * aclocal.m4: Regenerated.
2565 * configure: Ditto.
2566 * Makefile.in: Ditto.
2567 * doc/aclocal.m4: Ditto.
2568 * doc/configure: Ditto.
2569 * iconvdata/aclocal.m4: Ditto.
2570 * iconvdata/configure: Ditto.
2571 * libc/*/aclocal.m4: Ditto.
2572 * libc/*/configure: Ditto.
2573 * libc/libc.texinfo: Ditto.
2574 * libm/*/aclocal.m4: Ditto.
2575 * libm/*/configure: Ditto.
2576
2577 2006-01-10 Eric Blake <ebb9@byu.net>
2578
2579 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
2580 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
2581
2582 2006-01-10 Jeff Johnston <jjohnstn@redhat.com>
2583
2584 * libm/mathfp/s_frexp.c: Check for special values on
2585 the original input, not the manipulated output value.
2586 * libm/mathfp/sf_frexp.c: Ditto.
2587 * libm/mathfp/s_atangent.c: Don't use local value branch
2588 when checking for quadrant.
2589 * libm/mathfp/sf_atangent.c: Ditto.
2590
2591 2006-01-09 Jeff Johnston <jjohnstn@redhat.com>
2592
2593 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
2594 * libc/stdio64/freopen64.c: Ditto.
2595
2596 2006-01-09 Eric Blake <ebb9@byu.net>
2597
2598 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
2599 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
2600
2601 2006-01-06 Jeff Johnston <jjohnstn@redhat.com>
2602
2603 * libc/sys/linux/include/getopt.h: Add macros needed by
2604 new version of getopt.c in libc/stdlib.
2605
2606 2006-01-04 Gregory Pietsch <gpietsch@comcast.net>
2607
2608 * libc/stdlib/getopt.c: Replaced with version
2609 that adds getopt_long and getopt_long_only support.
2610 * libc/include/getopt.h: New file.
2611
2612 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
2613
2614 * NEWS: Update with 1.14.0 info.
2615 * README: Ditto.
2616 * acinclude.m4: Change version number to 1.14.0.
2617 * aclocal.m4: Regenerated.
2618 * configure: Ditto.
2619 * doc/aclocal.m4: Ditto.
2620 * doc/configure: Ditto.
2621 * libc/*/aclocal.m4: Ditto.
2622 * libc/*/configure: Ditto.
2623 * libc/libc.texinfo: Ditto.
2624 * libm/*/aclocal.m4: Ditto.
2625 * libm/*/configure: Ditto.
2626 * libm/libm.texinfo: Ditto.
2627 * libc/sys/linux/shared.ld: Add VERS_1.14.
2628
2629 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
2630
2631 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
2632 take a pointer to struct stat64 rather than struct stat.
2633
2634 2005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
2635
2636 * libc/include/stdint.h: Prefer long over int for int32_t.
2637 Use __have_long32 to set up int32_t.
2638 * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
2639 (Sync with stdint.h).
2640
2641 2005-12-14 Corinna Vinschen <corinna@vinschen.de>
2642
2643 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
2644 typo in O_NDELAY comment.
2645
2646 2005-12-13 Nathan Sidwell <nathan@codesourcery.com>
2647
2648 * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
2649 * libc/include/machine/setjmp.h (__mt__): Likewise.
2650 * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
2651 * libc/machine/configure.in: Ditto.
2652
2653 2005-12-12 Nathan Sidwell <nathan@codesourcery.com>
2654
2655 * configure.host: Replace ms1 arch with mt arch.
2656 * libc/machine/mt: Renamed from ms1 dir.
2657
2658 2005-12-08 Shaun Jackman <sjackman@gmail.com>
2659
2660 * libc/include/sys/types.h: Remove the ifdef armour around
2661 standard POSIX types.
2662
2663 2005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
2664
2665 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
2666 rtems_gxx_key_delete, rtems_gxx_getspecific,
2667 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
2668 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
2669 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
2670
2671 2005-12-05 Christopher Faylor <cgf@timesys.com>
2672
2673 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
2674 file. Declare unsetenv and _unsetenv_r when not cygwin.
2675
2676 2005-11-18 Jeff Johnston <jjohnstn@redhat.com>
2677
2678 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
2679 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
2680
2681 2005-11-18 Christopher Faylor <cgf@timesys.com>
2682
2683 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
2684
2685 2005-11-18 Christopher Faylor <cgf@timesys.com>
2686
2687 * include/time.h: Remove more cygwin-specific stuff.
2688
2689 2005-11-18 Christopher Faylor <cgf@timesys.com>
2690
2691 * include/time.h: Move cygwin declarations to cygwin-specific header.
2692 * include/sys/time.h: Rename cygwin include to "sys_time.h".
2693
2694 2005-11-17 Jeff Johnston <jjohnstn@redhat.com>
2695
2696 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
2697 in libc/sys/linux/include.
2698 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
2699 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
2700 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
2701 in libc/sys/linux/dl.
2702
2703 2005-11-11 Christopher Faylor <cgf@timesys.com>
2704
2705 * libc/include/sys/time.h: For cygwin, use general header rather than
2706 specific "sys/select.h".
2707
2708 2005-11-08 Tom Walsh <tom@openhardware.net>
2709
2710 * libc/time/tzvars.c: New file.
2711 * libc/time/tzset_r.c: Moved globals into tzvars.c
2712 so other time functions needn't link in __tzset_r and its
2713 dependencies.
2714 * libc/time/Makefile.am: Add the new file.
2715 * libc/time/Makefile.in: Regenerated.
2716
2717 2005-11-08 Christopher Faylor <cgf@timesys.com>
2718
2719 * libc/include/string.h: Add cygwin-specific function declaration.
2720
2721 2005-11-07 Corinna Vinschen <corinna@vinschen.de>
2722
2723 * libc/include/ieeefp.h: Add C++ guards.
2724
2725 2005-11-03 Jeff Johnston <jjohnstn@redhat.com>
2726
2727 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
2728 * libc/unix/getlogin.c: Ditto.
2729 * libc/unix/getpass.c: Ditto.
2730 * libc/unix/getut.c: Ditto.
2731 * libc/unix/ttyname.c: Ditto.
2732
2733 2005-11-03 Shaun Jackman <sjackman@gmail.com>
2734
2735 * libc/include/sys/unistd.h (readlink, symlink): Provide these
2736 prototypes by default.
2737 * libc/sys/linux/include/unistd.h (readlink): Remove this
2738 prototype.
2739 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
2740 prototypes.
2741
2742 2005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
2743
2744 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
2745
2746 2005-10-31 Darin Johnson <darin@usa.net>
2747
2748 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
2749 correct for constants.
2750
2751 2005-10-28 Bob Wilson <bob.wilson@acm.org>
2752
2753 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
2754 * libc/stdio/siscanf.c: Likewise.
2755 * libc/stdio/sprintf.c: Likewise.
2756 * libc/stdio/sscanf.c: Likewise.
2757 * libc/stdio/vfprintf.c: Likewise.
2758 * libc/stdio/vfscanf.c: Likewise.
2759 * libc/stdio/viprintf.c: Likewise.
2760 * libc/stdio/viscanf.c: Likewise.
2761
2762 2005-10-28 Bob Wilson <bob.wilson@acm.org>
2763
2764 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
2765 example to use "_end" symbol instead of "end". Change write example
2766 to use "outbyte" instead of "writechar".
2767
2768 2005-10-28 Bob Wilson <bob.wilson@acm.org>
2769
2770 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
2771 * libc/ctype/islower.c: Likewise.
2772 * libc/ctype/isupper.c: Likewise.
2773 * libc/ctype/iswalnum.c: Likewise.
2774 * libc/ctype/iswalpha.c: Likewise.
2775 * libc/ctype/iswblank.c: Likewise.
2776 * libc/ctype/iswcntrl.c: Likewise.
2777 * libc/ctype/iswdigit.c: Likewise.
2778 * libc/ctype/iswgraph.c: Likewise.
2779 * libc/ctype/iswlower.c: Likewise.
2780 * libc/ctype/iswprint.c: Likewise.
2781 * libc/ctype/iswpunct.c: Likewise.
2782 * libc/ctype/iswspace.c: Likewise.
2783 * libc/ctype/iswupper.c: Likewise.
2784 * libc/ctype/iswxdigit.c: Likewise.
2785 * libc/ctype/tolower.c: Likewise.
2786 * libc/ctype/toupper.c: Likewise.
2787 * libc/ctype/towctrans.c: Likewise.
2788 * libc/ctype/towlower.c: Likewise.
2789 * libc/ctype/towupper.c: Likewise.
2790 * libc/string/strcasecmp.c: Likewise.
2791 * libc/string/strcoll.c: Likewise.
2792 * libc/string/strings.tex: Likewise.
2793 * libc/string/strlwr.c: Likewise.
2794 * libc/string/strncasecmp.c: Likewise.
2795 * libc/string/strupr.c: Likewise.
2796 * libc/string/wcscoll.c: Likewise.
2797 * libc/string/wcslcat.c: Likewise.
2798 * libc/string/wcslcpy.c: Likewise.
2799 * libc/string/wcsnlen.c: Likewise.
2800 * libc/string/wcsstr.c: Likewise.
2801 * libc/string/wcstrings.tex: Likewise.
2802 * libc/string/wmemchr.c: Likewise.
2803 * libc/string/wmemcmp.c: Likewise.
2804 * libc/string/wmemcpy.c: Likewise.
2805 * libc/string/wmemmove.c: Likewise.
2806 * libc/string/wmemset.c: Likewise.
2807
2808 2005-10-28 Bob Wilson <bob.wilson@acm.org>
2809
2810 * libc/misc/unctrl.c: Replace FUNCTION description.
2811 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
2812 * libc/stdio/getdelim.c: Fix spelling errors.
2813 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
2814 * libc/stdio/putw.c: Likewise.
2815 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
2816 documentation.
2817 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
2818 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
2819 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
2820 * libc/stdlib/mlock.c: Likewise.
2821 * libc/stdlib/mstats.c: Likewise.
2822 * libc/time/tzlock.c: Likewise.
2823 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
2824 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
2825 and hyphenate "pseudo-random".
2826 * libc/string/bcmp.c: Remove extra blank lines in documentation.
2827 * libc/string/strncat.c: Likewise.
2828 * libc/string/memchr.c: Remove extra ">" character in documentation.
2829 * libc/string/strcspn.c: Use "characters" instead of "chars".
2830 * libc/string/strpbrk.c: Likewise.
2831 * libc/string/strerror_r.c: Capitalize "GNU".
2832 * libc/string/strnlen.c: Likewise.
2833 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
2834 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
2835 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
2836 * libc/string/wcschr.c: Likewise.
2837 * libc/string/wcscmp.c: Likewise.
2838 * libc/string/wcscpy.c: Likewise.
2839 * libc/string/wcscspn.c: Likewise.
2840 * libc/string/wcslen.c: Likewise.
2841 * libc/string/wcsncat.c: Likewise.
2842 * libc/string/wcsncmp.c: Likewise.
2843 * libc/string/wcsncpy.c: Likewise.
2844 * libc/string/wcsnlen.c: Likewise.
2845 * libc/string/wcspbrk.c: Likewise.
2846 * libc/string/wcsrchr.c: Likewise.
2847 * libc/string/wcsspn.c: Likewise.
2848 * libc/string/wmemchr.c: Likewise.
2849 * libc/string/wmemcmp.c: Likewise.
2850 * libc/string/wmemcpy.c: Likewise.
2851 * libc/string/wmemset.c: Likewise.
2852 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
2853 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
2854 * libc/string/wcwidth.c: Likewise.
2855 * libm/common/s_modf.c: Remove extra period from documentation.
2856 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
2857 documentation.
2858 * libm/mathfp/s_isnan.c: Likewise.
2859 * libm/math/s_ldexp.c: Fix punctuation.
2860 * libm/mathfp/s_ldexp.c: Likewise.
2861 * libm/math/w_log.c: Likewise.
2862 * libm/mathfp/s_logarithm.c: Likewise.
2863 * libm/math/w_j0.c: Add spaces to FUNCTION description.
2864 * libm/mathfp/w_jn.c: Likewise.
2865
2866 2005-10-26 Shaun Jackman <sjackman@gmail.com>
2867
2868 * libc/posix/scandir.c (scandir): Update the function
2869 prototype to match the header.
2870 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
2871 extraneous #endif.
2872 * libc/sys/linux/sys/lock.h: Do not include
2873 machine/weakalias.h, since it's not used by this file.
2874
2875 2005-10-26 Jeff Johnston <jjohnstn@redhat.com>
2876
2877 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
2878 directories can override properly.
2879
2880 2005-10-20 Jeff Johnston <jjohnstn@redhat.com>
2881
2882 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
2883 gcc is 3.3 or greater, use special gcc builtins.
2884
2885 2005-10-20 Corinna Vinschen <corinna@vinschen.de>
2886
2887 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
2888
2889 2005-10-18 Corinna Vinschen <corinna@vinschen.de>
2890
2891 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
2892
2893 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2894
2895 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
2896 * libm/common/Makefile.am: Add s_infconst.c support.
2897 * libm/common/Makefile.in: Regenerated.
2898 * libm/common/s_infconst.c: New file with float and
2899 long double infinity support added.
2900 * libm/math/Makefile.am: Remove s_infconst.c support.
2901 * libm/math/Makefile.in: Regenerated.
2902 * libm/math/s_infconst.c: Moved to common directory.
2903 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
2904 * libm/mathfp/Makefile.in: Regenerated.
2905 * libm/mathfp/s_infconst.c: Moved to common directory.
2906
2907 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2908
2909 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
2910 dbgprintf to prevent conflict with new dprintf function.
2911
2912 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2913
2914 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
2915 "nan" processing for systems that have long double support.
2916
2917 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2918
2919 * libc/sys/linux/sys/types.h (int8_t): Add type.
2920
2921 2005-10-14 Bob Wilson <bob.wilson@acm.org>
2922
2923 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
2924 * libm/common/Makefile.in: Regenerate.
2925 * libm/common/common.tex: Delete file.
2926 * libm/math/math.tex: Include .def files from common/.
2927 * libm/mathfp/mathfp.tex: Likewise.
2928
2929 2005-10-14 Bob Wilson <bob.wilson@acm.org>
2930
2931 * libc/libc.texinfo (Top): Surround this node with @ifnottex
2932 instead of @ifinfo. Update menu to add Introduction and match
2933 SUBDIRS order.
2934 (Introduction): New section.
2935
2936 2005-10-14 Bob Wilson <bob.wilson@acm.org>
2937
2938 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
2939 with "Red Hat newlib C Library".
2940 * libc/sys.tex (Stubs): Likewise.
2941 * libm/math/math.tex (Math): Likewise.
2942 * libm/mathfp/mathfp.tex (Math): Likewise.
2943
2944 2005-10-11 Shaun Jackman <sjackman@gmail.com>
2945
2946 * libc/include/stdio.h (dprintf): New declaration.
2947 (vdprintf): Ditto.
2948 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
2949 and vdprintf.c.
2950 * libc/stdio/Makefile.in: Regenerate.
2951 * libc/stdio/dprintf.c: New file.
2952 * libc/stdio/vdprintf.c: New file.
2953 * libc/stdio/stdio.tex (dprintf): New entry.
2954
2955 2005-10-11 David Weatherford <weath@tensilica.com>
2956
2957 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
2958 Print "inf" and "nan" in lowercase for e/f/g formats and in
2959 uppercase for E/F/G formats.
2960
2961 2005-10-07 Bob Wilson <bob.wilson@acm.org>
2962
2963 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
2964 to ENOMEM on failure.
2965
2966 2005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
2967
2968 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
2969
2970 2005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
2971
2972 * libc/include/stdint.h: Move magic to set __have_long* to the
2973 beginning. Use #if __have* instead of #if defined(__have*).
2974 Minor typo fixes.
2975
2976 2005-10-04 James E Wilson <wilson@specifix.com>
2977
2978 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
2979 #error.
2980
2981 2005-10-03 Jeff Johnston <jjohnstn@redhat.com>
2982
2983 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
2984 incorporate Ralf's change below.
2985
2986 2005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
2987
2988 * libc/include/stdint.h:
2989 Use __INTMAX_TYPE__ to derive intmax_t.
2990 Use __UINTMAX_TYPE__ to derive uintmax_t.
2991 Fix minor typo.
2992
2993 2005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
2994
2995 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
2996 handling GCC >= 4.
2997
2998 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
2999
3000 * libc/sys/linux/include/stdint.h: Update to match functionality
3001 of generic newlib stdint.h.
3002
3003 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3004
3005 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
3006 and do not #undef the macro after it is used. Fix typos.
3007 Also change 64-bit constants to use the __have_long64 and
3008 __have_longlong64 flags to determine if long or long long
3009 constants should be used.
3010 * libc/include/inttypes.h: Include stddef.h to get wchar_t
3011 type defined.
3012
3013 2005-09-20 Shaun Jackman <sjackman@gmail.com>
3014
3015 * libc/include/stdint.h: Fix typo in names of
3016 LEAST macros.
3017
3018 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3019
3020 * libc/sys/rtems/include/inttypes.h: Moved to...
3021 * libc/include/inttypes.h: ...here.
3022
3023 2005-09-19 Jeff Johnston <jjohnstn@redhat.com>
3024
3025 * libc/sys/rtems/include/stdint.h: Moved to...
3026 * libc/include/stdint.h: ...here.
3027
3028 2005-09-08 Jeff Johnston <jjohnstn@redhat.com>
3029
3030 * Makefile.am: Add include files under bits sub-directory.
3031 * Makefile.in: Regenerated.
3032 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
3033 actual value of 1 to be compatible with newer glibc headers.
3034 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
3035 glibc headers.
3036 * libc/sys/linux/sys/dirent.h: Ditto.
3037 * libc/sys/linux/argp/argp-xinl.c: Ditto.
3038 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
3039 profile_fixup routines are marked used so they won't be
3040 optimized away.
3041 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
3042 to mark functions as weak.
3043 * libc/sys/linux/dl/dl-open.c: Ditto.
3044 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
3045 rules about lvalues.
3046 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
3047 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
3048 weak_extern macro to mark functions as weak. Instead always
3049 use #pragma weak.
3050 * iconvdata/jis0208.h: Fix to work with gcc4.
3051 * libc/sys/linux/dl/dl-load.c: Ditto.
3052 * libc/sys/linux/dl/dl-reloc.c: Ditto.
3053 * libc/sys/linux/dl/do-rel.h: Ditto.
3054 * libc/sys/linux/dl/dynamic-link.h: Ditto.
3055 * libc/sys/linux/include/ltdl.h: Ditto.
3056 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
3057 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
3058 * libc/sys/linux/net/ns_ntoa.c: Ditto.
3059 * libc/sys/linux/bits/initspin.h: New file.
3060 * libc/sys/linux/bits/libc-lock.h: Ditto.
3061 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
3062 * libc/sys/linux/bits/typesizes.h: Ditto.
3063
3064 2005-09-08 Eric Blake <ebb9@byu.net>
3065
3066 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
3067 before is NULL.
3068
3069 2005-09-08 Brian Dessent <brian@dessent.net>
3070
3071 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
3072 mantissa.
3073 * s_lrint.c: Ditto.
3074
3075 2005-09-02 Jeff Johnston <jjohnstn@redhat.com>
3076
3077 * libc/include/stdio.h: Add prototype for viprintf.
3078
3079 2005-09-01 Jeff Johnston <jjohnstn@redhat.com>
3080
3081 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
3082 any positive power results in 0.
3083 * libm/mathfp/sf_pow.c (powf): Ditto.
3084
3085 2005-08-31 Paul Brook <paul@codesourcery.com>
3086
3087 * configure.host: Set have_crt0 to no for Arm targts when not
3088 providing syscalls. Set sys_dir=arm unconditionally.
3089 Default have_crt0 based on sys_dir.
3090 * configure.in: Use have_crt0.
3091 * libc/configure.in: Ditto.
3092 * libc/sys/configure.in: Ditto.
3093 * configure: Regenerate.
3094 * libc/configure: Regenerate.
3095 * libc/sys/configure: Regenerate.
3096 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
3097 Only build other files when providing syscalls.
3098 * libc/sys/arm/Makefile.in: Regenerate.
3099 * libc/sys/arm/aeabi_atexit.c: New file.
3100
3101 2005-08-26 Christopher Faylor <cgf@timesys.com>
3102
3103 * libc/include/string.h: Revert previous change.
3104
3105 2005-08-25 Christopher Faylor <cgf@timesys.com>
3106
3107 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
3108
3109 2005-08-22 Shaun Jackman <sjackman@gmail.com>
3110
3111 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
3112 define _opendir as opendir, _readdir as readdir, and
3113 _closedir as closedir so that the implementations in
3114 libc/posix will be used.
3115
3116 2005-08-10 DJ Delorie <dj@redhat.com>
3117
3118 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
3119
3120 2005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
3121
3122 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
3123 * libm/common/s_max.c: Ditto.
3124 * libm/common/sf_fmin.c: Ditto.
3125 * libm/common/s_min.c: Ditto.
3126
3127 2005-08-10 DJ Delorie <dj@redhat.com>
3128
3129 * configure.host: Add m32c support.
3130 * libc/include/machine/ieeefp.h: Likewise.
3131 * libc/include/machine/setjmp.h: Likewise.
3132 * libc/include/sys/config.h: Likewise.
3133 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
3134 * libc/machine/m32c/aclocal.m4: New file.
3135 * libc/machine/m32c/configure: Ditto.
3136 * libc/machine/m32c/configure.in: Ditto.
3137 * libc/machine/m32c/Makefile.am: Ditto.
3138 * libc/machine/m32c/Makefile.in: Ditto.
3139 * libc/machine/m32c/setjmp.S: Ditto.
3140
3141 2005-08-02 Bob Wilson <bob.wilson@acm.org>
3142
3143 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
3144 to the value for 2^126.
3145
3146 2005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
3147
3148 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
3149 used.
3150
3151 2005-07-20 Bob Wilson <bob.wilson@acm.org>
3152 Darin Petkov <darin@tensilica.com>
3153
3154 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
3155
3156 2005-07-19 Paul Brook <paul@codesourcery.com>
3157
3158 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
3159
3160 2005-07-18 Joseph S. Myers <joseph@codesourcery.com>
3161
3162 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
3163 names after PASS and FAIL which do not depend on source directory
3164 name or on whether test passed or failed.
3165 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
3166
3167 2005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
3168
3169 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
3170
3171 2005-07-07 Shaun Jackman <sjackman@gmail.com>
3172
3173 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
3174 twice for the same directory. _closedir calls free, and freeing
3175 the same pointer twice may cause a crash.
3176
3177 2005-07-06 Aldy Hernandez <aldyh@redhat.com>
3178
3179 * configure.host: Added entry for ms1*.
3180 * libc/include/machine/ieeefp.h: Handle ms1.
3181 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
3182 * libc/machine/ms1/aclocal.m4: New.
3183 * libc/machine/ms1/configure: New.
3184 * libc/machine/ms1/configure.in: New.
3185 * libc/machine/ms1/Makefile.am: New.
3186 * libc/machine/ms1/Makefile.in: New.
3187 * libc/machine/ms1/setjmp.S: New.
3188
3189 2005-07-04 Mark Mitchell <mark@codesourcery.com>
3190
3191 * Makefile.am (site.exp): Set tmpdir.
3192 * Makefile.in: Regenerated.
3193 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
3194 executables in $tmpdir.
3195 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
3196 libgloss version if not running in the build directory.
3197 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
3198 $tmpdir.
3199 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
3200 in $tmpdir.
3201
3202 2005-06-28 Dave Korn <dave.korn@artimi.com>
3203
3204 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
3205 and miscalculation caused by fp representation of zero.
3206 * libm/common/sf_lrint.c (lrintf): Likewise.
3207
3208 2005-06-16 Christopher Faylor <cgf@timesys.com>
3209
3210 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
3211 determine characteristics of long double. Use a union instead.
3212 * ldtoa.c (_ldtoa_r): Ditto.
3213 (_ldcheck): Ditto.
3214 (_strtold): Ditto.
3215 (union uconv): New union.
3216
3217 2005-06-03 Jeff Johnston <jjohnstn@redhat.com>
3218
3219 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
3220 instead of memcpy.
3221
3222 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
3223
3224 * configure.host (mn10300-*): Add long long I/O support by default.
3225
3226 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
3227
3228 * libc/sys/linux/getpwuid.c: Removed.
3229 * libc/sys/linux/getpwnam.c: Removed.
3230 * libc/sys/linux/getpwent.c: New file containing logic
3231 from files removed above. This allows overriding of file
3232 in libc/unix.
3233 * libc/sys/linux/Makefile.am: Support changes above.
3234 * libc/sys/linux/Makefile.in: Regenerated.
3235
3236 2005-04-28 Jeff Johnston <jjohnstn@redhat.com>
3237
3238 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
3239 when checking for multiple flags.
3240
3241 2005-04-18 Hans-Peter Nilsson <hp@axis.com>
3242
3243 * configure.host <cris-*-* | crisv32-*-*>: Set
3244 default_newlib_io_long_long="yes".
3245
3246 2005-04-08 Jeff Johnston <jjohnstn@redhat.com>
3247
3248 * libc/include/libgen.h: New file.
3249
3250 2005-04-08 Shaun Jackman <sjackman@gmail.com>
3251
3252 * libc/unix/Makefile.am: Add support for basename and dirname.
3253 * libc/unix/Makefile.in: Regenerated.
3254 * libc/unix/basename.c: New file.
3255 * libc/unix/dirname.c: New file.
3256
3257 2005-04-07 Shaun Jackman <sjackman@gmail.com>
3258
3259 * libc/sys/linux/inode.c (lchown): New function.
3260
3261 2005-04-07 Shaun Jackman <sjackman@gmail.com>
3262
3263 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
3264 ELIX level is defined.
3265 * libc/unix/Makefile.in: Regenerated.
3266
3267 2005-04-05 Dave Korn <dave.korn@artimi.com>
3268
3269 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
3270 something that looks like a "NaN", put back the characters processed.
3271
3272 2005-04-01 Corinna Vinschen <corinna@vinschen.de>
3273
3274 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
3275
3276 2005-03-23 Christopher Faylor <cgf@timesys.com>
3277
3278 * configure.host: For cygwin, redefine CC with cygwin include directory
3279 first to mimic the behavior of the top-level configury. Move include
3280 directory out of newlib_cflags.
3281
3282 2005-03-22 Jeff Johnston <jjohnstn@redhat.com>
3283
3284 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
3285 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
3286 than errno.
3287
3288 2005-03-22 Christopher Faylor <cgf@timesys.com>
3289
3290 * libc/include/machine/_types.h: Make trivial change to comment to
3291 avoid a spurious warning from gcc.
3292
3293 2005-03-21 Nicholas Wourms <nwourms@netscape.net>
3294
3295 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
3296 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
3297 reent.h include.
3298
3299 2005-03-18 Hans-Peter Nilsson <hp@axis.com>
3300 Corinna Vinschen <corinna@vinschen.de>
3301
3302 * libc/include/ctype.h: Remove invalid +1 offset from
3303 ctype macro references to __ctype_ptr.
3304 (_ctype_): Move declaration outside #ifndef __cplusplus.
3305
3306 2005-03-18 Corinna Vinschen <corinna@vinschen.de>
3307
3308 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
3309 evaluate first parameter only once.
3310 (siglongjmp): Ditto.
3311
3312 2005-03-17 Jeff Johnston <jjohnstn@redhat.com>
3313
3314 * configure.in: Add new check to see if compiler supports
3315 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
3316 * configure: Regenerated.
3317 * Makefile.in: Ditto.
3318 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
3319 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
3320 aliasing the _ctype_ array to _ctype_b.
3321 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
3322 _ctype_ as deprecated.
3323
3324 2005-03-17 Hans-Peter Nilsson <hp@axis.com>
3325
3326 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
3327 -DCOMPACT_CTYPE.
3328
3329 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3330
3331 * libc/sys/rtems/include/inttypes.h: New file.
3332 * libc/sys/rtems/include/stdint.h: Ditto.
3333
3334 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3335
3336 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
3337
3338 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3339
3340 * libc/include/machine/_types.h: New file.
3341 * libc/include/sys/types.h: Do not check for __rtems__
3342 when including <machine/_types.h>. Remove some redundant
3343 declarations now that <machine/_types.h> is included.
3344 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
3345 shared header file.
3346
3347 2005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
3348
3349 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
3350 L qualifier for these long constants.
3351
3352 2005-02-25 Eric Blake <ebb9@byu.net>
3353
3354 * libc/include/time.h (__tzrule_struct): Make offset long, since
3355 a 16-bit int overflows on a 12-hour offset.
3356 * libc/sys/linux/include/time.h: Ditto.
3357 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
3358 * libc/time/mktm_r.c: Ditto.
3359 * libc/time/gettzinfo.c: Ditto.
3360 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
3361 years. Fix '%z' to use long, not int.
3362
3363 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
3364
3365 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
3366 manipulate float values in integer form.
3367 * libm/common/sf_round.c: Ditto.
3368
3369 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
3370
3371 * libc/include/sys/types.h [__rtems__]: Include new
3372 header file machine/_types.h.
3373 * libc/include/machine/types.h: Ditto.
3374 * libc/sys/rtems/machine/_types.h: New file.
3375
3376 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
3377
3378 * libc/include/time.h (_timezone): Change to long also for Cygwin.
3379 (timezone): Drop cast from definition.
3380
3381 2005-02-23 Jeff Johnston <jjohnstn@redhat.com>
3382
3383 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
3384 (__tzrule_type, __tzinfo_type): New types.
3385 (__gettzinfo): New function.
3386 * libc/sys/linux/include/time.h: Ditto.
3387 * libc/time/Makefile.am: Add gettzinfo.c.
3388 * libc/time/Makefile.in: Regenerated.
3389 * libc/time/local.h: Moved __tzrule_type to time.h.
3390 * libc/time/mktime.c: Call __gettzinfo to reference
3391 __tznorth, __tzyear, and __tzrule array.
3392 * libc/time/mktm_r.c: Ditto.
3393 * libc/time/strftime.c: Ditto.
3394 * libc/time/tzset_r.c: Ditto. Also remove definition
3395 of __tzrule which is now in gettzinfo.c. Change _timezone
3396 references to not cast to time_t.
3397 * libc/time/gettzinfo.c: New file.
3398
3399 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
3400
3401 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
3402
3403 2005-02-22 Corinna Vinschen <corinna@vinschen.de>
3404
3405 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
3406
3407 2005-02-16 Eric Blake <ebb9@byu.net>
3408
3409 * libc/time/time.tex: Improve the documentation.
3410 * libc/time/strftime.c: Improve the documentation.
3411 (iso_year_adjust): New helper function.
3412 (strftime): Simplify '%E' and '%O'. Change '%c' to use
3413 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
3414 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
3415 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
3416 Avoid core dumps on valid inputs (maxsize == 0, or
3417 tim_p->tm_isdst > 1).
3418
3419 2005-02-08 Corinna Vinschen <corinna@vinschen.de>
3420
3421 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
3422 members to uid_t and gid_t according to SUSv3.
3423 * libc/include/sys/time.h (utimes): Change second parameter
3424 to const according to SUSv3.
3425
3426 2005-02-07 Antony King <antony.king@st.com>
3427
3428 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
3429 called before _flockfile to prevent lock object use before
3430 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
3431 take a struct _reent * instead of a FILE *.
3432 * libc/stdio/fclose.c (_fclose_r): Ditto.
3433 * libc/stdio/feof.c (feof): Ditto.
3434 * libc/stdio/ferror.c (ferror): Ditto.
3435 * libc/stdio/fflush.c (fflush): Ditto.
3436 * libc/stdio/fgetc.c (fgetc): Ditto.
3437 * libc/stdio/fgets.c (fgets): Ditto.
3438 * libc/stdio/fileno.c (fileno): Ditto.
3439 * libc/stdio/fputc.c (fputc): Ditto.
3440 * libc/stdio/fputs.c (fputs): Ditto.
3441 * libc/stdio/fread.c (fread): Ditto.
3442 * libc/stdio/freopen.c (_freopen_r): Ditto.
3443 * libc/stdio/fseek.c (_fseek_r): Ditto.
3444 * libc/stdio/ftell.c (_ftell_r): Ditto.
3445 * libc/stdio/fwrite.c (fwrite): Ditto.
3446 * libc/stdio/getc.c (getc): Ditto.
3447 * libc/stdio/getdelim.c (__getdelim): Ditto.
3448 * libc/stdio/putc.c (putc): Ditto.
3449 * libc/stdio/setvbuf.c (setvbuf): Ditto.
3450 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
3451 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
3452 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
3453 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
3454 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
3455 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
3456 _reent * instead of a FILE * and so replace incorrect use of
3457 _REENT with argument.
3458 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
3459 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
3460 CHECK_INIT() take a struct _reent * instead of a FILE *.
3461 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
3462 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
3463 * libc/stdio/perror.c (perror): Ditto.
3464 * libc/stdio/printf.c (printf, _printf_r): Ditto.
3465 * libc/stdio/putchar.c (putchar): Ditto.
3466 * libc/stdio/puts.c (puts): Ditto.
3467 * libc/stdio/refill.c (__srefill): Ditto.
3468 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
3469 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
3470 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
3471 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
3472 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
3473 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
3474 * libc/stdio/wbuf.c (__swbuf): Ditto.
3475 * libc/stdio/wsetup.c (__swsetup): Ditto.
3476 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
3477 * libc/stdlib/mstats.c (_mstats_r): Ditto.
3478 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
3479 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
3480 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
3481 to _flockfile and _funlockfile; rely on locking in _ftell_r.
3482 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
3483 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
3484 initialision of _data field in FILE structure.
3485 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
3486
3487 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
3488
3489 * libc/stdio/findfp.c (__sinit): Protect with new lock.
3490 (__sinit_lock): New lock.
3491 (__sinit_lock_acquire, __sinit_lock_release): New functions.
3492 * libc/stdio/local.h: Add reference to new __sinit locking
3493 functions.
3494
3495 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
3496
3497 * libc/include/math.h (isfinite, isnormal, isunordered): Change
3498 input variable names to avoid mixups with nesting macros.
3499
3500 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3501
3502 * configure.host: Add support for cris-*-* and crisv32-*-*.
3503 * libc/include/machine/ieeefp.h: Ditto.
3504 * libc/include/machine/setjmp.h: Ditto.
3505 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
3506 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
3507 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
3508 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
3509 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
3510 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
3511 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
3512 files.
3513
3514 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3515
3516 * testsuite/newlib.string/memmove1.c: New test.
3517
3518 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3519
3520 * testsuite/include/check.h: Include stdlib.h.
3521
3522 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3523
3524 * Makefile.am (stmp-targ-include): Support include header files
3525 from machine directories.
3526 (install-data-local): Ditto.
3527 * Makefile.in: Regenerate.
3528
3529 2005-01-24 Jeff Johnston <jjohnstn@redhat.com>
3530
3531 * libc/include/string.h: Remove Linux-specific declaration of
3532 strsignal and add #include <sys/string.h>.
3533 * libc/include/sys/string.h: New file.
3534 * libc/include/sys/linux/sys/string.h: New file with strsignal
3535 declaration deleted above.
3536
3537 2005-01-20 Jeff Johnston <jjohnstn@redhat.com>
3538
3539 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
3540 to POSIX standard for "C" locale. Allow %E and %O modifiers
3541 to be ignored as long as they precede valid specifiers according
3542 to POSIX.
3543
3544 2005-01-19 Shaun Jackman <sjackman@gmail.com>
3545
3546 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
3547 environment variable is set.
3548
3549 2005-01-19 Shaun Jackman <sjackman@gmail.com>
3550
3551 * tzset_r.c (_tzname): Add a comma.
3552
3553 2005-01-18 Aldy Hernandez <aldyh@redhat.com>
3554
3555 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
3556 _VFPRINTF_R.
3557
3558 2005-01-07 Paul Brook <paul@codesourcery.com>
3559
3560 * configure.in: Add test for .init_array.
3561 * configure: Regenerate.
3562 * newlib.hin: Add HAVE_INITFINI_ARRAY.
3563 * libc/misc/Makefile.am: Add init.c
3564 * libc/misc/Makefile.in: Regenerate.
3565 * libc/misc/init.c: New file.
3566 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
3567 _init/_fini if they exist.
3568
3569 2005-01-06 Jeff Johnston <jjohnstn@redhat.com>
3570
3571 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
3572 * (strtof): Ditto.
3573 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
3574 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
3575 functions for use by strtod and strtof.
3576 * Makefile.in: Regenerated.
3577
3578 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
3579
3580 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
3581 bit-test in combination with NULL test.
3582
3583 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
3584
3585 * README: Fix typo of LGPL. Change "license" to "copyright".
3586
3587 2004-12-17 Jeff Johnston <jjohnstn@redhat.com>
3588
3589 * NEWS: Update with 1.13.0 info.
3590 * README: Ditto.
3591 * acinclude.m4: Change version number to 1.13.0.
3592 * aclocal.m4: Regenerated.
3593 * configure: Ditto.
3594 * doc/aclocal.m4: Ditto.
3595 * doc/configure: Ditto.
3596 * libc/*/aclocal.m4: Ditto.
3597 * libc/*/configure: Ditto.
3598 * libc/libc.texinfo: Ditto.
3599 * libm/*/aclocal.m4: Ditto.
3600 * libm/*/configure: Ditto.
3601 * libm/libm.texinfo: Ditto.
3602 * libc/sys/linux/shared.ld: Add VERS_1.13.
3603
3604 2004-12-17 Christian Groessler <chris@groessler.org>
3605
3606 * libc/machine/z8k/memcmp.S: New file.
3607 * libc/machine/z8k/memcpy.S: Ditto.
3608 * libc/machine/z8k/memmove.S: Ditto.
3609 * libc/machine/z8k/memset.S: Ditto.
3610 * libc/machine/z8k/Makefile.am: Add new files.
3611 * libc/machine/z8k/Makefile.in: Regenerated.
3612 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
3613 part. Implement Z8002 stdcall version.
3614
3615 2004-12-13 Jeff Johnston <jjohnstn@redhat.com>
3616
3617 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
3618 a low-level read if we don't get the full amount of bytes so
3619 EOF or error flags will be set.
3620
3621 2004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
3622
3623 * libc/time/tzset_r (_tzset_r): Properly skip over
3624 '/' when it is detected.
3625
3626 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
3627
3628 * libc/time/tzset_r (_tzset_r): Fix loop.
3629
3630 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
3631
3632 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
3633 m_day.
3634 (__tzcalc_limits): Fix reference to month array to be zero-based.
3635
3636 2004-12-07 Jeff Johnston <jjohnstn@redhat.com>
3637
3638 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
3639 and usleep.
3640
3641 2004-12-03 Jeff Johnston <jjohnstn@redhat.com>
3642
3643 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
3644 libgcc dependencies.
3645 (libm_la_LDFLAGS): Ditto.
3646 * Makefile.in: Regenerated.
3647
3648 2004-12-03 Shaun Jackman <sjackman@gmail.com>
3649
3650 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
3651 our link to use readlink so as to preserve any relative link created
3652 by install-toollibLIBRARIES.
3653 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
3654
3655 2004-12-02 Shaun Jackman <sjackman@gmail.com>
3656
3657 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
3658 time_t before including sys/stat.h, which uses it.
3659 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
3660 <linux/time.h> just prior to definition of __KERNEL__ so as to
3661 allow building on Debian Linux where otherwise, mktime would
3662 be redefined.
3663
3664 2004-11-26 Paul Brook <paul@codesourcery.com>
3665
3666 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
3667
3668 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
3669
3670 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
3671 const for value string parameter to match Single Unix and glibc.
3672 * libc/stdlib/putenv.c: Ditto.
3673 * libc/stdlib/putenv_r.c: Ditto.
3674
3675 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
3676
3677 * libc/stdio/Makefile.am: Fix missing vfscanf.
3678 * libc/stdio/Makefile.in: Regenerated.
3679
3680 2004-11-23 Jeff Johnston <jjohnstn@redhat.com>
3681
3682 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
3683 do some reordering.
3684 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
3685 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
3686 family functions.
3687 * libc/stdio/Makefile.in: Regenerated.
3688 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
3689 * libc/stdio/iprintf.c: Ditto.
3690 * libc/stdio/local.h (__svfiscanf_r): New prototype.
3691 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
3692 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
3693 * libc/stdio/stdio.tex: Add new functions.
3694 * libc/stdio/vfscanf.c: Split out __sccl function to separate
3695 file and add special name defines so this file can be used
3696 to build vfiscanf.o.
3697 * libc/stdio/asiprintf.c: New file.
3698 * libc/stdio/fiscanf.c: Ditto.
3699 * libc/stdio/iscanf.c: Ditto.
3700 * libc/stdio/sccl.c: Ditto.
3701 * libc/stdio/siscanf.c: Ditto.
3702 * libc/stdio/vasiprintf.c: Ditto.
3703 * libc/stdio/viprintf.c: Ditto.
3704 * libc/stdio/viscanf.c: Ditto.
3705 * libc/stdio/vsiprintf.c: Ditto.
3706 * libc/stdio/vsiscanf.c: Ditto.
3707 * libc/stdio/vsniprintf.c: Ditto.
3708
3709 2004-11-19 Shaun Jackman <sjackman@gmail.com>
3710
3711 * libc/include/stdio.h: Add sniprintf.
3712 * libc/stdio/Makefile.am: Add sniprintf.c.
3713 * libc/stdio/Makefile.in: Regenerated.
3714 * libc/stdio/sniprintf.c: New file.
3715 * libc/stdio/stdio.tex: Add sniprintf.
3716
3717 2004-11-17 Christopher Faylor <cgf@timesys.com>
3718
3719 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
3720 EOF flag if successful.
3721
3722 2004-10-28 Christopher Faylor <cgf@timesys.com>
3723
3724 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
3725 so that all relevant definitions have been performed for use in the
3726 include.
3727
3728 2004-10-26 Jason Tishler <jason@tishler.net>
3729
3730 * libc/stdio/fread.c (fread): Fix return value for unbuffered
3731 fread.
3732
3733 2004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3734
3735 * libc/include/machine/setjmp.h: Add AVR support.
3736 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
3737
3738 2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
3739
3740 * libc/include/sys/signal.h: If <signal.h> didn't include
3741 this header file, include <signal.h> to account for
3742 applications that take advantage that the two header
3743 files are the same in glibc.
3744
3745 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
3746
3747 * configure.host: Add support for crx.
3748 * libc/include/machine/ieeefp.h: Ditto.
3749 * libc/include/machine/setjmp.h: Ditto.
3750 * libc/machine/crx/Makefile.am: New file.
3751 * libc/machine/crx/configure.in: Ditto.
3752 * libc/machine/crx/setjmp.S: Ditto.
3753 * libc/machine/crx/getenv.c: Ditto.
3754 * libc/machine/crx/aclocal.m4: Generate.
3755 * libc/machine/crx/configure: Ditto.
3756 * libc/machine/crx/Makefile.in: Ditto.
3757 * libc/machine/crx/sys/asm.h: New file.
3758 * libc/machine/crx/sys/libh.h: Ditto.
3759 * libc/machine/crx/sys/syscall.h: Ditto.
3760
3761 2004-10-05 Jeff Johnston <jjohnstn@redhat.com>
3762
3763 * Makefile.am (stmp-targ-include): Support sys header files
3764 from machine directories.
3765 * Makefile.in: Regenerated.
3766
3767 2004-10-04 Jeff Johnston <jjohnstn@redhat.com>
3768
3769 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
3770 count skipped zero characters as part of the nread count for %n.
3771 * libc/machine/powerpc/vfscanf.c: Ditto.
3772
3773 2004-09-24 Jeff Johnston <jjohnstn@redhat.com>
3774
3775 * libc/stdio/local.h: Include <stdlib.h>.
3776
3777 2004-09-24 Corinna Vinschen <corinna@vinschen.de>
3778
3779 * libc/stdio/fread.c (fread): Include <malloc.h>.
3780
3781 2004-09-22 Jeff Johnston <jjohnstn@redhat.com>
3782
3783 * libc/stdio/fread.c (fread): For non-space-optimized case,
3784 add special code for unbuffered files to use user buffer and
3785 only require one low-level system read.
3786
3787 2004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
3788
3789 * libc/machine/xscale/setjmp.S: New file, copied from
3790 libc/machine/arm/setjmp.S.
3791 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
3792 * libc/machine/xscale/Makefile.in: Regenerate.
3793
3794 2004-09-16 Antony King <antony.king@st.com>
3795
3796 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
3797 with locking API.
3798 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
3799 check for__SSTR in _flags and if set, skip lock request.
3800 (_funlockfile)[!SINGLE_THREAD]: Ditto.
3801 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
3802 not NULL.
3803 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
3804 initialisation of _file to -1 in local FILE.
3805 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
3806 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
3807 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
3808 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
3809 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
3810 _flags in local FILE to prevent locking.
3811 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
3812
3813 2004-09-16 Antony King <antony.king@st.com>
3814
3815 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
3816 and only walk the reentrancy parameter.
3817 (_fwalk_reent): Ditto.
3818 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
3819
3820 2004-09-16 Antony King <antony.king@st.com>
3821
3822 * libc/stdio64/freopen64.c: Remove casting of fp lock to
3823 _LOCK_RECURSIVE_T.
3824
3825 2004-09-16 Antony King <antony.king@st.com>
3826
3827 * libc/time/tzlock.c: Add default stubs that use generic
3828 locking code.
3829
3830 2004-09-16 Antony King <antony.king@st.com>
3831
3832 * libc/ctype/ctype.tex: Added missing documentation.
3833 * libc/stdio/stdio.tex Ditto.
3834 * libc/stdlib/stdlib.tex Ditto.
3835 * libc/string/strings.tex Ditto.
3836 * libc/time/time.tex: Ditto.
3837 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
3838
3839 2004-09-15 Corinna Vinschen <vinschen@redhat.com>
3840
3841 * libc/reent/impure.c (reent_data): Define as alias to impure_data
3842 when building for Cygwin.
3843 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
3844 _global_impure_ptr.
3845
3846 2004-09-15 Jeff Johnston <jjohnstn@redhat.com>
3847
3848 * configure.host: Reverting 2004-09-14 change as fix has occurred on
3849 Cygwin side.
3850 * configure.in: Ditto.
3851 * libc/configure.in: Ditto.
3852 * libc/sys/configure.in: Ditto.
3853 * configure: Ditto.
3854 * libc/configure: Ditto.
3855 * libc/sys/configure: Ditto.
3856 * libc/include/sys/reent.h: Ditto.
3857 * libc/stdlib/__atexit.c: Ditto.
3858 * libc/stdlib/__call_atexit.c: Ditto.
3859 * libc/stdlib/cxa_atexit.c: Ditto.
3860 * libc/stdlib/cxa_finalize.c: Ditto.
3861 * libc/sys/cygwin/Makefile.am: Removed again.
3862 * libc/sys/cygwin/Makefile.in: Ditto.
3863 * libc/sys/cygwin/aclocal.m4: Ditto.
3864 * libc/sys/cygwin/configure: Ditto.
3865 * libc/sys/cygwin/configure.in: Ditto.
3866 * libc/sys/cygwin/dummy.c: Ditto.
3867 * libc/sys/cygwin/sys/reent.h: Ditto.
3868
3869 2004-09-14 Jeff Johnston <jjohnstn@redhat.com>
3870
3871 * configure.host: Add Cygwin sys directory.
3872 * configure.in: Do not set CRT0 for cygwin.
3873 * libc/configure.in: Ditto.
3874 * libc/sys/configure.in: Ditto.
3875 * configure: Regenerated.
3876 * libc/configure: Ditto.
3877 * libc/sys/configure: Ditto.
3878 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
3879 * libc/stdlib/__atexit.c: Keep cxa support protected by new
3880 __REENT_HAS_CXA_SUPPORT flag.
3881 * libc/stdlib/__call_atexit.c: Ditto.
3882 * libc/stdlib/cxa_atexit.c: Ditto.
3883 * libc/stdlib/cxa_finalize.c: Ditto.
3884 * libc/sys/cygwin/Makefile.am: New file.
3885 * libc/sys/cygwin/Makefile.in: Ditto.
3886 * libc/sys/cygwin/aclocal.m4: Ditto.
3887 * libc/sys/cygwin/configure: Ditto.
3888 * libc/sys/cygwin/configure.in: Ditto.
3889 * libc/sys/cygwin/dummy.c: Ditto.
3890 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
3891 version of reent.h.
3892
3893 2004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3894
3895 * libc/iconv/iconv.tex: Updated with new content.
3896 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
3897 instead of NLS_DEFAULT_NLSPATH.
3898 * libc/iconv/lib/iconvnls.h: Fix typo.
3899 * libc/include/sys/iconvnls.h: New file.
3900
3901 2004-09-09 Paul Brook <paul@codesourcery.com>
3902
3903 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
3904 and _is_cxa.
3905 (struct _atexit): Add _next when _REENT_SMALL.
3906 (struct _reent): Add _atexit0 when _REENT_SMALL.
3907 (_REENT_INIT_PTR): Adjust.
3908 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
3909 __call_exit.c.
3910 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
3911 * libc/stdlib/Makefile.in: Regenerate.
3912 * libc/stdlib/__atexit.c: New file.
3913 * libc/stdlib/__call_atexit.c: New file.
3914 * libc/stdlib/atexit.h: Remove old definitions. Add new.
3915 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
3916 * libc/stdlib/cxa_atexit.c: New file.
3917 * libc/stdlib/cxa_finalize.c: New file.
3918 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
3919 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
3920 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
3921 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
3922 _on_exit_args_ptr.
3923
3924 2004-08-23 Jeff Johnston <jjohnstn@redhat.com>
3925
3926 * libc/include/sys/unistd.h (getpass): Change prototype to use
3927 const instead of __const.
3928
3929 2004-08-16 Nathan Sidwell <nathan@codesourcery.com>
3930
3931 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
3932 #if.
3933
3934 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
3935
3936 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
3937 on linux systems with glibc 2.3.3 installed.
3938 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
3939 profile_fixup so newlib can build on fc3 system.
3940
3941 2004-07-30 Alexandre Oliva <aoliva@redhat.com>
3942
3943 Introduce SH2a support.
3944 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
3945 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
3946 __SH2A_SINGLE_ONLY__, too.
3947 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
3948 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
3949 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
3950 2004-02-10 DJ Delorie <dj@redhat.com>
3951 * libc/sys/sh/crt0.S (start_l): Support sh2a.
3952
3953 2004-07-29 Jeff Johnston <jjohnstn@redhat.com>
3954
3955 * libc/time/strptime.c: Correct full-name of "March" typo.
3956
3957 2004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
3958
3959 * configure.host (h8300*-*-*): Default long long printing support.
3960
3961 2004-07-16 Jeff Johnston <jjohnstn@redhat.com>
3962
3963 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
3964 calls, if realloc fails, free up buffer as it is no longer
3965 used.
3966
3967 2004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3968
3969 * libc/iconv/iconv.tex: Updated to represent recent changes.
3970 * libc/iconv/lib/iconv.c: Documentation updated.
3971
3972 2004-07-07 Nick Clifton <nickc@redhat.com>
3973
3974 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
3975 for xStormy16.
3976
3977 2004-07-06 Chris Demetriou <cgd@broadcom.com>
3978
3979 * configure.host (mips*-*-elf*): Default long long printing
3980 support.
3981
3982 2004-07-05 Jeff Johnston <jjohnstn@redhat.com>
3983
3984 * libc/Makefile.am (libc.dvi): Add target and specify
3985 same dependencies as libc.info.
3986 * libc/Makefile.in: Regenerated.
3987 * libm/Makefile.am (libm.dvi): Add target and specify
3988 same dependencies as libm.info.
3989 * libm/Makefile.in: Regenerated.
3990
3991 2004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3992
3993 * acinclude.m4: Move --enable-newlib-iconv option back here.
3994 * configure.in: Remove --enable-newlib-iconv option. Don't
3995 tie iconv support to --enable-newlib-mb.
3996 * aclocal.m4: Regenerated.
3997 * configure: Ditto.
3998 * doc/aclocal.m4, doc/configure: Ditto.
3999 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
4000 * libm/*/aclocal.m4: Ditto.
4001 * libm/*/configure: Ditto.
4002 * libc/*/aclocal.m4: Ditto.
4003 * libc/*/configure: Ditto.
4004
4005 2004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4006
4007 * acinclude.m4: Move iconv options into configure.in.
4008 * aclocal.m4: Regenerated.
4009 * configure: Ditto.
4010 * configure.in: Add iconv options.
4011 * newlib.hin: Add new iconv encodings and remove deleted ones.
4012 * doc/aclocal.m4: Regenerated.
4013 * doc/configure: Ditto.
4014 * iconvdata/aclocal.m4: Ditto.
4015 * iconvdata/configure: Ditto.
4016 * libc/iconv: Design change. New size-optimized ccs format.
4017 * libc/iconv/AUTHORS: Removed.
4018 * libc/iconv/COPYING: Ditto.
4019 * libc/iconv/README.ORIGINAL: Ditto.
4020 * libc/iconv/README.TODO: Ditto.
4021 * libc/iconv/charset.aliases: Ditto.
4022 * libc/iconv/encoding.aliases: New file.
4023 * libc/iconv/Makefile.am: Updated.
4024 * libc/iconv/Makefile.in: Regenerated.
4025 * libc/iconv/iconv.tex: Updated.
4026 * libc/iconv/ccs/Makefile.am: Ditto.
4027 * libc/iconv/ccs/Makefile.in: Regenerated.
4028 * libc/iconv/ccs/big5.c: Updated.
4029 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
4030 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
4031 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
4032 * libc/iconv/ccs/cp775.c: Ditto.
4033 * libc/iconv/ccs/cp850.c: Ditto.
4034 * libc/iconv/ccs/cp852.c: Ditto.
4035 * libc/iconv/ccs/cp855.c: Ditto.
4036 * libc/iconv/ccs/cp866.c: Ditto.
4037 * libc/iconv/ccs/iso_8859_1.c: Ditto.
4038 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
4039 * libc/iconv/ccs/gb_2312_80.c: Ditto.
4040 * libc/iconv/ccs/iconv_mktbl: Ditto.
4041 * libc/iconv/ccs/jis_x0201.c: Ditto.
4042 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
4043 * libc/iconv/ccs/shift_jis.c: Ditto.
4044 * libc/iconv/ccs/us_ascii.c: Ditto.
4045 * libc/iconv/ccs/ccs.h: New file.
4046 * libc/iconv/ccs/ccsbi.c: Ditto.
4047 * libc/iconv/ccs/ccsbi.h: Ditto.
4048 * libc/iconv/ccs/ccsnames.h: Ditto.
4049 * libc/iconv/ccs/iso_8859_10.c: Ditto.
4050 * libc/iconv/ccs/iso_8859_11.c: Ditto.
4051 * libc/iconv/ccs/iso_8859_13.c: Ditto.
4052 * libc/iconv/ccs/iso_8859_14.c: Ditto.
4053 * libc/iconv/ccs/iso_8859_3.c: Ditto.
4054 * libc/iconv/ccs/iso_8859_6.c: Ditto.
4055 * libc/iconv/ccs/iso_8859_7.c: Ditto.
4056 * libc/iconv/ccs/iso_8859_8.c: Ditto.
4057 * libc/iconv/ccs/iso_8859_9.c: Ditto.
4058 * libc/iconv/ccs/iso_ir_111.c: Ditto.
4059 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
4060 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
4061 * libc/iconv/ccs/koi8_ru.c: Ditto.
4062 * libc/iconv/ccs/koi8_uni.c: Ditto.
4063 * libc/iconv/ccs/mktbl.pl: Ditto.
4064 * libc/iconv/ccs/win_1250.c: Ditto.
4065 * libc/iconv/ccs/win_1251.c: Ditto.
4066 * libc/iconv/ccs/win_1252.c: Ditto.
4067 * libc/iconv/ccs/win_1253.c: Ditto.
4068 * libc/iconv/ccs/win_1254.c: Ditto.
4069 * libc/iconv/ccs/win_1255.c: Ditto.
4070 * libc/iconv/ccs/win_1256.c: Ditto.
4071 * libc/iconv/ccs/win_1257.c: Ditto.
4072 * libc/iconv/ccs/win_1258.c: Ditto.
4073 * libc/iconv/ccs/iso_8859_15.c: Updated.
4074 * libc/iconv/ccs/iso_8859_2.c: Ditto.
4075 * libc/iconv/ccs/iso_8859_4.c: Ditto.
4076 * libc/iconv/ccs/iso_8859_5.c: Ditto.
4077 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
4078 * libc/iconv/ccs/koi8_r.c: Ditto.
4079 * libc/iconv/ccs/koi8_u.c: Ditto.
4080 * libc/iconv/ccs/ksx1001.c: Ditto.
4081 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
4082 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
4083 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
4084 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
4085 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
4086 * libc/iconv/ccs/binary/Makefile.am: Updated.
4087 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
4088 * libc/iconv/ccs/binary/big5.cct: Updated.
4089 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
4090 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
4091 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
4092 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
4093 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
4094 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
4095 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
4096 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
4097 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
4098 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
4099 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
4100 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
4101 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
4102 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
4103 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
4104 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
4105 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
4106 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
4107 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
4108 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
4109 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
4110 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
4111 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
4112 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
4113 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
4114 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
4115 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
4116 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
4117 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
4118 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
4119 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
4120 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
4121 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
4122 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
4123 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
4124 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
4125 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
4126 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
4127 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
4128 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
4129 * libc/iconv/ces/Makefile.am: Updated.
4130 * libc/iconv/ces/Makefile.in: Regenerated.
4131 * libc/iconv/ces/ucs-2-internal.c: Updated.
4132 * libc/iconv/ces/ucs-4-internal.c: Ditto.
4133 * libc/iconv/ces/utf-16.c: Ditto.
4134 * libc/iconv/ces/utf-8.c: Ditto.
4135 * libc/iconv/ces/cesbi.c: New file.
4136 * libc/iconv/ces/cesbi.h: Ditto.
4137 * libc/iconv/ces/cesdeps.h: Ditto.
4138 * libc/iconv/ces/euc.c: Ditto.
4139 * libc/iconv/ces/mkdeps.pl: Ditto.
4140 * libc/iconv/ces/table-pcs.c: Ditto.
4141 * libc/iconv/ces/table.c: Ditto.
4142 * libc/iconv/ces/ucs-2.c: Ditto.
4143 * libc/iconv/ces/ucs-4.c: Ditto.
4144 * libc/iconv/ces/us-ascii.c: Ditto.
4145 * libc/iconv/ces/euc-jp.c: Removed.
4146 * libc/iconv/ces/euc-kr.c: Ditto.
4147 * libc/iconv/ces/euc-tw.c: Ditto.
4148 * libc/iconv/ces/gb2312.c: Ditto.
4149 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
4150 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
4151 * libc/iconv/lib/Makefile.am: Updated.
4152 * libc/iconv/lib/Makefile.in: Regenerated.
4153 * libc/iconv/lib/endian.h: Updated.
4154 * libc/iconv/lib/iconv.c: Ditto.
4155 * libc/iconv/lib/local.h: Ditto.
4156 * libc/iconv/lib/aliases.c: Removed.
4157 * libc/iconv/lib/bialiasesi.c: Ditto.
4158 * libc/iconv/lib/biccs.c: Ditto.
4159 * libc/iconv/lib/bices.c: Ditto.
4160 * libc/iconv/lib/ccs.c: Ditto.
4161 * libc/iconv/lib/ces.c: Ditto.
4162 * libc/iconv/lib/ces_euc.c: Ditto.
4163 * libc/iconv/lib/ces_iso2022.c: Ditto.
4164 * libc/iconv/lib/ces_table.c: Ditto.
4165 * libc/iconv/lib/converter.c: Ditto.
4166 * libc/iconv/lib/deps.h: Ditto.
4167 * libc/iconv/lib/loaddata.c: Ditto.
4168 * libc/iconv/lib/aliasesbi.c: New file.
4169 * libc/iconv/lib/aliasesi.c: Ditto.
4170 * libc/iconv/lib/conv.h: Ditto.
4171 * libc/iconv/lib/encnames.h: Ditto.
4172 * libc/iconv/lib/encoding.deps: Ditto.
4173 * libc/iconv/lib/iconvnls.c: Ditto.
4174 * libc/iconv/lib/iconvnls.h: Ditto.
4175 * libc/iconv/lib/nullconv.c: Ditto.
4176 * libc/iconv/lib/ucsconv.c: Ditto.
4177 * libc/iconv/lib/ucsconv.h: Ditto.
4178 * libc/include/iconv.h: Update copyright.
4179 * libc/*/aclocal.m4: Regenerated.
4180 * libc/*/configure: Ditto.
4181 * libm/*/aclocal.m4: Ditto.
4182 * libm/*/configure: Ditto.
4183
4184 2004-06-22 Alexandre Oliva <aoliva@redhat.com>
4185
4186 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
4187 instead of typedefing jmp_buf.
4188
4189 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
4190 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
4191 * libc/machine/h8300/defines.h (LEN): New macro.
4192 * libc/machine/h8300/memcpy.S: Add h8sx version.
4193 * libc/machine/h8300/memset.S: Likewise.
4194 * libc/machine/h8300/strcmp.S: Likewise.
4195 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
4196 * libc/machine/h8300/h8sx_strcpy.S: New file.
4197 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
4198 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
4199 __H8300SX__.
4200 * libc/include/machine/setjmp.h: Likewise.
4201 * libc/include/sys/config.h: Likewise.
4202 * libc/machine/h8300/defines.h: Likewise.
4203 * libc/machine/h8300/setjmp.S: Likewise.
4204 * libc/machine/h8300/strcmp.S: Likewise.
4205 * libc/sys/h8300hms/close.S: Likewise.
4206 * libc/sys/h8300hms/fstat.S: Likewise.
4207 * libc/sys/h8300hms/lseek.S: Likewise.
4208 * libc/sys/h8300hms/read.S: Likewise.
4209 * libc/sys/h8300hms/write.S: Likewise.
4210 * libc/sys/h8300hms/crt0.S: Likewise.
4211 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
4212 __H8300SX__ is defined.
4213 * libc/sys/h8300hms/setarch.h: Likewise.
4214
4215 2004-06-17 Jeff Johnston <jjohnstn@redhat.com>
4216
4217 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
4218 out change which set _GLOBAL_REENT to _global_impure_ptr until
4219 we understand why Cygwin breaks because of it.
4220
4221 2004-06-14 Jeff Johnston <jjohnstn@redhat.com>
4222
4223 * libc/sys/linux/machine/i386/syscall.h: For now, set up
4224 __syscall_return macro for systems with vsyscall.
4225
4226 2004-06-11 Antony King <antony.king@st.com>
4227
4228 * libc/include/sys/_types.h: Include <sys/lock.h> and change
4229 _flock_t to be of type _LOCK_RECURSIVE_T.
4230 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
4231 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
4232 (_global_impure_ptr): New declaration.
4233 (_GLOBAL_REENT): Change to be _global_impure_ptr.
4234 * libc/include/sys/stdio.h: Include <sys/lock.h> and
4235 <sys/reent.h>.
4236 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
4237 (_funlockfile)[!SINGLE_THREAD]: Ditto.
4238 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
4239 * libc/stdio/fclose.c: Remove casting of fp lock to
4240 _LOCK_RECURSIVE_T.
4241 * libc/stdio/findfp.c: Ditto.
4242 * libc/stdio/fopen.c: Ditto.
4243 * libc/stdio/freopen.c: Ditto.
4244 * libc/stdio/vfprintf.c: Ditto.
4245 * libc/stdio64/fopen64.c: Ditto.
4246 * libc/stdlib/envlock.c: Add default stubs that use generic
4247 locking code.
4248 * libc/stdlib/mlock.c: Ditto.
4249
4250 Jeff Johnston <jjohnstn@redhat.com>
4251 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
4252 (_flock_t): Change to be a struct containing a single member
4253 named mutex which is of type __flock_mutex_t.
4254
4255 2004-06-09 Jeff Johnston <jjohnstn@redhat.com>
4256
4257 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
4258 from /usr/include/asm/signal.h instead of kernel sources. Also
4259 default max to 32 if not found in header file.
4260 * libc/sys/linux/Makefile.in: Regenerated.
4261 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
4262 systems where __syscall_return is not defined.
4263 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
4264 systems to use syscall() function instead of assembler interrupt.
4265
4266 2004-06-09 Toralf Lund <toralf@procaptura.com>
4267
4268 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
4269 files from libc/sys/arm to libc/machine/arm.
4270 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
4271 library build support for files moved from libc/sys/arm.
4272 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
4273 references to access and setjmp.
4274 * configure.host: Add checks for newlib_may_supply_syscalls to
4275 determine whether or not to use sys/arm directory and use
4276 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
4277
4278 2004-06-02 Jeff Johnston <jjohnstn@redhat.com>
4279
4280 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
4281 reset digit flags appropriately after we have discovered "0x".
4282 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
4283
4284 2004-05-27 Jeff Johnston <jjohnstn@redhat.com>
4285
4286 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
4287 from here ...
4288 (_VFPRINTF_R): ... to here so all I/O printf routines
4289 are covered.
4290
4291 2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
4292
4293 * libc/search/hash_buf.c: Protect MAX and MIN macros from
4294 redefinition.
4295 * libc/search/hash.c: Ditto.
4296
4297 2004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4298
4299 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
4300 (_WANT_IO_LONG_LONG): Ditto.
4301 (_WANT_IO_LONG_DOUBLE): Ditto.
4302 * configure.in: Add new configuration options
4303 --enable-newlib-io-long-long and --enable-newlib-io-long-double
4304 which tie to new defines in newlib.hin.
4305 * configure: Regenerated.
4306 * configure.host: Add checks for new configuration options. Also
4307 fix up check for --enable-newlib-io-pos-args so configuration
4308 option will override any default for a given platform.
4309 Remove defining compiler flags for the _WANT_IO* options.
4310 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
4311 instead of looking for old compiler flags.
4312 * libc/stdio/vfscanf.c: Ditto.
4313 * libc/stdio/vfieeefp.h: Ditto.
4314 * libc/machine/powerpc/vfprintf.c: Ditto.
4315 * libc/machine/powerpc/vfscanf.c: Ditto.
4316
4317 2004-05-25 Jeff Johnston <jjohnstn@redhat.com>
4318
4319 * testsuite/include/check.h: Add include of <stdio.h>.
4320
4321 2004-05-17 Corinna Vinschen <corinna@vinschen.de>
4322
4323 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
4324
4325 2004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4326
4327 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
4328 of free.
4329
4330 2004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4331
4332 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
4333 list for reentrant pointer. Call _vfiprintf_r.
4334 * libc/stdio/siprintf.c (_siprintf_r): New function.
4335 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
4336 pointer argument. Change all callers. Call _VFPRINTF_R.
4337 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
4338 prototypes.
4339
4340 2004-05-07 Jeff Johnston <jjohnstn@redhat.com>
4341
4342 * libc/include/sys/param.h: Remove endian info and include
4343 <machine/endian.h> instead.
4344 * libc/include/machine/endian.h: New file.
4345 * libc/include/machine/param.h: Ditto.
4346 * libc/machine/arm/machine/endian.h: Ditto.
4347 * libc/machine/arm/machine/param.h: Ditto.
4348 * libc/sys/arm/sys/param.h: Removed.
4349 * libc/sys/sysvi386/sys/param.h: Ditto.
4350 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
4351
4352 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4353
4354 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
4355 multibyte functions return failure for %C, %S, %lc, and %ls
4356 format specifiers.
4357
4358 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4359
4360 * testsuite/include/check.h (CHECK): Add flush of stdout.
4361
4362 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4363
4364 * libc/include/stdio.h (_ungetc_r): New prototype.
4365 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
4366 (__submore): Add reentrant struct pointer argument.
4367 (ungetc): Change to call _ungetc_r.
4368
4369 2004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4370
4371 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
4372 function pointer argument.
4373 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
4374 to specify function pointer arguments.
4375 (__fwalk, __fwalk_reent): Ditto.
4376
4377 2004-04-26 Aldy Hernandez <aldyh@redhat.com>
4378
4379 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
4380 CT_INT case.
4381
4382 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4383
4384 * configure.in: Define _MB_CAPABLE if mb supported.
4385 * configure: Regenerated.
4386 * configure.host: Remove manual setting of MB_CAPABLE compiler
4387 flag.
4388 * newlib.hin: Add _MB_CAPABLE flag.
4389 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
4390 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
4391 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
4392 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
4393 * libc/ctype/jp2uc.c: Ditto.
4394 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
4395 * libc/locale/locale.c: Ditto
4396 * libc/machine/powerpc/vfscanf.c: Ditto
4397 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
4398 * libc/stdlib/mblen.c: Ditto
4399 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
4400 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
4401 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
4402 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
4403 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
4404 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
4405 * libc/sys/linux/intl/explodename.c: Ditto
4406 * libc/sys/linux/intl/finddomain.c: Ditto
4407 * libc/sys/linux/intl/l10nflist.c: Ditto
4408 * libc/sys/linux/intl/loadmsgcat.c: Ditto
4409 * libc/sys/linux/intl/localealias.c: Ditto
4410
4411 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
4412
4413 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
4414 (__svfscanf_r): In integer conversions, leave out leading zeroes
4415 which are not part of a base prefix.
4416 Keep track of width truncation to fit into buf, not counting left-out
4417 zeroes against width till the truncation has been compensated for.
4418 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
4419
4420 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
4421
4422 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
4423
4424 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4425
4426 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
4427 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
4428 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
4429 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
4430 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
4431 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
4432 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
4433 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
4434 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
4435 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
4436 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
4437 libc/stdio/getchar.c libc/stdio/getchar_u.c,
4438 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
4439 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
4440 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
4441 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
4442 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
4443 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
4444 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
4445 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
4446 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
4447 libc/stdio/siprintf.c libc/stdio/snprintf.c,
4448 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
4449 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
4450 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
4451 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
4452 libc/stdio/vprintf.c libc/stdio/vscanf.c,
4453 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
4454 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
4455 libc/stdio/wsetup.c: Perform minor formatting changes. Move
4456 copyright notices to top of file, ensure that <_ansi.h> is
4457 included, be consistent with open parentheses, use _DEFUN macro,
4458 include "local.h" where needed, and remove various compiler
4459 warnings.
4460
4461 2004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
4462
4463 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
4464 (__svfscanf_r): In integer conversions, leave out leading zeroes
4465 which are not part of a base prefix.
4466 Keep track of width truncation to fit into buf, not counting left-out
4467 zeroes against width till the truncation has been compensated for.
4468
4469 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
4470
4471 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
4472
4473 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
4474
4475 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
4476
4477 2004-04-10 Corinna Vinschen <corinna@vinschen.de>
4478
4479 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
4480 to SUSv3.
4481
4482 2004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4483
4484 * libc/stdio/fclose.c (_fclose_r): New function.
4485 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
4486 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
4487 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
4488 * libc/include/stdio.h (_fclose_r): New prototype.
4489 * libc/stdio/fopen.c: Fix typo in comment.
4490
4491 2004-04-08 Jeff Johnston <jjohnstn@redhat.com>
4492
4493 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
4494 to handle _r reentrant functions.
4495
4496 2004-04-08 Eric Christopher <echristo@redhat.com>
4497
4498 * libc/include/machine/setjmp.h: Fix endif locations.
4499
4500 2004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4501
4502 * libc/time/strptime.c: Add standard includes to avoid
4503 warning messages at compilation time.
4504
4505 2004-04-01 Jeff Johnston <jjohnstn@redhat.com>
4506
4507 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
4508 of file.
4509
4510 2004-03-30 Jeff Johnston <jjohnstn@redhat.com>
4511
4512 * libc/machine/h8300/Makefile.am: Reformat slightly.
4513 * libc/machine/h8300/Makefile.in: Regenerate.
4514
4515 2004-03-30 Thomas Pfaff <tpfaff@gmx.net>
4516
4517 * libc/stdio/findfp.c (__fp_lock_all): Add call to
4518 __sfp_lock_acquire.
4519 (__fp_unlock_all): Add call to __sfp_lock_release.
4520
4521 2004-03-25 Thomas Pfaff <tpfaff@gmx.net>
4522
4523 * libc/stdio/fclose.c (fclose): Protect file pointer list when
4524 releasing a file.
4525 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
4526 fwalk.
4527 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
4528 _flockfile/_funlockfile.
4529 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
4530 to recursive.
4531 Change __lock_acquire/__lock_release calls for __sfp_lock to
4532 __sfp_lock_acquire/__sfp_lock_release throughout.
4533 (std): Make sure that file lock is only initialized once.
4534 (__sfp): Move _file initialization. Initialize file lock.
4535 (__sfp_lock_acquire): New function.
4536 (__sfp_lock_release): Ditto.
4537 (__fp_lock_all): Remove __sfp_lock_acquire call.
4538 (__fp_unlock_all): Remove __sfp_lock_release call.
4539 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
4540 Add calls to _flockfile/_funlockfile. Remove
4541 __lock_init_recursive call.
4542 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
4543 * libc/stdio/fwalk.c (__fwalk): New static function.
4544 (_fwalk): Protect file pointer list. Use __fwalk to walk through
4545 file pointers.
4546 * libc/stdio/local.h: Add defines for
4547 __sfp_lock_acquire/__sfp_lock_release when
4548 single threaded. Add function prototypes otherwise.
4549 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
4550 _flockfile/_funlockfile.
4551 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
4552 Add calls to _flockfile/_funlockfile. Remove
4553 __lock_init_recursive call.
4554 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
4555 list.
4556
4557 2004-03-25 Jeff Johnston <jjohnstn@redhat.com>
4558
4559 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
4560 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
4561 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
4562 to be __LOCK_INIT_RECURSIVE.
4563
4564 2004-03-11 Kazu Hirata <kazu@cs.umass.edu>
4565
4566 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
4567 _exit.c with _exit.S.
4568 * libc/sys/h8300hms/Makefile.in: Regenerate.
4569 * libc/sys/h8300hms/_exit.c: Remove.
4570 * libc/sys/h8300hms/_exit.S: New.
4571
4572 2004-03-09 Thomas Pfaff <tpfaff@gmx.net>
4573
4574 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
4575 Change __sfp_lock to static global.
4576 (__fp_lock): New static function.
4577 (__fp_unlock): Ditto.
4578 (__fp_lock_all): New function.
4579 (__fp_unlock_all): Ditto.
4580
4581 2004-02-10 Christopher Faylor <cgf@redhat.com>
4582
4583 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
4584 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
4585 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
4586 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
4587
4588 2004-02-09 Christopher Faylor <cgf@redhat.com>
4589
4590 * libc/include/time.h (TIMER_RELTIME): New define.
4591
4592 2004-02-09 Jeff Johnston <jjohnstn@redhat.com>
4593
4594 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
4595 * libc/stdlib/Makefile.in: Regenerated.
4596
4597 2004-02-08 Christopher Faylor <cgf@redhat.com>
4598
4599 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
4600 * libc/include/sys/reent.h (__getreent): Protect against possibly being
4601 defined.
4602 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
4603
4604 2004-02-05 Paul Brook <paul@codesourcery.com>
4605
4606 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
4607 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
4608
4609 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
4610
4611 * NEWS: Update with 1.12.0 info.
4612 * README: Ditto.
4613 * acinclude.m4: Change version number to 1.12.0.
4614 * aclocal.m4: Regenerated.
4615 * configure: Ditto.
4616 * doc/aclocal.m4: Ditto.
4617 * doc/configure: Ditto.
4618 * libc/*/aclocal.m4: Ditto.
4619 * libc/*/configure: Ditto.
4620 * libc/libc.texinfo: Ditto.
4621 * libm/*/aclocal.m4: Ditto.
4622 * libm/*/configure: Ditto.
4623 * libm/libm.texinfo: Ditto.
4624 * libc/sys/linux/shared.ld: Add VERS_1.12.
4625
4626 2004-02-02 Joel Sherrill <joel@oarcorp.com>
4627
4628 * configure.host: Add support for tic4x.
4629 * libc/include/machine/ieeefp.h: Ditto.
4630 * libc/include/machine/setjmp.h: Ditto.
4631 * libc/machine/tic4x/Makefile.am: New file.
4632 * libc/machine/tic4x/configure.in: Ditto.
4633 * libc/machine/tic4x/setjmp.S: Ditto.
4634 * libc/machine/tic4x/aclocal.m4: Generated.
4635 * libc/machine/tic4x/configure: Ditto.
4636 * libc/machine/tic4x/Makefile.in: Ditto.
4637
4638 2004-01-30 Jeff Johnston <jjohnstn@redhat.com>
4639
4640 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
4641 file chain on the passed in reentrancy struct if it
4642 is _GLOBAL_REENT.
4643
4644 2004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4645 Jeff Johnston <jjohnstn@redhat.com>
4646
4647 * libc/iconv/iconv.tex: Updated with more information.
4648
4649 2004-01-30 Thomas Pfaff <tpfaff@gmx.net>
4650 Jeff Johnston <jjohnstn@redhat.com>
4651
4652 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
4653 struct for std streams and traverse the global reeentrancy
4654 struct for all other streams.
4655
4656 2004-01-27 Jeff Johnston <jjohnstn@redhat.com>
4657
4658 * libc/stdlib/atexit.c: Protect global atexit list with a
4659 lock when newlib is multithreaded.
4660
4661 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4662
4663 * configure.in: Add support to generate iconv converter flags
4664 for newlib.h
4665 * newlib.hin: Add iconv converter flags.
4666 * configure: Regenerated.
4667 * libc/Makefile.in: Ditto.
4668 * libc/configure.in: Moved iconv converter parsing logic to
4669 top level newlib configure.in.
4670 * libc/configure: Regenerated.
4671 * libc/iconv/Makefile.in: Ditto.
4672 * libc/iconv/README.TODO
4673 * libc/iconv/charset.aliases: Remove wrong BE aliases for
4674 UCS2/UCS4/UTF8.
4675 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
4676 newlib.h can be used.
4677 * libc/iconv/ces/Makefile.am: Ditto.
4678 * libc/iconv/lib/Makefile.am: Ditto.
4679 * libc/iconv/ccs/Makefile.in: Regenerated.
4680 * libc/iconv/ces/Makefile.in: Ditto.
4681 * libc/iconv/lib/Makefile.in: Ditto.
4682 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
4683 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
4684 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
4685 defined in newlib.h.
4686 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
4687 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
4688 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
4689 * libc/iconv/ccs/cp775.c: Ditto.
4690 * libc/iconv/ccs/cp850.c: Ditto.
4691 * libc/iconv/ccs/cp852.c: Ditto.
4692 * libc/iconv/ccs/cp855.c: Ditto.
4693 * libc/iconv/ccs/cp866.c: Ditto.
4694 * libc/iconv/ccs/gb_2312_80.c: Ditto.
4695 * libc/iconv/ccs/iso_8859_1.c: Ditto.
4696 * libc/iconv/ccs/iso_8859_15.c: Ditto.
4697 * libc/iconv/ccs/iso_8859_2.c: Ditto.
4698 * libc/iconv/ccs/iso_8859_4.c: Ditto.
4699 * libc/iconv/ccs/iso_8859_5.c: Ditto.
4700 * libc/iconv/ccs/jis_x0201.c: Ditto.
4701 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
4702 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
4703 * libc/iconv/ccs/koi8_r.c: Ditto.
4704 * libc/iconv/ccs/koi8_u.c: Ditto.
4705 * libc/iconv/ccs/ksx1001.c: Ditto.
4706 * libc/iconv/ccs/shift_jis.c: Ditto.
4707 * libc/iconv/ccs/us_ascii.c: Ditto.
4708 * libc/iconv/ccs/binary/big5.cct: Newly generated.
4709 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
4710 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
4711 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
4712 * libc/iconv/ccs/binary/cp775.cct: Ditto.
4713 * libc/iconv/ccs/binary/cp850.cct: Ditto.
4714 * libc/iconv/ccs/binary/cp852.cct: Ditto.
4715 * libc/iconv/ccs/binary/cp855.cct: Ditto.
4716 * libc/iconv/ccs/binary/cp866.cct: Ditto.
4717 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
4718 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
4719 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
4720 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
4721 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
4722 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
4723 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
4724 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
4725 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
4726 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
4727 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
4728 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
4729 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
4730 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
4731 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
4732 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
4733 * libc/iconv/ces/euc-kr.c: Ditto.
4734 * libc/iconv/ces/euc-tw.c: Ditto.
4735 * libc/iconv/ces/gb2312.c: Ditto.
4736 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
4737 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
4738 * libc/iconv/ces/ucs-2-internal.c: Ditto.
4739 * libc/iconv/ces/ucs-4-internal.c: Ditto.
4740 * libc/iconv/ces/utf-16.c: Ditto.
4741 * libc/iconv/ces/utf-8.c: Ditto.
4742 * libc/iconv/lib/aliases.c: Ditto.
4743 * libc/iconv/lib/biccs.c: Ditto.
4744 * libc/iconv/lib/bices.c: Ditto.
4745 * libc/iconv/lib/ccs.c: Ditto.
4746 * libc/iconv/lib/ces.c: Ditto.
4747 * libc/iconv/lib/ces_euc.c: Ditto.
4748 * libc/iconv/lib/ces_iso2022.c: Ditto.
4749 * libc/iconv/lib/ces_table.c: Ditto.
4750 * libc/iconv/lib/converter.c: Ditto.
4751 * libc/iconv/lib/deps.h: Ditto.
4752 * libc/iconv/lib/endian.h: Ditto.
4753 * libc/iconv/lib/iconv.c: Ditto.
4754 * libc/iconv/lib/loaddata.c: Ditto.
4755 * libc/iconv/lib/local.h: Include newlib.h.
4756 * libc/argz/Makefile.in: Regenerated.
4757 * libc/ctype/Makefile.in: Ditto.
4758 * libc/errno/Makefile.in: Ditto.
4759 * libc/iconv/ccs/binary/Makefile.in: Ditto.
4760 * libc/locale/Makefile.in: Ditto.
4761 * libc/misc/Makefile.in: Ditto.
4762 * libc/posix/Makefile.in: Ditto.
4763 * libc/reent/Makefile.in: Ditto.
4764 * libc/search/Makefile.in: Ditto.
4765 * libc/signal/Makefile.in: Ditto.
4766 * libc/stdio/Makefile.in: Ditto.
4767 * libc/stdio64/Makefile.in: Ditto.
4768 * libc/stdlib/Makefile.in: Ditto.
4769 * libc/string/Makefile.in: Ditto.
4770 * libc/syscalls/Makefile.in: Ditto.
4771 * libc/time/Makefile.in: Ditto.
4772 * libc/unix/Makefile.in: Ditto.
4773 * testsuite/newlib.iconv/iconv.exp: New file.
4774 * testsuite/newlib.iconv/iconvjp.c: Ditto.
4775 * testsuite/newlib.iconv/iconvnm.c: Ditto.
4776 * testsuite/newlib.iconv/iconvru.c: Ditto.
4777
4778 2004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4779
4780 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
4781 (--enable-newlib-builtin-converters): Ditto.
4782 * configure.in: Add code to set _ICONV_ENABLED flag.
4783 Set _MB_LEN_MAX to 1 if not mb enabled.
4784 * configure: Regenerated.
4785 * aclocal.m4: Ditto.
4786 * Makefile.in: Ditto.
4787 * newlib.hin: Add _ICONV_ENABLED flag.
4788 * libc/Makefile.am: Add support for iconv.
4789 * libc/configure.in: Ditto.
4790 * libc/Makefile.in: Regenerated.
4791 * libc/aclocal.m4: Ditto.
4792 * libc/configure: Ditto.
4793 * libc/libc.texinfo: Add iconv documentation.
4794 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
4795 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
4796 libc/iconv/README.TODO, libc/iconv/charset.aliases,
4797 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
4798 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
4799 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
4800 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
4801 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
4802 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
4803 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
4804 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
4805 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
4806 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
4807 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
4808 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
4809 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
4810 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
4811 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
4812 libc/iconv/ccs/binary/big5.cct,
4813 libc/iconv/ccs/binary/cns11643_plane1.cct,
4814 libc/iconv/ccs/binary/cns11643_plane14.cct,
4815 libc/iconv/ccs/binary/cns11643_plane2.cct,
4816 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
4817 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
4818 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
4819 libc/iconv/ccs/binary/iso_8859_1.cct,
4820 libc/iconv/ccs/binary/iso_8859_15.cct,
4821 libc/iconv/ccs/binary/iso_8859_2.cct,
4822 libc/iconv/ccs/binary/iso_8859_4.cct,
4823 libc/iconv/ccs/binary/iso_8859_5.cct,
4824 libc/iconv/ccs/binary/jis_x0201.cct,
4825 libc/iconv/ccs/binary/jis_x0208_1983.cct,
4826 libc/iconv/ccs/binary/jis_x0212_1990.cct,
4827 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
4828 libc/iconv/ccs/binary/ksx1001.cct,
4829 libc/iconv/ccs/binary/shift_jis.cct,
4830 libc/iconv/ccs/binary/us_ascii.cct,
4831 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
4832 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
4833 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
4834 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
4835 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
4836 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
4837 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
4838 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
4839 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
4840 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
4841 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
4842 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
4843 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
4844 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
4845 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
4846 * libc/sys/linux/include/iconv.h: Ditto.
4847 * libc/include/sys/_types.h (_iconv_t): Added.
4848 * doc/aclocal.m4: Regenerated.
4849 * doc/configure: Ditto.
4850 * doc/Makefile.in: Ditto.
4851 * iconvdata/Makefile.in: Ditto.
4852 * iconvdata/aclocal.m4: Ditto.
4853 * iconvdata/configure: Ditto.
4854 * libc/*aclocal.m4: Ditto.
4855 * libc/*Makefile.in: Ditto.
4856 * libc/*configure: Ditto.
4857 * libm/*aclocal.m4: Ditto.
4858 * libm/*Makefile.in: Ditto.
4859 * libm/*configure: Ditto.
4860
4861 2004-01-22 Thomas Pfaff <tpfaff@gmx.net>
4862
4863 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
4864 by a lock when newlib is multithreaded.
4865
4866 2004-01-21 Jeff Johnston <jjohnstn@redhat.com>
4867
4868 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
4869 pointer to match C99 spec.
4870 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
4871 dst is NULL. Also fix to not alter src pointer when dst is NULL
4872 and call _mbrtowc_r instead of _mbtowc_r.
4873 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
4874 of _wctomb_r.
4875
4876 2004-01-19 Thomas Pfaff <tpfaff@gmx.net>
4877
4878 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
4879 * libc/stdio/freopen.c (freopen): Ditto.
4880
4881 2004-01-16 Christopher Faylor <cgf@redhat.com>
4882
4883 * libc/stdio/vfprintf.c: Add sys/lock.h include.
4884
4885 2004-01-16 Thomas Pfaff <tpfaff@gmx.net>
4886
4887 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
4888 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
4889 Add calls to __lock_init_recursive and __lock_close_recursive
4890 instead.
4891
4892 2004-01-15 Thomas Pfaff <tpfaff@gmx.net>
4893
4894 * libc/stdio/fclose.c: Include sys/lock.h.
4895 (fclose): Destroy lock when file is closed.
4896 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
4897 member.
4898 * libc/stdio/freopen.c: Include sys/lock.h.
4899 (_freopen_r): Destroy lock when file is closed.
4900 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
4901 _lock member.
4902
4903 2004-01-08 Joel Sherrill <joel@oarcorp.com>
4904
4905 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
4906 Remove warnings.
4907
4908 2004-01-08 Joel Sherrill <joel@oarcorp.com>
4909
4910 * libc/sys/rtems/sys/queue.h: New file.
4911 * libc/include/sys/signal.h: Reflect renumbering of signals to
4912 fit into 32-bit mask.
4913 * libc/include/sys/unistd.h: Add fdatasync() prototype.
4914 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
4915 required. In particular, add the reentrant variants of libc calls.
4916 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
4917
4918 2004-01-06 Mark Mitchell <mark@codesourcery.com>
4919
4920 * libc/sys/arm/syscalls.c (unistd.h): Include it.
4921 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
4922 Similarly for stdout and stderr.
4923
4924 2004-01-06 Jeff Johnston <jjohnstn@redhat.com>
4925
4926 * libc/libc.texinfo: Correct escape character for @ sign
4927 so file will be processed by make info. Update copyright years.
4928 * libm/libm.texinfo: Ditto.
4929
4930 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
4931
4932 * libc/include/sys/stat.h: No longer include stat-dj.h.
4933 * libc/include/sys/stat-dj.h: Removed.
4934
4935 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
4936
4937 * libc/include/wchar.h: Include <sys/reent.h>.
4938
4939 2003-12-05 Christopher Faylor <cgf@redhat.com>
4940
4941 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
4942 when defining _mbrtowc.
4943 * libc/stdlib/mbsinit.c: Ditto.
4944 * libc/stdlib/mbsrtowcs.c: Ditto.
4945 * libc/stdlib/wcrtomb.c: Ditto.
4946 * libc/stdlib/wcsrtombs.c: Ditto.
4947 * libc/stdlib/wctob.c: Ditto.
4948
4949 2003-12-05 Christopher Faylor <cgf@redhat.com>
4950
4951 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
4952 errors when defining _mbrtowc.
4953 * libc/stdlib/mbsinit.c: Ditto.
4954 * libc/stdlib/mbsrtowcs.c: Ditto.
4955
4956 2003-12-05 Christopher Faylor <cgf@redhat.com>
4957
4958 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
4959 errors when defining _mbrtowc.
4960
4961 2003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4962
4963 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
4964 of mb routines for %lc and %ls support.
4965 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
4966 %ls, and %S support. Remove CYGNUS_NEC markers and
4967 code within.
4968
4969 2003-12-04 Jeff Johnston <jjohnstn@redhat.com>
4970
4971 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
4972 _wcrtomb_r, and _wcsrtombs_r.
4973
4974 2003-12-01 Corinna Vinschen <corinna@vinschen.de>
4975
4976 * libc/include/sys/fcntl.h: Don't define struct flock when on
4977 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
4978
4979 2003-11-28 Christopher Faylor <cgf@redhat.com>
4980
4981 * libc/include/sys/signal.h: Use system specific signal file when
4982 building on cygwin.
4983
4984 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
4985
4986 * libc/include/stdlib.h (_atoi_r): New prototype.
4987 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
4988
4989 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
4990
4991 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
4992 * libc/stdlib/atol.c (_atol_r): New reentrant function.
4993 * libc/stdlib/atoll.c (_atoll_r): Ditto.
4994
4995 2003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4996 Jeff Johnston <jjohnstn@redhat.com>
4997
4998 * libc/include/stdlib.h (lldiv_t): New type.
4999 (atoll, llabs, lldiv): New prototypes.
5000 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
5001 * libc/stdlib/stdlib.tex: Ditto.
5002 * libc/stdlib/Makefile.in: Regenerated.
5003 * libc/stdlib/atoll.c: New file.
5004 * libc/stdlib/llabs.c: Ditto.
5005 * libc/stdlib/lldiv.c: Ditto.
5006
5007 2003-11-26 Corinna Vinschen <corinna@vinschen.de>
5008
5009 * libc/include/fcntl.h: Declare syscalls only when building newlib.
5010 * libc/include/unistd.h: Ditto.
5011 * libc/include/stat.h: Ditto. Also declare struct stat64.
5012
5013 2003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5014
5015 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
5016 specifier to use ch instead of *fmt.
5017
5018 2003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5019
5020 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
5021 code within checks for MB_CAPABLE. For non-mb-capable platforms,
5022 use simple byte logic.
5023
5024 2003-11-21 Jeff Johnston <jjohnstn@redhat.com>
5025
5026 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
5027 _strtold routine for processing floats and doubles since it
5028 is not as fast as _strtod_r.
5029
5030 2003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
5031
5032 * libc/machine/h8300/defines.h : Correct pointer register defines
5033 for normal mode.
5034 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
5035 for normal mode.
5036 * libc/machine/h8300/reg_memcpy.S : Likewise.
5037 * libc/machine/h8300/reg_memset.S : Likewise.
5038 * libc/machine/h8300/strcmp.S : Likewise.
5039
5040 2003-11-19 Nicholas Wourms <nwourms@netscape.net>
5041
5042 * configure.host: Enable positional arguments for printf
5043 family for Cygwin.
5044 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
5045 pointer reference for quad_ptr_t.
5046
5047 2003-11-19 Jeff Johnston <jjohnstn@redhat.com>
5048
5049 * libc/stdio/scanf.c: Don't include local.h more than once.
5050
5051 2003-11-18 Corinna Vinschen <corinna@vinschen.de>
5052
5053 * libc/include/sys/fcntl.h: Declare _open64.
5054 * libc/include/sys/stat.h: Declare _fstat64.
5055 * libc/include/sys/unistd.h: Declare _lseek64.
5056
5057 2003-11-17 Corinna Vinschen <corinna@vinschen.de>
5058
5059 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
5060 (setprogname): Ditto.
5061
5062 2003-11-10 Jeff Johnston <jjohnstn@redhat.com>
5063
5064 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
5065 to use (Ebits + 1) which accounts for the sign-bit.
5066
5067 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
5068
5069 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
5070 x86 build.
5071 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
5072 and set up default flags to pass to aclocal.
5073 * iconvdata/Makefile.in: Regenerated.
5074 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
5075 and getpwuid routines.
5076 * libc/sys/linux/Makefile.in: Regenerated.
5077 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
5078 applications to link with newlib's shared libc library.
5079 * libc/sys/linux/getpwnam.c: Ditto.
5080 * libc/sys/linux/getpwuid.c: Ditto.
5081 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
5082 that were formerly supplied by /usr/include/linux/types.h with
5083 kernel types.
5084 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
5085 test _ELIX_LEVEL macro.
5086
5087 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
5088
5089 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
5090 referring to _NO_LONGLONG macro.
5091
5092 2003-11-06 Jeff Johnston <jjohnstn@redhat.com>
5093
5094 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
5095 in LOG() macro so this will compile on gcc 3.4 and up.
5096 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
5097 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
5098 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
5099 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
5100 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
5101 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
5102 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
5103 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
5104 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
5105 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
5106 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
5107 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
5108 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
5109 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
5110 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
5111 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
5112 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
5113 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
5114 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
5115 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
5116 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
5117 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
5118 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
5119 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
5120 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
5121 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
5122 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
5123 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
5124 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
5125 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
5126 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
5127 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
5128 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
5129 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
5130 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
5131 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
5132
5133 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5134 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5135
5136 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
5137 %ls, %S, %lc, and %C format specifiers.
5138 (get_arg): Ditto.
5139 * libc/stdio/sprintf.c: Add documentation regarding new
5140 format specifiers added in vfprintf.c.
5141
5142 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5143
5144 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
5145 to make code work as specified in standard.
5146
5147 2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
5148
5149 * configure.in: Use absolute newlib basedir when forming
5150 CC_FOR_NEWLIB include options.
5151 * configure: Regenerated.
5152
5153 2003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5154
5155 * libc/string/wcsnlen.c: New file.
5156 * libc/include/wchar.h: Add wcsnlen prototype.
5157 * libc/string/Makefile.am: Add wcsnlen support.
5158 * libc/string/Makefile.in: Regenerated.
5159 * libc/string/wcstrings.tex: Add wcsnlen documentation.
5160
5161 2003-10-22 Richard Sandiford <rsandifo@redhat.com>
5162
5163 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
5164
5165 2003-10-20 Bob Wilson <bob.wilson@acm.org>
5166
5167 * libc/locale/locale.c: Use double quotes in code.
5168 * libc/locale/locale.tex: Likewise.
5169 * libc/libc.texinfo: Hyphenate "floating-point".
5170 * libc/machine/necv70/necv70.tex: Likewise.
5171 * libc/stdio/sprintf.c: Likewise.
5172 * libc/stdio/sscanf.c: Likewise.
5173 * libc/stdlib/atof.c: Likewise.
5174 * libc/stdlib/ldtoa.c: Fix comment typo.
5175 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
5176 * libc/stdlib/ldiv.c: Likewise.
5177 * libm/common/s_expm1.c: Likewise.
5178 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
5179 * libm/common/s_infinity: Hyphenate "double- and single-precision".
5180 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
5181 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
5182 and "floating-point".
5183 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
5184 * libm/math/e_pow.c: Fix comment typo.
5185 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
5186 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
5187 * libm/math/s_atan.c: Likewise.
5188 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
5189 * libm/math/s_isnan.c: Hyphenate "single-precision" and
5190 "floating-point". Use "nonzero".
5191 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
5192 * libm/math/w_acos.c: Likewise.
5193 * libm/math/w_acosh.c: Likewise.
5194 * libm/math/w_asin.c: Likewise.
5195 * libm/math/w_atan2.c: Likewise.
5196 * libm/math/w_atanh.c: Likewise.
5197 * libm/math/w_cosh.c: Likewise.
5198 * libm/math/w_exp.c: Likewise.
5199 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
5200 version of 2^x in the description.
5201 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
5202 * libm/math/w_gamma.c: Likewise.
5203 * libm/math/w_hypot.c: Likewise.
5204 * libm/math/w_j0.c: Likewise.
5205 * libm/math/w_sinh.c: Likewise.
5206 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
5207 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
5208 "floating-point".
5209 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
5210 * libm/mathfp/e_atanh.c: Likewise.
5211 * libm/mathfp/e_hypot.c: Likewise.
5212 * libm/mathfp/er_lgamma.c: Likewise.
5213 * libm/mathfp/s_acos.c: Likewise.
5214 * libm/mathfp/s_asine.c: Likewise.
5215 * libm/mathfp/s_asinh.c: Likewise.
5216 * libm/mathfp/s_atan.c: Likewise.
5217 * libm/mathfp/s_atan2.c: Likewise.
5218 * libm/mathfp/s_atangent.c: Likewise.
5219 * libm/mathfp/s_cosh.c: Likewise.
5220 * libm/mathfp/s_exp.c: Likewise.
5221 * libm/mathfp/s_fmod.c: Likewise.
5222 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
5223 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
5224 "floating-point". Use "nonzero".
5225 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
5226 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
5227 * libm/mathfp/s_sineh.c: Likewise.
5228 * libm/mathfp/w_jn.c: Likewise.
5229
5230 2003-10-15 Alexandre Oliva <aoliva@redhat.com>
5231
5232 * Makefile.am: Add $(MAKE) comments to multido and multiclean
5233 lines, to enable parallel make.
5234 * Makefile.in: Rebuilt.
5235
5236 2003-10-14 Christopher Faylor <cgf@redhat.com>
5237
5238 * libc/time/clock.c: Clarify documentation of return value when no
5239 measurement is available.
5240
5241 2003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
5242
5243 * libm/configure.in: Check libm_machine_dir, not machine_dir.
5244 * libm/configure: Regenerate.
5245 * libm/Makefile.in: Ditto.
5246
5247 2003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
5248
5249 * libc/machine/sh/strncpy.S: New file.
5250 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
5251 * libc/machine/sh/Makefile.in: Regenerate.
5252
5253 2003-09-11 James E Wilson <wilson@specifixinc.com>
5254
5255 * MAINTAINERS: Update my e-mail address.
5256
5257 2003-09-10 Corinna Vinschen <corinna@vinschen.de>
5258
5259 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
5260
5261 2003-09-09 Jeff Johnston <jjohnstn@redhat.com>
5262
5263 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
5264 prototype.
5265 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
5266 _simdldcheck(). Also add unsigned cast for index variable in
5267 for loop using sizeof operators.
5268 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
5269 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
5270 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
5271 plus fix shift calculation for determining if there is a
5272 carry from word2.
5273
5274 2003-09-09 Corinna Vinschen <corinna@vinschen.de>
5275
5276 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
5277 setgroupent for Cygwin.
5278
5279 2003-09-05 Jeff Johnston <jjohnstn@redhat.com>
5280
5281 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
5282 is different for _REENT_SMALL than when using regular reent
5283 struct.
5284
5285 2003-09-05 Ben Elliston <bje@wasabisystems.com>
5286
5287 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
5288 modern versions of GCC issue a warning.
5289
5290 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
5291 after continuation characters that induces a warning from modern
5292 versions of GCC.
5293
5294 2003-09-04 Ben Elliston <bje@wasabisystems.com>
5295
5296 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
5297 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
5298
5299 2003-09-02 Thomas Pfaff <tpfaff@gmx.net>
5300
5301 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
5302 * libc/stdlib/exit.c : Ditto.
5303 * libc/stdlib/on_exit.c: Ditto.
5304
5305 2003-08-27 Corinna Vinschen <corinna@vinschen.de>
5306
5307 * libc/include/reent.h: Define stat64 as __stat64 when
5308 compiling newlib for Cygwin.
5309
5310 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
5311
5312 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
5313 __stat64 when compiling newlib.
5314
5315 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
5316
5317 * libc/include/stdio.h: Allow the io64 function prototypes for
5318 Cygwin when compiling newlib.
5319 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
5320 to expose the Cygwin struct __stat64 type.
5321 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
5322 pointer.
5323 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
5324
5325 2003-08-23 Christopher Faylor <cgf@redhat.com>
5326
5327 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
5328 definition to fseeko64.
5329
5330 2003-08-22 Jeff Johnston <jjohnstn@redhat.com>
5331
5332 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
5333 * libc/stdio: Globally remove/replace all references to fp->_data.
5334 Replace with _REENT or _GLOBAL_REENT where appropriate.
5335 * libc/stdio/asprintf.c: Ditto.
5336 * libc/stdio/fclose.c: Ditto.
5337 * libc/stdio/fvwrite.c: Ditto.
5338 * libc/stdio/makebuf.c: Ditto.
5339 * libc/stdio/refill.c: Ditto.
5340 * libc/stdio/local.h: Ditto.
5341 * libc/stdio/setvbuf.c: Ditto.
5342 * libc/stdio/sscanf.c: Ditto.
5343 * libc/stdio/stdio.c: Ditto.
5344 * libc/stdio/ungetc.c: Ditto.
5345 * libc/stdio/vfscanf.c: Ditto.
5346 * libc/stdio/vsscanf.c: Ditto.
5347 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
5348 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
5349 * libc/stdio/vsnprintf.c: Ditto.
5350 * libc/stdio/vsprintf.c: Ditto.
5351 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
5352 instead of _REENT to walk file list.
5353 * libc/stdio/fflush.c: Ditto.
5354 * libc/stdio/fgetpos.c: Add reentrant version and have regular
5355 version call reentrant version with _REENT argument.
5356 * libc/stdio/fsetpos.c: Ditto.
5357 * libc/stdio/fseek.c: Ditto.
5358 * libc/stdio/fseeko.c: Ditto.
5359 * libc/stdio/ftell.c: Ditto.
5360 * libc/stdio/ftello.c: Ditto.
5361 * libc/stdio/freopen.c: Ditto.
5362 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
5363 new files to chain. Also use _GLOBAL_REENT pointer for
5364 cleaning up.
5365 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
5366 * libc/stdio/siprintf.c: Ditto.
5367 * libc/stdio/iprintf.c: Ditto.
5368 * libc/stdio/fprintf.c: Ditto.
5369 * libc/stdio/printf.c: Ditto.
5370 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
5371 * libc/stdio/sprintf.c: Ditto.
5372 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
5373 * libc/stdio/rewind.c: Call _fseek_r directly.
5374 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
5375 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
5376 data pointer.
5377 (get_arg): Add extra struct _reent pointer argument.
5378 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
5379 to fp->_data.
5380 * libc/stdio64/fopen64.c: Ditto.
5381 * libc/stdio64/freopen64.c: Ditto.
5382 * libc/stdio64/fsetpos64.c: Ditto.
5383 * libc/stdio64/ftello64.c: Ditto.
5384 * libc/stdio64/local64.h: Ditto.
5385 * libc/stdio64/stdio64.c: Ditto.
5386 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
5387 _fstat64_r for the meantime.
5388
5389 2003-08-19 Jeff Johnston <jjohnstn@redhat.com>
5390
5391 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
5392 overflow detection.
5393
5394 2003-08-13 Aldy Hernandez <aldyh@redhat.com>
5395
5396 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
5397 extern "C".
5398
5399 2003-08-13 Jeff Johnston <jjohnstn@redhat.com>
5400
5401 * libc/include/math.h: Add prototypes for __signbitf and
5402 __signbitd.
5403
5404 2003-07-31 Jeff Johnston <jjohnstn@redhat.com>
5405
5406 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
5407 correct type of conversion when dealing with EUCJP or SJIS.
5408 * libc/ctype/iswblank.c: Ditto.
5409 * libc/ctype/iswcntrl.c: Ditto.
5410 * libc/ctype/iswprint.c: Ditto.
5411 * libc/ctype/iswpunct.c: Ditto.
5412 * libc/ctype/iswspace.c: Ditto.
5413 * libc/ctype/towlower.c: Ditto.
5414 * libc/ctype/towupper.c: Ditto.
5415
5416 2003-07-31 Nick Clifton <nickc@redhat.com>
5417
5418 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
5419 before calling main, in case it saves its argument registers.
5420 Remove reference to deleted v850ea port.
5421 * configure.host: Remove reference to deleted v850ea port.
5422 Do not use -mv850 when building for v850e target. This
5423 prevents the ctbp system register from being initialised.
5424
5425 2003-07-29 Honda Hiroki <hhonda@ipflex.com>
5426
5427 * libc/stdio/vfprintf.c: Set output size to 1 when
5428 we have %f format with precision 0 and # flag not specified.
5429
5430 2003-07-29 Alexandre Oliva <aoliva@redhat.com>
5431
5432 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
5433 .am33_2.
5434
5435 2003-07-25 Christopher Faylor <cgf@redhat.com>
5436
5437 * libc/stdio64/fdopen64.c: Include sys/lock.h.
5438
5439 2003-07-25 Christopher Faylor <cgf@redhat.com>
5440
5441 * configure.host: Find cygwin include directory, when appropriate.
5442
5443 2003-07-24 Christopher Faylor <cgf@redhat.com>
5444
5445 * libc/stdio64/fdopen64.c: New file.
5446 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
5447 * libc/stdio64/Makefile.in: Regenerate.
5448 * libc/include/stdio.h (fdopen64): Define.
5449 * libc/include/stdio.h (_fdopen64_r): Ditto.
5450
5451 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
5452
5453 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
5454 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
5455 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
5456 restore callee-saved FP registers.
5457
5458 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
5459
5460 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
5461 for __sh__.
5462 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
5463 truncate.c.
5464 * libc/sys/sh/Makefile.in: Regenerate.
5465 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
5466 * libc/sys/sh/ftruncate.c: New file.
5467 * libc/sys/sh/truncate.c: Likewise.
5468
5469 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
5470
5471 * libc/include/math.h (nan, nanf): Update prototype to C99.
5472 * libm/common/s_nan.c (nan): Likewise.
5473 * libm/common/s_nanf.c (nanf, nan): Likewise.
5474 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
5475
5476 2003-07-07 Jeff Johnston <jjohnstn@redhat.com>
5477
5478 * libc/include/stdbool.h: Removed as this is defined by gcc.
5479
5480 2003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
5481
5482 * libc/include/stdbool.h: New header file defined by C99.
5483
5484 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
5485
5486 * libc/include/sys/types.h (int8_t): Make signed.
5487
5488 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
5489
5490 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
5491
5492 2003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
5493
5494 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
5495 on if we actually created the shared memory file exclusively.
5496
5497 2003-06-27 Joe Vornehm <joev@mitre.org>
5498
5499 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
5500 comparisons to account for unsigned internal value w.
5501
5502 2003-06-26 Jeff Johnston <jjohnstn@redhat.com>
5503
5504 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
5505 wrbuf for a non-creating open.
5506
5507 2003-06-24 Kazu Hirata <kazu@cs.umass.edu>
5508
5509 * libc/machine/h8300/setarch.h: New.
5510 * libc/machine/h8300/memcpy.S: Use it.
5511 * libc/machine/h8300/memset.S: Likewise.
5512 * libc/machine/h8300/reg_memcpy.S: Likewise.
5513 * libc/machine/h8300/reg_memset.S: Likewise.
5514 * libc/machine/h8300/setjmp.S: Likewise.
5515 * libc/machine/h8300/strcmp.S: Likewise.
5516
5517 2003-06-24 Richard Sandiford <rsandifo@redhat.com>
5518
5519 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
5520 to atexit().
5521
5522 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
5523
5524 * configure.host (iq2000): Add tabs.
5525
5526 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
5527
5528 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
5529 to handle latest on_exit change.
5530 * libc/sys/linux/Makefile.am: Remove special compilation
5531 for malloc.c and mcheck.c.
5532 * libc/sys/linux/Makefile.in: Regenerated.
5533 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
5534 after including <features.h>.
5535 * libc/sys/linux/mcheck.c: Ditto.
5536 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
5537 for <features.h>.
5538 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
5539 add -DNOT_IN_libc to C flags.
5540 * libc/sys/linux/intl/Makefile.in: Regenerated.
5541 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
5542 * libc/sys/linux/linuxthreads/semaphore.h: Include
5543 <bits/pthreadtypes.h>.
5544 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
5545 including <features.h>.
5546 * libc/sys/linux/sys/lock.h: Ditto.
5547
5548 2003-06-11 Nick Clifton <nickc@redhat.com>
5549
5550 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
5551 _on_exit_args_ptr.
5552
5553 2003-06-10 Stan Cox <scox@redhat.com>
5554 Anthony Green <green@redhat.com>
5555
5556 * configure.host: Add iq2000 support.
5557 * newlib/libc/include/machine/ieeefp.h: Ditto.
5558 * newlib/libc/include/machine/setjmp.h: Ditto.
5559 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
5560 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
5561 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
5562 libc/machine/iq2000/Makefile.in: New files.
5563
5564 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
5565
5566 * libc/sys/h8300hms/setarch.h: New file.
5567 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
5568 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
5569 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
5570 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
5571
5572 2003-06-06 Jeff Johnston <jjohnstn@redhat.com>
5573
5574 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
5575 definition.
5576 * libc/argz/argz_add_sep.c: Ditto.
5577 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
5578 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
5579 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
5580 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
5581 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
5582 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
5583 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
5584 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
5585 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
5586 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
5587 * libc/posix/execl.c libc/posix/execle.c: Ditto.
5588 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
5589 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
5590 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
5591 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
5592 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
5593 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
5594 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
5595 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
5596 * libc/search/twalk.c libc/signal/signal.c: Ditto.
5597
5598 2003-06-05 Nick Clifton <nickc@redhat.com>
5599
5600 * libc/include/sys/reent.h (struct _on_exit_args): New
5601 structure containing fields used by the on_exit() function.
5602 (struct _atexit): Include struct _on_exit_args. For
5603 _REENT_SMALL do his via a pointer that is initialised when
5604 needed.
5605 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
5606 structure, if one has been allocated.
5607 * libc/stdlib/atexit.c (atexit): Update indirection to
5608 _fntypes field.
5609 * libc/stdlib/on_exit.c (on_exit): Indirect via the
5610 _on_exit_args structure. For _REENT_SMALL, allocate a
5611 structure if one does not exist.
5612 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
5613 structure.
5614
5615 2003-06-04 Jeff Johnston <jjohnstn@redhat.com>
5616
5617 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
5618 * libc/sys/linux/net/Makefile.in: Regenerated.
5619
5620 2003-06-03 Jeff Johnston <jjohnstn@redhat.com>
5621
5622 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
5623 * libc/reent/fcntlr.c: Ditto.
5624 * libc/reent/fstat64r.c: Ditto.
5625 * libc/reent/linkr.c: Ditto.
5626 * libc/reent/lseek64r.c: Ditto.
5627 * libc/reent/lseekr.c: Ditto.
5628 * libc/reent/openr.c: Ditto.
5629 * libc/reent/readr.c: Ditto.
5630 * libc/reent/reent.c: Ditto.
5631 * libc/reent/sbrkr.c: Ditto.
5632 * libc/reent/signalr.c: Ditto.
5633 * libc/reent/signgam.c: Ditto.
5634 * libc/reent/statr.c: Ditto.
5635 * libc/reent/timer.c: Ditto.
5636 * libc/reent/unlinkr.c: Ditto.
5637 * libc/reent/writer.c: Ditto.
5638 * libc/syscalls/sysclose.c: Ditto.
5639 * libc/syscalls/sysexecve.c: Ditto.
5640 * libc/syscalls/sysfcntl.c: Ditto.
5641 * libc/syscalls/sysfork.c: Ditto.
5642 * libc/syscalls/sysfstat.c: Ditto.
5643 * libc/syscalls/sysgetpid.c: Ditto.
5644 * libc/syscalls/sysgettod.c: Ditto.
5645 * libc/syscalls/syskill.c: Ditto.
5646 * libc/syscalls/syslink.c: Ditto.
5647 * libc/syscalls/syslseek.c: Ditto.
5648 * libc/syscalls/sysopen.c: Ditto.
5649 * libc/syscalls/sysread.c: Ditto.
5650 * libc/syscalls/syssbrk.c: Ditto.
5651 * libc/syscalls/sysstat.c: Ditto.
5652 * libc/syscalls/systimes.c: Ditto.
5653 * libc/syscalls/sysunlink.c: Ditto.
5654 * libc/syscalls/syswait.c: Ditto.
5655 * libc/syscalls/syswrite.c: Ditto.
5656
5657 2003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
5658
5659 * libc/time/tzset_r.c: Change local variables that are
5660 set via sscanf using the %h format specifier to be unsigned short
5661 instead of int.
5662
5663 2003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
5664
5665 * configure.host: Allow i[34567]86 variant.
5666 * configure.in: Likewise.
5667 * README: Likewise to the docs.
5668 * configure: Regenerated.
5669 * Makefile.in: Ditto.
5670
5671 2003-05-28 Jeff Johnston <jjohnstn@redhat.com>
5672 Tom Fitzsimmons <fitzsim@redhat.com>
5673
5674 * configure.in: Add iconvdata support for x86 linux.
5675 * configure: Regenerated.
5676 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
5677 library, iconv, and linuxthreads support.
5678 * libc/sys/linux/configure.in: Ditto.
5679 * libc/sys/linux/Makefile.in: Regenerated.
5680 * libc/sys/linux/configure: Ditto.
5681 * iconvdata/EUC-JP.irreversible: New file.
5682 * iconvdata/Makefile.am: Ditto.
5683 * iconvdata/Makefile.in: Ditto.
5684 * iconvdata/SJIS.irreversible: Ditto.
5685 * iconvdata/aclocal.m4: Ditto.
5686 * iconvdata/configure: Ditto.
5687 * iconvdata/configure.in: Ditto.
5688 * iconvdata/dummy.c: Ditto.
5689 * iconvdata/euc-jp.c: Ditto.
5690 * iconvdata/gconv-modules: Ditto.
5691 * iconvdata/jis0201.c: Ditto.
5692 * iconvdata/jis0201.h: Ditto.
5693 * iconvdata/jis0208.c: Ditto.
5694 * iconvdata/jis0208.h: Ditto.
5695 * iconvdata/jis0212.c: Ditto.
5696 * iconvdata/jis0212.h: Ditto.
5697 * iconvdata/sjis.c: Ditto.
5698 * libc/include/errno.h: Protect definition of error_t.
5699 * libc/sys/linux/gethostid.c: New file.
5700 * libc/sys/linux/sethostid.c: Ditto.
5701 * libc/sys/linux/dl/Makefile.am: Ditto.
5702 * libc/sys/linux/dl/Makefile.in: Ditto.
5703 * libc/sys/linux/dl/abi-tag.h: Ditto.
5704 * libc/sys/linux/dl/atomicity.h: Ditto.
5705 * libc/sys/linux/dl/dl-addr.c: Ditto.
5706 * libc/sys/linux/dl/dl-cache.c: Ditto.
5707 * libc/sys/linux/dl/dl-cache.h: Ditto.
5708 * libc/sys/linux/dl/dl-close.c: Ditto.
5709 * libc/sys/linux/dl/dl-debug.c: Ditto.
5710 * libc/sys/linux/dl/dl-deps.c: Ditto.
5711 * libc/sys/linux/dl/dl-dst.h: Ditto.
5712 * libc/sys/linux/dl/dl-error.c: Ditto.
5713 * libc/sys/linux/dl/dl-fini.c: Ditto.
5714 * libc/sys/linux/dl/dl-init.c: Ditto.
5715 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
5716 * libc/sys/linux/dl/dl-libc.c: Ditto.
5717 * libc/sys/linux/dl/dl-librecon.h: Ditto.
5718 * libc/sys/linux/dl/dl-load.c: Ditto.
5719 * libc/sys/linux/dl/dl-lookup.c: Ditto.
5720 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
5721 * libc/sys/linux/dl/dl-minimal.c: Ditto.
5722 * libc/sys/linux/dl/dl-misc.c: Ditto.
5723 * libc/sys/linux/dl/dl-object.c: Ditto.
5724 * libc/sys/linux/dl/dl-open.c: Ditto.
5725 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
5726 * libc/sys/linux/dl/dl-profile.c: Ditto.
5727 * libc/sys/linux/dl/dl-profstub.c: Ditto.
5728 * libc/sys/linux/dl/dl-reloc.c: Ditto.
5729 * libc/sys/linux/dl/dl-runtime.c: Ditto.
5730 * libc/sys/linux/dl/dl-support.c: Ditto.
5731 * libc/sys/linux/dl/dl-sym.c: Ditto.
5732 * libc/sys/linux/dl/dl-version.c: Ditto.
5733 * libc/sys/linux/dl/dlfcn.h: Ditto.
5734 * libc/sys/linux/dl/do-lookup.h: Ditto.
5735 * libc/sys/linux/dl/do-rel.h: Ditto.
5736 * libc/sys/linux/dl/dynamic-link.h: Ditto.
5737 * libc/sys/linux/dl/kernel-features.h: Ditto.
5738 * libc/sys/linux/dl/ldsodefs.h: Ditto.
5739 * libc/sys/linux/dl/libintl.h: Ditto.
5740 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
5741 * libc/sys/linux/dl/unsecvars.h: Ditto.
5742 * libc/sys/linux/iconv/Makefile.am: Ditto.
5743 * libc/sys/linux/iconv/Makefile.in: Ditto.
5744 * libc/sys/linux/iconv/categories.def: Ditto.
5745 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
5746 * libc/sys/linux/iconv/gconv.c: Ditto.
5747 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
5748 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
5749 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
5750 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
5751 * libc/sys/linux/iconv/gconv_close.c: Ditto.
5752 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
5753 * libc/sys/linux/iconv/gconv_db.c: Ditto.
5754 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
5755 * libc/sys/linux/iconv/gconv_int.h: Ditto.
5756 * libc/sys/linux/iconv/gconv_open.c: Ditto.
5757 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
5758 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
5759 * libc/sys/linux/iconv/hash-string.h: Ditto.
5760 * libc/sys/linux/iconv/iconv.c: Ditto.
5761 * libc/sys/linux/iconv/iconv.h: Ditto.
5762 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
5763 * libc/sys/linux/iconv/iconv_close.c: Ditto.
5764 * libc/sys/linux/iconv/iconv_open.c: Ditto.
5765 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
5766 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
5767 * libc/sys/linux/iconv/loadinfo.h: Ditto.
5768 * libc/sys/linux/iconv/localeinfo.h: Ditto.
5769 * libc/sys/linux/iconv/loop.c: Ditto.
5770 * libc/sys/linux/iconv/skeleton.c: Ditto.
5771 * libc/sys/linux/iconv/strtab.c: Ditto.
5772 * libc/sys/linux/include/dl-hash.h: Ditto.
5773 * libc/sys/linux/include/dlfcn.h: Ditto.
5774 * libc/sys/linux/include/fnmatch.h: Ditto.
5775 * libc/sys/linux/include/gconv.h: Ditto.
5776 * libc/sys/linux/include/glob.h: Ditto.
5777 * libc/sys/linux/include/hesiod.h: Ditto.
5778 * libc/sys/linux/include/ifaddrs.h: Ditto.
5779 * libc/sys/linux/include/libc_private.h: Ditto.
5780 * libc/sys/linux/include/link.h: Ditto.
5781 * libc/sys/linux/include/namespace.h: Ditto.
5782 * libc/sys/linux/include/netconfig.h: Ditto.
5783 * libc/sys/linux/include/netdb.h: Ditto.
5784 * libc/sys/linux/include/nsswitch.h: Ditto.
5785 * libc/sys/linux/include/regex.h: Ditto.
5786 * libc/sys/linux/include/resolv.h: Ditto.
5787 * libc/sys/linux/include/rune.h: Ditto.
5788 * libc/sys/linux/include/runetype.h: Ditto.
5789 * libc/sys/linux/include/semaphore.h: Ditto.
5790 * libc/sys/linux/include/setlocale.h: Ditto.
5791 * libc/sys/linux/include/un-namespace.h: Ditto.
5792 * libc/sys/linux/include/wordexp.h: Ditto.
5793 * libc/sys/linux/include/arpa/ftp.h: Ditto.
5794 * libc/sys/linux/include/arpa/inet.h: Ditto.
5795 * libc/sys/linux/include/arpa/nameser.h: Ditto.
5796 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
5797 * libc/sys/linux/include/arpa/telnet.h: Ditto.
5798 * libc/sys/linux/include/arpa/tftp.h: Ditto.
5799 * libc/sys/linux/include/net/bpf.h: Ditto.
5800 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
5801 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
5802 * libc/sys/linux/include/net/bridge.h: Ditto.
5803 * libc/sys/linux/include/net/ethernet.h: Ditto.
5804 * libc/sys/linux/include/net/fddi.h: Ditto.
5805 * libc/sys/linux/include/net/if.h: Ditto.
5806 * libc/sys/linux/include/net/if_arc.h: Ditto.
5807 * libc/sys/linux/include/net/if_arp.h: Ditto.
5808 * libc/sys/linux/include/net/if_atm.h: Ditto.
5809 * libc/sys/linux/include/net/if_dl.h: Ditto.
5810 * libc/sys/linux/include/net/if_gif.h: Ditto.
5811 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
5812 * libc/sys/linux/include/net/if_llc.h: Ditto.
5813 * libc/sys/linux/include/net/if_media.h: Ditto.
5814 * libc/sys/linux/include/net/if_mib.h: Ditto.
5815 * libc/sys/linux/include/net/if_ppp.h: Ditto.
5816 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
5817 * libc/sys/linux/include/net/if_slvar.h: Ditto.
5818 * libc/sys/linux/include/net/if_sppp.h: Ditto.
5819 * libc/sys/linux/include/net/if_stf.h: Ditto.
5820 * libc/sys/linux/include/net/if_tap.h: Ditto.
5821 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
5822 * libc/sys/linux/include/net/if_tun.h: Ditto.
5823 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
5824 * libc/sys/linux/include/net/if_types.h: Ditto.
5825 * libc/sys/linux/include/net/if_var.h: Ditto.
5826 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
5827 * libc/sys/linux/include/net/intrq.h: Ditto.
5828 * libc/sys/linux/include/net/iso88025.h: Ditto.
5829 * libc/sys/linux/include/net/net_osdep.h: Ditto.
5830 * libc/sys/linux/include/net/netisr.h: Ditto.
5831 * libc/sys/linux/include/net/pfil.h: Ditto.
5832 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
5833 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
5834 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
5835 * libc/sys/linux/include/net/radix.h: Ditto.
5836 * libc/sys/linux/include/net/raw_cb.h: Ditto.
5837 * libc/sys/linux/include/net/route.h: Ditto.
5838 * libc/sys/linux/include/net/slcompress.h: Ditto.
5839 * libc/sys/linux/include/net/slip.h: Ditto.
5840 * libc/sys/linux/include/net/zlib.h: Ditto.
5841 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
5842 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
5843 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
5844 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
5845 * libc/sys/linux/include/netinet/igmp.h: Ditto.
5846 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
5847 * libc/sys/linux/include/netinet/in.h: Ditto.
5848 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
5849 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
5850 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
5851 * libc/sys/linux/include/netinet/in_var.h: Ditto.
5852 * libc/sys/linux/include/netinet/ip.h: Ditto.
5853 * libc/sys/linux/include/netinet/ip6.h: Ditto.
5854 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
5855 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
5856 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
5857 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
5858 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
5859 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
5860 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
5861 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
5862 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
5863 * libc/sys/linux/include/netinet/tcp.h: Ditto.
5864 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
5865 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
5866 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
5867 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
5868 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
5869 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
5870 * libc/sys/linux/include/netinet/udp.h: Ditto.
5871 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
5872 * libc/sys/linux/include/netinet6/ah.h: Ditto.
5873 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
5874 * libc/sys/linux/include/netinet6/esp.h: Ditto.
5875 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
5876 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
5877 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
5878 * libc/sys/linux/include/netinet6/in6.h: Ditto.
5879 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
5880 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
5881 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
5882 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
5883 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
5884 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
5885 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
5886 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
5887 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
5888 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
5889 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
5890 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
5891 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
5892 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
5893 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
5894 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
5895 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
5896 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
5897 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
5898 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
5899 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
5900 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
5901 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
5902 * libc/sys/linux/include/netns/idp.h: Ditto.
5903 * libc/sys/linux/include/netns/idp_var.h: Ditto.
5904 * libc/sys/linux/include/netns/ns.h: Ditto.
5905 * libc/sys/linux/include/netns/ns_error.h: Ditto.
5906 * libc/sys/linux/include/netns/ns_if.h: Ditto.
5907 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
5908 * libc/sys/linux/include/netns/sp.h: Ditto.
5909 * libc/sys/linux/include/netns/spidp.h: Ditto.
5910 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
5911 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
5912 * libc/sys/linux/include/netns/spp_var.h: Ditto.
5913 * libc/sys/linux/include/rpc/Makefile: Ditto.
5914 * libc/sys/linux/include/rpc/auth.h: Ditto.
5915 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
5916 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
5917 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
5918 * libc/sys/linux/include/rpc/clnt.h: Ditto.
5919 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
5920 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
5921 * libc/sys/linux/include/rpc/des.h: Ditto.
5922 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
5923 * libc/sys/linux/include/rpc/nettype.h: Ditto.
5924 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
5925 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
5926 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
5927 * libc/sys/linux/include/rpc/raw.h: Ditto.
5928 * libc/sys/linux/include/rpc/rpc.h: Ditto.
5929 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
5930 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
5931 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
5932 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
5933 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
5934 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
5935 * libc/sys/linux/include/rpc/svc.h: Ditto.
5936 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
5937 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
5938 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
5939 * libc/sys/linux/include/rpc/types.h: Ditto.
5940 * libc/sys/linux/include/rpc/xdr.h: Ditto.
5941 * libc/sys/linux/intl/Makefile.am: Ditto.
5942 * libc/sys/linux/intl/Makefile.in: Ditto.
5943 * libc/sys/linux/intl/bindtextdom.c: Ditto.
5944 * libc/sys/linux/intl/catgets.c: Ditto.
5945 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
5946 * libc/sys/linux/intl/config.h: Ditto.
5947 * libc/sys/linux/intl/dcgettext.c: Ditto.
5948 * libc/sys/linux/intl/dcigettext.c: Ditto.
5949 * libc/sys/linux/intl/dcngettext.c: Ditto.
5950 * libc/sys/linux/intl/dgettext.c: Ditto.
5951 * libc/sys/linux/intl/dngettext.c: Ditto.
5952 * libc/sys/linux/intl/explodename.c: Ditto.
5953 * libc/sys/linux/intl/finddomain.c: Ditto.
5954 * libc/sys/linux/intl/gettext.c: Ditto.
5955 * libc/sys/linux/intl/gettext.h: Ditto.
5956 * libc/sys/linux/intl/gettextP.h: Ditto.
5957 * libc/sys/linux/intl/hash-string.h: Ditto.
5958 * libc/sys/linux/intl/l10nflist.c: Ditto.
5959 * libc/sys/linux/intl/loadinfo.h: Ditto.
5960 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
5961 * libc/sys/linux/intl/locale.alias: Ditto.
5962 * libc/sys/linux/intl/localealias.c: Ditto.
5963 * libc/sys/linux/intl/ngettext.c: Ditto.
5964 * libc/sys/linux/intl/open_catalog.c: Ditto.
5965 * libc/sys/linux/intl/plural.c: Ditto.
5966 * libc/sys/linux/intl/plural.y: Ditto.
5967 * libc/sys/linux/intl/stpcpy.c: Ditto.
5968 * libc/sys/linux/intl/textdomain.c: Ditto.
5969 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
5970 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
5971 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
5972 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
5973 * libc/sys/linux/linuxthreads/attr.c: Ditto.
5974 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
5975 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
5976 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
5977 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
5978 * libc/sys/linux/linuxthreads/config.h: Ditto.
5979 * libc/sys/linux/linuxthreads/configure: Ditto.
5980 * libc/sys/linux/linuxthreads/configure.in: Ditto.
5981 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
5982 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
5983 * libc/sys/linux/linuxthreads/events.c: Ditto.
5984 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
5985 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
5986 * libc/sys/linux/linuxthreads/internals.h: Ditto.
5987 * libc/sys/linux/linuxthreads/join.c: Ditto.
5988 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
5989 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
5990 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
5991 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
5992 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
5993 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
5994 * libc/sys/linux/linuxthreads/manager.c: Ditto.
5995 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
5996 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
5997 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
5998 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
5999 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
6000 * libc/sys/linux/linuxthreads/prio.c: Ditto.
6001 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
6002 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
6003 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
6004 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
6005 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
6006 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
6007 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
6008 * libc/sys/linux/linuxthreads/queue.h: Ditto.
6009 * libc/sys/linux/linuxthreads/reent.c: Ditto.
6010 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
6011 * libc/sys/linux/linuxthreads/restart.h: Ditto.
6012 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
6013 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
6014 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
6015 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
6016 * libc/sys/linux/linuxthreads/signals.c: Ditto.
6017 * libc/sys/linux/linuxthreads/specific.c: Ditto.
6018 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
6019 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
6020 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
6021 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
6022 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
6023 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
6024 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
6025 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
6026 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
6027 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
6028 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
6029 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
6030 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
6031 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
6032 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
6033 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
6034 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
6035 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
6036 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
6037 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
6038 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
6039 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
6040 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
6041 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
6042 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
6043 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
6044 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
6045 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
6046 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
6047 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
6048 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
6049 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
6050 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
6051 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
6052 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
6053 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
6054 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
6055 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
6056 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
6057 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
6058 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
6059 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
6060 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
6061 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
6062 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
6063 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
6064 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
6065 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
6066 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
6067 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
6068 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
6069 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
6070 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
6071 * libc/sys/linux/linuxthreads/unload.c: Ditto.
6072 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
6073 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
6074 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
6075 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
6076 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
6077 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
6078 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
6079 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
6080 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
6081 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
6082 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
6083 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
6084 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
6085 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
6086 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
6087 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
6088 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
6089 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
6090 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
6091 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
6092 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
6093 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
6094 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
6095 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
6096 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
6097 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
6098 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
6099 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
6100 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
6101 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
6102 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
6103 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
6104 * libc/sys/linux/net/Makefile.am: Ditto.
6105 * libc/sys/linux/net/Makefile.in: Ditto.
6106 * libc/sys/linux/net/addr2ascii.3: Ditto.
6107 * libc/sys/linux/net/addr2ascii.c: Ditto.
6108 * libc/sys/linux/net/ascii2addr.c: Ditto.
6109 * libc/sys/linux/net/base64.c: Ditto.
6110 * libc/sys/linux/net/bindresvport.c: Ditto.
6111 * libc/sys/linux/net/byteorder.3: Ditto.
6112 * libc/sys/linux/net/ether_addr.c: Ditto.
6113 * libc/sys/linux/net/ethers.3: Ditto.
6114 * libc/sys/linux/net/getaddrinfo.3: Ditto.
6115 * libc/sys/linux/net/getaddrinfo.c: Ditto.
6116 * libc/sys/linux/net/gethostbydns.c: Ditto.
6117 * libc/sys/linux/net/gethostbyht.c: Ditto.
6118 * libc/sys/linux/net/gethostbyname.3: Ditto.
6119 * libc/sys/linux/net/gethostbynis.c: Ditto.
6120 * libc/sys/linux/net/gethostnamadr.c: Ditto.
6121 * libc/sys/linux/net/getifaddrs.3: Ditto.
6122 * libc/sys/linux/net/getifaddrs.c: Ditto.
6123 * libc/sys/linux/net/getipnodebyname.3: Ditto.
6124 * libc/sys/linux/net/getnameinfo.3: Ditto.
6125 * libc/sys/linux/net/getnameinfo.c: Ditto.
6126 * libc/sys/linux/net/getnetbydns.c: Ditto.
6127 * libc/sys/linux/net/getnetbyht.c: Ditto.
6128 * libc/sys/linux/net/getnetbynis.c: Ditto.
6129 * libc/sys/linux/net/getnetent.3: Ditto.
6130 * libc/sys/linux/net/getnetnamadr.c: Ditto.
6131 * libc/sys/linux/net/getproto.c: Ditto.
6132 * libc/sys/linux/net/getprotoent.3: Ditto.
6133 * libc/sys/linux/net/getprotoent.c: Ditto.
6134 * libc/sys/linux/net/getprotoname.c: Ditto.
6135 * libc/sys/linux/net/getservbyname.c: Ditto.
6136 * libc/sys/linux/net/getservbyport.c: Ditto.
6137 * libc/sys/linux/net/getservent.3: Ditto.
6138 * libc/sys/linux/net/getservent.c: Ditto.
6139 * libc/sys/linux/net/herror.c: Ditto.
6140 * libc/sys/linux/net/hesiod.3: Ditto.
6141 * libc/sys/linux/net/hesiod.c: Ditto.
6142 * libc/sys/linux/net/if_indextoname.3: Ditto.
6143 * libc/sys/linux/net/ifname.c: Ditto.
6144 * libc/sys/linux/net/inet.3: Ditto.
6145 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
6146 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
6147 * libc/sys/linux/net/inet_addr.c: Ditto.
6148 * libc/sys/linux/net/inet_lnaof.c: Ditto.
6149 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
6150 * libc/sys/linux/net/inet_net.3: Ditto.
6151 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
6152 * libc/sys/linux/net/inet_net_pton.c: Ditto.
6153 * libc/sys/linux/net/inet_neta.c: Ditto.
6154 * libc/sys/linux/net/inet_netof.c: Ditto.
6155 * libc/sys/linux/net/inet_network.c: Ditto.
6156 * libc/sys/linux/net/inet_ntoa.c: Ditto.
6157 * libc/sys/linux/net/inet_ntop.c: Ditto.
6158 * libc/sys/linux/net/inet_pton.c: Ditto.
6159 * libc/sys/linux/net/innetgr-stub.c: Ditto.
6160 * libc/sys/linux/net/ip6opt.c: Ditto.
6161 * libc/sys/linux/net/iso_addr.3: Ditto.
6162 * libc/sys/linux/net/iso_addr.c: Ditto.
6163 * libc/sys/linux/net/issetugid-stub.c: Ditto.
6164 * libc/sys/linux/net/linkaddr.3: Ditto.
6165 * libc/sys/linux/net/linkaddr.c: Ditto.
6166 * libc/sys/linux/net/map_v4v6.c: Ditto.
6167 * libc/sys/linux/net/name6.c: Ditto.
6168 * libc/sys/linux/net/namespace.h: Ditto.
6169 * libc/sys/linux/net/ns.3: Ditto.
6170 * libc/sys/linux/net/ns_addr.c: Ditto.
6171 * libc/sys/linux/net/ns_name.c: Ditto.
6172 * libc/sys/linux/net/ns_netint.c: Ditto.
6173 * libc/sys/linux/net/ns_ntoa.c: Ditto.
6174 * libc/sys/linux/net/ns_parse.c: Ditto.
6175 * libc/sys/linux/net/ns_print.c: Ditto.
6176 * libc/sys/linux/net/ns_ttl.c: Ditto.
6177 * libc/sys/linux/net/nsap_addr.c: Ditto.
6178 * libc/sys/linux/net/nsdispatch.3: Ditto.
6179 * libc/sys/linux/net/nsdispatch.c: Ditto.
6180 * libc/sys/linux/net/nslexer.c: Ditto.
6181 * libc/sys/linux/net/nslexer.l: Ditto.
6182 * libc/sys/linux/net/nsparser.c: Ditto.
6183 * libc/sys/linux/net/nsparser.h: Ditto.
6184 * libc/sys/linux/net/nsparser.y: Ditto.
6185 * libc/sys/linux/net/rcmd.3: Ditto.
6186 * libc/sys/linux/net/rcmd.c: Ditto.
6187 * libc/sys/linux/net/rcmdsh.3: Ditto.
6188 * libc/sys/linux/net/rcmdsh.c: Ditto.
6189 * libc/sys/linux/net/recv.c: Ditto.
6190 * libc/sys/linux/net/res_comp.c: Ditto.
6191 * libc/sys/linux/net/res_config.h: Ditto.
6192 * libc/sys/linux/net/res_data.c: Ditto.
6193 * libc/sys/linux/net/res_debug.c: Ditto.
6194 * libc/sys/linux/net/res_init.c: Ditto.
6195 * libc/sys/linux/net/res_mkquery.c: Ditto.
6196 * libc/sys/linux/net/res_mkupdate.c: Ditto.
6197 * libc/sys/linux/net/res_query.c: Ditto.
6198 * libc/sys/linux/net/res_send.c: Ditto.
6199 * libc/sys/linux/net/res_update.c: Ditto.
6200 * libc/sys/linux/net/resolver.3: Ditto.
6201 * libc/sys/linux/net/rthdr.c: Ditto.
6202 * libc/sys/linux/net/send.c: Ditto.
6203 * libc/sys/linux/net/un-namespace.h: Ditto.
6204 * libc/sys/linux/net/vars.c: Ditto.
6205 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
6206 * libc/sys/linux/stdlib/Makefile.am: Ditto.
6207 * libc/sys/linux/stdlib/Makefile.in: Ditto.
6208 * libc/sys/linux/stdlib/cclass.h: Ditto.
6209 * libc/sys/linux/stdlib/cname.h: Ditto.
6210 * libc/sys/linux/stdlib/collate.c: Ditto.
6211 * libc/sys/linux/stdlib/collate.h: Ditto.
6212 * libc/sys/linux/stdlib/collcmp.c: Ditto.
6213 * libc/sys/linux/stdlib/engine.c: Ditto.
6214 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
6215 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
6216 * libc/sys/linux/stdlib/glob.3: Ditto.
6217 * libc/sys/linux/stdlib/glob.c: Ditto.
6218 * libc/sys/linux/stdlib/reallocf.c: Ditto.
6219 * libc/sys/linux/stdlib/regcomp.c: Ditto.
6220 * libc/sys/linux/stdlib/regerror.c: Ditto.
6221 * libc/sys/linux/stdlib/regex.3: Ditto.
6222 * libc/sys/linux/stdlib/regex2.h: Ditto.
6223 * libc/sys/linux/stdlib/regexec.c: Ditto.
6224 * libc/sys/linux/stdlib/regfree.c: Ditto.
6225 * libc/sys/linux/stdlib/utils.h: Ditto.
6226 * libc/sys/linux/stdlib/wordexp.c: Ditto.
6227 * libc/sys/linux/stdlib/wordfree.c: Ditto.
6228 * libc/sys/linux/sys/dlfcn.h: Ditto.
6229 * libc/sys/linux/sys/elfclass.h: Ditto.
6230 * libc/sys/linux/sys/event.h: Ditto.
6231 * libc/sys/linux/sys/ioccom.h: Ditto.
6232 * libc/sys/linux/sys/libc-tsd.h: Ditto.
6233 * libc/sys/linux/sys/link.h: Ditto.
6234 * libc/sys/linux/sys/lock.h: Ditto.
6235 * libc/sys/linux/sys/param.h: Ditto.
6236 * libc/sys/linux/sys/socket.h: Ditto.
6237 * libc/sys/linux/sys/sockio.h: Ditto.
6238
6239 2003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
6240
6241 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
6242 normal mode
6243 * newlib/libc/machine/h8300/memset.S: Likewise
6244 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
6245 * newlib/lib/machine/h8300/reg_memset.S: Likewise
6246 * newlib/lib/machine/h8300/setjmp.S: Likewise
6247 * newlib/lib/machine/h8300/strcmp.S: Likewise
6248 * newlib/lib/sys/h8300hms/crt0.S: Likewise
6249
6250 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
6251
6252 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
6253 * libc/include/stdio.h: Ditto.
6254 * libc/include/sys/config.h: Ditto.
6255 * libc/stdio/mktemp.c: Ditto.
6256
6257 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
6258
6259 * libc/locale/ldpart.c (__part_load_locale): Substitute
6260 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
6261 * libc/search/hash.c (__hash_open): Ditto.
6262 (init_hash): Ditto.
6263 * libc/stdio/fseek.c (fseek): Ditto.
6264 * libc/stdio/makebuf.c (__smakebuf): Ditto.
6265 * libc/stdio/mktemp.c (_gettemp): Ditto.
6266
6267 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
6268
6269 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
6270
6271 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
6272
6273 * configure.host: Accomodate removing the libc/sys/cygwin dir.
6274 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
6275 if __CYGWIN_USE_BIG_TYPES__ is set.
6276 * libc/search/hash.c (__hash_open): Ditto.
6277 (init_hash): Ditto.
6278 * libc/stdio/fseek.c (fseek): Ditto.
6279 * libc/stdio/makebuf.c (__smakebuf): Ditto.
6280 * libc/stdio/mktemp.c (_gettemp): Ditto.
6281 * libc/sys/cygwin/Makefile.am: Remove.
6282 * libc/sys/cygwin/Makefile.in: Remove.
6283 * libc/sys/cygwin/aclocal.m4: Remove.
6284 * libc/sys/cygwin/configure: Remove.
6285 * libc/sys/cygwin/configure.in: Remove.
6286 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
6287 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
6288 directory.
6289 * libc/sys/cygwin/sys/param.h: Ditto.
6290 * libc/sys/cygwin/sys/utime.h: Ditto.
6291 * libc/sys/cygwin/sys/utmp.h: Ditto.
6292
6293 2003-05-11 Corinna Vinschen <corinna@vinschen.de>
6294
6295 * libc/include/sys/types.h: Don't define key_t for Cygwin.
6296
6297 2003-05-10 Christopher Faylor <cgf@redhat.com>
6298
6299 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
6300 64 bit inodes.
6301
6302 2003-05-09 Corinna Vinschen <corinna@vinschen.de>
6303
6304 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
6305 Include cygwin/config.h instead.
6306
6307 2003-04-16 Jeff Johnston <jjohnstn@redhat.com>
6308
6309 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
6310 all code with #ifdef __SPE__ test.
6311 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
6312
6313 2003-04-15 Chris January <chris@atomice.net>
6314
6315 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
6316 Cygwin.
6317
6318 2003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
6319
6320 * libc/machine/sh/memset.S: Avoid clobbering volatile
6321 objects following a tiny to-be-set array in the same quadword.
6322
6323 2001-04-09 Corinna Vinschen <corinna@vinschen.de>
6324
6325 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
6326 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
6327 * libc/string/Makefile.in: Regenerated.
6328 * libc/string/wcswidth.c: New file.
6329 * libc/string/wcwidth.c: New file.
6330 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
6331
6332 Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
6333
6334 * libc/machine/sh/memset.S: Fix problem with alloco region
6335 exceeding destination region for length >= 88 bytes, start
6336 & 0x16 == 0, end & 0x1f == 18.
6337
6338 2001-04-03 Corinna Vinschen <corinna@vinschen.de>
6339
6340 * libc/string/wcscoll.c: Fix comment.
6341
6342 2001-04-02 Corinna Vinschen <corinna@vinschen.de>
6343
6344 * libc/include/wchar.h: Add definition for wcscoll.
6345 * libc/string/Makefile.am: Add wcscoll.c.
6346 * libc/string/Makefile.in: Regenerated.
6347 * libc/string/wcscoll.c: New file.
6348 * libc/string/wcstrings.tex: Add wcscoll.
6349
6350 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
6351
6352 * libc/stdio/sscanf.c: Update flags description.
6353 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
6354 type.
6355 (__svfscanf_r): Add 'hh' and 'll' handling.
6356
6357 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
6358
6359 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
6360 __d_position member to _off_t.
6361
6362 2003-03-20 Jeff Johnston <jjohnstn@redhat.com>
6363
6364 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
6365 count all characters used to create number against maximum width.
6366 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
6367
6368 2003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
6369
6370 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
6371 support.
6372 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
6373 flag to support simulator only extensions.
6374
6375 2003-03-17 Bob Cassels <bcassels@abinitio.com>
6376
6377 * libc/string/wcschr.c: (wcschr): Look for character first,
6378 then for end of string, so you can do wcschr(x, '\0').
6379
6380 2003-03-10 Corinna Vinschen <corinna@vinschen.de>
6381
6382 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
6383 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
6384 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
6385 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
6386 * libc/stdio/fseeko.c (fseeko): Ditto.
6387 * libc/stdio/ftello.c (ftello): Ditto.
6388 * libc/stdio/stdio.c (__swrite): Ditto.
6389 (__sseek): Ditto.
6390 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
6391 * libc/stdio/fseek.c (fseek): Ditto.
6392 * libc/stdio/fsetpos.c (fsetpos): Ditto.
6393 * libc/stdio/ftell.c (ftell): Ditto.
6394 * libc/stdio/local.h: Declare __sseek using _off_t.
6395
6396 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
6397
6398 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
6399
6400 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
6401
6402 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
6403 Cygwin.
6404
6405 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
6406
6407 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
6408 Cygwin.
6409 * libc/include/sys/stat.h: Ditto.
6410 * libc/include/sys/unistd.h: Ditto.
6411 * libc/sys/cygwin/sys/dirent.h: Ditto.
6412
6413 2003-03-07 Christopher Faylor <cgf@redhat.com>
6414
6415 * libc/include/sys/unistd.h: Guard getopt.h call to force only
6416 declaration of getopt and avoid getopt_long declaration.
6417 * libc/sys/cygwin/include/unistd.h: Remove.
6418
6419 2003-03-07 Corinna Vinschen <corinna@vinschen.de>
6420
6421 * configure.host: Define stdio64_dir for Cygwin.
6422 * libc/include/stdio.h: Change definition of fpos_t to fulfill
6423 Cygwin 64bit file access requirements.
6424 Drop definition of f*64() functions when compiled for Cygwin.
6425 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
6426 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
6427 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
6428
6429 2003-03-07 Jeff Johnston <jjohnstn@redhat.com>
6430
6431 * libc/include/sys/reent.h: Remove extraneous _sig_func
6432 declaration.
6433
6434 2003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
6435
6436 * libc/sys/h8300hms/Makefile.am: Add support for new files.
6437 * libc/sys/h8300hms/Makefile.in: Regenerated.
6438 * libc/sys/h8300hms/close.S: New file.
6439 * libc/sys/h8300hms/fstat.S: Ditto.
6440 * libc/sys/h8300hms/lseek.S: Ditto.
6441 * libc/sys/h8300hms/open.S: Ditto.
6442 * libc/sys/h8300hms/stat.S: Ditto.
6443 * libc/sys/h8300hms/read.S: New file to replace read.c.
6444 * libc/sys/h8300hms/read.c: Removed.
6445 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
6446 _lseek, _close, _stat, _fstat.
6447 * libc/sys/h8300hms/write.S: New file to replace write.c.
6448 * libc/sys/h8300hms/write.c: Removed.
6449
6450 2003-02-20 Nick Clifton <nickc@redhat.com>
6451
6452 * Add support for Cirrus Maverick ARM co-processor:
6453
6454 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
6455
6456 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
6457 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
6458
6459 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
6460
6461 * configure.host: set sys_dir, syscall_dir, and
6462 newlib_cflags for ep9312 host.
6463
6464 * configure.host: Restore alpha sorting of entries in case
6465 statements.
6466
6467 2003-02-19 Jeff Johnston <jjohnstn@redhat.com>
6468
6469 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
6470
6471 2003-02-18 Christian Groessler <chris@groessler.org>
6472
6473 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
6474 support z8001 segmented mode.
6475
6476 2003-02-18 Earnie Boyd <earnie@users.sf.net>
6477
6478 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
6479 with a NULL value.
6480
6481 2003-02-10 Christopher Faylor <cgf@redhat.com>
6482
6483 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
6484 Don't define some types under cygwin.
6485
6486 2003-02-07 Jeff Johnston <jjohnstn@redhat.com>
6487
6488 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
6489 option to allow disabling of syscalls being supplied in newlib.
6490 * aclocal.m4: Regenerated.
6491 * configure: Ditto.
6492 * configure.host: Add support of new configuration option and add
6493 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
6494 * doc/aclocal.m4: Regenerated.
6495 * doc/configure: Ditto.
6496 * libc/*aclocal.m4: Ditto.
6497 * libc/*configure: Ditto.
6498 * libm/*aclocal.m4: Ditto.
6499 * libm/*configure: Ditto.
6500 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
6501 is disabled.
6502 * libc/sys/arm/Makefile.in: Regenerated.
6503
6504 2003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
6505
6506 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
6507 -1 to be sure it cannot later match a valid file fd causing
6508 isatty() to return 1.
6509 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
6510 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
6511 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
6512
6513 2003-02-03 Jeff Johnston <jjohnstn@redhat.com>
6514
6515 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
6516 buffer based on the precision, after we have processed the input value
6517 in a local buffer and know its relative magnitude.
6518
6519 2003-01-31 Michael Snyder <msnyder@redhat.com>
6520
6521 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
6522 into registers r1 and r2, so that the simulator can distinguish
6523 this trap from a breakpoint trap. Copied from libgloss.
6524
6525 2003-01-31 Michael Snyder <msnyder@redhat.com>
6526
6527 * libc/sys/h8300hms/crt0.S (_start): Change local label
6528 from .loop to .Loop, so that ld and gdb will ignore it.
6529
6530 2003-01-29 Jason Tishler <jason@tishler.net>
6531
6532 * libc/include/time.h: Declare nanosleep() under Cygwin.
6533
6534 2003-01-24 Nick Clifton <nickc@redhat.com>
6535
6536 * Add sh2e support:
6537
6538 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
6539
6540 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
6541 * libc/machine/sh/setjmp.S: Likewise.
6542 * libc/include/machine/ieeefp.h: Likewise.
6543
6544 2003-01-24 Corinna Vinschen <corinna@vinschen.de>
6545
6546 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
6547 for Cygwin.
6548
6549 2003-01-21 Anita Kulkarni <anitak@kpit.com>
6550
6551 * libc/time/difftime.c : Typecast the result to double.
6552
6553 2003-01-20 Christopher Faylor <cgf@redhat.com>
6554
6555 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
6556
6557 2003-01-18 Nick Clifton <nickc@redhat.com>
6558
6559 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
6560 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
6561
6562 2003-01-16 Joel Sherrill <joel@OARcorp.com>
6563
6564 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
6565 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
6566 constants are defined in each file in the shared versions in
6567 libc/include.
6568 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
6569 autoconf can link programs.
6570 * libc/include/machine/types.h: Explicitly specify signed on
6571 intXX_t types to ensure they are signed.
6572
6573 2003-01-14 Christopher Faylor <cgf@redhat.com>
6574
6575 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
6576 extensions.
6577
6578 2003-01-08 Richard Sandiford <rsandifo@redhat.com>
6579
6580 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
6581
6582 2003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
6583
6584 * libc/stdio/sprintf.c: fix typo
6585 * libc/stdio/vfprintf.c: fix typo
6586
6587 2003-01-07 Jeff Johnston <jjohnstn@redhat.com>
6588
6589 * configure.host: Support long double I/O for x86-linux.
6590 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
6591 large enough to hold formatted result.
6592 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
6593
6594 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
6595
6596 * Makefile.am: Add vasprintf.
6597 * Makefile.in: Regenerated.
6598
6599 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
6600
6601 * asprintf.c (_asprintf_r): insure both declarations
6602 are the same.
6603
6604 2002-12-28 Christopher Faylor <cgf@redhat.com>
6605
6606 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
6607 than defining getopt directly.
6608
6609 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
6610
6611 * NEWS: Update with 1.11.0 info.
6612 * README: Ditto.
6613 * acinclude.m4: Change version number to 1.11.0.
6614 * aclocal.m4: Regenerated.
6615 * configure: Ditto.
6616 * doc/aclocal.m4: Ditto.
6617 * doc/configure: Ditto.
6618 * libc/*/aclocal.m4: Ditto.
6619 * libc/*/configure: Ditto.
6620 * libc/libc.texinfo: Ditto.
6621 * libm/*/aclocal.m4: Ditto.
6622 * libm/*/configure: Ditto.
6623 * libm/libm.texinfo: Ditto.
6624 * libc/sys/linux/shared.ld: Add VERS_1.11.
6625
6626 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
6627
6628 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
6629 Solutions to Red Hat Inc.
6630 * libc/machine/i386/f_atan2f.S: Ditto.
6631 * libc/machine/i386/f_exp.c: Ditto.
6632 * libc/machine/i386/f_expf.c: Ditto.
6633 * libc/machine/i386/f_frexp.S: Ditto.
6634 * libc/machine/i386/f_frexpf.S: Ditto.
6635 * libc/machine/i386/f_ldexp.S: Ditto.
6636 * libc/machine/i386/f_ldexpf.S: Ditto.
6637 * libc/machine/i386/f_log.S: Ditto.
6638 * libc/machine/i386/f_log10.S: Ditto.
6639 * libc/machine/i386/f_log10f.S: Ditto.
6640 * libc/machine/i386/f_logf.S: Ditto.
6641 * libc/machine/i386/f_pow.c: Ditto.
6642 * libc/machine/i386/f_powf.c: Ditto.
6643 * libc/machine/i386/f_tan.S: Ditto.
6644 * libc/machine/i386/f_tanf.S: Ditto.
6645 * libc/machine/i386/memchr.S: Ditto.
6646 * libc/machine/i386/memcmp.S: Ditto.
6647 * libc/machine/i386/memcpy.S: Ditto.
6648 * libc/machine/i386/memmove.S: Ditto.
6649 * libc/machine/i386/memset.S: Ditto.
6650 * libc/machine/i386/strchr.S: Ditto.
6651 * libc/machine/i386/strlen.S: Ditto.
6652 * libm/machine/i386/f_atan2.S: Ditto.
6653 * libm/machine/i386/f_atan2f.S: Ditto.
6654 * libm/machine/i386/f_exp.c: Ditto.
6655 * libm/machine/i386/f_expf.c: Ditto.
6656 * libm/machine/i386/f_frexp.S: Ditto.
6657 * libm/machine/i386/f_frexpf.S: Ditto.
6658 * libm/machine/i386/f_ldexp.S: Ditto.
6659 * libm/machine/i386/f_ldexpf.S: Ditto.
6660 * libm/machine/i386/f_log.S: Ditto.
6661 * libm/machine/i386/f_log10.S: Ditto.
6662 * libm/machine/i386/f_log10f.S: Ditto.
6663 * libm/machine/i386/f_logf.S: Ditto.
6664 * libm/machine/i386/f_pow.c: Ditto.
6665 * libm/machine/i386/f_powf.c: Ditto.
6666 * libm/machine/i386/f_tan.S: Ditto.
6667 * libm/machine/i386/f_tanf.S: Ditto.
6668
6669 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
6670
6671 * libc/stdlib/environ.c: Update license to Red Hat.
6672 * libc/machine/hppa/setjmp.S: Ditto.
6673 * libm/test/Makefile.in: Ditto.
6674
6675 2002-12-19 Jeff Johnston <jjohnstn@redhat.com>
6676
6677 * configure.host: Remove references to go32.
6678 * libc/sys/go32/*: Removed.
6679
6680 2002-12-16 Kazu Hirata <kazu@cs.umass.edu>
6681
6682 * libc/include/sys/config.h: Change setting of INT_MAX
6683 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
6684 __H8300S__. Also consolidate flag settings for these
6685 platforms.
6686
6687 2002-12-10 Joel Sherrill <joel@OARcorp.com>
6688
6689 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
6690 for i386-rtems targets.
6691
6692 2002-12-06 Jeff Johnston <jjohnstn@redhat.com>
6693
6694 * libc/include/stdlib.h (strtof): New prototype (from C99).
6695 (strtodf): Changed from prototype to macro which redefines
6696 to strtof.
6697 * libc/stdlib/atof.c: Change documentation to refer to strtof
6698 instead of strtodf.
6699 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
6700 strtodf.
6701 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
6702 (strtof): New function.
6703 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
6704 calls strtof.
6705
6706 2002-11-27 Christopher Faylor <cgf@redhat.com>
6707
6708 * libc/string/memset.c (memset): Fix comment.
6709
6710 2002-11-26 Christopher Faylor <cgf@redhat.com>
6711
6712 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
6713 function.
6714
6715 2002-11-25 Christopher Faylor <cgf@redhat.com>
6716
6717 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
6718 variable, introduced below, everywhere.
6719
6720 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
6721
6722 * libc/string/memset.c (memset): Make it safe even if
6723 sizeof (int) = 2.
6724
6725 2002-11-22 Joe Buehler <jbuehler@hekimian.com>
6726
6727 * configure.in: Change check for libc/include in ${CC} to
6728 use an intermediate value so as to work with different shells.
6729 * configure: Regenerated.
6730 * Makefile.in: Ditto.
6731
6732 2002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
6733
6734 * libc/sys/h8300hms/read.c: Add support for normal mode
6735 architecture.
6736
6737 2002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
6738
6739 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
6740 code for __H8300H__ and __H8300S__. Also return 32-bit return code
6741 when -mint32 is used.
6742
6743 2002-11-18 Nick Clifton <nickc@redhat.com>
6744
6745 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
6746
6747 2002-11-14 Jeff Johnston <jjohnstn@redhat.com>
6748
6749 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
6750 only issue one pass/fail message for a compile/link/execute.
6751 * testsuite/newlib.elix/elix.exp: New file.
6752 * testsuite/newlib.elix/tmmap.c: Ditto.
6753
6754 2002-11-06 Christopher Faylor <cgf@redhat.com>
6755
6756 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
6757 * libc/stdlib/mlock.c: Ditto.
6758 * libc/stdlib/msize.c: Ditto.
6759 * libc/stdlib/msize.c: Ditto.
6760 * libc/stdlib/mtrim.c: Ditto.
6761 * libc/stdlib/valloc.c: Ditto.
6762
6763 2002-11-12 Jeff Johnston <jjohnstn@redhat.com>
6764
6765 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
6766 for inf/nan, make sure that the check ignores the sign bit.
6767
6768 2002-11-07 Joel Sherrill <joel@OARcorp.com>
6769
6770 * libc/sys/rtems/machine: New directory.
6771 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
6772 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
6773 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
6774 targets more BSD like when installed without requiring files to
6775 be overwritten at install point when RTEMS itself is installed.
6776 * Makefile.am: Pick up system dependent machine .h files such as
6777 might be found on a BSD-ish system.
6778 * Makefile.in: Regenerate.
6779 * libc/include/machine/types.h: When on an RTEMS target, define a
6780 few BSD flavor types.
6781
6782 2002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
6783
6784 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
6785
6786 2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
6787
6788 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
6789 * libc/include/wctype.h: Ditto.
6790
6791 2002-11-04 Jeff Johnston <jjohnstn@redhat.com>
6792
6793 * libc/include/wchar.h: Add extern "C" specifier if C++.
6794 * libc/include/wctype.h: Ditto.
6795
6796 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6797
6798 * testsuite/newlib.wctype/tiswctype.c: New test case.
6799 * testsuite/newlib.wctype/twctrans.c: Ditto.
6800
6801 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6802
6803 * libc/sys/linux/machine/i386/include/endian.h: New file.
6804 * libc/sys/linux/machine/i386/include/param.h: Ditto.
6805
6806 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6807
6808 * libm/machine/i386/aclocal.m4: Regenerated.
6809 * libm/machine/i386/configure: Ditto.
6810
6811 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6812
6813 * testsuite/include/check.h: New header file to use with
6814 test cases.
6815 * testsuite/lib/newlib.exp: Add testsuite/include directory
6816 to list of header files to use.
6817 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
6818 * testsuite/newlib.wctype/wctype.exp: New file.
6819
6820 2002-10-11 Graham Stott <graham.stott@btinternet.com>
6821 Richard Sandiford <rsandifo@redhat.com>
6822
6823 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
6824 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
6825 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
6826
6827 2002-10-07 Joel Sherrill <joel@OARcorp.com>
6828
6829 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
6830 dummy programs.
6831
6832 2002-10-07 Joel Sherrill <joel@OARcorp.com>
6833
6834 * libc/include/pthread.h: Define PTHREAD_CANCELED.
6835
6836 2002-10-07 Joel Sherrill <joel@OARcorp.com>
6837
6838 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
6839 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
6840 compile with current GNU tools.
6841
6842 2002-10-07 Jeff Johnston <jjohnstn@redhat.com>
6843
6844 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
6845 the build library.
6846 * configure.in: Ditto.
6847 * Makefile.in: Regenerated.
6848 * configure: Ditto.
6849 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
6850 for specifying configured libraries/directories.
6851 * libc/sys/linux/configure.in: Ditto.
6852 * libc/sys/linux/Makefile.in: Regenerated.
6853 * libc/sys/linux/configure: Ditto.
6854
6855 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
6856
6857 * libc/include/reent.h: Update documentation at start of file.
6858
6859 2002-09-27 Jim Wilson <wilson@redhat.com>
6860
6861 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
6862 the ctbp register.
6863
6864 2002-09-27 Jeff Johnston <jjohnstn@redhat.com>
6865
6866 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
6867 Also convert to EUCJP before using arrays. For values not in
6868 the conversion arrays, return WEOF.
6869 * libc/ctype/jp2uc.h: Change from one array to a number of
6870 arrays to account for the fact that the originating table
6871 is not contiguous for the input values since some are invalid.
6872
6873 2002-09-24 Jeff Johnston <jjohnstn@redhat.com>
6874
6875 * libc/time/ctime.c: Fix prototype documentation.
6876
6877 2002-09-24 Corinna Vinschen <corinna@vinschen.de>
6878
6879 * libc/include/sys/errno.h: Add EOVERFLOW.
6880
6881 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
6882
6883 * libc/include/wctype.h: New file.
6884
6885 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
6886
6887 * libc/ctype/Makefile.am: Add new files.
6888 * libc/ctype/Makefile.in: Regenerated.
6889 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
6890 and wctrans functions to documentation index.
6891 * libc/ctype/iswalnum.c: New file.
6892 * libc/ctype/iswalpha.c: Ditto.
6893 * libc/ctype/iswblank.c: Ditto.
6894 * libc/ctype/iswcntrl.c: Ditto.
6895 * libc/ctype/iswctype.c: Ditto.
6896 * libc/ctype/iswdigit.c: Ditto.
6897 * libc/ctype/iswgraph.c: Ditto.
6898 * libc/ctype/iswlower.c: Ditto.
6899 * libc/ctype/iswprint.c: Ditto.
6900 * libc/ctype/iswpunct.c: Ditto.
6901 * libc/ctype/iswspace.c: Ditto.
6902 * libc/ctype/iswupper.c: Ditto.
6903 * libc/ctype/iswxdigit.c: Ditto.
6904 * libc/ctype/jp2uc.c: Ditto.
6905 * libc/ctype/jp2uc.h: Ditto.
6906 * libc/ctype/local.h: Ditto.
6907 * libc/ctype/towctrans.c: Ditto.
6908 * libc/ctype/towlower.c: Ditto.
6909 * libc/ctype/towupper.c: Ditto.
6910 * libc/ctype/utf8alpha.h: Ditto.
6911 * libc/ctype/utf8print.h: Ditto.
6912 * libc/ctype/utf8punct.h: Ditto.
6913 * libc/ctype/wctrans.c: Ditto.
6914 * libc/ctype/wctype.c: Ditto.
6915 * libc/locale/locale.c (__lc_ctype): New external array to
6916 replace static lc_ctype array.
6917 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
6918 rather than reentrancy structure's _current_locale field.
6919 * libc/stdlib/wctomb_r.c: Ditto.
6920
6921 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
6922
6923 * configure.host: Minor comment and formatting changes.
6924 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
6925 * libc/Makefile.in: Regenerated.
6926 * libc/include/sys/config.h: Minor format change.
6927
6928 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
6929
6930 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
6931 statement comment.
6932
6933 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
6934
6935 * libc/posix/opendir.c (opendir): Change code to check
6936 for HAVE_FCNTL before calling fcntl.
6937 * libc/search/hash.c (hash_open): Ditto.
6938 * libc/search/hash_page.c (open_tmp): Ditto.
6939 * libc/reent/Makefile.am: Add fcntlr.c.
6940 * libc/reent/Makefile.in: Regenerated.
6941 * libc/reent/fcntlr.c: New file.
6942 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
6943 instead of _fcntl when HAVE_FCNTL flag is set.
6944 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
6945 to see if _fcntl or _fcntl_r should be called. If flag is not
6946 set, default to ENOSYS stub.
6947
6948 2002-09-16 Jeff Johnston <jjohnstn@redhat.com>
6949
6950 * libc/include/wchar.h (mbstate_t): Change protective flag to
6951 be _MBSTATE_T.
6952 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
6953 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
6954 for Cygwin.
6955 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
6956
6957 2002-09-11 Jeff Johnston <jjohnstn@redhat.com>
6958
6959 * acinclude.m4 (enable-newlib-mb): Change check to
6960 default newlib_mb variable to empty string rather than "no".
6961 * configure.host: Remove hard-coding of -DMB_CAPABLE for
6962 x86-linux and Cygwin. Add code to check for newlib_mb
6963 being unset in which case set to "yes" for x86-linux and
6964 Cygwin. Change check for newlib_mb being "yes" to allow
6965 for an empty string.
6966 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
6967 * newlib.hin (_MB_LEN_MAX): New define to configure.
6968 * aclocal.m4: Regenerated.
6969 * configure: Ditto.
6970 * libc/include/limits.h: New file.
6971 * libc/sys/linux/include/limits.h: Ditto.
6972 * doc/aclocal.m4 doc/configure libc/aclocal.m4
6973 libc/configure libc/machine/aclocal.m4
6974 libc/machine/configure libc/machine/a29k/aclocal.m4
6975 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
6976 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
6977 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
6978 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
6979 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
6980 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
6981 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
6982 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
6983 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
6984 libc/machine/i386/configure libc/machine/i960/aclocal.m4
6985 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
6986 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
6987 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
6988 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
6989 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
6990 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
6991 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
6992 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
6993 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
6994 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
6995 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
6996 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
6997 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
6998 libc/machine/v850/configure libc/machine/w65/aclocal.m4
6999 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
7000 libc/machine/xscale/configure
7001 libc/machine/xstormy16/aclocal.m4
7002 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
7003 libc/machine/z8k/configure libc/sys/aclocal.m4
7004 libc/sys/configure libc/sys/a29khif/aclocal.m4
7005 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
7006 libc/sys/arc/configure libc/sys/arm/aclocal.m4
7007 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
7008 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
7009 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
7010 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
7011 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
7012 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
7013 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
7014 libc/sys/idt/configure libc/sys/linux/aclocal.m4
7015 libc/sys/linux/configure
7016 libc/sys/linux/machine/aclocal.m4
7017 libc/sys/linux/machine/configure
7018 libc/sys/linux/machine/i386/aclocal.m4
7019 libc/sys/linux/machine/i386/configure
7020 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
7021 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
7022 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
7023 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
7024 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
7025 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
7026 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
7027 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
7028 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
7029 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
7030 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
7031 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
7032 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
7033 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
7034 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
7035 libm/aclocal.m4 libm/configure: Regenerated.
7036
7037 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
7038
7039 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
7040 code that clears the .bss section.
7041
7042 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
7043
7044 * libc/include/sys/_types.h (_mbstate_t): Changed to use
7045 unsigned char internally.
7046 * libc/sys/linux/sys/_types.h: Ditto.
7047 * libc/include/sys/reent.h
7048 * libc/stdlib/mblen.c (mblen): Use function-specific state
7049 value from default reentrancy structure.
7050 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
7051 _mbtowc_r is less than 0, reset state __count value and
7052 return -1.
7053 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
7054 is NULL, use the function-specific pointer provided in the
7055 default reentrancy structure.
7056 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
7057 If input state pointer is NULL, use function-specific area
7058 provided in reentrancy structure.
7059 * libc/stdlib/mbsrtowcs.c: Ditto.
7060 * libc/stdlib/wcrtomb.c: Ditto.
7061 * libc/stdlib/wcsrtombs.c: Ditto.
7062 * libc/stdlib/mbstowcs.c: Reformat.
7063 * libc/stdlib/wcstombs.c: Ditto.
7064 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
7065 reset the state's __count value and return -1.
7066 * libc/stdlib/mbtowc.c: Ditto.
7067 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
7068 If number of bytes is used up before completing a valid multibyte
7069 character, return -2 and save the state.
7070 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
7071 and change some __count references to __state for clarity.
7072
7073 2002-09-06 Jeff Johnston <jjohnstn@redhat.com>
7074
7075 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
7076 is defined by <limits.h>.
7077
7078 2002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7079
7080 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
7081 defined.
7082
7083 2002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7084
7085 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
7086 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
7087 __WCHAR_MAX__ or 0x7fffffffu.
7088 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
7089 * libc/string/wcsncmp.c: Ditto.
7090
7091 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
7092
7093 * libc/string/wcschr.c: Add include of <stddef.h>.
7094 * libc/string/wcspbrk.c: Ditto.
7095 * libc/string/wcsrchr.c: Ditto.
7096 * libc/string/wcsstr.c: Ditto.
7097
7098 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
7099
7100 * libc/include/sys/_types.h (_flock_t): Added.
7101 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
7102 (__lock_try_acquire_recursive): Ditto.
7103 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
7104 _lock field.
7105 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
7106 field.
7107 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
7108 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
7109 * libc/sys/linux/include/time.h (struct timespec): Moved from
7110 <sys/types.h> and added check for __need_timespec flag so type
7111 can be defined by itself.
7112 * libc/sys/linux/sys/_types.h (_flock_t): New type.
7113 * libc/sys/linux/sys/types.h (struct timespec): Moved to
7114 <time.h>.
7115
7116 2002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
7117
7118 * libc/sys/linux/argp: New directory.
7119 * libc/sys/linux/getopt.c: New file.
7120 * libc/sys/linux/getopt1.c: New file.
7121 * libc/sys/linux/getoptlong.c: Remove file.
7122 * libc/sys/linux/include/argp.h: New file.
7123 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
7124 based on ELIX level.
7125 (SUBDIRS): Add argp_dir.
7126 (SUBLIBS): Add ARGP_LIB.
7127 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
7128 getopt_long.$(oext).
7129 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
7130
7131 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7132
7133 * libc/libc.texinfo: Add node reference to wide-character strings.
7134 * libc/string/wcstrings.tex: New file.
7135 * libc/string/strtok_r.c: Remove outdated advertising clause.
7136 * libc/string/Makefile.am (doc): Add wide-character string
7137 chapter to documentation.
7138 * libc/string/Makefile.in: Regenerated.
7139
7140 2002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7141
7142 * libc/include/wchar.h: Define NULL. Define WEOF more general
7143 way. Declare functions in newlib manner.
7144 * libc/stdlib/Makefile.am: Delete wmem*.c
7145 * libc/stdlib/Makefile.in: Regenerated.
7146 * libc/stdlib/wmemchr.c: Delete.
7147 * libc/stdlib/wmemcmp.c: Ditto.
7148 * libc/stdlib/wmemcpy.c: Ditto.
7149 * libc/stdlib/wmemmove.c: Ditto.
7150 * libc/stdlib/wmemset.c: Ditto.
7151 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
7152 * libc/string/Makefile.in: Regenerated.
7153 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
7154 * libc/string/wcschr.c: Ditto.
7155 * libc/string/wcscmp.c: Ditto.
7156 * libc/string/wcscpy.c: Ditto.
7157 * libc/string/wcscspn.c: Ditto.
7158 * libc/string/wcslcat.c: Ditto.
7159 * libc/string/wcslcpy.c: Ditto.
7160 * libc/string/wcslen.c: Ditto.
7161 * libc/string/wcsncat.c: Ditto.
7162 * libc/string/wcsncmp.c: Ditto.
7163 * libc/string/wcsncpy.c: Ditto.
7164 * libc/string/wcspbrk.c: Ditto.
7165 * libc/string/wcsrchr.c: Ditto.
7166 * libc/string/wcsspn.c: Ditto.
7167 * libc/string/wcsstr.c: Ditto.
7168 * libc/string/wmemchr.c: Ditto.
7169 * libc/string/wmemcmp.c: Ditto.
7170 * libc/string/wmemcpy.c: Ditto.
7171 * libc/string/wmemmove.c: Ditto.
7172 * libc/string/wmemset.c: Ditto.
7173
7174 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7175
7176 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
7177 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
7178 and is treated as if "C" was specified.
7179
7180 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7181
7182 * Makefile.am (install-data-local): Move install of build
7183 newlib.h after installing headers in libc/include so as to
7184 overwrite default newlib.h.
7185 * Makefile.in: Regenerated.
7186
7187 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7188
7189 * libc/include/newlib.h: New file for tools that use newlib
7190 headers but don't build newlib first (e.g. gcc).
7191
7192 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7193
7194 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
7195 * libc/stdlib/wmemcmp.c: Ditto.
7196 * libc/stdlib/wmemcpy.c: Ditto.
7197 * libc/stdlib/wmemmove.c: Ditto.
7198 * libc/stdlib/wmemset.c: Ditto.
7199
7200 2002-08-27 Egor Duda <deo@logos-m.ru>
7201
7202 * libc/stdlib/wmemchr.c: New file.
7203 * libc/stdlib/wmemcmp.c: Ditto.
7204 * libc/stdlib/wmemcpy.c: Ditto.
7205 * libc/stdlib/wmemmove.c: Ditto.
7206 * libc/stdlib/wmemset.c: Ditto.
7207 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
7208 * configure.host: Default -DMB_CAPABLE for cygwin.
7209 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
7210 wmemmove() and wmemset(). Add include of <_ansi.h>.
7211 * libc/stdlib/Makefile.in: Regenerate.
7212
7213 2002-08-27 Jeff Johnston <jjohnstn@redhat.com>
7214
7215 * configure.host: Remove _ELIX_LEVEL flag setting.
7216 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
7217 (install-data-local): Install newlib.h.
7218 * Makefile.in: Regenerated.
7219 * aclocal.m4: Ditto.
7220 * configure: Ditto.
7221 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
7222 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
7223 and _NEWLIB_VERSION to fill in newlib.h header file entries.
7224 In AC_OUTPUT statement, unset ac_file so multilib support does
7225 not use last ac_file temporary used in newlib.h configuration.
7226 * libc/include/_ansi.h: Include <newlib.h>.
7227 * newlib.hin: New template file for newlib.h.
7228 * stamp-h.in: New file.
7229
7230 2002-08-26 Wu Yongwei <adah@netstd.com>
7231
7232 * time.h (timezonevar): Change "#if" to "#ifdef".
7233
7234 2002-08-26 Jeff Johnston <jjohnstn@redhat.com>
7235
7236 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
7237 * Makefile.in: Regenerated.
7238 * acinclude.m4: Add support for --enable-newlib-elix-level option.
7239 * aclocal.m4: Regenerated.
7240 * configure: Ditto.
7241 * configure.host: Add code to define _ELIX_LEVEL if
7242 --enable-newlib-elix-level option is used.
7243 * configure.in:
7244 * libc/aclocal.m4: Regenerated.
7245 * libc/configure: Ditto.
7246 * libc/argz/Makefile.am: Add EL/IX level checking.
7247 * libc/argz/Makefile.in: Regenerated.
7248 * libc/argz/dummy.c: New file.
7249 * libc/ctype/Makefile.am: Add EL/IX level checking.
7250 * libc/ctype/Makefile.in: Regenerated.
7251 * libc/locale/Makefile.am: Add EL/IX level checking.
7252 * libc/locale/Makefile.in: Regenerated.
7253 * libc/posix/Makefile.am: Add EL/IX level checking.
7254 * libc/posix/Makefile.in: Regenerated.
7255 * libc/posix/telldir.c: Add EL/IX level checking.
7256 * libc/reent/Makefile.am: Ditto.
7257 * libc/reent/fstat64r.c: Ditto.
7258 * libc/reent/lseek64r.c: Ditto.
7259 * libc/reent/open64r.c: Ditto.
7260 * libc/reent/Makefile.in: Regenerated.
7261 * libc/search/Makefile.am: Add EL/IX level checking.
7262 * libc/search/Makefile.in: Regenerated.
7263 * libc/stdio/Makefile.am: Add EL/IX level checking.
7264 * libc/stdio/Makefile.in: Regenerated.
7265 * libc/stdio64/Makefile.am: Add EL/IX level checking.
7266 * libc/stdio64/Makefile.in: Regenerated.
7267 * libc/stdio64/dummy.c: New file.
7268 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
7269 after first include.
7270 * libc/stdio64/fopen64.c: Ditto.
7271 * libc/stdio64/freopen64.c: Ditto.
7272 * libc/stdio64/fseeko64.c: Ditto.
7273 * libc/stdio64/fsetpos64.c: Ditto.
7274 * libc/stdio64/ftello64.c: Ditto.
7275 * libc/stdio64/tmpfile64.c: Ditto.
7276 * libc/stdlib/Makefile.am: Add EL/IX level checking.
7277 * libc/stdlib/Makefile.in: Regenerated.
7278 * libc/stdlib/mstats.c: Add EL/IX level checking.
7279 * libc/string/Makefile.am: Ditto.
7280 * libc/string/Makefile.in: Regenerated.
7281 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
7282 * libc/sys/linux/Makefile.in: Regenerated.
7283 * libc/sys/linux/aclocal.m4: Ditto.
7284 * libc/sys/linux/configure: Ditto.
7285 * libc/sys/linux/aio.c: Add EL/IX level checking.
7286 * libc/sys/linux/ftok.c: Ditto.
7287 * libc/sys/linux/getdate.c: Ditto.
7288 * libc/sys/linux/ids.c: Ditto.
7289 * libc/sys/linux/inode.c: Ditto.
7290 * libc/sys/linux/io.c: Ditto.
7291 * libc/sys/linux/process.c: Ditto.
7292 * libc/sys/linux/resource.c: Ditto.
7293 * libc/sys/linux/sched.c: Ditto.
7294 * libc/sys/linux/sig.c: Ditto.
7295 * libc/sys/linux/termios.c: Ditto.
7296 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
7297 __libc___waitpid weak aliases.
7298 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
7299 that generate the code for a syscall, but do not create a
7300 weak alias.
7301 * libc/syscalls/Makefile.am: Add EL/IX level checking.
7302 * libc/syscalls/Makefile.in: Regenerated.
7303 * libc/time/tzset_r.c: Change to replace strdup with equivalent
7304 functionality.
7305 * libc/unix/Makefile.am: Add EL/IX level checking.
7306 * libc/unix/Makefile.in: Regenerated.
7307
7308 2002-08-26 Christopher Faylor <cgf@redhat.com>
7309
7310 * libc/include/malloc.h: On cygwin, define malloc _r functions as
7311 wrapper macros to standard malloc functions.
7312 * libc/include/stdlib.h: Ditto.
7313 * configure.host: Always define MALLOC_PROVIDED on cygwin.
7314
7315 2002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7316
7317 * libc/include/langinfo.h: New file.
7318 * libc/include/wchar.h: Likewise.
7319 * libc/include/sys/syslimits.h: Likewise.
7320 * libc/locale/fix_grouping.c: Likewise.
7321 * libc/locale/ldpart.c: Likewise.
7322 * libc/locale/ldpart.h: Likewise.
7323 * libc/locale/lmessages.c: Likewise.
7324 * libc/locale/lmessages.h: Likewise.
7325 * libc/locale/lmonetary.c: Likewise.
7326 * libc/locale/lmonetary.h: Likewise.
7327 * libc/locale/lnumeric.c: Likewise.
7328 * libc/locale/lnumeric.h: Likewise.
7329 * libc/locale/nl_langinfo.3: Likewise.
7330 * libc/locale/nl_langinfo.c: Likewise.
7331 * libc/locale/timelocal.c: Likewise.
7332 * libc/locale/timelocal.h: Likewise.
7333 * libc/stdlib/btowc.c: Likewise.
7334 * libc/stdlib/mbrlen.c: Likewise.
7335 * libc/stdlib/mbrtowc.c: Likewise.
7336 * libc/stdlib/mbsinit.c: Likewise.
7337 * libc/stdlib/mbsrtowcs.c: Likewise.
7338 * libc/stdlib/wcrtomb.c: Likewise.
7339 * libc/stdlib/wcsrtombs.c: Likewise.
7340 * libc/stdlib/wctob.c: Likewise.
7341 * libc/sys/linux/prof-freq.c: Likewise.
7342 * libc/sys/linux/profile.c: Likewise.
7343 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
7344 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
7345 * libc/include/stdlib.h: Change re-entrant functions to take
7346 mbstate_t pointers.
7347 * libc/include/sys/_types.h: Define _mbstate_t.
7348 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
7349 * libc/include/sys/errno.h (EILSEQ): New error code.
7350 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
7351 structure to use mbstate_t.
7352 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
7353 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
7354 * libc/machine/powerpc/vfscanf.c: Likewise.
7355 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
7356 * libc/stdio/vfprintf.c: Likewise.
7357 * libc/stdio/vfscanf.c: Likewise.
7358 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
7359 * libc/stdlib/mblen.c: Use mbstate_t.
7360 * libc/stdlib/mblen_r.c: Likewise.
7361 * libc/stdlib/mbstowcs.c: Likewise.
7362 * libc/stdlib/mbstowcs_r.c: Likewise.
7363 * libc/stdlib/mbtowc.c: Likewise.
7364 * libc/stdlib/mbtowc_r.c: Likewise.
7365 * libc/stdlib/wcstombs.c: Likewise.
7366 * libc/stdlib/wcstombs_r.c: Likewise.
7367 * libc/stdlib/wctomb_r.c: Likewise.
7368 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
7369 profile.c.
7370 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
7371 dl-procinfo.c.
7372 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
7373 * libc/sys/linux/sys/types.h (off_t): Define type.
7374 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
7375 to C-UTF-8.
7376 * testsuite/newlib.locale/UTF-8.exp: Likewise.
7377
7378 2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
7379
7380 * libc/stdlib/mallocr.c: #include windows.h on Win32.
7381 (AlignPage): Continue macro on next line.
7382
7383 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
7384
7385 * libc/sys/linux/include/pthread.h: New file.
7386
7387 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
7388
7389 * libc/include/sys/types.h: Support __need_inttypes macro
7390 that only sets the __intxx and __uintxx types.
7391 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
7392 to get mprec.h.
7393 * libc/machine/powerpc/Makefile.in: Regenerated.
7394 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
7395 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
7396 redundant fixed-point conversion prototypes.
7397 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
7398 after setting __need_inttypes.
7399
7400 2002-08-18 Christopher Faylor <cgf@redhat.com>
7401
7402 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
7403
7404 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7405
7406 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
7407 _LONG_DOUBLE to double.
7408
7409 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7410
7411 * configure.host: Add powerpc*-*-eabispe* configuration.
7412 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
7413 * libc/machine/powerpc/atosfix32.c: Ditto.
7414 * libc/machine/powerpc/atosfix64.c: Ditto.
7415 * libc/machine/powerpc/atoufix16.c: Ditto.
7416 * libc/machine/powerpc/atoufix32.c: Ditto.
7417 * libc/machine/powerpc/atoufix64.c: Ditto.
7418 * libc/machine/powerpc/fix64.h: Ditto.
7419 * libc/machine/powerpc/simdldtoa.c: Ditto.
7420 * libc/machine/powerpc/strtosfix16.c: Ditto.
7421 * libc/machine/powerpc/strtosfix32.c: Ditto.
7422 * libc/machine/powerpc/strtosfix64.c: Ditto.
7423 * libc/machine/powerpc/strtoufix16.c: Ditto.
7424 * libc/machine/powerpc/strtoufix32.c: Ditto.
7425 * libc/machine/powerpc/strtoufix64.c: Ditto.
7426 * libc/machine/powerpc/ufix64toa.c: Ditto.
7427 * libc/machine/powerpc/configure.in: Add check for
7428 powerpc*-eabispe and add fixed-point conversion functions.
7429 * libc/machine/powerpc/configure: Regenerated.
7430 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
7431 %r and %R format specifiers which handle fixed-point data.
7432 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
7433 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
7434 function prototypes.
7435
7436 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7437
7438 * Makefile.am: Move cmath stuff into libc/sys/linux.
7439 * Makefile.in: Regenerated.
7440 * configure.host: Default -DMB_CAPABLE for x86-linux.
7441 * libc/include/reent.h: Define _sbrk to take signed int argument.
7442 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
7443 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
7444 make locale name checking more efficient. Also allow "C-ISO-8859-1"
7445 locale for LC_CTYPE and LC_MESSAGES.
7446 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
7447 * libc/sys/linux/brk.c: Change sbrk prototype.
7448 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
7449 include <sys/features.h>.
7450 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
7451 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
7452 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
7453 with a few local additions.
7454 * libc/sys/linux/sys/features.h: New file.
7455 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
7456 to take signed argument.
7457 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
7458 prototypes to take signed size argument.
7459
7460 2002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
7461
7462 * libc/sys/linux/cmath: New directory.
7463 * libc/sys/linux/include/cmathcalls.h: New file.
7464 * libc/sys/linux/include/complex.h: New file.
7465 * libc/sys/linux/machine/i386/huge_val.h: New file
7466 * libm/math/w_sincos.c: New file
7467 * libm/math/wf_sincos.c: New file
7468 * libm/mathfp/s_sincos.c: New file
7469 * libm/mathfp/sf_sincos.c: New file
7470 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
7471 * libc/include/math.h: Add sincos and sincosf declarations.
7472 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
7473 (SUBLIBS): Likewise.
7474 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
7475 * libm/math/Makefile.am (src): Add w_sincos.c.
7476 (fsrc): Add wf_sincos.c.
7477 * libm/mathfp/Makefile.am (src): Add s_sincos.c
7478 (fsrc): Add sf_sincos.c.
7479
7480 2002-08-12 Jeff Johnston <jjohnstn@redhat.com>
7481
7482 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
7483 Declare as extern chars and use the address operator to
7484 properly use values set in linker script.
7485
7486 2002-08-09 Jason Tishler <jason@tishler.net>
7487
7488 * libc/stdlib/mallocr.c: Include <limits.h>.
7489 (request2size): Change macro to do
7490 unsigned long comparisons and avoid signed overflow.
7491 (mALLOc): Add overflow check for the number of bytes to allocate.
7492 (rEALLOc): Ditto.
7493
7494 2002-08-09 Jeff Johnston <jjohnstn@redhat.com>
7495
7496 * configure.host: Add check for --enable-newlib-io-pos-args
7497 and define WANT_IO_POS_ARGS flag if enabled. Define
7498 the flag by default for x86-linux configurations.
7499 * configure.in: Add support for --enable-newlib-io-pos-args.
7500 * libc/configure.in: Ditto.
7501 * configure: Regenerated.
7502 * libc/configure: Ditto.
7503 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
7504 vfprintf.c and vfiprintf.c.
7505 * libc/stdio/Makefile.in: Regenerated.
7506 * libc/stdio/vfprintf.c: Add positional argument support that
7507 is enabled by compiling with -DWANT_IO_POS_ARGS.
7508
7509 2002-08-07 Richard Sandiford <rsandifo@redhat.com>
7510
7511 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
7512 based on __mips_soft_float rather than __mips64.
7513 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
7514 of both 32-bit and 64-bit code.
7515
7516 2002-08-04 Christopher Faylor <cgf@redhat.com>
7517
7518 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
7519 arguments for popen to match similar functionality in fopen.
7520
7521 2002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
7522
7523 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
7524
7525 2002-07-29 Jeff Johnston <jjohnstn@redhat.com>
7526
7527 * libc/sys/linux/Makefile.am: Add aio64.c.
7528 * libc/sys/linux/Makefile.in: Regenerated.
7529 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
7530 * libc/sys/linux/aio64.c: New file.
7531
7532 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
7533
7534 * libc/include/sys/param.h (MAX, MIN): Added macros.
7535 * libc/sys/linux/Makefile.am: Add new files.
7536 * libc/sys/linux/Makefile.in: Regenerated.
7537 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
7538 * libc/sys/linux/inode.c (fchdir): Added syscall.
7539 * libc/sys/linux/ftw.c: New file.
7540 * libc/sys/linux/ftw64.c: Ditto.
7541 * libc/sys/linux/getwd.c: Ditto.
7542 * libc/sys/linux/scandir64.c: Ditto.
7543 * libc/sys/linux/strverscmp.c: Ditto.
7544 * libc/sys/linux/versionsort.c: Ditto.
7545 * libc/sys/linux/versionsort64.c: Ditto.
7546
7547 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
7548
7549 * libc/string/strings.tex: Fix typo for memccpy.
7550
7551 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7552
7553 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
7554 * libc/sys/linux/sys/types.h (off64_t): Definition added.
7555
7556 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7557
7558 * libc/sys/linux/Makefile.am: Add fclean.c.
7559 * libc/sys/linux/Makefile.in: Regenerated.
7560 * libc/sys/linux/fclean.c: New file.
7561
7562 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7563
7564 * libc/sys/linux/Makefile.am: Add confstr.c.
7565 * libc/sys/linux/Makefile.in: Regenerated.
7566 * libc/sys/linux/confstr.c: New file.
7567 * libc/sys/linux/confstr.h: Ditto.
7568 * libc/sys/linux/sys/unistd.h: Include <features.h> and
7569 <bits/environments.h>.
7570
7571 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7572
7573 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
7574 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
7575 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
7576 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
7577 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
7578 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
7579
7580 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
7581
7582 * libc/sys/linux/Makefile.am: Add new files.
7583 * libc/sys/linux/Makefile.in: Regenerated.
7584 * libc/sys/linux/fstab.c: New file.
7585 * libc/sys/linux/fstatvfs.c: Ditto.
7586 * libc/sys/linux/fstatvfs64.c: Ditto.
7587 * libc/sys/linux/internal_statvfs.c: Ditto.
7588 * libc/sys/linux/mntent.c: Ditto.
7589 * libc/sys/linux/mntent_r.c: Ditto.
7590 * libc/sys/linux/statvfs.c: Ditto.
7591 * libc/sys/linux/statvfs64.c: Ditto.
7592 * libc/sys/linux/include/paths.h: Ditto.
7593 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
7594 with double-underscore weak-aliases.
7595 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
7596
7597 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
7598
7599 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
7600 to use _sig_func_ptr type casted constants.
7601 (_sig_func_ptr): Typedef moved to sys/signal.h.
7602 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
7603 For __rtems, use POSIX definition, otherwise default to ANSI.
7604 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
7605
7606 2002-07-24 Stephane Carrez <stcarrez@nerim.fr>
7607
7608 * configure.host: Recognize m6811-elf and m6812-elf targets.
7609 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
7610 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
7611 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
7612 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
7613 according to __INT_MAX__.
7614 (_POINTER_INT): Define to short.
7615 * libc/machine/m68hc11/Makefile.am: New file.
7616 * libc/machine/m68hc11/Makefile.in: New file.
7617 * libc/machine/m68hc11/configure.in: New file.
7618 * libc/machine/m68hc11/configure: New file.
7619 * libc/machine/m68hc11/aclocal.m4: New file.
7620 * libc/machine/m68hc11/setjmp.S: New file.
7621
7622 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
7623
7624 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
7625 prototypes.
7626 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
7627 * libc/stdlib/Makefile.in: Regenerated.
7628 * libc/stdlib/strdup.c: Removed.
7629 * libc/stdlib/strdup_r.c: Removed.
7630 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
7631 mempcpy.c, strndup.c, and strndup_r.c.
7632 * libc/string/Makefile.in: Regenerated.
7633 * libc/string/memccpy.c: New file.
7634 * libc/string/mempcpy.c: Ditto.
7635 * libc/string/strndup.c: Ditto.
7636 * libc/string/strndup_r.c: Ditto.
7637 * libc/string/strdup.c: New file moved from stdlib.
7638 * libc/string/strdup_r.c: Ditto.
7639 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
7640
7641 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
7642
7643 * libc/include/stdio.h: Move fcloseall prototype within
7644 #ifndef _REENT_ONLY section.
7645 * libc/sys/linux/Makefile.am: Add new files.
7646 * libc/sys/linux/Makefile.in: Regenerated.
7647 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
7648 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
7649 * libc/sys/linux/sys/types.h: Add ino64_t type.
7650 * libc/sys/linux/ctermid.c: New file.
7651 * libc/sys/linux/ttyname_r.c: Ditto.
7652 * libc/sys/linux/readdir64.c: Ditto.
7653
7654 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
7655
7656 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
7657 * libc/stdio/Makefile.am: Added fcloseall.c support.
7658 * libc/stdio/Makefile.in: Regenerated.
7659 * libc/stdio/fcloseall.c: New file.
7660 * libc/stdio64/Makefile.am: Remove missing .def references.
7661 * libc/stdio64/Makefile.in: Regenerated.
7662
7663 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
7664
7665 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
7666 * libc/machine/powerpc/times.c: New file.
7667 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
7668 * libc/machine/powerpc/Makefile.in: Regenerated.
7669
7670 2002-07-22 Aldy Hernandez <aldyh@redhat.com>
7671
7672 * libc/machine/powerpc/time.c: New file.
7673 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
7674 time.c.
7675 * libc/machine/powerpc/Makefile.in: Regenerated.
7676
7677 2002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7678
7679 * libc/libc.texinfo: Change copyright notices to Red Hat from
7680 Cygnus.
7681 * libm/libm.texinfo: Likewise.
7682 * README: Change docs URL to
7683 http://sources.redhat.com/newlib/docs.html.
7684
7685 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
7686
7687 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
7688 * libc/sys/linux/Makefile.in: Regenerated.
7689 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
7690 * libc/sys/linux/io.c: Add ftruncate syscall.
7691 * libc/sys/linux/fpathconf.c: New file.
7692 * libc/sys/linux/pathconf.c: Ditto.
7693 * libc/sys/linux/linux_fsinfo.h: Ditto.
7694 * libc/sys/linux/sys/unistd.h: Ditto.
7695
7696 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
7697
7698 * libc/stdio64/Makefile.am: Remove missing files.
7699 * libc/stdio64/Makefile.in: Regenerated.
7700
7701 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
7702
7703 * libc/include/sys/config.h[__i386__][__linux__]: Define
7704 _LARGE64FILE_SOURCE to 1.
7705 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
7706 * libc/sys/linux/Makefile.in: Regenerated.
7707 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
7708 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
7709 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
7710 of <linux/resource.h>.
7711 * libc/sys/linux/getrlimit64.c: New file.
7712 * libc/sys/linux/setrlimit64.c: Ditto.
7713
7714 2002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
7715
7716 * libc/argz/argz_replace.c: Include buf_findstr.h.
7717 * libc/argz/buf_findstr.c: Likewise.
7718 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
7719 value to (char *).
7720 * libc/argz/envz_get.c: Likewise.
7721 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
7722 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
7723 * libc/stdlib/getsubopt.3: New file.
7724 * libc/stdlib/getsubopt.c: New file.
7725 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
7726 Change esp to ebp.
7727
7728 2002-07-17 Jeff Johnston <jjohnstn@redhat.com>
7729
7730 * configure.host(stdio64_dir): New setting that is used to
7731 enable building of new stdio64 directory.
7732 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
7733 large files.
7734 (stmp-stdio64,stdio64.texi): New targets to optionally add in
7735 stdio64 info to info files.
7736 * libc/Makefile.in: Regenerated.
7737 * libc/configure: Ditto.
7738 * libc/configure.in: Add configuration variables that are set
7739 when stdio64 is selected as subdir in configure.host.
7740 * libc/libc.texinfo: Add optional menu item for Stdio64, based
7741 on whether STDIO64 flag is set or not.
7742 * libc/sys.tex: Add optional stdio64 syscalls based on whether
7743 STDIO64 flag is set or not.
7744 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
7745 _r sycall routines.
7746 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
7747 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
7748 (__SL64): New file flag indicating file is opened via fopen64.
7749 * libc/include/sys/_types.h(_off64_t): Added.
7750 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
7751 * libc/include/sys/reent.h(struct __sFILE64): New file structure
7752 for 64-bit offset large file support.
7753 (__FILE): New intermediate type either set to struct __sFILE64 or
7754 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
7755 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
7756 * libc/reent/Makefile.in: Regenerated.
7757 * libc/reent/fstat64r.c: New file.
7758 * libc/reent/lseek64r.c: Ditto.
7759 * libc/reent/open64r.c: Ditto.
7760 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
7761 based on whether STDIO64 flag is set.
7762 * libc/stdio/stdio.tex: Add blank line.
7763 * libc/stdio64/Makefile.am: New file.
7764 * libc/stdio64/Makefile.in: Ditto.
7765 * libc/stdio64/fgetpos64.c: Ditto.
7766 * libc/stdio64/fopen64.: Ditto.
7767 * libc/stdio64/freopen64.c: Ditto.
7768 * libc/stdio64/fseeko64.c: Ditto.
7769 * libc/stdio64/fsetpos64.c: Ditto.
7770 * libc/stdio64/ftello64.c: Ditto.
7771 * libc/stdio64/local64.h: Ditto.
7772 * libc/stdio64/stdio64.c: Ditto.
7773 * libc/stdio64/stdio64.tex: Ditto.
7774 * libc/stdio64/tmpfile64.c: Ditto.
7775 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
7776 open64.
7777
7778 2002-07-16 Jeff Johnston <jjohnstn@redhat.com>
7779
7780 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
7781 if LIBC_EXTRA_LIB is present.
7782 * libc/Makefile.in: Regenerated.
7783 * libc/libc.texinfo: Add blank line.
7784 * libc/argz/Makefile.am: Add doc support.
7785 * libc/search/Makefile.am: Ditto.
7786 * libc/argz/Makefile.in: Regenerated.
7787 * libc/search/Makefile.in: Ditto.
7788 * libc/misc/misc.tex: Add ffs function.
7789 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
7790
7791 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7792
7793 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
7794 definition that was removed in error.
7795
7796 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7797
7798 * libc/include/machine/ieeefp.h: Change to only define
7799 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
7800 __IEEE_LITTLE_ENDIAN must be defined for each platform).
7801 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
7802 remove redundant floating point definitions.
7803
7804 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7805
7806 * libc/sys/linux/callocr.c: Fix so code references
7807 calloc.
7808
7809 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7810
7811 * libc/sys/linux/Makefile.am: Add new files.
7812 * libc/sys/linux/Makefile.in: Regenerated.
7813 * libc/sys/linux/bp-sym.h: Moved to include directory.
7814 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
7815 * libc/sys/linux/inode.c: Set _LIBC to 1.
7816 * libc/sys/linux/mq_close.c: Ditto.
7817 * libc/sys/linux/mq_getattr.c: Ditto.
7818 * libc/sys/linux/mq_open.c: Ditto.
7819 * libc/sys/linux/mq_receive.c: Ditto.
7820 * libc/sys/linux/mq_send.c: Ditto.
7821 * libc/sys/linux/mq_setattr.c: Ditto.
7822 * libc/sys/linux/mq_unlink.c: Ditto.
7823 * libc/sys/linux/calloc.c: New file.
7824 * libc/sys/linux/callocr.c: Ditto.
7825 * libc/sys/linux/cfreer.c: Ditto.
7826 * libc/sys/linux/config.h: Ditto.
7827 * libc/sys/linux/free.c: Ditto.
7828 * libc/sys/linux/freer.c: Ditto.
7829 * libc/sys/linux/msize.c: Ditto.
7830 * libc/sys/linux/msizer.c: Ditto.
7831 * libc/sys/linux/mstats.c: Ditto.
7832 * libc/sys/linux/mtrim.c: Ditto.
7833 * libc/sys/linux/mtrimr.c: Ditto.
7834 * libc/sys/linux/pvallocr.c: Ditto.
7835 * libc/sys/linux/realloc.c: Ditto.
7836 * libc/sys/linux/reallocr.c: Ditto.
7837 * libc/sys/linux/thread-m.h: Ditto.
7838 * libc/sys/linux/vallocr.c: Ditto.
7839 * libc/sys/linux/bp-checks.h: Ditto.
7840 * libc/sys/linux/libc-symbols.h: Ditto.
7841 * libc/sys/linux/libc-tsd.h: Ditto.
7842 * libc/sys/linux/libintl.h: Ditto.
7843 * libc/sys/linux/malign.c: Ditto.
7844 * libc/sys/linux/malignr.c: Ditto.
7845 * libc/sys/linux/mallinfor.c: Ditto.
7846 * libc/sys/linux/malloc.c: Ditto.
7847 * libc/sys/linux/mallocr.c: Ditto.
7848 * libc/sys/linux/malloptr.c: Ditto.
7849 * libc/sys/linux/mallstatsr.c: Ditto.
7850 * libc/sys/linux/mcheck.c: Ditto.
7851 * libc/sys/linux/mhooks.h: Ditto.
7852 * libc/sys/linux/include/bp-sym.h: Ditto.
7853 * libc/sys/linux/include/malloc.h: Ditto.
7854 * libc/sys/linux/include/mcheck.h: Ditto.
7855 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
7856 getpagesize.c.
7857 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
7858 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
7859 * libc/sys/linux/machine/i386/getpagesize.c: New file.
7860 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
7861 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
7862 * libc/sys/linux/machine/i386/sysdep.h: New file.
7863 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
7864 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
7865 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
7866
7867 2002-07-12 Jeff Johnston <jjohnstn@redhat.com>
7868
7869 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
7870 instead of <asm/siginfo.h>.
7871 * libc/sys/linux/sys/signal.h: Change to include various linux
7872 <bits/xxx.h> header files, rather than <linux/signal.h> so as
7873 to work with multiple releases of glibc header files.
7874
7875 2002-07-11 Chris Demetriou <cgd@broadcom.com>
7876
7877 * testsuite/newlib.search/hsearchtest.c: New file to test
7878 newlib/libc/search.
7879 * testsuite/newlib.search/hsearchtest.exp: Likewise.
7880
7881 2002-07-10 Florian Schrack <florian.schrack@freenet.de>
7882
7883 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
7884 a terminal.
7885 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
7886
7887 2002-07-08 Jeff Johnston <jjohnstn@redhat.com>
7888
7889 * libc/include/math.h (MAXFLOAT): Added.
7890
7891 Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
7892
7893 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
7894 Make strcmp.S unconditional.
7895 * libc/machine/sh/Makefile.in: Regenerate.
7896 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
7897 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
7898 for SHcompact.
7899
7900 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7901
7902 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
7903 define before including <sys/lock.h>.
7904
7905 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7906
7907 * libc/include/utime.h: Add include of <_ansi.h>.
7908 * libc/sys/linux/Makefile.am: Add utimes.c.
7909 * libc/sys/linux/Makefile.in: Regenerated.
7910 * libc/sys/linux/inode.c(__umask): New static routine.
7911 (umask): Written to use __umask and attempt to thread lock.
7912 (getumask): New function written to use __umask and thread lock.
7913 * libc/sys/linux/utimes.c: New file.
7914 * libc/sys/linux/sys/time.h: Fix utimes prototype.
7915 * libc/sys/linux/sys/utime.h: New file.
7916
7917 2002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
7918
7919 * libtool.m4: New file.
7920 * libc/sys/linux/process.c: Implement vfork in terms of fork,
7921 rather than as a syscall.
7922
7923 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7924
7925 * libc/include/stdio.h: Add new prototypes.
7926 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
7927 * libc/stdio/Makefile.in: Regenerated.
7928 * libc/stdio/fseek.c: Add fseeko documentation.
7929 * libc/stdio/ftell.c: Add ftello documentation.
7930 * libc/stdio/fseeko.c: New file.
7931 * libc/stdio/ftello.c: New file.
7932
7933 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7934
7935 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
7936 * libc/stdio/Makefile.in: Regenerated.
7937 * libc/stdio/asprintf.c: New file.
7938 * libc/stdio/vasprintf.c: Ditto.
7939 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
7940 the buffer for asprintf support.
7941 * libc/stdio/sprintf.c: Add asprintf documentation.
7942 * libc/stdio/vfprintf.c: Add vasprintf documentation.
7943 * libc/include/stdio.h: Add new prototypes.
7944
7945 2002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
7946
7947 * libc/search/hcreate.c: Remove advertising clause from license.
7948 * libc/search/hcreate_r.c: Likewise.
7949
7950 2002-07-02 Chris Demetriou <cgd@broadcom.com>
7951
7952 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
7953 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
7954 Check that one of them is defined and error out if not.
7955 Add any platforms defined in <machine/ieeefp.h> that are missing.
7956 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
7957 (DB_LITTLE_ENDIAN): New defines.
7958 * libc/search/hash.c: Replace all incorrect checks for
7959 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
7960 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
7961 * libc/search/hash_page.c: Likewise.
7962
7963 2002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
7964
7965 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
7966
7967 2002-06-27 Benjamin Kosnik <bkoz@redhat.com>
7968
7969 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
7970 * libc/include/time.h: Same.
7971 * libc/include/string.h: Same.
7972 * libc/include/stdlib.h: Same.
7973 * libc/include/signal.h: Same.
7974 * libc/include/setjmp.h: Same.
7975 * libc/include/math.h: Same.
7976 * libc/include/locale.h: Same.
7977 * libc/include/ctype.h: Same.
7978 * libc/include/machine/setjmp.h: Same.
7979 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
7980 (_END_STD_C): Add.
7981
7982 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
7983
7984 * libc/include/sys/_types.h: Define _ssize_t as int if int is
7985 32-bits, otherwise define it as long.
7986 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
7987 and define ssize_t as _ssize_t.
7988 * libc/reent/readr.c: Change return type to _ssize_t.
7989 * libc/reent/writer.c: Ditto.
7990 * libc/sys/linux/Makefile.am: Add aio.c.
7991 * libc/sys/linux/Makefile.in: Regenerated.
7992 * libc/sys/linux/aio.c: New file.
7993 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
7994 * libm/common/fdlibm.h: Undef __P before defining it.
7995
7996 2002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
7997
7998 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
7999 exponent_is_even_int variable. Handle case where x is
8000 negative, and y is an odd integer.
8001 * libm/mathfp/sf_pow.c (powf): Likewise.
8002
8003 * libm/mathfp/er_lgamma.c: Remove __kernel references.
8004 * libm/mathfp/erf_lgamma.c: Likewise.
8005 * libm/mathfp/s_tgamma.c: Likewise.
8006 * libm/mathfp/sf_tgamma.c: Likewise.
8007
8008 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
8009
8010 * libc/sys/linux/Makefile.am: Add new clock routines.
8011 * libc/sys/linux/Makefile.in: Regenerated.
8012 * libc/sys/linux/clock_getres.c: New file.
8013 * libc/sys/linux/clock_gettime.c: Ditto.
8014 * libc/sys/linux/clock_settime.c: Ditto.
8015 * libc/sys/linux/hp-timing.h: Ditto.
8016 * libc/sys/linux/libc-internal.h: Ditto.
8017 * libc/sys/linux/sysconf.c: Fix typo.
8018 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
8019 * libc/sys/linux/machine/hp-timing.h: New file.
8020 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
8021 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8022 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
8023 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
8024 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
8025 * libc/sys/linux/sys/linux_time.h: New file.
8026 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
8027 replace with <sys/linux_time.h>.
8028
8029 Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
8030
8031 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
8032
8033 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
8034
8035 * libc/sys/linux/Makefile.am: Consolidate additional items under
8036 ADD_OBJS.
8037 * libc/sys/linux/Makefile.in: Regenerated.
8038
8039 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
8040
8041 * libc/sys/linux/sethostname.c: New file.
8042 * libc/sys/linux/Makefile.am: Add sethostname.c support.
8043 * libc/sys/linux/Makefile.in: Regenerated.
8044
8045 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8046
8047 * libc/search/db_local.h: New file.
8048 * libc/include/db.h: Remove.
8049 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
8050 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
8051 "db_local.h".
8052 * libc/search/hash_bigkey.c: Likewise.
8053 * libc/search/hash_buf.c: Likewise.
8054 * libc/search/hash_func.c: Likewise.
8055 * libc/search/hash_log2.c: Likewise.
8056 * libc/search/hash_page.c: Likewise.
8057
8058 2002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
8059
8060 * libc/machine/sh/strlen.S: New file.
8061 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
8062 * libc/machine/sh/Makefile.am: Regenerate.
8063
8064 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
8065
8066 * libc/sys/linux/gethostname.c: Change name to __gethostname and
8067 add gethostname alias.
8068
8069 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
8070
8071 * libc/include/math.h: Remove <sys/types.h>.
8072 (__dmath): Use __ULong instead of __uint32_t.
8073 * libc/include/sys/reent.h: If long or int is not 32-bits,
8074 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
8075 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
8076 * libm/common/fdlibm.h: Ditto.
8077
8078 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8079
8080 * libc/include/ndbm.h: Remove.
8081 * libc/search/ndbm.c: Remove.
8082
8083 2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
8084
8085 * libc/stdio/fseek.c (fseek): Fix braces.
8086
8087 2002-06-21 Corinna Vinschen <corinna@vinschen.de>
8088
8089 * libc/time/strftime.c (strftime): Add %e format specifier.
8090
8091 2002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8092
8093 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
8094 previously defined.
8095
8096 2002-06-21 Richard Earnshaw (rearnsha@arm.com)
8097
8098 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
8099 (BYTE_ORDER): Define as appropriate for the target.
8100
8101 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8102
8103 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
8104 to _ssize_t.
8105 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
8106
8107 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8108
8109 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
8110 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
8111 [HAVE_GETDATE](getdate_err): New error code.
8112 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
8113 * libc/stdio/Makefile.in: Regenerated.
8114 * libc/stdio/getdelim.c: New file.
8115 * libc/stdio/getline.c: Ditto.
8116 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
8117 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
8118 * libc/sys/linux/Makefile.in: Regenerated.
8119 * libc/sys/linux/getdate.c: New file.
8120 * libc/sys/linux/getdate_err.c: Ditto.
8121 * libc/sys/linux/ntp_gettime.c: Ditto.
8122 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
8123 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
8124
8125 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8126
8127 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
8128 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
8129 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
8130 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
8131 * libc/include/sys/param.h: Remove i386 case which is handled
8132 by default case.
8133 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
8134 definitions in case they are already defined.
8135 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
8136 _IEEE_LITTLE_ENDIAN flags.
8137 * libc/include/sys/reent.h: Change __uint32_t references to
8138 use _ULong instead.
8139 (_REENT_GETDATE_REENT_P): New macro.
8140 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
8141 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
8142 * libc/search/hash.h: Add default setting of BYTE_ORDER,
8143 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
8144 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
8145 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
8146 pid_t, off_t, loff_t, caddr_t, and daddr_t type
8147 definitions which are done by subsequent glibc headers.
8148 Add macro definitions to prevent subsequent header files from
8149 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
8150 intptr_t to after glibc definitions of types they are based on.
8151
8152 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8153
8154 * libc/include/errno.h: Protect from multiple inclusion.
8155
8156 2002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
8157
8158 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
8159
8160 2002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
8161
8162 * Makefile.am (LIB_OBJECTLISTS): Add
8163 libc/search/objectlist.awk.in.
8164 * libc/Makefile.am (SUBDIRS): Add search.
8165 (SUBLIBS): Add search/libsearch.la.
8166 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
8167 * libc/search: New directory.
8168 * libc/search/Makefile.am: New file.
8169 * libc/search/extern.h: New file.
8170 * libc/search/hash.c: New file.
8171 * libc/search/hash.h: New file.
8172 * libc/search/hash_bigkey.c: New file.
8173 * libc/search/hash_buf.c: New file.
8174 * libc/search/hash_func.c: New file.
8175 * libc/search/hash_log2.c: New file.
8176 * libc/search/hash_page.c: New file.
8177 * libc/search/hcreate.3: New file.
8178 * libc/search/hcreate.c: New file.
8179 * libc/search/hcreate_r.c: New file.
8180 * libc/search/ndbm.c: New file.
8181 * libc/search/page.h: New file.
8182 * libc/search/tdelete.c: New file.
8183 * libc/search/tdestroy.c: New file.
8184 * libc/search/tfind.c: New file.
8185 * libc/search/tsearch.3: New file.
8186 * libc/search/tsearch.c: New file.
8187 * libc/search/twalk.c: New file.
8188 * libc/include/db.h: New file.
8189 * libc/include/ndbm.h: New file.
8190 * libc/include/search.h: New file.
8191 * libc/include/sys/queue.h: New file.
8192 * libc/include/sys/cdefs.h: New file.
8193 * libc/include/sys/param.h
8194 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
8195 LITTLE_ENDIAN or BIG_ENDIAN.
8196 * libc/include/sys/errno.h (EFTYPE): New macro.
8197 * libc/search/bsearch.c: Move from libc/stdlib.
8198 * libc/search/qsort.c: Likewise.
8199 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
8200 qsort.c.
8201 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
8202 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
8203
8204 2002-06-19 Jeff Johnston <jjohnstn@redhat.com>
8205
8206 * libc/sys/linux/Makefile.am: Add support for message queue routines,
8207 ipc routines, and ftok.
8208 * libc/sys/linux/Makefile.in: Regenerated.
8209 * libc/sys/linux/ftok.c: New file.
8210 * libc/sys/linux/ipc.c: Ditto.
8211 * libc/sys/linux/mq_close.c: Ditto.
8212 * libc/sys/linux/mq_getattr.c: Ditto.
8213 * libc/sys/linux/mq_notify.c: Ditto.
8214 * libc/sys/linux/mq_open.c: Ditto.
8215 * libc/sys/linux/mq_receive.c: Ditto.
8216 * libc/sys/linux/mq_send.c: Ditto.
8217 * libc/sys/linux/mq_setattr.c: Ditto.
8218 * libc/sys/linux/mq_unlink.c: Ditto.
8219 * libc/sys/linux/mqlocal.h: Ditto.
8220 * libc/sys/linux/include/mqueue.h: Ditto.
8221 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
8222 __uid_t_defined.
8223
8224 2002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
8225
8226 * libm/common/sf_lround.c (round): Change name to: (lround).
8227 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
8228 remquof.
8229
8230 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8231
8232 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
8233 procedure.
8234 (newlib_pass_fail): Change to compile and run only one file.
8235 * testsuite/newlib.locale/locale.exp: Use new
8236 newlib_pass_fail_all procedure.
8237 * testsuite/newlib.string/string.exp: Likewise.
8238
8239 2002-06-18 Dave Brolley <brolley@redhat.com>
8240
8241 From Catherine Moore, Michael Meissner, Richard Sandiford:
8242 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
8243 (_JBTYPE): Ditto.
8244 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
8245 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
8246 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
8247 * configure.host: Support frv-*-*.
8248 * libc/machine/frv/Makefile.am: New file.
8249 * libc/machine/frv/configure.in: New file.
8250 * libc/machine/frv/setjmp.S: New file.
8251
8252 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8253
8254 * libc/include/ctype.h: Remove isblank macro.
8255
8256 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
8257 * libc/ctype/isblank.c: New file.
8258 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
8259 declaration. Add isblank macro.
8260
8261 2002-06-18 Jeff Johnston <jjohnstn@redhat.com>
8262
8263 * testsuite/newlib.stdlib/atexit.c: New file.
8264 * testsuite/newlib.stdlib/atexit.exp: Ditto.
8265 * testsuite/newlib.string/tstring.c: Change default start size
8266 to something more reasonable for embedded platforms.
8267
8268 2002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8269
8270 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
8271
8272 * libc/argz: New directory.
8273 * libc/argz/*: New files.
8274 * libc/argz/argz_add.c: New file.
8275 * libc/argz/argz_add_sep.c: New file.
8276 * libc/argz/argz_append.c: New file.
8277 * libc/argz/argz_count.c: New file.
8278 * libc/argz/argz_create.c: New file.
8279 * libc/argz/argz_create_sep.c: New file.
8280 * libc/argz/argz_delete.c: New file.
8281 * libc/argz/argz_extract.c: New file.
8282 * libc/argz/argz_insert.c: New file.
8283 * libc/argz/argz_next.c: New file.
8284 * libc/argz/argz_replace.c: New file.
8285 * libc/argz/argz_stringify.c: New file.
8286 * libc/argz/buf_findstr.c: New file.
8287 * libc/argz/envz_add.c: New file.
8288 * libc/argz/envz_entry.c: New file.
8289 * libc/argz/envz_get.c: New file.
8290 * libc/argz/envz_merge.c: New file.
8291 * libc/argz/envz_remove.c: New file.
8292 * libc/argz/envz_strip.c: New file.
8293 * libc/include/argz.h: New file.
8294 * libc/include/envz.h: New file.
8295 * Makefile.am (LIBC_OBJECTLISTS): Add
8296 libc/argz/objectlist.awk.in.
8297 * libc/Makefile.am (SUBDIRS): Add argz.
8298 (SUBLIBS): Add argz/libargz.la.
8299 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
8300 * libc/include/errno.h: Add error_t typedef.
8301
8302 2002-06-13 Jeff Johnston <jjohnstn@redhat.com>
8303
8304 * libc/include/stdlib.h: Add _Exit prototype.
8305 * libc/stdlib/Makefile.am: Add _Exit.c support.
8306 * libc/stdlib/Makefile.in: Ditto.
8307 * libc/stdlib/_Exit.c: New file.
8308
8309 2002-06-13 Stephen L. Moshier <steve@moshier.net>
8310
8311 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
8312 x is close to -1.0 and y is very large to use ax (absolute value)
8313 instead of x.
8314 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
8315
8316 Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
8317
8318 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
8319 Fix clobbering bytes before destination if src and dst have same
8320 non-zero misalignment.
8321
8322 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
8323 Fixed bug in writing end of set region.
8324
8325 2002-06-10 Christopher Faylor <cgf@redhat.com>
8326
8327 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
8328 spawnve declaration.
8329
8330 2002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
8331
8332 * libm/common/s_fdim.c: New file.
8333 * libm/common/s_fma.c: Likewise.
8334 * libm/common/s_fmax.c: Likewise.
8335 * libm/common/s_fmin.c: Likewise.
8336 * libm/common/s_fpclassify.c: Likewise.
8337 * libm/common/s_lrint.c: Likewise.
8338 * libm/common/s_lround.c: Likewise.
8339 * libm/common/s_nearbyint.c: Likewise.
8340 * libm/common/s_remquo.c: Likewise.
8341 * libm/common/s_round.c: Likewise.
8342 * libm/common/s_scalbln.c: Likewise.
8343 * libm/common/s_signbit.c: Likewise.
8344 * libm/common/s_trunc.c: Likewise.
8345 * libm/common/sf_fdim.c: Likewise.
8346 * libm/common/sf_fma.c: Likewise.
8347 * libm/common/sf_fmax.c: Likewise.
8348 * libm/common/sf_fmin.c: Likewise.
8349 * libm/common/sf_lrint.c: Likewise.
8350 * libm/common/sf_lround.c: Likewise.
8351 * libm/common/sf_nearbyint.c: Likewise.
8352 * libm/common/sf_remquo.c: Likewise.
8353 * libm/common/sf_round.c: Likewise.
8354 * libm/common/sf_scalbln.c: Likewise.
8355 * libm/common/sf_trunc.c: Likewise.
8356 * libm/math/w_exp2.c: Likewise.
8357 * libm/math/w_tgamma.c: Likewise.
8358 * libm/math/wf_exp2.c: Likewise.
8359 * libm/math/wf_tgamma.c: Likewise.
8360 * libm/mathfp/s_exp2.c: Likewise.
8361 * libm/mathfp/s_tgamma.c: Likewise.
8362 * libm/mathfp/sf_exp2.c: Likewise.
8363 * libm/mathfp/sf_tgamma.c: Likewise.
8364 * libm/math/er_gamma.c: Fix return value.
8365 * libm/math/erf_gamma.c: Likewise.
8366 * libm/mathfp/er_gamma.c: Likewise.
8367 * libm/mathfp/erf_gamma.c: Likewise.
8368 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
8369 declarations and macros.
8370 Regenerated all Makefile.in, aclocal.m4 and configure files to
8371 use new libtool macros in top-level libtool.m4
8372
8373 2002-06-05 Jeff Johnston <jjohnstn@redhat.com>
8374
8375 * libc/include/string.h[__linux__]: Add strsignal prototype.
8376 * libc/include/sys/lock.h: New file with default locking support.
8377 * libc/include/sys/reent.h: Add signal buffer support for strsignal
8378 and psignal.
8379 * libc/posix/Makefile.am: Add support for readdir_r.c.
8380 * libc/posix/Makefile.in: Regenerated.
8381 * libc/posix/closedir.c: Add locking support and hash table cleanup.
8382 * libc/posix/opendir.c: Add lock support.
8383 * libc/posix/readdir.c: Ditto.
8384 * libc/posix/rewinddir.c: Ditto.
8385 * libc/posix/scandir.c: Ditto.
8386 * libc/posix/seekdir.c: Ditto.
8387 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
8388 clean up leftover hash table entries.
8389 * libc/posix/readdir_r.c: New file.
8390 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
8391 * libc/sys/linux/Makefile.in: Regenerated.
8392 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
8393 * libc/sys/linux/sys/signal.h: Add psignal prototype.
8394 * libc/sys/linux/psignal.c: New file.
8395 * libc/sys/linux/strsignal.c: Ditto.
8396
8397 2002-06-03 Corinna Vinschen <corinna@vinschen.de>
8398
8399 * libc/include/sys/types.h: Don't define dev_t when compiling for
8400 Cygwin.
8401
8402 2002-05-31 Jeff Johnston <jjohnstn@redhat.com>
8403
8404 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
8405 make siglist.inc dependent on sig.c instead of signal.c.
8406 * libc/sys/linux/Makefile.in: Regenerated.
8407 * libc/sys/linux/sig.c: Rename from signal.c and change code to
8408 use NSIG instead of _NSIG.
8409 * libc/sys/linux/sigaction.c: New file.
8410 * libc/sys/linux/signal.c: Changed to be linux signal() function
8411 so as to override regular newlib default signal.c.
8412 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
8413 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8414 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
8415 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
8416 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
8417 default linux sigset_t typedef by defining it equal to __sigset_t.
8418 * libc/unix/sigset.c: Add check so code isn't compiled on systems
8419 with a sigset_t that isn't implemented with a single int.
8420
8421 2002-05-30 Jeff Johnston <jjohnstn@redhat.com>
8422
8423 * libc/sys/linux/Makefile.am: Add support for new files.
8424 * libc/sys/linux/Makefile.in: Regenerated.
8425 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
8426 * libc/sys/linux/signal.c: Change to use real-time syscalls for
8427 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
8428 it is in a separate file now.
8429 * libc/sys/linux/machine/i386/Makefile.am
8430 * libc/sys/linux/machine/i386/Makefile.in
8431 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
8432 * libc/sys/linux/sigaction.c: New file.
8433 * libc/sys/linux/sigqueue.c: Ditto.
8434 * libc/sys/linux/sigwait.c: Ditto.
8435 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
8436 * libc/sys/linux/kernel_sigaction.h: Ditto.
8437
8438 2002-05-28 Jeff Johnston <jjohnstn@redhat.com>
8439
8440 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
8441 tcsendbrk.c.
8442 * libc/sys/linux/Makefile.in: Regenerated.
8443 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
8444 tcgetpgrp(), and tcsetpgrp() functions.
8445 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
8446 to get __MAX_BAUD rate.
8447 * libc/sys/linux/machine/i386/include/termios.h: New file.
8448 * libc/include/machine/termios.h: Ditto.
8449 * libc/sys/linux/cfspeed.c: Ditto.
8450 * libc/sys/linux/tcsendbrk.c: Ditto.
8451
8452 2002-05-24 Jeff Johnston <jjohnstn@redhat.com>
8453
8454 * libc/include/string.h: Add strnlen and strerror_r prototypes.
8455 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
8456 * libc/string/Makefile.in: Regenerated.
8457 * libc/string/strerror_r.c: New file.
8458 * libc/string/strnlen.c: New file.
8459 * libc/sys/linux/Makefile.am: Add rename.c.
8460 * libc/sys/linux/Makefile.in: Regenerated.
8461 * libc/sys/linux/rename.c: New file to override default rename.
8462
8463 2002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8464
8465 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
8466 * libc/sys/linux/sys/time.h: Add conversion macros.
8467 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
8468 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
8469 * libc/sys/linux/gethostname.c: New file.
8470 * libc/sys/linux/seteuid.c: New file.
8471 * libc/sys/linux/sysctl.c: New file.
8472
8473 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8474
8475 * libc/string/Makefile.am: Add support for strsep.c.
8476 * libc/string/Makefile.in: Regenerated.
8477 * libc/string/strsep.c: New file.
8478 * libc/string/strtok.c: Change to call __strtok_r service routine.
8479 * libc/string/strtok_r.c: Add __strtok_r routine which takes
8480 additional flag parameter regarding whether to skip leading delimeters.
8481 Change strtok_r to call __strtok_r.
8482
8483 2002-05-23 Gareth Pearce <tilps@hotmail.com>
8484
8485 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
8486 * libc/stdio/Makefile.in: Regenerated.
8487 * libc/stdio/setbuffer.c: New file.
8488 * libc/stdio/setlinebuf.c: New file.
8489
8490 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8491
8492 * libc/sys/linux/Makefile.am: Add resource.c.
8493 * libc/sys/linux/Makefile.in: Regenerated.
8494 * libc/sys/linux/resource.c: New file.
8495 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
8496 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
8497 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8498 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
8499 are now found in libc/sys/linux/resource.c.
8500
8501 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8502
8503 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
8504 to use void * pointers and comply with Single Unix spec.
8505 * libc/string/bcmp.c: Change to use void * instead of char *.
8506 * libc/string/bcopy.c: Ditto.
8507 * libc/string/bzero.c: Ditto.
8508
8509 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
8510
8511 * libc/sys/linux/shm_open.c: New file.
8512 * libc/sys/linux/shm_unlink.c: Ditto.
8513 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
8514 shm_unlink.c.
8515 * libc/sys/linux/Makefile.in: Regenerated.
8516 * libc/sys/linux/sys/types.h: Add some additional checks to see
8517 if clock_t or time_t is already defined.
8518
8519 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
8520
8521 * Makefile.am: Don't pass $toollibdir down directly in
8522 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
8523 Pass it under the name: top_toollibdir.
8524 * Makefile.in: Regenerated.
8525
8526 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
8527
8528 * libc/include/sys/types.h: Revert previous patch.
8529
8530 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
8531
8532 * libc/include/sys/types.h: Include cygwin/types.h always under
8533 Cygwin, not only if _POSIX_THREADS is defined.
8534
8535 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
8536
8537 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
8538
8539 2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
8540
8541 * Makefile.am: Copy and install headers from sys/machine/include
8542 directory. Also pass $toollibdir to lower-level directories.
8543 * Makefile.in: Regenerated.
8544 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
8545 stderr to use _REENT macro instead of _impure_ptr directly.
8546 * libc/include/sys/config.h[__i386__][__linux__]: Define
8547 __DYNAMIC_REENT__.
8548 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
8549 call to __getreent() function if !__SINGLE_THREAD__ and
8550 __DYNAMIC_REENT__ is set.
8551 * libc/reent/Makefile.am: Add support for getreent.c.
8552 * libc/reent/Makefile.in: Regenerated.
8553 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
8554 * libc/sys/linux/Makefile.am: Add support for new files.
8555 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
8556 * libc/sys/linux/Makefile.in: Regenerated.
8557 * libc/sys/linux/configure: Ditto.
8558 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
8559 __close, __read, __write, __poll, __open, __lseek, __fcntl from
8560 their __libc_ counterparts.
8561 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
8562 and weak-alias to regular names.
8563 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
8564 to pread64 and __pread64.
8565 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
8566 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
8567 weak-alias to pwrite64.
8568 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
8569 __libc_sched_getscheduler, __libc_sched_get_priority_max,
8570 __libc_sched_get_priority_min, and __libc_sched_setschedule to
8571 name with __ instead of __libc_.
8572 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
8573 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
8574 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
8575 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
8576 to raise.
8577 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
8578 __libc_send to __send.
8579 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
8580 __gettimeofday.
8581 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
8582 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
8583 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
8584 type and typedef __jmp_buf to jmp_buf.
8585 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
8586 setjmp.S.
8587 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8588 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
8589 section.
8590 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
8591 prefix for function macros and then use weak_alias() to regular names.
8592 * libc/sys/linux/machine/i386/syscall.h: Ditto.
8593 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
8594 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
8595 to be flockfile() and funlockfile() respectively.
8596 * libc/sys/linux/sys/types.h
8597 * libc/reent/getreent.c: New file.
8598 * libc/sys/linux/flockfile.c: Ditto.
8599 * libc/sys/linux/funlockfile.c: Ditto.
8600 * libc/sys/linux/getreent.c: Ditto.
8601 * libc/sys/linux/pread.c: Ditto.
8602 * libc/sys/linux/pwrite.c: Ditto.
8603 * libc/sys/linux/raise.c: Ditto.
8604 * libc/sys/linux/system.c: Ditto.
8605 * libc/sys/linux/tcdrain.c: Ditto.
8606 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
8607 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
8608 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
8609 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
8610 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
8611
8612 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
8613
8614 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
8615 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
8616 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
8617 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
8618
8619 Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
8620
8621 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
8622 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
8623 exit point.
8624
8625 2002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
8626
8627 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
8628 options when testing natively on i[3456]86-*-linux.
8629
8630 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
8631 only one pass or fail per test file. Trim \r's from output
8632 values received from test programs. Remove support for named
8633 tests.
8634 * testsuite/newlib.locale/UTF-8.exp: Update to support new
8635 newlib_check_output behaviour.
8636 * testsuite/newlib.locale/UTF-8.c: Likewise.
8637
8638 2002-05-15 Jeff Johnston <jjohnstn@redhat.com>
8639
8640 * libc/include/stdlib.h: Add on_exit prototype.
8641 * libc/include/sys/reent.h (struct _atexit): Add argument array
8642 and bits to track type of exit routine to support both on_exit
8643 and atexit.
8644 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
8645 by default and change the setting of the atexit structure.
8646 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
8647 * libc/stdlib/on_exit.c: New file.
8648 * libc/stdlib/Makefile.am: Add support for on_exit.
8649 * libc/stdlib/Makefile.in: Regenerated.
8650 * libc/stdlib/atexit.c: Change to initialize types field.
8651 * libc/stdlib/exit.c: Change to look at types field for each
8652 exit routine and either call an atexit-style or an on_exit-style
8653 routine accordingly.
8654
8655 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
8656
8657 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
8658 allow v specifier with n or L specifiers. For vector c format,
8659 move tmp declaration to the top.
8660
8661 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
8662
8663 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
8664 the original format specifier when looping for vectors to compensate
8665 for any changes made in vector %g format processing.
8666 Also add syntax checking for various invalid scenarios
8667 involving vector format extensions.
8668 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
8669 return code setting for vector formats. Also treat vector
8670 separator mismatch as a match error instead of an input error.
8671 Perform some syntax checking for vector formats.
8672
8673 2002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
8674
8675 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
8676 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
8677 * libc/string/strlcat.c: New file.
8678 * libc/string/strlcpy.c: New file.
8679
8680 2002-05-10 Jeff Johnston <jjohnstn@redhat.com>
8681
8682 * libc/string/strchr.c: Fix comment typo.
8683
8684 2002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
8685
8686 * acinclude.m4: Add support for --enable-newlib-multithread.
8687 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
8688 --enable-newlib-multithread=no.
8689
8690 * libc/stdio/getc_u.c: New file.
8691 * libc/stdio/getchar_u.c: New file.
8692 * libc/stdio/putc_u.c: New file.
8693 * libc/stdio/putchar_u.c: New file.
8694 * libc/include/stdio.h: Add declarations for getc_unlocked,
8695 getchar_unlocked, putc_unlocked and putchar_unlocked.
8696 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
8697 (CHEWOUT_FILES): Add new files' .def's.
8698 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
8699
8700 Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
8701
8702 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
8703 Also handle as single quad word when destination ends at last
8704 byte of first quad word. Fix byte selection in single quad code.
8705
8706 2002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
8707
8708 * libc/include/sys/stdio.h: New file.
8709 * libc/sys/linux/sys/stdio.h: New file.
8710 * libc/include/stdio.h: Add declarations for flockfile,
8711 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
8712 * libc/stdio/clearerr.c: Add file locking.
8713 * libc/stdio/fclose.c: Likewise.
8714 * libc/stdio/feof.c: Likewise.
8715 * libc/stdio/ferror.c: Likewise.
8716 * libc/stdio/fflush.c: Likewise.
8717 * libc/stdio/fgetc.c: Likewise.
8718 * libc/stdio/fgetpos.c: Likewise.
8719 * libc/stdio/fgets.c: Likewise.
8720 * libc/stdio/fileno.c: Likewise.
8721 * libc/stdio/fputc.c: Likewise.
8722 * libc/stdio/fputs.c: Likewise.
8723 * libc/stdio/fread.c: Likewise.
8724 * libc/stdio/freopen.c: Likewise.
8725 * libc/stdio/fseek.c: Likewise.
8726 * libc/stdio/ftell.c: Likewise.
8727 * libc/stdio/fwrite.c: Likewise.
8728 * libc/stdio/getc.c: Likewise.
8729 * libc/stdio/putc.c: Likewise.
8730 * libc/stdio/setvbuf.c: Likewise.
8731 * libc/stdio/ungetc.c: Likewise.
8732 * libc/stdio/vfprintf.c: Likewise.
8733
8734 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
8735
8736 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
8737 support for 'p' format. Fix code to print bytes for vector
8738 integer formats that do not specify 'h' or 'l'.
8739 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
8740 for 'p' specifier. Fix code to scan 16 bytes for vector integer
8741 formats that do not specify 'h' or 'l'.
8742
8743 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
8744
8745 2002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
8746
8747 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
8748 (_sbrk): Add cast of return value.
8749
8750 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
8751
8752 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
8753 (_REENT_L64A_BUF): New macro for accessing area.
8754 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
8755 * libc/stdlib/Makefile.in: Regenerated.
8756 * libc/stdlib/a64l.c: New file.
8757 * libc/stdlib/l64a.c: New file.
8758
8759 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
8760
8761 * libc/unix/pread.c: Fix typo for _pread_r.
8762 * libc/unix/pwrite.c: Fix type for _pwrite_r.
8763 * libc/sys/linux/pread64.c: Fix typo for read syscall.
8764 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
8765
8766 2002-05-03 Christopher Faylor <cgf@redhat.com>
8767
8768 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
8769
8770 2002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
8771
8772 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
8773
8774 2002-05-01 Christopher Faylor <cgf@redhat.com>
8775
8776 * utmp.h: Define more UNIX constants.
8777
8778 2002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
8779
8780 * Makefile.am: Add support for checking multilibs.
8781
8782 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
8783 (SUBDEFS): Add LIBC_EXTRA_DEF.
8784 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
8785 (LIBC_EXTRA_DEF): Likewise.
8786 (extra_dir): Likewise.
8787 * libc/machine/xscale/machine: New directory.
8788 * libc/machine/xscale/machine/profile.h: New file.
8789
8790 * Makefile.am (site.exp): Remove newlib_cflags. Add
8791 multibuildtop.
8792 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
8793 * testsuite/lib/flags.exp: New file.
8794 * testsuite/lib/newlib.exp: Load flags.exp.
8795 (newlib_target_compile): Remove libgloss directory references.
8796 (newlib_init): Remove newlib_cflags references.
8797
8798 2002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
8799
8800 * testsuite/lib/newlib.exp (newlib_target_compile): Change
8801 method of finding libgloss_target_dir.
8802
8803 * Makefile.am (site.exp): Change host_alias, host_triplet,
8804 target_alias, target_triplet to refer to gcc's host and target
8805 variables (newlib's build and host variables).
8806 * testsuite/lib/newlib.exp (newlib_init): Change build
8807 references to host references, host references to target
8808 references to reflect Makefile.am changes.
8809 (newlib_target_compile): Likewise.
8810 (newlib_finish): Likewise.
8811
8812 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
8813
8814 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
8815
8816 2002-04-29 Jonathan Larmour <jlarmour@redhat.com>
8817
8818 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
8819 (_system): New function. Ditto.
8820 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
8821 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
8822 targets.
8823
8824 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
8825
8826 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
8827 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
8828 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
8829 * libc/sys/linux/Makefile.in: Regenerated.
8830 * libc/unix/Makefile.in: Ditto.
8831 * libc/sys/linux/pread64.c: New file.
8832 * libc/sys/linux/pwrite64.c: Ditto.
8833 * libc/unix/pread.c: Ditto.
8834 * libc/unix/pwrite.c: Ditto.
8835
8836 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
8837
8838 * libc/sys/linux/Makefile.am: Add io64.c.
8839 * libc/sys/linux/Makefile.in: Regenerated.
8840 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
8841 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
8842 * libc/sys/linux/io64.c: New file.
8843
8844 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
8845
8846 * configure.in (CC_FOR_NEWLIB): New variable that
8847 bases on $(CC) and adds targ-include and libc/include as
8848 -isystem directives if they are not already part of $(CC).
8849 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
8850 $(CC_FOR_NEWLIB).
8851 * configure: Regenerated.
8852 * Makefile.in: Ditto.
8853
8854 2002-04-25 Jeff Johnston <jjohnstn@redhat.com>
8855
8856 * libc/sys/linux/Makefile.am: Add support for sched.c.
8857 * libc/sys/linux/Makefile.in: Regenerated.
8858 * libc/sys/linux/sched.c: New file.
8859 * libc/sys/linux/sys/types.h: Add struct timespec.
8860
8861 2002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
8862
8863 * configure.in (CC_FOR_BUILD): Set to gcc whether
8864 cross-compiling or not.
8865 (CC): Add -isystem's for targ-include and libc/include when they
8866 do not already appear in CC.
8867
8868 2002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8869
8870 * Makefile.am (check-DEJAGNU): New target.
8871 (site.exp): Likewise.
8872 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
8873 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
8874 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
8875 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
8876 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
8877 * testsuite: New directory.
8878 * testsuite/config: Likewise.
8879 * testsuite/lib: Likewise.
8880 * testsuite/newlib.locale: Likewise.
8881 * testsuite/newlib.string: Likewise.
8882 * testsuite/config/default.exp: New file.
8883 * testsuite/lib/checkoutput.exp: New file.
8884 * testsuite/lib/newlib.exp: New file.
8885 * testsuite/lib/passfail.exp: New file.
8886 * testsuite/newlib.locale/UTF-8.c: New file.
8887 * testsuite/newlib.locale/UTF-8.exp: New file.
8888 * testsuite/newlib.locale/locale.exp: New file.
8889 * testsuite/newlib.string/string.exp: New file.
8890 * testsuite/newlib.string/tstring.c: New file.
8891
8892 2002-04-23 Jeff Johnston <jjohnstn@redhat.com>
8893
8894 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
8895 * libc/sys/linux/Makefile.am: Add support for mmap.c.
8896 * libc/sys/linux/Makefile.in: Regenerated.
8897 * libc/sys/linux/mmap.c: New file.
8898 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
8899 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
8900
8901 2002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
8902
8903 * acinclude.m4 (newlib_cflags): Remove include directories that
8904 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
8905
8906 2002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
8907
8908 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
8909 * libc/machine/xscale/memcmp.c: Ditto.
8910 * libc/machine/xscale/memcpy.c: Ditto.
8911 * libc/machine/xscale/memmove.c: Ditto.
8912 * libc/machine/xscale/memset.c: Ditto.
8913 * libc/machine/xscale/strchr.c: Ditto.
8914 * libc/machine/xscale/strcmp.c: Ditto.
8915 * libc/machine/xscale/strcpy.c: Ditto.
8916 * libc/machine/xscale/strlen.c: Ditto.
8917
8918 2002-04-19 Alexandre Oliva <aoliva@redhat.com>
8919
8920 * libc/include/sys/config.h: Remove include of <limits.h>.
8921 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
8922 define INT_MAX and LONG_MAX. Use them in tests.
8923
8924 2002-04-19 Jeff Johnston <jjohnstn@redhat.com>
8925
8926 * configure.host: Add support for powerpc-eabialtivec*.
8927 * libc/include/malloc.h: Add include of <machine/malloc.h>.
8928 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
8929 * libc/include/machine/malloc.h: New file.
8930 * libc/include/machine/stdlib.h: Ditto.
8931 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
8932 * libc/machine/powerpc/Makefile.am: Add conditional objects and
8933 sources based on configuration.
8934 * libc/machine/powerpc/Makefile.in: Regenerated.
8935 * libc/machine/powerpc/configure: Ditto.
8936 * libc/machine/powerpc/configure.in: Add check for
8937 powerpc-eabialtivec* in which case add in additional source files.
8938 * libc/machine/powerpc/setjmp.S: Add altivec support.
8939 * libc/machine/powerpc/vec_calloc.c: New file.
8940 * libc/machine/powerpc/vec_free.c: Ditto.
8941 * libc/machine/powerpc/vec_malloc.c: Ditto.
8942 * libc/machine/powerpc/vec_mallocr.c: Ditto.
8943 * libc/machine/powerpc/vec_realloc.c: Ditto.
8944 * libc/machine/powerpc/machine/malloc.h: Ditto.
8945 * libc/machine/powerpc/machine/stdlib.h: Ditto.
8946 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
8947 with added altivec format specifiers.
8948 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
8949 added altivec format specifiers.
8950
8951 2002-04-19 Joel Sherrill <joel@OARcorp.com>
8952
8953 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
8954 while autoconf is trying to link main(){}.
8955
8956 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
8957
8958 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
8959 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
8960
8961 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
8962
8963 * libc/time/time.tex: Add tzset info.
8964
8965 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
8966
8967 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
8968 (strptime): Moved prototype to be within !__STRICT_ANSI__.
8969 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
8970 (tzname): Defined for all platforms.
8971 (daylight, timezone): Defined only for CYGWIN.
8972 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
8973 environment set up.
8974 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
8975 environment variable is set.
8976 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
8977 tzset_r.c.
8978 * libc/time/Makefile.in: Regenerated.
8979 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
8980 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
8981 * libc/time/lcltime_r.c (lcltime_r): Ditto.
8982 * libc/time/local.h: New local header file.
8983 * libc/time/mktime.c (mktime): Add timezone support.
8984 * libc/time/mktm_r.c: New file which is the common engine
8985 for gmtime_r and lcltime_r. This code has timezone support.
8986 * libc/time/strftime.c (strftime): Add %Z timezone support.
8987 * libc/time/tzlock.c: New file containing timezone lock stubs.
8988 * libc/time/tzset.c: New file containing tzset() routine.
8989 * libc/time/tzset_r.c: New file containing _tzset_r and
8990 internal routine for calculating timezone changes for specified year.
8991
8992 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
8993
8994 * configure.in (CRT0_DIR): Set to libc/.
8995 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
8996 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
8997 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
8998 $(CRT1_DIR)/$(CRT1).
8999 * libc/machine/xstormy16/Makefile.in: Regenerated.
9000 * libc/machine/xstormy16/aclocal.m4: Regenerated.
9001 * libc/machine/xstormy16/configure: Regenerated.
9002
9003 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
9004
9005 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
9006 fails, don't bail out, and try to correct next time.
9007
9008 * libc/include/sys/config.h: Include limits.h.
9009
9010 2002-04-12 Eric Norum <eric.norum@usask.com>
9011
9012 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
9013 routine to allow autoconf to determine that building executables
9014 for rtems works.
9015 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
9016 (rtems_gxx_mutex_once): Ditto.
9017
9018 2002-04-09 Tom Rix <trix@redhat.com>
9019
9020 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
9021
9022 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9023
9024 * libc/include/time.h: Fix strptime declaration.
9025 * libc/time/Makefile.am: Add strptime.c.
9026 * libc/time/Makefile.in: Regenerated.
9027 * libc/time/strptime.c: New file.
9028
9029 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
9030
9031 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
9032 siglongjmp prototype, and sigsetjmp macro definition.
9033 * libc/sys/linux/siglongjmp.c: New file.
9034 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
9035 * libc/sys/linux/Makefile.in: Regenerated.
9036
9037 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
9038
9039 * Makefile.am: Add support for installing crt1.o if one exists.
9040 * configure.host: Specify crt1.o for linux.
9041 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
9042 * Makefile.in: Regenerated.
9043 * configure: Ditto.
9044 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
9045 Added for non-Cygwin, non-RTEMS configurations.
9046 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
9047 * libc/sys/linux/Makefile.in: Regenerated.
9048 * libc/sys/linux/crt1.c: New empty file to override one defaulted
9049 by gcc. This fixes problem with reconfiguring linux newlib build.
9050 * libc/sys/linux/sysconf.c: New file.
9051
9052 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
9053
9054 * configure.host: Add support for machine subdirectory of
9055 sys subdirectory.
9056 * configure.in: Add check for sys machine subdirectory.
9057 * Makefile.am: Ditto.
9058 * configure: Regenerated.
9059 * Makefile.in: Ditto.
9060 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
9061 * libc/sys/linux/sys/syscall.h: Ditto.
9062 * libc/sys/linux/sleep.c: New file.
9063 * libc/sys/linux/socket.c: Ditto.
9064 * libc/sys/linux/sockops.h: Ditto.
9065 * libc/sys/linux/stack.c: Ditto.
9066 * libc/sys/linux/usleep.c: Ditto.
9067 * libc/sys/linux/machine/Makefile.am: Ditto.
9068 * libc/sys/linux/machine/Makefile.in: Ditto.
9069 * libc/sys/linux/machine/aclocal.m4: Ditto.
9070 * libc/sys/linux/machine/configure: Ditto.
9071 * libc/sys/linux/machine/configure.in: Ditto.
9072 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
9073 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
9074 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
9075 * libc/sys/linux/machine/i386/configure: Ditto.
9076 * libc/sys/linux/machine/i386/configure.in: Ditto.
9077 * libc/sys/linux/machine/i386/crt0.c: Ditto.
9078 * libc/sys/linux/machine/i386/sigset.c: Ditto.
9079 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
9080 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
9081 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9082 * libc/sys/linux/sys/select.h: Ditto.
9083 * libc/sys/linux/configure.in: Add support for machine directory.
9084 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
9085 * libc/sys/linux/Makefile.in: Regenerated.
9086 * libc/sys/linux/configure: Ditto.
9087 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
9088 * libc/sys/linux/inode.c: Ditto.
9089 * libc/sys/linux/linux.c: Ditto.
9090 * libc/sys/linux/process.c: Ditto.
9091 * libc/sys/linux/systat.c: Ditto.
9092 * libc/sys/linux/time.c: Ditto.
9093 * libc/sys/linux/wait.c: Ditto.
9094 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
9095 * libc/sys/linux/io.c: Change header plus add readv/writev.
9096 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
9097 use __sigsuspend syscall.
9098 * libc/sys/linux/select.c: Change header plus change select to
9099 use _newselect syscall.
9100 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
9101 used by glibc header files.
9102 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
9103 types.
9104
9105 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
9106
9107 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
9108 initializing a struct _reent that has been dynamically allocated.
9109 (_REENT_CHECK_MISC): New macro that checks _misc struct for
9110 _REENT_SMALL and does nothing otherwise.
9111 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
9112 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
9113 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
9114 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
9115 [_REENT_SMALL](struct _misc_reent): New structure containing
9116 miscellaneous reentrant areas needed by newlib.
9117 [_REENT_SMALL](struct _reent): Add _misc pointer.
9118 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
9119 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
9120 and _REENT_STRTOK_LAST macros.
9121 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
9122 and _REENT_MBLEN_STATE macros.
9123 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
9124 and _REENT_MBTOWC_STATE macros.
9125 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
9126 and _REENT_WCTOMB_STATE macros.
9127
9128 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
9129
9130 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
9131
9132 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
9133
9134 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
9135
9136 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
9137
9138 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
9139 Store high part of leading bytes too.
9140
9141 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
9142
9143 * libm/math/ef_hypot.c: Increase scale factor to 68.
9144
9145 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
9146
9147 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
9148 error.
9149
9150 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
9151
9152 * libc/sys/go32/access.c: Change license to relaxed license
9153 used in identical file throughout newlib/libgloss.
9154
9155 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
9156
9157 * libc/sys/arm/access.c: New file.
9158 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
9159 * libc/sys/arm/Makefile.in: Regenerate.
9160 * libc/sys/arm/syscalls.c (_stat): New function.
9161
9162 2002-03-11 Michael Meissner <meissner@redhat.com>
9163
9164 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
9165 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
9166 * libc/machine/mips/Makefile.in: Regenerate.
9167 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
9168 * libc/machine/mips/memset.c: Dito.
9169 * libc/machine/mips/strcmp.c: Dito.
9170 * libc/machine/mips/strlen.c: Dito.
9171 * libc/machine/mips/strncmp.c: Dito.
9172
9173 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
9174
9175 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
9176 object so it works for shared library or statici library.
9177 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9178
9179 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
9180 (strptime): Moved prototype to be within !__STRICT_ANSI__.
9181 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
9182 (tzname): Defined for all platforms.
9183 (daylight, timezone): Defined only for CYGWIN.
9184 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
9185 environment set up.
9186 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
9187 environment variable is set.
9188 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
9189 tzset_r.c.
9190 * libc/time/Makefile.in: Regenerated.
9191 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
9192 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
9193 * libc/time/lcltime_r.c (lcltime_r): Ditto.
9194 * libc/time/local.h: New local header file.
9195 * libc/time/mktime.c (mktime): Add timezone support.
9196 * libc/time/mktm_r.c: New file which is the common engine
9197 for gmtime_r and lcltime_r. This code has timezone support.
9198 * libc/time/strftime.c (strftime): Add %Z timezone support.
9199 * libc/time/tzlock.c: New file containing timezone lock stubs.
9200 * libc/time/tzset.c: New file containing tzset() routine.
9201 * libc/time/tzset_r.c: New file containing _tzset_r and
9202 internal routine for calculating timezone changes for specified year.
9203
9204 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9205
9206 * configure.in (CRT0_DIR): Set to libc/.
9207 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
9208 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
9209 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
9210 $(CRT1_DIR)/$(CRT1).
9211 * libc/machine/xstormy16/Makefile.in: Regenerated.
9212 * libc/machine/xstormy16/aclocal.m4: Regenerated.
9213 * libc/machine/xstormy16/configure: Regenerated.
9214
9215 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
9216
9217 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
9218 fails, don't bail out, and try to correct next time.
9219
9220 * libc/include/sys/config.h: Include limits.h.
9221
9222 2002-04-12 Eric Norum <eric.norum@usask.com>
9223
9224 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
9225 routine to allow autoconf to determine that building executables
9226 for rtems works.
9227 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
9228 (rtems_gxx_mutex_once): Ditto.
9229
9230 2002-04-09 Tom Rix <trix@redhat.com>
9231
9232 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
9233
9234 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9235
9236 * libc/include/time.h: Fix strptime declaration.
9237 * libc/time/Makefile.am: Add strptime.c.
9238 * libc/time/Makefile.in: Regenerated.
9239 * libc/time/strptime.c: New file.
9240
9241 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
9242
9243 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
9244 siglongjmp prototype, and sigsetjmp macro definition.
9245 * libc/sys/linux/siglongjmp.c: New file.
9246 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
9247 * libc/sys/linux/Makefile.in: Regenerated.
9248
9249 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
9250
9251 * Makefile.am: Add support for installing crt1.o if one exists.
9252 * configure.host: Specify crt1.o for linux.
9253 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
9254 * Makefile.in: Regenerated.
9255 * configure: Ditto.
9256 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
9257 Added for non-Cygwin, non-RTEMS configurations.
9258 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
9259 * libc/sys/linux/Makefile.in: Regenerated.
9260 * libc/sys/linux/crt1.c: New empty file to override one defaulted
9261 by gcc. This fixes problem with reconfiguring linux newlib build.
9262 * libc/sys/linux/sysconf.c: New file.
9263
9264 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
9265
9266 * configure.host: Add support for machine subdirectory of
9267 sys subdirectory.
9268 * configure.in: Add check for sys machine subdirectory.
9269 * Makefile.am: Ditto.
9270 * configure: Regenerated.
9271 * Makefile.in: Ditto.
9272 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
9273 * libc/sys/linux/sys/syscall.h: Ditto.
9274 * libc/sys/linux/sleep.c: New file.
9275 * libc/sys/linux/socket.c: Ditto.
9276 * libc/sys/linux/sockops.h: Ditto.
9277 * libc/sys/linux/stack.c: Ditto.
9278 * libc/sys/linux/usleep.c: Ditto.
9279 * libc/sys/linux/machine/Makefile.am: Ditto.
9280 * libc/sys/linux/machine/Makefile.in: Ditto.
9281 * libc/sys/linux/machine/aclocal.m4: Ditto.
9282 * libc/sys/linux/machine/configure: Ditto.
9283 * libc/sys/linux/machine/configure.in: Ditto.
9284 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
9285 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
9286 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
9287 * libc/sys/linux/machine/i386/configure: Ditto.
9288 * libc/sys/linux/machine/i386/configure.in: Ditto.
9289 * libc/sys/linux/machine/i386/crt0.c: Ditto.
9290 * libc/sys/linux/machine/i386/sigset.c: Ditto.
9291 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
9292 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
9293 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9294 * libc/sys/linux/sys/select.h: Ditto.
9295 * libc/sys/linux/configure.in: Add support for machine directory.
9296 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
9297 * libc/sys/linux/Makefile.in: Regenerated.
9298 * libc/sys/linux/configure: Ditto.
9299 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
9300 * libc/sys/linux/inode.c: Ditto.
9301 * libc/sys/linux/linux.c: Ditto.
9302 * libc/sys/linux/process.c: Ditto.
9303 * libc/sys/linux/systat.c: Ditto.
9304 * libc/sys/linux/time.c: Ditto.
9305 * libc/sys/linux/wait.c: Ditto.
9306 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
9307 * libc/sys/linux/io.c: Change header plus add readv/writev.
9308 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
9309 use __sigsuspend syscall.
9310 * libc/sys/linux/select.c: Change header plus change select to
9311 use _newselect syscall.
9312 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
9313 used by glibc header files.
9314 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
9315 types.
9316
9317 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
9318
9319 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
9320 initializing a struct _reent that has been dynamically allocated.
9321 (_REENT_CHECK_MISC): New macro that checks _misc struct for
9322 _REENT_SMALL and does nothing otherwise.
9323 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
9324 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
9325 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
9326 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
9327 [_REENT_SMALL](struct _misc_reent): New structure containing
9328 miscellaneous reentrant areas needed by newlib.
9329 [_REENT_SMALL](struct _reent): Add _misc pointer.
9330 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
9331 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
9332 and _REENT_STRTOK_LAST macros.
9333 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
9334 and _REENT_MBLEN_STATE macros.
9335 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
9336 and _REENT_MBTOWC_STATE macros.
9337 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
9338 and _REENT_WCTOMB_STATE macros.
9339
9340 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
9341
9342 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
9343
9344 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
9345
9346 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
9347
9348 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
9349
9350 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
9351 Store high part of leading bytes too.
9352
9353 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
9354
9355 * libm/math/ef_hypot.c: Increase scale factor to 68.
9356
9357 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
9358
9359 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
9360 error.
9361
9362 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
9363
9364 * libc/sys/go32/access.c: Change license to relaxed license
9365 used in identical file throughout newlib/libgloss.
9366
9367 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
9368
9369 * libc/sys/arm/access.c: New file.
9370 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
9371 * libc/sys/arm/Makefile.in: Regenerate.
9372 * libc/sys/arm/syscalls.c (_stat): New function.
9373
9374 2002-03-11 Michael Meissner <meissner@redhat.com>
9375
9376 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
9377 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
9378 * libc/machine/mips/Makefile.in: Regenerate.
9379 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
9380 * libc/machine/mips/memset.c: Dito.
9381 * libc/machine/mips/strcmp.c: Dito.
9382 * libc/machine/mips/strlen.c: Dito.
9383 * libc/machine/mips/strncmp.c: Dito.
9384
9385 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
9386
9387 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
9388 object so it works for shared library or statici library.
9389 * libc/machine/i386/Makefile.in: Regenerated.
9390
9391 Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
9392
9393 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
9394 Add memcpy.S, memset.S and strcpy.S.
9395 * libc/machine/sh/Makefile.in: Regenerate.
9396 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
9397 (SHHI, SHLO): Define.
9398 * libc/machine/sh/memset.S: Add code for SH5.
9399 * libc/machine/sh/memset.S: Likewise.
9400 * libc/machine/sh/strcpy.S: Likewise.
9401
9402 2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
9403
9404 * configure.host: Add check for --disable-newlib-io-float
9405 configuration option and add -DNO_FLOATING_POINT to newlib cflags
9406 if appropriate.
9407 * acinclude.m4: Added --disable-newlib-io-float option.
9408 * aclocal.m4: Regenerated.
9409 * configure: Ditto.
9410 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
9411 * libc/*/aclocal.m4 libc/*/configure
9412 * libm/*/aclocal.m4 libm/*/configure: Ditto.
9413 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
9414 if NO_FLOATING_POINT flag is not defined.
9415
9416 2002-02-25 Jeff Johnston <jjohnstn@redhat.com>
9417
9418 * libc/include/sys/config.h: Add __extension__ in front of
9419 long long references.
9420
9421 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
9422
9423 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
9424 (_stat): Ditto.
9425
9426 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
9427
9428 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
9429 of off_t.
9430
9431 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
9432
9433 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
9434 clobbered registers.
9435
9436 2002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
9437
9438 * configure.host (newlib_cflags): When host is in m68* add
9439 -DCOMPACT_CTYPE.
9440
9441 2002-02-15 Jeff Johnston <jjohnstn@redhat.com>
9442
9443 * libc/include/sys/config.h: Add definitions for
9444 __int16_t, __uint16_t, __int64_t, and __uint64_t.
9445
9446 2002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
9447
9448 * libc/sys/mmixware/link.c: New.
9449 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
9450 volatile.
9451 * libc/sys/mmixware/times.c (_times): Renamed from times.
9452 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
9453 properly by reading previous contents, not through BinaryReadWrite.
9454 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
9455 * libc/sys/mmixware/Makefile.in: Regenerate.
9456
9457 2002-02-10 Corinna Vinschen <corinna@vinschen.de>
9458
9459 * libc/include/grp.h: Don't declare group functions when compiling
9460 Cygwin.
9461
9462 2002-02-09 Corinna Vinschen <corinna@vinschen.de>
9463
9464 * libc/include/grp.h: Include Cygwin specific header.
9465 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
9466 when compiling for Cygwin.
9467 * libc/include/sys/types.h: Don't define off_t, uid_t
9468 and gid_t when compiling for Cygwin.
9469
9470 2002-02-08 matthew green <mrg@redhat.com>
9471
9472 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
9473 _REENT_EMERGENCY_SIZE, not sizeof(char *).
9474
9475 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
9476
9477 Contribute sh64-elf.
9478 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
9479 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
9480 support in printf.
9481 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
9482 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
9483 any labels.
9484 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
9485 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
9486 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
9487 * libc/machine/sh/configure.in: Rework conditionals.
9488 * libc/machine/sh/Makefile.am: Likewise.
9489 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
9490 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
9491 * configure.host: Match `sh*'.
9492 * libc/include/machine/setjmp.h: Define for SH5.
9493 * libc/machine/sh/configure.in: Detect SH5.
9494 * libc/machine/sh/configure: Rebuilt.
9495 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
9496 * libc/machine/sh/Makefile.in: Rebuilt.
9497 * libc/machine/sh/asm.h: Adjust for SH5.
9498 * libc/machine/sh/setjmp.S: Implement in SHmedia.
9499 * libc/sys/sh/crt0.S: Likewise.
9500 * libc/sys/sh/trap.S: Likewise.
9501
9502 2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
9503
9504 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
9505 (mach_add_obj): Conditionally set to setjmp.o or nothing.
9506 (LIB_SOURCES): Remove $(mach_add_src).
9507 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
9508 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
9509 * libc/machine/i386/Makefile.in: Regenerate.
9510
9511 2002-02-05 Manik Raina <manik@cisco.com>
9512
9513 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
9514 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
9515 s, p, k, and outstr.
9516 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
9517
9518 2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
9519
9520 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
9521 _REENT_CHECK_EMERGENCY macro.
9522
9523 2002-02-03 matthew green <mrg@redhat.com>
9524
9525 * libc/reent/signgam.c (__signgam): Fix error in previous.
9526
9527 2002-02-02 matthew green <mrg@redhat.com>
9528
9529 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
9530
9531 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
9532 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
9533 * libc/include/sys/reent.h (struct _reent): Completely new version
9534 for _REENT_SMALL.
9535 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
9536 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
9537 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
9538 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
9539 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
9540 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
9541 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
9542 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
9543 (_REENT_EMERGENCY): Likewise.
9544
9545 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
9546 the start of the real __sFILE, used for stdin, stdout and stderr until
9547 they are setup properly.
9548 (struct __sFILE): Move location of _data in _REENT_SMALL case.
9549 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
9550 allocated stdin, stdout and stderr.
9551 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
9552 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
9553 * libc/stdio/perror.c (_perror_r): Likewise.
9554 * libc/stdio/printf.c (printf, _printf_r): Likewise.
9555 * libc/stdio/putchar.c (_putchar_r): Likewise.
9556 * libc/stdio/puts.c (_puts_r): Likewise.
9557 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
9558 * libc/stdio/vprintf.c (vprintf): Likewise.
9559 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
9560
9561 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
9562
9563 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
9564 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
9565 for _REENT_SMALL.
9566 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
9567 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
9568
9569 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
9570 _REENT_SMALL.
9571 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
9572 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
9573 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
9574 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
9575 * libc/stdlib/rand48.c (__dorand48): Likewise.
9576 * libc/stdlib/seed48.c (_seed48_r): Likewise.
9577 * libc/stdlib/srand48.c (_srand48_r): Likewise.
9578 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
9579 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
9580 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
9581 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
9582 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
9583 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
9584 * libc/stdlib/rand.c (rand): Likewise.
9585
9586 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
9587 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
9588
9589 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
9590 _REENT_MP_FREELIST() and _REENT_MP_P5S.
9591 * libc/include/sys/reent.h (struct _mprec): New structure.
9592
9593 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
9594 _unused_strtok_last.
9595 * libc/string/strtok.c (strtok): Use a local static variable.
9596
9597 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
9598 (_REENT_EMERGENCY_SIZE): Likewise.
9599 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
9600 _REENT_ASCTIME_BUF().
9601 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
9602 _REENT_TM().
9603
9604 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
9605 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
9606 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
9607 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
9608 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
9609 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
9610
9611 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
9612
9613 * configure.host (xstormy16): Don't use the generic malloc.
9614 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
9615 * libc/machine/xstormy16/Makefile.in: Regenerate.
9616 * libc/machine/xstormy16/mallocr.c: New file.
9617 * libc/machine/xstormy16/tiny-malloc.c: New file.
9618
9619 2002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
9620
9621 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
9622 when _CYGWIN_TYPES_H is not defined.
9623
9624 2002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9625
9626 * libc/include/sys/signal.h: Revert 2002-01-23 change.
9627
9628 2002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
9629
9630 * libc/include/sys/signal.h: Remove pthread_kill declaration
9631 when __CYGWIN__ is defined.
9632
9633 2002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9634
9635 * libc/include/time.h: Add prototype for strptime for Cygwin.
9636
9637 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
9638
9639 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
9640 dst was not word aligned.
9641
9642 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
9643 if too much memory is requested.
9644
9645 2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
9646
9647 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
9648 reads blanks from the input file to break if EOF reached
9649 rather than end processing.
9650
9651 2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
9652
9653 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
9654
9655 2002-01-07 Alan Matsuoka <alanm@redhat.com>
9656
9657 * libc/include/machine/ieeefp.h: Configure d10v doubles to
9658 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
9659 libc/include/sys/config.h: Ditto.
9660
9661 2001-12-28 Corinna Vinschen <corinna@vinschen.de>
9662
9663 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
9664
9665 2001-12-22 Geoffrey Keating <geoffk@redhat.com>
9666 Catherine Moore <clm@redhat.com>
9667 Richard Henderson <rth@redhat.com>
9668 Corinna Vinschen <vinschen@redhat.com>
9669
9670 * configure.host: Add support for xstormy16.
9671 * libc/include/machine/ieeefp.h: Add support for xstormy16.
9672 * libc/include/machine/setjmp.h: Add support for xstormy16.
9673 * libc/include/sys/config.h: Add support for xstormy16.
9674 * libc/machine/xstormy16/Makefile.am: New file.
9675 * libc/machine/xstormy16/Makefile.in: New file.
9676 * libc/machine/xstormy16/aclocal.m4: New file.
9677 * libc/machine/xstormy16/configure: New file.
9678 * libc/machine/xstormy16/configure.in: New file.
9679 * libc/machine/xstormy16/setjmp.S: New file.
9680
9681 2001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
9682
9683 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
9684 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
9685
9686 2001-12-19 Corinna Vinschen <corinna@vinschen.de>
9687
9688 * libm/machine/Makefile.am: Change rules to create correct lib.a.
9689 * libm/machine/Makefile.in: Regenerated through automake.
9690
9691 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
9692
9693 * Makefile.am (DOCDIR): Force to empty string when doc
9694 directory is not present.
9695
9696 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
9697
9698 * libc/machine/i386/f_*: Move to libm/machine/i386.
9699
9700 2001-12-18 Joel Sherrill <joel@OARcorp.com>
9701
9702 * libm/machine/Makefile.am: Add dummy doc stub so
9703 "make info" works.
9704
9705 2001-12-17 Joel Sherrill <joel@OARcorp.com>
9706
9707 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
9708
9709 2001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9710
9711 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
9712 $(COMPILE) rather than $(CC).
9713 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
9714 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
9715 $(LIB_COMPILE) change.
9716 (vfiprintf.$(oext)): Likewise.
9717
9718 2001-12-17 Corinna Vinschen <vinschen@redhat.de>
9719
9720 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
9721 conditionalized including of getopt stuff.
9722
9723 2001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
9724
9725 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
9726 compile line.
9727 (vfiprintf.$(oext)): Likewise.
9728
9729 2001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
9730
9731 * Makefile.shared: New file.
9732 * libc/sys/linux/shared.ld: New file.
9733 * libm/machine/*: New files.
9734 * libm/machine/i386/*: New files.
9735 * Makefile.am: Add libtool support. Change math and mathfp
9736 references to variables.
9737 * configure.host: Add variables for libtool support. Add
9738 libm_machine_dir variable.
9739 * configure.in: Add objectlist variables, for libtool
9740 support. Add CC_FOR_BUILD tests.
9741 * libc/Makefile.am: Add libtool support. Change crt0.o
9742 reference to be a variable reference.
9743 * libc/configure.in: Add libtool support. Change sublib
9744 names to be lib${subdir}.la when using libtool.
9745 * libc/ctype/Makefile.am: Add libtool support.
9746 * libc/errno/Makefile.am: Likewise.
9747 * libc/locale/Makefile.am: Likewise.
9748 * libc/machine/Makefile.am: Likewise.
9749 * libc/machine/configure.in: Likewise.
9750 * libc/machine/i386/Makefile.am: Likewise.
9751 * libc/machine/i386/configure.in: Likewise.
9752 * libc/misc/Makefile.am: Likewise.
9753 * libc/posix/Makefile.am: Likewise.
9754 * libc/reent/Makefile.am: Likewise.
9755 * libc/signal/Makefile.am: Likewise.
9756 * libc/stdio/Makefile.am: Likewise.
9757 * libc/stdlib/Makefile.am: Likewise.
9758 * libc/string/Makefile.am: Likewise.
9759 * libc/sys/Makefile.am: Likewise.
9760 * libc/sys/configure.in: Likewise.
9761 * libc/sys/linux/Makefile.am: Add libtool support. Change
9762 awk reference to a variable reference. Change signal.h
9763 reference to a variable reference.
9764 * libc/sys/linux/configure.in: Add libtool support.
9765 * libc/syscalls/Makefile.am: Likewise.
9766 * libc/time/Makefile.am: Likewise.
9767 * libc/unix/Makefile.am: Likewise.
9768 * libm/Makefile.am: Add libtool support. Change math and
9769 mathfp references to variables.
9770 * libm/configure.in: Add libtool support. Add
9771 LIBM_MACHINE_LIB variable.
9772 * libm/common/Makefile.am: Add libtool support.
9773 * libm/math/Makefile.am: Likewise.
9774 * libm/mathfp/Makefile.am: Likewise.
9775 Regenerate all Makefile.in, aclocal.m4, and configure.
9776
9777 2001-12-13 Anita Kulkarni <anitak@kpit.com>
9778
9779 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
9780
9781 2001-12-06 John Peacock <jpeacock@rowman.com>
9782
9783 * libc/include/sys/unistd.h: Correct ualarm declaration.
9784
9785 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
9786
9787 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
9788 vector before calling the initialisation functions.
9789
9790 2001-11-29 Christopher Faylor <cgf@redhat.com>
9791
9792 * libc/include/dirent.h: Protect against multiple inclusion.
9793
9794 2001-11-27 Christopher Faylor <cgf@redhat.com>
9795
9796 * libc/include/sys/types.h: Define useconds_t.
9797 * libc/include/sys/ulimit.h: Declare ualarm.
9798
9799 2001-11-21 Christopher Faylor <cgf@redhat.com>
9800
9801 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
9802
9803 2001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
9804
9805 * libc/sys/mmixware/*: Tweak license header in all source files.
9806
9807 2001-11-12 Corinna Vinschen <vinschen@redhat.com>
9808
9809 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
9810 to here. Rearrange for general inclusion by stdlib.h.
9811 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
9812 isn't defined.
9813 * libc/sys/linux/include/alloca.h: Move to libc/include.
9814
9815 2001-11-12 Anthony Green <green@redhat.com>
9816
9817 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
9818
9819 2001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
9820
9821 * libc/sys/mmixware/*: Correct spacing in all source files.
9822 * libc/sys/mmixware/syscall.h: Move misplaced file...
9823 * libc/sys/mmixware/sys/syscall.h: ...here.
9824
9825 2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
9826
9827 * libc/include/machine/ieeefp.h: Add support for mmix target.
9828 * libc/include/machine/setjmp.h: Ditto.
9829 * configure.host: Ditto.
9830 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
9831 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
9832 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
9833 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
9834 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
9835 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
9836 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
9837 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
9838 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
9839 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
9840 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
9841 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
9842 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
9843 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
9844 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
9845 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
9846 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
9847 libc/sys/mmixware/aclocal.m4: Generate.
9848
9849 2001-11-05 Corinna Vinschen <corinna@vinschen.de>
9850
9851 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
9852 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
9853 when __CYGWIN__ is defined.
9854 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
9855 logwtmp().
9856
9857 2001-11-01 Arati Dikey <aratidikey@hotmail.com>
9858
9859 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
9860 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
9861 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
9862 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
9863
9864 2001-10-24 Christopher Faylor <cgf@redhat.com>
9865
9866 * libc/stdio/fseek.c: Reset pointer to buffer base
9867 when forced to seek outside of current buffer contents.
9868 This prevents the code from erroneously thinking there is
9869 anything in the current buffer.
9870
9871 2001-10-22 Geoffrey Keating <geoffk@redhat.com>
9872
9873 * libc/include/math.h: The C++ standard adds the single-precision
9874 versions of the elementary functions.
9875
9876 2001-10-22 Christopher Faylor <cgf@redhat.com>
9877
9878 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
9879 throughout.
9880 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
9881 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
9882 * system.c (_system_r): Ditto.
9883
9884 2001-10-17 Corinna Vinschen <corinna@vinschen.de>
9885
9886 * libc/include/sys/unistd.h: Add prototype for fchdir() when
9887 __CYGWIN__ or __rtems__ is defined.
9888
9889 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
9890
9891 * libc/include/stdlib.h: add declarations for
9892 _strtoull_r, _strtoll_r, strtoull, and strtoll.
9893 * libc/stdio/local.h: remove declarations of
9894 __strtoull_r and __strtoll_r.
9895 * libc/stdio/vfscanf.c(__svfscanf_r): call
9896 _strtoull_r instead of __strtoull_r. Ditto
9897 _strtoll_r vs. __strtoll_r.
9898 * libc/stdlib/Makefile.am: add new files to
9899 .c list and .def list
9900 * libc/stdlib/Makefile.in: regenerate
9901 * libc/stdlib/strtoll_r.c: rename __strtoll_r
9902 as _strtoll_r
9903 * libc/stdlib/strtoull_r.c: rename __strtoull_r
9904 as _strtoull_r
9905 * libc/stdlib/strtoull.c: new file
9906 * libc/stdlib/strtoll.c: new file
9907
9908 Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
9909
9910 * libc/include/process.h: Add getpid() declaration.
9911
9912 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
9913
9914 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
9915 for new style arm/elf ctor/dtor handling.
9916 Minor formatting tidy up.
9917
9918 2001-09-13 Jeff Johnston <jjohnstn@redhat.com>
9919
9920 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
9921 and strtoull_r.c.
9922 * libc/stdlib/Makefile.in: Regenerated.
9923 * libc/stdlib/strtoll_r.c: New file.
9924 * libc/stdlib/strtoull_r.c: New file.
9925 * libc/stdio/local.h: Add prototypes for long long string
9926 conversion routines.
9927 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
9928 tied to %L integer conversion specifier.
9929
9930 Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
9931
9932 * strftime.c (strftime): Fix "%W" implementation to properly handle
9933 Mondays too.
9934
9935 2001-09-07 Jeff Law <law@redhat.com>
9936
9937 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
9938 __fini with "mov.l" instead of "mov.w".
9939
9940 2001-09-05 Corinna Vinschen <corinna@vinschen.de>
9941
9942 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
9943 and getopt.h.
9944
9945 2001-09-04 Jason Merrill <jason_merrill@redhat.com>
9946
9947 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
9948
9949 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
9950
9951 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
9952 field.
9953 (__DIRENT_VERSION): New define.
9954
9955 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
9956
9957 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
9958 Shrink __d_reserved accordingly to keep structure size.
9959 (dirfd): Declare external.
9960
9961 2001-08-29 Joel Sherrill <joel@OARcorp.com>
9962
9963 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
9964
9965 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
9966
9967 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
9968 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
9969 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
9970 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
9971 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
9972 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
9973 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
9974 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
9975 Add conditional compilation to avoid HW FPU instructions
9976 when compiled for soft-float.
9977
9978 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
9979
9980 * Makefile.am: Add check for ln failing when creating libg.a
9981 so that cp gets used as a backup.
9982 * Makefile.in: Regenerated.
9983
9984 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
9985
9986 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
9987 No longer include time.h. Add struct __tm to use for
9988 _localtime_buf in the reentrant structure. Add a
9989 _NULL definition to use in initializing the reentrant struct.
9990 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
9991 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
9992 <sys/_types.h>.
9993 * libc/include/sys/unistd.h: Include <sys/_types.h>.
9994 * libc/time/lcltime.c (localtime): Cast the reentrant struct
9995 _localtime_buf to be struct tm *.
9996
9997 Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
9998
9999 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
10000 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
10001 __ctors_end.
10002 * libc/sys/h8300hms/syscalls.c: Include errno.h.
10003 (_unlink): New stub function.
10004
10005 Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
10006
10007 * libc/include/sys/errno.h: Add a cautionary comment.
10008
10009 2001-08-21 Jeff Johnston <jjohnstn@redhat.com>
10010
10011 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
10012 for SIZE_SZ so that alignment ends up a minimum of 8.
10013
10014 Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
10015
10016 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
10017 arguments.
10018
10019 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
10020 Cygwin.
10021
10022 2001-08-13 Jeff Johnston <jjohnstn@redhat.com>
10023
10024 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
10025 macro constants for mallopt options.
10026 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
10027
10028 2001-08-02 Jeff Johnston <jjohnstn@redhat.com>
10029
10030 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
10031 otherwise default.
10032
10033 2001-07-12 Aldy Hernandez <aldyh@redhat.com>
10034
10035 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
10036
10037 2001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
10038
10039 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
10040 Define for little endian ARMs.
10041
10042 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
10043 __IEEE_BYTES_LITTLE_ENDIAN is defined.
10044
10045 2001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
10046
10047 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
10048
10049 2001-06-11 Egor Duda <deo@logos-m.ru>
10050
10051 * libc/ctype/ctype_.c: When compiled with gcc on platforms
10052 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
10053 initialized memory region. Platform can define COMPACT_CTYPE
10054 to avoid allocation of the additional 128 bytes of data.
10055 Add pointer to _ctype_ array. Always initialize all _ctype_
10056 array elements.
10057
10058 2001-06-08 Jonathan Larmour <jlarmour@redhat.com>
10059
10060 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
10061 NULL pointer.
10062
10063 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
10064
10065 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
10066
10067 2001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
10068
10069 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
10070 matching, non-word alignment, and the length is <= 4 but more than
10071 enough to move them over a word boundary.
10072 Add comments explaining what each instruction does.
10073
10074 Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
10075
10076 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
10077 * libc/include/sys/unistd.h: Ditto.
10078
10079 2001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
10080
10081 * libc/string/strrchr.c: Use strchr for the speed improvements.
10082
10083 2001-05-01 Jeff Johnston <jjohnstn@redhat.com>
10084
10085 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
10086 real file systems, let __smakebuf() determine if line buffering
10087 should be used for stdout.
10088
10089 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
10090
10091 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
10092
10093 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
10094
10095 * libc/include/stdlib.h: Add prototype for _strtod_r.
10096
10097 2001-04-24 Charles Wilson <cwilson@ece.gatech.edu
10098
10099 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
10100 * libc/stdio/vprintf.c (_vprintf_r): new function
10101 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
10102 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
10103 _DEFUN, and call _vfprintf_r, not vfprintf.
10104 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
10105 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
10106 _DEFUN, and call _vfprintf_r, not vfprintf.
10107
10108 2001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
10109
10110 * libc/include/sys/unistd.h [X_OK]: Use better protection against
10111 Cygwin X_OK definitions in sys/file.h.
10112
10113 Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
10114
10115 * libc/include/sys/time.h: Define timercmp and other macros for
10116 __CYGWIN__, too.
10117
10118 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
10119
10120 * acinclude.m4: Added --enable-malloc-debugging configure flag.
10121 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
10122 --enable-malloc-debugging selected.
10123 * aclocal.m4 configure: Regenerated.
10124 libm/aclocal.m4 libm/configure: Ditto.
10125 * libc/aclocal.m4 libc/configure: Ditto.
10126 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
10127 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
10128 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
10129 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
10130 * doc/aclocal.m4 doc/configure: Ditto.
10131
10132 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
10133
10134 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
10135 into one list.
10136 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
10137 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
10138 function prototypes.
10139 (_fscanf_r, _sscanf_r): Ditto.
10140 * libc/include/stdlib.h: Added _strtod_r prototype.
10141 * libc/stdio/Makefile.am: Add new v*scanf functions.
10142 * libc/stdio/Makefile.in: Regenerate.
10143 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
10144 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
10145 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
10146 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
10147 (sscanf): Changed to call __svfscanf_r with _REENT argument.
10148 (_sscanf_r): New routine.
10149 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
10150 with __svfscanf_r prototype.
10151 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
10152 routines.
10153 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
10154 structure as argument as calls reentrant versions of helper functions
10155 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
10156 to _strtol_r and _strtod_r respectively.
10157 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
10158 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
10159 _REENT argument.
10160 * libc/stdio/vscanf.c: New file.
10161 * libc/stdio/vsscanf.c: Ditto.
10162
10163 2001-04-19 Robert Collins <rbtcollins@hotmail.com>
10164
10165 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
10166 Define daylight to _daylight if it is not defined
10167 Prepare a variable export of timezone based on timezonevariable.
10168 (Cannot be used with the timezone() function.)
10169
10170 2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
10171
10172 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
10173 Correct the numerical values.
10174
10175 2001-04-13 Robert Collins <rbtcollins@hotmail.com>
10176
10177 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
10178
10179 Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
10180
10181 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
10182 on case insensitve file systems.
10183
10184 2001-04-12 Robert Collins <rbtcollins@hotmail.com>
10185
10186 * libc/include/sys/features.h: Add appropriate defines for Cygwin
10187 pthread support.
10188 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
10189 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
10190 types. Include <cygwin/types.h> for the cygwin specific typedefs.
10191
10192 2001-04-04 Richard Sandiford <rsandifo@redhat.com>
10193
10194 * libc/include/machine/ieeefp.h: Comment about new configuration
10195 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
10196 * libm/common/fdlib.h: Define new macros for testing floats.
10197 * libm/common/sf_*: Use them.
10198 * libm/math/ef_*: Likewise.
10199 * libm/math/sf_*: Likewise.
10200
10201 2001-03-29 Jeff Johnston <jjohnstn@redhat.com>
10202
10203 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
10204 prolog to by-pass possible assembler error.
10205
10206 2001-03-21 Egor Duda <deo@logos-m.ru>
10207
10208 Allow building internal stubs for non-reentrant syscalls
10209 if target provides its own malloc
10210 * libc/reent/reent.c (errno): Move definition here.
10211 * libc/reent/sbrkr.c: From here.
10212
10213 2001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
10214
10215 * libc/include/sys/types.h (BSD int typedefs): Guard with
10216 _BSDTYPES_DEFINED rather than _WINSOCK_H.
10217 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
10218 _SYS_TYPES_FD_SET.
10219 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
10220 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
10221
10222 Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
10223
10224 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
10225 _PC_POSIX_SECURITY constants for Cygwin.
10226
10227 Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
10228
10229 * libc/sys/cygwin/crt0.c: Add copyright hint.
10230 * libc/sys/cygwin/sys/dirent.h: Ditto.
10231 * libc/sys/cygwin/sys/param.h: Ditto.
10232 * libc/sys/cygwin/sys/utime.h: Ditto.
10233 * libc/sys/cygwin/sys/utmp.h: Ditto.
10234
10235 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
10236
10237 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
10238 equivalent to LONGINT.
10239
10240 2001-03-08 Richard Sandiford <rsandifo@redhat.com>
10241
10242 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
10243 jmpbuf on MIPS64 targets.
10244 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
10245
10246 Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
10247
10248 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
10249 declarations.
10250
10251 Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
10252
10253 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
10254 For RTEMS, define to be ssize_t. Default to int if not defined.
10255 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
10256 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
10257 * libc/stdio/local.h (__sread, __swrite): Likewise.
10258 * libc/include/sys/reent.h (_read, _write): Likewise.
10259 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
10260 * libc/syscalls/sysread.c (read): Likewise.
10261 * libc/syscalls/syswrite.c (write): Likewise.
10262
10263 2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
10264
10265 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
10266
10267 Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
10268
10269 * libc/include/sys/stat.h: Use special defines for executable stat bits
10270 when compiling for Cygwin.
10271 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
10272 for Cygwin.
10273
10274 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
10275
10276 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
10277 of strtok_r is always defined.
10278
10279 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
10280
10281 * libc/include/machine/ansi.h: New dummy header file.
10282
10283 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
10284
10285 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
10286 changed the copyright information to allow free modification of the
10287 file with no reference to "copying.dj".
10288 * libc/include/sys/stat-dj.h: Ditto.
10289 * libc/machine/i386/setjmp.S: Ditto.
10290 * libc/sys/h8300hms/sys/file.h: Ditto.
10291 * libc/sys/sysmec/access.c: Ditto.
10292 * libc/sys/sysnecv850/access.c: Ditto.
10293 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
10294 * libc/stdlib/getenv_r.c: Ditto.
10295 * libc/stdlib/putenv_r.c: Ditto.
10296 * libc/stdlib/setenv_r.c: Ditto.
10297 * libc/stdlib/getenv.c: Removed DJ reference since any possible
10298 modifications will now be in the _r version of this file.
10299 * libc/stdlib/putenv.c: Ditto.
10300 * libc/stdlib/setenv.c: Ditto.
10301 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
10302 valid. Added a reference to DJ's web page that contains his address.
10303 * libc/sys/go32/*.s: Removed references to DJ's old address.
10304 * libc/sys/go32/*.c: Ditto.
10305 * libc/sys/go32/*.h: Ditto.
10306 * libc/sys/go32/*.S: Ditto.
10307 * libc/sys/go32/sys/*.h: Ditto.
10308
10309 2001-02-21 Jeff Johnston <jjohnstn@redhat.com>
10310
10311 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
10312 HAVE_FCNTL flag check.
10313 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
10314 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
10315
10316 Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
10317
10318 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
10319
10320 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
10321
10322 * libc/include/stdlib.h: Add declarations of rand48 functions and
10323 their reentrant versions.
10324 * libc/include/sys/reent.h: Move macros from rand48.h. Add
10325 struct _rand48 for shared parameters of rand48 functions.
10326 (struct _reent): Add a variable _r48 of struct _rand48.
10327 (_REENT_INIT): Add _r48 initialization.
10328 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
10329 (CHEWOUT_FILES): Add rand48.def.
10330 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
10331 * libc/stdlib/Makefile.in: Regenerated.
10332 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
10333 NetBSD C library.
10334 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
10335 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
10336 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
10337 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
10338 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
10339 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
10340 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
10341 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
10342 * libc/stdlib/rand48.c (__dorand48): Ditto.
10343 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
10344 parameters into macros referring them in the reentrant structure.
10345
10346 2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
10347
10348 * libc/include/sys/stat.h: Add mknod for Cygwin now that
10349 Cygwin definition has correct prototype.
10350
10351 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
10352
10353 * libc/include/sys/stat.h: Must revert change for mknod
10354 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
10355 prototype.
10356
10357 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
10358
10359 * libc/include/stdio.h: Revert putw prototype.
10360
10361 2001-02-08 Edward M. Lee <tailbert@yahoo.com>
10362
10363 * libc/include/grp.h: add prototype for initgroups.
10364 * libc/include/stdio.h: fix prototype for putw.
10365 * libc/include/sys/signal.h: add prototype for killpg.
10366 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
10367 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
10368 vhangup and remove duplicate sysconf prototype.
10369
10370 2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
10371
10372 * libc/sys/rtems/sys/types.h: Removed.
10373
10374 2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
10375
10376 * libc/include/locale.h: add LC_MESSAGES definition
10377
10378 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
10379
10380 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
10381 SYS_get_argN):
10382 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
10383 __setup_argv_and_call_main): New.
10384
10385 2001-01-31 Jeff Johnston <jjohnstn@redhat.com>
10386
10387 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
10388 if defined.
10389 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
10390 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
10391 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
10392 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
10393
10394 Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
10395
10396 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
10397 compiling under Cygwin.
10398
10399 2001-01-29 Jeff Johnston <jjohnstn@redhat.com>
10400
10401 * libc/include/math.h (signgam): Change to errno-like solution
10402 using a function to return the address of the real signgam.
10403 * libc/reent/signgam.c: New file containing __signgam().
10404 * libc/reent/Makefile.am: Added signgam.c to list of files.
10405 * libc/reent/Makefile.in: Regenerated.
10406
10407 2001-01-25 Alexandre Oliva <aoliva@redhat.com>
10408
10409 * libc/sys/sh/syscalls.c (_times): New.
10410
10411 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
10412 * libc/sys/sh/syscalls.c (_gettimeofday): New.
10413
10414 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10415
10416 * libc/include/math.h (signgam): Regress previous fix as
10417 it does not handle programs with extern int signgam in them.
10418
10419 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10420
10421 * libc/include/math.h (signgam): Changed to a macro refering to
10422 its location in the reentrant structure.
10423
10424 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10425
10426 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
10427 that suppressed . for %.0f, 0.1. Check now looks if there
10428 are padding zeroes (expt) in addition to any digits (ndig) to
10429 print.
10430
10431 2001-01-18 Jeff Johnston <jjohnstn@redhat.com>
10432
10433 * libc/sys/arc/Makefile.am: New file.
10434 * libc/sys/arc/Makefile.in: Ditto.
10435 * libc/sys/arc/aclocal.m4: Ditto.
10436 * libc/sys/arc/configure: Ditto.
10437 * libc/sys/arc/configure.in: Ditto.
10438 * libc/sys/arc/crt0.S: Ditto.
10439 * libc/sys/arc/isatty.c: Ditto.
10440 * libc/sys/arc/mem-layout.c: Ditto.
10441 * libc/sys/arc/sbrk.c: Ditto.
10442 * libc/sys/arc/syscalls.c: Ditto.
10443 * libc/sys/arc/sys/syscall.h: Ditto.
10444
10445 Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
10446
10447 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
10448
10449 Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
10450
10451 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
10452
10453 Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
10454
10455 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
10456
10457 2001-01-09 Nick Clifton <nickc@redhat.com>
10458
10459 * configure.host (v859): Remove unsupported compiler options.
10460
10461 Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
10462
10463 * src/newlib/configure.host (*-*-rtems*): add printf long long
10464 support for RTEMS.
10465
10466 2000-12-19 Graham Stott <grahams@redhat.com>
10467
10468 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
10469
10470 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
10471
10472 * configure.host: Turn on long double I/O for Cygwin.
10473
10474 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
10475
10476 * MAINTAINERS: Removed Ranjith.
10477 * NEWS: Updated for 1.9.0.
10478 * README: Updated.
10479 * acinclude.m4: Updated to release 1.9.0.
10480 * aclocal.m4 configure
10481 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
10482 libc/machine/aclocal.m4 libc/machine/configure
10483 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
10484 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
10485 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
10486 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
10487 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
10488 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
10489 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
10490 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
10491 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
10492 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
10493 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
10494 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
10495 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
10496 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
10497 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
10498 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
10499 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
10500 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
10501 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
10502 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
10503 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
10504 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
10505 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
10506 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
10507 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
10508 libc/sys/aclocal.m4 libc/sys/configure
10509 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
10510 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
10511 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
10512 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
10513 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
10514 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
10515 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
10516 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
10517 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
10518 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
10519 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
10520 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
10521 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
10522 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
10523 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
10524 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
10525 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
10526 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
10527 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
10528 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
10529 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
10530 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
10531 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
10532 libm/aclocal.m4 libm/configure: Regenerated.
10533
10534 Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10535
10536 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
10537 when __CYGWIN__ is defined.
10538
10539 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
10540
10541 * libc/stdlib/ldtoa.c (_ldcheck): New routine
10542 that categorizes a long double as NaN, Infinity, or other.
10543 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
10544 isinfl and isnanl static routines which were i386-specific. Changed
10545 calls to the two removed routines to a single _ldcheck call.
10546 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
10547
10548 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
10549
10550 * Makefile.am: Fixed install-data-local target to use
10551 $(mkinstalldirs) for the installed header files to ensure
10552 the directories exist before copying.
10553 * Makefile.in: Regenerated.
10554
10555 2000-12-12 Jeff Johnston <jjohnstn@redhat.com>
10556
10557 * libc/include/sys/unistd.h: Restored Cygwin _SC
10558 constants and moved new constants appropriately
10559 so Cygwin will build.
10560
10561 2000-12-11 Joel Sherrill <joel@OARcorp.com>
10562
10563 * Merge RTEMS specific .h files into main libc/include.
10564 * libc/sys/rtems/include/signal.h: Removed.
10565 * libc/sys/rtems/include/time.h: Removed.
10566 * libc/sys/rtems/sys/features.h: Removed.
10567 * libc/sys/rtems/sys/sched.h: Removed.
10568 * libc/sys/rtems/sys/siginfo.h: Removed.
10569 * libc/sys/rtems/sys/signal.h: Removed.
10570 * libc/sys/rtems/sys/time.h: Removed.
10571 * libc/sys/rtems/sys/times.h: Removed.
10572 definitions for time_t and clock_t since these are
10573 no longer in time.h.
10574 * libc/include/pthread.h: New file.
10575 * libc/include/sys/sched.h: New file.
10576 * libc/include/sys/features.h: New file.
10577 * libc/include/time.h: Removed duplicate definition of clock_t
10578 and time_t, get them from <sys/types.h> instead. Add prototypes
10579 for POSIX clock and timer functionality.
10580 * libc/sys/linux/sys/types.h: Changed to include
10581 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
10582 * libc/include/sys/signal.h: Add more complete set of POSIX
10583 signal functionality including real-time and threaded signals.
10584 * libc/include/sys/types.h: Add clock_t, time_t, struct
10585 timespec, and struct itimerspec. Centralizing these makes
10586 things cleaner. RTEMS uses 64-bit dev_t.
10587 Added numerous primitive definitions
10588 for pthreads including macros, pthread_attr_t,
10589 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
10590 pthread_once_t, and pthread_t.
10591 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
10592 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
10593 Feature flags removed and moved to new file <sys/features.h>.
10594 Full set of POSIX sysconf() constants
10595
10596 2000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
10597
10598 * configure.host: Added x86 linux target.
10599 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
10600 definitions provided if not already defined.
10601 * libc/sys/linux/crt0.c: New file.
10602 * libc/sys/linux/Makefile.am: Ditto.
10603 * libc/sys/linux/Makefile.in: Ditto.
10604 * libc/sys/linux/aclocal.m4: Ditto.
10605 * libc/sys/linux/brk.c: Ditto.
10606 * libc/sys/linux/configure: Ditto.
10607 * libc/sys/linux/configure.in: Ditto.
10608 * libc/sys/linux/getoptlong.c: Ditto.
10609 * libc/sys/linux/ids.c: Ditto.
10610 * libc/sys/linux/inode.c: Ditto.
10611 * libc/sys/linux/io.c: Ditto.
10612 * libc/sys/linux/linux.c: Ditto.
10613 * libc/sys/linux/process.c: Ditto.
10614 * libc/sys/linux/realpath.c: Ditto.
10615 * libc/sys/linux/select.c: Ditto.
10616 * libc/sys/linux/signal.c: Ditto.
10617 * libc/sys/linux/systat.c: Ditto.
10618 * libc/sys/linux/termios.c: Ditto.
10619 * libc/sys/linux/time.c: Ditto.
10620 * libc/sys/linux/wait.c: Ditto.
10621 * libc/sys/linux/include/alloca.h: Ditto.
10622 * libc/sys/linux/include/getopt.h: Ditto.
10623 * libc/sys/linux/include/stdint.h: Ditto.
10624 * libc/sys/linux/include/unistd.h: Ditto.
10625 * libc/sys/linux/sys/cdefs.h: Ditto.
10626 * libc/sys/linux/sys/dirent.h: Ditto.
10627 * libc/sys/linux/sys/errno.h: Ditto.
10628 * libc/sys/linux/sys/fcntl.h: Ditto.
10629 * libc/sys/linux/sys/file.h: Ditto.
10630 * libc/sys/linux/sys/ioctl.h: Ditto.
10631 * libc/sys/linux/sys/resource.h: Ditto.
10632 * libc/sys/linux/sys/signal.h: Ditto.
10633 * libc/sys/linux/sys/stat.h: Ditto.
10634 * libc/sys/linux/sys/syscall.h: Ditto.
10635 * libc/sys/linux/sys/termios.h: Ditto.
10636 * libc/sys/linux/sys/time.h: Ditto.
10637 * libc/sys/linux/sys/types.h: Ditto.
10638 * libc/sys/linux/sys/utmp.h: Ditto.
10639 * libc/sys/linux/sys/utsname.h: Ditto.
10640 * libc/sys/linux/sys/wait.h: Ditto.
10641
10642 2000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
10643
10644 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
10645 can be a relative path to $(top_srcdir)/install.sh so ensure the
10646 autoconf detected settings are properly passed recursively.
10647 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
10648 properly to subdirectories.
10649 * Makefile.in: Regenerated.
10650
10651 2000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
10652
10653 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
10654 a floating point register unless really printing a floating
10655 point number.
10656
10657 2000-12-07 Jeff Johnston <jjohnstn@redhat.com>
10658
10659 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
10660 Also removed \r's.
10661 (asctoeg): Replaced alloca call with stack array and malloc
10662 when storage exceeds reasonable limit.
10663 (e53toe): Fixed einfin calls missing ldp parameter.
10664 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
10665
10666 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
10667
10668
10669 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
10670
10671 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
10672
10673 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
10674 * libc/stdlib/Makefile.in: Regenerated.
10675 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
10676 * libc/stdio/vfieeefp.h: Added long double bit structures.
10677 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
10678 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
10679 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
10680 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
10681 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
10682 _strtold routines used for conversions between character
10683 and long double.
10684
10685 Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10686
10687 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
10688
10689 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10690
10691 * libc/include/machine/time.h: RTEMS systems can configure clock
10692 tick rate so use sysconf() to ask.
10693
10694 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10695
10696 * libc/include/sys/times.h: Add reference to POSIX standard.
10697
10698 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10699
10700 * libc/include/sys/time.h: Added BSD timer manipulation macros
10701 used by RTEMS code.
10702
10703 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10704
10705 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
10706 referenced by code generated by gcc 2.8.1.
10707 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
10708 satisfy gcc.
10709
10710 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10711
10712 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
10713
10714 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10715
10716 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
10717
10718 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10719
10720 * configure.host (or16, or32): New entries for OpenCores
10721 OpenRisc CPUs.
10722 (*-*-rtems*): Add -DNO_EXEC.
10723
10724 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
10725
10726 * libc/include/sys/errno.h: Added comments on many error numbers.
10727 * libc/string/strerror.c: Added some more strings.
10728
10729 2000-11-30 Jeff Johnston <jjohnstn@redhat.com>
10730
10731 * libc/sys/sh/syscalls.c (_link): New stub.
10732
10733 2000-11-29 Nick Clifton <nickc@redhat.com>
10734
10735 * configure.host: Add xscale target.
10736 * libc/machine/xscale: New directory.
10737 * libc/machine/xscale/Makefile.am: New file.
10738 * libc/machine/xscale/Makefile.in: New file.
10739 * libc/machine/xscale/aclocal.m4: New file.
10740 * libc/machine/xscale/configure: New file.
10741 * libc/machine/xscale/configure.in: New file.
10742 * libc/machine/xscale/memchr.S: New file.
10743 * libc/machine/xscale/memcmp.S: New file.
10744 * libc/machine/xscale/memcpy.S: New file.
10745 * libc/machine/xscale/memmove.S: New file.
10746 * libc/machine/xscale/memset.S: New file.
10747 * libc/machine/xscale/strchr.S: New file.
10748 * libc/machine/xscale/strcmp.S: New file.
10749 * libc/machine/xscale/strcpy.S: New file.
10750 * libc/machine/xscale/strlen.S: New file.
10751
10752 Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10753
10754 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
10755 avoid compiler warnings.
10756
10757 2000-11-22 Michael Meissner <meissner@redhat.com>
10758
10759 * libc/posix/execl.c (execl): Don't reference environ directly,
10760 reference it only via a static pointer to avoid problems with some
10761 shared library systems and with different uses of small data where
10762 the user specifies his own version of environ.
10763 * libc/posix/execv.c (execv): Ditto.
10764 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
10765 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
10766 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
10767
10768 * libc/stdlib/getenv.c (environ): Delete unused reference to
10769 environ.
10770
10771 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
10772 colorization.
10773 * libc/stdlib/system.c: Ditto.
10774
10775 Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
10776
10777 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
10778 including windows headers.
10779
10780 2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
10781
10782 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
10783 * libc/include/dirent.h: Added definition of MAXNAMLEN if
10784 not defined by sys/dirent.h.
10785 * libc/posix/execvp.c: Added include of dirent.h to get
10786 MAXNAMLEN value which used to be in unistd.h.
10787
10788 Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10789
10790 * libc/include/sys/types.h: Change type of i to `size_t' in
10791 FD_ZERO macro to avoid compiler warnings.
10792
10793 Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
10794
10795 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
10796 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
10797
10798 Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10799
10800 * libc/include/sys/unistd.h: Add defines for sysconf values
10801 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
10802 _SC_AVPHYS_PAGES.
10803
10804 Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
10805
10806 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
10807 declarations for __CYGWIN__.
10808
10809 2000-09-19 Geoffrey Keating <geoffk@cygnus.com>
10810
10811 * libc/signal/signal.c (__sigtramp_r): ISO C requires
10812 case labels to be integral constant expressions, so
10813 use an if/else tree instead.
10814 (_raise_r): Likewise.
10815
10816 2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
10817
10818 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
10819 clipping patch from e-mail reader.
10820
10821 2000-09-13 Will Cohen <wcohen@redhat.com>
10822
10823 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
10824 Added return value 0.
10825 (_longjmp): Allow longjmp to return value of second argument
10826 passed to it.
10827
10828 2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
10829
10830 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
10831 inline code to prevent having to include another header file.
10832
10833 Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
10834
10835 * Makefile.am: Fix space vs. tab problem in install-data-local.
10836 * Makefile.in: Regenerate.
10837
10838 Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
10839
10840 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
10841 (_EXPARM): New macro for defining a function parameter.
10842 * libc/include/stdlib.h: Use _EXPARM.
10843 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
10844
10845 2000-09-05 Manfred Hollstein <manfredh@redhat.com>
10846
10847 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
10848 required, as documented in the gnu coding standards.
10849 * Makefile.in: Regenerate.
10850
10851 2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
10852
10853 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
10854 make O_NDELAY and O_NONBLOCK have the same value.
10855
10856 2000-08-30 Kazu Hirata <kazu@hxi.com>
10857
10858 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
10859
10860 2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
10861
10862 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
10863 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
10864 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
10865 everywhere else.
10866
10867 2000-08-30 Geoffrey Keating <geoffk@cygnus.com>
10868
10869 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
10870 * libc/include/string.h: Don't include <sys/types.h>,
10871 as it causes really bad namespace pollution. Don't declare
10872 swab(), it is properly declared in unistd.h.
10873
10874 2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
10875
10876 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
10877 (broken) support for non-existent /etc/passwd field "comment".
10878
10879 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
10880
10881 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
10882 only if _DIRENT_HAVE_D_NAMLEN is defined.
10883 (alphasort): aligned prototype with
10884 libc/sys/cygwin/sys/dirent.h and simplified function body.
10885 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
10886 long telldir (DIR *) as mentioned in annex B of POSIX.1
10887
10888 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
10889
10890 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
10891 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
10892 Added __CLI and __STI macros (controlled via
10893 _I386MACH_ALLOW_HW_INTERRUPTS macro).
10894 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
10895 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
10896 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
10897 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
10898 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
10899 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
10900 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
10901 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
10902 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
10903 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
10904 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
10905 for all global entry points.
10906 * libc/machine/i386/setjmp.S: removed code replicated in
10907 libc/machine/i386/i386mach.h and included i386mach.h instead;
10908 Use __CLI and __STI instead of cli and sti.
10909
10910 2000-08-25 DJ Delorie <dj@redhat.com>
10911
10912 * libc/include/sys/unistd.h (environ): this one isn't from the
10913 DLL, no __IMPORT
10914
10915 Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
10916
10917 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
10918 environ when compiling under cygwin since it is already declared in
10919 unistd.h.
10920
10921 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
10922
10923 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
10924 like x << y-z to the equivalent x << (y-z).
10925 (d2b): changed if statements with assignment to perform the
10926 assignment prior to the if check.
10927 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
10928 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
10929 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
10930 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
10931 precedence.
10932 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
10933 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
10934 execve.c).
10935 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
10936 precedence.
10937 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
10938 clarify && and || precendence (and to remove pascalism).
10939 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
10940 * libm/math/s_infconst.c: added another pair of braces to all
10941 initializers for __infinity (need three: for __infinity[1] array,
10942 for union __dmath, and for i[2]).
10943
10944 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
10945
10946 * libc/stdlib/abort.c: changed description: uses "raise" instead of
10947 "getpid" and "kill"; added: uses "write" and "_exit".
10948 Also included unistd.h for "_exit" prototype.
10949 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
10950 reent.h for "_fork_r" and "_wait_r" prototypes.
10951 (do_system): changed extern char *environ[] to POSIX-friendly
10952 extern char **environ.
10953 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
10954 prototypes.
10955 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
10956 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
10957 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
10958 * libc/reent/openr.c: included fcntl.h for "open" prototype.
10959 * libc/reent/signalr.c: included signal.h for "kill" prototype,
10960 unistd.h for "getpid" prototype.
10961 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
10962 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
10963 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
10964 prototype. Also included stdlib.h for "abort", string.h for
10965 "strdup" and "strncmp" prototypes.
10966 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
10967 "strncpy", unistd.h for "read" and "close" prototypes.
10968 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
10969 "strcat" prototypes.
10970
10971 2000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
10972
10973 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
10974 used later (ifdef __SCLE)
10975 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
10976 used later (ifdef MB_CAPABLE)
10977 * libc/string/memset.c (memset): removed unused variables "count"
10978 and "unaligned_addr"
10979 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
10980 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
10981 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
10982 and "gid"
10983
10984 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
10985
10986 * libc/stdlib/envlock.c: changed documented "__env_lock" and
10987 "__env_unlock" prototype from "void *" or "char *" to
10988 "struct _reent *" to match real function. Also added include
10989 of envlock.h.
10990 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
10991 "__malloc_unlock" prototype from "void *" or "char *" to
10992 "struct _reent *" to match real function.
10993 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
10994 prototypes (for getenv_r.c and setenv_r.c).
10995
10996 2000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
10997
10998 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
10999 and prototype in cygwin's utmp.h
11000
11001 2000-08-16 Eric Fifer <efifer@sanwaint.com>
11002
11003 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
11004
11005 2000-08-09 Nick Clifton <nickc@cygnus.com>
11006
11007 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
11008 epilogue and to allow the functions to be used in a Thumb based
11009 toolchain.
11010
11011 2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
11012
11013 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
11014 so size of 0 results in nothing being written to string.
11015 Also fixed code so that when size is non-zero, there is only
11016 a maximum of size - 1 characters written to the array and
11017 a nul terminator is appended at the end.
11018 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
11019
11020 2000-08-01 DJ Delorie <dj@redhat.com>
11021
11022 * libc/include/sys/config.h: define __IMPORT appropriately
11023 * libc/include/ctype.h (_ctype_): use __IMPORT
11024 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
11025 * libc/include/math.h (__mb_cur_max): ditto
11026 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
11027 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
11028 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
11029 * libc/include/unistd.h (environ): ditto
11030
11031 2000-07-28 Michael Meissner <meissner@redhat.com>
11032
11033 * libc/include/math.h (__infinity): Declare as an array without
11034 bounds to get around small data support. Rewrite Cygwin support
11035 to be more general.
11036 * libm/math/s_infconst.c (__infinity): Ditto.
11037 * libm/mathfp/s_infconst.c (__infinity): Ditto.
11038
11039 Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
11040
11041 * libc/include/math.h: Use appropriate dll import linkage for
11042 __infinity under Cygwin.
11043
11044 2000-07-13 DJ Delorie <dj@cygnus.com>
11045
11046 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
11047
11048 Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
11049
11050 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
11051 to argument list for AngelSWI_Reason_GetCmdLine.
11052
11053 Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
11054
11055 * configure.host: Add support for AVR target.
11056 * libc/include/machine/ieeefp.h: Likewise.
11057 * libc/include/sys/config.h: Likewise.
11058
11059 Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
11060
11061 * README: Newlib 1.8.2 must be built in a separate directory
11062 than the sources.
11063
11064 Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11065
11066 * libc/include/sys/reent.h (_rand_next): Added __extension__
11067 qualifier as long long type is not strict ANSI.
11068 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
11069 to long long constant.
11070
11071 Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
11072
11073 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
11074 `setegid' provided by Cygwin.
11075
11076 Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
11077
11078 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
11079 account for Cygwin.
11080
11081 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11082
11083 * libc/include/sys/reent.h (_rand_next): Changed to
11084 unsigned long long and moved to end of _reent struct in _new union.
11085 (_REENT_INIT): Changed to move _rand_next initialization.
11086 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
11087 linear congruential algorithm that is used by DJGPP.
11088
11089 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
11090
11091 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
11092 * libc/include/sys/config.h: Define __RAND_MAX.
11093
11094 Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11095
11096 * libc/stdlib/rand_r.c: New algorithm that meets minimal
11097 standard.
11098
11099 Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
11100
11101 * libc/include/string.h: Work around problem with strsignal and gdb.
11102
11103 Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
11104
11105 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
11106 * libc/include/malloc.h: Ditto.
11107 * libc/include/process.h: Ditto.
11108 * libc/include/stdio.h: Ditto.
11109 * libc/include/stdlib.h: Ditto.
11110 * libc/include/time.h: Ditto.
11111 * libc/include/machine/setjmp.h: Ditto.
11112 * libc/include/sys/errno.h: Ditto.
11113 * libc/include/sys/signal.h: Ditto.
11114 * libc/include/sys/stat.h: Ditto.
11115 * libc/include/sys/time.h: Ditto.
11116 * libc/include/sys/unistd.h: Ditto.
11117 * libc/include/string.h: Ditto. strsignal should return a const char *.
11118
11119 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
11120
11121 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
11122 * libm/common/s_log1p.c (log1p): Likewise.
11123 * libm/common/s_scalbn.c (scalbn): Likewise.
11124 * libm/math/e_log.c: Likewise.
11125 * libm/math/e_asin.c: Likewise.
11126 * libm/math/ef_asin.c: Likewise.
11127 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
11128 * libm/math/e_j1.c (pone, qone): Likewise.
11129 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
11130 * libm/math/ef_j1.c (ponef, qonef): Likewise.
11131 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
11132 * libm/mathfp/e_j1.c (pone, qone): Likewise.
11133 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
11134 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
11135
11136 2000-05-19 DJ Delorie <dj@cygnus.com>
11137
11138 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
11139 (__sread): always read in binary mode
11140 (__swrite): always write in binary mode
11141 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
11142 compatibility issues with different dll versions
11143 * libc/stdio/fopen.c: use __stextmode
11144 * libc/stdio/fdopen.c: ditto
11145 * libc/stdio/freopen.c: ditto
11146 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
11147 * libc/stdio/local.h: declare __stextmode
11148
11149 2000-05-18 DJ Delorie <dj@cygnus.com>
11150
11151 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
11152
11153 Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11154
11155 * libc/include/ctype.h: Changed tolower and toupper macros
11156 to use __extension__ to prevent pedantic warnings.
11157
11158 Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
11159
11160 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
11161 structures.
11162
11163 Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
11164
11165 * libc/include/machine/ieeefp.h: Add ia64 support.
11166 * configure.host: Likewise.
11167
11168 Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
11169
11170 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
11171 month is now padded with space, not zero. This now conforms to
11172 ANSI standard.
11173
11174 Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
11175
11176 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
11177 host or network path") used by cygwin. Add some comments.
11178
11179 Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
11180
11181 * libc/include/stdio.h (FILE): define __SCLE for "convert line
11182 endings" for Cygwin.
11183 (__sgetc): convert line endings if needed
11184 (__sputc): ditto
11185 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
11186 * libc/stdio/fopen.c (_fopen_r): ditto
11187 * libc/stdio/freopen.c (freopen): ditto
11188 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
11189 * libc/stdio/fvwrite.c (__sfvwrite): ditto
11190
11191 Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
11192
11193 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
11194 post-increment when it is worth it, spacewise.
11195
11196 Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
11197
11198 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
11199 * libc/stdio/findfp.c (std): Added declaration of flags and file.
11200 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
11201 return type.
11202 * libc/stdio/putchar.c (putchar): Added return statement.
11203 * libc/stdio/refill.c (lflush): Added correct parentheses.
11204 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
11205 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
11206 prints long value to use l qualifier.
11207 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
11208 messages and initialized local values: ilim, ilim1, and spec_case.
11209 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
11210 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
11211 * libc/stdlib/mprec.c: Ditto.
11212 * libc/stdlib/setenv_r.c: Ditto.
11213 * libc/stdlib/strtod.c: Ditto.
11214 * libc/stdlib/strtol.c: Ditto.
11215 * libc/stdlib/strtoul.c: Ditto.
11216 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
11217 * libm/common/sf_log1p.c: Ditto.
11218 * libm/common/sf_scalbn.c: Ditto.
11219 * libm/math/ef_log.c: Ditto.
11220
11221 Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
11222
11223 * libc/posix/execvp.c (execvp): Check path for
11224 trailing slash.
11225
11226 Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
11227
11228 * libc/include/sys/unistd.h: Add prototypes for
11229 fchmod, fchown, lchown.
11230
11231 Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11232
11233 * acinclude.m4: Changed release to 1.8.2.
11234 * aclocal.m4 configure doc/aclocal.m4 doc/configure
11235 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
11236 libc/machine/configure libc/machine/a29k/aclocal.m4
11237 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
11238 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
11239 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
11240 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
11241 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
11242 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
11243 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
11244 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
11245 libc/machine/i386/configure libc/machine/i960/aclocal.m4
11246 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
11247 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
11248 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
11249 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
11250 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
11251 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
11252 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
11253 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
11254 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
11255 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
11256 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
11257 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
11258 libc/machine/v850/configure libc/machine/w65/aclocal.m4
11259 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
11260 libc/machine/z8k/configure libc/sys/aclocal.m4
11261 libc/sys/aclocal.m4 libc/sys/configure
11262 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11263 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
11264 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
11265 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11266 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11267 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11268 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11269 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11270 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11271 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11272 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11273 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
11274 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
11275 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
11276 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
11277 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
11278 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
11279 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
11280 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
11281 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
11282 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
11283 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
11284 libm/aclocal.m4 libm/configure: Regenerated.
11285
11286 2000-03-24 Nick Clifton <nickc@cygnus.com>
11287
11288 * libc/sys/arm/syscalls.c: Fix compile time warnings.
11289 (do_AngelSWI): Add "cc" to list o registers clobbered.
11290
11291 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
11292
11293 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
11294 information to be clobbered by an Angel C library support syscall.
11295
11296 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11297
11298 * libc/stdlib/envlock.c: Fixed comment typo.
11299
11300 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11301
11302 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
11303 code to update nread as each character is processed instead
11304 of using buffer contents which throw away leading zeroes.
11305
11306 Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
11307
11308 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
11309
11310 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
11311
11312 * libc/include/string.h: Include <sys/types.h>.
11313
11314 Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11315
11316 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
11317 with XSH5, not SVID.
11318
11319 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
11320
11321 * libc/include/string.h: Changed last argument back to ssize_t
11322 to make it compatible with XPG4 definition which is
11323 defined in <unistd.h>. There is a conflict in the SVID 3
11324 and XPG4 definitions and newlib will settle with XPG4.
11325 * libc/string/swab.c: Ditto.
11326
11327 Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
11328
11329 * libc/include/string.h: Changed last argument to size_t.
11330 * libc/string/swab.c: Changed last argument to size_t.
11331
11332 Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11333
11334 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
11335 (CHEWOUT_FILES): Added unlinkr.def.
11336 * libc/reent/Makefile.in: Rebuilt.
11337 * libc/sys.tex: Include unlinkr.def.
11338 * libc/reent/linkr.c (_unlink_r): Moved to...
11339 * libc/reent/unlinkr.c: ... new file.
11340
11341 Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11342
11343 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
11344 (CHEWOUT_FILES): Added swab.def.
11345 * libc/string/Makefile.in: Rebuilt.
11346 * libc/string/string.tex: Include swab.def.
11347 * libc/include/string.h (swab): Declare.
11348 * libc/string/swab.c: New file.
11349
11350 Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11351
11352 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
11353 (CHEWOUT_FILES): Added getw.def and putw.def.
11354 * libc/stdio/Makefile.in: Rebuilt.
11355 * libc/stdio/stdio.tex: Include getw.def and putw.def.
11356 * libc/stdio/getw.c: New file.
11357 * libc/stdio/putw.c: New file.
11358
11359 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
11360
11361 * libc/stdio/flags.c (__sflags): Added check that mode[1]
11362 is non-null before looking at mode[2].
11363
11364 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
11365
11366 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
11367 * libm/mathfp/sf_atan.c: Ditto.
11368
11369 Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
11370
11371 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
11372
11373 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
11374
11375 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
11376 _DOUBLE_IS_32BITS.
11377
11378 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
11379
11380 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
11381 call prior to calling _VFPRINTF_R so reentrant data area is set.
11382 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
11383
11384 Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11385
11386 * libc/stdio/vfscanf.c (limits.h): #include.
11387 (MAX_LONG_LEN): #define.
11388 (__svfscanf): Handle floating point numbers with arbitrary amounts
11389 of leading zeroes.
11390
11391 2000-02-15 Nick Clifton <nickc@cygnus.com>
11392
11393 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
11394 zero. Set the blocksize to 1024/
11395
11396 Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
11397
11398 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
11399 with line buffering.
11400
11401 Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11402
11403 * acinclude.m4: Changed include directory for winsup headers.
11404 * aclocal.m4 configure libc/aclocal.m4
11405 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
11406 libc/locale/Makefile.in libc/machine/aclocal.m4
11407 libc/machine/configure libc/machine/a29k/aclocal.m4
11408 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
11409 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
11410 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
11411 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
11412 libc/machine/fr30/configure
11413 libc/machine/h8300/aclocal.m4
11414 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
11415 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
11416 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
11417 libc/machine/i386/configure libc/machine/i960/aclocal.m4
11418 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
11419 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
11420 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
11421 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
11422 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
11423 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
11424 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
11425 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
11426 libc/machine/powerpc/configure
11427 libc/machine/sh/aclocal.m4
11428 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
11429 libc/machine/sparc/configure
11430 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
11431 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
11432 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
11433 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
11434 libc/misc/Makefile.in libc/posix/Makefile.in
11435 libc/reent/Makefile.in
11436 libc/signal/Makefile.in
11437 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
11438 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11439 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
11440 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
11441 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
11442 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11443 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11444 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11445 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11446 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11447 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11448 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11449 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11450 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
11451 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
11452 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
11453 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
11454 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
11455 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
11456 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
11457 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
11458 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
11459 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
11460 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
11461 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
11462 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
11463 libm/configure: Regenerated.
11464
11465 Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
11466
11467 * libc/stdlib/putenv_r.c (_putenv_r): New file.
11468 * libc/stdlib/strdup_r.c (_strdup_r): New file.
11469 * libc/include/string.h: Added _strdup_r.
11470 * libc/stdlib/putenv.c: Added call to reentrant version.
11471 * libc/stdlib/strdup.c: Ditto.
11472 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
11473 * libc/include/stdlib.h: Ditto.
11474 * libc/stdlib/Makefile.in: Regenerated.
11475 * libc/string/Makefile.in: Regenerated.
11476 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
11477 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
11478 management calls to reentrant versions.
11479 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
11480 * libc/stdlib/wctomb.c: Ditto.
11481 * libc/stdlib/mblen.c: Ditto.
11482 * libc/stdlib/mbstowcs.c: Ditto.
11483 * libc/stdlib/mbtowc.c: Ditto.
11484 * libc/stdlib/getenv.c: Ditto.
11485 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
11486 and _strdup_r.
11487
11488 Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
11489
11490 patch from Corinna Vinschen <corinna@vinschen.de>
11491 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
11492
11493 Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
11494
11495 * libm/mathfp/s_atangent.c: Fix exponent calculation.
11496 * libm/mathfp/s_ldexp.c: Ditto.
11497 * libm/mathfp/sf_atangent.c: Ditto.
11498 * libm/mathfp/sf_ldexp.c: Ditto.
11499
11500 Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11501
11502 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
11503 * libc/include/locale.h: define NULL to be 0.
11504
11505 Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
11506
11507 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
11508 function.
11509
11510 Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
11511
11512 * libc/machine/mn10300/setjmp.S: Handle am33.
11513
11514 1999-11-26 Nick Clifton <nickc@cygnus.com>
11515
11516 * libc/sys/arm/syscalls.c: Add function prototypes.
11517 (stack_ptr): Move declaration before function definitions.
11518
11519 Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11520
11521 * NEWS: Updated version information.
11522 * README: Ditto.
11523
11524 Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
11525
11526 * libc/machine/i386/strchr.S: Fixed alignment test.
11527
11528 Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
11529
11530 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
11531
11532 Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
11533
11534 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
11535 ensuring that there is space between the two.
11536
11537 Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
11538
11539 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
11540 only.
11541
11542 1999-10-08 Vadim Egorov <egorovv@1c.ru>
11543
11544 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
11545 section
11546
11547 Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
11548
11549 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
11550 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
11551
11552 Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
11553 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
11554 per POSIX 1003.1b.
11555 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
11556 per POSIX 1003.1b.
11557
11558 1999-09-13 DJ Delorie <dj@cygnus.com>
11559
11560 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
11561 also.
11562
11563 Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
11564
11565 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
11566 also note BUFSIZ as its size.
11567
11568 Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
11569
11570 * configure.host: Corrected feature defines for RTEMS.
11571 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
11572 * libc/include/sys/stat.h: mkfifo() should take const path arg.
11573 * libc/include/sys/unistd.h: pathconf() should take const path arg.
11574 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
11575 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
11576 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
11577 _PC_PRIO_IO, and _PC_SYNC_IO.
11578 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
11579 * libc/machine/m68k/Makefile.in: Regenerated.
11580 * libc/machine/m68k/strcpy.c: New file.
11581 * libc/machine/m68k/strlen.c: New file.
11582 * libc/stdio/tmpnam.c: Always make the returned name usable.
11583 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
11584 * libc/sys/rtems/sys/dirent.h: New file.
11585 * libc/sys/rtems/sys/types.h: Added dev_t.
11586
11587 Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
11588
11589 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
11590
11591 Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
11592
11593 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
11594 my patch.
11595
11596 Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
11597
11598 patch from Jeff Johnston <jjohnstn@cygnus.com>
11599 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
11600 buffer is not in a useful state.
11601
11602 1999-09-01 Nick Clifton <nickc@cygnus.com>
11603
11604 * libc/sys/arm/syscalls.c (_link): Add stub.
11605
11606 Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11607
11608 * ftell.c (ftell): Use actual position within buffer for text mode.
11609 * findfp.c (std): Initialize ptr->_bf._size.
11610
11611 Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
11612
11613 * libc/include/sys/unistd.h: Add nice() declaration.
11614
11615 1999-08-09 Nick Clifton <nickc@cygnus.com>
11616
11617 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
11618 declare as a thumb function so that the disassembler will see the
11619 mode change.
11620
11621 Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11622
11623 * libc/reent/reent.tex: Updated list of reentrant functions.
11624
11625 1999-07-09 Michael Meissner <meissner@cygnus.com>
11626
11627 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
11628
11629 Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
11630
11631 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
11632 separate file.
11633 * libc/stdio/snprintf.c: New file.
11634 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
11635 separate file.
11636 * libc/stdio/vsnprintf.c: New file.
11637 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
11638 * libc/stdio/Makefile.in: Regenerated.
11639
11640 Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
11641
11642 Patch submitted by Egor Duda <deo@logos-m.ru>:
11643 * libc/include/stdio.h: Add declarations for *nprintf.
11644 * libc/stdio/sprintf.c (snprintf): New function.
11645 (_snprintf_r): New function.
11646 * libc/stdio/vsprintf.c (vsnprintf): New function.
11647 (_vnsprintf_r): New function.
11648
11649 Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
11650
11651 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
11652 * libm/Makefile.am (stmp-targetdep): Ditto.
11653 * libc/Makefile.in: Regenerated.
11654 * libm/Makefile.in: Ditto.
11655
11656 Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
11657
11658 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
11659 * libm/Makefile.am (stmp-targetdep): Ditto.
11660 * libc/Makefile.in: Regenerated.
11661 * libm/Makefile.in: Ditto.
11662
11663 Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
11664
11665 * Makefile.am: Removed dependencies on all-recursive and added "."
11666 to the SUBDIRS list to prevent infinite recursion from occurring.
11667 Also removed any references to EXTRA_DATA.
11668 * libc/Makefile.am: Ditto.
11669 * libc/machine/Makefile.am: Ditto.
11670 * libc/machine/i386/Makefile.am: Ditto.
11671 * libm/Makefile.am: Ditto.
11672 * libc/sys/Makefile.am: Ditto.
11673 * Makefile.in: Regenerated.
11674 * aclocal.m4: Ditto.
11675 * configure: Ditto.
11676 * doc/Makefile.in: Ditto.
11677 * doc/aclocal.m4: Ditto.
11678 * doc/configure: Ditto.
11679 * libc/Makefile.in: Ditto.
11680 * libc/aclocal.m4: Ditto.
11681 * libc/configure: Ditto.
11682 * libc/machine/Makefile.in: Ditto.
11683 * libc/machine/aclocal.m4: Ditto.
11684 * libc/machine/configure: Ditto.
11685 * libc/machine/mn10300/Makefile.in: Ditto.
11686 * libc/machine/mn10300/aclocal.m4: Ditto.
11687 * libc/machine/mn10300/configure: Ditto.
11688 * libc/sys/Makefile.in: Ditto.
11689 * libc/sys/aclocal.m4: Ditto.
11690 * libc/sys/configure: Ditto.
11691 * libm/Makefile.in: Ditto.
11692 * libm/aclocal.m4: Ditto.
11693 * libm/configure: Ditto.
11694
11695 Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11696
11697 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
11698
11699 Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11700
11701 * libc/include/stdlib.h: Add reentrant routines.
11702 * libc/stdlib/Makefile.am: Add reentrant routines.
11703 * libc/stdlib/Makefile.in: Ditto.
11704 * libc/stdlib/envlock.c: New file.
11705 * libc/stdlib/envlock.h: New file.
11706 * libc/stdlib/getenv.c: Modify to call reentrant routine.
11707 * libc/stdlib/getenv_r.c: New file.
11708 * libc/stdlib/mblen.c: Modify to call reentrant routine.
11709 * libc/stdlib/mblen_r.c: New file.
11710 * libc/stdlib/setenv.c: Modify to call reentrant routine.
11711 * libc/stdlib/setenv_r.c: New file.
11712 * libc/stdlib/stdlib.tex: Add reentrant routines.
11713
11714 Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
11715
11716 * libc/include/sys/types.h: Define __MS_types__ whenever
11717 cygwin or win32.
11718
11719 Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
11720
11721 * libc/include/machine/ieeefp.h: Always default to little
11722 endian if Windows, regardless of architecture.
11723 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
11724 regardless of architecture.
11725
11726 Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
11727
11728 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
11729 _WIN32 isn't defined.
11730
11731 Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
11732
11733 * libm/common/s_rint.c (rint): Add volatile qualifier for
11734 intermediate value w.
11735 * libm/common/sf_rint.c (rintf): Ditto.
11736
11737 Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
11738
11739 * libc/sys/arm/syscalls.c (remap_handle): Added check to
11740 ensure that std streams are initialized before being referenced.
11741
11742 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
11743
11744 * README: Update reference to newlib@cygnus.com new
11745 newlib@sourceware.cygnus.com address.
11746
11747 Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
11748
11749 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
11750 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
11751 defined, even if _WIN32 isn't defined.
11752
11753 Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
11754
11755 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
11756
11757 Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11758
11759 * libc/include/sys/reent.h: Change Long and ULong to __Long and
11760 __ULong.
11761 * libc/stdlib/dtoa.c: Ditto.
11762 * libc/stdlib/mprec.c: Ditto.
11763 * libc/stdlib/mprec.h: Ditto.
11764 * libc/stdlib/strtod.c: Ditto.
11765
11766 1999-04-21 Nick Clifton <nickc@cygnus.com>
11767
11768 * configure.host (mcore): Remove mcore machine directory.
11769
11770 1999-04-18 Nick Clifton <nickc@cygnus.com>
11771
11772 * libc/include/machine/ieeefp.h: Add support for mcore target.
11773 * libc/include/machine/setjmp.h: Add support for mcore target.
11774 * configure.host: Add support for mcore target.
11775
11776 1999-04-13 Mark Salter <msalter@cygnus.com>
11777
11778 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
11779 * libc/sys/arm/syscalls.c: Added isatty.
11780
11781 Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11782
11783 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
11784 insert zeroes after significant digits.
11785
11786 Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11787
11788 * libc/stdio/vfprintf.c (cvt): Changed floating point
11789 cvt routine to use union used by dtoa to properly determine
11790 if the sign bit is on or not.
11791 * libc/stdio/vfieeefp.h: New file
11792
11793 Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11794
11795 * aclocal.m4: Regenerated.
11796 * configure: Regenerated.
11797
11798 Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11799
11800 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
11801 f_tanf reference.
11802 * libc/machine/i386/Makefile.in: Regenerated.
11803
11804 Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
11805
11806 * acinclude.m4: Changed to work with new automake.
11807 * configure: Regenerated.
11808 * libc/machine/i386/aclocal.m4: Regenerated.
11809 * libc/machine/i386/configure: Regenerated.
11810
11811 Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
11812
11813 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
11814 for telldir() and seekdir(). Rename unused structure element
11815 for use with these two routines.
11816
11817 Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
11818
11819 * libc/time/mktime.c (validate_structure): Multiple fixes to
11820 code to handle cases where input fields are outside valid ranges.
11821 * libc/stdlib/div.c (div): Modified invalid rounding check.
11822 * libc/stdlib/ldiv.c (ldiv): Ditto.
11823
11824 Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
11825
11826 * libc/machine/i386/memcpy.S: Performance rewrite.
11827 * libc/machine/i386/memmove.S: Ditto.
11828 * libc/machine/i386/i386mach.h: Added more register definitions.
11829 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
11830 option used.
11831 * libc/include/machine/fastmath.h: Add definitions for x86
11832 fast-math routines.
11833
11834 Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11835
11836 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
11837
11838 Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
11839
11840 Adjust newlib headers for new Cygwin Win32 API header files:
11841 * libc/include/sys/time.h: Check _WINSOCK_H rather than
11842 _GNU_H_WINDOWS32_SOCKETS.
11843 * libc/include/sys/types.h: Ditto.
11844
11845 Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11846
11847 *include/sys/reent.h: Add checks for size of Bigint element Long.
11848 *libc/dtoa.c: Change routines to use generic Long type.
11849 *libc/mprec.c: Change routines to use generic Long type.
11850 *libc/mprec.h: Change routines to use generic Long type.
11851
11852 Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
11853
11854 * libc/Makefile.am: Add .def files.
11855 * libc/Makefile.in: Regenerate.
11856 * libc/e_acosh.c: Documentation update.
11857 * libc/e_atanh.c: Documentation update.
11858 * libc/e_hypot.c: Documentation update.
11859 * libc/e_remainder.c: Documentation update.
11860 * libc/er_lgamma.c: Documentation update.
11861 * libc/mathfp.tex: Documentation update.
11862 * libc/s_acos.c: Documentation update.
11863 * libc/s_atan.c: Documentation update.
11864 * libc/s_atan2.c: Documentation update.
11865 * libc/s_cosh.c: Documentation update.
11866 * libc/s_fmod.c: Documentation update.
11867 * libc/s_isnan.c: Documentation update.
11868 * libc/s_log10.c: Documentation update.
11869 * libc/s_pow.c: Documentation update.
11870 * libc/w_jn.c: Documentation update.
11871
11872 Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
11873
11874 * aclocal.m4: Regenerate.
11875 * configure: Regenerate.
11876
11877 Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
11878
11879 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
11880 to return 1 if user specified return code is 0.
11881 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
11882
11883 Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
11884
11885 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
11886 to save the return address. Fixed longjmp to return to the original
11887 calling address of setjmp and to return the user specified return code
11888 rather than default to 1.
11889 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
11890
11891 Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
11892
11893 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
11894
11895 1999-02-10 Nick Clifton <nickc@cygnus.com>
11896
11897 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
11898 volatile so that its assignments will not be discarded.
11899
11900 Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
11901
11902 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
11903 be __STRICT_ANSI__ which is generated by compiler.
11904 * libc/include/ctype.h: Ditto.
11905 * libc/include/math.h: Ditto.
11906 * libc/include/stdio.h: Ditto.
11907 * libc/include/stdlib.h: Ditto.
11908 * libc/include/string.h: Ditto.
11909 * libc/include/sys/signal.h: Ditto.
11910
11911 1999-02-08 Nick Clifton <nickc@cygnus.com>
11912
11913 * configure.host: Add support for StrongARM target.
11914
11915 Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
11916
11917 * libc/string/strncpy.c (strncpy): Removed redundant code
11918 that was copying bytes if data unaligned.
11919
11920 1999-02-02 Brendan Kehoe <brendan@cygnus.com>
11921
11922 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
11923 mbstowcs.def, and wcstombs.def.
11924
11925 Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
11926
11927 * libc/include/sys/errno.h: Add Cygwin errno.
11928 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
11929 is specified.
11930
11931 1999-01-29 Nick Clifton <nickc@cygnus.com>
11932
11933 * libc/sys/arm/syscalls.c: Move C library functions into seperate
11934 file.
11935
11936 * libc/sys/arm/libcfunc.c: New file containing C library functions
11937 from syscalls.c
11938
11939 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
11940 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
11941
11942
11943 1999-01-27 Michael Meissner <meissner@cygnus.com>
11944
11945 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
11946 type, and cut size in half so that the jmp_buf array is guaranteed
11947 to be aligned on a 64-bit boundary.
11948
11949 Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
11950
11951 * libc/string/strings.tex: Added information about
11952 strcasecmp and strncasecmp.
11953 * libc/stdlib/stdlib.tex: Added missing information
11954 about mblen, mbstowcs, and wcstombs.
11955 * libc/string/strchr.c: Changed how mask is built to use
11956 shift operators so register will be used instead of storage.
11957
11958 1999-01-22 DJ Delorie <dj@cygnus.com>
11959
11960 * libc/include/stdlib.h: don't use dllimport if we're building
11961 newlib, since it's inside cygwin.dll
11962
11963 Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
11964
11965 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
11966 _ctype_ under cygwin.
11967
11968 Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
11969
11970 * include/stdlib.h: Fix typo from previous checkin.
11971
11972 Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
11973
11974 * include/ctype.h: Use __declspec(dllimport) method for exporting
11975 variable from cygwin DLL.
11976 * include/time.h: Ditto.
11977 * sys/errno.h: Ditto.
11978 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
11979 * libc/locale/locale.c: Use __declspec(dllexport) method for
11980 exporting variable from cygwin DLL.
11981
11982 Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
11983
11984 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
11985 access of bogus pointer will result in SIGSEGV.
11986
11987 1999-01-07 Nick Clifton <nickc@cygnus.com>
11988
11989 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
11990 of an underscore prefix to function names.
11991
11992 Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
11993
11994 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
11995 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
11996
11997 1998-12-31 Michael Meissner <meissner@cygnus.com>
11998
11999 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
12000 to `%' if not already defined.
12001
12002 1998-12-30 Michael Meissner <meissner@cygnus.com>
12003
12004 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
12005 arguments const char *, not char *.
12006 * libc/include/stdio.h (_tempnam_r): Ditto.
12007
12008 * libc/include/sys/reent.h (struct _reent): The _sig_func type
12009 points to a function taking an integer, not void.
12010
12011 Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
12012
12013 * configure.host: Add a define for Cygwin builds.
12014 * libc/include/ctype.h: Don't use dll imported variables in newlib.
12015
12016 Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
12017
12018 * libc/include/ctype.h: Define _ctype_ as dll imported variable
12019 for use with Cygwin.
12020 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
12021 dll imported variables for use with Cygwin.
12022 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
12023 as a dll imported variable for Cygwin.
12024
12025 Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
12026
12027 * libc/include/sys/unistd.h: Add proto for getpass.
12028
12029 Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
12030
12031 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
12032 alphasort.
12033
12034 Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
12035
12036 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
12037 not posix_path_list_p.
12038
12039 1998-12-15 Nick Clifton <nickc@cygnus.com>
12040
12041 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
12042 a signed int.
12043
12044 1998-12-13 Nick Clifton <nickc@cygnus.com>
12045
12046 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
12047
12048 1998-12-12 Nick Clifton <nickc@cygnus.com>
12049
12050 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
12051 <msalter@cygnus.com>
12052 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
12053 * libc/machine/fr30/Makefile.in: Regenerated.
12054
12055 1998-12-11 Nick Clifton <nickc@cygnus.com>
12056
12057 * configure.host: Remove use of libc/sys for FR30 port.
12058 * libc/sys/fr30: Remove directory (replaced by libgloss).
12059
12060 1998-12-10 Ken Raeburn <raeburn@cygnus.com>
12061
12062 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
12063 * libc/string/strncat.c (ALIGNED): Ditto.
12064
12065 Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
12066
12067 * libc/include/sys/time.h: include sys/types.h
12068
12069 Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
12070
12071 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
12072 comparison found when checking word at a time.
12073
12074 1998-12-04 Nick Clifton <nickc@cygnus.com>
12075
12076 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
12077
12078 1998-12-03 Nick Clifton <nickc@cygnus.com>
12079
12080 * libc/sys/fr30/syscalls.c (_times): New function stub.
12081
12082 Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
12083
12084 * configure.host (mach_add_setjmp): Replaced mach_add_objs
12085 with mach_add_setjmp flag which indicates if setjmp should
12086 be added to the machine directory objects.
12087 * acinclude.m4: Removed reference to mach_add_objs.
12088 * aclocal.m4: Regenerated.
12089 * Makefile.in: Regenerated.
12090 * configure: Regenerated.
12091 * libc/aclocal.m4: Regenerated.
12092 * libc/Makefile.in: Regenerated.
12093 * libc/configure: Regenerated.
12094 * libc/machine/aclocal.m4: Regenerated.
12095 * libc/machine/Makefile.in: Regenerated.
12096 * libc/machine/configure: Regenerated.
12097 * libc/machine/i386/aclocal.m4: Regenerated.
12098 * libc/machine/i386/Makefile.am: Altered to selectively add
12099 setjmp.S to the src files list.
12100 * libc/machine/i386/Makefile.in: Regenerated.
12101 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
12102 * libc/machine/i386/configure: Regenerated.
12103
12104 1998-12-02 Nick Clifton <nickc@cygnus.com>
12105
12106 * libc/sys/fr30/crt0.s (_start): Fix function names.
12107
12108 * libc/machine/fr30: New directory
12109 * libc/machine/fr30/Makefile.am: New file.
12110 * libc/machine/fr30/Makefile.in: New generated file.
12111 * libc/machine/fr30/configure.in: New file.
12112 * libc/machine/fr30/configure: New generated file.
12113 * libc/machine/fr30/aclocal.m4: New generated file.
12114 * libc/sys/fr30/Makefile.am: New file.
12115 * libc/sys/fr30/Makefile.in: New generated file.
12116 * libc/sys/fr30/configure.in: New file.
12117 * libc/sys/fr30/configure: New generated file.
12118 * libc/sys/fr30/syscalls.c: New file.
12119
12120 Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
12121
12122 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
12123
12124 1998-12-01 Ken Raeburn <raeburn@cygnus.com>
12125
12126 * libc/time/strftime.c (strftime): Also handle %y for years before
12127 1900.
12128
12129 Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
12130
12131 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
12132 UNIX convention. Perform tolower on characters before comparing
12133 them rather than use toupper.
12134 * libc/string/strncasecmp.c (strncasecmp): Ditto.
12135
12136 Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
12137
12138 * configure.host: Added using i386 machine directory
12139 for all x86 cross-compiler and configuring
12140 which added object files to use via new "mach_add_objs" variable.
12141 * configure: Regenerated.
12142 * libc/configure: Regenerated.
12143 * libc/Makefile.in: Regenerated.
12144 * libc/aclocal.m4: Regenerated.
12145 * libc/ctype/Makefile.in: Regenerated.
12146 * libc/errno/Makefile.in: Regenerated.
12147 * libc/locale/Makefile.in: Regenerated.
12148 * libc/machine/Makefile.in: Regenerated.
12149 * libc/machine/aclocal.m4: Regenerated.
12150 * libc/machine/configure: Regenerated.
12151 * libc/posix/Makefile.in: Regenerated.
12152 * libc/reent/Makefile.in: Regenerated.
12153 * libc/signal/Makefile.in: Regenerated.
12154 * libc/stdio/Makefile.in: Regenerated.
12155 * libc/stdlib/Makefile.in: Regenerated.
12156 * libc/string/Makefile.in: Regenerated.
12157 * libc/string/memmove.c: Optimized code to use memcpy
12158 logic when performing a non-destructive copy.
12159 * libc/string/strncmp.c: Altered code to allow building
12160 optimized for size or speed.
12161 * libc/syscalls/Makefile.in: Regenerated.
12162 * libc/time/Makefile.in: Regenerated.
12163 * libc/unix/Makefile.in: Regenerated.
12164 * libc/machine/i386/Makefile.am: Added new files and reference
12165 to "mach_add_objs" to indicate optional object files.
12166 * libc/machine/i386/Makefile.in: Regenerated.
12167 * libc/machine/i386/aclocal.m4: Regenerated.
12168 * libc/machine/i386/configure: Regenerated.
12169 * libc/machine/i386/memchr.S: New file that implements
12170 function in Intel assembler.
12171 * libc/machine/i386/memcmp.S: ditto.
12172 * libc/machine/i386/memcpy.S: ditto.
12173 * libc/machine/i386/memmove.S: ditto.
12174 * libc/machine/i386/memset.S: ditto.
12175 * libc/machine/i386/strchr.S: ditto.
12176 * libc/machine/i386/strlen.S: ditto.
12177 * libc/machine/i386/f_atan2.S: New file that implements
12178 fast version of math function to be used by compiler when
12179 --ffast_math compile option is used.
12180 * libc/machine/i386/f_atan2f.S: ditto.
12181 * libc/machine/i386/f_exp.c: ditto.
12182 * libc/machine/i386/f_expf.c: ditto.
12183 * libc/machine/i386/f_frexp.S: ditto.
12184 * libc/machine/i386/f_frexpf.S: ditto.
12185 * libc/machine/i386/f_ldexp.S: ditto.
12186 * libc/machine/i386/f_ldexpf.S: ditto.
12187 * libc/machine/i386/f_log.S: ditto.
12188 * libc/machine/i386/f_logf.S: ditto.
12189 * libc/machine/i386/f_log10.S: ditto.
12190 * libc/machine/i386/f_log10f.S: ditto.
12191 * libc/machine/i386/f_math.h: New file.
12192 * libc/machine/i386/f_pow.c: ditto.
12193 * libc/machine/i386/f_powf.S: ditto.
12194 * libc/machine/i386/f_tan.S: ditto.
12195 * libc/machine/i386/f_tan.S: ditto.
12196 * libc/machine/i386/i386mach.h: New file.
12197
12198 Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
12199
12200 patch from Mumit Khan <khan@xraylith.wisc.edu>
12201 * libc/include/stdio.h (tempnam): Add prototype.
12202 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
12203 (tempnam): Adhere to prototype.
12204
12205 Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
12206
12207 * Makefile.am: Add default for AR_FLAGS.
12208 * Makefile.in: Regenerate.
12209
12210 Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
12211
12212 * libc/include/time.h: move __cplusplus wrapper after includes
12213 * libc/include/sys/time.h: ditto. If Cygwin, include
12214 sys/select.h.
12215 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
12216
12217 1998-11-23 Ken Raeburn <raeburn@cygnus.com>
12218
12219 * libc/time/strftime.c (strftime): Handle %y after year 2000.
12220
12221 Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
12222
12223 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
12224 abnormnal end-of-crt0 marker.
12225
12226 Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
12227
12228 * libc/sys/fr30/crt0.s: New file/directory.
12229 * libc/include/machine/setjmp.h: Add FR30 target.
12230 * libc/include/machine/ieeefp.h: Add FR30 target.
12231 * configure.host: Add FR30 target.
12232
12233 Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12234
12235 * libm/math: Files that are duplicated in common directory removed.
12236 * libm/math/fdlibm.h: Removed.
12237 * libm/math/s_cbrt.c: Removed.
12238 * libm/math/s_copysign.c: Removed.
12239 * libm/math/s_expm1.c: Removed.
12240 * libm/math/s_finite.c: Removed.
12241 * libm/math/s_ilogb.c: Removed.
12242 * libm/math/s_infinity.c: Removed.
12243 * libm/math/s_lib_ver.c: Removed.
12244 * libm/math/s_log1p.c: Removed.
12245 * libm/math/s_logb.c: Removed.
12246 * libm/math/s_matherr.c: Removed.
12247 * libm/math/s_modf.c: Removed.
12248 * libm/math/s_nan.c: Removed.
12249 * libm/math/s_nextafter.c: Removed.
12250 * libm/math/s_rint.c: Removed.
12251 * libm/math/s_scalbn.c: Removed.
12252 * libm/math/sf_cbrt.c: Removed.
12253 * libm/math/sf_copysign.c: Removed.
12254 * libm/math/sf_expm1.c: Removed.
12255 * libm/math/sf_finite.c: Removed.
12256 * libm/math/sf_ilogb.c: Removed.
12257 * libm/math/sf_infinity.c: Removed.
12258 * libm/math/sf_log1p.c: Removed.
12259 * libm/math/sf_logb.c: Removed.
12260 * libm/math/sf_modf.c: Removed.
12261 * libm/math/sf_nan.c: Removed.
12262 * libm/math/sf_nextafter.c: Removed.
12263 * libm/math/sf_rint.c: Removed.
12264 * libm/math/sf_scalbn.c: Removed.
12265 * libm/math/Makefile.am: Removed references to deleted files (above).
12266 * libm/math/Makefile.in: Regenerated.
12267 * libm/Makefile.am: Added common directory to math.
12268 * libm/Makefile.in: Regenerated.
12269
12270 Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12271
12272 * libm/mathfp: Add non-ANSI functions.
12273 * libm/mathfp/e_acosh.c acosh(): New file.
12274 * libm/mathfp/e_atanh.c atanh(): New file.
12275 * libm/mathfp/e_hypot.c hypot(): New file.
12276 * libm/mathfp/e_j0.c j0(): New file.
12277 * libm/mathfp/e_j1.c j1(): New file.
12278 * libm/mathfp/e_remainder.c remainder(): New file.
12279 * libm/mathfp/e_scalb.c scalb(): New file.
12280 * libm/mathfp/ef_acosh.c acoshf(): New file.
12281 * libm/mathfp/ef_atanh.c atanhf(): New file.
12282 * libm/mathfp/ef_hypot.c hypotf(): New file.
12283 * libm/mathfp/ef_j0.c j0f(): New file.
12284 * libm/mathfp/ef_j1.c j1f(): New file.
12285 * libm/mathfp/ef_remainder.c remainderf(): New file.
12286 * libm/mathfp/ef_scalb.c scalbf(): New file.
12287 * libm/mathfp/er_gamma.c gamma_r: New file.
12288 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
12289 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
12290 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
12291 * libm/mathfp/w_cabs.c cabs(): New file.
12292 * libm/mathfp/w_drem.c drem(): New file.
12293 * libm/mathfp/w_jn.c jn(): New file.
12294 * libm/mathfp/wf_cabs.c cabsf(): New file.
12295 * libm/mathfp/wf_drem.c dremf(): New file.
12296 * libm/mathfp/wf_jn.c jnf(): New file.
12297
12298 Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
12299
12300 * libc/sys/cygwin32: remove directory and contents
12301 * libc/sys/cygwin: and add back, losing the "32".
12302 * configure.host: check for cygwin* instead of cygwin32.
12303 * acinclude.m4: ditto.
12304 * aclocal.m4: regenerate with aclocal
12305 * configure: regenerate with autoconf
12306
12307 Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
12308
12309 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
12310 for length
12311
12312 Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12313
12314 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
12315 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
12316 to make rand/srand, strtok, asctime, localtime, w_gamma,
12317 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
12318 time.h to bring in struct tm definition.
12319 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
12320 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
12321 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
12322 instead of static variable.
12323 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
12324 struct reent instead of static variable.
12325 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
12326 struct reent instead of static variable.
12327 * libm/math/Makefile.am: Removed s_signgam.o.
12328 * libm/math/Makefile.in: Regenerated.
12329 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
12330 struct reent instead of global variable 'signgam'.
12331 * libm/math/w_lgamma.c (lgamma): Likewise.
12332 * libm/math/wf_gamma.c (gammaf): Likewise.
12333 * libm/math/wf_lgamma.c (lgammaf): Likewise.
12334 * libm/math/s_signgam.c: Removed.
12335 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
12336 to be const.
12337 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
12338 to be const.
12339 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
12340 libc/include/reent.h.
12341 * libc/reent/Makefile.in: Regenerated.
12342 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
12343 to be const.
12344 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
12345 'JIS_action_table' to be const.
12346 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
12347
12348 Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
12349
12350 * acinclude.m4: $with_target_subdir should default to '.'
12351 or confusion results when configuring in same directory as sources.
12352 * Regenerate all aclocal.m4 and configure files.
12353
12354 Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
12355
12356 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
12357 can be set by defining MALLOC_ALIGNMENT=16. Also added support
12358 for platforms where sizeof(size_t) < sizeof(long) via
12359 SIZE_T_SMALLER_THAN_LONG macro.
12360
12361 Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
12362
12363 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
12364 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
12365 which sets _CLOCKS_PER_SEC_ for selected machines.
12366 * libc/include/machine/time.h: New file.
12367
12368 Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12369
12370 * libc/syscalls/sysexecve.c: New file.
12371 * libc/syscalls/sysgettod.c: New file.
12372 * libc/syscalls/systimes.c: New file.
12373 * libc/syscalls/Makefile.am: Added new objects.
12374 * libc/syscalls/Makefile.in: Regenerated.
12375 * libc/include/_syslist.h (_execve): Moved define in file.
12376 * libc/include/reent.h: Added _execve_r declaration.
12377 * libc/Makefile.in: Regenerated.
12378 * libc/ctype/Makefile.in: Regenerated.
12379 * libc/errno/Makefile.in: Regenerated.
12380 * libc/locale/Makefile.in: Regenerated.
12381 * libc/machine/Makefile.in: Regenerated.
12382 * libc/misc/Makefile.in: Regenerated.
12383 * libc/posix/Makefile.in: Regenerated.
12384 * libc/reent/Makefile.in: Regenerated.
12385 * libc/reent/execr.c (_execve_r): Added _execve_r function.
12386 * libc/signal/Makefile.in: Regenerated.
12387 * libc/stdio/Makefile.in: Regenerated.
12388 * libc/time/Makefile.in: Regenerated.
12389 * libc/unix/Makefile.in: Regenerated.
12390 * libm/mathfp/Makefile.in: Regenerated.
12391
12392 Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12393
12394 * libc/string/Makefile.in: Regenerated.
12395 * libc/string/memchr.c (memchr): Moved code to reduce object size.
12396 * libc/string/memcpy.c (memcpy): Ditto.
12397 * libc/string/memcmp.c (memcmp): Ditto.
12398 * libc/string/memset.c (memset): Ditto.
12399 * libc/string/strchr.c (strchr): Ditto.
12400 * libc/string/strcmp.c (strcmp): Ditto.
12401 * libc/string/strcpy.c (strcpy): Ditto.
12402 * libc/string/strlen.c (strlen): Ditto.
12403
12404 Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12405
12406 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
12407 to generate aclocal.m4.
12408 * libm/Makefile.in: Regenerated.
12409 * libm/aclocal.m4: Regenerated.
12410 * libm/configure: Regenerated.
12411 * libm/math/Makefile.in: Regenerated.
12412 * libm/mathfp/Makefile.in: Regenerated.
12413
12414 1998-09-25 Mark Salter <msalter@cygnus.com>
12415
12416 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
12417 by adding leading and trailing underscores to symbol names.
12418
12419 Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
12420
12421 * Makefile.in: Add default for AR_FLAGS.
12422
12423 Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
12424
12425 patch from ian@airs.com (Ian Taylor):
12426 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
12427 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
12428 is needed for detecting the build machine. Required for
12429 cygwin native builds.
12430
12431 * Regenerate all aclocal.m4 and configure files.
12432
12433 Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
12434
12435 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
12436 used to start with LC.
12437
12438 Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12439
12440 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
12441 (longjmp): Likewise.
12442
12443 Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12444
12445 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
12446 the test for small number of bytes.
12447
12448 Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12449
12450 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
12451 math library that uses floating point algorithms instead of the old
12452 libm.
12453 * Makefile.in: Regenerate with automake version 1.3b.
12454 * configure: Rebuild.
12455 * libm/Makefile.in: Regenerate with automake version 1.3b.
12456 * libm/aclocal.m4: Regenerate.
12457 * libm/configure: Rebuild.
12458 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
12459 * libm/acinclude.m4: Define macros for configure.in.
12460 * libm/config.h.in: Generate.
12461 * libm/mathfp/Makefile.am: New file.
12462 * libm/mathfp/Makefile.in: Generate.
12463 * libm/mathfp/s_acos.c (acos): New file.
12464 * libm/mathfp/s_asin.c (asin): New file.
12465 * libm/mathfp/s_asine.c (asine): New file.
12466 * libm/mathfp/s_atan.c (atan): New file.
12467 * libm/mathfp/s_atan2.c (atan2): New file.
12468 * libm/mathfp/s_atangent.c (atangent): New file.
12469 * libm/mathfp/s_ceil.c (ceil): New file.
12470 * libm/mathfp/s_copysign.c (copysign): New file.
12471 * libm/mathfp/s_cos.c (cos): New file.
12472 * libm/mathfp/s_cosh.c (cosh): New file.
12473 * libm/mathfp/s_exp.c (exp): New file.
12474 * libm/mathfp/s_fabs.c (fabs): New file.
12475 * libm/mathfp/s_finite.c (finite): New file.
12476 * libm/mathfp/s_floor.c (floor): New file.
12477 * libm/mathfp/s_fmod.c (fmod): New file.
12478 * libm/mathfp/s_frexp.c (frexp): New file.
12479 * libm/mathfp/s_infconst.c: New file.
12480 * libm/mathfp/s_isinf (isinf).c: New file.
12481 * libm/mathfp/s_isnan.c (isnan): New file.
12482 * libm/mathfp/s_ispos.c (ispos): New file.
12483 * libm/mathfp/s_ldexp.c (ldexp): New file.
12484 * libm/mathfp/s_log.c (log): New file.
12485 * libm/mathfp/s_log10.c (log10): New file.
12486 * libm/mathfp/s_logarithm.c (logarithm): New file.
12487 * libm/mathfp/s_mathcnst.c: New file.
12488 * libm/mathfp/s_modf (modf).c: New file.
12489 * libm/mathfp/s_numtest.c (numtest): New file.
12490 * libm/mathfp/s_pow.c (pow): New file.
12491 * libm/mathfp/s_scalbn.c (scalbn): New file.
12492 * libm/mathfp/s_sin (sin).c: New file.
12493 * libm/mathfp/s_sine.c (sine): New file.
12494 * libm/mathfp/s_sineh.c (sineh): New file.
12495 * libm/mathfp/s_sinf.c (sinf): New file.
12496 * libm/mathfp/s_sinh.c (sinh): New file.
12497 * libm/mathfp/s_sqrt.c (sqrt): New file.
12498 * libm/mathfp/s_tan.c (tan): New file.
12499 * libm/mathfp/s_tanh.c (tanh): New file.
12500 * libm/mathfp/sf_acos.c (acosf): New file.
12501 * libm/mathfp/sf_asin.c (asinf): New file.
12502 * libm/mathfp/sf_asine.c (asinef): New file.
12503 * libm/mathfp/sf_atan.c (atanf): New file.
12504 * libm/mathfp/sf_atan2.c (atan2f): New file.
12505 * libm/mathfp/sf_atangent.c (atangent): New file.
12506 * libm/mathfp/sf_ceil.c (ceilf): New file.
12507 * libm/mathfp/sf_copysign.c (copysignf): New file.
12508 * libm/mathfp/sf_cos.c (cosf): New file.
12509 * libm/mathfp/sf_cosh.c (coshf): New file.
12510 * libm/mathfp/sf_exp.c (expf): New file.
12511 * libm/mathfp/sf_fabs.c (fabsf): New file.
12512 * libm/mathfp/sf_finite.c (finitef): New file.
12513 * libm/mathfp/sf_floor.c (floorf): New file.
12514 * libm/mathfp/sf_fmod.c (fmodf): New file.
12515 * libm/mathfp/sf_frexp.c (frexpf): New file.
12516 * libm/mathfp/sf_isinf.c (isinff): New file.
12517 * libm/mathfp/sf_isnan.c (isnanf): New file.
12518 * libm/mathfp/sf_ispos.c (isposf): New file.
12519 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
12520 * libm/mathfp/sf_log.c (logf): New file.
12521 * libm/mathfp/sf_log10.c (log10f): New file.
12522 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
12523 * libm/mathfp/sf_modf.c (modff): New file.
12524 * libm/mathfp/sf_numtest.c (numtestf): New file.
12525 * libm/mathfp/sf_pow.c (powf): New file.
12526 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
12527 * libm/mathfp/sf_sin.c (sinf): New file.
12528 * libm/mathfp/sf_sine.c (sinef): New file.
12529 * libm/mathfp/sf_sineh.c (sinehf): New file.
12530 * libm/mathfp/sf_sinh.c (sinhf): New file.
12531 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
12532 * libm/mathfp/sf_tan.c (tanf): New file.
12533 * libm/mathfp/sf_tanh.c (tanhf): New file.
12534 * libm/mathfp/zmath.h: New file.
12535
12536 Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12537
12538 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
12539 exit if it has been overwritten by pre-fetching in delay slot.
12540
12541 1998-09-01 Michael Meissner <meissner@cygnus.com>
12542
12543 * Makefile.am (tooldir): Add in host_alias, so that multilib
12544 libraries are installed in the directory the compiler looks in.
12545 * Makefile.in: Regenerate.
12546
12547 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
12548
12549 Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
12550
12551 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
12552 ahead of test for number of bytes being moved.
12553
12554 Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
12555
12556 * libc/include/sys/unistd.h: Nothing special needed for
12557 _exit under cygwin.
12558
12559 Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
12560
12561 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
12562 conform to user label naming conventions.
12563
12564 Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
12565
12566 * libc/sys/cygwin32/sys/utime.h: variable names in
12567 protos should start with two leading underscores
12568 * libc/include/string.h: ditto
12569 * libc/include/sys/signal.h: ditto
12570 * libc/include/sys/stat.h: ditto
12571 * libc/include/sys/time.h: ditto
12572 * libc/include/sys/unistd.h: ditto
12573 * libc/include/ctype.h: ditto
12574 * libc/include/stdlib.h: ditto
12575 * libc/include/sys/reent.h: struct _atexit function ptr takes a
12576 void, same with _sig_func.
12577
12578 Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
12579
12580 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
12581 for MB_CAPABLE to reduce code size when newlib is not configured
12582 with --enable-newlib-mb.
12583 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
12584 mbtowc_r.o to minimize size.
12585 * libc/stdlib/Makefile.in: Rebuild.
12586
12587 Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
12588
12589 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
12590 to -DREENT.
12591 * libc/sys/sparc64/Makefile.in: Rebuild.
12592
12593 Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
12594
12595 * Makefile.am (MAKEOVERRIDES): Define.
12596 * Makefile.in: Rebuild.
12597
12598 Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
12599
12600 * libc/sys/sparc64/sys/stat.h (stat): Add const.
12601
12602 Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
12603
12604 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
12605 newlib_cflags when looking for targ-include.
12606 * */aclocal.m4, */configure: Rebuild.
12607
12608 Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
12609
12610 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
12611 to "_end".
12612
12613 Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
12614
12615 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
12616 on SPARCs with little-endian data.
12617 * libc/include/machine/ieeefp.h: Ditto.
12618
12619 Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
12620
12621 * acinclude.m4: Handle a relative srcdir correctly when setting
12622 newlib_cflags.
12623 * */aclocal.m4, */configure: Rebuild.
12624
12625 Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
12626
12627 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
12628 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
12629 * libm/math/wrf_gamma.c (gammaf_r): ditto
12630 * libm/math/wr_lgamma.c (lgamma_r): ditto
12631 * libm/math/wr_gamma.c (gamma_r): ditto
12632 * libm/math/wf_sqrt.c (sqrtf): ditto
12633 * libm/math/wf_sinh.c (sinhf): ditto
12634 * libm/math/wf_scalb.c (scalbf): ditto
12635 * libm/math/wf_remainder.c (remainderf): ditto
12636 * libm/math/wf_pow.c (powf): ditto
12637 * libm/math/wf_log10.c (log10f): ditto
12638 * libm/math/wf_log.c (logf): ditto
12639 * libm/math/wf_lgamma.c (lgammaf): ditto
12640 * libm/math/wf_jn.c (jnf, ynf): ditto
12641 * libm/math/wf_j1.c (j1f, y1f): ditto
12642 * libm/math/wf_j0.c (j0f, y0f): ditto
12643 * libm/math/wf_hypot.c (hypotf): ditto
12644 * libm/math/wf_gamma.c (gammaf): ditto
12645 * libm/math/wf_fmod.c (fmodf): ditto
12646 * libm/math/wf_exp.c (expf): ditto
12647 * libm/math/wf_cosh.c (coshf): ditto
12648 * libm/math/wf_atanh.c (atanhf): ditto
12649 * libm/math/wf_atan2f.c (atan2f): ditto
12650 * libm/math/wf_asin.c (asinf): ditto
12651 * libm/math/wf_acosh.c (acoshf): ditto
12652 * libm/math/wf_acos.c (acosf): ditto
12653 * libm/math/w_sqrt.c (sqrt): ditto
12654 * libm/math/w_sinh.c (sinh): ditto
12655 * libm/math/w_scalb.c (scalb): ditto
12656 * libm/math/w_remainder.c (remainder): ditto
12657 * libm/math/w_pow.c (pow): ditto
12658 * libm/math/w_log10.c (log10): ditto
12659 * libm/math/w_log.c (log): ditto
12660 * libm/math/w_lgamma.c (lgamma): ditto
12661 * libm/math/w_jn.c (jn, yn): ditto
12662 * libm/math/w_j1.c (j1, y1): ditto
12663 * libm/math/w_j0.c (j0, y0): ditto
12664 * libm/math/w_hypot.c (hypot): ditto
12665 * libm/math/w_gamma.c (gamma): ditto
12666 * libm/math/w_fmod.c (fmod): ditto
12667 * libm/math/w_exp.c (exp): ditto
12668 * libm/math/w_cosh.c (cosh): ditto
12669 * libm/math/w_atanh.c (atanh): ditto
12670 * libm/math/w_atan2f.c (atan2): ditto
12671 * libm/math/w_asin.c (asin): ditto
12672 * libm/math/w_acosh.c (acosh): ditto
12673 * libm/math/w_acos.c (acos): ditto
12674
12675 Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
12676
12677 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
12678 (fsrc): Add wf_cabs.c and wf_drem.c.
12679 * libm/math/Makefile.in: Rebuild.
12680
12681 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
12682 unused directory variables. Remove duplicate CFLAGS.
12683 * Makefile.in: Rebuild.
12684
12685 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
12686 with $(CC_FOR_BUILD).
12687 (makedoc.o): Likewise.
12688 * doc/Makefile.in: Rebuild.
12689
12690 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
12691 force a definition of COMPILE.
12692 (libfoo_a_SOURCES): Define.
12693 * libc/sys/cygwin32/Makefile.in: Rebuild.
12694 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
12695 force a definition of COMPILE.
12696 (libfoo_a_SOURCES): Define.
12697 * libc/sys/tic80/Makefile.in: Rebuild.
12698
12699 Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
12700
12701 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
12702 flag.
12703
12704 Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
12705
12706 * Build using autoconf and automake. Added many Makefile.am and
12707 configure.in files, plus generated files. Old configure.in files
12708 and all old Makefile.in files completely replaced. Removed
12709 host/any. Added acinclude.m4 and configure.host.
12710
12711 Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
12712
12713 * libc/stdio/vfprintf.c: enable long long support, sometimes.
12714 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
12715
12716 Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12717
12718 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
12719 * libc/machine/sh/Makefile.in: Add rules for new files.
12720
12721 Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12722
12723 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
12724 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
12725 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
12726
12727 Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
12728
12729 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
12730 code is ignored.
12731
12732 Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
12733
12734 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
12735 internal static buffer when s is NULL, as prescribed by ANSI.
12736
12737 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
12738
12739 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
12740 removed.
12741 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
12742 libc/stdlib will be used for h8300hms.
12743
12744 Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12745
12746 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
12747 version that can be built either for speed or size.
12748 * libc/machine/mn10300/memset.S (_memset): ditto
12749 * libc/machine/mn10300/memchr.S (_memchr): ditto
12750 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
12751 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
12752 * libc/machine/mn10300/strchr.S (_strchr): ditto
12753 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
12754 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
12755 * libc/machine/mn10300/Makefile.in: Added entries for
12756 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
12757 strcmp.o, strcpy.o, and strlen.o.
12758
12759 Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
12760
12761 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
12762 been replaced with libgloss/mn10200.
12763
12764 Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
12765
12766 * libc/string/strchr.c (strchr): Make s a constant pointer to
12767 avoid warning.
12768
12769 Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
12770
12771 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
12772 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
12773 board SWIs instead of Demon board SWIs).
12774
12775 Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
12776
12777 * libc/string/strncat.c (strncat): Make -Os act the same as
12778 PREFER_SIZE_OVER_SPEED being defined.
12779
12780 Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
12781
12782 * libc/string/memchr.c (memchr): Make -Os act the same as
12783 PREFER_SIZE_OVER_SPEED being defined.
12784 * libc/string/memcmp.c (memcmp): Ditto.
12785 * libc/string/memcpy.c (memcpy): Ditto.
12786 * libc/string/memset.c (memset): Ditto.
12787 * libc/string/strcat.c (strcat): Ditto.
12788 * libc/string/strchr.c (strchr): Ditto.
12789 * libc/string/strcmp.c (strcmp): Ditto.
12790 * libc/string/strcpy.c (strcpy): Ditto.
12791 * libc/string/strlen.c (strlen): Ditto.
12792 * libc/string/strncat.c (strncat): Ditto.
12793 * libc/string/strncmp.c (strncmp): Ditto.
12794 * libc/string/strncpy.c (strncpy): Ditto.
12795
12796 Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
12797
12798 * libc/include/sys/itimer.h: remove
12799 * libc/include/sys/time.h: itimer stuff should be here
12800
12801 Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
12802
12803 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
12804 bit instead of comparing to 0 so -0.0 can be printed correctly.
12805
12806 Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12807
12808 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
12809
12810 Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
12811
12812 * libc/include/sys/unistd.h: fix sync() proto
12813 * libc/include/sys/fcntl.h: remove _close which is already
12814 defined in unistd.h.
12815 * libc/include/sys/time.h: add getitimer proto
12816
12817 Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
12818
12819 * libc/string/strchr.c: convert arg to unsigned char
12820 * libc/include/stdlib.h: add protos for random, srandom
12821 * libc/include/sys/stat.h: add lstat proto
12822 * libc/include/sys/time.h: add setitimer proto
12823 * libc/include/sys/unistd.h: add readlink, symlink protos
12824 * libc/include/process.h: instead of including windows.h and using
12825 HANDLEs in sexec protos, just use void *s. Need to include
12826 sys/types.h.
12827
12828 Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
12829
12830 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
12831
12832 Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
12833
12834 * libc/include/process.h: add secure exec protos
12835
12836 Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
12837
12838 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
12839 which are accessed as both doubles and integers.
12840 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
12841 * libc/stdlib/strtod.c (_strtod_r): Likewise.
12842 * libc/stdlib/mprec.h: Add "union double_union" and change
12843 word0/word1 macros to use it.
12844
12845 Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
12846
12847 * libc/include/sys/signal.h: add __cplusplus wrapper
12848
12849 Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
12850
12851 * libc/include/sys/utime.h: new generic file that gets replaced by
12852 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
12853 function.
12854 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
12855 * libc/include/time.h: remove duplicate utime proto
12856 * libc/include/utime.h: add comment
12857
12858 Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
12859
12860 * libc/include/sys/time.h: Add missing include to
12861 allow use of _EXFUN. Remove times function that is
12862 already defined in times.h.
12863
12864 Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
12865
12866 * libc/include/time.h: Fix typo in tzset.
12867
12868 Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
12869
12870 * libc/include/sys/time.h: add missing Cygwin32 function protos
12871 * libc/include/sys/unistd.h: ditto
12872 * libc/include/time.h: ditto
12873
12874 Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
12875
12876 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
12877 FIXME.
12878 * libc/include/sys/types.h: add a new __MS_types__ section
12879 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
12880 __BIT_TYPES_DEFINED__.
12881
12882 Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
12883
12884 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
12885 since it overrides the one in libc/include/sys. Also, start
12886 including types.h.
12887
12888 Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
12889
12890 * libm/math/Makefile.in: add s_signgam.o to obj list
12891
12892 Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
12893
12894 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
12895
12896 Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
12897
12898 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
12899 so don't use defines.
12900
12901 Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
12902
12903 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
12904
12905 Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
12906
12907 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
12908 _current_locale as default locale.
12909
12910 Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
12911
12912 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
12913 insufficient space in a chunk.
12914
12915 Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
12916
12917 * configure.in (links): Added check for --enable-newlib-mb configure
12918 option which defines the MB_CAPABLE macro.
12919 * libc/locale/locale.c (_setlocale_r): Added support for setting
12920 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
12921 defined.
12922 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
12923 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
12924 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
12925 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
12926 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
12927 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
12928 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
12929 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
12930 * libc/stdlib/Makefile.in: Added new multibyte
12931 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
12932 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
12933 _mbstowcs_r(), and _wcstombs_r().
12934 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
12935 for JIS, SJIS, and EUC-JP characters.
12936 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
12937 MB_CAPABLE defined.
12938 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
12939 MB_CAPABLE defined.
12940 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
12941 MB_CAPABLE defined.
12942 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
12943 if MB_CAPABLE defined.
12944 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
12945 if MB_CAPABLE defined.
12946 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
12947 to the format string processing when MB_CAPABLE.
12948 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
12949 call _mbtowc_r().
12950
12951 Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
12952
12953 The following modifications are courtesy of Anthony Thompson,
12954 athompson@cambridge.arm.com:
12955 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
12956 boith RDI and RDP monitors.
12957 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
12958 RDI and RDP monitors.
12959
12960 Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
12961
12962 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
12963 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
12964 (_swiopen): Fixed open flags to treat write with append as just append.
12965 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
12966 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
12967
12968 Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12969
12970 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
12971 When needing to transfer an initial 2-byte-word, store as
12972 two single bytes.
12973
12974 Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12975
12976 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
12977 __SH3E__ .
12978 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
12979 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
12980
12981 Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
12982
12983 * configure.in (target_cflags): If --enable-target-optspace, use
12984 -Os to compile newlib rather than -O2. Default to using -Os for
12985 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
12986 used.
12987
12988 Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
12989
12990 * libc/include/machine/setjmp.h: change sigsetjmp and
12991 siglongjmp definitions to use an array instead of a struct
12992 for __CYGWIN32__
12993
12994 Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
12995
12996 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
12997
12998 Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
12999
13000 * libc/string/strxfrm.c: fix to get correct return value
13001
13002 Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
13003
13004 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
13005 builds. Make mode change labels global so that they will be seen
13006 by the debugger.
13007
13008 Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
13009
13010 * configure.in (links): Do not use ARM debiugging protocols for PE
13011 builds.
13012
13013 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
13014 message.
13015
13016 Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13017
13018 * libc/stdio/findfp.c (__sinit): Made stdout default to
13019 line buffered mode as defined by ANSI.
13020
13021 Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
13022
13023 * libc/include/sys/itimer.h: New file.
13024
13025 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
13026
13027 Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13028
13029 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
13030 failure.
13031
13032 Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
13033
13034 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
13035 insns.
13036
13037 Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
13038
13039 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
13040
13041 Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
13042
13043 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
13044 support.
13045
13046 * libc/include/machine/setjmp.h: Add D30V support.
13047
13048 * configure.in (d30v-*): Add d30v machine directory.
13049
13050 Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
13051
13052 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
13053 been replaced with libgloss/mn10300.
13054
13055 Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
13056
13057 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
13058 it is no longer needed.
13059
13060 Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
13061
13062 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
13063
13064 Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
13065
13066 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
13067 the file when O_APPEND is set, wherever the EOF happens to be at
13068 that time.
13069
13070 Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
13071
13072 patch from cgf@bbc.com (Christopher Faylor):
13073 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
13074 convention of closing fp prior to attempting to open the file
13075 argument. This allows correct operation when reopening
13076 stdin/stdout/stderr. Replaces last freopen.c patch.
13077
13078 Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
13079
13080 patch from cgf@bbc.com (Christopher Faylor):
13081 * libc/stdio/freopen.c: freopen was not preserving the fd
13082 of the stream being operated on. This confuses programs that
13083 expect that the handles for stdout and stderr will be 1 and 2.
13084
13085 Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
13086
13087 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
13088
13089 Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
13090
13091 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
13092
13093 Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
13094
13095 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
13096 altered to not use a branch. Also added hint that last
13097 bclr in longjmp will likely result in branch.
13098
13099
13100 Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
13101
13102 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
13103
13104 Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
13105
13106 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
13107 v850 builds.
13108
13109 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
13110
13111 Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
13112
13113 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
13114 that loads FR14 to specify offset of 8 rather than 4
13115 so it loads from offset 96 (where setjmp stored it).
13116
13117 Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13118
13119 * libc/machine/sh/memcpy.S: (_memcpy): Update to
13120 latest version supplied by customer.
13121 * libc/machine/sh/memset.S (_memset): Ditto.
13122
13123 Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
13124
13125 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
13126 PR14730).
13127
13128 Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
13129
13130 * libc/include/string.h: remove redefinition of ffs
13131
13132 Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
13133
13134 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
13135 defined
13136
13137 Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13138
13139 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
13140 TI Libraries to link to libc.a
13141
13142 Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
13143
13144 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
13145 * libc/include/sys/stat.h (_{,f}stat): Ditto.
13146 * libc/include/sys/wait.h (_wait): Ditto.
13147 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
13148 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
13149
13150 Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
13151
13152 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
13153 minded stabs so function name shows up when running the simulator
13154 with -t.
13155 * libc/sys/d10v/{crt0,trap}.S: Ditto.
13156
13157 Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
13158
13159 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
13160 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
13161 Use R5 where we used to use R3.
13162
13163 Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
13164
13165 * libc/stdlib/getopt.c (getopt): replaced __progname
13166 with nargv[0] to improve portability to imbedded systems.
13167
13168 Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
13169
13170 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
13171 patch supplied by Tont.Thompson@arm.com to fix the creation of the
13172 stdout file.
13173
13174 Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
13175
13176 * libc/stdio/tmpnam.c (worker): Generate a different file name
13177 each time.
13178
13179 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
13180 fails, try an execlp for sh.
13181
13182 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
13183 option for the winsup include directory.
13184
13185 Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
13186
13187 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
13188 debugging interface from Tony.Thompson@arm.com.
13189
13190 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
13191 * libc/sys/arm/swi.h: ditto.
13192
13193 Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
13194
13195 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
13196 DIR struct used for readdir hashes.
13197
13198 Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
13199
13200 * libc/string/strchr.c: Use "unsigned chars" as necessary.
13201
13202 Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
13203
13204 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
13205 integer targets.
13206
13207 Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
13208
13209 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
13210 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
13211 * libc/include/malloc.h: Add extern "C" if __cplusplus.
13212 (__malloc_copy): Declare.
13213
13214 Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
13215
13216 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
13217 <sys/config.h>.
13218 (POINTER_UINT): Define.
13219 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
13220 (MALLOC_ALIGNMENT): Don't define if already defined.
13221 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
13222 long.
13223
13224 Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
13225
13226 * libc/string/memset.c (memset): Fiddle with code so that the long
13227 value being stored is not a stack value. Unroll storing longs 4
13228 times.
13229
13230 Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
13231
13232 * Reduce code size for libm modules.
13233 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
13234 and simply move code into sqrt.
13235 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
13236 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
13237 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
13238 * libm/math/wr_gamma.c (gamma_r): Likewise.
13239 * libm/math/wf_sinh.c (sinfh): Likewise.
13240 * libm/math/w_sinh.c (sinh): Likewise.
13241 * libm/math/wf_scalb.c (scalbf): Likewise.
13242 * libm/math/w_scalb.c (scalb): Likewise.
13243 * libm/math/wf_remainder.c (remainderf): Likewise.
13244 * libm/math/w_remainder.c (remainder): Likewise.
13245 * libm/math/wf_pow.c (powf): Likewise.
13246 * libm/math/w_pow.c (pow): Likewise.
13247 * libm/math/wf_log10.c (log10f): Likewise.
13248 * libm/math/w_log10.c (log10): Likewise.
13249 * libm/math/wf_log.c (logf): Likewise.
13250 * libm/math/w_log.c (log): Likewise.
13251 * libm/math/w_lgamma.c (lgamma): Likewise.
13252 * libm/math/wf_lgamma.c (lgammaf): Likewise.
13253 * libm/math/wf_jn.c (jnf): Likewise.
13254 * libm/math/w_jn.c (jn): Likewise.
13255 * libm/math/wf_j1.c (j1f): Likewise.
13256 * libm/math/w_j1.c (j1): Likewise.
13257 * libm/math/wf_j0.c (j0f): Likewise.
13258 * libm/math/w_j0.c (j0): Likewise.
13259 * libm/math/wf_hypot.c (hypotf): Likewise.
13260 * libm/math/w_hypot.c (hypot): Likewise.
13261 * libm/math/wf_gamma.c (gammaf): Likewise.
13262 * libm/math/w_gamma.c (gamma): Likewise.
13263 * libm/math/wf_fmod.c (fmodf): Likewise.
13264 * libm/math/w_fmod.c (fmod): Likewise.
13265 * libm/math/wf_exp.c (expf): Likewise.
13266 * libm/math/w_exp.c (exp): Likewise.
13267 * libm/math/wf_cosh.c (coshf): Likewise.
13268 * libm/math/w_cosh.c (cosh): Likewise.
13269 * libm/math/wf_atanh.c (atanhf): Likewise.
13270 * libm/math/w_atanh.c (atanh): Likewise.
13271 * libm/math/wf_atan2.c (atan2f): Likewise.
13272 * libm/math/w_atan2.c (atan2): Likewise.
13273 * libm/math/wf_asin.c (asinf): Likewise.
13274 * libm/math/w_asin.c (asin): Likewise.
13275 * libm/math/wf_acosh.c (acoshf): Likewise.
13276 * libm/math/w_acosh.c (acosh): Likewise.
13277 * libm/math/wf_acos.c (asocf): Likewise.
13278 * libm/math/w_acos.c (acos): Likewise.
13279 * libm/math/wf_sqrt.c (sqrtf): Likewise.
13280 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
13281 for embedded systems.
13282
13283 Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
13284
13285 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
13286 Lea in case of a foreign sbrk.
13287
13288 Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
13289
13290 Incorporate Doug Lea's malloc:
13291 * libc/stdlib/mallocr.c: Completely replaced.
13292 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
13293 (realloc): Remove.
13294 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
13295 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
13296 mallopt.
13297 (mallinfo, malloc_stats, mallopt): New functions.
13298 (_mstats_r): Just call _malloc_stats_r.
13299 * libc/stdlib/malign.c: New file.
13300 * libc/stdlib/mlock.c: New file.
13301 * libc/stdlib/msize.c: New file.
13302 * libc/stdlib/mtrim.c: New file.
13303 * libc/stdlib/realloc.c: New file.
13304 * libc/stdlib/valloc.c: New file.
13305 * libc/stdlib/malloc.h: Remove.
13306 * libc/stdlib/callocr.c: Remove.
13307 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
13308 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
13309 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
13310 reallocr.o, valloc.o, vallocr.o.
13311 (CHEWOUT_FILES): Add mlock.def, mstats.def.
13312 (MALLOC_CFLAGS): New variable.
13313 (mallocr.o): New target, build from mallocr.c.
13314 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
13315 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
13316 (msizer.o, malloptr.o): Likewise.
13317 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
13318 (valloc.o): New target.
13319 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
13320 * libc/include/malloc.h: Declare struct mallinfo, and new
13321 routines.
13322 * libc/include/stdlib.h (cfree): Correct declaration.
13323
13324 Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
13325
13326 * libc/include/machine/setjmp.h: Add support for Thumb target.
13327
13328 * libc/include/machine/ieeefp.h: Add support for Thumb target.
13329
13330 * configure.in (links): Add support for Thumb target.
13331
13332 Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
13333
13334 * libc/sys/arm/setjmp.S: Updated with version from branch.
13335
13336 Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
13337
13338 * libc/include/stdio.h: add POSIX-required define L_ctermid
13339 for ctermid
13340
13341 Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
13342
13343 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
13344 addition to MISSING_SYSCALL_NAMES.
13345
13346 Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
13347
13348 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
13349
13350 Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
13351
13352 * libc/include/string.h: change strsignal proto to return
13353 a char *. This eliminates compile problems in gdb resulting
13354 from gdb's definition of strsignal in defs.h.
13355
13356 Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
13357
13358 * libc/sys/cygwin32/sys/utime.h: new (moved here from
13359 winsup/include) so as not to conflict with the one in
13360 libc/include.
13361 * libc/include/string.h: add protos for strsignal, strtosigno
13362
13363 Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
13364
13365 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
13366
13367 * configure.in (d30v-*-*): Add configuration.
13368
13369 Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
13370
13371 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
13372 to select which kind of debug monitor is in use for an ARM target.
13373
13374 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
13375 Angel and Demon debug monitors. Part of this code was supplied by
13376 Tony Thompson at ARM: athompso@arm.com.
13377
13378 Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
13379
13380 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
13381 semantics when the count is greater than the length of the second
13382 source string.
13383
13384 Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
13385
13386 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
13387 * libc/include/sys/unistd.h: add protos for usleep, truncate,
13388 truncate and ftruncate take off_t, not size_t
13389
13390 Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
13391
13392 * libc/string/strcat.c (strcat): Add missing comment end.
13393 * libc/string/strncat.c (strncat): Likewise.
13394
13395 Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
13396
13397 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
13398 targets.
13399 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
13400 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
13401 defined.
13402 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
13403 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
13404 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
13405
13406 Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
13407
13408 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
13409 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
13410
13411 Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
13412
13413 * libc/machine/i386/setjmp.S: New file.
13414 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
13415 (OFILES): Add setjmp.o.
13416 (setjmp.o): Add rule for.
13417 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
13418
13419 Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
13420 Jeffrey A Law (law@cygnus.com)
13421
13422 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
13423 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
13424 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
13425 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
13426
13427 Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
13428
13429 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
13430 rules.
13431
13432 * libc/include/sys/config.h: Use __v850 to select v850
13433 endianness.
13434
13435 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
13436 buffer size.
13437
13438 * libc/include/machine/ieeefp.h: Use __v850 to select v850
13439 endianness.
13440
13441 Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
13442
13443 * libc/stdlib/setenv.c: change unsetenv definition to match
13444 style of setenv (with _DEFUN). The string should be a const.
13445 * libc/include/stdlib.h: unsetenv proto should return void.
13446
13447 Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
13448
13449 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
13450
13451 Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
13452
13453 * libc/stdio/glue.h: remove.
13454 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
13455 * libc/stdio/Makefile.in: remove glue.h dependencies
13456
13457 Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
13458
13459 * libc/sys/sysnecv850/crt0.S: Created V850e version.
13460
13461 Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
13462
13463 * configure.in (target_cpu): Add `arc'.
13464
13465 Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
13466
13467 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
13468 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
13469 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
13470 * newlib/libc/reent/reent.c: Add _wrapup_reent.
13471 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
13472
13473 Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
13474
13475 * libc/machine/mips/setjmp.S: Handle mips16 builds.
13476
13477 Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
13478
13479 * libc/include/stdio.h (siprintf): Declare.
13480
13481 Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
13482
13483 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
13484 TARGET_CFLAGS and NEWLIB_FLAGS.
13485
13486 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
13487
13488 * configure.in (links): Add support for v850ea target.
13489
13490 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
13491
13492 * configure.in (links): Add support for v850e target.
13493
13494 Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
13495
13496 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
13497
13498 Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
13499
13500 * configure.in (arc-*-*): Add support for.
13501 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
13502
13503 Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
13504
13505 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
13506
13507 Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
13508
13509 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
13510 comparison which accesses invalid memory when the key is
13511 larger than the last member of the array.
13512 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
13513 for CYGWIN32
13514 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
13515
13516 Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
13517
13518 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
13519 not _STRICT_ANSI.
13520
13521 Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
13522
13523 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
13524 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
13525
13526 Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
13527
13528 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
13529 to load/store memory.
13530
13531 Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
13532
13533 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
13534 underscores if _WIN32.
13535
13536 Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
13537
13538 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
13539 support ifdef _USE_WRITE missed in last change.
13540 From Anders Blomdell <anders.blomdell@control.lth.se>.
13541
13542 Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
13543
13544 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
13545 (_tmpnam_r, _tempnam_r): Update.
13546
13547 Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
13548
13549 * libc/machine/sparc/setjmp.S: New file.
13550 * libc/machine/sparc/Makefile.in: Add setjmp.
13551 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
13552
13553 Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
13554
13555 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
13556
13557 Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
13558
13559 From Joel Sherrill <joel@oarcorp.com>.
13560 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
13561
13562 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
13563 * configure.in: Recognize *-*-rtems*.
13564 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
13565 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
13566 time.h,times.h,types.h}: New files.
13567 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
13568
13569 Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
13570
13571 patch from sos@prospect.com.ru (Sergey Okhapkin):
13572 * include/sys/wait.h: correct operator precidence bug
13573 in WIFSIGNALED
13574
13575 Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
13576
13577 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
13578 with newlib's unsetenv function
13579 * libc/sys/cygwin32/sys: new directory for includes
13580 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
13581 here from winsup/include/sys
13582
13583 Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
13584
13585 * libc/include/sys/unistd.h: _exit should only be
13586 labelled noreturn when not __CYGWIN32__
13587 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
13588 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
13589 increment NSIG
13590
13591 Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
13592
13593 * libc/include/sys/time.h: Only define timeval and timezone if
13594 _GNU_H_WINDOWS32_SOCKETS is not defined.
13595 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
13596
13597 Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
13598
13599 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
13600 * libc/machine/mn10300/setjmp.S: Likewise.
13601
13602 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
13603 the mn10300 (more relaxing opportunities).
13604
13605 Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
13606
13607 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
13608 Build libraries with -mstrict-align.
13609
13610 Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
13611
13612 * libc/string/strlwr.c: New file.
13613 * libc/string/strupr.c: New file.
13614 * libc/include/string.h: Declare strlwr and strupr.
13615 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
13616 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
13617 (strlwr.o, strupr.o): New targets.
13618 * libc/string/strings.tex: Include strlwr and strupr docs.
13619
13620 * libc/include/sys/types.h: Don't define u_char, et. al., if
13621 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
13622 et. al. Make FD_SETSIZE default 64 rather than 60. Define
13623 _types_fd_set rather than fd_set, and define fd_set as a macro.
13624
13625 * libc/include/malloc.h: New file.
13626
13627 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
13628 strnicmp if they are not already defined.
13629
13630 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
13631 _timezone, _daylight, and _tzname.
13632
13633 Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
13634
13635 * configure.in: Sort all configuration tables.
13636
13637 From Joel Sherrill <joel@oarcorp.com>
13638 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
13639
13640 Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
13641
13642 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
13643 use int when declaring kill.
13644
13645 * libc/include/sys/timeb.h: New file.
13646
13647 Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
13648
13649 * libc/include/sys/time.h: add itimer support for Cygwin32
13650
13651 Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
13652
13653 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
13654 out a message that abort was called to stderr.
13655
13656 Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
13657
13658 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
13659 so that libio doesn't freak.
13660
13661 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
13662 int.
13663
13664 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
13665 memory sizes, not int.
13666
13667 Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
13668
13669 * libm/math/ef_hypot.c: Use long constants where
13670 appropriate.
13671 * libm/math/ef_sqrt.c: Ditto.
13672
13673 * libc/sys/sysmec/times.c(_times): Change to times.
13674
13675 * libc/sys/sysmec/read.c(_read): The third argument is
13676 size_t.
13677 * libc/sys/sysmec/write.c (_write): Ditto.
13678
13679 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
13680 (_lseek): It's off_t for the second argument.
13681
13682 Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
13683
13684 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
13685 as well as machine/ieeefp.h.
13686
13687 Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
13688
13689 * libc/include/sys/signal.h: add signal protos for winsup
13690 functions (when __CYGWIN32__), include types.h
13691 * libc/include/sys/types.h: Change __go32_types__ internal
13692 define to __MS_types__ since it's used for more than just
13693 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
13694 defined.
13695 * libc/include/sys/unistd.h: add ftruncate proto for
13696 winsup functions (when __CYGWIN32__)
13697
13698 Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
13699
13700 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
13701
13702 Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
13703
13704 * libc/include/machine/setjmp.h: Add tic80 support.
13705 * libc/machine/tic80/setjmp.S: Likewise.
13706
13707 Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
13708
13709 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
13710 link programs from libraries only (such as in the X11
13711 distribution)
13712
13713 Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
13714
13715 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
13716 supplied elsewhere in newlib.
13717
13718 Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
13719
13720 * Makefile.in (INSTALL): Change install.sh to install-sh.
13721
13722 Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
13723
13724 * README: update WWW address for on-line documentation.
13725
13726 Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
13727
13728 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
13729 increment NSIG
13730
13731 Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
13732
13733 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
13734 mn10300.
13735 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
13736
13737 Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
13738
13739 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
13740 * libc/sys/d10v/syscalls.c: Likewise.
13741 * libc/sys/h8300hms/sbrk.c: Likewise.
13742 * libc/sys/h8500hms/syscalls.c: Likewise.
13743 * libc/sys/m88kbug/syscalls.c: Likewise.
13744 * libc/sys/sh/syscalls.c: Likewise.
13745 * libc/sys/sysmec/sbrk.c: Likewise.
13746 * libc/sys/sysnecv850/sbrk.c: Likewise.
13747 * libc/sys/w65/syscalls.c: Likewise.
13748 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
13749
13750 Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
13751
13752 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
13753 emulated syscall instead of "trap".
13754
13755 Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
13756
13757 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
13758 not trap 0.
13759
13760 Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
13761
13762 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
13763
13764 Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
13765
13766 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
13767 not "sh".
13768 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
13769 not "d10v".
13770 * libc/sys/tic80/crt0.c: New file for TIc80.
13771 * libc/sys/tic80/Makefile.in: New file for TIc80.
13772 * libc/machine/tic80/Makefile.in: New file for TIc80.
13773
13774 Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
13775
13776 * libc/machine/sh/memcpy.S: New file.
13777 * libc/machine/sh/memset.S: New file.
13778 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
13779
13780 Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
13781
13782 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
13783 for TIc80.
13784
13785 Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
13786
13787 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
13788 the mn10200.
13789
13790 Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
13791
13792 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
13793 (patch from andrew@pogo.WV.TEK.COM).
13794
13795 Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
13796
13797 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
13798 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
13799
13800 Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
13801
13802 * configure.in: Add cases for "tic80" to set machine_dir,
13803 sys_dir, and syscall_dir.
13804
13805 Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
13806
13807 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
13808
13809 Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
13810
13811 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
13812
13813 Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
13814
13815 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
13816 Use proper constant prefix.
13817
13818 Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
13819
13820 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
13821 that loses on the mn10200 where ints and pointers are different
13822 sizes.
13823
13824 Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
13825
13826 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
13827 target as signal is provided in winsup.
13828
13829 Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
13830
13831 * libc/include/sys/process.h: Corrected const definitions
13832 in spawn functions. Added cwait.
13833
13834 Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
13835
13836 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
13837 doubles.
13838 * libc/include/sys/config.h: Similarly.
13839
13840 Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13841
13842 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
13843 target_cflags.
13844 (i[3456]86-*-sco*): Ditto.
13845
13846 * libc/signal/Makefile.in (OFILES): Add signal.o.
13847 (CFILES): Add signal.c.
13848
13849 * libc/signal/raise.c (_raise_r): Only compile code if
13850 SIGNAL_PROVIDED is defined.
13851
13852 * libc/signal/signal.c: Redo whole file so that it works with
13853 current newlib. Use _kill_r if no signal handler provided.
13854
13855 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
13856 signal stubs.
13857 * libc/sys/sysvnecv70/Makefile.in: Ditto.
13858 * libc/sys/sysnecv850/Makefile.in: Ditto.
13859
13860 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
13861 * libc/sys/sysmec/{raise,signal}.c: Ditto.
13862 * libc/sys/sysvnecv70/signal.s: Ditto.
13863 * libc/sys/sysnecv850/raise.c: Ditto.
13864
13865 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
13866 simulator and debugger can tell the difference between a signal
13867 being raised and an exit system call.
13868
13869 * NEWS: Document software signals being provided.
13870
13871 Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13872
13873 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
13874 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
13875 include/sys/config.h.
13876 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
13877 Change from 'inpure_data'.
13878 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
13879 &impure_data, not &inpure_data.
13880
13881 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
13882 and and System V ABI, define so that _impure_ptr lives in the
13883 .sdata section.
13884
13885 Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13886
13887 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
13888 nothing if not defined.
13889 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
13890 its attributes.
13891
13892 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
13893
13894 Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
13895
13896 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
13897 * libc/sys/sysmec/trap.s: Handle mn10200 too.
13898 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
13899
13900 Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
13901
13902 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
13903
13904 Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
13905
13906 * libc/include/sys/errno.h: Added net errno's.
13907
13908 Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13909
13910 * libc/misc/ffs.c: New file to support ffs function for GCC test
13911 gcc.c-torture/execute/960909-1.c.
13912
13913 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
13914
13915 Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
13916
13917 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
13918 * libc/sys/sysmec/trap.S: Likewise.
13919
13920 Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
13921
13922 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
13923 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
13924
13925 Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
13926
13927 * libc/sys/sysmec/signal.c: Dummy file.
13928 * libc/sys/sysmec/Makefile.in: Build it.
13929
13930 Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
13931
13932 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
13933 mips16.
13934
13935 Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
13936
13937 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
13938 c-startup and simulator traps.
13939
13940
13941 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
13942 * libc/sys/sysmec/trap0.S: Likewise.
13943
13944 Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13945
13946 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
13947 round to double word alignment.
13948 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
13949 byte alignment.
13950
13951 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
13952
13953 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
13954 out of memory.
13955
13956 Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
13957
13958 * configure.in: Handle mn10200 and mn10300.
13959 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
13960 * libc/include/sys/config.h: Likewise.
13961 * libc/sys/sysmec: New directory for mec stuff.
13962 * libc/machine/mn10300: New directory for mn10300 stuff.
13963 * libc/machine/mn10200: Similarly for mn10200 stuff.
13964
13965 Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
13966
13967 * libc/sys/arm/crt0.S: Use .text, not .section .text.
13968 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
13969
13970 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
13971 (nlink_t): Change type from unsigned int to unsigned short.
13972 (mode_t): Ensure size is 32 bits even if int is 16.
13973 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
13974 (st_spare[123]): Change type from int to long.
13975
13976 Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13977
13978 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
13979 byte boundary.
13980
13981 * configure.in (d10v*): Define SMALL_MEMORY.
13982
13983 Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13984
13985 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
13986 -mrelocatable-lib and -mno-eabi flags.
13987
13988 Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
13989
13990 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
13991 Fix handling of mis-aligned source operand when both the
13992 destination & length are properly aligned.
13993
13994 Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
13995
13996 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
13997 times.o, time.o and gettime.o
13998 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
13999 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
14000 SYS_gettimeofday.
14001
14002 Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
14003
14004 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
14005 * libc/sys/sysnecv850/access.c: New file.
14006
14007 Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
14008
14009 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
14010
14011 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
14012 long.
14013
14014 Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
14015
14016 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
14017
14018 Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
14019
14020 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
14021 * libc/include/sys/config.h: Add m32r support.
14022
14023 Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
14024
14025 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
14026 here.
14027
14028 Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
14029
14030 * libc/include/machine/setjmp.h: Add D10v support.
14031
14032 Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
14033
14034 * configure.in: Configure the "libc/syscalls" directory for
14035 the v850.
14036
14037 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
14038 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
14039 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
14040 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
14041 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
14042
14043 Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
14044
14045 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
14046 stack for args for main and other routines. Zero out args for
14047 main.
14048
14049 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
14050 correctly.
14051
14052 Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14053
14054 * libc/stdio/findfp.c (std): Remove extraneous ';' after
14055 function.
14056
14057 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
14058
14059 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
14060 real system calls now.
14061
14062 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
14063 before casting them to int.
14064 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
14065
14066 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
14067 aligning pointer.
14068 * libc/string/memset.c (memset): Ditto.
14069
14070 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
14071 first convert ints to _POINTER_INT to eliminate GCC warning.
14072
14073 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
14074 processing %p.
14075
14076 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
14077 from 65000 if ints are only 16 bits.
14078
14079 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
14080 from 50000 if ints are only 16 bits.
14081
14082 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
14083 int type that is the same size as a pointer.
14084
14085 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
14086 processing %p.
14087 (get_number): Explicitly cast number to long before shifting by 16
14088 or 24, in case ints are short.
14089
14090 * libc/include/sys/config.h (_POINTER_INT): Define as short.
14091
14092 Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
14093
14094 * libc/string.h: Added ffs, removed swab.
14095 * libc/sys/errno.h: Added EOPNOTSUPP.
14096 * libc/sys/unistd.h: Added swab.
14097
14098 Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
14099
14100 * libc/include/sys/stat.h: Added fchmod.
14101 * libc/include/sys/unistd.h: Added fsync.
14102
14103 Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
14104
14105 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
14106 and ECONNRESET (104) for cygwin32.
14107
14108 Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
14109
14110 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
14111 do the static destructors.
14112
14113 Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
14114
14115 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
14116
14117 Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
14118
14119 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
14120 * configure.in: Recognize m32r-*-*.
14121
14122 Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
14123
14124 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
14125 __rt_stkovf_split_small): Added default software stack overflow
14126 handlers, which just call SWI_Exit.
14127 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
14128 limit initialisation.
14129
14130 Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
14131
14132 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
14133
14134 Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
14135
14136 * libc/include/sys/types.h: Added ssize_t definition.
14137
14138 Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14139
14140 * libc/machine/d10v/setjmp.S: Use ';' for comments.
14141 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
14142
14143 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
14144 branch around a single ldi instruction.
14145
14146 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
14147 Call exit, instead of just issuing a stop instruction.
14148
14149 Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14150
14151 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
14152
14153 Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14154
14155 * libc/stdlib/mprec.h: Explicitly declare all large constants as
14156 longs, and then cast them to __uint32_t.
14157
14158 * libc/include/sys/config.h: Protect against multiple inclusions.
14159
14160 Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
14161
14162 * configure.in (d10v*): Set syscall_dir.
14163
14164 Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
14165
14166 * libc/sys/d10v/crt0.S: Set stack pointer.
14167
14168 Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
14169
14170 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
14171 in assembly for efficiency. Change calling convention to allow
14172 long ints to be returned.
14173
14174 Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14175
14176 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
14177
14178 Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
14179
14180 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
14181 Handle empty entries in $PATH.
14182
14183 Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
14184
14185 * libc/machine/d10v/setjmp.S: Make it really work.
14186
14187 Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
14188
14189 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
14190 the .stack section.
14191
14192 Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
14193
14194 * sys/sysnecv850/sys/file.h: Remove.
14195 * sys/sysnecv850/sys/syscall.h: New file.
14196 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
14197 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
14198 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
14199 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
14200 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
14201 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
14202 * sys/sysnec850/trap.S: New file.
14203 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
14204 syscalls.
14205 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
14206 * sys/sysnec850/sbrk.c: New version.
14207
14208 Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
14209
14210 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
14211 as long as r6 is less than r7.
14212
14213 Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
14214
14215 * Makefile.in (mostlyclean): Separate from clean target. Don't
14216 remove *.a or targ-include.
14217 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
14218
14219 Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14220
14221 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
14222 d10v.
14223 (__SMALL_BITFIELDS): Ditto.
14224
14225 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
14226
14227 Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
14228
14229 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
14230 prefix.
14231
14232 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
14233 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
14234 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
14235 * libc/sys/sysnecv850/write.c (write): Likewise.
14236
14237 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
14238 .bss.
14239
14240 Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14241
14242 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
14243 appropriately for D10V, depending on -mint16/-mint32.
14244
14245 Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
14246
14247 * configure.in: Add cases for D10V.
14248
14249 Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14250
14251 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
14252
14253 Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
14254
14255 * libc/include/machine/ieeefp.h: Fix typo.
14256
14257 Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
14258
14259 * libc/sys/d10v: New directory for D10V stuff.
14260 * libc/include/machine/ieeefp.h: Add D10V defines.
14261
14262 Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
14263
14264 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
14265 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
14266 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
14267 * libc/string/strerror.c (strerror): Add them.
14268
14269 Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
14270
14271 * libc/sys/sysnecv850: New directory for v850 stuff.
14272
14273 * libc/machine/v850: New directory for v850 stuff.
14274 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
14275
14276 * configure.in: Add support for the v850.
14277
14278 * libc/include/machine/ieeefp.h: Add v850 defines.
14279 * libc/include/machine/setjmp.h: Likewise.
14280 * libc/include/sys/config.h: Add v850 defines.
14281
14282 Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
14283
14284 * libc/include/machine/ieeefp.h
14285 * libc/include/machine/setjmp.h
14286 * libc/include/sys/fcntl.h
14287 * libc/include/sys/signal.h
14288 * libc/include/sys/types.h
14289 * libc/stdlib/system.c:
14290 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
14291 API availability, __CYGWIN32__ for cygwin32 environment specific).
14292
14293 Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
14294
14295 * libc/include/stdlib.h: add multibyte character functions. Add
14296 __eprintf for assert.
14297
14298 Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14299
14300 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
14301 arithmetic or __alignof__ to properly get the alignment, instead
14302 of hardwiring it to 4.
14303
14304 Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
14305
14306 * libc/stdio/fseek.c: add fflush call to adjust seek offset
14307 on append stream (fix from NetBSD sources), adjust curoff offset
14308 for ungetc's benefit.
14309 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
14310 * libc/stdio/rewind.c: replace code with up to date NetBSD
14311 code to undo hacks made to work around above problem of not
14312 having fflush call mentioned above
14313
14314 Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14315
14316 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
14317 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
14318 Partially revert last changes. The thread specific errno is set
14319 iff if the underlying syscall fails and the global errno is not
14320 zero.
14321
14322 Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14323
14324 * libc/reent/filer.c: Removed files, all functions have split out
14325 into their own files.
14326 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
14327 New files containing functions formally in filer.c
14328 * libc/reent/Makefile.in: Updated for above change.
14329
14330 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
14331 syscall fails, not if errno is changed.
14332 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
14333 _write_r): Likewise.
14334 * libc/reent/fstatr.c (_fstat_r): Likewise.
14335 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
14336 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
14337 * libc/reent/signalr.c (_kill_r): Likewise.
14338 * libc/reent/statr.c (_stat_r): Likewise.
14339 * libc/reent/timer.c (_gettimeofday_r): Likewise.
14340
14341 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
14342 signalr.c, statr.c, timer.c} (errno): declare extern rather
14343 than as a common.
14344
14345 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
14346 instead of calling vfprintf so that i*printf will not require
14347 floating point support code.
14348
14349 Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
14350
14351 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
14352 path delimiter.
14353 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
14354 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
14355
14356 Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
14357
14358 * libc/include/signal.h: _sig_func_ptr function takes an int
14359 * libc/include/sys/signal.h: sa_handler function takes an int
14360
14361 Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
14362
14363 * libc/include/machine/ieeefp.h: Simplify H8/S support.
14364 * libc/include/sys/config.h: Add missing H8/S conditional.
14365
14366 Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
14367
14368 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
14369
14370 Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
14371
14372 * libc/include/machine/setjmp.h: Handle H8/S.
14373 * libc/include/machine/ieeefp.h: Likewise.
14374 * libc/include/sys/config.h: Likewise.
14375 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
14376 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
14377 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
14378 * libc/sys/h8300hms/crt0.S: Likewise.
14379
14380 Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
14381
14382 * Makefile.in (datadir): Set to $(prefix)/share.
14383 (oldincludedir, docdir): Removed.
14384 * doc/Makefile.in (datadir): Set to $(prefix)/share.
14385 (oldincludedir, docdir): Removed.
14386 * libc/Makefile.in (datadir): Set to $(prefix)/share.
14387 (oldincludedir, docdir): Removed.
14388 * libm/Makefile.in (datadir): Set to $(prefix)/share.
14389 (oldincludedir, docdir): Removed.
14390
14391 Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
14392
14393 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
14394 _reent struct.
14395
14396 Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
14397
14398 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
14399 fetch current path rules with sysconf and handler posix/win32
14400 appropriately.
14401
14402 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
14403
14404 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
14405 (WAIT_CHILD): Always define.
14406
14407 Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
14408
14409 * libc/stdlib/eprintf.c: New file.
14410 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
14411 (eprintf.o): New target.
14412
14413 Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
14414
14415 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
14416 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
14417
14418 Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
14419
14420 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
14421 NT in PowerPC endianess cases.
14422
14423 Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14424
14425 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
14426
14427 Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14428
14429 * libc/string/strtok.c: Fix doc typo.
14430
14431 Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14432
14433 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
14434 _next, _scanpoint, _signgam fields.
14435
14436 * libc/include/stdlib.h (rand_r): Added new declaration.
14437 (_rand_r, _srand_r): Removed declarations.
14438 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
14439 have been made obsolete by rand_r.
14440 * libc/stdlib/rand_r.c: New file, rand_r function as specified
14441 by POSIX.1c.
14442
14443 * libc/string/strtok.c: Update documentation to describe
14444 strtok_r().
14445
14446 Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
14447
14448 * libc/include/sys/stat.h (stat structure): Use the expanded stat
14449 structure on Solaris, and PowerPC systems even though __svr4__ is
14450 defined.
14451
14452 Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
14453
14454 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
14455
14456 Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
14457
14458 * host/any: Use ../.. rather than .. to get to the main build
14459 directory. This matches the current layout of the build
14460 directory.
14461
14462 Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
14463
14464 * libc/machine/h8300/__main.S: Delete. No longer needed.
14465 * libc/machine/h8300/Makefile.in: Corresponding changes.
14466 * libc/sys/h8300hms/crt1.c: New file.
14467 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
14468 * libc/sys/h8300hms/crt0.s: Call __main.
14469
14470 * libc/sys/h8300hms/crt0.S: Use temporary label names
14471 for branch targets.
14472
14473 Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
14474
14475 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
14476
14477 Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14478
14479 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
14480 .sdata on the PowerPC so that we can link newlib with code
14481 compiled with -msdata.
14482
14483 Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
14484
14485 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
14486
14487 Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
14488
14489 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
14490 exception handler to __cygwin_exception_handler.
14491
14492 Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
14493
14494 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
14495
14496 Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
14497
14498 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
14499 SunOS VPATH.
14500 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
14501 wcstombs.o): Likewise.
14502
14503 Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
14504
14505 * libc/stdlib/environ.c (initial_env): New static local.
14506 (environ): Point to `initial_env'.
14507
14508 * libc/include/machine/setjmp.h: Clean up.
14509 (__H8300H__,__PPC__): Define _JBTYPE.
14510 (__arm__): Provide entry for.
14511 (sigjmp_buf): Delete.
14512 (jmp_buf): Use _JBTYPE if defined, otherwise int.
14513
14514 Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
14515
14516 * libc/machine/h8300/strcmp.S: Sign extend the result to
14517 32bits so we don't lose with -mint32.
14518
14519 Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
14520
14521 * libc/sys/go32/sys/errno.h: New file.
14522 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
14523 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
14524 errno's address (make compatible with rest of newlib).
14525 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
14526 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
14527
14528 Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
14529
14530 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
14531 * libc/machine/sparc/Makefile.in: Build them.
14532 * libc/machine/sparc/machine/sparclet.h: New file.
14533
14534 Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14535
14536 * libc/machine/sh/asm.h: New file.
14537 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
14538 support for SH3e's FP registers. Use asm.h.
14539
14540 Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
14541
14542 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
14543 as first argument. Call _dtoa_r and pass the reent structure
14544 instead of calling __dtoa.
14545
14546 Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
14547
14548 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
14549 the h8300, h8500, and others. Add comments for some rather
14550 dubious code.
14551
14552 Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
14553
14554 * Makefile.in (check): Check that testsuite exists before cd.
14555
14556 Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14557
14558 * libc/include/string.h (strsep): Correct prototype.
14559
14560 Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
14561
14562 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
14563 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
14564 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
14565
14566 Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
14567
14568 * libc/posix/{creat.c,isatty.c}: New files.
14569 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
14570
14571 * libc/sys/sparc64/crt0.S (environ): Delete.
14572 (.LHaveBias): Renamed from HaveBias.
14573
14574 Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
14575
14576 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
14577 (_morecore_r): Delete SBRK_IS_ALLOC support.
14578
14579 Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14580
14581 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
14582 module rather than touch, so we don't get warning messages when
14583 all of the libraries are combined into libc.a.
14584
14585 Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
14586
14587 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
14588 crt0.s replaced by version in libgloss.
14589
14590 Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14591
14592 * libc/reent/Makefile.in (OFILES): Add impure.o.
14593 * libc/reent/impure.o: New file, define initial reentrancy struct.
14594 * libc/reent/reent.c: Remove above definition.
14595
14596 * libm/math/sf_asinh.c: Fix typo.
14597
14598 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
14599 srf_ldexp.o.
14600
14601 * libm/libm.texinfo: Change documentation to reflect changes
14602 in reentrancy model.
14603 * libm/math/w_gamma.c: Likewise.
14604
14605 Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
14606
14607 * configure.in (*-*-cygwin32): New.
14608 (*-*-win32): Deleted.
14609 * libc/sys/win32 renamed libc/sys/cygwin32.
14610
14611 Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14612
14613 * libc/include/sys/file.h: New include file.
14614
14615 Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
14616
14617 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
14618
14619 Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
14620
14621 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
14622
14623 Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14624
14625 * doc/makedoc.c (realloc): Declare at file scope.
14626 (catchar): Not here.
14627
14628 Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
14629
14630 * Makefile.in (VERSION): Update to 1.7.0.
14631 * {libc,libm}/Makefile.in (VERSION): Likewise.
14632 * configure.in: Minor clean up of multilib stuff.
14633
14634 From David Johnson <davidj@ICSI.Berkeley.EDU>
14635 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
14636
14637 * libc/stdlib/environ.c: New file.
14638 * libc/stdlib/Makefile.in (OFILES): Build it.
14639 * libc/sys/h8500hms/crt0.c (environ): Deleted.
14640 * libc/sys/m88kbug/crt0.c (environ): Deleted.
14641 * libc/sys/z8ksim/crt0.c (environ): Deleted.
14642 * libc/sys/netware/environ.c: Deleted.
14643
14644 Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
14645
14646 * configure.in (links): set sys_dir, posix_dir, syscall_dir
14647
14648 Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
14649
14650 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
14651 declaration out to external scope and declare it PTR, not char *.
14652
14653 Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
14654
14655 * libc/include/sys/unistd.h (getpagesize): New declaration.
14656 (_SC_PAGESIZE): New definition.
14657 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
14658 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
14659
14660 Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
14661
14662 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
14663 addressing. System call returns size, not (last address + 1).
14664
14665 Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14666
14667 * libm/math/*.c: Removed _foo_r() reentrancy API.
14668 * libc/include/math.h: Removed _foo_r prototypes and macros.
14669
14670 * libm/math/*.c: On systems with IEEE single precision "doubles"
14671 move foo() -> foof() wrapper code from the files that implement
14672 the standard IEEE double precision functions to the files that
14673 implement IEEE single precision functions. (ie. On those systems
14674 sin is moved from s_sin.c to sf_sin.c). There should eventually
14675 be use of a C extension (like gcc's alias attribute) so that the
14676 wrappers are not needed at all.
14677
14678 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
14679 strict NEC V810 compiler.
14680 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
14681 for same reason.
14682
14683 Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14684
14685 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
14686 from NetBSD C library.
14687 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
14688
14689 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
14690 and adapted from implementation I wrote for NetBSD C library.
14691 The difference is __assert doesn't take a format argument,
14692 so that there won't be multiple copies of the same string
14693 constant in the executable if assertions are enabled in
14694 more than one source module.
14695 * libc/include/assert.h (assert): Changed to call __assert.
14696
14697 Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14698
14699 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
14700 word1 on systems with 32 bit doubles.
14701 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
14702 so that we can do arithmetic on them.
14703 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
14704 compilers.
14705
14706 Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
14707
14708 * libc/sys/arm/crt0.S: Zero bss.
14709
14710 Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
14711
14712 * libc/include/unctrl.h: New file.
14713 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
14714 * configure.in (subdirs): Add libc/misc.
14715 * libc/Makefile.in (SUBDIRS): Add misc.
14716 (SUBLIBS): Add misc/lib.a.
14717
14718 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
14719
14720 Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
14721
14722 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
14723 (_vfprintf_r): Call CHECK_INIT.
14724
14725 Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
14726
14727 * Makefile.in (MULTITOP): Delete.
14728 (MULTISRCTOP, MULTIBUILDTOP): Add.
14729 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
14730 instead of cfg-ml-pos.in.
14731
14732 Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
14733
14734 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
14735 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
14736 presence.
14737
14738 Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
14739
14740 * libc/string/strtok.c: Include string.h to pick up strtok_r
14741 prototype.
14742
14743 Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14744
14745 * libc/string/strtok.c: include <_ansi.h>.
14746 * libc/time/asctime_r.c: `reresult' -> `result'.
14747
14748 Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14749
14750 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
14751 in #ifndef _REENT_ONLY ... #endif conditional.
14752
14753 * libc/include/string.h (_strtok_r): Remove declaration.
14754 * libc/include/time.h (_asctime_r): Remove declaration.
14755 * libc/string/strtok.c (_strtok_r): Removed.
14756 * libc/time/asctime.c (_asctime_r): Removed.
14757
14758 * libc/string/Makefile.in (OFILES): Add new object.
14759 * libc/string/strtok_r.c: New file. strtok_r function as
14760 specified by POSIX.1c, adapted from strtok implementation
14761 from NetBSD C library.
14762 * libc/string/strtok.c (strtok): Reimplemented in terms of
14763 strtok_r.
14764
14765 * libc/time/Makefile.in (OFILES): Add new objects.
14766 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
14767 New files, reentrant time functions specified by POSIX.1c.
14768 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
14769 reentrant time functions re-written in terms of reentrant
14770 functions.
14771 * libc/time/lcltime.c: Renamed from localtime.c
14772
14773 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
14774 gmtime_r, and localtime_r.
14775
14776 Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
14777
14778 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
14779 * libc/include/sys/unistd.h (getlogin): Revert change of
14780 Oct 19.
14781 * libc/include/sys/signal.h (sigprocmask): Change prototype
14782 so it compiles with c++.
14783
14784 Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
14785
14786 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
14787 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
14788 to give some room in case we need to align the jmp_buf.
14789
14790 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
14791 the new ppc-asm.h include file the compiler provides to specify
14792 function prologue/epilogue. Eliminate saves of the xer and ctr
14793 registers, which are volatile. Before starting to save registers,
14794 align to 8 byte boundary.
14795
14796 Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
14797
14798 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
14799 referenced by standard libraries.
14800
14801 Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
14802
14803 * libc/unix/Makefile.in, libc/string/Makefile.in,
14804 libc/stdio/Makefile.in, libc/reent/Makefile.in,
14805 libc/posix/Makefile.in:
14806 Remove tabs from otherwise empty line. Confuses some
14807 older non-GNU versions of "make".
14808
14809 Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
14810
14811 * libc/sys/unistd.h (getlogin): Returns const char *.
14812
14813 Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
14814
14815 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
14816 * libc/include/errno.h: Moved into and include...
14817 * libc/include/sys/errno.h: New file.
14818 * libc/include/sys/wait.h: New file.
14819 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
14820 * libc/sys/win32/*: Moved out.
14821 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
14822 * configure.in (i[345]86-*-win32): HAVE_RENAME
14823
14824 Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
14825
14826 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
14827 avoid macro expansion for these two names.
14828
14829 Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
14830
14831 * libc/machine/h8500/psi.S: r6 renamed to fp.
14832
14833 Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
14834
14835 * configure.in (powerpc*): No longer need to define
14836 NO_LONGLONG_POINTERS to supress warnings.
14837
14838 Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
14839
14840 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
14841 through PTR instead of directly.
14842
14843 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
14844 non-standard constructor support.
14845
14846 Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14847
14848 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
14849 address of the Bigint instead of the address of its _x field,
14850 as the size the result buffer was calculated accordingly.
14851 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
14852
14853 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
14854 from NetBSD C library. No longer special cases division by
14855 zero (which needs to be done by the application anyway), but
14856 it doesn't need to call abs() (or labs()) four times either.
14857
14858 * libc/stdlib/qsort.c: Replaced with implementation from
14859 NetBSD C library.
14860
14861 Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14862
14863 * libc/stdio/vfprintf.c: Replaced with implementation from
14864 NetBSD C library (which is derived from the 4.4BSD C library).
14865 * libc/stdio/cvt.c: Removed.
14866 * libc/stdio/Makefile: Updated.
14867
14868 Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
14869
14870 * libc/sys/win32/syscalls.c (rename): New.
14871 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
14872
14873 Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
14874
14875 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
14876 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
14877
14878 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
14879 (setjmp.o): Delete rule to build setjmp.o.
14880 * libc/sys/sh/setjmp.S: Delete file.
14881
14882 Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14883
14884 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
14885 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
14886 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
14887 pow5mult and s2b to identifiers with leading underscores.
14888 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
14889 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
14890
14891 Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
14892
14893 * libc/sys/posix/popen.c (sys/types.h): Include.
14894
14895 Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
14896
14897 * libc/sys/win32/syscalls.h (fhandler): New struct.
14898 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
14899 (__fhandler_normal): Declare.
14900 (hinfo): New member op_handlers.
14901 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
14902 (__write): Likewise.
14903 (_read, _write, _open, _close, _lseek): Validate fd here.
14904 Move file type specific stuff to foo_normal.
14905 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
14906 New functions.
14907 (__lookup_fhandler): New function.
14908 (__lookup_fhandler_hook, __fhandler_normal): New variables.
14909
14910 From anders.blomdell@control.lth.se (Anders Blomdell)
14911 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
14912 Don't touch standard handles.
14913 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
14914 (_execve): Only create __FD_TABLE__ if necessary.
14915 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
14916
14917 Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
14918
14919 * libc/sys/win32/sys/termios.h (FLUSHO): New.
14920 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
14921 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
14922 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
14923 without a handler is received.
14924 * libc/sys/win32/Makefile.in: Remove --nodelete.
14925 * libc/sys/win32/resouce.c (gettimeofday): New.
14926 * libc/sys/win32/syscalls.c (path_to_real_path): New.
14927 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
14928
14929 Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
14930
14931 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
14932 Don't append "/*" to search pattern if trailing '/' already there,
14933 append "*".
14934 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
14935 like /'s, convert them to \'s. Handle //<drive>/ path names.
14936 Add space for quoted \'s in arg string. Print translated prog name
14937 and original prog name.
14938 (_execve): Handle parent doing exec a teensy bit better.
14939 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
14940 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
14941 path needs conversion, handle both cases. Delete `const' from result.
14942 (hash_path_name): New function.
14943 (_open): Call it.
14944 (_stat): Likewise. Fill in more fields for directories.
14945 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
14946 (wait_for_any): Fix trace message.
14947 (waitpid): Explicitly test for intpid == 0.
14948
14949 From anders.blomdell@control.lth.se (Anders Blomdell)
14950 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
14951 so `next' is valid.
14952
14953 Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
14954
14955 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
14956 complicated.
14957
14958 Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14959
14960 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
14961 at all, not just == 1.
14962 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
14963
14964 Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14965
14966 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
14967 * libc/sys/win32/include/wintypes.h: include <winnt.h>
14968 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
14969 file.
14970
14971 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
14972
14973 * libc/sys/syscalls.c (getcwd): Fix off by one error.
14974
14975 * libc/sys/signal.c (sleep): Fill it in.
14976 * libc/sys/termios.c (tcflush): Use PurgeComm
14977 (tcsetattr): Set some more of the bits.
14978 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
14979
14980 Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
14981
14982 * libc/sys/arm/crt0.S (fp): Initialize to 0.
14983 Conditionally include .idata$3 stuff ifdef __pe__.
14984
14985 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
14986
14987 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
14988 * libc/sys/win32/pipe.c (pipe): Ditto.
14989 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
14990 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
14991 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
14992 (tcgetattr): Contents are new.
14993 * libc/sys/win32/include/winkernel.h (DCB): New.
14994 (GetCommState, SetCommState): New.
14995
14996 Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
14997
14998 * libc/sys/arm/crt0.S (_start): Define.
14999
15000 Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
15001
15002 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
15003 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
15004
15005 * libc/sys/win32/sysconf.c: New
15006 * libc/sys/win32/sys/winadvapi.h: New
15007 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
15008 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
15009 * libc/sys/win32/pipe.c (pipe): Ditto.
15010 * libc/sys/win32/signal.c (_raise): New.
15011 (_kill): Moved from spawn.c
15012 * libc/sys/win32/spawn.c (kill): Moved to signal.c
15013 * libc/sys/win32/syscalls.c (__read): Use new fields.
15014 (_open): Ditto.
15015 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
15016 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
15017 * libc/include/sys/unistd.h (rmdir): Takes const path.
15018 * libc/include/sys/stat.h (mkdir): Takes const path.
15019 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
15020
15021 Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
15022
15023 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
15024
15025 Add support for specifying paths as //<drive>/foo/bar.
15026 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
15027 (__path_to_real_path): Declare.
15028 (PATH_TO_REAL_PATH): New macro.
15029 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
15030 (__path_needs_conversion_p, __path_to_real_path): New functions.
15031 (_open): Fix test for error return from CreateFileA.
15032 Handle new path syntax.
15033 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
15034 * libc/sys/win32/dirsearch.c (opendir): Likewise.
15035
15036 Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
15037
15038 * libc/sys/win32/include/*.h: Reorganized
15039 * libc/sys/win32/include/WINREADME: New.
15040 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
15041 * libc/sys/win32/*.c: Fix for new include scheme.
15042 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
15043 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
15044 * libc/sys/win32/passwd.c (*): Fix.
15045 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
15046 (_stat): Get directory owner and permissions right.
15047 * libc/sys/win32/syscalls.h (uinfo): New.
15048 * libc/sys/win32/version.def: Remove leading underscores.
15049
15050 Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15051
15052 * libc/sys/win32/key.c: include "include/wincon.h".
15053
15054 Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
15055
15056 * libc/sys/win32/{key, stubs}.c: New.
15057 * libc/sys/win32/Makefile: Adjust to cope.
15058 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
15059 (environ_init): Change env names to upper case.
15060 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
15061 * libc/sys/win32/passwd.c (*): Fill in the functions.
15062 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
15063 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
15064 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
15065 (_open): Initialze hmap->execable_p too.
15066 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
15067 (_fstat): Fill in permissions.
15068 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
15069
15070 Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
15071
15072 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
15073 if defined.
15074 (cfg-ml-pos.in invocation): Likewise.
15075
15076 Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15077
15078 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
15079 s_isnan.o and sf_isnan.o.
15080
15081 Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
15082
15083 * All Makefile.in files: added maintainer-clean target as a
15084 synonym for realclean.
15085
15086 Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
15087
15088 * libc/include/machine/setjmp.h: Add hppa support.
15089 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
15090 support.
15091 * libc/machine/hppa/Makefile.in: Related changes.
15092
15093 Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
15094
15095 * configure.in (machine_dir): Don't set for v810-*-*.
15096
15097 Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15098
15099 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
15100 conventions correctly.
15101
15102 Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
15103
15104 * libc/stdio/puts.c: Update documentation of return value to match
15105 ANSI standard.
15106
15107 Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
15108
15109 Fix file descriptor inheritance.
15110 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
15111 (NOT_OPEN_FD): Fix.
15112 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
15113 close-on-exec flag not set. Initialize child's entire fd table.
15114 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
15115 CHILD_P.
15116 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
15117 if CHILD_P. Initialize entire hmap entry.
15118 (dup): Only create new handle as inheritable if CHILD_P.
15119 (dup2): Likewise. Properly initialize hmap entry.
15120
15121 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
15122 _spawn.
15123 (_exit): Use CHILD_P.
15124 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
15125 (_stat): Likewise.
15126
15127 Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15128
15129 * libc/sys/win32/crt0.c (passover): fix up the state table.
15130 * libc/posix/popen.c: Added.
15131 * libc/posix/Makefile.in: compile popen.c.
15132
15133 Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
15134
15135 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
15136 h8/500 define _DOUBLE_IS_32BITS.
15137
15138 Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
15139
15140 Get vfork/exec/spawn/cwait/wait working again.
15141 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
15142 (procinfo): New member vfork_level.
15143 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
15144 (vfork_init_first): Use GetCurrentProcessId to get pid.
15145 Initialize vfork_level.
15146 (vfork_init): Delete __PID__.
15147 (environ_init): New function. Undo patch of Aug 19, Posix says
15148 environment variables are case sensitive.
15149 (mainCRTStartup): Call it.
15150 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
15151 (my_longjump: Make static.
15152 (_spawn): New argument `h'. Delete setting of __PID__.
15153 Delete local `idx'. Look for chars that need quotes, rather than
15154 ones that don't. Set handle of created process in `h'.
15155 Result is process id if created task.
15156 (allocate_spawn_entry): New function.
15157 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
15158 (_execve): Set __FD_TABLE__ before spawning child.
15159 Scan our fd table when passing fds, not our parent's.
15160 Store handle and pid in procinfo entry.
15161 (vfork0): Ensure strace message always printed.
15162 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
15163 (vfork): Don't clobber result of vfork0.
15164 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
15165 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
15166
15167 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
15168 and `exit_code'.
15169 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
15170 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
15171 adding vfork level to pseudo-pid.
15172 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
15173 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
15174 (_exit): If child, set exit code.
15175 (__vfork_record_death): Only close process handle if valid.
15176 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
15177 didn't exec.
15178 (wait_for_any): Likewise. Start scan after root entry.
15179
15180 Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15181
15182 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
15183 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
15184 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
15185 of actual file length.
15186
15187 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
15188 * libc/include/paths.h: _PATH_BSHELL added.
15189 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
15190 and STDERR_FILENO.
15191
15192 Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15193
15194 * libc/include/ar.h: Added.
15195 * libc/include/sys/types.h: ino_t goes back to 32-bits.
15196 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
15197 * libc/sys/win32/syscalls.c (_open): compute .namehash based
15198 on filename.
15199 (_fstat): use .namehash for inode number of the fd.
15200
15201 Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
15202
15203 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
15204 Change hinfo to __this_procinfo.
15205 * libc/sys/win32/crt0.c: Remove procinfo_list.
15206
15207 Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15208
15209 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
15210 win32 environment.
15211
15212 Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15213
15214 * libc/sys/win32/include/grp.h: Removed.
15215 * libc/sys/include/grp.h: Added.
15216 * libc/sys/win32/grp.c: Include <grp.h>.
15217
15218 Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
15219
15220 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
15221 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
15222 Defined for all but strict ANSI.
15223 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
15224 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
15225 * libc/signal/signal.c (_signal_r): Changed from using
15226 _MAX_SIGNALS to NSIG.
15227 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
15228 __hmap): Deleted.
15229 (__strace, __vfork_next_pid): New.
15230 (__exe_suffix): Default to 1.
15231 (passover, table): Understand quoted arguments.
15232 (vfork_init_first): New.
15233 (vfork_init): Initialize new process structure.
15234 (mainCRTStartup): Pass environ to main.
15235 * exceptions.c (__sig_mask): New
15236 (ehandler3): Ignore signals in mask.
15237 (really_exit): Remove CHILD_P test.
15238 * pipe.c (pipe, dup, dup2): Use new process and file structure.
15239 * resource.c (getrusage): Ditto.
15240 * signal.c (sigprocmask): New.
15241 * spawn.c (*): Rewritten.
15242 * syscalls.c (*): Use new process and file structure.
15243 (find_unused_handle): New.
15244 * syscalls.h (MAX_HANDLES): Deleted.
15245 (hinfo): Removed child_created_p.
15246 (MAX_CHILDREN): Deleted.
15247 (vfork_jmp_info, procinfo): New.
15248 * wait.c (*): Mostly new.
15249 * sys/strace.h (_STRACE_PARANOID): New.
15250 * sys/param.h: New file.
15251
15252 Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15253
15254 * libc/include/sys/stat.h: add S_BLKSIZE.
15255 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
15256 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
15257 types under win32.
15258 (mode_t): add a #else to avoid multiple definitons.
15259
15260 * libc/sys/win32/Makefile.in: add grp.c.
15261 * libc/sys/win32/grp.c: include grp.h correctly.
15262 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
15263 of the st structure with real information.
15264 * libc/sys/win32 (dirent): d_ino is of type ino_t.
15265
15266 Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
15267
15268 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
15269 and (maybe) sparc64.
15270 (nlink_t): Provide typedef.
15271
15272 Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15273
15274 * libc/sys/win32/grp.c: New file.
15275 * libc/sys/win32/include/grp.h: New file.
15276
15277 Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15278
15279 * libc/include/machine/ieeefp.h: Added whitespace to make this
15280 file easier to maintain.
15281 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
15282 depending on the value of __LITTLE_ENDIAN__.
15283 On the sh3e, define _DOUBLE_IS_32BITS.
15284
15285 Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
15286
15287 * libc/sys/vr4300/syscalls.c: Added missing support
15288 routines. _raise() and getpid().
15289
15290 Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
15291
15292 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
15293
15294 Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
15295
15296 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
15297 and VR4300 processor.
15298 * libc/sys/vr4300: Add directory.
15299 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
15300 monitor run-time support.
15301
15302 Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15303
15304 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
15305 * libc/stdlib/stdlib.tex: Don't include atol.def.
15306
15307 Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15308
15309 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
15310
15311 Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
15312
15313 * libc/ctype/Makefile.in: Fill in _to* dependencies.
15314
15315 Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
15316
15317 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
15318 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
15319 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
15320 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
15321 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
15322
15323 Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15324
15325 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
15326
15327 Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15328
15329 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
15330 * libc/stdlib/atoff.c: New file.
15331 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
15332 * libc/stdlib/atoi.c (atol): Removed.
15333 * libc/stdlib/atol.c: Removed duplicate documentation.
15334
15335 * libc/include/ctype.h (_tolower, _toupper): Moved inside
15336 #ifndef _STRICT_ANSI conditional.
15337 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
15338 * libc/ctype/_tolower.c: New file.
15339 * libc/ctype/_toupper.c: New file.
15340 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
15341 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
15342 * libc/ctype/toascii.c (_toascii): Removed.
15343
15344 Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
15345
15346 * libc/sys/sparc64/sys/types.h: Deleted.
15347
15348 Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15349
15350 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
15351 and recognize Windows_95 systems.
15352
15353 Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15354
15355 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
15356 and passed fds should be opened in text mode.
15357
15358 Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15359
15360 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
15361 in __hmap, set to binary mode by default.
15362
15363 Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15364
15365 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
15366 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
15367 vector 34.
15368
15369 Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
15370
15371 * Makefile.in (install): Install all libraries found in the
15372 top level. If there's a sys/<type>/include directory,
15373 install those headers into include.
15374
15375 * libc/sys/win32/kernel.def351: Delete
15376 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
15377 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
15378 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
15379 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
15380 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
15381 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
15382 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
15383 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
15384
15385 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
15386 * libc/sys/win32/crt0.c: Force all env names to upper case.
15387 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
15388 * libc/sys/win32/*.c: Headers have moved.
15389 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
15390 __vfork_child_idx is now __vfork_child_ptr.
15391
15392 * posix/execvp (execvp): Don't crash if no PATH envname.
15393
15394 Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15395
15396 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
15397 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
15398 through the _freelist instead of through the _reclaim list.
15399 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
15400 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
15401 sources.
15402
15403 Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15404
15405 * libc/machine/h8500/setjmp.S: New file.
15406 * libc/include/machine/setjmp.h: Updated for H8/500.
15407
15408 Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
15409
15410 * libc/sys/win32/syscalls.c (_open): More stracing.
15411 (_stat): Open the file in O_BINARY.
15412
15413 Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15414
15415 * libc/machine/h8300/setjmp.S: New file.
15416 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
15417
15418 Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
15419
15420 * libc/sys/win32/crt0.c (__exe_suffix): New global.
15421 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
15422 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
15423 __exe_suffix. Free fd_tab after setting env variable.
15424 (spawnv,_execve): Update.
15425 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
15426 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
15427 (__small_vfprintf): New function.
15428 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
15429 * libc/sys/win32/wait.c (cwait): Validate argument.
15430
15431 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
15432 (process_deletion_queue): Likewise.
15433
15434 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
15435
15436 Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
15437
15438 * libc/sys/win32: Copyrights and gratuitous indenting.
15439
15440 Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
15441
15442 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
15443 (process_deletion_queue): Likewise.
15444 (__close_all_files): New function.
15445 (_close): Only queue file deletion if really a file.
15446 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
15447 _P_APPEND_EXE.
15448 (_exit): Call __close_all_files.
15449
15450 * libc/stdlib/system.c: #include <errno.h>.
15451 (_system_r): Fix results in -DNO_EXEC case.
15452
15453 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
15454 Reorganize structure.
15455 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
15456 if argument is valid. Save directory name in DIR. malloc space
15457 for dirent struct separately.
15458 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
15459
15460 * libc/include/errno.h (ENAMETOOLONG): Define.
15461 * libc/string/strerror.c (strerror): Reword ENFILE.
15462 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
15463
15464 Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
15465
15466 * libc/sys/win32/crt0.c (__progname): New global.
15467 (mainCRTStartup): Support strace=bitmask,filename.
15468 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
15469 * libc/sys/win32/syscalls.c (_write): Print parent trace message
15470 if error.
15471 (getcwd): Handle len too small. Convert '\\' to '/'.
15472 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
15473 Add prototypes for open, creat, fcntl.
15474 (O_APPEND): Change value to conform to Microsoft's value.
15475 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
15476
15477 * libc/stdlib/getopt.c: New file.
15478 * libc/stdlib/Makefile.in: Build it.
15479
15480 Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
15481
15482 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
15483 Fix scanning of $PATH.
15484 * libc/posix/exec*.c: Call _execve, not execve.
15485 * libc/posix/execve.c: New file.
15486 * libc/posix/Makefile.in (OFILES): Add execve.o.
15487
15488 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
15489 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
15490 (_STRACE): If level==0, always print. Handle new bit mask scheme.
15491 * libc/sys/win32/crt0.c: Update _STRACE calls.
15492 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
15493
15494 * libc/sys/win32/smallprint.c (rn): Fix digit list.
15495
15496 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
15497 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
15498 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
15499 Print __seterrno trace message first.
15500 (_execve): Renamed from execve.
15501 (vfork): Update __strace usage.
15502 (__vfork_child_pid): Deleted.
15503 (__vfork_children, __vfork_child_idx): New globals.
15504 (_spawnvp): New function.
15505 (spawnvp, spawnv, _execve): Call _spawnvp.
15506 (init_child): Record child in __vfork_children.
15507 (__vfork_get_entry, __vfork_record_death): New functions.
15508 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
15509 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
15510 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
15511 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
15512 (children): New typedef.
15513 (__vfork_children,__vfork_child_idx): Declare.
15514 (__vfork_get_entry,__vfork_record_death): Declare.
15515 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
15516 (waitpid): Handle pid == -1.
15517 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
15518 * configure.in (i386-win32): Add -DNO_FORK.
15519 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
15520 * libc/reent/execr.c (_fork_r): Likewise.
15521 * libc/stdlib/system.c (do_system): New function.
15522 If WIN32, try to get shell path from $SH_PATH, use vfork.
15523 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
15524 otherwise return 0.
15525
15526 Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
15527
15528 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
15529 * libc/sys/win32/fcntl.h: Don't include self.
15530 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
15531 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
15532 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
15533 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
15534 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
15535 Correct prototypes.
15536 * libc/sys/win32/strace.c: New file.
15537 * libc/sys/win32/smallprint.c: New file.
15538 * libc/sys/win32/crt0.c (func): Delete.
15539 (mainCRTStartup): Fix alloca usage. Set handles explictly.
15540 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
15541 * libc/sys/win32/exceptions.c: Lint.
15542 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
15543 Clean up handle usage.
15544 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
15545 (open.c): Default file type is text.
15546 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
15547 * libc/sys/win32/advapi32.def: New
15548
15549 Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
15550
15551 * configure.in (posix_dir, libc_posix_lib): New variables.
15552 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
15553 (i[345]86-*-win32): Define posix_dir.
15554 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
15555 (if unix_dir): Fix typo.
15556 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
15557 scandir,seekdir,telldir}: New files.
15558 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
15559 from libc/unix.
15560 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
15561 (SUBDIRS): Add posix.
15562 (SUBLIBS): Add $(LIBC_POSIX_LIB).
15563
15564 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
15565 (NSIG): Increase to 21.
15566 * libc/include/sys/unistd.h (pid_t): Move from here,
15567 * libc/include/sys/types.h (pid_t): to here.
15568
15569 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
15570 (__ptrace): Delete.
15571 (hinfo): New members close_exec_p, child_created_p.
15572 (struct exception_list): Define.
15573 (__hmap): Redefine as pointer to table.
15574 (__parent_hmap, __child_hmap): New globals.
15575 (__set_errno, __really_exit): Declare.
15576 (__vfork_child_pid): Declare.
15577 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
15578 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
15579 (__parent_hmap, __child_hmap): New globals.
15580 (__hmap): Redefine as pointer to active map.
15581 (__get_console): New function.
15582 (mainCRTStartup): Change leading '=' in environ vars to '!'.
15583 (env __FD_TABLE__): Watch for this and initialize our fd/handle
15584 mapping table from it if defined.
15585 (argv, envp): Dump if __strace >= 4.
15586 (main): Call here.
15587 * libc/sys/win32/exceptions.c (myp): Redefine.
15588 (__syscalls_b): Delete.
15589 (__stack_trace): New function.
15590 (ehandler3): Update to use _STRACE. Print stack trace.
15591 Call __really_exit instead of exit.
15592 (init_exceptions): Delete args argc,argv. New arg mine.
15593 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
15594 FindFirstFileA, FindNextFileA, GetComputerNameA,
15595 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
15596 * libc/sys/win32/signal.c (signal): Validate arg.
15597 (alarm, sleep): Define as stubs for now.
15598 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
15599 (__syscalls_b, errno): Delete.
15600 (__vfork_child_pid, __vfork_jmp_buf): New globals.
15601 (__seterrno): Handle more errors.
15602 (__sys_printf): Renamed from _ptrace.
15603 (__really_exit): New function.
15604 (queue_file_deletion, process_deletion_queue): New functions.
15605 (__resume_parent): New function.
15606 (_unlink): Handle trying to delete open file.
15607 (__totime_t): Renamed from totime_t.
15608 (setsid, __read, __write): New functions.
15609 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
15610 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
15611 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
15612 * libc/sys/win32/console.c: Update to new definition of __hmap.
15613 * libc/sys/win32/Makefile.in: Build new files.
15614 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
15615 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
15616 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
15617 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
15618
15619 Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
15620
15621 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
15622
15623 Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15624
15625 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
15626 have been made to the master dtoa.c sources (from netlib.att.com)
15627 since they were integrated into newlib in early 1992. Fixes
15628 problems with storage leaks and handling of numbers with very
15629 negative exponents.
15630
15631 Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15632
15633 * Makefile.in (all): set rootpre and srcrootpre before calling
15634 sub-makes.
15635
15636 Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
15637
15638 * libc/sys/win32/crt0.c: Change __hmap usage.
15639 * libc/sys/win32/exceptions.c: Use _ptrace call.
15640 * libc/sys/win32/syscalls.c: Use _ptrace call.
15641 (read, write): Cope with DOS style CRLF when in TEXT mode.
15642 * libc/sys/win32/syscalls.h: Declare hinfo struct.
15643 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
15644 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
15645 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
15646 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
15647
15648 Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15649
15650 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
15651
15652 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
15653 wrappers for hypot() and remainder() for BSD libm compatibility.
15654 These are public domain implementations written by me for the
15655 NetBSD libm some time ago. Note cabs() is required by ucbtest.
15656 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
15657 (fobj): Added wf_cabs.o and wf_drem.o.
15658
15659 Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15660
15661 * libc/sys/h8500hms/misc.c: New file.
15662 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
15663
15664 Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15665
15666 * libc/time/localtime.c (localtime): Fix problem with leap year
15667 handling. Stole algorithm from Arthur David Olson's tz code.
15668
15669 Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
15670
15671 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
15672
15673 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
15674 (_exit): Use argument.
15675
15676 Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
15677
15678 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
15679
15680 Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
15681
15682 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
15683
15684 Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15685
15686 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
15687 target_cflags.
15688
15689 Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
15690
15691 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
15692 ptrace with case insensitivity
15693 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
15694 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
15695 New files.
15696
15697 Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
15698
15699 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
15700 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
15701 (all, install, *clean): Use new multilib support.
15702 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
15703
15704 Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
15705
15706 * libc/include/sys/signal.h (__WIN32__): New.
15707
15708 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
15709
15710 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
15711 (ulp, b2d): Handle 32 bit doubles.
15712 * libc/stdlib/mprec.h: Handle 32 bit doubles.
15713 * libc/stdlib/strtod.c (_strtod_r): Ditto.
15714
15715 Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
15716
15717 from medp@primag.co.uk:
15718 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
15719 dynamically allocated buffers.
15720
15721 Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
15722
15723 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
15724 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
15725
15726 Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15727
15728 * configure.in (powerpc): Fix previous fix.
15729
15730 Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15731
15732 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
15733 directories for this target.
15734
15735 Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
15736
15737 * configure.in (hppa): Add machine_dir definition.
15738 * libc/machine/hppa: New directory with PA specific implementations
15739 of the basic memory/string functions.
15740
15741 Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15742
15743 * configure.in: Update current PowerPC multilib directories.
15744 Split big and little endian configurations.
15745
15746 Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
15747
15748 * configure.in: Add --enable-single-float option to configure to
15749 control use of MIPS single-float directories. Default to yes.
15750
15751 * Makefile.in (all): Don't recurse into multilib directory if it
15752 does not exist.
15753
15754 Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15755
15756 * libc/sys/sh/syscalls.c: Fix typo.
15757
15758 Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
15759
15760 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
15761 Pass down DLLTOOL.
15762 * libc/include/process.h: Define WAIT_CHILD.
15763 * libc/include/types.h: Get sizes right for win32.
15764 * configure.in (i386-*-pe): Becomes i386-win32.
15765 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
15766 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
15767 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
15768 is defined.
15769
15770 Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
15771
15772 * configure.in (i[345]86-*-pe): New target (NT).
15773 * host/any: DLLTOOL new.
15774 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
15775 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
15776 WIN32 (just enough to cross host the comp-tools).
15777
15778 Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
15779
15780 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
15781 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
15782
15783 Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
15784
15785 * libc/include/machine/ieeefp.h (arm): Change to always be
15786 __IEEE_BIG_ENDIAN (even on little endian ARM's).
15787
15788 Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
15789
15790 * libc/sys/crt0.S: Initialze sp, and call exit after main.
15791 * libc/sys/syscalls.c (abort): New.
15792 * configure.in (arm): Define ABORT_PROVIDED.
15793
15794 Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15795
15796 * configure.in (powerpc): Define multidirs.
15797
15798 Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
15799
15800 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
15801
15802 Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
15803
15804 * configure.in (sparclite): Delete target_cflags. Define multidirs.
15805
15806 Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
15807
15808 * configure.in, libc/include/machine/ieeefp.h: Modified
15809 for arm:
15810 libc/machine/arm/*, libc/sys/arm/*: New
15811
15812 Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15813
15814 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
15815 __powerpc__ when determining endianness.
15816
15817 Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15818
15819 * configure.in (m68*): Add multidir for the m68332.
15820
15821 * host/any (CC): Fix typo in last change.
15822
15823 Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
15824
15825 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
15826 when determining endianness.
15827 * libc/include/machine/ieeefp.h: Ditto.
15828 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
15829 operands.
15830
15831 Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
15832
15833 * libc/include/errno.h (ENOTEMPTY): Define.
15834
15835 Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15836
15837 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
15838 target_cflags.
15839
15840 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
15841 and umultiply.o.
15842
15843 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
15844 instead of only when open succeeds. ANSI requires that multiple
15845 calls to tmpnam() result in different files.
15846
15847 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
15848 objects pulled in from /lib/libc.a that must be renamed before
15849 being pulled into newlib. /lib/libc.a's div.o conflicted with
15850 newlib's file with the same name.
15851
15852 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
15853
15854 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
15855 the build tree will only be used if the executables are present
15856 (instead of just the Makefiles).
15857
15858 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
15859 wcstombs): Define.
15860 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
15861 versions of these functions that I orignally wrote for the
15862 NetBSD C library.
15863 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
15864 versions I wrote for NetBSD.
15865
15866 Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
15867
15868 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
15869 * libc/sys/sparclite/crt0.s: ditto.
15870
15871 Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
15872
15873 * configure.in: Add soft-float for proelf.
15874
15875 Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
15876
15877 * libc/stdlib/mprec.h (Bcopy): Copy the right number
15878 of bytes.
15879
15880 Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
15881
15882 * Makefile.in (all): Depend on `force'.
15883 * configure.in (syscall_dir): Renamed from fake_sys_dir.
15884 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
15885 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
15886 * libc/Makefile.in: Likewise.
15887 * libc/include/reent.h: Update syscall references.
15888 (_fcntl_r): Add prototype.
15889 * libc/syscalls/*.c #include <reent.h>.
15890 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
15891
15892 Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
15893
15894 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
15895 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
15896 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
15897 (time.h, sys/types.h): Always include (even if MSDOS).
15898 (stat): Fix prototype.
15899
15900 Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
15901
15902 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
15903
15904 Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15905
15906 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
15907
15908 Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
15909
15910 * libc/include/regdef.h: New file.
15911 * libc/machine/mips/machine/regdef.h: New file.
15912
15913 Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
15914
15915 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
15916
15917 Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
15918
15919 * libc/sys/sh/crt0.S: Pass main's return to exit.
15920 * libc/sys/sh/trap.S: Put errno in the right place.
15921
15922 Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
15923
15924 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
15925 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
15926 * libm/math/ef_rem_pio2.c: Likewise.
15927 * libm/math/e_log10.c: Remove unused static one.
15928 * libm/math/ef_log10.c: Likewise.
15929 * libm/math/s_frexp.c: Likewise.
15930 * libm/math/sf_frexp.c: Likewise.
15931
15932 Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
15933
15934 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
15935 longjmp.S: Upgraded.
15936 * libc/sys/go32/sys/setjmp.h: Upgraded.
15937 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
15938
15939 Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
15940
15941 * configure.in: Add many entries to multidirs for mips targets.
15942
15943 Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15944
15945 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
15946 5.2 which fixes bug where jn(-1,x) is three times larger than
15947 the actual answer.
15948 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
15949
15950 Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
15951
15952 * libc/sys/w65/sys/syscalls.h: New file
15953 * libc/include/machine/ieeefp.h: W65 support.
15954 * libc/include/sys/config.h: Ditto.
15955 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
15956 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
15957 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
15958
15959 Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
15960
15961 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
15962
15963 Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
15964
15965 * Makefile.in, configure.in: Remove any references to the old
15966 "stub" dir.
15967
15968 Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
15969
15970 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
15971 uses ... in prototype.
15972
15973
15974 Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
15975
15976 * libc/sys/a29khif/sys/libconfig.h: Remove.
15977 * libc/sys/go32/sys/libconfig.h: Remove.
15978 * libc/sys/sun4/sys/libconfig.h: Remove.
15979 * libc/sys/sysvi386/sys/libconfig.h: Remove.
15980 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
15981 * libc/sys/sparc64/sys/libconfig.h: Remove.
15982
15983 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
15984 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
15985 * libc/include/math.h: Change all uses of _FLOAT_RET and
15986 _FLOAT_ARG to float.
15987 * libm/test/math.c: Likewise.
15988 * testsuite/libm.sac/math.c: Likewise.
15989 * testsuite/libm.sac/working/math.c: Likewise.
15990
15991 Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
15992
15993 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
15994 gcc calls gas with endian option.
15995 * configure.in (sh): Build little endian version too.
15996
15997 Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
15998
15999 * configure.in: Configure big and little endian versions for MIPS
16000 targets.
16001
16002 Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
16003
16004 * libc/include/limits.h: Deleted.
16005 * libc/include/machine/limits.h: Deleted.
16006
16007 Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
16008
16009 * ChangeLog: Remove stub directory. This has all been rewritten
16010 and moved to devo/libgloss.
16011
16012 Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16013
16014 * Makefile.in (dvi): Add to info target, use $@ in sub make.
16015 (docs): Merge into info target.
16016 * libm/Makefile.in (dvi): Add $(srcdir).
16017 * libm/math/Makefile.in (chobjs): Remove underscores from file
16018 names. Texinfo doesn't like them.
16019 (wacos.def, ...): Add explicit targets for all .def files.
16020 * libm/math/math.tex: Remove underscores from @include file names.
16021 * doc/Makefile.in (dvi): Add dummy target.
16022 * testsuite/Makefile.in (dvi): Add dummy target.
16023
16024 Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
16025
16026 * Makefile.in (VERSION): Define. For net newlib releases.
16027
16028 Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
16029
16030 * README: New file.
16031
16032 Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
16033
16034 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
16035
16036 Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16037
16038 * libc/stdlib/setenv.c (_findenv): Declare.
16039
16040 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
16041 fcntl to not use _EXFUN, and change string parameters to open and
16042 creat to be ``const char *''.
16043 * libc/sys/sparc64/sys/fcntl.h: Likewise.
16044 * libc/sys/sparc64/creat.c (creat): Make PATH const.
16045 * libc/syscalls/sysopen.c: Include <fcntl.h>.
16046 (open) Make _FILE const.
16047 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
16048 (_creat): Make PATH const.
16049 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
16050 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
16051 * libc/sys/m88kbug/syscalls.c (open): Likewise.
16052 * libc/sys/sh/syscalls.c (_open): Likewise.
16053 * stub/shared/glue.c (open): Make BUF const.
16054 * stub/ex93x/syscalls.c (open): Make FILENAME const.
16055
16056 Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
16057
16058 * libc/include/errno.h: Add ENMFILE
16059 * libc/include/sys/config.h: Support Z8000.
16060 * libc/include/sys/signal.h: New signals for go32.
16061 * libc/machine/h8500/psi.S (__addpsir0r0): New function
16062 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
16063 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
16064 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
16065 size is variable, depending upon CHUNK_POWER.
16066 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
16067
16068 Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
16069
16070 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
16071
16072 Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16073
16074 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
16075
16076 Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16077
16078 * configure.in: Change i[34]86 to i[345]86.
16079
16080 * libc/include/math.h: Don't define HUGE_VAL if it is already
16081 defined.
16082
16083 Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16084
16085 * testsuite/libm.sac/test_erfc.c: Correct some result values.
16086 * testsuite/libm.sac/test_gammaf.c: Likewise.
16087 * testsuite/libm.sac/test_sin.c: Likewise.
16088 * testsuite/libm.sac/test_tanh.c: Likewise.
16089
16090 Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16091
16092 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
16093 already set. Define typedefs __int32_t and __uint32_t.
16094 * libc/include/math.h: Include <machine/ieeefp.h>.
16095 (union __dmath): Use __uint32_t.
16096 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
16097 instead of int and unsigned int.
16098
16099 Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16100
16101 Replace the math library with the SunPRO fdlibm package.
16102 * libm/math: Completely changed all files.
16103 * libm/ieeefp: Remove contents and directory.
16104 * libm/Makefile.in (LIBM_FP_LIB): Remove.
16105 (SUBDIRS): Just set to math/lib.a.
16106 * libm/libm.texinfo: Updated for new library.
16107 * libc/include/math.h: Extensive changes for new math library.
16108 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
16109 from _FLOAT_ARG to float.
16110 (maxpowtwo, maxpowtwof): Don't declare.
16111 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
16112 (libm_fp_lib): Removed.
16113 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
16114 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
16115 argument to ${RUNTEST}.
16116 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
16117 (.c.o): New rule.
16118 (RUNTESTFLAGS): Set CC and CFLAGS.
16119 (TESTS): Remove test_log2 and test_log2f.
16120 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
16121 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
16122 _FLOAT_ARG, for single precision argument type.
16123 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
16124 expected failure. Close the input pipe.
16125 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
16126 Correct misspelling of inaccurate.
16127 (test_mok): Use ``inaccurate'', not ``wrong''.
16128 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
16129 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
16130 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
16131 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
16132 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
16133 test_yn.c): Correct many result values. Many are still wrong.
16134
16135 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
16136 just copy the string.
16137 (_gcvt): Always return the buffer.
16138
16139 Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16140
16141 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
16142
16143 Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
16144
16145 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
16146 structure.
16147 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
16148 (_reclaim_reent): declare new entry point.
16149 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
16150 functions.
16151
16152 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
16153 ever allocated, so that we can later reclaim them all.
16154 (pow5mult): make reentrant.
16155
16156 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
16157 so that when given NULL as a buffer, return a pointer to static
16158 space in the rent structure. This is not documented behaviour;
16159 it's only to support ecvt and fcvt, which aren't ANSI anyway.
16160 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
16161 therefore become reentrant).
16162
16163 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
16164
16165 Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16166
16167 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
16168
16169 Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16170
16171 * Makefile.in: Make link to libg.a after libc.a; this is needed
16172 for the testsuites to build executables when everything comes
16173 from the tree.
16174
16175 Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
16176
16177 * libc/Makefile.in: Add a VERSION variable so we can keep track.
16178 * libm/Makefile.in: Add a VERSION variable so we can keep track.
16179
16180 Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16181
16182 * libc/include/stdio.h: Use __VALIST, not va_list.
16183
16184 Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
16185
16186 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
16187 testsuite/libm.sac/execute.exp:
16188 Replace error proc calls with perror calls.
16189
16190 Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
16191
16192 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
16193 * libc/include/time.h: #define NULL as 0L.
16194
16195 Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
16196
16197 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
16198 care of it.
16199
16200 Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16201
16202 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
16203 not __unix__.
16204
16205 Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
16206
16207 * configure.in (TARGET_CFLAGS): Set -O2 as default.
16208 (z8k-*-*): Use syscalls fake sys dir.
16209 * libc/sys/z8k/glue.c: Rename syscalls.
16210 * libc/sys/go32/Makefile.in: Use new routines.
16211 * libc/machine/Makefile.in: Fix typo in ln stuff.
16212
16213 Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16214
16215 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
16216 * libc/Makefile.in (crt0.o): Likewise.
16217 * libc/machine/Makefile.in (lib.a): Likewise.
16218 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
16219
16220 All Makefile.in files: Added mostlyclean, realclean and distclean
16221 targets.
16222
16223 * Makefile.in: Don't bother to unexport XTRAFLAGS or
16224 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
16225 the top level Makefile.
16226
16227 Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
16228
16229 * libc/sys/sparc64/sys/stat.h: New file.
16230 * libc/sys/sparc64/sys/time.h: New file.
16231 * libc/sys/sparc64/sys/types.h: New file.
16232
16233 Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
16234
16235 * stub/ex93x/crt0.s (start): Add code to clear bss.
16236
16237 Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
16238
16239 * libc/include/sys/types.h (time_t): Properly protect inside
16240 #ifndef __time_t_defined.
16241
16242 * libc/stdio/fileno.c: New file.
16243 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
16244 (fileno.o): Add dependency.
16245 * libc/include/stdio.h (__sgetc): Rename never to _never.
16246 (fileno macro): Disable, needs to do CHECK_INIT first.
16247
16248 Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
16249
16250 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
16251 goal.
16252
16253 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
16254 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
16255 runtest.
16256 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
16257 runtest.
16258
16259 Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
16260
16261 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
16262 of the various constants.
16263
16264 Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
16265
16266 * libc/include/math.h: #ifndef __math_68881 around things which
16267 conflict with the (gcc-provided) inline functions in
16268 gcc/ginclude/math-68881.h.
16269
16270 Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
16271
16272 * libc/include/_syslist.h (_gettimeofday): Define.
16273 (_times): Ditto.
16274 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
16275 (struct tms, timeval, timezone): Declare.
16276 (_gettimeofday_r, _times_r): Declare.
16277 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
16278 #ifdef _CLOCK_T_ surrounding definition of clock_t.
16279 (time_t): Add multiple definition protection, __time_t_defined.
16280 * libc/include/sys/time.h: Don't #include <time.h>.
16281 Always define struct timezone (remove #ifndef _TIME_H_).
16282 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
16283 #ifdef _CLOCK_T_ surrounding definition of clock_t.
16284 * libc/reent/Makefile.in (OFILES): Add timer.o.
16285 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
16286 * libc/reent/timer.c: New file.
16287 * libc/time/clock.c: #include <reent.h>.
16288 (clock): Call _times_r instead of times.
16289 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
16290 HAVE_GET_TIME_OF_DAY.
16291 Add comment regarding supporting OS routine(s) required (for docs).
16292 #include <reent.h>.
16293 (time): Call _gettimeofday_r instead of gettimeofday.
16294 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
16295 * libc/time/ctime.c: Ditto.
16296 * libc/time/strftime.c: Ditto.
16297 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
16298 (TEMPLATE_SFILES_R): Define here. Also define times.
16299 Add times_r.o/times.S dependence.
16300 (time2.c, junk.c): Deleted.
16301 * libc/sys/sparc64/time2.c: Deleted.
16302 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
16303
16304 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
16305 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
16306 * libc/sys/sparc64/junk.c: Deleted.
16307
16308 Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
16309
16310 * libc/sys/sparc64/Makefile.in: Add times syscall.
16311 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
16312 be used with and without it. Add comment clarifying Medium/Anywhere
16313 model requirements.
16314 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
16315 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
16316 even if obsolete.
16317
16318 Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
16319
16320 * configure.in (target_cflags): Move init.
16321 (sparc64-*-*): Define HAVE_BLKSIZE.
16322
16323 Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
16324
16325 * libc/include/sys/_types.h: New file.
16326 * libc/include/reent.h: #include it.
16327 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
16328 MISSING_SYSCALL_NAMES.
16329 Sort syscalls.
16330 * libc/include/_syslist.h: Remove _raise.
16331 * libc/reent/signalr.c: New file.
16332 * libc/reent/Makefile.in: Compile it.
16333 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
16334 Add doc for raise and _raise_r.
16335 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
16336 (raise): Call _raise_r.
16337 (_raise_r): Call _getpid_r and _kill_r.
16338 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
16339 (abort): Loop forever calling raise and _exit.
16340
16341 Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16342
16343 * configure.in: Remove extraneous echo.
16344
16345 Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
16346
16347 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
16348 collision with unistd.h, and fix for svr4.
16349
16350 Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
16351
16352 * libc/stdio/local.h (_llicvt): Declare.
16353 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
16354 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
16355 (_llicvt): Define.
16356 (_sicvt): Fix function header (`value' is short).
16357 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
16358 Add printing of long long's support.
16359 Add printing of 8 byte pointer support.
16360
16361 Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
16362
16363 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
16364 stat, chmod): New hooks.
16365 (sbrk): Abort if stack and heap collide.
16366 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
16367 shortcut when given small args.
16368 * libc/machine/sh/setjmp.s: Rewritten.
16369 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
16370 of cmp/str instruction.
16371
16372 Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16373
16374 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
16375 and machine_dir powerpc.
16376 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
16377 Add cases for __powerpc__.
16378 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
16379 New files.
16380
16381 * libc/include/stdio.h (_iprintf_r): Declare correctly.
16382
16383 Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
16384
16385 * libc/stdlib/callocr.c: New file with _calloc_r in it.
16386 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
16387
16388 Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
16389
16390 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
16391 (print_e): More comments to describe args, etc.
16392 "type" arg may now be 'g' or 'G' for %g/G format --> remove
16393 trailing blanks.
16394 (_gcvt): Remove locals decpt, sign, end, p, done.
16395 More comments for print_e invocation.
16396 Pass "type" to print_e as is (g/G).
16397
16398 Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
16399
16400 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
16401 stock m68000.
16402
16403 Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
16404
16405 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
16406 works with any sized pointer, including ones bigger than ints and
16407 longs.
16408
16409 Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
16410
16411 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
16412
16413 Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
16414
16415 * libc/include/stdlib.h (_calloc_r): Add prototype.
16416 * libc/machine/h8500/negsi2.c: New file.
16417 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
16418 large unsigned numbers.
16419 * libc/machine/h8500/cmpsi.c: Add cmppsi.
16420 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
16421 works when sizeof(size_t) != sizeof(char *).
16422 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
16423 get play area
16424 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
16425
16426 Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
16427
16428 * libc/include/assert.h (assert): Handle -traditional.
16429
16430 Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
16431
16432 * Makefile.in: added ; after every "fi" and "done" that wasn't at
16433 the end of a line (ie. anything before a backslash continuation)
16434 so that bash handles them.
16435
16436 Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
16437
16438 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
16439 stat to lstat
16440
16441 Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
16442
16443 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
16444 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
16445 libc/machine/sh/udivsi3.s: Use new calling convention.
16446
16447 Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
16448
16449 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
16450 chmod, access, chdir, chown by making _path const. Also fix _amode
16451 param of access.
16452
16453 Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
16454
16455 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
16456 _khif_tmpnam, because it doesn't comply with ANSI but may be
16457 useful anyway. Real tmpnam was already in libc/stdio, and was
16458 colliding with this one (pr 2176.)
16459 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
16460 the wrong idea anyhow.
16461
16462 Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
16463
16464 * configure.in: Remove h8300h, we have multilib now.
16465
16466 Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
16467
16468 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
16469 functions, to get preference over the ones in libiberty (since we
16470 provide correct declarations in <string.h>.
16471 * libc/string/Makefile.in: add support for strncasecmp,
16472 strcasecmp.
16473
16474 Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
16475
16476 * Change netware config not to look for cpu explicitly.
16477
16478 Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
16479
16480 * libc/sys/sparc64/{creat.c,junk.c}: New files.
16481 * libc/sys/sparc64/Makefile.in: Add dependencies.
16482
16483 Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
16484
16485 * configure.in: Clean up v9 a bit, new "os" aoutv8.
16486
16487 Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
16488
16489 * libc/include/sys/reent.h: make structure smaller by allocating
16490 some stuff when needed.
16491 * libc/signal/signal.c: allocate as needed
16492 * libc/stdio/findfp.c,stdio/local.h: ditto
16493 * libc/stdlib/mprec.c: ditto
16494
16495 * libc/time/localtime.c: don't return a dangling stack ptr.
16496
16497 Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
16498
16499 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
16500
16501 Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16502
16503 * libc/include/stdio.h (__sputc): comment out static inline which
16504 confuses coff toolchains.
16505
16506 Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
16507
16508 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
16509 _write.s, getpid.c, kill.c, read.s}:
16510 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
16511 through the syscalls directory.
16512
16513 Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
16514
16515 * configure.in: fixed double quote gotcha.
16516
16517 Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
16518
16519 * stub/ex931: stub library for sparclite board.
16520 * stub/idp: Renamed from mc68ec. Added contructor table
16521 stuff to linker script.
16522 * stub/mvme135: Renamed from m68kmvme. Added contructor table
16523 stuff to linker script.
16524
16525 Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16526
16527 * configure.in: Configure testsuites only if they exist.
16528
16529 Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16530
16531 * configure.in: Don't set machine_dir for i386 until there is
16532 something in libc/machine/i386 to compile. For i[34]86-*-netware*
16533 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
16534 CLOCK_PROVIDED and MALLOC_PROVIDED.
16535
16536 * libc/sys/netware: New directory. Contains simplistic and
16537 probably incorrect stubs for NetWare. Should be enough to load
16538 the library.
16539 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
16540 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
16541 stub files.
16542
16543 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
16544 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
16545 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
16546 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
16547
16548 Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
16549
16550 * testsuite/Makefile.in: add "docs" dummy target for consistency
16551 with rest of newlib; turn "info" and "install-info" into dummy
16552 targets, since they wouldn't have worked. (Depended on
16553 nonexistent "doc" subdir.)
16554
16555 Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
16556
16557 * configure.in: handle mips* instead of mips
16558
16559 Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
16560
16561 * libc/include/sys/dirent.h: New file. If it is not overridden by
16562 a version of libc/sys/*/sys/dirent.h, it includes the next
16563 <dirent.h> file in case there is one lurking somewhere.
16564
16565 Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16566
16567 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
16568 compliance, namely: Accept a minus sign. Consider a single 0 with
16569 a radix of 0 as being a conversion. Determine overflow correctly.
16570 If an overflow occurs, set *ptr to the end of the number, not the
16571 middle.
16572 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
16573
16574 Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
16575
16576 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
16577
16578 Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
16579
16580 * Makefile.in (INSTALL): Use $srcrootpre.
16581 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
16582 can't handle it.
16583 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
16584 it.
16585 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
16586 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
16587 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
16588 * libm/math/Makefile.in (matherr.o): Ditto.
16589
16590 Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
16591
16592 * configure.in: Build multidirs for z8k.
16593 * libc/include/stdlib.h (_strtoul_r): add prototype.
16594 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
16595 * libc/include/machine/setjmp.h: Add for z8k.
16596 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
16597 * libc/sys/z8ksim/glue.c: tidy up.
16598
16599 Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
16600
16601 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
16602 New files. Requires execve system call.
16603 * libc/unix/Makefile.in: Use them.
16604 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
16605 Deleted, moved to libc/unix.
16606 * libc/sys/sparc64/Makefile.in: Remove them.
16607
16608 Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
16609
16610 * libc/sys/sparc64/{template.S template_r.S}: New files.
16611 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
16612 from templates.
16613 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
16614 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
16615 umask.S unlink.S wait4.S write.S}: Removed, now built from
16616 templates.
16617
16618 Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
16619
16620 * libc/time/time.c: #include <_ansi.h>.
16621
16622 Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
16623
16624 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
16625
16626 Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16627
16628 * configure.in: match m8* rather than m88k so that m88110 is
16629 recognized as well.
16630
16631 Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
16632
16633 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
16634 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
16635 misc.c: New file.
16636
16637 * configure.in: Add multilib support to h8300.
16638
16639 Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
16640
16641 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
16642 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
16643 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
16644
16645 Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16646
16647 * configure.in: Corrected multidirs for sparc target.
16648
16649 Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16650
16651 Support for building newlib multiple times with different
16652 compilation flags.
16653 * configure.in: Only configure doc at top level. Set multidirs
16654 when appropriate for target, unless not at top level. If
16655 multidirs is set, independently configure each subdirectory.
16656 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
16657 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
16658 automagically set by configure.in.
16659 (all): If MULTIDIRS is set, build multiple copies of libraries.
16660 (install): If MULTIDIRS is set, install multiple copies of
16661 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
16662 MULTISUBDIR is set, don't bother to install header files.
16663 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
16664 ${srcrootpre}.
16665 * stub/configure.in: Set MULTISUBDIR appropriately.
16666 * stub/Makefile.in (install): Install in
16667 $(tooldir)/lib/$(MULTISUBDIR).
16668 * All Makefile.in files: Define SRCTOP as well as TOP.
16669
16670 Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
16671
16672 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
16673 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
16674
16675 Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
16676
16677 * libc/sys/h8300hms/exit.c (_exit): New function.
16678
16679 Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16680
16681 * configure.in: recognize m88110.
16682
16683 Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16684
16685 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
16686 prototype main and call with args.
16687
16688 Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
16689
16690 First real try at system traps for m88k-bug.
16691 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
16692 to real trap calls.
16693 * libc/sys/m88kbug/sys/systraps.h: new file.
16694
16695 Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16696
16697 Patches to fix info building when target does not use sys
16698 directory.
16699 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
16700 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
16701 libc/sys.tex.
16702 * libc/sys/Makefile.in (doc): do nothing.
16703
16704 Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16705
16706 * libc/Makefile.in (CRT0): new macro.
16707 (all): depend on $(CRT0) rather than crt0.o.
16708
16709 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
16710 do not default crt0, instead, set crt0 and crt0_dir based on
16711 sys_dir and stub_dir.
16712
16713 * Makefile.in (CRT0_DIR): new macro.
16714 (all): depend on $(CRT0) rather than crt0.o which may not exist.
16715 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
16716 $(CRT0).
16717 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
16718
16719 Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
16720
16721 * testsuite/lib/libm.exp:
16722 added code to support compiling and linking of tests for
16723 libm.sac (paranoia to be added next) and processing the
16724 pass or failure of the tests.
16725
16726 * testsuite/config/unix-libm.exp:
16727 platform specific proc's for dealing with compiler, linker
16728 and the way we execute and process the test results.
16729
16730 * testsuite/libm.sac/execute.exp:
16731 generic framework for the sac tests. the config and lib
16732 expect code for specific platforms tie it all together.
16733
16734 * testsuite/libm.sac/test_is.c:
16735 changed the output of the test to be consistant with the
16736 other tests. parsing of pass nad fail messages is now fixed.
16737
16738 Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
16739
16740 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
16741 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
16742 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
16743 #ifdef __cplusplus, surround by extern ""C { ... }.
16744 * libc/include/assert.h: Do *not* protect assert.h against
16745 multiple inclusion! Also, #undef it before #define, to allow
16746 redefinition.
16747 * libc/include/stdio.h (getlogin, cuserid): Removed. These
16748 should be only in unistd.h.
16749
16750 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
16751 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
16752 ... }.
16753
16754 Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
16755
16756 * libc/machine/sparc/Makefile.in: Must create a library, even
16757 if empty.
16758
16759 Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16760
16761 * configure.in: set machine_dir for m88k. edit crt0 definition
16762 into makefiles.
16763
16764 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
16765
16766 * libc/Makefile.in (all): also build crt0.o.
16767
16768 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
16769 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
16770 to remove CRT0.
16771
16772 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
16773 (all): reworked to build in place.
16774 (clean): remove lib.a
16775 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
16776
16777 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
16778 (_start): key off edata rather than _start_bss.
16779
16780 Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
16781
16782 * libc/include/sys/unistd.h, libc/include/reent.h,
16783 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
16784
16785 Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16786
16787 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
16788
16789 * Makefile.in (libc.a): break into two rules, one for libc.a and
16790 one for libc/libc.a. Force subdirs current before rebuilding
16791 library.
16792 (libm.a): break into two rules, one for libm.a and one for
16793 libm/libm.a. Force subdirs current before rebuilding library.
16794
16795 * libc/Makefile.in (SUBLIBS): fix typo.
16796
16797 * libc/sys/Makefile.in (all): force descent into subdirs, then
16798 rebuild library iff out of of date.
16799
16800 Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16801
16802 Rework so that library is built and then finished rather than
16803 being built on each invocation of make.
16804
16805 * host/any (machine_dir, sys_dir, signal_dir): these are not
16806 shared and have been moved to their associated Makefile.in's.
16807 (AR_FLAGS): switch to qc which is faster.
16808 * configure.in: no longer assign machine_dir for m88k. set
16809 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
16810 stub_dir set, then add to configdirs. add comment about silly
16811 configuration.
16812 (configdirs): drop stub. It will be added only
16813 when needed.
16814 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
16815 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
16816 stub_lib, crt0): new variables for tailoring lower level
16817 makefiles. Assign accordingly and edit into makefiles.
16818 * libm/Makefile.in: updated copyright.
16819 (TARGETLIB): removed.
16820 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
16821 (SUBDIRS): removed TARGETDEP_DIRS.
16822 (LIBM_FP_LIB, SUBLIBS): new macros.
16823 (all): reworked.
16824 (force): new target to force rebuilds.
16825 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16826 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
16827 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
16828 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
16829 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
16830 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
16831 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
16832 stub/m68kmvme/Makefile.in: updated copyright.
16833 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
16834 (all): reworked. made this the default rule.
16835 (clean): also remove lib.a.
16836 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16837 * stub/Makefile.in: updated copyright.
16838 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
16839 (stub_lib): new macro.
16840 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
16841 RANLIB.
16842 (all): reworked.
16843 (clean, install): assume stub_dir exists.
16844 (Makefile): depend on configure.in. call $(SHELL) rather than
16845 sh. drop redundant ./
16846 * stub/configure.in (stublib): new macro, assign it, edit it into
16847 makefiles.
16848 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
16849 updated copyright.
16850 (all): reworked.
16851 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16852 * libc/Makefile.in (TARGETCRT0): removed.
16853 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
16854 TARGETCRT0.
16855 (SUBDIRS): drop TARGETDEP_DIRS.
16856 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
16857 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
16858 (force): new target to force rebuilds.
16859 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
16860 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
16861 removed.
16862 (clean): assume sys_dir always exists.
16863 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
16864 drop redundant ./
16865 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
16866 libc/locale/Makefile.in, libc/machine/Makefile.in,
16867 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
16868 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
16869 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
16870 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
16871 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
16872 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
16873 libc/signal/Makefile.in, libc/stdio/Makefile.in,
16874 libc/stdlib/Makefile.in, libc/string/Makefile.in,
16875 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
16876 libc/time/Makefile.in, libc/unix/Makefile.in,
16877 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
16878 (TARGETLIB): removed.
16879 (all): reworked.
16880 (clean): also remove lib.a.
16881 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16882 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
16883 new macros.
16884 (SUBDIRS): moved to follow frag inclusion, change stub to
16885 stub_dir.
16886 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
16887 are now set in the libc Makefile.
16888 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
16889 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
16890 TARGETCRT0.
16891 (force): new target to force rebuilds.
16892 * stub/configure.in: determine and set stub_lib for for Makefile.
16893
16894 Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
16895
16896 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
16897 crt0.s renamed to crt0.S.
16898 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
16899
16900 * libc/machine/h8300/Makefile.in: Make `all' the default target.
16901 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
16902 h8300h.
16903 * libc/machine/h8300/defines.h: Add macros to handle pointers for
16904 h8300 (16 bits) and h8300h (32 bits).
16905 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
16906 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
16907
16908 Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
16909
16910 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
16911 implementation of setjmp and longjmp for the m88k.
16912 * libc/include/machine/setjmp.h: Added __m88000__ case.
16913
16914 Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
16915
16916 * configure.in: Recognize h8300h as variant of h8300.
16917
16918 Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
16919
16920 * libc/include/sys/unistd.h (read, write): get prototypes right.
16921 (sbrk): New prototype.
16922 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
16923 * libc/stdio/local.h: Include unistd.h.
16924 * libc/machine/h8300/syscalls.c: Names have changed.
16925
16926 Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
16927
16928 * configure.in: add sys_dir assignment for m88k-bug.
16929
16930 Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
16931
16932 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
16933 a.out or elf.
16934 * libc/sys/sparc64: all *.S files: Use new macros.
16935 * libc/sys/sparc64/isatty.c: New file.
16936 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
16937 functions beyond what newlib provides.
16938
16939 Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
16940
16941 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
16942 svr4.
16943
16944 Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
16945
16946 * libc/include/machine/ieeefp.h: Add support for h8/300h.
16947
16948 Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
16949
16950 * configure.in: add m88k.
16951 * libc/include/machine/ieeefp.h: add case for m88k. Also add
16952 sanity check so no one else need ever chase what I did to find
16953 this.
16954
16955 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
16956
16957 Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
16958
16959 * doc/makedoc.c: Include <ctype.h>.
16960
16961 Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
16962
16963 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
16964 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
16965 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
16966
16967 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
16968
16969 Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
16970
16971 * libc/include/errno.h (ENOSYS): Added.
16972
16973 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
16974
16975 Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
16976
16977 * libc/stdio/fflush.c (fflush): Check for reent struct
16978 initialization.
16979 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
16980
16981 Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
16982
16983 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
16984 out of dtoa.c so it doesn't pollute the namespace.
16985 * libc/include/_syslist.h: new file -- mappings from _function to
16986 function, for systems where we can't win (by default, all of them,
16987 until we start updating system calls.)
16988 * libc/syscalls: new directory -- stubs for exporting _function
16989 names as unmodified function names.
16990 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
16991 _syslist.h on all platforms by default, but put hooks in for
16992 fake_sys_dir so we can include it when we've renamed the system
16993 calls.
16994 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
16995 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
16996 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
16997 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
16998 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
16999 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
17000 non ANSI functions to call _function.
17001
17002 Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
17003
17004 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
17005 when base 16 is specified. Don't accept non-digits if radix > 10.
17006
17007 Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
17008
17009 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
17010
17011 Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
17012
17013 * libc/include/sys/stat.h: Surround text after #endif with
17014 comments.
17015
17016 Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
17017
17018 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
17019 _malloc_r, _realloc_r, and free_r call the corresponding
17020 non-reentrant functions.
17021
17022 * libm/math/modf.c (modf): We now take the address of ipart, so
17023 don't make it a register variable.
17024
17025 Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
17026
17027 * libm/math/*: Rename all xxx_r fns to _xxx_r.
17028
17029 Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
17030
17031 * libc/libc.texinfo and embedded docn throughout: formatting
17032 improvements, minor rephrasing for clarity, and improved
17033 reentrancy docn.
17034
17035 Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17036
17037 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
17038
17039 * libc/stdio/cvt.c (_licvt): Print the right value on machines
17040 where sizeof(int) != sizeof(long).
17041
17042 Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
17043
17044 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
17045 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
17046 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
17047 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
17048 libm/math/matherr.c: changes for better docn formatting (info).
17049
17050 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
17051 libc/reent/reent.tex, libc/signal/signal.tex,
17052 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
17053 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
17054 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
17055 makeinfo node defaulting to get better Info file node structure.
17056 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
17057 Also include a few formerly missing sections (subroutines).
17058
17059 * doc/doc.str: delete fossil expansion for "func"
17060
17061 * default.menu, no-signal.menu: delete.
17062
17063 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
17064 method used to adjust doc for missing "signals" chapter when
17065 signal_dir is empty.
17066
17067 Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17068
17069 * configure.in: added testsuite/libm.sac
17070
17071 Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
17072
17073 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
17074 code model).
17075
17076 Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
17077
17078 * libm/Makefile.in: Use $(MAKE) rather than make, and define
17079 MAKEOVERRIDES to be empty.
17080
17081 Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
17082
17083 * configure.in: Don't build mips-*-* with -msoft-float, since that
17084 makes it incompatible with hard floating point.
17085
17086 Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17087
17088 * Makefile.in: added recursive 'make check'
17089
17090 Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17091
17092 * configure.in: added ./testsuite ./testsuite/libm.paranoia
17093 * ./testsuite/Makefile.in: created
17094 * ./testsuite/libm.paranoia: paranoia tests added
17095
17096 Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
17097
17098 * configure.in: For mips-*-* set machine_dir to mips.
17099
17100 * libc/machine/mips: New directory.
17101 * libc/machine/mips/Makefile.in: New file.
17102 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
17103 setjmp and longjmp.
17104 * libc/include/machine/setjmp.h: Added __mips__ case.
17105
17106 * libc/machine/lmips: Removed unused and useless directory.
17107
17108 Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
17109
17110 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
17111
17112 Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
17113
17114 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
17115 start up).
17116
17117 Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
17118
17119 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
17120 SETJMP_H.
17121
17122 Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
17123
17124 * libm/test/convert.c: structure member errno -> errno_val.
17125 Must include <errno.h> to use errno, it's a macro now.
17126 * libm/test/math.c: Ditto.
17127 * libm/test/math2.c: Include errno.h.
17128 * libm/test/string.c: Ditto.
17129 * libm/test/test.h: structure member errno -> errno_val.
17130 Remove extern int errno decl.
17131
17132 Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
17133
17134 * libc/stdio/Makefile.in: Added dependencies on local header
17135 files.
17136 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
17137 files.
17138
17139 Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
17140
17141 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
17142
17143 Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
17144
17145 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
17146 Initialize _data.
17147
17148 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
17149 * libc/stdio/local.h: Add prototype for _licvt.
17150
17151 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
17152 instead of malloc,reealloc.
17153
17154 * libc/stdlib/local.h: New file.
17155 * libc/stdlib/efgcvt.c: #include local.h.
17156 (gcvt): Fix call to _gcvt.
17157 * libc/stdlib/ecvtbuf.c: #include local.h.
17158
17159 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
17160 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
17161 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
17162
17163 * libc/stdlib/atexit.c: moved global data to struct _reent.
17164 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
17165
17166 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
17167
17168 Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
17169
17170 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
17171 here from ../reent.h.
17172
17173 Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
17174
17175 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
17176 should be provided in both libc.a and libm.a.
17177 (libc.a): Depend on targ-include and libm.a. Copy
17178 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
17179 (libm.a): Depend on targ-include.
17180 * configure.in (subdirs): Removed libc/math.
17181
17182 Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17183
17184 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
17185
17186 Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
17187
17188 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
17189 sys/reent.h instead of reent.h.
17190 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
17191 headers moved to sys/reent.h.
17192 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
17193 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
17194 __need__MAX_SIGNALS defined.
17195 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
17196 std{in,out,err} refer to new _std{in,out,err} members.
17197
17198 Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
17199
17200 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
17201 case.
17202
17203 Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
17204
17205 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
17206 rather than whatever macro seterrno() has.
17207
17208 Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
17209
17210 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
17211 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17212
17213 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
17214 __STDC__.
17215
17216 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
17217 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
17218 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17219
17220 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
17221 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17222
17223 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
17224 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
17225 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
17226 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
17227 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
17228 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
17229 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
17230 renamed to _xxx_r. struct reent_struct renamed to struct _reent
17231 for ANSI. structure members given leading "_" for ANSI. Use
17232 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
17233
17234 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
17235 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
17236 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
17237 reent_struct renamed to struct _reent for ANSI.
17238 Structure members given leading "_" for ANSI.
17239 _CONST --> const in prototypes.
17240 Use _HAVE_STDC instead of __STDC__.
17241
17242 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
17243 _xxx_r.
17244 struct reent_struct renamed to struct _reent for ANSI.
17245 Structure members given leading "_" for ANSI.
17246
17247 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
17248 _xxx_r.
17249 struct reent_struct renamed to struct _reent for ANSI.
17250
17251 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
17252 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
17253 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
17254 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
17255 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
17256
17257 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
17258 signal.h, stdio.h, stdlib.h, string.h, time.h}:
17259 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
17260 #ifndef _STRICT_ANSI non-ANSI routines.
17261 Reentrant routines renamed from _r_xxx to _xxx_r.
17262 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
17263 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
17264 Clean up namespace (structure members have leading "_").
17265 struct reent_struct renamed to struct _reent for ANSI compliance.
17266 _CONST --> const in function prototypes.
17267
17268 * libc/include/string.h: Add NULL and size_t.
17269
17270 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
17271 unlink, wait, wait4. Reentrant syscall routines close, fork,
17272 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
17273 write.
17274 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
17275 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
17276 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
17277 write.S}: Define reentrant versions.
17278 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
17279 reentrant syscalls.
17280
17281 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
17282
17283 * libc/include/stdlib.h (RAND_MAX): Fix value.
17284
17285 Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
17286
17287 * libc/sys/a29khif/_main.c: Removed unnecessary file.
17288 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
17289 VPATH support targets after all: target.
17290
17291 * stub/mvme135/mvme.S: Renamed exceptionhandler to
17292 exceptionHandler, which is what mvme135-stub.c expects.
17293
17294 Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
17295
17296 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
17297
17298 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
17299 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
17300 compliant).
17301
17302 Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
17303
17304 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
17305 first.
17306 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
17307 _r_write): Ditto.
17308 libc/reent/fstatr.c (_r_fstat): Ditto.
17309 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
17310 libc/reent/sbrkr.c (_r_sbrk): Ditto.
17311 libc/reent/statr.c (_r_stat): Ditto.
17312
17313 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
17314 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
17315 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
17316 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
17317 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
17318 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
17319 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
17320 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
17321 (__swrite): Ditto for _r_lseek, _r_write.
17322 (__sseek): Ditto for _r_lseek.
17323 (__close): Ditto for _r_close.
17324 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
17325
17326 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
17327 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
17328
17329 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
17330 to make reent_struct the first argument (and thus consistent with
17331 the rest of newlib).
17332
17333 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
17334 reference to __STDC__.
17335
17336 Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
17337
17338 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
17339 global __cleanup.
17340
17341 Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
17342
17343 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
17344 first.
17345 libc/stdio/fclose.c (fclose): Ditto.
17346
17347 Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
17348
17349 * Run through indent and rename reentrant routines for ANSI.
17350 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
17351 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
17352 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
17353 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
17354 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
17355 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
17356 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
17357 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
17358 vsprintf.c wbuf.c wsetup.c local.h}
17359
17360 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
17361
17362 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
17363 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
17364 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
17365 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
17366 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
17367 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
17368
17369 * Run through indent.
17370 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
17371 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
17372 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
17373 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
17374 strxfrm.c}
17375
17376 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
17377 localtime.c mktime.c strftime.c time.c}:
17378 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
17379
17380 * Reformatting + renaming (for ANSI, GNU style, consistency).
17381 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
17382 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
17383 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
17384
17385 Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
17386
17387 * libc/include/stdio.h (stdin_r): Fix.
17388
17389 Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
17390
17391 * Makefile.in: Unexport some variables to keep GNU make from
17392 putting them in the environment and using up needed ARG_MAX space
17393 (a hack is used to let this work with older makes as well).
17394
17395 Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
17396
17397 * Makefile.in: Use $(MAKE) rather than make.
17398 (MAKEOVERRIDES): Define to be empty.
17399 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
17400 (libc.a, libm.a): Depend on targ-include.
17401 * host/any (LD): Don't define.
17402 (INCLUDES): Use targ-include.
17403 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
17404 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
17405 * libc/Makefile.in: Use $(MAKE) rather than make.
17406 (MAKEOVERRIDES): Define to be empty.
17407 (FLAGS_TO_PASS): Don't pass LD (it's not used).
17408 (all): Rewrote to be slightly smaller.
17409 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
17410 Define to be empty.
17411 (FLAGS_TO_PASS): Don't pass LD (it's not used).
17412 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
17413
17414 Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
17415
17416 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
17417 with errno/errno.c.
17418
17419 Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
17420
17421 * Changes for reentrancy.
17422 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
17423 Use ptr->_errno, not errno.
17424 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
17425 libc/stdio/remove.c (remove_r): New function.
17426 libc/stdio/rename.c (rename_r): New function.
17427 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
17428 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
17429 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
17430 reentrant versions of system calls.
17431 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
17432 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
17433 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
17434 libc/stdio/findfp.c: Include <string.h>.
17435 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
17436 "local.h".
17437 libc/stdio/wbuf.c: Include "fvwrite.h"
17438
17439 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
17440 <string.h>.
17441 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
17442 (NULL): Don't define if already defined.
17443 libc/stdlib/system.c: Call reentrant versions of system calls.
17444 (system_r): New function.
17445
17446 * Changes for reentrancy.
17447 libc/include/_ansi.h (_PARAMS): New macro.
17448 libc/include/errno.h: Define errno as a macro that calls __errno.
17449 (__errno_r): New macro for reentrant code.
17450 libc/include/math.h: Include reent.h. Declare many reentrant
17451 functions.
17452 (signgam): Now a macro, not a variable.
17453 (struct exception): Added err field.
17454 libc/include/reent.h: Don't declare __sglue. Added function
17455 declarations.
17456 (struct reent_struct): Moved errno to beginning. Added _signgam.
17457 libc/include/stdio.h, libc/include/stdlib.h: Added function
17458 declarations.
17459
17460 * More reentrancy hacking.
17461 libc/errno/errno.c (__errno): New function.
17462 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
17463 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
17464 files.
17465
17466 * Added many new reentrant functions to libm/math/*.
17467 libm/math/error.c (__matherror): Added reent_struct pointer
17468 argument. Changed all callers.
17469 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
17470 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
17471 libm/math/tan.h: Removed obsolete unused header files.
17472
17473 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
17474
17475 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
17476
17477 Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17478
17479 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
17480 delay slots.
17481
17482 Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17483
17484 * libc/libc.texinfo: comment out reentrancy chapter (duh)
17485
17486 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17487
17488 * libc/reent/reent.tex: New file. (text from
17489 newlib/libc/libc.texinfo)
17490 * libc/stdio/tmpnam.c: fixed doc typo
17491 * libc/stdlib/rand.c: fixed doc typo
17492
17493 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17494
17495 * libc/reent/reent.tex: New file. (text from
17496 newlib/libc/libc.texinfo)
17497
17498 Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17499
17500 support for reentrancy
17501 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
17502 new files
17503 * libc/errno/errno.c, libc/include/ieeefp.h,
17504 libc/include/locale.h, libc/include/reent.h,
17505 libc/include/signal.h, libc/include/stdio.h,
17506 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
17507 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
17508 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
17509 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
17510 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
17511 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
17512 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
17513 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
17514 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
17515 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
17516 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
17517 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
17518 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
17519 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
17520 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
17521 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
17522 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
17523 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
17524 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
17525 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
17526 libc/time/strftime.c: modify to provide reentracy.
17527
17528 new routines:
17529 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
17530 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
17531 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
17532 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
17533 mstats_r, realloc_r, localeconv_r, setlocale_r
17534
17535 Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
17536
17537 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
17538 libc/include/sys/config.h, libc/include/sys/signal.h,
17539 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
17540 provided macros (such as m68000), use the ansi version
17541 (__m68000__) so that the library can be used with code compiled
17542 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
17543 and sparc.
17544
17545 Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
17546
17547 * configure.in (sparc*): Don't set -fsoft-float for sparc
17548 configurations. Do set -fsoft-float for sparclite configurations.
17549
17550 Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
17551
17552 * default.menu, no-signal.menu: alternate forms of libc main menu
17553 (in newlib rather than newlib/libc due to configuration restrictions)
17554
17555 * configure.in: select one of the two menus above, link to
17556 libc.menu
17557
17558 * libc/libc.texinfo: include menu from separate file
17559
17560 Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
17561
17562 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
17563 (info): Split long shell command in half.
17564 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
17565 sub-makes, just CHEW and TARGETDOC.
17566 (targetdep.tex): Removed now special handling of sys and machine
17567 subdirectories, made obsolete some time ago.
17568 * libc/machine/Makefile.in (doc): Don't pass everything to
17569 sub-make, just CHEW and TARGETDOC.
17570 (Makefile): New target.
17571 * libc/sys/Makefile.in (Makefile): New target.
17572
17573 Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
17574
17575 * Makefile.in (here and most subdirectories): Only pass down CHEW
17576 and TARGETDOC when making info, not for other targets.
17577
17578 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
17579 $(AR_FLAGS) rather than $(ARUPDATE).
17580
17581 Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
17582
17583 * Try to reduce command line length:
17584 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
17585 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
17586 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
17587 (info): Pass CHEW to other subdirs.
17588
17589 Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
17590
17591 * configure.in: add signal_dir, like unix_dir, but by default it
17592 is set to "signal" so that a29khif can turn it off (since a29khif
17593 has raise() as part of machine-specific signal.s.)
17594
17595 Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17596
17597 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
17598 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
17599 correctly.
17600 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
17601 libc/stdio/vfprintf: type lint.
17602 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
17603 initialzation code.
17604 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
17605
17606 Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
17607
17608 * stub/mvme135/mvme135-asm.S: new file.
17609 stub/mvme135mvme135-stub.c: moved all assembler routines into
17610 mvme135-asm.S.
17611 stub/mvme135/Makefile.in: build mvme135-stub.o.
17612
17613 Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
17614
17615 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
17616 sub-Makefiles instead, to try to avoid line length limitations.
17617
17618 Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
17619
17620 * libc/include/unistd.h (read, write): Use void* instead of
17621 char*.
17622
17623 Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
17624
17625 * stub/go32/resetpc: sample script to send a reset packet to the
17626 stub
17627
17628 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
17629 DOS environment, which compiles with Turbo C.
17630
17631 * stub/go32/DSER32.LNK: new file, linker commands for serial
17632 remote stub.
17633
17634 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
17635 start up message to identify version; call set_debug_traps.
17636
17637 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
17638 keyboard interaction); call handle_exception() in go_til_stop,
17639 rather than return, so that the remote stub gets control.
17640
17641 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
17642 rename, rather than mv), set flags that work with current Turbo C,
17643 including using the /3 flag; also, add commands to build dser32.
17644
17645 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
17646 default Turbo C installation (\tc rather than \usr)
17647
17648 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
17649 "&..."
17650
17651 Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17652
17653 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
17654
17655 Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17656
17657 * libc/stdio/cvt.c (licvt): new function to convert ints when
17658 sizeof(int) != sizeof(long).
17659
17660 * libc/include/stdio.h: added prototype for iprintf.
17661 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
17662
17663 Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
17664
17665 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
17666 __REGISTER_PREFIX__.
17667
17668 Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
17669
17670 * libc/sys/m68kbare: moved into stub directory.
17671
17672 Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
17673
17674 * configure.in, Makefile.in: created new directory stub, to hold
17675 sample code for specific targets.
17676
17677 Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
17678
17679 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
17680 in the unified libc/include/sys/fcntl.h.
17681
17682 Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
17683
17684 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
17685 printed .01, not 0.01.
17686
17687 Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
17688
17689 * configure.in: compile with -m68000 for m68* targets.
17690
17691 Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
17692
17693 * libm/math/remainder.c (remainder): document the svr4 and sunos
17694 references used to construct the function.
17695
17696 Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
17697
17698 * libm/math/remainder.c (rint, remainder): fix old typos.
17699 * libm/math/Makefile.in: actually build remainder.c (functions
17700 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
17701 page.)
17702
17703 Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
17704
17705 * libc/string/bcopy.c: BSD version works on overlapping strings,
17706 so ours should too.
17707
17708 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
17709 ("SHELL").
17710
17711 Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
17712
17713 * Makefile.in (docs): new target.
17714
17715 Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
17716
17717 * libc/include/sys/times.h: define clock_t as required by POSIX.
17718 libc/include/time.h: protect clock_t from multiple definitions.
17719
17720 Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17721
17722 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
17723 does not need more than the original three iterations to get
17724 within 1 ulp. (Paranoia tests for rounding to better than that,
17725 but further iterations *don't* help, only more subtle changes
17726 can.)
17727
17728 Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
17729
17730 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
17731 were doing nothing useful.
17732
17733 Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
17734
17735 * configure.in: define MALLOC_PROVIDED for vxworks targets;
17736 removed sys_dir settings of vxworks68 and vxworks960.
17737 host/any: don't pass -nostdinc to gcc, since newlib no longer
17738 provides all required header files.
17739
17740 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
17741 is not defined; this provides a hook for VxWorks.
17742
17743 Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17744
17745 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
17746 buffer if buf is NULL, don't do it here -- it is already being
17747 done by makebuf elsewhere in stdio.
17748
17749 Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
17750
17751 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
17752 that C programs can call functions without using initial
17753 underscores.
17754
17755 Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
17756
17757 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
17758
17759 Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
17760
17761 * configure.in: set TARGET_CFLAGS for certain CPU types to
17762 -msoft-float.
17763
17764 Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
17765
17766 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
17767
17768 Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
17769
17770 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
17771 m68k*-unknown-coff.
17772
17773 Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
17774
17775 * libc/include/stdio.h: define __need___va_list before including
17776 <stdarg.h>, to avoid defining va_arg, et. al.
17777
17778 Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
17779
17780 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
17781 (don't cd to the user's home directory).
17782
17783 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
17784 In general this is the wrong thing to do, but I can't get around
17785 GNU make's insistence on passing command line arguments any other
17786 way.
17787
17788 Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
17789
17790 * configure.in: always configure the libc/sys directory, since it
17791 now provides a required documentation file.
17792
17793 * Makefile.in: replaced all instances of $(MAKE) with make. In
17794 general this is the wrong thing to do, but I can't get around GNU
17795 make's insistence on passing command line arguments any other way.
17796
17797 Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
17798
17799 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
17800 terminated.
17801
17802 * libc/stdio/local.h: include <stdarg.h> to define va_list.
17803 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
17804
17805 * libc/include/float.h, libc/include/stdarg.h,
17806 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
17807 versions instead.
17808 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
17809 <stdarg.h>, not from <machine/types.h>. Protect definition of
17810 NULL.
17811 libc/include/time.h: get size_t from stddef.h. Protect definition
17812 of NULL.
17813 libc/include/machine/limits.h: override gcc <limits.h> by defining
17814 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
17815 get correct INT_MIN and LONG_LONG values.
17816 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
17817 size_t or va_list at all; they're now gotten from stddef.h
17818 instead.
17819 libc/include/machine/varargs.h: removed; use gcc version instead.
17820 libc/include/sys/types.h: explicitly include <machine/types.h>.
17821
17822 * libm/math/sqrt.h: using the fp-bit routines appears to require
17823 more iterations.
17824
17825 * Makefile.in, host/any: let system include files override machine
17826 include files.
17827
17828 Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17829
17830 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
17831 override _*_T_ definitions defaulted here.
17832
17833 Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
17834
17835 * Makefile.in (install): install the include files in
17836 $(tooldir)/include, not $(exec_prefix)/include.
17837
17838 Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
17839
17840 * Makefile.in (install): fixed typo, and changed install to not
17841 force rebuild of libc.a and libm.a.
17842
17843 Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
17844
17845 * libc/sys/a29khif/*: Changed all .include's to include
17846 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
17847 that they will be installed for the user.
17848
17849 * Makefile.in (all): create targ-include, a directory holding the
17850 machine and system specific header files during the build.
17851 (install): fixed installation of machine and system specific
17852 header files.
17853
17854 * Makefile.in: fixed comment.
17855 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
17856 we can pass $(INCLUDES) to it.
17857
17858 Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
17859
17860 * libc/include/sys/param.h: new generic file, which may be
17861 overridden for specific systems.
17862
17863 * libc/include/sys/signal.h: define all ANSI signal names, and
17864 NSIG (which is not ANSI) for a29k.
17865
17866 Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
17867
17868 * Makefile.in: don't pass down arguments the lower level makes
17869 will not need.
17870 * libc/Makefile.in: recurse directly, rather than using subdir_do,
17871 in hopes of avoiding argument length limits.
17872 * libm/Makefile.in: recurse directly, rather using subdir_do, in
17873 hopes of avoiding argument length limits.
17874
17875 Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
17876
17877 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
17878 mode_t is defined.
17879
17880 Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
17881
17882 * Fixed make info and make install-info for newlib, changing most
17883 Makefile.in and several *.tex files. Moved doc directory from
17884 libc to top level.
17885
17886 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
17887 Should be rewritten.
17888
17889 * libc/string/strings.tex: renamed node index to node index
17890 function, so that it does not conflict with the top level index
17891 node.
17892
17893 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
17894
17895 Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
17896
17897 * Overhauled general configuration for newlib. Eliminated all
17898 target dependent Makefile fragments. Create libraries in newlib
17899 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
17900 than CROSS_CC, et. al. Broke make docs; will fix later.
17901
17902 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
17903 Should be rewritten.
17904
17905 Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
17906
17907 * libc/configure.in: cleaned up somewhat; switch on ${target}
17908 rather than ${target_alias}.
17909 * libm/configure.in: cleaned up somewhat; switch on ${target}
17910 rather than ${target_alias}.
17911
17912 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
17913 * libc/include/ctype.h: marked _ctype_ as _CONST.
17914
17915 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
17916 _CONST.
17917
17918 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
17919 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
17920 libc/stdio/gets.c (gets): removed non-ANSI warning message.
17921 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
17922
17923 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
17924 bigtens, tinytens): marked arrays _CONST.
17925 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
17926 rather than a static variable.
17927
17928 * libc/time/asctime.c (asctime), libc/time/localtime.c
17929 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
17930 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
17931 mname_len, mname): Marked static arrays _CONST.
17932
17933 * libm/math/gamma.h: made local variables non-static.
17934
17935 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
17936 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
17937 _CONST.
17938
17939 * libm/math/constants.c: removed file, because the constants it
17940 defined were never referenced.
17941 libm/math/Makefile.in: removed references to constants.c.
17942 libm/math/mathimpl.h: removed declarations of constants.
17943
17944 Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
17945
17946 * libc/include/machine/varargs.h: only call __builtin_saveregs if
17947 it is sensibly defined in libgcc2. Checks preprocessor defines,
17948 which is not a good solution.
17949
17950 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
17951
17952 * libm/frexp.c: handle denormalized numbers as arguments.
17953
17954 * libm/math/Makefile.in: added some dependencies for .c files
17955 which include local .h files.
17956
17957 Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
17958
17959 * libc/configure.in: set target_alias for OSE*. Replace
17960 target_makefile_frag if it is blank.
17961
17962 * libc/Makefile.in: make sure everything is passed to subsidiary
17963 makes; create all directories when installing.
17964
17965 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
17966 CROSS_ARUPDATE instead of AR.
17967
17968 * libm/configure.in: set target_alias for OSE*. Replace
17969 target_makefile_frag if it is blank.
17970
17971 * libm/Makefile.in: make sure everything is passed to subsidiary
17972 makes; create all directories when installing.
17973
17974 Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
17975
17976 * add following change from libc copy.
17977
17978 Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17979
17980 * libc/libc.texinfo: make copyright disclaimers appear on back of
17981 title page; make format of same slightly less ugly; avoid using
17982 underbars in section headings (avoids nasty texinfo bug in table
17983 of contents).
17984
17985 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
17986 comments only) avoid using underbars in section headings
17987
17988 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
17989 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
17990 changes in comments only): shorten headings ieeefp/infinity.c,
17991 ieeefp/isnan.c: (doc, comments only) more informative headings
17992
17993 * libc/math/bessel.c: (doc, comments only) shorten heading
17994
17995 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
17996 (doc, comments only) shorten headings
17997
17998 * libc/time/localtime.c (doc, comments only): shorten headings
17999
18000 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
18001 isnan
18002 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
18003 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
18004 headings
18005 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
18006 only) more informative headings
18007 * libm/math/bessel.c: (doc, comments only) shorten heading
18008
18009 Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18010
18011 * .../Makefile.in: use CROSS_ARUPDATE consistently.
18012 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
18013 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
18014 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
18015 defined, the one from the .mt file will be correct.
18016 * libc/include/machine, libc/include/sys: created, and populated
18017 with common files from machine/*/machine. ifdefs were used for
18018 most, typically by handling exceptions first and then filling in
18019 defaults. Files with D.J. Delorie copyright #included rather than
18020 copied. Most files in include/sys really were the same in the
18021 original.
18022 * libc/include/...: cleaned up use of _EXFUN.
18023 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
18024 it with double quotes, not angles.
18025
18026 Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
18027
18028 * libc/Makefile.in: always create installation directories.
18029
18030 Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
18031
18032 * libc/configure.in: handle host properly (using canonical
18033 triples), better error message for the case of target not found
18034
18035 Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
18036
18037 * libc/Makefile.in (insincdir): Ensure this directory exists
18038 before attempting installation.
18039
18040 Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18041
18042 * libc/stdlib/assert.c: now calls abort like it should
18043 * libc/sys/a29khif: many many patches for 29khif work
18044 * libc/machine/i386: gnulib2 expanded there.
18045
18046 Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18047
18048 Added accurate fp conversion routines to stdlib, moved dcvt from
18049 stdio to stdlib and called it ecvtbuf:
18050 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
18051 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
18052 routines
18053 * libc/libc.texinfo: Modifed to include the copyright info from
18054 the mprec files
18055 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
18056 * libc/test/ : many vector which tested for the implementation
18057 defined returns of strange conversion requests have been updated
18058 to relflect the new implementation
18059
18060 Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18061
18062 * libc/libc.texinfo: new chapter on variable arg lists
18063 (stdarg.h/varargs.h)
18064 * libc/libc.texinfo: new title
18065 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
18066 (doc only) shorter headings for better formatting.
18067
18068 Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18069
18070 * libc/libc.texinfo: three more info menu entries
18071 * libc/locale/locale.tex: new chapter
18072 * libc/locale/locale.c: new doc for setlocale, localeconv
18073 * libc/locale/Makefile.in: use new locale doc
18074 * libc/signal/signal.tex: new chapter
18075 * libc/signal/raise.c, libc/signal/signal.c: new doc
18076 * libc/signal/Makefile.in: use new doc
18077 * libc/time/time.tex: new chapter
18078 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
18079 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
18080 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
18081 * libc/time/Makefile.in: use new doc
18082
18083 Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18084
18085 * libm/math/log1p.c: split to use the new function way of float
18086 function definition. math/log1p.h deleted
18087 * libm/math/scalb.c: obsolete and deleted
18088 * libm/math/scalbn.c: created from part log1p.c
18089 * libm/math/Makefile.in: know about log1p and scalbn
18090
18091 Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18092
18093 * libc/ctype/isupper.c: revise doc;
18094 libc/ctype/ctype.tex: use doc from isupper.c
18095
18096 * libc/string/bzero.c: new doc
18097
18098 Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18099
18100 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
18101 new doc
18102 * libc/stdlib/Makefile.in: extract new doc
18103 * libc/stdlib/stdlib.tex: use new doc
18104
18105 * libc/string/strerror.c: expanded doc.
18106
18107 * libc/stdio/Makefile.in: extract doc from more files
18108 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
18109 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
18110 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
18111 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
18112 libc/stdio/vsprintf.c: new doc
18113 * libc/stdio/stdio.tex: use new doc
18114
18115 Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18116
18117 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
18118 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
18119 finitef functions.
18120 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
18121 time ago.
18122
18123 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
18124 * libc/stdio/setbuf.c: added ansi style definition.
18125 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
18126 buffer if none provided.
18127 * libc/stdio/tmpfile.c: lint
18128 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
18129 rather than using static, also make sure file isn't already
18130 present. Uses P_tmpdir. (tempnam): rewritten to use new
18131 subroutine, and uses P_tmpdir.
18132 * libc/stdio/siprintf.c: created
18133
18134 Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18135
18136 Release 1.03 for NEC, major mods. Main differences from release
18137 1.02::
18138
18139 More tests in test/:
18140 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
18141 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
18142 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
18143 get/set mask, get/set sticky and get/set roundtoi. Tests
18144 that setting the bits changes the way arithmetic is done.
18145 * string.c: added test to make sure memcmp does it with unsigned
18146 chars.
18147 * test.c: cleaned up and removed lint.
18148 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
18149 dvec.c: tests for string to value conversions, sprintf, scanf,
18150 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
18151 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
18152 rounding in sprintf too.
18153 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
18154 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
18155 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
18156 and function form.
18157 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
18158 powf
18159
18160 In the library:
18161 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
18162 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
18163 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
18164 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
18165 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
18166 than sprintf.
18167 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
18168 * Method of producting float versions of double functions has
18169 changed, functions will be modified gradually. So far:
18170 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
18171 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
18172 altered
18173 * libc/string/memcmp.c: now uses unsigned chars
18174 * libc/string/bcmp.c, libc/string/strcpy.c,
18175 libc/stsring/strxfrm.c: fixed doc
18176 * libc/sys/sysvnecv70.tex: fix example of sbrk code
18177 \f
18178 Local Variables:
18179 version-control: never
18180 End:
This page took 0.779582 seconds and 6 git commands to generate.