]> sourceware.org Git - newlib-cygwin.git/blob - newlib/ChangeLog
* libc/reent/getreent.c: Allow for case where __getreent is
[newlib-cygwin.git] / newlib / ChangeLog
1 2007-09-06 Brian Dessent <brian@dessent.net>
2
3 * libc/reent/getreent.c: Allow for case where __getreent is
4 defined as a macro.
5
6 2007-09-06 Jeff Johnston <jjohnstn@redhat.com>
7
8 * libc/include/math.h (_M_LOG2E): New log2 of e macro.
9 (log2): Use _M_LOG2E instead of M_LOG2E.
10 (log2f): Ditto.
11 (M_LOG2E): Define to be _M_LOG2E.
12
13 2007-09-04 Kazunori Asayama <asayama@sm.sony.co.jp>
14
15 * libm/math/wf_tgamma.c: Add missing include.
16
17 2007-08-31 Antony King <antony.king@st.com>
18
19 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS}: Define IEEE_Arith
20 bits and redefine associated dword0 macro (rvalue issue).
21 * libc/stdio/vfieeefp.h: Ditto.
22 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
23 to prevent setting dword1 which is an rvalue only.
24
25 2007-08-28 Hans Kester <hans.kester@ellips.nl>
26
27 * configure.host: Added support for x86_64.
28 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for x86_64.
29 * libc/include/machine/setjmp.h: Define _JBTYPE and _JBLEN for x86_64.
30 * libc/machine/x86_64/aclocal.m4: Generated.
31 * libc/machine/x86_64/configure.in: New.
32 * libc/machine/x86_64/configure: Generated.
33 * libc/machine/x86_64/Makefile.am: New.
34 * libc/machine/x86_64/Makefile.in: Generated.
35 * libc/machine/x86_64/setjmp.S: New.
36 * libc/machine/x86_64/memcpy.S: New.
37 * libc/machine/x86_64/memset.S: New.
38 * libc/machine/configure.in: Added support for x86_64.
39 * libc/machine/configure: Regenerated.
40
41 2007-08-24 Jeff Johnston <jjohnstn@redhat.com>
42
43 * libm/common/sf_lround.c (lroundf): Cast sizeof calculation
44 to int before comparing it to a signed int value.
45
46 2007-08-24 Hans-Peter Nilsson <hp@axis.com>
47
48 * libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
49 (EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP):
50 Define.
51
52 2007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
53
54 Reduce the memory consumption of variable argument functions
55 for SPU (cell):
56 * libc/machine/spu/Makefile.am: Replace printf/scanf family C sources
57 to assembler sources.
58 * libc/machine/spu/Makefile.in: Regenerated.
59 * libc/machine/spu/stdio.c: Add __check_init function wrapping
60 CHECK_INIT macro to use from assembler routines.
61 * libc/machine/spu/c99ppe.h: Add definitions for assembler code.
62 * libc/machine/spu/fiprintf.S: New file.
63 * libc/machine/spu/fiscanf.S: Ditto.
64 * libc/machine/spu/fprintf.S: Ditto.
65 * libc/machine/spu/fscanf.S: Ditto.
66 * libc/machine/spu/iprintf.S: Ditto.
67 * libc/machine/spu/iscanf.S: Ditto.
68 * libc/machine/spu/printf.S: Ditto.
69 * libc/machine/spu/scanf.S: Ditto.
70 * libc/machine/spu/siprintf.S: Ditto.
71 * libc/machine/spu/siscanf.S: Ditto.
72 * libc/machine/spu/sniprintf.S: Ditto.
73 * libc/machine/spu/snprintf.S: Ditto.
74 * libc/machine/spu/sprintf.S: Ditto.
75 * libc/machine/spu/sscanf.S: Ditto.
76 * libc/machine/spu/stack_reg_va.S: Ditto.
77 * libc/machine/spu/syscall.def: Ditto. (for maintenance)
78 * libc/machine/spu/mk_syscalls: Ditto. (for maintenance)
79 * libc/machine/spu/fiprintf.c: Removed. (Replaced by .S)
80 * libc/machine/spu/fiscanf.c: Ditto.
81 * libc/machine/spu/fprintf.c: Ditto.
82 * libc/machine/spu/fscanf.c: Ditto.
83 * libc/machine/spu/iprintf.c: Ditto.
84 * libc/machine/spu/iscanf.c: Ditto.
85 * libc/machine/spu/printf.c: Ditto.
86 * libc/machine/spu/scanf.c: Ditto.
87 * libc/machine/spu/siprintf.c: Ditto.
88 * libc/machine/spu/siscanf.c: Ditto.
89 * libc/machine/spu/sniprintf.c: Ditto.
90 * libc/machine/spu/snprintf.c: Ditto.
91 * libc/machine/spu/sprintf.c: Ditto.
92 * libc/machine/spu/sscanf.c: Ditto.
93
94 2007-08-03 Ralf Corsepius <ralf.corsepius@rtems.org>
95
96 * libc/include/tar.h: New.
97
98 2007-08-03 Jeff Johnston <jjohnstn@redhat.com>
99
100 * libc/sys/linux/intl/Makefile.am: Change stpcpy reference to
101 lcl_stpcpy to avoid conflict with new stpcpy.c in libc/string.
102 * libc/sys/linux/intl/Makefile.in: Regenerated.
103 * libc/sys/linux/intl/stpcpy.c: Renamed to...
104 * libc/sys/linux/intl/lcl_stpcpy.c: ..this.
105
106 2007-08-02 Eric Blake <ebb9@byu.net>
107
108 Implement fmemopen and open_memstream.
109 * libc/stdio/fmemopen.c (_fmemopen_r, fmemopen): New file.
110 * libc/stdio/open_memstream.c (_open_memstream_r, open_memstream):
111 New file.
112 * libc/stdio/fopencookie.c (fcwriter): Minor optimization.
113 * libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x
114 functions together.
115 (fmemopen, open_memstream): Declare new functions.
116 * libc/stdio/stdio.tex: Document them.
117 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Add
118 fmemopen and open_memstream.
119 * libc/stdio/Makefile.in: Regenerate.
120
121 2007-07-31 Eric Blake <ebb9@byu.net>
122
123 More POSIX stream corner cases.
124 * libc/stdio/findfp.c (__sinit): Open stderr read/write.
125 * libc/stdio/fdopen.c (_fdopen_r): Set O_APPEND on fd when
126 requested.
127 * libc/stdio64/fdopen64.c (_fdopen64_r): Likewise.
128
129 2007-07-18 Eric Blake <ebb9@byu.net>
130
131 Fix 'make info'.
132 * libc/stdio/stdio.tex: Add missing include.
133 * libc/stdio/vfprintf.c: Use expected node name.
134 * libc/stdio/vfscanf.c: Likewise.
135 * libc/stdio/sscanf.c: Likewise.
136 * libc/stdio/sprintf.c: Likewise.
137 * libc/stdio/siscanf.c: Likewise.
138 * libc/stdio/siprintf.c: Likewise.
139 * libc/stdio/fopencookie.c: Quote raw {}.
140 Reported by DJ Delorie.
141
142 2007-07-13 Eric Blake <ebb9@byu.net>
143
144 Fix fflush issues.
145 * libc/stdio/fflush.c (_fflush_r): New function.
146 (fflush): Fix reentrancy and large offset behavior.
147 * libc/include/stdio.h (_fflush_r): Add prototype.
148 * libc/stdio/fclose.c (_fclose_r): All fflush callers changed.
149 * libc/stdio/freopen.c (_freopen_r): Likewise.
150 * libc/stdio/fseek.c (_fseek_r): Likewise.
151 * libc/stdio/ftell.c (_ftell_r): Likewise.
152 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
153 * libc/stdio/refill.c (__srefill_r): Likewise.
154 * libc/stdio/setvbuf.c (setvbuf): Likewise.
155 * libc/stdio/ungetc.c (_ungetc_r): Likewise.
156 * libc/stdio/vfprintf.c (__sbprintf): Likewise.
157 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
158 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
159 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise. Defer to
160 32-bit version if not large file.
161 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
162 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.
163
164 Documentation updates.
165 * libc/stdio/ungetc.c: Document ungetc.
166 * libc/stdio/Makefile.am (CHEWOUT_FILES): Sort, match current list
167 of files with documentation.
168 * libc/stdio/Makefile.in: Regenerate.
169 * libc/stdio/stdio.tex: Sort and update stdio documentation index.
170
171 2007-07-11 Jeff Johnston <jjohnstn@redhat.com>
172
173 * libc/include/math.h: Fix so C99 functions/macros are accessible
174 when -std=c99 is used when compiling and not when using C89.
175
176 2007-07-06 Corinna Vinschen <corinna@vinschen.de>
177
178 * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul,
179 wcstoull, _wcstol_r, _wcstoll_r, _wcstoul_r and _wcstoull_r.
180 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstol.c and wcstoul.c.
181 (EXTENDED_SOURCES): Add wcstoll.c, wcstoll_r.c, wcstoull.c and
182 wcstoull_r.c.
183 (CHEWOUT_FILES): Add .def files accordingly.
184 * libc/stdlib/Makefile.in: Regenerate.
185 * libc/stdlib/stdlib.tex: Add documentation links for above functions.
186 * libc/stdlib/strtoll.c: Fix portability note.
187 * libc/stdlib/strtoull.c: Ditto.
188 * libc/stdlib/wcstol.c: New file.
189 * libc/stdlib/wcstoll.c: New file.
190 * libc/stdlib/wcstoll_r.c: New file.
191 * libc/stdlib/wcstoul.c: New file.
192 * libc/stdlib/wcstoull.c: New file.
193 * libc/stdlib/wcstoull_r.c: New file.
194
195 2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
196
197 * libc/include/sys/time.h (gettimeofday): Change to proper
198 prototype where second parameter is void *.
199 * libc/reent/gettimeofdayr.c (_gettimeofday_r): Change prototype
200 accordingly.
201 * libc/include/reent.h: Fix prototype for _gettimeofday_r.
202 * libc/sys/arm/syscalls.c: Fix gettimeofday function signature.
203 * libc/sys/rdos/gettod.c: Ditto.
204 * libc/sys/sh/syscalls.c: Ditto.
205 * libc/time/time.c (time): Change call to _gettimeofday_r
206 to pass NULL as 2nd argument.
207
208 2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
209
210 * libc/sys/linux/intl/dcigettext.c: Define HAVE_STPCPY.
211 * libc/sys/linux/intl/l10nflist.c: Ditto.
212
213 2007-07-04 Corinna Vinschen <corinna@vinschen.de>
214
215 * libc/include/wchar.h: Add prototype for wcsxfrm.
216 * libc/string/Makefile.am (GENERAL_SOURCES): Add wcsxfrm.c.
217 (CHEWOUT_FILES): Add wcsxfrm.def.
218 * libc/string/Makefile.in: Regenerate.
219 * libc/string/wcsxfrm.c: New file.
220 * libc/string/wcstrings.tex: Add wcsxfrm.
221
222 2007-06-28 Corinna Vinschen <corinna@vinschen.de>
223
224 * libc/include/string.h: Add prototypes for stpcpy and stpncpy.
225 * libc/string/Makefile.am (ELIX_SOURCES): Add stpcpy.c and
226 stpncpy.c.
227 (CHEWOUT_FILES): Add stpcpy.def and stpncpy.def.
228 * libc/string/Makefile.in: Regenerate.
229 * libc/string/stpcpy.c: New file.
230 * libc/string/stpncpy.c: New file.
231 * libc/string/strings.tex: Add stpcpy and stpncpy.
232
233 2007-06-27 Eric Blake <ebb9@byu.net>
234
235 Support __func__ in assert, as required by C99.
236 * libc/stdlib/assert.c (__assert_func): New function.
237 (__assert): Use __assert_func.
238 * libc/include/assert.h (assert) [!NDEBUG]: Use __assert_func when
239 possible.
240
241 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
242
243 * libc/machine/spu/perror.c: Pass errno as the second argument to
244 the assist call.
245
246 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
247
248 * libc/include/sys/unistd.h[__SPU__]: Add lockf prototype and related
249 defines; expose ftruncate, truncate and sync prototypes.
250
251 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
252
253 * libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible.
254 * libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes
255 visible.
256
257 2007-06-15 Patrick Mansfield <patmans@us.ibm.com>
258
259 * libc/machine/spu/Makefile.am: Remove mktemp.c, it was left in
260 from a dropped patch.
261 * libc/machine/spu/Makefile.in: Regenerate.
262
263 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
264
265 * libc/machine/spu/creat.c: New file copied from libc/posix/creat.c,
266 it just calls open with appropriate arguments.
267 * libc/machine/spu/Makefile.am: Add creat.c.
268 * libc/machine/spu/Makefile.in: Regenerate.
269
270 2007-06-13 Jeff Johnston <jjohnstn@redhat.com>
271
272 * libc/machine/spu/Makefile.am: Re-add back setjmp.S which
273 I accidentally dropped.
274 * libc/machine/spu/Makefile.in: Regenerated.
275
276 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
277
278 * libc/include/sys/features.h: Define _POSIX_TIMERS for spu.
279 * libc/include/sys/unistd.h: Change usleep prototype to Posix
280 form and move outside of OS flag checks.
281 * libc/machine/spu/Makefile.am: Add sleep and usleep.
282 * libc/machine/spu/Makefile.in: Regenerate.
283 * libc/machine/spu/sleep.c: Copy libc/posix/sleep.c.
284 * libc/machine/spu/usleep.c: Copy libc/posix/usleep.c.
285
286 2007-06-11 Corinna Vinschen <corinna@vinschen.de>
287
288 * libc/include/sys/unistd.h: Declare confstr for Cygwin.
289 Define confstr constants for Cygwin. Add comment.
290
291 2007-06-10 Hans-Peter Nilsson <hp@bitrange.com>
292
293 * libc/sys/mmixware/access.c (access): Do not try to use a magic
294 file-handle and a direct syscall, just use _open.
295 * libc/sys/mmixware/sys/syscall.h (TMPFNO): Remove this magic
296 file-handle.
297
298 * libc/sys/mmixware/_exit.c (_exit): Update comment about
299 passing on the exit value.
300
301 2007-06-08 Jeff Johnston <jjohnstn@redhat.com>
302
303 * libc/string/strcasestr.c: New file.
304 * libc/include/string.h: Add strcasestr.
305 * libc/string/strings.tex: Add strcasestr.
306 * libc/string/Makefile.am: Ditto.
307 * libc/string/Makefile.in: Regenerated.
308
309 2007-06-06 Christian Groessler <chris@groessler.org>
310
311 * libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
312 rnd is done after the last local variable declaration.
313
314 2007-06-06 Jeff Johnston <jjohnstn@redhat.com>
315
316 * libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.
317
318 2007-06-05 Christian Groessler <chris@groessler.org>
319
320 * libc/argz/argz_insert.c (argz_insert): Move delta variable
321 declaration to top of function in keeping with C89 standard.
322
323 2007-06-04 Eric Blake <ebb9@byu.net>
324
325 Implement funopen, fopencookie.
326 * libc/include/sys/reent.h (struct __sFILE, struct __sFILE64):
327 Switch to reentrant callbacks.
328 * libc/include/stdio.h (funopen): Fix declaration.
329 (fopencookie): Declare.
330 * libc/stdio/local.h (__sread, __swrite, __sseek, __sclose)
331 (__sseek64, __swrite64): Fix prototypes.
332 [__SCLE]: Pull in setmode declaration.
333 * libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix
334 reentrancy.
335 * libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete.
336 (__sseek64, __swrite64): Fix reentrancy.
337 * libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
338 reentrancy.
339 * libc/stdio/ftell.c (_ftell_r): Likewise.
340 * libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+".
341 * libc/stdio/fclose.c (_fclose_r): Fix reentrancy.
342 * libc/stdio/freopen.c (_freopen_r): Likewise.
343 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
344 * libc/stdio/refill.c (__srefill_r): Likewise.
345 * libc/stdio/siscanf.c (eofread): Likewise.
346 * libc/stdio/sscanf.c (eofread): Likewise.
347 * libc/stdio/vsiscanf.c (eofread1): Likewise.
348 * libc/stdio/vsscanf.c (eofread1): Likewise.
349 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
350 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
351 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
352 * libc/stdio/fflush.c (fflush): Improve reentrancy, although more
353 could be fixed.
354 * libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file.
355 * libc/stdio/funopen.c (_funopen_r, funopen): New file.
356 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build
357 new files.
358 * libc/stdio/Makefile.in: Regenerate.
359
360 2007-05-29 Eric Blake <ebb9@byu.net>
361
362 Avoid more compiler warnings.
363 * libc/stdlib/btowc.c: Add missing header.
364 * libc/stdlib/getopt.c (getopt_internal): Initialize variable.
365 * libc/stdlib/system.c (do_system) [__CYGWIN__]: Add declaration.
366 * libc/stdlib/wctob.c: Add missing header.
367 * libc/string/strcpy.c (strcpy): Avoid warnings.
368 * libc/string/strrchr.c (strrchr): Likewise.
369
370 2007-05-29 Corinna Vinschen <corinna@vinschen.de>
371
372 * libc/argz/argz_add_sep.c (argz_add_sep): Handle empty string
373 argument.
374 * libc/argz/argz_append.c (argz_append): Handle empty buf argument.
375 * libc/argz/argz_create_sep.c (argz_create_sep): Return (NULL, 0)
376 on empty input strings.
377 * libc/argz/argz_extract.c (argz_extract): Check argz_len before
378 looping through argz.
379 * libc/argz/argz_stringify.c (argz_stringify): Ditto.
380
381 2007-05-27 Brian Dessent <brian@dessent.net>
382
383 * libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
384 handling %p.
385
386 2007-05-25 Eric Blake <ebb9@byu.net>
387
388 * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
389
390 2007-05-24 Steve Ellcey <sje@cup.hp.com>
391 Charles Wilson <libtool@cwilson.fastmail.fm>
392
393 * libtool.m4: removed
394 * configure.in: invoke _LD_DECL_SED before conditionally initializing
395 libtool. Move AC_PROG_AWK outside conditional.
396 * libc/sys/linux/configure.in: Ditto.
397 * libc/sys/linux/linuxthreads/configure.in: Ditto.
398 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
399 * libc/sys/linux/machine/i386/configure.in: Ditto.
400
401 * iconvdata/configure.in: invoke _LD_DECL_SED before conditionally
402 initializing libtool.
403 * libc/configure.in: Ditto.
404 * libc/machine/configure.in: Ditto.
405 * libc/machine/i386/configure.in: Ditto.
406 * libc/sys/configure.in: Ditto.
407 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
408 * libc/sys/linux/machine/configure.in: Ditto.
409 * libm/configure.in: Ditto.
410 * libm/machine/configure.in: Ditto.
411
412 * Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
413 * doc/Makefile.am: Ditto.
414 * iconvdata/Makefile.am: Ditto.
415 * libc/Makefile.am: Ditto.
416 * libc/machine/Makefile.am: Ditto.
417 * libc/machine/a29k/Makefile.am: Ditto.
418 * libc/machine/arm/Makefile.am: Ditto.
419 * libc/machine/bfin/Makefile.am: Ditto.
420 * libc/machine/cris/Makefile.am: Ditto.
421 * libc/machine/crx/Makefile.am: Ditto.
422 * libc/machine/d10v/Makefile.am: Ditto.
423 * libc/machine/d30v/Makefile.am: Ditto.
424 * libc/machine/fr30/Makefile.am: Ditto.
425 * libc/machine/frv/Makefile.am: Ditto.
426 * libc/machine/h8300/Makefile.am: Ditto.
427 * libc/machine/h8500/Makefile.am: Ditto.
428 * libc/machine/hppa/Makefile.am: Ditto.
429 * libc/machine/i386/Makefile.am: Ditto.
430 * libc/machine/i960/Makefile.am: Ditto.
431 * libc/machine/iq2000/Makefile.am: Ditto.
432 * libc/machine/m32c/Makefile.am: Ditto.
433 * libc/machine/m32r/Makefile.am: Ditto.
434 * libc/machine/m68hc11/Makefile.am: Ditto.
435 * libc/machine/m68k/Makefile.am: Ditto.
436 * libc/machine/m88k/Makefile.am: Ditto.
437 * libc/machine/mips/Makefile.am: Ditto.
438 * libc/machine/mn10200/Makefile.am: Ditto.
439 * libc/machine/mn10300/Makefile.am: Ditto.
440 * libc/machine/mt/Makefile.am: Ditto.
441 * libc/machine/necv70/Makefile.am: Ditto.
442 * libc/machine/powerpc/Makefile.am: Ditto.
443 * libc/machine/sh/Makefile.am: Ditto.
444 * libc/machine/sparc/Makefile.am: Ditto.
445 * libc/machine/spu/Makefile.am: Ditto.
446 * libc/machine/tic4x/Makefile.am: Ditto.
447 * libc/machine/tic80/Makefile.am: Ditto.
448 * libc/machine/v850/Makefile.am: Ditto.
449 * libc/machine/w65/Makefile.am: Ditto.
450 * libc/machine/xscale/Makefile.am: Ditto.
451 * libc/machine/xstormy16/Makefile.am: Ditto.
452 * libc/machine/z8k/Makefile.am: Ditto.
453 * libc/sys/Makefile.am: Ditto.
454 * libc/sys/a29khif/Makefile.am: Ditto.
455 * libc/sys/arc/Makefile.am: Ditto.
456 * libc/sys/arm/Makefile.am: Ditto.
457 * libc/sys/d10v/Makefile.am: Ditto.
458 * libc/sys/decstation/Makefile.am: Ditto.
459 * libc/sys/h8300hms/Makefile.am: Ditto.
460 * libc/sys/h8500hms/Makefile.am: Ditto.
461 * libc/sys/linux/Makefile.am: Ditto.
462 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
463 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
464 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
465 * libc/sys/linux/machine/Makefile.am: Ditto.
466 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
467 * libc/sys/m88kbug/Makefile.am: Ditto.
468 * libc/sys/mmixware/Makefile.am: Ditto.
469 * libc/sys/netware/Makefile.am: Ditto.
470 * libc/sys/rdos/Makefile.am: Ditto.
471 * libc/sys/rtems/Makefile.am: Ditto.
472 * libc/sys/sh/Makefile.am: Ditto.
473 * libc/sys/sparc64/Makefile.am: Ditto.
474 * libc/sys/sun4/Makefile.am: Ditto.
475 * libc/sys/sysmec/Makefile.am: Ditto.
476 * libc/sys/sysnec810/Makefile.am: Ditto.
477 * libc/sys/sysnecv850/Makefile.am: Ditto.
478 * libc/sys/sysvi386/Makefile.am: Ditto.
479 * libc/sys/sysvnecv70/Makefile.am: Ditto.
480 * libc/sys/tic80/Makefile.am: Ditto.
481 * libc/sys/w65/Makefile.am: Ditto.
482 * libc/sys/z8ksim/Makefile.am: Ditto.
483 * libm/Makefile.am: Ditto.
484 * libm/machine/Makefile.am: Ditto.
485 * libm/machine/i386/Makefile.am: Ditto.
486 * libm/machine/spu/Makefile.am: Ditto.
487
488 * aclocal.m4: Regenerate.
489 * iconvdata/aclocal.m4: Regenerate.
490 * libc/aclocal.m4: Regenerate.
491 * libc/machine/aclocal.m4: Regenerate.
492 * libc/machine/i386/aclocal.m4: Regenerate.
493 * libc/sys/aclocal.m4: Regenerate.
494 * libc/sys/linux/aclocal.m4: Regenerate.
495 * libc/sys/linux/linuxthreads/aclocal.m4: Regenerate.
496 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Regenerate.
497 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Regenerate.
498 * libc/sys/linux/machine/aclocal.m4: Regenerate.
499 * libc/sys/linux/machine/i386/aclocal.m4: Regenerate.
500 * libm/aclocal.m4: Regenerate.
501 * libm/machine/aclocal.m4: Regenerate.
502 * libm/machine/i386/aclocal.m4: Regenerate.
503
504 * Makefile.in: Regenerate.
505 * doc/Makefile.in: Regenerate.
506 * iconvdata/Makefile.in: Regenerate.
507 * libc/Makefile.in: Regenerate.
508 * libc/argz/Makefile.in: Regenerate.
509 * libc/ctype/Makefile.in: Regenerate.
510 * libc/errno/Makefile.in: Regenerate.
511 * libc/iconv/Makefile.in: Regenerate.
512 * libc/iconv/ccs/Makefile.in: Regenerate.
513 * libc/iconv/ccs/binary/Makefile.in: Regenerate.
514 * libc/iconv/ces/Makefile.in: Regenerate.
515 * libc/iconv/lib/Makefile.in: Regenerate.
516 * libc/locale/Makefile.in: Regenerate.
517 * libc/machine/Makefile.in: Regenerate.
518 * libc/machine/a29k/Makefile.in: Regenerate.
519 * libc/machine/arm/Makefile.in: Regenerate.
520 * libc/machine/bfin/Makefile.in: Regenerate.
521 * libc/machine/cris/Makefile.in: Regenerate.
522 * libc/machine/crx/Makefile.in: Regenerate.
523 * libc/machine/d10v/Makefile.in: Regenerate.
524 * libc/machine/d30v/Makefile.in: Regenerate.
525 * libc/machine/fr30/Makefile.in: Regenerate.
526 * libc/machine/frv/Makefile.in: Regenerate.
527 * libc/machine/h8300/Makefile.in: Regenerate.
528 * libc/machine/h8500/Makefile.in: Regenerate.
529 * libc/machine/hppa/Makefile.in: Regenerate.
530 * libc/machine/i386/Makefile.in: Regenerate.
531 * libc/machine/i960/Makefile.in: Regenerate.
532 * libc/machine/iq2000/Makefile.in: Regenerate.
533 * libc/machine/m32c/Makefile.in: Regenerate.
534 * libc/machine/m32r/Makefile.in: Regenerate.
535 * libc/machine/m68hc11/Makefile.in: Regenerate.
536 * libc/machine/m68k/Makefile.in: Regenerate.
537 * libc/machine/m88k/Makefile.in: Regenerate.
538 * libc/machine/mips/Makefile.in: Regenerate.
539 * libc/machine/mn10200/Makefile.in: Regenerate.
540 * libc/machine/mn10300/Makefile.in: Regenerate.
541 * libc/machine/mt/Makefile.in: Regenerate.
542 * libc/machine/necv70/Makefile.in: Regenerate.
543 * libc/machine/powerpc/Makefile.in: Regenerate.
544 * libc/machine/sh/Makefile.in: Regenerate.
545 * libc/machine/sparc/Makefile.in: Regenerate.
546 * libc/machine/spu/Makefile.in: Regenerate.
547 * libc/machine/tic4x/Makefile.in: Regenerate.
548 * libc/machine/tic80/Makefile.in: Regenerate.
549 * libc/machine/v850/Makefile.in: Regenerate.
550 * libc/machine/w65/Makefile.in: Regenerate.
551 * libc/machine/xscale/Makefile.in: Regenerate.
552 * libc/machine/xstormy16/Makefile.in: Regenerate.
553 * libc/machine/z8k/Makefile.in: Regenerate.
554 * libc/misc/Makefile.in: Regenerate.
555 * libc/posix/Makefile.in: Regenerate.
556 * libc/reent/Makefile.in: Regenerate.
557 * libc/search/Makefile.in: Regenerate.
558 * libc/signal/Makefile.in: Regenerate.
559 * libc/stdio/Makefile.in: Regenerate.
560 * libc/stdio64/Makefile.in: Regenerate.
561 * libc/stdlib/Makefile.in: Regenerate.
562 * libc/string/Makefile.in: Regenerate.
563 * libc/sys/Makefile.in: Regenerate.
564 * libc/sys/a29khif/Makefile.in: Regenerate.
565 * libc/sys/arc/Makefile.in: Regenerate.
566 * libc/sys/arm/Makefile.in: Regenerate.
567 * libc/sys/d10v/Makefile.in: Regenerate.
568 * libc/sys/decstation/Makefile.in: Regenerate.
569 * libc/sys/h8300hms/Makefile.in: Regenerate.
570 * libc/sys/h8500hms/Makefile.in: Regenerate.
571 * libc/sys/linux/Makefile.in: Regenerate.
572 * libc/sys/linux/argp/Makefile.in: Regenerate.
573 * libc/sys/linux/cmath/Makefile.in: Regenerate.
574 * libc/sys/linux/dl/Makefile.in: Regenerate.
575 * libc/sys/linux/iconv/Makefile.in: Regenerate.
576 * libc/sys/linux/intl/Makefile.in: Regenerate.
577 * libc/sys/linux/linuxthreads/Makefile.in: Regenerate.
578 * libc/sys/linux/linuxthreads/machine/Makefile.in: Regenerate.
579 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerate.
580 * libc/sys/linux/machine/Makefile.in: Regenerate.
581 * libc/sys/linux/machine/i386/Makefile.in: Regenerate.
582 * libc/sys/linux/net/Makefile.in: Regenerate.
583 * libc/sys/linux/stdlib/Makefile.in: Regenerate.
584 * libc/sys/m88kbug/Makefile.in: Regenerate.
585 * libc/sys/mmixware/Makefile.in: Regenerate.
586 * libc/sys/netware/Makefile.in: Regenerate.
587 * libc/sys/rdos/Makefile.in: Regenerate.
588 * libc/sys/rtems/Makefile.in: Regenerate.
589 * libc/sys/sh/Makefile.in: Regenerate.
590 * libc/sys/sparc64/Makefile.in: Regenerate.
591 * libc/sys/sun4/Makefile.in: Regenerate.
592 * libc/sys/sysmec/Makefile.in: Regenerate.
593 * libc/sys/sysnec810/Makefile.in: Regenerate.
594 * libc/sys/sysnecv850/Makefile.in: Regenerate.
595 * libc/sys/sysvi386/Makefile.in: Regenerate.
596 * libc/sys/sysvnecv70/Makefile.in: Regenerate.
597 * libc/sys/tic80/Makefile.in: Regenerate.
598 * libc/sys/w65/Makefile.in: Regenerate.
599 * libc/sys/z8ksim/Makefile.in: Regenerate.
600 * libc/syscalls/Makefile.in: Regenerate.
601 * libc/time/Makefile.in: Regenerate.
602 * libc/unix/Makefile.in: Regenerate.
603 * libm/Makefile.in: Regenerate.
604 * libm/common/Makefile.in: Regenerate.
605 * libm/machine/Makefile.in: Regenerate.
606 * libm/machine/i386/Makefile.in: Regenerate.
607 * libm/machine/spu/Makefile.in: Regenerate.
608 * libm/math/Makefile.in: Regenerate.
609 * libm/mathfp/Makefile.in: Regenerate.
610
611 * configure: Regenerate.
612 * iconvdata/configure: Regenerate.
613 * libc/configure: Regenerate.
614 * libc/machine/configure: Regenerate.
615 * libc/machine/i386/configure: Regenerate.
616 * libc/sys/configure: Regenerate.
617 * libc/sys/linux/configure: Regenerate.
618 * libc/sys/linux/linuxthreads/configure: Regenerate.
619 * libc/sys/linux/linuxthreads/machine/configure: Regenerate.
620 * libc/sys/linux/linuxthreads/machine/i386/configure: Regenerate.
621 * libc/sys/linux/machine/configure: Regenerate.
622 * libc/sys/linux/machine/i386/configure: Regenerate.
623 * libm/configure: Regenerate.
624 * libm/machine/configure: Regenerate.
625 * libm/machine/i386/configure: Regenerate.
626
627 2007-05-23 Eric Blake <ebb9@byu.net>
628
629 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
630 sizeof(void*) is 8 but sizeof(long) is 4.
631 * libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise. Fix %i scanning
632 of "-0x". Support "-nan" and "inf" for %e. Audit usage of ungetc
633 to fix reentrancy and bug on encoding error in multibyte locales.
634 Always return EOF on read error.
635
636 2007-05-23 Patrick Mansfield <patmans@us.ibm.com>
637
638 * libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
639 prototype.
640 * libc/machine/spu/fclose.c: Use the __send_to_ppe return value
641 instead of the slot 0 value, remove any now unused variables, and
642 for some cases, now store the result in an int vs int*.
643 * libc/machine/spu/feof.c: Ditto.
644 * libc/machine/spu/ferror.c: Ditto.
645 * libc/machine/spu/fflush.c: Ditto.
646 * libc/machine/spu/fgetc.c: Ditto.
647 * libc/machine/spu/fgetpos.c: Ditto.
648 * libc/machine/spu/fgets.c: Ditto.
649 * libc/machine/spu/fileno.c: Ditto.
650 * libc/machine/spu/fopen.c: Ditto.
651 * libc/machine/spu/fprintf.c: Ditto.
652 * libc/machine/spu/fputc.c: Ditto.
653 * libc/machine/spu/fputs.c: Ditto.
654 * libc/machine/spu/fread.c: Ditto.
655 * libc/machine/spu/freopen.c: Ditto.
656 * libc/machine/spu/fscanf.c: Ditto.
657 * libc/machine/spu/fseek.c: Ditto.
658 * libc/machine/spu/fsetpos.c: Ditto.
659 * libc/machine/spu/ftell.c: Ditto.
660 * libc/machine/spu/fwrite.c: Ditto.
661 * libc/machine/spu/getc.c: Ditto.
662 * libc/machine/spu/getchar.c: Ditto.
663 * libc/machine/spu/gets.c: Ditto.
664 * libc/machine/spu/printf.c: Ditto.
665 * libc/machine/spu/putc.c: Ditto.
666 * libc/machine/spu/putchar.c: Ditto.
667 * libc/machine/spu/puts.c: Ditto.
668 * libc/machine/spu/remove.c: Ditto.
669 * libc/machine/spu/rename.c: Ditto.
670 * libc/machine/spu/scanf.c: Ditto.
671 * libc/machine/spu/setvbuf.c: Ditto.
672 * libc/machine/spu/snprintf.c: Ditto.
673 * libc/machine/spu/sprintf.c: Ditto.
674 * libc/machine/spu/sscanf.c: Ditto.
675 * libc/machine/spu/tmpfile.c: Ditto.
676 * libc/machine/spu/tmpnam.c: Ditto.
677 * libc/machine/spu/ungetc.c: Ditto.
678 * libc/machine/spu/vfprintf.c: Ditto.
679 * libc/machine/spu/vfscanf.c: Ditto.
680 * libc/machine/spu/vprintf.c: Ditto.
681 * libc/machine/spu/vscanf.c: Ditto.
682 * libc/machine/spu/vsnprintf.c: Ditto.
683 * libc/machine/spu/vsprintf.c: Ditto.
684 * libc/machine/spu/vsscanf.c: Ditto.
685
686 2007-05-23 Eric Blake <ebb9@byu.net>
687
688 * libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
689 Avoid warning when !FLOATING_POINT.
690 * libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS
691 slightly.
692
693 2007-05-23 Corinna Vinschen <vinschen@redhat.com>
694
695 * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
696 to zero.
697 * libc/include/argz.h: Guard against multiple inclusion. Guard for
698 use with C++.
699
700 2007-05-18 Eric Blake <ebb9@byu.net>
701
702 * libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
703 compilers.
704 * libc/stdio/vfscanf.c: Likewise.
705
706 2007-05-17 Cary R. <cygcary <at> yahoo.com>
707
708 * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
709 (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
710 * libm/math/wf_atan2.c: Ditto.
711
712 2007-05-17 Yaakov Selkowitz <yselkowitz <at> users.sourceforge.net>
713
714 * libm/common/Makefile.am: Add support for exp10, exp10f,
715 pow10, and pow10f functions.
716 * libm/common/Makefile.in: Regenerated.
717 * libm/common/s_pow10.c: New file.
718 * libm/common/sf_pow10.c: Ditto.
719 * libm/common/s_exp10.c: Ditto.
720 * libm/common/sf_exp10.c: Ditto.
721 * libc/include/math.h [!pow10]: New pow10 prototype.
722 [!pow10f]: New pow10f prototype.
723 [!exp10]: New exp10 prototype.
724 [!exp10f]: New exp10f prototype.
725
726 2007-05-17 Charles Wilson <cygwin@...>
727
728 * stdio/tmpfile.c: Include <sys/stat.h>.
729 * stdio64/tmpfile64.c: Ditto.
730
731 2007-05-16 Eric Blake <ebb9@byu.net>
732
733 Close security hole in tmpfile.
734 * libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
735 generation and opening the fd.
736 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.
737
738 * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
739 (MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
740 required by POSIX.
741 * libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
742 avoid clash with <math.h>.
743
744 * libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
745 * libc/search/hash.c (__hash_open): Likewise.
746
747 2007-05-14 Eric Blake <ebb9@byu.net>
748
749 Reduce stack size of *printf.
750 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
751 in %f. Avoid malloc when possible for %S.
752 (BUF): Improve stack locality by using smaller size.
753 (MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
754 (exponent): Use smaller stack size.
755
756 2007-05-11 Eric Blake <ebb9@byu.net>
757
758 Minimize printf/scanf size on platforms that don't need C99.
759 * acconfig.h (_WANT_IO_C99_FORMATS): New macro.
760 * newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
761 * configure.in (newlib-io-c99-formats): New configure option.
762 (_WANT_IO_C99_FORMATS): Define appropriately.
763 * configure.host (*-linux*, cygwin): Default c99-formats to yes.
764 * libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
765 Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
766 * libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
767 Likewise.
768 * configure: Regenerate.
769
770 * libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
771 (get_arg): Support '%a' and '%A'.
772
773 2007-05-09 Eric Blake <ebb9@byu.net>
774
775 Allow zero size with non-null buf in *asnprintf.
776 * libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
777 user's buf.
778 * libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
779 * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
780 * libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.
781
782 2007-05-07 Charles Wilson <cygwin@...>
783
784 * libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
785
786 2007-05-03 Eric Blake <ebb9@byu.net>
787
788 Add support for asnprintf, and improve *printf documentation.
789 * libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
790 (ELIX_2_SOURCES): ...to this.
791 (ELIX_4_SOURCES): Add new variable. Build asnprintf.
792 (GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
793 (CHEWOUT_FILES): Include diprintf in documentation.
794 * libc/stdio/Makefile.in: Regenerate.
795 * libc/stdio/diprintf.c: Improve documentation.
796 * libc/stdio/dprintf.c: Likewise.
797 * libc/stdio/siprintf.c: Likewise.
798 * libc/stdio/sprintf.c: Likewise.
799 * libc/stdio/vfprintf.c: Likewise.
800 * libc/stdio/viprintf.c: Likewise.
801 * libc/stdio/vsniprintf.c: Consolidate documentation.
802 * libc/stdio/asiprintf.c: Refer to documentation.
803 * libc/stdio/asprintf.c: Likewise.
804 * libc/stdio/fiprintf.c: Likewise.
805 * libc/stdio/fprintf.c: Likewise.
806 * libc/stdio/iprintf.c: Likewise.
807 * libc/stdio/printf.c: Likewise.
808 * libc/stdio/sniprintf.c: Likewise.
809 * libc/stdio/vdiprintf.c: Likewise.
810 * libc/stdio/vdprintf.c: Likewise.
811 * libc/stdio/vsiprintf.c: Likewise.
812 * libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
813 * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
814 * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
815 * libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
816 file.
817 * libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
818 * libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
819 typical case.
820 * libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
821 * libc/include/stdio.h: Add prototypes for new functions; sort
822 existing functions.
823
824 2007-05-03 Kazu Hirata <kazu@codesourcery.com>
825
826 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
827 and memset.S.
828 * libc/machine/m68k/Makefile.in: Regenerate.
829 * libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
830 * libc/machine/m68k/memset.S: Likewise.
831
832 2007-05-01 Eric Blake <ebb9@byu.net>
833
834 * libc/stdio64/local64.h: Delete, move contents to...
835 * libc/stdio/local.h: ...here.
836 * libc/stdio64/fdopen64.c: Update includes.
837 * libc/stdio64/fopen64.c: Likewise.
838 * libc/stdio64/freopen64.c: Likewise.
839 * libc/stdio64/fseeko64.c: Likewise.
840 * libc/stdio64/ftello64.c: Likewise.
841 * libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
842 and stderr with 64-bit offset.
843 * libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
844 * libc/stdio/makebuf.c (__smakebuf_r): Likewise.
845 * libc/stdio/mktemp.c (_gettemp): Likewise.
846
847 2007-05-01 Cary R. <cygcary <at> yahoo.com>
848
849 * libm/math/e_pow.c: Fix to be consistent with glibc with regards
850 to treatment of NaN and +-inf arguments.
851 * libm/math/ef_pow.c: Ditto.
852 * libm/math/w_pow.c: Ditto.
853 * libm/math/wf_pow.c: Ditto.
854 * libm/math/w_acos.c: Fix domain errors to return NaN.
855 * libm/math/w_asin.c: Ditto.
856 * libm/math/wf_acos.c: Ditto.
857 * libm/math/wf_asin.c: Ditto.
858 * libm/math/w_log.c: Fix to return NaN for negative number inputs.
859 * libm/math/wf_log.c: Ditto.
860 * libm/math/wf_log10.c: Ditto.
861 * libm/math/w_log10.c: Ditto.
862
863 2007-04-27 Jeff Johnston <jjohnstn@redhat.com>
864
865 * libc/machine/m68k/Makefile.am: Temporarily remove
866 memcpy.S and memset.S until logic can be confirmed for
867 !(__mcoldfile__) case.
868 * libc/machine/m68k/Makefile.in: Regenerated.
869
870 2007-04-27 Kazu Hirata <kazu@codesourcery.com>
871
872 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
873 and memset.S.
874 * libc/machine/m68k/Makefile.in: Regenerate.
875 * libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.
876
877 2007-04-26 Patrick Mansfield <patmans@us.ibm.com>
878
879 * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
880 overridden via machine/ieeefp.h.
881 * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
882 macros for isnan and related macros.
883 * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
884 overridden via machine/ieeefp.h.
885 * libm/machine/spu/Makefile.am: Add new files.
886 * libm/machine/spu/Makefile.in: Autogenerate with new files.
887 * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
888 * libm/machine/spu/sf_finite.c: Add SPU specific finitef.
889 * libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
890 * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
891 * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
892 * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
893 * libm/machine/spu/sf_nan.c: Add SPU specific nanf.
894
895 2007-04-25 Jeff Johnston <jjohnstn@redhat.com>
896
897 * libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
898 * libm/common/sf_fpclassify.c: ...here. New file.
899 * libm/common/Makefile.am: Add sf_fpclassify.c.
900 * libm/common/Makefile.in: Regenerated.
901
902 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
903
904 * libc/machine/spu/sys/errno.h: New file, so spu errno values match
905 ppu linux values. This file is a copy of the cris/sys/errno.h plus
906 a few changes (see spu errno.h comments).
907
908 2007-04-25 Eric Blake <ebb9@byu.net>
909
910 * libc/stdio/vfprintf.c (get_arg): Support %1$lc. Simplify types
911 that promote to int.
912
913 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
914
915 * libm/machine/spu/headers/feholdexcept.h: Use *envp not env so
916 we clear the proper bits in the fpscr, and don't set some random ones.
917
918 2007-04-24 Eric Blake <ebb9@byu.net>
919
920 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
921 or NaN with %05f.
922
923 * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
924 _MB_CAPABLE.
925
926 * libc/include/limits.h (NL_ARGMAX): Define a default value.
927 * libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
928 NL_ARGMAX, if present.
929
930 2007-04-23 Brian Dessent <brian@dessent.net>
931
932 * libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
933 has been specified with types 'f', 'F', 'g', or 'G', ensure the
934 trailing decimal is printed.
935
936 2007-04-23 Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
937
938 * confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
939 file. Override Autoconf-2.59's version of these macros with
940 fixed handling of multiple adjacent whitespace in arguments.
941 * aclocal.m4: Regenerated forcefully.
942 * configure: Ditto.
943 * Makefile.in: Ditto.
944 * libc/*Makefile.in: Ditto.
945 * libc/*aclocal.m4: Ditto.
946 * libc/*configure: Ditto.
947 * libm/*Makefile.in: Ditto.
948 * libm/*aclocal.m4: Ditto.
949 * libm/*configure: Ditto.
950
951 2007-04-23 Jeff Johnston <jjohnstn@redhat.com>
952
953 * libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
954 * libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
955 and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
956 * libc/sys/arc/Makefile.in: Regenerated.
957
958 2007-04-17 Brian Dessent <brian@dessent.net>
959
960 * libc/stdio/sscanf.c: Update documentation comments.
961 * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
962
963 2007-04-12 Eric Blake <ebb9@byu.net>
964
965 * libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
966 (chclass): Recognize 'F', 'X', 'n', and not 'W'.
967 (get_arg): Handle %1$F, %1$n.
968
969 2007-04-10 Eric Blake <ebb9@byu.net>
970
971 * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
972 CFLAGS=-O0.
973
974 2007-04-09 Eric Blake <ebb9@byu.net>
975
976 * libc/include/stdio.h: Add gcc format attributes to printf and
977 scanf families.
978
979 2007-04-09 Joel Schopp <jschopp@austin.ibm.com>
980
981 * libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
982 even if the passed in length n is shorter than the source string.
983 This matches both the non-spu specific and the glibc strxfrm
984 behaviour.
985
986 2007-04-04 Mark Mitchell <mark@codesourcery.com>
987
988 * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
989 functions registering additional atexit functions.
990
991 * testsuite/lib/flags.exp (newlib_include_flags): Drop
992 -I${newlib_dir}.
993
994 2007-04-04 Patrick Mansfield <patmans@us.ibm.com>
995
996 * libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
997 prototype.
998 * libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
999 * libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
1000 * libc/machine/spu/fclose.c: Ditto.
1001 * libc/machine/spu/feof.c: Ditto.
1002 * libc/machine/spu/ferror.c: Ditto.
1003 * libc/machine/spu/fflush.c: Ditto.
1004 * libc/machine/spu/fgetc.c: Ditto.
1005 * libc/machine/spu/fgetpos.c: Ditto.
1006 * libc/machine/spu/fgets.c: Ditto.
1007 * libc/machine/spu/fileno.c: Ditto.
1008 * libc/machine/spu/fopen.c: Ditto.
1009 * libc/machine/spu/fprintf.c: Ditto.
1010 * libc/machine/spu/fputc.c: Ditto.
1011 * libc/machine/spu/fputs.c: Ditto.
1012 * libc/machine/spu/fread.c: Ditto.
1013 * libc/machine/spu/freopen.c: Ditto.
1014 * libc/machine/spu/fscanf.c: Ditto.
1015 * libc/machine/spu/fseek.c: Ditto.
1016 * libc/machine/spu/fsetpos.c: Ditto.
1017 * libc/machine/spu/ftell.c: Ditto.
1018 * libc/machine/spu/fwrite.c: Ditto.
1019 * libc/machine/spu/getc.c: Ditto.
1020 * libc/machine/spu/getchar.c: Ditto.
1021 * libc/machine/spu/gets.c: Ditto.
1022 * libc/machine/spu/perror.c: Ditto.
1023 * libc/machine/spu/printf.c: Ditto.
1024 * libc/machine/spu/putc.c: Ditto.
1025 * libc/machine/spu/putchar.c: Ditto.
1026 * libc/machine/spu/puts.c: Ditto.
1027 * libc/machine/spu/remove.c: Ditto.
1028 * libc/machine/spu/rename.c: Ditto.
1029 * libc/machine/spu/rewind.c: Ditto.
1030 * libc/machine/spu/scanf.c: Ditto.
1031 * libc/machine/spu/setbuf.c: Ditto.
1032 * libc/machine/spu/setvbuf.c: Ditto.
1033 * libc/machine/spu/snprintf.c: Ditto.
1034 * libc/machine/spu/sprintf.c: Ditto.
1035 * libc/machine/spu/sscanf.c: Ditto.
1036 * libc/machine/spu/tmpfile.c: Ditto.
1037 * libc/machine/spu/tmpnam.c: Ditto.
1038 * libc/machine/spu/ungetc.c: Ditto.
1039 * libc/machine/spu/vfprintf.c: Ditto.
1040 * libc/machine/spu/vfscanf.c: Ditto.
1041 * libc/machine/spu/vprintf.c: Ditto.
1042 * libc/machine/spu/vscanf.c: Ditto.
1043 * libc/machine/spu/vsnprintf.c: Ditto.
1044 * libc/machine/spu/vsprintf.c: Ditto.
1045 * libc/machine/spu/vsscanf.c: Ditto.
1046
1047 2007-04-04 Jeff Johnston <jjohnstn@redhat.com>
1048
1049 * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
1050
1051 2007-04-04 Eric Blake <ebb9@byu.net>
1052
1053 * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
1054 (asiprintf): Avoid overhead.
1055 * libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
1056 (asprintf): Avoid overhead.
1057 * libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
1058 * libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
1059 * libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
1060 (fiprintf): Avoid overhead.
1061 * libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
1062 (fprintf): Avoid overhead.
1063 * libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
1064 (iprintf): Avoid overhead.
1065 * libc/stdio/printf.c (_printf_r): Use _DEFUN.
1066 (printf): Avoid overhead.
1067 * libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
1068 * libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
1069 * libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
1070 * libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
1071 * libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
1072 * libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
1073 * libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
1074 * libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
1075 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
1076 vdiprintf.c.
1077 * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
1078 (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
1079
1080 2007-03-30 Dave Korn <dave.korn@artimi.com>
1081
1082 * libc/include/stdio.h (_ELIDABLE_INLINE): New macro to conceal
1083 conflicting inline semantics between C99 and GNU89.
1084 (__sgetc_r): Replace static inline with _ELIDABLE_INLINE to be
1085 compatible with -fkeep-inline-functions usage.
1086 (__sputc_r): Likewise for consistency even though disabled.
1087
1088 2007-03-29 Nick Clifton <nickc@redhat.com>
1089
1090 Reflect changes made to generic vfprintf.c:
1091 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
1092 and add a "struct reent *" argument.
1093 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
1094 argument and call _VFPRINTF_R instead of VFPRINTF.
1095 (_VFPRINTF_R): Add data pointer to call to cantwrite().
1096 Fix uses of __sprint() and __sbprintf.
1097
1098 2007-03-20 Nick Clifton <nickc@redhat.com>
1099
1100 Reflect changes made to generic vfprintf.c:
1101 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
1102 and add a "struct reent *" argument.
1103 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
1104 argument and call _VFPRINTF_R instead of VFPRINTF.
1105 (_VFPRINTF_R): Add data pointer to call to cantwrite().
1106 Fix uses of __sprint() and __sbprintf.
1107
1108 2007-03-16 Charles Wilson <cygwin@...>
1109
1110 * libc/argz/argz_insert.c: "before" pointer is
1111 invalid after *argz realloc. Compute offset
1112 between "before" and *argz, and use it after
1113 reallocation instead.
1114
1115 2007-03-16 Eric Blake <ebb9@byu.net>
1116
1117 * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
1118 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
1119
1120 2007-03-15 Jeff Johnston <jjohnstn@redhat.com>
1121
1122 * configure.in: Add new --enable-newlib-reent-small option.
1123 * configure: Regenerated.
1124 * acconfig.h: Add _WANT_REENT_SMALL.
1125 * newlib.hin: Regenerated minus PACKAGE macros to add
1126 _WANT_REENT_SMALL macro.
1127 * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
1128 if not already set.
1129 * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
1130 there is no buffer.
1131 * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
1132 use reentrant pointer passed in when resetting the file
1133 pointer to one of the std streams.
1134
1135 2007-03-15 Eric Blake <ebb9@byu.net>
1136
1137 * libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
1138 (__smakebuf): Rename...
1139 (__smakebuf_r): to this.
1140 * libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
1141 * libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
1142 allocation, then rename...
1143 (__smakebuf_r): ...to this and fix reentrancy.
1144 * libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
1145 allocation, then rename...
1146 (__swsetup_r): ...to this and fix reentrancy.
1147 * libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
1148 * libc/stdio/refill.c (__srefill_r): Likewise.
1149 * libc/stdio/fclose.c (_fclose_r): Likewise.
1150 * libc/stdio/fread.c (_fread_r): Likewise.
1151 * libc/stdio/freopen.c (_freopen_r): Likewise.
1152 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
1153 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
1154 * libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
1155 failed asprintf allocation, and fix reentrancy.
1156 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
1157 as required by POSIX.
1158 * libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
1159 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
1160 * libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
1161
1162 2007-03-12 Eric Blake <ebb9@byu.net>
1163
1164 * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
1165 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
1166 allocation to caller.
1167 * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
1168 * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
1169 * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
1170
1171 2007-02-23 Jeff Johnston <jjohnstn@redhat.com>
1172
1173 * libm/math/w_pow.c: Fix typo in documentation comment.
1174
1175 2007-02-21 Patrick Mansfield <patmans@us.ibm.com>
1176
1177 * libc/reent/timer.c: Removed (split into two new files).
1178 * libc/reent/timesr.c: New file for _times_r.
1179 * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
1180 * reent/Makefile.in: Remove timer.c, add timesr.c and
1181 gettimeofdayr.c.
1182 * libc/reent/Makefile.am: Regenerate.
1183
1184 2007-02-20 Patrick Mansfield <patmans@us.ibm.com>
1185
1186 * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
1187
1188 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
1189
1190 * libc/machine/spu/Makefile.am: Add new objects.
1191 * libc/machine/spu/Makefile.in: Regenerated.
1192 * libc/machine/spu/fiprintf.c: New file. Add implementation of
1193 integer-only version.
1194 * libc/machine/spu/fiscanf.c: Ditto.
1195 * libc/machine/spu/iprintf.c: Ditto.
1196 * libc/machine/spu/iscanf.c: Ditto.
1197 * libc/machine/spu/siprintf.c: Ditto.
1198 * libc/machine/spu/siscanf.c: Ditto.
1199 * libc/machine/spu/sniprintf.c: Ditto.
1200 * libc/machine/spu/vfiprintf.c: Ditto.
1201 * libc/machine/spu/vfiscanf.c: Ditto.
1202 * libc/machine/spu/viprintf.c: Ditto.
1203 * libc/machine/spu/viscanf.c: Ditto.
1204 * libc/machine/spu/vsiprintf.c: Ditto.
1205 * libc/machine/spu/vsiscanf.c: Ditto.
1206 * libc/machine/spu/vsniprintf.c: Ditto.
1207 * libc/machine/spu/fprintf.c: Add support for integer-only
1208 version.
1209 * libc/machine/spu/fscanf.c: Ditto.
1210 * libc/machine/spu/printf.c: Ditto.
1211 * libc/machine/spu/scanf.c: Ditto.
1212 * libc/machine/spu/snprintf.c: Ditto.
1213 * libc/machine/spu/sprintf.c: Ditto.
1214 * libc/machine/spu/sscanf.c: Ditto.
1215 * libc/machine/spu/vfprintf.c: Ditto.
1216 * libc/machine/spu/vfscanf.c: Ditto.
1217 * libc/machine/spu/vprintf.c: Ditto.
1218 * libc/machine/spu/vscanf.c: Ditto.
1219 * libc/machine/spu/vsnprintf.c: Ditto.
1220 * libc/machine/spu/vsprintf.c: Ditto.
1221 * libc/machine/spu/vsscanf.c: Ditto.
1222
1223 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
1224
1225 * libc/include/stdio.h: Add declaration for vsiprintf.
1226
1227 2007-02-14 Patrick Mansfield <patmans@us.ibm.com>
1228
1229 Add a floating point environment for SPU (cell):
1230
1231 * configure.host: add libm_machine_dir=spu.
1232 * libm/machine/configure: Add spu.
1233 * libm/machine/configure.in: regenerated with spu added.
1234 * libc/machine/spu/include/fenv.h: New file.
1235 * libc/machine/spu/sys/fenv.h: Ditto.
1236 * libm/machine/spu/Makefile.am: Ditto.
1237 * libm/machine/spu/Makefile.in: Ditto.
1238 * libm/machine/spu/aclocal.m4: Ditto.
1239 * libm/machine/spu/configure: Ditto.
1240 * libm/machine/spu/configure.in: Ditto.
1241 * libm/machine/spu/fe_dfl_env.c: Ditto.
1242 * libm/machine/spu/feclearexcept.c: Ditto.
1243 * libm/machine/spu/fegetenv.c: Ditto.
1244 * libm/machine/spu/fegetexceptflag.c: Ditto.
1245 * libm/machine/spu/fegetround.c: Ditto.
1246 * libm/machine/spu/feholdexcept.c: Ditto.
1247 * libm/machine/spu/feraiseexcept.c: Ditto.
1248 * libm/machine/spu/fesetenv.c: Ditto.
1249 * libm/machine/spu/fesetexceptflag.c: Ditto.
1250 * libm/machine/spu/fesetround.c: Ditto.
1251 * libm/machine/spu/fetestexcept.c: Ditto.
1252 * libm/machine/spu/feupdateenv.c: Ditto.
1253 * libm/machine/spu/headers/feclearexcept.h: Ditto.
1254 * libm/machine/spu/headers/fefpscr.h: Ditto.
1255 * libm/machine/spu/headers/fegetenv.h: Ditto.
1256 * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
1257 * libm/machine/spu/headers/fegetround.h: Ditto.
1258 * libm/machine/spu/headers/feholdexcept.h: Ditto.
1259 * libm/machine/spu/headers/feraiseexcept.h: Ditto.
1260 * libm/machine/spu/headers/fesetenv.h: Ditto.
1261 * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
1262 * libm/machine/spu/headers/fesetround.h: Ditto.
1263 * libm/machine/spu/headers/fetestexcept.h: Ditto.
1264 * libm/machine/spu/headers/feupdateenv.h: Ditto.
1265
1266 2007-02-14 Corinna Vinschen <corinna@vinschen.de>
1267
1268 * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
1269 Cygwin.
1270
1271 2007-02-08 Corinna Vinschen <corinna@vinschen.de>
1272
1273 * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
1274 Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
1275
1276 2007-02-07 Corinna Vinschen <corinna@vinschen.de>
1277
1278 * libc/include/sys/features.h: Add definition of all supported
1279 _POSIX_xxx values for Cygwin.
1280 * libc/include/sys/types.h (pthread_rwlock_t): Omit definition
1281 on Cygwin.
1282 (pthread_rwlockattr_t): Ditto.
1283 * libc/include/sys/unistd.h: Define all _SC_xxx values as
1284 required by SUSv3. Unify formatting.
1285
1286 2007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
1287
1288 * libc/include/sys/errno.h: Add ECANCELED.
1289
1290 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
1291 Kazunori Asayama <asayama@sm.sony.co.jp>
1292
1293 * libc/machine/spu/Makefile.am: Add objects.
1294 * libc/machine/spu/Makefile.in: Regenerated.
1295 * libc/machine/spu/vsscanf.c: New file. Add a stdio function
1296 implementation.
1297 * libc/machine/spu/snprintf.c: Ditto.
1298 * libc/machine/spu/sprintf.c: Ditto.
1299 * libc/machine/spu/sscanf.c: Ditto.
1300 * libc/machine/spu/remove.c: Ditto.
1301 * libc/machine/spu/rename.c: Ditto.
1302 * libc/machine/spu/tmpnam.c: Ditto.
1303 * libc/machine/spu/vsnprintf.c: Add initialization routine of
1304 stdio stuffs.
1305 * libc/machine/spu/vsprintf.c: Ditto.
1306
1307 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
1308 Kazunori Asayama <asayama@sm.sony.co.jp>
1309
1310 * configure.host: Enable SPU specific stdio directory.
1311 * libc/machine/spu/Makefile.am: Add objects.
1312 * libc/machine/spu/Makefile.in: Regenerated.
1313 * libc/machine/spu/c99ppe.h: Add macros and function
1314 declarations to initialize SPU specific stdio stuffs.
1315 * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
1316 specific FILE structures.
1317 * libc/machine/spu/perror.c: Add initialization routine of
1318 stdio stuffs.
1319 * libc/machine/spu/printf.c: Ditto.
1320 * libc/machine/spu/putchar.c: Ditto.
1321 * libc/machine/spu/puts.c: Ditto.
1322 * libc/machine/spu/vprintf.c: Ditto.
1323 * libc/machine/spu/clearerr.c: New file. Add a stdio function
1324 implementation.
1325 * libc/machine/spu/feof.c: Ditto.
1326 * libc/machine/spu/ferror.c: Ditto.
1327 * libc/machine/spu/fileno.c: Ditto.
1328 * libc/machine/spu/fopen.c: Ditto.
1329 * libc/machine/spu/fclose.c: Ditto.
1330 * libc/machine/spu/freopen.c: Ditto.
1331 * libc/machine/spu/fflush.c: Ditto.
1332 * libc/machine/spu/fseek.c: Ditto.
1333 * libc/machine/spu/ftell.c: Ditto.
1334 * libc/machine/spu/rewind.c: Ditto.
1335 * libc/machine/spu/fgetpos.c: Ditto.
1336 * libc/machine/spu/fsetpos.c: Ditto.
1337 * libc/machine/spu/fread.c: Ditto.
1338 * libc/machine/spu/fwrite.c: Ditto.
1339 * libc/machine/spu/getc.c: Ditto.
1340 * libc/machine/spu/getchar.c: Ditto.
1341 * libc/machine/spu/gets.c: Ditto.
1342 * libc/machine/spu/fgetc.c: Ditto.
1343 * libc/machine/spu/fgets.c: Ditto.
1344 * libc/machine/spu/ungetc.c: Ditto.
1345 * libc/machine/spu/putc.c: Ditto.
1346 * libc/machine/spu/fputc.c: Ditto.
1347 * libc/machine/spu/fputs.c: Ditto.
1348 * libc/machine/spu/vfprintf.c: Ditto.
1349 * libc/machine/spu/vfscanf.c: Ditto.
1350 * libc/machine/spu/fprintf.c: Ditto.
1351 * libc/machine/spu/fscanf.c: Ditto.
1352 * libc/machine/spu/scanf.c: Ditto.
1353 * libc/machine/spu/vscanf.c: Ditto.
1354 * libc/machine/spu/setbuf.c: Ditto.
1355 * libc/machine/spu/setvbuf.c: Ditto.
1356 * libc/machine/spu/tmpfile.c: Ditto.
1357
1358 2007-02-01 Jeff Johnston <jjohnstn@redhat.com>
1359
1360 * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
1361 * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
1362 around stdio macros that manipulate fields in the normal file
1363 structure.
1364 * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
1365 <sys/custom_file.h> to define custom FILE structure.
1366 * libc/include/sys/custom_file.h: New default header file
1367 that generates error if not overridden when __CUSTOM_FILE_IO__ set.
1368 * libc/machine/spu/sys/custom_file.h: New file.
1369
1370 2007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>
1371
1372 * configure.host: Define stdio directory as a variable.
1373 * libc/Makefile.am: Define stdio related names
1374 as macros.
1375 * libc/configure.in: Add detection routine of stdio directory.
1376 * libc/Makefile.in: Regenerated.
1377 * libc/configure: Ditto.
1378 * libc/argz/Makefile.in: Ditto.
1379 * libc/ctype/Makefile.in: Ditto.
1380 * libc/errno/Makefile.in: Ditto.
1381 * libc/iconv/Makefile.in: Ditto.
1382 * libc/iconv/ccs/Makefile.in: Ditto.
1383 * libc/iconv/ccs/binary/Makefile.in: Ditto.
1384 * libc/iconv/ces/Makefile.in: Ditto.
1385 * libc/iconv/lib/Makefile.in: Ditto.
1386 * libc/locale/Makefile.in: Ditto.
1387 * libc/misc/Makefile.in: Ditto.
1388 * libc/posix/Makefile.in: Ditto.
1389 * libc/reent/Makefile.in: Ditto.
1390 * libc/search/Makefile.in: Ditto.
1391 * libc/signal/Makefile.in: Ditto.
1392 * libc/stdio/Makefile.in: Ditto.
1393 * libc/stdio64/Makefile.in: Ditto.
1394 * libc/stdlib/Makefile.in: Ditto.
1395 * libc/string/Makefile.in: Ditto.
1396 * libc/syscalls/Makefile.in: Ditto.
1397 * libc/time/Makefile.in: Ditto.
1398 * libc/unix/Makefile.in: Ditto.
1399
1400 2007-01-30 Ben Elliston <bje@au.ibm.com>
1401
1402 * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
1403 fmt member.
1404 * libc/machine/spu/printf.c (c99_printf_t): Likewise.
1405 (printf): Pass fmt to va_start to suppress a warning.
1406
1407 * libc/search/hash.c (init_hash): Make `info' parameter const.
1408
1409 2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
1410
1411 * libc/machine/spu/c99ppe.h: Replace vector with __vector.
1412 * libc/machine/spu/vec_literal.h: Ditto.
1413 * libc/machine/spu/strncmp.c: Ditto.
1414
1415 2007-01-15 Joseph Myers <joseph@codesourcery.com>
1416 Kazu Hirata <kazu@codesourcery.com>
1417
1418 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
1419 for E500V1 and E500V2.
1420
1421 2007-01-11 Jeff Johnston <jjohnstn@redhat.com>
1422
1423 * libm/configure.in: Always configure machine directory.
1424 * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
1425 unconditionally.
1426 * libm/configure: Regenerated.
1427 * libm/Makefile.in: Ditto.
1428 * libm/*/Makefile.in: Ditto.
1429
1430 2007-01-05 Brian Ford <Brian.Ford@FlightSafety.com>
1431
1432 * configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
1433
1434 2007-01-02 Ben Elliston <bje@au.ibm.com>
1435
1436 * doc/makedoc.c: Include <stdlib.h>.
1437 (malloc, realloc): Remove extern declarations.
1438
1439 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
1440
1441 * NEWS: Update with 1.15.0 info.
1442 * README: Ditto.
1443 * acinclude.m4: Change version number to 1.15.0.
1444 * aclocal.m4: Regenerated.
1445 * configure: Ditto.
1446 * doc/aclocal.m4: Ditto.
1447 * doc/configure: Ditto.
1448 * libc/*/aclocal.m4: Ditto.
1449 * libc/*/configure: Ditto.
1450 * libc/libc.texinfo: Ditto.
1451 * libm/*/aclocal.m4: Ditto.
1452 * libm/*/configure: Ditto.
1453 * libm/libm.texinfo: Ditto.
1454 * libc/sys/linux/shared.ld: Add VERS_1.15.
1455
1456 2006-12-18 Kazu Hirata <kazu@codesourcery.com>
1457
1458 Merge from newlib-csl-20060320-branch:
1459 2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
1460 Kazu Hirata <kazu@codesourcery.com>
1461
1462 * configure.host: Recognize fido.
1463
1464 2006-12-18 Joel Schopp <jschopp@austin.ibm.com>
1465
1466 * libc/machine/spu/c99ppe.h: New file
1467 * libc/machine/spu/perror.c: New file to override libc/stdio version.
1468 * libc/machine/spu/printf.c: New file
1469 * libc/machine/spu/putchar.c: New file
1470 * libc/machine/spu/puts.c: New file
1471 * libc/machine/spu/vprintf.c: New file
1472 * libc/machine/spu/vsnprintf.c: New file
1473 * libc/machine/spu/vsprintf.c: New file
1474 * libc/machine/spu/Makefile.am: Add new targets.
1475 * libc/machine/spu/Makefile.in: Regenerated.
1476
1477 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
1478
1479 * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
1480 * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
1481
1482 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
1483
1484 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
1485 2.6.5 version of Doug Lea's malloc which is the basis of
1486 this code.
1487
1488 2006-12-18 Kazunori Asayama <asayama@sm.sony.co.jp>
1489
1490 * libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
1491
1492 2006-12-14 Jeff Johnston <jjohnstn@redhat.com>
1493 Eric Blake <ebb9@byu.net>
1494
1495 * libc/stdio/fflush.c (fflush): On seekable streams, always flush
1496 read but unused data.
1497 * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
1498 even read streams may have side effects that must happen.
1499
1500 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
1501
1502 * libc/machine/spu/setjmp.S: Fix to handle registers past 115
1503 correctly.
1504
1505 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
1506
1507 * libc/include/alloca.h: Add undef alloca to work with xlc.
1508
1509 2006-12-12 Joel Schopp <jschopp@austin.ibm.com>
1510
1511 * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
1512 cell spu.
1513
1514 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
1515
1516 * libc/machine/spu/strncpy.c: Add padding.
1517
1518 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
1519
1520 * testsuite/newlib.string/tstring.c:
1521
1522 2006-12-01 Kazunori Asayama <asayama@sm.sony.co.jp>
1523
1524 * libc/machine/spu/strchr.c: Fix mask for misaligned string.
1525 * libc/machine/spu/strrchr.c: Ditto.
1526
1527 2006-11-30 Lev Bishop <lev.bishop@gmail.com>
1528
1529 * libc/include/math.h: Allow C99 functions/macros to be
1530 defined for C++ even when __STRICT_ANSI__.
1531
1532 2006-11-29 Jeff Johnston <jjohnstn@redhat.com>
1533
1534 * libc/stdio/makebuf.c (__smakebuf): If dealing with
1535 an asprintf-family buffer, make the default initial size 64.
1536
1537 2006-11-29 Eric Blake <ebb9@byu.net>
1538
1539 * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
1540 asprintf, as well as quadratic realloc behavior.
1541
1542 2006-11-29 Kazunori Asayama <asayama@sm.sony.co.jpi
1543
1544 * libc/machine/spu/memset.c: Fix type of explicit cast.
1545 * libc/machine/spu/strncmp.c: Add explicit cast.
1546 * libc/machine/spu/strrchr.c: Ditto.
1547 * libc/machine/spu/strspn.c: Ditto.
1548
1549 2006-11-22 Luca Barbato <lu_zero@gentoo.org>
1550
1551 * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
1552 * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
1553 * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
1554 * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
1555 * libc/machine/spu/strncat.c: Explicit cast.
1556 * libc/machine/spu/strncmp.c: Use spu_splats.
1557 * libc/machine/spu/strncpy.c: Explicit cast.
1558 * libc/machine/spu/strrchr.c: Use spu_splats.
1559 * libc/machine/spu/strspn.c: Use spu_splats.
1560
1561 2006-11-15 Till Straumann <strauman@slac.stanford.edu>
1562
1563 * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
1564
1565 2006-11-14 Eric Blake <ebb9@byu.net>
1566
1567 * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
1568 (chclass): ' is a flag. j, t, and z are modifiers.
1569
1570 2006-11-08 Jie Zhang <jie.zhang@analog.com>
1571
1572 * configure.host: Add support for bfin.
1573 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
1574 * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
1575 * libc/machine/bfin/aclocal.m4: Generate.
1576 * libc/machine/bfin/configure.in: New.
1577 * libc/machine/bfin/configure: Generate.
1578 * libc/machine/bfin/Makefile.am: New.
1579 * libc/machine/bfin/Makefile.in: Generate.
1580 * libc/machine/bfin/setjmp.S: New.
1581 * libc/machine/bfin/longjmp.S: New.
1582 * libc/machine/configure.in: Add bfin support.
1583 * libc/machine/configure: Generate.
1584
1585 2006-11-07 Corinna Vinschen <corinna@vinschen.de>
1586
1587 * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
1588 (_PC_FILESIZEBITS): Add definition.
1589 (_PC_2_SYMLINKS): Ditto.
1590 (_PC_SYMLINK_MAX): Ditto.
1591
1592 2006-10-27 Joel Schopp <jschopp@austin.ibm.com>
1593
1594 * libc/machine/spu/memcpy.c: Override generic function with vectorized
1595 version optimized for the cell spu.
1596 * libc/machine/spu/memmove.c: Ditto.
1597 * libc/machine/spu/memset.c: Ditto.
1598 * libc/machine/spu/strcat.c: Ditto.
1599 * libc/machine/spu/strchr.c: Ditto.
1600 * libc/machine/spu/strcmp.c: Ditto.
1601 * libc/machine/spu/strcpy.c: Ditto.
1602 * libc/machine/spu/strcspn.c: Ditto.
1603 * libc/machine/spu/strlen.c: Ditto.
1604 * libc/machine/spu/strncat.c: Ditto.
1605 * libc/machine/spu/strncmp.c: Ditto.
1606 * libc/machine/spu/strncpy.c: Ditto.
1607 * libc/machine/spu/strpbrk.c: Ditto.
1608 * libc/machine/spu/strrchr.c: Ditto.
1609 * libc/machine/spu/strspn.c: Ditto.
1610 * libc/machine/spu/strxfrm.c: Ditto.
1611 * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
1612 removing altivec style initializers.
1613 * libc/machine/spu/Makefile.am: Add new files to list so they build
1614 * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
1615
1616 2006-10-27 Jeff Johnston <jjohnstn@redhat.com>
1617
1618 * README: Add a brief section on how to regenerate
1619 configuration files in newlib.
1620
1621 2006-10-25 Vladimir Prus <vladimir@codesourcery.com>
1622
1623 * libc/include/math.h: (exception): Add a comment
1624 telling fixincludes that we handle C vs. C++ issue.
1625
1626 2006-10-11 Yang Tse <yangsita@gmail.com>
1627
1628 * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
1629 braced-groups.
1630
1631 2006-10-11 Corinna Vinschen <corinna@vinschen.de>
1632
1633 * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
1634
1635 2006-09-26 Jeff Johnston <jjohnstn@redhat.com>
1636
1637 * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
1638 for clearerr, feof, or fileno.
1639 * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
1640 the dummy std stream scheme to use pointers to const external
1641 fake files, one for each standard stream.
1642 * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
1643 argument. For _REENT_SMALL, reset the file pointer if it
1644 matches one of the fake std stream pointers.
1645 * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
1646 argument.
1647 * libc/stdio/fclose.c: Ditto.
1648 * libc/stdio/feof.c: Ditto.
1649 * libc/stdio/ferror.c: Ditto.
1650 * libc/stdio/fflush.c: Ditto.
1651 * libc/stdio/fgetc.c: Ditto.
1652 * libc/stdio/fgets.c: Ditto.
1653 * libc/stdio/fileno.c: Ditto.
1654 * libc/stdio/findfp.c: Ditto.
1655 * libc/stdio/fputc.c: Ditto.
1656 * libc/stdio/fputs.c: Ditto.
1657 * libc/stdio/fread.c: Ditto.
1658 * libc/stdio/freopen.c: Ditto.
1659 * libc/stdio/fseek.c: Ditto.
1660 * libc/stdio/ftell.c: Ditto.
1661 * libc/stdio/fwrite.c: Ditto.
1662 * libc/stdio/getc.c: Ditto.
1663 * libc/stdio/getdelim.c: Ditto.
1664 * libc/stdio/putc.c: Ditto.
1665 * libc/stdio/refill.c: Ditto.
1666 * libc/stdio/setvbuf.c: Ditto.
1667 * libc/stdio/ungetc.c: Ditto.
1668 * libc/stdio/vfprintf.c: Ditto.
1669 * libc/stdio/vfscanf.c: Ditto.
1670 * libc/stdio/wbuf.c: Ditto.: Ditto.
1671 * libc/stdio/wsetup.c: Ditto.
1672 * libc/stdio64/freopen64.c: Ditto.
1673 * libc/stdio64/fseeko64.c: Ditto.
1674 * libc/stdio64/ftello64.c: Ditto.
1675 * libc/machine/powerpc/vfprintf.c: Ditto.
1676 * libc/machine/powerpc/vfscanf.c: Ditto.
1677
1678 2006-09-22 Paul Brook <paul@codesourcery.com>
1679
1680 * libc/include/sys/reent.h: Define and use __reent_assert.
1681
1682 2006-09-13 Joel Sherrill <joel@oarcorp.com>
1683
1684 * libc/include/pthread.h: Add pthread barriers,
1685 rwlocks, and spinlocks. Change const to
1686 _CONST and prefix parameter names with
1687 an underscore.
1688 * libc/include/sys/types.h: Add id and attribute
1689 types for barriers, wrlocks, and spinlocks.
1690 * libc/include/sys/features.h: Enable barriers,
1691 wrlocks, and spinlocks for RTEMS.
1692
1693 2006-09-13 Patrick Mansfield <patmans@us.ibm.com>
1694
1695 * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
1696 supposed to be writable.
1697 * libm/common/s_lib_ver.c: Ditto.
1698
1699 2006-09-12 Paul Brook <paul@codesourcery.com>
1700
1701 * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
1702
1703 2006-09-07 Masaki Muranaka <monaka@monami-software.com>
1704
1705
1706 * libc/machine/xstormy16/Makefile.am:
1707 Add $(lpfx) prefix to LIBADD objects.
1708 lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
1709 * libc/machine/xstormy16/Makefile.in: Regenerated.
1710
1711 2006-09-06 Eric Blake <ebb9@byu.net>
1712
1713 * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
1714 't', and 'z' modifiers.
1715
1716 2006-09-01 Kazu Hirata <kazu@codesourcery.com>
1717
1718 Merge from newlib-csl-20060320-branch:
1719 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
1720
1721 * configure.host: Tell it we have _rename and _system when
1722 building m68k-unknown-elf.
1723
1724 2006-08-29 Paul Brook <paul@codesourcery.com>
1725
1726 * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
1727
1728 2006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
1729
1730 * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
1731 BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
1732 This is needed to build all AVR and H8300 RTEMS multilib variants.
1733
1734 2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
1735
1736 * libc/machine/configure.in: Add configuration for SPU.
1737 * libc/machine/configure: Regenerated.
1738 * libc/machine/spu/memcpy.c: Include string.h.
1739
1740 2006-08-22 Eric Blake <ebb9@byu.net>
1741
1742 * libc/posix/popen.c (popen): Don't close output end of pipe in
1743 child if stdout was closed on entry.
1744 [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
1745
1746 2006-08-19 Ramana Radhakrishnan <ramana.r@gmail.com>
1747
1748 * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
1749 line.
1750
1751 2006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
1752
1753 * libc/time/gmtime.c: Correct man page; clock is not a
1754 local time and no conversion occurs.
1755
1756 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
1757
1758 * configure.host (newlib_cflags) [spu]: Add special compiler
1759 options to reduce size.
1760
1761 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
1762
1763 * configure.host: Add spu support.
1764 * libc/include/stdint.h: Ditto.
1765 * libc/include/machine/ieeefp.h: Ditto.
1766 * libc/include/machine/setjmp.h: Ditto.
1767 * libc/include/sys/config.h: Ditto.
1768 * libc/include/sys/types.h: Ditto.
1769 * libc/machine/spu/Makefile.am: New file.
1770 * libc/machine/spu/Makefile.in: Ditto.
1771 * libc/machine/spu/aclocal.m4: Ditto.
1772 * libc/machine/spu/configure: Ditto.
1773 * libc/machine/spu/configure.in: Ditto.
1774 * libc/machine/spu/memcpy.c: Ditto.
1775 * libc/machine/spu/setjmp.S: Ditto.
1776
1777 2006-08-03 J"orn Rennecke <joern.rennecke@st.com>
1778
1779 * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
1780 properly.
1781
1782 2006-08-01 Jeff Johnston <jjohnstn@redhat.com>
1783
1784 * libc/Makefile.am: Add libc_TEXINFOS dependency on
1785 generated .texi files.
1786 * libm/Makefile.am: Add libm_TEXINFOS dependency on
1787 generated .texi files.
1788 * libc/Makefile.in: Regenerated.
1789 * libm/Makefile.in: Ditto.
1790
1791 2006-08-01 Thiemo Seufer <ths@mips.com>
1792 Nigel Stephens <nigel@mips.com>
1793
1794 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
1795 define this to force _impure_ptr to live in the .sdata section.
1796
1797 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
1798
1799 * acinclude.m4: Check for readelf tool.
1800 * configure.in: Use ${READELF} instead of hard-coding.
1801 * Regenerate all aclocal.m4, Makefile.in, and configure files.
1802
1803 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
1804
1805 * libc/sys/linux/mmap.c: Remove include of sys/mman.h
1806 to avoid conflict with newer glibc's revision of mremap.
1807
1808 2006-07-05 Jeff Johnston <jjohnstn@redhat.com>
1809
1810 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
1811 floating-point format support. Also redefine
1812 dword0 and dword1 macros.
1813 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
1814 to prevent setting dword1 which is an rvalue only.
1815
1816 2006-06-22 Jeff Johnston <jjohnstn@redhat.com>
1817
1818 * libc/stdlib/Makefile.am: Add new gdtoa routines.
1819 * libc/stdlib/Makefile.in: Regenerated.
1820 * libc/stdlib/gd_qnan.h: New file.
1821 * libc/stdlib/gdtoa-gethex.c: Ditto.
1822 * libc/stdlib/gdtoa-hexnan.c: Ditto.
1823 * libc/stdlib/gdtoa.h: Ditto.
1824 * libc/stdlib/mprec.c: Add new helper routines needed by
1825 the new gdtoa code.
1826 * libc/stdlib/mprec.h: Integrate some defines and prototypes
1827 used by gdtoa routines here.
1828 * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
1829 which adds C99 support such as nan, inf, and hexadecimal input
1830 format.
1831
1832 2006-06-15 Corinna Vinschen <corinna@vinschen.de>
1833
1834 * libc/include/stdio.h (__sgetc_r): Fix typo.
1835 * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
1836 * libc/stdio/rget.c (__srbuf): Reinstantiate.
1837 * libc/stdio/wbuf.c (__swbuf): Ditto.
1838
1839 2006-06-14 Jeff Johnston <jjohnstn@redhat.com>
1840
1841 * libc/include/stdio.h: Add new reentrant I/O prototypes for
1842 read/write functions. Change getc/putc macros to have reentrant underlying
1843 macros/functions. This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
1844 * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
1845 new reentrant I/O functions/macros for reading/writing.
1846 * libc/stdio/fgets.c: Ditto.
1847 * libc/stdio/fputc.c: Ditto.
1848 * libc/stdio/fputs.c: Ditto.
1849 * libc/stdio/fread.c: Ditto.
1850 * libc/stdio/fseek.c: Ditto.
1851 * libc/stdio64/fseeko64.c: Ditto.
1852 * libc/stdio/fwrite.c: Ditto.
1853 * libc/stdio/getc.c: Ditto.
1854 * libc/stdio/getc_u.c: Ditto.
1855 * libc/stdio/getchar.c: Ditto.
1856 * libc/stdio/getchar_u.c: Ditto.
1857 * libc/stdio/putc.c: Ditto.
1858 * libc/stdio/putc_u.c: Ditto.
1859 * libc/stdio/putchar.c: Ditto.
1860 * libc/stdio/puts.c: Ditto.
1861 * libc/stdio/vfprintf.c: Ditto.
1862 * libc/stdio/vfscanf.c: Ditto.
1863 * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
1864 Change all previous callers of __sfvwrite. Set errno to EBADF and
1865 set error flag on if attempt is made to write to file that does not
1866 allow writing.
1867 * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
1868 * libc/stdio/local.h: Ditto.
1869 * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
1870 Set errno to EBADF and the error flag on if attempt is made to
1871 read unreadable file. Change all previous callers of __srefill.
1872 * libc/stdio/rget.c
1873 * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r. Change
1874 all previous callers of __swbuf.
1875 * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
1876 huge value macros are already defined correctly for i386 by <math.h>.
1877
1878 2006-06-13 Sandra Loosemore <sandra@codesourcery.com>
1879
1880 * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
1881 Make them do something useful in the ARM_RDI_MONITOR case.
1882
1883 2006-06-07 Fred Fish <fnf@specifix.com>
1884
1885 * libc/search/hash_bigkey.c (MIN,MAX): Remove
1886 defines that are already supplied by <sys/param.h>.
1887
1888 2006-06-07 Fred Fish <fnf@specifix.com>
1889
1890 * configure.host: Remove references to HAVE_GETTIMEOFDAY.
1891
1892 2006-06-05 Shaun Jackman <sjackman@gmail.com>
1893
1894 * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
1895 usleep.c.
1896 * libc/posix/Makefile.in: Regenerate.
1897 * libc/posix/sleep.c: New file.
1898 * libc/posix/usleep.c: Ditto.
1899
1900 2006-06-05 Shaun Jackman <sjackman@gmail.com>
1901
1902 * configure.host (newlib_cflags) [arm, thumb, xscale]: Remove
1903 -DABORT_PROVIDED flag.
1904 * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
1905 * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
1906
1907 2006-06-05 Jeff Johnston <jjohnstn@redhat.com>
1908
1909 * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
1910 * Makefile.in: Regenerated.
1911 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
1912 extraneous CFLAGS reference now that CCASFLAGS are being extended
1913 properly via multilib.
1914 * libc/machine/sh/Makefile.in: Regenerated.
1915
1916 2006-06-02 Shaun Jackman <sjackman@gmail.com>
1917
1918 * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
1919 sigismember.
1920
1921 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
1922
1923 * libc/misc/dprintf.c: Removed.
1924 * libc/misc/__dprintf.c: Renamed from dprintf.c.
1925 * libc/misc/Makefile.am: Changed appropriately for rename.
1926 * libc/misc/Makefile.in: Regenerated.
1927
1928 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
1929
1930 * libc/include/stdio.h: Protect dprintf prototype
1931 with #ifndef dprintf so as to not interfere with
1932 historical code defining their own dprintf macro.
1933
1934 2006-05-18 Jeff Johnston <jjohnstn@redhat.com>
1935
1936 * libc/include/stdio.h: Add prototypes for fiscanf,
1937 iscanf, and siscanf.
1938
1939 2006-05-11 J"orn Rennecke <joern.rennecke@st.com>
1940
1941 * acinclude.m4 (_NEWLIB_VERSION): Rename to:
1942 (DEF_NEWLIB_VERSION).
1943 * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
1944 * configure: Regenerate.
1945
1946 2006-05-09 Jeff Johnston <jjohnstn@redhat.com>
1947
1948 * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
1949 lib_a_SOURCES.
1950 * libc/ctype/Makefile.in: Regenerated.
1951
1952 2006-05-09 Kazu Hirata <kazu@codesourcery.com>
1953
1954 * libc/machine/arm/Makefile.am: Fix a typo.
1955 * libc/machine/arm/Makefile.in: Regenerated.
1956
1957 2006-05-08 J"orn Rennecke <joern.rennecke@st.com>
1958
1959 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
1960 * libc/machine/sh/Makefile.in: Regenerate.
1961
1962 2006-05-03 J"orn Rennecke <joern.rennecke@st.com>
1963
1964 * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
1965 * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
1966
1967 2006-05-02 Jeff Johnston <jjohnstn@redhat.com>
1968
1969 * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
1970 .s.
1971 * libc/sys/sysnec810/Makefile.in: Regenerated.
1972 * libc/sys/sysnec810/crt0.S: Renamed from .s file.
1973 * libc/sys/sysnec810/io.S: Ditto.
1974 * libc/sys/sysnec810/crt0.s: Renamed to .S file.
1975 * libc/sys/sysnec810/io.s: Ditto.
1976
1977 2006-05-01 Jeff Johnston <jjohnstn@redhat.com>
1978
1979 * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx). If source file can
1980 be specified instead of object, do so.
1981 * libc/ctype/Makefile.am: Ditto.
1982 * libc/iconv/ccs/Makefile.am: Ditto.
1983 * libc/iconv/ces/Makefile.am: Ditto.
1984 * libc/iconv/lib/Makefile.am: Ditto.
1985 * libc/locale/Makefile.am: Ditto.
1986 * libc/posix/Makefile.am: Ditto.
1987 * libc/reent/Makefile.am: Ditto.
1988 * libc/search/Makefile.am: Ditto.
1989 * libc/stdio/Makefile.am: Ditto.
1990 * libc/stdio64/Makefile.am: Ditto.
1991 * libc/stdlib/Makefile.am: Ditto.
1992 * libc/string/Makefile.am: Ditto.
1993 * libc/syscalls/Makefile.am: Ditto.
1994 * libc/unix/Makefile.am: Ditto.
1995 * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
1996 prefix added automatically. Any specified rules must use $(lpfx) for
1997 object file names.
1998 * libc/machine/arm/Makefile.am: Ditto.
1999 * libc/machine/cris/Makefile.am: Ditto.
2000 * libc/machine/crx/Makefile.am: Ditto.
2001 * libc/machine/d10v/Makefile.am: Ditto.
2002 * libc/machine/d30v/Makefile.am: Ditto.
2003 * libc/machine/fr30/Makefile.am: Ditto.
2004 * libc/machine/frv/Makefile.am: Ditto.
2005 * libc/machine/h8300/Makefile.am: Ditto.
2006 * libc/machine/h8500/Makefile.am: Ditto.
2007 * libc/machine/hppa/Makefile.am: Ditto.
2008 * libc/machine/i386/Makefile.am: Ditto.
2009 * libc/machine/i960/Makefile.am: Ditto.
2010 * libc/machine/iq2000/Makefile.am: Ditto.
2011 * libc/machine/m32c/Makefile.am: Ditto.
2012 * libc/machine/m32r/Makefile.am: Ditto.
2013 * libc/machine/m68hc11/Makefile.am: Ditto.
2014 * libc/machine/m68k/Makefile.am: Ditto.
2015 * libc/machine/m88k/Makefile.am: Ditto.
2016 * libc/machine/mips/Makefile.am: Ditto.
2017 * libc/machine/mn10200/Makefile.am: Ditto.
2018 * libc/machine/mn10300/Makefile.am: Ditto.
2019 * libc/machine/mt/Makefile.am: Ditto.
2020 * libc/machine/necv70/Makefile.am: Ditto.
2021 * libc/machine/powerpc/Makefile.am: Ditto.
2022 * libc/machine/sh/Makefile.am: Ditto.
2023 * libc/machine/sh/Makefile.in: Ditto.
2024 * libc/machine/sparc/Makefile.am: Ditto.
2025 * libc/machine/tic4x/Makefile.am: Ditto.
2026 * libc/machine/tic80/Makefile.am: Ditto.
2027 * libc/machine/v850/Makefile.am: Ditto.
2028 * libc/machine/w65/Makefile.am: Ditto.
2029 * libc/machine/xscale/Makefile.am: Ditto.
2030 * libc/machine/xstormy16/Makefile.am: Ditto.
2031 * libc/machine/z8k/Makefile.am: Ditto.
2032 * libc/sys/a29khif/Makefile.am: Ditto.
2033 * libc/sys/arm/Makefile.am: Ditto.
2034 * libc/sys/d10v/Makefile.am: Ditto.
2035 * libc/sys/h8300hms/Makefile.am: Ditto.
2036 * libc/sys/h8500hms/Makefile.am: Ditto.
2037 * libc/sys/linux/Makefile.am: Ditto.
2038 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2039 * libc/sys/linux/net/Makefile.am: Ditto.
2040 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2041 * libc/sys/m88kbug/Makefile.am: Ditto.
2042 * libc/sys/mmixware/Makefile.am: Ditto.
2043 * libc/sys/rdos/Makefile.am: Ditto.
2044 * libc/sys/rtems/Makefile.am: Ditto.
2045 * libc/sys/sh/Makefile.am: Ditto.
2046 * libc/sys/sun4/Makefile.am: Ditto.
2047 * libc/sys/sysmec/Makefile.am: Ditto.
2048 * libc/sys/sysnec810/Makefile.am: Ditto.
2049 * libc/sys/sysnecv850/Makefile.am: Ditto.
2050 * libc/sys/sysvi386/Makefile.am: Ditto.
2051 * libc/sys/sysvnecv70/Makefile.am: Ditto.
2052 * libc/sys/tic80/Makefile.am: Ditto.
2053 * libc/sys/w65/Makefile.am: Ditto.
2054 * libc/sys/z8ksim/Makefile.am: Ditto.
2055 * libc/machine/necv70/fastmath.S: Renamed from .s file.
2056 * libc/machine/necv70/setjmp.S: Ditto.
2057 * libc/machine/necv70/fastmath.s: Removed.
2058 * libc/machine/necv70/setjmp.s: Ditto.
2059 * libc/machine/w65/*.S: New files renamed from .s files.
2060 * libc/machine/w65/*.s: Renamed and removed.
2061 * libc/sys/a29khif/*.S: New files renamed from .s files.
2062 * libc/sys/a29khif/*.s: Renamed and removed.
2063 * libc/sys/sysvi386/*.S: New files renamed from .s files.
2064 * libc/sys/sysvi386/*.s: Renamed and removed.
2065 * libc/sys/sysvnecv70/*.S: New files renamed from .s files.
2066 * libc/sys/sysvnecv70/*.s: Renamed and removed.
2067 * libc/*Makefile.in: Regenerated as appropriate.
2068
2069 2006-04-24 DJ Delorie <dj@redhat.com>
2070
2071 * libc/machine/sh/configure.in: Avoid link tests.
2072 * libc/machine/sh/configure: Regenerate.
2073
2074 2006-04-18 Jeff Johnston <jjohnstn@redhat.com>
2075
2076 * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
2077 (sigaddset, sigemptyset): Add return code.
2078
2079 2006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
2080
2081 * acinclude.m4: New _NEWLIB_VERSION.
2082 * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
2083 Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
2084 Use new form of AC_INIT_AUTOMAKE.
2085 * configure.in: AC_PREREQ(2.59).
2086 Use autoconf-2.5.x version of AC_INIT.
2087 Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
2088 autoconf-2.13's AC_OUTPUT.
2089 * libm/configure.in: Ditto.
2090 * libm/machine/configure.in: Ditto.
2091 * libm/machine/i386/configure.in: Ditto.
2092 * libc/configure.in: Ditto.
2093 * libc/machine/a29k/configure.in: Ditto.
2094 * libc/machine/arm/configure.in: Ditto.
2095 * libc/machine/configure.in: Ditto.
2096 * libc/machine/mn10300/configure.in: Ditto.
2097 * libc/machine/powerpc/configure.in: Ditto.
2098 * libc/machine/z8k/configure.in: Ditto.
2099 * libc/machine/h8300/configure.in: Ditto.
2100 * libc/machine/mips/configure.in: Ditto.
2101 * libc/machine/crx/configure.in: Ditto.
2102 * libc/machine/m68hc11/configure.in: Ditto.
2103 * libc/machine/h8500/configure.in: Ditto.
2104 * libc/machine/xscale/configure.in: Ditto.
2105 * libc/machine/d10v/configure.in: Ditto.
2106 * libc/machine/fr30/configure.in: Ditto.
2107 * libc/machine/sh/configure.in: Ditto.
2108 * libc/machine/tic80/configure.in: Ditto.
2109 * libc/machine/m32r/configure.in: Ditto.
2110 * libc/machine/xstormy16/configure.in: Ditto.
2111 * libc/machine/i386/configure.in: Ditto.
2112 * libc/machine/d30v/configure.in: Ditto.
2113 * libc/machine/mn10200/configure.in: Ditto.
2114 * libc/machine/frv/configure.in: Ditto.
2115 * libc/machine/mt/configure.in: Ditto.
2116 * libc/machine/i960/configure.in: Ditto.
2117 * libc/machine/v850/configure.in: Ditto.
2118 * libc/machine/necv70/configure.in: Ditto.
2119 * libc/machine/tic4x/configure.in: Ditto.
2120 * libc/machine/cris/configure.in: Ditto.
2121 * libc/machine/m68k/configure.in: Ditto.
2122 * libc/machine/m32c/configure.in: Ditto.
2123 * libc/machine/hppa/configure.in: Ditto.
2124 * libc/machine/w65/configure.in: Ditto.
2125 * libc/machine/iq2000/configure.in: Ditto.
2126 * libc/machine/sparc/configure.in: Ditto.
2127 * libc/machine/m88k/configure.in: Ditto.
2128 * libc/sys/linux/configure.in: Ditto.
2129 * libc/sys/linux/machine/configure.in: Ditto.
2130 * libc/sys/linux/machine/i386/configure.in: Ditto.
2131 * libc/sys/linux/linuxthreads/configure.in: Ditto.
2132 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2133 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
2134 * libc/sys/arm/configure.in: Ditto.
2135 * libc/sys/configure.in: Ditto.
2136 * libc/sys/decstation/configure.in: Ditto.
2137 * libc/sys/a29khif/configure.in: Ditto.
2138 * libc/sys/sysnecv850/configure.in: Ditto.
2139 * libc/sys/d10v/configure.in: Ditto.
2140 * libc/sys/netware/configure.in: Ditto.
2141 * libc/sys/mmixware/configure.in: Ditto.
2142 * libc/sys/h8500hms/configure.in: Ditto.
2143 * libc/sys/sh/configure.in: Ditto.
2144 * libc/sys/tic80/configure.in: Ditto.
2145 * libc/sys/rdos/configure.in: Ditto.
2146 * libc/sys/sysmec/configure.in: Ditto.
2147 * libc/sys/sysvi386/configure.in: Ditto.
2148 * libc/sys/h8300hms/configure.in: Ditto.
2149 * libc/sys/sparc64/configure.in: Ditto.
2150 * libc/sys/arc/configure.in: Ditto.
2151 * libc/sys/sysnec810/configure.in: Ditto.
2152 * libc/sys/m88kbug/configure.in: Ditto.
2153 * libc/sys/sysvnecv70/configure.in: Ditto.
2154 * libc/sys/z8ksim/configure.in: Ditto.
2155 * libc/sys/rtems/configure.in: Ditto.
2156 * libc/sys/w65/configure.in: Ditto.
2157 * libc/sys/sun4/configure.in: Ditto.
2158 * doc/configure.in: Ditto.
2159 * iconvdata/configure.in: Ditto.
2160 * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
2161
2162 2006-04-11 Jeff Johnston <jjohnstn@redhat.com>
2163
2164 * acinclude.m4: Properly add square brackets for
2165 AC_DEFUN macros. Rewrite LIB_AC_PROG_CC to remove
2166 macros no longer available. Add LIB_AM_PROG_AS to
2167 remove prereq of AC_PROG_CC. Add LIB_AC_PROG_CC_GNU
2168 macro. Substitute lpfx (library object prefix).
2169 * configure.host: Set lpfx depending on whether
2170 libtool is used or not.
2171 * configure.in: Individually specify libc and libm
2172 to AC_CONFIG_SUBDIRS. Add square bracket quoting as
2173 necessary.
2174 * Makefile.am: Use $(lpfx) to get object names for
2175 math-library functions that should also be in libc.
2176 * libc/machine/configure.in: Use case statement to determine
2177 AC_CONFIG_SUBDIRS statement.
2178 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2179 * libc/sys/linux/machine/configure.in: Ditto.
2180 * libc/sys/configure.in: Ditto.
2181 * libm/machine/configure.in: Ditto.
2182 * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
2183 * libm/configure.in: Add AM_CONDITIONAL statement
2184 for HAVE_LIBM_MACHINE_DIR.
2185 * libc/machine/a29k/Makefile.am: Modified to work with
2186 latest automake. Change includes setting AM_CCASFLAGS
2187 so building .S files will properly pick up flags used
2188 to build C files.
2189 * libc/machine/arm/Makefile.am: Ditto.
2190 * libc/machine/crx/Makefile.am: Ditto.
2191 * libc/machine/d10v/Makefile.am: Ditto.
2192 * libc/machine/d30v/Makefile.am: Ditto.
2193 * libc/machine/fr30/Makefile.am: Ditto.
2194 * libc/machine/frv/Makefile.am: Ditto.
2195 * libc/machine/h8300/Makefile.am: Ditto.
2196 * libc/machine/h8500/Makefile.am: Ditto.
2197 * libc/machine/hppa/Makefile.am: Ditto.
2198 * libc/machine/i386/Makefile.am: Ditto.
2199 * libc/machine/iq2000/Makefile.am: Ditto.
2200 * libc/machine/m32c/Makefile.am: Ditto.
2201 * libc/machine/m32r/Makefile.am: Ditto.
2202 * libc/machine/m68hc11/Makefile.am: Ditto.
2203 * libc/machine/m68k/Makefile.am: Ditto.
2204 * libc/machine/m88k/Makefile.am: Ditto.
2205 * libc/machine/mips/Makefile.am: Ditto.
2206 * libc/machine/mn10200/Makefile.am: Ditto.
2207 * libc/machine/mn10300/Makefile.am: Ditto.
2208 * libc/machine/mt/Makefile.am: Ditto.
2209 * libc/machine/necv70/Makefile.am: Ditto.
2210 * libc/machine/powerpc/Makefile.am: Ditto.
2211 * libc/machine/sh/Makefile.am: Ditto.
2212 * libc/machine/sparc/Makefile.am: Ditto.
2213 * libc/machine/tic4x/Makefile.am: Ditto.
2214 * libc/machine/tic80/Makefile.am: Ditto.
2215 * libc/machine/v850/Makefile.am: Ditto.
2216 * libc/machine/w65/Makefile.am: Ditto.
2217 * libc/machine/xscale/Makefile.am: Ditto.
2218 * libc/machine/xstormy16/Makefile.am: Ditto.
2219 * libc/machine/z8k/Makefile.am: Ditto.
2220 * libc/sys/a29khif/Makefile.am: Ditto.
2221 * libc/sys/arc/Makefile.am: Ditto.
2222 * libc/sys/arm/Makefile.am: Ditto.
2223 * libc/sys/d10v/Makefile.am: Ditto.
2224 * libc/sys/decstation/Makefile.am: Ditto.
2225 * libc/sys/h8300hms/Makefile.am: Ditto.
2226 * libc/sys/h8500hms/Makefile.am: Ditto.
2227 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
2228 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
2229 * libc/sys/m88kbug/Makefile.am: Ditto.
2230 * libc/sys/mmixware/Makefile.am: Ditto.
2231 * libc/sys/netware/Makefile.am: Ditto.
2232 * libc/sys/rdos/Makefile.am: Ditto.
2233 * libc/sys/rtems/Makefile.am: Ditto.
2234 * libc/sys/sh/Makefile.am: Ditto.
2235 * libc/sys/sparc64/Makefile.am: Ditto.
2236 * libc/sys/sysmec/Makefile.am: Ditto.
2237 * libc/sys/sysnec810/Makefile.am: Ditto.
2238 * libc/sys/sysnecv850/Makefile.am: Ditto.
2239 * libc/sys/sysvi386/Makefile.am: Ditto.
2240 * libc/sys/sysvnecv70/Makefile.am: Ditto.
2241 * libc/sys/tic80/Makefile.am: Ditto.
2242 * libc/sys/w65/Makefile.am: Ditto.
2243 * libc/sys/z8ksim/Makefile.am: Ditto.
2244 * libm/machine/i386/Makefile.am: Ditto.
2245 * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
2246 trap.S so that automake will generate a .S.o suffix rule.
2247 * libc/argz/Makefile.am: Modified to work with
2248 latest automake. Change includes adding lib_a_CFLAGS
2249 so automake doesn't complain about libtool and non-libtool
2250 libraries sharing objects.
2251 * libc/ctype/Makefile.am: Ditto.
2252 * libc/errno/Makefile.am: Ditto.
2253 * libc/iconv/ccs/Makefile.am: Ditto.
2254 * libc/iconv/ces/Makefile.am: Ditto.
2255 * libc/iconv/lib/Makefile.am: Ditto.
2256 * libc/locale/Makefile.am: Ditto.
2257 * libc/misc/Makefile.am: Ditto.
2258 * libc/posix/Makefile.am: Ditto.
2259 * libc/reent/Makefile.am: Ditto.
2260 * libc/search/Makefile.am: Ditto.
2261 * libc/signal/Makefile.am: Ditto.
2262 * libc/stdio/Makefile.am: Ditto.
2263 * libc/stdio64/Makefile.am: Ditto.
2264 * libc/stdlib/Makefile.am: Ditto.
2265 * libc/string/Makefile.am: Ditto.
2266 * libc/sys/linux/Makefile.am: Ditto.
2267 * libc/sys/linux/argp/Makefile.am: Ditto.
2268 * libc/sys/linux/cmath/Makefile.am: Ditto.
2269 * libc/sys/linux/dl/Makefile.am: Ditto.
2270 * libc/sys/linux/iconv/Makefile.am: Ditto.
2271 * libc/sys/linux/intl/Makefile.am: Ditto.
2272 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2273 * libc/sys/linux/net/Makefile.am: Ditto.
2274 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2275 * libc/syscalls/Makefile.am: Ditto.
2276 * libc/time/Makefile.am: Ditto.
2277 * libc/unix/Makefile.am: Ditto.
2278 * libm/Makefile.am: Ditto.
2279 * libm/common/Makefile.am: Ditto.
2280 * libm/math/Makefile.am: Ditto.
2281 * libm/mathfp/Makefile.am: Ditto.
2282 * Regenerate all aclocal.m4, Makefile.in, and configure files.
2283
2284 2006-04-07 Jeff Johnston <jjohnstn@redhat.com>
2285
2286 * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
2287 anymore. Assume there is a gettimeofday syscall.
2288
2289 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2290
2291 * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
2292 for the declaration of n_long.
2293
2294 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2295
2296 * libc/sys/linux/include/net/if.h: Include sys/socket.h for
2297 struct sockaddr.
2298 (IFF_SMART): Replace this define with IFF_NOTRAILERS.
2299 (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
2300 (IFF_NOTRAILERS): New define.
2301 (struct ifreq): Add ifru_netmask.
2302 (ifr_netmask): New define.
2303
2304 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2305
2306 * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
2307 match sys/ioctl.h.
2308
2309 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2310
2311 * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
2312 linux-newlib libc implementations.
2313
2314 2006-03-29 Eric Blake <ebb9@byu.net>
2315
2316 * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
2317 * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
2318
2319 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
2320
2321 * libc/sys/linux/io.c (__mknod): Fix declaration of
2322 syscall to pass a dev_t as third argument rather than
2323 a pointer to dev_t.
2324
2325 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
2326
2327 * libc/sys/linux/net/name6.c: Fix struct references.
2328
2329 2006-03-22 Mark Mitchell <mark@codesourcery.com>
2330
2331 * configure.host: Allow hosts to set the default
2332 newlib_atexit_dynamic_alloc value.
2333 * configure.in: Likewise.
2334 * configure: Regenerated.
2335
2336 2006-03-20 Mark Mitchell <mark@codesourcery.com>
2337
2338 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
2339 * configure.in (--disable-newlib-atexit-dynamic-alloc): New
2340 option.
2341 * configure: Regenerated.
2342 * newlib.hin: Regenerated.
2343 * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
2344 if _ATEXIT_DYNAMIC_ALLOC is undefined.
2345 * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
2346 if _ATEXIT_DYNAMIC_ALLOC is undefined.
2347
2348 2006-03-17 Jeff Johnston <jjohnstn@redhat.com>
2349
2350 * libc/sys/linux/linuxthreads/config.h: Remove definition
2351 of UINT32_C.
2352
2353 2006-03-15 Jeff Johnston <jjohnstn@redhat.com>
2354
2355 * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
2356 for a string I/O file that isn't using the asprintf family.
2357
2358 2006-03-07 Eric Blake <ebb9@byu.net>
2359
2360 * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
2361 filename, allow read-only or write-only FILE atop O_RDWR file
2362 descriptor.
2363 * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
2364
2365 2006-03-07 Jeff Johnston <jjohnstn@redhat.com>
2366
2367 * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
2368 * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
2369
2370 2006-03-02 Jeff Johnston <jjohnstn@redhat.com>
2371
2372 * libm/math/math.tex: Fix reference to sisnan.def which
2373 is now in common subdirectory.
2374 * libm/mathfp/mathfp.tex: Ditto.
2375
2376 2006-02-27 Jeff Johnston <jjohnstn@redhat.com>
2377
2378 * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
2379 s_isnand, and sf_isnanf object files.
2380 * Makefile.in: Regenerated.
2381 * libc/include/ieeefp.h: Undef isnan and isinf to avoid
2382 conflict if <math.h> has previously been included.
2383 * libc/include/math.h
2384 * libc/include/math.h: Make isnan and isinf macros to
2385 conform to C99.
2386 (__isinfd, __isinff, __isnand, __isnanf): New functions.
2387 * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
2388 and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and
2389 sf_isinf files which have been moved from math/mathfp directories.
2390 * libm/common/Makefile.in: Regenerated.
2391 * libm/common/s_isinfd.c: New file.
2392 * libm/common/s_isnand.c: Ditto.
2393 * libm/common/sf_isinff.c: Ditto.
2394 * libm/common/sf_isnanf.c: Ditto.
2395 * libm/common/s_isinf.c: Moved from libm/math directory.
2396 * libm/common/s_isnan.c: Ditto.
2397 * libm/common/sf_isinf.c: Ditto.
2398 * libm/common/sf_isnan.c: Ditto.
2399 * libm/math/Makefile.am: Remove isinf and isnan family functions
2400 which have been moved into common directory.
2401 * libm/mathfp/Makefile.am: Ditto.
2402 * libm/math/Makefile.in: Regenerated.
2403 * libm/mathfp/Makefile.in: Ditto.
2404 * libm/math/s_isinf.c: Removed.
2405 * libm/math/s_isnan.c: Ditto.
2406 * libm/math/sf_isinf.c: Ditto.
2407 * libm/math/sf_isnan.c: Ditto.
2408 * libm/mathfp/s_isinf.c: Ditto.
2409 * libm/mathfp/s_isnan.c: Ditto.
2410 * libm/mathfp/sf_isinf.c: Ditto.
2411 * libm/mathfp/sf_isnan.c: Ditto.
2412
2413 2006-02-20 Jeff Johnston <jjohnstn@redhat.com>
2414
2415 * libc/stdio/fflush.c (fflush): For an fflush on a read-only
2416 stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
2417 * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
2418 seek, turn off the __SNPT no-optimization flag.
2419
2420 2006-02-16 Jeff Johnston <jjohnstn@redhat.com>
2421
2422 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
2423 will be defined.
2424 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
2425 <features.h> to preset special flags.
2426
2427 2006-02-15 Corinna Vinschen <corinna@vinschen.de>
2428
2429 * libc/include/sys/time.h (struct timeval): Change member types
2430 according to SUSv3.
2431 * libc/include/sys/types.h (useconds_t): Change to unsigned
2432 according to SUSv3.
2433 (suseconds_t): Define type.
2434
2435 2006-02-13 Jeff Johnston <jjohnstn@redhat.com>
2436 David Carne <davidcarne@gmail.com>
2437
2438 * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
2439 instead of strlen to determine number of bytes to copy.
2440 * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
2441 before looking at storage location.
2442
2443 2006-02-07 Paul Brook <paul@codesourcery.com>
2444
2445 * libc/machine/arm/setjmp.S: Add Thumb-2 support.
2446 * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
2447 * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
2448 * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
2449 * libc/sys/arm/trap.S: Disable for Thumb-2.
2450
2451 2006-01-31 Leif Ekblad <leif@rdos.net>
2452
2453 * configure.host: RDOS support added
2454 * libc/include/sys/config.h: Ditto.
2455 * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
2456 * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
2457 * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
2458 * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
2459 * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
2460 * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
2461 * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
2462 * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
2463 * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
2464 * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
2465 * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
2466 * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
2467 * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
2468 * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
2469 * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
2470 * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
2471 * libc/sys/rdos/write.c: Ditto.
2472
2473 2006-01-24 Jeff Johnston <jjohnstn@redhat.com>
2474
2475 * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
2476 so as not to define PACKAGE and VERSION in newlib.h.
2477 * aclocal.m4: Regenerated.
2478 * configure: Ditto.
2479 * newlib.hin: Ditto.
2480
2481 2006-01-20 Jeff Johnston <jjohnstn@redhat.com>
2482
2483 * acconfig.h: New file to generate newlib.hin from.
2484 * newlib.hin: Regenerated.
2485 * stamp-h.in: Regenerated.
2486 * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
2487 called automatically.
2488 * Makefile.in: Regenerated.
2489 * acinclude.m4: Add proper comment for hack in previous change.
2490 * aclocal.m4 */aclocal.m4: Regenerated.
2491 * configure */configure: Regenerated.
2492
2493 2006-01-11 Jeff Johnston <jjohnstn@redhat.com>
2494
2495 * acinclude.m4: Add hack to prevent INSTALL in subdirs
2496 from being set to "../".
2497 * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
2498 * aclocal.m4: Regenerated.
2499 * configure: Ditto.
2500 * Makefile.in: Ditto.
2501 * doc/aclocal.m4: Ditto.
2502 * doc/configure: Ditto.
2503 * iconvdata/aclocal.m4: Ditto.
2504 * iconvdata/configure: Ditto.
2505 * libc/*/aclocal.m4: Ditto.
2506 * libc/*/configure: Ditto.
2507 * libc/libc.texinfo: Ditto.
2508 * libm/*/aclocal.m4: Ditto.
2509 * libm/*/configure: Ditto.
2510
2511 2006-01-10 Eric Blake <ebb9@byu.net>
2512
2513 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
2514 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
2515
2516 2006-01-10 Jeff Johnston <jjohnstn@redhat.com>
2517
2518 * libm/mathfp/s_frexp.c: Check for special values on
2519 the original input, not the manipulated output value.
2520 * libm/mathfp/sf_frexp.c: Ditto.
2521 * libm/mathfp/s_atangent.c: Don't use local value branch
2522 when checking for quadrant.
2523 * libm/mathfp/sf_atangent.c: Ditto.
2524
2525 2006-01-09 Jeff Johnston <jjohnstn@redhat.com>
2526
2527 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
2528 * libc/stdio64/freopen64.c: Ditto.
2529
2530 2006-01-09 Eric Blake <ebb9@byu.net>
2531
2532 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
2533 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
2534
2535 2006-01-06 Jeff Johnston <jjohnstn@redhat.com>
2536
2537 * libc/sys/linux/include/getopt.h: Add macros needed by
2538 new version of getopt.c in libc/stdlib.
2539
2540 2006-01-04 Gregory Pietsch <gpietsch@comcast.net>
2541
2542 * libc/stdlib/getopt.c: Replaced with version
2543 that adds getopt_long and getopt_long_only support.
2544 * libc/include/getopt.h: New file.
2545
2546 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
2547
2548 * NEWS: Update with 1.14.0 info.
2549 * README: Ditto.
2550 * acinclude.m4: Change version number to 1.14.0.
2551 * aclocal.m4: Regenerated.
2552 * configure: Ditto.
2553 * doc/aclocal.m4: Ditto.
2554 * doc/configure: Ditto.
2555 * libc/*/aclocal.m4: Ditto.
2556 * libc/*/configure: Ditto.
2557 * libc/libc.texinfo: Ditto.
2558 * libm/*/aclocal.m4: Ditto.
2559 * libm/*/configure: Ditto.
2560 * libm/libm.texinfo: Ditto.
2561 * libc/sys/linux/shared.ld: Add VERS_1.14.
2562
2563 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
2564
2565 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
2566 take a pointer to struct stat64 rather than struct stat.
2567
2568 2005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
2569
2570 * libc/include/stdint.h: Prefer long over int for int32_t.
2571 Use __have_long32 to set up int32_t.
2572 * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
2573 (Sync with stdint.h).
2574
2575 2005-12-14 Corinna Vinschen <corinna@vinschen.de>
2576
2577 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
2578 typo in O_NDELAY comment.
2579
2580 2005-12-13 Nathan Sidwell <nathan@codesourcery.com>
2581
2582 * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
2583 * libc/include/machine/setjmp.h (__mt__): Likewise.
2584 * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
2585 * libc/machine/configure.in: Ditto.
2586
2587 2005-12-12 Nathan Sidwell <nathan@codesourcery.com>
2588
2589 * configure.host: Replace ms1 arch with mt arch.
2590 * libc/machine/mt: Renamed from ms1 dir.
2591
2592 2005-12-08 Shaun Jackman <sjackman@gmail.com>
2593
2594 * libc/include/sys/types.h: Remove the ifdef armour around
2595 standard POSIX types.
2596
2597 2005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
2598
2599 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
2600 rtems_gxx_key_delete, rtems_gxx_getspecific,
2601 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
2602 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
2603 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
2604
2605 2005-12-05 Christopher Faylor <cgf@timesys.com>
2606
2607 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
2608 file. Declare unsetenv and _unsetenv_r when not cygwin.
2609
2610 2005-11-18 Jeff Johnston <jjohnstn@redhat.com>
2611
2612 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
2613 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
2614
2615 2005-11-18 Christopher Faylor <cgf@timesys.com>
2616
2617 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
2618
2619 2005-11-18 Christopher Faylor <cgf@timesys.com>
2620
2621 * include/time.h: Remove more cygwin-specific stuff.
2622
2623 2005-11-18 Christopher Faylor <cgf@timesys.com>
2624
2625 * include/time.h: Move cygwin declarations to cygwin-specific header.
2626 * include/sys/time.h: Rename cygwin include to "sys_time.h".
2627
2628 2005-11-17 Jeff Johnston <jjohnstn@redhat.com>
2629
2630 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
2631 in libc/sys/linux/include.
2632 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
2633 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
2634 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
2635 in libc/sys/linux/dl.
2636
2637 2005-11-11 Christopher Faylor <cgf@timesys.com>
2638
2639 * libc/include/sys/time.h: For cygwin, use general header rather than
2640 specific "sys/select.h".
2641
2642 2005-11-08 Tom Walsh <tom@openhardware.net>
2643
2644 * libc/time/tzvars.c: New file.
2645 * libc/time/tzset_r.c: Moved globals into tzvars.c
2646 so other time functions needn't link in __tzset_r and its
2647 dependencies.
2648 * libc/time/Makefile.am: Add the new file.
2649 * libc/time/Makefile.in: Regenerated.
2650
2651 2005-11-08 Christopher Faylor <cgf@timesys.com>
2652
2653 * libc/include/string.h: Add cygwin-specific function declaration.
2654
2655 2005-11-07 Corinna Vinschen <corinna@vinschen.de>
2656
2657 * libc/include/ieeefp.h: Add C++ guards.
2658
2659 2005-11-03 Jeff Johnston <jjohnstn@redhat.com>
2660
2661 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
2662 * libc/unix/getlogin.c: Ditto.
2663 * libc/unix/getpass.c: Ditto.
2664 * libc/unix/getut.c: Ditto.
2665 * libc/unix/ttyname.c: Ditto.
2666
2667 2005-11-03 Shaun Jackman <sjackman@gmail.com>
2668
2669 * libc/include/sys/unistd.h (readlink, symlink): Provide these
2670 prototypes by default.
2671 * libc/sys/linux/include/unistd.h (readlink): Remove this
2672 prototype.
2673 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
2674 prototypes.
2675
2676 2005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
2677
2678 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
2679
2680 2005-10-31 Darin Johnson <darin@usa.net>
2681
2682 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
2683 correct for constants.
2684
2685 2005-10-28 Bob Wilson <bob.wilson@acm.org>
2686
2687 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
2688 * libc/stdio/siscanf.c: Likewise.
2689 * libc/stdio/sprintf.c: Likewise.
2690 * libc/stdio/sscanf.c: Likewise.
2691 * libc/stdio/vfprintf.c: Likewise.
2692 * libc/stdio/vfscanf.c: Likewise.
2693 * libc/stdio/viprintf.c: Likewise.
2694 * libc/stdio/viscanf.c: Likewise.
2695
2696 2005-10-28 Bob Wilson <bob.wilson@acm.org>
2697
2698 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
2699 example to use "_end" symbol instead of "end". Change write example
2700 to use "outbyte" instead of "writechar".
2701
2702 2005-10-28 Bob Wilson <bob.wilson@acm.org>
2703
2704 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
2705 * libc/ctype/islower.c: Likewise.
2706 * libc/ctype/isupper.c: Likewise.
2707 * libc/ctype/iswalnum.c: Likewise.
2708 * libc/ctype/iswalpha.c: Likewise.
2709 * libc/ctype/iswblank.c: Likewise.
2710 * libc/ctype/iswcntrl.c: Likewise.
2711 * libc/ctype/iswdigit.c: Likewise.
2712 * libc/ctype/iswgraph.c: Likewise.
2713 * libc/ctype/iswlower.c: Likewise.
2714 * libc/ctype/iswprint.c: Likewise.
2715 * libc/ctype/iswpunct.c: Likewise.
2716 * libc/ctype/iswspace.c: Likewise.
2717 * libc/ctype/iswupper.c: Likewise.
2718 * libc/ctype/iswxdigit.c: Likewise.
2719 * libc/ctype/tolower.c: Likewise.
2720 * libc/ctype/toupper.c: Likewise.
2721 * libc/ctype/towctrans.c: Likewise.
2722 * libc/ctype/towlower.c: Likewise.
2723 * libc/ctype/towupper.c: Likewise.
2724 * libc/string/strcasecmp.c: Likewise.
2725 * libc/string/strcoll.c: Likewise.
2726 * libc/string/strings.tex: Likewise.
2727 * libc/string/strlwr.c: Likewise.
2728 * libc/string/strncasecmp.c: Likewise.
2729 * libc/string/strupr.c: Likewise.
2730 * libc/string/wcscoll.c: Likewise.
2731 * libc/string/wcslcat.c: Likewise.
2732 * libc/string/wcslcpy.c: Likewise.
2733 * libc/string/wcsnlen.c: Likewise.
2734 * libc/string/wcsstr.c: Likewise.
2735 * libc/string/wcstrings.tex: Likewise.
2736 * libc/string/wmemchr.c: Likewise.
2737 * libc/string/wmemcmp.c: Likewise.
2738 * libc/string/wmemcpy.c: Likewise.
2739 * libc/string/wmemmove.c: Likewise.
2740 * libc/string/wmemset.c: Likewise.
2741
2742 2005-10-28 Bob Wilson <bob.wilson@acm.org>
2743
2744 * libc/misc/unctrl.c: Replace FUNCTION description.
2745 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
2746 * libc/stdio/getdelim.c: Fix spelling errors.
2747 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
2748 * libc/stdio/putw.c: Likewise.
2749 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
2750 documentation.
2751 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
2752 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
2753 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
2754 * libc/stdlib/mlock.c: Likewise.
2755 * libc/stdlib/mstats.c: Likewise.
2756 * libc/time/tzlock.c: Likewise.
2757 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
2758 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
2759 and hyphenate "pseudo-random".
2760 * libc/string/bcmp.c: Remove extra blank lines in documentation.
2761 * libc/string/strncat.c: Likewise.
2762 * libc/string/memchr.c: Remove extra ">" character in documentation.
2763 * libc/string/strcspn.c: Use "characters" instead of "chars".
2764 * libc/string/strpbrk.c: Likewise.
2765 * libc/string/strerror_r.c: Capitalize "GNU".
2766 * libc/string/strnlen.c: Likewise.
2767 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
2768 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
2769 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
2770 * libc/string/wcschr.c: Likewise.
2771 * libc/string/wcscmp.c: Likewise.
2772 * libc/string/wcscpy.c: Likewise.
2773 * libc/string/wcscspn.c: Likewise.
2774 * libc/string/wcslen.c: Likewise.
2775 * libc/string/wcsncat.c: Likewise.
2776 * libc/string/wcsncmp.c: Likewise.
2777 * libc/string/wcsncpy.c: Likewise.
2778 * libc/string/wcsnlen.c: Likewise.
2779 * libc/string/wcspbrk.c: Likewise.
2780 * libc/string/wcsrchr.c: Likewise.
2781 * libc/string/wcsspn.c: Likewise.
2782 * libc/string/wmemchr.c: Likewise.
2783 * libc/string/wmemcmp.c: Likewise.
2784 * libc/string/wmemcpy.c: Likewise.
2785 * libc/string/wmemset.c: Likewise.
2786 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
2787 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
2788 * libc/string/wcwidth.c: Likewise.
2789 * libm/common/s_modf.c: Remove extra period from documentation.
2790 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
2791 documentation.
2792 * libm/mathfp/s_isnan.c: Likewise.
2793 * libm/math/s_ldexp.c: Fix punctuation.
2794 * libm/mathfp/s_ldexp.c: Likewise.
2795 * libm/math/w_log.c: Likewise.
2796 * libm/mathfp/s_logarithm.c: Likewise.
2797 * libm/math/w_j0.c: Add spaces to FUNCTION description.
2798 * libm/mathfp/w_jn.c: Likewise.
2799
2800 2005-10-26 Shaun Jackman <sjackman@gmail.com>
2801
2802 * libc/posix/scandir.c (scandir): Update the function
2803 prototype to match the header.
2804 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
2805 extraneous #endif.
2806 * libc/sys/linux/sys/lock.h: Do not include
2807 machine/weakalias.h, since it's not used by this file.
2808
2809 2005-10-26 Jeff Johnston <jjohnstn@redhat.com>
2810
2811 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
2812 directories can override properly.
2813
2814 2005-10-20 Jeff Johnston <jjohnstn@redhat.com>
2815
2816 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
2817 gcc is 3.3 or greater, use special gcc builtins.
2818
2819 2005-10-20 Corinna Vinschen <corinna@vinschen.de>
2820
2821 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
2822
2823 2005-10-18 Corinna Vinschen <corinna@vinschen.de>
2824
2825 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
2826
2827 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2828
2829 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
2830 * libm/common/Makefile.am: Add s_infconst.c support.
2831 * libm/common/Makefile.in: Regenerated.
2832 * libm/common/s_infconst.c: New file with float and
2833 long double infinity support added.
2834 * libm/math/Makefile.am: Remove s_infconst.c support.
2835 * libm/math/Makefile.in: Regenerated.
2836 * libm/math/s_infconst.c: Moved to common directory.
2837 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
2838 * libm/mathfp/Makefile.in: Regenerated.
2839 * libm/mathfp/s_infconst.c: Moved to common directory.
2840
2841 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2842
2843 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
2844 dbgprintf to prevent conflict with new dprintf function.
2845
2846 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2847
2848 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
2849 "nan" processing for systems that have long double support.
2850
2851 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2852
2853 * libc/sys/linux/sys/types.h (int8_t): Add type.
2854
2855 2005-10-14 Bob Wilson <bob.wilson@acm.org>
2856
2857 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
2858 * libm/common/Makefile.in: Regenerate.
2859 * libm/common/common.tex: Delete file.
2860 * libm/math/math.tex: Include .def files from common/.
2861 * libm/mathfp/mathfp.tex: Likewise.
2862
2863 2005-10-14 Bob Wilson <bob.wilson@acm.org>
2864
2865 * libc/libc.texinfo (Top): Surround this node with @ifnottex
2866 instead of @ifinfo. Update menu to add Introduction and match
2867 SUBDIRS order.
2868 (Introduction): New section.
2869
2870 2005-10-14 Bob Wilson <bob.wilson@acm.org>
2871
2872 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
2873 with "Red Hat newlib C Library".
2874 * libc/sys.tex (Stubs): Likewise.
2875 * libm/math/math.tex (Math): Likewise.
2876 * libm/mathfp/mathfp.tex (Math): Likewise.
2877
2878 2005-10-11 Shaun Jackman <sjackman@gmail.com>
2879
2880 * libc/include/stdio.h (dprintf): New declaration.
2881 (vdprintf): Ditto.
2882 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
2883 and vdprintf.c.
2884 * libc/stdio/Makefile.in: Regenerate.
2885 * libc/stdio/dprintf.c: New file.
2886 * libc/stdio/vdprintf.c: New file.
2887 * libc/stdio/stdio.tex (dprintf): New entry.
2888
2889 2005-10-11 David Weatherford <weath@tensilica.com>
2890
2891 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
2892 Print "inf" and "nan" in lowercase for e/f/g formats and in
2893 uppercase for E/F/G formats.
2894
2895 2005-10-07 Bob Wilson <bob.wilson@acm.org>
2896
2897 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
2898 to ENOMEM on failure.
2899
2900 2005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
2901
2902 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
2903
2904 2005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
2905
2906 * libc/include/stdint.h: Move magic to set __have_long* to the
2907 beginning. Use #if __have* instead of #if defined(__have*).
2908 Minor typo fixes.
2909
2910 2005-10-04 James E Wilson <wilson@specifix.com>
2911
2912 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
2913 #error.
2914
2915 2005-10-03 Jeff Johnston <jjohnstn@redhat.com>
2916
2917 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
2918 incorporate Ralf's change below.
2919
2920 2005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
2921
2922 * libc/include/stdint.h:
2923 Use __INTMAX_TYPE__ to derive intmax_t.
2924 Use __UINTMAX_TYPE__ to derive uintmax_t.
2925 Fix minor typo.
2926
2927 2005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
2928
2929 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
2930 handling GCC >= 4.
2931
2932 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
2933
2934 * libc/sys/linux/include/stdint.h: Update to match functionality
2935 of generic newlib stdint.h.
2936
2937 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
2938
2939 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
2940 and do not #undef the macro after it is used. Fix typos.
2941 Also change 64-bit constants to use the __have_long64 and
2942 __have_longlong64 flags to determine if long or long long
2943 constants should be used.
2944 * libc/include/inttypes.h: Include stddef.h to get wchar_t
2945 type defined.
2946
2947 2005-09-20 Shaun Jackman <sjackman@gmail.com>
2948
2949 * libc/include/stdint.h: Fix typo in names of
2950 LEAST macros.
2951
2952 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
2953
2954 * libc/sys/rtems/include/inttypes.h: Moved to...
2955 * libc/include/inttypes.h: ...here.
2956
2957 2005-09-19 Jeff Johnston <jjohnstn@redhat.com>
2958
2959 * libc/sys/rtems/include/stdint.h: Moved to...
2960 * libc/include/stdint.h: ...here.
2961
2962 2005-09-08 Jeff Johnston <jjohnstn@redhat.com>
2963
2964 * Makefile.am: Add include files under bits sub-directory.
2965 * Makefile.in: Regenerated.
2966 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
2967 actual value of 1 to be compatible with newer glibc headers.
2968 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
2969 glibc headers.
2970 * libc/sys/linux/sys/dirent.h: Ditto.
2971 * libc/sys/linux/argp/argp-xinl.c: Ditto.
2972 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
2973 profile_fixup routines are marked used so they won't be
2974 optimized away.
2975 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
2976 to mark functions as weak.
2977 * libc/sys/linux/dl/dl-open.c: Ditto.
2978 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
2979 rules about lvalues.
2980 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
2981 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
2982 weak_extern macro to mark functions as weak. Instead always
2983 use #pragma weak.
2984 * iconvdata/jis0208.h: Fix to work with gcc4.
2985 * libc/sys/linux/dl/dl-load.c: Ditto.
2986 * libc/sys/linux/dl/dl-reloc.c: Ditto.
2987 * libc/sys/linux/dl/do-rel.h: Ditto.
2988 * libc/sys/linux/dl/dynamic-link.h: Ditto.
2989 * libc/sys/linux/include/ltdl.h: Ditto.
2990 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
2991 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
2992 * libc/sys/linux/net/ns_ntoa.c: Ditto.
2993 * libc/sys/linux/bits/initspin.h: New file.
2994 * libc/sys/linux/bits/libc-lock.h: Ditto.
2995 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
2996 * libc/sys/linux/bits/typesizes.h: Ditto.
2997
2998 2005-09-08 Eric Blake <ebb9@byu.net>
2999
3000 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
3001 before is NULL.
3002
3003 2005-09-08 Brian Dessent <brian@dessent.net>
3004
3005 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
3006 mantissa.
3007 * s_lrint.c: Ditto.
3008
3009 2005-09-02 Jeff Johnston <jjohnstn@redhat.com>
3010
3011 * libc/include/stdio.h: Add prototype for viprintf.
3012
3013 2005-09-01 Jeff Johnston <jjohnstn@redhat.com>
3014
3015 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
3016 any positive power results in 0.
3017 * libm/mathfp/sf_pow.c (powf): Ditto.
3018
3019 2005-08-31 Paul Brook <paul@codesourcery.com>
3020
3021 * configure.host: Set have_crt0 to no for Arm targts when not
3022 providing syscalls. Set sys_dir=arm unconditionally.
3023 Default have_crt0 based on sys_dir.
3024 * configure.in: Use have_crt0.
3025 * libc/configure.in: Ditto.
3026 * libc/sys/configure.in: Ditto.
3027 * configure: Regenerate.
3028 * libc/configure: Regenerate.
3029 * libc/sys/configure: Regenerate.
3030 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
3031 Only build other files when providing syscalls.
3032 * libc/sys/arm/Makefile.in: Regenerate.
3033 * libc/sys/arm/aeabi_atexit.c: New file.
3034
3035 2005-08-26 Christopher Faylor <cgf@timesys.com>
3036
3037 * libc/include/string.h: Revert previous change.
3038
3039 2005-08-25 Christopher Faylor <cgf@timesys.com>
3040
3041 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
3042
3043 2005-08-22 Shaun Jackman <sjackman@gmail.com>
3044
3045 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
3046 define _opendir as opendir, _readdir as readdir, and
3047 _closedir as closedir so that the implementations in
3048 libc/posix will be used.
3049
3050 2005-08-10 DJ Delorie <dj@redhat.com>
3051
3052 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
3053
3054 2005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
3055
3056 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
3057 * libm/common/s_max.c: Ditto.
3058 * libm/common/sf_fmin.c: Ditto.
3059 * libm/common/s_min.c: Ditto.
3060
3061 2005-08-10 DJ Delorie <dj@redhat.com>
3062
3063 * configure.host: Add m32c support.
3064 * libc/include/machine/ieeefp.h: Likewise.
3065 * libc/include/machine/setjmp.h: Likewise.
3066 * libc/include/sys/config.h: Likewise.
3067 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
3068 * libc/machine/m32c/aclocal.m4: New file.
3069 * libc/machine/m32c/configure: Ditto.
3070 * libc/machine/m32c/configure.in: Ditto.
3071 * libc/machine/m32c/Makefile.am: Ditto.
3072 * libc/machine/m32c/Makefile.in: Ditto.
3073 * libc/machine/m32c/setjmp.S: Ditto.
3074
3075 2005-08-02 Bob Wilson <bob.wilson@acm.org>
3076
3077 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
3078 to the value for 2^126.
3079
3080 2005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
3081
3082 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
3083 used.
3084
3085 2005-07-20 Bob Wilson <bob.wilson@acm.org>
3086 Darin Petkov <darin@tensilica.com>
3087
3088 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
3089
3090 2005-07-19 Paul Brook <paul@codesourcery.com>
3091
3092 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
3093
3094 2005-07-18 Joseph S. Myers <joseph@codesourcery.com>
3095
3096 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
3097 names after PASS and FAIL which do not depend on source directory
3098 name or on whether test passed or failed.
3099 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
3100
3101 2005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
3102
3103 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
3104
3105 2005-07-07 Shaun Jackman <sjackman@gmail.com>
3106
3107 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
3108 twice for the same directory. _closedir calls free, and freeing
3109 the same pointer twice may cause a crash.
3110
3111 2005-07-06 Aldy Hernandez <aldyh@redhat.com>
3112
3113 * configure.host: Added entry for ms1*.
3114 * libc/include/machine/ieeefp.h: Handle ms1.
3115 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
3116 * libc/machine/ms1/aclocal.m4: New.
3117 * libc/machine/ms1/configure: New.
3118 * libc/machine/ms1/configure.in: New.
3119 * libc/machine/ms1/Makefile.am: New.
3120 * libc/machine/ms1/Makefile.in: New.
3121 * libc/machine/ms1/setjmp.S: New.
3122
3123 2005-07-04 Mark Mitchell <mark@codesourcery.com>
3124
3125 * Makefile.am (site.exp): Set tmpdir.
3126 * Makefile.in: Regenerated.
3127 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
3128 executables in $tmpdir.
3129 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
3130 libgloss version if not running in the build directory.
3131 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
3132 $tmpdir.
3133 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
3134 in $tmpdir.
3135
3136 2005-06-28 Dave Korn <dave.korn@artimi.com>
3137
3138 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
3139 and miscalculation caused by fp representation of zero.
3140 * libm/common/sf_lrint.c (lrintf): Likewise.
3141
3142 2005-06-16 Christopher Faylor <cgf@timesys.com>
3143
3144 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
3145 determine characteristics of long double. Use a union instead.
3146 * ldtoa.c (_ldtoa_r): Ditto.
3147 (_ldcheck): Ditto.
3148 (_strtold): Ditto.
3149 (union uconv): New union.
3150
3151 2005-06-03 Jeff Johnston <jjohnstn@redhat.com>
3152
3153 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
3154 instead of memcpy.
3155
3156 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
3157
3158 * configure.host (mn10300-*): Add long long I/O support by default.
3159
3160 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
3161
3162 * libc/sys/linux/getpwuid.c: Removed.
3163 * libc/sys/linux/getpwnam.c: Removed.
3164 * libc/sys/linux/getpwent.c: New file containing logic
3165 from files removed above. This allows overriding of file
3166 in libc/unix.
3167 * libc/sys/linux/Makefile.am: Support changes above.
3168 * libc/sys/linux/Makefile.in: Regenerated.
3169
3170 2005-04-28 Jeff Johnston <jjohnstn@redhat.com>
3171
3172 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
3173 when checking for multiple flags.
3174
3175 2005-04-18 Hans-Peter Nilsson <hp@axis.com>
3176
3177 * configure.host <cris-*-* | crisv32-*-*>: Set
3178 default_newlib_io_long_long="yes".
3179
3180 2005-04-08 Jeff Johnston <jjohnstn@redhat.com>
3181
3182 * libc/include/libgen.h: New file.
3183
3184 2005-04-08 Shaun Jackman <sjackman@gmail.com>
3185
3186 * libc/unix/Makefile.am: Add support for basename and dirname.
3187 * libc/unix/Makefile.in: Regenerated.
3188 * libc/unix/basename.c: New file.
3189 * libc/unix/dirname.c: New file.
3190
3191 2005-04-07 Shaun Jackman <sjackman@gmail.com>
3192
3193 * libc/sys/linux/inode.c (lchown): New function.
3194
3195 2005-04-07 Shaun Jackman <sjackman@gmail.com>
3196
3197 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
3198 ELIX level is defined.
3199 * libc/unix/Makefile.in: Regenerated.
3200
3201 2005-04-05 Dave Korn <dave.korn@artimi.com>
3202
3203 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
3204 something that looks like a "NaN", put back the characters processed.
3205
3206 2005-04-01 Corinna Vinschen <corinna@vinschen.de>
3207
3208 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
3209
3210 2005-03-23 Christopher Faylor <cgf@timesys.com>
3211
3212 * configure.host: For cygwin, redefine CC with cygwin include directory
3213 first to mimic the behavior of the top-level configury. Move include
3214 directory out of newlib_cflags.
3215
3216 2005-03-22 Jeff Johnston <jjohnstn@redhat.com>
3217
3218 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
3219 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
3220 than errno.
3221
3222 2005-03-22 Christopher Faylor <cgf@timesys.com>
3223
3224 * libc/include/machine/_types.h: Make trivial change to comment to
3225 avoid a spurious warning from gcc.
3226
3227 2005-03-21 Nicholas Wourms <nwourms@netscape.net>
3228
3229 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
3230 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
3231 reent.h include.
3232
3233 2005-03-18 Hans-Peter Nilsson <hp@axis.com>
3234 Corinna Vinschen <corinna@vinschen.de>
3235
3236 * libc/include/ctype.h: Remove invalid +1 offset from
3237 ctype macro references to __ctype_ptr.
3238 (_ctype_): Move declaration outside #ifndef __cplusplus.
3239
3240 2005-03-18 Corinna Vinschen <corinna@vinschen.de>
3241
3242 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
3243 evaluate first parameter only once.
3244 (siglongjmp): Ditto.
3245
3246 2005-03-17 Jeff Johnston <jjohnstn@redhat.com>
3247
3248 * configure.in: Add new check to see if compiler supports
3249 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
3250 * configure: Regenerated.
3251 * Makefile.in: Ditto.
3252 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
3253 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
3254 aliasing the _ctype_ array to _ctype_b.
3255 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
3256 _ctype_ as deprecated.
3257
3258 2005-03-17 Hans-Peter Nilsson <hp@axis.com>
3259
3260 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
3261 -DCOMPACT_CTYPE.
3262
3263 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3264
3265 * libc/sys/rtems/include/inttypes.h: New file.
3266 * libc/sys/rtems/include/stdint.h: Ditto.
3267
3268 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3269
3270 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
3271
3272 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3273
3274 * libc/include/machine/_types.h: New file.
3275 * libc/include/sys/types.h: Do not check for __rtems__
3276 when including <machine/_types.h>. Remove some redundant
3277 declarations now that <machine/_types.h> is included.
3278 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
3279 shared header file.
3280
3281 2005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
3282
3283 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
3284 L qualifier for these long constants.
3285
3286 2005-02-25 Eric Blake <ebb9@byu.net>
3287
3288 * libc/include/time.h (__tzrule_struct): Make offset long, since
3289 a 16-bit int overflows on a 12-hour offset.
3290 * libc/sys/linux/include/time.h: Ditto.
3291 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
3292 * libc/time/mktm_r.c: Ditto.
3293 * libc/time/gettzinfo.c: Ditto.
3294 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
3295 years. Fix '%z' to use long, not int.
3296
3297 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
3298
3299 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
3300 manipulate float values in integer form.
3301 * libm/common/sf_round.c: Ditto.
3302
3303 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
3304
3305 * libc/include/sys/types.h [__rtems__]: Include new
3306 header file machine/_types.h.
3307 * libc/include/machine/types.h: Ditto.
3308 * libc/sys/rtems/machine/_types.h: New file.
3309
3310 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
3311
3312 * libc/include/time.h (_timezone): Change to long also for Cygwin.
3313 (timezone): Drop cast from definition.
3314
3315 2005-02-23 Jeff Johnston <jjohnstn@redhat.com>
3316
3317 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
3318 (__tzrule_type, __tzinfo_type): New types.
3319 (__gettzinfo): New function.
3320 * libc/sys/linux/include/time.h: Ditto.
3321 * libc/time/Makefile.am: Add gettzinfo.c.
3322 * libc/time/Makefile.in: Regenerated.
3323 * libc/time/local.h: Moved __tzrule_type to time.h.
3324 * libc/time/mktime.c: Call __gettzinfo to reference
3325 __tznorth, __tzyear, and __tzrule array.
3326 * libc/time/mktm_r.c: Ditto.
3327 * libc/time/strftime.c: Ditto.
3328 * libc/time/tzset_r.c: Ditto. Also remove definition
3329 of __tzrule which is now in gettzinfo.c. Change _timezone
3330 references to not cast to time_t.
3331 * libc/time/gettzinfo.c: New file.
3332
3333 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
3334
3335 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
3336
3337 2005-02-22 Corinna Vinschen <corinna@vinschen.de>
3338
3339 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
3340
3341 2005-02-16 Eric Blake <ebb9@byu.net>
3342
3343 * libc/time/time.tex: Improve the documentation.
3344 * libc/time/strftime.c: Improve the documentation.
3345 (iso_year_adjust): New helper function.
3346 (strftime): Simplify '%E' and '%O'. Change '%c' to use
3347 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
3348 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
3349 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
3350 Avoid core dumps on valid inputs (maxsize == 0, or
3351 tim_p->tm_isdst > 1).
3352
3353 2005-02-08 Corinna Vinschen <corinna@vinschen.de>
3354
3355 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
3356 members to uid_t and gid_t according to SUSv3.
3357 * libc/include/sys/time.h (utimes): Change second parameter
3358 to const according to SUSv3.
3359
3360 2005-02-07 Antony King <antony.king@st.com>
3361
3362 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
3363 called before _flockfile to prevent lock object use before
3364 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
3365 take a struct _reent * instead of a FILE *.
3366 * libc/stdio/fclose.c (_fclose_r): Ditto.
3367 * libc/stdio/feof.c (feof): Ditto.
3368 * libc/stdio/ferror.c (ferror): Ditto.
3369 * libc/stdio/fflush.c (fflush): Ditto.
3370 * libc/stdio/fgetc.c (fgetc): Ditto.
3371 * libc/stdio/fgets.c (fgets): Ditto.
3372 * libc/stdio/fileno.c (fileno): Ditto.
3373 * libc/stdio/fputc.c (fputc): Ditto.
3374 * libc/stdio/fputs.c (fputs): Ditto.
3375 * libc/stdio/fread.c (fread): Ditto.
3376 * libc/stdio/freopen.c (_freopen_r): Ditto.
3377 * libc/stdio/fseek.c (_fseek_r): Ditto.
3378 * libc/stdio/ftell.c (_ftell_r): Ditto.
3379 * libc/stdio/fwrite.c (fwrite): Ditto.
3380 * libc/stdio/getc.c (getc): Ditto.
3381 * libc/stdio/getdelim.c (__getdelim): Ditto.
3382 * libc/stdio/putc.c (putc): Ditto.
3383 * libc/stdio/setvbuf.c (setvbuf): Ditto.
3384 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
3385 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
3386 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
3387 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
3388 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
3389 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
3390 _reent * instead of a FILE * and so replace incorrect use of
3391 _REENT with argument.
3392 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
3393 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
3394 CHECK_INIT() take a struct _reent * instead of a FILE *.
3395 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
3396 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
3397 * libc/stdio/perror.c (perror): Ditto.
3398 * libc/stdio/printf.c (printf, _printf_r): Ditto.
3399 * libc/stdio/putchar.c (putchar): Ditto.
3400 * libc/stdio/puts.c (puts): Ditto.
3401 * libc/stdio/refill.c (__srefill): Ditto.
3402 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
3403 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
3404 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
3405 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
3406 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
3407 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
3408 * libc/stdio/wbuf.c (__swbuf): Ditto.
3409 * libc/stdio/wsetup.c (__swsetup): Ditto.
3410 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
3411 * libc/stdlib/mstats.c (_mstats_r): Ditto.
3412 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
3413 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
3414 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
3415 to _flockfile and _funlockfile; rely on locking in _ftell_r.
3416 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
3417 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
3418 initialision of _data field in FILE structure.
3419 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
3420
3421 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
3422
3423 * libc/stdio/findfp.c (__sinit): Protect with new lock.
3424 (__sinit_lock): New lock.
3425 (__sinit_lock_acquire, __sinit_lock_release): New functions.
3426 * libc/stdio/local.h: Add reference to new __sinit locking
3427 functions.
3428
3429 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
3430
3431 * libc/include/math.h (isfinite, isnormal, isunordered): Change
3432 input variable names to avoid mixups with nesting macros.
3433
3434 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3435
3436 * configure.host: Add support for cris-*-* and crisv32-*-*.
3437 * libc/include/machine/ieeefp.h: Ditto.
3438 * libc/include/machine/setjmp.h: Ditto.
3439 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
3440 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
3441 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
3442 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
3443 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
3444 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
3445 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
3446 files.
3447
3448 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3449
3450 * testsuite/newlib.string/memmove1.c: New test.
3451
3452 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3453
3454 * testsuite/include/check.h: Include stdlib.h.
3455
3456 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3457
3458 * Makefile.am (stmp-targ-include): Support include header files
3459 from machine directories.
3460 (install-data-local): Ditto.
3461 * Makefile.in: Regenerate.
3462
3463 2005-01-24 Jeff Johnston <jjohnstn@redhat.com>
3464
3465 * libc/include/string.h: Remove Linux-specific declaration of
3466 strsignal and add #include <sys/string.h>.
3467 * libc/include/sys/string.h: New file.
3468 * libc/include/sys/linux/sys/string.h: New file with strsignal
3469 declaration deleted above.
3470
3471 2005-01-20 Jeff Johnston <jjohnstn@redhat.com>
3472
3473 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
3474 to POSIX standard for "C" locale. Allow %E and %O modifiers
3475 to be ignored as long as they precede valid specifiers according
3476 to POSIX.
3477
3478 2005-01-19 Shaun Jackman <sjackman@gmail.com>
3479
3480 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
3481 environment variable is set.
3482
3483 2005-01-19 Shaun Jackman <sjackman@gmail.com>
3484
3485 * tzset_r.c (_tzname): Add a comma.
3486
3487 2005-01-18 Aldy Hernandez <aldyh@redhat.com>
3488
3489 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
3490 _VFPRINTF_R.
3491
3492 2005-01-07 Paul Brook <paul@codesourcery.com>
3493
3494 * configure.in: Add test for .init_array.
3495 * configure: Regenerate.
3496 * newlib.hin: Add HAVE_INITFINI_ARRAY.
3497 * libc/misc/Makefile.am: Add init.c
3498 * libc/misc/Makefile.in: Regenerate.
3499 * libc/misc/init.c: New file.
3500 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
3501 _init/_fini if they exist.
3502
3503 2005-01-06 Jeff Johnston <jjohnstn@redhat.com>
3504
3505 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
3506 * (strtof): Ditto.
3507 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
3508 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
3509 functions for use by strtod and strtof.
3510 * Makefile.in: Regenerated.
3511
3512 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
3513
3514 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
3515 bit-test in combination with NULL test.
3516
3517 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
3518
3519 * README: Fix typo of LGPL. Change "license" to "copyright".
3520
3521 2004-12-17 Jeff Johnston <jjohnstn@redhat.com>
3522
3523 * NEWS: Update with 1.13.0 info.
3524 * README: Ditto.
3525 * acinclude.m4: Change version number to 1.13.0.
3526 * aclocal.m4: Regenerated.
3527 * configure: Ditto.
3528 * doc/aclocal.m4: Ditto.
3529 * doc/configure: Ditto.
3530 * libc/*/aclocal.m4: Ditto.
3531 * libc/*/configure: Ditto.
3532 * libc/libc.texinfo: Ditto.
3533 * libm/*/aclocal.m4: Ditto.
3534 * libm/*/configure: Ditto.
3535 * libm/libm.texinfo: Ditto.
3536 * libc/sys/linux/shared.ld: Add VERS_1.13.
3537
3538 2004-12-17 Christian Groessler <chris@groessler.org>
3539
3540 * libc/machine/z8k/memcmp.S: New file.
3541 * libc/machine/z8k/memcpy.S: Ditto.
3542 * libc/machine/z8k/memmove.S: Ditto.
3543 * libc/machine/z8k/memset.S: Ditto.
3544 * libc/machine/z8k/Makefile.am: Add new files.
3545 * libc/machine/z8k/Makefile.in: Regenerated.
3546 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
3547 part. Implement Z8002 stdcall version.
3548
3549 2004-12-13 Jeff Johnston <jjohnstn@redhat.com>
3550
3551 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
3552 a low-level read if we don't get the full amount of bytes so
3553 EOF or error flags will be set.
3554
3555 2004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
3556
3557 * libc/time/tzset_r (_tzset_r): Properly skip over
3558 '/' when it is detected.
3559
3560 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
3561
3562 * libc/time/tzset_r (_tzset_r): Fix loop.
3563
3564 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
3565
3566 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
3567 m_day.
3568 (__tzcalc_limits): Fix reference to month array to be zero-based.
3569
3570 2004-12-07 Jeff Johnston <jjohnstn@redhat.com>
3571
3572 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
3573 and usleep.
3574
3575 2004-12-03 Jeff Johnston <jjohnstn@redhat.com>
3576
3577 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
3578 libgcc dependencies.
3579 (libm_la_LDFLAGS): Ditto.
3580 * Makefile.in: Regenerated.
3581
3582 2004-12-03 Shaun Jackman <sjackman@gmail.com>
3583
3584 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
3585 our link to use readlink so as to preserve any relative link created
3586 by install-toollibLIBRARIES.
3587 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
3588
3589 2004-12-02 Shaun Jackman <sjackman@gmail.com>
3590
3591 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
3592 time_t before including sys/stat.h, which uses it.
3593 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
3594 <linux/time.h> just prior to definition of __KERNEL__ so as to
3595 allow building on Debian Linux where otherwise, mktime would
3596 be redefined.
3597
3598 2004-11-26 Paul Brook <paul@codesourcery.com>
3599
3600 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
3601
3602 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
3603
3604 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
3605 const for value string parameter to match Single Unix and glibc.
3606 * libc/stdlib/putenv.c: Ditto.
3607 * libc/stdlib/putenv_r.c: Ditto.
3608
3609 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
3610
3611 * libc/stdio/Makefile.am: Fix missing vfscanf.
3612 * libc/stdio/Makefile.in: Regenerated.
3613
3614 2004-11-23 Jeff Johnston <jjohnstn@redhat.com>
3615
3616 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
3617 do some reordering.
3618 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
3619 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
3620 family functions.
3621 * libc/stdio/Makefile.in: Regenerated.
3622 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
3623 * libc/stdio/iprintf.c: Ditto.
3624 * libc/stdio/local.h (__svfiscanf_r): New prototype.
3625 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
3626 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
3627 * libc/stdio/stdio.tex: Add new functions.
3628 * libc/stdio/vfscanf.c: Split out __sccl function to separate
3629 file and add special name defines so this file can be used
3630 to build vfiscanf.o.
3631 * libc/stdio/asiprintf.c: New file.
3632 * libc/stdio/fiscanf.c: Ditto.
3633 * libc/stdio/iscanf.c: Ditto.
3634 * libc/stdio/sccl.c: Ditto.
3635 * libc/stdio/siscanf.c: Ditto.
3636 * libc/stdio/vasiprintf.c: Ditto.
3637 * libc/stdio/viprintf.c: Ditto.
3638 * libc/stdio/viscanf.c: Ditto.
3639 * libc/stdio/vsiprintf.c: Ditto.
3640 * libc/stdio/vsiscanf.c: Ditto.
3641 * libc/stdio/vsniprintf.c: Ditto.
3642
3643 2004-11-19 Shaun Jackman <sjackman@gmail.com>
3644
3645 * libc/include/stdio.h: Add sniprintf.
3646 * libc/stdio/Makefile.am: Add sniprintf.c.
3647 * libc/stdio/Makefile.in: Regenerated.
3648 * libc/stdio/sniprintf.c: New file.
3649 * libc/stdio/stdio.tex: Add sniprintf.
3650
3651 2004-11-17 Christopher Faylor <cgf@timesys.com>
3652
3653 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
3654 EOF flag if successful.
3655
3656 2004-10-28 Christopher Faylor <cgf@timesys.com>
3657
3658 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
3659 so that all relevant definitions have been performed for use in the
3660 include.
3661
3662 2004-10-26 Jason Tishler <jason@tishler.net>
3663
3664 * libc/stdio/fread.c (fread): Fix return value for unbuffered
3665 fread.
3666
3667 2004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3668
3669 * libc/include/machine/setjmp.h: Add AVR support.
3670 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
3671
3672 2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
3673
3674 * libc/include/sys/signal.h: If <signal.h> didn't include
3675 this header file, include <signal.h> to account for
3676 applications that take advantage that the two header
3677 files are the same in glibc.
3678
3679 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
3680
3681 * configure.host: Add support for crx.
3682 * libc/include/machine/ieeefp.h: Ditto.
3683 * libc/include/machine/setjmp.h: Ditto.
3684 * libc/machine/crx/Makefile.am: New file.
3685 * libc/machine/crx/configure.in: Ditto.
3686 * libc/machine/crx/setjmp.S: Ditto.
3687 * libc/machine/crx/getenv.c: Ditto.
3688 * libc/machine/crx/aclocal.m4: Generate.
3689 * libc/machine/crx/configure: Ditto.
3690 * libc/machine/crx/Makefile.in: Ditto.
3691 * libc/machine/crx/sys/asm.h: New file.
3692 * libc/machine/crx/sys/libh.h: Ditto.
3693 * libc/machine/crx/sys/syscall.h: Ditto.
3694
3695 2004-10-05 Jeff Johnston <jjohnstn@redhat.com>
3696
3697 * Makefile.am (stmp-targ-include): Support sys header files
3698 from machine directories.
3699 * Makefile.in: Regenerated.
3700
3701 2004-10-04 Jeff Johnston <jjohnstn@redhat.com>
3702
3703 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
3704 count skipped zero characters as part of the nread count for %n.
3705 * libc/machine/powerpc/vfscanf.c: Ditto.
3706
3707 2004-09-24 Jeff Johnston <jjohnstn@redhat.com>
3708
3709 * libc/stdio/local.h: Include <stdlib.h>.
3710
3711 2004-09-24 Corinna Vinschen <corinna@vinschen.de>
3712
3713 * libc/stdio/fread.c (fread): Include <malloc.h>.
3714
3715 2004-09-22 Jeff Johnston <jjohnstn@redhat.com>
3716
3717 * libc/stdio/fread.c (fread): For non-space-optimized case,
3718 add special code for unbuffered files to use user buffer and
3719 only require one low-level system read.
3720
3721 2004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
3722
3723 * libc/machine/xscale/setjmp.S: New file, copied from
3724 libc/machine/arm/setjmp.S.
3725 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
3726 * libc/machine/xscale/Makefile.in: Regenerate.
3727
3728 2004-09-16 Antony King <antony.king@st.com>
3729
3730 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
3731 with locking API.
3732 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
3733 check for__SSTR in _flags and if set, skip lock request.
3734 (_funlockfile)[!SINGLE_THREAD]: Ditto.
3735 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
3736 not NULL.
3737 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
3738 initialisation of _file to -1 in local FILE.
3739 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
3740 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
3741 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
3742 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
3743 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
3744 _flags in local FILE to prevent locking.
3745 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
3746
3747 2004-09-16 Antony King <antony.king@st.com>
3748
3749 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
3750 and only walk the reentrancy parameter.
3751 (_fwalk_reent): Ditto.
3752 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
3753
3754 2004-09-16 Antony King <antony.king@st.com>
3755
3756 * libc/stdio64/freopen64.c: Remove casting of fp lock to
3757 _LOCK_RECURSIVE_T.
3758
3759 2004-09-16 Antony King <antony.king@st.com>
3760
3761 * libc/time/tzlock.c: Add default stubs that use generic
3762 locking code.
3763
3764 2004-09-16 Antony King <antony.king@st.com>
3765
3766 * libc/ctype/ctype.tex: Added missing documentation.
3767 * libc/stdio/stdio.tex Ditto.
3768 * libc/stdlib/stdlib.tex Ditto.
3769 * libc/string/strings.tex Ditto.
3770 * libc/time/time.tex: Ditto.
3771 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
3772
3773 2004-09-15 Corinna Vinschen <vinschen@redhat.com>
3774
3775 * libc/reent/impure.c (reent_data): Define as alias to impure_data
3776 when building for Cygwin.
3777 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
3778 _global_impure_ptr.
3779
3780 2004-09-15 Jeff Johnston <jjohnstn@redhat.com>
3781
3782 * configure.host: Reverting 2004-09-14 change as fix has occurred on
3783 Cygwin side.
3784 * configure.in: Ditto.
3785 * libc/configure.in: Ditto.
3786 * libc/sys/configure.in: Ditto.
3787 * configure: Ditto.
3788 * libc/configure: Ditto.
3789 * libc/sys/configure: Ditto.
3790 * libc/include/sys/reent.h: Ditto.
3791 * libc/stdlib/__atexit.c: Ditto.
3792 * libc/stdlib/__call_atexit.c: Ditto.
3793 * libc/stdlib/cxa_atexit.c: Ditto.
3794 * libc/stdlib/cxa_finalize.c: Ditto.
3795 * libc/sys/cygwin/Makefile.am: Removed again.
3796 * libc/sys/cygwin/Makefile.in: Ditto.
3797 * libc/sys/cygwin/aclocal.m4: Ditto.
3798 * libc/sys/cygwin/configure: Ditto.
3799 * libc/sys/cygwin/configure.in: Ditto.
3800 * libc/sys/cygwin/dummy.c: Ditto.
3801 * libc/sys/cygwin/sys/reent.h: Ditto.
3802
3803 2004-09-14 Jeff Johnston <jjohnstn@redhat.com>
3804
3805 * configure.host: Add Cygwin sys directory.
3806 * configure.in: Do not set CRT0 for cygwin.
3807 * libc/configure.in: Ditto.
3808 * libc/sys/configure.in: Ditto.
3809 * configure: Regenerated.
3810 * libc/configure: Ditto.
3811 * libc/sys/configure: Ditto.
3812 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
3813 * libc/stdlib/__atexit.c: Keep cxa support protected by new
3814 __REENT_HAS_CXA_SUPPORT flag.
3815 * libc/stdlib/__call_atexit.c: Ditto.
3816 * libc/stdlib/cxa_atexit.c: Ditto.
3817 * libc/stdlib/cxa_finalize.c: Ditto.
3818 * libc/sys/cygwin/Makefile.am: New file.
3819 * libc/sys/cygwin/Makefile.in: Ditto.
3820 * libc/sys/cygwin/aclocal.m4: Ditto.
3821 * libc/sys/cygwin/configure: Ditto.
3822 * libc/sys/cygwin/configure.in: Ditto.
3823 * libc/sys/cygwin/dummy.c: Ditto.
3824 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
3825 version of reent.h.
3826
3827 2004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3828
3829 * libc/iconv/iconv.tex: Updated with new content.
3830 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
3831 instead of NLS_DEFAULT_NLSPATH.
3832 * libc/iconv/lib/iconvnls.h: Fix typo.
3833 * libc/include/sys/iconvnls.h: New file.
3834
3835 2004-09-09 Paul Brook <paul@codesourcery.com>
3836
3837 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
3838 and _is_cxa.
3839 (struct _atexit): Add _next when _REENT_SMALL.
3840 (struct _reent): Add _atexit0 when _REENT_SMALL.
3841 (_REENT_INIT_PTR): Adjust.
3842 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
3843 __call_exit.c.
3844 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
3845 * libc/stdlib/Makefile.in: Regenerate.
3846 * libc/stdlib/__atexit.c: New file.
3847 * libc/stdlib/__call_atexit.c: New file.
3848 * libc/stdlib/atexit.h: Remove old definitions. Add new.
3849 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
3850 * libc/stdlib/cxa_atexit.c: New file.
3851 * libc/stdlib/cxa_finalize.c: New file.
3852 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
3853 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
3854 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
3855 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
3856 _on_exit_args_ptr.
3857
3858 2004-08-23 Jeff Johnston <jjohnstn@redhat.com>
3859
3860 * libc/include/sys/unistd.h (getpass): Change prototype to use
3861 const instead of __const.
3862
3863 2004-08-16 Nathan Sidwell <nathan@codesourcery.com>
3864
3865 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
3866 #if.
3867
3868 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
3869
3870 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
3871 on linux systems with glibc 2.3.3 installed.
3872 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
3873 profile_fixup so newlib can build on fc3 system.
3874
3875 2004-07-30 Alexandre Oliva <aoliva@redhat.com>
3876
3877 Introduce SH2a support.
3878 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
3879 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
3880 __SH2A_SINGLE_ONLY__, too.
3881 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
3882 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
3883 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
3884 2004-02-10 DJ Delorie <dj@redhat.com>
3885 * libc/sys/sh/crt0.S (start_l): Support sh2a.
3886
3887 2004-07-29 Jeff Johnston <jjohnstn@redhat.com>
3888
3889 * libc/time/strptime.c: Correct full-name of "March" typo.
3890
3891 2004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
3892
3893 * configure.host (h8300*-*-*): Default long long printing support.
3894
3895 2004-07-16 Jeff Johnston <jjohnstn@redhat.com>
3896
3897 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
3898 calls, if realloc fails, free up buffer as it is no longer
3899 used.
3900
3901 2004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3902
3903 * libc/iconv/iconv.tex: Updated to represent recent changes.
3904 * libc/iconv/lib/iconv.c: Documentation updated.
3905
3906 2004-07-07 Nick Clifton <nickc@redhat.com>
3907
3908 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
3909 for xStormy16.
3910
3911 2004-07-06 Chris Demetriou <cgd@broadcom.com>
3912
3913 * configure.host (mips*-*-elf*): Default long long printing
3914 support.
3915
3916 2004-07-05 Jeff Johnston <jjohnstn@redhat.com>
3917
3918 * libc/Makefile.am (libc.dvi): Add target and specify
3919 same dependencies as libc.info.
3920 * libc/Makefile.in: Regenerated.
3921 * libm/Makefile.am (libm.dvi): Add target and specify
3922 same dependencies as libm.info.
3923 * libm/Makefile.in: Regenerated.
3924
3925 2004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3926
3927 * acinclude.m4: Move --enable-newlib-iconv option back here.
3928 * configure.in: Remove --enable-newlib-iconv option. Don't
3929 tie iconv support to --enable-newlib-mb.
3930 * aclocal.m4: Regenerated.
3931 * configure: Ditto.
3932 * doc/aclocal.m4, doc/configure: Ditto.
3933 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
3934 * libm/*/aclocal.m4: Ditto.
3935 * libm/*/configure: Ditto.
3936 * libc/*/aclocal.m4: Ditto.
3937 * libc/*/configure: Ditto.
3938
3939 2004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3940
3941 * acinclude.m4: Move iconv options into configure.in.
3942 * aclocal.m4: Regenerated.
3943 * configure: Ditto.
3944 * configure.in: Add iconv options.
3945 * newlib.hin: Add new iconv encodings and remove deleted ones.
3946 * doc/aclocal.m4: Regenerated.
3947 * doc/configure: Ditto.
3948 * iconvdata/aclocal.m4: Ditto.
3949 * iconvdata/configure: Ditto.
3950 * libc/iconv: Design change. New size-optimized ccs format.
3951 * libc/iconv/AUTHORS: Removed.
3952 * libc/iconv/COPYING: Ditto.
3953 * libc/iconv/README.ORIGINAL: Ditto.
3954 * libc/iconv/README.TODO: Ditto.
3955 * libc/iconv/charset.aliases: Ditto.
3956 * libc/iconv/encoding.aliases: New file.
3957 * libc/iconv/Makefile.am: Updated.
3958 * libc/iconv/Makefile.in: Regenerated.
3959 * libc/iconv/iconv.tex: Updated.
3960 * libc/iconv/ccs/Makefile.am: Ditto.
3961 * libc/iconv/ccs/Makefile.in: Regenerated.
3962 * libc/iconv/ccs/big5.c: Updated.
3963 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
3964 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
3965 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
3966 * libc/iconv/ccs/cp775.c: Ditto.
3967 * libc/iconv/ccs/cp850.c: Ditto.
3968 * libc/iconv/ccs/cp852.c: Ditto.
3969 * libc/iconv/ccs/cp855.c: Ditto.
3970 * libc/iconv/ccs/cp866.c: Ditto.
3971 * libc/iconv/ccs/iso_8859_1.c: Ditto.
3972 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
3973 * libc/iconv/ccs/gb_2312_80.c: Ditto.
3974 * libc/iconv/ccs/iconv_mktbl: Ditto.
3975 * libc/iconv/ccs/jis_x0201.c: Ditto.
3976 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
3977 * libc/iconv/ccs/shift_jis.c: Ditto.
3978 * libc/iconv/ccs/us_ascii.c: Ditto.
3979 * libc/iconv/ccs/ccs.h: New file.
3980 * libc/iconv/ccs/ccsbi.c: Ditto.
3981 * libc/iconv/ccs/ccsbi.h: Ditto.
3982 * libc/iconv/ccs/ccsnames.h: Ditto.
3983 * libc/iconv/ccs/iso_8859_10.c: Ditto.
3984 * libc/iconv/ccs/iso_8859_11.c: Ditto.
3985 * libc/iconv/ccs/iso_8859_13.c: Ditto.
3986 * libc/iconv/ccs/iso_8859_14.c: Ditto.
3987 * libc/iconv/ccs/iso_8859_3.c: Ditto.
3988 * libc/iconv/ccs/iso_8859_6.c: Ditto.
3989 * libc/iconv/ccs/iso_8859_7.c: Ditto.
3990 * libc/iconv/ccs/iso_8859_8.c: Ditto.
3991 * libc/iconv/ccs/iso_8859_9.c: Ditto.
3992 * libc/iconv/ccs/iso_ir_111.c: Ditto.
3993 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
3994 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
3995 * libc/iconv/ccs/koi8_ru.c: Ditto.
3996 * libc/iconv/ccs/koi8_uni.c: Ditto.
3997 * libc/iconv/ccs/mktbl.pl: Ditto.
3998 * libc/iconv/ccs/win_1250.c: Ditto.
3999 * libc/iconv/ccs/win_1251.c: Ditto.
4000 * libc/iconv/ccs/win_1252.c: Ditto.
4001 * libc/iconv/ccs/win_1253.c: Ditto.
4002 * libc/iconv/ccs/win_1254.c: Ditto.
4003 * libc/iconv/ccs/win_1255.c: Ditto.
4004 * libc/iconv/ccs/win_1256.c: Ditto.
4005 * libc/iconv/ccs/win_1257.c: Ditto.
4006 * libc/iconv/ccs/win_1258.c: Ditto.
4007 * libc/iconv/ccs/iso_8859_15.c: Updated.
4008 * libc/iconv/ccs/iso_8859_2.c: Ditto.
4009 * libc/iconv/ccs/iso_8859_4.c: Ditto.
4010 * libc/iconv/ccs/iso_8859_5.c: Ditto.
4011 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
4012 * libc/iconv/ccs/koi8_r.c: Ditto.
4013 * libc/iconv/ccs/koi8_u.c: Ditto.
4014 * libc/iconv/ccs/ksx1001.c: Ditto.
4015 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
4016 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
4017 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
4018 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
4019 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
4020 * libc/iconv/ccs/binary/Makefile.am: Updated.
4021 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
4022 * libc/iconv/ccs/binary/big5.cct: Updated.
4023 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
4024 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
4025 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
4026 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
4027 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
4028 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
4029 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
4030 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
4031 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
4032 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
4033 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
4034 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
4035 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
4036 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
4037 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
4038 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
4039 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
4040 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
4041 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
4042 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
4043 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
4044 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
4045 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
4046 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
4047 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
4048 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
4049 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
4050 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
4051 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
4052 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
4053 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
4054 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
4055 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
4056 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
4057 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
4058 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
4059 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
4060 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
4061 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
4062 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
4063 * libc/iconv/ces/Makefile.am: Updated.
4064 * libc/iconv/ces/Makefile.in: Regenerated.
4065 * libc/iconv/ces/ucs-2-internal.c: Updated.
4066 * libc/iconv/ces/ucs-4-internal.c: Ditto.
4067 * libc/iconv/ces/utf-16.c: Ditto.
4068 * libc/iconv/ces/utf-8.c: Ditto.
4069 * libc/iconv/ces/cesbi.c: New file.
4070 * libc/iconv/ces/cesbi.h: Ditto.
4071 * libc/iconv/ces/cesdeps.h: Ditto.
4072 * libc/iconv/ces/euc.c: Ditto.
4073 * libc/iconv/ces/mkdeps.pl: Ditto.
4074 * libc/iconv/ces/table-pcs.c: Ditto.
4075 * libc/iconv/ces/table.c: Ditto.
4076 * libc/iconv/ces/ucs-2.c: Ditto.
4077 * libc/iconv/ces/ucs-4.c: Ditto.
4078 * libc/iconv/ces/us-ascii.c: Ditto.
4079 * libc/iconv/ces/euc-jp.c: Removed.
4080 * libc/iconv/ces/euc-kr.c: Ditto.
4081 * libc/iconv/ces/euc-tw.c: Ditto.
4082 * libc/iconv/ces/gb2312.c: Ditto.
4083 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
4084 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
4085 * libc/iconv/lib/Makefile.am: Updated.
4086 * libc/iconv/lib/Makefile.in: Regenerated.
4087 * libc/iconv/lib/endian.h: Updated.
4088 * libc/iconv/lib/iconv.c: Ditto.
4089 * libc/iconv/lib/local.h: Ditto.
4090 * libc/iconv/lib/aliases.c: Removed.
4091 * libc/iconv/lib/bialiasesi.c: Ditto.
4092 * libc/iconv/lib/biccs.c: Ditto.
4093 * libc/iconv/lib/bices.c: Ditto.
4094 * libc/iconv/lib/ccs.c: Ditto.
4095 * libc/iconv/lib/ces.c: Ditto.
4096 * libc/iconv/lib/ces_euc.c: Ditto.
4097 * libc/iconv/lib/ces_iso2022.c: Ditto.
4098 * libc/iconv/lib/ces_table.c: Ditto.
4099 * libc/iconv/lib/converter.c: Ditto.
4100 * libc/iconv/lib/deps.h: Ditto.
4101 * libc/iconv/lib/loaddata.c: Ditto.
4102 * libc/iconv/lib/aliasesbi.c: New file.
4103 * libc/iconv/lib/aliasesi.c: Ditto.
4104 * libc/iconv/lib/conv.h: Ditto.
4105 * libc/iconv/lib/encnames.h: Ditto.
4106 * libc/iconv/lib/encoding.deps: Ditto.
4107 * libc/iconv/lib/iconvnls.c: Ditto.
4108 * libc/iconv/lib/iconvnls.h: Ditto.
4109 * libc/iconv/lib/nullconv.c: Ditto.
4110 * libc/iconv/lib/ucsconv.c: Ditto.
4111 * libc/iconv/lib/ucsconv.h: Ditto.
4112 * libc/include/iconv.h: Update copyright.
4113 * libc/*/aclocal.m4: Regenerated.
4114 * libc/*/configure: Ditto.
4115 * libm/*/aclocal.m4: Ditto.
4116 * libm/*/configure: Ditto.
4117
4118 2004-06-22 Alexandre Oliva <aoliva@redhat.com>
4119
4120 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
4121 instead of typedefing jmp_buf.
4122
4123 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
4124 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
4125 * libc/machine/h8300/defines.h (LEN): New macro.
4126 * libc/machine/h8300/memcpy.S: Add h8sx version.
4127 * libc/machine/h8300/memset.S: Likewise.
4128 * libc/machine/h8300/strcmp.S: Likewise.
4129 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
4130 * libc/machine/h8300/h8sx_strcpy.S: New file.
4131 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
4132 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
4133 __H8300SX__.
4134 * libc/include/machine/setjmp.h: Likewise.
4135 * libc/include/sys/config.h: Likewise.
4136 * libc/machine/h8300/defines.h: Likewise.
4137 * libc/machine/h8300/setjmp.S: Likewise.
4138 * libc/machine/h8300/strcmp.S: Likewise.
4139 * libc/sys/h8300hms/close.S: Likewise.
4140 * libc/sys/h8300hms/fstat.S: Likewise.
4141 * libc/sys/h8300hms/lseek.S: Likewise.
4142 * libc/sys/h8300hms/read.S: Likewise.
4143 * libc/sys/h8300hms/write.S: Likewise.
4144 * libc/sys/h8300hms/crt0.S: Likewise.
4145 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
4146 __H8300SX__ is defined.
4147 * libc/sys/h8300hms/setarch.h: Likewise.
4148
4149 2004-06-17 Jeff Johnston <jjohnstn@redhat.com>
4150
4151 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
4152 out change which set _GLOBAL_REENT to _global_impure_ptr until
4153 we understand why Cygwin breaks because of it.
4154
4155 2004-06-14 Jeff Johnston <jjohnstn@redhat.com>
4156
4157 * libc/sys/linux/machine/i386/syscall.h: For now, set up
4158 __syscall_return macro for systems with vsyscall.
4159
4160 2004-06-11 Antony King <antony.king@st.com>
4161
4162 * libc/include/sys/_types.h: Include <sys/lock.h> and change
4163 _flock_t to be of type _LOCK_RECURSIVE_T.
4164 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
4165 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
4166 (_global_impure_ptr): New declaration.
4167 (_GLOBAL_REENT): Change to be _global_impure_ptr.
4168 * libc/include/sys/stdio.h: Include <sys/lock.h> and
4169 <sys/reent.h>.
4170 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
4171 (_funlockfile)[!SINGLE_THREAD]: Ditto.
4172 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
4173 * libc/stdio/fclose.c: Remove casting of fp lock to
4174 _LOCK_RECURSIVE_T.
4175 * libc/stdio/findfp.c: Ditto.
4176 * libc/stdio/fopen.c: Ditto.
4177 * libc/stdio/freopen.c: Ditto.
4178 * libc/stdio/vfprintf.c: Ditto.
4179 * libc/stdio64/fopen64.c: Ditto.
4180 * libc/stdlib/envlock.c: Add default stubs that use generic
4181 locking code.
4182 * libc/stdlib/mlock.c: Ditto.
4183
4184 Jeff Johnston <jjohnstn@redhat.com>
4185 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
4186 (_flock_t): Change to be a struct containing a single member
4187 named mutex which is of type __flock_mutex_t.
4188
4189 2004-06-09 Jeff Johnston <jjohnstn@redhat.com>
4190
4191 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
4192 from /usr/include/asm/signal.h instead of kernel sources. Also
4193 default max to 32 if not found in header file.
4194 * libc/sys/linux/Makefile.in: Regenerated.
4195 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
4196 systems where __syscall_return is not defined.
4197 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
4198 systems to use syscall() function instead of assembler interrupt.
4199
4200 2004-06-09 Toralf Lund <toralf@procaptura.com>
4201
4202 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
4203 files from libc/sys/arm to libc/machine/arm.
4204 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
4205 library build support for files moved from libc/sys/arm.
4206 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
4207 references to access and setjmp.
4208 * configure.host: Add checks for newlib_may_supply_syscalls to
4209 determine whether or not to use sys/arm directory and use
4210 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
4211
4212 2004-06-02 Jeff Johnston <jjohnstn@redhat.com>
4213
4214 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
4215 reset digit flags appropriately after we have discovered "0x".
4216 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
4217
4218 2004-05-27 Jeff Johnston <jjohnstn@redhat.com>
4219
4220 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
4221 from here ...
4222 (_VFPRINTF_R): ... to here so all I/O printf routines
4223 are covered.
4224
4225 2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
4226
4227 * libc/search/hash_buf.c: Protect MAX and MIN macros from
4228 redefinition.
4229 * libc/search/hash.c: Ditto.
4230
4231 2004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4232
4233 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
4234 (_WANT_IO_LONG_LONG): Ditto.
4235 (_WANT_IO_LONG_DOUBLE): Ditto.
4236 * configure.in: Add new configuration options
4237 --enable-newlib-io-long-long and --enable-newlib-io-long-double
4238 which tie to new defines in newlib.hin.
4239 * configure: Regenerated.
4240 * configure.host: Add checks for new configuration options. Also
4241 fix up check for --enable-newlib-io-pos-args so configuration
4242 option will override any default for a given platform.
4243 Remove defining compiler flags for the _WANT_IO* options.
4244 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
4245 instead of looking for old compiler flags.
4246 * libc/stdio/vfscanf.c: Ditto.
4247 * libc/stdio/vfieeefp.h: Ditto.
4248 * libc/machine/powerpc/vfprintf.c: Ditto.
4249 * libc/machine/powerpc/vfscanf.c: Ditto.
4250
4251 2004-05-25 Jeff Johnston <jjohnstn@redhat.com>
4252
4253 * testsuite/include/check.h: Add include of <stdio.h>.
4254
4255 2004-05-17 Corinna Vinschen <corinna@vinschen.de>
4256
4257 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
4258
4259 2004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4260
4261 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
4262 of free.
4263
4264 2004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4265
4266 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
4267 list for reentrant pointer. Call _vfiprintf_r.
4268 * libc/stdio/siprintf.c (_siprintf_r): New function.
4269 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
4270 pointer argument. Change all callers. Call _VFPRINTF_R.
4271 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
4272 prototypes.
4273
4274 2004-05-07 Jeff Johnston <jjohnstn@redhat.com>
4275
4276 * libc/include/sys/param.h: Remove endian info and include
4277 <machine/endian.h> instead.
4278 * libc/include/machine/endian.h: New file.
4279 * libc/include/machine/param.h: Ditto.
4280 * libc/machine/arm/machine/endian.h: Ditto.
4281 * libc/machine/arm/machine/param.h: Ditto.
4282 * libc/sys/arm/sys/param.h: Removed.
4283 * libc/sys/sysvi386/sys/param.h: Ditto.
4284 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
4285
4286 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4287
4288 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
4289 multibyte functions return failure for %C, %S, %lc, and %ls
4290 format specifiers.
4291
4292 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4293
4294 * testsuite/include/check.h (CHECK): Add flush of stdout.
4295
4296 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4297
4298 * libc/include/stdio.h (_ungetc_r): New prototype.
4299 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
4300 (__submore): Add reentrant struct pointer argument.
4301 (ungetc): Change to call _ungetc_r.
4302
4303 2004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4304
4305 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
4306 function pointer argument.
4307 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
4308 to specify function pointer arguments.
4309 (__fwalk, __fwalk_reent): Ditto.
4310
4311 2004-04-26 Aldy Hernandez <aldyh@redhat.com>
4312
4313 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
4314 CT_INT case.
4315
4316 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4317
4318 * configure.in: Define _MB_CAPABLE if mb supported.
4319 * configure: Regenerated.
4320 * configure.host: Remove manual setting of MB_CAPABLE compiler
4321 flag.
4322 * newlib.hin: Add _MB_CAPABLE flag.
4323 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
4324 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
4325 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
4326 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
4327 * libc/ctype/jp2uc.c: Ditto.
4328 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
4329 * libc/locale/locale.c: Ditto
4330 * libc/machine/powerpc/vfscanf.c: Ditto
4331 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
4332 * libc/stdlib/mblen.c: Ditto
4333 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
4334 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
4335 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
4336 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
4337 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
4338 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
4339 * libc/sys/linux/intl/explodename.c: Ditto
4340 * libc/sys/linux/intl/finddomain.c: Ditto
4341 * libc/sys/linux/intl/l10nflist.c: Ditto
4342 * libc/sys/linux/intl/loadmsgcat.c: Ditto
4343 * libc/sys/linux/intl/localealias.c: Ditto
4344
4345 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
4346
4347 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
4348 (__svfscanf_r): In integer conversions, leave out leading zeroes
4349 which are not part of a base prefix.
4350 Keep track of width truncation to fit into buf, not counting left-out
4351 zeroes against width till the truncation has been compensated for.
4352 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
4353
4354 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
4355
4356 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
4357
4358 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4359
4360 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
4361 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
4362 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
4363 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
4364 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
4365 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
4366 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
4367 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
4368 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
4369 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
4370 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
4371 libc/stdio/getchar.c libc/stdio/getchar_u.c,
4372 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
4373 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
4374 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
4375 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
4376 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
4377 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
4378 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
4379 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
4380 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
4381 libc/stdio/siprintf.c libc/stdio/snprintf.c,
4382 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
4383 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
4384 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
4385 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
4386 libc/stdio/vprintf.c libc/stdio/vscanf.c,
4387 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
4388 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
4389 libc/stdio/wsetup.c: Perform minor formatting changes. Move
4390 copyright notices to top of file, ensure that <_ansi.h> is
4391 included, be consistent with open parentheses, use _DEFUN macro,
4392 include "local.h" where needed, and remove various compiler
4393 warnings.
4394
4395 2004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
4396
4397 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
4398 (__svfscanf_r): In integer conversions, leave out leading zeroes
4399 which are not part of a base prefix.
4400 Keep track of width truncation to fit into buf, not counting left-out
4401 zeroes against width till the truncation has been compensated for.
4402
4403 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
4404
4405 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
4406
4407 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
4408
4409 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
4410
4411 2004-04-10 Corinna Vinschen <corinna@vinschen.de>
4412
4413 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
4414 to SUSv3.
4415
4416 2004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4417
4418 * libc/stdio/fclose.c (_fclose_r): New function.
4419 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
4420 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
4421 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
4422 * libc/include/stdio.h (_fclose_r): New prototype.
4423 * libc/stdio/fopen.c: Fix typo in comment.
4424
4425 2004-04-08 Jeff Johnston <jjohnstn@redhat.com>
4426
4427 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
4428 to handle _r reentrant functions.
4429
4430 2004-04-08 Eric Christopher <echristo@redhat.com>
4431
4432 * libc/include/machine/setjmp.h: Fix endif locations.
4433
4434 2004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4435
4436 * libc/time/strptime.c: Add standard includes to avoid
4437 warning messages at compilation time.
4438
4439 2004-04-01 Jeff Johnston <jjohnstn@redhat.com>
4440
4441 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
4442 of file.
4443
4444 2004-03-30 Jeff Johnston <jjohnstn@redhat.com>
4445
4446 * libc/machine/h8300/Makefile.am: Reformat slightly.
4447 * libc/machine/h8300/Makefile.in: Regenerate.
4448
4449 2004-03-30 Thomas Pfaff <tpfaff@gmx.net>
4450
4451 * libc/stdio/findfp.c (__fp_lock_all): Add call to
4452 __sfp_lock_acquire.
4453 (__fp_unlock_all): Add call to __sfp_lock_release.
4454
4455 2004-03-25 Thomas Pfaff <tpfaff@gmx.net>
4456
4457 * libc/stdio/fclose.c (fclose): Protect file pointer list when
4458 releasing a file.
4459 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
4460 fwalk.
4461 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
4462 _flockfile/_funlockfile.
4463 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
4464 to recursive.
4465 Change __lock_acquire/__lock_release calls for __sfp_lock to
4466 __sfp_lock_acquire/__sfp_lock_release throughout.
4467 (std): Make sure that file lock is only initialized once.
4468 (__sfp): Move _file initialization. Initialize file lock.
4469 (__sfp_lock_acquire): New function.
4470 (__sfp_lock_release): Ditto.
4471 (__fp_lock_all): Remove __sfp_lock_acquire call.
4472 (__fp_unlock_all): Remove __sfp_lock_release call.
4473 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
4474 Add calls to _flockfile/_funlockfile. Remove
4475 __lock_init_recursive call.
4476 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
4477 * libc/stdio/fwalk.c (__fwalk): New static function.
4478 (_fwalk): Protect file pointer list. Use __fwalk to walk through
4479 file pointers.
4480 * libc/stdio/local.h: Add defines for
4481 __sfp_lock_acquire/__sfp_lock_release when
4482 single threaded. Add function prototypes otherwise.
4483 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
4484 _flockfile/_funlockfile.
4485 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
4486 Add calls to _flockfile/_funlockfile. Remove
4487 __lock_init_recursive call.
4488 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
4489 list.
4490
4491 2004-03-25 Jeff Johnston <jjohnstn@redhat.com>
4492
4493 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
4494 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
4495 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
4496 to be __LOCK_INIT_RECURSIVE.
4497
4498 2004-03-11 Kazu Hirata <kazu@cs.umass.edu>
4499
4500 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
4501 _exit.c with _exit.S.
4502 * libc/sys/h8300hms/Makefile.in: Regenerate.
4503 * libc/sys/h8300hms/_exit.c: Remove.
4504 * libc/sys/h8300hms/_exit.S: New.
4505
4506 2004-03-09 Thomas Pfaff <tpfaff@gmx.net>
4507
4508 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
4509 Change __sfp_lock to static global.
4510 (__fp_lock): New static function.
4511 (__fp_unlock): Ditto.
4512 (__fp_lock_all): New function.
4513 (__fp_unlock_all): Ditto.
4514
4515 2004-02-10 Christopher Faylor <cgf@redhat.com>
4516
4517 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
4518 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
4519 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
4520 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
4521
4522 2004-02-09 Christopher Faylor <cgf@redhat.com>
4523
4524 * libc/include/time.h (TIMER_RELTIME): New define.
4525
4526 2004-02-09 Jeff Johnston <jjohnstn@redhat.com>
4527
4528 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
4529 * libc/stdlib/Makefile.in: Regenerated.
4530
4531 2004-02-08 Christopher Faylor <cgf@redhat.com>
4532
4533 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
4534 * libc/include/sys/reent.h (__getreent): Protect against possibly being
4535 defined.
4536 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
4537
4538 2004-02-05 Paul Brook <paul@codesourcery.com>
4539
4540 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
4541 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
4542
4543 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
4544
4545 * NEWS: Update with 1.12.0 info.
4546 * README: Ditto.
4547 * acinclude.m4: Change version number to 1.12.0.
4548 * aclocal.m4: Regenerated.
4549 * configure: Ditto.
4550 * doc/aclocal.m4: Ditto.
4551 * doc/configure: Ditto.
4552 * libc/*/aclocal.m4: Ditto.
4553 * libc/*/configure: Ditto.
4554 * libc/libc.texinfo: Ditto.
4555 * libm/*/aclocal.m4: Ditto.
4556 * libm/*/configure: Ditto.
4557 * libm/libm.texinfo: Ditto.
4558 * libc/sys/linux/shared.ld: Add VERS_1.12.
4559
4560 2004-02-02 Joel Sherrill <joel@oarcorp.com>
4561
4562 * configure.host: Add support for tic4x.
4563 * libc/include/machine/ieeefp.h: Ditto.
4564 * libc/include/machine/setjmp.h: Ditto.
4565 * libc/machine/tic4x/Makefile.am: New file.
4566 * libc/machine/tic4x/configure.in: Ditto.
4567 * libc/machine/tic4x/setjmp.S: Ditto.
4568 * libc/machine/tic4x/aclocal.m4: Generated.
4569 * libc/machine/tic4x/configure: Ditto.
4570 * libc/machine/tic4x/Makefile.in: Ditto.
4571
4572 2004-01-30 Jeff Johnston <jjohnstn@redhat.com>
4573
4574 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
4575 file chain on the passed in reentrancy struct if it
4576 is _GLOBAL_REENT.
4577
4578 2004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4579 Jeff Johnston <jjohnstn@redhat.com>
4580
4581 * libc/iconv/iconv.tex: Updated with more information.
4582
4583 2004-01-30 Thomas Pfaff <tpfaff@gmx.net>
4584 Jeff Johnston <jjohnstn@redhat.com>
4585
4586 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
4587 struct for std streams and traverse the global reeentrancy
4588 struct for all other streams.
4589
4590 2004-01-27 Jeff Johnston <jjohnstn@redhat.com>
4591
4592 * libc/stdlib/atexit.c: Protect global atexit list with a
4593 lock when newlib is multithreaded.
4594
4595 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4596
4597 * configure.in: Add support to generate iconv converter flags
4598 for newlib.h
4599 * newlib.hin: Add iconv converter flags.
4600 * configure: Regenerated.
4601 * libc/Makefile.in: Ditto.
4602 * libc/configure.in: Moved iconv converter parsing logic to
4603 top level newlib configure.in.
4604 * libc/configure: Regenerated.
4605 * libc/iconv/Makefile.in: Ditto.
4606 * libc/iconv/README.TODO
4607 * libc/iconv/charset.aliases: Remove wrong BE aliases for
4608 UCS2/UCS4/UTF8.
4609 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
4610 newlib.h can be used.
4611 * libc/iconv/ces/Makefile.am: Ditto.
4612 * libc/iconv/lib/Makefile.am: Ditto.
4613 * libc/iconv/ccs/Makefile.in: Regenerated.
4614 * libc/iconv/ces/Makefile.in: Ditto.
4615 * libc/iconv/lib/Makefile.in: Ditto.
4616 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
4617 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
4618 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
4619 defined in newlib.h.
4620 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
4621 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
4622 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
4623 * libc/iconv/ccs/cp775.c: Ditto.
4624 * libc/iconv/ccs/cp850.c: Ditto.
4625 * libc/iconv/ccs/cp852.c: Ditto.
4626 * libc/iconv/ccs/cp855.c: Ditto.
4627 * libc/iconv/ccs/cp866.c: Ditto.
4628 * libc/iconv/ccs/gb_2312_80.c: Ditto.
4629 * libc/iconv/ccs/iso_8859_1.c: Ditto.
4630 * libc/iconv/ccs/iso_8859_15.c: Ditto.
4631 * libc/iconv/ccs/iso_8859_2.c: Ditto.
4632 * libc/iconv/ccs/iso_8859_4.c: Ditto.
4633 * libc/iconv/ccs/iso_8859_5.c: Ditto.
4634 * libc/iconv/ccs/jis_x0201.c: Ditto.
4635 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
4636 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
4637 * libc/iconv/ccs/koi8_r.c: Ditto.
4638 * libc/iconv/ccs/koi8_u.c: Ditto.
4639 * libc/iconv/ccs/ksx1001.c: Ditto.
4640 * libc/iconv/ccs/shift_jis.c: Ditto.
4641 * libc/iconv/ccs/us_ascii.c: Ditto.
4642 * libc/iconv/ccs/binary/big5.cct: Newly generated.
4643 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
4644 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
4645 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
4646 * libc/iconv/ccs/binary/cp775.cct: Ditto.
4647 * libc/iconv/ccs/binary/cp850.cct: Ditto.
4648 * libc/iconv/ccs/binary/cp852.cct: Ditto.
4649 * libc/iconv/ccs/binary/cp855.cct: Ditto.
4650 * libc/iconv/ccs/binary/cp866.cct: Ditto.
4651 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
4652 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
4653 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
4654 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
4655 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
4656 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
4657 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
4658 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
4659 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
4660 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
4661 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
4662 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
4663 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
4664 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
4665 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
4666 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
4667 * libc/iconv/ces/euc-kr.c: Ditto.
4668 * libc/iconv/ces/euc-tw.c: Ditto.
4669 * libc/iconv/ces/gb2312.c: Ditto.
4670 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
4671 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
4672 * libc/iconv/ces/ucs-2-internal.c: Ditto.
4673 * libc/iconv/ces/ucs-4-internal.c: Ditto.
4674 * libc/iconv/ces/utf-16.c: Ditto.
4675 * libc/iconv/ces/utf-8.c: Ditto.
4676 * libc/iconv/lib/aliases.c: Ditto.
4677 * libc/iconv/lib/biccs.c: Ditto.
4678 * libc/iconv/lib/bices.c: Ditto.
4679 * libc/iconv/lib/ccs.c: Ditto.
4680 * libc/iconv/lib/ces.c: Ditto.
4681 * libc/iconv/lib/ces_euc.c: Ditto.
4682 * libc/iconv/lib/ces_iso2022.c: Ditto.
4683 * libc/iconv/lib/ces_table.c: Ditto.
4684 * libc/iconv/lib/converter.c: Ditto.
4685 * libc/iconv/lib/deps.h: Ditto.
4686 * libc/iconv/lib/endian.h: Ditto.
4687 * libc/iconv/lib/iconv.c: Ditto.
4688 * libc/iconv/lib/loaddata.c: Ditto.
4689 * libc/iconv/lib/local.h: Include newlib.h.
4690 * libc/argz/Makefile.in: Regenerated.
4691 * libc/ctype/Makefile.in: Ditto.
4692 * libc/errno/Makefile.in: Ditto.
4693 * libc/iconv/ccs/binary/Makefile.in: Ditto.
4694 * libc/locale/Makefile.in: Ditto.
4695 * libc/misc/Makefile.in: Ditto.
4696 * libc/posix/Makefile.in: Ditto.
4697 * libc/reent/Makefile.in: Ditto.
4698 * libc/search/Makefile.in: Ditto.
4699 * libc/signal/Makefile.in: Ditto.
4700 * libc/stdio/Makefile.in: Ditto.
4701 * libc/stdio64/Makefile.in: Ditto.
4702 * libc/stdlib/Makefile.in: Ditto.
4703 * libc/string/Makefile.in: Ditto.
4704 * libc/syscalls/Makefile.in: Ditto.
4705 * libc/time/Makefile.in: Ditto.
4706 * libc/unix/Makefile.in: Ditto.
4707 * testsuite/newlib.iconv/iconv.exp: New file.
4708 * testsuite/newlib.iconv/iconvjp.c: Ditto.
4709 * testsuite/newlib.iconv/iconvnm.c: Ditto.
4710 * testsuite/newlib.iconv/iconvru.c: Ditto.
4711
4712 2004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4713
4714 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
4715 (--enable-newlib-builtin-converters): Ditto.
4716 * configure.in: Add code to set _ICONV_ENABLED flag.
4717 Set _MB_LEN_MAX to 1 if not mb enabled.
4718 * configure: Regenerated.
4719 * aclocal.m4: Ditto.
4720 * Makefile.in: Ditto.
4721 * newlib.hin: Add _ICONV_ENABLED flag.
4722 * libc/Makefile.am: Add support for iconv.
4723 * libc/configure.in: Ditto.
4724 * libc/Makefile.in: Regenerated.
4725 * libc/aclocal.m4: Ditto.
4726 * libc/configure: Ditto.
4727 * libc/libc.texinfo: Add iconv documentation.
4728 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
4729 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
4730 libc/iconv/README.TODO, libc/iconv/charset.aliases,
4731 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
4732 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
4733 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
4734 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
4735 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
4736 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
4737 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
4738 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
4739 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
4740 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
4741 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
4742 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
4743 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
4744 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
4745 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
4746 libc/iconv/ccs/binary/big5.cct,
4747 libc/iconv/ccs/binary/cns11643_plane1.cct,
4748 libc/iconv/ccs/binary/cns11643_plane14.cct,
4749 libc/iconv/ccs/binary/cns11643_plane2.cct,
4750 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
4751 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
4752 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
4753 libc/iconv/ccs/binary/iso_8859_1.cct,
4754 libc/iconv/ccs/binary/iso_8859_15.cct,
4755 libc/iconv/ccs/binary/iso_8859_2.cct,
4756 libc/iconv/ccs/binary/iso_8859_4.cct,
4757 libc/iconv/ccs/binary/iso_8859_5.cct,
4758 libc/iconv/ccs/binary/jis_x0201.cct,
4759 libc/iconv/ccs/binary/jis_x0208_1983.cct,
4760 libc/iconv/ccs/binary/jis_x0212_1990.cct,
4761 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
4762 libc/iconv/ccs/binary/ksx1001.cct,
4763 libc/iconv/ccs/binary/shift_jis.cct,
4764 libc/iconv/ccs/binary/us_ascii.cct,
4765 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
4766 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
4767 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
4768 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
4769 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
4770 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
4771 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
4772 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
4773 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
4774 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
4775 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
4776 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
4777 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
4778 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
4779 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
4780 * libc/sys/linux/include/iconv.h: Ditto.
4781 * libc/include/sys/_types.h (_iconv_t): Added.
4782 * doc/aclocal.m4: Regenerated.
4783 * doc/configure: Ditto.
4784 * doc/Makefile.in: Ditto.
4785 * iconvdata/Makefile.in: Ditto.
4786 * iconvdata/aclocal.m4: Ditto.
4787 * iconvdata/configure: Ditto.
4788 * libc/*aclocal.m4: Ditto.
4789 * libc/*Makefile.in: Ditto.
4790 * libc/*configure: Ditto.
4791 * libm/*aclocal.m4: Ditto.
4792 * libm/*Makefile.in: Ditto.
4793 * libm/*configure: Ditto.
4794
4795 2004-01-22 Thomas Pfaff <tpfaff@gmx.net>
4796
4797 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
4798 by a lock when newlib is multithreaded.
4799
4800 2004-01-21 Jeff Johnston <jjohnstn@redhat.com>
4801
4802 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
4803 pointer to match C99 spec.
4804 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
4805 dst is NULL. Also fix to not alter src pointer when dst is NULL
4806 and call _mbrtowc_r instead of _mbtowc_r.
4807 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
4808 of _wctomb_r.
4809
4810 2004-01-19 Thomas Pfaff <tpfaff@gmx.net>
4811
4812 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
4813 * libc/stdio/freopen.c (freopen): Ditto.
4814
4815 2004-01-16 Christopher Faylor <cgf@redhat.com>
4816
4817 * libc/stdio/vfprintf.c: Add sys/lock.h include.
4818
4819 2004-01-16 Thomas Pfaff <tpfaff@gmx.net>
4820
4821 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
4822 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
4823 Add calls to __lock_init_recursive and __lock_close_recursive
4824 instead.
4825
4826 2004-01-15 Thomas Pfaff <tpfaff@gmx.net>
4827
4828 * libc/stdio/fclose.c: Include sys/lock.h.
4829 (fclose): Destroy lock when file is closed.
4830 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
4831 member.
4832 * libc/stdio/freopen.c: Include sys/lock.h.
4833 (_freopen_r): Destroy lock when file is closed.
4834 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
4835 _lock member.
4836
4837 2004-01-08 Joel Sherrill <joel@oarcorp.com>
4838
4839 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
4840 Remove warnings.
4841
4842 2004-01-08 Joel Sherrill <joel@oarcorp.com>
4843
4844 * libc/sys/rtems/sys/queue.h: New file.
4845 * libc/include/sys/signal.h: Reflect renumbering of signals to
4846 fit into 32-bit mask.
4847 * libc/include/sys/unistd.h: Add fdatasync() prototype.
4848 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
4849 required. In particular, add the reentrant variants of libc calls.
4850 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
4851
4852 2004-01-06 Mark Mitchell <mark@codesourcery.com>
4853
4854 * libc/sys/arm/syscalls.c (unistd.h): Include it.
4855 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
4856 Similarly for stdout and stderr.
4857
4858 2004-01-06 Jeff Johnston <jjohnstn@redhat.com>
4859
4860 * libc/libc.texinfo: Correct escape character for @ sign
4861 so file will be processed by make info. Update copyright years.
4862 * libm/libm.texinfo: Ditto.
4863
4864 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
4865
4866 * libc/include/sys/stat.h: No longer include stat-dj.h.
4867 * libc/include/sys/stat-dj.h: Removed.
4868
4869 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
4870
4871 * libc/include/wchar.h: Include <sys/reent.h>.
4872
4873 2003-12-05 Christopher Faylor <cgf@redhat.com>
4874
4875 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
4876 when defining _mbrtowc.
4877 * libc/stdlib/mbsinit.c: Ditto.
4878 * libc/stdlib/mbsrtowcs.c: Ditto.
4879 * libc/stdlib/wcrtomb.c: Ditto.
4880 * libc/stdlib/wcsrtombs.c: Ditto.
4881 * libc/stdlib/wctob.c: Ditto.
4882
4883 2003-12-05 Christopher Faylor <cgf@redhat.com>
4884
4885 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
4886 errors when defining _mbrtowc.
4887 * libc/stdlib/mbsinit.c: Ditto.
4888 * libc/stdlib/mbsrtowcs.c: Ditto.
4889
4890 2003-12-05 Christopher Faylor <cgf@redhat.com>
4891
4892 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
4893 errors when defining _mbrtowc.
4894
4895 2003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4896
4897 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
4898 of mb routines for %lc and %ls support.
4899 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
4900 %ls, and %S support. Remove CYGNUS_NEC markers and
4901 code within.
4902
4903 2003-12-04 Jeff Johnston <jjohnstn@redhat.com>
4904
4905 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
4906 _wcrtomb_r, and _wcsrtombs_r.
4907
4908 2003-12-01 Corinna Vinschen <corinna@vinschen.de>
4909
4910 * libc/include/sys/fcntl.h: Don't define struct flock when on
4911 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
4912
4913 2003-11-28 Christopher Faylor <cgf@redhat.com>
4914
4915 * libc/include/sys/signal.h: Use system specific signal file when
4916 building on cygwin.
4917
4918 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
4919
4920 * libc/include/stdlib.h (_atoi_r): New prototype.
4921 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
4922
4923 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
4924
4925 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
4926 * libc/stdlib/atol.c (_atol_r): New reentrant function.
4927 * libc/stdlib/atoll.c (_atoll_r): Ditto.
4928
4929 2003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4930 Jeff Johnston <jjohnstn@redhat.com>
4931
4932 * libc/include/stdlib.h (lldiv_t): New type.
4933 (atoll, llabs, lldiv): New prototypes.
4934 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
4935 * libc/stdlib/stdlib.tex: Ditto.
4936 * libc/stdlib/Makefile.in: Regenerated.
4937 * libc/stdlib/atoll.c: New file.
4938 * libc/stdlib/llabs.c: Ditto.
4939 * libc/stdlib/lldiv.c: Ditto.
4940
4941 2003-11-26 Corinna Vinschen <corinna@vinschen.de>
4942
4943 * libc/include/fcntl.h: Declare syscalls only when building newlib.
4944 * libc/include/unistd.h: Ditto.
4945 * libc/include/stat.h: Ditto. Also declare struct stat64.
4946
4947 2003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4948
4949 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
4950 specifier to use ch instead of *fmt.
4951
4952 2003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4953
4954 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
4955 code within checks for MB_CAPABLE. For non-mb-capable platforms,
4956 use simple byte logic.
4957
4958 2003-11-21 Jeff Johnston <jjohnstn@redhat.com>
4959
4960 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
4961 _strtold routine for processing floats and doubles since it
4962 is not as fast as _strtod_r.
4963
4964 2003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
4965
4966 * libc/machine/h8300/defines.h : Correct pointer register defines
4967 for normal mode.
4968 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
4969 for normal mode.
4970 * libc/machine/h8300/reg_memcpy.S : Likewise.
4971 * libc/machine/h8300/reg_memset.S : Likewise.
4972 * libc/machine/h8300/strcmp.S : Likewise.
4973
4974 2003-11-19 Nicholas Wourms <nwourms@netscape.net>
4975
4976 * configure.host: Enable positional arguments for printf
4977 family for Cygwin.
4978 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
4979 pointer reference for quad_ptr_t.
4980
4981 2003-11-19 Jeff Johnston <jjohnstn@redhat.com>
4982
4983 * libc/stdio/scanf.c: Don't include local.h more than once.
4984
4985 2003-11-18 Corinna Vinschen <corinna@vinschen.de>
4986
4987 * libc/include/sys/fcntl.h: Declare _open64.
4988 * libc/include/sys/stat.h: Declare _fstat64.
4989 * libc/include/sys/unistd.h: Declare _lseek64.
4990
4991 2003-11-17 Corinna Vinschen <corinna@vinschen.de>
4992
4993 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
4994 (setprogname): Ditto.
4995
4996 2003-11-10 Jeff Johnston <jjohnstn@redhat.com>
4997
4998 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
4999 to use (Ebits + 1) which accounts for the sign-bit.
5000
5001 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
5002
5003 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
5004 x86 build.
5005 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
5006 and set up default flags to pass to aclocal.
5007 * iconvdata/Makefile.in: Regenerated.
5008 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
5009 and getpwuid routines.
5010 * libc/sys/linux/Makefile.in: Regenerated.
5011 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
5012 applications to link with newlib's shared libc library.
5013 * libc/sys/linux/getpwnam.c: Ditto.
5014 * libc/sys/linux/getpwuid.c: Ditto.
5015 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
5016 that were formerly supplied by /usr/include/linux/types.h with
5017 kernel types.
5018 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
5019 test _ELIX_LEVEL macro.
5020
5021 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
5022
5023 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
5024 referring to _NO_LONGLONG macro.
5025
5026 2003-11-06 Jeff Johnston <jjohnstn@redhat.com>
5027
5028 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
5029 in LOG() macro so this will compile on gcc 3.4 and up.
5030 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
5031 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
5032 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
5033 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
5034 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
5035 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
5036 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
5037 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
5038 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
5039 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
5040 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
5041 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
5042 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
5043 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
5044 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
5045 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
5046 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
5047 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
5048 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
5049 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
5050 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
5051 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
5052 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
5053 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
5054 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
5055 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
5056 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
5057 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
5058 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
5059 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
5060 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
5061 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
5062 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
5063 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
5064 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
5065 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
5066
5067 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5068 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5069
5070 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
5071 %ls, %S, %lc, and %C format specifiers.
5072 (get_arg): Ditto.
5073 * libc/stdio/sprintf.c: Add documentation regarding new
5074 format specifiers added in vfprintf.c.
5075
5076 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5077
5078 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
5079 to make code work as specified in standard.
5080
5081 2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
5082
5083 * configure.in: Use absolute newlib basedir when forming
5084 CC_FOR_NEWLIB include options.
5085 * configure: Regenerated.
5086
5087 2003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5088
5089 * libc/string/wcsnlen.c: New file.
5090 * libc/include/wchar.h: Add wcsnlen prototype.
5091 * libc/string/Makefile.am: Add wcsnlen support.
5092 * libc/string/Makefile.in: Regenerated.
5093 * libc/string/wcstrings.tex: Add wcsnlen documentation.
5094
5095 2003-10-22 Richard Sandiford <rsandifo@redhat.com>
5096
5097 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
5098
5099 2003-10-20 Bob Wilson <bob.wilson@acm.org>
5100
5101 * libc/locale/locale.c: Use double quotes in code.
5102 * libc/locale/locale.tex: Likewise.
5103 * libc/libc.texinfo: Hyphenate "floating-point".
5104 * libc/machine/necv70/necv70.tex: Likewise.
5105 * libc/stdio/sprintf.c: Likewise.
5106 * libc/stdio/sscanf.c: Likewise.
5107 * libc/stdlib/atof.c: Likewise.
5108 * libc/stdlib/ldtoa.c: Fix comment typo.
5109 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
5110 * libc/stdlib/ldiv.c: Likewise.
5111 * libm/common/s_expm1.c: Likewise.
5112 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
5113 * libm/common/s_infinity: Hyphenate "double- and single-precision".
5114 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
5115 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
5116 and "floating-point".
5117 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
5118 * libm/math/e_pow.c: Fix comment typo.
5119 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
5120 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
5121 * libm/math/s_atan.c: Likewise.
5122 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
5123 * libm/math/s_isnan.c: Hyphenate "single-precision" and
5124 "floating-point". Use "nonzero".
5125 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
5126 * libm/math/w_acos.c: Likewise.
5127 * libm/math/w_acosh.c: Likewise.
5128 * libm/math/w_asin.c: Likewise.
5129 * libm/math/w_atan2.c: Likewise.
5130 * libm/math/w_atanh.c: Likewise.
5131 * libm/math/w_cosh.c: Likewise.
5132 * libm/math/w_exp.c: Likewise.
5133 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
5134 version of 2^x in the description.
5135 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
5136 * libm/math/w_gamma.c: Likewise.
5137 * libm/math/w_hypot.c: Likewise.
5138 * libm/math/w_j0.c: Likewise.
5139 * libm/math/w_sinh.c: Likewise.
5140 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
5141 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
5142 "floating-point".
5143 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
5144 * libm/mathfp/e_atanh.c: Likewise.
5145 * libm/mathfp/e_hypot.c: Likewise.
5146 * libm/mathfp/er_lgamma.c: Likewise.
5147 * libm/mathfp/s_acos.c: Likewise.
5148 * libm/mathfp/s_asine.c: Likewise.
5149 * libm/mathfp/s_asinh.c: Likewise.
5150 * libm/mathfp/s_atan.c: Likewise.
5151 * libm/mathfp/s_atan2.c: Likewise.
5152 * libm/mathfp/s_atangent.c: Likewise.
5153 * libm/mathfp/s_cosh.c: Likewise.
5154 * libm/mathfp/s_exp.c: Likewise.
5155 * libm/mathfp/s_fmod.c: Likewise.
5156 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
5157 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
5158 "floating-point". Use "nonzero".
5159 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
5160 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
5161 * libm/mathfp/s_sineh.c: Likewise.
5162 * libm/mathfp/w_jn.c: Likewise.
5163
5164 2003-10-15 Alexandre Oliva <aoliva@redhat.com>
5165
5166 * Makefile.am: Add $(MAKE) comments to multido and multiclean
5167 lines, to enable parallel make.
5168 * Makefile.in: Rebuilt.
5169
5170 2003-10-14 Christopher Faylor <cgf@redhat.com>
5171
5172 * libc/time/clock.c: Clarify documentation of return value when no
5173 measurement is available.
5174
5175 2003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
5176
5177 * libm/configure.in: Check libm_machine_dir, not machine_dir.
5178 * libm/configure: Regenerate.
5179 * libm/Makefile.in: Ditto.
5180
5181 2003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
5182
5183 * libc/machine/sh/strncpy.S: New file.
5184 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
5185 * libc/machine/sh/Makefile.in: Regenerate.
5186
5187 2003-09-11 James E Wilson <wilson@specifixinc.com>
5188
5189 * MAINTAINERS: Update my e-mail address.
5190
5191 2003-09-10 Corinna Vinschen <corinna@vinschen.de>
5192
5193 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
5194
5195 2003-09-09 Jeff Johnston <jjohnstn@redhat.com>
5196
5197 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
5198 prototype.
5199 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
5200 _simdldcheck(). Also add unsigned cast for index variable in
5201 for loop using sizeof operators.
5202 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
5203 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
5204 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
5205 plus fix shift calculation for determining if there is a
5206 carry from word2.
5207
5208 2003-09-09 Corinna Vinschen <corinna@vinschen.de>
5209
5210 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
5211 setgroupent for Cygwin.
5212
5213 2003-09-05 Jeff Johnston <jjohnstn@redhat.com>
5214
5215 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
5216 is different for _REENT_SMALL than when using regular reent
5217 struct.
5218
5219 2003-09-05 Ben Elliston <bje@wasabisystems.com>
5220
5221 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
5222 modern versions of GCC issue a warning.
5223
5224 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
5225 after continuation characters that induces a warning from modern
5226 versions of GCC.
5227
5228 2003-09-04 Ben Elliston <bje@wasabisystems.com>
5229
5230 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
5231 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
5232
5233 2003-09-02 Thomas Pfaff <tpfaff@gmx.net>
5234
5235 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
5236 * libc/stdlib/exit.c : Ditto.
5237 * libc/stdlib/on_exit.c: Ditto.
5238
5239 2003-08-27 Corinna Vinschen <corinna@vinschen.de>
5240
5241 * libc/include/reent.h: Define stat64 as __stat64 when
5242 compiling newlib for Cygwin.
5243
5244 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
5245
5246 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
5247 __stat64 when compiling newlib.
5248
5249 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
5250
5251 * libc/include/stdio.h: Allow the io64 function prototypes for
5252 Cygwin when compiling newlib.
5253 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
5254 to expose the Cygwin struct __stat64 type.
5255 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
5256 pointer.
5257 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
5258
5259 2003-08-23 Christopher Faylor <cgf@redhat.com>
5260
5261 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
5262 definition to fseeko64.
5263
5264 2003-08-22 Jeff Johnston <jjohnstn@redhat.com>
5265
5266 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
5267 * libc/stdio: Globally remove/replace all references to fp->_data.
5268 Replace with _REENT or _GLOBAL_REENT where appropriate.
5269 * libc/stdio/asprintf.c: Ditto.
5270 * libc/stdio/fclose.c: Ditto.
5271 * libc/stdio/fvwrite.c: Ditto.
5272 * libc/stdio/makebuf.c: Ditto.
5273 * libc/stdio/refill.c: Ditto.
5274 * libc/stdio/local.h: Ditto.
5275 * libc/stdio/setvbuf.c: Ditto.
5276 * libc/stdio/sscanf.c: Ditto.
5277 * libc/stdio/stdio.c: Ditto.
5278 * libc/stdio/ungetc.c: Ditto.
5279 * libc/stdio/vfscanf.c: Ditto.
5280 * libc/stdio/vsscanf.c: Ditto.
5281 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
5282 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
5283 * libc/stdio/vsnprintf.c: Ditto.
5284 * libc/stdio/vsprintf.c: Ditto.
5285 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
5286 instead of _REENT to walk file list.
5287 * libc/stdio/fflush.c: Ditto.
5288 * libc/stdio/fgetpos.c: Add reentrant version and have regular
5289 version call reentrant version with _REENT argument.
5290 * libc/stdio/fsetpos.c: Ditto.
5291 * libc/stdio/fseek.c: Ditto.
5292 * libc/stdio/fseeko.c: Ditto.
5293 * libc/stdio/ftell.c: Ditto.
5294 * libc/stdio/ftello.c: Ditto.
5295 * libc/stdio/freopen.c: Ditto.
5296 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
5297 new files to chain. Also use _GLOBAL_REENT pointer for
5298 cleaning up.
5299 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
5300 * libc/stdio/siprintf.c: Ditto.
5301 * libc/stdio/iprintf.c: Ditto.
5302 * libc/stdio/fprintf.c: Ditto.
5303 * libc/stdio/printf.c: Ditto.
5304 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
5305 * libc/stdio/sprintf.c: Ditto.
5306 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
5307 * libc/stdio/rewind.c: Call _fseek_r directly.
5308 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
5309 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
5310 data pointer.
5311 (get_arg): Add extra struct _reent pointer argument.
5312 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
5313 to fp->_data.
5314 * libc/stdio64/fopen64.c: Ditto.
5315 * libc/stdio64/freopen64.c: Ditto.
5316 * libc/stdio64/fsetpos64.c: Ditto.
5317 * libc/stdio64/ftello64.c: Ditto.
5318 * libc/stdio64/local64.h: Ditto.
5319 * libc/stdio64/stdio64.c: Ditto.
5320 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
5321 _fstat64_r for the meantime.
5322
5323 2003-08-19 Jeff Johnston <jjohnstn@redhat.com>
5324
5325 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
5326 overflow detection.
5327
5328 2003-08-13 Aldy Hernandez <aldyh@redhat.com>
5329
5330 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
5331 extern "C".
5332
5333 2003-08-13 Jeff Johnston <jjohnstn@redhat.com>
5334
5335 * libc/include/math.h: Add prototypes for __signbitf and
5336 __signbitd.
5337
5338 2003-07-31 Jeff Johnston <jjohnstn@redhat.com>
5339
5340 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
5341 correct type of conversion when dealing with EUCJP or SJIS.
5342 * libc/ctype/iswblank.c: Ditto.
5343 * libc/ctype/iswcntrl.c: Ditto.
5344 * libc/ctype/iswprint.c: Ditto.
5345 * libc/ctype/iswpunct.c: Ditto.
5346 * libc/ctype/iswspace.c: Ditto.
5347 * libc/ctype/towlower.c: Ditto.
5348 * libc/ctype/towupper.c: Ditto.
5349
5350 2003-07-31 Nick Clifton <nickc@redhat.com>
5351
5352 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
5353 before calling main, in case it saves its argument registers.
5354 Remove reference to deleted v850ea port.
5355 * configure.host: Remove reference to deleted v850ea port.
5356 Do not use -mv850 when building for v850e target. This
5357 prevents the ctbp system register from being initialised.
5358
5359 2003-07-29 Honda Hiroki <hhonda@ipflex.com>
5360
5361 * libc/stdio/vfprintf.c: Set output size to 1 when
5362 we have %f format with precision 0 and # flag not specified.
5363
5364 2003-07-29 Alexandre Oliva <aoliva@redhat.com>
5365
5366 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
5367 .am33_2.
5368
5369 2003-07-25 Christopher Faylor <cgf@redhat.com>
5370
5371 * libc/stdio64/fdopen64.c: Include sys/lock.h.
5372
5373 2003-07-25 Christopher Faylor <cgf@redhat.com>
5374
5375 * configure.host: Find cygwin include directory, when appropriate.
5376
5377 2003-07-24 Christopher Faylor <cgf@redhat.com>
5378
5379 * libc/stdio64/fdopen64.c: New file.
5380 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
5381 * libc/stdio64/Makefile.in: Regenerate.
5382 * libc/include/stdio.h (fdopen64): Define.
5383 * libc/include/stdio.h (_fdopen64_r): Ditto.
5384
5385 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
5386
5387 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
5388 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
5389 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
5390 restore callee-saved FP registers.
5391
5392 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
5393
5394 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
5395 for __sh__.
5396 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
5397 truncate.c.
5398 * libc/sys/sh/Makefile.in: Regenerate.
5399 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
5400 * libc/sys/sh/ftruncate.c: New file.
5401 * libc/sys/sh/truncate.c: Likewise.
5402
5403 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
5404
5405 * libc/include/math.h (nan, nanf): Update prototype to C99.
5406 * libm/common/s_nan.c (nan): Likewise.
5407 * libm/common/s_nanf.c (nanf, nan): Likewise.
5408 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
5409
5410 2003-07-07 Jeff Johnston <jjohnstn@redhat.com>
5411
5412 * libc/include/stdbool.h: Removed as this is defined by gcc.
5413
5414 2003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
5415
5416 * libc/include/stdbool.h: New header file defined by C99.
5417
5418 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
5419
5420 * libc/include/sys/types.h (int8_t): Make signed.
5421
5422 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
5423
5424 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
5425
5426 2003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
5427
5428 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
5429 on if we actually created the shared memory file exclusively.
5430
5431 2003-06-27 Joe Vornehm <joev@mitre.org>
5432
5433 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
5434 comparisons to account for unsigned internal value w.
5435
5436 2003-06-26 Jeff Johnston <jjohnstn@redhat.com>
5437
5438 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
5439 wrbuf for a non-creating open.
5440
5441 2003-06-24 Kazu Hirata <kazu@cs.umass.edu>
5442
5443 * libc/machine/h8300/setarch.h: New.
5444 * libc/machine/h8300/memcpy.S: Use it.
5445 * libc/machine/h8300/memset.S: Likewise.
5446 * libc/machine/h8300/reg_memcpy.S: Likewise.
5447 * libc/machine/h8300/reg_memset.S: Likewise.
5448 * libc/machine/h8300/setjmp.S: Likewise.
5449 * libc/machine/h8300/strcmp.S: Likewise.
5450
5451 2003-06-24 Richard Sandiford <rsandifo@redhat.com>
5452
5453 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
5454 to atexit().
5455
5456 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
5457
5458 * configure.host (iq2000): Add tabs.
5459
5460 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
5461
5462 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
5463 to handle latest on_exit change.
5464 * libc/sys/linux/Makefile.am: Remove special compilation
5465 for malloc.c and mcheck.c.
5466 * libc/sys/linux/Makefile.in: Regenerated.
5467 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
5468 after including <features.h>.
5469 * libc/sys/linux/mcheck.c: Ditto.
5470 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
5471 for <features.h>.
5472 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
5473 add -DNOT_IN_libc to C flags.
5474 * libc/sys/linux/intl/Makefile.in: Regenerated.
5475 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
5476 * libc/sys/linux/linuxthreads/semaphore.h: Include
5477 <bits/pthreadtypes.h>.
5478 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
5479 including <features.h>.
5480 * libc/sys/linux/sys/lock.h: Ditto.
5481
5482 2003-06-11 Nick Clifton <nickc@redhat.com>
5483
5484 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
5485 _on_exit_args_ptr.
5486
5487 2003-06-10 Stan Cox <scox@redhat.com>
5488 Anthony Green <green@redhat.com>
5489
5490 * configure.host: Add iq2000 support.
5491 * newlib/libc/include/machine/ieeefp.h: Ditto.
5492 * newlib/libc/include/machine/setjmp.h: Ditto.
5493 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
5494 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
5495 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
5496 libc/machine/iq2000/Makefile.in: New files.
5497
5498 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
5499
5500 * libc/sys/h8300hms/setarch.h: New file.
5501 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
5502 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
5503 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
5504 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
5505
5506 2003-06-06 Jeff Johnston <jjohnstn@redhat.com>
5507
5508 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
5509 definition.
5510 * libc/argz/argz_add_sep.c: Ditto.
5511 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
5512 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
5513 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
5514 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
5515 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
5516 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
5517 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
5518 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
5519 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
5520 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
5521 * libc/posix/execl.c libc/posix/execle.c: Ditto.
5522 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
5523 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
5524 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
5525 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
5526 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
5527 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
5528 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
5529 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
5530 * libc/search/twalk.c libc/signal/signal.c: Ditto.
5531
5532 2003-06-05 Nick Clifton <nickc@redhat.com>
5533
5534 * libc/include/sys/reent.h (struct _on_exit_args): New
5535 structure containing fields used by the on_exit() function.
5536 (struct _atexit): Include struct _on_exit_args. For
5537 _REENT_SMALL do his via a pointer that is initialised when
5538 needed.
5539 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
5540 structure, if one has been allocated.
5541 * libc/stdlib/atexit.c (atexit): Update indirection to
5542 _fntypes field.
5543 * libc/stdlib/on_exit.c (on_exit): Indirect via the
5544 _on_exit_args structure. For _REENT_SMALL, allocate a
5545 structure if one does not exist.
5546 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
5547 structure.
5548
5549 2003-06-04 Jeff Johnston <jjohnstn@redhat.com>
5550
5551 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
5552 * libc/sys/linux/net/Makefile.in: Regenerated.
5553
5554 2003-06-03 Jeff Johnston <jjohnstn@redhat.com>
5555
5556 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
5557 * libc/reent/fcntlr.c: Ditto.
5558 * libc/reent/fstat64r.c: Ditto.
5559 * libc/reent/linkr.c: Ditto.
5560 * libc/reent/lseek64r.c: Ditto.
5561 * libc/reent/lseekr.c: Ditto.
5562 * libc/reent/openr.c: Ditto.
5563 * libc/reent/readr.c: Ditto.
5564 * libc/reent/reent.c: Ditto.
5565 * libc/reent/sbrkr.c: Ditto.
5566 * libc/reent/signalr.c: Ditto.
5567 * libc/reent/signgam.c: Ditto.
5568 * libc/reent/statr.c: Ditto.
5569 * libc/reent/timer.c: Ditto.
5570 * libc/reent/unlinkr.c: Ditto.
5571 * libc/reent/writer.c: Ditto.
5572 * libc/syscalls/sysclose.c: Ditto.
5573 * libc/syscalls/sysexecve.c: Ditto.
5574 * libc/syscalls/sysfcntl.c: Ditto.
5575 * libc/syscalls/sysfork.c: Ditto.
5576 * libc/syscalls/sysfstat.c: Ditto.
5577 * libc/syscalls/sysgetpid.c: Ditto.
5578 * libc/syscalls/sysgettod.c: Ditto.
5579 * libc/syscalls/syskill.c: Ditto.
5580 * libc/syscalls/syslink.c: Ditto.
5581 * libc/syscalls/syslseek.c: Ditto.
5582 * libc/syscalls/sysopen.c: Ditto.
5583 * libc/syscalls/sysread.c: Ditto.
5584 * libc/syscalls/syssbrk.c: Ditto.
5585 * libc/syscalls/sysstat.c: Ditto.
5586 * libc/syscalls/systimes.c: Ditto.
5587 * libc/syscalls/sysunlink.c: Ditto.
5588 * libc/syscalls/syswait.c: Ditto.
5589 * libc/syscalls/syswrite.c: Ditto.
5590
5591 2003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
5592
5593 * libc/time/tzset_r.c: Change local variables that are
5594 set via sscanf using the %h format specifier to be unsigned short
5595 instead of int.
5596
5597 2003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
5598
5599 * configure.host: Allow i[34567]86 variant.
5600 * configure.in: Likewise.
5601 * README: Likewise to the docs.
5602 * configure: Regenerated.
5603 * Makefile.in: Ditto.
5604
5605 2003-05-28 Jeff Johnston <jjohnstn@redhat.com>
5606 Tom Fitzsimmons <fitzsim@redhat.com>
5607
5608 * configure.in: Add iconvdata support for x86 linux.
5609 * configure: Regenerated.
5610 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
5611 library, iconv, and linuxthreads support.
5612 * libc/sys/linux/configure.in: Ditto.
5613 * libc/sys/linux/Makefile.in: Regenerated.
5614 * libc/sys/linux/configure: Ditto.
5615 * iconvdata/EUC-JP.irreversible: New file.
5616 * iconvdata/Makefile.am: Ditto.
5617 * iconvdata/Makefile.in: Ditto.
5618 * iconvdata/SJIS.irreversible: Ditto.
5619 * iconvdata/aclocal.m4: Ditto.
5620 * iconvdata/configure: Ditto.
5621 * iconvdata/configure.in: Ditto.
5622 * iconvdata/dummy.c: Ditto.
5623 * iconvdata/euc-jp.c: Ditto.
5624 * iconvdata/gconv-modules: Ditto.
5625 * iconvdata/jis0201.c: Ditto.
5626 * iconvdata/jis0201.h: Ditto.
5627 * iconvdata/jis0208.c: Ditto.
5628 * iconvdata/jis0208.h: Ditto.
5629 * iconvdata/jis0212.c: Ditto.
5630 * iconvdata/jis0212.h: Ditto.
5631 * iconvdata/sjis.c: Ditto.
5632 * libc/include/errno.h: Protect definition of error_t.
5633 * libc/sys/linux/gethostid.c: New file.
5634 * libc/sys/linux/sethostid.c: Ditto.
5635 * libc/sys/linux/dl/Makefile.am: Ditto.
5636 * libc/sys/linux/dl/Makefile.in: Ditto.
5637 * libc/sys/linux/dl/abi-tag.h: Ditto.
5638 * libc/sys/linux/dl/atomicity.h: Ditto.
5639 * libc/sys/linux/dl/dl-addr.c: Ditto.
5640 * libc/sys/linux/dl/dl-cache.c: Ditto.
5641 * libc/sys/linux/dl/dl-cache.h: Ditto.
5642 * libc/sys/linux/dl/dl-close.c: Ditto.
5643 * libc/sys/linux/dl/dl-debug.c: Ditto.
5644 * libc/sys/linux/dl/dl-deps.c: Ditto.
5645 * libc/sys/linux/dl/dl-dst.h: Ditto.
5646 * libc/sys/linux/dl/dl-error.c: Ditto.
5647 * libc/sys/linux/dl/dl-fini.c: Ditto.
5648 * libc/sys/linux/dl/dl-init.c: Ditto.
5649 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
5650 * libc/sys/linux/dl/dl-libc.c: Ditto.
5651 * libc/sys/linux/dl/dl-librecon.h: Ditto.
5652 * libc/sys/linux/dl/dl-load.c: Ditto.
5653 * libc/sys/linux/dl/dl-lookup.c: Ditto.
5654 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
5655 * libc/sys/linux/dl/dl-minimal.c: Ditto.
5656 * libc/sys/linux/dl/dl-misc.c: Ditto.
5657 * libc/sys/linux/dl/dl-object.c: Ditto.
5658 * libc/sys/linux/dl/dl-open.c: Ditto.
5659 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
5660 * libc/sys/linux/dl/dl-profile.c: Ditto.
5661 * libc/sys/linux/dl/dl-profstub.c: Ditto.
5662 * libc/sys/linux/dl/dl-reloc.c: Ditto.
5663 * libc/sys/linux/dl/dl-runtime.c: Ditto.
5664 * libc/sys/linux/dl/dl-support.c: Ditto.
5665 * libc/sys/linux/dl/dl-sym.c: Ditto.
5666 * libc/sys/linux/dl/dl-version.c: Ditto.
5667 * libc/sys/linux/dl/dlfcn.h: Ditto.
5668 * libc/sys/linux/dl/do-lookup.h: Ditto.
5669 * libc/sys/linux/dl/do-rel.h: Ditto.
5670 * libc/sys/linux/dl/dynamic-link.h: Ditto.
5671 * libc/sys/linux/dl/kernel-features.h: Ditto.
5672 * libc/sys/linux/dl/ldsodefs.h: Ditto.
5673 * libc/sys/linux/dl/libintl.h: Ditto.
5674 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
5675 * libc/sys/linux/dl/unsecvars.h: Ditto.
5676 * libc/sys/linux/iconv/Makefile.am: Ditto.
5677 * libc/sys/linux/iconv/Makefile.in: Ditto.
5678 * libc/sys/linux/iconv/categories.def: Ditto.
5679 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
5680 * libc/sys/linux/iconv/gconv.c: Ditto.
5681 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
5682 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
5683 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
5684 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
5685 * libc/sys/linux/iconv/gconv_close.c: Ditto.
5686 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
5687 * libc/sys/linux/iconv/gconv_db.c: Ditto.
5688 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
5689 * libc/sys/linux/iconv/gconv_int.h: Ditto.
5690 * libc/sys/linux/iconv/gconv_open.c: Ditto.
5691 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
5692 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
5693 * libc/sys/linux/iconv/hash-string.h: Ditto.
5694 * libc/sys/linux/iconv/iconv.c: Ditto.
5695 * libc/sys/linux/iconv/iconv.h: Ditto.
5696 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
5697 * libc/sys/linux/iconv/iconv_close.c: Ditto.
5698 * libc/sys/linux/iconv/iconv_open.c: Ditto.
5699 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
5700 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
5701 * libc/sys/linux/iconv/loadinfo.h: Ditto.
5702 * libc/sys/linux/iconv/localeinfo.h: Ditto.
5703 * libc/sys/linux/iconv/loop.c: Ditto.
5704 * libc/sys/linux/iconv/skeleton.c: Ditto.
5705 * libc/sys/linux/iconv/strtab.c: Ditto.
5706 * libc/sys/linux/include/dl-hash.h: Ditto.
5707 * libc/sys/linux/include/dlfcn.h: Ditto.
5708 * libc/sys/linux/include/fnmatch.h: Ditto.
5709 * libc/sys/linux/include/gconv.h: Ditto.
5710 * libc/sys/linux/include/glob.h: Ditto.
5711 * libc/sys/linux/include/hesiod.h: Ditto.
5712 * libc/sys/linux/include/ifaddrs.h: Ditto.
5713 * libc/sys/linux/include/libc_private.h: Ditto.
5714 * libc/sys/linux/include/link.h: Ditto.
5715 * libc/sys/linux/include/namespace.h: Ditto.
5716 * libc/sys/linux/include/netconfig.h: Ditto.
5717 * libc/sys/linux/include/netdb.h: Ditto.
5718 * libc/sys/linux/include/nsswitch.h: Ditto.
5719 * libc/sys/linux/include/regex.h: Ditto.
5720 * libc/sys/linux/include/resolv.h: Ditto.
5721 * libc/sys/linux/include/rune.h: Ditto.
5722 * libc/sys/linux/include/runetype.h: Ditto.
5723 * libc/sys/linux/include/semaphore.h: Ditto.
5724 * libc/sys/linux/include/setlocale.h: Ditto.
5725 * libc/sys/linux/include/un-namespace.h: Ditto.
5726 * libc/sys/linux/include/wordexp.h: Ditto.
5727 * libc/sys/linux/include/arpa/ftp.h: Ditto.
5728 * libc/sys/linux/include/arpa/inet.h: Ditto.
5729 * libc/sys/linux/include/arpa/nameser.h: Ditto.
5730 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
5731 * libc/sys/linux/include/arpa/telnet.h: Ditto.
5732 * libc/sys/linux/include/arpa/tftp.h: Ditto.
5733 * libc/sys/linux/include/net/bpf.h: Ditto.
5734 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
5735 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
5736 * libc/sys/linux/include/net/bridge.h: Ditto.
5737 * libc/sys/linux/include/net/ethernet.h: Ditto.
5738 * libc/sys/linux/include/net/fddi.h: Ditto.
5739 * libc/sys/linux/include/net/if.h: Ditto.
5740 * libc/sys/linux/include/net/if_arc.h: Ditto.
5741 * libc/sys/linux/include/net/if_arp.h: Ditto.
5742 * libc/sys/linux/include/net/if_atm.h: Ditto.
5743 * libc/sys/linux/include/net/if_dl.h: Ditto.
5744 * libc/sys/linux/include/net/if_gif.h: Ditto.
5745 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
5746 * libc/sys/linux/include/net/if_llc.h: Ditto.
5747 * libc/sys/linux/include/net/if_media.h: Ditto.
5748 * libc/sys/linux/include/net/if_mib.h: Ditto.
5749 * libc/sys/linux/include/net/if_ppp.h: Ditto.
5750 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
5751 * libc/sys/linux/include/net/if_slvar.h: Ditto.
5752 * libc/sys/linux/include/net/if_sppp.h: Ditto.
5753 * libc/sys/linux/include/net/if_stf.h: Ditto.
5754 * libc/sys/linux/include/net/if_tap.h: Ditto.
5755 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
5756 * libc/sys/linux/include/net/if_tun.h: Ditto.
5757 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
5758 * libc/sys/linux/include/net/if_types.h: Ditto.
5759 * libc/sys/linux/include/net/if_var.h: Ditto.
5760 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
5761 * libc/sys/linux/include/net/intrq.h: Ditto.
5762 * libc/sys/linux/include/net/iso88025.h: Ditto.
5763 * libc/sys/linux/include/net/net_osdep.h: Ditto.
5764 * libc/sys/linux/include/net/netisr.h: Ditto.
5765 * libc/sys/linux/include/net/pfil.h: Ditto.
5766 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
5767 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
5768 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
5769 * libc/sys/linux/include/net/radix.h: Ditto.
5770 * libc/sys/linux/include/net/raw_cb.h: Ditto.
5771 * libc/sys/linux/include/net/route.h: Ditto.
5772 * libc/sys/linux/include/net/slcompress.h: Ditto.
5773 * libc/sys/linux/include/net/slip.h: Ditto.
5774 * libc/sys/linux/include/net/zlib.h: Ditto.
5775 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
5776 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
5777 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
5778 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
5779 * libc/sys/linux/include/netinet/igmp.h: Ditto.
5780 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
5781 * libc/sys/linux/include/netinet/in.h: Ditto.
5782 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
5783 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
5784 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
5785 * libc/sys/linux/include/netinet/in_var.h: Ditto.
5786 * libc/sys/linux/include/netinet/ip.h: Ditto.
5787 * libc/sys/linux/include/netinet/ip6.h: Ditto.
5788 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
5789 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
5790 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
5791 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
5792 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
5793 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
5794 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
5795 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
5796 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
5797 * libc/sys/linux/include/netinet/tcp.h: Ditto.
5798 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
5799 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
5800 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
5801 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
5802 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
5803 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
5804 * libc/sys/linux/include/netinet/udp.h: Ditto.
5805 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
5806 * libc/sys/linux/include/netinet6/ah.h: Ditto.
5807 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
5808 * libc/sys/linux/include/netinet6/esp.h: Ditto.
5809 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
5810 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
5811 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
5812 * libc/sys/linux/include/netinet6/in6.h: Ditto.
5813 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
5814 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
5815 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
5816 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
5817 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
5818 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
5819 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
5820 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
5821 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
5822 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
5823 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
5824 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
5825 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
5826 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
5827 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
5828 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
5829 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
5830 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
5831 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
5832 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
5833 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
5834 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
5835 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
5836 * libc/sys/linux/include/netns/idp.h: Ditto.
5837 * libc/sys/linux/include/netns/idp_var.h: Ditto.
5838 * libc/sys/linux/include/netns/ns.h: Ditto.
5839 * libc/sys/linux/include/netns/ns_error.h: Ditto.
5840 * libc/sys/linux/include/netns/ns_if.h: Ditto.
5841 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
5842 * libc/sys/linux/include/netns/sp.h: Ditto.
5843 * libc/sys/linux/include/netns/spidp.h: Ditto.
5844 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
5845 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
5846 * libc/sys/linux/include/netns/spp_var.h: Ditto.
5847 * libc/sys/linux/include/rpc/Makefile: Ditto.
5848 * libc/sys/linux/include/rpc/auth.h: Ditto.
5849 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
5850 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
5851 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
5852 * libc/sys/linux/include/rpc/clnt.h: Ditto.
5853 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
5854 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
5855 * libc/sys/linux/include/rpc/des.h: Ditto.
5856 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
5857 * libc/sys/linux/include/rpc/nettype.h: Ditto.
5858 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
5859 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
5860 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
5861 * libc/sys/linux/include/rpc/raw.h: Ditto.
5862 * libc/sys/linux/include/rpc/rpc.h: Ditto.
5863 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
5864 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
5865 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
5866 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
5867 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
5868 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
5869 * libc/sys/linux/include/rpc/svc.h: Ditto.
5870 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
5871 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
5872 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
5873 * libc/sys/linux/include/rpc/types.h: Ditto.
5874 * libc/sys/linux/include/rpc/xdr.h: Ditto.
5875 * libc/sys/linux/intl/Makefile.am: Ditto.
5876 * libc/sys/linux/intl/Makefile.in: Ditto.
5877 * libc/sys/linux/intl/bindtextdom.c: Ditto.
5878 * libc/sys/linux/intl/catgets.c: Ditto.
5879 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
5880 * libc/sys/linux/intl/config.h: Ditto.
5881 * libc/sys/linux/intl/dcgettext.c: Ditto.
5882 * libc/sys/linux/intl/dcigettext.c: Ditto.
5883 * libc/sys/linux/intl/dcngettext.c: Ditto.
5884 * libc/sys/linux/intl/dgettext.c: Ditto.
5885 * libc/sys/linux/intl/dngettext.c: Ditto.
5886 * libc/sys/linux/intl/explodename.c: Ditto.
5887 * libc/sys/linux/intl/finddomain.c: Ditto.
5888 * libc/sys/linux/intl/gettext.c: Ditto.
5889 * libc/sys/linux/intl/gettext.h: Ditto.
5890 * libc/sys/linux/intl/gettextP.h: Ditto.
5891 * libc/sys/linux/intl/hash-string.h: Ditto.
5892 * libc/sys/linux/intl/l10nflist.c: Ditto.
5893 * libc/sys/linux/intl/loadinfo.h: Ditto.
5894 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
5895 * libc/sys/linux/intl/locale.alias: Ditto.
5896 * libc/sys/linux/intl/localealias.c: Ditto.
5897 * libc/sys/linux/intl/ngettext.c: Ditto.
5898 * libc/sys/linux/intl/open_catalog.c: Ditto.
5899 * libc/sys/linux/intl/plural.c: Ditto.
5900 * libc/sys/linux/intl/plural.y: Ditto.
5901 * libc/sys/linux/intl/stpcpy.c: Ditto.
5902 * libc/sys/linux/intl/textdomain.c: Ditto.
5903 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
5904 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
5905 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
5906 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
5907 * libc/sys/linux/linuxthreads/attr.c: Ditto.
5908 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
5909 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
5910 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
5911 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
5912 * libc/sys/linux/linuxthreads/config.h: Ditto.
5913 * libc/sys/linux/linuxthreads/configure: Ditto.
5914 * libc/sys/linux/linuxthreads/configure.in: Ditto.
5915 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
5916 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
5917 * libc/sys/linux/linuxthreads/events.c: Ditto.
5918 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
5919 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
5920 * libc/sys/linux/linuxthreads/internals.h: Ditto.
5921 * libc/sys/linux/linuxthreads/join.c: Ditto.
5922 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
5923 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
5924 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
5925 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
5926 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
5927 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
5928 * libc/sys/linux/linuxthreads/manager.c: Ditto.
5929 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
5930 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
5931 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
5932 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
5933 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
5934 * libc/sys/linux/linuxthreads/prio.c: Ditto.
5935 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
5936 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
5937 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
5938 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
5939 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
5940 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
5941 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
5942 * libc/sys/linux/linuxthreads/queue.h: Ditto.
5943 * libc/sys/linux/linuxthreads/reent.c: Ditto.
5944 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
5945 * libc/sys/linux/linuxthreads/restart.h: Ditto.
5946 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
5947 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
5948 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
5949 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
5950 * libc/sys/linux/linuxthreads/signals.c: Ditto.
5951 * libc/sys/linux/linuxthreads/specific.c: Ditto.
5952 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
5953 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
5954 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
5955 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
5956 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
5957 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
5958 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
5959 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
5960 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
5961 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
5962 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
5963 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
5964 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
5965 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
5966 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
5967 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
5968 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
5969 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
5970 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
5971 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
5972 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
5973 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
5974 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
5975 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
5976 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
5977 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
5978 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
5979 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
5980 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
5981 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
5982 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
5983 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
5984 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
5985 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
5986 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
5987 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
5988 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
5989 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
5990 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
5991 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
5992 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
5993 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
5994 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
5995 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
5996 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
5997 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
5998 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
5999 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
6000 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
6001 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
6002 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
6003 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
6004 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
6005 * libc/sys/linux/linuxthreads/unload.c: Ditto.
6006 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
6007 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
6008 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
6009 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
6010 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
6011 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
6012 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
6013 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
6014 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
6015 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
6016 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
6017 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
6018 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
6019 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
6020 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
6021 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
6022 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
6023 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
6024 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
6025 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
6026 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
6027 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
6028 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
6029 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
6030 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
6031 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
6032 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
6033 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
6034 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
6035 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
6036 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
6037 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
6038 * libc/sys/linux/net/Makefile.am: Ditto.
6039 * libc/sys/linux/net/Makefile.in: Ditto.
6040 * libc/sys/linux/net/addr2ascii.3: Ditto.
6041 * libc/sys/linux/net/addr2ascii.c: Ditto.
6042 * libc/sys/linux/net/ascii2addr.c: Ditto.
6043 * libc/sys/linux/net/base64.c: Ditto.
6044 * libc/sys/linux/net/bindresvport.c: Ditto.
6045 * libc/sys/linux/net/byteorder.3: Ditto.
6046 * libc/sys/linux/net/ether_addr.c: Ditto.
6047 * libc/sys/linux/net/ethers.3: Ditto.
6048 * libc/sys/linux/net/getaddrinfo.3: Ditto.
6049 * libc/sys/linux/net/getaddrinfo.c: Ditto.
6050 * libc/sys/linux/net/gethostbydns.c: Ditto.
6051 * libc/sys/linux/net/gethostbyht.c: Ditto.
6052 * libc/sys/linux/net/gethostbyname.3: Ditto.
6053 * libc/sys/linux/net/gethostbynis.c: Ditto.
6054 * libc/sys/linux/net/gethostnamadr.c: Ditto.
6055 * libc/sys/linux/net/getifaddrs.3: Ditto.
6056 * libc/sys/linux/net/getifaddrs.c: Ditto.
6057 * libc/sys/linux/net/getipnodebyname.3: Ditto.
6058 * libc/sys/linux/net/getnameinfo.3: Ditto.
6059 * libc/sys/linux/net/getnameinfo.c: Ditto.
6060 * libc/sys/linux/net/getnetbydns.c: Ditto.
6061 * libc/sys/linux/net/getnetbyht.c: Ditto.
6062 * libc/sys/linux/net/getnetbynis.c: Ditto.
6063 * libc/sys/linux/net/getnetent.3: Ditto.
6064 * libc/sys/linux/net/getnetnamadr.c: Ditto.
6065 * libc/sys/linux/net/getproto.c: Ditto.
6066 * libc/sys/linux/net/getprotoent.3: Ditto.
6067 * libc/sys/linux/net/getprotoent.c: Ditto.
6068 * libc/sys/linux/net/getprotoname.c: Ditto.
6069 * libc/sys/linux/net/getservbyname.c: Ditto.
6070 * libc/sys/linux/net/getservbyport.c: Ditto.
6071 * libc/sys/linux/net/getservent.3: Ditto.
6072 * libc/sys/linux/net/getservent.c: Ditto.
6073 * libc/sys/linux/net/herror.c: Ditto.
6074 * libc/sys/linux/net/hesiod.3: Ditto.
6075 * libc/sys/linux/net/hesiod.c: Ditto.
6076 * libc/sys/linux/net/if_indextoname.3: Ditto.
6077 * libc/sys/linux/net/ifname.c: Ditto.
6078 * libc/sys/linux/net/inet.3: Ditto.
6079 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
6080 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
6081 * libc/sys/linux/net/inet_addr.c: Ditto.
6082 * libc/sys/linux/net/inet_lnaof.c: Ditto.
6083 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
6084 * libc/sys/linux/net/inet_net.3: Ditto.
6085 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
6086 * libc/sys/linux/net/inet_net_pton.c: Ditto.
6087 * libc/sys/linux/net/inet_neta.c: Ditto.
6088 * libc/sys/linux/net/inet_netof.c: Ditto.
6089 * libc/sys/linux/net/inet_network.c: Ditto.
6090 * libc/sys/linux/net/inet_ntoa.c: Ditto.
6091 * libc/sys/linux/net/inet_ntop.c: Ditto.
6092 * libc/sys/linux/net/inet_pton.c: Ditto.
6093 * libc/sys/linux/net/innetgr-stub.c: Ditto.
6094 * libc/sys/linux/net/ip6opt.c: Ditto.
6095 * libc/sys/linux/net/iso_addr.3: Ditto.
6096 * libc/sys/linux/net/iso_addr.c: Ditto.
6097 * libc/sys/linux/net/issetugid-stub.c: Ditto.
6098 * libc/sys/linux/net/linkaddr.3: Ditto.
6099 * libc/sys/linux/net/linkaddr.c: Ditto.
6100 * libc/sys/linux/net/map_v4v6.c: Ditto.
6101 * libc/sys/linux/net/name6.c: Ditto.
6102 * libc/sys/linux/net/namespace.h: Ditto.
6103 * libc/sys/linux/net/ns.3: Ditto.
6104 * libc/sys/linux/net/ns_addr.c: Ditto.
6105 * libc/sys/linux/net/ns_name.c: Ditto.
6106 * libc/sys/linux/net/ns_netint.c: Ditto.
6107 * libc/sys/linux/net/ns_ntoa.c: Ditto.
6108 * libc/sys/linux/net/ns_parse.c: Ditto.
6109 * libc/sys/linux/net/ns_print.c: Ditto.
6110 * libc/sys/linux/net/ns_ttl.c: Ditto.
6111 * libc/sys/linux/net/nsap_addr.c: Ditto.
6112 * libc/sys/linux/net/nsdispatch.3: Ditto.
6113 * libc/sys/linux/net/nsdispatch.c: Ditto.
6114 * libc/sys/linux/net/nslexer.c: Ditto.
6115 * libc/sys/linux/net/nslexer.l: Ditto.
6116 * libc/sys/linux/net/nsparser.c: Ditto.
6117 * libc/sys/linux/net/nsparser.h: Ditto.
6118 * libc/sys/linux/net/nsparser.y: Ditto.
6119 * libc/sys/linux/net/rcmd.3: Ditto.
6120 * libc/sys/linux/net/rcmd.c: Ditto.
6121 * libc/sys/linux/net/rcmdsh.3: Ditto.
6122 * libc/sys/linux/net/rcmdsh.c: Ditto.
6123 * libc/sys/linux/net/recv.c: Ditto.
6124 * libc/sys/linux/net/res_comp.c: Ditto.
6125 * libc/sys/linux/net/res_config.h: Ditto.
6126 * libc/sys/linux/net/res_data.c: Ditto.
6127 * libc/sys/linux/net/res_debug.c: Ditto.
6128 * libc/sys/linux/net/res_init.c: Ditto.
6129 * libc/sys/linux/net/res_mkquery.c: Ditto.
6130 * libc/sys/linux/net/res_mkupdate.c: Ditto.
6131 * libc/sys/linux/net/res_query.c: Ditto.
6132 * libc/sys/linux/net/res_send.c: Ditto.
6133 * libc/sys/linux/net/res_update.c: Ditto.
6134 * libc/sys/linux/net/resolver.3: Ditto.
6135 * libc/sys/linux/net/rthdr.c: Ditto.
6136 * libc/sys/linux/net/send.c: Ditto.
6137 * libc/sys/linux/net/un-namespace.h: Ditto.
6138 * libc/sys/linux/net/vars.c: Ditto.
6139 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
6140 * libc/sys/linux/stdlib/Makefile.am: Ditto.
6141 * libc/sys/linux/stdlib/Makefile.in: Ditto.
6142 * libc/sys/linux/stdlib/cclass.h: Ditto.
6143 * libc/sys/linux/stdlib/cname.h: Ditto.
6144 * libc/sys/linux/stdlib/collate.c: Ditto.
6145 * libc/sys/linux/stdlib/collate.h: Ditto.
6146 * libc/sys/linux/stdlib/collcmp.c: Ditto.
6147 * libc/sys/linux/stdlib/engine.c: Ditto.
6148 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
6149 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
6150 * libc/sys/linux/stdlib/glob.3: Ditto.
6151 * libc/sys/linux/stdlib/glob.c: Ditto.
6152 * libc/sys/linux/stdlib/reallocf.c: Ditto.
6153 * libc/sys/linux/stdlib/regcomp.c: Ditto.
6154 * libc/sys/linux/stdlib/regerror.c: Ditto.
6155 * libc/sys/linux/stdlib/regex.3: Ditto.
6156 * libc/sys/linux/stdlib/regex2.h: Ditto.
6157 * libc/sys/linux/stdlib/regexec.c: Ditto.
6158 * libc/sys/linux/stdlib/regfree.c: Ditto.
6159 * libc/sys/linux/stdlib/utils.h: Ditto.
6160 * libc/sys/linux/stdlib/wordexp.c: Ditto.
6161 * libc/sys/linux/stdlib/wordfree.c: Ditto.
6162 * libc/sys/linux/sys/dlfcn.h: Ditto.
6163 * libc/sys/linux/sys/elfclass.h: Ditto.
6164 * libc/sys/linux/sys/event.h: Ditto.
6165 * libc/sys/linux/sys/ioccom.h: Ditto.
6166 * libc/sys/linux/sys/libc-tsd.h: Ditto.
6167 * libc/sys/linux/sys/link.h: Ditto.
6168 * libc/sys/linux/sys/lock.h: Ditto.
6169 * libc/sys/linux/sys/param.h: Ditto.
6170 * libc/sys/linux/sys/socket.h: Ditto.
6171 * libc/sys/linux/sys/sockio.h: Ditto.
6172
6173 2003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
6174
6175 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
6176 normal mode
6177 * newlib/libc/machine/h8300/memset.S: Likewise
6178 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
6179 * newlib/lib/machine/h8300/reg_memset.S: Likewise
6180 * newlib/lib/machine/h8300/setjmp.S: Likewise
6181 * newlib/lib/machine/h8300/strcmp.S: Likewise
6182 * newlib/lib/sys/h8300hms/crt0.S: Likewise
6183
6184 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
6185
6186 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
6187 * libc/include/stdio.h: Ditto.
6188 * libc/include/sys/config.h: Ditto.
6189 * libc/stdio/mktemp.c: Ditto.
6190
6191 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
6192
6193 * libc/locale/ldpart.c (__part_load_locale): Substitute
6194 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
6195 * libc/search/hash.c (__hash_open): Ditto.
6196 (init_hash): Ditto.
6197 * libc/stdio/fseek.c (fseek): Ditto.
6198 * libc/stdio/makebuf.c (__smakebuf): Ditto.
6199 * libc/stdio/mktemp.c (_gettemp): Ditto.
6200
6201 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
6202
6203 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
6204
6205 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
6206
6207 * configure.host: Accomodate removing the libc/sys/cygwin dir.
6208 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
6209 if __CYGWIN_USE_BIG_TYPES__ is set.
6210 * libc/search/hash.c (__hash_open): Ditto.
6211 (init_hash): Ditto.
6212 * libc/stdio/fseek.c (fseek): Ditto.
6213 * libc/stdio/makebuf.c (__smakebuf): Ditto.
6214 * libc/stdio/mktemp.c (_gettemp): Ditto.
6215 * libc/sys/cygwin/Makefile.am: Remove.
6216 * libc/sys/cygwin/Makefile.in: Remove.
6217 * libc/sys/cygwin/aclocal.m4: Remove.
6218 * libc/sys/cygwin/configure: Remove.
6219 * libc/sys/cygwin/configure.in: Remove.
6220 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
6221 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
6222 directory.
6223 * libc/sys/cygwin/sys/param.h: Ditto.
6224 * libc/sys/cygwin/sys/utime.h: Ditto.
6225 * libc/sys/cygwin/sys/utmp.h: Ditto.
6226
6227 2003-05-11 Corinna Vinschen <corinna@vinschen.de>
6228
6229 * libc/include/sys/types.h: Don't define key_t for Cygwin.
6230
6231 2003-05-10 Christopher Faylor <cgf@redhat.com>
6232
6233 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
6234 64 bit inodes.
6235
6236 2003-05-09 Corinna Vinschen <corinna@vinschen.de>
6237
6238 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
6239 Include cygwin/config.h instead.
6240
6241 2003-04-16 Jeff Johnston <jjohnstn@redhat.com>
6242
6243 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
6244 all code with #ifdef __SPE__ test.
6245 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
6246
6247 2003-04-15 Chris January <chris@atomice.net>
6248
6249 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
6250 Cygwin.
6251
6252 2003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
6253
6254 * libc/machine/sh/memset.S: Avoid clobbering volatile
6255 objects following a tiny to-be-set array in the same quadword.
6256
6257 2001-04-09 Corinna Vinschen <corinna@vinschen.de>
6258
6259 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
6260 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
6261 * libc/string/Makefile.in: Regenerated.
6262 * libc/string/wcswidth.c: New file.
6263 * libc/string/wcwidth.c: New file.
6264 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
6265
6266 Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
6267
6268 * libc/machine/sh/memset.S: Fix problem with alloco region
6269 exceeding destination region for length >= 88 bytes, start
6270 & 0x16 == 0, end & 0x1f == 18.
6271
6272 2001-04-03 Corinna Vinschen <corinna@vinschen.de>
6273
6274 * libc/string/wcscoll.c: Fix comment.
6275
6276 2001-04-02 Corinna Vinschen <corinna@vinschen.de>
6277
6278 * libc/include/wchar.h: Add definition for wcscoll.
6279 * libc/string/Makefile.am: Add wcscoll.c.
6280 * libc/string/Makefile.in: Regenerated.
6281 * libc/string/wcscoll.c: New file.
6282 * libc/string/wcstrings.tex: Add wcscoll.
6283
6284 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
6285
6286 * libc/stdio/sscanf.c: Update flags description.
6287 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
6288 type.
6289 (__svfscanf_r): Add 'hh' and 'll' handling.
6290
6291 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
6292
6293 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
6294 __d_position member to _off_t.
6295
6296 2003-03-20 Jeff Johnston <jjohnstn@redhat.com>
6297
6298 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
6299 count all characters used to create number against maximum width.
6300 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
6301
6302 2003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
6303
6304 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
6305 support.
6306 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
6307 flag to support simulator only extensions.
6308
6309 2003-03-17 Bob Cassels <bcassels@abinitio.com>
6310
6311 * libc/string/wcschr.c: (wcschr): Look for character first,
6312 then for end of string, so you can do wcschr(x, '\0').
6313
6314 2003-03-10 Corinna Vinschen <corinna@vinschen.de>
6315
6316 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
6317 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
6318 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
6319 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
6320 * libc/stdio/fseeko.c (fseeko): Ditto.
6321 * libc/stdio/ftello.c (ftello): Ditto.
6322 * libc/stdio/stdio.c (__swrite): Ditto.
6323 (__sseek): Ditto.
6324 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
6325 * libc/stdio/fseek.c (fseek): Ditto.
6326 * libc/stdio/fsetpos.c (fsetpos): Ditto.
6327 * libc/stdio/ftell.c (ftell): Ditto.
6328 * libc/stdio/local.h: Declare __sseek using _off_t.
6329
6330 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
6331
6332 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
6333
6334 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
6335
6336 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
6337 Cygwin.
6338
6339 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
6340
6341 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
6342 Cygwin.
6343 * libc/include/sys/stat.h: Ditto.
6344 * libc/include/sys/unistd.h: Ditto.
6345 * libc/sys/cygwin/sys/dirent.h: Ditto.
6346
6347 2003-03-07 Christopher Faylor <cgf@redhat.com>
6348
6349 * libc/include/sys/unistd.h: Guard getopt.h call to force only
6350 declaration of getopt and avoid getopt_long declaration.
6351 * libc/sys/cygwin/include/unistd.h: Remove.
6352
6353 2003-03-07 Corinna Vinschen <corinna@vinschen.de>
6354
6355 * configure.host: Define stdio64_dir for Cygwin.
6356 * libc/include/stdio.h: Change definition of fpos_t to fulfill
6357 Cygwin 64bit file access requirements.
6358 Drop definition of f*64() functions when compiled for Cygwin.
6359 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
6360 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
6361 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
6362
6363 2003-03-07 Jeff Johnston <jjohnstn@redhat.com>
6364
6365 * libc/include/sys/reent.h: Remove extraneous _sig_func
6366 declaration.
6367
6368 2003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
6369
6370 * libc/sys/h8300hms/Makefile.am: Add support for new files.
6371 * libc/sys/h8300hms/Makefile.in: Regenerated.
6372 * libc/sys/h8300hms/close.S: New file.
6373 * libc/sys/h8300hms/fstat.S: Ditto.
6374 * libc/sys/h8300hms/lseek.S: Ditto.
6375 * libc/sys/h8300hms/open.S: Ditto.
6376 * libc/sys/h8300hms/stat.S: Ditto.
6377 * libc/sys/h8300hms/read.S: New file to replace read.c.
6378 * libc/sys/h8300hms/read.c: Removed.
6379 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
6380 _lseek, _close, _stat, _fstat.
6381 * libc/sys/h8300hms/write.S: New file to replace write.c.
6382 * libc/sys/h8300hms/write.c: Removed.
6383
6384 2003-02-20 Nick Clifton <nickc@redhat.com>
6385
6386 * Add support for Cirrus Maverick ARM co-processor:
6387
6388 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
6389
6390 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
6391 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
6392
6393 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
6394
6395 * configure.host: set sys_dir, syscall_dir, and
6396 newlib_cflags for ep9312 host.
6397
6398 * configure.host: Restore alpha sorting of entries in case
6399 statements.
6400
6401 2003-02-19 Jeff Johnston <jjohnstn@redhat.com>
6402
6403 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
6404
6405 2003-02-18 Christian Groessler <chris@groessler.org>
6406
6407 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
6408 support z8001 segmented mode.
6409
6410 2003-02-18 Earnie Boyd <earnie@users.sf.net>
6411
6412 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
6413 with a NULL value.
6414
6415 2003-02-10 Christopher Faylor <cgf@redhat.com>
6416
6417 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
6418 Don't define some types under cygwin.
6419
6420 2003-02-07 Jeff Johnston <jjohnstn@redhat.com>
6421
6422 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
6423 option to allow disabling of syscalls being supplied in newlib.
6424 * aclocal.m4: Regenerated.
6425 * configure: Ditto.
6426 * configure.host: Add support of new configuration option and add
6427 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
6428 * doc/aclocal.m4: Regenerated.
6429 * doc/configure: Ditto.
6430 * libc/*aclocal.m4: Ditto.
6431 * libc/*configure: Ditto.
6432 * libm/*aclocal.m4: Ditto.
6433 * libm/*configure: Ditto.
6434 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
6435 is disabled.
6436 * libc/sys/arm/Makefile.in: Regenerated.
6437
6438 2003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
6439
6440 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
6441 -1 to be sure it cannot later match a valid file fd causing
6442 isatty() to return 1.
6443 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
6444 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
6445 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
6446
6447 2003-02-03 Jeff Johnston <jjohnstn@redhat.com>
6448
6449 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
6450 buffer based on the precision, after we have processed the input value
6451 in a local buffer and know its relative magnitude.
6452
6453 2003-01-31 Michael Snyder <msnyder@redhat.com>
6454
6455 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
6456 into registers r1 and r2, so that the simulator can distinguish
6457 this trap from a breakpoint trap. Copied from libgloss.
6458
6459 2003-01-31 Michael Snyder <msnyder@redhat.com>
6460
6461 * libc/sys/h8300hms/crt0.S (_start): Change local label
6462 from .loop to .Loop, so that ld and gdb will ignore it.
6463
6464 2003-01-29 Jason Tishler <jason@tishler.net>
6465
6466 * libc/include/time.h: Declare nanosleep() under Cygwin.
6467
6468 2003-01-24 Nick Clifton <nickc@redhat.com>
6469
6470 * Add sh2e support:
6471
6472 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
6473
6474 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
6475 * libc/machine/sh/setjmp.S: Likewise.
6476 * libc/include/machine/ieeefp.h: Likewise.
6477
6478 2003-01-24 Corinna Vinschen <corinna@vinschen.de>
6479
6480 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
6481 for Cygwin.
6482
6483 2003-01-21 Anita Kulkarni <anitak@kpit.com>
6484
6485 * libc/time/difftime.c : Typecast the result to double.
6486
6487 2003-01-20 Christopher Faylor <cgf@redhat.com>
6488
6489 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
6490
6491 2003-01-18 Nick Clifton <nickc@redhat.com>
6492
6493 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
6494 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
6495
6496 2003-01-16 Joel Sherrill <joel@OARcorp.com>
6497
6498 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
6499 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
6500 constants are defined in each file in the shared versions in
6501 libc/include.
6502 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
6503 autoconf can link programs.
6504 * libc/include/machine/types.h: Explicitly specify signed on
6505 intXX_t types to ensure they are signed.
6506
6507 2003-01-14 Christopher Faylor <cgf@redhat.com>
6508
6509 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
6510 extensions.
6511
6512 2003-01-08 Richard Sandiford <rsandifo@redhat.com>
6513
6514 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
6515
6516 2003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
6517
6518 * libc/stdio/sprintf.c: fix typo
6519 * libc/stdio/vfprintf.c: fix typo
6520
6521 2003-01-07 Jeff Johnston <jjohnstn@redhat.com>
6522
6523 * configure.host: Support long double I/O for x86-linux.
6524 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
6525 large enough to hold formatted result.
6526 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
6527
6528 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
6529
6530 * Makefile.am: Add vasprintf.
6531 * Makefile.in: Regenerated.
6532
6533 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
6534
6535 * asprintf.c (_asprintf_r): insure both declarations
6536 are the same.
6537
6538 2002-12-28 Christopher Faylor <cgf@redhat.com>
6539
6540 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
6541 than defining getopt directly.
6542
6543 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
6544
6545 * NEWS: Update with 1.11.0 info.
6546 * README: Ditto.
6547 * acinclude.m4: Change version number to 1.11.0.
6548 * aclocal.m4: Regenerated.
6549 * configure: Ditto.
6550 * doc/aclocal.m4: Ditto.
6551 * doc/configure: Ditto.
6552 * libc/*/aclocal.m4: Ditto.
6553 * libc/*/configure: Ditto.
6554 * libc/libc.texinfo: Ditto.
6555 * libm/*/aclocal.m4: Ditto.
6556 * libm/*/configure: Ditto.
6557 * libm/libm.texinfo: Ditto.
6558 * libc/sys/linux/shared.ld: Add VERS_1.11.
6559
6560 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
6561
6562 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
6563 Solutions to Red Hat Inc.
6564 * libc/machine/i386/f_atan2f.S: Ditto.
6565 * libc/machine/i386/f_exp.c: Ditto.
6566 * libc/machine/i386/f_expf.c: Ditto.
6567 * libc/machine/i386/f_frexp.S: Ditto.
6568 * libc/machine/i386/f_frexpf.S: Ditto.
6569 * libc/machine/i386/f_ldexp.S: Ditto.
6570 * libc/machine/i386/f_ldexpf.S: Ditto.
6571 * libc/machine/i386/f_log.S: Ditto.
6572 * libc/machine/i386/f_log10.S: Ditto.
6573 * libc/machine/i386/f_log10f.S: Ditto.
6574 * libc/machine/i386/f_logf.S: Ditto.
6575 * libc/machine/i386/f_pow.c: Ditto.
6576 * libc/machine/i386/f_powf.c: Ditto.
6577 * libc/machine/i386/f_tan.S: Ditto.
6578 * libc/machine/i386/f_tanf.S: Ditto.
6579 * libc/machine/i386/memchr.S: Ditto.
6580 * libc/machine/i386/memcmp.S: Ditto.
6581 * libc/machine/i386/memcpy.S: Ditto.
6582 * libc/machine/i386/memmove.S: Ditto.
6583 * libc/machine/i386/memset.S: Ditto.
6584 * libc/machine/i386/strchr.S: Ditto.
6585 * libc/machine/i386/strlen.S: Ditto.
6586 * libm/machine/i386/f_atan2.S: Ditto.
6587 * libm/machine/i386/f_atan2f.S: Ditto.
6588 * libm/machine/i386/f_exp.c: Ditto.
6589 * libm/machine/i386/f_expf.c: Ditto.
6590 * libm/machine/i386/f_frexp.S: Ditto.
6591 * libm/machine/i386/f_frexpf.S: Ditto.
6592 * libm/machine/i386/f_ldexp.S: Ditto.
6593 * libm/machine/i386/f_ldexpf.S: Ditto.
6594 * libm/machine/i386/f_log.S: Ditto.
6595 * libm/machine/i386/f_log10.S: Ditto.
6596 * libm/machine/i386/f_log10f.S: Ditto.
6597 * libm/machine/i386/f_logf.S: Ditto.
6598 * libm/machine/i386/f_pow.c: Ditto.
6599 * libm/machine/i386/f_powf.c: Ditto.
6600 * libm/machine/i386/f_tan.S: Ditto.
6601 * libm/machine/i386/f_tanf.S: Ditto.
6602
6603 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
6604
6605 * libc/stdlib/environ.c: Update license to Red Hat.
6606 * libc/machine/hppa/setjmp.S: Ditto.
6607 * libm/test/Makefile.in: Ditto.
6608
6609 2002-12-19 Jeff Johnston <jjohnstn@redhat.com>
6610
6611 * configure.host: Remove references to go32.
6612 * libc/sys/go32/*: Removed.
6613
6614 2002-12-16 Kazu Hirata <kazu@cs.umass.edu>
6615
6616 * libc/include/sys/config.h: Change setting of INT_MAX
6617 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
6618 __H8300S__. Also consolidate flag settings for these
6619 platforms.
6620
6621 2002-12-10 Joel Sherrill <joel@OARcorp.com>
6622
6623 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
6624 for i386-rtems targets.
6625
6626 2002-12-06 Jeff Johnston <jjohnstn@redhat.com>
6627
6628 * libc/include/stdlib.h (strtof): New prototype (from C99).
6629 (strtodf): Changed from prototype to macro which redefines
6630 to strtof.
6631 * libc/stdlib/atof.c: Change documentation to refer to strtof
6632 instead of strtodf.
6633 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
6634 strtodf.
6635 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
6636 (strtof): New function.
6637 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
6638 calls strtof.
6639
6640 2002-11-27 Christopher Faylor <cgf@redhat.com>
6641
6642 * libc/string/memset.c (memset): Fix comment.
6643
6644 2002-11-26 Christopher Faylor <cgf@redhat.com>
6645
6646 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
6647 function.
6648
6649 2002-11-25 Christopher Faylor <cgf@redhat.com>
6650
6651 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
6652 variable, introduced below, everywhere.
6653
6654 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
6655
6656 * libc/string/memset.c (memset): Make it safe even if
6657 sizeof (int) = 2.
6658
6659 2002-11-22 Joe Buehler <jbuehler@hekimian.com>
6660
6661 * configure.in: Change check for libc/include in ${CC} to
6662 use an intermediate value so as to work with different shells.
6663 * configure: Regenerated.
6664 * Makefile.in: Ditto.
6665
6666 2002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
6667
6668 * libc/sys/h8300hms/read.c: Add support for normal mode
6669 architecture.
6670
6671 2002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
6672
6673 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
6674 code for __H8300H__ and __H8300S__. Also return 32-bit return code
6675 when -mint32 is used.
6676
6677 2002-11-18 Nick Clifton <nickc@redhat.com>
6678
6679 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
6680
6681 2002-11-14 Jeff Johnston <jjohnstn@redhat.com>
6682
6683 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
6684 only issue one pass/fail message for a compile/link/execute.
6685 * testsuite/newlib.elix/elix.exp: New file.
6686 * testsuite/newlib.elix/tmmap.c: Ditto.
6687
6688 2002-11-06 Christopher Faylor <cgf@redhat.com>
6689
6690 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
6691 * libc/stdlib/mlock.c: Ditto.
6692 * libc/stdlib/msize.c: Ditto.
6693 * libc/stdlib/msize.c: Ditto.
6694 * libc/stdlib/mtrim.c: Ditto.
6695 * libc/stdlib/valloc.c: Ditto.
6696
6697 2002-11-12 Jeff Johnston <jjohnstn@redhat.com>
6698
6699 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
6700 for inf/nan, make sure that the check ignores the sign bit.
6701
6702 2002-11-07 Joel Sherrill <joel@OARcorp.com>
6703
6704 * libc/sys/rtems/machine: New directory.
6705 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
6706 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
6707 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
6708 targets more BSD like when installed without requiring files to
6709 be overwritten at install point when RTEMS itself is installed.
6710 * Makefile.am: Pick up system dependent machine .h files such as
6711 might be found on a BSD-ish system.
6712 * Makefile.in: Regenerate.
6713 * libc/include/machine/types.h: When on an RTEMS target, define a
6714 few BSD flavor types.
6715
6716 2002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
6717
6718 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
6719
6720 2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
6721
6722 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
6723 * libc/include/wctype.h: Ditto.
6724
6725 2002-11-04 Jeff Johnston <jjohnstn@redhat.com>
6726
6727 * libc/include/wchar.h: Add extern "C" specifier if C++.
6728 * libc/include/wctype.h: Ditto.
6729
6730 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6731
6732 * testsuite/newlib.wctype/tiswctype.c: New test case.
6733 * testsuite/newlib.wctype/twctrans.c: Ditto.
6734
6735 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6736
6737 * libc/sys/linux/machine/i386/include/endian.h: New file.
6738 * libc/sys/linux/machine/i386/include/param.h: Ditto.
6739
6740 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6741
6742 * libm/machine/i386/aclocal.m4: Regenerated.
6743 * libm/machine/i386/configure: Ditto.
6744
6745 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6746
6747 * testsuite/include/check.h: New header file to use with
6748 test cases.
6749 * testsuite/lib/newlib.exp: Add testsuite/include directory
6750 to list of header files to use.
6751 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
6752 * testsuite/newlib.wctype/wctype.exp: New file.
6753
6754 2002-10-11 Graham Stott <graham.stott@btinternet.com>
6755 Richard Sandiford <rsandifo@redhat.com>
6756
6757 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
6758 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
6759 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
6760
6761 2002-10-07 Joel Sherrill <joel@OARcorp.com>
6762
6763 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
6764 dummy programs.
6765
6766 2002-10-07 Joel Sherrill <joel@OARcorp.com>
6767
6768 * libc/include/pthread.h: Define PTHREAD_CANCELED.
6769
6770 2002-10-07 Joel Sherrill <joel@OARcorp.com>
6771
6772 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
6773 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
6774 compile with current GNU tools.
6775
6776 2002-10-07 Jeff Johnston <jjohnstn@redhat.com>
6777
6778 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
6779 the build library.
6780 * configure.in: Ditto.
6781 * Makefile.in: Regenerated.
6782 * configure: Ditto.
6783 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
6784 for specifying configured libraries/directories.
6785 * libc/sys/linux/configure.in: Ditto.
6786 * libc/sys/linux/Makefile.in: Regenerated.
6787 * libc/sys/linux/configure: Ditto.
6788
6789 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
6790
6791 * libc/include/reent.h: Update documentation at start of file.
6792
6793 2002-09-27 Jim Wilson <wilson@redhat.com>
6794
6795 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
6796 the ctbp register.
6797
6798 2002-09-27 Jeff Johnston <jjohnstn@redhat.com>
6799
6800 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
6801 Also convert to EUCJP before using arrays. For values not in
6802 the conversion arrays, return WEOF.
6803 * libc/ctype/jp2uc.h: Change from one array to a number of
6804 arrays to account for the fact that the originating table
6805 is not contiguous for the input values since some are invalid.
6806
6807 2002-09-24 Jeff Johnston <jjohnstn@redhat.com>
6808
6809 * libc/time/ctime.c: Fix prototype documentation.
6810
6811 2002-09-24 Corinna Vinschen <corinna@vinschen.de>
6812
6813 * libc/include/sys/errno.h: Add EOVERFLOW.
6814
6815 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
6816
6817 * libc/include/wctype.h: New file.
6818
6819 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
6820
6821 * libc/ctype/Makefile.am: Add new files.
6822 * libc/ctype/Makefile.in: Regenerated.
6823 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
6824 and wctrans functions to documentation index.
6825 * libc/ctype/iswalnum.c: New file.
6826 * libc/ctype/iswalpha.c: Ditto.
6827 * libc/ctype/iswblank.c: Ditto.
6828 * libc/ctype/iswcntrl.c: Ditto.
6829 * libc/ctype/iswctype.c: Ditto.
6830 * libc/ctype/iswdigit.c: Ditto.
6831 * libc/ctype/iswgraph.c: Ditto.
6832 * libc/ctype/iswlower.c: Ditto.
6833 * libc/ctype/iswprint.c: Ditto.
6834 * libc/ctype/iswpunct.c: Ditto.
6835 * libc/ctype/iswspace.c: Ditto.
6836 * libc/ctype/iswupper.c: Ditto.
6837 * libc/ctype/iswxdigit.c: Ditto.
6838 * libc/ctype/jp2uc.c: Ditto.
6839 * libc/ctype/jp2uc.h: Ditto.
6840 * libc/ctype/local.h: Ditto.
6841 * libc/ctype/towctrans.c: Ditto.
6842 * libc/ctype/towlower.c: Ditto.
6843 * libc/ctype/towupper.c: Ditto.
6844 * libc/ctype/utf8alpha.h: Ditto.
6845 * libc/ctype/utf8print.h: Ditto.
6846 * libc/ctype/utf8punct.h: Ditto.
6847 * libc/ctype/wctrans.c: Ditto.
6848 * libc/ctype/wctype.c: Ditto.
6849 * libc/locale/locale.c (__lc_ctype): New external array to
6850 replace static lc_ctype array.
6851 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
6852 rather than reentrancy structure's _current_locale field.
6853 * libc/stdlib/wctomb_r.c: Ditto.
6854
6855 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
6856
6857 * configure.host: Minor comment and formatting changes.
6858 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
6859 * libc/Makefile.in: Regenerated.
6860 * libc/include/sys/config.h: Minor format change.
6861
6862 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
6863
6864 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
6865 statement comment.
6866
6867 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
6868
6869 * libc/posix/opendir.c (opendir): Change code to check
6870 for HAVE_FCNTL before calling fcntl.
6871 * libc/search/hash.c (hash_open): Ditto.
6872 * libc/search/hash_page.c (open_tmp): Ditto.
6873 * libc/reent/Makefile.am: Add fcntlr.c.
6874 * libc/reent/Makefile.in: Regenerated.
6875 * libc/reent/fcntlr.c: New file.
6876 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
6877 instead of _fcntl when HAVE_FCNTL flag is set.
6878 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
6879 to see if _fcntl or _fcntl_r should be called. If flag is not
6880 set, default to ENOSYS stub.
6881
6882 2002-09-16 Jeff Johnston <jjohnstn@redhat.com>
6883
6884 * libc/include/wchar.h (mbstate_t): Change protective flag to
6885 be _MBSTATE_T.
6886 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
6887 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
6888 for Cygwin.
6889 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
6890
6891 2002-09-11 Jeff Johnston <jjohnstn@redhat.com>
6892
6893 * acinclude.m4 (enable-newlib-mb): Change check to
6894 default newlib_mb variable to empty string rather than "no".
6895 * configure.host: Remove hard-coding of -DMB_CAPABLE for
6896 x86-linux and Cygwin. Add code to check for newlib_mb
6897 being unset in which case set to "yes" for x86-linux and
6898 Cygwin. Change check for newlib_mb being "yes" to allow
6899 for an empty string.
6900 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
6901 * newlib.hin (_MB_LEN_MAX): New define to configure.
6902 * aclocal.m4: Regenerated.
6903 * configure: Ditto.
6904 * libc/include/limits.h: New file.
6905 * libc/sys/linux/include/limits.h: Ditto.
6906 * doc/aclocal.m4 doc/configure libc/aclocal.m4
6907 libc/configure libc/machine/aclocal.m4
6908 libc/machine/configure libc/machine/a29k/aclocal.m4
6909 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
6910 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
6911 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
6912 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
6913 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
6914 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
6915 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
6916 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
6917 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
6918 libc/machine/i386/configure libc/machine/i960/aclocal.m4
6919 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
6920 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
6921 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
6922 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
6923 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
6924 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
6925 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
6926 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
6927 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
6928 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
6929 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
6930 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
6931 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
6932 libc/machine/v850/configure libc/machine/w65/aclocal.m4
6933 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
6934 libc/machine/xscale/configure
6935 libc/machine/xstormy16/aclocal.m4
6936 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
6937 libc/machine/z8k/configure libc/sys/aclocal.m4
6938 libc/sys/configure libc/sys/a29khif/aclocal.m4
6939 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
6940 libc/sys/arc/configure libc/sys/arm/aclocal.m4
6941 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
6942 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
6943 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
6944 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
6945 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
6946 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
6947 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
6948 libc/sys/idt/configure libc/sys/linux/aclocal.m4
6949 libc/sys/linux/configure
6950 libc/sys/linux/machine/aclocal.m4
6951 libc/sys/linux/machine/configure
6952 libc/sys/linux/machine/i386/aclocal.m4
6953 libc/sys/linux/machine/i386/configure
6954 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
6955 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
6956 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
6957 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
6958 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
6959 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
6960 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
6961 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
6962 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
6963 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
6964 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
6965 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
6966 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
6967 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
6968 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
6969 libm/aclocal.m4 libm/configure: Regenerated.
6970
6971 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
6972
6973 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
6974 code that clears the .bss section.
6975
6976 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
6977
6978 * libc/include/sys/_types.h (_mbstate_t): Changed to use
6979 unsigned char internally.
6980 * libc/sys/linux/sys/_types.h: Ditto.
6981 * libc/include/sys/reent.h
6982 * libc/stdlib/mblen.c (mblen): Use function-specific state
6983 value from default reentrancy structure.
6984 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
6985 _mbtowc_r is less than 0, reset state __count value and
6986 return -1.
6987 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
6988 is NULL, use the function-specific pointer provided in the
6989 default reentrancy structure.
6990 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
6991 If input state pointer is NULL, use function-specific area
6992 provided in reentrancy structure.
6993 * libc/stdlib/mbsrtowcs.c: Ditto.
6994 * libc/stdlib/wcrtomb.c: Ditto.
6995 * libc/stdlib/wcsrtombs.c: Ditto.
6996 * libc/stdlib/mbstowcs.c: Reformat.
6997 * libc/stdlib/wcstombs.c: Ditto.
6998 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
6999 reset the state's __count value and return -1.
7000 * libc/stdlib/mbtowc.c: Ditto.
7001 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
7002 If number of bytes is used up before completing a valid multibyte
7003 character, return -2 and save the state.
7004 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
7005 and change some __count references to __state for clarity.
7006
7007 2002-09-06 Jeff Johnston <jjohnstn@redhat.com>
7008
7009 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
7010 is defined by <limits.h>.
7011
7012 2002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7013
7014 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
7015 defined.
7016
7017 2002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7018
7019 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
7020 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
7021 __WCHAR_MAX__ or 0x7fffffffu.
7022 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
7023 * libc/string/wcsncmp.c: Ditto.
7024
7025 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
7026
7027 * libc/string/wcschr.c: Add include of <stddef.h>.
7028 * libc/string/wcspbrk.c: Ditto.
7029 * libc/string/wcsrchr.c: Ditto.
7030 * libc/string/wcsstr.c: Ditto.
7031
7032 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
7033
7034 * libc/include/sys/_types.h (_flock_t): Added.
7035 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
7036 (__lock_try_acquire_recursive): Ditto.
7037 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
7038 _lock field.
7039 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
7040 field.
7041 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
7042 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
7043 * libc/sys/linux/include/time.h (struct timespec): Moved from
7044 <sys/types.h> and added check for __need_timespec flag so type
7045 can be defined by itself.
7046 * libc/sys/linux/sys/_types.h (_flock_t): New type.
7047 * libc/sys/linux/sys/types.h (struct timespec): Moved to
7048 <time.h>.
7049
7050 2002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
7051
7052 * libc/sys/linux/argp: New directory.
7053 * libc/sys/linux/getopt.c: New file.
7054 * libc/sys/linux/getopt1.c: New file.
7055 * libc/sys/linux/getoptlong.c: Remove file.
7056 * libc/sys/linux/include/argp.h: New file.
7057 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
7058 based on ELIX level.
7059 (SUBDIRS): Add argp_dir.
7060 (SUBLIBS): Add ARGP_LIB.
7061 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
7062 getopt_long.$(oext).
7063 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
7064
7065 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7066
7067 * libc/libc.texinfo: Add node reference to wide-character strings.
7068 * libc/string/wcstrings.tex: New file.
7069 * libc/string/strtok_r.c: Remove outdated advertising clause.
7070 * libc/string/Makefile.am (doc): Add wide-character string
7071 chapter to documentation.
7072 * libc/string/Makefile.in: Regenerated.
7073
7074 2002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7075
7076 * libc/include/wchar.h: Define NULL. Define WEOF more general
7077 way. Declare functions in newlib manner.
7078 * libc/stdlib/Makefile.am: Delete wmem*.c
7079 * libc/stdlib/Makefile.in: Regenerated.
7080 * libc/stdlib/wmemchr.c: Delete.
7081 * libc/stdlib/wmemcmp.c: Ditto.
7082 * libc/stdlib/wmemcpy.c: Ditto.
7083 * libc/stdlib/wmemmove.c: Ditto.
7084 * libc/stdlib/wmemset.c: Ditto.
7085 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
7086 * libc/string/Makefile.in: Regenerated.
7087 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
7088 * libc/string/wcschr.c: Ditto.
7089 * libc/string/wcscmp.c: Ditto.
7090 * libc/string/wcscpy.c: Ditto.
7091 * libc/string/wcscspn.c: Ditto.
7092 * libc/string/wcslcat.c: Ditto.
7093 * libc/string/wcslcpy.c: Ditto.
7094 * libc/string/wcslen.c: Ditto.
7095 * libc/string/wcsncat.c: Ditto.
7096 * libc/string/wcsncmp.c: Ditto.
7097 * libc/string/wcsncpy.c: Ditto.
7098 * libc/string/wcspbrk.c: Ditto.
7099 * libc/string/wcsrchr.c: Ditto.
7100 * libc/string/wcsspn.c: Ditto.
7101 * libc/string/wcsstr.c: Ditto.
7102 * libc/string/wmemchr.c: Ditto.
7103 * libc/string/wmemcmp.c: Ditto.
7104 * libc/string/wmemcpy.c: Ditto.
7105 * libc/string/wmemmove.c: Ditto.
7106 * libc/string/wmemset.c: Ditto.
7107
7108 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7109
7110 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
7111 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
7112 and is treated as if "C" was specified.
7113
7114 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7115
7116 * Makefile.am (install-data-local): Move install of build
7117 newlib.h after installing headers in libc/include so as to
7118 overwrite default newlib.h.
7119 * Makefile.in: Regenerated.
7120
7121 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7122
7123 * libc/include/newlib.h: New file for tools that use newlib
7124 headers but don't build newlib first (e.g. gcc).
7125
7126 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7127
7128 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
7129 * libc/stdlib/wmemcmp.c: Ditto.
7130 * libc/stdlib/wmemcpy.c: Ditto.
7131 * libc/stdlib/wmemmove.c: Ditto.
7132 * libc/stdlib/wmemset.c: Ditto.
7133
7134 2002-08-27 Egor Duda <deo@logos-m.ru>
7135
7136 * libc/stdlib/wmemchr.c: New file.
7137 * libc/stdlib/wmemcmp.c: Ditto.
7138 * libc/stdlib/wmemcpy.c: Ditto.
7139 * libc/stdlib/wmemmove.c: Ditto.
7140 * libc/stdlib/wmemset.c: Ditto.
7141 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
7142 * configure.host: Default -DMB_CAPABLE for cygwin.
7143 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
7144 wmemmove() and wmemset(). Add include of <_ansi.h>.
7145 * libc/stdlib/Makefile.in: Regenerate.
7146
7147 2002-08-27 Jeff Johnston <jjohnstn@redhat.com>
7148
7149 * configure.host: Remove _ELIX_LEVEL flag setting.
7150 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
7151 (install-data-local): Install newlib.h.
7152 * Makefile.in: Regenerated.
7153 * aclocal.m4: Ditto.
7154 * configure: Ditto.
7155 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
7156 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
7157 and _NEWLIB_VERSION to fill in newlib.h header file entries.
7158 In AC_OUTPUT statement, unset ac_file so multilib support does
7159 not use last ac_file temporary used in newlib.h configuration.
7160 * libc/include/_ansi.h: Include <newlib.h>.
7161 * newlib.hin: New template file for newlib.h.
7162 * stamp-h.in: New file.
7163
7164 2002-08-26 Wu Yongwei <adah@netstd.com>
7165
7166 * time.h (timezonevar): Change "#if" to "#ifdef".
7167
7168 2002-08-26 Jeff Johnston <jjohnstn@redhat.com>
7169
7170 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
7171 * Makefile.in: Regenerated.
7172 * acinclude.m4: Add support for --enable-newlib-elix-level option.
7173 * aclocal.m4: Regenerated.
7174 * configure: Ditto.
7175 * configure.host: Add code to define _ELIX_LEVEL if
7176 --enable-newlib-elix-level option is used.
7177 * configure.in:
7178 * libc/aclocal.m4: Regenerated.
7179 * libc/configure: Ditto.
7180 * libc/argz/Makefile.am: Add EL/IX level checking.
7181 * libc/argz/Makefile.in: Regenerated.
7182 * libc/argz/dummy.c: New file.
7183 * libc/ctype/Makefile.am: Add EL/IX level checking.
7184 * libc/ctype/Makefile.in: Regenerated.
7185 * libc/locale/Makefile.am: Add EL/IX level checking.
7186 * libc/locale/Makefile.in: Regenerated.
7187 * libc/posix/Makefile.am: Add EL/IX level checking.
7188 * libc/posix/Makefile.in: Regenerated.
7189 * libc/posix/telldir.c: Add EL/IX level checking.
7190 * libc/reent/Makefile.am: Ditto.
7191 * libc/reent/fstat64r.c: Ditto.
7192 * libc/reent/lseek64r.c: Ditto.
7193 * libc/reent/open64r.c: Ditto.
7194 * libc/reent/Makefile.in: Regenerated.
7195 * libc/search/Makefile.am: Add EL/IX level checking.
7196 * libc/search/Makefile.in: Regenerated.
7197 * libc/stdio/Makefile.am: Add EL/IX level checking.
7198 * libc/stdio/Makefile.in: Regenerated.
7199 * libc/stdio64/Makefile.am: Add EL/IX level checking.
7200 * libc/stdio64/Makefile.in: Regenerated.
7201 * libc/stdio64/dummy.c: New file.
7202 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
7203 after first include.
7204 * libc/stdio64/fopen64.c: Ditto.
7205 * libc/stdio64/freopen64.c: Ditto.
7206 * libc/stdio64/fseeko64.c: Ditto.
7207 * libc/stdio64/fsetpos64.c: Ditto.
7208 * libc/stdio64/ftello64.c: Ditto.
7209 * libc/stdio64/tmpfile64.c: Ditto.
7210 * libc/stdlib/Makefile.am: Add EL/IX level checking.
7211 * libc/stdlib/Makefile.in: Regenerated.
7212 * libc/stdlib/mstats.c: Add EL/IX level checking.
7213 * libc/string/Makefile.am: Ditto.
7214 * libc/string/Makefile.in: Regenerated.
7215 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
7216 * libc/sys/linux/Makefile.in: Regenerated.
7217 * libc/sys/linux/aclocal.m4: Ditto.
7218 * libc/sys/linux/configure: Ditto.
7219 * libc/sys/linux/aio.c: Add EL/IX level checking.
7220 * libc/sys/linux/ftok.c: Ditto.
7221 * libc/sys/linux/getdate.c: Ditto.
7222 * libc/sys/linux/ids.c: Ditto.
7223 * libc/sys/linux/inode.c: Ditto.
7224 * libc/sys/linux/io.c: Ditto.
7225 * libc/sys/linux/process.c: Ditto.
7226 * libc/sys/linux/resource.c: Ditto.
7227 * libc/sys/linux/sched.c: Ditto.
7228 * libc/sys/linux/sig.c: Ditto.
7229 * libc/sys/linux/termios.c: Ditto.
7230 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
7231 __libc___waitpid weak aliases.
7232 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
7233 that generate the code for a syscall, but do not create a
7234 weak alias.
7235 * libc/syscalls/Makefile.am: Add EL/IX level checking.
7236 * libc/syscalls/Makefile.in: Regenerated.
7237 * libc/time/tzset_r.c: Change to replace strdup with equivalent
7238 functionality.
7239 * libc/unix/Makefile.am: Add EL/IX level checking.
7240 * libc/unix/Makefile.in: Regenerated.
7241
7242 2002-08-26 Christopher Faylor <cgf@redhat.com>
7243
7244 * libc/include/malloc.h: On cygwin, define malloc _r functions as
7245 wrapper macros to standard malloc functions.
7246 * libc/include/stdlib.h: Ditto.
7247 * configure.host: Always define MALLOC_PROVIDED on cygwin.
7248
7249 2002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7250
7251 * libc/include/langinfo.h: New file.
7252 * libc/include/wchar.h: Likewise.
7253 * libc/include/sys/syslimits.h: Likewise.
7254 * libc/locale/fix_grouping.c: Likewise.
7255 * libc/locale/ldpart.c: Likewise.
7256 * libc/locale/ldpart.h: Likewise.
7257 * libc/locale/lmessages.c: Likewise.
7258 * libc/locale/lmessages.h: Likewise.
7259 * libc/locale/lmonetary.c: Likewise.
7260 * libc/locale/lmonetary.h: Likewise.
7261 * libc/locale/lnumeric.c: Likewise.
7262 * libc/locale/lnumeric.h: Likewise.
7263 * libc/locale/nl_langinfo.3: Likewise.
7264 * libc/locale/nl_langinfo.c: Likewise.
7265 * libc/locale/timelocal.c: Likewise.
7266 * libc/locale/timelocal.h: Likewise.
7267 * libc/stdlib/btowc.c: Likewise.
7268 * libc/stdlib/mbrlen.c: Likewise.
7269 * libc/stdlib/mbrtowc.c: Likewise.
7270 * libc/stdlib/mbsinit.c: Likewise.
7271 * libc/stdlib/mbsrtowcs.c: Likewise.
7272 * libc/stdlib/wcrtomb.c: Likewise.
7273 * libc/stdlib/wcsrtombs.c: Likewise.
7274 * libc/stdlib/wctob.c: Likewise.
7275 * libc/sys/linux/prof-freq.c: Likewise.
7276 * libc/sys/linux/profile.c: Likewise.
7277 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
7278 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
7279 * libc/include/stdlib.h: Change re-entrant functions to take
7280 mbstate_t pointers.
7281 * libc/include/sys/_types.h: Define _mbstate_t.
7282 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
7283 * libc/include/sys/errno.h (EILSEQ): New error code.
7284 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
7285 structure to use mbstate_t.
7286 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
7287 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
7288 * libc/machine/powerpc/vfscanf.c: Likewise.
7289 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
7290 * libc/stdio/vfprintf.c: Likewise.
7291 * libc/stdio/vfscanf.c: Likewise.
7292 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
7293 * libc/stdlib/mblen.c: Use mbstate_t.
7294 * libc/stdlib/mblen_r.c: Likewise.
7295 * libc/stdlib/mbstowcs.c: Likewise.
7296 * libc/stdlib/mbstowcs_r.c: Likewise.
7297 * libc/stdlib/mbtowc.c: Likewise.
7298 * libc/stdlib/mbtowc_r.c: Likewise.
7299 * libc/stdlib/wcstombs.c: Likewise.
7300 * libc/stdlib/wcstombs_r.c: Likewise.
7301 * libc/stdlib/wctomb_r.c: Likewise.
7302 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
7303 profile.c.
7304 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
7305 dl-procinfo.c.
7306 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
7307 * libc/sys/linux/sys/types.h (off_t): Define type.
7308 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
7309 to C-UTF-8.
7310 * testsuite/newlib.locale/UTF-8.exp: Likewise.
7311
7312 2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
7313
7314 * libc/stdlib/mallocr.c: #include windows.h on Win32.
7315 (AlignPage): Continue macro on next line.
7316
7317 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
7318
7319 * libc/sys/linux/include/pthread.h: New file.
7320
7321 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
7322
7323 * libc/include/sys/types.h: Support __need_inttypes macro
7324 that only sets the __intxx and __uintxx types.
7325 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
7326 to get mprec.h.
7327 * libc/machine/powerpc/Makefile.in: Regenerated.
7328 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
7329 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
7330 redundant fixed-point conversion prototypes.
7331 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
7332 after setting __need_inttypes.
7333
7334 2002-08-18 Christopher Faylor <cgf@redhat.com>
7335
7336 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
7337
7338 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7339
7340 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
7341 _LONG_DOUBLE to double.
7342
7343 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7344
7345 * configure.host: Add powerpc*-*-eabispe* configuration.
7346 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
7347 * libc/machine/powerpc/atosfix32.c: Ditto.
7348 * libc/machine/powerpc/atosfix64.c: Ditto.
7349 * libc/machine/powerpc/atoufix16.c: Ditto.
7350 * libc/machine/powerpc/atoufix32.c: Ditto.
7351 * libc/machine/powerpc/atoufix64.c: Ditto.
7352 * libc/machine/powerpc/fix64.h: Ditto.
7353 * libc/machine/powerpc/simdldtoa.c: Ditto.
7354 * libc/machine/powerpc/strtosfix16.c: Ditto.
7355 * libc/machine/powerpc/strtosfix32.c: Ditto.
7356 * libc/machine/powerpc/strtosfix64.c: Ditto.
7357 * libc/machine/powerpc/strtoufix16.c: Ditto.
7358 * libc/machine/powerpc/strtoufix32.c: Ditto.
7359 * libc/machine/powerpc/strtoufix64.c: Ditto.
7360 * libc/machine/powerpc/ufix64toa.c: Ditto.
7361 * libc/machine/powerpc/configure.in: Add check for
7362 powerpc*-eabispe and add fixed-point conversion functions.
7363 * libc/machine/powerpc/configure: Regenerated.
7364 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
7365 %r and %R format specifiers which handle fixed-point data.
7366 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
7367 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
7368 function prototypes.
7369
7370 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7371
7372 * Makefile.am: Move cmath stuff into libc/sys/linux.
7373 * Makefile.in: Regenerated.
7374 * configure.host: Default -DMB_CAPABLE for x86-linux.
7375 * libc/include/reent.h: Define _sbrk to take signed int argument.
7376 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
7377 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
7378 make locale name checking more efficient. Also allow "C-ISO-8859-1"
7379 locale for LC_CTYPE and LC_MESSAGES.
7380 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
7381 * libc/sys/linux/brk.c: Change sbrk prototype.
7382 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
7383 include <sys/features.h>.
7384 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
7385 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
7386 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
7387 with a few local additions.
7388 * libc/sys/linux/sys/features.h: New file.
7389 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
7390 to take signed argument.
7391 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
7392 prototypes to take signed size argument.
7393
7394 2002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
7395
7396 * libc/sys/linux/cmath: New directory.
7397 * libc/sys/linux/include/cmathcalls.h: New file.
7398 * libc/sys/linux/include/complex.h: New file.
7399 * libc/sys/linux/machine/i386/huge_val.h: New file
7400 * libm/math/w_sincos.c: New file
7401 * libm/math/wf_sincos.c: New file
7402 * libm/mathfp/s_sincos.c: New file
7403 * libm/mathfp/sf_sincos.c: New file
7404 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
7405 * libc/include/math.h: Add sincos and sincosf declarations.
7406 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
7407 (SUBLIBS): Likewise.
7408 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
7409 * libm/math/Makefile.am (src): Add w_sincos.c.
7410 (fsrc): Add wf_sincos.c.
7411 * libm/mathfp/Makefile.am (src): Add s_sincos.c
7412 (fsrc): Add sf_sincos.c.
7413
7414 2002-08-12 Jeff Johnston <jjohnstn@redhat.com>
7415
7416 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
7417 Declare as extern chars and use the address operator to
7418 properly use values set in linker script.
7419
7420 2002-08-09 Jason Tishler <jason@tishler.net>
7421
7422 * libc/stdlib/mallocr.c: Include <limits.h>.
7423 (request2size): Change macro to do
7424 unsigned long comparisons and avoid signed overflow.
7425 (mALLOc): Add overflow check for the number of bytes to allocate.
7426 (rEALLOc): Ditto.
7427
7428 2002-08-09 Jeff Johnston <jjohnstn@redhat.com>
7429
7430 * configure.host: Add check for --enable-newlib-io-pos-args
7431 and define WANT_IO_POS_ARGS flag if enabled. Define
7432 the flag by default for x86-linux configurations.
7433 * configure.in: Add support for --enable-newlib-io-pos-args.
7434 * libc/configure.in: Ditto.
7435 * configure: Regenerated.
7436 * libc/configure: Ditto.
7437 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
7438 vfprintf.c and vfiprintf.c.
7439 * libc/stdio/Makefile.in: Regenerated.
7440 * libc/stdio/vfprintf.c: Add positional argument support that
7441 is enabled by compiling with -DWANT_IO_POS_ARGS.
7442
7443 2002-08-07 Richard Sandiford <rsandifo@redhat.com>
7444
7445 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
7446 based on __mips_soft_float rather than __mips64.
7447 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
7448 of both 32-bit and 64-bit code.
7449
7450 2002-08-04 Christopher Faylor <cgf@redhat.com>
7451
7452 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
7453 arguments for popen to match similar functionality in fopen.
7454
7455 2002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
7456
7457 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
7458
7459 2002-07-29 Jeff Johnston <jjohnstn@redhat.com>
7460
7461 * libc/sys/linux/Makefile.am: Add aio64.c.
7462 * libc/sys/linux/Makefile.in: Regenerated.
7463 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
7464 * libc/sys/linux/aio64.c: New file.
7465
7466 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
7467
7468 * libc/include/sys/param.h (MAX, MIN): Added macros.
7469 * libc/sys/linux/Makefile.am: Add new files.
7470 * libc/sys/linux/Makefile.in: Regenerated.
7471 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
7472 * libc/sys/linux/inode.c (fchdir): Added syscall.
7473 * libc/sys/linux/ftw.c: New file.
7474 * libc/sys/linux/ftw64.c: Ditto.
7475 * libc/sys/linux/getwd.c: Ditto.
7476 * libc/sys/linux/scandir64.c: Ditto.
7477 * libc/sys/linux/strverscmp.c: Ditto.
7478 * libc/sys/linux/versionsort.c: Ditto.
7479 * libc/sys/linux/versionsort64.c: Ditto.
7480
7481 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
7482
7483 * libc/string/strings.tex: Fix typo for memccpy.
7484
7485 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7486
7487 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
7488 * libc/sys/linux/sys/types.h (off64_t): Definition added.
7489
7490 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7491
7492 * libc/sys/linux/Makefile.am: Add fclean.c.
7493 * libc/sys/linux/Makefile.in: Regenerated.
7494 * libc/sys/linux/fclean.c: New file.
7495
7496 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7497
7498 * libc/sys/linux/Makefile.am: Add confstr.c.
7499 * libc/sys/linux/Makefile.in: Regenerated.
7500 * libc/sys/linux/confstr.c: New file.
7501 * libc/sys/linux/confstr.h: Ditto.
7502 * libc/sys/linux/sys/unistd.h: Include <features.h> and
7503 <bits/environments.h>.
7504
7505 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7506
7507 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
7508 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
7509 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
7510 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
7511 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
7512 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
7513
7514 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
7515
7516 * libc/sys/linux/Makefile.am: Add new files.
7517 * libc/sys/linux/Makefile.in: Regenerated.
7518 * libc/sys/linux/fstab.c: New file.
7519 * libc/sys/linux/fstatvfs.c: Ditto.
7520 * libc/sys/linux/fstatvfs64.c: Ditto.
7521 * libc/sys/linux/internal_statvfs.c: Ditto.
7522 * libc/sys/linux/mntent.c: Ditto.
7523 * libc/sys/linux/mntent_r.c: Ditto.
7524 * libc/sys/linux/statvfs.c: Ditto.
7525 * libc/sys/linux/statvfs64.c: Ditto.
7526 * libc/sys/linux/include/paths.h: Ditto.
7527 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
7528 with double-underscore weak-aliases.
7529 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
7530
7531 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
7532
7533 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
7534 to use _sig_func_ptr type casted constants.
7535 (_sig_func_ptr): Typedef moved to sys/signal.h.
7536 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
7537 For __rtems, use POSIX definition, otherwise default to ANSI.
7538 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
7539
7540 2002-07-24 Stephane Carrez <stcarrez@nerim.fr>
7541
7542 * configure.host: Recognize m6811-elf and m6812-elf targets.
7543 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
7544 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
7545 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
7546 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
7547 according to __INT_MAX__.
7548 (_POINTER_INT): Define to short.
7549 * libc/machine/m68hc11/Makefile.am: New file.
7550 * libc/machine/m68hc11/Makefile.in: New file.
7551 * libc/machine/m68hc11/configure.in: New file.
7552 * libc/machine/m68hc11/configure: New file.
7553 * libc/machine/m68hc11/aclocal.m4: New file.
7554 * libc/machine/m68hc11/setjmp.S: New file.
7555
7556 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
7557
7558 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
7559 prototypes.
7560 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
7561 * libc/stdlib/Makefile.in: Regenerated.
7562 * libc/stdlib/strdup.c: Removed.
7563 * libc/stdlib/strdup_r.c: Removed.
7564 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
7565 mempcpy.c, strndup.c, and strndup_r.c.
7566 * libc/string/Makefile.in: Regenerated.
7567 * libc/string/memccpy.c: New file.
7568 * libc/string/mempcpy.c: Ditto.
7569 * libc/string/strndup.c: Ditto.
7570 * libc/string/strndup_r.c: Ditto.
7571 * libc/string/strdup.c: New file moved from stdlib.
7572 * libc/string/strdup_r.c: Ditto.
7573 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
7574
7575 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
7576
7577 * libc/include/stdio.h: Move fcloseall prototype within
7578 #ifndef _REENT_ONLY section.
7579 * libc/sys/linux/Makefile.am: Add new files.
7580 * libc/sys/linux/Makefile.in: Regenerated.
7581 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
7582 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
7583 * libc/sys/linux/sys/types.h: Add ino64_t type.
7584 * libc/sys/linux/ctermid.c: New file.
7585 * libc/sys/linux/ttyname_r.c: Ditto.
7586 * libc/sys/linux/readdir64.c: Ditto.
7587
7588 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
7589
7590 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
7591 * libc/stdio/Makefile.am: Added fcloseall.c support.
7592 * libc/stdio/Makefile.in: Regenerated.
7593 * libc/stdio/fcloseall.c: New file.
7594 * libc/stdio64/Makefile.am: Remove missing .def references.
7595 * libc/stdio64/Makefile.in: Regenerated.
7596
7597 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
7598
7599 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
7600 * libc/machine/powerpc/times.c: New file.
7601 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
7602 * libc/machine/powerpc/Makefile.in: Regenerated.
7603
7604 2002-07-22 Aldy Hernandez <aldyh@redhat.com>
7605
7606 * libc/machine/powerpc/time.c: New file.
7607 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
7608 time.c.
7609 * libc/machine/powerpc/Makefile.in: Regenerated.
7610
7611 2002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7612
7613 * libc/libc.texinfo: Change copyright notices to Red Hat from
7614 Cygnus.
7615 * libm/libm.texinfo: Likewise.
7616 * README: Change docs URL to
7617 http://sources.redhat.com/newlib/docs.html.
7618
7619 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
7620
7621 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
7622 * libc/sys/linux/Makefile.in: Regenerated.
7623 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
7624 * libc/sys/linux/io.c: Add ftruncate syscall.
7625 * libc/sys/linux/fpathconf.c: New file.
7626 * libc/sys/linux/pathconf.c: Ditto.
7627 * libc/sys/linux/linux_fsinfo.h: Ditto.
7628 * libc/sys/linux/sys/unistd.h: Ditto.
7629
7630 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
7631
7632 * libc/stdio64/Makefile.am: Remove missing files.
7633 * libc/stdio64/Makefile.in: Regenerated.
7634
7635 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
7636
7637 * libc/include/sys/config.h[__i386__][__linux__]: Define
7638 _LARGE64FILE_SOURCE to 1.
7639 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
7640 * libc/sys/linux/Makefile.in: Regenerated.
7641 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
7642 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
7643 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
7644 of <linux/resource.h>.
7645 * libc/sys/linux/getrlimit64.c: New file.
7646 * libc/sys/linux/setrlimit64.c: Ditto.
7647
7648 2002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
7649
7650 * libc/argz/argz_replace.c: Include buf_findstr.h.
7651 * libc/argz/buf_findstr.c: Likewise.
7652 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
7653 value to (char *).
7654 * libc/argz/envz_get.c: Likewise.
7655 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
7656 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
7657 * libc/stdlib/getsubopt.3: New file.
7658 * libc/stdlib/getsubopt.c: New file.
7659 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
7660 Change esp to ebp.
7661
7662 2002-07-17 Jeff Johnston <jjohnstn@redhat.com>
7663
7664 * configure.host(stdio64_dir): New setting that is used to
7665 enable building of new stdio64 directory.
7666 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
7667 large files.
7668 (stmp-stdio64,stdio64.texi): New targets to optionally add in
7669 stdio64 info to info files.
7670 * libc/Makefile.in: Regenerated.
7671 * libc/configure: Ditto.
7672 * libc/configure.in: Add configuration variables that are set
7673 when stdio64 is selected as subdir in configure.host.
7674 * libc/libc.texinfo: Add optional menu item for Stdio64, based
7675 on whether STDIO64 flag is set or not.
7676 * libc/sys.tex: Add optional stdio64 syscalls based on whether
7677 STDIO64 flag is set or not.
7678 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
7679 _r sycall routines.
7680 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
7681 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
7682 (__SL64): New file flag indicating file is opened via fopen64.
7683 * libc/include/sys/_types.h(_off64_t): Added.
7684 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
7685 * libc/include/sys/reent.h(struct __sFILE64): New file structure
7686 for 64-bit offset large file support.
7687 (__FILE): New intermediate type either set to struct __sFILE64 or
7688 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
7689 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
7690 * libc/reent/Makefile.in: Regenerated.
7691 * libc/reent/fstat64r.c: New file.
7692 * libc/reent/lseek64r.c: Ditto.
7693 * libc/reent/open64r.c: Ditto.
7694 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
7695 based on whether STDIO64 flag is set.
7696 * libc/stdio/stdio.tex: Add blank line.
7697 * libc/stdio64/Makefile.am: New file.
7698 * libc/stdio64/Makefile.in: Ditto.
7699 * libc/stdio64/fgetpos64.c: Ditto.
7700 * libc/stdio64/fopen64.: Ditto.
7701 * libc/stdio64/freopen64.c: Ditto.
7702 * libc/stdio64/fseeko64.c: Ditto.
7703 * libc/stdio64/fsetpos64.c: Ditto.
7704 * libc/stdio64/ftello64.c: Ditto.
7705 * libc/stdio64/local64.h: Ditto.
7706 * libc/stdio64/stdio64.c: Ditto.
7707 * libc/stdio64/stdio64.tex: Ditto.
7708 * libc/stdio64/tmpfile64.c: Ditto.
7709 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
7710 open64.
7711
7712 2002-07-16 Jeff Johnston <jjohnstn@redhat.com>
7713
7714 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
7715 if LIBC_EXTRA_LIB is present.
7716 * libc/Makefile.in: Regenerated.
7717 * libc/libc.texinfo: Add blank line.
7718 * libc/argz/Makefile.am: Add doc support.
7719 * libc/search/Makefile.am: Ditto.
7720 * libc/argz/Makefile.in: Regenerated.
7721 * libc/search/Makefile.in: Ditto.
7722 * libc/misc/misc.tex: Add ffs function.
7723 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
7724
7725 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7726
7727 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
7728 definition that was removed in error.
7729
7730 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7731
7732 * libc/include/machine/ieeefp.h: Change to only define
7733 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
7734 __IEEE_LITTLE_ENDIAN must be defined for each platform).
7735 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
7736 remove redundant floating point definitions.
7737
7738 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7739
7740 * libc/sys/linux/callocr.c: Fix so code references
7741 calloc.
7742
7743 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7744
7745 * libc/sys/linux/Makefile.am: Add new files.
7746 * libc/sys/linux/Makefile.in: Regenerated.
7747 * libc/sys/linux/bp-sym.h: Moved to include directory.
7748 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
7749 * libc/sys/linux/inode.c: Set _LIBC to 1.
7750 * libc/sys/linux/mq_close.c: Ditto.
7751 * libc/sys/linux/mq_getattr.c: Ditto.
7752 * libc/sys/linux/mq_open.c: Ditto.
7753 * libc/sys/linux/mq_receive.c: Ditto.
7754 * libc/sys/linux/mq_send.c: Ditto.
7755 * libc/sys/linux/mq_setattr.c: Ditto.
7756 * libc/sys/linux/mq_unlink.c: Ditto.
7757 * libc/sys/linux/calloc.c: New file.
7758 * libc/sys/linux/callocr.c: Ditto.
7759 * libc/sys/linux/cfreer.c: Ditto.
7760 * libc/sys/linux/config.h: Ditto.
7761 * libc/sys/linux/free.c: Ditto.
7762 * libc/sys/linux/freer.c: Ditto.
7763 * libc/sys/linux/msize.c: Ditto.
7764 * libc/sys/linux/msizer.c: Ditto.
7765 * libc/sys/linux/mstats.c: Ditto.
7766 * libc/sys/linux/mtrim.c: Ditto.
7767 * libc/sys/linux/mtrimr.c: Ditto.
7768 * libc/sys/linux/pvallocr.c: Ditto.
7769 * libc/sys/linux/realloc.c: Ditto.
7770 * libc/sys/linux/reallocr.c: Ditto.
7771 * libc/sys/linux/thread-m.h: Ditto.
7772 * libc/sys/linux/vallocr.c: Ditto.
7773 * libc/sys/linux/bp-checks.h: Ditto.
7774 * libc/sys/linux/libc-symbols.h: Ditto.
7775 * libc/sys/linux/libc-tsd.h: Ditto.
7776 * libc/sys/linux/libintl.h: Ditto.
7777 * libc/sys/linux/malign.c: Ditto.
7778 * libc/sys/linux/malignr.c: Ditto.
7779 * libc/sys/linux/mallinfor.c: Ditto.
7780 * libc/sys/linux/malloc.c: Ditto.
7781 * libc/sys/linux/mallocr.c: Ditto.
7782 * libc/sys/linux/malloptr.c: Ditto.
7783 * libc/sys/linux/mallstatsr.c: Ditto.
7784 * libc/sys/linux/mcheck.c: Ditto.
7785 * libc/sys/linux/mhooks.h: Ditto.
7786 * libc/sys/linux/include/bp-sym.h: Ditto.
7787 * libc/sys/linux/include/malloc.h: Ditto.
7788 * libc/sys/linux/include/mcheck.h: Ditto.
7789 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
7790 getpagesize.c.
7791 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
7792 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
7793 * libc/sys/linux/machine/i386/getpagesize.c: New file.
7794 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
7795 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
7796 * libc/sys/linux/machine/i386/sysdep.h: New file.
7797 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
7798 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
7799 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
7800
7801 2002-07-12 Jeff Johnston <jjohnstn@redhat.com>
7802
7803 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
7804 instead of <asm/siginfo.h>.
7805 * libc/sys/linux/sys/signal.h: Change to include various linux
7806 <bits/xxx.h> header files, rather than <linux/signal.h> so as
7807 to work with multiple releases of glibc header files.
7808
7809 2002-07-11 Chris Demetriou <cgd@broadcom.com>
7810
7811 * testsuite/newlib.search/hsearchtest.c: New file to test
7812 newlib/libc/search.
7813 * testsuite/newlib.search/hsearchtest.exp: Likewise.
7814
7815 2002-07-10 Florian Schrack <florian.schrack@freenet.de>
7816
7817 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
7818 a terminal.
7819 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
7820
7821 2002-07-08 Jeff Johnston <jjohnstn@redhat.com>
7822
7823 * libc/include/math.h (MAXFLOAT): Added.
7824
7825 Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
7826
7827 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
7828 Make strcmp.S unconditional.
7829 * libc/machine/sh/Makefile.in: Regenerate.
7830 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
7831 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
7832 for SHcompact.
7833
7834 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7835
7836 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
7837 define before including <sys/lock.h>.
7838
7839 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7840
7841 * libc/include/utime.h: Add include of <_ansi.h>.
7842 * libc/sys/linux/Makefile.am: Add utimes.c.
7843 * libc/sys/linux/Makefile.in: Regenerated.
7844 * libc/sys/linux/inode.c(__umask): New static routine.
7845 (umask): Written to use __umask and attempt to thread lock.
7846 (getumask): New function written to use __umask and thread lock.
7847 * libc/sys/linux/utimes.c: New file.
7848 * libc/sys/linux/sys/time.h: Fix utimes prototype.
7849 * libc/sys/linux/sys/utime.h: New file.
7850
7851 2002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
7852
7853 * libtool.m4: New file.
7854 * libc/sys/linux/process.c: Implement vfork in terms of fork,
7855 rather than as a syscall.
7856
7857 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7858
7859 * libc/include/stdio.h: Add new prototypes.
7860 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
7861 * libc/stdio/Makefile.in: Regenerated.
7862 * libc/stdio/fseek.c: Add fseeko documentation.
7863 * libc/stdio/ftell.c: Add ftello documentation.
7864 * libc/stdio/fseeko.c: New file.
7865 * libc/stdio/ftello.c: New file.
7866
7867 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7868
7869 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
7870 * libc/stdio/Makefile.in: Regenerated.
7871 * libc/stdio/asprintf.c: New file.
7872 * libc/stdio/vasprintf.c: Ditto.
7873 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
7874 the buffer for asprintf support.
7875 * libc/stdio/sprintf.c: Add asprintf documentation.
7876 * libc/stdio/vfprintf.c: Add vasprintf documentation.
7877 * libc/include/stdio.h: Add new prototypes.
7878
7879 2002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
7880
7881 * libc/search/hcreate.c: Remove advertising clause from license.
7882 * libc/search/hcreate_r.c: Likewise.
7883
7884 2002-07-02 Chris Demetriou <cgd@broadcom.com>
7885
7886 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
7887 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
7888 Check that one of them is defined and error out if not.
7889 Add any platforms defined in <machine/ieeefp.h> that are missing.
7890 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
7891 (DB_LITTLE_ENDIAN): New defines.
7892 * libc/search/hash.c: Replace all incorrect checks for
7893 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
7894 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
7895 * libc/search/hash_page.c: Likewise.
7896
7897 2002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
7898
7899 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
7900
7901 2002-06-27 Benjamin Kosnik <bkoz@redhat.com>
7902
7903 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
7904 * libc/include/time.h: Same.
7905 * libc/include/string.h: Same.
7906 * libc/include/stdlib.h: Same.
7907 * libc/include/signal.h: Same.
7908 * libc/include/setjmp.h: Same.
7909 * libc/include/math.h: Same.
7910 * libc/include/locale.h: Same.
7911 * libc/include/ctype.h: Same.
7912 * libc/include/machine/setjmp.h: Same.
7913 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
7914 (_END_STD_C): Add.
7915
7916 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
7917
7918 * libc/include/sys/_types.h: Define _ssize_t as int if int is
7919 32-bits, otherwise define it as long.
7920 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
7921 and define ssize_t as _ssize_t.
7922 * libc/reent/readr.c: Change return type to _ssize_t.
7923 * libc/reent/writer.c: Ditto.
7924 * libc/sys/linux/Makefile.am: Add aio.c.
7925 * libc/sys/linux/Makefile.in: Regenerated.
7926 * libc/sys/linux/aio.c: New file.
7927 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
7928 * libm/common/fdlibm.h: Undef __P before defining it.
7929
7930 2002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
7931
7932 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
7933 exponent_is_even_int variable. Handle case where x is
7934 negative, and y is an odd integer.
7935 * libm/mathfp/sf_pow.c (powf): Likewise.
7936
7937 * libm/mathfp/er_lgamma.c: Remove __kernel references.
7938 * libm/mathfp/erf_lgamma.c: Likewise.
7939 * libm/mathfp/s_tgamma.c: Likewise.
7940 * libm/mathfp/sf_tgamma.c: Likewise.
7941
7942 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
7943
7944 * libc/sys/linux/Makefile.am: Add new clock routines.
7945 * libc/sys/linux/Makefile.in: Regenerated.
7946 * libc/sys/linux/clock_getres.c: New file.
7947 * libc/sys/linux/clock_gettime.c: Ditto.
7948 * libc/sys/linux/clock_settime.c: Ditto.
7949 * libc/sys/linux/hp-timing.h: Ditto.
7950 * libc/sys/linux/libc-internal.h: Ditto.
7951 * libc/sys/linux/sysconf.c: Fix typo.
7952 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
7953 * libc/sys/linux/machine/hp-timing.h: New file.
7954 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
7955 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
7956 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
7957 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
7958 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
7959 * libc/sys/linux/sys/linux_time.h: New file.
7960 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
7961 replace with <sys/linux_time.h>.
7962
7963 Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
7964
7965 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
7966
7967 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
7968
7969 * libc/sys/linux/Makefile.am: Consolidate additional items under
7970 ADD_OBJS.
7971 * libc/sys/linux/Makefile.in: Regenerated.
7972
7973 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
7974
7975 * libc/sys/linux/sethostname.c: New file.
7976 * libc/sys/linux/Makefile.am: Add sethostname.c support.
7977 * libc/sys/linux/Makefile.in: Regenerated.
7978
7979 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
7980
7981 * libc/search/db_local.h: New file.
7982 * libc/include/db.h: Remove.
7983 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
7984 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
7985 "db_local.h".
7986 * libc/search/hash_bigkey.c: Likewise.
7987 * libc/search/hash_buf.c: Likewise.
7988 * libc/search/hash_func.c: Likewise.
7989 * libc/search/hash_log2.c: Likewise.
7990 * libc/search/hash_page.c: Likewise.
7991
7992 2002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
7993
7994 * libc/machine/sh/strlen.S: New file.
7995 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
7996 * libc/machine/sh/Makefile.am: Regenerate.
7997
7998 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
7999
8000 * libc/sys/linux/gethostname.c: Change name to __gethostname and
8001 add gethostname alias.
8002
8003 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
8004
8005 * libc/include/math.h: Remove <sys/types.h>.
8006 (__dmath): Use __ULong instead of __uint32_t.
8007 * libc/include/sys/reent.h: If long or int is not 32-bits,
8008 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
8009 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
8010 * libm/common/fdlibm.h: Ditto.
8011
8012 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8013
8014 * libc/include/ndbm.h: Remove.
8015 * libc/search/ndbm.c: Remove.
8016
8017 2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
8018
8019 * libc/stdio/fseek.c (fseek): Fix braces.
8020
8021 2002-06-21 Corinna Vinschen <corinna@vinschen.de>
8022
8023 * libc/time/strftime.c (strftime): Add %e format specifier.
8024
8025 2002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8026
8027 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
8028 previously defined.
8029
8030 2002-06-21 Richard Earnshaw (rearnsha@arm.com)
8031
8032 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
8033 (BYTE_ORDER): Define as appropriate for the target.
8034
8035 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8036
8037 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
8038 to _ssize_t.
8039 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
8040
8041 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8042
8043 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
8044 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
8045 [HAVE_GETDATE](getdate_err): New error code.
8046 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
8047 * libc/stdio/Makefile.in: Regenerated.
8048 * libc/stdio/getdelim.c: New file.
8049 * libc/stdio/getline.c: Ditto.
8050 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
8051 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
8052 * libc/sys/linux/Makefile.in: Regenerated.
8053 * libc/sys/linux/getdate.c: New file.
8054 * libc/sys/linux/getdate_err.c: Ditto.
8055 * libc/sys/linux/ntp_gettime.c: Ditto.
8056 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
8057 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
8058
8059 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8060
8061 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
8062 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
8063 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
8064 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
8065 * libc/include/sys/param.h: Remove i386 case which is handled
8066 by default case.
8067 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
8068 definitions in case they are already defined.
8069 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
8070 _IEEE_LITTLE_ENDIAN flags.
8071 * libc/include/sys/reent.h: Change __uint32_t references to
8072 use _ULong instead.
8073 (_REENT_GETDATE_REENT_P): New macro.
8074 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
8075 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
8076 * libc/search/hash.h: Add default setting of BYTE_ORDER,
8077 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
8078 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
8079 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
8080 pid_t, off_t, loff_t, caddr_t, and daddr_t type
8081 definitions which are done by subsequent glibc headers.
8082 Add macro definitions to prevent subsequent header files from
8083 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
8084 intptr_t to after glibc definitions of types they are based on.
8085
8086 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8087
8088 * libc/include/errno.h: Protect from multiple inclusion.
8089
8090 2002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
8091
8092 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
8093
8094 2002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
8095
8096 * Makefile.am (LIB_OBJECTLISTS): Add
8097 libc/search/objectlist.awk.in.
8098 * libc/Makefile.am (SUBDIRS): Add search.
8099 (SUBLIBS): Add search/libsearch.la.
8100 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
8101 * libc/search: New directory.
8102 * libc/search/Makefile.am: New file.
8103 * libc/search/extern.h: New file.
8104 * libc/search/hash.c: New file.
8105 * libc/search/hash.h: New file.
8106 * libc/search/hash_bigkey.c: New file.
8107 * libc/search/hash_buf.c: New file.
8108 * libc/search/hash_func.c: New file.
8109 * libc/search/hash_log2.c: New file.
8110 * libc/search/hash_page.c: New file.
8111 * libc/search/hcreate.3: New file.
8112 * libc/search/hcreate.c: New file.
8113 * libc/search/hcreate_r.c: New file.
8114 * libc/search/ndbm.c: New file.
8115 * libc/search/page.h: New file.
8116 * libc/search/tdelete.c: New file.
8117 * libc/search/tdestroy.c: New file.
8118 * libc/search/tfind.c: New file.
8119 * libc/search/tsearch.3: New file.
8120 * libc/search/tsearch.c: New file.
8121 * libc/search/twalk.c: New file.
8122 * libc/include/db.h: New file.
8123 * libc/include/ndbm.h: New file.
8124 * libc/include/search.h: New file.
8125 * libc/include/sys/queue.h: New file.
8126 * libc/include/sys/cdefs.h: New file.
8127 * libc/include/sys/param.h
8128 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
8129 LITTLE_ENDIAN or BIG_ENDIAN.
8130 * libc/include/sys/errno.h (EFTYPE): New macro.
8131 * libc/search/bsearch.c: Move from libc/stdlib.
8132 * libc/search/qsort.c: Likewise.
8133 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
8134 qsort.c.
8135 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
8136 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
8137
8138 2002-06-19 Jeff Johnston <jjohnstn@redhat.com>
8139
8140 * libc/sys/linux/Makefile.am: Add support for message queue routines,
8141 ipc routines, and ftok.
8142 * libc/sys/linux/Makefile.in: Regenerated.
8143 * libc/sys/linux/ftok.c: New file.
8144 * libc/sys/linux/ipc.c: Ditto.
8145 * libc/sys/linux/mq_close.c: Ditto.
8146 * libc/sys/linux/mq_getattr.c: Ditto.
8147 * libc/sys/linux/mq_notify.c: Ditto.
8148 * libc/sys/linux/mq_open.c: Ditto.
8149 * libc/sys/linux/mq_receive.c: Ditto.
8150 * libc/sys/linux/mq_send.c: Ditto.
8151 * libc/sys/linux/mq_setattr.c: Ditto.
8152 * libc/sys/linux/mq_unlink.c: Ditto.
8153 * libc/sys/linux/mqlocal.h: Ditto.
8154 * libc/sys/linux/include/mqueue.h: Ditto.
8155 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
8156 __uid_t_defined.
8157
8158 2002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
8159
8160 * libm/common/sf_lround.c (round): Change name to: (lround).
8161 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
8162 remquof.
8163
8164 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8165
8166 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
8167 procedure.
8168 (newlib_pass_fail): Change to compile and run only one file.
8169 * testsuite/newlib.locale/locale.exp: Use new
8170 newlib_pass_fail_all procedure.
8171 * testsuite/newlib.string/string.exp: Likewise.
8172
8173 2002-06-18 Dave Brolley <brolley@redhat.com>
8174
8175 From Catherine Moore, Michael Meissner, Richard Sandiford:
8176 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
8177 (_JBTYPE): Ditto.
8178 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
8179 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
8180 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
8181 * configure.host: Support frv-*-*.
8182 * libc/machine/frv/Makefile.am: New file.
8183 * libc/machine/frv/configure.in: New file.
8184 * libc/machine/frv/setjmp.S: New file.
8185
8186 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8187
8188 * libc/include/ctype.h: Remove isblank macro.
8189
8190 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
8191 * libc/ctype/isblank.c: New file.
8192 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
8193 declaration. Add isblank macro.
8194
8195 2002-06-18 Jeff Johnston <jjohnstn@redhat.com>
8196
8197 * testsuite/newlib.stdlib/atexit.c: New file.
8198 * testsuite/newlib.stdlib/atexit.exp: Ditto.
8199 * testsuite/newlib.string/tstring.c: Change default start size
8200 to something more reasonable for embedded platforms.
8201
8202 2002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8203
8204 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
8205
8206 * libc/argz: New directory.
8207 * libc/argz/*: New files.
8208 * libc/argz/argz_add.c: New file.
8209 * libc/argz/argz_add_sep.c: New file.
8210 * libc/argz/argz_append.c: New file.
8211 * libc/argz/argz_count.c: New file.
8212 * libc/argz/argz_create.c: New file.
8213 * libc/argz/argz_create_sep.c: New file.
8214 * libc/argz/argz_delete.c: New file.
8215 * libc/argz/argz_extract.c: New file.
8216 * libc/argz/argz_insert.c: New file.
8217 * libc/argz/argz_next.c: New file.
8218 * libc/argz/argz_replace.c: New file.
8219 * libc/argz/argz_stringify.c: New file.
8220 * libc/argz/buf_findstr.c: New file.
8221 * libc/argz/envz_add.c: New file.
8222 * libc/argz/envz_entry.c: New file.
8223 * libc/argz/envz_get.c: New file.
8224 * libc/argz/envz_merge.c: New file.
8225 * libc/argz/envz_remove.c: New file.
8226 * libc/argz/envz_strip.c: New file.
8227 * libc/include/argz.h: New file.
8228 * libc/include/envz.h: New file.
8229 * Makefile.am (LIBC_OBJECTLISTS): Add
8230 libc/argz/objectlist.awk.in.
8231 * libc/Makefile.am (SUBDIRS): Add argz.
8232 (SUBLIBS): Add argz/libargz.la.
8233 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
8234 * libc/include/errno.h: Add error_t typedef.
8235
8236 2002-06-13 Jeff Johnston <jjohnstn@redhat.com>
8237
8238 * libc/include/stdlib.h: Add _Exit prototype.
8239 * libc/stdlib/Makefile.am: Add _Exit.c support.
8240 * libc/stdlib/Makefile.in: Ditto.
8241 * libc/stdlib/_Exit.c: New file.
8242
8243 2002-06-13 Stephen L. Moshier <steve@moshier.net>
8244
8245 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
8246 x is close to -1.0 and y is very large to use ax (absolute value)
8247 instead of x.
8248 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
8249
8250 Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
8251
8252 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
8253 Fix clobbering bytes before destination if src and dst have same
8254 non-zero misalignment.
8255
8256 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
8257 Fixed bug in writing end of set region.
8258
8259 2002-06-10 Christopher Faylor <cgf@redhat.com>
8260
8261 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
8262 spawnve declaration.
8263
8264 2002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
8265
8266 * libm/common/s_fdim.c: New file.
8267 * libm/common/s_fma.c: Likewise.
8268 * libm/common/s_fmax.c: Likewise.
8269 * libm/common/s_fmin.c: Likewise.
8270 * libm/common/s_fpclassify.c: Likewise.
8271 * libm/common/s_lrint.c: Likewise.
8272 * libm/common/s_lround.c: Likewise.
8273 * libm/common/s_nearbyint.c: Likewise.
8274 * libm/common/s_remquo.c: Likewise.
8275 * libm/common/s_round.c: Likewise.
8276 * libm/common/s_scalbln.c: Likewise.
8277 * libm/common/s_signbit.c: Likewise.
8278 * libm/common/s_trunc.c: Likewise.
8279 * libm/common/sf_fdim.c: Likewise.
8280 * libm/common/sf_fma.c: Likewise.
8281 * libm/common/sf_fmax.c: Likewise.
8282 * libm/common/sf_fmin.c: Likewise.
8283 * libm/common/sf_lrint.c: Likewise.
8284 * libm/common/sf_lround.c: Likewise.
8285 * libm/common/sf_nearbyint.c: Likewise.
8286 * libm/common/sf_remquo.c: Likewise.
8287 * libm/common/sf_round.c: Likewise.
8288 * libm/common/sf_scalbln.c: Likewise.
8289 * libm/common/sf_trunc.c: Likewise.
8290 * libm/math/w_exp2.c: Likewise.
8291 * libm/math/w_tgamma.c: Likewise.
8292 * libm/math/wf_exp2.c: Likewise.
8293 * libm/math/wf_tgamma.c: Likewise.
8294 * libm/mathfp/s_exp2.c: Likewise.
8295 * libm/mathfp/s_tgamma.c: Likewise.
8296 * libm/mathfp/sf_exp2.c: Likewise.
8297 * libm/mathfp/sf_tgamma.c: Likewise.
8298 * libm/math/er_gamma.c: Fix return value.
8299 * libm/math/erf_gamma.c: Likewise.
8300 * libm/mathfp/er_gamma.c: Likewise.
8301 * libm/mathfp/erf_gamma.c: Likewise.
8302 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
8303 declarations and macros.
8304 Regenerated all Makefile.in, aclocal.m4 and configure files to
8305 use new libtool macros in top-level libtool.m4
8306
8307 2002-06-05 Jeff Johnston <jjohnstn@redhat.com>
8308
8309 * libc/include/string.h[__linux__]: Add strsignal prototype.
8310 * libc/include/sys/lock.h: New file with default locking support.
8311 * libc/include/sys/reent.h: Add signal buffer support for strsignal
8312 and psignal.
8313 * libc/posix/Makefile.am: Add support for readdir_r.c.
8314 * libc/posix/Makefile.in: Regenerated.
8315 * libc/posix/closedir.c: Add locking support and hash table cleanup.
8316 * libc/posix/opendir.c: Add lock support.
8317 * libc/posix/readdir.c: Ditto.
8318 * libc/posix/rewinddir.c: Ditto.
8319 * libc/posix/scandir.c: Ditto.
8320 * libc/posix/seekdir.c: Ditto.
8321 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
8322 clean up leftover hash table entries.
8323 * libc/posix/readdir_r.c: New file.
8324 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
8325 * libc/sys/linux/Makefile.in: Regenerated.
8326 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
8327 * libc/sys/linux/sys/signal.h: Add psignal prototype.
8328 * libc/sys/linux/psignal.c: New file.
8329 * libc/sys/linux/strsignal.c: Ditto.
8330
8331 2002-06-03 Corinna Vinschen <corinna@vinschen.de>
8332
8333 * libc/include/sys/types.h: Don't define dev_t when compiling for
8334 Cygwin.
8335
8336 2002-05-31 Jeff Johnston <jjohnstn@redhat.com>
8337
8338 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
8339 make siglist.inc dependent on sig.c instead of signal.c.
8340 * libc/sys/linux/Makefile.in: Regenerated.
8341 * libc/sys/linux/sig.c: Rename from signal.c and change code to
8342 use NSIG instead of _NSIG.
8343 * libc/sys/linux/sigaction.c: New file.
8344 * libc/sys/linux/signal.c: Changed to be linux signal() function
8345 so as to override regular newlib default signal.c.
8346 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
8347 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8348 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
8349 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
8350 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
8351 default linux sigset_t typedef by defining it equal to __sigset_t.
8352 * libc/unix/sigset.c: Add check so code isn't compiled on systems
8353 with a sigset_t that isn't implemented with a single int.
8354
8355 2002-05-30 Jeff Johnston <jjohnstn@redhat.com>
8356
8357 * libc/sys/linux/Makefile.am: Add support for new files.
8358 * libc/sys/linux/Makefile.in: Regenerated.
8359 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
8360 * libc/sys/linux/signal.c: Change to use real-time syscalls for
8361 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
8362 it is in a separate file now.
8363 * libc/sys/linux/machine/i386/Makefile.am
8364 * libc/sys/linux/machine/i386/Makefile.in
8365 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
8366 * libc/sys/linux/sigaction.c: New file.
8367 * libc/sys/linux/sigqueue.c: Ditto.
8368 * libc/sys/linux/sigwait.c: Ditto.
8369 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
8370 * libc/sys/linux/kernel_sigaction.h: Ditto.
8371
8372 2002-05-28 Jeff Johnston <jjohnstn@redhat.com>
8373
8374 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
8375 tcsendbrk.c.
8376 * libc/sys/linux/Makefile.in: Regenerated.
8377 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
8378 tcgetpgrp(), and tcsetpgrp() functions.
8379 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
8380 to get __MAX_BAUD rate.
8381 * libc/sys/linux/machine/i386/include/termios.h: New file.
8382 * libc/include/machine/termios.h: Ditto.
8383 * libc/sys/linux/cfspeed.c: Ditto.
8384 * libc/sys/linux/tcsendbrk.c: Ditto.
8385
8386 2002-05-24 Jeff Johnston <jjohnstn@redhat.com>
8387
8388 * libc/include/string.h: Add strnlen and strerror_r prototypes.
8389 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
8390 * libc/string/Makefile.in: Regenerated.
8391 * libc/string/strerror_r.c: New file.
8392 * libc/string/strnlen.c: New file.
8393 * libc/sys/linux/Makefile.am: Add rename.c.
8394 * libc/sys/linux/Makefile.in: Regenerated.
8395 * libc/sys/linux/rename.c: New file to override default rename.
8396
8397 2002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8398
8399 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
8400 * libc/sys/linux/sys/time.h: Add conversion macros.
8401 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
8402 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
8403 * libc/sys/linux/gethostname.c: New file.
8404 * libc/sys/linux/seteuid.c: New file.
8405 * libc/sys/linux/sysctl.c: New file.
8406
8407 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8408
8409 * libc/string/Makefile.am: Add support for strsep.c.
8410 * libc/string/Makefile.in: Regenerated.
8411 * libc/string/strsep.c: New file.
8412 * libc/string/strtok.c: Change to call __strtok_r service routine.
8413 * libc/string/strtok_r.c: Add __strtok_r routine which takes
8414 additional flag parameter regarding whether to skip leading delimeters.
8415 Change strtok_r to call __strtok_r.
8416
8417 2002-05-23 Gareth Pearce <tilps@hotmail.com>
8418
8419 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
8420 * libc/stdio/Makefile.in: Regenerated.
8421 * libc/stdio/setbuffer.c: New file.
8422 * libc/stdio/setlinebuf.c: New file.
8423
8424 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8425
8426 * libc/sys/linux/Makefile.am: Add resource.c.
8427 * libc/sys/linux/Makefile.in: Regenerated.
8428 * libc/sys/linux/resource.c: New file.
8429 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
8430 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
8431 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8432 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
8433 are now found in libc/sys/linux/resource.c.
8434
8435 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8436
8437 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
8438 to use void * pointers and comply with Single Unix spec.
8439 * libc/string/bcmp.c: Change to use void * instead of char *.
8440 * libc/string/bcopy.c: Ditto.
8441 * libc/string/bzero.c: Ditto.
8442
8443 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
8444
8445 * libc/sys/linux/shm_open.c: New file.
8446 * libc/sys/linux/shm_unlink.c: Ditto.
8447 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
8448 shm_unlink.c.
8449 * libc/sys/linux/Makefile.in: Regenerated.
8450 * libc/sys/linux/sys/types.h: Add some additional checks to see
8451 if clock_t or time_t is already defined.
8452
8453 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
8454
8455 * Makefile.am: Don't pass $toollibdir down directly in
8456 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
8457 Pass it under the name: top_toollibdir.
8458 * Makefile.in: Regenerated.
8459
8460 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
8461
8462 * libc/include/sys/types.h: Revert previous patch.
8463
8464 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
8465
8466 * libc/include/sys/types.h: Include cygwin/types.h always under
8467 Cygwin, not only if _POSIX_THREADS is defined.
8468
8469 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
8470
8471 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
8472
8473 2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
8474
8475 * Makefile.am: Copy and install headers from sys/machine/include
8476 directory. Also pass $toollibdir to lower-level directories.
8477 * Makefile.in: Regenerated.
8478 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
8479 stderr to use _REENT macro instead of _impure_ptr directly.
8480 * libc/include/sys/config.h[__i386__][__linux__]: Define
8481 __DYNAMIC_REENT__.
8482 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
8483 call to __getreent() function if !__SINGLE_THREAD__ and
8484 __DYNAMIC_REENT__ is set.
8485 * libc/reent/Makefile.am: Add support for getreent.c.
8486 * libc/reent/Makefile.in: Regenerated.
8487 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
8488 * libc/sys/linux/Makefile.am: Add support for new files.
8489 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
8490 * libc/sys/linux/Makefile.in: Regenerated.
8491 * libc/sys/linux/configure: Ditto.
8492 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
8493 __close, __read, __write, __poll, __open, __lseek, __fcntl from
8494 their __libc_ counterparts.
8495 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
8496 and weak-alias to regular names.
8497 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
8498 to pread64 and __pread64.
8499 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
8500 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
8501 weak-alias to pwrite64.
8502 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
8503 __libc_sched_getscheduler, __libc_sched_get_priority_max,
8504 __libc_sched_get_priority_min, and __libc_sched_setschedule to
8505 name with __ instead of __libc_.
8506 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
8507 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
8508 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
8509 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
8510 to raise.
8511 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
8512 __libc_send to __send.
8513 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
8514 __gettimeofday.
8515 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
8516 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
8517 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
8518 type and typedef __jmp_buf to jmp_buf.
8519 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
8520 setjmp.S.
8521 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8522 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
8523 section.
8524 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
8525 prefix for function macros and then use weak_alias() to regular names.
8526 * libc/sys/linux/machine/i386/syscall.h: Ditto.
8527 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
8528 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
8529 to be flockfile() and funlockfile() respectively.
8530 * libc/sys/linux/sys/types.h
8531 * libc/reent/getreent.c: New file.
8532 * libc/sys/linux/flockfile.c: Ditto.
8533 * libc/sys/linux/funlockfile.c: Ditto.
8534 * libc/sys/linux/getreent.c: Ditto.
8535 * libc/sys/linux/pread.c: Ditto.
8536 * libc/sys/linux/pwrite.c: Ditto.
8537 * libc/sys/linux/raise.c: Ditto.
8538 * libc/sys/linux/system.c: Ditto.
8539 * libc/sys/linux/tcdrain.c: Ditto.
8540 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
8541 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
8542 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
8543 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
8544 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
8545
8546 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
8547
8548 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
8549 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
8550 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
8551 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
8552
8553 Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
8554
8555 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
8556 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
8557 exit point.
8558
8559 2002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
8560
8561 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
8562 options when testing natively on i[3456]86-*-linux.
8563
8564 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
8565 only one pass or fail per test file. Trim \r's from output
8566 values received from test programs. Remove support for named
8567 tests.
8568 * testsuite/newlib.locale/UTF-8.exp: Update to support new
8569 newlib_check_output behaviour.
8570 * testsuite/newlib.locale/UTF-8.c: Likewise.
8571
8572 2002-05-15 Jeff Johnston <jjohnstn@redhat.com>
8573
8574 * libc/include/stdlib.h: Add on_exit prototype.
8575 * libc/include/sys/reent.h (struct _atexit): Add argument array
8576 and bits to track type of exit routine to support both on_exit
8577 and atexit.
8578 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
8579 by default and change the setting of the atexit structure.
8580 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
8581 * libc/stdlib/on_exit.c: New file.
8582 * libc/stdlib/Makefile.am: Add support for on_exit.
8583 * libc/stdlib/Makefile.in: Regenerated.
8584 * libc/stdlib/atexit.c: Change to initialize types field.
8585 * libc/stdlib/exit.c: Change to look at types field for each
8586 exit routine and either call an atexit-style or an on_exit-style
8587 routine accordingly.
8588
8589 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
8590
8591 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
8592 allow v specifier with n or L specifiers. For vector c format,
8593 move tmp declaration to the top.
8594
8595 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
8596
8597 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
8598 the original format specifier when looping for vectors to compensate
8599 for any changes made in vector %g format processing.
8600 Also add syntax checking for various invalid scenarios
8601 involving vector format extensions.
8602 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
8603 return code setting for vector formats. Also treat vector
8604 separator mismatch as a match error instead of an input error.
8605 Perform some syntax checking for vector formats.
8606
8607 2002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
8608
8609 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
8610 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
8611 * libc/string/strlcat.c: New file.
8612 * libc/string/strlcpy.c: New file.
8613
8614 2002-05-10 Jeff Johnston <jjohnstn@redhat.com>
8615
8616 * libc/string/strchr.c: Fix comment typo.
8617
8618 2002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
8619
8620 * acinclude.m4: Add support for --enable-newlib-multithread.
8621 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
8622 --enable-newlib-multithread=no.
8623
8624 * libc/stdio/getc_u.c: New file.
8625 * libc/stdio/getchar_u.c: New file.
8626 * libc/stdio/putc_u.c: New file.
8627 * libc/stdio/putchar_u.c: New file.
8628 * libc/include/stdio.h: Add declarations for getc_unlocked,
8629 getchar_unlocked, putc_unlocked and putchar_unlocked.
8630 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
8631 (CHEWOUT_FILES): Add new files' .def's.
8632 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
8633
8634 Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
8635
8636 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
8637 Also handle as single quad word when destination ends at last
8638 byte of first quad word. Fix byte selection in single quad code.
8639
8640 2002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
8641
8642 * libc/include/sys/stdio.h: New file.
8643 * libc/sys/linux/sys/stdio.h: New file.
8644 * libc/include/stdio.h: Add declarations for flockfile,
8645 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
8646 * libc/stdio/clearerr.c: Add file locking.
8647 * libc/stdio/fclose.c: Likewise.
8648 * libc/stdio/feof.c: Likewise.
8649 * libc/stdio/ferror.c: Likewise.
8650 * libc/stdio/fflush.c: Likewise.
8651 * libc/stdio/fgetc.c: Likewise.
8652 * libc/stdio/fgetpos.c: Likewise.
8653 * libc/stdio/fgets.c: Likewise.
8654 * libc/stdio/fileno.c: Likewise.
8655 * libc/stdio/fputc.c: Likewise.
8656 * libc/stdio/fputs.c: Likewise.
8657 * libc/stdio/fread.c: Likewise.
8658 * libc/stdio/freopen.c: Likewise.
8659 * libc/stdio/fseek.c: Likewise.
8660 * libc/stdio/ftell.c: Likewise.
8661 * libc/stdio/fwrite.c: Likewise.
8662 * libc/stdio/getc.c: Likewise.
8663 * libc/stdio/putc.c: Likewise.
8664 * libc/stdio/setvbuf.c: Likewise.
8665 * libc/stdio/ungetc.c: Likewise.
8666 * libc/stdio/vfprintf.c: Likewise.
8667
8668 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
8669
8670 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
8671 support for 'p' format. Fix code to print bytes for vector
8672 integer formats that do not specify 'h' or 'l'.
8673 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
8674 for 'p' specifier. Fix code to scan 16 bytes for vector integer
8675 formats that do not specify 'h' or 'l'.
8676
8677 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
8678
8679 2002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
8680
8681 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
8682 (_sbrk): Add cast of return value.
8683
8684 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
8685
8686 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
8687 (_REENT_L64A_BUF): New macro for accessing area.
8688 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
8689 * libc/stdlib/Makefile.in: Regenerated.
8690 * libc/stdlib/a64l.c: New file.
8691 * libc/stdlib/l64a.c: New file.
8692
8693 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
8694
8695 * libc/unix/pread.c: Fix typo for _pread_r.
8696 * libc/unix/pwrite.c: Fix type for _pwrite_r.
8697 * libc/sys/linux/pread64.c: Fix typo for read syscall.
8698 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
8699
8700 2002-05-03 Christopher Faylor <cgf@redhat.com>
8701
8702 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
8703
8704 2002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
8705
8706 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
8707
8708 2002-05-01 Christopher Faylor <cgf@redhat.com>
8709
8710 * utmp.h: Define more UNIX constants.
8711
8712 2002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
8713
8714 * Makefile.am: Add support for checking multilibs.
8715
8716 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
8717 (SUBDEFS): Add LIBC_EXTRA_DEF.
8718 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
8719 (LIBC_EXTRA_DEF): Likewise.
8720 (extra_dir): Likewise.
8721 * libc/machine/xscale/machine: New directory.
8722 * libc/machine/xscale/machine/profile.h: New file.
8723
8724 * Makefile.am (site.exp): Remove newlib_cflags. Add
8725 multibuildtop.
8726 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
8727 * testsuite/lib/flags.exp: New file.
8728 * testsuite/lib/newlib.exp: Load flags.exp.
8729 (newlib_target_compile): Remove libgloss directory references.
8730 (newlib_init): Remove newlib_cflags references.
8731
8732 2002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
8733
8734 * testsuite/lib/newlib.exp (newlib_target_compile): Change
8735 method of finding libgloss_target_dir.
8736
8737 * Makefile.am (site.exp): Change host_alias, host_triplet,
8738 target_alias, target_triplet to refer to gcc's host and target
8739 variables (newlib's build and host variables).
8740 * testsuite/lib/newlib.exp (newlib_init): Change build
8741 references to host references, host references to target
8742 references to reflect Makefile.am changes.
8743 (newlib_target_compile): Likewise.
8744 (newlib_finish): Likewise.
8745
8746 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
8747
8748 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
8749
8750 2002-04-29 Jonathan Larmour <jlarmour@redhat.com>
8751
8752 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
8753 (_system): New function. Ditto.
8754 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
8755 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
8756 targets.
8757
8758 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
8759
8760 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
8761 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
8762 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
8763 * libc/sys/linux/Makefile.in: Regenerated.
8764 * libc/unix/Makefile.in: Ditto.
8765 * libc/sys/linux/pread64.c: New file.
8766 * libc/sys/linux/pwrite64.c: Ditto.
8767 * libc/unix/pread.c: Ditto.
8768 * libc/unix/pwrite.c: Ditto.
8769
8770 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
8771
8772 * libc/sys/linux/Makefile.am: Add io64.c.
8773 * libc/sys/linux/Makefile.in: Regenerated.
8774 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
8775 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
8776 * libc/sys/linux/io64.c: New file.
8777
8778 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
8779
8780 * configure.in (CC_FOR_NEWLIB): New variable that
8781 bases on $(CC) and adds targ-include and libc/include as
8782 -isystem directives if they are not already part of $(CC).
8783 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
8784 $(CC_FOR_NEWLIB).
8785 * configure: Regenerated.
8786 * Makefile.in: Ditto.
8787
8788 2002-04-25 Jeff Johnston <jjohnstn@redhat.com>
8789
8790 * libc/sys/linux/Makefile.am: Add support for sched.c.
8791 * libc/sys/linux/Makefile.in: Regenerated.
8792 * libc/sys/linux/sched.c: New file.
8793 * libc/sys/linux/sys/types.h: Add struct timespec.
8794
8795 2002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
8796
8797 * configure.in (CC_FOR_BUILD): Set to gcc whether
8798 cross-compiling or not.
8799 (CC): Add -isystem's for targ-include and libc/include when they
8800 do not already appear in CC.
8801
8802 2002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8803
8804 * Makefile.am (check-DEJAGNU): New target.
8805 (site.exp): Likewise.
8806 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
8807 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
8808 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
8809 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
8810 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
8811 * testsuite: New directory.
8812 * testsuite/config: Likewise.
8813 * testsuite/lib: Likewise.
8814 * testsuite/newlib.locale: Likewise.
8815 * testsuite/newlib.string: Likewise.
8816 * testsuite/config/default.exp: New file.
8817 * testsuite/lib/checkoutput.exp: New file.
8818 * testsuite/lib/newlib.exp: New file.
8819 * testsuite/lib/passfail.exp: New file.
8820 * testsuite/newlib.locale/UTF-8.c: New file.
8821 * testsuite/newlib.locale/UTF-8.exp: New file.
8822 * testsuite/newlib.locale/locale.exp: New file.
8823 * testsuite/newlib.string/string.exp: New file.
8824 * testsuite/newlib.string/tstring.c: New file.
8825
8826 2002-04-23 Jeff Johnston <jjohnstn@redhat.com>
8827
8828 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
8829 * libc/sys/linux/Makefile.am: Add support for mmap.c.
8830 * libc/sys/linux/Makefile.in: Regenerated.
8831 * libc/sys/linux/mmap.c: New file.
8832 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
8833 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
8834
8835 2002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
8836
8837 * acinclude.m4 (newlib_cflags): Remove include directories that
8838 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
8839
8840 2002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
8841
8842 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
8843 * libc/machine/xscale/memcmp.c: Ditto.
8844 * libc/machine/xscale/memcpy.c: Ditto.
8845 * libc/machine/xscale/memmove.c: Ditto.
8846 * libc/machine/xscale/memset.c: Ditto.
8847 * libc/machine/xscale/strchr.c: Ditto.
8848 * libc/machine/xscale/strcmp.c: Ditto.
8849 * libc/machine/xscale/strcpy.c: Ditto.
8850 * libc/machine/xscale/strlen.c: Ditto.
8851
8852 2002-04-19 Alexandre Oliva <aoliva@redhat.com>
8853
8854 * libc/include/sys/config.h: Remove include of <limits.h>.
8855 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
8856 define INT_MAX and LONG_MAX. Use them in tests.
8857
8858 2002-04-19 Jeff Johnston <jjohnstn@redhat.com>
8859
8860 * configure.host: Add support for powerpc-eabialtivec*.
8861 * libc/include/malloc.h: Add include of <machine/malloc.h>.
8862 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
8863 * libc/include/machine/malloc.h: New file.
8864 * libc/include/machine/stdlib.h: Ditto.
8865 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
8866 * libc/machine/powerpc/Makefile.am: Add conditional objects and
8867 sources based on configuration.
8868 * libc/machine/powerpc/Makefile.in: Regenerated.
8869 * libc/machine/powerpc/configure: Ditto.
8870 * libc/machine/powerpc/configure.in: Add check for
8871 powerpc-eabialtivec* in which case add in additional source files.
8872 * libc/machine/powerpc/setjmp.S: Add altivec support.
8873 * libc/machine/powerpc/vec_calloc.c: New file.
8874 * libc/machine/powerpc/vec_free.c: Ditto.
8875 * libc/machine/powerpc/vec_malloc.c: Ditto.
8876 * libc/machine/powerpc/vec_mallocr.c: Ditto.
8877 * libc/machine/powerpc/vec_realloc.c: Ditto.
8878 * libc/machine/powerpc/machine/malloc.h: Ditto.
8879 * libc/machine/powerpc/machine/stdlib.h: Ditto.
8880 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
8881 with added altivec format specifiers.
8882 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
8883 added altivec format specifiers.
8884
8885 2002-04-19 Joel Sherrill <joel@OARcorp.com>
8886
8887 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
8888 while autoconf is trying to link main(){}.
8889
8890 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
8891
8892 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
8893 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
8894
8895 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
8896
8897 * libc/time/time.tex: Add tzset info.
8898
8899 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
8900
8901 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
8902 (strptime): Moved prototype to be within !__STRICT_ANSI__.
8903 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
8904 (tzname): Defined for all platforms.
8905 (daylight, timezone): Defined only for CYGWIN.
8906 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
8907 environment set up.
8908 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
8909 environment variable is set.
8910 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
8911 tzset_r.c.
8912 * libc/time/Makefile.in: Regenerated.
8913 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
8914 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
8915 * libc/time/lcltime_r.c (lcltime_r): Ditto.
8916 * libc/time/local.h: New local header file.
8917 * libc/time/mktime.c (mktime): Add timezone support.
8918 * libc/time/mktm_r.c: New file which is the common engine
8919 for gmtime_r and lcltime_r. This code has timezone support.
8920 * libc/time/strftime.c (strftime): Add %Z timezone support.
8921 * libc/time/tzlock.c: New file containing timezone lock stubs.
8922 * libc/time/tzset.c: New file containing tzset() routine.
8923 * libc/time/tzset_r.c: New file containing _tzset_r and
8924 internal routine for calculating timezone changes for specified year.
8925
8926 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
8927
8928 * configure.in (CRT0_DIR): Set to libc/.
8929 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
8930 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
8931 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
8932 $(CRT1_DIR)/$(CRT1).
8933 * libc/machine/xstormy16/Makefile.in: Regenerated.
8934 * libc/machine/xstormy16/aclocal.m4: Regenerated.
8935 * libc/machine/xstormy16/configure: Regenerated.
8936
8937 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
8938
8939 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
8940 fails, don't bail out, and try to correct next time.
8941
8942 * libc/include/sys/config.h: Include limits.h.
8943
8944 2002-04-12 Eric Norum <eric.norum@usask.com>
8945
8946 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
8947 routine to allow autoconf to determine that building executables
8948 for rtems works.
8949 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
8950 (rtems_gxx_mutex_once): Ditto.
8951
8952 2002-04-09 Tom Rix <trix@redhat.com>
8953
8954 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
8955
8956 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
8957
8958 * libc/include/time.h: Fix strptime declaration.
8959 * libc/time/Makefile.am: Add strptime.c.
8960 * libc/time/Makefile.in: Regenerated.
8961 * libc/time/strptime.c: New file.
8962
8963 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
8964
8965 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
8966 siglongjmp prototype, and sigsetjmp macro definition.
8967 * libc/sys/linux/siglongjmp.c: New file.
8968 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
8969 * libc/sys/linux/Makefile.in: Regenerated.
8970
8971 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
8972
8973 * Makefile.am: Add support for installing crt1.o if one exists.
8974 * configure.host: Specify crt1.o for linux.
8975 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
8976 * Makefile.in: Regenerated.
8977 * configure: Ditto.
8978 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
8979 Added for non-Cygwin, non-RTEMS configurations.
8980 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
8981 * libc/sys/linux/Makefile.in: Regenerated.
8982 * libc/sys/linux/crt1.c: New empty file to override one defaulted
8983 by gcc. This fixes problem with reconfiguring linux newlib build.
8984 * libc/sys/linux/sysconf.c: New file.
8985
8986 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
8987
8988 * configure.host: Add support for machine subdirectory of
8989 sys subdirectory.
8990 * configure.in: Add check for sys machine subdirectory.
8991 * Makefile.am: Ditto.
8992 * configure: Regenerated.
8993 * Makefile.in: Ditto.
8994 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
8995 * libc/sys/linux/sys/syscall.h: Ditto.
8996 * libc/sys/linux/sleep.c: New file.
8997 * libc/sys/linux/socket.c: Ditto.
8998 * libc/sys/linux/sockops.h: Ditto.
8999 * libc/sys/linux/stack.c: Ditto.
9000 * libc/sys/linux/usleep.c: Ditto.
9001 * libc/sys/linux/machine/Makefile.am: Ditto.
9002 * libc/sys/linux/machine/Makefile.in: Ditto.
9003 * libc/sys/linux/machine/aclocal.m4: Ditto.
9004 * libc/sys/linux/machine/configure: Ditto.
9005 * libc/sys/linux/machine/configure.in: Ditto.
9006 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
9007 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
9008 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
9009 * libc/sys/linux/machine/i386/configure: Ditto.
9010 * libc/sys/linux/machine/i386/configure.in: Ditto.
9011 * libc/sys/linux/machine/i386/crt0.c: Ditto.
9012 * libc/sys/linux/machine/i386/sigset.c: Ditto.
9013 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
9014 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
9015 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9016 * libc/sys/linux/sys/select.h: Ditto.
9017 * libc/sys/linux/configure.in: Add support for machine directory.
9018 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
9019 * libc/sys/linux/Makefile.in: Regenerated.
9020 * libc/sys/linux/configure: Ditto.
9021 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
9022 * libc/sys/linux/inode.c: Ditto.
9023 * libc/sys/linux/linux.c: Ditto.
9024 * libc/sys/linux/process.c: Ditto.
9025 * libc/sys/linux/systat.c: Ditto.
9026 * libc/sys/linux/time.c: Ditto.
9027 * libc/sys/linux/wait.c: Ditto.
9028 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
9029 * libc/sys/linux/io.c: Change header plus add readv/writev.
9030 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
9031 use __sigsuspend syscall.
9032 * libc/sys/linux/select.c: Change header plus change select to
9033 use _newselect syscall.
9034 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
9035 used by glibc header files.
9036 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
9037 types.
9038
9039 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
9040
9041 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
9042 initializing a struct _reent that has been dynamically allocated.
9043 (_REENT_CHECK_MISC): New macro that checks _misc struct for
9044 _REENT_SMALL and does nothing otherwise.
9045 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
9046 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
9047 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
9048 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
9049 [_REENT_SMALL](struct _misc_reent): New structure containing
9050 miscellaneous reentrant areas needed by newlib.
9051 [_REENT_SMALL](struct _reent): Add _misc pointer.
9052 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
9053 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
9054 and _REENT_STRTOK_LAST macros.
9055 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
9056 and _REENT_MBLEN_STATE macros.
9057 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
9058 and _REENT_MBTOWC_STATE macros.
9059 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
9060 and _REENT_WCTOMB_STATE macros.
9061
9062 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
9063
9064 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
9065
9066 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
9067
9068 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
9069
9070 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
9071
9072 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
9073 Store high part of leading bytes too.
9074
9075 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
9076
9077 * libm/math/ef_hypot.c: Increase scale factor to 68.
9078
9079 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
9080
9081 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
9082 error.
9083
9084 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
9085
9086 * libc/sys/go32/access.c: Change license to relaxed license
9087 used in identical file throughout newlib/libgloss.
9088
9089 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
9090
9091 * libc/sys/arm/access.c: New file.
9092 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
9093 * libc/sys/arm/Makefile.in: Regenerate.
9094 * libc/sys/arm/syscalls.c (_stat): New function.
9095
9096 2002-03-11 Michael Meissner <meissner@redhat.com>
9097
9098 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
9099 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
9100 * libc/machine/mips/Makefile.in: Regenerate.
9101 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
9102 * libc/machine/mips/memset.c: Dito.
9103 * libc/machine/mips/strcmp.c: Dito.
9104 * libc/machine/mips/strlen.c: Dito.
9105 * libc/machine/mips/strncmp.c: Dito.
9106
9107 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
9108
9109 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
9110 object so it works for shared library or statici library.
9111 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9112
9113 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
9114 (strptime): Moved prototype to be within !__STRICT_ANSI__.
9115 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
9116 (tzname): Defined for all platforms.
9117 (daylight, timezone): Defined only for CYGWIN.
9118 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
9119 environment set up.
9120 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
9121 environment variable is set.
9122 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
9123 tzset_r.c.
9124 * libc/time/Makefile.in: Regenerated.
9125 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
9126 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
9127 * libc/time/lcltime_r.c (lcltime_r): Ditto.
9128 * libc/time/local.h: New local header file.
9129 * libc/time/mktime.c (mktime): Add timezone support.
9130 * libc/time/mktm_r.c: New file which is the common engine
9131 for gmtime_r and lcltime_r. This code has timezone support.
9132 * libc/time/strftime.c (strftime): Add %Z timezone support.
9133 * libc/time/tzlock.c: New file containing timezone lock stubs.
9134 * libc/time/tzset.c: New file containing tzset() routine.
9135 * libc/time/tzset_r.c: New file containing _tzset_r and
9136 internal routine for calculating timezone changes for specified year.
9137
9138 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9139
9140 * configure.in (CRT0_DIR): Set to libc/.
9141 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
9142 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
9143 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
9144 $(CRT1_DIR)/$(CRT1).
9145 * libc/machine/xstormy16/Makefile.in: Regenerated.
9146 * libc/machine/xstormy16/aclocal.m4: Regenerated.
9147 * libc/machine/xstormy16/configure: Regenerated.
9148
9149 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
9150
9151 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
9152 fails, don't bail out, and try to correct next time.
9153
9154 * libc/include/sys/config.h: Include limits.h.
9155
9156 2002-04-12 Eric Norum <eric.norum@usask.com>
9157
9158 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
9159 routine to allow autoconf to determine that building executables
9160 for rtems works.
9161 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
9162 (rtems_gxx_mutex_once): Ditto.
9163
9164 2002-04-09 Tom Rix <trix@redhat.com>
9165
9166 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
9167
9168 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9169
9170 * libc/include/time.h: Fix strptime declaration.
9171 * libc/time/Makefile.am: Add strptime.c.
9172 * libc/time/Makefile.in: Regenerated.
9173 * libc/time/strptime.c: New file.
9174
9175 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
9176
9177 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
9178 siglongjmp prototype, and sigsetjmp macro definition.
9179 * libc/sys/linux/siglongjmp.c: New file.
9180 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
9181 * libc/sys/linux/Makefile.in: Regenerated.
9182
9183 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
9184
9185 * Makefile.am: Add support for installing crt1.o if one exists.
9186 * configure.host: Specify crt1.o for linux.
9187 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
9188 * Makefile.in: Regenerated.
9189 * configure: Ditto.
9190 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
9191 Added for non-Cygwin, non-RTEMS configurations.
9192 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
9193 * libc/sys/linux/Makefile.in: Regenerated.
9194 * libc/sys/linux/crt1.c: New empty file to override one defaulted
9195 by gcc. This fixes problem with reconfiguring linux newlib build.
9196 * libc/sys/linux/sysconf.c: New file.
9197
9198 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
9199
9200 * configure.host: Add support for machine subdirectory of
9201 sys subdirectory.
9202 * configure.in: Add check for sys machine subdirectory.
9203 * Makefile.am: Ditto.
9204 * configure: Regenerated.
9205 * Makefile.in: Ditto.
9206 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
9207 * libc/sys/linux/sys/syscall.h: Ditto.
9208 * libc/sys/linux/sleep.c: New file.
9209 * libc/sys/linux/socket.c: Ditto.
9210 * libc/sys/linux/sockops.h: Ditto.
9211 * libc/sys/linux/stack.c: Ditto.
9212 * libc/sys/linux/usleep.c: Ditto.
9213 * libc/sys/linux/machine/Makefile.am: Ditto.
9214 * libc/sys/linux/machine/Makefile.in: Ditto.
9215 * libc/sys/linux/machine/aclocal.m4: Ditto.
9216 * libc/sys/linux/machine/configure: Ditto.
9217 * libc/sys/linux/machine/configure.in: Ditto.
9218 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
9219 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
9220 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
9221 * libc/sys/linux/machine/i386/configure: Ditto.
9222 * libc/sys/linux/machine/i386/configure.in: Ditto.
9223 * libc/sys/linux/machine/i386/crt0.c: Ditto.
9224 * libc/sys/linux/machine/i386/sigset.c: Ditto.
9225 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
9226 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
9227 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9228 * libc/sys/linux/sys/select.h: Ditto.
9229 * libc/sys/linux/configure.in: Add support for machine directory.
9230 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
9231 * libc/sys/linux/Makefile.in: Regenerated.
9232 * libc/sys/linux/configure: Ditto.
9233 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
9234 * libc/sys/linux/inode.c: Ditto.
9235 * libc/sys/linux/linux.c: Ditto.
9236 * libc/sys/linux/process.c: Ditto.
9237 * libc/sys/linux/systat.c: Ditto.
9238 * libc/sys/linux/time.c: Ditto.
9239 * libc/sys/linux/wait.c: Ditto.
9240 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
9241 * libc/sys/linux/io.c: Change header plus add readv/writev.
9242 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
9243 use __sigsuspend syscall.
9244 * libc/sys/linux/select.c: Change header plus change select to
9245 use _newselect syscall.
9246 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
9247 used by glibc header files.
9248 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
9249 types.
9250
9251 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
9252
9253 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
9254 initializing a struct _reent that has been dynamically allocated.
9255 (_REENT_CHECK_MISC): New macro that checks _misc struct for
9256 _REENT_SMALL and does nothing otherwise.
9257 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
9258 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
9259 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
9260 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
9261 [_REENT_SMALL](struct _misc_reent): New structure containing
9262 miscellaneous reentrant areas needed by newlib.
9263 [_REENT_SMALL](struct _reent): Add _misc pointer.
9264 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
9265 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
9266 and _REENT_STRTOK_LAST macros.
9267 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
9268 and _REENT_MBLEN_STATE macros.
9269 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
9270 and _REENT_MBTOWC_STATE macros.
9271 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
9272 and _REENT_WCTOMB_STATE macros.
9273
9274 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
9275
9276 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
9277
9278 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
9279
9280 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
9281
9282 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
9283
9284 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
9285 Store high part of leading bytes too.
9286
9287 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
9288
9289 * libm/math/ef_hypot.c: Increase scale factor to 68.
9290
9291 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
9292
9293 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
9294 error.
9295
9296 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
9297
9298 * libc/sys/go32/access.c: Change license to relaxed license
9299 used in identical file throughout newlib/libgloss.
9300
9301 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
9302
9303 * libc/sys/arm/access.c: New file.
9304 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
9305 * libc/sys/arm/Makefile.in: Regenerate.
9306 * libc/sys/arm/syscalls.c (_stat): New function.
9307
9308 2002-03-11 Michael Meissner <meissner@redhat.com>
9309
9310 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
9311 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
9312 * libc/machine/mips/Makefile.in: Regenerate.
9313 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
9314 * libc/machine/mips/memset.c: Dito.
9315 * libc/machine/mips/strcmp.c: Dito.
9316 * libc/machine/mips/strlen.c: Dito.
9317 * libc/machine/mips/strncmp.c: Dito.
9318
9319 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
9320
9321 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
9322 object so it works for shared library or statici library.
9323 * libc/machine/i386/Makefile.in: Regenerated.
9324
9325 Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
9326
9327 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
9328 Add memcpy.S, memset.S and strcpy.S.
9329 * libc/machine/sh/Makefile.in: Regenerate.
9330 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
9331 (SHHI, SHLO): Define.
9332 * libc/machine/sh/memset.S: Add code for SH5.
9333 * libc/machine/sh/memset.S: Likewise.
9334 * libc/machine/sh/strcpy.S: Likewise.
9335
9336 2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
9337
9338 * configure.host: Add check for --disable-newlib-io-float
9339 configuration option and add -DNO_FLOATING_POINT to newlib cflags
9340 if appropriate.
9341 * acinclude.m4: Added --disable-newlib-io-float option.
9342 * aclocal.m4: Regenerated.
9343 * configure: Ditto.
9344 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
9345 * libc/*/aclocal.m4 libc/*/configure
9346 * libm/*/aclocal.m4 libm/*/configure: Ditto.
9347 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
9348 if NO_FLOATING_POINT flag is not defined.
9349
9350 2002-02-25 Jeff Johnston <jjohnstn@redhat.com>
9351
9352 * libc/include/sys/config.h: Add __extension__ in front of
9353 long long references.
9354
9355 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
9356
9357 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
9358 (_stat): Ditto.
9359
9360 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
9361
9362 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
9363 of off_t.
9364
9365 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
9366
9367 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
9368 clobbered registers.
9369
9370 2002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
9371
9372 * configure.host (newlib_cflags): When host is in m68* add
9373 -DCOMPACT_CTYPE.
9374
9375 2002-02-15 Jeff Johnston <jjohnstn@redhat.com>
9376
9377 * libc/include/sys/config.h: Add definitions for
9378 __int16_t, __uint16_t, __int64_t, and __uint64_t.
9379
9380 2002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
9381
9382 * libc/sys/mmixware/link.c: New.
9383 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
9384 volatile.
9385 * libc/sys/mmixware/times.c (_times): Renamed from times.
9386 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
9387 properly by reading previous contents, not through BinaryReadWrite.
9388 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
9389 * libc/sys/mmixware/Makefile.in: Regenerate.
9390
9391 2002-02-10 Corinna Vinschen <corinna@vinschen.de>
9392
9393 * libc/include/grp.h: Don't declare group functions when compiling
9394 Cygwin.
9395
9396 2002-02-09 Corinna Vinschen <corinna@vinschen.de>
9397
9398 * libc/include/grp.h: Include Cygwin specific header.
9399 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
9400 when compiling for Cygwin.
9401 * libc/include/sys/types.h: Don't define off_t, uid_t
9402 and gid_t when compiling for Cygwin.
9403
9404 2002-02-08 matthew green <mrg@redhat.com>
9405
9406 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
9407 _REENT_EMERGENCY_SIZE, not sizeof(char *).
9408
9409 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
9410
9411 Contribute sh64-elf.
9412 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
9413 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
9414 support in printf.
9415 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
9416 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
9417 any labels.
9418 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
9419 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
9420 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
9421 * libc/machine/sh/configure.in: Rework conditionals.
9422 * libc/machine/sh/Makefile.am: Likewise.
9423 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
9424 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
9425 * configure.host: Match `sh*'.
9426 * libc/include/machine/setjmp.h: Define for SH5.
9427 * libc/machine/sh/configure.in: Detect SH5.
9428 * libc/machine/sh/configure: Rebuilt.
9429 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
9430 * libc/machine/sh/Makefile.in: Rebuilt.
9431 * libc/machine/sh/asm.h: Adjust for SH5.
9432 * libc/machine/sh/setjmp.S: Implement in SHmedia.
9433 * libc/sys/sh/crt0.S: Likewise.
9434 * libc/sys/sh/trap.S: Likewise.
9435
9436 2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
9437
9438 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
9439 (mach_add_obj): Conditionally set to setjmp.o or nothing.
9440 (LIB_SOURCES): Remove $(mach_add_src).
9441 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
9442 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
9443 * libc/machine/i386/Makefile.in: Regenerate.
9444
9445 2002-02-05 Manik Raina <manik@cisco.com>
9446
9447 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
9448 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
9449 s, p, k, and outstr.
9450 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
9451
9452 2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
9453
9454 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
9455 _REENT_CHECK_EMERGENCY macro.
9456
9457 2002-02-03 matthew green <mrg@redhat.com>
9458
9459 * libc/reent/signgam.c (__signgam): Fix error in previous.
9460
9461 2002-02-02 matthew green <mrg@redhat.com>
9462
9463 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
9464
9465 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
9466 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
9467 * libc/include/sys/reent.h (struct _reent): Completely new version
9468 for _REENT_SMALL.
9469 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
9470 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
9471 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
9472 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
9473 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
9474 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
9475 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
9476 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
9477 (_REENT_EMERGENCY): Likewise.
9478
9479 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
9480 the start of the real __sFILE, used for stdin, stdout and stderr until
9481 they are setup properly.
9482 (struct __sFILE): Move location of _data in _REENT_SMALL case.
9483 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
9484 allocated stdin, stdout and stderr.
9485 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
9486 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
9487 * libc/stdio/perror.c (_perror_r): Likewise.
9488 * libc/stdio/printf.c (printf, _printf_r): Likewise.
9489 * libc/stdio/putchar.c (_putchar_r): Likewise.
9490 * libc/stdio/puts.c (_puts_r): Likewise.
9491 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
9492 * libc/stdio/vprintf.c (vprintf): Likewise.
9493 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
9494
9495 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
9496
9497 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
9498 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
9499 for _REENT_SMALL.
9500 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
9501 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
9502
9503 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
9504 _REENT_SMALL.
9505 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
9506 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
9507 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
9508 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
9509 * libc/stdlib/rand48.c (__dorand48): Likewise.
9510 * libc/stdlib/seed48.c (_seed48_r): Likewise.
9511 * libc/stdlib/srand48.c (_srand48_r): Likewise.
9512 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
9513 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
9514 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
9515 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
9516 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
9517 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
9518 * libc/stdlib/rand.c (rand): Likewise.
9519
9520 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
9521 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
9522
9523 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
9524 _REENT_MP_FREELIST() and _REENT_MP_P5S.
9525 * libc/include/sys/reent.h (struct _mprec): New structure.
9526
9527 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
9528 _unused_strtok_last.
9529 * libc/string/strtok.c (strtok): Use a local static variable.
9530
9531 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
9532 (_REENT_EMERGENCY_SIZE): Likewise.
9533 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
9534 _REENT_ASCTIME_BUF().
9535 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
9536 _REENT_TM().
9537
9538 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
9539 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
9540 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
9541 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
9542 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
9543 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
9544
9545 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
9546
9547 * configure.host (xstormy16): Don't use the generic malloc.
9548 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
9549 * libc/machine/xstormy16/Makefile.in: Regenerate.
9550 * libc/machine/xstormy16/mallocr.c: New file.
9551 * libc/machine/xstormy16/tiny-malloc.c: New file.
9552
9553 2002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
9554
9555 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
9556 when _CYGWIN_TYPES_H is not defined.
9557
9558 2002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9559
9560 * libc/include/sys/signal.h: Revert 2002-01-23 change.
9561
9562 2002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
9563
9564 * libc/include/sys/signal.h: Remove pthread_kill declaration
9565 when __CYGWIN__ is defined.
9566
9567 2002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9568
9569 * libc/include/time.h: Add prototype for strptime for Cygwin.
9570
9571 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
9572
9573 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
9574 dst was not word aligned.
9575
9576 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
9577 if too much memory is requested.
9578
9579 2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
9580
9581 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
9582 reads blanks from the input file to break if EOF reached
9583 rather than end processing.
9584
9585 2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
9586
9587 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
9588
9589 2002-01-07 Alan Matsuoka <alanm@redhat.com>
9590
9591 * libc/include/machine/ieeefp.h: Configure d10v doubles to
9592 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
9593 libc/include/sys/config.h: Ditto.
9594
9595 2001-12-28 Corinna Vinschen <corinna@vinschen.de>
9596
9597 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
9598
9599 2001-12-22 Geoffrey Keating <geoffk@redhat.com>
9600 Catherine Moore <clm@redhat.com>
9601 Richard Henderson <rth@redhat.com>
9602 Corinna Vinschen <vinschen@redhat.com>
9603
9604 * configure.host: Add support for xstormy16.
9605 * libc/include/machine/ieeefp.h: Add support for xstormy16.
9606 * libc/include/machine/setjmp.h: Add support for xstormy16.
9607 * libc/include/sys/config.h: Add support for xstormy16.
9608 * libc/machine/xstormy16/Makefile.am: New file.
9609 * libc/machine/xstormy16/Makefile.in: New file.
9610 * libc/machine/xstormy16/aclocal.m4: New file.
9611 * libc/machine/xstormy16/configure: New file.
9612 * libc/machine/xstormy16/configure.in: New file.
9613 * libc/machine/xstormy16/setjmp.S: New file.
9614
9615 2001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
9616
9617 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
9618 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
9619
9620 2001-12-19 Corinna Vinschen <corinna@vinschen.de>
9621
9622 * libm/machine/Makefile.am: Change rules to create correct lib.a.
9623 * libm/machine/Makefile.in: Regenerated through automake.
9624
9625 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
9626
9627 * Makefile.am (DOCDIR): Force to empty string when doc
9628 directory is not present.
9629
9630 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
9631
9632 * libc/machine/i386/f_*: Move to libm/machine/i386.
9633
9634 2001-12-18 Joel Sherrill <joel@OARcorp.com>
9635
9636 * libm/machine/Makefile.am: Add dummy doc stub so
9637 "make info" works.
9638
9639 2001-12-17 Joel Sherrill <joel@OARcorp.com>
9640
9641 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
9642
9643 2001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9644
9645 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
9646 $(COMPILE) rather than $(CC).
9647 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
9648 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
9649 $(LIB_COMPILE) change.
9650 (vfiprintf.$(oext)): Likewise.
9651
9652 2001-12-17 Corinna Vinschen <vinschen@redhat.de>
9653
9654 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
9655 conditionalized including of getopt stuff.
9656
9657 2001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
9658
9659 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
9660 compile line.
9661 (vfiprintf.$(oext)): Likewise.
9662
9663 2001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
9664
9665 * Makefile.shared: New file.
9666 * libc/sys/linux/shared.ld: New file.
9667 * libm/machine/*: New files.
9668 * libm/machine/i386/*: New files.
9669 * Makefile.am: Add libtool support. Change math and mathfp
9670 references to variables.
9671 * configure.host: Add variables for libtool support. Add
9672 libm_machine_dir variable.
9673 * configure.in: Add objectlist variables, for libtool
9674 support. Add CC_FOR_BUILD tests.
9675 * libc/Makefile.am: Add libtool support. Change crt0.o
9676 reference to be a variable reference.
9677 * libc/configure.in: Add libtool support. Change sublib
9678 names to be lib${subdir}.la when using libtool.
9679 * libc/ctype/Makefile.am: Add libtool support.
9680 * libc/errno/Makefile.am: Likewise.
9681 * libc/locale/Makefile.am: Likewise.
9682 * libc/machine/Makefile.am: Likewise.
9683 * libc/machine/configure.in: Likewise.
9684 * libc/machine/i386/Makefile.am: Likewise.
9685 * libc/machine/i386/configure.in: Likewise.
9686 * libc/misc/Makefile.am: Likewise.
9687 * libc/posix/Makefile.am: Likewise.
9688 * libc/reent/Makefile.am: Likewise.
9689 * libc/signal/Makefile.am: Likewise.
9690 * libc/stdio/Makefile.am: Likewise.
9691 * libc/stdlib/Makefile.am: Likewise.
9692 * libc/string/Makefile.am: Likewise.
9693 * libc/sys/Makefile.am: Likewise.
9694 * libc/sys/configure.in: Likewise.
9695 * libc/sys/linux/Makefile.am: Add libtool support. Change
9696 awk reference to a variable reference. Change signal.h
9697 reference to a variable reference.
9698 * libc/sys/linux/configure.in: Add libtool support.
9699 * libc/syscalls/Makefile.am: Likewise.
9700 * libc/time/Makefile.am: Likewise.
9701 * libc/unix/Makefile.am: Likewise.
9702 * libm/Makefile.am: Add libtool support. Change math and
9703 mathfp references to variables.
9704 * libm/configure.in: Add libtool support. Add
9705 LIBM_MACHINE_LIB variable.
9706 * libm/common/Makefile.am: Add libtool support.
9707 * libm/math/Makefile.am: Likewise.
9708 * libm/mathfp/Makefile.am: Likewise.
9709 Regenerate all Makefile.in, aclocal.m4, and configure.
9710
9711 2001-12-13 Anita Kulkarni <anitak@kpit.com>
9712
9713 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
9714
9715 2001-12-06 John Peacock <jpeacock@rowman.com>
9716
9717 * libc/include/sys/unistd.h: Correct ualarm declaration.
9718
9719 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
9720
9721 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
9722 vector before calling the initialisation functions.
9723
9724 2001-11-29 Christopher Faylor <cgf@redhat.com>
9725
9726 * libc/include/dirent.h: Protect against multiple inclusion.
9727
9728 2001-11-27 Christopher Faylor <cgf@redhat.com>
9729
9730 * libc/include/sys/types.h: Define useconds_t.
9731 * libc/include/sys/ulimit.h: Declare ualarm.
9732
9733 2001-11-21 Christopher Faylor <cgf@redhat.com>
9734
9735 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
9736
9737 2001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
9738
9739 * libc/sys/mmixware/*: Tweak license header in all source files.
9740
9741 2001-11-12 Corinna Vinschen <vinschen@redhat.com>
9742
9743 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
9744 to here. Rearrange for general inclusion by stdlib.h.
9745 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
9746 isn't defined.
9747 * libc/sys/linux/include/alloca.h: Move to libc/include.
9748
9749 2001-11-12 Anthony Green <green@redhat.com>
9750
9751 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
9752
9753 2001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
9754
9755 * libc/sys/mmixware/*: Correct spacing in all source files.
9756 * libc/sys/mmixware/syscall.h: Move misplaced file...
9757 * libc/sys/mmixware/sys/syscall.h: ...here.
9758
9759 2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
9760
9761 * libc/include/machine/ieeefp.h: Add support for mmix target.
9762 * libc/include/machine/setjmp.h: Ditto.
9763 * configure.host: Ditto.
9764 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
9765 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
9766 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
9767 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
9768 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
9769 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
9770 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
9771 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
9772 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
9773 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
9774 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
9775 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
9776 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
9777 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
9778 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
9779 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
9780 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
9781 libc/sys/mmixware/aclocal.m4: Generate.
9782
9783 2001-11-05 Corinna Vinschen <corinna@vinschen.de>
9784
9785 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
9786 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
9787 when __CYGWIN__ is defined.
9788 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
9789 logwtmp().
9790
9791 2001-11-01 Arati Dikey <aratidikey@hotmail.com>
9792
9793 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
9794 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
9795 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
9796 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
9797
9798 2001-10-24 Christopher Faylor <cgf@redhat.com>
9799
9800 * libc/stdio/fseek.c: Reset pointer to buffer base
9801 when forced to seek outside of current buffer contents.
9802 This prevents the code from erroneously thinking there is
9803 anything in the current buffer.
9804
9805 2001-10-22 Geoffrey Keating <geoffk@redhat.com>
9806
9807 * libc/include/math.h: The C++ standard adds the single-precision
9808 versions of the elementary functions.
9809
9810 2001-10-22 Christopher Faylor <cgf@redhat.com>
9811
9812 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
9813 throughout.
9814 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
9815 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
9816 * system.c (_system_r): Ditto.
9817
9818 2001-10-17 Corinna Vinschen <corinna@vinschen.de>
9819
9820 * libc/include/sys/unistd.h: Add prototype for fchdir() when
9821 __CYGWIN__ or __rtems__ is defined.
9822
9823 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
9824
9825 * libc/include/stdlib.h: add declarations for
9826 _strtoull_r, _strtoll_r, strtoull, and strtoll.
9827 * libc/stdio/local.h: remove declarations of
9828 __strtoull_r and __strtoll_r.
9829 * libc/stdio/vfscanf.c(__svfscanf_r): call
9830 _strtoull_r instead of __strtoull_r. Ditto
9831 _strtoll_r vs. __strtoll_r.
9832 * libc/stdlib/Makefile.am: add new files to
9833 .c list and .def list
9834 * libc/stdlib/Makefile.in: regenerate
9835 * libc/stdlib/strtoll_r.c: rename __strtoll_r
9836 as _strtoll_r
9837 * libc/stdlib/strtoull_r.c: rename __strtoull_r
9838 as _strtoull_r
9839 * libc/stdlib/strtoull.c: new file
9840 * libc/stdlib/strtoll.c: new file
9841
9842 Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
9843
9844 * libc/include/process.h: Add getpid() declaration.
9845
9846 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
9847
9848 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
9849 for new style arm/elf ctor/dtor handling.
9850 Minor formatting tidy up.
9851
9852 2001-09-13 Jeff Johnston <jjohnstn@redhat.com>
9853
9854 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
9855 and strtoull_r.c.
9856 * libc/stdlib/Makefile.in: Regenerated.
9857 * libc/stdlib/strtoll_r.c: New file.
9858 * libc/stdlib/strtoull_r.c: New file.
9859 * libc/stdio/local.h: Add prototypes for long long string
9860 conversion routines.
9861 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
9862 tied to %L integer conversion specifier.
9863
9864 Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
9865
9866 * strftime.c (strftime): Fix "%W" implementation to properly handle
9867 Mondays too.
9868
9869 2001-09-07 Jeff Law <law@redhat.com>
9870
9871 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
9872 __fini with "mov.l" instead of "mov.w".
9873
9874 2001-09-05 Corinna Vinschen <corinna@vinschen.de>
9875
9876 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
9877 and getopt.h.
9878
9879 2001-09-04 Jason Merrill <jason_merrill@redhat.com>
9880
9881 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
9882
9883 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
9884
9885 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
9886 field.
9887 (__DIRENT_VERSION): New define.
9888
9889 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
9890
9891 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
9892 Shrink __d_reserved accordingly to keep structure size.
9893 (dirfd): Declare external.
9894
9895 2001-08-29 Joel Sherrill <joel@OARcorp.com>
9896
9897 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
9898
9899 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
9900
9901 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
9902 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
9903 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
9904 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
9905 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
9906 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
9907 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
9908 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
9909 Add conditional compilation to avoid HW FPU instructions
9910 when compiled for soft-float.
9911
9912 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
9913
9914 * Makefile.am: Add check for ln failing when creating libg.a
9915 so that cp gets used as a backup.
9916 * Makefile.in: Regenerated.
9917
9918 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
9919
9920 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
9921 No longer include time.h. Add struct __tm to use for
9922 _localtime_buf in the reentrant structure. Add a
9923 _NULL definition to use in initializing the reentrant struct.
9924 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
9925 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
9926 <sys/_types.h>.
9927 * libc/include/sys/unistd.h: Include <sys/_types.h>.
9928 * libc/time/lcltime.c (localtime): Cast the reentrant struct
9929 _localtime_buf to be struct tm *.
9930
9931 Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
9932
9933 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
9934 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
9935 __ctors_end.
9936 * libc/sys/h8300hms/syscalls.c: Include errno.h.
9937 (_unlink): New stub function.
9938
9939 Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
9940
9941 * libc/include/sys/errno.h: Add a cautionary comment.
9942
9943 2001-08-21 Jeff Johnston <jjohnstn@redhat.com>
9944
9945 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
9946 for SIZE_SZ so that alignment ends up a minimum of 8.
9947
9948 Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
9949
9950 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
9951 arguments.
9952
9953 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
9954 Cygwin.
9955
9956 2001-08-13 Jeff Johnston <jjohnstn@redhat.com>
9957
9958 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
9959 macro constants for mallopt options.
9960 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
9961
9962 2001-08-02 Jeff Johnston <jjohnstn@redhat.com>
9963
9964 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
9965 otherwise default.
9966
9967 2001-07-12 Aldy Hernandez <aldyh@redhat.com>
9968
9969 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
9970
9971 2001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
9972
9973 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
9974 Define for little endian ARMs.
9975
9976 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
9977 __IEEE_BYTES_LITTLE_ENDIAN is defined.
9978
9979 2001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
9980
9981 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
9982
9983 2001-06-11 Egor Duda <deo@logos-m.ru>
9984
9985 * libc/ctype/ctype_.c: When compiled with gcc on platforms
9986 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
9987 initialized memory region. Platform can define COMPACT_CTYPE
9988 to avoid allocation of the additional 128 bytes of data.
9989 Add pointer to _ctype_ array. Always initialize all _ctype_
9990 array elements.
9991
9992 2001-06-08 Jonathan Larmour <jlarmour@redhat.com>
9993
9994 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
9995 NULL pointer.
9996
9997 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
9998
9999 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
10000
10001 2001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
10002
10003 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
10004 matching, non-word alignment, and the length is <= 4 but more than
10005 enough to move them over a word boundary.
10006 Add comments explaining what each instruction does.
10007
10008 Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
10009
10010 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
10011 * libc/include/sys/unistd.h: Ditto.
10012
10013 2001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
10014
10015 * libc/string/strrchr.c: Use strchr for the speed improvements.
10016
10017 2001-05-01 Jeff Johnston <jjohnstn@redhat.com>
10018
10019 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
10020 real file systems, let __smakebuf() determine if line buffering
10021 should be used for stdout.
10022
10023 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
10024
10025 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
10026
10027 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
10028
10029 * libc/include/stdlib.h: Add prototype for _strtod_r.
10030
10031 2001-04-24 Charles Wilson <cwilson@ece.gatech.edu
10032
10033 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
10034 * libc/stdio/vprintf.c (_vprintf_r): new function
10035 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
10036 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
10037 _DEFUN, and call _vfprintf_r, not vfprintf.
10038 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
10039 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
10040 _DEFUN, and call _vfprintf_r, not vfprintf.
10041
10042 2001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
10043
10044 * libc/include/sys/unistd.h [X_OK]: Use better protection against
10045 Cygwin X_OK definitions in sys/file.h.
10046
10047 Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
10048
10049 * libc/include/sys/time.h: Define timercmp and other macros for
10050 __CYGWIN__, too.
10051
10052 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
10053
10054 * acinclude.m4: Added --enable-malloc-debugging configure flag.
10055 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
10056 --enable-malloc-debugging selected.
10057 * aclocal.m4 configure: Regenerated.
10058 libm/aclocal.m4 libm/configure: Ditto.
10059 * libc/aclocal.m4 libc/configure: Ditto.
10060 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
10061 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
10062 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
10063 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
10064 * doc/aclocal.m4 doc/configure: Ditto.
10065
10066 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
10067
10068 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
10069 into one list.
10070 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
10071 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
10072 function prototypes.
10073 (_fscanf_r, _sscanf_r): Ditto.
10074 * libc/include/stdlib.h: Added _strtod_r prototype.
10075 * libc/stdio/Makefile.am: Add new v*scanf functions.
10076 * libc/stdio/Makefile.in: Regenerate.
10077 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
10078 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
10079 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
10080 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
10081 (sscanf): Changed to call __svfscanf_r with _REENT argument.
10082 (_sscanf_r): New routine.
10083 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
10084 with __svfscanf_r prototype.
10085 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
10086 routines.
10087 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
10088 structure as argument as calls reentrant versions of helper functions
10089 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
10090 to _strtol_r and _strtod_r respectively.
10091 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
10092 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
10093 _REENT argument.
10094 * libc/stdio/vscanf.c: New file.
10095 * libc/stdio/vsscanf.c: Ditto.
10096
10097 2001-04-19 Robert Collins <rbtcollins@hotmail.com>
10098
10099 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
10100 Define daylight to _daylight if it is not defined
10101 Prepare a variable export of timezone based on timezonevariable.
10102 (Cannot be used with the timezone() function.)
10103
10104 2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
10105
10106 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
10107 Correct the numerical values.
10108
10109 2001-04-13 Robert Collins <rbtcollins@hotmail.com>
10110
10111 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
10112
10113 Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
10114
10115 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
10116 on case insensitve file systems.
10117
10118 2001-04-12 Robert Collins <rbtcollins@hotmail.com>
10119
10120 * libc/include/sys/features.h: Add appropriate defines for Cygwin
10121 pthread support.
10122 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
10123 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
10124 types. Include <cygwin/types.h> for the cygwin specific typedefs.
10125
10126 2001-04-04 Richard Sandiford <rsandifo@redhat.com>
10127
10128 * libc/include/machine/ieeefp.h: Comment about new configuration
10129 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
10130 * libm/common/fdlib.h: Define new macros for testing floats.
10131 * libm/common/sf_*: Use them.
10132 * libm/math/ef_*: Likewise.
10133 * libm/math/sf_*: Likewise.
10134
10135 2001-03-29 Jeff Johnston <jjohnstn@redhat.com>
10136
10137 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
10138 prolog to by-pass possible assembler error.
10139
10140 2001-03-21 Egor Duda <deo@logos-m.ru>
10141
10142 Allow building internal stubs for non-reentrant syscalls
10143 if target provides its own malloc
10144 * libc/reent/reent.c (errno): Move definition here.
10145 * libc/reent/sbrkr.c: From here.
10146
10147 2001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
10148
10149 * libc/include/sys/types.h (BSD int typedefs): Guard with
10150 _BSDTYPES_DEFINED rather than _WINSOCK_H.
10151 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
10152 _SYS_TYPES_FD_SET.
10153 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
10154 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
10155
10156 Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
10157
10158 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
10159 _PC_POSIX_SECURITY constants for Cygwin.
10160
10161 Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
10162
10163 * libc/sys/cygwin/crt0.c: Add copyright hint.
10164 * libc/sys/cygwin/sys/dirent.h: Ditto.
10165 * libc/sys/cygwin/sys/param.h: Ditto.
10166 * libc/sys/cygwin/sys/utime.h: Ditto.
10167 * libc/sys/cygwin/sys/utmp.h: Ditto.
10168
10169 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
10170
10171 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
10172 equivalent to LONGINT.
10173
10174 2001-03-08 Richard Sandiford <rsandifo@redhat.com>
10175
10176 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
10177 jmpbuf on MIPS64 targets.
10178 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
10179
10180 Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
10181
10182 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
10183 declarations.
10184
10185 Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
10186
10187 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
10188 For RTEMS, define to be ssize_t. Default to int if not defined.
10189 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
10190 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
10191 * libc/stdio/local.h (__sread, __swrite): Likewise.
10192 * libc/include/sys/reent.h (_read, _write): Likewise.
10193 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
10194 * libc/syscalls/sysread.c (read): Likewise.
10195 * libc/syscalls/syswrite.c (write): Likewise.
10196
10197 2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
10198
10199 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
10200
10201 Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
10202
10203 * libc/include/sys/stat.h: Use special defines for executable stat bits
10204 when compiling for Cygwin.
10205 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
10206 for Cygwin.
10207
10208 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
10209
10210 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
10211 of strtok_r is always defined.
10212
10213 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
10214
10215 * libc/include/machine/ansi.h: New dummy header file.
10216
10217 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
10218
10219 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
10220 changed the copyright information to allow free modification of the
10221 file with no reference to "copying.dj".
10222 * libc/include/sys/stat-dj.h: Ditto.
10223 * libc/machine/i386/setjmp.S: Ditto.
10224 * libc/sys/h8300hms/sys/file.h: Ditto.
10225 * libc/sys/sysmec/access.c: Ditto.
10226 * libc/sys/sysnecv850/access.c: Ditto.
10227 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
10228 * libc/stdlib/getenv_r.c: Ditto.
10229 * libc/stdlib/putenv_r.c: Ditto.
10230 * libc/stdlib/setenv_r.c: Ditto.
10231 * libc/stdlib/getenv.c: Removed DJ reference since any possible
10232 modifications will now be in the _r version of this file.
10233 * libc/stdlib/putenv.c: Ditto.
10234 * libc/stdlib/setenv.c: Ditto.
10235 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
10236 valid. Added a reference to DJ's web page that contains his address.
10237 * libc/sys/go32/*.s: Removed references to DJ's old address.
10238 * libc/sys/go32/*.c: Ditto.
10239 * libc/sys/go32/*.h: Ditto.
10240 * libc/sys/go32/*.S: Ditto.
10241 * libc/sys/go32/sys/*.h: Ditto.
10242
10243 2001-02-21 Jeff Johnston <jjohnstn@redhat.com>
10244
10245 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
10246 HAVE_FCNTL flag check.
10247 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
10248 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
10249
10250 Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
10251
10252 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
10253
10254 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
10255
10256 * libc/include/stdlib.h: Add declarations of rand48 functions and
10257 their reentrant versions.
10258 * libc/include/sys/reent.h: Move macros from rand48.h. Add
10259 struct _rand48 for shared parameters of rand48 functions.
10260 (struct _reent): Add a variable _r48 of struct _rand48.
10261 (_REENT_INIT): Add _r48 initialization.
10262 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
10263 (CHEWOUT_FILES): Add rand48.def.
10264 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
10265 * libc/stdlib/Makefile.in: Regenerated.
10266 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
10267 NetBSD C library.
10268 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
10269 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
10270 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
10271 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
10272 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
10273 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
10274 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
10275 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
10276 * libc/stdlib/rand48.c (__dorand48): Ditto.
10277 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
10278 parameters into macros referring them in the reentrant structure.
10279
10280 2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
10281
10282 * libc/include/sys/stat.h: Add mknod for Cygwin now that
10283 Cygwin definition has correct prototype.
10284
10285 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
10286
10287 * libc/include/sys/stat.h: Must revert change for mknod
10288 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
10289 prototype.
10290
10291 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
10292
10293 * libc/include/stdio.h: Revert putw prototype.
10294
10295 2001-02-08 Edward M. Lee <tailbert@yahoo.com>
10296
10297 * libc/include/grp.h: add prototype for initgroups.
10298 * libc/include/stdio.h: fix prototype for putw.
10299 * libc/include/sys/signal.h: add prototype for killpg.
10300 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
10301 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
10302 vhangup and remove duplicate sysconf prototype.
10303
10304 2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
10305
10306 * libc/sys/rtems/sys/types.h: Removed.
10307
10308 2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
10309
10310 * libc/include/locale.h: add LC_MESSAGES definition
10311
10312 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
10313
10314 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
10315 SYS_get_argN):
10316 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
10317 __setup_argv_and_call_main): New.
10318
10319 2001-01-31 Jeff Johnston <jjohnstn@redhat.com>
10320
10321 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
10322 if defined.
10323 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
10324 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
10325 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
10326 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
10327
10328 Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
10329
10330 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
10331 compiling under Cygwin.
10332
10333 2001-01-29 Jeff Johnston <jjohnstn@redhat.com>
10334
10335 * libc/include/math.h (signgam): Change to errno-like solution
10336 using a function to return the address of the real signgam.
10337 * libc/reent/signgam.c: New file containing __signgam().
10338 * libc/reent/Makefile.am: Added signgam.c to list of files.
10339 * libc/reent/Makefile.in: Regenerated.
10340
10341 2001-01-25 Alexandre Oliva <aoliva@redhat.com>
10342
10343 * libc/sys/sh/syscalls.c (_times): New.
10344
10345 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
10346 * libc/sys/sh/syscalls.c (_gettimeofday): New.
10347
10348 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10349
10350 * libc/include/math.h (signgam): Regress previous fix as
10351 it does not handle programs with extern int signgam in them.
10352
10353 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10354
10355 * libc/include/math.h (signgam): Changed to a macro refering to
10356 its location in the reentrant structure.
10357
10358 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10359
10360 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
10361 that suppressed . for %.0f, 0.1. Check now looks if there
10362 are padding zeroes (expt) in addition to any digits (ndig) to
10363 print.
10364
10365 2001-01-18 Jeff Johnston <jjohnstn@redhat.com>
10366
10367 * libc/sys/arc/Makefile.am: New file.
10368 * libc/sys/arc/Makefile.in: Ditto.
10369 * libc/sys/arc/aclocal.m4: Ditto.
10370 * libc/sys/arc/configure: Ditto.
10371 * libc/sys/arc/configure.in: Ditto.
10372 * libc/sys/arc/crt0.S: Ditto.
10373 * libc/sys/arc/isatty.c: Ditto.
10374 * libc/sys/arc/mem-layout.c: Ditto.
10375 * libc/sys/arc/sbrk.c: Ditto.
10376 * libc/sys/arc/syscalls.c: Ditto.
10377 * libc/sys/arc/sys/syscall.h: Ditto.
10378
10379 Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
10380
10381 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
10382
10383 Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
10384
10385 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
10386
10387 Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
10388
10389 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
10390
10391 2001-01-09 Nick Clifton <nickc@redhat.com>
10392
10393 * configure.host (v859): Remove unsupported compiler options.
10394
10395 Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
10396
10397 * src/newlib/configure.host (*-*-rtems*): add printf long long
10398 support for RTEMS.
10399
10400 2000-12-19 Graham Stott <grahams@redhat.com>
10401
10402 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
10403
10404 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
10405
10406 * configure.host: Turn on long double I/O for Cygwin.
10407
10408 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
10409
10410 * MAINTAINERS: Removed Ranjith.
10411 * NEWS: Updated for 1.9.0.
10412 * README: Updated.
10413 * acinclude.m4: Updated to release 1.9.0.
10414 * aclocal.m4 configure
10415 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
10416 libc/machine/aclocal.m4 libc/machine/configure
10417 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
10418 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
10419 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
10420 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
10421 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
10422 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
10423 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
10424 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
10425 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
10426 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
10427 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
10428 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
10429 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
10430 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
10431 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
10432 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
10433 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
10434 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
10435 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
10436 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
10437 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
10438 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
10439 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
10440 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
10441 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
10442 libc/sys/aclocal.m4 libc/sys/configure
10443 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
10444 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
10445 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
10446 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
10447 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
10448 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
10449 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
10450 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
10451 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
10452 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
10453 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
10454 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
10455 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
10456 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
10457 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
10458 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
10459 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
10460 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
10461 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
10462 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
10463 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
10464 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
10465 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
10466 libm/aclocal.m4 libm/configure: Regenerated.
10467
10468 Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10469
10470 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
10471 when __CYGWIN__ is defined.
10472
10473 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
10474
10475 * libc/stdlib/ldtoa.c (_ldcheck): New routine
10476 that categorizes a long double as NaN, Infinity, or other.
10477 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
10478 isinfl and isnanl static routines which were i386-specific. Changed
10479 calls to the two removed routines to a single _ldcheck call.
10480 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
10481
10482 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
10483
10484 * Makefile.am: Fixed install-data-local target to use
10485 $(mkinstalldirs) for the installed header files to ensure
10486 the directories exist before copying.
10487 * Makefile.in: Regenerated.
10488
10489 2000-12-12 Jeff Johnston <jjohnstn@redhat.com>
10490
10491 * libc/include/sys/unistd.h: Restored Cygwin _SC
10492 constants and moved new constants appropriately
10493 so Cygwin will build.
10494
10495 2000-12-11 Joel Sherrill <joel@OARcorp.com>
10496
10497 * Merge RTEMS specific .h files into main libc/include.
10498 * libc/sys/rtems/include/signal.h: Removed.
10499 * libc/sys/rtems/include/time.h: Removed.
10500 * libc/sys/rtems/sys/features.h: Removed.
10501 * libc/sys/rtems/sys/sched.h: Removed.
10502 * libc/sys/rtems/sys/siginfo.h: Removed.
10503 * libc/sys/rtems/sys/signal.h: Removed.
10504 * libc/sys/rtems/sys/time.h: Removed.
10505 * libc/sys/rtems/sys/times.h: Removed.
10506 definitions for time_t and clock_t since these are
10507 no longer in time.h.
10508 * libc/include/pthread.h: New file.
10509 * libc/include/sys/sched.h: New file.
10510 * libc/include/sys/features.h: New file.
10511 * libc/include/time.h: Removed duplicate definition of clock_t
10512 and time_t, get them from <sys/types.h> instead. Add prototypes
10513 for POSIX clock and timer functionality.
10514 * libc/sys/linux/sys/types.h: Changed to include
10515 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
10516 * libc/include/sys/signal.h: Add more complete set of POSIX
10517 signal functionality including real-time and threaded signals.
10518 * libc/include/sys/types.h: Add clock_t, time_t, struct
10519 timespec, and struct itimerspec. Centralizing these makes
10520 things cleaner. RTEMS uses 64-bit dev_t.
10521 Added numerous primitive definitions
10522 for pthreads including macros, pthread_attr_t,
10523 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
10524 pthread_once_t, and pthread_t.
10525 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
10526 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
10527 Feature flags removed and moved to new file <sys/features.h>.
10528 Full set of POSIX sysconf() constants
10529
10530 2000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
10531
10532 * configure.host: Added x86 linux target.
10533 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
10534 definitions provided if not already defined.
10535 * libc/sys/linux/crt0.c: New file.
10536 * libc/sys/linux/Makefile.am: Ditto.
10537 * libc/sys/linux/Makefile.in: Ditto.
10538 * libc/sys/linux/aclocal.m4: Ditto.
10539 * libc/sys/linux/brk.c: Ditto.
10540 * libc/sys/linux/configure: Ditto.
10541 * libc/sys/linux/configure.in: Ditto.
10542 * libc/sys/linux/getoptlong.c: Ditto.
10543 * libc/sys/linux/ids.c: Ditto.
10544 * libc/sys/linux/inode.c: Ditto.
10545 * libc/sys/linux/io.c: Ditto.
10546 * libc/sys/linux/linux.c: Ditto.
10547 * libc/sys/linux/process.c: Ditto.
10548 * libc/sys/linux/realpath.c: Ditto.
10549 * libc/sys/linux/select.c: Ditto.
10550 * libc/sys/linux/signal.c: Ditto.
10551 * libc/sys/linux/systat.c: Ditto.
10552 * libc/sys/linux/termios.c: Ditto.
10553 * libc/sys/linux/time.c: Ditto.
10554 * libc/sys/linux/wait.c: Ditto.
10555 * libc/sys/linux/include/alloca.h: Ditto.
10556 * libc/sys/linux/include/getopt.h: Ditto.
10557 * libc/sys/linux/include/stdint.h: Ditto.
10558 * libc/sys/linux/include/unistd.h: Ditto.
10559 * libc/sys/linux/sys/cdefs.h: Ditto.
10560 * libc/sys/linux/sys/dirent.h: Ditto.
10561 * libc/sys/linux/sys/errno.h: Ditto.
10562 * libc/sys/linux/sys/fcntl.h: Ditto.
10563 * libc/sys/linux/sys/file.h: Ditto.
10564 * libc/sys/linux/sys/ioctl.h: Ditto.
10565 * libc/sys/linux/sys/resource.h: Ditto.
10566 * libc/sys/linux/sys/signal.h: Ditto.
10567 * libc/sys/linux/sys/stat.h: Ditto.
10568 * libc/sys/linux/sys/syscall.h: Ditto.
10569 * libc/sys/linux/sys/termios.h: Ditto.
10570 * libc/sys/linux/sys/time.h: Ditto.
10571 * libc/sys/linux/sys/types.h: Ditto.
10572 * libc/sys/linux/sys/utmp.h: Ditto.
10573 * libc/sys/linux/sys/utsname.h: Ditto.
10574 * libc/sys/linux/sys/wait.h: Ditto.
10575
10576 2000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
10577
10578 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
10579 can be a relative path to $(top_srcdir)/install.sh so ensure the
10580 autoconf detected settings are properly passed recursively.
10581 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
10582 properly to subdirectories.
10583 * Makefile.in: Regenerated.
10584
10585 2000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
10586
10587 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
10588 a floating point register unless really printing a floating
10589 point number.
10590
10591 2000-12-07 Jeff Johnston <jjohnstn@redhat.com>
10592
10593 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
10594 Also removed \r's.
10595 (asctoeg): Replaced alloca call with stack array and malloc
10596 when storage exceeds reasonable limit.
10597 (e53toe): Fixed einfin calls missing ldp parameter.
10598 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
10599
10600 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
10601
10602
10603 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
10604
10605 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
10606
10607 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
10608 * libc/stdlib/Makefile.in: Regenerated.
10609 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
10610 * libc/stdio/vfieeefp.h: Added long double bit structures.
10611 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
10612 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
10613 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
10614 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
10615 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
10616 _strtold routines used for conversions between character
10617 and long double.
10618
10619 Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10620
10621 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
10622
10623 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10624
10625 * libc/include/machine/time.h: RTEMS systems can configure clock
10626 tick rate so use sysconf() to ask.
10627
10628 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10629
10630 * libc/include/sys/times.h: Add reference to POSIX standard.
10631
10632 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10633
10634 * libc/include/sys/time.h: Added BSD timer manipulation macros
10635 used by RTEMS code.
10636
10637 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10638
10639 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
10640 referenced by code generated by gcc 2.8.1.
10641 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
10642 satisfy gcc.
10643
10644 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10645
10646 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
10647
10648 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10649
10650 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
10651
10652 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10653
10654 * configure.host (or16, or32): New entries for OpenCores
10655 OpenRisc CPUs.
10656 (*-*-rtems*): Add -DNO_EXEC.
10657
10658 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
10659
10660 * libc/include/sys/errno.h: Added comments on many error numbers.
10661 * libc/string/strerror.c: Added some more strings.
10662
10663 2000-11-30 Jeff Johnston <jjohnstn@redhat.com>
10664
10665 * libc/sys/sh/syscalls.c (_link): New stub.
10666
10667 2000-11-29 Nick Clifton <nickc@redhat.com>
10668
10669 * configure.host: Add xscale target.
10670 * libc/machine/xscale: New directory.
10671 * libc/machine/xscale/Makefile.am: New file.
10672 * libc/machine/xscale/Makefile.in: New file.
10673 * libc/machine/xscale/aclocal.m4: New file.
10674 * libc/machine/xscale/configure: New file.
10675 * libc/machine/xscale/configure.in: New file.
10676 * libc/machine/xscale/memchr.S: New file.
10677 * libc/machine/xscale/memcmp.S: New file.
10678 * libc/machine/xscale/memcpy.S: New file.
10679 * libc/machine/xscale/memmove.S: New file.
10680 * libc/machine/xscale/memset.S: New file.
10681 * libc/machine/xscale/strchr.S: New file.
10682 * libc/machine/xscale/strcmp.S: New file.
10683 * libc/machine/xscale/strcpy.S: New file.
10684 * libc/machine/xscale/strlen.S: New file.
10685
10686 Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10687
10688 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
10689 avoid compiler warnings.
10690
10691 2000-11-22 Michael Meissner <meissner@redhat.com>
10692
10693 * libc/posix/execl.c (execl): Don't reference environ directly,
10694 reference it only via a static pointer to avoid problems with some
10695 shared library systems and with different uses of small data where
10696 the user specifies his own version of environ.
10697 * libc/posix/execv.c (execv): Ditto.
10698 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
10699 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
10700 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
10701
10702 * libc/stdlib/getenv.c (environ): Delete unused reference to
10703 environ.
10704
10705 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
10706 colorization.
10707 * libc/stdlib/system.c: Ditto.
10708
10709 Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
10710
10711 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
10712 including windows headers.
10713
10714 2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
10715
10716 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
10717 * libc/include/dirent.h: Added definition of MAXNAMLEN if
10718 not defined by sys/dirent.h.
10719 * libc/posix/execvp.c: Added include of dirent.h to get
10720 MAXNAMLEN value which used to be in unistd.h.
10721
10722 Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10723
10724 * libc/include/sys/types.h: Change type of i to `size_t' in
10725 FD_ZERO macro to avoid compiler warnings.
10726
10727 Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
10728
10729 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
10730 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
10731
10732 Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10733
10734 * libc/include/sys/unistd.h: Add defines for sysconf values
10735 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
10736 _SC_AVPHYS_PAGES.
10737
10738 Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
10739
10740 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
10741 declarations for __CYGWIN__.
10742
10743 2000-09-19 Geoffrey Keating <geoffk@cygnus.com>
10744
10745 * libc/signal/signal.c (__sigtramp_r): ISO C requires
10746 case labels to be integral constant expressions, so
10747 use an if/else tree instead.
10748 (_raise_r): Likewise.
10749
10750 2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
10751
10752 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
10753 clipping patch from e-mail reader.
10754
10755 2000-09-13 Will Cohen <wcohen@redhat.com>
10756
10757 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
10758 Added return value 0.
10759 (_longjmp): Allow longjmp to return value of second argument
10760 passed to it.
10761
10762 2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
10763
10764 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
10765 inline code to prevent having to include another header file.
10766
10767 Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
10768
10769 * Makefile.am: Fix space vs. tab problem in install-data-local.
10770 * Makefile.in: Regenerate.
10771
10772 Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
10773
10774 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
10775 (_EXPARM): New macro for defining a function parameter.
10776 * libc/include/stdlib.h: Use _EXPARM.
10777 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
10778
10779 2000-09-05 Manfred Hollstein <manfredh@redhat.com>
10780
10781 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
10782 required, as documented in the gnu coding standards.
10783 * Makefile.in: Regenerate.
10784
10785 2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
10786
10787 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
10788 make O_NDELAY and O_NONBLOCK have the same value.
10789
10790 2000-08-30 Kazu Hirata <kazu@hxi.com>
10791
10792 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
10793
10794 2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
10795
10796 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
10797 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
10798 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
10799 everywhere else.
10800
10801 2000-08-30 Geoffrey Keating <geoffk@cygnus.com>
10802
10803 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
10804 * libc/include/string.h: Don't include <sys/types.h>,
10805 as it causes really bad namespace pollution. Don't declare
10806 swab(), it is properly declared in unistd.h.
10807
10808 2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
10809
10810 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
10811 (broken) support for non-existent /etc/passwd field "comment".
10812
10813 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
10814
10815 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
10816 only if _DIRENT_HAVE_D_NAMLEN is defined.
10817 (alphasort): aligned prototype with
10818 libc/sys/cygwin/sys/dirent.h and simplified function body.
10819 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
10820 long telldir (DIR *) as mentioned in annex B of POSIX.1
10821
10822 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
10823
10824 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
10825 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
10826 Added __CLI and __STI macros (controlled via
10827 _I386MACH_ALLOW_HW_INTERRUPTS macro).
10828 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
10829 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
10830 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
10831 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
10832 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
10833 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
10834 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
10835 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
10836 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
10837 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
10838 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
10839 for all global entry points.
10840 * libc/machine/i386/setjmp.S: removed code replicated in
10841 libc/machine/i386/i386mach.h and included i386mach.h instead;
10842 Use __CLI and __STI instead of cli and sti.
10843
10844 2000-08-25 DJ Delorie <dj@redhat.com>
10845
10846 * libc/include/sys/unistd.h (environ): this one isn't from the
10847 DLL, no __IMPORT
10848
10849 Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
10850
10851 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
10852 environ when compiling under cygwin since it is already declared in
10853 unistd.h.
10854
10855 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
10856
10857 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
10858 like x << y-z to the equivalent x << (y-z).
10859 (d2b): changed if statements with assignment to perform the
10860 assignment prior to the if check.
10861 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
10862 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
10863 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
10864 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
10865 precedence.
10866 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
10867 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
10868 execve.c).
10869 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
10870 precedence.
10871 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
10872 clarify && and || precendence (and to remove pascalism).
10873 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
10874 * libm/math/s_infconst.c: added another pair of braces to all
10875 initializers for __infinity (need three: for __infinity[1] array,
10876 for union __dmath, and for i[2]).
10877
10878 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
10879
10880 * libc/stdlib/abort.c: changed description: uses "raise" instead of
10881 "getpid" and "kill"; added: uses "write" and "_exit".
10882 Also included unistd.h for "_exit" prototype.
10883 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
10884 reent.h for "_fork_r" and "_wait_r" prototypes.
10885 (do_system): changed extern char *environ[] to POSIX-friendly
10886 extern char **environ.
10887 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
10888 prototypes.
10889 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
10890 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
10891 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
10892 * libc/reent/openr.c: included fcntl.h for "open" prototype.
10893 * libc/reent/signalr.c: included signal.h for "kill" prototype,
10894 unistd.h for "getpid" prototype.
10895 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
10896 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
10897 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
10898 prototype. Also included stdlib.h for "abort", string.h for
10899 "strdup" and "strncmp" prototypes.
10900 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
10901 "strncpy", unistd.h for "read" and "close" prototypes.
10902 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
10903 "strcat" prototypes.
10904
10905 2000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
10906
10907 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
10908 used later (ifdef __SCLE)
10909 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
10910 used later (ifdef MB_CAPABLE)
10911 * libc/string/memset.c (memset): removed unused variables "count"
10912 and "unaligned_addr"
10913 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
10914 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
10915 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
10916 and "gid"
10917
10918 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
10919
10920 * libc/stdlib/envlock.c: changed documented "__env_lock" and
10921 "__env_unlock" prototype from "void *" or "char *" to
10922 "struct _reent *" to match real function. Also added include
10923 of envlock.h.
10924 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
10925 "__malloc_unlock" prototype from "void *" or "char *" to
10926 "struct _reent *" to match real function.
10927 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
10928 prototypes (for getenv_r.c and setenv_r.c).
10929
10930 2000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
10931
10932 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
10933 and prototype in cygwin's utmp.h
10934
10935 2000-08-16 Eric Fifer <efifer@sanwaint.com>
10936
10937 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
10938
10939 2000-08-09 Nick Clifton <nickc@cygnus.com>
10940
10941 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
10942 epilogue and to allow the functions to be used in a Thumb based
10943 toolchain.
10944
10945 2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
10946
10947 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
10948 so size of 0 results in nothing being written to string.
10949 Also fixed code so that when size is non-zero, there is only
10950 a maximum of size - 1 characters written to the array and
10951 a nul terminator is appended at the end.
10952 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
10953
10954 2000-08-01 DJ Delorie <dj@redhat.com>
10955
10956 * libc/include/sys/config.h: define __IMPORT appropriately
10957 * libc/include/ctype.h (_ctype_): use __IMPORT
10958 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
10959 * libc/include/math.h (__mb_cur_max): ditto
10960 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
10961 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
10962 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
10963 * libc/include/unistd.h (environ): ditto
10964
10965 2000-07-28 Michael Meissner <meissner@redhat.com>
10966
10967 * libc/include/math.h (__infinity): Declare as an array without
10968 bounds to get around small data support. Rewrite Cygwin support
10969 to be more general.
10970 * libm/math/s_infconst.c (__infinity): Ditto.
10971 * libm/mathfp/s_infconst.c (__infinity): Ditto.
10972
10973 Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
10974
10975 * libc/include/math.h: Use appropriate dll import linkage for
10976 __infinity under Cygwin.
10977
10978 2000-07-13 DJ Delorie <dj@cygnus.com>
10979
10980 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
10981
10982 Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
10983
10984 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
10985 to argument list for AngelSWI_Reason_GetCmdLine.
10986
10987 Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
10988
10989 * configure.host: Add support for AVR target.
10990 * libc/include/machine/ieeefp.h: Likewise.
10991 * libc/include/sys/config.h: Likewise.
10992
10993 Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
10994
10995 * README: Newlib 1.8.2 must be built in a separate directory
10996 than the sources.
10997
10998 Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10999
11000 * libc/include/sys/reent.h (_rand_next): Added __extension__
11001 qualifier as long long type is not strict ANSI.
11002 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
11003 to long long constant.
11004
11005 Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
11006
11007 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
11008 `setegid' provided by Cygwin.
11009
11010 Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
11011
11012 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
11013 account for Cygwin.
11014
11015 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11016
11017 * libc/include/sys/reent.h (_rand_next): Changed to
11018 unsigned long long and moved to end of _reent struct in _new union.
11019 (_REENT_INIT): Changed to move _rand_next initialization.
11020 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
11021 linear congruential algorithm that is used by DJGPP.
11022
11023 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
11024
11025 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
11026 * libc/include/sys/config.h: Define __RAND_MAX.
11027
11028 Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11029
11030 * libc/stdlib/rand_r.c: New algorithm that meets minimal
11031 standard.
11032
11033 Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
11034
11035 * libc/include/string.h: Work around problem with strsignal and gdb.
11036
11037 Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
11038
11039 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
11040 * libc/include/malloc.h: Ditto.
11041 * libc/include/process.h: Ditto.
11042 * libc/include/stdio.h: Ditto.
11043 * libc/include/stdlib.h: Ditto.
11044 * libc/include/time.h: Ditto.
11045 * libc/include/machine/setjmp.h: Ditto.
11046 * libc/include/sys/errno.h: Ditto.
11047 * libc/include/sys/signal.h: Ditto.
11048 * libc/include/sys/stat.h: Ditto.
11049 * libc/include/sys/time.h: Ditto.
11050 * libc/include/sys/unistd.h: Ditto.
11051 * libc/include/string.h: Ditto. strsignal should return a const char *.
11052
11053 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
11054
11055 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
11056 * libm/common/s_log1p.c (log1p): Likewise.
11057 * libm/common/s_scalbn.c (scalbn): Likewise.
11058 * libm/math/e_log.c: Likewise.
11059 * libm/math/e_asin.c: Likewise.
11060 * libm/math/ef_asin.c: Likewise.
11061 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
11062 * libm/math/e_j1.c (pone, qone): Likewise.
11063 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
11064 * libm/math/ef_j1.c (ponef, qonef): Likewise.
11065 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
11066 * libm/mathfp/e_j1.c (pone, qone): Likewise.
11067 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
11068 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
11069
11070 2000-05-19 DJ Delorie <dj@cygnus.com>
11071
11072 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
11073 (__sread): always read in binary mode
11074 (__swrite): always write in binary mode
11075 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
11076 compatibility issues with different dll versions
11077 * libc/stdio/fopen.c: use __stextmode
11078 * libc/stdio/fdopen.c: ditto
11079 * libc/stdio/freopen.c: ditto
11080 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
11081 * libc/stdio/local.h: declare __stextmode
11082
11083 2000-05-18 DJ Delorie <dj@cygnus.com>
11084
11085 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
11086
11087 Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11088
11089 * libc/include/ctype.h: Changed tolower and toupper macros
11090 to use __extension__ to prevent pedantic warnings.
11091
11092 Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
11093
11094 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
11095 structures.
11096
11097 Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
11098
11099 * libc/include/machine/ieeefp.h: Add ia64 support.
11100 * configure.host: Likewise.
11101
11102 Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
11103
11104 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
11105 month is now padded with space, not zero. This now conforms to
11106 ANSI standard.
11107
11108 Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
11109
11110 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
11111 host or network path") used by cygwin. Add some comments.
11112
11113 Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
11114
11115 * libc/include/stdio.h (FILE): define __SCLE for "convert line
11116 endings" for Cygwin.
11117 (__sgetc): convert line endings if needed
11118 (__sputc): ditto
11119 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
11120 * libc/stdio/fopen.c (_fopen_r): ditto
11121 * libc/stdio/freopen.c (freopen): ditto
11122 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
11123 * libc/stdio/fvwrite.c (__sfvwrite): ditto
11124
11125 Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
11126
11127 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
11128 post-increment when it is worth it, spacewise.
11129
11130 Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
11131
11132 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
11133 * libc/stdio/findfp.c (std): Added declaration of flags and file.
11134 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
11135 return type.
11136 * libc/stdio/putchar.c (putchar): Added return statement.
11137 * libc/stdio/refill.c (lflush): Added correct parentheses.
11138 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
11139 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
11140 prints long value to use l qualifier.
11141 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
11142 messages and initialized local values: ilim, ilim1, and spec_case.
11143 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
11144 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
11145 * libc/stdlib/mprec.c: Ditto.
11146 * libc/stdlib/setenv_r.c: Ditto.
11147 * libc/stdlib/strtod.c: Ditto.
11148 * libc/stdlib/strtol.c: Ditto.
11149 * libc/stdlib/strtoul.c: Ditto.
11150 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
11151 * libm/common/sf_log1p.c: Ditto.
11152 * libm/common/sf_scalbn.c: Ditto.
11153 * libm/math/ef_log.c: Ditto.
11154
11155 Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
11156
11157 * libc/posix/execvp.c (execvp): Check path for
11158 trailing slash.
11159
11160 Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
11161
11162 * libc/include/sys/unistd.h: Add prototypes for
11163 fchmod, fchown, lchown.
11164
11165 Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11166
11167 * acinclude.m4: Changed release to 1.8.2.
11168 * aclocal.m4 configure doc/aclocal.m4 doc/configure
11169 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
11170 libc/machine/configure libc/machine/a29k/aclocal.m4
11171 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
11172 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
11173 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
11174 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
11175 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
11176 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
11177 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
11178 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
11179 libc/machine/i386/configure libc/machine/i960/aclocal.m4
11180 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
11181 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
11182 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
11183 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
11184 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
11185 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
11186 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
11187 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
11188 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
11189 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
11190 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
11191 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
11192 libc/machine/v850/configure libc/machine/w65/aclocal.m4
11193 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
11194 libc/machine/z8k/configure libc/sys/aclocal.m4
11195 libc/sys/aclocal.m4 libc/sys/configure
11196 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11197 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
11198 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
11199 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11200 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11201 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11202 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11203 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11204 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11205 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11206 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11207 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
11208 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
11209 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
11210 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
11211 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
11212 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
11213 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
11214 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
11215 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
11216 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
11217 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
11218 libm/aclocal.m4 libm/configure: Regenerated.
11219
11220 2000-03-24 Nick Clifton <nickc@cygnus.com>
11221
11222 * libc/sys/arm/syscalls.c: Fix compile time warnings.
11223 (do_AngelSWI): Add "cc" to list o registers clobbered.
11224
11225 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
11226
11227 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
11228 information to be clobbered by an Angel C library support syscall.
11229
11230 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11231
11232 * libc/stdlib/envlock.c: Fixed comment typo.
11233
11234 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11235
11236 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
11237 code to update nread as each character is processed instead
11238 of using buffer contents which throw away leading zeroes.
11239
11240 Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
11241
11242 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
11243
11244 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
11245
11246 * libc/include/string.h: Include <sys/types.h>.
11247
11248 Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11249
11250 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
11251 with XSH5, not SVID.
11252
11253 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
11254
11255 * libc/include/string.h: Changed last argument back to ssize_t
11256 to make it compatible with XPG4 definition which is
11257 defined in <unistd.h>. There is a conflict in the SVID 3
11258 and XPG4 definitions and newlib will settle with XPG4.
11259 * libc/string/swab.c: Ditto.
11260
11261 Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
11262
11263 * libc/include/string.h: Changed last argument to size_t.
11264 * libc/string/swab.c: Changed last argument to size_t.
11265
11266 Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11267
11268 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
11269 (CHEWOUT_FILES): Added unlinkr.def.
11270 * libc/reent/Makefile.in: Rebuilt.
11271 * libc/sys.tex: Include unlinkr.def.
11272 * libc/reent/linkr.c (_unlink_r): Moved to...
11273 * libc/reent/unlinkr.c: ... new file.
11274
11275 Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11276
11277 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
11278 (CHEWOUT_FILES): Added swab.def.
11279 * libc/string/Makefile.in: Rebuilt.
11280 * libc/string/string.tex: Include swab.def.
11281 * libc/include/string.h (swab): Declare.
11282 * libc/string/swab.c: New file.
11283
11284 Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11285
11286 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
11287 (CHEWOUT_FILES): Added getw.def and putw.def.
11288 * libc/stdio/Makefile.in: Rebuilt.
11289 * libc/stdio/stdio.tex: Include getw.def and putw.def.
11290 * libc/stdio/getw.c: New file.
11291 * libc/stdio/putw.c: New file.
11292
11293 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
11294
11295 * libc/stdio/flags.c (__sflags): Added check that mode[1]
11296 is non-null before looking at mode[2].
11297
11298 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
11299
11300 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
11301 * libm/mathfp/sf_atan.c: Ditto.
11302
11303 Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
11304
11305 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
11306
11307 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
11308
11309 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
11310 _DOUBLE_IS_32BITS.
11311
11312 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
11313
11314 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
11315 call prior to calling _VFPRINTF_R so reentrant data area is set.
11316 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
11317
11318 Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11319
11320 * libc/stdio/vfscanf.c (limits.h): #include.
11321 (MAX_LONG_LEN): #define.
11322 (__svfscanf): Handle floating point numbers with arbitrary amounts
11323 of leading zeroes.
11324
11325 2000-02-15 Nick Clifton <nickc@cygnus.com>
11326
11327 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
11328 zero. Set the blocksize to 1024/
11329
11330 Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
11331
11332 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
11333 with line buffering.
11334
11335 Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11336
11337 * acinclude.m4: Changed include directory for winsup headers.
11338 * aclocal.m4 configure libc/aclocal.m4
11339 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
11340 libc/locale/Makefile.in libc/machine/aclocal.m4
11341 libc/machine/configure libc/machine/a29k/aclocal.m4
11342 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
11343 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
11344 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
11345 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
11346 libc/machine/fr30/configure
11347 libc/machine/h8300/aclocal.m4
11348 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
11349 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
11350 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
11351 libc/machine/i386/configure libc/machine/i960/aclocal.m4
11352 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
11353 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
11354 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
11355 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
11356 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
11357 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
11358 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
11359 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
11360 libc/machine/powerpc/configure
11361 libc/machine/sh/aclocal.m4
11362 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
11363 libc/machine/sparc/configure
11364 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
11365 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
11366 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
11367 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
11368 libc/misc/Makefile.in libc/posix/Makefile.in
11369 libc/reent/Makefile.in
11370 libc/signal/Makefile.in
11371 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
11372 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11373 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
11374 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
11375 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
11376 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11377 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11378 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11379 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11380 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11381 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11382 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11383 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11384 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
11385 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
11386 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
11387 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
11388 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
11389 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
11390 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
11391 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
11392 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
11393 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
11394 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
11395 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
11396 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
11397 libm/configure: Regenerated.
11398
11399 Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
11400
11401 * libc/stdlib/putenv_r.c (_putenv_r): New file.
11402 * libc/stdlib/strdup_r.c (_strdup_r): New file.
11403 * libc/include/string.h: Added _strdup_r.
11404 * libc/stdlib/putenv.c: Added call to reentrant version.
11405 * libc/stdlib/strdup.c: Ditto.
11406 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
11407 * libc/include/stdlib.h: Ditto.
11408 * libc/stdlib/Makefile.in: Regenerated.
11409 * libc/string/Makefile.in: Regenerated.
11410 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
11411 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
11412 management calls to reentrant versions.
11413 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
11414 * libc/stdlib/wctomb.c: Ditto.
11415 * libc/stdlib/mblen.c: Ditto.
11416 * libc/stdlib/mbstowcs.c: Ditto.
11417 * libc/stdlib/mbtowc.c: Ditto.
11418 * libc/stdlib/getenv.c: Ditto.
11419 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
11420 and _strdup_r.
11421
11422 Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
11423
11424 patch from Corinna Vinschen <corinna@vinschen.de>
11425 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
11426
11427 Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
11428
11429 * libm/mathfp/s_atangent.c: Fix exponent calculation.
11430 * libm/mathfp/s_ldexp.c: Ditto.
11431 * libm/mathfp/sf_atangent.c: Ditto.
11432 * libm/mathfp/sf_ldexp.c: Ditto.
11433
11434 Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11435
11436 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
11437 * libc/include/locale.h: define NULL to be 0.
11438
11439 Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
11440
11441 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
11442 function.
11443
11444 Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
11445
11446 * libc/machine/mn10300/setjmp.S: Handle am33.
11447
11448 1999-11-26 Nick Clifton <nickc@cygnus.com>
11449
11450 * libc/sys/arm/syscalls.c: Add function prototypes.
11451 (stack_ptr): Move declaration before function definitions.
11452
11453 Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11454
11455 * NEWS: Updated version information.
11456 * README: Ditto.
11457
11458 Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
11459
11460 * libc/machine/i386/strchr.S: Fixed alignment test.
11461
11462 Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
11463
11464 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
11465
11466 Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
11467
11468 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
11469 ensuring that there is space between the two.
11470
11471 Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
11472
11473 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
11474 only.
11475
11476 1999-10-08 Vadim Egorov <egorovv@1c.ru>
11477
11478 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
11479 section
11480
11481 Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
11482
11483 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
11484 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
11485
11486 Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
11487 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
11488 per POSIX 1003.1b.
11489 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
11490 per POSIX 1003.1b.
11491
11492 1999-09-13 DJ Delorie <dj@cygnus.com>
11493
11494 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
11495 also.
11496
11497 Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
11498
11499 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
11500 also note BUFSIZ as its size.
11501
11502 Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
11503
11504 * configure.host: Corrected feature defines for RTEMS.
11505 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
11506 * libc/include/sys/stat.h: mkfifo() should take const path arg.
11507 * libc/include/sys/unistd.h: pathconf() should take const path arg.
11508 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
11509 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
11510 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
11511 _PC_PRIO_IO, and _PC_SYNC_IO.
11512 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
11513 * libc/machine/m68k/Makefile.in: Regenerated.
11514 * libc/machine/m68k/strcpy.c: New file.
11515 * libc/machine/m68k/strlen.c: New file.
11516 * libc/stdio/tmpnam.c: Always make the returned name usable.
11517 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
11518 * libc/sys/rtems/sys/dirent.h: New file.
11519 * libc/sys/rtems/sys/types.h: Added dev_t.
11520
11521 Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
11522
11523 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
11524
11525 Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
11526
11527 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
11528 my patch.
11529
11530 Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
11531
11532 patch from Jeff Johnston <jjohnstn@cygnus.com>
11533 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
11534 buffer is not in a useful state.
11535
11536 1999-09-01 Nick Clifton <nickc@cygnus.com>
11537
11538 * libc/sys/arm/syscalls.c (_link): Add stub.
11539
11540 Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11541
11542 * ftell.c (ftell): Use actual position within buffer for text mode.
11543 * findfp.c (std): Initialize ptr->_bf._size.
11544
11545 Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
11546
11547 * libc/include/sys/unistd.h: Add nice() declaration.
11548
11549 1999-08-09 Nick Clifton <nickc@cygnus.com>
11550
11551 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
11552 declare as a thumb function so that the disassembler will see the
11553 mode change.
11554
11555 Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11556
11557 * libc/reent/reent.tex: Updated list of reentrant functions.
11558
11559 1999-07-09 Michael Meissner <meissner@cygnus.com>
11560
11561 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
11562
11563 Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
11564
11565 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
11566 separate file.
11567 * libc/stdio/snprintf.c: New file.
11568 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
11569 separate file.
11570 * libc/stdio/vsnprintf.c: New file.
11571 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
11572 * libc/stdio/Makefile.in: Regenerated.
11573
11574 Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
11575
11576 Patch submitted by Egor Duda <deo@logos-m.ru>:
11577 * libc/include/stdio.h: Add declarations for *nprintf.
11578 * libc/stdio/sprintf.c (snprintf): New function.
11579 (_snprintf_r): New function.
11580 * libc/stdio/vsprintf.c (vsnprintf): New function.
11581 (_vnsprintf_r): New function.
11582
11583 Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
11584
11585 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
11586 * libm/Makefile.am (stmp-targetdep): Ditto.
11587 * libc/Makefile.in: Regenerated.
11588 * libm/Makefile.in: Ditto.
11589
11590 Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
11591
11592 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
11593 * libm/Makefile.am (stmp-targetdep): Ditto.
11594 * libc/Makefile.in: Regenerated.
11595 * libm/Makefile.in: Ditto.
11596
11597 Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
11598
11599 * Makefile.am: Removed dependencies on all-recursive and added "."
11600 to the SUBDIRS list to prevent infinite recursion from occurring.
11601 Also removed any references to EXTRA_DATA.
11602 * libc/Makefile.am: Ditto.
11603 * libc/machine/Makefile.am: Ditto.
11604 * libc/machine/i386/Makefile.am: Ditto.
11605 * libm/Makefile.am: Ditto.
11606 * libc/sys/Makefile.am: Ditto.
11607 * Makefile.in: Regenerated.
11608 * aclocal.m4: Ditto.
11609 * configure: Ditto.
11610 * doc/Makefile.in: Ditto.
11611 * doc/aclocal.m4: Ditto.
11612 * doc/configure: Ditto.
11613 * libc/Makefile.in: Ditto.
11614 * libc/aclocal.m4: Ditto.
11615 * libc/configure: Ditto.
11616 * libc/machine/Makefile.in: Ditto.
11617 * libc/machine/aclocal.m4: Ditto.
11618 * libc/machine/configure: Ditto.
11619 * libc/machine/mn10300/Makefile.in: Ditto.
11620 * libc/machine/mn10300/aclocal.m4: Ditto.
11621 * libc/machine/mn10300/configure: Ditto.
11622 * libc/sys/Makefile.in: Ditto.
11623 * libc/sys/aclocal.m4: Ditto.
11624 * libc/sys/configure: Ditto.
11625 * libm/Makefile.in: Ditto.
11626 * libm/aclocal.m4: Ditto.
11627 * libm/configure: Ditto.
11628
11629 Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11630
11631 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
11632
11633 Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11634
11635 * libc/include/stdlib.h: Add reentrant routines.
11636 * libc/stdlib/Makefile.am: Add reentrant routines.
11637 * libc/stdlib/Makefile.in: Ditto.
11638 * libc/stdlib/envlock.c: New file.
11639 * libc/stdlib/envlock.h: New file.
11640 * libc/stdlib/getenv.c: Modify to call reentrant routine.
11641 * libc/stdlib/getenv_r.c: New file.
11642 * libc/stdlib/mblen.c: Modify to call reentrant routine.
11643 * libc/stdlib/mblen_r.c: New file.
11644 * libc/stdlib/setenv.c: Modify to call reentrant routine.
11645 * libc/stdlib/setenv_r.c: New file.
11646 * libc/stdlib/stdlib.tex: Add reentrant routines.
11647
11648 Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
11649
11650 * libc/include/sys/types.h: Define __MS_types__ whenever
11651 cygwin or win32.
11652
11653 Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
11654
11655 * libc/include/machine/ieeefp.h: Always default to little
11656 endian if Windows, regardless of architecture.
11657 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
11658 regardless of architecture.
11659
11660 Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
11661
11662 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
11663 _WIN32 isn't defined.
11664
11665 Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
11666
11667 * libm/common/s_rint.c (rint): Add volatile qualifier for
11668 intermediate value w.
11669 * libm/common/sf_rint.c (rintf): Ditto.
11670
11671 Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
11672
11673 * libc/sys/arm/syscalls.c (remap_handle): Added check to
11674 ensure that std streams are initialized before being referenced.
11675
11676 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
11677
11678 * README: Update reference to newlib@cygnus.com new
11679 newlib@sourceware.cygnus.com address.
11680
11681 Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
11682
11683 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
11684 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
11685 defined, even if _WIN32 isn't defined.
11686
11687 Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
11688
11689 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
11690
11691 Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11692
11693 * libc/include/sys/reent.h: Change Long and ULong to __Long and
11694 __ULong.
11695 * libc/stdlib/dtoa.c: Ditto.
11696 * libc/stdlib/mprec.c: Ditto.
11697 * libc/stdlib/mprec.h: Ditto.
11698 * libc/stdlib/strtod.c: Ditto.
11699
11700 1999-04-21 Nick Clifton <nickc@cygnus.com>
11701
11702 * configure.host (mcore): Remove mcore machine directory.
11703
11704 1999-04-18 Nick Clifton <nickc@cygnus.com>
11705
11706 * libc/include/machine/ieeefp.h: Add support for mcore target.
11707 * libc/include/machine/setjmp.h: Add support for mcore target.
11708 * configure.host: Add support for mcore target.
11709
11710 1999-04-13 Mark Salter <msalter@cygnus.com>
11711
11712 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
11713 * libc/sys/arm/syscalls.c: Added isatty.
11714
11715 Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11716
11717 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
11718 insert zeroes after significant digits.
11719
11720 Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11721
11722 * libc/stdio/vfprintf.c (cvt): Changed floating point
11723 cvt routine to use union used by dtoa to properly determine
11724 if the sign bit is on or not.
11725 * libc/stdio/vfieeefp.h: New file
11726
11727 Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11728
11729 * aclocal.m4: Regenerated.
11730 * configure: Regenerated.
11731
11732 Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11733
11734 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
11735 f_tanf reference.
11736 * libc/machine/i386/Makefile.in: Regenerated.
11737
11738 Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
11739
11740 * acinclude.m4: Changed to work with new automake.
11741 * configure: Regenerated.
11742 * libc/machine/i386/aclocal.m4: Regenerated.
11743 * libc/machine/i386/configure: Regenerated.
11744
11745 Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
11746
11747 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
11748 for telldir() and seekdir(). Rename unused structure element
11749 for use with these two routines.
11750
11751 Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
11752
11753 * libc/time/mktime.c (validate_structure): Multiple fixes to
11754 code to handle cases where input fields are outside valid ranges.
11755 * libc/stdlib/div.c (div): Modified invalid rounding check.
11756 * libc/stdlib/ldiv.c (ldiv): Ditto.
11757
11758 Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
11759
11760 * libc/machine/i386/memcpy.S: Performance rewrite.
11761 * libc/machine/i386/memmove.S: Ditto.
11762 * libc/machine/i386/i386mach.h: Added more register definitions.
11763 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
11764 option used.
11765 * libc/include/machine/fastmath.h: Add definitions for x86
11766 fast-math routines.
11767
11768 Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11769
11770 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
11771
11772 Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
11773
11774 Adjust newlib headers for new Cygwin Win32 API header files:
11775 * libc/include/sys/time.h: Check _WINSOCK_H rather than
11776 _GNU_H_WINDOWS32_SOCKETS.
11777 * libc/include/sys/types.h: Ditto.
11778
11779 Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11780
11781 *include/sys/reent.h: Add checks for size of Bigint element Long.
11782 *libc/dtoa.c: Change routines to use generic Long type.
11783 *libc/mprec.c: Change routines to use generic Long type.
11784 *libc/mprec.h: Change routines to use generic Long type.
11785
11786 Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
11787
11788 * libc/Makefile.am: Add .def files.
11789 * libc/Makefile.in: Regenerate.
11790 * libc/e_acosh.c: Documentation update.
11791 * libc/e_atanh.c: Documentation update.
11792 * libc/e_hypot.c: Documentation update.
11793 * libc/e_remainder.c: Documentation update.
11794 * libc/er_lgamma.c: Documentation update.
11795 * libc/mathfp.tex: Documentation update.
11796 * libc/s_acos.c: Documentation update.
11797 * libc/s_atan.c: Documentation update.
11798 * libc/s_atan2.c: Documentation update.
11799 * libc/s_cosh.c: Documentation update.
11800 * libc/s_fmod.c: Documentation update.
11801 * libc/s_isnan.c: Documentation update.
11802 * libc/s_log10.c: Documentation update.
11803 * libc/s_pow.c: Documentation update.
11804 * libc/w_jn.c: Documentation update.
11805
11806 Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
11807
11808 * aclocal.m4: Regenerate.
11809 * configure: Regenerate.
11810
11811 Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
11812
11813 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
11814 to return 1 if user specified return code is 0.
11815 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
11816
11817 Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
11818
11819 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
11820 to save the return address. Fixed longjmp to return to the original
11821 calling address of setjmp and to return the user specified return code
11822 rather than default to 1.
11823 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
11824
11825 Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
11826
11827 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
11828
11829 1999-02-10 Nick Clifton <nickc@cygnus.com>
11830
11831 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
11832 volatile so that its assignments will not be discarded.
11833
11834 Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
11835
11836 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
11837 be __STRICT_ANSI__ which is generated by compiler.
11838 * libc/include/ctype.h: Ditto.
11839 * libc/include/math.h: Ditto.
11840 * libc/include/stdio.h: Ditto.
11841 * libc/include/stdlib.h: Ditto.
11842 * libc/include/string.h: Ditto.
11843 * libc/include/sys/signal.h: Ditto.
11844
11845 1999-02-08 Nick Clifton <nickc@cygnus.com>
11846
11847 * configure.host: Add support for StrongARM target.
11848
11849 Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
11850
11851 * libc/string/strncpy.c (strncpy): Removed redundant code
11852 that was copying bytes if data unaligned.
11853
11854 1999-02-02 Brendan Kehoe <brendan@cygnus.com>
11855
11856 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
11857 mbstowcs.def, and wcstombs.def.
11858
11859 Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
11860
11861 * libc/include/sys/errno.h: Add Cygwin errno.
11862 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
11863 is specified.
11864
11865 1999-01-29 Nick Clifton <nickc@cygnus.com>
11866
11867 * libc/sys/arm/syscalls.c: Move C library functions into seperate
11868 file.
11869
11870 * libc/sys/arm/libcfunc.c: New file containing C library functions
11871 from syscalls.c
11872
11873 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
11874 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
11875
11876
11877 1999-01-27 Michael Meissner <meissner@cygnus.com>
11878
11879 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
11880 type, and cut size in half so that the jmp_buf array is guaranteed
11881 to be aligned on a 64-bit boundary.
11882
11883 Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
11884
11885 * libc/string/strings.tex: Added information about
11886 strcasecmp and strncasecmp.
11887 * libc/stdlib/stdlib.tex: Added missing information
11888 about mblen, mbstowcs, and wcstombs.
11889 * libc/string/strchr.c: Changed how mask is built to use
11890 shift operators so register will be used instead of storage.
11891
11892 1999-01-22 DJ Delorie <dj@cygnus.com>
11893
11894 * libc/include/stdlib.h: don't use dllimport if we're building
11895 newlib, since it's inside cygwin.dll
11896
11897 Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
11898
11899 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
11900 _ctype_ under cygwin.
11901
11902 Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
11903
11904 * include/stdlib.h: Fix typo from previous checkin.
11905
11906 Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
11907
11908 * include/ctype.h: Use __declspec(dllimport) method for exporting
11909 variable from cygwin DLL.
11910 * include/time.h: Ditto.
11911 * sys/errno.h: Ditto.
11912 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
11913 * libc/locale/locale.c: Use __declspec(dllexport) method for
11914 exporting variable from cygwin DLL.
11915
11916 Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
11917
11918 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
11919 access of bogus pointer will result in SIGSEGV.
11920
11921 1999-01-07 Nick Clifton <nickc@cygnus.com>
11922
11923 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
11924 of an underscore prefix to function names.
11925
11926 Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
11927
11928 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
11929 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
11930
11931 1998-12-31 Michael Meissner <meissner@cygnus.com>
11932
11933 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
11934 to `%' if not already defined.
11935
11936 1998-12-30 Michael Meissner <meissner@cygnus.com>
11937
11938 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
11939 arguments const char *, not char *.
11940 * libc/include/stdio.h (_tempnam_r): Ditto.
11941
11942 * libc/include/sys/reent.h (struct _reent): The _sig_func type
11943 points to a function taking an integer, not void.
11944
11945 Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
11946
11947 * configure.host: Add a define for Cygwin builds.
11948 * libc/include/ctype.h: Don't use dll imported variables in newlib.
11949
11950 Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
11951
11952 * libc/include/ctype.h: Define _ctype_ as dll imported variable
11953 for use with Cygwin.
11954 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
11955 dll imported variables for use with Cygwin.
11956 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
11957 as a dll imported variable for Cygwin.
11958
11959 Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
11960
11961 * libc/include/sys/unistd.h: Add proto for getpass.
11962
11963 Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
11964
11965 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
11966 alphasort.
11967
11968 Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
11969
11970 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
11971 not posix_path_list_p.
11972
11973 1998-12-15 Nick Clifton <nickc@cygnus.com>
11974
11975 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
11976 a signed int.
11977
11978 1998-12-13 Nick Clifton <nickc@cygnus.com>
11979
11980 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
11981
11982 1998-12-12 Nick Clifton <nickc@cygnus.com>
11983
11984 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
11985 <msalter@cygnus.com>
11986 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
11987 * libc/machine/fr30/Makefile.in: Regenerated.
11988
11989 1998-12-11 Nick Clifton <nickc@cygnus.com>
11990
11991 * configure.host: Remove use of libc/sys for FR30 port.
11992 * libc/sys/fr30: Remove directory (replaced by libgloss).
11993
11994 1998-12-10 Ken Raeburn <raeburn@cygnus.com>
11995
11996 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
11997 * libc/string/strncat.c (ALIGNED): Ditto.
11998
11999 Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
12000
12001 * libc/include/sys/time.h: include sys/types.h
12002
12003 Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
12004
12005 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
12006 comparison found when checking word at a time.
12007
12008 1998-12-04 Nick Clifton <nickc@cygnus.com>
12009
12010 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
12011
12012 1998-12-03 Nick Clifton <nickc@cygnus.com>
12013
12014 * libc/sys/fr30/syscalls.c (_times): New function stub.
12015
12016 Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
12017
12018 * configure.host (mach_add_setjmp): Replaced mach_add_objs
12019 with mach_add_setjmp flag which indicates if setjmp should
12020 be added to the machine directory objects.
12021 * acinclude.m4: Removed reference to mach_add_objs.
12022 * aclocal.m4: Regenerated.
12023 * Makefile.in: Regenerated.
12024 * configure: Regenerated.
12025 * libc/aclocal.m4: Regenerated.
12026 * libc/Makefile.in: Regenerated.
12027 * libc/configure: Regenerated.
12028 * libc/machine/aclocal.m4: Regenerated.
12029 * libc/machine/Makefile.in: Regenerated.
12030 * libc/machine/configure: Regenerated.
12031 * libc/machine/i386/aclocal.m4: Regenerated.
12032 * libc/machine/i386/Makefile.am: Altered to selectively add
12033 setjmp.S to the src files list.
12034 * libc/machine/i386/Makefile.in: Regenerated.
12035 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
12036 * libc/machine/i386/configure: Regenerated.
12037
12038 1998-12-02 Nick Clifton <nickc@cygnus.com>
12039
12040 * libc/sys/fr30/crt0.s (_start): Fix function names.
12041
12042 * libc/machine/fr30: New directory
12043 * libc/machine/fr30/Makefile.am: New file.
12044 * libc/machine/fr30/Makefile.in: New generated file.
12045 * libc/machine/fr30/configure.in: New file.
12046 * libc/machine/fr30/configure: New generated file.
12047 * libc/machine/fr30/aclocal.m4: New generated file.
12048 * libc/sys/fr30/Makefile.am: New file.
12049 * libc/sys/fr30/Makefile.in: New generated file.
12050 * libc/sys/fr30/configure.in: New file.
12051 * libc/sys/fr30/configure: New generated file.
12052 * libc/sys/fr30/syscalls.c: New file.
12053
12054 Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
12055
12056 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
12057
12058 1998-12-01 Ken Raeburn <raeburn@cygnus.com>
12059
12060 * libc/time/strftime.c (strftime): Also handle %y for years before
12061 1900.
12062
12063 Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
12064
12065 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
12066 UNIX convention. Perform tolower on characters before comparing
12067 them rather than use toupper.
12068 * libc/string/strncasecmp.c (strncasecmp): Ditto.
12069
12070 Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
12071
12072 * configure.host: Added using i386 machine directory
12073 for all x86 cross-compiler and configuring
12074 which added object files to use via new "mach_add_objs" variable.
12075 * configure: Regenerated.
12076 * libc/configure: Regenerated.
12077 * libc/Makefile.in: Regenerated.
12078 * libc/aclocal.m4: Regenerated.
12079 * libc/ctype/Makefile.in: Regenerated.
12080 * libc/errno/Makefile.in: Regenerated.
12081 * libc/locale/Makefile.in: Regenerated.
12082 * libc/machine/Makefile.in: Regenerated.
12083 * libc/machine/aclocal.m4: Regenerated.
12084 * libc/machine/configure: Regenerated.
12085 * libc/posix/Makefile.in: Regenerated.
12086 * libc/reent/Makefile.in: Regenerated.
12087 * libc/signal/Makefile.in: Regenerated.
12088 * libc/stdio/Makefile.in: Regenerated.
12089 * libc/stdlib/Makefile.in: Regenerated.
12090 * libc/string/Makefile.in: Regenerated.
12091 * libc/string/memmove.c: Optimized code to use memcpy
12092 logic when performing a non-destructive copy.
12093 * libc/string/strncmp.c: Altered code to allow building
12094 optimized for size or speed.
12095 * libc/syscalls/Makefile.in: Regenerated.
12096 * libc/time/Makefile.in: Regenerated.
12097 * libc/unix/Makefile.in: Regenerated.
12098 * libc/machine/i386/Makefile.am: Added new files and reference
12099 to "mach_add_objs" to indicate optional object files.
12100 * libc/machine/i386/Makefile.in: Regenerated.
12101 * libc/machine/i386/aclocal.m4: Regenerated.
12102 * libc/machine/i386/configure: Regenerated.
12103 * libc/machine/i386/memchr.S: New file that implements
12104 function in Intel assembler.
12105 * libc/machine/i386/memcmp.S: ditto.
12106 * libc/machine/i386/memcpy.S: ditto.
12107 * libc/machine/i386/memmove.S: ditto.
12108 * libc/machine/i386/memset.S: ditto.
12109 * libc/machine/i386/strchr.S: ditto.
12110 * libc/machine/i386/strlen.S: ditto.
12111 * libc/machine/i386/f_atan2.S: New file that implements
12112 fast version of math function to be used by compiler when
12113 --ffast_math compile option is used.
12114 * libc/machine/i386/f_atan2f.S: ditto.
12115 * libc/machine/i386/f_exp.c: ditto.
12116 * libc/machine/i386/f_expf.c: ditto.
12117 * libc/machine/i386/f_frexp.S: ditto.
12118 * libc/machine/i386/f_frexpf.S: ditto.
12119 * libc/machine/i386/f_ldexp.S: ditto.
12120 * libc/machine/i386/f_ldexpf.S: ditto.
12121 * libc/machine/i386/f_log.S: ditto.
12122 * libc/machine/i386/f_logf.S: ditto.
12123 * libc/machine/i386/f_log10.S: ditto.
12124 * libc/machine/i386/f_log10f.S: ditto.
12125 * libc/machine/i386/f_math.h: New file.
12126 * libc/machine/i386/f_pow.c: ditto.
12127 * libc/machine/i386/f_powf.S: ditto.
12128 * libc/machine/i386/f_tan.S: ditto.
12129 * libc/machine/i386/f_tan.S: ditto.
12130 * libc/machine/i386/i386mach.h: New file.
12131
12132 Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
12133
12134 patch from Mumit Khan <khan@xraylith.wisc.edu>
12135 * libc/include/stdio.h (tempnam): Add prototype.
12136 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
12137 (tempnam): Adhere to prototype.
12138
12139 Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
12140
12141 * Makefile.am: Add default for AR_FLAGS.
12142 * Makefile.in: Regenerate.
12143
12144 Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
12145
12146 * libc/include/time.h: move __cplusplus wrapper after includes
12147 * libc/include/sys/time.h: ditto. If Cygwin, include
12148 sys/select.h.
12149 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
12150
12151 1998-11-23 Ken Raeburn <raeburn@cygnus.com>
12152
12153 * libc/time/strftime.c (strftime): Handle %y after year 2000.
12154
12155 Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
12156
12157 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
12158 abnormnal end-of-crt0 marker.
12159
12160 Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
12161
12162 * libc/sys/fr30/crt0.s: New file/directory.
12163 * libc/include/machine/setjmp.h: Add FR30 target.
12164 * libc/include/machine/ieeefp.h: Add FR30 target.
12165 * configure.host: Add FR30 target.
12166
12167 Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12168
12169 * libm/math: Files that are duplicated in common directory removed.
12170 * libm/math/fdlibm.h: Removed.
12171 * libm/math/s_cbrt.c: Removed.
12172 * libm/math/s_copysign.c: Removed.
12173 * libm/math/s_expm1.c: Removed.
12174 * libm/math/s_finite.c: Removed.
12175 * libm/math/s_ilogb.c: Removed.
12176 * libm/math/s_infinity.c: Removed.
12177 * libm/math/s_lib_ver.c: Removed.
12178 * libm/math/s_log1p.c: Removed.
12179 * libm/math/s_logb.c: Removed.
12180 * libm/math/s_matherr.c: Removed.
12181 * libm/math/s_modf.c: Removed.
12182 * libm/math/s_nan.c: Removed.
12183 * libm/math/s_nextafter.c: Removed.
12184 * libm/math/s_rint.c: Removed.
12185 * libm/math/s_scalbn.c: Removed.
12186 * libm/math/sf_cbrt.c: Removed.
12187 * libm/math/sf_copysign.c: Removed.
12188 * libm/math/sf_expm1.c: Removed.
12189 * libm/math/sf_finite.c: Removed.
12190 * libm/math/sf_ilogb.c: Removed.
12191 * libm/math/sf_infinity.c: Removed.
12192 * libm/math/sf_log1p.c: Removed.
12193 * libm/math/sf_logb.c: Removed.
12194 * libm/math/sf_modf.c: Removed.
12195 * libm/math/sf_nan.c: Removed.
12196 * libm/math/sf_nextafter.c: Removed.
12197 * libm/math/sf_rint.c: Removed.
12198 * libm/math/sf_scalbn.c: Removed.
12199 * libm/math/Makefile.am: Removed references to deleted files (above).
12200 * libm/math/Makefile.in: Regenerated.
12201 * libm/Makefile.am: Added common directory to math.
12202 * libm/Makefile.in: Regenerated.
12203
12204 Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12205
12206 * libm/mathfp: Add non-ANSI functions.
12207 * libm/mathfp/e_acosh.c acosh(): New file.
12208 * libm/mathfp/e_atanh.c atanh(): New file.
12209 * libm/mathfp/e_hypot.c hypot(): New file.
12210 * libm/mathfp/e_j0.c j0(): New file.
12211 * libm/mathfp/e_j1.c j1(): New file.
12212 * libm/mathfp/e_remainder.c remainder(): New file.
12213 * libm/mathfp/e_scalb.c scalb(): New file.
12214 * libm/mathfp/ef_acosh.c acoshf(): New file.
12215 * libm/mathfp/ef_atanh.c atanhf(): New file.
12216 * libm/mathfp/ef_hypot.c hypotf(): New file.
12217 * libm/mathfp/ef_j0.c j0f(): New file.
12218 * libm/mathfp/ef_j1.c j1f(): New file.
12219 * libm/mathfp/ef_remainder.c remainderf(): New file.
12220 * libm/mathfp/ef_scalb.c scalbf(): New file.
12221 * libm/mathfp/er_gamma.c gamma_r: New file.
12222 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
12223 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
12224 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
12225 * libm/mathfp/w_cabs.c cabs(): New file.
12226 * libm/mathfp/w_drem.c drem(): New file.
12227 * libm/mathfp/w_jn.c jn(): New file.
12228 * libm/mathfp/wf_cabs.c cabsf(): New file.
12229 * libm/mathfp/wf_drem.c dremf(): New file.
12230 * libm/mathfp/wf_jn.c jnf(): New file.
12231
12232 Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
12233
12234 * libc/sys/cygwin32: remove directory and contents
12235 * libc/sys/cygwin: and add back, losing the "32".
12236 * configure.host: check for cygwin* instead of cygwin32.
12237 * acinclude.m4: ditto.
12238 * aclocal.m4: regenerate with aclocal
12239 * configure: regenerate with autoconf
12240
12241 Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
12242
12243 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
12244 for length
12245
12246 Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12247
12248 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
12249 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
12250 to make rand/srand, strtok, asctime, localtime, w_gamma,
12251 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
12252 time.h to bring in struct tm definition.
12253 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
12254 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
12255 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
12256 instead of static variable.
12257 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
12258 struct reent instead of static variable.
12259 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
12260 struct reent instead of static variable.
12261 * libm/math/Makefile.am: Removed s_signgam.o.
12262 * libm/math/Makefile.in: Regenerated.
12263 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
12264 struct reent instead of global variable 'signgam'.
12265 * libm/math/w_lgamma.c (lgamma): Likewise.
12266 * libm/math/wf_gamma.c (gammaf): Likewise.
12267 * libm/math/wf_lgamma.c (lgammaf): Likewise.
12268 * libm/math/s_signgam.c: Removed.
12269 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
12270 to be const.
12271 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
12272 to be const.
12273 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
12274 libc/include/reent.h.
12275 * libc/reent/Makefile.in: Regenerated.
12276 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
12277 to be const.
12278 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
12279 'JIS_action_table' to be const.
12280 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
12281
12282 Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
12283
12284 * acinclude.m4: $with_target_subdir should default to '.'
12285 or confusion results when configuring in same directory as sources.
12286 * Regenerate all aclocal.m4 and configure files.
12287
12288 Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
12289
12290 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
12291 can be set by defining MALLOC_ALIGNMENT=16. Also added support
12292 for platforms where sizeof(size_t) < sizeof(long) via
12293 SIZE_T_SMALLER_THAN_LONG macro.
12294
12295 Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
12296
12297 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
12298 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
12299 which sets _CLOCKS_PER_SEC_ for selected machines.
12300 * libc/include/machine/time.h: New file.
12301
12302 Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12303
12304 * libc/syscalls/sysexecve.c: New file.
12305 * libc/syscalls/sysgettod.c: New file.
12306 * libc/syscalls/systimes.c: New file.
12307 * libc/syscalls/Makefile.am: Added new objects.
12308 * libc/syscalls/Makefile.in: Regenerated.
12309 * libc/include/_syslist.h (_execve): Moved define in file.
12310 * libc/include/reent.h: Added _execve_r declaration.
12311 * libc/Makefile.in: Regenerated.
12312 * libc/ctype/Makefile.in: Regenerated.
12313 * libc/errno/Makefile.in: Regenerated.
12314 * libc/locale/Makefile.in: Regenerated.
12315 * libc/machine/Makefile.in: Regenerated.
12316 * libc/misc/Makefile.in: Regenerated.
12317 * libc/posix/Makefile.in: Regenerated.
12318 * libc/reent/Makefile.in: Regenerated.
12319 * libc/reent/execr.c (_execve_r): Added _execve_r function.
12320 * libc/signal/Makefile.in: Regenerated.
12321 * libc/stdio/Makefile.in: Regenerated.
12322 * libc/time/Makefile.in: Regenerated.
12323 * libc/unix/Makefile.in: Regenerated.
12324 * libm/mathfp/Makefile.in: Regenerated.
12325
12326 Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12327
12328 * libc/string/Makefile.in: Regenerated.
12329 * libc/string/memchr.c (memchr): Moved code to reduce object size.
12330 * libc/string/memcpy.c (memcpy): Ditto.
12331 * libc/string/memcmp.c (memcmp): Ditto.
12332 * libc/string/memset.c (memset): Ditto.
12333 * libc/string/strchr.c (strchr): Ditto.
12334 * libc/string/strcmp.c (strcmp): Ditto.
12335 * libc/string/strcpy.c (strcpy): Ditto.
12336 * libc/string/strlen.c (strlen): Ditto.
12337
12338 Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12339
12340 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
12341 to generate aclocal.m4.
12342 * libm/Makefile.in: Regenerated.
12343 * libm/aclocal.m4: Regenerated.
12344 * libm/configure: Regenerated.
12345 * libm/math/Makefile.in: Regenerated.
12346 * libm/mathfp/Makefile.in: Regenerated.
12347
12348 1998-09-25 Mark Salter <msalter@cygnus.com>
12349
12350 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
12351 by adding leading and trailing underscores to symbol names.
12352
12353 Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
12354
12355 * Makefile.in: Add default for AR_FLAGS.
12356
12357 Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
12358
12359 patch from ian@airs.com (Ian Taylor):
12360 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
12361 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
12362 is needed for detecting the build machine. Required for
12363 cygwin native builds.
12364
12365 * Regenerate all aclocal.m4 and configure files.
12366
12367 Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
12368
12369 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
12370 used to start with LC.
12371
12372 Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12373
12374 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
12375 (longjmp): Likewise.
12376
12377 Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12378
12379 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
12380 the test for small number of bytes.
12381
12382 Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12383
12384 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
12385 math library that uses floating point algorithms instead of the old
12386 libm.
12387 * Makefile.in: Regenerate with automake version 1.3b.
12388 * configure: Rebuild.
12389 * libm/Makefile.in: Regenerate with automake version 1.3b.
12390 * libm/aclocal.m4: Regenerate.
12391 * libm/configure: Rebuild.
12392 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
12393 * libm/acinclude.m4: Define macros for configure.in.
12394 * libm/config.h.in: Generate.
12395 * libm/mathfp/Makefile.am: New file.
12396 * libm/mathfp/Makefile.in: Generate.
12397 * libm/mathfp/s_acos.c (acos): New file.
12398 * libm/mathfp/s_asin.c (asin): New file.
12399 * libm/mathfp/s_asine.c (asine): New file.
12400 * libm/mathfp/s_atan.c (atan): New file.
12401 * libm/mathfp/s_atan2.c (atan2): New file.
12402 * libm/mathfp/s_atangent.c (atangent): New file.
12403 * libm/mathfp/s_ceil.c (ceil): New file.
12404 * libm/mathfp/s_copysign.c (copysign): New file.
12405 * libm/mathfp/s_cos.c (cos): New file.
12406 * libm/mathfp/s_cosh.c (cosh): New file.
12407 * libm/mathfp/s_exp.c (exp): New file.
12408 * libm/mathfp/s_fabs.c (fabs): New file.
12409 * libm/mathfp/s_finite.c (finite): New file.
12410 * libm/mathfp/s_floor.c (floor): New file.
12411 * libm/mathfp/s_fmod.c (fmod): New file.
12412 * libm/mathfp/s_frexp.c (frexp): New file.
12413 * libm/mathfp/s_infconst.c: New file.
12414 * libm/mathfp/s_isinf (isinf).c: New file.
12415 * libm/mathfp/s_isnan.c (isnan): New file.
12416 * libm/mathfp/s_ispos.c (ispos): New file.
12417 * libm/mathfp/s_ldexp.c (ldexp): New file.
12418 * libm/mathfp/s_log.c (log): New file.
12419 * libm/mathfp/s_log10.c (log10): New file.
12420 * libm/mathfp/s_logarithm.c (logarithm): New file.
12421 * libm/mathfp/s_mathcnst.c: New file.
12422 * libm/mathfp/s_modf (modf).c: New file.
12423 * libm/mathfp/s_numtest.c (numtest): New file.
12424 * libm/mathfp/s_pow.c (pow): New file.
12425 * libm/mathfp/s_scalbn.c (scalbn): New file.
12426 * libm/mathfp/s_sin (sin).c: New file.
12427 * libm/mathfp/s_sine.c (sine): New file.
12428 * libm/mathfp/s_sineh.c (sineh): New file.
12429 * libm/mathfp/s_sinf.c (sinf): New file.
12430 * libm/mathfp/s_sinh.c (sinh): New file.
12431 * libm/mathfp/s_sqrt.c (sqrt): New file.
12432 * libm/mathfp/s_tan.c (tan): New file.
12433 * libm/mathfp/s_tanh.c (tanh): New file.
12434 * libm/mathfp/sf_acos.c (acosf): New file.
12435 * libm/mathfp/sf_asin.c (asinf): New file.
12436 * libm/mathfp/sf_asine.c (asinef): New file.
12437 * libm/mathfp/sf_atan.c (atanf): New file.
12438 * libm/mathfp/sf_atan2.c (atan2f): New file.
12439 * libm/mathfp/sf_atangent.c (atangent): New file.
12440 * libm/mathfp/sf_ceil.c (ceilf): New file.
12441 * libm/mathfp/sf_copysign.c (copysignf): New file.
12442 * libm/mathfp/sf_cos.c (cosf): New file.
12443 * libm/mathfp/sf_cosh.c (coshf): New file.
12444 * libm/mathfp/sf_exp.c (expf): New file.
12445 * libm/mathfp/sf_fabs.c (fabsf): New file.
12446 * libm/mathfp/sf_finite.c (finitef): New file.
12447 * libm/mathfp/sf_floor.c (floorf): New file.
12448 * libm/mathfp/sf_fmod.c (fmodf): New file.
12449 * libm/mathfp/sf_frexp.c (frexpf): New file.
12450 * libm/mathfp/sf_isinf.c (isinff): New file.
12451 * libm/mathfp/sf_isnan.c (isnanf): New file.
12452 * libm/mathfp/sf_ispos.c (isposf): New file.
12453 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
12454 * libm/mathfp/sf_log.c (logf): New file.
12455 * libm/mathfp/sf_log10.c (log10f): New file.
12456 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
12457 * libm/mathfp/sf_modf.c (modff): New file.
12458 * libm/mathfp/sf_numtest.c (numtestf): New file.
12459 * libm/mathfp/sf_pow.c (powf): New file.
12460 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
12461 * libm/mathfp/sf_sin.c (sinf): New file.
12462 * libm/mathfp/sf_sine.c (sinef): New file.
12463 * libm/mathfp/sf_sineh.c (sinehf): New file.
12464 * libm/mathfp/sf_sinh.c (sinhf): New file.
12465 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
12466 * libm/mathfp/sf_tan.c (tanf): New file.
12467 * libm/mathfp/sf_tanh.c (tanhf): New file.
12468 * libm/mathfp/zmath.h: New file.
12469
12470 Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12471
12472 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
12473 exit if it has been overwritten by pre-fetching in delay slot.
12474
12475 1998-09-01 Michael Meissner <meissner@cygnus.com>
12476
12477 * Makefile.am (tooldir): Add in host_alias, so that multilib
12478 libraries are installed in the directory the compiler looks in.
12479 * Makefile.in: Regenerate.
12480
12481 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
12482
12483 Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
12484
12485 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
12486 ahead of test for number of bytes being moved.
12487
12488 Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
12489
12490 * libc/include/sys/unistd.h: Nothing special needed for
12491 _exit under cygwin.
12492
12493 Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
12494
12495 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
12496 conform to user label naming conventions.
12497
12498 Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
12499
12500 * libc/sys/cygwin32/sys/utime.h: variable names in
12501 protos should start with two leading underscores
12502 * libc/include/string.h: ditto
12503 * libc/include/sys/signal.h: ditto
12504 * libc/include/sys/stat.h: ditto
12505 * libc/include/sys/time.h: ditto
12506 * libc/include/sys/unistd.h: ditto
12507 * libc/include/ctype.h: ditto
12508 * libc/include/stdlib.h: ditto
12509 * libc/include/sys/reent.h: struct _atexit function ptr takes a
12510 void, same with _sig_func.
12511
12512 Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
12513
12514 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
12515 for MB_CAPABLE to reduce code size when newlib is not configured
12516 with --enable-newlib-mb.
12517 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
12518 mbtowc_r.o to minimize size.
12519 * libc/stdlib/Makefile.in: Rebuild.
12520
12521 Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
12522
12523 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
12524 to -DREENT.
12525 * libc/sys/sparc64/Makefile.in: Rebuild.
12526
12527 Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
12528
12529 * Makefile.am (MAKEOVERRIDES): Define.
12530 * Makefile.in: Rebuild.
12531
12532 Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
12533
12534 * libc/sys/sparc64/sys/stat.h (stat): Add const.
12535
12536 Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
12537
12538 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
12539 newlib_cflags when looking for targ-include.
12540 * */aclocal.m4, */configure: Rebuild.
12541
12542 Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
12543
12544 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
12545 to "_end".
12546
12547 Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
12548
12549 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
12550 on SPARCs with little-endian data.
12551 * libc/include/machine/ieeefp.h: Ditto.
12552
12553 Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
12554
12555 * acinclude.m4: Handle a relative srcdir correctly when setting
12556 newlib_cflags.
12557 * */aclocal.m4, */configure: Rebuild.
12558
12559 Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
12560
12561 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
12562 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
12563 * libm/math/wrf_gamma.c (gammaf_r): ditto
12564 * libm/math/wr_lgamma.c (lgamma_r): ditto
12565 * libm/math/wr_gamma.c (gamma_r): ditto
12566 * libm/math/wf_sqrt.c (sqrtf): ditto
12567 * libm/math/wf_sinh.c (sinhf): ditto
12568 * libm/math/wf_scalb.c (scalbf): ditto
12569 * libm/math/wf_remainder.c (remainderf): ditto
12570 * libm/math/wf_pow.c (powf): ditto
12571 * libm/math/wf_log10.c (log10f): ditto
12572 * libm/math/wf_log.c (logf): ditto
12573 * libm/math/wf_lgamma.c (lgammaf): ditto
12574 * libm/math/wf_jn.c (jnf, ynf): ditto
12575 * libm/math/wf_j1.c (j1f, y1f): ditto
12576 * libm/math/wf_j0.c (j0f, y0f): ditto
12577 * libm/math/wf_hypot.c (hypotf): ditto
12578 * libm/math/wf_gamma.c (gammaf): ditto
12579 * libm/math/wf_fmod.c (fmodf): ditto
12580 * libm/math/wf_exp.c (expf): ditto
12581 * libm/math/wf_cosh.c (coshf): ditto
12582 * libm/math/wf_atanh.c (atanhf): ditto
12583 * libm/math/wf_atan2f.c (atan2f): ditto
12584 * libm/math/wf_asin.c (asinf): ditto
12585 * libm/math/wf_acosh.c (acoshf): ditto
12586 * libm/math/wf_acos.c (acosf): ditto
12587 * libm/math/w_sqrt.c (sqrt): ditto
12588 * libm/math/w_sinh.c (sinh): ditto
12589 * libm/math/w_scalb.c (scalb): ditto
12590 * libm/math/w_remainder.c (remainder): ditto
12591 * libm/math/w_pow.c (pow): ditto
12592 * libm/math/w_log10.c (log10): ditto
12593 * libm/math/w_log.c (log): ditto
12594 * libm/math/w_lgamma.c (lgamma): ditto
12595 * libm/math/w_jn.c (jn, yn): ditto
12596 * libm/math/w_j1.c (j1, y1): ditto
12597 * libm/math/w_j0.c (j0, y0): ditto
12598 * libm/math/w_hypot.c (hypot): ditto
12599 * libm/math/w_gamma.c (gamma): ditto
12600 * libm/math/w_fmod.c (fmod): ditto
12601 * libm/math/w_exp.c (exp): ditto
12602 * libm/math/w_cosh.c (cosh): ditto
12603 * libm/math/w_atanh.c (atanh): ditto
12604 * libm/math/w_atan2f.c (atan2): ditto
12605 * libm/math/w_asin.c (asin): ditto
12606 * libm/math/w_acosh.c (acosh): ditto
12607 * libm/math/w_acos.c (acos): ditto
12608
12609 Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
12610
12611 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
12612 (fsrc): Add wf_cabs.c and wf_drem.c.
12613 * libm/math/Makefile.in: Rebuild.
12614
12615 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
12616 unused directory variables. Remove duplicate CFLAGS.
12617 * Makefile.in: Rebuild.
12618
12619 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
12620 with $(CC_FOR_BUILD).
12621 (makedoc.o): Likewise.
12622 * doc/Makefile.in: Rebuild.
12623
12624 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
12625 force a definition of COMPILE.
12626 (libfoo_a_SOURCES): Define.
12627 * libc/sys/cygwin32/Makefile.in: Rebuild.
12628 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
12629 force a definition of COMPILE.
12630 (libfoo_a_SOURCES): Define.
12631 * libc/sys/tic80/Makefile.in: Rebuild.
12632
12633 Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
12634
12635 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
12636 flag.
12637
12638 Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
12639
12640 * Build using autoconf and automake. Added many Makefile.am and
12641 configure.in files, plus generated files. Old configure.in files
12642 and all old Makefile.in files completely replaced. Removed
12643 host/any. Added acinclude.m4 and configure.host.
12644
12645 Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
12646
12647 * libc/stdio/vfprintf.c: enable long long support, sometimes.
12648 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
12649
12650 Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12651
12652 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
12653 * libc/machine/sh/Makefile.in: Add rules for new files.
12654
12655 Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12656
12657 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
12658 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
12659 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
12660
12661 Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
12662
12663 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
12664 code is ignored.
12665
12666 Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
12667
12668 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
12669 internal static buffer when s is NULL, as prescribed by ANSI.
12670
12671 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
12672
12673 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
12674 removed.
12675 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
12676 libc/stdlib will be used for h8300hms.
12677
12678 Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12679
12680 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
12681 version that can be built either for speed or size.
12682 * libc/machine/mn10300/memset.S (_memset): ditto
12683 * libc/machine/mn10300/memchr.S (_memchr): ditto
12684 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
12685 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
12686 * libc/machine/mn10300/strchr.S (_strchr): ditto
12687 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
12688 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
12689 * libc/machine/mn10300/Makefile.in: Added entries for
12690 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
12691 strcmp.o, strcpy.o, and strlen.o.
12692
12693 Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
12694
12695 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
12696 been replaced with libgloss/mn10200.
12697
12698 Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
12699
12700 * libc/string/strchr.c (strchr): Make s a constant pointer to
12701 avoid warning.
12702
12703 Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
12704
12705 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
12706 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
12707 board SWIs instead of Demon board SWIs).
12708
12709 Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
12710
12711 * libc/string/strncat.c (strncat): Make -Os act the same as
12712 PREFER_SIZE_OVER_SPEED being defined.
12713
12714 Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
12715
12716 * libc/string/memchr.c (memchr): Make -Os act the same as
12717 PREFER_SIZE_OVER_SPEED being defined.
12718 * libc/string/memcmp.c (memcmp): Ditto.
12719 * libc/string/memcpy.c (memcpy): Ditto.
12720 * libc/string/memset.c (memset): Ditto.
12721 * libc/string/strcat.c (strcat): Ditto.
12722 * libc/string/strchr.c (strchr): Ditto.
12723 * libc/string/strcmp.c (strcmp): Ditto.
12724 * libc/string/strcpy.c (strcpy): Ditto.
12725 * libc/string/strlen.c (strlen): Ditto.
12726 * libc/string/strncat.c (strncat): Ditto.
12727 * libc/string/strncmp.c (strncmp): Ditto.
12728 * libc/string/strncpy.c (strncpy): Ditto.
12729
12730 Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
12731
12732 * libc/include/sys/itimer.h: remove
12733 * libc/include/sys/time.h: itimer stuff should be here
12734
12735 Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
12736
12737 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
12738 bit instead of comparing to 0 so -0.0 can be printed correctly.
12739
12740 Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12741
12742 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
12743
12744 Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
12745
12746 * libc/include/sys/unistd.h: fix sync() proto
12747 * libc/include/sys/fcntl.h: remove _close which is already
12748 defined in unistd.h.
12749 * libc/include/sys/time.h: add getitimer proto
12750
12751 Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
12752
12753 * libc/string/strchr.c: convert arg to unsigned char
12754 * libc/include/stdlib.h: add protos for random, srandom
12755 * libc/include/sys/stat.h: add lstat proto
12756 * libc/include/sys/time.h: add setitimer proto
12757 * libc/include/sys/unistd.h: add readlink, symlink protos
12758 * libc/include/process.h: instead of including windows.h and using
12759 HANDLEs in sexec protos, just use void *s. Need to include
12760 sys/types.h.
12761
12762 Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
12763
12764 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
12765
12766 Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
12767
12768 * libc/include/process.h: add secure exec protos
12769
12770 Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
12771
12772 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
12773 which are accessed as both doubles and integers.
12774 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
12775 * libc/stdlib/strtod.c (_strtod_r): Likewise.
12776 * libc/stdlib/mprec.h: Add "union double_union" and change
12777 word0/word1 macros to use it.
12778
12779 Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
12780
12781 * libc/include/sys/signal.h: add __cplusplus wrapper
12782
12783 Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
12784
12785 * libc/include/sys/utime.h: new generic file that gets replaced by
12786 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
12787 function.
12788 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
12789 * libc/include/time.h: remove duplicate utime proto
12790 * libc/include/utime.h: add comment
12791
12792 Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
12793
12794 * libc/include/sys/time.h: Add missing include to
12795 allow use of _EXFUN. Remove times function that is
12796 already defined in times.h.
12797
12798 Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
12799
12800 * libc/include/time.h: Fix typo in tzset.
12801
12802 Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
12803
12804 * libc/include/sys/time.h: add missing Cygwin32 function protos
12805 * libc/include/sys/unistd.h: ditto
12806 * libc/include/time.h: ditto
12807
12808 Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
12809
12810 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
12811 FIXME.
12812 * libc/include/sys/types.h: add a new __MS_types__ section
12813 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
12814 __BIT_TYPES_DEFINED__.
12815
12816 Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
12817
12818 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
12819 since it overrides the one in libc/include/sys. Also, start
12820 including types.h.
12821
12822 Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
12823
12824 * libm/math/Makefile.in: add s_signgam.o to obj list
12825
12826 Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
12827
12828 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
12829
12830 Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
12831
12832 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
12833 so don't use defines.
12834
12835 Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
12836
12837 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
12838
12839 Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
12840
12841 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
12842 _current_locale as default locale.
12843
12844 Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
12845
12846 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
12847 insufficient space in a chunk.
12848
12849 Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
12850
12851 * configure.in (links): Added check for --enable-newlib-mb configure
12852 option which defines the MB_CAPABLE macro.
12853 * libc/locale/locale.c (_setlocale_r): Added support for setting
12854 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
12855 defined.
12856 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
12857 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
12858 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
12859 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
12860 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
12861 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
12862 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
12863 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
12864 * libc/stdlib/Makefile.in: Added new multibyte
12865 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
12866 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
12867 _mbstowcs_r(), and _wcstombs_r().
12868 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
12869 for JIS, SJIS, and EUC-JP characters.
12870 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
12871 MB_CAPABLE defined.
12872 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
12873 MB_CAPABLE defined.
12874 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
12875 MB_CAPABLE defined.
12876 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
12877 if MB_CAPABLE defined.
12878 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
12879 if MB_CAPABLE defined.
12880 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
12881 to the format string processing when MB_CAPABLE.
12882 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
12883 call _mbtowc_r().
12884
12885 Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
12886
12887 The following modifications are courtesy of Anthony Thompson,
12888 athompson@cambridge.arm.com:
12889 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
12890 boith RDI and RDP monitors.
12891 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
12892 RDI and RDP monitors.
12893
12894 Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
12895
12896 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
12897 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
12898 (_swiopen): Fixed open flags to treat write with append as just append.
12899 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
12900 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
12901
12902 Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12903
12904 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
12905 When needing to transfer an initial 2-byte-word, store as
12906 two single bytes.
12907
12908 Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12909
12910 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
12911 __SH3E__ .
12912 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
12913 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
12914
12915 Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
12916
12917 * configure.in (target_cflags): If --enable-target-optspace, use
12918 -Os to compile newlib rather than -O2. Default to using -Os for
12919 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
12920 used.
12921
12922 Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
12923
12924 * libc/include/machine/setjmp.h: change sigsetjmp and
12925 siglongjmp definitions to use an array instead of a struct
12926 for __CYGWIN32__
12927
12928 Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
12929
12930 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
12931
12932 Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
12933
12934 * libc/string/strxfrm.c: fix to get correct return value
12935
12936 Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
12937
12938 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
12939 builds. Make mode change labels global so that they will be seen
12940 by the debugger.
12941
12942 Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
12943
12944 * configure.in (links): Do not use ARM debiugging protocols for PE
12945 builds.
12946
12947 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
12948 message.
12949
12950 Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
12951
12952 * libc/stdio/findfp.c (__sinit): Made stdout default to
12953 line buffered mode as defined by ANSI.
12954
12955 Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
12956
12957 * libc/include/sys/itimer.h: New file.
12958
12959 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
12960
12961 Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12962
12963 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
12964 failure.
12965
12966 Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
12967
12968 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
12969 insns.
12970
12971 Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
12972
12973 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
12974
12975 Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
12976
12977 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
12978 support.
12979
12980 * libc/include/machine/setjmp.h: Add D30V support.
12981
12982 * configure.in (d30v-*): Add d30v machine directory.
12983
12984 Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
12985
12986 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
12987 been replaced with libgloss/mn10300.
12988
12989 Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
12990
12991 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
12992 it is no longer needed.
12993
12994 Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
12995
12996 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
12997
12998 Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
12999
13000 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
13001 the file when O_APPEND is set, wherever the EOF happens to be at
13002 that time.
13003
13004 Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
13005
13006 patch from cgf@bbc.com (Christopher Faylor):
13007 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
13008 convention of closing fp prior to attempting to open the file
13009 argument. This allows correct operation when reopening
13010 stdin/stdout/stderr. Replaces last freopen.c patch.
13011
13012 Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
13013
13014 patch from cgf@bbc.com (Christopher Faylor):
13015 * libc/stdio/freopen.c: freopen was not preserving the fd
13016 of the stream being operated on. This confuses programs that
13017 expect that the handles for stdout and stderr will be 1 and 2.
13018
13019 Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
13020
13021 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
13022
13023 Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
13024
13025 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
13026
13027 Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
13028
13029 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
13030 altered to not use a branch. Also added hint that last
13031 bclr in longjmp will likely result in branch.
13032
13033
13034 Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
13035
13036 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
13037
13038 Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
13039
13040 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
13041 v850 builds.
13042
13043 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
13044
13045 Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
13046
13047 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
13048 that loads FR14 to specify offset of 8 rather than 4
13049 so it loads from offset 96 (where setjmp stored it).
13050
13051 Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13052
13053 * libc/machine/sh/memcpy.S: (_memcpy): Update to
13054 latest version supplied by customer.
13055 * libc/machine/sh/memset.S (_memset): Ditto.
13056
13057 Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
13058
13059 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
13060 PR14730).
13061
13062 Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
13063
13064 * libc/include/string.h: remove redefinition of ffs
13065
13066 Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
13067
13068 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
13069 defined
13070
13071 Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13072
13073 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
13074 TI Libraries to link to libc.a
13075
13076 Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
13077
13078 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
13079 * libc/include/sys/stat.h (_{,f}stat): Ditto.
13080 * libc/include/sys/wait.h (_wait): Ditto.
13081 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
13082 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
13083
13084 Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
13085
13086 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
13087 minded stabs so function name shows up when running the simulator
13088 with -t.
13089 * libc/sys/d10v/{crt0,trap}.S: Ditto.
13090
13091 Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
13092
13093 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
13094 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
13095 Use R5 where we used to use R3.
13096
13097 Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
13098
13099 * libc/stdlib/getopt.c (getopt): replaced __progname
13100 with nargv[0] to improve portability to imbedded systems.
13101
13102 Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
13103
13104 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
13105 patch supplied by Tont.Thompson@arm.com to fix the creation of the
13106 stdout file.
13107
13108 Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
13109
13110 * libc/stdio/tmpnam.c (worker): Generate a different file name
13111 each time.
13112
13113 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
13114 fails, try an execlp for sh.
13115
13116 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
13117 option for the winsup include directory.
13118
13119 Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
13120
13121 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
13122 debugging interface from Tony.Thompson@arm.com.
13123
13124 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
13125 * libc/sys/arm/swi.h: ditto.
13126
13127 Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
13128
13129 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
13130 DIR struct used for readdir hashes.
13131
13132 Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
13133
13134 * libc/string/strchr.c: Use "unsigned chars" as necessary.
13135
13136 Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
13137
13138 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
13139 integer targets.
13140
13141 Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
13142
13143 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
13144 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
13145 * libc/include/malloc.h: Add extern "C" if __cplusplus.
13146 (__malloc_copy): Declare.
13147
13148 Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
13149
13150 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
13151 <sys/config.h>.
13152 (POINTER_UINT): Define.
13153 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
13154 (MALLOC_ALIGNMENT): Don't define if already defined.
13155 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
13156 long.
13157
13158 Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
13159
13160 * libc/string/memset.c (memset): Fiddle with code so that the long
13161 value being stored is not a stack value. Unroll storing longs 4
13162 times.
13163
13164 Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
13165
13166 * Reduce code size for libm modules.
13167 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
13168 and simply move code into sqrt.
13169 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
13170 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
13171 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
13172 * libm/math/wr_gamma.c (gamma_r): Likewise.
13173 * libm/math/wf_sinh.c (sinfh): Likewise.
13174 * libm/math/w_sinh.c (sinh): Likewise.
13175 * libm/math/wf_scalb.c (scalbf): Likewise.
13176 * libm/math/w_scalb.c (scalb): Likewise.
13177 * libm/math/wf_remainder.c (remainderf): Likewise.
13178 * libm/math/w_remainder.c (remainder): Likewise.
13179 * libm/math/wf_pow.c (powf): Likewise.
13180 * libm/math/w_pow.c (pow): Likewise.
13181 * libm/math/wf_log10.c (log10f): Likewise.
13182 * libm/math/w_log10.c (log10): Likewise.
13183 * libm/math/wf_log.c (logf): Likewise.
13184 * libm/math/w_log.c (log): Likewise.
13185 * libm/math/w_lgamma.c (lgamma): Likewise.
13186 * libm/math/wf_lgamma.c (lgammaf): Likewise.
13187 * libm/math/wf_jn.c (jnf): Likewise.
13188 * libm/math/w_jn.c (jn): Likewise.
13189 * libm/math/wf_j1.c (j1f): Likewise.
13190 * libm/math/w_j1.c (j1): Likewise.
13191 * libm/math/wf_j0.c (j0f): Likewise.
13192 * libm/math/w_j0.c (j0): Likewise.
13193 * libm/math/wf_hypot.c (hypotf): Likewise.
13194 * libm/math/w_hypot.c (hypot): Likewise.
13195 * libm/math/wf_gamma.c (gammaf): Likewise.
13196 * libm/math/w_gamma.c (gamma): Likewise.
13197 * libm/math/wf_fmod.c (fmodf): Likewise.
13198 * libm/math/w_fmod.c (fmod): Likewise.
13199 * libm/math/wf_exp.c (expf): Likewise.
13200 * libm/math/w_exp.c (exp): Likewise.
13201 * libm/math/wf_cosh.c (coshf): Likewise.
13202 * libm/math/w_cosh.c (cosh): Likewise.
13203 * libm/math/wf_atanh.c (atanhf): Likewise.
13204 * libm/math/w_atanh.c (atanh): Likewise.
13205 * libm/math/wf_atan2.c (atan2f): Likewise.
13206 * libm/math/w_atan2.c (atan2): Likewise.
13207 * libm/math/wf_asin.c (asinf): Likewise.
13208 * libm/math/w_asin.c (asin): Likewise.
13209 * libm/math/wf_acosh.c (acoshf): Likewise.
13210 * libm/math/w_acosh.c (acosh): Likewise.
13211 * libm/math/wf_acos.c (asocf): Likewise.
13212 * libm/math/w_acos.c (acos): Likewise.
13213 * libm/math/wf_sqrt.c (sqrtf): Likewise.
13214 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
13215 for embedded systems.
13216
13217 Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
13218
13219 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
13220 Lea in case of a foreign sbrk.
13221
13222 Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
13223
13224 Incorporate Doug Lea's malloc:
13225 * libc/stdlib/mallocr.c: Completely replaced.
13226 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
13227 (realloc): Remove.
13228 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
13229 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
13230 mallopt.
13231 (mallinfo, malloc_stats, mallopt): New functions.
13232 (_mstats_r): Just call _malloc_stats_r.
13233 * libc/stdlib/malign.c: New file.
13234 * libc/stdlib/mlock.c: New file.
13235 * libc/stdlib/msize.c: New file.
13236 * libc/stdlib/mtrim.c: New file.
13237 * libc/stdlib/realloc.c: New file.
13238 * libc/stdlib/valloc.c: New file.
13239 * libc/stdlib/malloc.h: Remove.
13240 * libc/stdlib/callocr.c: Remove.
13241 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
13242 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
13243 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
13244 reallocr.o, valloc.o, vallocr.o.
13245 (CHEWOUT_FILES): Add mlock.def, mstats.def.
13246 (MALLOC_CFLAGS): New variable.
13247 (mallocr.o): New target, build from mallocr.c.
13248 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
13249 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
13250 (msizer.o, malloptr.o): Likewise.
13251 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
13252 (valloc.o): New target.
13253 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
13254 * libc/include/malloc.h: Declare struct mallinfo, and new
13255 routines.
13256 * libc/include/stdlib.h (cfree): Correct declaration.
13257
13258 Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
13259
13260 * libc/include/machine/setjmp.h: Add support for Thumb target.
13261
13262 * libc/include/machine/ieeefp.h: Add support for Thumb target.
13263
13264 * configure.in (links): Add support for Thumb target.
13265
13266 Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
13267
13268 * libc/sys/arm/setjmp.S: Updated with version from branch.
13269
13270 Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
13271
13272 * libc/include/stdio.h: add POSIX-required define L_ctermid
13273 for ctermid
13274
13275 Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
13276
13277 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
13278 addition to MISSING_SYSCALL_NAMES.
13279
13280 Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
13281
13282 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
13283
13284 Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
13285
13286 * libc/include/string.h: change strsignal proto to return
13287 a char *. This eliminates compile problems in gdb resulting
13288 from gdb's definition of strsignal in defs.h.
13289
13290 Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
13291
13292 * libc/sys/cygwin32/sys/utime.h: new (moved here from
13293 winsup/include) so as not to conflict with the one in
13294 libc/include.
13295 * libc/include/string.h: add protos for strsignal, strtosigno
13296
13297 Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
13298
13299 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
13300
13301 * configure.in (d30v-*-*): Add configuration.
13302
13303 Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
13304
13305 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
13306 to select which kind of debug monitor is in use for an ARM target.
13307
13308 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
13309 Angel and Demon debug monitors. Part of this code was supplied by
13310 Tony Thompson at ARM: athompso@arm.com.
13311
13312 Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
13313
13314 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
13315 semantics when the count is greater than the length of the second
13316 source string.
13317
13318 Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
13319
13320 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
13321 * libc/include/sys/unistd.h: add protos for usleep, truncate,
13322 truncate and ftruncate take off_t, not size_t
13323
13324 Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
13325
13326 * libc/string/strcat.c (strcat): Add missing comment end.
13327 * libc/string/strncat.c (strncat): Likewise.
13328
13329 Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
13330
13331 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
13332 targets.
13333 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
13334 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
13335 defined.
13336 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
13337 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
13338 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
13339
13340 Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
13341
13342 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
13343 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
13344
13345 Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
13346
13347 * libc/machine/i386/setjmp.S: New file.
13348 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
13349 (OFILES): Add setjmp.o.
13350 (setjmp.o): Add rule for.
13351 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
13352
13353 Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
13354 Jeffrey A Law (law@cygnus.com)
13355
13356 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
13357 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
13358 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
13359 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
13360
13361 Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
13362
13363 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
13364 rules.
13365
13366 * libc/include/sys/config.h: Use __v850 to select v850
13367 endianness.
13368
13369 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
13370 buffer size.
13371
13372 * libc/include/machine/ieeefp.h: Use __v850 to select v850
13373 endianness.
13374
13375 Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
13376
13377 * libc/stdlib/setenv.c: change unsetenv definition to match
13378 style of setenv (with _DEFUN). The string should be a const.
13379 * libc/include/stdlib.h: unsetenv proto should return void.
13380
13381 Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
13382
13383 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
13384
13385 Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
13386
13387 * libc/stdio/glue.h: remove.
13388 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
13389 * libc/stdio/Makefile.in: remove glue.h dependencies
13390
13391 Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
13392
13393 * libc/sys/sysnecv850/crt0.S: Created V850e version.
13394
13395 Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
13396
13397 * configure.in (target_cpu): Add `arc'.
13398
13399 Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
13400
13401 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
13402 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
13403 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
13404 * newlib/libc/reent/reent.c: Add _wrapup_reent.
13405 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
13406
13407 Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
13408
13409 * libc/machine/mips/setjmp.S: Handle mips16 builds.
13410
13411 Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
13412
13413 * libc/include/stdio.h (siprintf): Declare.
13414
13415 Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
13416
13417 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
13418 TARGET_CFLAGS and NEWLIB_FLAGS.
13419
13420 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
13421
13422 * configure.in (links): Add support for v850ea target.
13423
13424 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
13425
13426 * configure.in (links): Add support for v850e target.
13427
13428 Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
13429
13430 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
13431
13432 Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
13433
13434 * configure.in (arc-*-*): Add support for.
13435 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
13436
13437 Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
13438
13439 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
13440
13441 Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
13442
13443 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
13444 comparison which accesses invalid memory when the key is
13445 larger than the last member of the array.
13446 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
13447 for CYGWIN32
13448 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
13449
13450 Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
13451
13452 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
13453 not _STRICT_ANSI.
13454
13455 Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
13456
13457 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
13458 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
13459
13460 Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
13461
13462 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
13463 to load/store memory.
13464
13465 Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
13466
13467 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
13468 underscores if _WIN32.
13469
13470 Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
13471
13472 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
13473 support ifdef _USE_WRITE missed in last change.
13474 From Anders Blomdell <anders.blomdell@control.lth.se>.
13475
13476 Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
13477
13478 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
13479 (_tmpnam_r, _tempnam_r): Update.
13480
13481 Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
13482
13483 * libc/machine/sparc/setjmp.S: New file.
13484 * libc/machine/sparc/Makefile.in: Add setjmp.
13485 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
13486
13487 Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
13488
13489 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
13490
13491 Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
13492
13493 From Joel Sherrill <joel@oarcorp.com>.
13494 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
13495
13496 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
13497 * configure.in: Recognize *-*-rtems*.
13498 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
13499 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
13500 time.h,times.h,types.h}: New files.
13501 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
13502
13503 Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
13504
13505 patch from sos@prospect.com.ru (Sergey Okhapkin):
13506 * include/sys/wait.h: correct operator precidence bug
13507 in WIFSIGNALED
13508
13509 Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
13510
13511 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
13512 with newlib's unsetenv function
13513 * libc/sys/cygwin32/sys: new directory for includes
13514 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
13515 here from winsup/include/sys
13516
13517 Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
13518
13519 * libc/include/sys/unistd.h: _exit should only be
13520 labelled noreturn when not __CYGWIN32__
13521 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
13522 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
13523 increment NSIG
13524
13525 Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
13526
13527 * libc/include/sys/time.h: Only define timeval and timezone if
13528 _GNU_H_WINDOWS32_SOCKETS is not defined.
13529 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
13530
13531 Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
13532
13533 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
13534 * libc/machine/mn10300/setjmp.S: Likewise.
13535
13536 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
13537 the mn10300 (more relaxing opportunities).
13538
13539 Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
13540
13541 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
13542 Build libraries with -mstrict-align.
13543
13544 Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
13545
13546 * libc/string/strlwr.c: New file.
13547 * libc/string/strupr.c: New file.
13548 * libc/include/string.h: Declare strlwr and strupr.
13549 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
13550 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
13551 (strlwr.o, strupr.o): New targets.
13552 * libc/string/strings.tex: Include strlwr and strupr docs.
13553
13554 * libc/include/sys/types.h: Don't define u_char, et. al., if
13555 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
13556 et. al. Make FD_SETSIZE default 64 rather than 60. Define
13557 _types_fd_set rather than fd_set, and define fd_set as a macro.
13558
13559 * libc/include/malloc.h: New file.
13560
13561 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
13562 strnicmp if they are not already defined.
13563
13564 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
13565 _timezone, _daylight, and _tzname.
13566
13567 Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
13568
13569 * configure.in: Sort all configuration tables.
13570
13571 From Joel Sherrill <joel@oarcorp.com>
13572 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
13573
13574 Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
13575
13576 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
13577 use int when declaring kill.
13578
13579 * libc/include/sys/timeb.h: New file.
13580
13581 Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
13582
13583 * libc/include/sys/time.h: add itimer support for Cygwin32
13584
13585 Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
13586
13587 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
13588 out a message that abort was called to stderr.
13589
13590 Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
13591
13592 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
13593 so that libio doesn't freak.
13594
13595 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
13596 int.
13597
13598 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
13599 memory sizes, not int.
13600
13601 Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
13602
13603 * libm/math/ef_hypot.c: Use long constants where
13604 appropriate.
13605 * libm/math/ef_sqrt.c: Ditto.
13606
13607 * libc/sys/sysmec/times.c(_times): Change to times.
13608
13609 * libc/sys/sysmec/read.c(_read): The third argument is
13610 size_t.
13611 * libc/sys/sysmec/write.c (_write): Ditto.
13612
13613 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
13614 (_lseek): It's off_t for the second argument.
13615
13616 Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
13617
13618 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
13619 as well as machine/ieeefp.h.
13620
13621 Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
13622
13623 * libc/include/sys/signal.h: add signal protos for winsup
13624 functions (when __CYGWIN32__), include types.h
13625 * libc/include/sys/types.h: Change __go32_types__ internal
13626 define to __MS_types__ since it's used for more than just
13627 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
13628 defined.
13629 * libc/include/sys/unistd.h: add ftruncate proto for
13630 winsup functions (when __CYGWIN32__)
13631
13632 Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
13633
13634 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
13635
13636 Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
13637
13638 * libc/include/machine/setjmp.h: Add tic80 support.
13639 * libc/machine/tic80/setjmp.S: Likewise.
13640
13641 Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
13642
13643 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
13644 link programs from libraries only (such as in the X11
13645 distribution)
13646
13647 Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
13648
13649 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
13650 supplied elsewhere in newlib.
13651
13652 Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
13653
13654 * Makefile.in (INSTALL): Change install.sh to install-sh.
13655
13656 Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
13657
13658 * README: update WWW address for on-line documentation.
13659
13660 Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
13661
13662 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
13663 increment NSIG
13664
13665 Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
13666
13667 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
13668 mn10300.
13669 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
13670
13671 Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
13672
13673 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
13674 * libc/sys/d10v/syscalls.c: Likewise.
13675 * libc/sys/h8300hms/sbrk.c: Likewise.
13676 * libc/sys/h8500hms/syscalls.c: Likewise.
13677 * libc/sys/m88kbug/syscalls.c: Likewise.
13678 * libc/sys/sh/syscalls.c: Likewise.
13679 * libc/sys/sysmec/sbrk.c: Likewise.
13680 * libc/sys/sysnecv850/sbrk.c: Likewise.
13681 * libc/sys/w65/syscalls.c: Likewise.
13682 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
13683
13684 Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
13685
13686 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
13687 emulated syscall instead of "trap".
13688
13689 Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
13690
13691 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
13692 not trap 0.
13693
13694 Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
13695
13696 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
13697
13698 Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
13699
13700 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
13701 not "sh".
13702 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
13703 not "d10v".
13704 * libc/sys/tic80/crt0.c: New file for TIc80.
13705 * libc/sys/tic80/Makefile.in: New file for TIc80.
13706 * libc/machine/tic80/Makefile.in: New file for TIc80.
13707
13708 Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
13709
13710 * libc/machine/sh/memcpy.S: New file.
13711 * libc/machine/sh/memset.S: New file.
13712 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
13713
13714 Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
13715
13716 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
13717 for TIc80.
13718
13719 Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
13720
13721 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
13722 the mn10200.
13723
13724 Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
13725
13726 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
13727 (patch from andrew@pogo.WV.TEK.COM).
13728
13729 Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
13730
13731 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
13732 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
13733
13734 Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
13735
13736 * configure.in: Add cases for "tic80" to set machine_dir,
13737 sys_dir, and syscall_dir.
13738
13739 Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
13740
13741 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
13742
13743 Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
13744
13745 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
13746
13747 Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
13748
13749 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
13750 Use proper constant prefix.
13751
13752 Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
13753
13754 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
13755 that loses on the mn10200 where ints and pointers are different
13756 sizes.
13757
13758 Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
13759
13760 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
13761 target as signal is provided in winsup.
13762
13763 Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
13764
13765 * libc/include/sys/process.h: Corrected const definitions
13766 in spawn functions. Added cwait.
13767
13768 Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
13769
13770 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
13771 doubles.
13772 * libc/include/sys/config.h: Similarly.
13773
13774 Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13775
13776 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
13777 target_cflags.
13778 (i[3456]86-*-sco*): Ditto.
13779
13780 * libc/signal/Makefile.in (OFILES): Add signal.o.
13781 (CFILES): Add signal.c.
13782
13783 * libc/signal/raise.c (_raise_r): Only compile code if
13784 SIGNAL_PROVIDED is defined.
13785
13786 * libc/signal/signal.c: Redo whole file so that it works with
13787 current newlib. Use _kill_r if no signal handler provided.
13788
13789 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
13790 signal stubs.
13791 * libc/sys/sysvnecv70/Makefile.in: Ditto.
13792 * libc/sys/sysnecv850/Makefile.in: Ditto.
13793
13794 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
13795 * libc/sys/sysmec/{raise,signal}.c: Ditto.
13796 * libc/sys/sysvnecv70/signal.s: Ditto.
13797 * libc/sys/sysnecv850/raise.c: Ditto.
13798
13799 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
13800 simulator and debugger can tell the difference between a signal
13801 being raised and an exit system call.
13802
13803 * NEWS: Document software signals being provided.
13804
13805 Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13806
13807 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
13808 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
13809 include/sys/config.h.
13810 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
13811 Change from 'inpure_data'.
13812 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
13813 &impure_data, not &inpure_data.
13814
13815 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
13816 and and System V ABI, define so that _impure_ptr lives in the
13817 .sdata section.
13818
13819 Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13820
13821 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
13822 nothing if not defined.
13823 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
13824 its attributes.
13825
13826 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
13827
13828 Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
13829
13830 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
13831 * libc/sys/sysmec/trap.s: Handle mn10200 too.
13832 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
13833
13834 Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
13835
13836 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
13837
13838 Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
13839
13840 * libc/include/sys/errno.h: Added net errno's.
13841
13842 Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13843
13844 * libc/misc/ffs.c: New file to support ffs function for GCC test
13845 gcc.c-torture/execute/960909-1.c.
13846
13847 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
13848
13849 Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
13850
13851 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
13852 * libc/sys/sysmec/trap.S: Likewise.
13853
13854 Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
13855
13856 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
13857 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
13858
13859 Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
13860
13861 * libc/sys/sysmec/signal.c: Dummy file.
13862 * libc/sys/sysmec/Makefile.in: Build it.
13863
13864 Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
13865
13866 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
13867 mips16.
13868
13869 Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
13870
13871 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
13872 c-startup and simulator traps.
13873
13874
13875 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
13876 * libc/sys/sysmec/trap0.S: Likewise.
13877
13878 Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13879
13880 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
13881 round to double word alignment.
13882 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
13883 byte alignment.
13884
13885 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
13886
13887 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
13888 out of memory.
13889
13890 Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
13891
13892 * configure.in: Handle mn10200 and mn10300.
13893 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
13894 * libc/include/sys/config.h: Likewise.
13895 * libc/sys/sysmec: New directory for mec stuff.
13896 * libc/machine/mn10300: New directory for mn10300 stuff.
13897 * libc/machine/mn10200: Similarly for mn10200 stuff.
13898
13899 Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
13900
13901 * libc/sys/arm/crt0.S: Use .text, not .section .text.
13902 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
13903
13904 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
13905 (nlink_t): Change type from unsigned int to unsigned short.
13906 (mode_t): Ensure size is 32 bits even if int is 16.
13907 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
13908 (st_spare[123]): Change type from int to long.
13909
13910 Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13911
13912 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
13913 byte boundary.
13914
13915 * configure.in (d10v*): Define SMALL_MEMORY.
13916
13917 Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13918
13919 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
13920 -mrelocatable-lib and -mno-eabi flags.
13921
13922 Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
13923
13924 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
13925 Fix handling of mis-aligned source operand when both the
13926 destination & length are properly aligned.
13927
13928 Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
13929
13930 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
13931 times.o, time.o and gettime.o
13932 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
13933 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
13934 SYS_gettimeofday.
13935
13936 Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
13937
13938 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
13939 * libc/sys/sysnecv850/access.c: New file.
13940
13941 Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
13942
13943 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
13944
13945 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
13946 long.
13947
13948 Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
13949
13950 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
13951
13952 Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
13953
13954 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
13955 * libc/include/sys/config.h: Add m32r support.
13956
13957 Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
13958
13959 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
13960 here.
13961
13962 Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
13963
13964 * libc/include/machine/setjmp.h: Add D10v support.
13965
13966 Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
13967
13968 * configure.in: Configure the "libc/syscalls" directory for
13969 the v850.
13970
13971 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
13972 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
13973 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
13974 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
13975 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
13976
13977 Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
13978
13979 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
13980 stack for args for main and other routines. Zero out args for
13981 main.
13982
13983 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
13984 correctly.
13985
13986 Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13987
13988 * libc/stdio/findfp.c (std): Remove extraneous ';' after
13989 function.
13990
13991 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
13992
13993 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
13994 real system calls now.
13995
13996 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
13997 before casting them to int.
13998 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
13999
14000 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
14001 aligning pointer.
14002 * libc/string/memset.c (memset): Ditto.
14003
14004 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
14005 first convert ints to _POINTER_INT to eliminate GCC warning.
14006
14007 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
14008 processing %p.
14009
14010 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
14011 from 65000 if ints are only 16 bits.
14012
14013 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
14014 from 50000 if ints are only 16 bits.
14015
14016 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
14017 int type that is the same size as a pointer.
14018
14019 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
14020 processing %p.
14021 (get_number): Explicitly cast number to long before shifting by 16
14022 or 24, in case ints are short.
14023
14024 * libc/include/sys/config.h (_POINTER_INT): Define as short.
14025
14026 Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
14027
14028 * libc/string.h: Added ffs, removed swab.
14029 * libc/sys/errno.h: Added EOPNOTSUPP.
14030 * libc/sys/unistd.h: Added swab.
14031
14032 Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
14033
14034 * libc/include/sys/stat.h: Added fchmod.
14035 * libc/include/sys/unistd.h: Added fsync.
14036
14037 Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
14038
14039 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
14040 and ECONNRESET (104) for cygwin32.
14041
14042 Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
14043
14044 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
14045 do the static destructors.
14046
14047 Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
14048
14049 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
14050
14051 Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
14052
14053 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
14054 * configure.in: Recognize m32r-*-*.
14055
14056 Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
14057
14058 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
14059 __rt_stkovf_split_small): Added default software stack overflow
14060 handlers, which just call SWI_Exit.
14061 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
14062 limit initialisation.
14063
14064 Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
14065
14066 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
14067
14068 Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
14069
14070 * libc/include/sys/types.h: Added ssize_t definition.
14071
14072 Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14073
14074 * libc/machine/d10v/setjmp.S: Use ';' for comments.
14075 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
14076
14077 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
14078 branch around a single ldi instruction.
14079
14080 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
14081 Call exit, instead of just issuing a stop instruction.
14082
14083 Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14084
14085 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
14086
14087 Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14088
14089 * libc/stdlib/mprec.h: Explicitly declare all large constants as
14090 longs, and then cast them to __uint32_t.
14091
14092 * libc/include/sys/config.h: Protect against multiple inclusions.
14093
14094 Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
14095
14096 * configure.in (d10v*): Set syscall_dir.
14097
14098 Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
14099
14100 * libc/sys/d10v/crt0.S: Set stack pointer.
14101
14102 Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
14103
14104 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
14105 in assembly for efficiency. Change calling convention to allow
14106 long ints to be returned.
14107
14108 Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14109
14110 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
14111
14112 Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
14113
14114 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
14115 Handle empty entries in $PATH.
14116
14117 Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
14118
14119 * libc/machine/d10v/setjmp.S: Make it really work.
14120
14121 Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
14122
14123 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
14124 the .stack section.
14125
14126 Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
14127
14128 * sys/sysnecv850/sys/file.h: Remove.
14129 * sys/sysnecv850/sys/syscall.h: New file.
14130 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
14131 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
14132 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
14133 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
14134 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
14135 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
14136 * sys/sysnec850/trap.S: New file.
14137 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
14138 syscalls.
14139 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
14140 * sys/sysnec850/sbrk.c: New version.
14141
14142 Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
14143
14144 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
14145 as long as r6 is less than r7.
14146
14147 Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
14148
14149 * Makefile.in (mostlyclean): Separate from clean target. Don't
14150 remove *.a or targ-include.
14151 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
14152
14153 Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14154
14155 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
14156 d10v.
14157 (__SMALL_BITFIELDS): Ditto.
14158
14159 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
14160
14161 Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
14162
14163 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
14164 prefix.
14165
14166 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
14167 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
14168 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
14169 * libc/sys/sysnecv850/write.c (write): Likewise.
14170
14171 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
14172 .bss.
14173
14174 Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14175
14176 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
14177 appropriately for D10V, depending on -mint16/-mint32.
14178
14179 Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
14180
14181 * configure.in: Add cases for D10V.
14182
14183 Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14184
14185 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
14186
14187 Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
14188
14189 * libc/include/machine/ieeefp.h: Fix typo.
14190
14191 Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
14192
14193 * libc/sys/d10v: New directory for D10V stuff.
14194 * libc/include/machine/ieeefp.h: Add D10V defines.
14195
14196 Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
14197
14198 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
14199 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
14200 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
14201 * libc/string/strerror.c (strerror): Add them.
14202
14203 Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
14204
14205 * libc/sys/sysnecv850: New directory for v850 stuff.
14206
14207 * libc/machine/v850: New directory for v850 stuff.
14208 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
14209
14210 * configure.in: Add support for the v850.
14211
14212 * libc/include/machine/ieeefp.h: Add v850 defines.
14213 * libc/include/machine/setjmp.h: Likewise.
14214 * libc/include/sys/config.h: Add v850 defines.
14215
14216 Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
14217
14218 * libc/include/machine/ieeefp.h
14219 * libc/include/machine/setjmp.h
14220 * libc/include/sys/fcntl.h
14221 * libc/include/sys/signal.h
14222 * libc/include/sys/types.h
14223 * libc/stdlib/system.c:
14224 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
14225 API availability, __CYGWIN32__ for cygwin32 environment specific).
14226
14227 Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
14228
14229 * libc/include/stdlib.h: add multibyte character functions. Add
14230 __eprintf for assert.
14231
14232 Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14233
14234 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
14235 arithmetic or __alignof__ to properly get the alignment, instead
14236 of hardwiring it to 4.
14237
14238 Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
14239
14240 * libc/stdio/fseek.c: add fflush call to adjust seek offset
14241 on append stream (fix from NetBSD sources), adjust curoff offset
14242 for ungetc's benefit.
14243 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
14244 * libc/stdio/rewind.c: replace code with up to date NetBSD
14245 code to undo hacks made to work around above problem of not
14246 having fflush call mentioned above
14247
14248 Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14249
14250 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
14251 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
14252 Partially revert last changes. The thread specific errno is set
14253 iff if the underlying syscall fails and the global errno is not
14254 zero.
14255
14256 Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14257
14258 * libc/reent/filer.c: Removed files, all functions have split out
14259 into their own files.
14260 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
14261 New files containing functions formally in filer.c
14262 * libc/reent/Makefile.in: Updated for above change.
14263
14264 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
14265 syscall fails, not if errno is changed.
14266 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
14267 _write_r): Likewise.
14268 * libc/reent/fstatr.c (_fstat_r): Likewise.
14269 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
14270 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
14271 * libc/reent/signalr.c (_kill_r): Likewise.
14272 * libc/reent/statr.c (_stat_r): Likewise.
14273 * libc/reent/timer.c (_gettimeofday_r): Likewise.
14274
14275 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
14276 signalr.c, statr.c, timer.c} (errno): declare extern rather
14277 than as a common.
14278
14279 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
14280 instead of calling vfprintf so that i*printf will not require
14281 floating point support code.
14282
14283 Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
14284
14285 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
14286 path delimiter.
14287 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
14288 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
14289
14290 Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
14291
14292 * libc/include/signal.h: _sig_func_ptr function takes an int
14293 * libc/include/sys/signal.h: sa_handler function takes an int
14294
14295 Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
14296
14297 * libc/include/machine/ieeefp.h: Simplify H8/S support.
14298 * libc/include/sys/config.h: Add missing H8/S conditional.
14299
14300 Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
14301
14302 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
14303
14304 Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
14305
14306 * libc/include/machine/setjmp.h: Handle H8/S.
14307 * libc/include/machine/ieeefp.h: Likewise.
14308 * libc/include/sys/config.h: Likewise.
14309 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
14310 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
14311 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
14312 * libc/sys/h8300hms/crt0.S: Likewise.
14313
14314 Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
14315
14316 * Makefile.in (datadir): Set to $(prefix)/share.
14317 (oldincludedir, docdir): Removed.
14318 * doc/Makefile.in (datadir): Set to $(prefix)/share.
14319 (oldincludedir, docdir): Removed.
14320 * libc/Makefile.in (datadir): Set to $(prefix)/share.
14321 (oldincludedir, docdir): Removed.
14322 * libm/Makefile.in (datadir): Set to $(prefix)/share.
14323 (oldincludedir, docdir): Removed.
14324
14325 Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
14326
14327 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
14328 _reent struct.
14329
14330 Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
14331
14332 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
14333 fetch current path rules with sysconf and handler posix/win32
14334 appropriately.
14335
14336 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
14337
14338 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
14339 (WAIT_CHILD): Always define.
14340
14341 Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
14342
14343 * libc/stdlib/eprintf.c: New file.
14344 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
14345 (eprintf.o): New target.
14346
14347 Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
14348
14349 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
14350 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
14351
14352 Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
14353
14354 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
14355 NT in PowerPC endianess cases.
14356
14357 Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14358
14359 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
14360
14361 Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14362
14363 * libc/string/strtok.c: Fix doc typo.
14364
14365 Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14366
14367 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
14368 _next, _scanpoint, _signgam fields.
14369
14370 * libc/include/stdlib.h (rand_r): Added new declaration.
14371 (_rand_r, _srand_r): Removed declarations.
14372 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
14373 have been made obsolete by rand_r.
14374 * libc/stdlib/rand_r.c: New file, rand_r function as specified
14375 by POSIX.1c.
14376
14377 * libc/string/strtok.c: Update documentation to describe
14378 strtok_r().
14379
14380 Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
14381
14382 * libc/include/sys/stat.h (stat structure): Use the expanded stat
14383 structure on Solaris, and PowerPC systems even though __svr4__ is
14384 defined.
14385
14386 Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
14387
14388 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
14389
14390 Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
14391
14392 * host/any: Use ../.. rather than .. to get to the main build
14393 directory. This matches the current layout of the build
14394 directory.
14395
14396 Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
14397
14398 * libc/machine/h8300/__main.S: Delete. No longer needed.
14399 * libc/machine/h8300/Makefile.in: Corresponding changes.
14400 * libc/sys/h8300hms/crt1.c: New file.
14401 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
14402 * libc/sys/h8300hms/crt0.s: Call __main.
14403
14404 * libc/sys/h8300hms/crt0.S: Use temporary label names
14405 for branch targets.
14406
14407 Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
14408
14409 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
14410
14411 Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14412
14413 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
14414 .sdata on the PowerPC so that we can link newlib with code
14415 compiled with -msdata.
14416
14417 Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
14418
14419 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
14420
14421 Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
14422
14423 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
14424 exception handler to __cygwin_exception_handler.
14425
14426 Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
14427
14428 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
14429
14430 Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
14431
14432 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
14433 SunOS VPATH.
14434 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
14435 wcstombs.o): Likewise.
14436
14437 Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
14438
14439 * libc/stdlib/environ.c (initial_env): New static local.
14440 (environ): Point to `initial_env'.
14441
14442 * libc/include/machine/setjmp.h: Clean up.
14443 (__H8300H__,__PPC__): Define _JBTYPE.
14444 (__arm__): Provide entry for.
14445 (sigjmp_buf): Delete.
14446 (jmp_buf): Use _JBTYPE if defined, otherwise int.
14447
14448 Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
14449
14450 * libc/machine/h8300/strcmp.S: Sign extend the result to
14451 32bits so we don't lose with -mint32.
14452
14453 Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
14454
14455 * libc/sys/go32/sys/errno.h: New file.
14456 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
14457 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
14458 errno's address (make compatible with rest of newlib).
14459 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
14460 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
14461
14462 Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
14463
14464 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
14465 * libc/machine/sparc/Makefile.in: Build them.
14466 * libc/machine/sparc/machine/sparclet.h: New file.
14467
14468 Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14469
14470 * libc/machine/sh/asm.h: New file.
14471 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
14472 support for SH3e's FP registers. Use asm.h.
14473
14474 Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
14475
14476 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
14477 as first argument. Call _dtoa_r and pass the reent structure
14478 instead of calling __dtoa.
14479
14480 Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
14481
14482 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
14483 the h8300, h8500, and others. Add comments for some rather
14484 dubious code.
14485
14486 Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
14487
14488 * Makefile.in (check): Check that testsuite exists before cd.
14489
14490 Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14491
14492 * libc/include/string.h (strsep): Correct prototype.
14493
14494 Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
14495
14496 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
14497 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
14498 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
14499
14500 Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
14501
14502 * libc/posix/{creat.c,isatty.c}: New files.
14503 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
14504
14505 * libc/sys/sparc64/crt0.S (environ): Delete.
14506 (.LHaveBias): Renamed from HaveBias.
14507
14508 Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
14509
14510 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
14511 (_morecore_r): Delete SBRK_IS_ALLOC support.
14512
14513 Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14514
14515 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
14516 module rather than touch, so we don't get warning messages when
14517 all of the libraries are combined into libc.a.
14518
14519 Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
14520
14521 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
14522 crt0.s replaced by version in libgloss.
14523
14524 Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14525
14526 * libc/reent/Makefile.in (OFILES): Add impure.o.
14527 * libc/reent/impure.o: New file, define initial reentrancy struct.
14528 * libc/reent/reent.c: Remove above definition.
14529
14530 * libm/math/sf_asinh.c: Fix typo.
14531
14532 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
14533 srf_ldexp.o.
14534
14535 * libm/libm.texinfo: Change documentation to reflect changes
14536 in reentrancy model.
14537 * libm/math/w_gamma.c: Likewise.
14538
14539 Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
14540
14541 * configure.in (*-*-cygwin32): New.
14542 (*-*-win32): Deleted.
14543 * libc/sys/win32 renamed libc/sys/cygwin32.
14544
14545 Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14546
14547 * libc/include/sys/file.h: New include file.
14548
14549 Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
14550
14551 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
14552
14553 Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
14554
14555 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
14556
14557 Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14558
14559 * doc/makedoc.c (realloc): Declare at file scope.
14560 (catchar): Not here.
14561
14562 Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
14563
14564 * Makefile.in (VERSION): Update to 1.7.0.
14565 * {libc,libm}/Makefile.in (VERSION): Likewise.
14566 * configure.in: Minor clean up of multilib stuff.
14567
14568 From David Johnson <davidj@ICSI.Berkeley.EDU>
14569 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
14570
14571 * libc/stdlib/environ.c: New file.
14572 * libc/stdlib/Makefile.in (OFILES): Build it.
14573 * libc/sys/h8500hms/crt0.c (environ): Deleted.
14574 * libc/sys/m88kbug/crt0.c (environ): Deleted.
14575 * libc/sys/z8ksim/crt0.c (environ): Deleted.
14576 * libc/sys/netware/environ.c: Deleted.
14577
14578 Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
14579
14580 * configure.in (links): set sys_dir, posix_dir, syscall_dir
14581
14582 Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
14583
14584 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
14585 declaration out to external scope and declare it PTR, not char *.
14586
14587 Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
14588
14589 * libc/include/sys/unistd.h (getpagesize): New declaration.
14590 (_SC_PAGESIZE): New definition.
14591 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
14592 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
14593
14594 Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
14595
14596 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
14597 addressing. System call returns size, not (last address + 1).
14598
14599 Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14600
14601 * libm/math/*.c: Removed _foo_r() reentrancy API.
14602 * libc/include/math.h: Removed _foo_r prototypes and macros.
14603
14604 * libm/math/*.c: On systems with IEEE single precision "doubles"
14605 move foo() -> foof() wrapper code from the files that implement
14606 the standard IEEE double precision functions to the files that
14607 implement IEEE single precision functions. (ie. On those systems
14608 sin is moved from s_sin.c to sf_sin.c). There should eventually
14609 be use of a C extension (like gcc's alias attribute) so that the
14610 wrappers are not needed at all.
14611
14612 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
14613 strict NEC V810 compiler.
14614 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
14615 for same reason.
14616
14617 Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14618
14619 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
14620 from NetBSD C library.
14621 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
14622
14623 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
14624 and adapted from implementation I wrote for NetBSD C library.
14625 The difference is __assert doesn't take a format argument,
14626 so that there won't be multiple copies of the same string
14627 constant in the executable if assertions are enabled in
14628 more than one source module.
14629 * libc/include/assert.h (assert): Changed to call __assert.
14630
14631 Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14632
14633 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
14634 word1 on systems with 32 bit doubles.
14635 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
14636 so that we can do arithmetic on them.
14637 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
14638 compilers.
14639
14640 Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
14641
14642 * libc/sys/arm/crt0.S: Zero bss.
14643
14644 Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
14645
14646 * libc/include/unctrl.h: New file.
14647 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
14648 * configure.in (subdirs): Add libc/misc.
14649 * libc/Makefile.in (SUBDIRS): Add misc.
14650 (SUBLIBS): Add misc/lib.a.
14651
14652 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
14653
14654 Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
14655
14656 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
14657 (_vfprintf_r): Call CHECK_INIT.
14658
14659 Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
14660
14661 * Makefile.in (MULTITOP): Delete.
14662 (MULTISRCTOP, MULTIBUILDTOP): Add.
14663 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
14664 instead of cfg-ml-pos.in.
14665
14666 Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
14667
14668 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
14669 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
14670 presence.
14671
14672 Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
14673
14674 * libc/string/strtok.c: Include string.h to pick up strtok_r
14675 prototype.
14676
14677 Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14678
14679 * libc/string/strtok.c: include <_ansi.h>.
14680 * libc/time/asctime_r.c: `reresult' -> `result'.
14681
14682 Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14683
14684 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
14685 in #ifndef _REENT_ONLY ... #endif conditional.
14686
14687 * libc/include/string.h (_strtok_r): Remove declaration.
14688 * libc/include/time.h (_asctime_r): Remove declaration.
14689 * libc/string/strtok.c (_strtok_r): Removed.
14690 * libc/time/asctime.c (_asctime_r): Removed.
14691
14692 * libc/string/Makefile.in (OFILES): Add new object.
14693 * libc/string/strtok_r.c: New file. strtok_r function as
14694 specified by POSIX.1c, adapted from strtok implementation
14695 from NetBSD C library.
14696 * libc/string/strtok.c (strtok): Reimplemented in terms of
14697 strtok_r.
14698
14699 * libc/time/Makefile.in (OFILES): Add new objects.
14700 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
14701 New files, reentrant time functions specified by POSIX.1c.
14702 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
14703 reentrant time functions re-written in terms of reentrant
14704 functions.
14705 * libc/time/lcltime.c: Renamed from localtime.c
14706
14707 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
14708 gmtime_r, and localtime_r.
14709
14710 Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
14711
14712 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
14713 * libc/include/sys/unistd.h (getlogin): Revert change of
14714 Oct 19.
14715 * libc/include/sys/signal.h (sigprocmask): Change prototype
14716 so it compiles with c++.
14717
14718 Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
14719
14720 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
14721 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
14722 to give some room in case we need to align the jmp_buf.
14723
14724 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
14725 the new ppc-asm.h include file the compiler provides to specify
14726 function prologue/epilogue. Eliminate saves of the xer and ctr
14727 registers, which are volatile. Before starting to save registers,
14728 align to 8 byte boundary.
14729
14730 Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
14731
14732 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
14733 referenced by standard libraries.
14734
14735 Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
14736
14737 * libc/unix/Makefile.in, libc/string/Makefile.in,
14738 libc/stdio/Makefile.in, libc/reent/Makefile.in,
14739 libc/posix/Makefile.in:
14740 Remove tabs from otherwise empty line. Confuses some
14741 older non-GNU versions of "make".
14742
14743 Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
14744
14745 * libc/sys/unistd.h (getlogin): Returns const char *.
14746
14747 Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
14748
14749 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
14750 * libc/include/errno.h: Moved into and include...
14751 * libc/include/sys/errno.h: New file.
14752 * libc/include/sys/wait.h: New file.
14753 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
14754 * libc/sys/win32/*: Moved out.
14755 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
14756 * configure.in (i[345]86-*-win32): HAVE_RENAME
14757
14758 Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
14759
14760 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
14761 avoid macro expansion for these two names.
14762
14763 Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
14764
14765 * libc/machine/h8500/psi.S: r6 renamed to fp.
14766
14767 Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
14768
14769 * configure.in (powerpc*): No longer need to define
14770 NO_LONGLONG_POINTERS to supress warnings.
14771
14772 Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
14773
14774 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
14775 through PTR instead of directly.
14776
14777 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
14778 non-standard constructor support.
14779
14780 Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14781
14782 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
14783 address of the Bigint instead of the address of its _x field,
14784 as the size the result buffer was calculated accordingly.
14785 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
14786
14787 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
14788 from NetBSD C library. No longer special cases division by
14789 zero (which needs to be done by the application anyway), but
14790 it doesn't need to call abs() (or labs()) four times either.
14791
14792 * libc/stdlib/qsort.c: Replaced with implementation from
14793 NetBSD C library.
14794
14795 Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14796
14797 * libc/stdio/vfprintf.c: Replaced with implementation from
14798 NetBSD C library (which is derived from the 4.4BSD C library).
14799 * libc/stdio/cvt.c: Removed.
14800 * libc/stdio/Makefile: Updated.
14801
14802 Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
14803
14804 * libc/sys/win32/syscalls.c (rename): New.
14805 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
14806
14807 Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
14808
14809 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
14810 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
14811
14812 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
14813 (setjmp.o): Delete rule to build setjmp.o.
14814 * libc/sys/sh/setjmp.S: Delete file.
14815
14816 Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14817
14818 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
14819 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
14820 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
14821 pow5mult and s2b to identifiers with leading underscores.
14822 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
14823 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
14824
14825 Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
14826
14827 * libc/sys/posix/popen.c (sys/types.h): Include.
14828
14829 Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
14830
14831 * libc/sys/win32/syscalls.h (fhandler): New struct.
14832 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
14833 (__fhandler_normal): Declare.
14834 (hinfo): New member op_handlers.
14835 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
14836 (__write): Likewise.
14837 (_read, _write, _open, _close, _lseek): Validate fd here.
14838 Move file type specific stuff to foo_normal.
14839 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
14840 New functions.
14841 (__lookup_fhandler): New function.
14842 (__lookup_fhandler_hook, __fhandler_normal): New variables.
14843
14844 From anders.blomdell@control.lth.se (Anders Blomdell)
14845 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
14846 Don't touch standard handles.
14847 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
14848 (_execve): Only create __FD_TABLE__ if necessary.
14849 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
14850
14851 Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
14852
14853 * libc/sys/win32/sys/termios.h (FLUSHO): New.
14854 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
14855 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
14856 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
14857 without a handler is received.
14858 * libc/sys/win32/Makefile.in: Remove --nodelete.
14859 * libc/sys/win32/resouce.c (gettimeofday): New.
14860 * libc/sys/win32/syscalls.c (path_to_real_path): New.
14861 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
14862
14863 Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
14864
14865 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
14866 Don't append "/*" to search pattern if trailing '/' already there,
14867 append "*".
14868 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
14869 like /'s, convert them to \'s. Handle //<drive>/ path names.
14870 Add space for quoted \'s in arg string. Print translated prog name
14871 and original prog name.
14872 (_execve): Handle parent doing exec a teensy bit better.
14873 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
14874 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
14875 path needs conversion, handle both cases. Delete `const' from result.
14876 (hash_path_name): New function.
14877 (_open): Call it.
14878 (_stat): Likewise. Fill in more fields for directories.
14879 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
14880 (wait_for_any): Fix trace message.
14881 (waitpid): Explicitly test for intpid == 0.
14882
14883 From anders.blomdell@control.lth.se (Anders Blomdell)
14884 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
14885 so `next' is valid.
14886
14887 Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
14888
14889 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
14890 complicated.
14891
14892 Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14893
14894 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
14895 at all, not just == 1.
14896 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
14897
14898 Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14899
14900 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
14901 * libc/sys/win32/include/wintypes.h: include <winnt.h>
14902 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
14903 file.
14904
14905 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
14906
14907 * libc/sys/syscalls.c (getcwd): Fix off by one error.
14908
14909 * libc/sys/signal.c (sleep): Fill it in.
14910 * libc/sys/termios.c (tcflush): Use PurgeComm
14911 (tcsetattr): Set some more of the bits.
14912 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
14913
14914 Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
14915
14916 * libc/sys/arm/crt0.S (fp): Initialize to 0.
14917 Conditionally include .idata$3 stuff ifdef __pe__.
14918
14919 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
14920
14921 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
14922 * libc/sys/win32/pipe.c (pipe): Ditto.
14923 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
14924 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
14925 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
14926 (tcgetattr): Contents are new.
14927 * libc/sys/win32/include/winkernel.h (DCB): New.
14928 (GetCommState, SetCommState): New.
14929
14930 Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
14931
14932 * libc/sys/arm/crt0.S (_start): Define.
14933
14934 Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
14935
14936 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
14937 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
14938
14939 * libc/sys/win32/sysconf.c: New
14940 * libc/sys/win32/sys/winadvapi.h: New
14941 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
14942 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
14943 * libc/sys/win32/pipe.c (pipe): Ditto.
14944 * libc/sys/win32/signal.c (_raise): New.
14945 (_kill): Moved from spawn.c
14946 * libc/sys/win32/spawn.c (kill): Moved to signal.c
14947 * libc/sys/win32/syscalls.c (__read): Use new fields.
14948 (_open): Ditto.
14949 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
14950 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
14951 * libc/include/sys/unistd.h (rmdir): Takes const path.
14952 * libc/include/sys/stat.h (mkdir): Takes const path.
14953 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
14954
14955 Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
14956
14957 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
14958
14959 Add support for specifying paths as //<drive>/foo/bar.
14960 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
14961 (__path_to_real_path): Declare.
14962 (PATH_TO_REAL_PATH): New macro.
14963 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
14964 (__path_needs_conversion_p, __path_to_real_path): New functions.
14965 (_open): Fix test for error return from CreateFileA.
14966 Handle new path syntax.
14967 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
14968 * libc/sys/win32/dirsearch.c (opendir): Likewise.
14969
14970 Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
14971
14972 * libc/sys/win32/include/*.h: Reorganized
14973 * libc/sys/win32/include/WINREADME: New.
14974 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
14975 * libc/sys/win32/*.c: Fix for new include scheme.
14976 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
14977 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
14978 * libc/sys/win32/passwd.c (*): Fix.
14979 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
14980 (_stat): Get directory owner and permissions right.
14981 * libc/sys/win32/syscalls.h (uinfo): New.
14982 * libc/sys/win32/version.def: Remove leading underscores.
14983
14984 Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14985
14986 * libc/sys/win32/key.c: include "include/wincon.h".
14987
14988 Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
14989
14990 * libc/sys/win32/{key, stubs}.c: New.
14991 * libc/sys/win32/Makefile: Adjust to cope.
14992 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
14993 (environ_init): Change env names to upper case.
14994 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
14995 * libc/sys/win32/passwd.c (*): Fill in the functions.
14996 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
14997 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
14998 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
14999 (_open): Initialze hmap->execable_p too.
15000 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
15001 (_fstat): Fill in permissions.
15002 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
15003
15004 Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
15005
15006 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
15007 if defined.
15008 (cfg-ml-pos.in invocation): Likewise.
15009
15010 Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15011
15012 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
15013 s_isnan.o and sf_isnan.o.
15014
15015 Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
15016
15017 * All Makefile.in files: added maintainer-clean target as a
15018 synonym for realclean.
15019
15020 Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
15021
15022 * libc/include/machine/setjmp.h: Add hppa support.
15023 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
15024 support.
15025 * libc/machine/hppa/Makefile.in: Related changes.
15026
15027 Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
15028
15029 * configure.in (machine_dir): Don't set for v810-*-*.
15030
15031 Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15032
15033 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
15034 conventions correctly.
15035
15036 Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
15037
15038 * libc/stdio/puts.c: Update documentation of return value to match
15039 ANSI standard.
15040
15041 Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
15042
15043 Fix file descriptor inheritance.
15044 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
15045 (NOT_OPEN_FD): Fix.
15046 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
15047 close-on-exec flag not set. Initialize child's entire fd table.
15048 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
15049 CHILD_P.
15050 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
15051 if CHILD_P. Initialize entire hmap entry.
15052 (dup): Only create new handle as inheritable if CHILD_P.
15053 (dup2): Likewise. Properly initialize hmap entry.
15054
15055 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
15056 _spawn.
15057 (_exit): Use CHILD_P.
15058 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
15059 (_stat): Likewise.
15060
15061 Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15062
15063 * libc/sys/win32/crt0.c (passover): fix up the state table.
15064 * libc/posix/popen.c: Added.
15065 * libc/posix/Makefile.in: compile popen.c.
15066
15067 Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
15068
15069 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
15070 h8/500 define _DOUBLE_IS_32BITS.
15071
15072 Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
15073
15074 Get vfork/exec/spawn/cwait/wait working again.
15075 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
15076 (procinfo): New member vfork_level.
15077 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
15078 (vfork_init_first): Use GetCurrentProcessId to get pid.
15079 Initialize vfork_level.
15080 (vfork_init): Delete __PID__.
15081 (environ_init): New function. Undo patch of Aug 19, Posix says
15082 environment variables are case sensitive.
15083 (mainCRTStartup): Call it.
15084 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
15085 (my_longjump: Make static.
15086 (_spawn): New argument `h'. Delete setting of __PID__.
15087 Delete local `idx'. Look for chars that need quotes, rather than
15088 ones that don't. Set handle of created process in `h'.
15089 Result is process id if created task.
15090 (allocate_spawn_entry): New function.
15091 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
15092 (_execve): Set __FD_TABLE__ before spawning child.
15093 Scan our fd table when passing fds, not our parent's.
15094 Store handle and pid in procinfo entry.
15095 (vfork0): Ensure strace message always printed.
15096 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
15097 (vfork): Don't clobber result of vfork0.
15098 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
15099 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
15100
15101 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
15102 and `exit_code'.
15103 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
15104 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
15105 adding vfork level to pseudo-pid.
15106 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
15107 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
15108 (_exit): If child, set exit code.
15109 (__vfork_record_death): Only close process handle if valid.
15110 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
15111 didn't exec.
15112 (wait_for_any): Likewise. Start scan after root entry.
15113
15114 Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15115
15116 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
15117 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
15118 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
15119 of actual file length.
15120
15121 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
15122 * libc/include/paths.h: _PATH_BSHELL added.
15123 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
15124 and STDERR_FILENO.
15125
15126 Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15127
15128 * libc/include/ar.h: Added.
15129 * libc/include/sys/types.h: ino_t goes back to 32-bits.
15130 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
15131 * libc/sys/win32/syscalls.c (_open): compute .namehash based
15132 on filename.
15133 (_fstat): use .namehash for inode number of the fd.
15134
15135 Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
15136
15137 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
15138 Change hinfo to __this_procinfo.
15139 * libc/sys/win32/crt0.c: Remove procinfo_list.
15140
15141 Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15142
15143 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
15144 win32 environment.
15145
15146 Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15147
15148 * libc/sys/win32/include/grp.h: Removed.
15149 * libc/sys/include/grp.h: Added.
15150 * libc/sys/win32/grp.c: Include <grp.h>.
15151
15152 Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
15153
15154 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
15155 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
15156 Defined for all but strict ANSI.
15157 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
15158 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
15159 * libc/signal/signal.c (_signal_r): Changed from using
15160 _MAX_SIGNALS to NSIG.
15161 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
15162 __hmap): Deleted.
15163 (__strace, __vfork_next_pid): New.
15164 (__exe_suffix): Default to 1.
15165 (passover, table): Understand quoted arguments.
15166 (vfork_init_first): New.
15167 (vfork_init): Initialize new process structure.
15168 (mainCRTStartup): Pass environ to main.
15169 * exceptions.c (__sig_mask): New
15170 (ehandler3): Ignore signals in mask.
15171 (really_exit): Remove CHILD_P test.
15172 * pipe.c (pipe, dup, dup2): Use new process and file structure.
15173 * resource.c (getrusage): Ditto.
15174 * signal.c (sigprocmask): New.
15175 * spawn.c (*): Rewritten.
15176 * syscalls.c (*): Use new process and file structure.
15177 (find_unused_handle): New.
15178 * syscalls.h (MAX_HANDLES): Deleted.
15179 (hinfo): Removed child_created_p.
15180 (MAX_CHILDREN): Deleted.
15181 (vfork_jmp_info, procinfo): New.
15182 * wait.c (*): Mostly new.
15183 * sys/strace.h (_STRACE_PARANOID): New.
15184 * sys/param.h: New file.
15185
15186 Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15187
15188 * libc/include/sys/stat.h: add S_BLKSIZE.
15189 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
15190 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
15191 types under win32.
15192 (mode_t): add a #else to avoid multiple definitons.
15193
15194 * libc/sys/win32/Makefile.in: add grp.c.
15195 * libc/sys/win32/grp.c: include grp.h correctly.
15196 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
15197 of the st structure with real information.
15198 * libc/sys/win32 (dirent): d_ino is of type ino_t.
15199
15200 Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
15201
15202 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
15203 and (maybe) sparc64.
15204 (nlink_t): Provide typedef.
15205
15206 Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15207
15208 * libc/sys/win32/grp.c: New file.
15209 * libc/sys/win32/include/grp.h: New file.
15210
15211 Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15212
15213 * libc/include/machine/ieeefp.h: Added whitespace to make this
15214 file easier to maintain.
15215 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
15216 depending on the value of __LITTLE_ENDIAN__.
15217 On the sh3e, define _DOUBLE_IS_32BITS.
15218
15219 Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
15220
15221 * libc/sys/vr4300/syscalls.c: Added missing support
15222 routines. _raise() and getpid().
15223
15224 Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
15225
15226 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
15227
15228 Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
15229
15230 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
15231 and VR4300 processor.
15232 * libc/sys/vr4300: Add directory.
15233 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
15234 monitor run-time support.
15235
15236 Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15237
15238 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
15239 * libc/stdlib/stdlib.tex: Don't include atol.def.
15240
15241 Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15242
15243 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
15244
15245 Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
15246
15247 * libc/ctype/Makefile.in: Fill in _to* dependencies.
15248
15249 Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
15250
15251 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
15252 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
15253 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
15254 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
15255 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
15256
15257 Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15258
15259 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
15260
15261 Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15262
15263 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
15264 * libc/stdlib/atoff.c: New file.
15265 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
15266 * libc/stdlib/atoi.c (atol): Removed.
15267 * libc/stdlib/atol.c: Removed duplicate documentation.
15268
15269 * libc/include/ctype.h (_tolower, _toupper): Moved inside
15270 #ifndef _STRICT_ANSI conditional.
15271 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
15272 * libc/ctype/_tolower.c: New file.
15273 * libc/ctype/_toupper.c: New file.
15274 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
15275 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
15276 * libc/ctype/toascii.c (_toascii): Removed.
15277
15278 Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
15279
15280 * libc/sys/sparc64/sys/types.h: Deleted.
15281
15282 Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15283
15284 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
15285 and recognize Windows_95 systems.
15286
15287 Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15288
15289 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
15290 and passed fds should be opened in text mode.
15291
15292 Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15293
15294 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
15295 in __hmap, set to binary mode by default.
15296
15297 Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15298
15299 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
15300 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
15301 vector 34.
15302
15303 Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
15304
15305 * Makefile.in (install): Install all libraries found in the
15306 top level. If there's a sys/<type>/include directory,
15307 install those headers into include.
15308
15309 * libc/sys/win32/kernel.def351: Delete
15310 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
15311 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
15312 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
15313 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
15314 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
15315 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
15316 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
15317 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
15318
15319 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
15320 * libc/sys/win32/crt0.c: Force all env names to upper case.
15321 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
15322 * libc/sys/win32/*.c: Headers have moved.
15323 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
15324 __vfork_child_idx is now __vfork_child_ptr.
15325
15326 * posix/execvp (execvp): Don't crash if no PATH envname.
15327
15328 Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15329
15330 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
15331 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
15332 through the _freelist instead of through the _reclaim list.
15333 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
15334 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
15335 sources.
15336
15337 Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15338
15339 * libc/machine/h8500/setjmp.S: New file.
15340 * libc/include/machine/setjmp.h: Updated for H8/500.
15341
15342 Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
15343
15344 * libc/sys/win32/syscalls.c (_open): More stracing.
15345 (_stat): Open the file in O_BINARY.
15346
15347 Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15348
15349 * libc/machine/h8300/setjmp.S: New file.
15350 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
15351
15352 Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
15353
15354 * libc/sys/win32/crt0.c (__exe_suffix): New global.
15355 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
15356 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
15357 __exe_suffix. Free fd_tab after setting env variable.
15358 (spawnv,_execve): Update.
15359 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
15360 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
15361 (__small_vfprintf): New function.
15362 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
15363 * libc/sys/win32/wait.c (cwait): Validate argument.
15364
15365 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
15366 (process_deletion_queue): Likewise.
15367
15368 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
15369
15370 Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
15371
15372 * libc/sys/win32: Copyrights and gratuitous indenting.
15373
15374 Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
15375
15376 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
15377 (process_deletion_queue): Likewise.
15378 (__close_all_files): New function.
15379 (_close): Only queue file deletion if really a file.
15380 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
15381 _P_APPEND_EXE.
15382 (_exit): Call __close_all_files.
15383
15384 * libc/stdlib/system.c: #include <errno.h>.
15385 (_system_r): Fix results in -DNO_EXEC case.
15386
15387 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
15388 Reorganize structure.
15389 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
15390 if argument is valid. Save directory name in DIR. malloc space
15391 for dirent struct separately.
15392 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
15393
15394 * libc/include/errno.h (ENAMETOOLONG): Define.
15395 * libc/string/strerror.c (strerror): Reword ENFILE.
15396 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
15397
15398 Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
15399
15400 * libc/sys/win32/crt0.c (__progname): New global.
15401 (mainCRTStartup): Support strace=bitmask,filename.
15402 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
15403 * libc/sys/win32/syscalls.c (_write): Print parent trace message
15404 if error.
15405 (getcwd): Handle len too small. Convert '\\' to '/'.
15406 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
15407 Add prototypes for open, creat, fcntl.
15408 (O_APPEND): Change value to conform to Microsoft's value.
15409 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
15410
15411 * libc/stdlib/getopt.c: New file.
15412 * libc/stdlib/Makefile.in: Build it.
15413
15414 Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
15415
15416 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
15417 Fix scanning of $PATH.
15418 * libc/posix/exec*.c: Call _execve, not execve.
15419 * libc/posix/execve.c: New file.
15420 * libc/posix/Makefile.in (OFILES): Add execve.o.
15421
15422 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
15423 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
15424 (_STRACE): If level==0, always print. Handle new bit mask scheme.
15425 * libc/sys/win32/crt0.c: Update _STRACE calls.
15426 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
15427
15428 * libc/sys/win32/smallprint.c (rn): Fix digit list.
15429
15430 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
15431 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
15432 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
15433 Print __seterrno trace message first.
15434 (_execve): Renamed from execve.
15435 (vfork): Update __strace usage.
15436 (__vfork_child_pid): Deleted.
15437 (__vfork_children, __vfork_child_idx): New globals.
15438 (_spawnvp): New function.
15439 (spawnvp, spawnv, _execve): Call _spawnvp.
15440 (init_child): Record child in __vfork_children.
15441 (__vfork_get_entry, __vfork_record_death): New functions.
15442 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
15443 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
15444 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
15445 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
15446 (children): New typedef.
15447 (__vfork_children,__vfork_child_idx): Declare.
15448 (__vfork_get_entry,__vfork_record_death): Declare.
15449 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
15450 (waitpid): Handle pid == -1.
15451 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
15452 * configure.in (i386-win32): Add -DNO_FORK.
15453 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
15454 * libc/reent/execr.c (_fork_r): Likewise.
15455 * libc/stdlib/system.c (do_system): New function.
15456 If WIN32, try to get shell path from $SH_PATH, use vfork.
15457 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
15458 otherwise return 0.
15459
15460 Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
15461
15462 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
15463 * libc/sys/win32/fcntl.h: Don't include self.
15464 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
15465 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
15466 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
15467 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
15468 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
15469 Correct prototypes.
15470 * libc/sys/win32/strace.c: New file.
15471 * libc/sys/win32/smallprint.c: New file.
15472 * libc/sys/win32/crt0.c (func): Delete.
15473 (mainCRTStartup): Fix alloca usage. Set handles explictly.
15474 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
15475 * libc/sys/win32/exceptions.c: Lint.
15476 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
15477 Clean up handle usage.
15478 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
15479 (open.c): Default file type is text.
15480 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
15481 * libc/sys/win32/advapi32.def: New
15482
15483 Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
15484
15485 * configure.in (posix_dir, libc_posix_lib): New variables.
15486 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
15487 (i[345]86-*-win32): Define posix_dir.
15488 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
15489 (if unix_dir): Fix typo.
15490 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
15491 scandir,seekdir,telldir}: New files.
15492 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
15493 from libc/unix.
15494 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
15495 (SUBDIRS): Add posix.
15496 (SUBLIBS): Add $(LIBC_POSIX_LIB).
15497
15498 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
15499 (NSIG): Increase to 21.
15500 * libc/include/sys/unistd.h (pid_t): Move from here,
15501 * libc/include/sys/types.h (pid_t): to here.
15502
15503 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
15504 (__ptrace): Delete.
15505 (hinfo): New members close_exec_p, child_created_p.
15506 (struct exception_list): Define.
15507 (__hmap): Redefine as pointer to table.
15508 (__parent_hmap, __child_hmap): New globals.
15509 (__set_errno, __really_exit): Declare.
15510 (__vfork_child_pid): Declare.
15511 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
15512 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
15513 (__parent_hmap, __child_hmap): New globals.
15514 (__hmap): Redefine as pointer to active map.
15515 (__get_console): New function.
15516 (mainCRTStartup): Change leading '=' in environ vars to '!'.
15517 (env __FD_TABLE__): Watch for this and initialize our fd/handle
15518 mapping table from it if defined.
15519 (argv, envp): Dump if __strace >= 4.
15520 (main): Call here.
15521 * libc/sys/win32/exceptions.c (myp): Redefine.
15522 (__syscalls_b): Delete.
15523 (__stack_trace): New function.
15524 (ehandler3): Update to use _STRACE. Print stack trace.
15525 Call __really_exit instead of exit.
15526 (init_exceptions): Delete args argc,argv. New arg mine.
15527 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
15528 FindFirstFileA, FindNextFileA, GetComputerNameA,
15529 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
15530 * libc/sys/win32/signal.c (signal): Validate arg.
15531 (alarm, sleep): Define as stubs for now.
15532 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
15533 (__syscalls_b, errno): Delete.
15534 (__vfork_child_pid, __vfork_jmp_buf): New globals.
15535 (__seterrno): Handle more errors.
15536 (__sys_printf): Renamed from _ptrace.
15537 (__really_exit): New function.
15538 (queue_file_deletion, process_deletion_queue): New functions.
15539 (__resume_parent): New function.
15540 (_unlink): Handle trying to delete open file.
15541 (__totime_t): Renamed from totime_t.
15542 (setsid, __read, __write): New functions.
15543 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
15544 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
15545 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
15546 * libc/sys/win32/console.c: Update to new definition of __hmap.
15547 * libc/sys/win32/Makefile.in: Build new files.
15548 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
15549 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
15550 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
15551 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
15552
15553 Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
15554
15555 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
15556
15557 Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15558
15559 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
15560 have been made to the master dtoa.c sources (from netlib.att.com)
15561 since they were integrated into newlib in early 1992. Fixes
15562 problems with storage leaks and handling of numbers with very
15563 negative exponents.
15564
15565 Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15566
15567 * Makefile.in (all): set rootpre and srcrootpre before calling
15568 sub-makes.
15569
15570 Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
15571
15572 * libc/sys/win32/crt0.c: Change __hmap usage.
15573 * libc/sys/win32/exceptions.c: Use _ptrace call.
15574 * libc/sys/win32/syscalls.c: Use _ptrace call.
15575 (read, write): Cope with DOS style CRLF when in TEXT mode.
15576 * libc/sys/win32/syscalls.h: Declare hinfo struct.
15577 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
15578 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
15579 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
15580 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
15581
15582 Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15583
15584 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
15585
15586 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
15587 wrappers for hypot() and remainder() for BSD libm compatibility.
15588 These are public domain implementations written by me for the
15589 NetBSD libm some time ago. Note cabs() is required by ucbtest.
15590 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
15591 (fobj): Added wf_cabs.o and wf_drem.o.
15592
15593 Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15594
15595 * libc/sys/h8500hms/misc.c: New file.
15596 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
15597
15598 Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15599
15600 * libc/time/localtime.c (localtime): Fix problem with leap year
15601 handling. Stole algorithm from Arthur David Olson's tz code.
15602
15603 Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
15604
15605 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
15606
15607 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
15608 (_exit): Use argument.
15609
15610 Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
15611
15612 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
15613
15614 Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
15615
15616 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
15617
15618 Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15619
15620 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
15621 target_cflags.
15622
15623 Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
15624
15625 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
15626 ptrace with case insensitivity
15627 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
15628 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
15629 New files.
15630
15631 Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
15632
15633 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
15634 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
15635 (all, install, *clean): Use new multilib support.
15636 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
15637
15638 Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
15639
15640 * libc/include/sys/signal.h (__WIN32__): New.
15641
15642 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
15643
15644 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
15645 (ulp, b2d): Handle 32 bit doubles.
15646 * libc/stdlib/mprec.h: Handle 32 bit doubles.
15647 * libc/stdlib/strtod.c (_strtod_r): Ditto.
15648
15649 Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
15650
15651 from medp@primag.co.uk:
15652 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
15653 dynamically allocated buffers.
15654
15655 Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
15656
15657 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
15658 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
15659
15660 Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15661
15662 * configure.in (powerpc): Fix previous fix.
15663
15664 Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15665
15666 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
15667 directories for this target.
15668
15669 Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
15670
15671 * configure.in (hppa): Add machine_dir definition.
15672 * libc/machine/hppa: New directory with PA specific implementations
15673 of the basic memory/string functions.
15674
15675 Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15676
15677 * configure.in: Update current PowerPC multilib directories.
15678 Split big and little endian configurations.
15679
15680 Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
15681
15682 * configure.in: Add --enable-single-float option to configure to
15683 control use of MIPS single-float directories. Default to yes.
15684
15685 * Makefile.in (all): Don't recurse into multilib directory if it
15686 does not exist.
15687
15688 Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15689
15690 * libc/sys/sh/syscalls.c: Fix typo.
15691
15692 Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
15693
15694 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
15695 Pass down DLLTOOL.
15696 * libc/include/process.h: Define WAIT_CHILD.
15697 * libc/include/types.h: Get sizes right for win32.
15698 * configure.in (i386-*-pe): Becomes i386-win32.
15699 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
15700 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
15701 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
15702 is defined.
15703
15704 Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
15705
15706 * configure.in (i[345]86-*-pe): New target (NT).
15707 * host/any: DLLTOOL new.
15708 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
15709 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
15710 WIN32 (just enough to cross host the comp-tools).
15711
15712 Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
15713
15714 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
15715 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
15716
15717 Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
15718
15719 * libc/include/machine/ieeefp.h (arm): Change to always be
15720 __IEEE_BIG_ENDIAN (even on little endian ARM's).
15721
15722 Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
15723
15724 * libc/sys/crt0.S: Initialze sp, and call exit after main.
15725 * libc/sys/syscalls.c (abort): New.
15726 * configure.in (arm): Define ABORT_PROVIDED.
15727
15728 Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15729
15730 * configure.in (powerpc): Define multidirs.
15731
15732 Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
15733
15734 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
15735
15736 Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
15737
15738 * configure.in (sparclite): Delete target_cflags. Define multidirs.
15739
15740 Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
15741
15742 * configure.in, libc/include/machine/ieeefp.h: Modified
15743 for arm:
15744 libc/machine/arm/*, libc/sys/arm/*: New
15745
15746 Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15747
15748 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
15749 __powerpc__ when determining endianness.
15750
15751 Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15752
15753 * configure.in (m68*): Add multidir for the m68332.
15754
15755 * host/any (CC): Fix typo in last change.
15756
15757 Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
15758
15759 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
15760 when determining endianness.
15761 * libc/include/machine/ieeefp.h: Ditto.
15762 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
15763 operands.
15764
15765 Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
15766
15767 * libc/include/errno.h (ENOTEMPTY): Define.
15768
15769 Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15770
15771 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
15772 target_cflags.
15773
15774 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
15775 and umultiply.o.
15776
15777 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
15778 instead of only when open succeeds. ANSI requires that multiple
15779 calls to tmpnam() result in different files.
15780
15781 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
15782 objects pulled in from /lib/libc.a that must be renamed before
15783 being pulled into newlib. /lib/libc.a's div.o conflicted with
15784 newlib's file with the same name.
15785
15786 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
15787
15788 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
15789 the build tree will only be used if the executables are present
15790 (instead of just the Makefiles).
15791
15792 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
15793 wcstombs): Define.
15794 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
15795 versions of these functions that I orignally wrote for the
15796 NetBSD C library.
15797 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
15798 versions I wrote for NetBSD.
15799
15800 Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
15801
15802 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
15803 * libc/sys/sparclite/crt0.s: ditto.
15804
15805 Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
15806
15807 * configure.in: Add soft-float for proelf.
15808
15809 Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
15810
15811 * libc/stdlib/mprec.h (Bcopy): Copy the right number
15812 of bytes.
15813
15814 Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
15815
15816 * Makefile.in (all): Depend on `force'.
15817 * configure.in (syscall_dir): Renamed from fake_sys_dir.
15818 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
15819 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
15820 * libc/Makefile.in: Likewise.
15821 * libc/include/reent.h: Update syscall references.
15822 (_fcntl_r): Add prototype.
15823 * libc/syscalls/*.c #include <reent.h>.
15824 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
15825
15826 Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
15827
15828 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
15829 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
15830 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
15831 (time.h, sys/types.h): Always include (even if MSDOS).
15832 (stat): Fix prototype.
15833
15834 Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
15835
15836 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
15837
15838 Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15839
15840 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
15841
15842 Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
15843
15844 * libc/include/regdef.h: New file.
15845 * libc/machine/mips/machine/regdef.h: New file.
15846
15847 Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
15848
15849 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
15850
15851 Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
15852
15853 * libc/sys/sh/crt0.S: Pass main's return to exit.
15854 * libc/sys/sh/trap.S: Put errno in the right place.
15855
15856 Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
15857
15858 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
15859 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
15860 * libm/math/ef_rem_pio2.c: Likewise.
15861 * libm/math/e_log10.c: Remove unused static one.
15862 * libm/math/ef_log10.c: Likewise.
15863 * libm/math/s_frexp.c: Likewise.
15864 * libm/math/sf_frexp.c: Likewise.
15865
15866 Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
15867
15868 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
15869 longjmp.S: Upgraded.
15870 * libc/sys/go32/sys/setjmp.h: Upgraded.
15871 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
15872
15873 Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
15874
15875 * configure.in: Add many entries to multidirs for mips targets.
15876
15877 Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15878
15879 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
15880 5.2 which fixes bug where jn(-1,x) is three times larger than
15881 the actual answer.
15882 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
15883
15884 Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
15885
15886 * libc/sys/w65/sys/syscalls.h: New file
15887 * libc/include/machine/ieeefp.h: W65 support.
15888 * libc/include/sys/config.h: Ditto.
15889 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
15890 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
15891 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
15892
15893 Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
15894
15895 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
15896
15897 Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
15898
15899 * Makefile.in, configure.in: Remove any references to the old
15900 "stub" dir.
15901
15902 Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
15903
15904 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
15905 uses ... in prototype.
15906
15907
15908 Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
15909
15910 * libc/sys/a29khif/sys/libconfig.h: Remove.
15911 * libc/sys/go32/sys/libconfig.h: Remove.
15912 * libc/sys/sun4/sys/libconfig.h: Remove.
15913 * libc/sys/sysvi386/sys/libconfig.h: Remove.
15914 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
15915 * libc/sys/sparc64/sys/libconfig.h: Remove.
15916
15917 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
15918 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
15919 * libc/include/math.h: Change all uses of _FLOAT_RET and
15920 _FLOAT_ARG to float.
15921 * libm/test/math.c: Likewise.
15922 * testsuite/libm.sac/math.c: Likewise.
15923 * testsuite/libm.sac/working/math.c: Likewise.
15924
15925 Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
15926
15927 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
15928 gcc calls gas with endian option.
15929 * configure.in (sh): Build little endian version too.
15930
15931 Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
15932
15933 * configure.in: Configure big and little endian versions for MIPS
15934 targets.
15935
15936 Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
15937
15938 * libc/include/limits.h: Deleted.
15939 * libc/include/machine/limits.h: Deleted.
15940
15941 Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
15942
15943 * ChangeLog: Remove stub directory. This has all been rewritten
15944 and moved to devo/libgloss.
15945
15946 Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
15947
15948 * Makefile.in (dvi): Add to info target, use $@ in sub make.
15949 (docs): Merge into info target.
15950 * libm/Makefile.in (dvi): Add $(srcdir).
15951 * libm/math/Makefile.in (chobjs): Remove underscores from file
15952 names. Texinfo doesn't like them.
15953 (wacos.def, ...): Add explicit targets for all .def files.
15954 * libm/math/math.tex: Remove underscores from @include file names.
15955 * doc/Makefile.in (dvi): Add dummy target.
15956 * testsuite/Makefile.in (dvi): Add dummy target.
15957
15958 Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
15959
15960 * Makefile.in (VERSION): Define. For net newlib releases.
15961
15962 Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
15963
15964 * README: New file.
15965
15966 Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
15967
15968 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
15969
15970 Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15971
15972 * libc/stdlib/setenv.c (_findenv): Declare.
15973
15974 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
15975 fcntl to not use _EXFUN, and change string parameters to open and
15976 creat to be ``const char *''.
15977 * libc/sys/sparc64/sys/fcntl.h: Likewise.
15978 * libc/sys/sparc64/creat.c (creat): Make PATH const.
15979 * libc/syscalls/sysopen.c: Include <fcntl.h>.
15980 (open) Make _FILE const.
15981 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
15982 (_creat): Make PATH const.
15983 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
15984 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
15985 * libc/sys/m88kbug/syscalls.c (open): Likewise.
15986 * libc/sys/sh/syscalls.c (_open): Likewise.
15987 * stub/shared/glue.c (open): Make BUF const.
15988 * stub/ex93x/syscalls.c (open): Make FILENAME const.
15989
15990 Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
15991
15992 * libc/include/errno.h: Add ENMFILE
15993 * libc/include/sys/config.h: Support Z8000.
15994 * libc/include/sys/signal.h: New signals for go32.
15995 * libc/machine/h8500/psi.S (__addpsir0r0): New function
15996 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
15997 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
15998 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
15999 size is variable, depending upon CHUNK_POWER.
16000 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
16001
16002 Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
16003
16004 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
16005
16006 Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16007
16008 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
16009
16010 Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16011
16012 * configure.in: Change i[34]86 to i[345]86.
16013
16014 * libc/include/math.h: Don't define HUGE_VAL if it is already
16015 defined.
16016
16017 Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16018
16019 * testsuite/libm.sac/test_erfc.c: Correct some result values.
16020 * testsuite/libm.sac/test_gammaf.c: Likewise.
16021 * testsuite/libm.sac/test_sin.c: Likewise.
16022 * testsuite/libm.sac/test_tanh.c: Likewise.
16023
16024 Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16025
16026 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
16027 already set. Define typedefs __int32_t and __uint32_t.
16028 * libc/include/math.h: Include <machine/ieeefp.h>.
16029 (union __dmath): Use __uint32_t.
16030 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
16031 instead of int and unsigned int.
16032
16033 Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16034
16035 Replace the math library with the SunPRO fdlibm package.
16036 * libm/math: Completely changed all files.
16037 * libm/ieeefp: Remove contents and directory.
16038 * libm/Makefile.in (LIBM_FP_LIB): Remove.
16039 (SUBDIRS): Just set to math/lib.a.
16040 * libm/libm.texinfo: Updated for new library.
16041 * libc/include/math.h: Extensive changes for new math library.
16042 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
16043 from _FLOAT_ARG to float.
16044 (maxpowtwo, maxpowtwof): Don't declare.
16045 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
16046 (libm_fp_lib): Removed.
16047 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
16048 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
16049 argument to ${RUNTEST}.
16050 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
16051 (.c.o): New rule.
16052 (RUNTESTFLAGS): Set CC and CFLAGS.
16053 (TESTS): Remove test_log2 and test_log2f.
16054 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
16055 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
16056 _FLOAT_ARG, for single precision argument type.
16057 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
16058 expected failure. Close the input pipe.
16059 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
16060 Correct misspelling of inaccurate.
16061 (test_mok): Use ``inaccurate'', not ``wrong''.
16062 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
16063 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
16064 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
16065 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
16066 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
16067 test_yn.c): Correct many result values. Many are still wrong.
16068
16069 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
16070 just copy the string.
16071 (_gcvt): Always return the buffer.
16072
16073 Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16074
16075 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
16076
16077 Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
16078
16079 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
16080 structure.
16081 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
16082 (_reclaim_reent): declare new entry point.
16083 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
16084 functions.
16085
16086 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
16087 ever allocated, so that we can later reclaim them all.
16088 (pow5mult): make reentrant.
16089
16090 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
16091 so that when given NULL as a buffer, return a pointer to static
16092 space in the rent structure. This is not documented behaviour;
16093 it's only to support ecvt and fcvt, which aren't ANSI anyway.
16094 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
16095 therefore become reentrant).
16096
16097 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
16098
16099 Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16100
16101 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
16102
16103 Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16104
16105 * Makefile.in: Make link to libg.a after libc.a; this is needed
16106 for the testsuites to build executables when everything comes
16107 from the tree.
16108
16109 Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
16110
16111 * libc/Makefile.in: Add a VERSION variable so we can keep track.
16112 * libm/Makefile.in: Add a VERSION variable so we can keep track.
16113
16114 Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16115
16116 * libc/include/stdio.h: Use __VALIST, not va_list.
16117
16118 Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
16119
16120 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
16121 testsuite/libm.sac/execute.exp:
16122 Replace error proc calls with perror calls.
16123
16124 Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
16125
16126 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
16127 * libc/include/time.h: #define NULL as 0L.
16128
16129 Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
16130
16131 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
16132 care of it.
16133
16134 Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16135
16136 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
16137 not __unix__.
16138
16139 Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
16140
16141 * configure.in (TARGET_CFLAGS): Set -O2 as default.
16142 (z8k-*-*): Use syscalls fake sys dir.
16143 * libc/sys/z8k/glue.c: Rename syscalls.
16144 * libc/sys/go32/Makefile.in: Use new routines.
16145 * libc/machine/Makefile.in: Fix typo in ln stuff.
16146
16147 Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16148
16149 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
16150 * libc/Makefile.in (crt0.o): Likewise.
16151 * libc/machine/Makefile.in (lib.a): Likewise.
16152 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
16153
16154 All Makefile.in files: Added mostlyclean, realclean and distclean
16155 targets.
16156
16157 * Makefile.in: Don't bother to unexport XTRAFLAGS or
16158 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
16159 the top level Makefile.
16160
16161 Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
16162
16163 * libc/sys/sparc64/sys/stat.h: New file.
16164 * libc/sys/sparc64/sys/time.h: New file.
16165 * libc/sys/sparc64/sys/types.h: New file.
16166
16167 Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
16168
16169 * stub/ex93x/crt0.s (start): Add code to clear bss.
16170
16171 Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
16172
16173 * libc/include/sys/types.h (time_t): Properly protect inside
16174 #ifndef __time_t_defined.
16175
16176 * libc/stdio/fileno.c: New file.
16177 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
16178 (fileno.o): Add dependency.
16179 * libc/include/stdio.h (__sgetc): Rename never to _never.
16180 (fileno macro): Disable, needs to do CHECK_INIT first.
16181
16182 Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
16183
16184 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
16185 goal.
16186
16187 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
16188 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
16189 runtest.
16190 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
16191 runtest.
16192
16193 Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
16194
16195 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
16196 of the various constants.
16197
16198 Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
16199
16200 * libc/include/math.h: #ifndef __math_68881 around things which
16201 conflict with the (gcc-provided) inline functions in
16202 gcc/ginclude/math-68881.h.
16203
16204 Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
16205
16206 * libc/include/_syslist.h (_gettimeofday): Define.
16207 (_times): Ditto.
16208 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
16209 (struct tms, timeval, timezone): Declare.
16210 (_gettimeofday_r, _times_r): Declare.
16211 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
16212 #ifdef _CLOCK_T_ surrounding definition of clock_t.
16213 (time_t): Add multiple definition protection, __time_t_defined.
16214 * libc/include/sys/time.h: Don't #include <time.h>.
16215 Always define struct timezone (remove #ifndef _TIME_H_).
16216 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
16217 #ifdef _CLOCK_T_ surrounding definition of clock_t.
16218 * libc/reent/Makefile.in (OFILES): Add timer.o.
16219 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
16220 * libc/reent/timer.c: New file.
16221 * libc/time/clock.c: #include <reent.h>.
16222 (clock): Call _times_r instead of times.
16223 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
16224 HAVE_GET_TIME_OF_DAY.
16225 Add comment regarding supporting OS routine(s) required (for docs).
16226 #include <reent.h>.
16227 (time): Call _gettimeofday_r instead of gettimeofday.
16228 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
16229 * libc/time/ctime.c: Ditto.
16230 * libc/time/strftime.c: Ditto.
16231 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
16232 (TEMPLATE_SFILES_R): Define here. Also define times.
16233 Add times_r.o/times.S dependence.
16234 (time2.c, junk.c): Deleted.
16235 * libc/sys/sparc64/time2.c: Deleted.
16236 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
16237
16238 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
16239 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
16240 * libc/sys/sparc64/junk.c: Deleted.
16241
16242 Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
16243
16244 * libc/sys/sparc64/Makefile.in: Add times syscall.
16245 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
16246 be used with and without it. Add comment clarifying Medium/Anywhere
16247 model requirements.
16248 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
16249 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
16250 even if obsolete.
16251
16252 Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
16253
16254 * configure.in (target_cflags): Move init.
16255 (sparc64-*-*): Define HAVE_BLKSIZE.
16256
16257 Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
16258
16259 * libc/include/sys/_types.h: New file.
16260 * libc/include/reent.h: #include it.
16261 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
16262 MISSING_SYSCALL_NAMES.
16263 Sort syscalls.
16264 * libc/include/_syslist.h: Remove _raise.
16265 * libc/reent/signalr.c: New file.
16266 * libc/reent/Makefile.in: Compile it.
16267 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
16268 Add doc for raise and _raise_r.
16269 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
16270 (raise): Call _raise_r.
16271 (_raise_r): Call _getpid_r and _kill_r.
16272 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
16273 (abort): Loop forever calling raise and _exit.
16274
16275 Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16276
16277 * configure.in: Remove extraneous echo.
16278
16279 Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
16280
16281 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
16282 collision with unistd.h, and fix for svr4.
16283
16284 Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
16285
16286 * libc/stdio/local.h (_llicvt): Declare.
16287 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
16288 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
16289 (_llicvt): Define.
16290 (_sicvt): Fix function header (`value' is short).
16291 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
16292 Add printing of long long's support.
16293 Add printing of 8 byte pointer support.
16294
16295 Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
16296
16297 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
16298 stat, chmod): New hooks.
16299 (sbrk): Abort if stack and heap collide.
16300 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
16301 shortcut when given small args.
16302 * libc/machine/sh/setjmp.s: Rewritten.
16303 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
16304 of cmp/str instruction.
16305
16306 Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16307
16308 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
16309 and machine_dir powerpc.
16310 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
16311 Add cases for __powerpc__.
16312 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
16313 New files.
16314
16315 * libc/include/stdio.h (_iprintf_r): Declare correctly.
16316
16317 Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
16318
16319 * libc/stdlib/callocr.c: New file with _calloc_r in it.
16320 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
16321
16322 Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
16323
16324 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
16325 (print_e): More comments to describe args, etc.
16326 "type" arg may now be 'g' or 'G' for %g/G format --> remove
16327 trailing blanks.
16328 (_gcvt): Remove locals decpt, sign, end, p, done.
16329 More comments for print_e invocation.
16330 Pass "type" to print_e as is (g/G).
16331
16332 Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
16333
16334 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
16335 stock m68000.
16336
16337 Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
16338
16339 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
16340 works with any sized pointer, including ones bigger than ints and
16341 longs.
16342
16343 Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
16344
16345 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
16346
16347 Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
16348
16349 * libc/include/stdlib.h (_calloc_r): Add prototype.
16350 * libc/machine/h8500/negsi2.c: New file.
16351 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
16352 large unsigned numbers.
16353 * libc/machine/h8500/cmpsi.c: Add cmppsi.
16354 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
16355 works when sizeof(size_t) != sizeof(char *).
16356 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
16357 get play area
16358 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
16359
16360 Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
16361
16362 * libc/include/assert.h (assert): Handle -traditional.
16363
16364 Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
16365
16366 * Makefile.in: added ; after every "fi" and "done" that wasn't at
16367 the end of a line (ie. anything before a backslash continuation)
16368 so that bash handles them.
16369
16370 Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
16371
16372 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
16373 stat to lstat
16374
16375 Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
16376
16377 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
16378 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
16379 libc/machine/sh/udivsi3.s: Use new calling convention.
16380
16381 Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
16382
16383 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
16384 chmod, access, chdir, chown by making _path const. Also fix _amode
16385 param of access.
16386
16387 Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
16388
16389 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
16390 _khif_tmpnam, because it doesn't comply with ANSI but may be
16391 useful anyway. Real tmpnam was already in libc/stdio, and was
16392 colliding with this one (pr 2176.)
16393 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
16394 the wrong idea anyhow.
16395
16396 Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
16397
16398 * configure.in: Remove h8300h, we have multilib now.
16399
16400 Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
16401
16402 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
16403 functions, to get preference over the ones in libiberty (since we
16404 provide correct declarations in <string.h>.
16405 * libc/string/Makefile.in: add support for strncasecmp,
16406 strcasecmp.
16407
16408 Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
16409
16410 * Change netware config not to look for cpu explicitly.
16411
16412 Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
16413
16414 * libc/sys/sparc64/{creat.c,junk.c}: New files.
16415 * libc/sys/sparc64/Makefile.in: Add dependencies.
16416
16417 Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
16418
16419 * configure.in: Clean up v9 a bit, new "os" aoutv8.
16420
16421 Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
16422
16423 * libc/include/sys/reent.h: make structure smaller by allocating
16424 some stuff when needed.
16425 * libc/signal/signal.c: allocate as needed
16426 * libc/stdio/findfp.c,stdio/local.h: ditto
16427 * libc/stdlib/mprec.c: ditto
16428
16429 * libc/time/localtime.c: don't return a dangling stack ptr.
16430
16431 Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
16432
16433 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
16434
16435 Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16436
16437 * libc/include/stdio.h (__sputc): comment out static inline which
16438 confuses coff toolchains.
16439
16440 Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
16441
16442 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
16443 _write.s, getpid.c, kill.c, read.s}:
16444 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
16445 through the syscalls directory.
16446
16447 Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
16448
16449 * configure.in: fixed double quote gotcha.
16450
16451 Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
16452
16453 * stub/ex931: stub library for sparclite board.
16454 * stub/idp: Renamed from mc68ec. Added contructor table
16455 stuff to linker script.
16456 * stub/mvme135: Renamed from m68kmvme. Added contructor table
16457 stuff to linker script.
16458
16459 Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16460
16461 * configure.in: Configure testsuites only if they exist.
16462
16463 Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16464
16465 * configure.in: Don't set machine_dir for i386 until there is
16466 something in libc/machine/i386 to compile. For i[34]86-*-netware*
16467 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
16468 CLOCK_PROVIDED and MALLOC_PROVIDED.
16469
16470 * libc/sys/netware: New directory. Contains simplistic and
16471 probably incorrect stubs for NetWare. Should be enough to load
16472 the library.
16473 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
16474 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
16475 stub files.
16476
16477 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
16478 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
16479 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
16480 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
16481
16482 Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
16483
16484 * testsuite/Makefile.in: add "docs" dummy target for consistency
16485 with rest of newlib; turn "info" and "install-info" into dummy
16486 targets, since they wouldn't have worked. (Depended on
16487 nonexistent "doc" subdir.)
16488
16489 Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
16490
16491 * configure.in: handle mips* instead of mips
16492
16493 Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
16494
16495 * libc/include/sys/dirent.h: New file. If it is not overridden by
16496 a version of libc/sys/*/sys/dirent.h, it includes the next
16497 <dirent.h> file in case there is one lurking somewhere.
16498
16499 Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16500
16501 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
16502 compliance, namely: Accept a minus sign. Consider a single 0 with
16503 a radix of 0 as being a conversion. Determine overflow correctly.
16504 If an overflow occurs, set *ptr to the end of the number, not the
16505 middle.
16506 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
16507
16508 Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
16509
16510 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
16511
16512 Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
16513
16514 * Makefile.in (INSTALL): Use $srcrootpre.
16515 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
16516 can't handle it.
16517 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
16518 it.
16519 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
16520 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
16521 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
16522 * libm/math/Makefile.in (matherr.o): Ditto.
16523
16524 Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
16525
16526 * configure.in: Build multidirs for z8k.
16527 * libc/include/stdlib.h (_strtoul_r): add prototype.
16528 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
16529 * libc/include/machine/setjmp.h: Add for z8k.
16530 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
16531 * libc/sys/z8ksim/glue.c: tidy up.
16532
16533 Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
16534
16535 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
16536 New files. Requires execve system call.
16537 * libc/unix/Makefile.in: Use them.
16538 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
16539 Deleted, moved to libc/unix.
16540 * libc/sys/sparc64/Makefile.in: Remove them.
16541
16542 Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
16543
16544 * libc/sys/sparc64/{template.S template_r.S}: New files.
16545 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
16546 from templates.
16547 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
16548 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
16549 umask.S unlink.S wait4.S write.S}: Removed, now built from
16550 templates.
16551
16552 Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
16553
16554 * libc/time/time.c: #include <_ansi.h>.
16555
16556 Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
16557
16558 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
16559
16560 Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16561
16562 * configure.in: match m8* rather than m88k so that m88110 is
16563 recognized as well.
16564
16565 Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
16566
16567 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
16568 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
16569 misc.c: New file.
16570
16571 * configure.in: Add multilib support to h8300.
16572
16573 Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
16574
16575 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
16576 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
16577 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
16578
16579 Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16580
16581 * configure.in: Corrected multidirs for sparc target.
16582
16583 Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16584
16585 Support for building newlib multiple times with different
16586 compilation flags.
16587 * configure.in: Only configure doc at top level. Set multidirs
16588 when appropriate for target, unless not at top level. If
16589 multidirs is set, independently configure each subdirectory.
16590 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
16591 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
16592 automagically set by configure.in.
16593 (all): If MULTIDIRS is set, build multiple copies of libraries.
16594 (install): If MULTIDIRS is set, install multiple copies of
16595 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
16596 MULTISUBDIR is set, don't bother to install header files.
16597 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
16598 ${srcrootpre}.
16599 * stub/configure.in: Set MULTISUBDIR appropriately.
16600 * stub/Makefile.in (install): Install in
16601 $(tooldir)/lib/$(MULTISUBDIR).
16602 * All Makefile.in files: Define SRCTOP as well as TOP.
16603
16604 Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
16605
16606 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
16607 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
16608
16609 Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
16610
16611 * libc/sys/h8300hms/exit.c (_exit): New function.
16612
16613 Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16614
16615 * configure.in: recognize m88110.
16616
16617 Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16618
16619 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
16620 prototype main and call with args.
16621
16622 Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
16623
16624 First real try at system traps for m88k-bug.
16625 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
16626 to real trap calls.
16627 * libc/sys/m88kbug/sys/systraps.h: new file.
16628
16629 Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16630
16631 Patches to fix info building when target does not use sys
16632 directory.
16633 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
16634 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
16635 libc/sys.tex.
16636 * libc/sys/Makefile.in (doc): do nothing.
16637
16638 Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16639
16640 * libc/Makefile.in (CRT0): new macro.
16641 (all): depend on $(CRT0) rather than crt0.o.
16642
16643 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
16644 do not default crt0, instead, set crt0 and crt0_dir based on
16645 sys_dir and stub_dir.
16646
16647 * Makefile.in (CRT0_DIR): new macro.
16648 (all): depend on $(CRT0) rather than crt0.o which may not exist.
16649 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
16650 $(CRT0).
16651 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
16652
16653 Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
16654
16655 * testsuite/lib/libm.exp:
16656 added code to support compiling and linking of tests for
16657 libm.sac (paranoia to be added next) and processing the
16658 pass or failure of the tests.
16659
16660 * testsuite/config/unix-libm.exp:
16661 platform specific proc's for dealing with compiler, linker
16662 and the way we execute and process the test results.
16663
16664 * testsuite/libm.sac/execute.exp:
16665 generic framework for the sac tests. the config and lib
16666 expect code for specific platforms tie it all together.
16667
16668 * testsuite/libm.sac/test_is.c:
16669 changed the output of the test to be consistant with the
16670 other tests. parsing of pass nad fail messages is now fixed.
16671
16672 Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
16673
16674 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
16675 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
16676 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
16677 #ifdef __cplusplus, surround by extern ""C { ... }.
16678 * libc/include/assert.h: Do *not* protect assert.h against
16679 multiple inclusion! Also, #undef it before #define, to allow
16680 redefinition.
16681 * libc/include/stdio.h (getlogin, cuserid): Removed. These
16682 should be only in unistd.h.
16683
16684 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
16685 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
16686 ... }.
16687
16688 Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
16689
16690 * libc/machine/sparc/Makefile.in: Must create a library, even
16691 if empty.
16692
16693 Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16694
16695 * configure.in: set machine_dir for m88k. edit crt0 definition
16696 into makefiles.
16697
16698 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
16699
16700 * libc/Makefile.in (all): also build crt0.o.
16701
16702 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
16703 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
16704 to remove CRT0.
16705
16706 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
16707 (all): reworked to build in place.
16708 (clean): remove lib.a
16709 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
16710
16711 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
16712 (_start): key off edata rather than _start_bss.
16713
16714 Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
16715
16716 * libc/include/sys/unistd.h, libc/include/reent.h,
16717 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
16718
16719 Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16720
16721 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
16722
16723 * Makefile.in (libc.a): break into two rules, one for libc.a and
16724 one for libc/libc.a. Force subdirs current before rebuilding
16725 library.
16726 (libm.a): break into two rules, one for libm.a and one for
16727 libm/libm.a. Force subdirs current before rebuilding library.
16728
16729 * libc/Makefile.in (SUBLIBS): fix typo.
16730
16731 * libc/sys/Makefile.in (all): force descent into subdirs, then
16732 rebuild library iff out of of date.
16733
16734 Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16735
16736 Rework so that library is built and then finished rather than
16737 being built on each invocation of make.
16738
16739 * host/any (machine_dir, sys_dir, signal_dir): these are not
16740 shared and have been moved to their associated Makefile.in's.
16741 (AR_FLAGS): switch to qc which is faster.
16742 * configure.in: no longer assign machine_dir for m88k. set
16743 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
16744 stub_dir set, then add to configdirs. add comment about silly
16745 configuration.
16746 (configdirs): drop stub. It will be added only
16747 when needed.
16748 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
16749 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
16750 stub_lib, crt0): new variables for tailoring lower level
16751 makefiles. Assign accordingly and edit into makefiles.
16752 * libm/Makefile.in: updated copyright.
16753 (TARGETLIB): removed.
16754 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
16755 (SUBDIRS): removed TARGETDEP_DIRS.
16756 (LIBM_FP_LIB, SUBLIBS): new macros.
16757 (all): reworked.
16758 (force): new target to force rebuilds.
16759 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16760 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
16761 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
16762 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
16763 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
16764 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
16765 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
16766 stub/m68kmvme/Makefile.in: updated copyright.
16767 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
16768 (all): reworked. made this the default rule.
16769 (clean): also remove lib.a.
16770 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16771 * stub/Makefile.in: updated copyright.
16772 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
16773 (stub_lib): new macro.
16774 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
16775 RANLIB.
16776 (all): reworked.
16777 (clean, install): assume stub_dir exists.
16778 (Makefile): depend on configure.in. call $(SHELL) rather than
16779 sh. drop redundant ./
16780 * stub/configure.in (stublib): new macro, assign it, edit it into
16781 makefiles.
16782 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
16783 updated copyright.
16784 (all): reworked.
16785 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16786 * libc/Makefile.in (TARGETCRT0): removed.
16787 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
16788 TARGETCRT0.
16789 (SUBDIRS): drop TARGETDEP_DIRS.
16790 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
16791 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
16792 (force): new target to force rebuilds.
16793 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
16794 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
16795 removed.
16796 (clean): assume sys_dir always exists.
16797 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
16798 drop redundant ./
16799 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
16800 libc/locale/Makefile.in, libc/machine/Makefile.in,
16801 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
16802 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
16803 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
16804 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
16805 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
16806 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
16807 libc/signal/Makefile.in, libc/stdio/Makefile.in,
16808 libc/stdlib/Makefile.in, libc/string/Makefile.in,
16809 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
16810 libc/time/Makefile.in, libc/unix/Makefile.in,
16811 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
16812 (TARGETLIB): removed.
16813 (all): reworked.
16814 (clean): also remove lib.a.
16815 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16816 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
16817 new macros.
16818 (SUBDIRS): moved to follow frag inclusion, change stub to
16819 stub_dir.
16820 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
16821 are now set in the libc Makefile.
16822 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
16823 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
16824 TARGETCRT0.
16825 (force): new target to force rebuilds.
16826 * stub/configure.in: determine and set stub_lib for for Makefile.
16827
16828 Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
16829
16830 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
16831 crt0.s renamed to crt0.S.
16832 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
16833
16834 * libc/machine/h8300/Makefile.in: Make `all' the default target.
16835 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
16836 h8300h.
16837 * libc/machine/h8300/defines.h: Add macros to handle pointers for
16838 h8300 (16 bits) and h8300h (32 bits).
16839 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
16840 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
16841
16842 Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
16843
16844 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
16845 implementation of setjmp and longjmp for the m88k.
16846 * libc/include/machine/setjmp.h: Added __m88000__ case.
16847
16848 Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
16849
16850 * configure.in: Recognize h8300h as variant of h8300.
16851
16852 Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
16853
16854 * libc/include/sys/unistd.h (read, write): get prototypes right.
16855 (sbrk): New prototype.
16856 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
16857 * libc/stdio/local.h: Include unistd.h.
16858 * libc/machine/h8300/syscalls.c: Names have changed.
16859
16860 Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
16861
16862 * configure.in: add sys_dir assignment for m88k-bug.
16863
16864 Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
16865
16866 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
16867 a.out or elf.
16868 * libc/sys/sparc64: all *.S files: Use new macros.
16869 * libc/sys/sparc64/isatty.c: New file.
16870 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
16871 functions beyond what newlib provides.
16872
16873 Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
16874
16875 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
16876 svr4.
16877
16878 Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
16879
16880 * libc/include/machine/ieeefp.h: Add support for h8/300h.
16881
16882 Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
16883
16884 * configure.in: add m88k.
16885 * libc/include/machine/ieeefp.h: add case for m88k. Also add
16886 sanity check so no one else need ever chase what I did to find
16887 this.
16888
16889 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
16890
16891 Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
16892
16893 * doc/makedoc.c: Include <ctype.h>.
16894
16895 Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
16896
16897 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
16898 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
16899 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
16900
16901 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
16902
16903 Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
16904
16905 * libc/include/errno.h (ENOSYS): Added.
16906
16907 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
16908
16909 Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
16910
16911 * libc/stdio/fflush.c (fflush): Check for reent struct
16912 initialization.
16913 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
16914
16915 Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
16916
16917 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
16918 out of dtoa.c so it doesn't pollute the namespace.
16919 * libc/include/_syslist.h: new file -- mappings from _function to
16920 function, for systems where we can't win (by default, all of them,
16921 until we start updating system calls.)
16922 * libc/syscalls: new directory -- stubs for exporting _function
16923 names as unmodified function names.
16924 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
16925 _syslist.h on all platforms by default, but put hooks in for
16926 fake_sys_dir so we can include it when we've renamed the system
16927 calls.
16928 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
16929 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
16930 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
16931 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
16932 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
16933 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
16934 non ANSI functions to call _function.
16935
16936 Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
16937
16938 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
16939 when base 16 is specified. Don't accept non-digits if radix > 10.
16940
16941 Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
16942
16943 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
16944
16945 Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
16946
16947 * libc/include/sys/stat.h: Surround text after #endif with
16948 comments.
16949
16950 Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
16951
16952 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
16953 _malloc_r, _realloc_r, and free_r call the corresponding
16954 non-reentrant functions.
16955
16956 * libm/math/modf.c (modf): We now take the address of ipart, so
16957 don't make it a register variable.
16958
16959 Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
16960
16961 * libm/math/*: Rename all xxx_r fns to _xxx_r.
16962
16963 Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
16964
16965 * libc/libc.texinfo and embedded docn throughout: formatting
16966 improvements, minor rephrasing for clarity, and improved
16967 reentrancy docn.
16968
16969 Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
16970
16971 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
16972
16973 * libc/stdio/cvt.c (_licvt): Print the right value on machines
16974 where sizeof(int) != sizeof(long).
16975
16976 Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
16977
16978 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
16979 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
16980 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
16981 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
16982 libm/math/matherr.c: changes for better docn formatting (info).
16983
16984 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
16985 libc/reent/reent.tex, libc/signal/signal.tex,
16986 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
16987 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
16988 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
16989 makeinfo node defaulting to get better Info file node structure.
16990 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
16991 Also include a few formerly missing sections (subroutines).
16992
16993 * doc/doc.str: delete fossil expansion for "func"
16994
16995 * default.menu, no-signal.menu: delete.
16996
16997 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
16998 method used to adjust doc for missing "signals" chapter when
16999 signal_dir is empty.
17000
17001 Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17002
17003 * configure.in: added testsuite/libm.sac
17004
17005 Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
17006
17007 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
17008 code model).
17009
17010 Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
17011
17012 * libm/Makefile.in: Use $(MAKE) rather than make, and define
17013 MAKEOVERRIDES to be empty.
17014
17015 Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
17016
17017 * configure.in: Don't build mips-*-* with -msoft-float, since that
17018 makes it incompatible with hard floating point.
17019
17020 Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17021
17022 * Makefile.in: added recursive 'make check'
17023
17024 Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17025
17026 * configure.in: added ./testsuite ./testsuite/libm.paranoia
17027 * ./testsuite/Makefile.in: created
17028 * ./testsuite/libm.paranoia: paranoia tests added
17029
17030 Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
17031
17032 * configure.in: For mips-*-* set machine_dir to mips.
17033
17034 * libc/machine/mips: New directory.
17035 * libc/machine/mips/Makefile.in: New file.
17036 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
17037 setjmp and longjmp.
17038 * libc/include/machine/setjmp.h: Added __mips__ case.
17039
17040 * libc/machine/lmips: Removed unused and useless directory.
17041
17042 Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
17043
17044 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
17045
17046 Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
17047
17048 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
17049 start up).
17050
17051 Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
17052
17053 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
17054 SETJMP_H.
17055
17056 Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
17057
17058 * libm/test/convert.c: structure member errno -> errno_val.
17059 Must include <errno.h> to use errno, it's a macro now.
17060 * libm/test/math.c: Ditto.
17061 * libm/test/math2.c: Include errno.h.
17062 * libm/test/string.c: Ditto.
17063 * libm/test/test.h: structure member errno -> errno_val.
17064 Remove extern int errno decl.
17065
17066 Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
17067
17068 * libc/stdio/Makefile.in: Added dependencies on local header
17069 files.
17070 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
17071 files.
17072
17073 Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
17074
17075 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
17076
17077 Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
17078
17079 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
17080 Initialize _data.
17081
17082 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
17083 * libc/stdio/local.h: Add prototype for _licvt.
17084
17085 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
17086 instead of malloc,reealloc.
17087
17088 * libc/stdlib/local.h: New file.
17089 * libc/stdlib/efgcvt.c: #include local.h.
17090 (gcvt): Fix call to _gcvt.
17091 * libc/stdlib/ecvtbuf.c: #include local.h.
17092
17093 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
17094 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
17095 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
17096
17097 * libc/stdlib/atexit.c: moved global data to struct _reent.
17098 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
17099
17100 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
17101
17102 Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
17103
17104 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
17105 here from ../reent.h.
17106
17107 Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
17108
17109 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
17110 should be provided in both libc.a and libm.a.
17111 (libc.a): Depend on targ-include and libm.a. Copy
17112 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
17113 (libm.a): Depend on targ-include.
17114 * configure.in (subdirs): Removed libc/math.
17115
17116 Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17117
17118 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
17119
17120 Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
17121
17122 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
17123 sys/reent.h instead of reent.h.
17124 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
17125 headers moved to sys/reent.h.
17126 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
17127 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
17128 __need__MAX_SIGNALS defined.
17129 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
17130 std{in,out,err} refer to new _std{in,out,err} members.
17131
17132 Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
17133
17134 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
17135 case.
17136
17137 Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
17138
17139 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
17140 rather than whatever macro seterrno() has.
17141
17142 Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
17143
17144 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
17145 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17146
17147 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
17148 __STDC__.
17149
17150 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
17151 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
17152 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17153
17154 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
17155 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17156
17157 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
17158 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
17159 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
17160 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
17161 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
17162 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
17163 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
17164 renamed to _xxx_r. struct reent_struct renamed to struct _reent
17165 for ANSI. structure members given leading "_" for ANSI. Use
17166 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
17167
17168 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
17169 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
17170 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
17171 reent_struct renamed to struct _reent for ANSI.
17172 Structure members given leading "_" for ANSI.
17173 _CONST --> const in prototypes.
17174 Use _HAVE_STDC instead of __STDC__.
17175
17176 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
17177 _xxx_r.
17178 struct reent_struct renamed to struct _reent for ANSI.
17179 Structure members given leading "_" for ANSI.
17180
17181 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
17182 _xxx_r.
17183 struct reent_struct renamed to struct _reent for ANSI.
17184
17185 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
17186 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
17187 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
17188 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
17189 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
17190
17191 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
17192 signal.h, stdio.h, stdlib.h, string.h, time.h}:
17193 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
17194 #ifndef _STRICT_ANSI non-ANSI routines.
17195 Reentrant routines renamed from _r_xxx to _xxx_r.
17196 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
17197 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
17198 Clean up namespace (structure members have leading "_").
17199 struct reent_struct renamed to struct _reent for ANSI compliance.
17200 _CONST --> const in function prototypes.
17201
17202 * libc/include/string.h: Add NULL and size_t.
17203
17204 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
17205 unlink, wait, wait4. Reentrant syscall routines close, fork,
17206 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
17207 write.
17208 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
17209 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
17210 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
17211 write.S}: Define reentrant versions.
17212 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
17213 reentrant syscalls.
17214
17215 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
17216
17217 * libc/include/stdlib.h (RAND_MAX): Fix value.
17218
17219 Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
17220
17221 * libc/sys/a29khif/_main.c: Removed unnecessary file.
17222 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
17223 VPATH support targets after all: target.
17224
17225 * stub/mvme135/mvme.S: Renamed exceptionhandler to
17226 exceptionHandler, which is what mvme135-stub.c expects.
17227
17228 Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
17229
17230 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
17231
17232 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
17233 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
17234 compliant).
17235
17236 Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
17237
17238 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
17239 first.
17240 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
17241 _r_write): Ditto.
17242 libc/reent/fstatr.c (_r_fstat): Ditto.
17243 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
17244 libc/reent/sbrkr.c (_r_sbrk): Ditto.
17245 libc/reent/statr.c (_r_stat): Ditto.
17246
17247 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
17248 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
17249 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
17250 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
17251 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
17252 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
17253 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
17254 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
17255 (__swrite): Ditto for _r_lseek, _r_write.
17256 (__sseek): Ditto for _r_lseek.
17257 (__close): Ditto for _r_close.
17258 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
17259
17260 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
17261 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
17262
17263 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
17264 to make reent_struct the first argument (and thus consistent with
17265 the rest of newlib).
17266
17267 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
17268 reference to __STDC__.
17269
17270 Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
17271
17272 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
17273 global __cleanup.
17274
17275 Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
17276
17277 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
17278 first.
17279 libc/stdio/fclose.c (fclose): Ditto.
17280
17281 Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
17282
17283 * Run through indent and rename reentrant routines for ANSI.
17284 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
17285 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
17286 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
17287 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
17288 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
17289 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
17290 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
17291 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
17292 vsprintf.c wbuf.c wsetup.c local.h}
17293
17294 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
17295
17296 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
17297 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
17298 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
17299 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
17300 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
17301 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
17302
17303 * Run through indent.
17304 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
17305 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
17306 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
17307 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
17308 strxfrm.c}
17309
17310 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
17311 localtime.c mktime.c strftime.c time.c}:
17312 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
17313
17314 * Reformatting + renaming (for ANSI, GNU style, consistency).
17315 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
17316 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
17317 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
17318
17319 Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
17320
17321 * libc/include/stdio.h (stdin_r): Fix.
17322
17323 Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
17324
17325 * Makefile.in: Unexport some variables to keep GNU make from
17326 putting them in the environment and using up needed ARG_MAX space
17327 (a hack is used to let this work with older makes as well).
17328
17329 Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
17330
17331 * Makefile.in: Use $(MAKE) rather than make.
17332 (MAKEOVERRIDES): Define to be empty.
17333 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
17334 (libc.a, libm.a): Depend on targ-include.
17335 * host/any (LD): Don't define.
17336 (INCLUDES): Use targ-include.
17337 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
17338 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
17339 * libc/Makefile.in: Use $(MAKE) rather than make.
17340 (MAKEOVERRIDES): Define to be empty.
17341 (FLAGS_TO_PASS): Don't pass LD (it's not used).
17342 (all): Rewrote to be slightly smaller.
17343 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
17344 Define to be empty.
17345 (FLAGS_TO_PASS): Don't pass LD (it's not used).
17346 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
17347
17348 Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
17349
17350 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
17351 with errno/errno.c.
17352
17353 Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
17354
17355 * Changes for reentrancy.
17356 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
17357 Use ptr->_errno, not errno.
17358 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
17359 libc/stdio/remove.c (remove_r): New function.
17360 libc/stdio/rename.c (rename_r): New function.
17361 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
17362 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
17363 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
17364 reentrant versions of system calls.
17365 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
17366 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
17367 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
17368 libc/stdio/findfp.c: Include <string.h>.
17369 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
17370 "local.h".
17371 libc/stdio/wbuf.c: Include "fvwrite.h"
17372
17373 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
17374 <string.h>.
17375 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
17376 (NULL): Don't define if already defined.
17377 libc/stdlib/system.c: Call reentrant versions of system calls.
17378 (system_r): New function.
17379
17380 * Changes for reentrancy.
17381 libc/include/_ansi.h (_PARAMS): New macro.
17382 libc/include/errno.h: Define errno as a macro that calls __errno.
17383 (__errno_r): New macro for reentrant code.
17384 libc/include/math.h: Include reent.h. Declare many reentrant
17385 functions.
17386 (signgam): Now a macro, not a variable.
17387 (struct exception): Added err field.
17388 libc/include/reent.h: Don't declare __sglue. Added function
17389 declarations.
17390 (struct reent_struct): Moved errno to beginning. Added _signgam.
17391 libc/include/stdio.h, libc/include/stdlib.h: Added function
17392 declarations.
17393
17394 * More reentrancy hacking.
17395 libc/errno/errno.c (__errno): New function.
17396 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
17397 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
17398 files.
17399
17400 * Added many new reentrant functions to libm/math/*.
17401 libm/math/error.c (__matherror): Added reent_struct pointer
17402 argument. Changed all callers.
17403 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
17404 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
17405 libm/math/tan.h: Removed obsolete unused header files.
17406
17407 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
17408
17409 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
17410
17411 Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17412
17413 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
17414 delay slots.
17415
17416 Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17417
17418 * libc/libc.texinfo: comment out reentrancy chapter (duh)
17419
17420 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17421
17422 * libc/reent/reent.tex: New file. (text from
17423 newlib/libc/libc.texinfo)
17424 * libc/stdio/tmpnam.c: fixed doc typo
17425 * libc/stdlib/rand.c: fixed doc typo
17426
17427 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17428
17429 * libc/reent/reent.tex: New file. (text from
17430 newlib/libc/libc.texinfo)
17431
17432 Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17433
17434 support for reentrancy
17435 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
17436 new files
17437 * libc/errno/errno.c, libc/include/ieeefp.h,
17438 libc/include/locale.h, libc/include/reent.h,
17439 libc/include/signal.h, libc/include/stdio.h,
17440 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
17441 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
17442 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
17443 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
17444 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
17445 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
17446 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
17447 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
17448 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
17449 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
17450 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
17451 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
17452 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
17453 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
17454 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
17455 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
17456 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
17457 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
17458 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
17459 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
17460 libc/time/strftime.c: modify to provide reentracy.
17461
17462 new routines:
17463 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
17464 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
17465 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
17466 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
17467 mstats_r, realloc_r, localeconv_r, setlocale_r
17468
17469 Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
17470
17471 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
17472 libc/include/sys/config.h, libc/include/sys/signal.h,
17473 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
17474 provided macros (such as m68000), use the ansi version
17475 (__m68000__) so that the library can be used with code compiled
17476 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
17477 and sparc.
17478
17479 Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
17480
17481 * configure.in (sparc*): Don't set -fsoft-float for sparc
17482 configurations. Do set -fsoft-float for sparclite configurations.
17483
17484 Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
17485
17486 * default.menu, no-signal.menu: alternate forms of libc main menu
17487 (in newlib rather than newlib/libc due to configuration restrictions)
17488
17489 * configure.in: select one of the two menus above, link to
17490 libc.menu
17491
17492 * libc/libc.texinfo: include menu from separate file
17493
17494 Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
17495
17496 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
17497 (info): Split long shell command in half.
17498 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
17499 sub-makes, just CHEW and TARGETDOC.
17500 (targetdep.tex): Removed now special handling of sys and machine
17501 subdirectories, made obsolete some time ago.
17502 * libc/machine/Makefile.in (doc): Don't pass everything to
17503 sub-make, just CHEW and TARGETDOC.
17504 (Makefile): New target.
17505 * libc/sys/Makefile.in (Makefile): New target.
17506
17507 Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
17508
17509 * Makefile.in (here and most subdirectories): Only pass down CHEW
17510 and TARGETDOC when making info, not for other targets.
17511
17512 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
17513 $(AR_FLAGS) rather than $(ARUPDATE).
17514
17515 Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
17516
17517 * Try to reduce command line length:
17518 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
17519 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
17520 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
17521 (info): Pass CHEW to other subdirs.
17522
17523 Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
17524
17525 * configure.in: add signal_dir, like unix_dir, but by default it
17526 is set to "signal" so that a29khif can turn it off (since a29khif
17527 has raise() as part of machine-specific signal.s.)
17528
17529 Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17530
17531 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
17532 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
17533 correctly.
17534 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
17535 libc/stdio/vfprintf: type lint.
17536 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
17537 initialzation code.
17538 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
17539
17540 Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
17541
17542 * stub/mvme135/mvme135-asm.S: new file.
17543 stub/mvme135mvme135-stub.c: moved all assembler routines into
17544 mvme135-asm.S.
17545 stub/mvme135/Makefile.in: build mvme135-stub.o.
17546
17547 Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
17548
17549 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
17550 sub-Makefiles instead, to try to avoid line length limitations.
17551
17552 Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
17553
17554 * libc/include/unistd.h (read, write): Use void* instead of
17555 char*.
17556
17557 Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
17558
17559 * stub/go32/resetpc: sample script to send a reset packet to the
17560 stub
17561
17562 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
17563 DOS environment, which compiles with Turbo C.
17564
17565 * stub/go32/DSER32.LNK: new file, linker commands for serial
17566 remote stub.
17567
17568 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
17569 start up message to identify version; call set_debug_traps.
17570
17571 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
17572 keyboard interaction); call handle_exception() in go_til_stop,
17573 rather than return, so that the remote stub gets control.
17574
17575 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
17576 rename, rather than mv), set flags that work with current Turbo C,
17577 including using the /3 flag; also, add commands to build dser32.
17578
17579 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
17580 default Turbo C installation (\tc rather than \usr)
17581
17582 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
17583 "&..."
17584
17585 Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17586
17587 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
17588
17589 Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17590
17591 * libc/stdio/cvt.c (licvt): new function to convert ints when
17592 sizeof(int) != sizeof(long).
17593
17594 * libc/include/stdio.h: added prototype for iprintf.
17595 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
17596
17597 Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
17598
17599 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
17600 __REGISTER_PREFIX__.
17601
17602 Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
17603
17604 * libc/sys/m68kbare: moved into stub directory.
17605
17606 Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
17607
17608 * configure.in, Makefile.in: created new directory stub, to hold
17609 sample code for specific targets.
17610
17611 Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
17612
17613 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
17614 in the unified libc/include/sys/fcntl.h.
17615
17616 Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
17617
17618 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
17619 printed .01, not 0.01.
17620
17621 Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
17622
17623 * configure.in: compile with -m68000 for m68* targets.
17624
17625 Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
17626
17627 * libm/math/remainder.c (remainder): document the svr4 and sunos
17628 references used to construct the function.
17629
17630 Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
17631
17632 * libm/math/remainder.c (rint, remainder): fix old typos.
17633 * libm/math/Makefile.in: actually build remainder.c (functions
17634 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
17635 page.)
17636
17637 Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
17638
17639 * libc/string/bcopy.c: BSD version works on overlapping strings,
17640 so ours should too.
17641
17642 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
17643 ("SHELL").
17644
17645 Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
17646
17647 * Makefile.in (docs): new target.
17648
17649 Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
17650
17651 * libc/include/sys/times.h: define clock_t as required by POSIX.
17652 libc/include/time.h: protect clock_t from multiple definitions.
17653
17654 Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17655
17656 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
17657 does not need more than the original three iterations to get
17658 within 1 ulp. (Paranoia tests for rounding to better than that,
17659 but further iterations *don't* help, only more subtle changes
17660 can.)
17661
17662 Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
17663
17664 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
17665 were doing nothing useful.
17666
17667 Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
17668
17669 * configure.in: define MALLOC_PROVIDED for vxworks targets;
17670 removed sys_dir settings of vxworks68 and vxworks960.
17671 host/any: don't pass -nostdinc to gcc, since newlib no longer
17672 provides all required header files.
17673
17674 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
17675 is not defined; this provides a hook for VxWorks.
17676
17677 Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17678
17679 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
17680 buffer if buf is NULL, don't do it here -- it is already being
17681 done by makebuf elsewhere in stdio.
17682
17683 Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
17684
17685 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
17686 that C programs can call functions without using initial
17687 underscores.
17688
17689 Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
17690
17691 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
17692
17693 Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
17694
17695 * configure.in: set TARGET_CFLAGS for certain CPU types to
17696 -msoft-float.
17697
17698 Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
17699
17700 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
17701
17702 Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
17703
17704 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
17705 m68k*-unknown-coff.
17706
17707 Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
17708
17709 * libc/include/stdio.h: define __need___va_list before including
17710 <stdarg.h>, to avoid defining va_arg, et. al.
17711
17712 Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
17713
17714 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
17715 (don't cd to the user's home directory).
17716
17717 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
17718 In general this is the wrong thing to do, but I can't get around
17719 GNU make's insistence on passing command line arguments any other
17720 way.
17721
17722 Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
17723
17724 * configure.in: always configure the libc/sys directory, since it
17725 now provides a required documentation file.
17726
17727 * Makefile.in: replaced all instances of $(MAKE) with make. In
17728 general this is the wrong thing to do, but I can't get around GNU
17729 make's insistence on passing command line arguments any other way.
17730
17731 Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
17732
17733 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
17734 terminated.
17735
17736 * libc/stdio/local.h: include <stdarg.h> to define va_list.
17737 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
17738
17739 * libc/include/float.h, libc/include/stdarg.h,
17740 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
17741 versions instead.
17742 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
17743 <stdarg.h>, not from <machine/types.h>. Protect definition of
17744 NULL.
17745 libc/include/time.h: get size_t from stddef.h. Protect definition
17746 of NULL.
17747 libc/include/machine/limits.h: override gcc <limits.h> by defining
17748 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
17749 get correct INT_MIN and LONG_LONG values.
17750 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
17751 size_t or va_list at all; they're now gotten from stddef.h
17752 instead.
17753 libc/include/machine/varargs.h: removed; use gcc version instead.
17754 libc/include/sys/types.h: explicitly include <machine/types.h>.
17755
17756 * libm/math/sqrt.h: using the fp-bit routines appears to require
17757 more iterations.
17758
17759 * Makefile.in, host/any: let system include files override machine
17760 include files.
17761
17762 Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17763
17764 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
17765 override _*_T_ definitions defaulted here.
17766
17767 Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
17768
17769 * Makefile.in (install): install the include files in
17770 $(tooldir)/include, not $(exec_prefix)/include.
17771
17772 Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
17773
17774 * Makefile.in (install): fixed typo, and changed install to not
17775 force rebuild of libc.a and libm.a.
17776
17777 Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
17778
17779 * libc/sys/a29khif/*: Changed all .include's to include
17780 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
17781 that they will be installed for the user.
17782
17783 * Makefile.in (all): create targ-include, a directory holding the
17784 machine and system specific header files during the build.
17785 (install): fixed installation of machine and system specific
17786 header files.
17787
17788 * Makefile.in: fixed comment.
17789 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
17790 we can pass $(INCLUDES) to it.
17791
17792 Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
17793
17794 * libc/include/sys/param.h: new generic file, which may be
17795 overridden for specific systems.
17796
17797 * libc/include/sys/signal.h: define all ANSI signal names, and
17798 NSIG (which is not ANSI) for a29k.
17799
17800 Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
17801
17802 * Makefile.in: don't pass down arguments the lower level makes
17803 will not need.
17804 * libc/Makefile.in: recurse directly, rather than using subdir_do,
17805 in hopes of avoiding argument length limits.
17806 * libm/Makefile.in: recurse directly, rather using subdir_do, in
17807 hopes of avoiding argument length limits.
17808
17809 Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
17810
17811 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
17812 mode_t is defined.
17813
17814 Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
17815
17816 * Fixed make info and make install-info for newlib, changing most
17817 Makefile.in and several *.tex files. Moved doc directory from
17818 libc to top level.
17819
17820 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
17821 Should be rewritten.
17822
17823 * libc/string/strings.tex: renamed node index to node index
17824 function, so that it does not conflict with the top level index
17825 node.
17826
17827 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
17828
17829 Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
17830
17831 * Overhauled general configuration for newlib. Eliminated all
17832 target dependent Makefile fragments. Create libraries in newlib
17833 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
17834 than CROSS_CC, et. al. Broke make docs; will fix later.
17835
17836 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
17837 Should be rewritten.
17838
17839 Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
17840
17841 * libc/configure.in: cleaned up somewhat; switch on ${target}
17842 rather than ${target_alias}.
17843 * libm/configure.in: cleaned up somewhat; switch on ${target}
17844 rather than ${target_alias}.
17845
17846 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
17847 * libc/include/ctype.h: marked _ctype_ as _CONST.
17848
17849 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
17850 _CONST.
17851
17852 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
17853 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
17854 libc/stdio/gets.c (gets): removed non-ANSI warning message.
17855 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
17856
17857 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
17858 bigtens, tinytens): marked arrays _CONST.
17859 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
17860 rather than a static variable.
17861
17862 * libc/time/asctime.c (asctime), libc/time/localtime.c
17863 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
17864 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
17865 mname_len, mname): Marked static arrays _CONST.
17866
17867 * libm/math/gamma.h: made local variables non-static.
17868
17869 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
17870 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
17871 _CONST.
17872
17873 * libm/math/constants.c: removed file, because the constants it
17874 defined were never referenced.
17875 libm/math/Makefile.in: removed references to constants.c.
17876 libm/math/mathimpl.h: removed declarations of constants.
17877
17878 Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
17879
17880 * libc/include/machine/varargs.h: only call __builtin_saveregs if
17881 it is sensibly defined in libgcc2. Checks preprocessor defines,
17882 which is not a good solution.
17883
17884 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
17885
17886 * libm/frexp.c: handle denormalized numbers as arguments.
17887
17888 * libm/math/Makefile.in: added some dependencies for .c files
17889 which include local .h files.
17890
17891 Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
17892
17893 * libc/configure.in: set target_alias for OSE*. Replace
17894 target_makefile_frag if it is blank.
17895
17896 * libc/Makefile.in: make sure everything is passed to subsidiary
17897 makes; create all directories when installing.
17898
17899 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
17900 CROSS_ARUPDATE instead of AR.
17901
17902 * libm/configure.in: set target_alias for OSE*. Replace
17903 target_makefile_frag if it is blank.
17904
17905 * libm/Makefile.in: make sure everything is passed to subsidiary
17906 makes; create all directories when installing.
17907
17908 Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
17909
17910 * add following change from libc copy.
17911
17912 Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17913
17914 * libc/libc.texinfo: make copyright disclaimers appear on back of
17915 title page; make format of same slightly less ugly; avoid using
17916 underbars in section headings (avoids nasty texinfo bug in table
17917 of contents).
17918
17919 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
17920 comments only) avoid using underbars in section headings
17921
17922 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
17923 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
17924 changes in comments only): shorten headings ieeefp/infinity.c,
17925 ieeefp/isnan.c: (doc, comments only) more informative headings
17926
17927 * libc/math/bessel.c: (doc, comments only) shorten heading
17928
17929 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
17930 (doc, comments only) shorten headings
17931
17932 * libc/time/localtime.c (doc, comments only): shorten headings
17933
17934 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
17935 isnan
17936 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
17937 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
17938 headings
17939 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
17940 only) more informative headings
17941 * libm/math/bessel.c: (doc, comments only) shorten heading
17942
17943 Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17944
17945 * .../Makefile.in: use CROSS_ARUPDATE consistently.
17946 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
17947 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
17948 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
17949 defined, the one from the .mt file will be correct.
17950 * libc/include/machine, libc/include/sys: created, and populated
17951 with common files from machine/*/machine. ifdefs were used for
17952 most, typically by handling exceptions first and then filling in
17953 defaults. Files with D.J. Delorie copyright #included rather than
17954 copied. Most files in include/sys really were the same in the
17955 original.
17956 * libc/include/...: cleaned up use of _EXFUN.
17957 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
17958 it with double quotes, not angles.
17959
17960 Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
17961
17962 * libc/Makefile.in: always create installation directories.
17963
17964 Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
17965
17966 * libc/configure.in: handle host properly (using canonical
17967 triples), better error message for the case of target not found
17968
17969 Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
17970
17971 * libc/Makefile.in (insincdir): Ensure this directory exists
17972 before attempting installation.
17973
17974 Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17975
17976 * libc/stdlib/assert.c: now calls abort like it should
17977 * libc/sys/a29khif: many many patches for 29khif work
17978 * libc/machine/i386: gnulib2 expanded there.
17979
17980 Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17981
17982 Added accurate fp conversion routines to stdlib, moved dcvt from
17983 stdio to stdlib and called it ecvtbuf:
17984 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
17985 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
17986 routines
17987 * libc/libc.texinfo: Modifed to include the copyright info from
17988 the mprec files
17989 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
17990 * libc/test/ : many vector which tested for the implementation
17991 defined returns of strange conversion requests have been updated
17992 to relflect the new implementation
17993
17994 Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17995
17996 * libc/libc.texinfo: new chapter on variable arg lists
17997 (stdarg.h/varargs.h)
17998 * libc/libc.texinfo: new title
17999 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
18000 (doc only) shorter headings for better formatting.
18001
18002 Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18003
18004 * libc/libc.texinfo: three more info menu entries
18005 * libc/locale/locale.tex: new chapter
18006 * libc/locale/locale.c: new doc for setlocale, localeconv
18007 * libc/locale/Makefile.in: use new locale doc
18008 * libc/signal/signal.tex: new chapter
18009 * libc/signal/raise.c, libc/signal/signal.c: new doc
18010 * libc/signal/Makefile.in: use new doc
18011 * libc/time/time.tex: new chapter
18012 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
18013 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
18014 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
18015 * libc/time/Makefile.in: use new doc
18016
18017 Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18018
18019 * libm/math/log1p.c: split to use the new function way of float
18020 function definition. math/log1p.h deleted
18021 * libm/math/scalb.c: obsolete and deleted
18022 * libm/math/scalbn.c: created from part log1p.c
18023 * libm/math/Makefile.in: know about log1p and scalbn
18024
18025 Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18026
18027 * libc/ctype/isupper.c: revise doc;
18028 libc/ctype/ctype.tex: use doc from isupper.c
18029
18030 * libc/string/bzero.c: new doc
18031
18032 Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18033
18034 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
18035 new doc
18036 * libc/stdlib/Makefile.in: extract new doc
18037 * libc/stdlib/stdlib.tex: use new doc
18038
18039 * libc/string/strerror.c: expanded doc.
18040
18041 * libc/stdio/Makefile.in: extract doc from more files
18042 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
18043 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
18044 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
18045 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
18046 libc/stdio/vsprintf.c: new doc
18047 * libc/stdio/stdio.tex: use new doc
18048
18049 Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18050
18051 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
18052 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
18053 finitef functions.
18054 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
18055 time ago.
18056
18057 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
18058 * libc/stdio/setbuf.c: added ansi style definition.
18059 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
18060 buffer if none provided.
18061 * libc/stdio/tmpfile.c: lint
18062 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
18063 rather than using static, also make sure file isn't already
18064 present. Uses P_tmpdir. (tempnam): rewritten to use new
18065 subroutine, and uses P_tmpdir.
18066 * libc/stdio/siprintf.c: created
18067
18068 Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18069
18070 Release 1.03 for NEC, major mods. Main differences from release
18071 1.02::
18072
18073 More tests in test/:
18074 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
18075 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
18076 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
18077 get/set mask, get/set sticky and get/set roundtoi. Tests
18078 that setting the bits changes the way arithmetic is done.
18079 * string.c: added test to make sure memcmp does it with unsigned
18080 chars.
18081 * test.c: cleaned up and removed lint.
18082 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
18083 dvec.c: tests for string to value conversions, sprintf, scanf,
18084 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
18085 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
18086 rounding in sprintf too.
18087 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
18088 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
18089 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
18090 and function form.
18091 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
18092 powf
18093
18094 In the library:
18095 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
18096 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
18097 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
18098 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
18099 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
18100 than sprintf.
18101 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
18102 * Method of producting float versions of double functions has
18103 changed, functions will be modified gradually. So far:
18104 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
18105 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
18106 altered
18107 * libc/string/memcmp.c: now uses unsigned chars
18108 * libc/string/bcmp.c, libc/string/strcpy.c,
18109 libc/stsring/strxfrm.c: fixed doc
18110 * libc/sys/sysvnecv70.tex: fix example of sbrk code
18111 \f
18112 Local Variables:
18113 version-control: never
18114 End:
This page took 0.804609 seconds and 6 git commands to generate.