]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
Make snprintf() and vsnprintf() conform to C99.
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
309faeb5
JJ
12007-08-24 Jeff Johnston <jjohnstn@redhat.com>
2
3 * libm/common/sf_lround.c (lroundf): Cast sizeof calculation
4 to int before comparing it to a signed int value.
5
8d44415e
HPN
62007-08-24 Hans-Peter Nilsson <hp@axis.com>
7
8 * libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
9 (EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP):
10 Define.
11
e6e56f7c
JJ
122007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
13
14 Reduce the memory consumption of variable argument functions
15 for SPU (cell):
16 * libc/machine/spu/Makefile.am: Replace printf/scanf family C sources
17 to assembler sources.
18 * libc/machine/spu/Makefile.in: Regenerated.
19 * libc/machine/spu/stdio.c: Add __check_init function wrapping
20 CHECK_INIT macro to use from assembler routines.
21 * libc/machine/spu/c99ppe.h: Add definitions for assembler code.
22 * libc/machine/spu/fiprintf.S: New file.
23 * libc/machine/spu/fiscanf.S: Ditto.
24 * libc/machine/spu/fprintf.S: Ditto.
25 * libc/machine/spu/fscanf.S: Ditto.
26 * libc/machine/spu/iprintf.S: Ditto.
27 * libc/machine/spu/iscanf.S: Ditto.
28 * libc/machine/spu/printf.S: Ditto.
29 * libc/machine/spu/scanf.S: Ditto.
30 * libc/machine/spu/siprintf.S: Ditto.
31 * libc/machine/spu/siscanf.S: Ditto.
32 * libc/machine/spu/sniprintf.S: Ditto.
33 * libc/machine/spu/snprintf.S: Ditto.
34 * libc/machine/spu/sprintf.S: Ditto.
35 * libc/machine/spu/sscanf.S: Ditto.
36 * libc/machine/spu/stack_reg_va.S: Ditto.
37 * libc/machine/spu/syscall.def: Ditto. (for maintenance)
38 * libc/machine/spu/mk_syscalls: Ditto. (for maintenance)
39 * libc/machine/spu/fiprintf.c: Removed. (Replaced by .S)
40 * libc/machine/spu/fiscanf.c: Ditto.
41 * libc/machine/spu/fprintf.c: Ditto.
42 * libc/machine/spu/fscanf.c: Ditto.
43 * libc/machine/spu/iprintf.c: Ditto.
44 * libc/machine/spu/iscanf.c: Ditto.
45 * libc/machine/spu/printf.c: Ditto.
46 * libc/machine/spu/scanf.c: Ditto.
47 * libc/machine/spu/siprintf.c: Ditto.
48 * libc/machine/spu/siscanf.c: Ditto.
49 * libc/machine/spu/sniprintf.c: Ditto.
50 * libc/machine/spu/snprintf.c: Ditto.
51 * libc/machine/spu/sprintf.c: Ditto.
52 * libc/machine/spu/sscanf.c: Ditto.
53
90c6084b
JJ
542007-08-03 Ralf Corsepius <ralf.corsepius@rtems.org>
55
56 * libc/include/tar.h: New.
57
8fb88162
JJ
582007-08-03 Jeff Johnston <jjohnstn@redhat.com>
59
60 * libc/sys/linux/intl/Makefile.am: Change stpcpy reference to
61 lcl_stpcpy to avoid conflict with new stpcpy.c in libc/string.
62 * libc/sys/linux/intl/Makefile.in: Regenerated.
63 * libc/sys/linux/intl/stpcpy.c: Renamed to...
64 * libc/sys/linux/intl/lcl_stpcpy.c: ..this.
65
6ddcdb9d
EB
662007-08-02 Eric Blake <ebb9@byu.net>
67
68 Implement fmemopen and open_memstream.
69 * libc/stdio/fmemopen.c (_fmemopen_r, fmemopen): New file.
70 * libc/stdio/open_memstream.c (_open_memstream_r, open_memstream):
71 New file.
72 * libc/stdio/fopencookie.c (fcwriter): Minor optimization.
73 * libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x
74 functions together.
75 (fmemopen, open_memstream): Declare new functions.
76 * libc/stdio/stdio.tex: Document them.
77 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Add
78 fmemopen and open_memstream.
79 * libc/stdio/Makefile.in: Regenerate.
80
f7c978d5
EB
812007-07-31 Eric Blake <ebb9@byu.net>
82
83 More POSIX stream corner cases.
84 * libc/stdio/findfp.c (__sinit): Open stderr read/write.
85 * libc/stdio/fdopen.c (_fdopen_r): Set O_APPEND on fd when
86 requested.
87 * libc/stdio64/fdopen64.c (_fdopen64_r): Likewise.
88
391b530a
EB
892007-07-18 Eric Blake <ebb9@byu.net>
90
91 Fix 'make info'.
92 * libc/stdio/stdio.tex: Add missing include.
93 * libc/stdio/vfprintf.c: Use expected node name.
94 * libc/stdio/vfscanf.c: Likewise.
95 * libc/stdio/sscanf.c: Likewise.
96 * libc/stdio/sprintf.c: Likewise.
97 * libc/stdio/siscanf.c: Likewise.
98 * libc/stdio/siprintf.c: Likewise.
99 * libc/stdio/fopencookie.c: Quote raw {}.
100 Reported by DJ Delorie.
101
88c88881
EB
1022007-07-13 Eric Blake <ebb9@byu.net>
103
08146e5a
EB
104 Fix fflush issues.
105 * libc/stdio/fflush.c (_fflush_r): New function.
106 (fflush): Fix reentrancy and large offset behavior.
107 * libc/include/stdio.h (_fflush_r): Add prototype.
108 * libc/stdio/fclose.c (_fclose_r): All fflush callers changed.
109 * libc/stdio/freopen.c (_freopen_r): Likewise.
110 * libc/stdio/fseek.c (_fseek_r): Likewise.
111 * libc/stdio/ftell.c (_ftell_r): Likewise.
112 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
113 * libc/stdio/refill.c (__srefill_r): Likewise.
114 * libc/stdio/setvbuf.c (setvbuf): Likewise.
115 * libc/stdio/ungetc.c (_ungetc_r): Likewise.
116 * libc/stdio/vfprintf.c (__sbprintf): Likewise.
117 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
118 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
119 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise. Defer to
120 32-bit version if not large file.
121 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
122 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.
123
88c88881
EB
124 Documentation updates.
125 * libc/stdio/ungetc.c: Document ungetc.
126 * libc/stdio/Makefile.am (CHEWOUT_FILES): Sort, match current list
127 of files with documentation.
128 * libc/stdio/Makefile.in: Regenerate.
129 * libc/stdio/stdio.tex: Sort and update stdio documentation index.
130
c4ccbcce
JJ
1312007-07-11 Jeff Johnston <jjohnstn@redhat.com>
132
133 * libc/include/math.h: Fix so C99 functions/macros are accessible
134 when -std=c99 is used when compiling and not when using C89.
135
dec27025
CV
1362007-07-06 Corinna Vinschen <corinna@vinschen.de>
137
138 * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul,
139 wcstoull, _wcstol_r, _wcstoll_r, _wcstoul_r and _wcstoull_r.
140 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstol.c and wcstoul.c.
141 (EXTENDED_SOURCES): Add wcstoll.c, wcstoll_r.c, wcstoull.c and
142 wcstoull_r.c.
143 (CHEWOUT_FILES): Add .def files accordingly.
144 * libc/stdlib/Makefile.in: Regenerate.
145 * libc/stdlib/stdlib.tex: Add documentation links for above functions.
146 * libc/stdlib/strtoll.c: Fix portability note.
147 * libc/stdlib/strtoull.c: Ditto.
148 * libc/stdlib/wcstol.c: New file.
149 * libc/stdlib/wcstoll.c: New file.
150 * libc/stdlib/wcstoll_r.c: New file.
151 * libc/stdlib/wcstoul.c: New file.
152 * libc/stdlib/wcstoull.c: New file.
153 * libc/stdlib/wcstoull_r.c: New file.
154
0be2bc94
JJ
1552007-07-06 Jeff Johnston <jjohnstn@redhat.com>
156
157 * libc/include/sys/time.h (gettimeofday): Change to proper
158 prototype where second parameter is void *.
159 * libc/reent/gettimeofdayr.c (_gettimeofday_r): Change prototype
160 accordingly.
161 * libc/include/reent.h: Fix prototype for _gettimeofday_r.
162 * libc/sys/arm/syscalls.c: Fix gettimeofday function signature.
163 * libc/sys/rdos/gettod.c: Ditto.
164 * libc/sys/sh/syscalls.c: Ditto.
165 * libc/time/time.c (time): Change call to _gettimeofday_r
166 to pass NULL as 2nd argument.
167
ba9af2d7
JJ
1682007-07-06 Jeff Johnston <jjohnstn@redhat.com>
169
170 * libc/sys/linux/intl/dcigettext.c: Define HAVE_STPCPY.
171 * libc/sys/linux/intl/l10nflist.c: Ditto.
172
a3721512
CV
1732007-07-04 Corinna Vinschen <corinna@vinschen.de>
174
175 * libc/include/wchar.h: Add prototype for wcsxfrm.
176 * libc/string/Makefile.am (GENERAL_SOURCES): Add wcsxfrm.c.
177 (CHEWOUT_FILES): Add wcsxfrm.def.
178 * libc/string/Makefile.in: Regenerate.
179 * libc/string/wcsxfrm.c: New file.
180 * libc/string/wcstrings.tex: Add wcsxfrm.
181
5d8b97a6
CV
1822007-06-28 Corinna Vinschen <corinna@vinschen.de>
183
184 * libc/include/string.h: Add prototypes for stpcpy and stpncpy.
185 * libc/string/Makefile.am (ELIX_SOURCES): Add stpcpy.c and
186 stpncpy.c.
187 (CHEWOUT_FILES): Add stpcpy.def and stpncpy.def.
188 * libc/string/Makefile.in: Regenerate.
189 * libc/string/stpcpy.c: New file.
190 * libc/string/stpncpy.c: New file.
191 * libc/string/strings.tex: Add stpcpy and stpncpy.
192
3473e6bd
EB
1932007-06-27 Eric Blake <ebb9@byu.net>
194
195 Support __func__ in assert, as required by C99.
196 * libc/stdlib/assert.c (__assert_func): New function.
197 (__assert): Use __assert_func.
198 * libc/include/assert.h (assert) [!NDEBUG]: Use __assert_func when
199 possible.
200
be977229
JJ
2012007-06-20 Patrick Mansfield <patmans@us.ibm.com>
202
203 * libc/machine/spu/perror.c: Pass errno as the second argument to
204 the assist call.
205
d360ef18
JJ
2062007-06-20 Patrick Mansfield <patmans@us.ibm.com>
207
208 * libc/include/sys/unistd.h[__SPU__]: Add lockf prototype and related
209 defines; expose ftruncate, truncate and sync prototypes.
210
f75c7518
JJ
2112007-06-20 Patrick Mansfield <patmans@us.ibm.com>
212
213 * libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible.
3473e6bd 214 * libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes
f75c7518
JJ
215 visible.
216
438b07b0
JJ
2172007-06-15 Patrick Mansfield <patmans@us.ibm.com>
218
219 * libc/machine/spu/Makefile.am: Remove mktemp.c, it was left in
220 from a dropped patch.
221 * libc/machine/spu/Makefile.in: Regenerate.
222
c33ff785
JJ
2232007-06-13 Patrick Mansfield <patmans@us.ibm.com>
224
225 * libc/machine/spu/creat.c: New file copied from libc/posix/creat.c,
3473e6bd 226 it just calls open with appropriate arguments.
c33ff785
JJ
227 * libc/machine/spu/Makefile.am: Add creat.c.
228 * libc/machine/spu/Makefile.in: Regenerate.
229
ae473bdc
JJ
2302007-06-13 Jeff Johnston <jjohnstn@redhat.com>
231
232 * libc/machine/spu/Makefile.am: Re-add back setjmp.S which
233 I accidentally dropped.
234 * libc/machine/spu/Makefile.in: Regenerated.
235
a8b08518
JJ
2362007-06-13 Patrick Mansfield <patmans@us.ibm.com>
237
238 * libc/include/sys/features.h: Define _POSIX_TIMERS for spu.
239 * libc/include/sys/unistd.h: Change usleep prototype to Posix
240 form and move outside of OS flag checks.
241 * libc/machine/spu/Makefile.am: Add sleep and usleep.
242 * libc/machine/spu/Makefile.in: Regenerate.
243 * libc/machine/spu/sleep.c: Copy libc/posix/sleep.c.
244 * libc/machine/spu/usleep.c: Copy libc/posix/usleep.c.
245
f4cd2a1d
CV
2462007-06-11 Corinna Vinschen <corinna@vinschen.de>
247
248 * libc/include/sys/unistd.h: Declare confstr for Cygwin.
249 Define confstr constants for Cygwin. Add comment.
250
32f67ec6
HPN
2512007-06-10 Hans-Peter Nilsson <hp@bitrange.com>
252
253 * libc/sys/mmixware/access.c (access): Do not try to use a magic
254 file-handle and a direct syscall, just use _open.
255 * libc/sys/mmixware/sys/syscall.h (TMPFNO): Remove this magic
256 file-handle.
257
258 * libc/sys/mmixware/_exit.c (_exit): Update comment about
259 passing on the exit value.
260
6fb37475
JJ
2612007-06-08 Jeff Johnston <jjohnstn@redhat.com>
262
263 * libc/string/strcasestr.c: New file.
264 * libc/include/string.h: Add strcasestr.
265 * libc/string/strings.tex: Add strcasestr.
266 * libc/string/Makefile.am: Ditto.
267 * libc/string/Makefile.in: Regenerated.
268
1eeaeab8
JJ
2692007-06-06 Christian Groessler <chris@groessler.org>
270
271 * libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
272 rnd is done after the last local variable declaration.
273
2742007-06-06 Jeff Johnston <jjohnstn@redhat.com>
275
276 * libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.
277
a5da131d
JJ
2782007-06-05 Christian Groessler <chris@groessler.org>
279
3473e6bd 280 * libc/argz/argz_insert.c (argz_insert): Move delta variable
a874abaf 281 declaration to top of function in keeping with C89 standard.
a5da131d 282
17c61d6a
EB
2832007-06-04 Eric Blake <ebb9@byu.net>
284
285 Implement funopen, fopencookie.
286 * libc/include/sys/reent.h (struct __sFILE, struct __sFILE64):
287 Switch to reentrant callbacks.
288 * libc/include/stdio.h (funopen): Fix declaration.
289 (fopencookie): Declare.
290 * libc/stdio/local.h (__sread, __swrite, __sseek, __sclose)
291 (__sseek64, __swrite64): Fix prototypes.
292 [__SCLE]: Pull in setmode declaration.
293 * libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix
294 reentrancy.
295 * libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete.
296 (__sseek64, __swrite64): Fix reentrancy.
297 * libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
298 reentrancy.
299 * libc/stdio/ftell.c (_ftell_r): Likewise.
300 * libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+".
301 * libc/stdio/fclose.c (_fclose_r): Fix reentrancy.
302 * libc/stdio/freopen.c (_freopen_r): Likewise.
303 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
304 * libc/stdio/refill.c (__srefill_r): Likewise.
305 * libc/stdio/siscanf.c (eofread): Likewise.
306 * libc/stdio/sscanf.c (eofread): Likewise.
307 * libc/stdio/vsiscanf.c (eofread1): Likewise.
308 * libc/stdio/vsscanf.c (eofread1): Likewise.
309 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
310 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
311 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
312 * libc/stdio/fflush.c (fflush): Improve reentrancy, although more
313 could be fixed.
314 * libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file.
315 * libc/stdio/funopen.c (_funopen_r, funopen): New file.
316 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build
317 new files.
318 * libc/stdio/Makefile.in: Regenerate.
319
b2064783
EB
3202007-05-29 Eric Blake <ebb9@byu.net>
321
322 Avoid more compiler warnings.
323 * libc/stdlib/btowc.c: Add missing header.
324 * libc/stdlib/getopt.c (getopt_internal): Initialize variable.
325 * libc/stdlib/system.c (do_system) [__CYGWIN__]: Add declaration.
326 * libc/stdlib/wctob.c: Add missing header.
327 * libc/string/strcpy.c (strcpy): Avoid warnings.
328 * libc/string/strrchr.c (strrchr): Likewise.
329
76a2ee78
CV
3302007-05-29 Corinna Vinschen <corinna@vinschen.de>
331
332 * libc/argz/argz_add_sep.c (argz_add_sep): Handle empty string
333 argument.
334 * libc/argz/argz_append.c (argz_append): Handle empty buf argument.
335 * libc/argz/argz_create_sep.c (argz_create_sep): Return (NULL, 0)
336 on empty input strings.
337 * libc/argz/argz_extract.c (argz_extract): Check argz_len before
338 looping through argz.
339 * libc/argz/argz_stringify.c (argz_stringify): Ditto.
340
75acf0bb
EB
3412007-05-27 Brian Dessent <brian@dessent.net>
342
343 * libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
344 handling %p.
345
f5c58e9a
EB
3462007-05-25 Eric Blake <ebb9@byu.net>
347
348 * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
349
d9a1ecc0 3502007-05-24 Steve Ellcey <sje@cup.hp.com>
f5c58e9a 351 Charles Wilson <libtool@cwilson.fastmail.fm>
d9a1ecc0
SE
352
353 * libtool.m4: removed
354 * configure.in: invoke _LD_DECL_SED before conditionally initializing
355 libtool. Move AC_PROG_AWK outside conditional.
356 * libc/sys/linux/configure.in: Ditto.
357 * libc/sys/linux/linuxthreads/configure.in: Ditto.
358 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
359 * libc/sys/linux/machine/i386/configure.in: Ditto.
360
361 * iconvdata/configure.in: invoke _LD_DECL_SED before conditionally
362 initializing libtool.
363 * libc/configure.in: Ditto.
364 * libc/machine/configure.in: Ditto.
365 * libc/machine/i386/configure.in: Ditto.
366 * libc/sys/configure.in: Ditto.
367 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
368 * libc/sys/linux/machine/configure.in: Ditto.
369 * libm/configure.in: Ditto.
370 * libm/machine/configure.in: Ditto.
371
372 * Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
373 * doc/Makefile.am: Ditto.
374 * iconvdata/Makefile.am: Ditto.
375 * libc/Makefile.am: Ditto.
376 * libc/machine/Makefile.am: Ditto.
377 * libc/machine/a29k/Makefile.am: Ditto.
378 * libc/machine/arm/Makefile.am: Ditto.
379 * libc/machine/bfin/Makefile.am: Ditto.
380 * libc/machine/cris/Makefile.am: Ditto.
381 * libc/machine/crx/Makefile.am: Ditto.
382 * libc/machine/d10v/Makefile.am: Ditto.
383 * libc/machine/d30v/Makefile.am: Ditto.
384 * libc/machine/fr30/Makefile.am: Ditto.
385 * libc/machine/frv/Makefile.am: Ditto.
386 * libc/machine/h8300/Makefile.am: Ditto.
387 * libc/machine/h8500/Makefile.am: Ditto.
388 * libc/machine/hppa/Makefile.am: Ditto.
389 * libc/machine/i386/Makefile.am: Ditto.
390 * libc/machine/i960/Makefile.am: Ditto.
391 * libc/machine/iq2000/Makefile.am: Ditto.
392 * libc/machine/m32c/Makefile.am: Ditto.
393 * libc/machine/m32r/Makefile.am: Ditto.
394 * libc/machine/m68hc11/Makefile.am: Ditto.
395 * libc/machine/m68k/Makefile.am: Ditto.
396 * libc/machine/m88k/Makefile.am: Ditto.
397 * libc/machine/mips/Makefile.am: Ditto.
398 * libc/machine/mn10200/Makefile.am: Ditto.
399 * libc/machine/mn10300/Makefile.am: Ditto.
400 * libc/machine/mt/Makefile.am: Ditto.
401 * libc/machine/necv70/Makefile.am: Ditto.
402 * libc/machine/powerpc/Makefile.am: Ditto.
403 * libc/machine/sh/Makefile.am: Ditto.
404 * libc/machine/sparc/Makefile.am: Ditto.
405 * libc/machine/spu/Makefile.am: Ditto.
406 * libc/machine/tic4x/Makefile.am: Ditto.
407 * libc/machine/tic80/Makefile.am: Ditto.
408 * libc/machine/v850/Makefile.am: Ditto.
409 * libc/machine/w65/Makefile.am: Ditto.
410 * libc/machine/xscale/Makefile.am: Ditto.
411 * libc/machine/xstormy16/Makefile.am: Ditto.
412 * libc/machine/z8k/Makefile.am: Ditto.
413 * libc/sys/Makefile.am: Ditto.
414 * libc/sys/a29khif/Makefile.am: Ditto.
415 * libc/sys/arc/Makefile.am: Ditto.
416 * libc/sys/arm/Makefile.am: Ditto.
417 * libc/sys/d10v/Makefile.am: Ditto.
418 * libc/sys/decstation/Makefile.am: Ditto.
419 * libc/sys/h8300hms/Makefile.am: Ditto.
420 * libc/sys/h8500hms/Makefile.am: Ditto.
421 * libc/sys/linux/Makefile.am: Ditto.
422 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
423 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
424 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
425 * libc/sys/linux/machine/Makefile.am: Ditto.
426 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
427 * libc/sys/m88kbug/Makefile.am: Ditto.
428 * libc/sys/mmixware/Makefile.am: Ditto.
429 * libc/sys/netware/Makefile.am: Ditto.
430 * libc/sys/rdos/Makefile.am: Ditto.
431 * libc/sys/rtems/Makefile.am: Ditto.
432 * libc/sys/sh/Makefile.am: Ditto.
433 * libc/sys/sparc64/Makefile.am: Ditto.
434 * libc/sys/sun4/Makefile.am: Ditto.
435 * libc/sys/sysmec/Makefile.am: Ditto.
436 * libc/sys/sysnec810/Makefile.am: Ditto.
437 * libc/sys/sysnecv850/Makefile.am: Ditto.
438 * libc/sys/sysvi386/Makefile.am: Ditto.
439 * libc/sys/sysvnecv70/Makefile.am: Ditto.
440 * libc/sys/tic80/Makefile.am: Ditto.
441 * libc/sys/w65/Makefile.am: Ditto.
442 * libc/sys/z8ksim/Makefile.am: Ditto.
443 * libm/Makefile.am: Ditto.
444 * libm/machine/Makefile.am: Ditto.
445 * libm/machine/i386/Makefile.am: Ditto.
446 * libm/machine/spu/Makefile.am: Ditto.
447
448 * aclocal.m4: Regenerate.
449 * iconvdata/aclocal.m4: Regenerate.
450 * libc/aclocal.m4: Regenerate.
451 * libc/machine/aclocal.m4: Regenerate.
452 * libc/machine/i386/aclocal.m4: Regenerate.
453 * libc/sys/aclocal.m4: Regenerate.
454 * libc/sys/linux/aclocal.m4: Regenerate.
455 * libc/sys/linux/linuxthreads/aclocal.m4: Regenerate.
456 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Regenerate.
457 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Regenerate.
458 * libc/sys/linux/machine/aclocal.m4: Regenerate.
459 * libc/sys/linux/machine/i386/aclocal.m4: Regenerate.
460 * libm/aclocal.m4: Regenerate.
461 * libm/machine/aclocal.m4: Regenerate.
462 * libm/machine/i386/aclocal.m4: Regenerate.
463
464 * Makefile.in: Regenerate.
465 * doc/Makefile.in: Regenerate.
466 * iconvdata/Makefile.in: Regenerate.
467 * libc/Makefile.in: Regenerate.
468 * libc/argz/Makefile.in: Regenerate.
469 * libc/ctype/Makefile.in: Regenerate.
470 * libc/errno/Makefile.in: Regenerate.
471 * libc/iconv/Makefile.in: Regenerate.
472 * libc/iconv/ccs/Makefile.in: Regenerate.
473 * libc/iconv/ccs/binary/Makefile.in: Regenerate.
474 * libc/iconv/ces/Makefile.in: Regenerate.
475 * libc/iconv/lib/Makefile.in: Regenerate.
476 * libc/locale/Makefile.in: Regenerate.
477 * libc/machine/Makefile.in: Regenerate.
478 * libc/machine/a29k/Makefile.in: Regenerate.
479 * libc/machine/arm/Makefile.in: Regenerate.
480 * libc/machine/bfin/Makefile.in: Regenerate.
481 * libc/machine/cris/Makefile.in: Regenerate.
482 * libc/machine/crx/Makefile.in: Regenerate.
483 * libc/machine/d10v/Makefile.in: Regenerate.
484 * libc/machine/d30v/Makefile.in: Regenerate.
485 * libc/machine/fr30/Makefile.in: Regenerate.
486 * libc/machine/frv/Makefile.in: Regenerate.
487 * libc/machine/h8300/Makefile.in: Regenerate.
488 * libc/machine/h8500/Makefile.in: Regenerate.
489 * libc/machine/hppa/Makefile.in: Regenerate.
490 * libc/machine/i386/Makefile.in: Regenerate.
491 * libc/machine/i960/Makefile.in: Regenerate.
492 * libc/machine/iq2000/Makefile.in: Regenerate.
493 * libc/machine/m32c/Makefile.in: Regenerate.
494 * libc/machine/m32r/Makefile.in: Regenerate.
495 * libc/machine/m68hc11/Makefile.in: Regenerate.
496 * libc/machine/m68k/Makefile.in: Regenerate.
497 * libc/machine/m88k/Makefile.in: Regenerate.
498 * libc/machine/mips/Makefile.in: Regenerate.
499 * libc/machine/mn10200/Makefile.in: Regenerate.
500 * libc/machine/mn10300/Makefile.in: Regenerate.
501 * libc/machine/mt/Makefile.in: Regenerate.
502 * libc/machine/necv70/Makefile.in: Regenerate.
503 * libc/machine/powerpc/Makefile.in: Regenerate.
504 * libc/machine/sh/Makefile.in: Regenerate.
505 * libc/machine/sparc/Makefile.in: Regenerate.
506 * libc/machine/spu/Makefile.in: Regenerate.
507 * libc/machine/tic4x/Makefile.in: Regenerate.
508 * libc/machine/tic80/Makefile.in: Regenerate.
509 * libc/machine/v850/Makefile.in: Regenerate.
510 * libc/machine/w65/Makefile.in: Regenerate.
511 * libc/machine/xscale/Makefile.in: Regenerate.
512 * libc/machine/xstormy16/Makefile.in: Regenerate.
513 * libc/machine/z8k/Makefile.in: Regenerate.
514 * libc/misc/Makefile.in: Regenerate.
515 * libc/posix/Makefile.in: Regenerate.
516 * libc/reent/Makefile.in: Regenerate.
517 * libc/search/Makefile.in: Regenerate.
518 * libc/signal/Makefile.in: Regenerate.
519 * libc/stdio/Makefile.in: Regenerate.
520 * libc/stdio64/Makefile.in: Regenerate.
521 * libc/stdlib/Makefile.in: Regenerate.
522 * libc/string/Makefile.in: Regenerate.
523 * libc/sys/Makefile.in: Regenerate.
524 * libc/sys/a29khif/Makefile.in: Regenerate.
525 * libc/sys/arc/Makefile.in: Regenerate.
526 * libc/sys/arm/Makefile.in: Regenerate.
527 * libc/sys/d10v/Makefile.in: Regenerate.
528 * libc/sys/decstation/Makefile.in: Regenerate.
529 * libc/sys/h8300hms/Makefile.in: Regenerate.
530 * libc/sys/h8500hms/Makefile.in: Regenerate.
531 * libc/sys/linux/Makefile.in: Regenerate.
532 * libc/sys/linux/argp/Makefile.in: Regenerate.
533 * libc/sys/linux/cmath/Makefile.in: Regenerate.
534 * libc/sys/linux/dl/Makefile.in: Regenerate.
535 * libc/sys/linux/iconv/Makefile.in: Regenerate.
536 * libc/sys/linux/intl/Makefile.in: Regenerate.
537 * libc/sys/linux/linuxthreads/Makefile.in: Regenerate.
538 * libc/sys/linux/linuxthreads/machine/Makefile.in: Regenerate.
539 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerate.
540 * libc/sys/linux/machine/Makefile.in: Regenerate.
541 * libc/sys/linux/machine/i386/Makefile.in: Regenerate.
542 * libc/sys/linux/net/Makefile.in: Regenerate.
543 * libc/sys/linux/stdlib/Makefile.in: Regenerate.
544 * libc/sys/m88kbug/Makefile.in: Regenerate.
545 * libc/sys/mmixware/Makefile.in: Regenerate.
546 * libc/sys/netware/Makefile.in: Regenerate.
547 * libc/sys/rdos/Makefile.in: Regenerate.
548 * libc/sys/rtems/Makefile.in: Regenerate.
549 * libc/sys/sh/Makefile.in: Regenerate.
550 * libc/sys/sparc64/Makefile.in: Regenerate.
551 * libc/sys/sun4/Makefile.in: Regenerate.
552 * libc/sys/sysmec/Makefile.in: Regenerate.
553 * libc/sys/sysnec810/Makefile.in: Regenerate.
554 * libc/sys/sysnecv850/Makefile.in: Regenerate.
555 * libc/sys/sysvi386/Makefile.in: Regenerate.
556 * libc/sys/sysvnecv70/Makefile.in: Regenerate.
557 * libc/sys/tic80/Makefile.in: Regenerate.
558 * libc/sys/w65/Makefile.in: Regenerate.
559 * libc/sys/z8ksim/Makefile.in: Regenerate.
560 * libc/syscalls/Makefile.in: Regenerate.
561 * libc/time/Makefile.in: Regenerate.
562 * libc/unix/Makefile.in: Regenerate.
563 * libm/Makefile.in: Regenerate.
564 * libm/common/Makefile.in: Regenerate.
565 * libm/machine/Makefile.in: Regenerate.
566 * libm/machine/i386/Makefile.in: Regenerate.
567 * libm/machine/spu/Makefile.in: Regenerate.
568 * libm/math/Makefile.in: Regenerate.
569 * libm/mathfp/Makefile.in: Regenerate.
570
571 * configure: Regenerate.
572 * iconvdata/configure: Regenerate.
573 * libc/configure: Regenerate.
574 * libc/machine/configure: Regenerate.
575 * libc/machine/i386/configure: Regenerate.
576 * libc/sys/configure: Regenerate.
577 * libc/sys/linux/configure: Regenerate.
578 * libc/sys/linux/linuxthreads/configure: Regenerate.
579 * libc/sys/linux/linuxthreads/machine/configure: Regenerate.
580 * libc/sys/linux/linuxthreads/machine/i386/configure: Regenerate.
581 * libc/sys/linux/machine/configure: Regenerate.
582 * libc/sys/linux/machine/i386/configure: Regenerate.
583 * libm/configure: Regenerate.
584 * libm/machine/configure: Regenerate.
585 * libm/machine/i386/configure: Regenerate.
586
aa5341f9
EB
5872007-05-23 Eric Blake <ebb9@byu.net>
588
589 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
590 sizeof(void*) is 8 but sizeof(long) is 4.
591 * libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise. Fix %i scanning
592 of "-0x". Support "-nan" and "inf" for %e. Audit usage of ungetc
593 to fix reentrancy and bug on encoding error in multibyte locales.
594 Always return EOF on read error.
595
4a9880e0
JJ
5962007-05-23 Patrick Mansfield <patmans@us.ibm.com>
597
598 * libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
599 prototype.
600 * libc/machine/spu/fclose.c: Use the __send_to_ppe return value
601 instead of the slot 0 value, remove any now unused variables, and
602 for some cases, now store the result in an int vs int*.
603 * libc/machine/spu/feof.c: Ditto.
604 * libc/machine/spu/ferror.c: Ditto.
605 * libc/machine/spu/fflush.c: Ditto.
606 * libc/machine/spu/fgetc.c: Ditto.
607 * libc/machine/spu/fgetpos.c: Ditto.
608 * libc/machine/spu/fgets.c: Ditto.
609 * libc/machine/spu/fileno.c: Ditto.
610 * libc/machine/spu/fopen.c: Ditto.
611 * libc/machine/spu/fprintf.c: Ditto.
612 * libc/machine/spu/fputc.c: Ditto.
613 * libc/machine/spu/fputs.c: Ditto.
614 * libc/machine/spu/fread.c: Ditto.
615 * libc/machine/spu/freopen.c: Ditto.
616 * libc/machine/spu/fscanf.c: Ditto.
617 * libc/machine/spu/fseek.c: Ditto.
618 * libc/machine/spu/fsetpos.c: Ditto.
619 * libc/machine/spu/ftell.c: Ditto.
620 * libc/machine/spu/fwrite.c: Ditto.
621 * libc/machine/spu/getc.c: Ditto.
622 * libc/machine/spu/getchar.c: Ditto.
623 * libc/machine/spu/gets.c: Ditto.
624 * libc/machine/spu/printf.c: Ditto.
625 * libc/machine/spu/putc.c: Ditto.
626 * libc/machine/spu/putchar.c: Ditto.
627 * libc/machine/spu/puts.c: Ditto.
628 * libc/machine/spu/remove.c: Ditto.
629 * libc/machine/spu/rename.c: Ditto.
630 * libc/machine/spu/scanf.c: Ditto.
631 * libc/machine/spu/setvbuf.c: Ditto.
632 * libc/machine/spu/snprintf.c: Ditto.
633 * libc/machine/spu/sprintf.c: Ditto.
634 * libc/machine/spu/sscanf.c: Ditto.
635 * libc/machine/spu/tmpfile.c: Ditto.
636 * libc/machine/spu/tmpnam.c: Ditto.
637 * libc/machine/spu/ungetc.c: Ditto.
638 * libc/machine/spu/vfprintf.c: Ditto.
639 * libc/machine/spu/vfscanf.c: Ditto.
640 * libc/machine/spu/vprintf.c: Ditto.
641 * libc/machine/spu/vscanf.c: Ditto.
642 * libc/machine/spu/vsnprintf.c: Ditto.
643 * libc/machine/spu/vsprintf.c: Ditto.
644 * libc/machine/spu/vsscanf.c: Ditto.
645
9a3ec862
EB
6462007-05-23 Eric Blake <ebb9@byu.net>
647
648 * libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
649 Avoid warning when !FLOATING_POINT.
650 * libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS
651 slightly.
652
d48670ed
CV
6532007-05-23 Corinna Vinschen <vinschen@redhat.com>
654
655 * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
656 to zero.
657 * libc/include/argz.h: Guard against multiple inclusion. Guard for
658 use with C++.
659
8aab2bc2
EB
6602007-05-18 Eric Blake <ebb9@byu.net>
661
662 * libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
663 compilers.
664 * libc/stdio/vfscanf.c: Likewise.
665
b2250c70
JJ
6662007-05-17 Cary R. <cygcary <at> yahoo.com>
667
668 * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
669 (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
670 * libm/math/wf_atan2.c: Ditto.
671
8aab2bc2 6722007-05-17 Yaakov Selkowitz <yselkowitz <at> users.sourceforge.net>
e0500490
JJ
673
674 * libm/common/Makefile.am: Add support for exp10, exp10f,
675 pow10, and pow10f functions.
676 * libm/common/Makefile.in: Regenerated.
677 * libm/common/s_pow10.c: New file.
678 * libm/common/sf_pow10.c: Ditto.
679 * libm/common/s_exp10.c: Ditto.
680 * libm/common/sf_exp10.c: Ditto.
681 * libc/include/math.h [!pow10]: New pow10 prototype.
682 [!pow10f]: New pow10f prototype.
683 [!exp10]: New exp10 prototype.
684 [!exp10f]: New exp10f prototype.
685
487e9075
EB
6862007-05-17 Charles Wilson <cygwin@...>
687
688 * stdio/tmpfile.c: Include <sys/stat.h>.
689 * stdio64/tmpfile64.c: Ditto.
690
f6560775
EB
6912007-05-16 Eric Blake <ebb9@byu.net>
692
d009633d
EB
693 Close security hole in tmpfile.
694 * libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
695 generation and opening the fd.
696 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.
697
895d76fe
EB
698 * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
699 (MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
700 required by POSIX.
701 * libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
702 avoid clash with <math.h>.
703
f6560775
EB
704 * libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
705 * libc/search/hash.c (__hash_open): Likewise.
706
34507ce0
EB
7072007-05-14 Eric Blake <ebb9@byu.net>
708
709 Reduce stack size of *printf.
710 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
711 in %f. Avoid malloc when possible for %S.
712 (BUF): Improve stack locality by using smaller size.
713 (MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
714 (exponent): Use smaller stack size.
715
b8a37af9
EB
7162007-05-11 Eric Blake <ebb9@byu.net>
717
0962fe91
EB
718 Minimize printf/scanf size on platforms that don't need C99.
719 * acconfig.h (_WANT_IO_C99_FORMATS): New macro.
720 * newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
721 * configure.in (newlib-io-c99-formats): New configure option.
722 (_WANT_IO_C99_FORMATS): Define appropriately.
723 * configure.host (*-linux*, cygwin): Default c99-formats to yes.
724 * libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
725 Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
726 * libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
727 Likewise.
728 * configure: Regenerate.
729
b8a37af9
EB
730 * libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
731 (get_arg): Support '%a' and '%A'.
732
81274c67
EB
7332007-05-09 Eric Blake <ebb9@byu.net>
734
735 Allow zero size with non-null buf in *asnprintf.
736 * libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
737 user's buf.
738 * libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
739 * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
740 * libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.
741
38ed4e51
EB
7422007-05-07 Charles Wilson <cygwin@...>
743
744 * libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
745
b9db5292
EB
7462007-05-03 Eric Blake <ebb9@byu.net>
747
748 Add support for asnprintf, and improve *printf documentation.
749 * libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
750 (ELIX_2_SOURCES): ...to this.
751 (ELIX_4_SOURCES): Add new variable. Build asnprintf.
752 (GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
753 (CHEWOUT_FILES): Include diprintf in documentation.
754 * libc/stdio/Makefile.in: Regenerate.
755 * libc/stdio/diprintf.c: Improve documentation.
756 * libc/stdio/dprintf.c: Likewise.
757 * libc/stdio/siprintf.c: Likewise.
758 * libc/stdio/sprintf.c: Likewise.
759 * libc/stdio/vfprintf.c: Likewise.
760 * libc/stdio/viprintf.c: Likewise.
761 * libc/stdio/vsniprintf.c: Consolidate documentation.
762 * libc/stdio/asiprintf.c: Refer to documentation.
763 * libc/stdio/asprintf.c: Likewise.
764 * libc/stdio/fiprintf.c: Likewise.
765 * libc/stdio/fprintf.c: Likewise.
766 * libc/stdio/iprintf.c: Likewise.
767 * libc/stdio/printf.c: Likewise.
768 * libc/stdio/sniprintf.c: Likewise.
769 * libc/stdio/vdiprintf.c: Likewise.
770 * libc/stdio/vdprintf.c: Likewise.
771 * libc/stdio/vsiprintf.c: Likewise.
772 * libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
773 * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
774 * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
775 * libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
776 file.
777 * libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
778 * libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
779 typical case.
780 * libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
781 * libc/include/stdio.h: Add prototypes for new functions; sort
782 existing functions.
783
fb3937fa
KH
7842007-05-03 Kazu Hirata <kazu@codesourcery.com>
785
786 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
787 and memset.S.
788 * libc/machine/m68k/Makefile.in: Regenerate.
789 * libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
790 * libc/machine/m68k/memset.S: Likewise.
791
b4f09558
EB
7922007-05-01 Eric Blake <ebb9@byu.net>
793
794 * libc/stdio64/local64.h: Delete, move contents to...
795 * libc/stdio/local.h: ...here.
796 * libc/stdio64/fdopen64.c: Update includes.
797 * libc/stdio64/fopen64.c: Likewise.
798 * libc/stdio64/freopen64.c: Likewise.
799 * libc/stdio64/fseeko64.c: Likewise.
800 * libc/stdio64/ftello64.c: Likewise.
801 * libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
802 and stderr with 64-bit offset.
803 * libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
804 * libc/stdio/makebuf.c (__smakebuf_r): Likewise.
805 * libc/stdio/mktemp.c (_gettemp): Likewise.
806
2babeb3d
JJ
8072007-05-01 Cary R. <cygcary <at> yahoo.com>
808
809 * libm/math/e_pow.c: Fix to be consistent with glibc with regards
810 to treatment of NaN and +-inf arguments.
811 * libm/math/ef_pow.c: Ditto.
812 * libm/math/w_pow.c: Ditto.
813 * libm/math/wf_pow.c: Ditto.
814 * libm/math/w_acos.c: Fix domain errors to return NaN.
815 * libm/math/w_asin.c: Ditto.
816 * libm/math/wf_acos.c: Ditto.
817 * libm/math/wf_asin.c: Ditto.
818 * libm/math/w_log.c: Fix to return NaN for negative number inputs.
819 * libm/math/wf_log.c: Ditto.
820 * libm/math/wf_log10.c: Ditto.
821 * libm/math/w_log10.c: Ditto.
822
643aff87
JJ
8232007-04-27 Jeff Johnston <jjohnstn@redhat.com>
824
825 * libc/machine/m68k/Makefile.am: Temporarily remove
826 memcpy.S and memset.S until logic can be confirmed for
827 !(__mcoldfile__) case.
828 * libc/machine/m68k/Makefile.in: Regenerated.
829
9e5957de
JJ
8302007-04-27 Kazu Hirata <kazu@codesourcery.com>
831
832 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
833 and memset.S.
834 * libc/machine/m68k/Makefile.in: Regenerate.
835 * libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.
836
976e9d28
JJ
8372007-04-26 Patrick Mansfield <patmans@us.ibm.com>
838
839 * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
840 overridden via machine/ieeefp.h.
841 * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
842 macros for isnan and related macros.
843 * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
844 overridden via machine/ieeefp.h.
845 * libm/machine/spu/Makefile.am: Add new files.
846 * libm/machine/spu/Makefile.in: Autogenerate with new files.
847 * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
848 * libm/machine/spu/sf_finite.c: Add SPU specific finitef.
849 * libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
850 * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
851 * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
852 * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
853 * libm/machine/spu/sf_nan.c: Add SPU specific nanf.
854
34450bd5
JJ
8552007-04-25 Jeff Johnston <jjohnstn@redhat.com>
856
857 * libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
858 * libm/common/sf_fpclassify.c: ...here. New file.
859 * libm/common/Makefile.am: Add sf_fpclassify.c.
860 * libm/common/Makefile.in: Regenerated.
861
42cd3e6c
JJ
8622007-04-25 Patrick Mansfield <patmans@us.ibm.com>
863
864 * libc/machine/spu/sys/errno.h: New file, so spu errno values match
865 ppu linux values. This file is a copy of the cris/sys/errno.h plus
866 a few changes (see spu errno.h comments).
867
8b366086
JJ
8682007-04-25 Eric Blake <ebb9@byu.net>
869
870 * libc/stdio/vfprintf.c (get_arg): Support %1$lc. Simplify types
871 that promote to int.
872
245240b5
JJ
8732007-04-25 Patrick Mansfield <patmans@us.ibm.com>
874
b4f09558 875 * libm/machine/spu/headers/feholdexcept.h: Use *envp not env so
245240b5
JJ
876 we clear the proper bits in the fpscr, and don't set some random ones.
877
68f2517f
EB
8782007-04-24 Eric Blake <ebb9@byu.net>
879
5866c023
EB
880 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
881 or NaN with %05f.
882
27e5e9ab
EB
883 * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
884 _MB_CAPABLE.
885
68f2517f
EB
886 * libc/include/limits.h (NL_ARGMAX): Define a default value.
887 * libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
888 NL_ARGMAX, if present.
889
8902007-04-23 Brian Dessent <brian@dessent.net>
891
892 * libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
893 has been specified with types 'f', 'F', 'g', or 'G', ensure the
894 trailing decimal is printed.
895
714d0b7a
JJ
8962007-04-23 Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
897
898 * confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
899 file. Override Autoconf-2.59's version of these macros with
900 fixed handling of multiple adjacent whitespace in arguments.
901 * aclocal.m4: Regenerated forcefully.
902 * configure: Ditto.
903 * Makefile.in: Ditto.
904 * libc/*Makefile.in: Ditto.
905 * libc/*aclocal.m4: Ditto.
906 * libc/*configure: Ditto.
907 * libm/*Makefile.in: Ditto.
908 * libm/*aclocal.m4: Ditto.
909 * libm/*configure: Ditto.
910
8aebc414
JJ
9112007-04-23 Jeff Johnston <jjohnstn@redhat.com>
912
913 * libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
914 * libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
915 and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
916 * libc/sys/arc/Makefile.in: Regenerated.
917
fb5750bf
JJ
9182007-04-17 Brian Dessent <brian@dessent.net>
919
920 * libc/stdio/sscanf.c: Update documentation comments.
921 * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
922
ba3ccd63
EB
9232007-04-12 Eric Blake <ebb9@byu.net>
924
925 * libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
926 (chclass): Recognize 'F', 'X', 'n', and not 'W'.
927 (get_arg): Handle %1$F, %1$n.
928
503e2d1c
EB
9292007-04-10 Eric Blake <ebb9@byu.net>
930
931 * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
932 CFLAGS=-O0.
933
17c0c97d
EB
9342007-04-09 Eric Blake <ebb9@byu.net>
935
936 * libc/include/stdio.h: Add gcc format attributes to printf and
937 scanf families.
938
abe43f42 9392007-04-09 Joel Schopp <jschopp@austin.ibm.com>
17c0c97d 940
abe43f42
JJ
941 * libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
942 even if the passed in length n is shorter than the source string.
943 This matches both the non-spu specific and the glibc strxfrm
944 behaviour.
945
0efa93c0
KH
9462007-04-04 Mark Mitchell <mark@codesourcery.com>
947
948 * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
949 functions registering additional atexit functions.
950
07278e6c
KH
951 * testsuite/lib/flags.exp (newlib_include_flags): Drop
952 -I${newlib_dir}.
953
748c1917 9542007-04-04 Patrick Mansfield <patmans@us.ibm.com>
17c0c97d 955
748c1917
JJ
956 * libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
957 prototype.
958 * libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
959 * libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
960 * libc/machine/spu/fclose.c: Ditto.
961 * libc/machine/spu/feof.c: Ditto.
962 * libc/machine/spu/ferror.c: Ditto.
963 * libc/machine/spu/fflush.c: Ditto.
964 * libc/machine/spu/fgetc.c: Ditto.
965 * libc/machine/spu/fgetpos.c: Ditto.
966 * libc/machine/spu/fgets.c: Ditto.
967 * libc/machine/spu/fileno.c: Ditto.
968 * libc/machine/spu/fopen.c: Ditto.
969 * libc/machine/spu/fprintf.c: Ditto.
970 * libc/machine/spu/fputc.c: Ditto.
971 * libc/machine/spu/fputs.c: Ditto.
972 * libc/machine/spu/fread.c: Ditto.
973 * libc/machine/spu/freopen.c: Ditto.
974 * libc/machine/spu/fscanf.c: Ditto.
975 * libc/machine/spu/fseek.c: Ditto.
976 * libc/machine/spu/fsetpos.c: Ditto.
977 * libc/machine/spu/ftell.c: Ditto.
978 * libc/machine/spu/fwrite.c: Ditto.
979 * libc/machine/spu/getc.c: Ditto.
980 * libc/machine/spu/getchar.c: Ditto.
981 * libc/machine/spu/gets.c: Ditto.
982 * libc/machine/spu/perror.c: Ditto.
983 * libc/machine/spu/printf.c: Ditto.
984 * libc/machine/spu/putc.c: Ditto.
985 * libc/machine/spu/putchar.c: Ditto.
986 * libc/machine/spu/puts.c: Ditto.
987 * libc/machine/spu/remove.c: Ditto.
988 * libc/machine/spu/rename.c: Ditto.
989 * libc/machine/spu/rewind.c: Ditto.
990 * libc/machine/spu/scanf.c: Ditto.
991 * libc/machine/spu/setbuf.c: Ditto.
992 * libc/machine/spu/setvbuf.c: Ditto.
993 * libc/machine/spu/snprintf.c: Ditto.
994 * libc/machine/spu/sprintf.c: Ditto.
995 * libc/machine/spu/sscanf.c: Ditto.
996 * libc/machine/spu/tmpfile.c: Ditto.
997 * libc/machine/spu/tmpnam.c: Ditto.
998 * libc/machine/spu/ungetc.c: Ditto.
999 * libc/machine/spu/vfprintf.c: Ditto.
1000 * libc/machine/spu/vfscanf.c: Ditto.
1001 * libc/machine/spu/vprintf.c: Ditto.
1002 * libc/machine/spu/vscanf.c: Ditto.
1003 * libc/machine/spu/vsnprintf.c: Ditto.
1004 * libc/machine/spu/vsprintf.c: Ditto.
1005 * libc/machine/spu/vsscanf.c: Ditto.
1006
a706aa2e
JJ
10072007-04-04 Jeff Johnston <jjohnstn@redhat.com>
1008
1009 * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
1010
db7aa4b1
JJ
10112007-04-04 Eric Blake <ebb9@byu.net>
1012
1013 * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
1014 (asiprintf): Avoid overhead.
1015 * libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
1016 (asprintf): Avoid overhead.
1017 * libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
1018 * libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
1019 * libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
1020 (fiprintf): Avoid overhead.
1021 * libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
1022 (fprintf): Avoid overhead.
1023 * libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
1024 (iprintf): Avoid overhead.
1025 * libc/stdio/printf.c (_printf_r): Use _DEFUN.
1026 (printf): Avoid overhead.
1027 * libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
1028 * libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
1029 * libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
1030 * libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
1031 * libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
1032 * libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
1033 * libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
1034 * libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
1035 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
1036 vdiprintf.c.
1037 * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
1038 (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
1039
2c58b5a5
DK
10402007-03-30 Dave Korn <dave.korn@artimi.com>
1041
1042 * libc/include/stdio.h (_ELIDABLE_INLINE): New macro to conceal
1043 conflicting inline semantics between C99 and GNU89.
1044 (__sgetc_r): Replace static inline with _ELIDABLE_INLINE to be
1045 compatible with -fkeep-inline-functions usage.
1046 (__sputc_r): Likewise for consistency even though disabled.
1047
519aec5d
NC
10482007-03-29 Nick Clifton <nickc@redhat.com>
1049
1050 Reflect changes made to generic vfprintf.c:
1051 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
1052 and add a "struct reent *" argument.
1053 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
1054 argument and call _VFPRINTF_R instead of VFPRINTF.
1055 (_VFPRINTF_R): Add data pointer to call to cantwrite().
1056 Fix uses of __sprint() and __sbprintf.
1057
10582007-03-20 Nick Clifton <nickc@redhat.com>
1059
1060 Reflect changes made to generic vfprintf.c:
1061 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
1062 and add a "struct reent *" argument.
1063 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
1064 argument and call _VFPRINTF_R instead of VFPRINTF.
1065 (_VFPRINTF_R): Add data pointer to call to cantwrite().
1066 Fix uses of __sprint() and __sbprintf.
1067
443871a6
JJ
10682007-03-16 Charles Wilson <cygwin@...>
1069
1070 * libc/argz/argz_insert.c: "before" pointer is
1071 invalid after *argz realloc. Compute offset
1072 between "before" and *argz, and use it after
1073 reallocation instead.
1074
a167bcd8
JJ
10752007-03-16 Eric Blake <ebb9@byu.net>
1076
1077 * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
1078 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
1079
826b5591
JJ
10802007-03-15 Jeff Johnston <jjohnstn@redhat.com>
1081
1082 * configure.in: Add new --enable-newlib-reent-small option.
1083 * configure: Regenerated.
1084 * acconfig.h: Add _WANT_REENT_SMALL.
1085 * newlib.hin: Regenerated minus PACKAGE macros to add
1086 _WANT_REENT_SMALL macro.
1087 * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
1088 if not already set.
1089 * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
1090 there is no buffer.
1091 * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
1092 use reentrant pointer passed in when resetting the file
1093 pointer to one of the std streams.
1094
14ba5e14
JJ
10952007-03-15 Eric Blake <ebb9@byu.net>
1096
1097 * libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
1098 (__smakebuf): Rename...
1099 (__smakebuf_r): to this.
1100 * libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
1101 * libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
1102 allocation, then rename...
1103 (__smakebuf_r): ...to this and fix reentrancy.
1104 * libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
1105 allocation, then rename...
1106 (__swsetup_r): ...to this and fix reentrancy.
1107 * libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
1108 * libc/stdio/refill.c (__srefill_r): Likewise.
1109 * libc/stdio/fclose.c (_fclose_r): Likewise.
1110 * libc/stdio/fread.c (_fread_r): Likewise.
1111 * libc/stdio/freopen.c (_freopen_r): Likewise.
1112 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
1113 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
1114 * libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
1115 failed asprintf allocation, and fix reentrancy.
1116 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
1117 as required by POSIX.
1118 * libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
1119 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
1120 * libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
1121
99304ce6
JJ
11222007-03-12 Eric Blake <ebb9@byu.net>
1123
1124 * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
1125 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
1126 allocation to caller.
1127 * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
1128 * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
1129 * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
1130
d9edc05f
JJ
11312007-02-23 Jeff Johnston <jjohnstn@redhat.com>
1132
1133 * libm/math/w_pow.c: Fix typo in documentation comment.
1134
59673dbb
JJ
11352007-02-21 Patrick Mansfield <patmans@us.ibm.com>
1136
1137 * libc/reent/timer.c: Removed (split into two new files).
1138 * libc/reent/timesr.c: New file for _times_r.
1139 * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
1140 * reent/Makefile.in: Remove timer.c, add timesr.c and
1141 gettimeofdayr.c.
1142 * libc/reent/Makefile.am: Regenerate.
1143
547c5c61
JJ
11442007-02-20 Patrick Mansfield <patmans@us.ibm.com>
1145
1146 * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
1147
3b7e017e
JJ
11482007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
1149
1150 * libc/machine/spu/Makefile.am: Add new objects.
1151 * libc/machine/spu/Makefile.in: Regenerated.
1152 * libc/machine/spu/fiprintf.c: New file. Add implementation of
1153 integer-only version.
1154 * libc/machine/spu/fiscanf.c: Ditto.
1155 * libc/machine/spu/iprintf.c: Ditto.
1156 * libc/machine/spu/iscanf.c: Ditto.
1157 * libc/machine/spu/siprintf.c: Ditto.
1158 * libc/machine/spu/siscanf.c: Ditto.
1159 * libc/machine/spu/sniprintf.c: Ditto.
1160 * libc/machine/spu/vfiprintf.c: Ditto.
1161 * libc/machine/spu/vfiscanf.c: Ditto.
1162 * libc/machine/spu/viprintf.c: Ditto.
1163 * libc/machine/spu/viscanf.c: Ditto.
1164 * libc/machine/spu/vsiprintf.c: Ditto.
1165 * libc/machine/spu/vsiscanf.c: Ditto.
1166 * libc/machine/spu/vsniprintf.c: Ditto.
1167 * libc/machine/spu/fprintf.c: Add support for integer-only
1168 version.
1169 * libc/machine/spu/fscanf.c: Ditto.
1170 * libc/machine/spu/printf.c: Ditto.
1171 * libc/machine/spu/scanf.c: Ditto.
1172 * libc/machine/spu/snprintf.c: Ditto.
1173 * libc/machine/spu/sprintf.c: Ditto.
1174 * libc/machine/spu/sscanf.c: Ditto.
1175 * libc/machine/spu/vfprintf.c: Ditto.
1176 * libc/machine/spu/vfscanf.c: Ditto.
1177 * libc/machine/spu/vprintf.c: Ditto.
1178 * libc/machine/spu/vscanf.c: Ditto.
1179 * libc/machine/spu/vsnprintf.c: Ditto.
1180 * libc/machine/spu/vsprintf.c: Ditto.
1181 * libc/machine/spu/vsscanf.c: Ditto.
1182
960e5d8f
JJ
11832007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
1184
1185 * libc/include/stdio.h: Add declaration for vsiprintf.
1186
958e329d
JJ
11872007-02-14 Patrick Mansfield <patmans@us.ibm.com>
1188
1189 Add a floating point environment for SPU (cell):
1190
1191 * configure.host: add libm_machine_dir=spu.
1192 * libm/machine/configure: Add spu.
1193 * libm/machine/configure.in: regenerated with spu added.
1194 * libc/machine/spu/include/fenv.h: New file.
1195 * libc/machine/spu/sys/fenv.h: Ditto.
1196 * libm/machine/spu/Makefile.am: Ditto.
1197 * libm/machine/spu/Makefile.in: Ditto.
1198 * libm/machine/spu/aclocal.m4: Ditto.
1199 * libm/machine/spu/configure: Ditto.
1200 * libm/machine/spu/configure.in: Ditto.
1201 * libm/machine/spu/fe_dfl_env.c: Ditto.
1202 * libm/machine/spu/feclearexcept.c: Ditto.
1203 * libm/machine/spu/fegetenv.c: Ditto.
1204 * libm/machine/spu/fegetexceptflag.c: Ditto.
1205 * libm/machine/spu/fegetround.c: Ditto.
1206 * libm/machine/spu/feholdexcept.c: Ditto.
1207 * libm/machine/spu/feraiseexcept.c: Ditto.
1208 * libm/machine/spu/fesetenv.c: Ditto.
1209 * libm/machine/spu/fesetexceptflag.c: Ditto.
1210 * libm/machine/spu/fesetround.c: Ditto.
1211 * libm/machine/spu/fetestexcept.c: Ditto.
1212 * libm/machine/spu/feupdateenv.c: Ditto.
1213 * libm/machine/spu/headers/feclearexcept.h: Ditto.
1214 * libm/machine/spu/headers/fefpscr.h: Ditto.
1215 * libm/machine/spu/headers/fegetenv.h: Ditto.
1216 * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
1217 * libm/machine/spu/headers/fegetround.h: Ditto.
1218 * libm/machine/spu/headers/feholdexcept.h: Ditto.
1219 * libm/machine/spu/headers/feraiseexcept.h: Ditto.
1220 * libm/machine/spu/headers/fesetenv.h: Ditto.
1221 * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
1222 * libm/machine/spu/headers/fesetround.h: Ditto.
1223 * libm/machine/spu/headers/fetestexcept.h: Ditto.
1224 * libm/machine/spu/headers/feupdateenv.h: Ditto.
1225
4f7e59f2
CV
12262007-02-14 Corinna Vinschen <corinna@vinschen.de>
1227
1228 * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
1229 Cygwin.
1230
d7e4c7a8
CV
12312007-02-08 Corinna Vinschen <corinna@vinschen.de>
1232
1233 * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
1234 Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
1235
0e37a2e6
CV
12362007-02-07 Corinna Vinschen <corinna@vinschen.de>
1237
1238 * libc/include/sys/features.h: Add definition of all supported
1239 _POSIX_xxx values for Cygwin.
1240 * libc/include/sys/types.h (pthread_rwlock_t): Omit definition
1241 on Cygwin.
1242 (pthread_rwlockattr_t): Ditto.
1243 * libc/include/sys/unistd.h: Define all _SC_xxx values as
1244 required by SUSv3. Unify formatting.
1245
6699fabb
JJ
12462007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
1247
1248 * libc/include/sys/errno.h: Add ECANCELED.
1249
22a339e8 12502007-02-01 Joel Schopp <jschopp@austin.ibm.com>
ba3ccd63 1251 Kazunori Asayama <asayama@sm.sony.co.jp>
22a339e8
JJ
1252
1253 * libc/machine/spu/Makefile.am: Add objects.
1254 * libc/machine/spu/Makefile.in: Regenerated.
1255 * libc/machine/spu/vsscanf.c: New file. Add a stdio function
1256 implementation.
1257 * libc/machine/spu/snprintf.c: Ditto.
1258 * libc/machine/spu/sprintf.c: Ditto.
1259 * libc/machine/spu/sscanf.c: Ditto.
1260 * libc/machine/spu/remove.c: Ditto.
1261 * libc/machine/spu/rename.c: Ditto.
1262 * libc/machine/spu/tmpnam.c: Ditto.
1263 * libc/machine/spu/vsnprintf.c: Add initialization routine of
1264 stdio stuffs.
1265 * libc/machine/spu/vsprintf.c: Ditto.
1266
7d592bb1 12672007-02-01 Joel Schopp <jschopp@austin.ibm.com>
ba3ccd63 1268 Kazunori Asayama <asayama@sm.sony.co.jp>
7d592bb1
JJ
1269
1270 * configure.host: Enable SPU specific stdio directory.
1271 * libc/machine/spu/Makefile.am: Add objects.
1272 * libc/machine/spu/Makefile.in: Regenerated.
1273 * libc/machine/spu/c99ppe.h: Add macros and function
1274 declarations to initialize SPU specific stdio stuffs.
1275 * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
1276 specific FILE structures.
1277 * libc/machine/spu/perror.c: Add initialization routine of
1278 stdio stuffs.
1279 * libc/machine/spu/printf.c: Ditto.
1280 * libc/machine/spu/putchar.c: Ditto.
1281 * libc/machine/spu/puts.c: Ditto.
1282 * libc/machine/spu/vprintf.c: Ditto.
1283 * libc/machine/spu/clearerr.c: New file. Add a stdio function
1284 implementation.
1285 * libc/machine/spu/feof.c: Ditto.
1286 * libc/machine/spu/ferror.c: Ditto.
1287 * libc/machine/spu/fileno.c: Ditto.
1288 * libc/machine/spu/fopen.c: Ditto.
1289 * libc/machine/spu/fclose.c: Ditto.
1290 * libc/machine/spu/freopen.c: Ditto.
1291 * libc/machine/spu/fflush.c: Ditto.
1292 * libc/machine/spu/fseek.c: Ditto.
1293 * libc/machine/spu/ftell.c: Ditto.
1294 * libc/machine/spu/rewind.c: Ditto.
1295 * libc/machine/spu/fgetpos.c: Ditto.
1296 * libc/machine/spu/fsetpos.c: Ditto.
1297 * libc/machine/spu/fread.c: Ditto.
1298 * libc/machine/spu/fwrite.c: Ditto.
1299 * libc/machine/spu/getc.c: Ditto.
1300 * libc/machine/spu/getchar.c: Ditto.
1301 * libc/machine/spu/gets.c: Ditto.
1302 * libc/machine/spu/fgetc.c: Ditto.
1303 * libc/machine/spu/fgets.c: Ditto.
1304 * libc/machine/spu/ungetc.c: Ditto.
1305 * libc/machine/spu/putc.c: Ditto.
1306 * libc/machine/spu/fputc.c: Ditto.
1307 * libc/machine/spu/fputs.c: Ditto.
1308 * libc/machine/spu/vfprintf.c: Ditto.
1309 * libc/machine/spu/vfscanf.c: Ditto.
1310 * libc/machine/spu/fprintf.c: Ditto.
1311 * libc/machine/spu/fscanf.c: Ditto.
1312 * libc/machine/spu/scanf.c: Ditto.
1313 * libc/machine/spu/vscanf.c: Ditto.
1314 * libc/machine/spu/setbuf.c: Ditto.
1315 * libc/machine/spu/setvbuf.c: Ditto.
1316 * libc/machine/spu/tmpfile.c: Ditto.
1317
13182007-02-01 Jeff Johnston <jjohnstn@redhat.com>
1319
1320 * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
1321 * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
17c0c97d 1322 around stdio macros that manipulate fields in the normal file
7d592bb1
JJ
1323 structure.
1324 * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
1325 <sys/custom_file.h> to define custom FILE structure.
1326 * libc/include/sys/custom_file.h: New default header file
1327 that generates error if not overridden when __CUSTOM_FILE_IO__ set.
1328 * libc/machine/spu/sys/custom_file.h: New file.
1329
0733ae3b
JJ
13302007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>
1331
1332 * configure.host: Define stdio directory as a variable.
1333 * libc/Makefile.am: Define stdio related names
1334 as macros.
1335 * libc/configure.in: Add detection routine of stdio directory.
1336 * libc/Makefile.in: Regenerated.
1337 * libc/configure: Ditto.
1338 * libc/argz/Makefile.in: Ditto.
1339 * libc/ctype/Makefile.in: Ditto.
1340 * libc/errno/Makefile.in: Ditto.
1341 * libc/iconv/Makefile.in: Ditto.
1342 * libc/iconv/ccs/Makefile.in: Ditto.
1343 * libc/iconv/ccs/binary/Makefile.in: Ditto.
1344 * libc/iconv/ces/Makefile.in: Ditto.
1345 * libc/iconv/lib/Makefile.in: Ditto.
1346 * libc/locale/Makefile.in: Ditto.
1347 * libc/misc/Makefile.in: Ditto.
1348 * libc/posix/Makefile.in: Ditto.
1349 * libc/reent/Makefile.in: Ditto.
1350 * libc/search/Makefile.in: Ditto.
1351 * libc/signal/Makefile.in: Ditto.
1352 * libc/stdio/Makefile.in: Ditto.
1353 * libc/stdio64/Makefile.in: Ditto.
1354 * libc/stdlib/Makefile.in: Ditto.
1355 * libc/string/Makefile.in: Ditto.
1356 * libc/syscalls/Makefile.in: Ditto.
1357 * libc/time/Makefile.in: Ditto.
1358 * libc/unix/Makefile.in: Ditto.
1359
cb7ba0e1
BE
13602007-01-30 Ben Elliston <bje@au.ibm.com>
1361
c7cd7849
BE
1362 * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
1363 fmt member.
1364 * libc/machine/spu/printf.c (c99_printf_t): Likewise.
1365 (printf): Pass fmt to va_start to suppress a warning.
1366
cb7ba0e1
BE
1367 * libc/search/hash.c (init_hash): Make `info' parameter const.
1368
f89533c1
JJ
13692007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
1370
1371 * libc/machine/spu/c99ppe.h: Replace vector with __vector.
1372 * libc/machine/spu/vec_literal.h: Ditto.
1373 * libc/machine/spu/strncmp.c: Ditto.
1374
94b91791
JJ
13752007-01-15 Joseph Myers <joseph@codesourcery.com>
1376 Kazu Hirata <kazu@codesourcery.com>
1377
1378 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
1379 for E500V1 and E500V2.
1380
26190be1
JJ
13812007-01-11 Jeff Johnston <jjohnstn@redhat.com>
1382
1383 * libm/configure.in: Always configure machine directory.
1384 * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
1385 unconditionally.
1386 * libm/configure: Regenerated.
1387 * libm/Makefile.in: Ditto.
1388 * libm/*/Makefile.in: Ditto.
1389
8e0e8f40
JJ
13902007-01-05 Brian Ford <Brian.Ford@FlightSafety.com>
1391
1392 * configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
1393
9cd4a2de
JJ
13942007-01-02 Ben Elliston <bje@au.ibm.com>
1395
ba3ccd63
EB
1396 * doc/makedoc.c: Include <stdlib.h>.
1397 (malloc, realloc): Remove extern declarations.
9cd4a2de 1398
5fdec53f 13992006-12-18 Jeff Johnston <jjohnstn@redhat.com>
a4b11782 1400
ba3ccd63
EB
1401 * NEWS: Update with 1.15.0 info.
1402 * README: Ditto.
1403 * acinclude.m4: Change version number to 1.15.0.
1404 * aclocal.m4: Regenerated.
1405 * configure: Ditto.
1406 * doc/aclocal.m4: Ditto.
1407 * doc/configure: Ditto.
1408 * libc/*/aclocal.m4: Ditto.
1409 * libc/*/configure: Ditto.
1410 * libc/libc.texinfo: Ditto.
1411 * libm/*/aclocal.m4: Ditto.
1412 * libm/*/configure: Ditto.
1413 * libm/libm.texinfo: Ditto.
1414 * libc/sys/linux/shared.ld: Add VERS_1.15.
a4b11782 1415
def943c1
JJ
14162006-12-18 Kazu Hirata <kazu@codesourcery.com>
1417
1418 Merge from newlib-csl-20060320-branch:
1419 2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
1420 Kazu Hirata <kazu@codesourcery.com>
1421
1422 * configure.host: Recognize fido.
1423
17c0c97d 14242006-12-18 Joel Schopp <jschopp@austin.ibm.com>
505ccc75 1425
ba3ccd63
EB
1426 * libc/machine/spu/c99ppe.h: New file
1427 * libc/machine/spu/perror.c: New file to override libc/stdio version.
1428 * libc/machine/spu/printf.c: New file
1429 * libc/machine/spu/putchar.c: New file
1430 * libc/machine/spu/puts.c: New file
1431 * libc/machine/spu/vprintf.c: New file
1432 * libc/machine/spu/vsnprintf.c: New file
1433 * libc/machine/spu/vsprintf.c: New file
1434 * libc/machine/spu/Makefile.am: Add new targets.
1435 * libc/machine/spu/Makefile.in: Regenerated.
505ccc75 1436
78b7c6f8
JJ
14372006-12-18 Jeff Johnston <jjohnstn@redhat.com>
1438
ba3ccd63
EB
1439 * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
1440 * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
78b7c6f8 1441
f5222560
JJ
14422006-12-18 Jeff Johnston <jjohnstn@redhat.com>
1443
1444 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
1445 2.6.5 version of Doug Lea's malloc which is the basis of
1446 this code.
1447
9b354d7f
JJ
14482006-12-18 Kazunori Asayama <asayama@sm.sony.co.jp>
1449
1450 * libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
1451
4c0b8a07 14522006-12-14 Jeff Johnston <jjohnstn@redhat.com>
ba3ccd63 1453 Eric Blake <ebb9@byu.net>
4c0b8a07 1454
ba3ccd63
EB
1455 * libc/stdio/fflush.c (fflush): On seekable streams, always flush
1456 read but unused data.
1457 * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
1458 even read streams may have side effects that must happen.
4c0b8a07 1459
dd52bb72
JJ
14602006-12-13 Joel Schopp <jschopp@austin.ibm.com>
1461
ba3ccd63 1462 * libc/machine/spu/setjmp.S: Fix to handle registers past 115
6a200958
JJ
1463 correctly.
1464
14652006-12-13 Joel Schopp <jschopp@austin.ibm.com>
1466
ba3ccd63 1467 * libc/include/alloca.h: Add undef alloca to work with xlc.
dd52bb72 1468
4e051d91
JJ
14692006-12-12 Joel Schopp <jschopp@austin.ibm.com>
1470
ba3ccd63 1471 * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
6a200958 1472 cell spu.
4e051d91 1473
489bb390
JJ
14742006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
1475
1476 * libc/machine/spu/strncpy.c: Add padding.
1477
3e2d7a91
JJ
14782006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
1479
17c0c97d 1480 * testsuite/newlib.string/tstring.c:
3e2d7a91 1481
0a2ef998
JJ
14822006-12-01 Kazunori Asayama <asayama@sm.sony.co.jp>
1483
1484 * libc/machine/spu/strchr.c: Fix mask for misaligned string.
1485 * libc/machine/spu/strrchr.c: Ditto.
1486
75190a8f
JJ
14872006-11-30 Lev Bishop <lev.bishop@gmail.com>
1488
1489 * libc/include/math.h: Allow C99 functions/macros to be
1490 defined for C++ even when __STRICT_ANSI__.
1491
7d794364
JJ
14922006-11-29 Jeff Johnston <jjohnstn@redhat.com>
1493
1494 * libc/stdio/makebuf.c (__smakebuf): If dealing with
1495 an asprintf-family buffer, make the default initial size 64.
1496
c4c7f139
JJ
14972006-11-29 Eric Blake <ebb9@byu.net>
1498
1499 * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
1500 asprintf, as well as quadratic realloc behavior.
1501
15022006-11-29 Kazunori Asayama <asayama@sm.sony.co.jpi
80c6ead2
JJ
1503
1504 * libc/machine/spu/memset.c: Fix type of explicit cast.
1505 * libc/machine/spu/strncmp.c: Add explicit cast.
1506 * libc/machine/spu/strrchr.c: Ditto.
1507 * libc/machine/spu/strspn.c: Ditto.
1508
9bc5b618
JJ
15092006-11-22 Luca Barbato <lu_zero@gentoo.org>
1510
1511 * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
1512 * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
1513 * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
1514 * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
1515 * libc/machine/spu/strncat.c: Explicit cast.
1516 * libc/machine/spu/strncmp.c: Use spu_splats.
1517 * libc/machine/spu/strncpy.c: Explicit cast.
1518 * libc/machine/spu/strrchr.c: Use spu_splats.
1519 * libc/machine/spu/strspn.c: Use spu_splats.
1520
52077eb2
JJ
15212006-11-15 Till Straumann <strauman@slac.stanford.edu>
1522
1523 * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
1524
d1a2fe1a
JJ
15252006-11-14 Eric Blake <ebb9@byu.net>
1526
1527 * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
1528 (chclass): ' is a flag. j, t, and z are modifiers.
1529
9842c7e4 15302006-11-08 Jie Zhang <jie.zhang@analog.com>
292f8e23
JJ
1531
1532 * configure.host: Add support for bfin.
1533 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
1534 * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
1535 * libc/machine/bfin/aclocal.m4: Generate.
1536 * libc/machine/bfin/configure.in: New.
1537 * libc/machine/bfin/configure: Generate.
1538 * libc/machine/bfin/Makefile.am: New.
1539 * libc/machine/bfin/Makefile.in: Generate.
1540 * libc/machine/bfin/setjmp.S: New.
1541 * libc/machine/bfin/longjmp.S: New.
1542 * libc/machine/configure.in: Add bfin support.
1543 * libc/machine/configure: Generate.
1544
b1755fe7
CV
15452006-11-07 Corinna Vinschen <corinna@vinschen.de>
1546
1547 * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
1548 (_PC_FILESIZEBITS): Add definition.
1549 (_PC_2_SYMLINKS): Ditto.
1550 (_PC_SYMLINK_MAX): Ditto.
1551
d384d868
JJ
15522006-10-27 Joel Schopp <jschopp@austin.ibm.com>
1553
1554 * libc/machine/spu/memcpy.c: Override generic function with vectorized
1555 version optimized for the cell spu.
1556 * libc/machine/spu/memmove.c: Ditto.
1557 * libc/machine/spu/memset.c: Ditto.
1558 * libc/machine/spu/strcat.c: Ditto.
1559 * libc/machine/spu/strchr.c: Ditto.
1560 * libc/machine/spu/strcmp.c: Ditto.
1561 * libc/machine/spu/strcpy.c: Ditto.
1562 * libc/machine/spu/strcspn.c: Ditto.
1563 * libc/machine/spu/strlen.c: Ditto.
1564 * libc/machine/spu/strncat.c: Ditto.
1565 * libc/machine/spu/strncmp.c: Ditto.
1566 * libc/machine/spu/strncpy.c: Ditto.
1567 * libc/machine/spu/strpbrk.c: Ditto.
1568 * libc/machine/spu/strrchr.c: Ditto.
1569 * libc/machine/spu/strspn.c: Ditto.
1570 * libc/machine/spu/strxfrm.c: Ditto.
17c0c97d 1571 * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
d384d868
JJ
1572 removing altivec style initializers.
1573 * libc/machine/spu/Makefile.am: Add new files to list so they build
1574 * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
1575
f29fdb2f
JJ
15762006-10-27 Jeff Johnston <jjohnstn@redhat.com>
1577
1578 * README: Add a brief section on how to regenerate
1579 configuration files in newlib.
1580
884dc68f
JJ
15812006-10-25 Vladimir Prus <vladimir@codesourcery.com>
1582
1583 * libc/include/math.h: (exception): Add a comment
1584 telling fixincludes that we handle C vs. C++ issue.
1585
f8fe93f9
JJ
15862006-10-11 Yang Tse <yangsita@gmail.com>
1587
6d441576
CV
1588 * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
1589 braced-groups.
f8fe93f9 1590
d95c5792
CV
15912006-10-11 Corinna Vinschen <corinna@vinschen.de>
1592
1593 * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
1594
e5e148d1
JJ
15952006-09-26 Jeff Johnston <jjohnstn@redhat.com>
1596
1597 * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
1598 for clearerr, feof, or fileno.
17c0c97d
EB
1599 * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
1600 the dummy std stream scheme to use pointers to const external
e5e148d1
JJ
1601 fake files, one for each standard stream.
1602 * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
1603 argument. For _REENT_SMALL, reset the file pointer if it
1604 matches one of the fake std stream pointers.
1605 * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
1606 argument.
1607 * libc/stdio/fclose.c: Ditto.
1608 * libc/stdio/feof.c: Ditto.
1609 * libc/stdio/ferror.c: Ditto.
1610 * libc/stdio/fflush.c: Ditto.
1611 * libc/stdio/fgetc.c: Ditto.
1612 * libc/stdio/fgets.c: Ditto.
1613 * libc/stdio/fileno.c: Ditto.
1614 * libc/stdio/findfp.c: Ditto.
1615 * libc/stdio/fputc.c: Ditto.
1616 * libc/stdio/fputs.c: Ditto.
1617 * libc/stdio/fread.c: Ditto.
1618 * libc/stdio/freopen.c: Ditto.
1619 * libc/stdio/fseek.c: Ditto.
1620 * libc/stdio/ftell.c: Ditto.
1621 * libc/stdio/fwrite.c: Ditto.
1622 * libc/stdio/getc.c: Ditto.
1623 * libc/stdio/getdelim.c: Ditto.
1624 * libc/stdio/putc.c: Ditto.
1625 * libc/stdio/refill.c: Ditto.
1626 * libc/stdio/setvbuf.c: Ditto.
1627 * libc/stdio/ungetc.c: Ditto.
1628 * libc/stdio/vfprintf.c: Ditto.
1629 * libc/stdio/vfscanf.c: Ditto.
1630 * libc/stdio/wbuf.c: Ditto.: Ditto.
1631 * libc/stdio/wsetup.c: Ditto.
1632 * libc/stdio64/freopen64.c: Ditto.
1633 * libc/stdio64/fseeko64.c: Ditto.
1634 * libc/stdio64/ftello64.c: Ditto.
1635 * libc/machine/powerpc/vfprintf.c: Ditto.
1636 * libc/machine/powerpc/vfscanf.c: Ditto.
1637
e83c3d0a
JJ
16382006-09-22 Paul Brook <paul@codesourcery.com>
1639
1640 * libc/include/sys/reent.h: Define and use __reent_assert.
1641
23754b33
JJ
16422006-09-13 Joel Sherrill <joel@oarcorp.com>
1643
1644 * libc/include/pthread.h: Add pthread barriers,
1645 rwlocks, and spinlocks. Change const to
1646 _CONST and prefix parameter names with
1647 an underscore.
1648 * libc/include/sys/types.h: Add id and attribute
1649 types for barriers, wrlocks, and spinlocks.
1650 * libc/include/sys/features.h: Enable barriers,
1651 wrlocks, and spinlocks for RTEMS.
1652
ba1bb1b3
JJ
16532006-09-13 Patrick Mansfield <patmans@us.ibm.com>
1654
1655 * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
1656 supposed to be writable.
1657 * libm/common/s_lib_ver.c: Ditto.
1658
8f9f25da
JJ
16592006-09-12 Paul Brook <paul@codesourcery.com>
1660
1661 * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
1662
0324070e
JJ
16632006-09-07 Masaki Muranaka <monaka@monami-software.com>
1664
8f9f25da 1665
0324070e
JJ
1666 * libc/machine/xstormy16/Makefile.am:
1667 Add $(lpfx) prefix to LIBADD objects.
1668 lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
1669 * libc/machine/xstormy16/Makefile.in: Regenerated.
1670
d39002f9
JJ
16712006-09-06 Eric Blake <ebb9@byu.net>
1672
1673 * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
1674 't', and 'z' modifiers.
1675
c023e783
KH
16762006-09-01 Kazu Hirata <kazu@codesourcery.com>
1677
1678 Merge from newlib-csl-20060320-branch:
1679 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
1680
1681 * configure.host: Tell it we have _rename and _system when
1682 building m68k-unknown-elf.
1683
85974265
JJ
16842006-08-29 Paul Brook <paul@codesourcery.com>
1685
1686 * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
1687
c1f828e5
JJ
16882006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
1689
1690 * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
1691 BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
1692 This is needed to build all AVR and H8300 RTEMS multilib variants.
1693
b8e05321
JJ
16942006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
1695
1696 * libc/machine/configure.in: Add configuration for SPU.
1697 * libc/machine/configure: Regenerated.
1698 * libc/machine/spu/memcpy.c: Include string.h.
1699
380d8ec4
JJ
17002006-08-22 Eric Blake <ebb9@byu.net>
1701
1702 * libc/posix/popen.c (popen): Don't close output end of pipe in
1703 child if stdout was closed on entry.
1704 [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
1705
a0922fcb
CF
17062006-08-19 Ramana Radhakrishnan <ramana.r@gmail.com>
1707
1708 * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
1709 line.
1710
84a79403
JJ
17112006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
1712
17c0c97d
EB
1713 * libc/time/gmtime.c: Correct man page; clock is not a
1714 local time and no conversion occurs.
84a79403 1715
0d8de89c
JJ
17162006-08-16 Joel Schopp <jschopp@austin.ibm.com>
1717
ba3ccd63
EB
1718 * configure.host (newlib_cflags) [spu]: Add special compiler
1719 options to reduce size.
0d8de89c 1720
734e8414
JJ
17212006-08-16 Joel Schopp <jschopp@austin.ibm.com>
1722
1723 * configure.host: Add spu support.
1724 * libc/include/stdint.h: Ditto.
1725 * libc/include/machine/ieeefp.h: Ditto.
1726 * libc/include/machine/setjmp.h: Ditto.
1727 * libc/include/sys/config.h: Ditto.
1728 * libc/include/sys/types.h: Ditto.
1729 * libc/machine/spu/Makefile.am: New file.
1730 * libc/machine/spu/Makefile.in: Ditto.
1731 * libc/machine/spu/aclocal.m4: Ditto.
1732 * libc/machine/spu/configure: Ditto.
1733 * libc/machine/spu/configure.in: Ditto.
1734 * libc/machine/spu/memcpy.c: Ditto.
1735 * libc/machine/spu/setjmp.S: Ditto.
1736
079b45dc
JJ
17372006-08-03 J"orn Rennecke <joern.rennecke@st.com>
1738
1739 * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
1740 properly.
1741
2ebf115d
JJ
17422006-08-01 Jeff Johnston <jjohnstn@redhat.com>
1743
1744 * libc/Makefile.am: Add libc_TEXINFOS dependency on
1745 generated .texi files.
1746 * libm/Makefile.am: Add libm_TEXINFOS dependency on
1747 generated .texi files.
1748 * libc/Makefile.in: Regenerated.
1749 * libm/Makefile.in: Ditto.
1750
a1213494 17512006-08-01 Thiemo Seufer <ths@mips.com>
ba3ccd63 1752 Nigel Stephens <nigel@mips.com>
a1213494
JJ
1753
1754 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
1755 define this to force _impure_ptr to live in the .sdata section.
1756
0a85d87f
JJ
17572006-07-31 Jeff Johnston <jjohnstn@redhat.com>
1758
1759 * acinclude.m4: Check for readelf tool.
1760 * configure.in: Use ${READELF} instead of hard-coding.
1761 * Regenerate all aclocal.m4, Makefile.in, and configure files.
1762
17c0c97d 17632006-07-31 Jeff Johnston <jjohnstn@redhat.com>
cc023a75
JJ
1764
1765 * libc/sys/linux/mmap.c: Remove include of sys/mman.h
1766 to avoid conflict with newer glibc's revision of mremap.
1767
17c0c97d 17682006-07-05 Jeff Johnston <jjohnstn@redhat.com>
b0b92438 1769
17c0c97d 1770 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
b0b92438
JJ
1771 floating-point format support. Also redefine
1772 dword0 and dword1 macros.
1773 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
1774 to prevent setting dword1 which is an rvalue only.
1775
17c0c97d 17762006-06-22 Jeff Johnston <jjohnstn@redhat.com>
f489b594
JJ
1777
1778 * libc/stdlib/Makefile.am: Add new gdtoa routines.
1779 * libc/stdlib/Makefile.in: Regenerated.
1780 * libc/stdlib/gd_qnan.h: New file.
1781 * libc/stdlib/gdtoa-gethex.c: Ditto.
1782 * libc/stdlib/gdtoa-hexnan.c: Ditto.
1783 * libc/stdlib/gdtoa.h: Ditto.
1784 * libc/stdlib/mprec.c: Add new helper routines needed by
1785 the new gdtoa code.
1786 * libc/stdlib/mprec.h: Integrate some defines and prototypes
1787 used by gdtoa routines here.
1788 * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
1789 which adds C99 support such as nan, inf, and hexadecimal input
1790 format.
1791
c8956c6f
JJ
17922006-06-15 Corinna Vinschen <corinna@vinschen.de>
1793
1794 * libc/include/stdio.h (__sgetc_r): Fix typo.
1795 * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
1796 * libc/stdio/rget.c (__srbuf): Reinstantiate.
1797 * libc/stdio/wbuf.c (__swbuf): Ditto.
1798
17c0c97d 17992006-06-14 Jeff Johnston <jjohnstn@redhat.com>
4dc0c0c4
JJ
1800
1801 * libc/include/stdio.h: Add new reentrant I/O prototypes for
17c0c97d 1802 read/write functions. Change getc/putc macros to have reentrant underlying
4dc0c0c4
JJ
1803 macros/functions. This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
1804 * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
1805 new reentrant I/O functions/macros for reading/writing.
1806 * libc/stdio/fgets.c: Ditto.
1807 * libc/stdio/fputc.c: Ditto.
1808 * libc/stdio/fputs.c: Ditto.
1809 * libc/stdio/fread.c: Ditto.
1810 * libc/stdio/fseek.c: Ditto.
1811 * libc/stdio64/fseeko64.c: Ditto.
1812 * libc/stdio/fwrite.c: Ditto.
1813 * libc/stdio/getc.c: Ditto.
1814 * libc/stdio/getc_u.c: Ditto.
1815 * libc/stdio/getchar.c: Ditto.
1816 * libc/stdio/getchar_u.c: Ditto.
1817 * libc/stdio/putc.c: Ditto.
1818 * libc/stdio/putc_u.c: Ditto.
1819 * libc/stdio/putchar.c: Ditto.
1820 * libc/stdio/puts.c: Ditto.
1821 * libc/stdio/vfprintf.c: Ditto.
1822 * libc/stdio/vfscanf.c: Ditto.
1823 * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
1824 Change all previous callers of __sfvwrite. Set errno to EBADF and
1825 set error flag on if attempt is made to write to file that does not
1826 allow writing.
1827 * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
1828 * libc/stdio/local.h: Ditto.
1829 * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
1830 Set errno to EBADF and the error flag on if attempt is made to
1831 read unreadable file. Change all previous callers of __srefill.
1832 * libc/stdio/rget.c
1833 * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r. Change
1834 all previous callers of __swbuf.
1835 * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
1836 huge value macros are already defined correctly for i386 by <math.h>.
1837
c4cac45f
JJ
18382006-06-13 Sandra Loosemore <sandra@codesourcery.com>
1839
1840 * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
1841 Make them do something useful in the ARM_RDI_MONITOR case.
1842
b5b6cbd8
JJ
18432006-06-07 Fred Fish <fnf@specifix.com>
1844
1845 * libc/search/hash_bigkey.c (MIN,MAX): Remove
1846 defines that are already supplied by <sys/param.h>.
1847
3cc3705c
JJ
18482006-06-07 Fred Fish <fnf@specifix.com>
1849
1850 * configure.host: Remove references to HAVE_GETTIMEOFDAY.
1851
512c2879
JJ
18522006-06-05 Shaun Jackman <sjackman@gmail.com>
1853
1854 * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
1855 usleep.c.
1856 * libc/posix/Makefile.in: Regenerate.
1857 * libc/posix/sleep.c: New file.
1858 * libc/posix/usleep.c: Ditto.
1859
6ea486a6
JJ
18602006-06-05 Shaun Jackman <sjackman@gmail.com>
1861
9eedc2e6 1862 * configure.host (newlib_cflags) [arm, thumb, xscale]: Remove
6ea486a6
JJ
1863 -DABORT_PROVIDED flag.
1864 * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
1865 * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
1866
2e7c576a
JJ
18672006-06-05 Jeff Johnston <jjohnstn@redhat.com>
1868
1869 * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
1870 * Makefile.in: Regenerated.
1871 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
1872 extraneous CFLAGS reference now that CCASFLAGS are being extended
1873 properly via multilib.
1874 * libc/machine/sh/Makefile.in: Regenerated.
1875
3feae7b1
JJ
18762006-06-02 Shaun Jackman <sjackman@gmail.com>
1877
1878 * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
1879 sigismember.
1880
f383bda5
JJ
18812006-05-23 Jeff Johnston <jjohnstn@redhat.com>
1882
1883 * libc/misc/dprintf.c: Removed.
1884 * libc/misc/__dprintf.c: Renamed from dprintf.c.
1885 * libc/misc/Makefile.am: Changed appropriately for rename.
1886 * libc/misc/Makefile.in: Regenerated.
1887
8eeee74e
JJ
18882006-05-23 Jeff Johnston <jjohnstn@redhat.com>
1889
1890 * libc/include/stdio.h: Protect dprintf prototype
1891 with #ifndef dprintf so as to not interfere with
1892 historical code defining their own dprintf macro.
1893
dc7798c6
JJ
18942006-05-18 Jeff Johnston <jjohnstn@redhat.com>
1895
1896 * libc/include/stdio.h: Add prototypes for fiscanf,
1897 iscanf, and siscanf.
1898
e1b888df
JR
18992006-05-11 J"orn Rennecke <joern.rennecke@st.com>
1900
1901 * acinclude.m4 (_NEWLIB_VERSION): Rename to:
1902 (DEF_NEWLIB_VERSION).
1903 * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
1904 * configure: Regenerate.
1905
7f32c41d
JJ
19062006-05-09 Jeff Johnston <jjohnstn@redhat.com>
1907
1908 * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
1909 lib_a_SOURCES.
1910 * libc/ctype/Makefile.in: Regenerated.
1911
bac01fc8
JJ
19122006-05-09 Kazu Hirata <kazu@codesourcery.com>
1913
1914 * libc/machine/arm/Makefile.am: Fix a typo.
1915 * libc/machine/arm/Makefile.in: Regenerated.
1916
6c47d5b7
JR
19172006-05-08 J"orn Rennecke <joern.rennecke@st.com>
1918
1919 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
1920 * libc/machine/sh/Makefile.in: Regenerate.
1921
7cc7e374
JR
19222006-05-03 J"orn Rennecke <joern.rennecke@st.com>
1923
1924 * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
1925 * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
1926
a8b02d46
JJ
19272006-05-02 Jeff Johnston <jjohnstn@redhat.com>
1928
1929 * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
1930 .s.
1931 * libc/sys/sysnec810/Makefile.in: Regenerated.
1932 * libc/sys/sysnec810/crt0.S: Renamed from .s file.
1933 * libc/sys/sysnec810/io.S: Ditto.
1934 * libc/sys/sysnec810/crt0.s: Renamed to .S file.
1935 * libc/sys/sysnec810/io.s: Ditto.
1936
8f8f1db1
JJ
19372006-05-01 Jeff Johnston <jjohnstn@redhat.com>
1938
1939 * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx). If source file can
1940 be specified instead of object, do so.
1941 * libc/ctype/Makefile.am: Ditto.
1942 * libc/iconv/ccs/Makefile.am: Ditto.
1943 * libc/iconv/ces/Makefile.am: Ditto.
1944 * libc/iconv/lib/Makefile.am: Ditto.
1945 * libc/locale/Makefile.am: Ditto.
1946 * libc/posix/Makefile.am: Ditto.
1947 * libc/reent/Makefile.am: Ditto.
1948 * libc/search/Makefile.am: Ditto.
1949 * libc/stdio/Makefile.am: Ditto.
1950 * libc/stdio64/Makefile.am: Ditto.
1951 * libc/stdlib/Makefile.am: Ditto.
1952 * libc/string/Makefile.am: Ditto.
1953 * libc/syscalls/Makefile.am: Ditto.
1954 * libc/unix/Makefile.am: Ditto.
1955 * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
1956 prefix added automatically. Any specified rules must use $(lpfx) for
1957 object file names.
1958 * libc/machine/arm/Makefile.am: Ditto.
1959 * libc/machine/cris/Makefile.am: Ditto.
1960 * libc/machine/crx/Makefile.am: Ditto.
1961 * libc/machine/d10v/Makefile.am: Ditto.
1962 * libc/machine/d30v/Makefile.am: Ditto.
1963 * libc/machine/fr30/Makefile.am: Ditto.
1964 * libc/machine/frv/Makefile.am: Ditto.
1965 * libc/machine/h8300/Makefile.am: Ditto.
1966 * libc/machine/h8500/Makefile.am: Ditto.
1967 * libc/machine/hppa/Makefile.am: Ditto.
1968 * libc/machine/i386/Makefile.am: Ditto.
1969 * libc/machine/i960/Makefile.am: Ditto.
1970 * libc/machine/iq2000/Makefile.am: Ditto.
1971 * libc/machine/m32c/Makefile.am: Ditto.
1972 * libc/machine/m32r/Makefile.am: Ditto.
1973 * libc/machine/m68hc11/Makefile.am: Ditto.
1974 * libc/machine/m68k/Makefile.am: Ditto.
1975 * libc/machine/m88k/Makefile.am: Ditto.
1976 * libc/machine/mips/Makefile.am: Ditto.
1977 * libc/machine/mn10200/Makefile.am: Ditto.
1978 * libc/machine/mn10300/Makefile.am: Ditto.
1979 * libc/machine/mt/Makefile.am: Ditto.
1980 * libc/machine/necv70/Makefile.am: Ditto.
1981 * libc/machine/powerpc/Makefile.am: Ditto.
1982 * libc/machine/sh/Makefile.am: Ditto.
1983 * libc/machine/sh/Makefile.in: Ditto.
1984 * libc/machine/sparc/Makefile.am: Ditto.
1985 * libc/machine/tic4x/Makefile.am: Ditto.
1986 * libc/machine/tic80/Makefile.am: Ditto.
1987 * libc/machine/v850/Makefile.am: Ditto.
1988 * libc/machine/w65/Makefile.am: Ditto.
1989 * libc/machine/xscale/Makefile.am: Ditto.
1990 * libc/machine/xstormy16/Makefile.am: Ditto.
1991 * libc/machine/z8k/Makefile.am: Ditto.
1992 * libc/sys/a29khif/Makefile.am: Ditto.
1993 * libc/sys/arm/Makefile.am: Ditto.
1994 * libc/sys/d10v/Makefile.am: Ditto.
1995 * libc/sys/h8300hms/Makefile.am: Ditto.
1996 * libc/sys/h8500hms/Makefile.am: Ditto.
1997 * libc/sys/linux/Makefile.am: Ditto.
1998 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
1999 * libc/sys/linux/net/Makefile.am: Ditto.
2000 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2001 * libc/sys/m88kbug/Makefile.am: Ditto.
2002 * libc/sys/mmixware/Makefile.am: Ditto.
2003 * libc/sys/rdos/Makefile.am: Ditto.
2004 * libc/sys/rtems/Makefile.am: Ditto.
2005 * libc/sys/sh/Makefile.am: Ditto.
2006 * libc/sys/sun4/Makefile.am: Ditto.
2007 * libc/sys/sysmec/Makefile.am: Ditto.
2008 * libc/sys/sysnec810/Makefile.am: Ditto.
2009 * libc/sys/sysnecv850/Makefile.am: Ditto.
2010 * libc/sys/sysvi386/Makefile.am: Ditto.
2011 * libc/sys/sysvnecv70/Makefile.am: Ditto.
2012 * libc/sys/tic80/Makefile.am: Ditto.
2013 * libc/sys/w65/Makefile.am: Ditto.
2014 * libc/sys/z8ksim/Makefile.am: Ditto.
2015 * libc/machine/necv70/fastmath.S: Renamed from .s file.
2016 * libc/machine/necv70/setjmp.S: Ditto.
2017 * libc/machine/necv70/fastmath.s: Removed.
2018 * libc/machine/necv70/setjmp.s: Ditto.
2019 * libc/machine/w65/*.S: New files renamed from .s files.
2020 * libc/machine/w65/*.s: Renamed and removed.
2021 * libc/sys/a29khif/*.S: New files renamed from .s files.
2022 * libc/sys/a29khif/*.s: Renamed and removed.
2023 * libc/sys/sysvi386/*.S: New files renamed from .s files.
2024 * libc/sys/sysvi386/*.s: Renamed and removed.
2025 * libc/sys/sysvnecv70/*.S: New files renamed from .s files.
2026 * libc/sys/sysvnecv70/*.s: Renamed and removed.
2027 * libc/*Makefile.in: Regenerated as appropriate.
2028
b34db572
DD
20292006-04-24 DJ Delorie <dj@redhat.com>
2030
2031 * libc/machine/sh/configure.in: Avoid link tests.
2032 * libc/machine/sh/configure: Regenerate.
2033
e163e3e1
JJ
20342006-04-18 Jeff Johnston <jjohnstn@redhat.com>
2035
2036 * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
2037 (sigaddset, sigemptyset): Add return code.
2038
7ad96224
JJ
20392006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
2040
ba3ccd63
EB
2041 * acinclude.m4: New _NEWLIB_VERSION.
2042 * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
2043 Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
2044 Use new form of AC_INIT_AUTOMAKE.
2045 * configure.in: AC_PREREQ(2.59).
2046 Use autoconf-2.5.x version of AC_INIT.
2047 Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
2048 autoconf-2.13's AC_OUTPUT.
2049 * libm/configure.in: Ditto.
2050 * libm/machine/configure.in: Ditto.
2051 * libm/machine/i386/configure.in: Ditto.
2052 * libc/configure.in: Ditto.
2053 * libc/machine/a29k/configure.in: Ditto.
2054 * libc/machine/arm/configure.in: Ditto.
2055 * libc/machine/configure.in: Ditto.
2056 * libc/machine/mn10300/configure.in: Ditto.
2057 * libc/machine/powerpc/configure.in: Ditto.
2058 * libc/machine/z8k/configure.in: Ditto.
2059 * libc/machine/h8300/configure.in: Ditto.
2060 * libc/machine/mips/configure.in: Ditto.
2061 * libc/machine/crx/configure.in: Ditto.
2062 * libc/machine/m68hc11/configure.in: Ditto.
2063 * libc/machine/h8500/configure.in: Ditto.
2064 * libc/machine/xscale/configure.in: Ditto.
2065 * libc/machine/d10v/configure.in: Ditto.
2066 * libc/machine/fr30/configure.in: Ditto.
2067 * libc/machine/sh/configure.in: Ditto.
2068 * libc/machine/tic80/configure.in: Ditto.
2069 * libc/machine/m32r/configure.in: Ditto.
2070 * libc/machine/xstormy16/configure.in: Ditto.
2071 * libc/machine/i386/configure.in: Ditto.
2072 * libc/machine/d30v/configure.in: Ditto.
2073 * libc/machine/mn10200/configure.in: Ditto.
2074 * libc/machine/frv/configure.in: Ditto.
2075 * libc/machine/mt/configure.in: Ditto.
2076 * libc/machine/i960/configure.in: Ditto.
2077 * libc/machine/v850/configure.in: Ditto.
2078 * libc/machine/necv70/configure.in: Ditto.
2079 * libc/machine/tic4x/configure.in: Ditto.
2080 * libc/machine/cris/configure.in: Ditto.
2081 * libc/machine/m68k/configure.in: Ditto.
2082 * libc/machine/m32c/configure.in: Ditto.
2083 * libc/machine/hppa/configure.in: Ditto.
2084 * libc/machine/w65/configure.in: Ditto.
2085 * libc/machine/iq2000/configure.in: Ditto.
2086 * libc/machine/sparc/configure.in: Ditto.
2087 * libc/machine/m88k/configure.in: Ditto.
2088 * libc/sys/linux/configure.in: Ditto.
2089 * libc/sys/linux/machine/configure.in: Ditto.
2090 * libc/sys/linux/machine/i386/configure.in: Ditto.
2091 * libc/sys/linux/linuxthreads/configure.in: Ditto.
2092 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2093 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
2094 * libc/sys/arm/configure.in: Ditto.
2095 * libc/sys/configure.in: Ditto.
2096 * libc/sys/decstation/configure.in: Ditto.
2097 * libc/sys/a29khif/configure.in: Ditto.
2098 * libc/sys/sysnecv850/configure.in: Ditto.
2099 * libc/sys/d10v/configure.in: Ditto.
2100 * libc/sys/netware/configure.in: Ditto.
2101 * libc/sys/mmixware/configure.in: Ditto.
2102 * libc/sys/h8500hms/configure.in: Ditto.
2103 * libc/sys/sh/configure.in: Ditto.
2104 * libc/sys/tic80/configure.in: Ditto.
2105 * libc/sys/rdos/configure.in: Ditto.
2106 * libc/sys/sysmec/configure.in: Ditto.
2107 * libc/sys/sysvi386/configure.in: Ditto.
2108 * libc/sys/h8300hms/configure.in: Ditto.
2109 * libc/sys/sparc64/configure.in: Ditto.
2110 * libc/sys/arc/configure.in: Ditto.
2111 * libc/sys/sysnec810/configure.in: Ditto.
2112 * libc/sys/m88kbug/configure.in: Ditto.
2113 * libc/sys/sysvnecv70/configure.in: Ditto.
2114 * libc/sys/z8ksim/configure.in: Ditto.
2115 * libc/sys/rtems/configure.in: Ditto.
2116 * libc/sys/w65/configure.in: Ditto.
2117 * libc/sys/sun4/configure.in: Ditto.
2118 * doc/configure.in: Ditto.
2119 * iconvdata/configure.in: Ditto.
2120 * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
7ad96224 2121
34e66679
JJ
21222006-04-11 Jeff Johnston <jjohnstn@redhat.com>
2123
2124 * acinclude.m4: Properly add square brackets for
2125 AC_DEFUN macros. Rewrite LIB_AC_PROG_CC to remove
2126 macros no longer available. Add LIB_AM_PROG_AS to
2127 remove prereq of AC_PROG_CC. Add LIB_AC_PROG_CC_GNU
2128 macro. Substitute lpfx (library object prefix).
2129 * configure.host: Set lpfx depending on whether
2130 libtool is used or not.
2131 * configure.in: Individually specify libc and libm
2132 to AC_CONFIG_SUBDIRS. Add square bracket quoting as
2133 necessary.
2134 * Makefile.am: Use $(lpfx) to get object names for
2135 math-library functions that should also be in libc.
2136 * libc/machine/configure.in: Use case statement to determine
2137 AC_CONFIG_SUBDIRS statement.
2138 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2139 * libc/sys/linux/machine/configure.in: Ditto.
2140 * libc/sys/configure.in: Ditto.
2141 * libm/machine/configure.in: Ditto.
2142 * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
2143 * libm/configure.in: Add AM_CONDITIONAL statement
2144 for HAVE_LIBM_MACHINE_DIR.
2145 * libc/machine/a29k/Makefile.am: Modified to work with
2146 latest automake. Change includes setting AM_CCASFLAGS
2147 so building .S files will properly pick up flags used
2148 to build C files.
2149 * libc/machine/arm/Makefile.am: Ditto.
2150 * libc/machine/crx/Makefile.am: Ditto.
2151 * libc/machine/d10v/Makefile.am: Ditto.
2152 * libc/machine/d30v/Makefile.am: Ditto.
2153 * libc/machine/fr30/Makefile.am: Ditto.
2154 * libc/machine/frv/Makefile.am: Ditto.
2155 * libc/machine/h8300/Makefile.am: Ditto.
2156 * libc/machine/h8500/Makefile.am: Ditto.
2157 * libc/machine/hppa/Makefile.am: Ditto.
2158 * libc/machine/i386/Makefile.am: Ditto.
2159 * libc/machine/iq2000/Makefile.am: Ditto.
2160 * libc/machine/m32c/Makefile.am: Ditto.
2161 * libc/machine/m32r/Makefile.am: Ditto.
2162 * libc/machine/m68hc11/Makefile.am: Ditto.
2163 * libc/machine/m68k/Makefile.am: Ditto.
2164 * libc/machine/m88k/Makefile.am: Ditto.
2165 * libc/machine/mips/Makefile.am: Ditto.
2166 * libc/machine/mn10200/Makefile.am: Ditto.
2167 * libc/machine/mn10300/Makefile.am: Ditto.
2168 * libc/machine/mt/Makefile.am: Ditto.
2169 * libc/machine/necv70/Makefile.am: Ditto.
2170 * libc/machine/powerpc/Makefile.am: Ditto.
2171 * libc/machine/sh/Makefile.am: Ditto.
2172 * libc/machine/sparc/Makefile.am: Ditto.
2173 * libc/machine/tic4x/Makefile.am: Ditto.
2174 * libc/machine/tic80/Makefile.am: Ditto.
2175 * libc/machine/v850/Makefile.am: Ditto.
2176 * libc/machine/w65/Makefile.am: Ditto.
2177 * libc/machine/xscale/Makefile.am: Ditto.
2178 * libc/machine/xstormy16/Makefile.am: Ditto.
2179 * libc/machine/z8k/Makefile.am: Ditto.
2180 * libc/sys/a29khif/Makefile.am: Ditto.
2181 * libc/sys/arc/Makefile.am: Ditto.
2182 * libc/sys/arm/Makefile.am: Ditto.
2183 * libc/sys/d10v/Makefile.am: Ditto.
2184 * libc/sys/decstation/Makefile.am: Ditto.
2185 * libc/sys/h8300hms/Makefile.am: Ditto.
2186 * libc/sys/h8500hms/Makefile.am: Ditto.
2187 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
2188 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
2189 * libc/sys/m88kbug/Makefile.am: Ditto.
2190 * libc/sys/mmixware/Makefile.am: Ditto.
2191 * libc/sys/netware/Makefile.am: Ditto.
2192 * libc/sys/rdos/Makefile.am: Ditto.
2193 * libc/sys/rtems/Makefile.am: Ditto.
2194 * libc/sys/sh/Makefile.am: Ditto.
2195 * libc/sys/sparc64/Makefile.am: Ditto.
2196 * libc/sys/sysmec/Makefile.am: Ditto.
2197 * libc/sys/sysnec810/Makefile.am: Ditto.
2198 * libc/sys/sysnecv850/Makefile.am: Ditto.
2199 * libc/sys/sysvi386/Makefile.am: Ditto.
2200 * libc/sys/sysvnecv70/Makefile.am: Ditto.
2201 * libc/sys/tic80/Makefile.am: Ditto.
2202 * libc/sys/w65/Makefile.am: Ditto.
2203 * libc/sys/z8ksim/Makefile.am: Ditto.
2204 * libm/machine/i386/Makefile.am: Ditto.
2205 * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
2206 trap.S so that automake will generate a .S.o suffix rule.
2207 * libc/argz/Makefile.am: Modified to work with
2208 latest automake. Change includes adding lib_a_CFLAGS
2209 so automake doesn't complain about libtool and non-libtool
2210 libraries sharing objects.
2211 * libc/ctype/Makefile.am: Ditto.
2212 * libc/errno/Makefile.am: Ditto.
2213 * libc/iconv/ccs/Makefile.am: Ditto.
2214 * libc/iconv/ces/Makefile.am: Ditto.
2215 * libc/iconv/lib/Makefile.am: Ditto.
2216 * libc/locale/Makefile.am: Ditto.
2217 * libc/misc/Makefile.am: Ditto.
2218 * libc/posix/Makefile.am: Ditto.
2219 * libc/reent/Makefile.am: Ditto.
2220 * libc/search/Makefile.am: Ditto.
2221 * libc/signal/Makefile.am: Ditto.
2222 * libc/stdio/Makefile.am: Ditto.
2223 * libc/stdio64/Makefile.am: Ditto.
2224 * libc/stdlib/Makefile.am: Ditto.
2225 * libc/string/Makefile.am: Ditto.
2226 * libc/sys/linux/Makefile.am: Ditto.
2227 * libc/sys/linux/argp/Makefile.am: Ditto.
2228 * libc/sys/linux/cmath/Makefile.am: Ditto.
2229 * libc/sys/linux/dl/Makefile.am: Ditto.
2230 * libc/sys/linux/iconv/Makefile.am: Ditto.
2231 * libc/sys/linux/intl/Makefile.am: Ditto.
2232 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2233 * libc/sys/linux/net/Makefile.am: Ditto.
2234 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2235 * libc/syscalls/Makefile.am: Ditto.
2236 * libc/time/Makefile.am: Ditto.
2237 * libc/unix/Makefile.am: Ditto.
2238 * libm/Makefile.am: Ditto.
2239 * libm/common/Makefile.am: Ditto.
2240 * libm/math/Makefile.am: Ditto.
2241 * libm/mathfp/Makefile.am: Ditto.
2242 * Regenerate all aclocal.m4, Makefile.in, and configure files.
2243
b577ecdf
JJ
22442006-04-07 Jeff Johnston <jjohnstn@redhat.com>
2245
2246 * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
2247 anymore. Assume there is a gettimeofday syscall.
2248
ef79d97d
JJ
22492006-03-29 Shaun Jackman <sjackman@gmail.com>
2250
2251 * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
2252 for the declaration of n_long.
2253
15a1b33c
JJ
22542006-03-29 Shaun Jackman <sjackman@gmail.com>
2255
2256 * libc/sys/linux/include/net/if.h: Include sys/socket.h for
2257 struct sockaddr.
2258 (IFF_SMART): Replace this define with IFF_NOTRAILERS.
2259 (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
2260 (IFF_NOTRAILERS): New define.
2261 (struct ifreq): Add ifru_netmask.
2262 (ifr_netmask): New define.
2263
bcc4ff05
JJ
22642006-03-29 Shaun Jackman <sjackman@gmail.com>
2265
2266 * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
2267 match sys/ioctl.h.
2268
8fed3e2e
JJ
22692006-03-29 Shaun Jackman <sjackman@gmail.com>
2270
17c0c97d 2271 * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
8fed3e2e
JJ
2272 linux-newlib libc implementations.
2273
6507c097
JJ
22742006-03-29 Eric Blake <ebb9@byu.net>
2275
2276 * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
2277 * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
2278
fac690be
JJ
22792006-03-29 Jeff Johnston <jjohnstn@redhat.com>
2280
2281 * libc/sys/linux/io.c (__mknod): Fix declaration of
2282 syscall to pass a dev_t as third argument rather than
2283 a pointer to dev_t.
2284
9e443adb
JJ
22852006-03-29 Jeff Johnston <jjohnstn@redhat.com>
2286
2287 * libc/sys/linux/net/name6.c: Fix struct references.
2288
ce93dfe4
MM
22892006-03-22 Mark Mitchell <mark@codesourcery.com>
2290
2291 * configure.host: Allow hosts to set the default
2292 newlib_atexit_dynamic_alloc value.
2293 * configure.in: Likewise.
2294 * configure: Regenerated.
2295
3078fb4f
MM
22962006-03-20 Mark Mitchell <mark@codesourcery.com>
2297
2298 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
2299 * configure.in (--disable-newlib-atexit-dynamic-alloc): New
17c0c97d 2300 option.
3078fb4f
MM
2301 * configure: Regenerated.
2302 * newlib.hin: Regenerated.
2303 * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
2304 if _ATEXIT_DYNAMIC_ALLOC is undefined.
2305 * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
2306 if _ATEXIT_DYNAMIC_ALLOC is undefined.
2307
9d5cff74
JJ
23082006-03-17 Jeff Johnston <jjohnstn@redhat.com>
2309
2310 * libc/sys/linux/linuxthreads/config.h: Remove definition
2311 of UINT32_C.
2312
490cfb83
JJ
23132006-03-15 Jeff Johnston <jjohnstn@redhat.com>
2314
2315 * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
2316 for a string I/O file that isn't using the asprintf family.
2317
ce10f178
JJ
23182006-03-07 Eric Blake <ebb9@byu.net>
2319
2320 * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
2321 filename, allow read-only or write-only FILE atop O_RDWR file
2322 descriptor.
2323 * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
2324
ddf12e6b
JJ
23252006-03-07 Jeff Johnston <jjohnstn@redhat.com>
2326
2327 * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
2328 * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
2329
cb197581
JJ
23302006-03-02 Jeff Johnston <jjohnstn@redhat.com>
2331
2332 * libm/math/math.tex: Fix reference to sisnan.def which
2333 is now in common subdirectory.
2334 * libm/mathfp/mathfp.tex: Ditto.
2335
e48682cf
JJ
23362006-02-27 Jeff Johnston <jjohnstn@redhat.com>
2337
17c0c97d 2338 * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
e48682cf
JJ
2339 s_isnand, and sf_isnanf object files.
2340 * Makefile.in: Regenerated.
2341 * libc/include/ieeefp.h: Undef isnan and isinf to avoid
2342 conflict if <math.h> has previously been included.
2343 * libc/include/math.h
bc88ea65
JJ
2344 * libc/include/math.h: Make isnan and isinf macros to
2345 conform to C99.
2346 (__isinfd, __isinff, __isnand, __isnanf): New functions.
e48682cf
JJ
2347 * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
2348 and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and
17c0c97d 2349 sf_isinf files which have been moved from math/mathfp directories.
e48682cf
JJ
2350 * libm/common/Makefile.in: Regenerated.
2351 * libm/common/s_isinfd.c: New file.
2352 * libm/common/s_isnand.c: Ditto.
2353 * libm/common/sf_isinff.c: Ditto.
2354 * libm/common/sf_isnanf.c: Ditto.
2355 * libm/common/s_isinf.c: Moved from libm/math directory.
2356 * libm/common/s_isnan.c: Ditto.
2357 * libm/common/sf_isinf.c: Ditto.
2358 * libm/common/sf_isnan.c: Ditto.
2359 * libm/math/Makefile.am: Remove isinf and isnan family functions
2360 which have been moved into common directory.
2361 * libm/mathfp/Makefile.am: Ditto.
2362 * libm/math/Makefile.in: Regenerated.
2363 * libm/mathfp/Makefile.in: Ditto.
2364 * libm/math/s_isinf.c: Removed.
2365 * libm/math/s_isnan.c: Ditto.
2366 * libm/math/sf_isinf.c: Ditto.
2367 * libm/math/sf_isnan.c: Ditto.
2368 * libm/mathfp/s_isinf.c: Ditto.
2369 * libm/mathfp/s_isnan.c: Ditto.
2370 * libm/mathfp/sf_isinf.c: Ditto.
2371 * libm/mathfp/sf_isnan.c: Ditto.
2372
99db626d
JJ
23732006-02-20 Jeff Johnston <jjohnstn@redhat.com>
2374
2375 * libc/stdio/fflush.c (fflush): For an fflush on a read-only
2376 stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
2377 * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
2378 seek, turn off the __SNPT no-optimization flag.
2379
49103e2b
JJ
23802006-02-16 Jeff Johnston <jjohnstn@redhat.com>
2381
2382 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
2383 will be defined.
2384 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
2385 <features.h> to preset special flags.
2386
680e0f1f
CV
23872006-02-15 Corinna Vinschen <corinna@vinschen.de>
2388
2389 * libc/include/sys/time.h (struct timeval): Change member types
2390 according to SUSv3.
2391 * libc/include/sys/types.h (useconds_t): Change to unsigned
2392 according to SUSv3.
2393 (suseconds_t): Define type.
2394
d6593503
JJ
23952006-02-13 Jeff Johnston <jjohnstn@redhat.com>
2396 David Carne <davidcarne@gmail.com>
2397
2398 * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
2399 instead of strlen to determine number of bytes to copy.
2400 * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
2401 before looking at storage location.
2402
9bbe6d5d
JJ
24032006-02-07 Paul Brook <paul@codesourcery.com>
2404
2405 * libc/machine/arm/setjmp.S: Add Thumb-2 support.
2406 * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
2407 * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
2408 * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
2409 * libc/sys/arm/trap.S: Disable for Thumb-2.
2410
d968b3c8
JJ
24112006-01-31 Leif Ekblad <leif@rdos.net>
2412
2413 * configure.host: RDOS support added
2414 * libc/include/sys/config.h: Ditto.
2415 * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
2416 * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
2417 * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
2418 * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
2419 * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
2420 * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
2421 * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
2422 * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
2423 * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
2424 * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
2425 * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
2426 * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
2427 * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
2428 * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
2429 * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
2430 * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
2431 * libc/sys/rdos/write.c: Ditto.
2432
3acaaf54
JJ
24332006-01-24 Jeff Johnston <jjohnstn@redhat.com>
2434
2435 * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
2436 so as not to define PACKAGE and VERSION in newlib.h.
2437 * aclocal.m4: Regenerated.
2438 * configure: Ditto.
2439 * newlib.hin: Ditto.
2440
54abc854
JJ
24412006-01-20 Jeff Johnston <jjohnstn@redhat.com>
2442
2443 * acconfig.h: New file to generate newlib.hin from.
2444 * newlib.hin: Regenerated.
2445 * stamp-h.in: Regenerated.
2446 * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
2447 called automatically.
2448 * Makefile.in: Regenerated.
2449 * acinclude.m4: Add proper comment for hack in previous change.
2450 * aclocal.m4 */aclocal.m4: Regenerated.
2451 * configure */configure: Regenerated.
2452
33c9cfbd
JJ
24532006-01-11 Jeff Johnston <jjohnstn@redhat.com>
2454
2455 * acinclude.m4: Add hack to prevent INSTALL in subdirs
2456 from being set to "../".
2457 * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
2458 * aclocal.m4: Regenerated.
2459 * configure: Ditto.
2460 * Makefile.in: Ditto.
2461 * doc/aclocal.m4: Ditto.
2462 * doc/configure: Ditto.
2463 * iconvdata/aclocal.m4: Ditto.
2464 * iconvdata/configure: Ditto.
2465 * libc/*/aclocal.m4: Ditto.
2466 * libc/*/configure: Ditto.
2467 * libc/libc.texinfo: Ditto.
2468 * libm/*/aclocal.m4: Ditto.
2469 * libm/*/configure: Ditto.
2470
dea958bc
JJ
24712006-01-10 Eric Blake <ebb9@byu.net>
2472
2473 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
2474 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
2475
216633f7
JJ
24762006-01-10 Jeff Johnston <jjohnstn@redhat.com>
2477
2478 * libm/mathfp/s_frexp.c: Check for special values on
2479 the original input, not the manipulated output value.
2480 * libm/mathfp/sf_frexp.c: Ditto.
2481 * libm/mathfp/s_atangent.c: Don't use local value branch
2482 when checking for quadrant.
2483 * libm/mathfp/sf_atangent.c: Ditto.
2484
64ae8ab5
JJ
24852006-01-09 Jeff Johnston <jjohnstn@redhat.com>
2486
2487 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
2488 * libc/stdio64/freopen64.c: Ditto.
2489
0da7297e
JJ
24902006-01-09 Eric Blake <ebb9@byu.net>
2491
2492 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
2493 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
2494
a37aaf88
JJ
24952006-01-06 Jeff Johnston <jjohnstn@redhat.com>
2496
2497 * libc/sys/linux/include/getopt.h: Add macros needed by
2498 new version of getopt.c in libc/stdlib.
2499
791c9bda
JJ
25002006-01-04 Gregory Pietsch <gpietsch@comcast.net>
2501
2502 * libc/stdlib/getopt.c: Replaced with version
2503 that adds getopt_long and getopt_long_only support.
2504 * libc/include/getopt.h: New file.
2505
0217078f
JJ
25062005-12-16 Jeff Johnston <jjohnstn@redhat.com>
2507
2508 * NEWS: Update with 1.14.0 info.
2509 * README: Ditto.
2510 * acinclude.m4: Change version number to 1.14.0.
2511 * aclocal.m4: Regenerated.
2512 * configure: Ditto.
2513 * doc/aclocal.m4: Ditto.
2514 * doc/configure: Ditto.
2515 * libc/*/aclocal.m4: Ditto.
2516 * libc/*/configure: Ditto.
2517 * libc/libc.texinfo: Ditto.
2518 * libm/*/aclocal.m4: Ditto.
2519 * libm/*/configure: Ditto.
2520 * libm/libm.texinfo: Ditto.
2521 * libc/sys/linux/shared.ld: Add VERS_1.14.
2522
a4cd7f20
JJ
25232005-12-16 Jeff Johnston <jjohnstn@redhat.com>
2524
2525 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
2526 take a pointer to struct stat64 rather than struct stat.
2527
843e635a
JJ
25282005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
2529
2530 * libc/include/stdint.h: Prefer long over int for int32_t.
2531 Use __have_long32 to set up int32_t.
2532 * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
2533 (Sync with stdint.h).
2534
10cba930
CV
25352005-12-14 Corinna Vinschen <corinna@vinschen.de>
2536
2537 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
2538 typo in O_NDELAY comment.
2539
c8ba5c22
JJ
25402005-12-13 Nathan Sidwell <nathan@codesourcery.com>
2541
2542 * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
2543 * libc/include/machine/setjmp.h (__mt__): Likewise.
2544 * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
2545 * libc/machine/configure.in: Ditto.
2546
74ecef0d
NS
25472005-12-12 Nathan Sidwell <nathan@codesourcery.com>
2548
2549 * configure.host: Replace ms1 arch with mt arch.
2550 * libc/machine/mt: Renamed from ms1 dir.
2551
2a1fc53c
JJ
25522005-12-08 Shaun Jackman <sjackman@gmail.com>
2553
2554 * libc/include/sys/types.h: Remove the ifdef armour around
2555 standard POSIX types.
2556
77e70d34
JJ
25572005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
2558
2559 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
2560 rtems_gxx_key_delete, rtems_gxx_getspecific,
17c0c97d
EB
2561 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
2562 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
77e70d34
JJ
2563 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
2564
b1da33a0
CF
25652005-12-05 Christopher Faylor <cgf@timesys.com>
2566
2567 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
2568 file. Declare unsetenv and _unsetenv_r when not cygwin.
2569
6b1a6ec6
JJ
25702005-11-18 Jeff Johnston <jjohnstn@redhat.com>
2571
2572 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
2573 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
2574
d7d477b7
CF
25752005-11-18 Christopher Faylor <cgf@timesys.com>
2576
2577 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
2578
c1534dbe
CF
25792005-11-18 Christopher Faylor <cgf@timesys.com>
2580
2581 * include/time.h: Remove more cygwin-specific stuff.
2582
d3e81bda
CF
25832005-11-18 Christopher Faylor <cgf@timesys.com>
2584
2585 * include/time.h: Move cygwin declarations to cygwin-specific header.
2586 * include/sys/time.h: Rename cygwin include to "sys_time.h".
2587
1396951b
JJ
25882005-11-17 Jeff Johnston <jjohnstn@redhat.com>
2589
2590 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
2591 in libc/sys/linux/include.
2592 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
2593 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
2594 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
2595 in libc/sys/linux/dl.
2596
37bd11ed
CF
25972005-11-11 Christopher Faylor <cgf@timesys.com>
2598
2599 * libc/include/sys/time.h: For cygwin, use general header rather than
2600 specific "sys/select.h".
2601
b397593c
JJ
26022005-11-08 Tom Walsh <tom@openhardware.net>
2603
2604 * libc/time/tzvars.c: New file.
2605 * libc/time/tzset_r.c: Moved globals into tzvars.c
2606 so other time functions needn't link in __tzset_r and its
2607 dependencies.
2608 * libc/time/Makefile.am: Add the new file.
2609 * libc/time/Makefile.in: Regenerated.
2610
86c6c421
CF
26112005-11-08 Christopher Faylor <cgf@timesys.com>
2612
2613 * libc/include/string.h: Add cygwin-specific function declaration.
2614
ef1206e4
CV
26152005-11-07 Corinna Vinschen <corinna@vinschen.de>
2616
2617 * libc/include/ieeefp.h: Add C++ guards.
2618
15eaca1c
JJ
26192005-11-03 Jeff Johnston <jjohnstn@redhat.com>
2620
2621 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
2622 * libc/unix/getlogin.c: Ditto.
2623 * libc/unix/getpass.c: Ditto.
2624 * libc/unix/getut.c: Ditto.
2625 * libc/unix/ttyname.c: Ditto.
2626
d31a8623
JJ
26272005-11-03 Shaun Jackman <sjackman@gmail.com>
2628
2629 * libc/include/sys/unistd.h (readlink, symlink): Provide these
2630 prototypes by default.
2631 * libc/sys/linux/include/unistd.h (readlink): Remove this
2632 prototype.
2633 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
2634 prototypes.
2635
71ac53ee
JJ
26362005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
2637
2638 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
2639
dc1b6289
JJ
26402005-10-31 Darin Johnson <darin@usa.net>
2641
2642 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
2643 correct for constants.
2644
884c0ff0
JJ
26452005-10-28 Bob Wilson <bob.wilson@acm.org>
2646
2647 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
2648 * libc/stdio/siscanf.c: Likewise.
2649 * libc/stdio/sprintf.c: Likewise.
2650 * libc/stdio/sscanf.c: Likewise.
2651 * libc/stdio/vfprintf.c: Likewise.
2652 * libc/stdio/vfscanf.c: Likewise.
2653 * libc/stdio/viprintf.c: Likewise.
2654 * libc/stdio/viscanf.c: Likewise.
2655
a9c15f6f
JJ
26562005-10-28 Bob Wilson <bob.wilson@acm.org>
2657
2658 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
2659 example to use "_end" symbol instead of "end". Change write example
2660 to use "outbyte" instead of "writechar".
2661
a306ebc9
JJ
26622005-10-28 Bob Wilson <bob.wilson@acm.org>
2663
2664 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
2665 * libc/ctype/islower.c: Likewise.
2666 * libc/ctype/isupper.c: Likewise.
2667 * libc/ctype/iswalnum.c: Likewise.
2668 * libc/ctype/iswalpha.c: Likewise.
2669 * libc/ctype/iswblank.c: Likewise.
2670 * libc/ctype/iswcntrl.c: Likewise.
2671 * libc/ctype/iswdigit.c: Likewise.
2672 * libc/ctype/iswgraph.c: Likewise.
2673 * libc/ctype/iswlower.c: Likewise.
2674 * libc/ctype/iswprint.c: Likewise.
2675 * libc/ctype/iswpunct.c: Likewise.
2676 * libc/ctype/iswspace.c: Likewise.
2677 * libc/ctype/iswupper.c: Likewise.
2678 * libc/ctype/iswxdigit.c: Likewise.
2679 * libc/ctype/tolower.c: Likewise.
2680 * libc/ctype/toupper.c: Likewise.
2681 * libc/ctype/towctrans.c: Likewise.
2682 * libc/ctype/towlower.c: Likewise.
2683 * libc/ctype/towupper.c: Likewise.
2684 * libc/string/strcasecmp.c: Likewise.
2685 * libc/string/strcoll.c: Likewise.
2686 * libc/string/strings.tex: Likewise.
2687 * libc/string/strlwr.c: Likewise.
2688 * libc/string/strncasecmp.c: Likewise.
2689 * libc/string/strupr.c: Likewise.
2690 * libc/string/wcscoll.c: Likewise.
2691 * libc/string/wcslcat.c: Likewise.
2692 * libc/string/wcslcpy.c: Likewise.
2693 * libc/string/wcsnlen.c: Likewise.
2694 * libc/string/wcsstr.c: Likewise.
2695 * libc/string/wcstrings.tex: Likewise.
2696 * libc/string/wmemchr.c: Likewise.
2697 * libc/string/wmemcmp.c: Likewise.
2698 * libc/string/wmemcpy.c: Likewise.
2699 * libc/string/wmemmove.c: Likewise.
17c0c97d 2700 * libc/string/wmemset.c: Likewise.
a306ebc9 2701
239c2bf9
JJ
27022005-10-28 Bob Wilson <bob.wilson@acm.org>
2703
2704 * libc/misc/unctrl.c: Replace FUNCTION description.
2705 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
2706 * libc/stdio/getdelim.c: Fix spelling errors.
2707 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
2708 * libc/stdio/putw.c: Likewise.
2709 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
ba3ccd63 2710 documentation.
239c2bf9
JJ
2711 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
2712 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
2713 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
2714 * libc/stdlib/mlock.c: Likewise.
2715 * libc/stdlib/mstats.c: Likewise.
2716 * libc/time/tzlock.c: Likewise.
2717 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
2718 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
ba3ccd63 2719 and hyphenate "pseudo-random".
239c2bf9
JJ
2720 * libc/string/bcmp.c: Remove extra blank lines in documentation.
2721 * libc/string/strncat.c: Likewise.
2722 * libc/string/memchr.c: Remove extra ">" character in documentation.
2723 * libc/string/strcspn.c: Use "characters" instead of "chars".
2724 * libc/string/strpbrk.c: Likewise.
2725 * libc/string/strerror_r.c: Capitalize "GNU".
2726 * libc/string/strnlen.c: Likewise.
2727 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
ba3ccd63 2728 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
239c2bf9
JJ
2729 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
2730 * libc/string/wcschr.c: Likewise.
2731 * libc/string/wcscmp.c: Likewise.
2732 * libc/string/wcscpy.c: Likewise.
2733 * libc/string/wcscspn.c: Likewise.
2734 * libc/string/wcslen.c: Likewise.
2735 * libc/string/wcsncat.c: Likewise.
2736 * libc/string/wcsncmp.c: Likewise.
2737 * libc/string/wcsncpy.c: Likewise.
2738 * libc/string/wcsnlen.c: Likewise.
2739 * libc/string/wcspbrk.c: Likewise.
2740 * libc/string/wcsrchr.c: Likewise.
2741 * libc/string/wcsspn.c: Likewise.
2742 * libc/string/wmemchr.c: Likewise.
2743 * libc/string/wmemcmp.c: Likewise.
2744 * libc/string/wmemcpy.c: Likewise.
2745 * libc/string/wmemset.c: Likewise.
2746 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
2747 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
2748 * libc/string/wcwidth.c: Likewise.
2749 * libm/common/s_modf.c: Remove extra period from documentation.
2750 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
ba3ccd63 2751 documentation.
239c2bf9
JJ
2752 * libm/mathfp/s_isnan.c: Likewise.
2753 * libm/math/s_ldexp.c: Fix punctuation.
2754 * libm/mathfp/s_ldexp.c: Likewise.
2755 * libm/math/w_log.c: Likewise.
2756 * libm/mathfp/s_logarithm.c: Likewise.
2757 * libm/math/w_j0.c: Add spaces to FUNCTION description.
17c0c97d 2758 * libm/mathfp/w_jn.c: Likewise.
239c2bf9 2759
2556eb8d
JJ
27602005-10-26 Shaun Jackman <sjackman@gmail.com>
2761
2762 * libc/posix/scandir.c (scandir): Update the function
2763 prototype to match the header.
2764 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
2765 extraneous #endif.
2766 * libc/sys/linux/sys/lock.h: Do not include
2767 machine/weakalias.h, since it's not used by this file.
2768
c9d71a8d
JJ
27692005-10-26 Jeff Johnston <jjohnstn@redhat.com>
2770
2771 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
2772 directories can override properly.
2773
09968b6d
JJ
27742005-10-20 Jeff Johnston <jjohnstn@redhat.com>
2775
2776 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
2777 gcc is 3.3 or greater, use special gcc builtins.
2778
c70571bd
CV
27792005-10-20 Corinna Vinschen <corinna@vinschen.de>
2780
2781 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
2782
a92822b7
CV
27832005-10-18 Corinna Vinschen <corinna@vinschen.de>
2784
2785 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
2786
d2c2c132
JJ
27872005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2788
2789 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
2790 * libm/common/Makefile.am: Add s_infconst.c support.
2791 * libm/common/Makefile.in: Regenerated.
2792 * libm/common/s_infconst.c: New file with float and
2793 long double infinity support added.
2794 * libm/math/Makefile.am: Remove s_infconst.c support.
2795 * libm/math/Makefile.in: Regenerated.
2796 * libm/math/s_infconst.c: Moved to common directory.
2797 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
2798 * libm/mathfp/Makefile.in: Regenerated.
2799 * libm/mathfp/s_infconst.c: Moved to common directory.
2800
4d57c1ed
JJ
28012005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2802
2803 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
2804 dbgprintf to prevent conflict with new dprintf function.
2805
1012585f
JJ
28062005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2807
2808 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
2809 "nan" processing for systems that have long double support.
2810
e9154015
JJ
28112005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2812
2813 * libc/sys/linux/sys/types.h (int8_t): Add type.
2814
1a869698
JJ
28152005-10-14 Bob Wilson <bob.wilson@acm.org>
2816
ba3ccd63
EB
2817 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
2818 * libm/common/Makefile.in: Regenerate.
2819 * libm/common/common.tex: Delete file.
2820 * libm/math/math.tex: Include .def files from common/.
2821 * libm/mathfp/mathfp.tex: Likewise.
1a869698 2822
e0811fb3
JJ
28232005-10-14 Bob Wilson <bob.wilson@acm.org>
2824
2825 * libc/libc.texinfo (Top): Surround this node with @ifnottex
2826 instead of @ifinfo. Update menu to add Introduction and match
2827 SUBDIRS order.
ba3ccd63 2828 (Introduction): New section.
e0811fb3 2829
e63c98c6
JJ
28302005-10-14 Bob Wilson <bob.wilson@acm.org>
2831
ba3ccd63
EB
2832 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
2833 with "Red Hat newlib C Library".
2834 * libc/sys.tex (Stubs): Likewise.
2835 * libm/math/math.tex (Math): Likewise.
2836 * libm/mathfp/mathfp.tex (Math): Likewise.
e63c98c6 2837
339195bf
JJ
28382005-10-11 Shaun Jackman <sjackman@gmail.com>
2839
2840 * libc/include/stdio.h (dprintf): New declaration.
2841 (vdprintf): Ditto.
2842 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
2843 and vdprintf.c.
2844 * libc/stdio/Makefile.in: Regenerate.
2845 * libc/stdio/dprintf.c: New file.
2846 * libc/stdio/vdprintf.c: New file.
2847 * libc/stdio/stdio.tex (dprintf): New entry.
2848
da71e518
JJ
28492005-10-11 David Weatherford <weath@tensilica.com>
2850
2851 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
17c0c97d 2852 Print "inf" and "nan" in lowercase for e/f/g formats and in
da71e518
JJ
2853 uppercase for E/F/G formats.
2854
f011605a
JJ
28552005-10-07 Bob Wilson <bob.wilson@acm.org>
2856
2857 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
2858 to ENOMEM on failure.
2859
bc037f3a
JJ
28602005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
2861
2862 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
2863
c7e20979
JJ
28642005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
2865
2866 * libc/include/stdint.h: Move magic to set __have_long* to the
2867 beginning. Use #if __have* instead of #if defined(__have*).
2868 Minor typo fixes.
2869
58e78add
JJ
28702005-10-04 James E Wilson <wilson@specifix.com>
2871
2872 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
2873 #error.
2874
8afb8202
JJ
28752005-10-03 Jeff Johnston <jjohnstn@redhat.com>
2876
2877 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
2878 incorporate Ralf's change below.
2879
14491fd0
JJ
28802005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
2881
17c0c97d 2882 * libc/include/stdint.h:
14491fd0
JJ
2883 Use __INTMAX_TYPE__ to derive intmax_t.
2884 Use __UINTMAX_TYPE__ to derive uintmax_t.
2885 Fix minor typo.
2886
ee694aea
JJ
28872005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
2888
17c0c97d 2889 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
ee694aea
JJ
2890 handling GCC >= 4.
2891
9f1926f2
JJ
28922005-09-20 Jeff Johnston <jjohnstn@redhat.com>
2893
2894 * libc/sys/linux/include/stdint.h: Update to match functionality
2895 of generic newlib stdint.h.
2896
0ce4fcef
JJ
28972005-09-20 Jeff Johnston <jjohnstn@redhat.com>
2898
2899 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
2900 and do not #undef the macro after it is used. Fix typos.
2901 Also change 64-bit constants to use the __have_long64 and
2902 __have_longlong64 flags to determine if long or long long
2903 constants should be used.
2904 * libc/include/inttypes.h: Include stddef.h to get wchar_t
2905 type defined.
2906
17060817
JJ
29072005-09-20 Shaun Jackman <sjackman@gmail.com>
2908
2909 * libc/include/stdint.h: Fix typo in names of
2910 LEAST macros.
2911
1e1d1d3d
JJ
29122005-09-20 Jeff Johnston <jjohnstn@redhat.com>
2913
2914 * libc/sys/rtems/include/inttypes.h: Moved to...
2915 * libc/include/inttypes.h: ...here.
2916
cddfc170
JJ
29172005-09-19 Jeff Johnston <jjohnstn@redhat.com>
2918
2919 * libc/sys/rtems/include/stdint.h: Moved to...
2920 * libc/include/stdint.h: ...here.
2921
b10ab725
JJ
29222005-09-08 Jeff Johnston <jjohnstn@redhat.com>
2923
2924 * Makefile.am: Add include files under bits sub-directory.
2925 * Makefile.in: Regenerated.
2926 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
2927 actual value of 1 to be compatible with newer glibc headers.
2928 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
2929 glibc headers.
2930 * libc/sys/linux/sys/dirent.h: Ditto.
2931 * libc/sys/linux/argp/argp-xinl.c: Ditto.
2932 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
2933 profile_fixup routines are marked used so they won't be
2934 optimized away.
2935 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
2936 to mark functions as weak.
2937 * libc/sys/linux/dl/dl-open.c: Ditto.
2938 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
2939 rules about lvalues.
2940 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
2941 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
2942 weak_extern macro to mark functions as weak. Instead always
2943 use #pragma weak.
2944 * iconvdata/jis0208.h: Fix to work with gcc4.
2945 * libc/sys/linux/dl/dl-load.c: Ditto.
2946 * libc/sys/linux/dl/dl-reloc.c: Ditto.
2947 * libc/sys/linux/dl/do-rel.h: Ditto.
2948 * libc/sys/linux/dl/dynamic-link.h: Ditto.
2949 * libc/sys/linux/include/ltdl.h: Ditto.
2950 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
2951 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
2952 * libc/sys/linux/net/ns_ntoa.c: Ditto.
2953 * libc/sys/linux/bits/initspin.h: New file.
2954 * libc/sys/linux/bits/libc-lock.h: Ditto.
2955 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
2956 * libc/sys/linux/bits/typesizes.h: Ditto.
2957
7b786e48
JJ
29582005-09-08 Eric Blake <ebb9@byu.net>
2959
2960 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
2961 before is NULL.
2962
32b09d75
JJ
29632005-09-08 Brian Dessent <brian@dessent.net>
2964
2965 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
2966 mantissa.
2967 * s_lrint.c: Ditto.
2968
8f36ef2f
JJ
29692005-09-02 Jeff Johnston <jjohnstn@redhat.com>
2970
2971 * libc/include/stdio.h: Add prototype for viprintf.
2972
cebe43dd
JJ
29732005-09-01 Jeff Johnston <jjohnstn@redhat.com>
2974
2975 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
2976 any positive power results in 0.
2977 * libm/mathfp/sf_pow.c (powf): Ditto.
2978
45c8bb8f
JJ
29792005-08-31 Paul Brook <paul@codesourcery.com>
2980
2981 * configure.host: Set have_crt0 to no for Arm targts when not
2982 providing syscalls. Set sys_dir=arm unconditionally.
2983 Default have_crt0 based on sys_dir.
2984 * configure.in: Use have_crt0.
2985 * libc/configure.in: Ditto.
2986 * libc/sys/configure.in: Ditto.
2987 * configure: Regenerate.
2988 * libc/configure: Regenerate.
2989 * libc/sys/configure: Regenerate.
2990 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
2991 Only build other files when providing syscalls.
2992 * libc/sys/arm/Makefile.in: Regenerate.
2993 * libc/sys/arm/aeabi_atexit.c: New file.
2994
dbeee890
CF
29952005-08-26 Christopher Faylor <cgf@timesys.com>
2996
2997 * libc/include/string.h: Revert previous change.
2998
377d3ea0
CF
29992005-08-25 Christopher Faylor <cgf@timesys.com>
3000
3001 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
3002
4797a77c
JJ
30032005-08-22 Shaun Jackman <sjackman@gmail.com>
3004
3005 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
3006 define _opendir as opendir, _readdir as readdir, and
3007 _closedir as closedir so that the implementations in
3008 libc/posix will be used.
3009
2e73582e
DD
30102005-08-10 DJ Delorie <dj@redhat.com>
3011
3012 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
3013
234cf97f
JJ
30142005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
3015
3016 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
3017 * libm/common/s_max.c: Ditto.
3018 * libm/common/sf_fmin.c: Ditto.
3019 * libm/common/s_min.c: Ditto.
3020
56448afa
JJ
30212005-08-10 DJ Delorie <dj@redhat.com>
3022
3023 * configure.host: Add m32c support.
3024 * libc/include/machine/ieeefp.h: Likewise.
3025 * libc/include/machine/setjmp.h: Likewise.
3026 * libc/include/sys/config.h: Likewise.
3027 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
3028 * libc/machine/m32c/aclocal.m4: New file.
3029 * libc/machine/m32c/configure: Ditto.
3030 * libc/machine/m32c/configure.in: Ditto.
3031 * libc/machine/m32c/Makefile.am: Ditto.
3032 * libc/machine/m32c/Makefile.in: Ditto.
3033 * libc/machine/m32c/setjmp.S: Ditto.
3034
0c5c6c23
JJ
30352005-08-02 Bob Wilson <bob.wilson@acm.org>
3036
ba3ccd63
EB
3037 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
3038 to the value for 2^126.
0c5c6c23 3039
12499c7a
HPN
30402005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
3041
3042 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
3043 used.
3044
395a327d 30452005-07-20 Bob Wilson <bob.wilson@acm.org>
ba3ccd63 3046 Darin Petkov <darin@tensilica.com>
395a327d
JJ
3047
3048 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
3049
108d7dd8
JJ
30502005-07-19 Paul Brook <paul@codesourcery.com>
3051
3052 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
3053
b776efc5
JJ
30542005-07-18 Joseph S. Myers <joseph@codesourcery.com>
3055
3056 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
3057 names after PASS and FAIL which do not depend on source directory
3058 name or on whether test passed or failed.
3059 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
3060
88540e24
JJ
30612005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
3062
3063 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
3064
85d62190 30652005-07-07 Shaun Jackman <sjackman@gmail.com>
b32adfc5 3066
88540e24 3067 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
b32adfc5
JJ
3068 twice for the same directory. _closedir calls free, and freeing
3069 the same pointer twice may cause a crash.
3070
dee9edd9
AH
30712005-07-06 Aldy Hernandez <aldyh@redhat.com>
3072
ba3ccd63
EB
3073 * configure.host: Added entry for ms1*.
3074 * libc/include/machine/ieeefp.h: Handle ms1.
3075 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
3076 * libc/machine/ms1/aclocal.m4: New.
3077 * libc/machine/ms1/configure: New.
3078 * libc/machine/ms1/configure.in: New.
3079 * libc/machine/ms1/Makefile.am: New.
3080 * libc/machine/ms1/Makefile.in: New.
3081 * libc/machine/ms1/setjmp.S: New.
dee9edd9 3082
cec1d3b4
JJ
30832005-07-04 Mark Mitchell <mark@codesourcery.com>
3084
3085 * Makefile.am (site.exp): Set tmpdir.
3086 * Makefile.in: Regenerated.
3087 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
3088 executables in $tmpdir.
3089 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
3090 libgloss version if not running in the build directory.
3091 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
3092 $tmpdir.
3093 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
3094 in $tmpdir.
3095
25d209f1
JJ
30962005-06-28 Dave Korn <dave.korn@artimi.com>
3097
3098 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
3099 and miscalculation caused by fp representation of zero.
3100 * libm/common/sf_lrint.c (lrintf): Likewise.
3101
68cdbb18
JJ
31022005-06-16 Christopher Faylor <cgf@timesys.com>
3103
3104 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
3105 determine characteristics of long double. Use a union instead.
3106 * ldtoa.c (_ldtoa_r): Ditto.
3107 (_ldcheck): Ditto.
3108 (_strtold): Ditto.
3109 (union uconv): New union.
3110
15c04fd1
JJ
31112005-06-03 Jeff Johnston <jjohnstn@redhat.com>
3112
3113 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
3114 instead of memcpy.
3115
cf55bf5e
JJ
31162005-05-12 Jeff Johnston <jjohnstn@redhat.com>
3117
3118 * configure.host (mn10300-*): Add long long I/O support by default.
3119
b6e654c4
JJ
31202005-05-12 Jeff Johnston <jjohnstn@redhat.com>
3121
3122 * libc/sys/linux/getpwuid.c: Removed.
3123 * libc/sys/linux/getpwnam.c: Removed.
3124 * libc/sys/linux/getpwent.c: New file containing logic
3125 from files removed above. This allows overriding of file
3126 in libc/unix.
3127 * libc/sys/linux/Makefile.am: Support changes above.
3128 * libc/sys/linux/Makefile.in: Regenerated.
3129
5456408b
JJ
31302005-04-28 Jeff Johnston <jjohnstn@redhat.com>
3131
3132 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
3133 when checking for multiple flags.
3134
1c74754f
HPN
31352005-04-18 Hans-Peter Nilsson <hp@axis.com>
3136
3137 * configure.host <cris-*-* | crisv32-*-*>: Set
ba3ccd63 3138 default_newlib_io_long_long="yes".
1c74754f 3139
6e75bff6
JJ
31402005-04-08 Jeff Johnston <jjohnstn@redhat.com>
3141
3142 * libc/include/libgen.h: New file.
3143
31442005-04-08 Shaun Jackman <sjackman@gmail.com>
3145
3146 * libc/unix/Makefile.am: Add support for basename and dirname.
3147 * libc/unix/Makefile.in: Regenerated.
3148 * libc/unix/basename.c: New file.
3149 * libc/unix/dirname.c: New file.
3150
95c136c4
JJ
31512005-04-07 Shaun Jackman <sjackman@gmail.com>
3152
3153 * libc/sys/linux/inode.c (lchown): New function.
3154
9ae26f7e
JJ
31552005-04-07 Shaun Jackman <sjackman@gmail.com>
3156
3157 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
3158 ELIX level is defined.
3159 * libc/unix/Makefile.in: Regenerated.
3160
85da7039
JJ
31612005-04-05 Dave Korn <dave.korn@artimi.com>
3162
3163 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
3164 something that looks like a "NaN", put back the characters processed.
3165
fefc73a0
CV
31662005-04-01 Corinna Vinschen <corinna@vinschen.de>
3167
3168 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
3169
e633fde1
CF
31702005-03-23 Christopher Faylor <cgf@timesys.com>
3171
3172 * configure.host: For cygwin, redefine CC with cygwin include directory
3173 first to mimic the behavior of the top-level configury. Move include
3174 directory out of newlib_cflags.
3175
859c94e8
JJ
31762005-03-22 Jeff Johnston <jjohnstn@redhat.com>
3177
3178 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
17c0c97d 3179 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
859c94e8
JJ
3180 than errno.
3181
7e3fd32b
CF
31822005-03-22 Christopher Faylor <cgf@timesys.com>
3183
3184 * libc/include/machine/_types.h: Make trivial change to comment to
3185 avoid a spurious warning from gcc.
3186
d4eb8920
JJ
31872005-03-21 Nicholas Wourms <nwourms@netscape.net>
3188
3189 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
3190 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
3191 reent.h include.
3192
45030958 31932005-03-18 Hans-Peter Nilsson <hp@axis.com>
ba3ccd63 3194 Corinna Vinschen <corinna@vinschen.de>
45030958 3195
ba3ccd63
EB
3196 * libc/include/ctype.h: Remove invalid +1 offset from
3197 ctype macro references to __ctype_ptr.
3198 (_ctype_): Move declaration outside #ifndef __cplusplus.
45030958 3199
5c9b5ac7
CV
32002005-03-18 Corinna Vinschen <corinna@vinschen.de>
3201
3202 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
3203 evaluate first parameter only once.
3204 (siglongjmp): Ditto.
3205
dd801fda
JJ
32062005-03-17 Jeff Johnston <jjohnstn@redhat.com>
3207
3208 * configure.in: Add new check to see if compiler supports
3209 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
3210 * configure: Regenerated.
3211 * Makefile.in: Ditto.
3212 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
3213 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
3214 aliasing the _ctype_ array to _ctype_b.
3215 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
3216 _ctype_ as deprecated.
3217
333eabc6
HPN
32182005-03-17 Hans-Peter Nilsson <hp@axis.com>
3219
3220 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
3221 -DCOMPACT_CTYPE.
3222
df5a5b35
JJ
32232005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3224
3225 * libc/sys/rtems/include/inttypes.h: New file.
3226 * libc/sys/rtems/include/stdint.h: Ditto.
3227
9d385fb0
JJ
32282005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3229
3230 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
3231
2e7d9bf9
JJ
32322005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3233
3234 * libc/include/machine/_types.h: New file.
3235 * libc/include/sys/types.h: Do not check for __rtems__
3236 when including <machine/_types.h>. Remove some redundant
3237 declarations now that <machine/_types.h> is included.
3238 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
3239 shared header file.
3240
92a7e06e
JJ
32412005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
3242
3243 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
3244 L qualifier for these long constants.
3245
1139537a
JJ
32462005-02-25 Eric Blake <ebb9@byu.net>
3247
3248 * libc/include/time.h (__tzrule_struct): Make offset long, since
3249 a 16-bit int overflows on a 12-hour offset.
3250 * libc/sys/linux/include/time.h: Ditto.
3251 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
3252 * libc/time/mktm_r.c: Ditto.
3253 * libc/time/gettzinfo.c: Ditto.
3254 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
3255 years. Fix '%z' to use long, not int.
3256
f4fd7b4c
JJ
32572005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
3258
3259 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
3260 manipulate float values in integer form.
3261 * libm/common/sf_round.c: Ditto.
3262
f2f8a9a2
JJ
32632005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
3264
3265 * libc/include/sys/types.h [__rtems__]: Include new
3266 header file machine/_types.h.
3267 * libc/include/machine/types.h: Ditto.
3268 * libc/sys/rtems/machine/_types.h: New file.
3269
39fd43d7
CV
32702005-02-23 Corinna Vinschen <corinna@vinschen.de>
3271
3272 * libc/include/time.h (_timezone): Change to long also for Cygwin.
3273 (timezone): Drop cast from definition.
3274
6b9a74f9
JJ
32752005-02-23 Jeff Johnston <jjohnstn@redhat.com>
3276
3277 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
3278 (__tzrule_type, __tzinfo_type): New types.
3279 (__gettzinfo): New function.
3280 * libc/sys/linux/include/time.h: Ditto.
3281 * libc/time/Makefile.am: Add gettzinfo.c.
3282 * libc/time/Makefile.in: Regenerated.
3283 * libc/time/local.h: Moved __tzrule_type to time.h.
3284 * libc/time/mktime.c: Call __gettzinfo to reference
3285 __tznorth, __tzyear, and __tzrule array.
3286 * libc/time/mktm_r.c: Ditto.
3287 * libc/time/strftime.c: Ditto.
3288 * libc/time/tzset_r.c: Ditto. Also remove definition
3289 of __tzrule which is now in gettzinfo.c. Change _timezone
3290 references to not cast to time_t.
3291 * libc/time/gettzinfo.c: New file.
3292
6015cf9f
CV
32932005-02-23 Corinna Vinschen <corinna@vinschen.de>
3294
3295 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
3296
5e4c05da
CV
32972005-02-22 Corinna Vinschen <corinna@vinschen.de>
3298
3299 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
3300
f1d439fc
JJ
33012005-02-16 Eric Blake <ebb9@byu.net>
3302
3303 * libc/time/time.tex: Improve the documentation.
3304 * libc/time/strftime.c: Improve the documentation.
3305 (iso_year_adjust): New helper function.
3306 (strftime): Simplify '%E' and '%O'. Change '%c' to use
3307 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
3308 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
3309 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
3310 Avoid core dumps on valid inputs (maxsize == 0, or
3311 tim_p->tm_isdst > 1).
3312
18d3a03b
CV
33132005-02-08 Corinna Vinschen <corinna@vinschen.de>
3314
3315 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
3316 members to uid_t and gid_t according to SUSv3.
3317 * libc/include/sys/time.h (utimes): Change second parameter
3318 to const according to SUSv3.
3319
1159e0fd
JJ
33202005-02-07 Antony King <antony.king@st.com>
3321
3322 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
3323 called before _flockfile to prevent lock object use before
3324 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
3325 take a struct _reent * instead of a FILE *.
3326 * libc/stdio/fclose.c (_fclose_r): Ditto.
3327 * libc/stdio/feof.c (feof): Ditto.
3328 * libc/stdio/ferror.c (ferror): Ditto.
3329 * libc/stdio/fflush.c (fflush): Ditto.
3330 * libc/stdio/fgetc.c (fgetc): Ditto.
3331 * libc/stdio/fgets.c (fgets): Ditto.
3332 * libc/stdio/fileno.c (fileno): Ditto.
3333 * libc/stdio/fputc.c (fputc): Ditto.
3334 * libc/stdio/fputs.c (fputs): Ditto.
3335 * libc/stdio/fread.c (fread): Ditto.
3336 * libc/stdio/freopen.c (_freopen_r): Ditto.
3337 * libc/stdio/fseek.c (_fseek_r): Ditto.
3338 * libc/stdio/ftell.c (_ftell_r): Ditto.
3339 * libc/stdio/fwrite.c (fwrite): Ditto.
3340 * libc/stdio/getc.c (getc): Ditto.
3341 * libc/stdio/getdelim.c (__getdelim): Ditto.
3342 * libc/stdio/putc.c (putc): Ditto.
3343 * libc/stdio/setvbuf.c (setvbuf): Ditto.
3344 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
3345 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
3346 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
3347 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
3348 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
3349 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
3350 _reent * instead of a FILE * and so replace incorrect use of
3351 _REENT with argument.
3352 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
3353 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
3354 CHECK_INIT() take a struct _reent * instead of a FILE *.
3355 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
3356 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
3357 * libc/stdio/perror.c (perror): Ditto.
3358 * libc/stdio/printf.c (printf, _printf_r): Ditto.
3359 * libc/stdio/putchar.c (putchar): Ditto.
3360 * libc/stdio/puts.c (puts): Ditto.
3361 * libc/stdio/refill.c (__srefill): Ditto.
3362 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
3363 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
3364 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
3365 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
3366 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
3367 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
3368 * libc/stdio/wbuf.c (__swbuf): Ditto.
3369 * libc/stdio/wsetup.c (__swsetup): Ditto.
3370 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
3371 * libc/stdlib/mstats.c (_mstats_r): Ditto.
3372 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
3373 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
3374 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
3375 to _flockfile and _funlockfile; rely on locking in _ftell_r.
3376 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
3377 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
3378 initialision of _data field in FILE structure.
3379 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
3380
3d915670
JJ
33812005-02-07 Jeff Johnston <jjohnstn@redhat.com>
3382
3383 * libc/stdio/findfp.c (__sinit): Protect with new lock.
3384 (__sinit_lock): New lock.
3385 (__sinit_lock_acquire, __sinit_lock_release): New functions.
3386 * libc/stdio/local.h: Add reference to new __sinit locking
3387 functions.
3388
b59cab1e
JJ
33892005-02-07 Jeff Johnston <jjohnstn@redhat.com>
3390
3391 * libc/include/math.h (isfinite, isnormal, isunordered): Change
3392 input variable names to avoid mixups with nesting macros.
3393
1815fdea
JJ
33942005-01-27 Hans-Peter Nilsson <hp@axis.com>
3395
3396 * configure.host: Add support for cris-*-* and crisv32-*-*.
3397 * libc/include/machine/ieeefp.h: Ditto.
3398 * libc/include/machine/setjmp.h: Ditto.
3399 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
3400 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
3401 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
3402 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
3403 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
3404 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
3405 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
3406 files.
3407
f7d4d41a
JJ
34082005-01-27 Hans-Peter Nilsson <hp@axis.com>
3409
3410 * testsuite/newlib.string/memmove1.c: New test.
3411
1319dec6
JJ
34122005-01-27 Hans-Peter Nilsson <hp@axis.com>
3413
3414 * testsuite/include/check.h: Include stdlib.h.
3415
b45e65b0
JJ
34162005-01-27 Hans-Peter Nilsson <hp@axis.com>
3417
3418 * Makefile.am (stmp-targ-include): Support include header files
3419 from machine directories.
e9743354 3420 (install-data-local): Ditto.
b45e65b0
JJ
3421 * Makefile.in: Regenerate.
3422
dbfa92dd
JJ
34232005-01-24 Jeff Johnston <jjohnstn@redhat.com>
3424
3425 * libc/include/string.h: Remove Linux-specific declaration of
3426 strsignal and add #include <sys/string.h>.
3427 * libc/include/sys/string.h: New file.
3428 * libc/include/sys/linux/sys/string.h: New file with strsignal
3429 declaration deleted above.
3430
6cb0c055
JJ
34312005-01-20 Jeff Johnston <jjohnstn@redhat.com>
3432
3433 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
3434 to POSIX standard for "C" locale. Allow %E and %O modifiers
3435 to be ignored as long as they precede valid specifiers according
3436 to POSIX.
3437
52429807
JJ
34382005-01-19 Shaun Jackman <sjackman@gmail.com>
3439
3440 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
3441 environment variable is set.
3442
f693170a
JJ
34432005-01-19 Shaun Jackman <sjackman@gmail.com>
3444
ba3ccd63 3445 * tzset_r.c (_tzname): Add a comma.
f693170a 3446
464d01bf
AH
34472005-01-18 Aldy Hernandez <aldyh@redhat.com>
3448
3449 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
3450 _VFPRINTF_R.
3451
f7a74742 34522005-01-07 Paul Brook <paul@codesourcery.com>
17c0c97d 3453
f7a74742
JJ
3454 * configure.in: Add test for .init_array.
3455 * configure: Regenerate.
3456 * newlib.hin: Add HAVE_INITFINI_ARRAY.
3457 * libc/misc/Makefile.am: Add init.c
3458 * libc/misc/Makefile.in: Regenerate.
3459 * libc/misc/init.c: New file.
3460 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
3461 _init/_fini if they exist.
17c0c97d 3462
8fa6cb9a
JJ
34632005-01-06 Jeff Johnston <jjohnstn@redhat.com>
3464
3465 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
3466 * (strtof): Ditto.
3467 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
3468 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
3469 functions for use by strtod and strtof.
3470 * Makefile.in: Regenerated.
17c0c97d 3471
034a3909 34722005-01-06 Hans-Peter Nilsson <hp@axis.com>
17c0c97d 3473
034a3909
JJ
3474 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
3475 bit-test in combination with NULL test.
17c0c97d 3476
9918ea2d 34772005-01-06 Hans-Peter Nilsson <hp@axis.com>
17c0c97d 3478
ba3ccd63 3479 * README: Fix typo of LGPL. Change "license" to "copyright".
17c0c97d 3480
5cc3f592
JJ
34812004-12-17 Jeff Johnston <jjohnstn@redhat.com>
3482
3483 * NEWS: Update with 1.13.0 info.
3484 * README: Ditto.
3485 * acinclude.m4: Change version number to 1.13.0.
3486 * aclocal.m4: Regenerated.
3487 * configure: Ditto.
3488 * doc/aclocal.m4: Ditto.
3489 * doc/configure: Ditto.
3490 * libc/*/aclocal.m4: Ditto.
3491 * libc/*/configure: Ditto.
3492 * libc/libc.texinfo: Ditto.
3493 * libm/*/aclocal.m4: Ditto.
3494 * libm/*/configure: Ditto.
3495 * libm/libm.texinfo: Ditto.
3496 * libc/sys/linux/shared.ld: Add VERS_1.13.
3497
d8ae996c
JJ
34982004-12-17 Christian Groessler <chris@groessler.org>
3499
3500 * libc/machine/z8k/memcmp.S: New file.
3501 * libc/machine/z8k/memcpy.S: Ditto.
3502 * libc/machine/z8k/memmove.S: Ditto.
3503 * libc/machine/z8k/memset.S: Ditto.
3504 * libc/machine/z8k/Makefile.am: Add new files.
3505 * libc/machine/z8k/Makefile.in: Regenerated.
3506 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
3507 part. Implement Z8002 stdcall version.
3508
82673116
JJ
35092004-12-13 Jeff Johnston <jjohnstn@redhat.com>
3510
3511 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
3512 a low-level read if we don't get the full amount of bytes so
3513 EOF or error flags will be set.
3514
0082d4cf
JJ
35152004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
3516
3517 * libc/time/tzset_r (_tzset_r): Properly skip over
3518 '/' when it is detected.
3519
3b54b74f
JJ
35202004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
3521
3522 * libc/time/tzset_r (_tzset_r): Fix loop.
3523
4b30e154
JJ
35242004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
3525
3526 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
3527 m_day.
3528 (__tzcalc_limits): Fix reference to month array to be zero-based.
3529
465eab2e
JJ
35302004-12-07 Jeff Johnston <jjohnstn@redhat.com>
3531
3532 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
3533 and usleep.
3534
a2b1a849
JJ
35352004-12-03 Jeff Johnston <jjohnstn@redhat.com>
3536
3537 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
3538 libgcc dependencies.
3539 (libm_la_LDFLAGS): Ditto.
3540 * Makefile.in: Regenerated.
3541
c80a1731
JJ
35422004-12-03 Shaun Jackman <sjackman@gmail.com>
3543
3544 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
3545 our link to use readlink so as to preserve any relative link created
3546 by install-toollibLIBRARIES.
3547 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
3548
70e9da42
JJ
35492004-12-02 Shaun Jackman <sjackman@gmail.com>
3550
3551 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
3552 time_t before including sys/stat.h, which uses it.
3553 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
3554 <linux/time.h> just prior to definition of __KERNEL__ so as to
3555 allow building on Debian Linux where otherwise, mktime would
3556 be redefined.
3557
a330d85a
JJ
35582004-11-26 Paul Brook <paul@codesourcery.com>
3559
3560 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
17c0c97d 3561
c41a1cb7
JJ
35622004-11-24 Jeff Johnston <jjohnstn@redhat.com>
3563
3564 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
9aa189be 3565 const for value string parameter to match Single Unix and glibc.
c41a1cb7
JJ
3566 * libc/stdlib/putenv.c: Ditto.
3567 * libc/stdlib/putenv_r.c: Ditto.
3568
16ac96ee
JJ
35692004-11-24 Jeff Johnston <jjohnstn@redhat.com>
3570
3571 * libc/stdio/Makefile.am: Fix missing vfscanf.
3572 * libc/stdio/Makefile.in: Regenerated.
17c0c97d 3573
3bf09147 35742004-11-23 Jeff Johnston <jjohnstn@redhat.com>
17c0c97d 3575
3bf09147
JJ
3576 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
3577 do some reordering.
3578 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
3579 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
3580 family functions.
3581 * libc/stdio/Makefile.in: Regenerated.
3582 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
3583 * libc/stdio/iprintf.c: Ditto.
3584 * libc/stdio/local.h (__svfiscanf_r): New prototype.
3585 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
3586 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
3587 * libc/stdio/stdio.tex: Add new functions.
3588 * libc/stdio/vfscanf.c: Split out __sccl function to separate
3589 file and add special name defines so this file can be used
3590 to build vfiscanf.o.
3591 * libc/stdio/asiprintf.c: New file.
3592 * libc/stdio/fiscanf.c: Ditto.
3593 * libc/stdio/iscanf.c: Ditto.
3594 * libc/stdio/sccl.c: Ditto.
3595 * libc/stdio/siscanf.c: Ditto.
3596 * libc/stdio/vasiprintf.c: Ditto.
3597 * libc/stdio/viprintf.c: Ditto.
3598 * libc/stdio/viscanf.c: Ditto.
3599 * libc/stdio/vsiprintf.c: Ditto.
3600 * libc/stdio/vsiscanf.c: Ditto.
3601 * libc/stdio/vsniprintf.c: Ditto.
3602
0f0fcb04 36032004-11-19 Shaun Jackman <sjackman@gmail.com>
17c0c97d 3604
ba3ccd63
EB
3605 * libc/include/stdio.h: Add sniprintf.
3606 * libc/stdio/Makefile.am: Add sniprintf.c.
3607 * libc/stdio/Makefile.in: Regenerated.
3608 * libc/stdio/sniprintf.c: New file.
3609 * libc/stdio/stdio.tex: Add sniprintf.
17c0c97d 3610
1f8f7e2d
CF
36112004-11-17 Christopher Faylor <cgf@timesys.com>
3612
3613 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
3614 EOF flag if successful.
3615
b08d08c7
CF
36162004-10-28 Christopher Faylor <cgf@timesys.com>
3617
3618 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
334ba104 3619 so that all relevant definitions have been performed for use in the
b08d08c7
CF
3620 include.
3621
65b1964f
JJ
36222004-10-26 Jason Tishler <jason@tishler.net>
3623
3624 * libc/stdio/fread.c (fread): Fix return value for unbuffered
3625 fread.
3626
6382b7e3 36272004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
06b5ef6e
JJ
3628
3629 * libc/include/machine/setjmp.h: Add AVR support.
3630 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
3631
73131c2d 36322004-10-08 Jeff Johnston <jjohnstn@redhat.com>
17c0c97d 3633
ba3ccd63
EB
3634 * libc/include/sys/signal.h: If <signal.h> didn't include
3635 this header file, include <signal.h> to account for
3636 applications that take advantage that the two header
3637 files are the same in glibc.
17c0c97d 3638
1185687a
JJ
36392004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
3640
ba3ccd63
EB
3641 * configure.host: Add support for crx.
3642 * libc/include/machine/ieeefp.h: Ditto.
3643 * libc/include/machine/setjmp.h: Ditto.
3644 * libc/machine/crx/Makefile.am: New file.
3645 * libc/machine/crx/configure.in: Ditto.
3646 * libc/machine/crx/setjmp.S: Ditto.
3647 * libc/machine/crx/getenv.c: Ditto.
3648 * libc/machine/crx/aclocal.m4: Generate.
3649 * libc/machine/crx/configure: Ditto.
3650 * libc/machine/crx/Makefile.in: Ditto.
3651 * libc/machine/crx/sys/asm.h: New file.
3652 * libc/machine/crx/sys/libh.h: Ditto.
3653 * libc/machine/crx/sys/syscall.h: Ditto.
1185687a 3654
423152ed
JJ
36552004-10-05 Jeff Johnston <jjohnstn@redhat.com>
3656
3657 * Makefile.am (stmp-targ-include): Support sys header files
3658 from machine directories.
3659 * Makefile.in: Regenerated.
3660
3ea9de76
JJ
36612004-10-04 Jeff Johnston <jjohnstn@redhat.com>
3662
3663 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
3664 count skipped zero characters as part of the nread count for %n.
3665 * libc/machine/powerpc/vfscanf.c: Ditto.
3666
2a6e1223
JJ
36672004-09-24 Jeff Johnston <jjohnstn@redhat.com>
3668
3669 * libc/stdio/local.h: Include <stdlib.h>.
3670
d163f2fc
CV
36712004-09-24 Corinna Vinschen <corinna@vinschen.de>
3672
3673 * libc/stdio/fread.c (fread): Include <malloc.h>.
3674
602de582
JJ
36752004-09-22 Jeff Johnston <jjohnstn@redhat.com>
3676
3677 * libc/stdio/fread.c (fread): For non-space-optimized case,
3678 add special code for unbuffered files to use user buffer and
3679 only require one low-level system read.
3680
32e73f4d
ILT
36812004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
3682
3683 * libc/machine/xscale/setjmp.S: New file, copied from
3684 libc/machine/arm/setjmp.S.
3685 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
3686 * libc/machine/xscale/Makefile.in: Regenerate.
3687
ed6859b8
JJ
36882004-09-16 Antony King <antony.king@st.com>
3689
3690 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
3691 with locking API.
17c0c97d 3692 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
ed6859b8
JJ
3693 check for__SSTR in _flags and if set, skip lock request.
3694 (_funlockfile)[!SINGLE_THREAD]: Ditto.
3695 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
3696 not NULL.
3697 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
3698 initialisation of _file to -1 in local FILE.
3699 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
3700 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
3701 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
3702 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
3703 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
3704 _flags in local FILE to prevent locking.
3705 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
3706
7a0f6966
JJ
37072004-09-16 Antony King <antony.king@st.com>
3708
3709 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
3710 and only walk the reentrancy parameter.
3711 (_fwalk_reent): Ditto.
3712 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
3713
c77672c0
JJ
37142004-09-16 Antony King <antony.king@st.com>
3715
3716 * libc/stdio64/freopen64.c: Remove casting of fp lock to
3717 _LOCK_RECURSIVE_T.
3718
5c44c2e5
JJ
37192004-09-16 Antony King <antony.king@st.com>
3720
3721 * libc/time/tzlock.c: Add default stubs that use generic
3722 locking code.
3723
14613e5e
JJ
37242004-09-16 Antony King <antony.king@st.com>
3725
3726 * libc/ctype/ctype.tex: Added missing documentation.
3727 * libc/stdio/stdio.tex Ditto.
3728 * libc/stdlib/stdlib.tex Ditto.
3729 * libc/string/strings.tex Ditto.
3730 * libc/time/time.tex: Ditto.
3731 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
3732
181cb051
JJ
37332004-09-15 Corinna Vinschen <vinschen@redhat.com>
3734
3735 * libc/reent/impure.c (reent_data): Define as alias to impure_data
3736 when building for Cygwin.
3737 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
3738 _global_impure_ptr.
3739
51d4a7ea
JJ
37402004-09-15 Jeff Johnston <jjohnstn@redhat.com>
3741
3742 * configure.host: Reverting 2004-09-14 change as fix has occurred on
3743 Cygwin side.
3744 * configure.in: Ditto.
3745 * libc/configure.in: Ditto.
3746 * libc/sys/configure.in: Ditto.
3747 * configure: Ditto.
3748 * libc/configure: Ditto.
3749 * libc/sys/configure: Ditto.
3750 * libc/include/sys/reent.h: Ditto.
3751 * libc/stdlib/__atexit.c: Ditto.
3752 * libc/stdlib/__call_atexit.c: Ditto.
3753 * libc/stdlib/cxa_atexit.c: Ditto.
3754 * libc/stdlib/cxa_finalize.c: Ditto.
3755 * libc/sys/cygwin/Makefile.am: Removed again.
3756 * libc/sys/cygwin/Makefile.in: Ditto.
3757 * libc/sys/cygwin/aclocal.m4: Ditto.
3758 * libc/sys/cygwin/configure: Ditto.
3759 * libc/sys/cygwin/configure.in: Ditto.
3760 * libc/sys/cygwin/dummy.c: Ditto.
3761 * libc/sys/cygwin/sys/reent.h: Ditto.
3762
98650d2f
JJ
37632004-09-14 Jeff Johnston <jjohnstn@redhat.com>
3764
3765 * configure.host: Add Cygwin sys directory.
3766 * configure.in: Do not set CRT0 for cygwin.
3767 * libc/configure.in: Ditto.
3768 * libc/sys/configure.in: Ditto.
3769 * configure: Regenerated.
3770 * libc/configure: Ditto.
3771 * libc/sys/configure: Ditto.
3772 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
3773 * libc/stdlib/__atexit.c: Keep cxa support protected by new
3774 __REENT_HAS_CXA_SUPPORT flag.
3775 * libc/stdlib/__call_atexit.c: Ditto.
3776 * libc/stdlib/cxa_atexit.c: Ditto.
3777 * libc/stdlib/cxa_finalize.c: Ditto.
3778 * libc/sys/cygwin/Makefile.am: New file.
3779 * libc/sys/cygwin/Makefile.in: Ditto.
3780 * libc/sys/cygwin/aclocal.m4: Ditto.
3781 * libc/sys/cygwin/configure: Ditto.
3782 * libc/sys/cygwin/configure.in: Ditto.
3783 * libc/sys/cygwin/dummy.c: Ditto.
3784 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
3785 version of reent.h.
3786
d4c8e53b
JJ
37872004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3788
3789 * libc/iconv/iconv.tex: Updated with new content.
3790 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
3791 instead of NLS_DEFAULT_NLSPATH.
3792 * libc/iconv/lib/iconvnls.h: Fix typo.
3793 * libc/include/sys/iconvnls.h: New file.
3794
0c8593cf
JJ
37952004-09-09 Paul Brook <paul@codesourcery.com>
3796
3797 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
3798 and _is_cxa.
3799 (struct _atexit): Add _next when _REENT_SMALL.
3800 (struct _reent): Add _atexit0 when _REENT_SMALL.
3801 (_REENT_INIT_PTR): Adjust.
3802 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
3803 __call_exit.c.
3804 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
3805 * libc/stdlib/Makefile.in: Regenerate.
3806 * libc/stdlib/__atexit.c: New file.
3807 * libc/stdlib/__call_atexit.c: New file.
3808 * libc/stdlib/atexit.h: Remove old definitions. Add new.
3809 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
3810 * libc/stdlib/cxa_atexit.c: New file.
3811 * libc/stdlib/cxa_finalize.c: New file.
3812 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
3813 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
3814 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
3815 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
3816 _on_exit_args_ptr.
3817
c6ed5a85
JJ
38182004-08-23 Jeff Johnston <jjohnstn@redhat.com>
3819
3820 * libc/include/sys/unistd.h (getpass): Change prototype to use
3821 const instead of __const.
3822
721a934c
JJ
38232004-08-16 Nathan Sidwell <nathan@codesourcery.com>
3824
3825 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
3826 #if.
3827
4e53fc28
JJ
38282004-08-12 Jeff Johnston <jjohnstn@redhat.com>
3829
3830 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
3831 on linux systems with glibc 2.3.3 installed.
3832 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
3833 profile_fixup so newlib can build on fc3 system.
17c0c97d 3834
82045f12
AO
38352004-07-30 Alexandre Oliva <aoliva@redhat.com>
3836
3837 Introduce SH2a support.
3838 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
3839 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
3840 __SH2A_SINGLE_ONLY__, too.
3841 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
3842 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
3843 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
3844 2004-02-10 DJ Delorie <dj@redhat.com>
3845 * libc/sys/sh/crt0.S (start_l): Support sh2a.
3846
ad6b1d79
JJ
38472004-07-29 Jeff Johnston <jjohnstn@redhat.com>
3848
3849 * libc/time/strptime.c: Correct full-name of "March" typo.
3850
63b9dcc4
JJ
38512004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
3852
17c0c97d 3853 * configure.host (h8300*-*-*): Default long long printing support.
63b9dcc4 3854
dbfd3394
JJ
38552004-07-16 Jeff Johnston <jjohnstn@redhat.com>
3856
3857 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
3858 calls, if realloc fails, free up buffer as it is no longer
3859 used.
3860
6edb3da9
JJ
38612004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3862
3863 * libc/iconv/iconv.tex: Updated to represent recent changes.
3864 * libc/iconv/lib/iconv.c: Documentation updated.
3865
578a3560
NC
38662004-07-07 Nick Clifton <nickc@redhat.com>
3867
3868 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
3869 for xStormy16.
3870
2bc257e3
JJ
38712004-07-06 Chris Demetriou <cgd@broadcom.com>
3872
3873 * configure.host (mips*-*-elf*): Default long long printing
3874 support.
3875
75e7ffaa
JJ
38762004-07-05 Jeff Johnston <jjohnstn@redhat.com>
3877
3878 * libc/Makefile.am (libc.dvi): Add target and specify
3879 same dependencies as libc.info.
3880 * libc/Makefile.in: Regenerated.
3881 * libm/Makefile.am (libm.dvi): Add target and specify
3882 same dependencies as libm.info.
3883 * libm/Makefile.in: Regenerated.
3884
76ce12c3
JJ
38852004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3886
3887 * acinclude.m4: Move --enable-newlib-iconv option back here.
3888 * configure.in: Remove --enable-newlib-iconv option. Don't
3889 tie iconv support to --enable-newlib-mb.
3890 * aclocal.m4: Regenerated.
3891 * configure: Ditto.
3892 * doc/aclocal.m4, doc/configure: Ditto.
3893 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
3894 * libm/*/aclocal.m4: Ditto.
3895 * libm/*/configure: Ditto.
3896 * libc/*/aclocal.m4: Ditto.
3897 * libc/*/configure: Ditto.
3898
660dade3
JJ
38992004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3900
3901 * acinclude.m4: Move iconv options into configure.in.
3902 * aclocal.m4: Regenerated.
3903 * configure: Ditto.
3904 * configure.in: Add iconv options.
3905 * newlib.hin: Add new iconv encodings and remove deleted ones.
3906 * doc/aclocal.m4: Regenerated.
3907 * doc/configure: Ditto.
3908 * iconvdata/aclocal.m4: Ditto.
3909 * iconvdata/configure: Ditto.
3910 * libc/iconv: Design change. New size-optimized ccs format.
3911 * libc/iconv/AUTHORS: Removed.
3912 * libc/iconv/COPYING: Ditto.
3913 * libc/iconv/README.ORIGINAL: Ditto.
3914 * libc/iconv/README.TODO: Ditto.
3915 * libc/iconv/charset.aliases: Ditto.
3916 * libc/iconv/encoding.aliases: New file.
3917 * libc/iconv/Makefile.am: Updated.
3918 * libc/iconv/Makefile.in: Regenerated.
3919 * libc/iconv/iconv.tex: Updated.
3920 * libc/iconv/ccs/Makefile.am: Ditto.
3921 * libc/iconv/ccs/Makefile.in: Regenerated.
3922 * libc/iconv/ccs/big5.c: Updated.
3923 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
3924 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
3925 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
3926 * libc/iconv/ccs/cp775.c: Ditto.
3927 * libc/iconv/ccs/cp850.c: Ditto.
3928 * libc/iconv/ccs/cp852.c: Ditto.
3929 * libc/iconv/ccs/cp855.c: Ditto.
3930 * libc/iconv/ccs/cp866.c: Ditto.
3931 * libc/iconv/ccs/iso_8859_1.c: Ditto.
3932 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
3933 * libc/iconv/ccs/gb_2312_80.c: Ditto.
3934 * libc/iconv/ccs/iconv_mktbl: Ditto.
3935 * libc/iconv/ccs/jis_x0201.c: Ditto.
3936 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
3937 * libc/iconv/ccs/shift_jis.c: Ditto.
3938 * libc/iconv/ccs/us_ascii.c: Ditto.
3939 * libc/iconv/ccs/ccs.h: New file.
3940 * libc/iconv/ccs/ccsbi.c: Ditto.
3941 * libc/iconv/ccs/ccsbi.h: Ditto.
3942 * libc/iconv/ccs/ccsnames.h: Ditto.
3943 * libc/iconv/ccs/iso_8859_10.c: Ditto.
3944 * libc/iconv/ccs/iso_8859_11.c: Ditto.
3945 * libc/iconv/ccs/iso_8859_13.c: Ditto.
3946 * libc/iconv/ccs/iso_8859_14.c: Ditto.
3947 * libc/iconv/ccs/iso_8859_3.c: Ditto.
3948 * libc/iconv/ccs/iso_8859_6.c: Ditto.
3949 * libc/iconv/ccs/iso_8859_7.c: Ditto.
3950 * libc/iconv/ccs/iso_8859_8.c: Ditto.
3951 * libc/iconv/ccs/iso_8859_9.c: Ditto.
3952 * libc/iconv/ccs/iso_ir_111.c: Ditto.
3953 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
3954 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
3955 * libc/iconv/ccs/koi8_ru.c: Ditto.
3956 * libc/iconv/ccs/koi8_uni.c: Ditto.
3957 * libc/iconv/ccs/mktbl.pl: Ditto.
3958 * libc/iconv/ccs/win_1250.c: Ditto.
3959 * libc/iconv/ccs/win_1251.c: Ditto.
3960 * libc/iconv/ccs/win_1252.c: Ditto.
3961 * libc/iconv/ccs/win_1253.c: Ditto.
3962 * libc/iconv/ccs/win_1254.c: Ditto.
3963 * libc/iconv/ccs/win_1255.c: Ditto.
3964 * libc/iconv/ccs/win_1256.c: Ditto.
3965 * libc/iconv/ccs/win_1257.c: Ditto.
3966 * libc/iconv/ccs/win_1258.c: Ditto.
d68d3538
JJ
3967 * libc/iconv/ccs/iso_8859_15.c: Updated.
3968 * libc/iconv/ccs/iso_8859_2.c: Ditto.
3969 * libc/iconv/ccs/iso_8859_4.c: Ditto.
3970 * libc/iconv/ccs/iso_8859_5.c: Ditto.
3971 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
3972 * libc/iconv/ccs/koi8_r.c: Ditto.
3973 * libc/iconv/ccs/koi8_u.c: Ditto.
3974 * libc/iconv/ccs/ksx1001.c: Ditto.
660dade3
JJ
3975 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
3976 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
3977 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
3978 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
3979 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
3980 * libc/iconv/ccs/binary/Makefile.am: Updated.
3981 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
3982 * libc/iconv/ccs/binary/big5.cct: Updated.
3983 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
3984 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
3985 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
3986 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
3987 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
3988 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
3989 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
3990 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
3991 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
3992 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
3993 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
3994 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
3995 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
3996 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
3997 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
3998 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
3999 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
4000 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
4001 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
4002 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
4003 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
4004 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
4005 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
4006 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
4007 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
4008 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
4009 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
4010 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
4011 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
4012 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
4013 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
4014 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
4015 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
4016 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
4017 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
4018 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
4019 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
4020 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
4021 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
4022 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
4023 * libc/iconv/ces/Makefile.am: Updated.
4024 * libc/iconv/ces/Makefile.in: Regenerated.
4025 * libc/iconv/ces/ucs-2-internal.c: Updated.
4026 * libc/iconv/ces/ucs-4-internal.c: Ditto.
4027 * libc/iconv/ces/utf-16.c: Ditto.
4028 * libc/iconv/ces/utf-8.c: Ditto.
4029 * libc/iconv/ces/cesbi.c: New file.
4030 * libc/iconv/ces/cesbi.h: Ditto.
4031 * libc/iconv/ces/cesdeps.h: Ditto.
4032 * libc/iconv/ces/euc.c: Ditto.
4033 * libc/iconv/ces/mkdeps.pl: Ditto.
4034 * libc/iconv/ces/table-pcs.c: Ditto.
4035 * libc/iconv/ces/table.c: Ditto.
4036 * libc/iconv/ces/ucs-2.c: Ditto.
4037 * libc/iconv/ces/ucs-4.c: Ditto.
4038 * libc/iconv/ces/us-ascii.c: Ditto.
4039 * libc/iconv/ces/euc-jp.c: Removed.
4040 * libc/iconv/ces/euc-kr.c: Ditto.
4041 * libc/iconv/ces/euc-tw.c: Ditto.
4042 * libc/iconv/ces/gb2312.c: Ditto.
4043 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
4044 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
4045 * libc/iconv/lib/Makefile.am: Updated.
4046 * libc/iconv/lib/Makefile.in: Regenerated.
4047 * libc/iconv/lib/endian.h: Updated.
4048 * libc/iconv/lib/iconv.c: Ditto.
4049 * libc/iconv/lib/local.h: Ditto.
4050 * libc/iconv/lib/aliases.c: Removed.
4051 * libc/iconv/lib/bialiasesi.c: Ditto.
4052 * libc/iconv/lib/biccs.c: Ditto.
4053 * libc/iconv/lib/bices.c: Ditto.
4054 * libc/iconv/lib/ccs.c: Ditto.
4055 * libc/iconv/lib/ces.c: Ditto.
4056 * libc/iconv/lib/ces_euc.c: Ditto.
4057 * libc/iconv/lib/ces_iso2022.c: Ditto.
4058 * libc/iconv/lib/ces_table.c: Ditto.
4059 * libc/iconv/lib/converter.c: Ditto.
4060 * libc/iconv/lib/deps.h: Ditto.
d68d3538
JJ
4061 * libc/iconv/lib/loaddata.c: Ditto.
4062 * libc/iconv/lib/aliasesbi.c: New file.
660dade3
JJ
4063 * libc/iconv/lib/aliasesi.c: Ditto.
4064 * libc/iconv/lib/conv.h: Ditto.
4065 * libc/iconv/lib/encnames.h: Ditto.
4066 * libc/iconv/lib/encoding.deps: Ditto.
4067 * libc/iconv/lib/iconvnls.c: Ditto.
4068 * libc/iconv/lib/iconvnls.h: Ditto.
660dade3
JJ
4069 * libc/iconv/lib/nullconv.c: Ditto.
4070 * libc/iconv/lib/ucsconv.c: Ditto.
4071 * libc/iconv/lib/ucsconv.h: Ditto.
4072 * libc/include/iconv.h: Update copyright.
4073 * libc/*/aclocal.m4: Regenerated.
4074 * libc/*/configure: Ditto.
4075 * libm/*/aclocal.m4: Ditto.
4076 * libm/*/configure: Ditto.
4077
9a6831be
AO
40782004-06-22 Alexandre Oliva <aoliva@redhat.com>
4079
eb6a452a
AO
4080 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
4081 instead of typedefing jmp_buf.
4082
9a6831be
AO
4083 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
4084 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
4085 * libc/machine/h8300/defines.h (LEN): New macro.
4086 * libc/machine/h8300/memcpy.S: Add h8sx version.
4087 * libc/machine/h8300/memset.S: Likewise.
4088 * libc/machine/h8300/strcmp.S: Likewise.
4089 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
4090 * libc/machine/h8300/h8sx_strcpy.S: New file.
4091 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
4092 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
4093 __H8300SX__.
4094 * libc/include/machine/setjmp.h: Likewise.
4095 * libc/include/sys/config.h: Likewise.
4096 * libc/machine/h8300/defines.h: Likewise.
4097 * libc/machine/h8300/setjmp.S: Likewise.
4098 * libc/machine/h8300/strcmp.S: Likewise.
4099 * libc/sys/h8300hms/close.S: Likewise.
4100 * libc/sys/h8300hms/fstat.S: Likewise.
4101 * libc/sys/h8300hms/lseek.S: Likewise.
4102 * libc/sys/h8300hms/read.S: Likewise.
4103 * libc/sys/h8300hms/write.S: Likewise.
4104 * libc/sys/h8300hms/crt0.S: Likewise.
4105 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
4106 __H8300SX__ is defined.
4107 * libc/sys/h8300hms/setarch.h: Likewise.
4108
80dba41e
JJ
41092004-06-17 Jeff Johnston <jjohnstn@redhat.com>
4110
4111 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
4112 out change which set _GLOBAL_REENT to _global_impure_ptr until
4113 we understand why Cygwin breaks because of it.
4114
be910599
JJ
41152004-06-14 Jeff Johnston <jjohnstn@redhat.com>
4116
4117 * libc/sys/linux/machine/i386/syscall.h: For now, set up
4118 __syscall_return macro for systems with vsyscall.
4119
d0bd3e6f
JJ
41202004-06-11 Antony King <antony.king@st.com>
4121
4122 * libc/include/sys/_types.h: Include <sys/lock.h> and change
4123 _flock_t to be of type _LOCK_RECURSIVE_T.
4124 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
4125 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
4126 (_global_impure_ptr): New declaration.
4127 (_GLOBAL_REENT): Change to be _global_impure_ptr.
4128 * libc/include/sys/stdio.h: Include <sys/lock.h> and
4129 <sys/reent.h>.
4130 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
4131 (_funlockfile)[!SINGLE_THREAD]: Ditto.
4132 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
4133 * libc/stdio/fclose.c: Remove casting of fp lock to
4134 _LOCK_RECURSIVE_T.
4135 * libc/stdio/findfp.c: Ditto.
4136 * libc/stdio/fopen.c: Ditto.
4137 * libc/stdio/freopen.c: Ditto.
4138 * libc/stdio/vfprintf.c: Ditto.
4139 * libc/stdio64/fopen64.c: Ditto.
4140 * libc/stdlib/envlock.c: Add default stubs that use generic
4141 locking code.
4142 * libc/stdlib/mlock.c: Ditto.
4143
4144 Jeff Johnston <jjohnstn@redhat.com>
4145 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
4146 (_flock_t): Change to be a struct containing a single member
4147 named mutex which is of type __flock_mutex_t.
4148
db7033a9
JJ
41492004-06-09 Jeff Johnston <jjohnstn@redhat.com>
4150
4151 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
4152 from /usr/include/asm/signal.h instead of kernel sources. Also
4153 default max to 32 if not found in header file.
4154 * libc/sys/linux/Makefile.in: Regenerated.
4155 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
4156 systems where __syscall_return is not defined.
4157 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
4158 systems to use syscall() function instead of assembler interrupt.
4159
a170abec
JJ
41602004-06-09 Toralf Lund <toralf@procaptura.com>
4161
4162 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
4163 files from libc/sys/arm to libc/machine/arm.
4164 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
4165 library build support for files moved from libc/sys/arm.
4166 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
4167 references to access and setjmp.
4168 * configure.host: Add checks for newlib_may_supply_syscalls to
4169 determine whether or not to use sys/arm directory and use
4170 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
17c0c97d 4171
8b57e664
JJ
41722004-06-02 Jeff Johnston <jjohnstn@redhat.com>
4173
4174 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
4175 reset digit flags appropriately after we have discovered "0x".
4176 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
4177
3f611058
JJ
41782004-05-27 Jeff Johnston <jjohnstn@redhat.com>
4179
4180 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
4181 from here ...
4182 (_VFPRINTF_R): ... to here so all I/O printf routines
4183 are covered.
4184
bb42a35c
JJ
41852004-05-26 Jeff Johnston <jjohnstn@redhat.com>
4186
4187 * libc/search/hash_buf.c: Protect MAX and MIN macros from
4188 redefinition.
4189 * libc/search/hash.c: Ditto.
4190
227e6ef6
JJ
41912004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4192
4193 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
4194 (_WANT_IO_LONG_LONG): Ditto.
4195 (_WANT_IO_LONG_DOUBLE): Ditto.
4196 * configure.in: Add new configuration options
4197 --enable-newlib-io-long-long and --enable-newlib-io-long-double
4198 which tie to new defines in newlib.hin.
4199 * configure: Regenerated.
4200 * configure.host: Add checks for new configuration options. Also
4201 fix up check for --enable-newlib-io-pos-args so configuration
4202 option will override any default for a given platform.
4203 Remove defining compiler flags for the _WANT_IO* options.
4204 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
4205 instead of looking for old compiler flags.
4206 * libc/stdio/vfscanf.c: Ditto.
4207 * libc/stdio/vfieeefp.h: Ditto.
4208 * libc/machine/powerpc/vfprintf.c: Ditto.
4209 * libc/machine/powerpc/vfscanf.c: Ditto.
4210
9178da95
JJ
42112004-05-25 Jeff Johnston <jjohnstn@redhat.com>
4212
4213 * testsuite/include/check.h: Add include of <stdio.h>.
4214
cf3aae91
CV
42152004-05-17 Corinna Vinschen <corinna@vinschen.de>
4216
4217 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
4218
5b4c8ae2
JJ
42192004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4220
4221 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
4222 of free.
4223
42242004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4225
4226 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
4227 list for reentrant pointer. Call _vfiprintf_r.
4228 * libc/stdio/siprintf.c (_siprintf_r): New function.
4229 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
4230 pointer argument. Change all callers. Call _VFPRINTF_R.
4231 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
4232 prototypes.
4233
631fbe65
JJ
42342004-05-07 Jeff Johnston <jjohnstn@redhat.com>
4235
4236 * libc/include/sys/param.h: Remove endian info and include
4237 <machine/endian.h> instead.
4238 * libc/include/machine/endian.h: New file.
4239 * libc/include/machine/param.h: Ditto.
4240 * libc/machine/arm/machine/endian.h: Ditto.
4241 * libc/machine/arm/machine/param.h: Ditto.
4242 * libc/sys/arm/sys/param.h: Removed.
4243 * libc/sys/sysvi386/sys/param.h: Ditto.
4244 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
4245
1af84bb7
JJ
42462004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4247
4248 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
4249 multibyte functions return failure for %C, %S, %lc, and %ls
4250 format specifiers.
4251
1c63798e
JJ
42522004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4253
4254 * testsuite/include/check.h (CHECK): Add flush of stdout.
4255
20b0251a
JJ
42562004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4257
4258 * libc/include/stdio.h (_ungetc_r): New prototype.
4259 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
4260 (__submore): Add reentrant struct pointer argument.
4261 (ungetc): Change to call _ungetc_r.
4262
6194cf4a
JJ
42632004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4264
4265 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
4266 function pointer argument.
4267 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
4268 to specify function pointer arguments.
4269 (__fwalk, __fwalk_reent): Ditto.
4270
b4ddf489
AH
42712004-04-26 Aldy Hernandez <aldyh@redhat.com>
4272
ba3ccd63
EB
4273 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
4274 CT_INT case.
b4ddf489 4275
f777e3a5
JJ
42762004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4277
4278 * configure.in: Define _MB_CAPABLE if mb supported.
4279 * configure: Regenerated.
4280 * configure.host: Remove manual setting of MB_CAPABLE compiler
4281 flag.
4282 * newlib.hin: Add _MB_CAPABLE flag.
4283 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
4284 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
4285 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
4286 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
4287 * libc/ctype/jp2uc.c: Ditto.
4288 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
4289 * libc/locale/locale.c: Ditto
4290 * libc/machine/powerpc/vfscanf.c: Ditto
4291 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
4292 * libc/stdlib/mblen.c: Ditto
4293 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
4294 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
4295 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
4296 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
4297 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
4298 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
4299 * libc/sys/linux/intl/explodename.c: Ditto
4300 * libc/sys/linux/intl/finddomain.c: Ditto
4301 * libc/sys/linux/intl/l10nflist.c: Ditto
4302 * libc/sys/linux/intl/loadmsgcat.c: Ditto
4303 * libc/sys/linux/intl/localealias.c: Ditto
4304
27c7566c
JJ
43052004-04-23 Jeff Johnston <jjohnstn@redhat.com>
4306
4307 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
4308 (__svfscanf_r): In integer conversions, leave out leading zeroes
4309 which are not part of a base prefix.
4310 Keep track of width truncation to fit into buf, not counting left-out
4311 zeroes against width till the truncation has been compensated for.
4312 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
4313
c00f9719
JJ
43142004-04-23 Jeff Johnston <jjohnstn@redhat.com>
4315
4316 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
4317
05b31577
JJ
43182004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4319
4320 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
4321 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
4322 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
4323 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
4324 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
4325 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
4326 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
4327 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
4328 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
4329 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
4330 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
4331 libc/stdio/getchar.c libc/stdio/getchar_u.c,
4332 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
4333 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
4334 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
4335 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
4336 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
4337 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
4338 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
4339 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
4340 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
4341 libc/stdio/siprintf.c libc/stdio/snprintf.c,
4342 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
4343 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
4344 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
4345 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
4346 libc/stdio/vprintf.c libc/stdio/vscanf.c,
4347 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
4348 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
4349 libc/stdio/wsetup.c: Perform minor formatting changes. Move
4350 copyright notices to top of file, ensure that <_ansi.h> is
4351 included, be consistent with open parentheses, use _DEFUN macro,
4352 include "local.h" where needed, and remove various compiler
4353 warnings.
4354
04e8fca1
JJ
43552004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
4356
4357 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
4358 (__svfscanf_r): In integer conversions, leave out leading zeroes
4359 which are not part of a base prefix.
4360 Keep track of width truncation to fit into buf, not counting left-out
4361 zeroes against width till the truncation has been compensated for.
4362
9090ec74
CV
43632004-04-20 Corinna Vinschen <corinna@vinschen.de>
4364
4365 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
4366
1c17deea
CV
43672004-04-20 Corinna Vinschen <corinna@vinschen.de>
4368
4369 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
4370
54c7940f
CV
43712004-04-10 Corinna Vinschen <corinna@vinschen.de>
4372
4373 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
4374 to SUSv3.
4375
47dcaf56
JJ
43762004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4377
4378 * libc/stdio/fclose.c (_fclose_r): New function.
4379 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
4380 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
4381 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
4382 * libc/include/stdio.h (_fclose_r): New prototype.
4383 * libc/stdio/fopen.c: Fix typo in comment.
4384
43852004-04-08 Jeff Johnston <jjohnstn@redhat.com>
4386
4387 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
4388 to handle _r reentrant functions.
4389
4121d8cf
JJ
43902004-04-08 Eric Christopher <echristo@redhat.com>
4391
4392 * libc/include/machine/setjmp.h: Fix endif locations.
4393
59c9f5f5
JJ
43942004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4395
4396 * libc/time/strptime.c: Add standard includes to avoid
4397 warning messages at compilation time.
4398
38f4f023
JJ
43992004-04-01 Jeff Johnston <jjohnstn@redhat.com>
4400
4401 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
4402 of file.
4403
44042004-03-30 Jeff Johnston <jjohnstn@redhat.com>
ed4c5ece
JJ
4405
4406 * libc/machine/h8300/Makefile.am: Reformat slightly.
4407 * libc/machine/h8300/Makefile.in: Regenerate.
4408
38f4f023 44092004-03-30 Thomas Pfaff <tpfaff@gmx.net>
cacc0d44
JJ
4410
4411 * libc/stdio/findfp.c (__fp_lock_all): Add call to
4412 __sfp_lock_acquire.
17c0c97d 4413 (__fp_unlock_all): Add call to __sfp_lock_release.
cacc0d44 4414
10dcf7e7
JJ
44152004-03-25 Thomas Pfaff <tpfaff@gmx.net>
4416
4417 * libc/stdio/fclose.c (fclose): Protect file pointer list when
4418 releasing a file.
4419 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
4420 fwalk.
4421 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
4422 _flockfile/_funlockfile.
4423 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
4424 to recursive.
4425 Change __lock_acquire/__lock_release calls for __sfp_lock to
4426 __sfp_lock_acquire/__sfp_lock_release throughout.
4427 (std): Make sure that file lock is only initialized once.
4428 (__sfp): Move _file initialization. Initialize file lock.
4429 (__sfp_lock_acquire): New function.
4430 (__sfp_lock_release): Ditto.
4431 (__fp_lock_all): Remove __sfp_lock_acquire call.
4432 (__fp_unlock_all): Remove __sfp_lock_release call.
4433 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
4434 Add calls to _flockfile/_funlockfile. Remove
4435 __lock_init_recursive call.
4436 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
4437 * libc/stdio/fwalk.c (__fwalk): New static function.
4438 (_fwalk): Protect file pointer list. Use __fwalk to walk through
4439 file pointers.
4440 * libc/stdio/local.h: Add defines for
4441 __sfp_lock_acquire/__sfp_lock_release when
4442 single threaded. Add function prototypes otherwise.
4443 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
4444 _flockfile/_funlockfile.
4445 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
4446 Add calls to _flockfile/_funlockfile. Remove
4447 __lock_init_recursive call.
4448 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
17c0c97d 4449 list.
10dcf7e7 4450
ec475b09
JJ
44512004-03-25 Jeff Johnston <jjohnstn@redhat.com>
4452
4453 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
4454 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
4455 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
4456 to be __LOCK_INIT_RECURSIVE.
4457
2c4ef10a
JJ
44582004-03-11 Kazu Hirata <kazu@cs.umass.edu>
4459
4460 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
4461 _exit.c with _exit.S.
4462 * libc/sys/h8300hms/Makefile.in: Regenerate.
4463 * libc/sys/h8300hms/_exit.c: Remove.
4464 * libc/sys/h8300hms/_exit.S: New.
4465
41c3da6a
JJ
44662004-03-09 Thomas Pfaff <tpfaff@gmx.net>
4467
4468 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
4469 Change __sfp_lock to static global.
4470 (__fp_lock): New static function.
4471 (__fp_unlock): Ditto.
4472 (__fp_lock_all): New function.
17c0c97d 4473 (__fp_unlock_all): Ditto.
41c3da6a 4474
0ccf5430
CF
44752004-02-10 Christopher Faylor <cgf@redhat.com>
4476
4477 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
4478 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
4479 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
4480 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
4481
3536f0fb
CF
44822004-02-09 Christopher Faylor <cgf@redhat.com>
4483
4484 * libc/include/time.h (TIMER_RELTIME): New define.
4485
6a6e493a
JJ
44862004-02-09 Jeff Johnston <jjohnstn@redhat.com>
4487
4488 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
4489 * libc/stdlib/Makefile.in: Regenerated.
4490
733309f5
CF
44912004-02-08 Christopher Faylor <cgf@redhat.com>
4492
4493 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
4494 * libc/include/sys/reent.h (__getreent): Protect against possibly being
4495 defined.
4496 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
4497
b4a84c66
JJ
44982004-02-05 Paul Brook <paul@codesourcery.com>
4499
17c0c97d 4500 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
b4a84c66
JJ
4501 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
4502
4669438f
JJ
45032004-02-02 Jeff Johnston <jjohnstn@redhat.com>
4504
4505 * NEWS: Update with 1.12.0 info.
4506 * README: Ditto.
4507 * acinclude.m4: Change version number to 1.12.0.
4508 * aclocal.m4: Regenerated.
4509 * configure: Ditto.
4510 * doc/aclocal.m4: Ditto.
4511 * doc/configure: Ditto.
4512 * libc/*/aclocal.m4: Ditto.
4513 * libc/*/configure: Ditto.
4514 * libc/libc.texinfo: Ditto.
4515 * libm/*/aclocal.m4: Ditto.
4516 * libm/*/configure: Ditto.
4517 * libm/libm.texinfo: Ditto.
4518 * libc/sys/linux/shared.ld: Add VERS_1.12.
4519
94d61fcb
JJ
45202004-02-02 Joel Sherrill <joel@oarcorp.com>
4521
4522 * configure.host: Add support for tic4x.
4523 * libc/include/machine/ieeefp.h: Ditto.
4524 * libc/include/machine/setjmp.h: Ditto.
4525 * libc/machine/tic4x/Makefile.am: New file.
4526 * libc/machine/tic4x/configure.in: Ditto.
4527 * libc/machine/tic4x/setjmp.S: Ditto.
4528 * libc/machine/tic4x/aclocal.m4: Generated.
4529 * libc/machine/tic4x/configure: Ditto.
4530 * libc/machine/tic4x/Makefile.in: Ditto.
4531
c730e0e7
JJ
45322004-01-30 Jeff Johnston <jjohnstn@redhat.com>
4533
4534 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
4535 file chain on the passed in reentrancy struct if it
4536 is _GLOBAL_REENT.
4537
2892ec68 45382004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
ba3ccd63 4539 Jeff Johnston <jjohnstn@redhat.com>
2892ec68
JJ
4540
4541 * libc/iconv/iconv.tex: Updated with more information.
4542
ff41498a 45432004-01-30 Thomas Pfaff <tpfaff@gmx.net>
ba3ccd63 4544 Jeff Johnston <jjohnstn@redhat.com>
ff41498a
JJ
4545
4546 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
4547 struct for std streams and traverse the global reeentrancy
4548 struct for all other streams.
4549
d5b6c234
JJ
45502004-01-27 Jeff Johnston <jjohnstn@redhat.com>
4551
4552 * libc/stdlib/atexit.c: Protect global atexit list with a
4553 lock when newlib is multithreaded.
4554
01e0a777
JJ
45552004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4556
4557 * configure.in: Add support to generate iconv converter flags
4558 for newlib.h
4559 * newlib.hin: Add iconv converter flags.
4560 * configure: Regenerated.
4561 * libc/Makefile.in: Ditto.
4562 * libc/configure.in: Moved iconv converter parsing logic to
4563 top level newlib configure.in.
4564 * libc/configure: Regenerated.
4565 * libc/iconv/Makefile.in: Ditto.
4566 * libc/iconv/README.TODO
4567 * libc/iconv/charset.aliases: Remove wrong BE aliases for
4568 UCS2/UCS4/UTF8.
4569 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
4570 newlib.h can be used.
4571 * libc/iconv/ces/Makefile.am: Ditto.
4572 * libc/iconv/lib/Makefile.am: Ditto.
4573 * libc/iconv/ccs/Makefile.in: Regenerated.
4574 * libc/iconv/ces/Makefile.in: Ditto.
4575 * libc/iconv/lib/Makefile.in: Ditto.
4576 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
4577 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
4578 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
4579 defined in newlib.h.
4580 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
4581 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
4582 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
4583 * libc/iconv/ccs/cp775.c: Ditto.
4584 * libc/iconv/ccs/cp850.c: Ditto.
4585 * libc/iconv/ccs/cp852.c: Ditto.
4586 * libc/iconv/ccs/cp855.c: Ditto.
4587 * libc/iconv/ccs/cp866.c: Ditto.
4588 * libc/iconv/ccs/gb_2312_80.c: Ditto.
4589 * libc/iconv/ccs/iso_8859_1.c: Ditto.
4590 * libc/iconv/ccs/iso_8859_15.c: Ditto.
4591 * libc/iconv/ccs/iso_8859_2.c: Ditto.
4592 * libc/iconv/ccs/iso_8859_4.c: Ditto.
4593 * libc/iconv/ccs/iso_8859_5.c: Ditto.
4594 * libc/iconv/ccs/jis_x0201.c: Ditto.
4595 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
4596 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
4597 * libc/iconv/ccs/koi8_r.c: Ditto.
4598 * libc/iconv/ccs/koi8_u.c: Ditto.
4599 * libc/iconv/ccs/ksx1001.c: Ditto.
4600 * libc/iconv/ccs/shift_jis.c: Ditto.
4601 * libc/iconv/ccs/us_ascii.c: Ditto.
4602 * libc/iconv/ccs/binary/big5.cct: Newly generated.
4603 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
4604 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
4605 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
4606 * libc/iconv/ccs/binary/cp775.cct: Ditto.
4607 * libc/iconv/ccs/binary/cp850.cct: Ditto.
4608 * libc/iconv/ccs/binary/cp852.cct: Ditto.
4609 * libc/iconv/ccs/binary/cp855.cct: Ditto.
4610 * libc/iconv/ccs/binary/cp866.cct: Ditto.
4611 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
4612 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
4613 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
4614 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
4615 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
4616 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
4617 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
4618 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
4619 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
4620 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
4621 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
4622 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
4623 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
4624 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
4625 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
4626 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
4627 * libc/iconv/ces/euc-kr.c: Ditto.
4628 * libc/iconv/ces/euc-tw.c: Ditto.
4629 * libc/iconv/ces/gb2312.c: Ditto.
4630 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
4631 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
4632 * libc/iconv/ces/ucs-2-internal.c: Ditto.
4633 * libc/iconv/ces/ucs-4-internal.c: Ditto.
4634 * libc/iconv/ces/utf-16.c: Ditto.
4635 * libc/iconv/ces/utf-8.c: Ditto.
4636 * libc/iconv/lib/aliases.c: Ditto.
4637 * libc/iconv/lib/biccs.c: Ditto.
4638 * libc/iconv/lib/bices.c: Ditto.
4639 * libc/iconv/lib/ccs.c: Ditto.
4640 * libc/iconv/lib/ces.c: Ditto.
4641 * libc/iconv/lib/ces_euc.c: Ditto.
4642 * libc/iconv/lib/ces_iso2022.c: Ditto.
4643 * libc/iconv/lib/ces_table.c: Ditto.
4644 * libc/iconv/lib/converter.c: Ditto.
4645 * libc/iconv/lib/deps.h: Ditto.
4646 * libc/iconv/lib/endian.h: Ditto.
4647 * libc/iconv/lib/iconv.c: Ditto.
4648 * libc/iconv/lib/loaddata.c: Ditto.
4649 * libc/iconv/lib/local.h: Include newlib.h.
4650 * libc/argz/Makefile.in: Regenerated.
4651 * libc/ctype/Makefile.in: Ditto.
4652 * libc/errno/Makefile.in: Ditto.
4653 * libc/iconv/ccs/binary/Makefile.in: Ditto.
4654 * libc/locale/Makefile.in: Ditto.
4655 * libc/misc/Makefile.in: Ditto.
4656 * libc/posix/Makefile.in: Ditto.
4657 * libc/reent/Makefile.in: Ditto.
4658 * libc/search/Makefile.in: Ditto.
4659 * libc/signal/Makefile.in: Ditto.
4660 * libc/stdio/Makefile.in: Ditto.
4661 * libc/stdio64/Makefile.in: Ditto.
4662 * libc/stdlib/Makefile.in: Ditto.
4663 * libc/string/Makefile.in: Ditto.
4664 * libc/syscalls/Makefile.in: Ditto.
4665 * libc/time/Makefile.in: Ditto.
4666 * libc/unix/Makefile.in: Ditto.
4667 * testsuite/newlib.iconv/iconv.exp: New file.
4668 * testsuite/newlib.iconv/iconvjp.c: Ditto.
4669 * testsuite/newlib.iconv/iconvnm.c: Ditto.
4670 * testsuite/newlib.iconv/iconvru.c: Ditto.
4671
786ab12c
JJ
46722004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4673
4674 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
4675 (--enable-newlib-builtin-converters): Ditto.
4676 * configure.in: Add code to set _ICONV_ENABLED flag.
4677 Set _MB_LEN_MAX to 1 if not mb enabled.
4678 * configure: Regenerated.
4679 * aclocal.m4: Ditto.
4680 * Makefile.in: Ditto.
4681 * newlib.hin: Add _ICONV_ENABLED flag.
4682 * libc/Makefile.am: Add support for iconv.
4683 * libc/configure.in: Ditto.
4684 * libc/Makefile.in: Regenerated.
4685 * libc/aclocal.m4: Ditto.
4686 * libc/configure: Ditto.
4687 * libc/libc.texinfo: Add iconv documentation.
4688 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
4689 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
4690 libc/iconv/README.TODO, libc/iconv/charset.aliases,
4691 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
4692 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
4693 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
4694 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
4695 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
4696 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
4697 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
4698 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
4699 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
4700 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
4701 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
4702 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
4703 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
4704 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
4705 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
4706 libc/iconv/ccs/binary/big5.cct,
4707 libc/iconv/ccs/binary/cns11643_plane1.cct,
4708 libc/iconv/ccs/binary/cns11643_plane14.cct,
4709 libc/iconv/ccs/binary/cns11643_plane2.cct,
4710 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
4711 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
4712 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
4713 libc/iconv/ccs/binary/iso_8859_1.cct,
4714 libc/iconv/ccs/binary/iso_8859_15.cct,
4715 libc/iconv/ccs/binary/iso_8859_2.cct,
4716 libc/iconv/ccs/binary/iso_8859_4.cct,
4717 libc/iconv/ccs/binary/iso_8859_5.cct,
4718 libc/iconv/ccs/binary/jis_x0201.cct,
4719 libc/iconv/ccs/binary/jis_x0208_1983.cct,
4720 libc/iconv/ccs/binary/jis_x0212_1990.cct,
4721 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
4722 libc/iconv/ccs/binary/ksx1001.cct,
4723 libc/iconv/ccs/binary/shift_jis.cct,
4724 libc/iconv/ccs/binary/us_ascii.cct,
4725 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
4726 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
4727 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
4728 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
4729 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
4730 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
4731 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
4732 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
4733 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
4734 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
4735 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
4736 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
4737 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
4738 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
4739 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
4740 * libc/sys/linux/include/iconv.h: Ditto.
4741 * libc/include/sys/_types.h (_iconv_t): Added.
4742 * doc/aclocal.m4: Regenerated.
4743 * doc/configure: Ditto.
4744 * doc/Makefile.in: Ditto.
4745 * iconvdata/Makefile.in: Ditto.
4746 * iconvdata/aclocal.m4: Ditto.
4747 * iconvdata/configure: Ditto.
4748 * libc/*aclocal.m4: Ditto.
4749 * libc/*Makefile.in: Ditto.
4750 * libc/*configure: Ditto.
4751 * libm/*aclocal.m4: Ditto.
4752 * libm/*Makefile.in: Ditto.
4753 * libm/*configure: Ditto.
4754
ed1a95dc
JJ
47552004-01-22 Thomas Pfaff <tpfaff@gmx.net>
4756
4757 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
17c0c97d 4758 by a lock when newlib is multithreaded.
ed1a95dc 4759
7d4be1ef
JJ
47602004-01-21 Jeff Johnston <jjohnstn@redhat.com>
4761
4762 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
4763 pointer to match C99 spec.
4764 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
4765 dst is NULL. Also fix to not alter src pointer when dst is NULL
4766 and call _mbrtowc_r instead of _mbtowc_r.
4767 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
4768 of _wctomb_r.
4769
403f752c
JJ
47702004-01-19 Thomas Pfaff <tpfaff@gmx.net>
4771
4772 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
4773 * libc/stdio/freopen.c (freopen): Ditto.
4774
85b6d63b
CF
47752004-01-16 Christopher Faylor <cgf@redhat.com>
4776
4777 * libc/stdio/vfprintf.c: Add sys/lock.h include.
4778
4af71a91
JJ
47792004-01-16 Thomas Pfaff <tpfaff@gmx.net>
4780
4781 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
4782 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
4783 Add calls to __lock_init_recursive and __lock_close_recursive
4784 instead.
4785
6a150987
JJ
47862004-01-15 Thomas Pfaff <tpfaff@gmx.net>
4787
4788 * libc/stdio/fclose.c: Include sys/lock.h.
4789 (fclose): Destroy lock when file is closed.
4790 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
4791 member.
4792 * libc/stdio/freopen.c: Include sys/lock.h.
4793 (_freopen_r): Destroy lock when file is closed.
4794 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
4795 _lock member.
4796
c9524c0c
JJ
47972004-01-08 Joel Sherrill <joel@oarcorp.com>
4798
ba3ccd63
EB
4799 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
4800 Remove warnings.
c9524c0c 4801
9f13ccb3
JJ
48022004-01-08 Joel Sherrill <joel@oarcorp.com>
4803
ba3ccd63
EB
4804 * libc/sys/rtems/sys/queue.h: New file.
4805 * libc/include/sys/signal.h: Reflect renumbering of signals to
4806 fit into 32-bit mask.
4807 * libc/include/sys/unistd.h: Add fdatasync() prototype.
4808 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
4809 required. In particular, add the reentrant variants of libc calls.
4810 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
9f13ccb3 4811
9488c414
JJ
48122004-01-06 Mark Mitchell <mark@codesourcery.com>
4813
4814 * libc/sys/arm/syscalls.c (unistd.h): Include it.
4815 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
4816 Similarly for stdout and stderr.
4817
5125f919
JJ
48182004-01-06 Jeff Johnston <jjohnstn@redhat.com>
4819
4820 * libc/libc.texinfo: Correct escape character for @ sign
4821 so file will be processed by make info. Update copyright years.
4822 * libm/libm.texinfo: Ditto.
4823
9fc92ceb
JJ
48242003-12-05 Jeff Johnston <jjohnstn@redhat.com>
4825
4826 * libc/include/sys/stat.h: No longer include stat-dj.h.
4827 * libc/include/sys/stat-dj.h: Removed.
4828
25c7dad1
JJ
48292003-12-05 Jeff Johnston <jjohnstn@redhat.com>
4830
4831 * libc/include/wchar.h: Include <sys/reent.h>.
4832
576593dd
CF
48332003-12-05 Christopher Faylor <cgf@redhat.com>
4834
4835 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
4836 when defining _mbrtowc.
4837 * libc/stdlib/mbsinit.c: Ditto.
4838 * libc/stdlib/mbsrtowcs.c: Ditto.
4839 * libc/stdlib/wcrtomb.c: Ditto.
4840 * libc/stdlib/wcsrtombs.c: Ditto.
4841 * libc/stdlib/wctob.c: Ditto.
4842
48432003-12-05 Christopher Faylor <cgf@redhat.com>
4844
4845 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
4846 errors when defining _mbrtowc.
4847 * libc/stdlib/mbsinit.c: Ditto.
4848 * libc/stdlib/mbsrtowcs.c: Ditto.
4849
4c889d62
CF
48502003-12-05 Christopher Faylor <cgf@redhat.com>
4851
4852 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
4853 errors when defining _mbrtowc.
4854
5d109bde
JJ
48552003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4856
4857 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
4858 of mb routines for %lc and %ls support.
4859 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
4860 %ls, and %S support. Remove CYGNUS_NEC markers and
4861 code within.
4862
3aca0888
JJ
48632003-12-04 Jeff Johnston <jjohnstn@redhat.com>
4864
4865 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
4866 _wcrtomb_r, and _wcsrtombs_r.
4867
18dcb167
CV
48682003-12-01 Corinna Vinschen <corinna@vinschen.de>
4869
4870 * libc/include/sys/fcntl.h: Don't define struct flock when on
4871 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
4872
93f8e673
CF
48732003-11-28 Christopher Faylor <cgf@redhat.com>
4874
4875 * libc/include/sys/signal.h: Use system specific signal file when
4876 building on cygwin.
4877
cc2a11e0
JJ
48782003-11-27 Jeff Johnston <jjohnstn@redhat.com>
4879
4880 * libc/include/stdlib.h (_atoi_r): New prototype.
4881 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
4882
83bf7d2f
JJ
48832003-11-27 Jeff Johnston <jjohnstn@redhat.com>
4884
4885 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
4886 * libc/stdlib/atol.c (_atol_r): New reentrant function.
4887 * libc/stdlib/atoll.c (_atoll_r): Ditto.
4888
5d109bde 48892003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6bbb700c
JJ
4890 Jeff Johnston <jjohnstn@redhat.com>
4891
4892 * libc/include/stdlib.h (lldiv_t): New type.
4893 (atoll, llabs, lldiv): New prototypes.
4894 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
4895 * libc/stdlib/stdlib.tex: Ditto.
4896 * libc/stdlib/Makefile.in: Regenerated.
4897 * libc/stdlib/atoll.c: New file.
4898 * libc/stdlib/llabs.c: Ditto.
4899 * libc/stdlib/lldiv.c: Ditto.
4900
0a707c79
JJ
49012003-11-26 Corinna Vinschen <corinna@vinschen.de>
4902
4903 * libc/include/fcntl.h: Declare syscalls only when building newlib.
4904 * libc/include/unistd.h: Ditto.
4905 * libc/include/stat.h: Ditto. Also declare struct stat64.
4906
5d109bde 49072003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6db165c2
JJ
4908
4909 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
4910 specifier to use ch instead of *fmt.
4911
5d109bde 49122003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
759a097e
JJ
4913
4914 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
4915 code within checks for MB_CAPABLE. For non-mb-capable platforms,
4916 use simple byte logic.
4917
4f6149d6
JJ
49182003-11-21 Jeff Johnston <jjohnstn@redhat.com>
4919
4920 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
4921 _strtold routine for processing floats and doubles since it
4922 is not as fast as _strtod_r.
4923
17c0c97d 49242003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
7343eefb 4925
17c0c97d 4926 * libc/machine/h8300/defines.h : Correct pointer register defines
7343eefb 4927 for normal mode.
17c0c97d 4928 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
7343eefb
JJ
4929 for normal mode.
4930 * libc/machine/h8300/reg_memcpy.S : Likewise.
4931 * libc/machine/h8300/reg_memset.S : Likewise.
4932 * libc/machine/h8300/strcmp.S : Likewise.
4933
64cfc6f2
JJ
49342003-11-19 Nicholas Wourms <nwourms@netscape.net>
4935
4936 * configure.host: Enable positional arguments for printf
4937 family for Cygwin.
4938 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
4939 pointer reference for quad_ptr_t.
4940
e1dc8171
JJ
49412003-11-19 Jeff Johnston <jjohnstn@redhat.com>
4942
4943 * libc/stdio/scanf.c: Don't include local.h more than once.
4944
a472290f
JJ
49452003-11-18 Corinna Vinschen <corinna@vinschen.de>
4946
4947 * libc/include/sys/fcntl.h: Declare _open64.
4948 * libc/include/sys/stat.h: Declare _fstat64.
4949 * libc/include/sys/unistd.h: Declare _lseek64.
4950
a2f1155c
CV
49512003-11-17 Corinna Vinschen <corinna@vinschen.de>
4952
4953 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
4954 (setprogname): Ditto.
4955
030441fc
JJ
49562003-11-10 Jeff Johnston <jjohnstn@redhat.com>
4957
4958 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
4959 to use (Ebits + 1) which accounts for the sign-bit.
4960
fe359733
JJ
49612003-11-07 Jeff Johnston <jjohnstn@redhat.com>
4962
17c0c97d 4963 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
fe359733
JJ
4964 x86 build.
4965 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
4966 and set up default flags to pass to aclocal.
4967 * iconvdata/Makefile.in: Regenerated.
4968 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
4969 and getpwuid routines.
4970 * libc/sys/linux/Makefile.in: Regenerated.
4971 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
4972 applications to link with newlib's shared libc library.
4973 * libc/sys/linux/getpwnam.c: Ditto.
4974 * libc/sys/linux/getpwuid.c: Ditto.
4975 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
4976 that were formerly supplied by /usr/include/linux/types.h with
4977 kernel types.
4978 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
4979 test _ELIX_LEVEL macro.
4980
2985521f
JJ
49812003-11-07 Jeff Johnston <jjohnstn@redhat.com>
4982
4983 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
4984 referring to _NO_LONGLONG macro.
4985
dcad6a89
JJ
49862003-11-06 Jeff Johnston <jjohnstn@redhat.com>
4987
4988 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
4989 in LOG() macro so this will compile on gcc 3.4 and up.
4990 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
4991 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
4992 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
4993 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
4994 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
4995 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
4996 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
4997 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
4998 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
4999 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
5000 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
5001 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
5002 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
5003 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
5004 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
5005 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
5006 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
5007 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
5008 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
5009 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
5010 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
5011 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
5012 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
5013 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
5014 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
5015 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
5016 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
5017 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
5018 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
5019 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
5020 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
5021 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
5022 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
5023 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
5024 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
5025 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
5026
d2ffac09 50272003-11-05 Jeff Johnston <jjohnstn@redhat.com>
ba3ccd63 5028 Artem B. Bityuckiy <abitytsky@softminecorp.com>
d2ffac09
JJ
5029
5030 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
5031 %ls, %S, %lc, and %C format specifiers.
5032 (get_arg): Ditto.
5033 * libc/stdio/sprintf.c: Add documentation regarding new
5034 format specifiers added in vfprintf.c.
5035
da2d1227
JJ
50362003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5037
5038 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
5039 to make code work as specified in standard.
5040
3ef05bac
JJ
50412003-10-23 Jeff Johnston <jjohnstn@redhat.com>
5042
5043 * configure.in: Use absolute newlib basedir when forming
5044 CC_FOR_NEWLIB include options.
5045 * configure: Regenerated.
5046
5d109bde 50472003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4340b63b
JJ
5048
5049 * libc/string/wcsnlen.c: New file.
5050 * libc/include/wchar.h: Add wcsnlen prototype.
5051 * libc/string/Makefile.am: Add wcsnlen support.
5052 * libc/string/Makefile.in: Regenerated.
5053 * libc/string/wcstrings.tex: Add wcsnlen documentation.
5054
63a823f8
RS
50552003-10-22 Richard Sandiford <rsandifo@redhat.com>
5056
5057 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
5058
76a7df52
JJ
50592003-10-20 Bob Wilson <bob.wilson@acm.org>
5060
5061 * libc/locale/locale.c: Use double quotes in code.
5062 * libc/locale/locale.tex: Likewise.
5063 * libc/libc.texinfo: Hyphenate "floating-point".
5064 * libc/machine/necv70/necv70.tex: Likewise.
5065 * libc/stdio/sprintf.c: Likewise.
5066 * libc/stdio/sscanf.c: Likewise.
5067 * libc/stdlib/atof.c: Likewise.
5068 * libc/stdlib/ldtoa.c: Fix comment typo.
5069 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
5070 * libc/stdlib/ldiv.c: Likewise.
5071 * libm/common/s_expm1.c: Likewise.
5072 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
5073 * libm/common/s_infinity: Hyphenate "double- and single-precision".
5074 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
5075 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
5076 and "floating-point".
5077 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
5078 * libm/math/e_pow.c: Fix comment typo.
5079 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
5080 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
5081 * libm/math/s_atan.c: Likewise.
5082 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
5083 * libm/math/s_isnan.c: Hyphenate "single-precision" and
5084 "floating-point". Use "nonzero".
5085 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
5086 * libm/math/w_acos.c: Likewise.
5087 * libm/math/w_acosh.c: Likewise.
5088 * libm/math/w_asin.c: Likewise.
5089 * libm/math/w_atan2.c: Likewise.
5090 * libm/math/w_atanh.c: Likewise.
5091 * libm/math/w_cosh.c: Likewise.
5092 * libm/math/w_exp.c: Likewise.
5093 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
5094 version of 2^x in the description.
5095 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
5096 * libm/math/w_gamma.c: Likewise.
5097 * libm/math/w_hypot.c: Likewise.
5098 * libm/math/w_j0.c: Likewise.
5099 * libm/math/w_sinh.c: Likewise.
5100 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
5101 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
5102 "floating-point".
5103 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
5104 * libm/mathfp/e_atanh.c: Likewise.
5105 * libm/mathfp/e_hypot.c: Likewise.
5106 * libm/mathfp/er_lgamma.c: Likewise.
5107 * libm/mathfp/s_acos.c: Likewise.
5108 * libm/mathfp/s_asine.c: Likewise.
5109 * libm/mathfp/s_asinh.c: Likewise.
5110 * libm/mathfp/s_atan.c: Likewise.
5111 * libm/mathfp/s_atan2.c: Likewise.
5112 * libm/mathfp/s_atangent.c: Likewise.
5113 * libm/mathfp/s_cosh.c: Likewise.
5114 * libm/mathfp/s_exp.c: Likewise.
5115 * libm/mathfp/s_fmod.c: Likewise.
5116 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
5117 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
5118 "floating-point". Use "nonzero".
5119 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
5120 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
5121 * libm/mathfp/s_sineh.c: Likewise.
5122 * libm/mathfp/w_jn.c: Likewise.
5123
b11926e7
JJ
51242003-10-15 Alexandre Oliva <aoliva@redhat.com>
5125
5126 * Makefile.am: Add $(MAKE) comments to multido and multiclean
5127 lines, to enable parallel make.
5128 * Makefile.in: Rebuilt.
5129
31271d5c
CF
51302003-10-14 Christopher Faylor <cgf@redhat.com>
5131
5132 * libc/time/clock.c: Clarify documentation of return value when no
5133 measurement is available.
5134
bc707cbd
JJ
51352003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
5136
5137 * libm/configure.in: Check libm_machine_dir, not machine_dir.
5138 * libm/configure: Regenerate.
5139 * libm/Makefile.in: Ditto.
5140
f4b10605
JR
51412003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
5142
5143 * libc/machine/sh/strncpy.S: New file.
5144 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
5145 * libc/machine/sh/Makefile.in: Regenerate.
5146
ce044d8f
JW
51472003-09-11 James E Wilson <wilson@specifixinc.com>
5148
5149 * MAINTAINERS: Update my e-mail address.
5150
080ef411
CV
51512003-09-10 Corinna Vinschen <corinna@vinschen.de>
5152
5153 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
5154
3a767b69
JJ
51552003-09-09 Jeff Johnston <jjohnstn@redhat.com>
5156
080ef411
CV
5157 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
5158 prototype.
5159 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
5160 _simdldcheck(). Also add unsigned cast for index variable in
5161 for loop using sizeof operators.
5162 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
5163 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
5164 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
5165 plus fix shift calculation for determining if there is a
5166 carry from word2.
3a767b69 5167
84154fcc
CV
51682003-09-09 Corinna Vinschen <corinna@vinschen.de>
5169
5170 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
5171 setgroupent for Cygwin.
5172
f1b15058
JJ
51732003-09-05 Jeff Johnston <jjohnstn@redhat.com>
5174
5175 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
5176 is different for _REENT_SMALL than when using regular reent
5177 struct.
5178
cf88c20f 51792003-09-05 Ben Elliston <bje@wasabisystems.com>
0a8fd4dc 5180
b73263e4
BE
5181 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
5182 modern versions of GCC issue a warning.
5183
0a8fd4dc
BE
5184 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
5185 after continuation characters that induces a warning from modern
5186 versions of GCC.
5187
10a32423
BE
51882003-09-04 Ben Elliston <bje@wasabisystems.com>
5189
5190 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
5191 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
5192
ed027a53
JJ
51932003-09-02 Thomas Pfaff <tpfaff@gmx.net>
5194
5195 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
5196 * libc/stdlib/exit.c : Ditto.
5197 * libc/stdlib/on_exit.c: Ditto.
5198
880fa247
JJ
51992003-08-27 Corinna Vinschen <corinna@vinschen.de>
5200
5201 * libc/include/reent.h: Define stat64 as __stat64 when
5202 compiling newlib for Cygwin.
5203
54c1d7ea
JJ
52042003-08-26 Jeff Johnston <jjohnstn@redhat.com>
5205
5206 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
5207 __stat64 when compiling newlib.
5208
0eca0750
JJ
52092003-08-26 Jeff Johnston <jjohnstn@redhat.com>
5210
5211 * libc/include/stdio.h: Allow the io64 function prototypes for
5212 Cygwin when compiling newlib.
5213 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
5214 to expose the Cygwin struct __stat64 type.
5215 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
5216 pointer.
5217 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
5218
9d4aef19
CF
52192003-08-23 Christopher Faylor <cgf@redhat.com>
5220
5221 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
5222 definition to fseeko64.
5223
9fc9e1c9
JJ
52242003-08-22 Jeff Johnston <jjohnstn@redhat.com>
5225
5226 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
5227 * libc/stdio: Globally remove/replace all references to fp->_data.
5228 Replace with _REENT or _GLOBAL_REENT where appropriate.
5229 * libc/stdio/asprintf.c: Ditto.
5230 * libc/stdio/fclose.c: Ditto.
5231 * libc/stdio/fvwrite.c: Ditto.
5232 * libc/stdio/makebuf.c: Ditto.
5233 * libc/stdio/refill.c: Ditto.
5234 * libc/stdio/local.h: Ditto.
5235 * libc/stdio/setvbuf.c: Ditto.
5236 * libc/stdio/sscanf.c: Ditto.
5237 * libc/stdio/stdio.c: Ditto.
5238 * libc/stdio/ungetc.c: Ditto.
5239 * libc/stdio/vfscanf.c: Ditto.
5240 * libc/stdio/vsscanf.c: Ditto.
5241 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
5242 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
5243 * libc/stdio/vsnprintf.c: Ditto.
5244 * libc/stdio/vsprintf.c: Ditto.
5245 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
5246 instead of _REENT to walk file list.
5247 * libc/stdio/fflush.c: Ditto.
5248 * libc/stdio/fgetpos.c: Add reentrant version and have regular
5249 version call reentrant version with _REENT argument.
5250 * libc/stdio/fsetpos.c: Ditto.
5251 * libc/stdio/fseek.c: Ditto.
5252 * libc/stdio/fseeko.c: Ditto.
5253 * libc/stdio/ftell.c: Ditto.
5254 * libc/stdio/ftello.c: Ditto.
5255 * libc/stdio/freopen.c: Ditto.
5256 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
5257 new files to chain. Also use _GLOBAL_REENT pointer for
5258 cleaning up.
5259 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
5260 * libc/stdio/siprintf.c: Ditto.
5261 * libc/stdio/iprintf.c: Ditto.
5262 * libc/stdio/fprintf.c: Ditto.
5263 * libc/stdio/printf.c: Ditto.
5264 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
5265 * libc/stdio/sprintf.c: Ditto.
5266 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
5267 * libc/stdio/rewind.c: Call _fseek_r directly.
5268 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
5269 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
5270 data pointer.
5271 (get_arg): Add extra struct _reent pointer argument.
5272 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
5273 to fp->_data.
5274 * libc/stdio64/fopen64.c: Ditto.
5275 * libc/stdio64/freopen64.c: Ditto.
5276 * libc/stdio64/fsetpos64.c: Ditto.
5277 * libc/stdio64/ftello64.c: Ditto.
5278 * libc/stdio64/local64.h: Ditto.
5279 * libc/stdio64/stdio64.c: Ditto.
5280 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
5281 _fstat64_r for the meantime.
5282
8f021114
JJ
52832003-08-19 Jeff Johnston <jjohnstn@redhat.com>
5284
5285 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
5286 overflow detection.
17c0c97d 5287
db979bb4 52882003-08-13 Aldy Hernandez <aldyh@redhat.com>
17c0c97d 5289
db979bb4
JJ
5290 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
5291 extern "C".
5292
6efbdc7d
JJ
52932003-08-13 Jeff Johnston <jjohnstn@redhat.com>
5294
5295 * libc/include/math.h: Add prototypes for __signbitf and
5296 __signbitd.
5297
e895fc20
JJ
52982003-07-31 Jeff Johnston <jjohnstn@redhat.com>
5299
5300 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
5301 correct type of conversion when dealing with EUCJP or SJIS.
5302 * libc/ctype/iswblank.c: Ditto.
5303 * libc/ctype/iswcntrl.c: Ditto.
5304 * libc/ctype/iswprint.c: Ditto.
5305 * libc/ctype/iswpunct.c: Ditto.
5306 * libc/ctype/iswspace.c: Ditto.
5307 * libc/ctype/towlower.c: Ditto.
5308 * libc/ctype/towupper.c: Ditto.
5309
0302dfe5
NC
53102003-07-31 Nick Clifton <nickc@redhat.com>
5311
5312 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
5313 before calling main, in case it saves its argument registers.
ba3ccd63
EB
5314 Remove reference to deleted v850ea port.
5315 * configure.host: Remove reference to deleted v850ea port.
5316 Do not use -mv850 when building for v850e target. This
0302dfe5
NC
5317 prevents the ctbp system register from being initialised.
5318
42de5592
JJ
53192003-07-29 Honda Hiroki <hhonda@ipflex.com>
5320
5321 * libc/stdio/vfprintf.c: Set output size to 1 when
5322 we have %f format with precision 0 and # flag not specified.
5323
e5de27b6
AO
53242003-07-29 Alexandre Oliva <aoliva@redhat.com>
5325
5326 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
5327 .am33_2.
5328
3c98a593
CF
53292003-07-25 Christopher Faylor <cgf@redhat.com>
5330
5331 * libc/stdio64/fdopen64.c: Include sys/lock.h.
5332
e222bf67
CF
53332003-07-25 Christopher Faylor <cgf@redhat.com>
5334
5335 * configure.host: Find cygwin include directory, when appropriate.
5336
03536757
CF
53372003-07-24 Christopher Faylor <cgf@redhat.com>
5338
5339 * libc/stdio64/fdopen64.c: New file.
5340 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
5341 * libc/stdio64/Makefile.in: Regenerate.
5342 * libc/include/stdio.h (fdopen64): Define.
5343 * libc/include/stdio.h (_fdopen64_r): Ditto.
5344
18072a4f
AO
53452003-07-10 Alexandre Oliva <aoliva@redhat.com>
5346
5347 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
5348 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
5349 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
5350 restore callee-saved FP registers.
5351
e0bec12f
JR
53522003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
5353
5354 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
5355 for __sh__.
5356 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
5357 truncate.c.
5358 * libc/sys/sh/Makefile.in: Regenerate.
5359 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
5360 * libc/sys/sh/ftruncate.c: New file.
5361 * libc/sys/sh/truncate.c: Likewise.
5362
03d65dd9
AO
53632003-07-09 Alexandre Oliva <aoliva@redhat.com>
5364
5365 * libc/include/math.h (nan, nanf): Update prototype to C99.
5366 * libm/common/s_nan.c (nan): Likewise.
5367 * libm/common/s_nanf.c (nanf, nan): Likewise.
5368 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
5369
74aa9d7d
JJ
53702003-07-07 Jeff Johnston <jjohnstn@redhat.com>
5371
5372 * libc/include/stdbool.h: Removed as this is defined by gcc.
5373
0a447ef3
JJ
53742003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
5375
5376 * libc/include/stdbool.h: New header file defined by C99.
5377
282eff9a
JJ
53782003-07-02 Jeff Johnston <jjohnstn@redhat.com>
5379
5380 * libc/include/sys/types.h (int8_t): Make signed.
5381
4e989b11
JJ
53822003-07-02 Jeff Johnston <jjohnstn@redhat.com>
5383
5384 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
5385
07b40cf8
JJ
53862003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
5387
5388 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
5389 on if we actually created the shared memory file exclusively.
5390
7daa7891
JJ
53912003-06-27 Joe Vornehm <joev@mitre.org>
5392
5393 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
5394 comparisons to account for unsigned internal value w.
5395
51fa7562
JJ
53962003-06-26 Jeff Johnston <jjohnstn@redhat.com>
5397
5398 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
5399 wrbuf for a non-creating open.
5400
b8f7ea5c
JJ
54012003-06-24 Kazu Hirata <kazu@cs.umass.edu>
5402
5403 * libc/machine/h8300/setarch.h: New.
5404 * libc/machine/h8300/memcpy.S: Use it.
5405 * libc/machine/h8300/memset.S: Likewise.
5406 * libc/machine/h8300/reg_memcpy.S: Likewise.
5407 * libc/machine/h8300/reg_memset.S: Likewise.
5408 * libc/machine/h8300/setjmp.S: Likewise.
5409 * libc/machine/h8300/strcmp.S: Likewise.
5410
6d7ea52a
RS
54112003-06-24 Richard Sandiford <rsandifo@redhat.com>
5412
5413 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
5414 to atexit().
5415
5a74f2aa
JJ
54162003-06-20 Jeff Johnston <jjohnstn@redhat.com>
5417
5418 * configure.host (iq2000): Add tabs.
5419
8266e478
JJ
54202003-06-20 Jeff Johnston <jjohnstn@redhat.com>
5421
5422 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
5423 to handle latest on_exit change.
5424 * libc/sys/linux/Makefile.am: Remove special compilation
5425 for malloc.c and mcheck.c.
5426 * libc/sys/linux/Makefile.in: Regenerated.
5427 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
5428 after including <features.h>.
5429 * libc/sys/linux/mcheck.c: Ditto.
5430 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
5431 for <features.h>.
5432 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
5433 add -DNOT_IN_libc to C flags.
5434 * libc/sys/linux/intl/Makefile.in: Regenerated.
5435 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
5436 * libc/sys/linux/linuxthreads/semaphore.h: Include
5437 <bits/pthreadtypes.h>.
5438 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
5439 including <features.h>.
5440 * libc/sys/linux/sys/lock.h: Ditto.
5441
0efe117b
NC
54422003-06-11 Nick Clifton <nickc@redhat.com>
5443
5444 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
5445 _on_exit_args_ptr.
5446
bfdfd7e6 54472003-06-10 Stan Cox <scox@redhat.com>
ba3ccd63 5448 Anthony Green <green@redhat.com>
17c0c97d 5449
bfdfd7e6
AG
5450 * configure.host: Add iq2000 support.
5451 * newlib/libc/include/machine/ieeefp.h: Ditto.
5452 * newlib/libc/include/machine/setjmp.h: Ditto.
5453 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
5454 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
5455 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
5456 libc/machine/iq2000/Makefile.in: New files.
5457
d9e4104b
RS
54582003-06-10 Richard Sandiford <rsandifo@redhat.com>
5459
5460 * libc/sys/h8300hms/setarch.h: New file.
5461 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
5462 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
5463 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
5464 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
5465
729d1ff9
JJ
54662003-06-06 Jeff Johnston <jjohnstn@redhat.com>
5467
ba3ccd63
EB
5468 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
5469 definition.
5470 * libc/argz/argz_add_sep.c: Ditto.
5471 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
5472 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
5473 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
5474 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
5475 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
5476 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
5477 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
5478 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
5479 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
5480 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
5481 * libc/posix/execl.c libc/posix/execle.c: Ditto.
5482 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
5483 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
5484 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
5485 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
5486 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
5487 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
5488 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
5489 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
5490 * libc/search/twalk.c libc/signal/signal.c: Ditto.
729d1ff9 5491
75d7d177 54922003-06-05 Nick Clifton <nickc@redhat.com>
17c0c97d 5493
75d7d177
NC
5494 * libc/include/sys/reent.h (struct _on_exit_args): New
5495 structure containing fields used by the on_exit() function.
ba3ccd63 5496 (struct _atexit): Include struct _on_exit_args. For
75d7d177
NC
5497 _REENT_SMALL do his via a pointer that is initialised when
5498 needed.
ba3ccd63 5499 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
75d7d177 5500 structure, if one has been allocated.
ba3ccd63 5501 * libc/stdlib/atexit.c (atexit): Update indirection to
75d7d177 5502 _fntypes field.
ba3ccd63 5503 * libc/stdlib/on_exit.c (on_exit): Indirect via the
75d7d177
NC
5504 _on_exit_args structure. For _REENT_SMALL, allocate a
5505 structure if one does not exist.
ba3ccd63 5506 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
75d7d177
NC
5507 structure.
5508
2129f283
JJ
55092003-06-04 Jeff Johnston <jjohnstn@redhat.com>
5510
5511 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
5512 * libc/sys/linux/net/Makefile.in: Regenerated.
5513
bf3bcac2
JJ
55142003-06-03 Jeff Johnston <jjohnstn@redhat.com>
5515
5516 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
5517 * libc/reent/fcntlr.c: Ditto.
5518 * libc/reent/fstat64r.c: Ditto.
5519 * libc/reent/linkr.c: Ditto.
5520 * libc/reent/lseek64r.c: Ditto.
5521 * libc/reent/lseekr.c: Ditto.
5522 * libc/reent/openr.c: Ditto.
5523 * libc/reent/readr.c: Ditto.
5524 * libc/reent/reent.c: Ditto.
5525 * libc/reent/sbrkr.c: Ditto.
5526 * libc/reent/signalr.c: Ditto.
5527 * libc/reent/signgam.c: Ditto.
5528 * libc/reent/statr.c: Ditto.
5529 * libc/reent/timer.c: Ditto.
5530 * libc/reent/unlinkr.c: Ditto.
5531 * libc/reent/writer.c: Ditto.
5532 * libc/syscalls/sysclose.c: Ditto.
5533 * libc/syscalls/sysexecve.c: Ditto.
5534 * libc/syscalls/sysfcntl.c: Ditto.
5535 * libc/syscalls/sysfork.c: Ditto.
5536 * libc/syscalls/sysfstat.c: Ditto.
5537 * libc/syscalls/sysgetpid.c: Ditto.
5538 * libc/syscalls/sysgettod.c: Ditto.
5539 * libc/syscalls/syskill.c: Ditto.
5540 * libc/syscalls/syslink.c: Ditto.
5541 * libc/syscalls/syslseek.c: Ditto.
5542 * libc/syscalls/sysopen.c: Ditto.
5543 * libc/syscalls/sysread.c: Ditto.
5544 * libc/syscalls/syssbrk.c: Ditto.
5545 * libc/syscalls/sysstat.c: Ditto.
5546 * libc/syscalls/systimes.c: Ditto.
5547 * libc/syscalls/sysunlink.c: Ditto.
5548 * libc/syscalls/syswait.c: Ditto.
5549 * libc/syscalls/syswrite.c: Ditto.
5550
702ceb23
JJ
55512003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
5552
5553 * libc/time/tzset_r.c: Change local variables that are
5554 set via sscanf using the %h format specifier to be unsigned short
5555 instead of int.
5556
102861c9
JJ
55572003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
5558
5559 * configure.host: Allow i[34567]86 variant.
5560 * configure.in: Likewise.
5561 * README: Likewise to the docs.
5562 * configure: Regenerated.
5563 * Makefile.in: Ditto.
5564
b359e82c
JJ
55652003-05-28 Jeff Johnston <jjohnstn@redhat.com>
5566 Tom Fitzsimmons <fitzsim@redhat.com>
5567
5568 * configure.in: Add iconvdata support for x86 linux.
5569 * configure: Regenerated.
17c0c97d 5570 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
b359e82c
JJ
5571 library, iconv, and linuxthreads support.
5572 * libc/sys/linux/configure.in: Ditto.
5573 * libc/sys/linux/Makefile.in: Regenerated.
5574 * libc/sys/linux/configure: Ditto.
5575 * iconvdata/EUC-JP.irreversible: New file.
5576 * iconvdata/Makefile.am: Ditto.
5577 * iconvdata/Makefile.in: Ditto.
5578 * iconvdata/SJIS.irreversible: Ditto.
5579 * iconvdata/aclocal.m4: Ditto.
5580 * iconvdata/configure: Ditto.
5581 * iconvdata/configure.in: Ditto.
5582 * iconvdata/dummy.c: Ditto.
5583 * iconvdata/euc-jp.c: Ditto.
5584 * iconvdata/gconv-modules: Ditto.
5585 * iconvdata/jis0201.c: Ditto.
5586 * iconvdata/jis0201.h: Ditto.
5587 * iconvdata/jis0208.c: Ditto.
5588 * iconvdata/jis0208.h: Ditto.
5589 * iconvdata/jis0212.c: Ditto.
5590 * iconvdata/jis0212.h: Ditto.
5591 * iconvdata/sjis.c: Ditto.
5592 * libc/include/errno.h: Protect definition of error_t.
5593 * libc/sys/linux/gethostid.c: New file.
5594 * libc/sys/linux/sethostid.c: Ditto.
5595 * libc/sys/linux/dl/Makefile.am: Ditto.
5596 * libc/sys/linux/dl/Makefile.in: Ditto.
5597 * libc/sys/linux/dl/abi-tag.h: Ditto.
5598 * libc/sys/linux/dl/atomicity.h: Ditto.
5599 * libc/sys/linux/dl/dl-addr.c: Ditto.
5600 * libc/sys/linux/dl/dl-cache.c: Ditto.
5601 * libc/sys/linux/dl/dl-cache.h: Ditto.
5602 * libc/sys/linux/dl/dl-close.c: Ditto.
5603 * libc/sys/linux/dl/dl-debug.c: Ditto.
5604 * libc/sys/linux/dl/dl-deps.c: Ditto.
5605 * libc/sys/linux/dl/dl-dst.h: Ditto.
5606 * libc/sys/linux/dl/dl-error.c: Ditto.
5607 * libc/sys/linux/dl/dl-fini.c: Ditto.
5608 * libc/sys/linux/dl/dl-init.c: Ditto.
5609 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
5610 * libc/sys/linux/dl/dl-libc.c: Ditto.
5611 * libc/sys/linux/dl/dl-librecon.h: Ditto.
5612 * libc/sys/linux/dl/dl-load.c: Ditto.
5613 * libc/sys/linux/dl/dl-lookup.c: Ditto.
5614 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
5615 * libc/sys/linux/dl/dl-minimal.c: Ditto.
5616 * libc/sys/linux/dl/dl-misc.c: Ditto.
5617 * libc/sys/linux/dl/dl-object.c: Ditto.
5618 * libc/sys/linux/dl/dl-open.c: Ditto.
5619 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
5620 * libc/sys/linux/dl/dl-profile.c: Ditto.
5621 * libc/sys/linux/dl/dl-profstub.c: Ditto.
5622 * libc/sys/linux/dl/dl-reloc.c: Ditto.
5623 * libc/sys/linux/dl/dl-runtime.c: Ditto.
5624 * libc/sys/linux/dl/dl-support.c: Ditto.
5625 * libc/sys/linux/dl/dl-sym.c: Ditto.
5626 * libc/sys/linux/dl/dl-version.c: Ditto.
5627 * libc/sys/linux/dl/dlfcn.h: Ditto.
5628 * libc/sys/linux/dl/do-lookup.h: Ditto.
5629 * libc/sys/linux/dl/do-rel.h: Ditto.
5630 * libc/sys/linux/dl/dynamic-link.h: Ditto.
5631 * libc/sys/linux/dl/kernel-features.h: Ditto.
5632 * libc/sys/linux/dl/ldsodefs.h: Ditto.
5633 * libc/sys/linux/dl/libintl.h: Ditto.
5634 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
5635 * libc/sys/linux/dl/unsecvars.h: Ditto.
5636 * libc/sys/linux/iconv/Makefile.am: Ditto.
5637 * libc/sys/linux/iconv/Makefile.in: Ditto.
5638 * libc/sys/linux/iconv/categories.def: Ditto.
5639 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
5640 * libc/sys/linux/iconv/gconv.c: Ditto.
5641 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
5642 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
5643 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
5644 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
5645 * libc/sys/linux/iconv/gconv_close.c: Ditto.
5646 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
5647 * libc/sys/linux/iconv/gconv_db.c: Ditto.
5648 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
5649 * libc/sys/linux/iconv/gconv_int.h: Ditto.
5650 * libc/sys/linux/iconv/gconv_open.c: Ditto.
5651 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
5652 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
5653 * libc/sys/linux/iconv/hash-string.h: Ditto.
5654 * libc/sys/linux/iconv/iconv.c: Ditto.
5655 * libc/sys/linux/iconv/iconv.h: Ditto.
5656 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
5657 * libc/sys/linux/iconv/iconv_close.c: Ditto.
5658 * libc/sys/linux/iconv/iconv_open.c: Ditto.
5659 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
5660 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
5661 * libc/sys/linux/iconv/loadinfo.h: Ditto.
5662 * libc/sys/linux/iconv/localeinfo.h: Ditto.
5663 * libc/sys/linux/iconv/loop.c: Ditto.
5664 * libc/sys/linux/iconv/skeleton.c: Ditto.
5665 * libc/sys/linux/iconv/strtab.c: Ditto.
5666 * libc/sys/linux/include/dl-hash.h: Ditto.
5667 * libc/sys/linux/include/dlfcn.h: Ditto.
5668 * libc/sys/linux/include/fnmatch.h: Ditto.
5669 * libc/sys/linux/include/gconv.h: Ditto.
5670 * libc/sys/linux/include/glob.h: Ditto.
5671 * libc/sys/linux/include/hesiod.h: Ditto.
5672 * libc/sys/linux/include/ifaddrs.h: Ditto.
5673 * libc/sys/linux/include/libc_private.h: Ditto.
5674 * libc/sys/linux/include/link.h: Ditto.
5675 * libc/sys/linux/include/namespace.h: Ditto.
5676 * libc/sys/linux/include/netconfig.h: Ditto.
5677 * libc/sys/linux/include/netdb.h: Ditto.
5678 * libc/sys/linux/include/nsswitch.h: Ditto.
5679 * libc/sys/linux/include/regex.h: Ditto.
5680 * libc/sys/linux/include/resolv.h: Ditto.
5681 * libc/sys/linux/include/rune.h: Ditto.
5682 * libc/sys/linux/include/runetype.h: Ditto.
5683 * libc/sys/linux/include/semaphore.h: Ditto.
5684 * libc/sys/linux/include/setlocale.h: Ditto.
5685 * libc/sys/linux/include/un-namespace.h: Ditto.
5686 * libc/sys/linux/include/wordexp.h: Ditto.
5687 * libc/sys/linux/include/arpa/ftp.h: Ditto.
5688 * libc/sys/linux/include/arpa/inet.h: Ditto.
5689 * libc/sys/linux/include/arpa/nameser.h: Ditto.
5690 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
5691 * libc/sys/linux/include/arpa/telnet.h: Ditto.
5692 * libc/sys/linux/include/arpa/tftp.h: Ditto.
5693 * libc/sys/linux/include/net/bpf.h: Ditto.
5694 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
5695 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
5696 * libc/sys/linux/include/net/bridge.h: Ditto.
5697 * libc/sys/linux/include/net/ethernet.h: Ditto.
5698 * libc/sys/linux/include/net/fddi.h: Ditto.
5699 * libc/sys/linux/include/net/if.h: Ditto.
5700 * libc/sys/linux/include/net/if_arc.h: Ditto.
5701 * libc/sys/linux/include/net/if_arp.h: Ditto.
5702 * libc/sys/linux/include/net/if_atm.h: Ditto.
5703 * libc/sys/linux/include/net/if_dl.h: Ditto.
5704 * libc/sys/linux/include/net/if_gif.h: Ditto.
5705 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
5706 * libc/sys/linux/include/net/if_llc.h: Ditto.
5707 * libc/sys/linux/include/net/if_media.h: Ditto.
5708 * libc/sys/linux/include/net/if_mib.h: Ditto.
5709 * libc/sys/linux/include/net/if_ppp.h: Ditto.
5710 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
5711 * libc/sys/linux/include/net/if_slvar.h: Ditto.
5712 * libc/sys/linux/include/net/if_sppp.h: Ditto.
5713 * libc/sys/linux/include/net/if_stf.h: Ditto.
5714 * libc/sys/linux/include/net/if_tap.h: Ditto.
5715 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
5716 * libc/sys/linux/include/net/if_tun.h: Ditto.
5717 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
5718 * libc/sys/linux/include/net/if_types.h: Ditto.
5719 * libc/sys/linux/include/net/if_var.h: Ditto.
5720 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
5721 * libc/sys/linux/include/net/intrq.h: Ditto.
5722 * libc/sys/linux/include/net/iso88025.h: Ditto.
5723 * libc/sys/linux/include/net/net_osdep.h: Ditto.
5724 * libc/sys/linux/include/net/netisr.h: Ditto.
5725 * libc/sys/linux/include/net/pfil.h: Ditto.
5726 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
5727 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
5728 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
5729 * libc/sys/linux/include/net/radix.h: Ditto.
5730 * libc/sys/linux/include/net/raw_cb.h: Ditto.
5731 * libc/sys/linux/include/net/route.h: Ditto.
5732 * libc/sys/linux/include/net/slcompress.h: Ditto.
5733 * libc/sys/linux/include/net/slip.h: Ditto.
5734 * libc/sys/linux/include/net/zlib.h: Ditto.
5735 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
5736 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
5737 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
5738 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
5739 * libc/sys/linux/include/netinet/igmp.h: Ditto.
5740 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
5741 * libc/sys/linux/include/netinet/in.h: Ditto.
5742 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
5743 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
5744 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
5745 * libc/sys/linux/include/netinet/in_var.h: Ditto.
5746 * libc/sys/linux/include/netinet/ip.h: Ditto.
5747 * libc/sys/linux/include/netinet/ip6.h: Ditto.
5748 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
5749 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
5750 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
5751 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
5752 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
5753 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
5754 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
5755 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
5756 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
5757 * libc/sys/linux/include/netinet/tcp.h: Ditto.
5758 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
5759 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
5760 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
5761 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
5762 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
5763 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
5764 * libc/sys/linux/include/netinet/udp.h: Ditto.
5765 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
5766 * libc/sys/linux/include/netinet6/ah.h: Ditto.
5767 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
5768 * libc/sys/linux/include/netinet6/esp.h: Ditto.
5769 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
5770 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
5771 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
5772 * libc/sys/linux/include/netinet6/in6.h: Ditto.
5773 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
5774 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
5775 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
5776 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
5777 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
5778 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
5779 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
5780 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
5781 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
5782 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
5783 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
5784 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
5785 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
5786 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
5787 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
5788 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
5789 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
5790 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
5791 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
5792 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
5793 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
5794 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
5795 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
5796 * libc/sys/linux/include/netns/idp.h: Ditto.
5797 * libc/sys/linux/include/netns/idp_var.h: Ditto.
5798 * libc/sys/linux/include/netns/ns.h: Ditto.
5799 * libc/sys/linux/include/netns/ns_error.h: Ditto.
5800 * libc/sys/linux/include/netns/ns_if.h: Ditto.
5801 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
5802 * libc/sys/linux/include/netns/sp.h: Ditto.
5803 * libc/sys/linux/include/netns/spidp.h: Ditto.
5804 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
5805 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
5806 * libc/sys/linux/include/netns/spp_var.h: Ditto.
5807 * libc/sys/linux/include/rpc/Makefile: Ditto.
5808 * libc/sys/linux/include/rpc/auth.h: Ditto.
5809 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
5810 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
5811 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
5812 * libc/sys/linux/include/rpc/clnt.h: Ditto.
5813 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
5814 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
5815 * libc/sys/linux/include/rpc/des.h: Ditto.
5816 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
5817 * libc/sys/linux/include/rpc/nettype.h: Ditto.
5818 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
5819 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
5820 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
5821 * libc/sys/linux/include/rpc/raw.h: Ditto.
5822 * libc/sys/linux/include/rpc/rpc.h: Ditto.
5823 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
5824 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
5825 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
5826 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
5827 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
5828 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
5829 * libc/sys/linux/include/rpc/svc.h: Ditto.
5830 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
5831 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
5832 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
5833 * libc/sys/linux/include/rpc/types.h: Ditto.
5834 * libc/sys/linux/include/rpc/xdr.h: Ditto.
5835 * libc/sys/linux/intl/Makefile.am: Ditto.
5836 * libc/sys/linux/intl/Makefile.in: Ditto.
5837 * libc/sys/linux/intl/bindtextdom.c: Ditto.
5838 * libc/sys/linux/intl/catgets.c: Ditto.
5839 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
5840 * libc/sys/linux/intl/config.h: Ditto.
5841 * libc/sys/linux/intl/dcgettext.c: Ditto.
5842 * libc/sys/linux/intl/dcigettext.c: Ditto.
5843 * libc/sys/linux/intl/dcngettext.c: Ditto.
5844 * libc/sys/linux/intl/dgettext.c: Ditto.
5845 * libc/sys/linux/intl/dngettext.c: Ditto.
5846 * libc/sys/linux/intl/explodename.c: Ditto.
5847 * libc/sys/linux/intl/finddomain.c: Ditto.
5848 * libc/sys/linux/intl/gettext.c: Ditto.
5849 * libc/sys/linux/intl/gettext.h: Ditto.
5850 * libc/sys/linux/intl/gettextP.h: Ditto.
5851 * libc/sys/linux/intl/hash-string.h: Ditto.
5852 * libc/sys/linux/intl/l10nflist.c: Ditto.
5853 * libc/sys/linux/intl/loadinfo.h: Ditto.
5854 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
5855 * libc/sys/linux/intl/locale.alias: Ditto.
5856 * libc/sys/linux/intl/localealias.c: Ditto.
5857 * libc/sys/linux/intl/ngettext.c: Ditto.
5858 * libc/sys/linux/intl/open_catalog.c: Ditto.
5859 * libc/sys/linux/intl/plural.c: Ditto.
5860 * libc/sys/linux/intl/plural.y: Ditto.
5861 * libc/sys/linux/intl/stpcpy.c: Ditto.
5862 * libc/sys/linux/intl/textdomain.c: Ditto.
5863 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
5864 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
5865 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
5866 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
5867 * libc/sys/linux/linuxthreads/attr.c: Ditto.
5868 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
5869 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
5870 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
5871 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
5872 * libc/sys/linux/linuxthreads/config.h: Ditto.
5873 * libc/sys/linux/linuxthreads/configure: Ditto.
5874 * libc/sys/linux/linuxthreads/configure.in: Ditto.
5875 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
5876 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
5877 * libc/sys/linux/linuxthreads/events.c: Ditto.
5878 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
5879 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
5880 * libc/sys/linux/linuxthreads/internals.h: Ditto.
5881 * libc/sys/linux/linuxthreads/join.c: Ditto.
5882 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
5883 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
5884 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
5885 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
5886 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
5887 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
5888 * libc/sys/linux/linuxthreads/manager.c: Ditto.
5889 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
5890 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
5891 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
5892 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
5893 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
5894 * libc/sys/linux/linuxthreads/prio.c: Ditto.
5895 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
5896 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
5897 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
5898 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
5899 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
5900 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
5901 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
5902 * libc/sys/linux/linuxthreads/queue.h: Ditto.
5903 * libc/sys/linux/linuxthreads/reent.c: Ditto.
5904 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
5905 * libc/sys/linux/linuxthreads/restart.h: Ditto.
5906 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
5907 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
5908 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
5909 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
5910 * libc/sys/linux/linuxthreads/signals.c: Ditto.
5911 * libc/sys/linux/linuxthreads/specific.c: Ditto.
5912 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
5913 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
5914 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
5915 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
5916 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
5917 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
5918 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
5919 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
5920 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
5921 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
5922 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
5923 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
5924 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
5925 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
5926 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
5927 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
5928 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
5929 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
5930 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
5931 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
5932 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
5933 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
5934 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
5935 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
5936 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
5937 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
5938 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
5939 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
5940 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
5941 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
5942 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
5943 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
5944 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
5945 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
5946 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
5947 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
5948 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
5949 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
5950 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
5951 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
5952 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
5953 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
5954 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
5955 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
5956 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
5957 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
5958 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
5959 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
5960 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
5961 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
5962 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
5963 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
5964 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
5965 * libc/sys/linux/linuxthreads/unload.c: Ditto.
5966 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
5967 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
5968 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
5969 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
5970 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
5971 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
5972 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
5973 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
5974 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
5975 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
5976 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
5977 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
5978 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
5979 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
5980 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
5981 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
5982 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
5983 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
5984 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
5985 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
5986 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
5987 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
5988 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
5989 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
5990 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
5991 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
5992 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
5993 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
5994 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
5995 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
5996 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
5997 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
5998 * libc/sys/linux/net/Makefile.am: Ditto.
5999 * libc/sys/linux/net/Makefile.in: Ditto.
6000 * libc/sys/linux/net/addr2ascii.3: Ditto.
6001 * libc/sys/linux/net/addr2ascii.c: Ditto.
6002 * libc/sys/linux/net/ascii2addr.c: Ditto.
6003 * libc/sys/linux/net/base64.c: Ditto.
6004 * libc/sys/linux/net/bindresvport.c: Ditto.
6005 * libc/sys/linux/net/byteorder.3: Ditto.
6006 * libc/sys/linux/net/ether_addr.c: Ditto.
6007 * libc/sys/linux/net/ethers.3: Ditto.
6008 * libc/sys/linux/net/getaddrinfo.3: Ditto.
6009 * libc/sys/linux/net/getaddrinfo.c: Ditto.
6010 * libc/sys/linux/net/gethostbydns.c: Ditto.
6011 * libc/sys/linux/net/gethostbyht.c: Ditto.
6012 * libc/sys/linux/net/gethostbyname.3: Ditto.
6013 * libc/sys/linux/net/gethostbynis.c: Ditto.
6014 * libc/sys/linux/net/gethostnamadr.c: Ditto.
6015 * libc/sys/linux/net/getifaddrs.3: Ditto.
6016 * libc/sys/linux/net/getifaddrs.c: Ditto.
6017 * libc/sys/linux/net/getipnodebyname.3: Ditto.
6018 * libc/sys/linux/net/getnameinfo.3: Ditto.
6019 * libc/sys/linux/net/getnameinfo.c: Ditto.
6020 * libc/sys/linux/net/getnetbydns.c: Ditto.
6021 * libc/sys/linux/net/getnetbyht.c: Ditto.
6022 * libc/sys/linux/net/getnetbynis.c: Ditto.
6023 * libc/sys/linux/net/getnetent.3: Ditto.
6024 * libc/sys/linux/net/getnetnamadr.c: Ditto.
6025 * libc/sys/linux/net/getproto.c: Ditto.
6026 * libc/sys/linux/net/getprotoent.3: Ditto.
6027 * libc/sys/linux/net/getprotoent.c: Ditto.
6028 * libc/sys/linux/net/getprotoname.c: Ditto.
6029 * libc/sys/linux/net/getservbyname.c: Ditto.
6030 * libc/sys/linux/net/getservbyport.c: Ditto.
6031 * libc/sys/linux/net/getservent.3: Ditto.
6032 * libc/sys/linux/net/getservent.c: Ditto.
6033 * libc/sys/linux/net/herror.c: Ditto.
6034 * libc/sys/linux/net/hesiod.3: Ditto.
6035 * libc/sys/linux/net/hesiod.c: Ditto.
6036 * libc/sys/linux/net/if_indextoname.3: Ditto.
6037 * libc/sys/linux/net/ifname.c: Ditto.
6038 * libc/sys/linux/net/inet.3: Ditto.
6039 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
6040 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
6041 * libc/sys/linux/net/inet_addr.c: Ditto.
6042 * libc/sys/linux/net/inet_lnaof.c: Ditto.
6043 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
6044 * libc/sys/linux/net/inet_net.3: Ditto.
6045 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
6046 * libc/sys/linux/net/inet_net_pton.c: Ditto.
6047 * libc/sys/linux/net/inet_neta.c: Ditto.
6048 * libc/sys/linux/net/inet_netof.c: Ditto.
6049 * libc/sys/linux/net/inet_network.c: Ditto.
6050 * libc/sys/linux/net/inet_ntoa.c: Ditto.
6051 * libc/sys/linux/net/inet_ntop.c: Ditto.
6052 * libc/sys/linux/net/inet_pton.c: Ditto.
6053 * libc/sys/linux/net/innetgr-stub.c: Ditto.
6054 * libc/sys/linux/net/ip6opt.c: Ditto.
6055 * libc/sys/linux/net/iso_addr.3: Ditto.
6056 * libc/sys/linux/net/iso_addr.c: Ditto.
6057 * libc/sys/linux/net/issetugid-stub.c: Ditto.
6058 * libc/sys/linux/net/linkaddr.3: Ditto.
6059 * libc/sys/linux/net/linkaddr.c: Ditto.
6060 * libc/sys/linux/net/map_v4v6.c: Ditto.
6061 * libc/sys/linux/net/name6.c: Ditto.
6062 * libc/sys/linux/net/namespace.h: Ditto.
6063 * libc/sys/linux/net/ns.3: Ditto.
6064 * libc/sys/linux/net/ns_addr.c: Ditto.
6065 * libc/sys/linux/net/ns_name.c: Ditto.
6066 * libc/sys/linux/net/ns_netint.c: Ditto.
6067 * libc/sys/linux/net/ns_ntoa.c: Ditto.
6068 * libc/sys/linux/net/ns_parse.c: Ditto.
6069 * libc/sys/linux/net/ns_print.c: Ditto.
6070 * libc/sys/linux/net/ns_ttl.c: Ditto.
6071 * libc/sys/linux/net/nsap_addr.c: Ditto.
6072 * libc/sys/linux/net/nsdispatch.3: Ditto.
6073 * libc/sys/linux/net/nsdispatch.c: Ditto.
6074 * libc/sys/linux/net/nslexer.c: Ditto.
6075 * libc/sys/linux/net/nslexer.l: Ditto.
6076 * libc/sys/linux/net/nsparser.c: Ditto.
6077 * libc/sys/linux/net/nsparser.h: Ditto.
6078 * libc/sys/linux/net/nsparser.y: Ditto.
6079 * libc/sys/linux/net/rcmd.3: Ditto.
6080 * libc/sys/linux/net/rcmd.c: Ditto.
6081 * libc/sys/linux/net/rcmdsh.3: Ditto.
6082 * libc/sys/linux/net/rcmdsh.c: Ditto.
6083 * libc/sys/linux/net/recv.c: Ditto.
6084 * libc/sys/linux/net/res_comp.c: Ditto.
6085 * libc/sys/linux/net/res_config.h: Ditto.
6086 * libc/sys/linux/net/res_data.c: Ditto.
6087 * libc/sys/linux/net/res_debug.c: Ditto.
6088 * libc/sys/linux/net/res_init.c: Ditto.
6089 * libc/sys/linux/net/res_mkquery.c: Ditto.
6090 * libc/sys/linux/net/res_mkupdate.c: Ditto.
6091 * libc/sys/linux/net/res_query.c: Ditto.
6092 * libc/sys/linux/net/res_send.c: Ditto.
6093 * libc/sys/linux/net/res_update.c: Ditto.
6094 * libc/sys/linux/net/resolver.3: Ditto.
6095 * libc/sys/linux/net/rthdr.c: Ditto.
6096 * libc/sys/linux/net/send.c: Ditto.
6097 * libc/sys/linux/net/un-namespace.h: Ditto.
6098 * libc/sys/linux/net/vars.c: Ditto.
6099 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
6100 * libc/sys/linux/stdlib/Makefile.am: Ditto.
6101 * libc/sys/linux/stdlib/Makefile.in: Ditto.
6102 * libc/sys/linux/stdlib/cclass.h: Ditto.
6103 * libc/sys/linux/stdlib/cname.h: Ditto.
6104 * libc/sys/linux/stdlib/collate.c: Ditto.
6105 * libc/sys/linux/stdlib/collate.h: Ditto.
6106 * libc/sys/linux/stdlib/collcmp.c: Ditto.
6107 * libc/sys/linux/stdlib/engine.c: Ditto.
6108 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
6109 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
6110 * libc/sys/linux/stdlib/glob.3: Ditto.
6111 * libc/sys/linux/stdlib/glob.c: Ditto.
6112 * libc/sys/linux/stdlib/reallocf.c: Ditto.
6113 * libc/sys/linux/stdlib/regcomp.c: Ditto.
6114 * libc/sys/linux/stdlib/regerror.c: Ditto.
6115 * libc/sys/linux/stdlib/regex.3: Ditto.
6116 * libc/sys/linux/stdlib/regex2.h: Ditto.
6117 * libc/sys/linux/stdlib/regexec.c: Ditto.
6118 * libc/sys/linux/stdlib/regfree.c: Ditto.
6119 * libc/sys/linux/stdlib/utils.h: Ditto.
6120 * libc/sys/linux/stdlib/wordexp.c: Ditto.
6121 * libc/sys/linux/stdlib/wordfree.c: Ditto.
6122 * libc/sys/linux/sys/dlfcn.h: Ditto.
6123 * libc/sys/linux/sys/elfclass.h: Ditto.
6124 * libc/sys/linux/sys/event.h: Ditto.
6125 * libc/sys/linux/sys/ioccom.h: Ditto.
6126 * libc/sys/linux/sys/libc-tsd.h: Ditto.
6127 * libc/sys/linux/sys/link.h: Ditto.
6128 * libc/sys/linux/sys/lock.h: Ditto.
6129 * libc/sys/linux/sys/param.h: Ditto.
6130 * libc/sys/linux/sys/socket.h: Ditto.
6131 * libc/sys/linux/sys/sockio.h: Ditto.
6132
17c0c97d 61332003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
82095e79 6134
17c0c97d 6135 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
82095e79
JJ
6136 normal mode
6137 * newlib/libc/machine/h8300/memset.S: Likewise
6138 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
6139 * newlib/lib/machine/h8300/reg_memset.S: Likewise
6140 * newlib/lib/machine/h8300/setjmp.S: Likewise
6141 * newlib/lib/machine/h8300/strcmp.S: Likewise
6142 * newlib/lib/sys/h8300hms/crt0.S: Likewise
6143
8a4b4764
CV
61442003-05-13 Corinna Vinschen <corinna@vinschen.de>
6145
6146 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
6147 * libc/include/stdio.h: Ditto.
6148 * libc/include/sys/config.h: Ditto.
6149 * libc/stdio/mktemp.c: Ditto.
6150
837e070f
CV
61512003-05-13 Corinna Vinschen <corinna@vinschen.de>
6152
6153 * libc/locale/ldpart.c (__part_load_locale): Substitute
6154 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
6155 * libc/search/hash.c (__hash_open): Ditto.
6156 (init_hash): Ditto.
6157 * libc/stdio/fseek.c (fseek): Ditto.
6158 * libc/stdio/makebuf.c (__smakebuf): Ditto.
6159 * libc/stdio/mktemp.c (_gettemp): Ditto.
6160
b47fcdf0
CV
61612003-05-12 Corinna Vinschen <corinna@vinschen.de>
6162
6163 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
6164
11e3a520
CV
61652003-05-12 Corinna Vinschen <corinna@vinschen.de>
6166
6167 * configure.host: Accomodate removing the libc/sys/cygwin dir.
6168 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
6169 if __CYGWIN_USE_BIG_TYPES__ is set.
6170 * libc/search/hash.c (__hash_open): Ditto.
6171 (init_hash): Ditto.
6172 * libc/stdio/fseek.c (fseek): Ditto.
6173 * libc/stdio/makebuf.c (__smakebuf): Ditto.
6174 * libc/stdio/mktemp.c (_gettemp): Ditto.
6175 * libc/sys/cygwin/Makefile.am: Remove.
6176 * libc/sys/cygwin/Makefile.in: Remove.
6177 * libc/sys/cygwin/aclocal.m4: Remove.
6178 * libc/sys/cygwin/configure: Remove.
6179 * libc/sys/cygwin/configure.in: Remove.
6180 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
6181 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
6182 directory.
6183 * libc/sys/cygwin/sys/param.h: Ditto.
6184 * libc/sys/cygwin/sys/utime.h: Ditto.
6185 * libc/sys/cygwin/sys/utmp.h: Ditto.
6186
d1b5e65b
CV
61872003-05-11 Corinna Vinschen <corinna@vinschen.de>
6188
6189 * libc/include/sys/types.h: Don't define key_t for Cygwin.
6190
ec48a953
CF
61912003-05-10 Christopher Faylor <cgf@redhat.com>
6192
6193 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
6194 64 bit inodes.
6195
a3cc5851
CV
61962003-05-09 Corinna Vinschen <corinna@vinschen.de>
6197
6198 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
6199 Include cygwin/config.h instead.
6200
57ff95d3
JJ
62012003-04-16 Jeff Johnston <jjohnstn@redhat.com>
6202
6203 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
6204 all code with #ifdef __SPE__ test.
6205 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
6206
cfd2c7be
CF
62072003-04-15 Chris January <chris@atomice.net>
6208
6209 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
6210 Cygwin.
6211
6f48c0ae
JR
62122003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
6213
6214 * libc/machine/sh/memset.S: Avoid clobbering volatile
6215 objects following a tiny to-be-set array in the same quadword.
6216
8f8d09c0
CV
62172001-04-09 Corinna Vinschen <corinna@vinschen.de>
6218
17c0c97d 6219 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
8f8d09c0
CV
6220 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
6221 * libc/string/Makefile.in: Regenerated.
6222 * libc/string/wcswidth.c: New file.
6223 * libc/string/wcwidth.c: New file.
6224 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
6225
40c3b2d0
JR
6226Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
6227
6228 * libc/machine/sh/memset.S: Fix problem with alloco region
6229 exceeding destination region for length >= 88 bytes, start
6230 & 0x16 == 0, end & 0x1f == 18.
6231
8ae6a3dd
CV
62322001-04-03 Corinna Vinschen <corinna@vinschen.de>
6233
6234 * libc/string/wcscoll.c: Fix comment.
6235
d122b1cc
CV
62362001-04-02 Corinna Vinschen <corinna@vinschen.de>
6237
6238 * libc/include/wchar.h: Add definition for wcscoll.
6239 * libc/string/Makefile.am: Add wcscoll.c.
6240 * libc/string/Makefile.in: Regenerated.
6241 * libc/string/wcscoll.c: New file.
17c0c97d 6242 * libc/string/wcstrings.tex: Add wcscoll.
d122b1cc 6243
31ee99a4
CV
62442003-04-01 Corinna Vinschen <corinna@vinschen.de>
6245
6246 * libc/stdio/sscanf.c: Update flags description.
6247 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
6248 type.
6249 (__svfscanf_r): Add 'hh' and 'll' handling.
6250
d78045ee
CV
62512003-04-01 Corinna Vinschen <corinna@vinschen.de>
6252
6253 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
6254 __d_position member to _off_t.
6255
e6bdc6c5
JJ
62562003-03-20 Jeff Johnston <jjohnstn@redhat.com>
6257
6258 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
6259 count all characters used to create number against maximum width.
6260 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
6261
e65d559e
JJ
62622003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
6263
6264 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
6265 support.
6266 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
6267 flag to support simulator only extensions.
6268
6b3bb52b
JJ
62692003-03-17 Bob Cassels <bcassels@abinitio.com>
6270
ba3ccd63 6271 * libc/string/wcschr.c: (wcschr): Look for character first,
6b3bb52b
JJ
6272 then for end of string, so you can do wcschr(x, '\0').
6273
17c0c97d 62742003-03-10 Corinna Vinschen <corinna@vinschen.de>
2a940c1a
CV
6275
6276 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
6277 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
6278 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
6279 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
6280 * libc/stdio/fseeko.c (fseeko): Ditto.
6281 * libc/stdio/ftello.c (ftello): Ditto.
6282 * libc/stdio/stdio.c (__swrite): Ditto.
6283 (__sseek): Ditto.
6284 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
6285 * libc/stdio/fseek.c (fseek): Ditto.
6286 * libc/stdio/fsetpos.c (fsetpos): Ditto.
6287 * libc/stdio/ftell.c (ftell): Ditto.
6288 * libc/stdio/local.h: Declare __sseek using _off_t.
6289
150c2818
CV
62902003-03-09 Corinna Vinschen <corinna@vinschen.de>
6291
6292 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
6293
2c440f9c
CV
62942003-03-09 Corinna Vinschen <corinna@vinschen.de>
6295
6296 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
6297 Cygwin.
6298
f882fd15
CV
62992003-03-09 Corinna Vinschen <corinna@vinschen.de>
6300
6301 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
6302 Cygwin.
6303 * libc/include/sys/stat.h: Ditto.
6304 * libc/include/sys/unistd.h: Ditto.
6305 * libc/sys/cygwin/sys/dirent.h: Ditto.
6306
01d61543
CF
63072003-03-07 Christopher Faylor <cgf@redhat.com>
6308
6309 * libc/include/sys/unistd.h: Guard getopt.h call to force only
6310 declaration of getopt and avoid getopt_long declaration.
6311 * libc/sys/cygwin/include/unistd.h: Remove.
6312
5582abd2
CV
63132003-03-07 Corinna Vinschen <corinna@vinschen.de>
6314
6315 * configure.host: Define stdio64_dir for Cygwin.
6316 * libc/include/stdio.h: Change definition of fpos_t to fulfill
6317 Cygwin 64bit file access requirements.
6318 Drop definition of f*64() functions when compiled for Cygwin.
6319 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
6320 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
6321 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
6322
641da1eb
JJ
63232003-03-07 Jeff Johnston <jjohnstn@redhat.com>
6324
6325 * libc/include/sys/reent.h: Remove extraneous _sig_func
6326 declaration.
6327
63282003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
41a639de
JJ
6329
6330 * libc/sys/h8300hms/Makefile.am: Add support for new files.
6331 * libc/sys/h8300hms/Makefile.in: Regenerated.
6332 * libc/sys/h8300hms/close.S: New file.
6333 * libc/sys/h8300hms/fstat.S: Ditto.
6334 * libc/sys/h8300hms/lseek.S: Ditto.
6335 * libc/sys/h8300hms/open.S: Ditto.
6336 * libc/sys/h8300hms/stat.S: Ditto.
6337 * libc/sys/h8300hms/read.S: New file to replace read.c.
6338 * libc/sys/h8300hms/read.c: Removed.
6339 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
6340 _lseek, _close, _stat, _fstat.
6341 * libc/sys/h8300hms/write.S: New file to replace write.c.
6342 * libc/sys/h8300hms/write.c: Removed.
6343
bac50d6b
NC
63442003-02-20 Nick Clifton <nickc@redhat.com>
6345
6346 * Add support for Cirrus Maverick ARM co-processor:
17c0c97d 6347
bac50d6b
NC
6348 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
6349
6350 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
6351 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
6352
6353 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
6354
6355 * configure.host: set sys_dir, syscall_dir, and
6356 newlib_cflags for ep9312 host.
6357
ba3ccd63 6358 * configure.host: Restore alpha sorting of entries in case
bac50d6b
NC
6359 statements.
6360
12ee7037
JJ
63612003-02-19 Jeff Johnston <jjohnstn@redhat.com>
6362
ba3ccd63 6363 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
12ee7037 6364
1e810ba0
JJ
63652003-02-18 Christian Groessler <chris@groessler.org>
6366
6367 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
6368 support z8001 segmented mode.
6369
b1ca765e
JJ
63702003-02-18 Earnie Boyd <earnie@users.sf.net>
6371
6372 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
6373 with a NULL value.
6374
51a46b54
CF
63752003-02-10 Christopher Faylor <cgf@redhat.com>
6376
6377 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
6378 Don't define some types under cygwin.
6379
313f1349
JJ
63802003-02-07 Jeff Johnston <jjohnstn@redhat.com>
6381
17c0c97d 6382 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
313f1349
JJ
6383 option to allow disabling of syscalls being supplied in newlib.
6384 * aclocal.m4: Regenerated.
6385 * configure: Ditto.
6386 * configure.host: Add support of new configuration option and add
6387 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
6388 * doc/aclocal.m4: Regenerated.
6389 * doc/configure: Ditto.
6390 * libc/*aclocal.m4: Ditto.
6391 * libc/*configure: Ditto.
6392 * libm/*aclocal.m4: Ditto.
6393 * libm/*configure: Ditto.
6394 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
6395 is disabled.
6396 * libc/sys/arm/Makefile.in: Regenerated.
6397
5017a3da
JJ
63982003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
6399
6400 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
6401 -1 to be sure it cannot later match a valid file fd causing
6402 isatty() to return 1.
6403 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
6404 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
6405 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
6406
ad36f7d1
JJ
64072003-02-03 Jeff Johnston <jjohnstn@redhat.com>
6408
6409 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
17c0c97d
EB
6410 buffer based on the precision, after we have processed the input value
6411 in a local buffer and know its relative magnitude.
ad36f7d1 6412
a74181ee
JJ
64132003-01-31 Michael Snyder <msnyder@redhat.com>
6414
6415 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
6416 into registers r1 and r2, so that the simulator can distinguish
6417 this trap from a breakpoint trap. Copied from libgloss.
6418
b85498d4
JJ
64192003-01-31 Michael Snyder <msnyder@redhat.com>
6420
6421 * libc/sys/h8300hms/crt0.S (_start): Change local label
6422 from .loop to .Loop, so that ld and gdb will ignore it.
6423
4700b829
JJ
64242003-01-29 Jason Tishler <jason@tishler.net>
6425
6426 * libc/include/time.h: Declare nanosleep() under Cygwin.
6427
0127ae40
NC
64282003-01-24 Nick Clifton <nickc@redhat.com>
6429
6430 * Add sh2e support:
6431
6432 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
6433
6434 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
6435 * libc/machine/sh/setjmp.S: Likewise.
6436 * libc/include/machine/ieeefp.h: Likewise.
6437
8bbcd9a1
CV
64382003-01-24 Corinna Vinschen <corinna@vinschen.de>
6439
6440 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
6441 for Cygwin.
6442
b8838e6f 64432003-01-21 Anita Kulkarni <anitak@kpit.com>
17c0c97d 6444
b8838e6f
JJ
6445 * libc/time/difftime.c : Typecast the result to double.
6446
f9e41155
CF
64472003-01-20 Christopher Faylor <cgf@redhat.com>
6448
6449 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
6450
6b5a7988
NC
64512003-01-18 Nick Clifton <nickc@redhat.com>
6452
6453 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
6454 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
6455
c3e92877
JJ
64562003-01-16 Joel Sherrill <joel@OARcorp.com>
6457
ba3ccd63
EB
6458 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
6459 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
6460 constants are defined in each file in the shared versions in
6461 libc/include.
6462 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
6463 autoconf can link programs.
6464 * libc/include/machine/types.h: Explicitly specify signed on
6465 intXX_t types to ensure they are signed.
c3e92877 6466
84510217
CF
64672003-01-14 Christopher Faylor <cgf@redhat.com>
6468
6469 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
6470 extensions.
6471
b3934ab3
RS
64722003-01-08 Richard Sandiford <rsandifo@redhat.com>
6473
6474 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
6475
be9c60e5
JJ
64762003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
6477
6478 * libc/stdio/sprintf.c: fix typo
6479 * libc/stdio/vfprintf.c: fix typo
6480
d4c3a750
JJ
64812003-01-07 Jeff Johnston <jjohnstn@redhat.com>
6482
6483 * configure.host: Support long double I/O for x86-linux.
6484 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
6485 large enough to hold formatted result.
6486 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
6487
b2294aaa
JJ
64882003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
6489
6490 * Makefile.am: Add vasprintf.
6491 * Makefile.in: Regenerated.
6492
ea5e5daf
JJ
64932003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
6494
6495 * asprintf.c (_asprintf_r): insure both declarations
6496 are the same.
6497
5c581eca
CF
64982002-12-28 Christopher Faylor <cgf@redhat.com>
6499
6500 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
6501 than defining getopt directly.
6502
60b0838f
JJ
65032002-12-20 Jeff Johnston <jjohnstn@redhat.com>
6504
6505 * NEWS: Update with 1.11.0 info.
6506 * README: Ditto.
6507 * acinclude.m4: Change version number to 1.11.0.
6508 * aclocal.m4: Regenerated.
6509 * configure: Ditto.
6510 * doc/aclocal.m4: Ditto.
6511 * doc/configure: Ditto.
6512 * libc/*/aclocal.m4: Ditto.
6513 * libc/*/configure: Ditto.
6514 * libc/libc.texinfo: Ditto.
6515 * libm/*/aclocal.m4: Ditto.
6516 * libm/*/configure: Ditto.
6517 * libm/libm.texinfo: Ditto.
6518 * libc/sys/linux/shared.ld: Add VERS_1.11.
6519
10501d57
JJ
65202002-12-20 Jeff Johnston <jjohnstn@redhat.com>
6521
6522 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
6523 Solutions to Red Hat Inc.
6524 * libc/machine/i386/f_atan2f.S: Ditto.
6525 * libc/machine/i386/f_exp.c: Ditto.
6526 * libc/machine/i386/f_expf.c: Ditto.
6527 * libc/machine/i386/f_frexp.S: Ditto.
6528 * libc/machine/i386/f_frexpf.S: Ditto.
6529 * libc/machine/i386/f_ldexp.S: Ditto.
6530 * libc/machine/i386/f_ldexpf.S: Ditto.
6531 * libc/machine/i386/f_log.S: Ditto.
6532 * libc/machine/i386/f_log10.S: Ditto.
6533 * libc/machine/i386/f_log10f.S: Ditto.
6534 * libc/machine/i386/f_logf.S: Ditto.
6535 * libc/machine/i386/f_pow.c: Ditto.
6536 * libc/machine/i386/f_powf.c: Ditto.
6537 * libc/machine/i386/f_tan.S: Ditto.
6538 * libc/machine/i386/f_tanf.S: Ditto.
6539 * libc/machine/i386/memchr.S: Ditto.
6540 * libc/machine/i386/memcmp.S: Ditto.
6541 * libc/machine/i386/memcpy.S: Ditto.
6542 * libc/machine/i386/memmove.S: Ditto.
6543 * libc/machine/i386/memset.S: Ditto.
6544 * libc/machine/i386/strchr.S: Ditto.
6545 * libc/machine/i386/strlen.S: Ditto.
6546 * libm/machine/i386/f_atan2.S: Ditto.
6547 * libm/machine/i386/f_atan2f.S: Ditto.
6548 * libm/machine/i386/f_exp.c: Ditto.
6549 * libm/machine/i386/f_expf.c: Ditto.
6550 * libm/machine/i386/f_frexp.S: Ditto.
6551 * libm/machine/i386/f_frexpf.S: Ditto.
6552 * libm/machine/i386/f_ldexp.S: Ditto.
6553 * libm/machine/i386/f_ldexpf.S: Ditto.
6554 * libm/machine/i386/f_log.S: Ditto.
6555 * libm/machine/i386/f_log10.S: Ditto.
6556 * libm/machine/i386/f_log10f.S: Ditto.
6557 * libm/machine/i386/f_logf.S: Ditto.
6558 * libm/machine/i386/f_pow.c: Ditto.
6559 * libm/machine/i386/f_powf.c: Ditto.
6560 * libm/machine/i386/f_tan.S: Ditto.
6561 * libm/machine/i386/f_tanf.S: Ditto.
6562
9b3f0d16
JJ
65632002-12-20 Jeff Johnston <jjohnstn@redhat.com>
6564
6565 * libc/stdlib/environ.c: Update license to Red Hat.
6566 * libc/machine/hppa/setjmp.S: Ditto.
6567 * libm/test/Makefile.in: Ditto.
6568
d693ad84
JJ
65692002-12-19 Jeff Johnston <jjohnstn@redhat.com>
6570
6571 * configure.host: Remove references to go32.
6572 * libc/sys/go32/*: Removed.
6573
7da92d15
JJ
65742002-12-16 Kazu Hirata <kazu@cs.umass.edu>
6575
6576 * libc/include/sys/config.h: Change setting of INT_MAX
6577 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
6578 __H8300S__. Also consolidate flag settings for these
6579 platforms.
6580
ea01c7f5
JJ
65812002-12-10 Joel Sherrill <joel@OARcorp.com>
6582
6583 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
6584 for i386-rtems targets.
6585
c049dd5a
JJ
65862002-12-06 Jeff Johnston <jjohnstn@redhat.com>
6587
6588 * libc/include/stdlib.h (strtof): New prototype (from C99).
6589 (strtodf): Changed from prototype to macro which redefines
6590 to strtof.
6591 * libc/stdlib/atof.c: Change documentation to refer to strtof
6592 instead of strtodf.
6593 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
6594 strtodf.
6595 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
6596 (strtof): New function.
6597 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
6598 calls strtof.
6599
46a402e0
CF
66002002-11-27 Christopher Faylor <cgf@redhat.com>
6601
6602 * libc/string/memset.c (memset): Fix comment.
6603
b3cc01b0
CF
66042002-11-26 Christopher Faylor <cgf@redhat.com>
6605
6606 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
6607 function.
6608
d90f3dc1
CF
66092002-11-25 Christopher Faylor <cgf@redhat.com>
6610
6611 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
6612 variable, introduced below, everywhere.
6613
f24585c6
KH
66142002-11-25 Kazu Hirata <kazu@cs.umass.edu>
6615
6616 * libc/string/memset.c (memset): Make it safe even if
6617 sizeof (int) = 2.
6618
2955fd76
JJ
66192002-11-22 Joe Buehler <jbuehler@hekimian.com>
6620
6621 * configure.in: Change check for libc/include in ${CC} to
6622 use an intermediate value so as to work with different shells.
6623 * configure: Regenerated.
6624 * Makefile.in: Ditto.
6625
40ce7368
JJ
66262002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
6627
6628 * libc/sys/h8300hms/read.c: Add support for normal mode
6629 architecture.
6630
505746ad
JJ
66312002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
6632
6633 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
6634 code for __H8300H__ and __H8300S__. Also return 32-bit return code
6635 when -mint32 is used.
6636
28ecb2f5
NC
66372002-11-18 Nick Clifton <nickc@redhat.com>
6638
6639 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
6640
665b994e
JJ
66412002-11-14 Jeff Johnston <jjohnstn@redhat.com>
6642
ba3ccd63
EB
6643 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
6644 only issue one pass/fail message for a compile/link/execute.
6645 * testsuite/newlib.elix/elix.exp: New file.
6646 * testsuite/newlib.elix/tmmap.c: Ditto.
665b994e 6647
e91ec2e3
CF
66482002-11-06 Christopher Faylor <cgf@redhat.com>
6649
6650 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
6651 * libc/stdlib/mlock.c: Ditto.
6652 * libc/stdlib/msize.c: Ditto.
6653 * libc/stdlib/msize.c: Ditto.
6654 * libc/stdlib/mtrim.c: Ditto.
6655 * libc/stdlib/valloc.c: Ditto.
6656
944772c7
JJ
66572002-11-12 Jeff Johnston <jjohnstn@redhat.com>
6658
ba3ccd63
EB
6659 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
6660 for inf/nan, make sure that the check ignores the sign bit.
944772c7 6661
dd7ee147
JJ
66622002-11-07 Joel Sherrill <joel@OARcorp.com>
6663
ba3ccd63
EB
6664 * libc/sys/rtems/machine: New directory.
6665 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
6666 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
6667 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
6668 targets more BSD like when installed without requiring files to
6669 be overwritten at install point when RTEMS itself is installed.
6670 * Makefile.am: Pick up system dependent machine .h files such as
6671 might be found on a BSD-ish system.
6672 * Makefile.in: Regenerate.
6673 * libc/include/machine/types.h: When on an RTEMS target, define a
6674 few BSD flavor types.
dd7ee147
JJ
6675
66762002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
503430d8
CF
6677
6678 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
6679
18cd62b7
JJ
66802002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
6681
ba3ccd63
EB
6682 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
6683 * libc/include/wctype.h: Ditto.
18cd62b7 6684
d2888812
JJ
66852002-11-04 Jeff Johnston <jjohnstn@redhat.com>
6686
ba3ccd63
EB
6687 * libc/include/wchar.h: Add extern "C" specifier if C++.
6688 * libc/include/wctype.h: Ditto.
d2888812 6689
978ea3cf
JJ
66902002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6691
ba3ccd63
EB
6692 * testsuite/newlib.wctype/tiswctype.c: New test case.
6693 * testsuite/newlib.wctype/twctrans.c: Ditto.
978ea3cf 6694
a42cf80a
JJ
66952002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6696
ba3ccd63
EB
6697 * libc/sys/linux/machine/i386/include/endian.h: New file.
6698 * libc/sys/linux/machine/i386/include/param.h: Ditto.
a42cf80a 6699
c9ccb1f2
JJ
67002002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6701
6702 * libm/machine/i386/aclocal.m4: Regenerated.
6703 * libm/machine/i386/configure: Ditto.
6704
94c5b430
JJ
67052002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6706
ba3ccd63
EB
6707 * testsuite/include/check.h: New header file to use with
6708 test cases.
6709 * testsuite/lib/newlib.exp: Add testsuite/include directory
6710 to list of header files to use.
6711 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
6712 * testsuite/newlib.wctype/wctype.exp: New file.
94c5b430 6713
ccdae543
RS
67142002-10-11 Graham Stott <graham.stott@btinternet.com>
6715 Richard Sandiford <rsandifo@redhat.com>
f770cf44
RS
6716
6717 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
6718 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
6719 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
6720
73972116
JS
67212002-10-07 Joel Sherrill <joel@OARcorp.com>
6722
6723 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
6724 dummy programs.
6725
89e3fcba
JS
67262002-10-07 Joel Sherrill <joel@OARcorp.com>
6727
6728 * libc/include/pthread.h: Define PTHREAD_CANCELED.
6729
54ec52e4
JS
67302002-10-07 Joel Sherrill <joel@OARcorp.com>
6731
6732 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
6733 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
6734 compile with current GNU tools.
6735
d389acba
JJ
67362002-10-07 Jeff Johnston <jjohnstn@redhat.com>
6737
6738 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
6739 the build library.
6740 * configure.in: Ditto.
6741 * Makefile.in: Regenerated.
6742 * configure: Ditto.
6743 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
6744 for specifying configured libraries/directories.
6745 * libc/sys/linux/configure.in: Ditto.
6746 * libc/sys/linux/Makefile.in: Regenerated.
6747 * libc/sys/linux/configure: Ditto.
6748
af5a221f
JJ
67492002-10-03 Jeff Johnston <jjohnstn@redhat.com>
6750
6751 * libc/include/reent.h: Update documentation at start of file.
6752
59a758bd
JW
67532002-09-27 Jim Wilson <wilson@redhat.com>
6754
6755 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
6756 the ctbp register.
6757
1ed3c86d
JJ
67582002-09-27 Jeff Johnston <jjohnstn@redhat.com>
6759
6760 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
6761 Also convert to EUCJP before using arrays. For values not in
6762 the conversion arrays, return WEOF.
6763 * libc/ctype/jp2uc.h: Change from one array to a number of
6764 arrays to account for the fact that the originating table
6765 is not contiguous for the input values since some are invalid.
6766
6e1dfd2d
JJ
67672002-09-24 Jeff Johnston <jjohnstn@redhat.com>
6768
6769 * libc/time/ctime.c: Fix prototype documentation.
6770
06f1353a
CV
67712002-09-24 Corinna Vinschen <corinna@vinschen.de>
6772
6773 * libc/include/sys/errno.h: Add EOVERFLOW.
6774
1e0e64c9
JJ
67752002-09-20 Jeff Johnston <jjohnstn@redhat.com>
6776
6777 * libc/include/wctype.h: New file.
6778
1525d127
JJ
67792002-09-20 Jeff Johnston <jjohnstn@redhat.com>
6780
ba3ccd63
EB
6781 * libc/ctype/Makefile.am: Add new files.
6782 * libc/ctype/Makefile.in: Regenerated.
6783 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
6784 and wctrans functions to documentation index.
6785 * libc/ctype/iswalnum.c: New file.
6786 * libc/ctype/iswalpha.c: Ditto.
6787 * libc/ctype/iswblank.c: Ditto.
6788 * libc/ctype/iswcntrl.c: Ditto.
6789 * libc/ctype/iswctype.c: Ditto.
6790 * libc/ctype/iswdigit.c: Ditto.
6791 * libc/ctype/iswgraph.c: Ditto.
6792 * libc/ctype/iswlower.c: Ditto.
6793 * libc/ctype/iswprint.c: Ditto.
6794 * libc/ctype/iswpunct.c: Ditto.
6795 * libc/ctype/iswspace.c: Ditto.
6796 * libc/ctype/iswupper.c: Ditto.
6797 * libc/ctype/iswxdigit.c: Ditto.
6798 * libc/ctype/jp2uc.c: Ditto.
6799 * libc/ctype/jp2uc.h: Ditto.
6800 * libc/ctype/local.h: Ditto.
6801 * libc/ctype/towctrans.c: Ditto.
6802 * libc/ctype/towlower.c: Ditto.
6803 * libc/ctype/towupper.c: Ditto.
6804 * libc/ctype/utf8alpha.h: Ditto.
6805 * libc/ctype/utf8print.h: Ditto.
6806 * libc/ctype/utf8punct.h: Ditto.
6807 * libc/ctype/wctrans.c: Ditto.
6808 * libc/ctype/wctype.c: Ditto.
6809 * libc/locale/locale.c (__lc_ctype): New external array to
6810 replace static lc_ctype array.
6811 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
6812 rather than reentrancy structure's _current_locale field.
6813 * libc/stdlib/wctomb_r.c: Ditto.
1525d127 6814
da25e61f
JJ
68152002-09-20 Jeff Johnston <jjohnstn@redhat.com>
6816
6817 * configure.host: Minor comment and formatting changes.
6818 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
6819 * libc/Makefile.in: Regenerated.
6820 * libc/include/sys/config.h: Minor format change.
6821
5b9ee539
JJ
68222002-09-19 Jeff Johnston <jjohnstn@redhat.com>
6823
6824 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
6825 statement comment.
6826
50558bf3
JJ
68272002-09-19 Jeff Johnston <jjohnstn@redhat.com>
6828
6829 * libc/posix/opendir.c (opendir): Change code to check
6830 for HAVE_FCNTL before calling fcntl.
6831 * libc/search/hash.c (hash_open): Ditto.
6832 * libc/search/hash_page.c (open_tmp): Ditto.
6833 * libc/reent/Makefile.am: Add fcntlr.c.
6834 * libc/reent/Makefile.in: Regenerated.
6835 * libc/reent/fcntlr.c: New file.
6836 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
6837 instead of _fcntl when HAVE_FCNTL flag is set.
6838 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
6839 to see if _fcntl or _fcntl_r should be called. If flag is not
6840 set, default to ENOSYS stub.
6841
9211a1ad
JJ
68422002-09-16 Jeff Johnston <jjohnstn@redhat.com>
6843
6844 * libc/include/wchar.h (mbstate_t): Change protective flag to
6845 be _MBSTATE_T.
6846 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
6847 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
6848 for Cygwin.
6849 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
6850
a8615092
JJ
68512002-09-11 Jeff Johnston <jjohnstn@redhat.com>
6852
ba3ccd63
EB
6853 * acinclude.m4 (enable-newlib-mb): Change check to
6854 default newlib_mb variable to empty string rather than "no".
6855 * configure.host: Remove hard-coding of -DMB_CAPABLE for
6856 x86-linux and Cygwin. Add code to check for newlib_mb
6857 being unset in which case set to "yes" for x86-linux and
6858 Cygwin. Change check for newlib_mb being "yes" to allow
6859 for an empty string.
6860 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
6861 * newlib.hin (_MB_LEN_MAX): New define to configure.
6862 * aclocal.m4: Regenerated.
6863 * configure: Ditto.
6864 * libc/include/limits.h: New file.
6865 * libc/sys/linux/include/limits.h: Ditto.
6866 * doc/aclocal.m4 doc/configure libc/aclocal.m4
6867 libc/configure libc/machine/aclocal.m4
6868 libc/machine/configure libc/machine/a29k/aclocal.m4
6869 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
6870 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
6871 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
6872 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
6873 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
6874 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
6875 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
6876 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
6877 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
6878 libc/machine/i386/configure libc/machine/i960/aclocal.m4
6879 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
6880 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
6881 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
6882 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
6883 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
6884 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
6885 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
6886 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
6887 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
6888 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
6889 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
6890 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
6891 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
6892 libc/machine/v850/configure libc/machine/w65/aclocal.m4
6893 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
6894 libc/machine/xscale/configure
6895 libc/machine/xstormy16/aclocal.m4
6896 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
6897 libc/machine/z8k/configure libc/sys/aclocal.m4
6898 libc/sys/configure libc/sys/a29khif/aclocal.m4
6899 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
6900 libc/sys/arc/configure libc/sys/arm/aclocal.m4
6901 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
6902 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
6903 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
6904 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
6905 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
6906 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
6907 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
6908 libc/sys/idt/configure libc/sys/linux/aclocal.m4
6909 libc/sys/linux/configure
6910 libc/sys/linux/machine/aclocal.m4
6911 libc/sys/linux/machine/configure
6912 libc/sys/linux/machine/i386/aclocal.m4
6913 libc/sys/linux/machine/i386/configure
6914 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
6915 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
6916 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
6917 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
6918 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
6919 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
6920 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
6921 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
6922 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
6923 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
6924 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
6925 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
6926 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
6927 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
6928 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
6929 libm/aclocal.m4 libm/configure: Regenerated.
a8615092 6930
be83844e
JJ
69312002-09-09 Jeff Johnston <jjohnstn@redhat.com>
6932
ba3ccd63
EB
6933 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
6934 code that clears the .bss section.
be83844e 6935
9c64d2a7
JJ
69362002-09-09 Jeff Johnston <jjohnstn@redhat.com>
6937
ba3ccd63
EB
6938 * libc/include/sys/_types.h (_mbstate_t): Changed to use
6939 unsigned char internally.
6940 * libc/sys/linux/sys/_types.h: Ditto.
6941 * libc/include/sys/reent.h
6942 * libc/stdlib/mblen.c (mblen): Use function-specific state
6943 value from default reentrancy structure.
6944 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
6945 _mbtowc_r is less than 0, reset state __count value and
6946 return -1.
6947 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
6948 is NULL, use the function-specific pointer provided in the
6949 default reentrancy structure.
6950 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
6951 If input state pointer is NULL, use function-specific area
6952 provided in reentrancy structure.
6953 * libc/stdlib/mbsrtowcs.c: Ditto.
6954 * libc/stdlib/wcrtomb.c: Ditto.
6955 * libc/stdlib/wcsrtombs.c: Ditto.
6956 * libc/stdlib/mbstowcs.c: Reformat.
6957 * libc/stdlib/wcstombs.c: Ditto.
6958 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
6959 reset the state's __count value and return -1.
6960 * libc/stdlib/mbtowc.c: Ditto.
6961 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
6962 If number of bytes is used up before completing a valid multibyte
6963 character, return -2 and save the state.
6964 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
6965 and change some __count references to __state for clarity.
9c64d2a7 6966
218b7a56
JJ
69672002-09-06 Jeff Johnston <jjohnstn@redhat.com>
6968
6969 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
6970 is defined by <limits.h>.
6971
c210a6ea
JJ
69722002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
6973
6974 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
6975 defined.
6976
efa077ce
JJ
69772002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
6978
ba3ccd63
EB
6979 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
6980 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
6981 __WCHAR_MAX__ or 0x7fffffffu.
6982 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
6983 * libc/string/wcsncmp.c: Ditto.
efa077ce 6984
e4b0ebc1
JJ
69852002-09-03 Jeff Johnston <jjohnstn@redhat.com>
6986
6987 * libc/string/wcschr.c: Add include of <stddef.h>.
6988 * libc/string/wcspbrk.c: Ditto.
6989 * libc/string/wcsrchr.c: Ditto.
6990 * libc/string/wcsstr.c: Ditto.
6991
3db40db7
JJ
69922002-09-03 Jeff Johnston <jjohnstn@redhat.com>
6993
ba3ccd63
EB
6994 * libc/include/sys/_types.h (_flock_t): Added.
6995 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
6996 (__lock_try_acquire_recursive): Ditto.
6997 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
6998 _lock field.
6999 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
7000 field.
7001 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
7002 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
7003 * libc/sys/linux/include/time.h (struct timespec): Moved from
7004 <sys/types.h> and added check for __need_timespec flag so type
7005 can be defined by itself.
7006 * libc/sys/linux/sys/_types.h (_flock_t): New type.
7007 * libc/sys/linux/sys/types.h (struct timespec): Moved to
7008 <time.h>.
3db40db7 7009
cd45f029
TF
70102002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
7011
7012 * libc/sys/linux/argp: New directory.
7013 * libc/sys/linux/getopt.c: New file.
7014 * libc/sys/linux/getopt1.c: New file.
7015 * libc/sys/linux/getoptlong.c: Remove file.
7016 * libc/sys/linux/include/argp.h: New file.
7017 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
7018 based on ELIX level.
7019 (SUBDIRS): Add argp_dir.
7020 (SUBLIBS): Add ARGP_LIB.
7021 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
7022 getopt_long.$(oext).
7023 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
7024
3c689185
JJ
70252002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7026
ba3ccd63
EB
7027 * libc/libc.texinfo: Add node reference to wide-character strings.
7028 * libc/string/wcstrings.tex: New file.
3c689185 7029 * libc/string/strtok_r.c: Remove outdated advertising clause.
ba3ccd63
EB
7030 * libc/string/Makefile.am (doc): Add wide-character string
7031 chapter to documentation.
7032 * libc/string/Makefile.in: Regenerated.
3c689185 7033
890e7a1d
JJ
70342002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7035
ba3ccd63
EB
7036 * libc/include/wchar.h: Define NULL. Define WEOF more general
7037 way. Declare functions in newlib manner.
7038 * libc/stdlib/Makefile.am: Delete wmem*.c
7039 * libc/stdlib/Makefile.in: Regenerated.
7040 * libc/stdlib/wmemchr.c: Delete.
7041 * libc/stdlib/wmemcmp.c: Ditto.
7042 * libc/stdlib/wmemcpy.c: Ditto.
7043 * libc/stdlib/wmemmove.c: Ditto.
7044 * libc/stdlib/wmemset.c: Ditto.
7045 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
7046 * libc/string/Makefile.in: Regenerated.
7047 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
7048 * libc/string/wcschr.c: Ditto.
7049 * libc/string/wcscmp.c: Ditto.
7050 * libc/string/wcscpy.c: Ditto.
7051 * libc/string/wcscspn.c: Ditto.
7052 * libc/string/wcslcat.c: Ditto.
7053 * libc/string/wcslcpy.c: Ditto.
7054 * libc/string/wcslen.c: Ditto.
7055 * libc/string/wcsncat.c: Ditto.
7056 * libc/string/wcsncmp.c: Ditto.
7057 * libc/string/wcsncpy.c: Ditto.
7058 * libc/string/wcspbrk.c: Ditto.
7059 * libc/string/wcsrchr.c: Ditto.
7060 * libc/string/wcsspn.c: Ditto.
7061 * libc/string/wcsstr.c: Ditto.
7062 * libc/string/wmemchr.c: Ditto.
7063 * libc/string/wmemcmp.c: Ditto.
7064 * libc/string/wmemcpy.c: Ditto.
7065 * libc/string/wmemmove.c: Ditto.
7066 * libc/string/wmemset.c: Ditto.
890e7a1d 7067
86620e21
JJ
70682002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7069
ba3ccd63
EB
7070 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
7071 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
7072 and is treated as if "C" was specified.
86620e21 7073
f3741c27
JJ
70742002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7075
ba3ccd63
EB
7076 * Makefile.am (install-data-local): Move install of build
7077 newlib.h after installing headers in libc/include so as to
7078 overwrite default newlib.h.
7079 * Makefile.in: Regenerated.
f3741c27 7080
48da61f5
JJ
70812002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7082
ba3ccd63
EB
7083 * libc/include/newlib.h: New file for tools that use newlib
7084 headers but don't build newlib first (e.g. gcc).
48da61f5 7085
d82a94ac
JJ
70862002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7087
7088 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
7089 * libc/stdlib/wmemcmp.c: Ditto.
7090 * libc/stdlib/wmemcpy.c: Ditto.
7091 * libc/stdlib/wmemmove.c: Ditto.
7092 * libc/stdlib/wmemset.c: Ditto.
7093
7d08241b
JJ
70942002-08-27 Egor Duda <deo@logos-m.ru>
7095
7096 * libc/stdlib/wmemchr.c: New file.
7097 * libc/stdlib/wmemcmp.c: Ditto.
7098 * libc/stdlib/wmemcpy.c: Ditto.
7099 * libc/stdlib/wmemmove.c: Ditto.
7100 * libc/stdlib/wmemset.c: Ditto.
7101 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
7102 * configure.host: Default -DMB_CAPABLE for cygwin.
7103 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
7104 wmemmove() and wmemset(). Add include of <_ansi.h>.
7105 * libc/stdlib/Makefile.in: Regenerate.
7106
8da1639b
JJ
71072002-08-27 Jeff Johnston <jjohnstn@redhat.com>
7108
ff2bf852 7109 * configure.host: Remove _ELIX_LEVEL flag setting.
8da1639b
JJ
7110 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
7111 (install-data-local): Install newlib.h.
7112 * Makefile.in: Regenerated.
7113 * aclocal.m4: Ditto.
7114 * configure: Ditto.
17c0c97d 7115 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
8da1639b
JJ
7116 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
7117 and _NEWLIB_VERSION to fill in newlib.h header file entries.
7118 In AC_OUTPUT statement, unset ac_file so multilib support does
7119 not use last ac_file temporary used in newlib.h configuration.
7120 * libc/include/_ansi.h: Include <newlib.h>.
7121 * newlib.hin: New template file for newlib.h.
7122 * stamp-h.in: New file.
7123
a4421c11
JJ
71242002-08-26 Wu Yongwei <adah@netstd.com>
7125
ba3ccd63 7126 * time.h (timezonevar): Change "#if" to "#ifdef".
a4421c11 7127
90b65e2d
JJ
71282002-08-26 Jeff Johnston <jjohnstn@redhat.com>
7129
7130 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
7131 * Makefile.in: Regenerated.
7132 * acinclude.m4: Add support for --enable-newlib-elix-level option.
7133 * aclocal.m4: Regenerated.
7134 * configure: Ditto.
7135 * configure.host: Add code to define _ELIX_LEVEL if
7136 --enable-newlib-elix-level option is used.
17c0c97d 7137 * configure.in:
90b65e2d
JJ
7138 * libc/aclocal.m4: Regenerated.
7139 * libc/configure: Ditto.
7140 * libc/argz/Makefile.am: Add EL/IX level checking.
7141 * libc/argz/Makefile.in: Regenerated.
7142 * libc/argz/dummy.c: New file.
7143 * libc/ctype/Makefile.am: Add EL/IX level checking.
7144 * libc/ctype/Makefile.in: Regenerated.
7145 * libc/locale/Makefile.am: Add EL/IX level checking.
7146 * libc/locale/Makefile.in: Regenerated.
7147 * libc/posix/Makefile.am: Add EL/IX level checking.
7148 * libc/posix/Makefile.in: Regenerated.
7149 * libc/posix/telldir.c: Add EL/IX level checking.
7150 * libc/reent/Makefile.am: Ditto.
7151 * libc/reent/fstat64r.c: Ditto.
7152 * libc/reent/lseek64r.c: Ditto.
7153 * libc/reent/open64r.c: Ditto.
7154 * libc/reent/Makefile.in: Regenerated.
7155 * libc/search/Makefile.am: Add EL/IX level checking.
7156 * libc/search/Makefile.in: Regenerated.
7157 * libc/stdio/Makefile.am: Add EL/IX level checking.
7158 * libc/stdio/Makefile.in: Regenerated.
7159 * libc/stdio64/Makefile.am: Add EL/IX level checking.
7160 * libc/stdio64/Makefile.in: Regenerated.
7161 * libc/stdio64/dummy.c: New file.
9b487837 7162 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
90b65e2d
JJ
7163 after first include.
7164 * libc/stdio64/fopen64.c: Ditto.
7165 * libc/stdio64/freopen64.c: Ditto.
7166 * libc/stdio64/fseeko64.c: Ditto.
7167 * libc/stdio64/fsetpos64.c: Ditto.
7168 * libc/stdio64/ftello64.c: Ditto.
7169 * libc/stdio64/tmpfile64.c: Ditto.
7170 * libc/stdlib/Makefile.am: Add EL/IX level checking.
7171 * libc/stdlib/Makefile.in: Regenerated.
7172 * libc/stdlib/mstats.c: Add EL/IX level checking.
7173 * libc/string/Makefile.am: Ditto.
7174 * libc/string/Makefile.in: Regenerated.
7175 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
7176 * libc/sys/linux/Makefile.in: Regenerated.
7177 * libc/sys/linux/aclocal.m4: Ditto.
7178 * libc/sys/linux/configure: Ditto.
7179 * libc/sys/linux/aio.c: Add EL/IX level checking.
7180 * libc/sys/linux/ftok.c: Ditto.
7181 * libc/sys/linux/getdate.c: Ditto.
7182 * libc/sys/linux/ids.c: Ditto.
7183 * libc/sys/linux/inode.c: Ditto.
7184 * libc/sys/linux/io.c: Ditto.
7185 * libc/sys/linux/process.c: Ditto.
7186 * libc/sys/linux/resource.c: Ditto.
7187 * libc/sys/linux/sched.c: Ditto.
7188 * libc/sys/linux/sig.c: Ditto.
7189 * libc/sys/linux/termios.c: Ditto.
7190 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
7191 __libc___waitpid weak aliases.
7192 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
7193 that generate the code for a syscall, but do not create a
7194 weak alias.
7195 * libc/syscalls/Makefile.am: Add EL/IX level checking.
7196 * libc/syscalls/Makefile.in: Regenerated.
7197 * libc/time/tzset_r.c: Change to replace strdup with equivalent
7198 functionality.
7199 * libc/unix/Makefile.am: Add EL/IX level checking.
7200 * libc/unix/Makefile.in: Regenerated.
7201
2e2b268c
CF
72022002-08-26 Christopher Faylor <cgf@redhat.com>
7203
7204 * libc/include/malloc.h: On cygwin, define malloc _r functions as
7205 wrapper macros to standard malloc functions.
7206 * libc/include/stdlib.h: Ditto.
7207 * configure.host: Always define MALLOC_PROVIDED on cygwin.
7208
8d9112f2
TF
72092002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7210
7211 * libc/include/langinfo.h: New file.
7212 * libc/include/wchar.h: Likewise.
7213 * libc/include/sys/syslimits.h: Likewise.
7214 * libc/locale/fix_grouping.c: Likewise.
7215 * libc/locale/ldpart.c: Likewise.
7216 * libc/locale/ldpart.h: Likewise.
7217 * libc/locale/lmessages.c: Likewise.
7218 * libc/locale/lmessages.h: Likewise.
7219 * libc/locale/lmonetary.c: Likewise.
7220 * libc/locale/lmonetary.h: Likewise.
7221 * libc/locale/lnumeric.c: Likewise.
7222 * libc/locale/lnumeric.h: Likewise.
7223 * libc/locale/nl_langinfo.3: Likewise.
7224 * libc/locale/nl_langinfo.c: Likewise.
7225 * libc/locale/timelocal.c: Likewise.
7226 * libc/locale/timelocal.h: Likewise.
7227 * libc/stdlib/btowc.c: Likewise.
7228 * libc/stdlib/mbrlen.c: Likewise.
7229 * libc/stdlib/mbrtowc.c: Likewise.
7230 * libc/stdlib/mbsinit.c: Likewise.
7231 * libc/stdlib/mbsrtowcs.c: Likewise.
7232 * libc/stdlib/wcrtomb.c: Likewise.
7233 * libc/stdlib/wcsrtombs.c: Likewise.
7234 * libc/stdlib/wctob.c: Likewise.
7235 * libc/sys/linux/prof-freq.c: Likewise.
7236 * libc/sys/linux/profile.c: Likewise.
7237 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
7238 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
7239 * libc/include/stdlib.h: Change re-entrant functions to take
7240 mbstate_t pointers.
7241 * libc/include/sys/_types.h: Define _mbstate_t.
7242 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
7243 * libc/include/sys/errno.h (EILSEQ): New error code.
7244 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
7245 structure to use mbstate_t.
7246 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
7247 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
7248 * libc/machine/powerpc/vfscanf.c: Likewise.
7249 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
7250 * libc/stdio/vfprintf.c: Likewise.
7251 * libc/stdio/vfscanf.c: Likewise.
7252 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
7253 * libc/stdlib/mblen.c: Use mbstate_t.
7254 * libc/stdlib/mblen_r.c: Likewise.
7255 * libc/stdlib/mbstowcs.c: Likewise.
7256 * libc/stdlib/mbstowcs_r.c: Likewise.
7257 * libc/stdlib/mbtowc.c: Likewise.
7258 * libc/stdlib/mbtowc_r.c: Likewise.
7259 * libc/stdlib/wcstombs.c: Likewise.
7260 * libc/stdlib/wcstombs_r.c: Likewise.
7261 * libc/stdlib/wctomb_r.c: Likewise.
7262 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
7263 profile.c.
7264 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
7265 dl-procinfo.c.
7266 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
7267 * libc/sys/linux/sys/types.h (off_t): Define type.
7268 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
7269 to C-UTF-8.
7270 * testsuite/newlib.locale/UTF-8.exp: Likewise.
7271
fe47ea33
JJ
72722002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
7273
ba3ccd63
EB
7274 * libc/stdlib/mallocr.c: #include windows.h on Win32.
7275 (AlignPage): Continue macro on next line.
fe47ea33 7276
ada73509
JJ
72772002-08-19 Jeff Johnston <jjohnstn@redhat.com>
7278
7279 * libc/sys/linux/include/pthread.h: New file.
7280
64b5e8f2
JJ
72812002-08-19 Jeff Johnston <jjohnstn@redhat.com>
7282
7283 * libc/include/sys/types.h: Support __need_inttypes macro
17c0c97d 7284 that only sets the __intxx and __uintxx types.
64b5e8f2
JJ
7285 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
7286 to get mprec.h.
7287 * libc/machine/powerpc/Makefile.in: Regenerated.
7288 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
7289 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
7290 redundant fixed-point conversion prototypes.
7291 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
7292 after setting __need_inttypes.
7293
a94b60ce
CF
72942002-08-18 Christopher Faylor <cgf@redhat.com>
7295
7296 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
7297
29e17a86
JJ
72982002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7299
ba3ccd63
EB
7300 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
7301 _LONG_DOUBLE to double.
29e17a86 7302
936b520f
JJ
73032002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7304
7305 * configure.host: Add powerpc*-*-eabispe* configuration.
7306 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
7307 * libc/machine/powerpc/atosfix32.c: Ditto.
7308 * libc/machine/powerpc/atosfix64.c: Ditto.
7309 * libc/machine/powerpc/atoufix16.c: Ditto.
7310 * libc/machine/powerpc/atoufix32.c: Ditto.
7311 * libc/machine/powerpc/atoufix64.c: Ditto.
7312 * libc/machine/powerpc/fix64.h: Ditto.
7313 * libc/machine/powerpc/simdldtoa.c: Ditto.
7314 * libc/machine/powerpc/strtosfix16.c: Ditto.
7315 * libc/machine/powerpc/strtosfix32.c: Ditto.
7316 * libc/machine/powerpc/strtosfix64.c: Ditto.
7317 * libc/machine/powerpc/strtoufix16.c: Ditto.
7318 * libc/machine/powerpc/strtoufix32.c: Ditto.
7319 * libc/machine/powerpc/strtoufix64.c: Ditto.
7320 * libc/machine/powerpc/ufix64toa.c: Ditto.
7321 * libc/machine/powerpc/configure.in: Add check for
7322 powerpc*-eabispe and add fixed-point conversion functions.
7323 * libc/machine/powerpc/configure: Regenerated.
7324 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
7325 %r and %R format specifiers which handle fixed-point data.
7326 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
7327 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
7328 function prototypes.
7329
ad552766
JJ
73302002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7331
7332 * Makefile.am: Move cmath stuff into libc/sys/linux.
7333 * Makefile.in: Regenerated.
7334 * configure.host: Default -DMB_CAPABLE for x86-linux.
7335 * libc/include/reent.h: Define _sbrk to take signed int argument.
7336 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
17c0c97d
EB
7337 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
7338 make locale name checking more efficient. Also allow "C-ISO-8859-1"
ad552766
JJ
7339 locale for LC_CTYPE and LC_MESSAGES.
7340 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
7341 * libc/sys/linux/brk.c: Change sbrk prototype.
7342 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
7343 include <sys/features.h>.
7344 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
7345 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
7346 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
7347 with a few local additions.
7348 * libc/sys/linux/sys/features.h: New file.
7349 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
7350 to take signed argument.
7351 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
7352 prototypes to take signed size argument.
7353
d3bd3632
TF
73542002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
7355
7356 * libc/sys/linux/cmath: New directory.
7357 * libc/sys/linux/include/cmathcalls.h: New file.
7358 * libc/sys/linux/include/complex.h: New file.
7359 * libc/sys/linux/machine/i386/huge_val.h: New file
7360 * libm/math/w_sincos.c: New file
7361 * libm/math/wf_sincos.c: New file
7362 * libm/mathfp/s_sincos.c: New file
7363 * libm/mathfp/sf_sincos.c: New file
7364 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
7365 * libc/include/math.h: Add sincos and sincosf declarations.
7366 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
7367 (SUBLIBS): Likewise.
7368 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
7369 * libm/math/Makefile.am (src): Add w_sincos.c.
7370 (fsrc): Add wf_sincos.c.
7371 * libm/mathfp/Makefile.am (src): Add s_sincos.c
7372 (fsrc): Add sf_sincos.c.
7373
b3a9676b
JJ
73742002-08-12 Jeff Johnston <jjohnstn@redhat.com>
7375
7376 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
7377 Declare as extern chars and use the address operator to
7378 properly use values set in linker script.
7379
659e7062
JJ
73802002-08-09 Jason Tishler <jason@tishler.net>
7381
7382 * libc/stdlib/mallocr.c: Include <limits.h>.
7383 (request2size): Change macro to do
7384 unsigned long comparisons and avoid signed overflow.
7385 (mALLOc): Add overflow check for the number of bytes to allocate.
7386 (rEALLOc): Ditto.
7387
037240a2
JJ
73882002-08-09 Jeff Johnston <jjohnstn@redhat.com>
7389
7390 * configure.host: Add check for --enable-newlib-io-pos-args
7391 and define WANT_IO_POS_ARGS flag if enabled. Define
7392 the flag by default for x86-linux configurations.
7393 * configure.in: Add support for --enable-newlib-io-pos-args.
7394 * libc/configure.in: Ditto.
7395 * configure: Regenerated.
7396 * libc/configure: Ditto.
7397 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
7398 vfprintf.c and vfiprintf.c.
7399 * libc/stdio/Makefile.in: Regenerated.
7400 * libc/stdio/vfprintf.c: Add positional argument support that
7401 is enabled by compiling with -DWANT_IO_POS_ARGS.
7402
172fda76
RS
74032002-08-07 Richard Sandiford <rsandifo@redhat.com>
7404
7405 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
7406 based on __mips_soft_float rather than __mips64.
7407 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
7408 of both 32-bit and 64-bit code.
7409
4866247e
CF
74102002-08-04 Christopher Faylor <cgf@redhat.com>
7411
7412 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
7413 arguments for popen to match similar functionality in fopen.
7414
b96332ce
CV
74152002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
7416
7417 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
7418
60d99bce
JJ
74192002-07-29 Jeff Johnston <jjohnstn@redhat.com>
7420
ba3ccd63
EB
7421 * libc/sys/linux/Makefile.am: Add aio64.c.
7422 * libc/sys/linux/Makefile.in: Regenerated.
7423 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
7424 * libc/sys/linux/aio64.c: New file.
60d99bce 7425
80a21be0
JJ
74262002-07-26 Jeff Johnston <jjohnstn@redhat.com>
7427
7428 * libc/include/sys/param.h (MAX, MIN): Added macros.
7429 * libc/sys/linux/Makefile.am: Add new files.
7430 * libc/sys/linux/Makefile.in: Regenerated.
7431 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
7432 * libc/sys/linux/inode.c (fchdir): Added syscall.
7433 * libc/sys/linux/ftw.c: New file.
7434 * libc/sys/linux/ftw64.c: Ditto.
7435 * libc/sys/linux/getwd.c: Ditto.
7436 * libc/sys/linux/scandir64.c: Ditto.
7437 * libc/sys/linux/strverscmp.c: Ditto.
7438 * libc/sys/linux/versionsort.c: Ditto.
7439 * libc/sys/linux/versionsort64.c: Ditto.
7440
6b6425cb
JJ
74412002-07-26 Jeff Johnston <jjohnstn@redhat.com>
7442
7443 * libc/string/strings.tex: Fix typo for memccpy.
7444
dc8ac8e6
JJ
74452002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7446
7447 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
7448 * libc/sys/linux/sys/types.h (off64_t): Definition added.
7449
aa0ca6fd
JJ
74502002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7451
7452 * libc/sys/linux/Makefile.am: Add fclean.c.
7453 * libc/sys/linux/Makefile.in: Regenerated.
7454 * libc/sys/linux/fclean.c: New file.
7455
61921945
JJ
74562002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7457
7458 * libc/sys/linux/Makefile.am: Add confstr.c.
7459 * libc/sys/linux/Makefile.in: Regenerated.
7460 * libc/sys/linux/confstr.c: New file.
7461 * libc/sys/linux/confstr.h: Ditto.
7462 * libc/sys/linux/sys/unistd.h: Include <features.h> and
7463 <bits/environments.h>.
7464
3d966a92
JJ
74652002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7466
7467 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
7468 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
7469 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
7470 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
7471 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
7472 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
7473
53b5bff7
JJ
74742002-07-24 Jeff Johnston <jjohnstn@redhat.com>
7475
7476 * libc/sys/linux/Makefile.am: Add new files.
7477 * libc/sys/linux/Makefile.in: Regenerated.
7478 * libc/sys/linux/fstab.c: New file.
7479 * libc/sys/linux/fstatvfs.c: Ditto.
7480 * libc/sys/linux/fstatvfs64.c: Ditto.
7481 * libc/sys/linux/internal_statvfs.c: Ditto.
7482 * libc/sys/linux/mntent.c: Ditto.
7483 * libc/sys/linux/mntent_r.c: Ditto.
7484 * libc/sys/linux/statvfs.c: Ditto.
7485 * libc/sys/linux/statvfs64.c: Ditto.
7486 * libc/sys/linux/include/paths.h: Ditto.
7487 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
7488 with double-underscore weak-aliases.
7489 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
7490
9cef8ef5
JJ
74912002-07-24 Jeff Johnston <jjohnstn@redhat.com>
7492
7493 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
7494 to use _sig_func_ptr type casted constants.
7495 (_sig_func_ptr): Typedef moved to sys/signal.h.
7496 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
7497 For __rtems, use POSIX definition, otherwise default to ANSI.
7498 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
7499
a703e0f2
JJ
75002002-07-24 Stephane Carrez <stcarrez@nerim.fr>
7501
ba3ccd63
EB
7502 * configure.host: Recognize m6811-elf and m6812-elf targets.
7503 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
7504 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
7505 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
7506 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
7507 according to __INT_MAX__.
7508 (_POINTER_INT): Define to short.
7509 * libc/machine/m68hc11/Makefile.am: New file.
7510 * libc/machine/m68hc11/Makefile.in: New file.
7511 * libc/machine/m68hc11/configure.in: New file.
7512 * libc/machine/m68hc11/configure: New file.
7513 * libc/machine/m68hc11/aclocal.m4: New file.
7514 * libc/machine/m68hc11/setjmp.S: New file.
a703e0f2 7515
d254189b
JJ
75162002-07-23 Jeff Johnston <jjohnstn@redhat.com>
7517
7518 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
7519 prototypes.
7520 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
7521 * libc/stdlib/Makefile.in: Regenerated.
7522 * libc/stdlib/strdup.c: Removed.
7523 * libc/stdlib/strdup_r.c: Removed.
7524 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
7525 mempcpy.c, strndup.c, and strndup_r.c.
7526 * libc/string/Makefile.in: Regenerated.
7527 * libc/string/memccpy.c: New file.
7528 * libc/string/mempcpy.c: Ditto.
7529 * libc/string/strndup.c: Ditto.
7530 * libc/string/strndup_r.c: Ditto.
7531 * libc/string/strdup.c: New file moved from stdlib.
7532 * libc/string/strdup_r.c: Ditto.
7533 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
7534
bc100655
JJ
75352002-07-23 Jeff Johnston <jjohnstn@redhat.com>
7536
ba3ccd63
EB
7537 * libc/include/stdio.h: Move fcloseall prototype within
7538 #ifndef _REENT_ONLY section.
7539 * libc/sys/linux/Makefile.am: Add new files.
7540 * libc/sys/linux/Makefile.in: Regenerated.
7541 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
7542 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
bc100655 7543 * libc/sys/linux/sys/types.h: Add ino64_t type.
ba3ccd63
EB
7544 * libc/sys/linux/ctermid.c: New file.
7545 * libc/sys/linux/ttyname_r.c: Ditto.
bc100655
JJ
7546 * libc/sys/linux/readdir64.c: Ditto.
7547
f5f27f07
JJ
75482002-07-22 Jeff Johnston <jjohnstn@redhat.com>
7549
7550 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
7551 * libc/stdio/Makefile.am: Added fcloseall.c support.
7552 * libc/stdio/Makefile.in: Regenerated.
7553 * libc/stdio/fcloseall.c: New file.
7554 * libc/stdio64/Makefile.am: Remove missing .def references.
7555 * libc/stdio64/Makefile.in: Regenerated.
7556
d541ba3e
JJ
75572002-07-22 Jeff Johnston <jjohnstn@redhat.com>
7558
7559 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
7560 * libc/machine/powerpc/times.c: New file.
7561 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
7562 * libc/machine/powerpc/Makefile.in: Regenerated.
7563
75642002-07-22 Aldy Hernandez <aldyh@redhat.com>
e964bca8 7565
ba3ccd63
EB
7566 * libc/machine/powerpc/time.c: New file.
7567 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
7568 time.c.
e964bca8
JJ
7569 * libc/machine/powerpc/Makefile.in: Regenerated.
7570
5e7d0a55
TF
75712002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7572
7573 * libc/libc.texinfo: Change copyright notices to Red Hat from
7574 Cygnus.
7575 * libm/libm.texinfo: Likewise.
7576 * README: Change docs URL to
7577 http://sources.redhat.com/newlib/docs.html.
7578
504628e7
JJ
75792002-07-19 Jeff Johnston <jjohnstn@redhat.com>
7580
ba3ccd63
EB
7581 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
7582 * libc/sys/linux/Makefile.in: Regenerated.
7583 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
7584 * libc/sys/linux/io.c: Add ftruncate syscall.
7585 * libc/sys/linux/fpathconf.c: New file.
7586 * libc/sys/linux/pathconf.c: Ditto.
504628e7 7587 * libc/sys/linux/linux_fsinfo.h: Ditto.
ba3ccd63 7588 * libc/sys/linux/sys/unistd.h: Ditto.
504628e7 7589
b155ad9f
JJ
75902002-07-19 Jeff Johnston <jjohnstn@redhat.com>
7591
7592 * libc/stdio64/Makefile.am: Remove missing files.
7593 * libc/stdio64/Makefile.in: Regenerated.
7594
c119e0ab
JJ
75952002-07-19 Jeff Johnston <jjohnstn@redhat.com>
7596
ba3ccd63
EB
7597 * libc/include/sys/config.h[__i386__][__linux__]: Define
7598 _LARGE64FILE_SOURCE to 1.
7599 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
7600 * libc/sys/linux/Makefile.in: Regenerated.
7601 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
7602 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
7603 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
7604 of <linux/resource.h>.
7605 * libc/sys/linux/getrlimit64.c: New file.
7606 * libc/sys/linux/setrlimit64.c: Ditto.
c119e0ab 7607
9b022d6d
TF
76082002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
7609
7610 * libc/argz/argz_replace.c: Include buf_findstr.h.
7611 * libc/argz/buf_findstr.c: Likewise.
7612 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
7613 value to (char *).
7614 * libc/argz/envz_get.c: Likewise.
7615 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
7616 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
7617 * libc/stdlib/getsubopt.3: New file.
7618 * libc/stdlib/getsubopt.c: New file.
7619 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
7620 Change esp to ebp.
7621
dee51391
JJ
76222002-07-17 Jeff Johnston <jjohnstn@redhat.com>
7623
7624 * configure.host(stdio64_dir): New setting that is used to
7625 enable building of new stdio64 directory.
7626 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
7627 large files.
7628 (stmp-stdio64,stdio64.texi): New targets to optionally add in
7629 stdio64 info to info files.
7630 * libc/Makefile.in: Regenerated.
7631 * libc/configure: Ditto.
7632 * libc/configure.in: Add configuration variables that are set
7633 when stdio64 is selected as subdir in configure.host.
7634 * libc/libc.texinfo: Add optional menu item for Stdio64, based
7635 on whether STDIO64 flag is set or not.
7636 * libc/sys.tex: Add optional stdio64 syscalls based on whether
7637 STDIO64 flag is set or not.
7638 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
7639 _r sycall routines.
7640 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
7641 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
7642 (__SL64): New file flag indicating file is opened via fopen64.
7643 * libc/include/sys/_types.h(_off64_t): Added.
7644 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
7645 * libc/include/sys/reent.h(struct __sFILE64): New file structure
7646 for 64-bit offset large file support.
7647 (__FILE): New intermediate type either set to struct __sFILE64 or
7648 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
7649 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
7650 * libc/reent/Makefile.in: Regenerated.
7651 * libc/reent/fstat64r.c: New file.
7652 * libc/reent/lseek64r.c: Ditto.
7653 * libc/reent/open64r.c: Ditto.
7654 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
17c0c97d 7655 based on whether STDIO64 flag is set.
dee51391
JJ
7656 * libc/stdio/stdio.tex: Add blank line.
7657 * libc/stdio64/Makefile.am: New file.
7658 * libc/stdio64/Makefile.in: Ditto.
7659 * libc/stdio64/fgetpos64.c: Ditto.
7660 * libc/stdio64/fopen64.: Ditto.
7661 * libc/stdio64/freopen64.c: Ditto.
7662 * libc/stdio64/fseeko64.c: Ditto.
7663 * libc/stdio64/fsetpos64.c: Ditto.
7664 * libc/stdio64/ftello64.c: Ditto.
7665 * libc/stdio64/local64.h: Ditto.
7666 * libc/stdio64/stdio64.c: Ditto.
7667 * libc/stdio64/stdio64.tex: Ditto.
7668 * libc/stdio64/tmpfile64.c: Ditto.
7669 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
7670 open64.
7671
778876f6
JJ
76722002-07-16 Jeff Johnston <jjohnstn@redhat.com>
7673
ba3ccd63
EB
7674 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
7675 if LIBC_EXTRA_LIB is present.
7676 * libc/Makefile.in: Regenerated.
778876f6 7677 * libc/libc.texinfo: Add blank line.
ba3ccd63
EB
7678 * libc/argz/Makefile.am: Add doc support.
7679 * libc/search/Makefile.am: Ditto.
7680 * libc/argz/Makefile.in: Regenerated.
7681 * libc/search/Makefile.in: Ditto.
7682 * libc/misc/misc.tex: Add ffs function.
7683 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
778876f6 7684
37981145
JJ
76852002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7686
7687 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
7688 definition that was removed in error.
7689
38b5dc59
JJ
76902002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7691
7692 * libc/include/machine/ieeefp.h: Change to only define
17c0c97d 7693 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
38b5dc59
JJ
7694 __IEEE_LITTLE_ENDIAN must be defined for each platform).
7695 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
7696 remove redundant floating point definitions.
7697
8cb61a96
JJ
76982002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7699
ba3ccd63
EB
7700 * libc/sys/linux/callocr.c: Fix so code references
7701 calloc.
8cb61a96 7702
edba3282
JJ
77032002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7704
ba3ccd63
EB
7705 * libc/sys/linux/Makefile.am: Add new files.
7706 * libc/sys/linux/Makefile.in: Regenerated.
7707 * libc/sys/linux/bp-sym.h: Moved to include directory.
7708 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
7709 * libc/sys/linux/inode.c: Set _LIBC to 1.
7710 * libc/sys/linux/mq_close.c: Ditto.
7711 * libc/sys/linux/mq_getattr.c: Ditto.
7712 * libc/sys/linux/mq_open.c: Ditto.
7713 * libc/sys/linux/mq_receive.c: Ditto.
7714 * libc/sys/linux/mq_send.c: Ditto.
7715 * libc/sys/linux/mq_setattr.c: Ditto.
7716 * libc/sys/linux/mq_unlink.c: Ditto.
7717 * libc/sys/linux/calloc.c: New file.
7718 * libc/sys/linux/callocr.c: Ditto.
7719 * libc/sys/linux/cfreer.c: Ditto.
7720 * libc/sys/linux/config.h: Ditto.
7721 * libc/sys/linux/free.c: Ditto.
7722 * libc/sys/linux/freer.c: Ditto.
7723 * libc/sys/linux/msize.c: Ditto.
7724 * libc/sys/linux/msizer.c: Ditto.
7725 * libc/sys/linux/mstats.c: Ditto.
7726 * libc/sys/linux/mtrim.c: Ditto.
7727 * libc/sys/linux/mtrimr.c: Ditto.
7728 * libc/sys/linux/pvallocr.c: Ditto.
7729 * libc/sys/linux/realloc.c: Ditto.
7730 * libc/sys/linux/reallocr.c: Ditto.
7731 * libc/sys/linux/thread-m.h: Ditto.
7732 * libc/sys/linux/vallocr.c: Ditto.
7733 * libc/sys/linux/bp-checks.h: Ditto.
7734 * libc/sys/linux/libc-symbols.h: Ditto.
7735 * libc/sys/linux/libc-tsd.h: Ditto.
7736 * libc/sys/linux/libintl.h: Ditto.
7737 * libc/sys/linux/malign.c: Ditto.
7738 * libc/sys/linux/malignr.c: Ditto.
7739 * libc/sys/linux/mallinfor.c: Ditto.
7740 * libc/sys/linux/malloc.c: Ditto.
7741 * libc/sys/linux/mallocr.c: Ditto.
7742 * libc/sys/linux/malloptr.c: Ditto.
7743 * libc/sys/linux/mallstatsr.c: Ditto.
7744 * libc/sys/linux/mcheck.c: Ditto.
7745 * libc/sys/linux/mhooks.h: Ditto.
7746 * libc/sys/linux/include/bp-sym.h: Ditto.
7747 * libc/sys/linux/include/malloc.h: Ditto.
7748 * libc/sys/linux/include/mcheck.h: Ditto.
7749 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
7750 getpagesize.c.
7751 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
7752 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
7753 * libc/sys/linux/machine/i386/getpagesize.c: New file.
7754 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
7755 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
7756 * libc/sys/linux/machine/i386/sysdep.h: New file.
7757 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
7758 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
7759 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
edba3282 7760
ea20b60a
JJ
77612002-07-12 Jeff Johnston <jjohnstn@redhat.com>
7762
7763 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
7764 instead of <asm/siginfo.h>.
7765 * libc/sys/linux/sys/signal.h: Change to include various linux
7766 <bits/xxx.h> header files, rather than <linux/signal.h> so as
7767 to work with multiple releases of glibc header files.
7768
2fc82912
JJ
77692002-07-11 Chris Demetriou <cgd@broadcom.com>
7770
ba3ccd63
EB
7771 * testsuite/newlib.search/hsearchtest.c: New file to test
7772 newlib/libc/search.
7773 * testsuite/newlib.search/hsearchtest.exp: Likewise.
2fc82912 7774
4a404e97 77752002-07-10 Florian Schrack <florian.schrack@freenet.de>
2a8b4ea3
JJ
7776
7777 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
7778 a terminal.
7779 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
7780
6aec558e
JJ
77812002-07-08 Jeff Johnston <jjohnstn@redhat.com>
7782
ba3ccd63 7783 * libc/include/math.h (MAXFLOAT): Added.
6aec558e 7784
e47e6f0e 7785Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
a31df303
JR
7786
7787 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
7788 Make strcmp.S unconditional.
7789 * libc/machine/sh/Makefile.in: Regenerate.
7790 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
7791 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
7792 for SHcompact.
7793
89ffbd66
JJ
77942002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7795
7796 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
7797 define before including <sys/lock.h>.
7798
ae6c4c84
JJ
77992002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7800
7801 * libc/include/utime.h: Add include of <_ansi.h>.
7802 * libc/sys/linux/Makefile.am: Add utimes.c.
7803 * libc/sys/linux/Makefile.in: Regenerated.
7804 * libc/sys/linux/inode.c(__umask): New static routine.
7805 (umask): Written to use __umask and attempt to thread lock.
7806 (getumask): New function written to use __umask and thread lock.
7807 * libc/sys/linux/utimes.c: New file.
7808 * libc/sys/linux/sys/time.h: Fix utimes prototype.
7809 * libc/sys/linux/sys/utime.h: New file.
7810
a6cac46c
TF
78112002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
7812
7813 * libtool.m4: New file.
7814 * libc/sys/linux/process.c: Implement vfork in terms of fork,
7815 rather than as a syscall.
7816
30b2092f
JJ
78172002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7818
7819 * libc/include/stdio.h: Add new prototypes.
7820 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
7821 * libc/stdio/Makefile.in: Regenerated.
7822 * libc/stdio/fseek.c: Add fseeko documentation.
7823 * libc/stdio/ftell.c: Add ftello documentation.
7824 * libc/stdio/fseeko.c: New file.
7825 * libc/stdio/ftello.c: New file.
7826
7501704d
JJ
78272002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7828
ba3ccd63
EB
7829 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
7830 * libc/stdio/Makefile.in: Regenerated.
7831 * libc/stdio/asprintf.c: New file.
7832 * libc/stdio/vasprintf.c: Ditto.
7833 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
7834 the buffer for asprintf support.
7835 * libc/stdio/sprintf.c: Add asprintf documentation.
7836 * libc/stdio/vfprintf.c: Add vasprintf documentation.
7837 * libc/include/stdio.h: Add new prototypes.
7501704d 7838
66eee32b
TF
78392002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
7840
7841 * libc/search/hcreate.c: Remove advertising clause from license.
7842 * libc/search/hcreate_r.c: Likewise.
7843
cec4a9f8
JJ
78442002-07-02 Chris Demetriou <cgd@broadcom.com>
7845
ba3ccd63
EB
7846 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
7847 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
7848 Check that one of them is defined and error out if not.
cec4a9f8 7849 Add any platforms defined in <machine/ieeefp.h> that are missing.
ba3ccd63
EB
7850 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
7851 (DB_LITTLE_ENDIAN): New defines.
7852 * libc/search/hash.c: Replace all incorrect checks for
7853 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
7854 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
7855 * libc/search/hash_page.c: Likewise.
cec4a9f8 7856
2d5eb17e
TF
78572002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
7858
7859 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
7860
c1a3171f
JJ
78612002-06-27 Benjamin Kosnik <bkoz@redhat.com>
7862
ba3ccd63
EB
7863 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
7864 * libc/include/time.h: Same.
7865 * libc/include/string.h: Same.
7866 * libc/include/stdlib.h: Same.
7867 * libc/include/signal.h: Same.
7868 * libc/include/setjmp.h: Same.
7869 * libc/include/math.h: Same.
7870 * libc/include/locale.h: Same.
7871 * libc/include/ctype.h: Same.
7872 * libc/include/machine/setjmp.h: Same.
7873 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
7874 (_END_STD_C): Add.
c1a3171f 7875
533b4e66
JJ
78762002-06-27 Jeff Johnston <jjohnstn@redhat.com>
7877
ba3ccd63
EB
7878 * libc/include/sys/_types.h: Define _ssize_t as int if int is
7879 32-bits, otherwise define it as long.
7880 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
7881 and define ssize_t as _ssize_t.
7882 * libc/reent/readr.c: Change return type to _ssize_t.
7883 * libc/reent/writer.c: Ditto.
7884 * libc/sys/linux/Makefile.am: Add aio.c.
7885 * libc/sys/linux/Makefile.in: Regenerated.
7886 * libc/sys/linux/aio.c: New file.
7887 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
7888 * libm/common/fdlibm.h: Undef __P before defining it.
533b4e66 7889
c36e6dd7
TF
78902002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
7891
54be629f
TF
7892 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
7893 exponent_is_even_int variable. Handle case where x is
7894 negative, and y is an odd integer.
7895 * libm/mathfp/sf_pow.c (powf): Likewise.
7896
c36e6dd7
TF
7897 * libm/mathfp/er_lgamma.c: Remove __kernel references.
7898 * libm/mathfp/erf_lgamma.c: Likewise.
7899 * libm/mathfp/s_tgamma.c: Likewise.
7900 * libm/mathfp/sf_tgamma.c: Likewise.
7901
baf051ca
JJ
79022002-06-27 Jeff Johnston <jjohnstn@redhat.com>
7903
ba3ccd63
EB
7904 * libc/sys/linux/Makefile.am: Add new clock routines.
7905 * libc/sys/linux/Makefile.in: Regenerated.
7906 * libc/sys/linux/clock_getres.c: New file.
7907 * libc/sys/linux/clock_gettime.c: Ditto.
7908 * libc/sys/linux/clock_settime.c: Ditto.
7909 * libc/sys/linux/hp-timing.h: Ditto.
7910 * libc/sys/linux/libc-internal.h: Ditto.
7911 * libc/sys/linux/sysconf.c: Fix typo.
7912 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
7913 * libc/sys/linux/machine/hp-timing.h: New file.
7914 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
7915 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
7916 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
7917 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
7918 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
7919 * libc/sys/linux/sys/linux_time.h: New file.
7920 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
7921 replace with <sys/linux_time.h>.
baf051ca 7922
0431ed4e
JR
7923Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
7924
7925 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
7926
fc067ba5
JJ
79272002-06-25 Jeff Johnston <jjohnstn@redhat.com>
7928
ba3ccd63
EB
7929 * libc/sys/linux/Makefile.am: Consolidate additional items under
7930 ADD_OBJS.
7931 * libc/sys/linux/Makefile.in: Regenerated.
fc067ba5 7932
ffddf61e
JJ
79332002-06-25 Jeff Johnston <jjohnstn@redhat.com>
7934
ba3ccd63
EB
7935 * libc/sys/linux/sethostname.c: New file.
7936 * libc/sys/linux/Makefile.am: Add sethostname.c support.
7937 * libc/sys/linux/Makefile.in: Regenerated.
ffddf61e 7938
d5487d3f
TF
79392002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
7940
7941 * libc/search/db_local.h: New file.
7942 * libc/include/db.h: Remove.
7943 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
7944 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
7945 "db_local.h".
7946 * libc/search/hash_bigkey.c: Likewise.
7947 * libc/search/hash_buf.c: Likewise.
7948 * libc/search/hash_func.c: Likewise.
7949 * libc/search/hash_log2.c: Likewise.
7950 * libc/search/hash_page.c: Likewise.
7951
79522002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
e08a6118 7953
1e7ca711 7954 * libc/machine/sh/strlen.S: New file.
e08a6118
JR
7955 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
7956 * libc/machine/sh/Makefile.am: Regenerate.
7957
59c6d6c4
JJ
79582002-06-24 Jeff Johnston <jjohnstn@redhat.com>
7959
ba3ccd63
EB
7960 * libc/sys/linux/gethostname.c: Change name to __gethostname and
7961 add gethostname alias.
59c6d6c4 7962
a70486d7
JJ
79632002-06-24 Jeff Johnston <jjohnstn@redhat.com>
7964
7965 * libc/include/math.h: Remove <sys/types.h>.
a5dadf33 7966 (__dmath): Use __ULong instead of __uint32_t.
a70486d7 7967 * libc/include/sys/reent.h: If long or int is not 32-bits,
a5dadf33 7968 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
a70486d7
JJ
7969 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
7970 * libm/common/fdlibm.h: Ditto.
7971
3118725a
TF
79722002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
7973
7974 * libc/include/ndbm.h: Remove.
7975 * libc/search/ndbm.c: Remove.
7976
30a06168
TF
79772002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
7978
7979 * libc/stdio/fseek.c (fseek): Fix braces.
7980
01f5155e
CV
79812002-06-21 Corinna Vinschen <corinna@vinschen.de>
7982
7983 * libc/time/strftime.c (strftime): Add %e format specifier.
7984
930bc96b
TF
79852002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
7986
7987 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
7988 previously defined.
7989
55105f86
JJ
79902002-06-21 Richard Earnshaw (rearnsha@arm.com)
7991
ba3ccd63
EB
7992 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
7993 (BYTE_ORDER): Define as appropriate for the target.
55105f86 7994
2e78444a
JJ
79952002-06-21 Jeff Johnston <jjohnstn@redhat.com>
7996
7997 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
7998 to _ssize_t.
7999 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
8000
d427d092
JJ
80012002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8002
8003 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
8004 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
8005 [HAVE_GETDATE](getdate_err): New error code.
8006 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
8007 * libc/stdio/Makefile.in: Regenerated.
8008 * libc/stdio/getdelim.c: New file.
8009 * libc/stdio/getline.c: Ditto.
8010 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
8011 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
8012 * libc/sys/linux/Makefile.in: Regenerated.
8013 * libc/sys/linux/getdate.c: New file.
8014 * libc/sys/linux/getdate_err.c: Ditto.
8015 * libc/sys/linux/ntp_gettime.c: Ditto.
8016 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
8017 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
8018
35728d4f
JJ
80192002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8020
8021 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
8022 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
8023 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
8024 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
8025 * libc/include/sys/param.h: Remove i386 case which is handled
8026 by default case.
8027 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
8028 definitions in case they are already defined.
8029 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
8030 _IEEE_LITTLE_ENDIAN flags.
8031 * libc/include/sys/reent.h: Change __uint32_t references to
8032 use _ULong instead.
8033 (_REENT_GETDATE_REENT_P): New macro.
8034 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
8035 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
8036 * libc/search/hash.h: Add default setting of BYTE_ORDER,
8037 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
8038 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
8039 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
8040 pid_t, off_t, loff_t, caddr_t, and daddr_t type
8041 definitions which are done by subsequent glibc headers.
8042 Add macro definitions to prevent subsequent header files from
8043 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
8044 intptr_t to after glibc definitions of types they are based on.
8045
4a2bfab7
JJ
80462002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8047
8048 * libc/include/errno.h: Protect from multiple inclusion.
8049
f42d18ea
NC
80502002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
8051
8052 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
8053
a7b23a8f
TF
80542002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
8055
8056 * Makefile.am (LIB_OBJECTLISTS): Add
8057 libc/search/objectlist.awk.in.
8058 * libc/Makefile.am (SUBDIRS): Add search.
8059 (SUBLIBS): Add search/libsearch.la.
8060 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
8061 * libc/search: New directory.
8062 * libc/search/Makefile.am: New file.
8063 * libc/search/extern.h: New file.
8064 * libc/search/hash.c: New file.
8065 * libc/search/hash.h: New file.
8066 * libc/search/hash_bigkey.c: New file.
8067 * libc/search/hash_buf.c: New file.
8068 * libc/search/hash_func.c: New file.
8069 * libc/search/hash_log2.c: New file.
8070 * libc/search/hash_page.c: New file.
8071 * libc/search/hcreate.3: New file.
8072 * libc/search/hcreate.c: New file.
a7b23a8f
TF
8073 * libc/search/hcreate_r.c: New file.
8074 * libc/search/ndbm.c: New file.
8075 * libc/search/page.h: New file.
8076 * libc/search/tdelete.c: New file.
8077 * libc/search/tdestroy.c: New file.
8078 * libc/search/tfind.c: New file.
8079 * libc/search/tsearch.3: New file.
8080 * libc/search/tsearch.c: New file.
8081 * libc/search/twalk.c: New file.
8082 * libc/include/db.h: New file.
8083 * libc/include/ndbm.h: New file.
8084 * libc/include/search.h: New file.
8085 * libc/include/sys/queue.h: New file.
8086 * libc/include/sys/cdefs.h: New file.
8087 * libc/include/sys/param.h
8088 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
8089 LITTLE_ENDIAN or BIG_ENDIAN.
8090 * libc/include/sys/errno.h (EFTYPE): New macro.
8091 * libc/search/bsearch.c: Move from libc/stdlib.
8092 * libc/search/qsort.c: Likewise.
8093 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
8094 qsort.c.
8095 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
8096 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
8097
ef467338
JJ
80982002-06-19 Jeff Johnston <jjohnstn@redhat.com>
8099
ba3ccd63
EB
8100 * libc/sys/linux/Makefile.am: Add support for message queue routines,
8101 ipc routines, and ftok.
8102 * libc/sys/linux/Makefile.in: Regenerated.
8103 * libc/sys/linux/ftok.c: New file.
8104 * libc/sys/linux/ipc.c: Ditto.
8105 * libc/sys/linux/mq_close.c: Ditto.
8106 * libc/sys/linux/mq_getattr.c: Ditto.
8107 * libc/sys/linux/mq_notify.c: Ditto.
8108 * libc/sys/linux/mq_open.c: Ditto.
8109 * libc/sys/linux/mq_receive.c: Ditto.
8110 * libc/sys/linux/mq_send.c: Ditto.
8111 * libc/sys/linux/mq_setattr.c: Ditto.
8112 * libc/sys/linux/mq_unlink.c: Ditto.
8113 * libc/sys/linux/mqlocal.h: Ditto.
8114 * libc/sys/linux/include/mqueue.h: Ditto.
8115 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
8116 __uid_t_defined.
ef467338 8117
7f55c08c
TF
81182002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
8119
8120 * libm/common/sf_lround.c (round): Change name to: (lround).
8121 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
8122 remquof.
8123
c9ca68d7
TF
81242002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8125
8126 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
8127 procedure.
8128 (newlib_pass_fail): Change to compile and run only one file.
8129 * testsuite/newlib.locale/locale.exp: Use new
8130 newlib_pass_fail_all procedure.
8131 * testsuite/newlib.string/string.exp: Likewise.
8132
4ecedd09
DB
81332002-06-18 Dave Brolley <brolley@redhat.com>
8134
8135 From Catherine Moore, Michael Meissner, Richard Sandiford:
8136 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
8137 (_JBTYPE): Ditto.
8138 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
8139 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
8140 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
8141 * configure.host: Support frv-*-*.
8142 * libc/machine/frv/Makefile.am: New file.
8143 * libc/machine/frv/configure.in: New file.
8144 * libc/machine/frv/setjmp.S: New file.
8145
af1c257a
TF
81462002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8147
8148 * libc/include/ctype.h: Remove isblank macro.
8149
8150 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
8151 * libc/ctype/isblank.c: New file.
8152 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
8153 declaration. Add isblank macro.
8154
4e04fa90
JJ
81552002-06-18 Jeff Johnston <jjohnstn@redhat.com>
8156
ba3ccd63
EB
8157 * testsuite/newlib.stdlib/atexit.c: New file.
8158 * testsuite/newlib.stdlib/atexit.exp: Ditto.
8159 * testsuite/newlib.string/tstring.c: Change default start size
8160 to something more reasonable for embedded platforms.
4e04fa90 8161
b56d7e79
TF
81622002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8163
ece3c72f
TF
8164 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
8165
b56d7e79
TF
8166 * libc/argz: New directory.
8167 * libc/argz/*: New files.
8168 * libc/argz/argz_add.c: New file.
8169 * libc/argz/argz_add_sep.c: New file.
8170 * libc/argz/argz_append.c: New file.
8171 * libc/argz/argz_count.c: New file.
8172 * libc/argz/argz_create.c: New file.
8173 * libc/argz/argz_create_sep.c: New file.
8174 * libc/argz/argz_delete.c: New file.
8175 * libc/argz/argz_extract.c: New file.
8176 * libc/argz/argz_insert.c: New file.
8177 * libc/argz/argz_next.c: New file.
8178 * libc/argz/argz_replace.c: New file.
8179 * libc/argz/argz_stringify.c: New file.
8180 * libc/argz/buf_findstr.c: New file.
8181 * libc/argz/envz_add.c: New file.
8182 * libc/argz/envz_entry.c: New file.
8183 * libc/argz/envz_get.c: New file.
8184 * libc/argz/envz_merge.c: New file.
8185 * libc/argz/envz_remove.c: New file.
8186 * libc/argz/envz_strip.c: New file.
8187 * libc/include/argz.h: New file.
8188 * libc/include/envz.h: New file.
8189 * Makefile.am (LIBC_OBJECTLISTS): Add
8190 libc/argz/objectlist.awk.in.
8191 * libc/Makefile.am (SUBDIRS): Add argz.
8192 (SUBLIBS): Add argz/libargz.la.
8193 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
8194 * libc/include/errno.h: Add error_t typedef.
8195
d062d3dd
JJ
81962002-06-13 Jeff Johnston <jjohnstn@redhat.com>
8197
8198 * libc/include/stdlib.h: Add _Exit prototype.
8199 * libc/stdlib/Makefile.am: Add _Exit.c support.
8200 * libc/stdlib/Makefile.in: Ditto.
8201 * libc/stdlib/_Exit.c: New file.
8202
a47e66ae
JJ
82032002-06-13 Stephen L. Moshier <steve@moshier.net>
8204
8205 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
8206 x is close to -1.0 and y is very large to use ax (absolute value)
8207 instead of x.
8208 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
8209
13f7d71f
JR
8210Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
8211
8212 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
8213 Fix clobbering bytes before destination if src and dst have same
8214 non-zero misalignment.
1f1fb421
JR
8215
8216 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
8217 Fixed bug in writing end of set region.
8218
b2e8018f
CF
82192002-06-10 Christopher Faylor <cgf@redhat.com>
8220
8221 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
8222 spawnve declaration.
8223
0953fe64
TF
82242002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
8225
8226 * libm/common/s_fdim.c: New file.
8227 * libm/common/s_fma.c: Likewise.
8228 * libm/common/s_fmax.c: Likewise.
8229 * libm/common/s_fmin.c: Likewise.
8230 * libm/common/s_fpclassify.c: Likewise.
8231 * libm/common/s_lrint.c: Likewise.
8232 * libm/common/s_lround.c: Likewise.
8233 * libm/common/s_nearbyint.c: Likewise.
8234 * libm/common/s_remquo.c: Likewise.
8235 * libm/common/s_round.c: Likewise.
8236 * libm/common/s_scalbln.c: Likewise.
8237 * libm/common/s_signbit.c: Likewise.
8238 * libm/common/s_trunc.c: Likewise.
8239 * libm/common/sf_fdim.c: Likewise.
8240 * libm/common/sf_fma.c: Likewise.
8241 * libm/common/sf_fmax.c: Likewise.
8242 * libm/common/sf_fmin.c: Likewise.
8243 * libm/common/sf_lrint.c: Likewise.
8244 * libm/common/sf_lround.c: Likewise.
8245 * libm/common/sf_nearbyint.c: Likewise.
8246 * libm/common/sf_remquo.c: Likewise.
8247 * libm/common/sf_round.c: Likewise.
8248 * libm/common/sf_scalbln.c: Likewise.
8249 * libm/common/sf_trunc.c: Likewise.
8250 * libm/math/w_exp2.c: Likewise.
8251 * libm/math/w_tgamma.c: Likewise.
8252 * libm/math/wf_exp2.c: Likewise.
8253 * libm/math/wf_tgamma.c: Likewise.
8254 * libm/mathfp/s_exp2.c: Likewise.
8255 * libm/mathfp/s_tgamma.c: Likewise.
8256 * libm/mathfp/sf_exp2.c: Likewise.
8257 * libm/mathfp/sf_tgamma.c: Likewise.
8258 * libm/math/er_gamma.c: Fix return value.
8259 * libm/math/erf_gamma.c: Likewise.
8260 * libm/mathfp/er_gamma.c: Likewise.
8261 * libm/mathfp/erf_gamma.c: Likewise.
8262 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
8263 declarations and macros.
8264 Regenerated all Makefile.in, aclocal.m4 and configure files to
8265 use new libtool macros in top-level libtool.m4
8266
39e65e01
JJ
82672002-06-05 Jeff Johnston <jjohnstn@redhat.com>
8268
ba3ccd63
EB
8269 * libc/include/string.h[__linux__]: Add strsignal prototype.
8270 * libc/include/sys/lock.h: New file with default locking support.
8271 * libc/include/sys/reent.h: Add signal buffer support for strsignal
8272 and psignal.
8273 * libc/posix/Makefile.am: Add support for readdir_r.c.
8274 * libc/posix/Makefile.in: Regenerated.
8275 * libc/posix/closedir.c: Add locking support and hash table cleanup.
8276 * libc/posix/opendir.c: Add lock support.
8277 * libc/posix/readdir.c: Ditto.
8278 * libc/posix/rewinddir.c: Ditto.
8279 * libc/posix/scandir.c: Ditto.
8280 * libc/posix/seekdir.c: Ditto.
8281 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
8282 clean up leftover hash table entries.
8283 * libc/posix/readdir_r.c: New file.
8284 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
8285 * libc/sys/linux/Makefile.in: Regenerated.
8286 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
8287 * libc/sys/linux/sys/signal.h: Add psignal prototype.
8288 * libc/sys/linux/psignal.c: New file.
8289 * libc/sys/linux/strsignal.c: Ditto.
39e65e01 8290
cc890e89
CV
82912002-06-03 Corinna Vinschen <corinna@vinschen.de>
8292
8293 * libc/include/sys/types.h: Don't define dev_t when compiling for
8294 Cygwin.
8295
ea55e3f7
JJ
82962002-05-31 Jeff Johnston <jjohnstn@redhat.com>
8297
ba3ccd63
EB
8298 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
8299 make siglist.inc dependent on sig.c instead of signal.c.
8300 * libc/sys/linux/Makefile.in: Regenerated.
8301 * libc/sys/linux/sig.c: Rename from signal.c and change code to
8302 use NSIG instead of _NSIG.
8303 * libc/sys/linux/sigaction.c: New file.
8304 * libc/sys/linux/signal.c: Changed to be linux signal() function
8305 so as to override regular newlib default signal.c.
8306 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
8307 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8308 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
8309 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
8310 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
8311 default linux sigset_t typedef by defining it equal to __sigset_t.
8312 * libc/unix/sigset.c: Add check so code isn't compiled on systems
8313 with a sigset_t that isn't implemented with a single int.
ea55e3f7 8314
9d362914
JJ
83152002-05-30 Jeff Johnston <jjohnstn@redhat.com>
8316
ba3ccd63
EB
8317 * libc/sys/linux/Makefile.am: Add support for new files.
8318 * libc/sys/linux/Makefile.in: Regenerated.
8319 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
8320 * libc/sys/linux/signal.c: Change to use real-time syscalls for
8321 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
8322 it is in a separate file now.
8323 * libc/sys/linux/machine/i386/Makefile.am
8324 * libc/sys/linux/machine/i386/Makefile.in
8325 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
8326 * libc/sys/linux/sigaction.c: New file.
8327 * libc/sys/linux/sigqueue.c: Ditto.
8328 * libc/sys/linux/sigwait.c: Ditto.
8329 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
8330 * libc/sys/linux/kernel_sigaction.h: Ditto.
9d362914 8331
b1f07180
JJ
83322002-05-28 Jeff Johnston <jjohnstn@redhat.com>
8333
ba3ccd63
EB
8334 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
8335 tcsendbrk.c.
8336 * libc/sys/linux/Makefile.in: Regenerated.
8337 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
8338 tcgetpgrp(), and tcsetpgrp() functions.
8339 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
8340 to get __MAX_BAUD rate.
8341 * libc/sys/linux/machine/i386/include/termios.h: New file.
8342 * libc/include/machine/termios.h: Ditto.
8343 * libc/sys/linux/cfspeed.c: Ditto.
8344 * libc/sys/linux/tcsendbrk.c: Ditto.
b1f07180 8345
d29587b4
JJ
83462002-05-24 Jeff Johnston <jjohnstn@redhat.com>
8347
ba3ccd63
EB
8348 * libc/include/string.h: Add strnlen and strerror_r prototypes.
8349 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
8350 * libc/string/Makefile.in: Regenerated.
8351 * libc/string/strerror_r.c: New file.
8352 * libc/string/strnlen.c: New file.
8353 * libc/sys/linux/Makefile.am: Add rename.c.
8354 * libc/sys/linux/Makefile.in: Regenerated.
8355 * libc/sys/linux/rename.c: New file to override default rename.
d29587b4 8356
9a292385
TF
83572002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8358
8359 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
8360 * libc/sys/linux/sys/time.h: Add conversion macros.
8361 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
8362 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
8363 * libc/sys/linux/gethostname.c: New file.
8364 * libc/sys/linux/seteuid.c: New file.
8365 * libc/sys/linux/sysctl.c: New file.
17c0c97d 8366
7a364eb3
JJ
83672002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8368
ba3ccd63
EB
8369 * libc/string/Makefile.am: Add support for strsep.c.
8370 * libc/string/Makefile.in: Regenerated.
8371 * libc/string/strsep.c: New file.
8372 * libc/string/strtok.c: Change to call __strtok_r service routine.
8373 * libc/string/strtok_r.c: Add __strtok_r routine which takes
8374 additional flag parameter regarding whether to skip leading delimeters.
8375 Change strtok_r to call __strtok_r.
7a364eb3 8376
164ee5b0
JJ
83772002-05-23 Gareth Pearce <tilps@hotmail.com>
8378
ba3ccd63
EB
8379 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
8380 * libc/stdio/Makefile.in: Regenerated.
8381 * libc/stdio/setbuffer.c: New file.
8382 * libc/stdio/setlinebuf.c: New file.
164ee5b0 8383
f6b2b567
JJ
83842002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8385
ba3ccd63
EB
8386 * libc/sys/linux/Makefile.am: Add resource.c.
8387 * libc/sys/linux/Makefile.in: Regenerated.
8388 * libc/sys/linux/resource.c: New file.
8389 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
8390 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
8391 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8392 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
8393 are now found in libc/sys/linux/resource.c.
f6b2b567 8394
afe56517
JJ
83952002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8396
ba3ccd63
EB
8397 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
8398 to use void * pointers and comply with Single Unix spec.
8399 * libc/string/bcmp.c: Change to use void * instead of char *.
8400 * libc/string/bcopy.c: Ditto.
8401 * libc/string/bzero.c: Ditto.
afe56517 8402
7736feb2
JJ
84032002-05-22 Jeff Johnston <jjohnstn@redhat.com>
8404
8405 * libc/sys/linux/shm_open.c: New file.
8406 * libc/sys/linux/shm_unlink.c: Ditto.
8407 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
8408 shm_unlink.c.
8409 * libc/sys/linux/Makefile.in: Regenerated.
8410 * libc/sys/linux/sys/types.h: Add some additional checks to see
8411 if clock_t or time_t is already defined.
8412
19f111bd
JJ
84132002-05-22 Jeff Johnston <jjohnstn@redhat.com>
8414
ba3ccd63
EB
8415 * Makefile.am: Don't pass $toollibdir down directly in
8416 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
8417 Pass it under the name: top_toollibdir.
8418 * Makefile.in: Regenerated.
19f111bd 8419
c811b1ee
CV
84202002-05-22 Corinna Vinschen <vinschen@redhat.com>
8421
8422 * libc/include/sys/types.h: Revert previous patch.
8423
2b43ad33
CV
84242002-05-22 Corinna Vinschen <vinschen@redhat.com>
8425
8426 * libc/include/sys/types.h: Include cygwin/types.h always under
8427 Cygwin, not only if _POSIX_THREADS is defined.
8428
dd671cde
TF
84292002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
8430
8431 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
8432
5e2cbfb6
JJ
84332002-05-17 Jeff Johnston <jjohnstn@redhat.com>
8434
8435 * Makefile.am: Copy and install headers from sys/machine/include
8436 directory. Also pass $toollibdir to lower-level directories.
8437 * Makefile.in: Regenerated.
17c0c97d 8438 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
5e2cbfb6
JJ
8439 stderr to use _REENT macro instead of _impure_ptr directly.
8440 * libc/include/sys/config.h[__i386__][__linux__]: Define
8441 __DYNAMIC_REENT__.
17c0c97d 8442 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
5e2cbfb6
JJ
8443 call to __getreent() function if !__SINGLE_THREAD__ and
8444 __DYNAMIC_REENT__ is set.
8445 * libc/reent/Makefile.am: Add support for getreent.c.
8446 * libc/reent/Makefile.in: Regenerated.
8447 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
8448 * libc/sys/linux/Makefile.am: Add support for new files.
8449 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
8450 * libc/sys/linux/Makefile.in: Regenerated.
8451 * libc/sys/linux/configure: Ditto.
8452 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
8453 __close, __read, __write, __poll, __open, __lseek, __fcntl from
8454 their __libc_ counterparts.
8455 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
8456 and weak-alias to regular names.
8457 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
8458 to pread64 and __pread64.
8459 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
8460 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
8461 weak-alias to pwrite64.
8462 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
8463 __libc_sched_getscheduler, __libc_sched_get_priority_max,
8464 __libc_sched_get_priority_min, and __libc_sched_setschedule to
17c0c97d 8465 name with __ instead of __libc_.
5e2cbfb6
JJ
8466 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
8467 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
8468 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
8469 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
8470 to raise.
8471 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
8472 __libc_send to __send.
8473 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
8474 __gettimeofday.
8475 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
8476 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
8477 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
8478 type and typedef __jmp_buf to jmp_buf.
8479 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
8480 setjmp.S.
8481 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8482 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
8483 section.
8484 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
8485 prefix for function macros and then use weak_alias() to regular names.
8486 * libc/sys/linux/machine/i386/syscall.h: Ditto.
8487 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
8488 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
8489 to be flockfile() and funlockfile() respectively.
8490 * libc/sys/linux/sys/types.h
8491 * libc/reent/getreent.c: New file.
8492 * libc/sys/linux/flockfile.c: Ditto.
8493 * libc/sys/linux/funlockfile.c: Ditto.
8494 * libc/sys/linux/getreent.c: Ditto.
8495 * libc/sys/linux/pread.c: Ditto.
8496 * libc/sys/linux/pwrite.c: Ditto.
8497 * libc/sys/linux/raise.c: Ditto.
8498 * libc/sys/linux/system.c: Ditto.
8499 * libc/sys/linux/tcdrain.c: Ditto.
8500 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
8501 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
8502 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
8503 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
8504 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
8505
7fc85bd1
TF
85062002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
8507
8508 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
8509 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
8510 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
8511 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
8512
6935231f 8513Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
d7a2f413
JR
8514
8515 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6935231f
JR
8516 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
8517 exit point.
d7a2f413 8518
3a6cb01b
TF
85192002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
8520
a68fa571
TF
8521 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
8522 options when testing natively on i[3456]86-*-linux.
8523
3a6cb01b
TF
8524 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
8525 only one pass or fail per test file. Trim \r's from output
8526 values received from test programs. Remove support for named
8527 tests.
8528 * testsuite/newlib.locale/UTF-8.exp: Update to support new
8529 newlib_check_output behaviour.
8530 * testsuite/newlib.locale/UTF-8.c: Likewise.
8531
dc824ef7
JJ
85322002-05-15 Jeff Johnston <jjohnstn@redhat.com>
8533
ba3ccd63
EB
8534 * libc/include/stdlib.h: Add on_exit prototype.
8535 * libc/include/sys/reent.h (struct _atexit): Add argument array
8536 and bits to track type of exit routine to support both on_exit
8537 and atexit.
8538 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
8539 by default and change the setting of the atexit structure.
8540 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
8541 * libc/stdlib/on_exit.c: New file.
8542 * libc/stdlib/Makefile.am: Add support for on_exit.
8543 * libc/stdlib/Makefile.in: Regenerated.
8544 * libc/stdlib/atexit.c: Change to initialize types field.
8545 * libc/stdlib/exit.c: Change to look at types field for each
8546 exit routine and either call an atexit-style or an on_exit-style
8547 routine accordingly.
dc824ef7 8548
48d91b4a
JJ
85492002-05-13 Jeff Johnston <jjohnstn@redhat.com>
8550
ba3ccd63
EB
8551 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
8552 allow v specifier with n or L specifiers. For vector c format,
8553 move tmp declaration to the top.
48d91b4a 8554
024739eb
JJ
85552002-05-13 Jeff Johnston <jjohnstn@redhat.com>
8556
ba3ccd63
EB
8557 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
8558 the original format specifier when looping for vectors to compensate
8559 for any changes made in vector %g format processing.
8560 Also add syntax checking for various invalid scenarios
8561 involving vector format extensions.
8562 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
8563 return code setting for vector formats. Also treat vector
8564 separator mismatch as a match error instead of an input error.
8565 Perform some syntax checking for vector formats.
024739eb 8566
7d2ce898
TF
85672002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
8568
8569 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
8570 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
8571 * libc/string/strlcat.c: New file.
8572 * libc/string/strlcpy.c: New file.
8573
809b6ce7
JJ
85742002-05-10 Jeff Johnston <jjohnstn@redhat.com>
8575
8576 * libc/string/strchr.c: Fix comment typo.
8577
76490806
TF
85782002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
8579
0c048a9a
TF
8580 * acinclude.m4: Add support for --enable-newlib-multithread.
8581 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
8582 --enable-newlib-multithread=no.
8583
76490806
TF
8584 * libc/stdio/getc_u.c: New file.
8585 * libc/stdio/getchar_u.c: New file.
8586 * libc/stdio/putc_u.c: New file.
8587 * libc/stdio/putchar_u.c: New file.
8588 * libc/include/stdio.h: Add declarations for getc_unlocked,
8589 getchar_unlocked, putc_unlocked and putchar_unlocked.
8590 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
8591 (CHEWOUT_FILES): Add new files' .def's.
8592 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
8593
96bff22c
JR
8594Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
8595
8596 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
8597 Also handle as single quad word when destination ends at last
8598 byte of first quad word. Fix byte selection in single quad code.
8599
e71372fa
TF
86002002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
8601
8602 * libc/include/sys/stdio.h: New file.
8603 * libc/sys/linux/sys/stdio.h: New file.
8604 * libc/include/stdio.h: Add declarations for flockfile,
8605 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
8606 * libc/stdio/clearerr.c: Add file locking.
8607 * libc/stdio/fclose.c: Likewise.
8608 * libc/stdio/feof.c: Likewise.
8609 * libc/stdio/ferror.c: Likewise.
8610 * libc/stdio/fflush.c: Likewise.
8611 * libc/stdio/fgetc.c: Likewise.
8612 * libc/stdio/fgetpos.c: Likewise.
8613 * libc/stdio/fgets.c: Likewise.
8614 * libc/stdio/fileno.c: Likewise.
8615 * libc/stdio/fputc.c: Likewise.
8616 * libc/stdio/fputs.c: Likewise.
8617 * libc/stdio/fread.c: Likewise.
8618 * libc/stdio/freopen.c: Likewise.
8619 * libc/stdio/fseek.c: Likewise.
8620 * libc/stdio/ftell.c: Likewise.
8621 * libc/stdio/fwrite.c: Likewise.
8622 * libc/stdio/getc.c: Likewise.
8623 * libc/stdio/putc.c: Likewise.
8624 * libc/stdio/setvbuf.c: Likewise.
8625 * libc/stdio/ungetc.c: Likewise.
8626 * libc/stdio/vfprintf.c: Likewise.
8627
a03790e4
JJ
86282002-05-06 Jeff Johnston <jjohnstn@redhat.com>
8629
60b2107c
TF
8630 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
8631 support for 'p' format. Fix code to print bytes for vector
8632 integer formats that do not specify 'h' or 'l'.
8633 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
8634 for 'p' specifier. Fix code to scan 16 bytes for vector integer
8635 formats that do not specify 'h' or 'l'.
8636
8637 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
8638
9c7d6a9d
TF
86392002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
8640
8641 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
8642 (_sbrk): Add cast of return value.
8643
c33c3635
JJ
86442002-05-06 Jeff Johnston <jjohnstn@redhat.com>
8645
8646 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
8647 (_REENT_L64A_BUF): New macro for accessing area.
8648 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
8649 * libc/stdlib/Makefile.in: Regenerated.
8650 * libc/stdlib/a64l.c: New file.
8651 * libc/stdlib/l64a.c: New file.
8652
f78e59a8
JJ
86532002-05-06 Jeff Johnston <jjohnstn@redhat.com>
8654
ba3ccd63
EB
8655 * libc/unix/pread.c: Fix typo for _pread_r.
8656 * libc/unix/pwrite.c: Fix type for _pwrite_r.
8657 * libc/sys/linux/pread64.c: Fix typo for read syscall.
8658 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
f78e59a8 8659
4b3f6588
CF
86602002-05-03 Christopher Faylor <cgf@redhat.com>
8661
8662 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
8663
e911832c
TF
86642002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
8665
8666 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
8667
0d0fdc8d
CF
86682002-05-01 Christopher Faylor <cgf@redhat.com>
8669
8670 * utmp.h: Define more UNIX constants.
8671
1e997c56
TF
86722002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
8673
0717f01c
TF
8674 * Makefile.am: Add support for checking multilibs.
8675
09841445
TF
8676 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
8677 (SUBDEFS): Add LIBC_EXTRA_DEF.
8678 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
8679 (LIBC_EXTRA_DEF): Likewise.
8680 (extra_dir): Likewise.
8681 * libc/machine/xscale/machine: New directory.
8682 * libc/machine/xscale/machine/profile.h: New file.
8683
1e997c56
TF
8684 * Makefile.am (site.exp): Remove newlib_cflags. Add
8685 multibuildtop.
8686 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
8687 * testsuite/lib/flags.exp: New file.
8688 * testsuite/lib/newlib.exp: Load flags.exp.
8689 (newlib_target_compile): Remove libgloss directory references.
8690 (newlib_init): Remove newlib_cflags references.
8691
4cf4f010
TF
86922002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
8693
f6bdb6f9
TF
8694 * testsuite/lib/newlib.exp (newlib_target_compile): Change
8695 method of finding libgloss_target_dir.
8696
4cf4f010
TF
8697 * Makefile.am (site.exp): Change host_alias, host_triplet,
8698 target_alias, target_triplet to refer to gcc's host and target
8699 variables (newlib's build and host variables).
8700 * testsuite/lib/newlib.exp (newlib_init): Change build
8701 references to host references, host references to target
8702 references to reflect Makefile.am changes.
8703 (newlib_target_compile): Likewise.
8704 (newlib_finish): Likewise.
8705
83096ae8
JJ
87062002-04-29 Jeff Johnston <jjohnstn@redhat.com>
8707
8708 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
8709
822afa53
JL
87102002-04-29 Jonathan Larmour <jlarmour@redhat.com>
8711
8712 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
8713 (_system): New function. Ditto.
8714 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
8715 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
8716 targets.
8717
29798f0d
JJ
87182002-04-29 Jeff Johnston <jjohnstn@redhat.com>
8719
ba3ccd63
EB
8720 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
8721 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
8722 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
8723 * libc/sys/linux/Makefile.in: Regenerated.
8724 * libc/unix/Makefile.in: Ditto.
8725 * libc/sys/linux/pread64.c: New file.
8726 * libc/sys/linux/pwrite64.c: Ditto.
8727 * libc/unix/pread.c: Ditto.
8728 * libc/unix/pwrite.c: Ditto.
29798f0d 8729
557856bd
JJ
87302002-04-26 Jeff Johnston <jjohnstn@redhat.com>
8731
8732 * libc/sys/linux/Makefile.am: Add io64.c.
8733 * libc/sys/linux/Makefile.in: Regenerated.
8734 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
17c0c97d 8735 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
557856bd
JJ
8736 * libc/sys/linux/io64.c: New file.
8737
7b2b12d5
JJ
87382002-04-26 Jeff Johnston <jjohnstn@redhat.com>
8739
8740 * configure.in (CC_FOR_NEWLIB): New variable that
8741 bases on $(CC) and adds targ-include and libc/include as
8742 -isystem directives if they are not already part of $(CC).
8743 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
8744 $(CC_FOR_NEWLIB).
8745 * configure: Regenerated.
8746 * Makefile.in: Ditto.
8747
c62adacc
JJ
87482002-04-25 Jeff Johnston <jjohnstn@redhat.com>
8749
8750 * libc/sys/linux/Makefile.am: Add support for sched.c.
8751 * libc/sys/linux/Makefile.in: Regenerated.
8752 * libc/sys/linux/sched.c: New file.
8753 * libc/sys/linux/sys/types.h: Add struct timespec.
8754
217ad4a0
TF
87552002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
8756
8757 * configure.in (CC_FOR_BUILD): Set to gcc whether
8758 cross-compiling or not.
8759 (CC): Add -isystem's for targ-include and libc/include when they
8760 do not already appear in CC.
8761
eaa75b70
TF
87622002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8763
8764 * Makefile.am (check-DEJAGNU): New target.
8765 (site.exp): Likewise.
8766 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
8767 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
8768 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
8769 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
8770 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
8771 * testsuite: New directory.
8772 * testsuite/config: Likewise.
8773 * testsuite/lib: Likewise.
8774 * testsuite/newlib.locale: Likewise.
8775 * testsuite/newlib.string: Likewise.
8776 * testsuite/config/default.exp: New file.
8777 * testsuite/lib/checkoutput.exp: New file.
8778 * testsuite/lib/newlib.exp: New file.
8779 * testsuite/lib/passfail.exp: New file.
8780 * testsuite/newlib.locale/UTF-8.c: New file.
8781 * testsuite/newlib.locale/UTF-8.exp: New file.
8782 * testsuite/newlib.locale/locale.exp: New file.
8783 * testsuite/newlib.string/string.exp: New file.
8784 * testsuite/newlib.string/tstring.c: New file.
8785
b9f9f699
JJ
87862002-04-23 Jeff Johnston <jjohnstn@redhat.com>
8787
ba3ccd63
EB
8788 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
8789 * libc/sys/linux/Makefile.am: Add support for mmap.c.
8790 * libc/sys/linux/Makefile.in: Regenerated.
8791 * libc/sys/linux/mmap.c: New file.
8792 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
8793 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
b9f9f699 8794
7394edbb
TF
87952002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
8796
8797 * acinclude.m4 (newlib_cflags): Remove include directories that
8798 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
8799
b9f9f699 88002002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
59be2290
JJ
8801
8802 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
8803 * libc/machine/xscale/memcmp.c: Ditto.
8804 * libc/machine/xscale/memcpy.c: Ditto.
8805 * libc/machine/xscale/memmove.c: Ditto.
8806 * libc/machine/xscale/memset.c: Ditto.
8807 * libc/machine/xscale/strchr.c: Ditto.
8808 * libc/machine/xscale/strcmp.c: Ditto.
8809 * libc/machine/xscale/strcpy.c: Ditto.
8810 * libc/machine/xscale/strlen.c: Ditto.
8811
2dd4c4dc
JJ
88122002-04-19 Alexandre Oliva <aoliva@redhat.com>
8813
ba3ccd63
EB
8814 * libc/include/sys/config.h: Remove include of <limits.h>.
8815 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
8816 define INT_MAX and LONG_MAX. Use them in tests.
2dd4c4dc 8817
0d844014
JJ
88182002-04-19 Jeff Johnston <jjohnstn@redhat.com>
8819
8820 * configure.host: Add support for powerpc-eabialtivec*.
8821 * libc/include/malloc.h: Add include of <machine/malloc.h>.
8822 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
8823 * libc/include/machine/malloc.h: New file.
8824 * libc/include/machine/stdlib.h: Ditto.
8825 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
8826 * libc/machine/powerpc/Makefile.am: Add conditional objects and
8827 sources based on configuration.
8828 * libc/machine/powerpc/Makefile.in: Regenerated.
8829 * libc/machine/powerpc/configure: Ditto.
8830 * libc/machine/powerpc/configure.in: Add check for
8831 powerpc-eabialtivec* in which case add in additional source files.
8832 * libc/machine/powerpc/setjmp.S: Add altivec support.
8833 * libc/machine/powerpc/vec_calloc.c: New file.
8834 * libc/machine/powerpc/vec_free.c: Ditto.
8835 * libc/machine/powerpc/vec_malloc.c: Ditto.
8836 * libc/machine/powerpc/vec_mallocr.c: Ditto.
8837 * libc/machine/powerpc/vec_realloc.c: Ditto.
8838 * libc/machine/powerpc/machine/malloc.h: Ditto.
8839 * libc/machine/powerpc/machine/stdlib.h: Ditto.
8840 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
8841 with added altivec format specifiers.
8842 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
8843 added altivec format specifiers.
8844
d413aadc
JS
88452002-04-19 Joel Sherrill <joel@OARcorp.com>
8846
8847 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
8848 while autoconf is trying to link main(){}.
8849
27193895
JJ
88502002-04-17 Jeff Johnston <jjohnstn@redhat.com>
8851
ba3ccd63
EB
8852 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
8853 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
27193895 8854
10d00216
JJ
88552002-04-17 Jeff Johnston <jjohnstn@redhat.com>
8856
6b0f808e
JJ
8857 * libc/time/time.tex: Add tzset info.
8858
88592002-04-17 Jeff Johnston <jjohnstn@redhat.com>
8860
8861 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
8862 (strptime): Moved prototype to be within !__STRICT_ANSI__.
8863 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
8864 (tzname): Defined for all platforms.
8865 (daylight, timezone): Defined only for CYGWIN.
8866 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
8867 environment set up.
8868 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
8869 environment variable is set.
8870 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
8871 tzset_r.c.
8872 * libc/time/Makefile.in: Regenerated.
8873 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
8874 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
8875 * libc/time/lcltime_r.c (lcltime_r): Ditto.
8876 * libc/time/local.h: New local header file.
8877 * libc/time/mktime.c (mktime): Add timezone support.
8878 * libc/time/mktm_r.c: New file which is the common engine
8879 for gmtime_r and lcltime_r. This code has timezone support.
8880 * libc/time/strftime.c (strftime): Add %Z timezone support.
8881 * libc/time/tzlock.c: New file containing timezone lock stubs.
8882 * libc/time/tzset.c: New file containing tzset() routine.
8883 * libc/time/tzset_r.c: New file containing _tzset_r and
8884 internal routine for calculating timezone changes for specified year.
8885
88862002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
8887
8888 * configure.in (CRT0_DIR): Set to libc/.
8889 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
8890 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
8891 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
8892 $(CRT1_DIR)/$(CRT1).
8893 * libc/machine/xstormy16/Makefile.in: Regenerated.
8894 * libc/machine/xstormy16/aclocal.m4: Regenerated.
8895 * libc/machine/xstormy16/configure: Regenerated.
8896
88972002-04-13 Alexandre Oliva <aoliva@redhat.com>
8898
8899 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
8900 fails, don't bail out, and try to correct next time.
8901
8902 * libc/include/sys/config.h: Include limits.h.
8903
89042002-04-12 Eric Norum <eric.norum@usask.com>
8905
8906 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
8907 routine to allow autoconf to determine that building executables
8908 for rtems works.
8909 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
8910 (rtems_gxx_mutex_once): Ditto.
8911
89122002-04-09 Tom Rix <trix@redhat.com>
8913
8914 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
8915
89162002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
8917
ba3ccd63
EB
8918 * libc/include/time.h: Fix strptime declaration.
8919 * libc/time/Makefile.am: Add strptime.c.
6b0f808e 8920 * libc/time/Makefile.in: Regenerated.
ba3ccd63 8921 * libc/time/strptime.c: New file.
6b0f808e
JJ
8922
89232002-04-08 Jeff Johnston <jjohnstn@redhat.com>
8924
8925 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
8926 siglongjmp prototype, and sigsetjmp macro definition.
8927 * libc/sys/linux/siglongjmp.c: New file.
8928 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
8929 * libc/sys/linux/Makefile.in: Regenerated.
8930
89312002-04-04 Jeff Johnston <jjohnstn@redhat.com>
8932
8933 * Makefile.am: Add support for installing crt1.o if one exists.
8934 * configure.host: Specify crt1.o for linux.
8935 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
8936 * Makefile.in: Regenerated.
8937 * configure: Ditto.
8938 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
8939 Added for non-Cygwin, non-RTEMS configurations.
8940 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
8941 * libc/sys/linux/Makefile.in: Regenerated.
8942 * libc/sys/linux/crt1.c: New empty file to override one defaulted
8943 by gcc. This fixes problem with reconfiguring linux newlib build.
8944 * libc/sys/linux/sysconf.c: New file.
8945
89462002-04-03 Jeff Johnston <jjohnstn@redhat.com>
8947
8948 * configure.host: Add support for machine subdirectory of
8949 sys subdirectory.
8950 * configure.in: Add check for sys machine subdirectory.
8951 * Makefile.am: Ditto.
8952 * configure: Regenerated.
8953 * Makefile.in: Ditto.
8954 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
8955 * libc/sys/linux/sys/syscall.h: Ditto.
8956 * libc/sys/linux/sleep.c: New file.
8957 * libc/sys/linux/socket.c: Ditto.
8958 * libc/sys/linux/sockops.h: Ditto.
8959 * libc/sys/linux/stack.c: Ditto.
8960 * libc/sys/linux/usleep.c: Ditto.
8961 * libc/sys/linux/machine/Makefile.am: Ditto.
8962 * libc/sys/linux/machine/Makefile.in: Ditto.
8963 * libc/sys/linux/machine/aclocal.m4: Ditto.
8964 * libc/sys/linux/machine/configure: Ditto.
8965 * libc/sys/linux/machine/configure.in: Ditto.
8966 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
8967 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
8968 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
8969 * libc/sys/linux/machine/i386/configure: Ditto.
8970 * libc/sys/linux/machine/i386/configure.in: Ditto.
8971 * libc/sys/linux/machine/i386/crt0.c: Ditto.
8972 * libc/sys/linux/machine/i386/sigset.c: Ditto.
8973 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
8974 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
8975 * libc/sys/linux/machine/i386/syscall.h: Ditto.
8976 * libc/sys/linux/sys/select.h: Ditto.
8977 * libc/sys/linux/configure.in: Add support for machine directory.
8978 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
8979 * libc/sys/linux/Makefile.in: Regenerated.
8980 * libc/sys/linux/configure: Ditto.
8981 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
8982 * libc/sys/linux/inode.c: Ditto.
8983 * libc/sys/linux/linux.c: Ditto.
8984 * libc/sys/linux/process.c: Ditto.
8985 * libc/sys/linux/systat.c: Ditto.
8986 * libc/sys/linux/time.c: Ditto.
8987 * libc/sys/linux/wait.c: Ditto.
8988 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
8989 * libc/sys/linux/io.c: Change header plus add readv/writev.
8990 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
8991 use __sigsuspend syscall.
8992 * libc/sys/linux/select.c: Change header plus change select to
8993 use _newselect syscall.
8994 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
8995 used by glibc header files.
8996 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
8997 types.
8998
89992002-04-01 Jeff Johnston <jjohnstn@redhat.com>
9000
9001 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
9002 initializing a struct _reent that has been dynamically allocated.
9003 (_REENT_CHECK_MISC): New macro that checks _misc struct for
9004 _REENT_SMALL and does nothing otherwise.
9005 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
9006 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
9007 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
9008 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
9009 [_REENT_SMALL](struct _misc_reent): New structure containing
9010 miscellaneous reentrant areas needed by newlib.
9011 [_REENT_SMALL](struct _reent): Add _misc pointer.
9012 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
9013 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
9014 and _REENT_STRTOK_LAST macros.
9015 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
9016 and _REENT_MBLEN_STATE macros.
9017 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
9018 and _REENT_MBTOWC_STATE macros.
9019 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
9020 and _REENT_WCTOMB_STATE macros.
9021
90222002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
9023
9024 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
9025
9026Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
9027
9028 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
9029
9030Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
9031
9032 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
9033 Store high part of leading bytes too.
9034
90352002-03-22 Richard Sandiford <rsandifo@redhat.com>
9036
9037 * libm/math/ef_hypot.c: Increase scale factor to 68.
9038
90392002-03-13 Alexandre Oliva <aoliva@redhat.com>
9040
9041 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
9042 error.
9043
90442002-03-12 Jeff Johnston <jjohnstn@redhat.com>
9045
ba3ccd63
EB
9046 * libc/sys/go32/access.c: Change license to relaxed license
9047 used in identical file throughout newlib/libgloss.
6b0f808e
JJ
9048
90492002-03-12 Richard Earnshaw <rearnsha@arm.com>
9050
9051 * libc/sys/arm/access.c: New file.
9052 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
9053 * libc/sys/arm/Makefile.in: Regenerate.
9054 * libc/sys/arm/syscalls.c (_stat): New function.
9055
90562002-03-11 Michael Meissner <meissner@redhat.com>
9057
9058 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
9059 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
9060 * libc/machine/mips/Makefile.in: Regenerate.
9061 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
9062 * libc/machine/mips/memset.c: Dito.
9063 * libc/machine/mips/strcmp.c: Dito.
9064 * libc/machine/mips/strlen.c: Dito.
9065 * libc/machine/mips/strncmp.c: Dito.
9066
90672002-03-06 Jeff Johnston <jjohnstn@redhat.com>
9068
9069 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
9070 object so it works for shared library or statici library.
90712002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9072
10d00216
JJ
9073 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
9074 (strptime): Moved prototype to be within !__STRICT_ANSI__.
9075 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
9076 (tzname): Defined for all platforms.
9077 (daylight, timezone): Defined only for CYGWIN.
9078 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
9079 environment set up.
9080 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
9081 environment variable is set.
9082 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
9083 tzset_r.c.
9084 * libc/time/Makefile.in: Regenerated.
9085 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
9086 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
9087 * libc/time/lcltime_r.c (lcltime_r): Ditto.
9088 * libc/time/local.h: New local header file.
9089 * libc/time/mktime.c (mktime): Add timezone support.
9090 * libc/time/mktm_r.c: New file which is the common engine
9091 for gmtime_r and lcltime_r. This code has timezone support.
9092 * libc/time/strftime.c (strftime): Add %Z timezone support.
9093 * libc/time/tzlock.c: New file containing timezone lock stubs.
9094 * libc/time/tzset.c: New file containing tzset() routine.
9095 * libc/time/tzset_r.c: New file containing _tzset_r and
9096 internal routine for calculating timezone changes for specified year.
9097
5f1c13c6
TF
90982002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9099
9100 * configure.in (CRT0_DIR): Set to libc/.
9101 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
9102 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
9103 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
9104 $(CRT1_DIR)/$(CRT1).
9105 * libc/machine/xstormy16/Makefile.in: Regenerated.
9106 * libc/machine/xstormy16/aclocal.m4: Regenerated.
9107 * libc/machine/xstormy16/configure: Regenerated.
9108
0cc261b1
AO
91092002-04-13 Alexandre Oliva <aoliva@redhat.com>
9110
2f3009bd
AO
9111 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
9112 fails, don't bail out, and try to correct next time.
9113
0cc261b1
AO
9114 * libc/include/sys/config.h: Include limits.h.
9115
26116455
JJ
91162002-04-12 Eric Norum <eric.norum@usask.com>
9117
9118 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
9119 routine to allow autoconf to determine that building executables
9120 for rtems works.
9121 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
9122 (rtems_gxx_mutex_once): Ditto.
9123
4608280d
TR
91242002-04-09 Tom Rix <trix@redhat.com>
9125
9126 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
9127
dea7e25c
JJ
91282002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9129
ba3ccd63
EB
9130 * libc/include/time.h: Fix strptime declaration.
9131 * libc/time/Makefile.am: Add strptime.c.
dea7e25c 9132 * libc/time/Makefile.in: Regenerated.
ba3ccd63 9133 * libc/time/strptime.c: New file.
dea7e25c 9134
c5ef1e95
JJ
91352002-04-08 Jeff Johnston <jjohnstn@redhat.com>
9136
9137 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
9138 siglongjmp prototype, and sigsetjmp macro definition.
9139 * libc/sys/linux/siglongjmp.c: New file.
9140 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
9141 * libc/sys/linux/Makefile.in: Regenerated.
9142
6e6cd5bd
JJ
91432002-04-04 Jeff Johnston <jjohnstn@redhat.com>
9144
9145 * Makefile.am: Add support for installing crt1.o if one exists.
9146 * configure.host: Specify crt1.o for linux.
9147 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
9148 * Makefile.in: Regenerated.
9149 * configure: Ditto.
9150 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
9151 Added for non-Cygwin, non-RTEMS configurations.
9152 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
9153 * libc/sys/linux/Makefile.in: Regenerated.
9154 * libc/sys/linux/crt1.c: New empty file to override one defaulted
9155 by gcc. This fixes problem with reconfiguring linux newlib build.
9156 * libc/sys/linux/sysconf.c: New file.
9157
fa4a16a1
JJ
91582002-04-03 Jeff Johnston <jjohnstn@redhat.com>
9159
9160 * configure.host: Add support for machine subdirectory of
9161 sys subdirectory.
9162 * configure.in: Add check for sys machine subdirectory.
9163 * Makefile.am: Ditto.
9164 * configure: Regenerated.
9165 * Makefile.in: Ditto.
9166 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
9167 * libc/sys/linux/sys/syscall.h: Ditto.
9168 * libc/sys/linux/sleep.c: New file.
9169 * libc/sys/linux/socket.c: Ditto.
9170 * libc/sys/linux/sockops.h: Ditto.
9171 * libc/sys/linux/stack.c: Ditto.
9172 * libc/sys/linux/usleep.c: Ditto.
9173 * libc/sys/linux/machine/Makefile.am: Ditto.
9174 * libc/sys/linux/machine/Makefile.in: Ditto.
9175 * libc/sys/linux/machine/aclocal.m4: Ditto.
9176 * libc/sys/linux/machine/configure: Ditto.
9177 * libc/sys/linux/machine/configure.in: Ditto.
9178 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
9179 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
9180 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
9181 * libc/sys/linux/machine/i386/configure: Ditto.
9182 * libc/sys/linux/machine/i386/configure.in: Ditto.
9183 * libc/sys/linux/machine/i386/crt0.c: Ditto.
9184 * libc/sys/linux/machine/i386/sigset.c: Ditto.
9185 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
9186 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
9187 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9188 * libc/sys/linux/sys/select.h: Ditto.
9189 * libc/sys/linux/configure.in: Add support for machine directory.
9190 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
9191 * libc/sys/linux/Makefile.in: Regenerated.
9192 * libc/sys/linux/configure: Ditto.
9193 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
9194 * libc/sys/linux/inode.c: Ditto.
9195 * libc/sys/linux/linux.c: Ditto.
9196 * libc/sys/linux/process.c: Ditto.
9197 * libc/sys/linux/systat.c: Ditto.
9198 * libc/sys/linux/time.c: Ditto.
9199 * libc/sys/linux/wait.c: Ditto.
9200 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
9201 * libc/sys/linux/io.c: Change header plus add readv/writev.
9202 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
9203 use __sigsuspend syscall.
9204 * libc/sys/linux/select.c: Change header plus change select to
9205 use _newselect syscall.
9206 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
9207 used by glibc header files.
9208 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
9209 types.
9210
d4dca0e4
JJ
92112002-04-01 Jeff Johnston <jjohnstn@redhat.com>
9212
9213 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
9214 initializing a struct _reent that has been dynamically allocated.
9215 (_REENT_CHECK_MISC): New macro that checks _misc struct for
9216 _REENT_SMALL and does nothing otherwise.
9217 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
9218 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
9219 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
9220 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
9221 [_REENT_SMALL](struct _misc_reent): New structure containing
9222 miscellaneous reentrant areas needed by newlib.
9223 [_REENT_SMALL](struct _reent): Add _misc pointer.
9224 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
9225 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
9226 and _REENT_STRTOK_LAST macros.
9227 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
9228 and _REENT_MBLEN_STATE macros.
9229 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
9230 and _REENT_MBTOWC_STATE macros.
9231 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
9232 and _REENT_WCTOMB_STATE macros.
9233
54a7c6d2
JJ
92342002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
9235
9236 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
9237
c82479b1
CF
9238Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
9239
9240 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
9241
43ecf6e8
JR
9242Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
9243
9244 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
9245 Store high part of leading bytes too.
9246
a485d93f
RS
92472002-03-22 Richard Sandiford <rsandifo@redhat.com>
9248
9249 * libm/math/ef_hypot.c: Increase scale factor to 68.
9250
62a963ee
AO
92512002-03-13 Alexandre Oliva <aoliva@redhat.com>
9252
9253 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
9254 error.
9255
c53d8453
JJ
92562002-03-12 Jeff Johnston <jjohnstn@redhat.com>
9257
ba3ccd63
EB
9258 * libc/sys/go32/access.c: Change license to relaxed license
9259 used in identical file throughout newlib/libgloss.
c53d8453 9260
d2a246ad
JJ
92612002-03-12 Richard Earnshaw <rearnsha@arm.com>
9262
9263 * libc/sys/arm/access.c: New file.
9264 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
9265 * libc/sys/arm/Makefile.in: Regenerate.
9266 * libc/sys/arm/syscalls.c (_stat): New function.
9267
eabb48d5
MM
92682002-03-11 Michael Meissner <meissner@redhat.com>
9269
9270 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
9271 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
9272 * libc/machine/mips/Makefile.in: Regenerate.
9273 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
9274 * libc/machine/mips/memset.c: Dito.
9275 * libc/machine/mips/strcmp.c: Dito.
9276 * libc/machine/mips/strlen.c: Dito.
9277 * libc/machine/mips/strncmp.c: Dito.
9278
2a606041
JJ
92792002-03-06 Jeff Johnston <jjohnstn@redhat.com>
9280
eabb48d5
MM
9281 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
9282 object so it works for shared library or statici library.
9283 * libc/machine/i386/Makefile.in: Regenerated.
2a606041 9284
55f26f11
JR
9285Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
9286
96bff22c
JR
9287 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
9288 Add memcpy.S, memset.S and strcpy.S.
9289 * libc/machine/sh/Makefile.in: Regenerate.
9290 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
55f26f11 9291 (SHHI, SHLO): Define.
96bff22c
JR
9292 * libc/machine/sh/memset.S: Add code for SH5.
9293 * libc/machine/sh/memset.S: Likewise.
9294 * libc/machine/sh/strcpy.S: Likewise.
55f26f11 9295
afecf2fa
JJ
92962002-02-27 Jeff Johnston <jjohnstn@redhat.com>
9297
9298 * configure.host: Add check for --disable-newlib-io-float
9299 configuration option and add -DNO_FLOATING_POINT to newlib cflags
9300 if appropriate.
9301 * acinclude.m4: Added --disable-newlib-io-float option.
9302 * aclocal.m4: Regenerated.
9303 * configure: Ditto.
9304 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
17c0c97d 9305 * libc/*/aclocal.m4 libc/*/configure
afecf2fa
JJ
9306 * libm/*/aclocal.m4 libm/*/configure: Ditto.
9307 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
9308 if NO_FLOATING_POINT flag is not defined.
9309
c1010a63
JJ
93102002-02-25 Jeff Johnston <jjohnstn@redhat.com>
9311
9312 * libc/include/sys/config.h: Add __extension__ in front of
9313 long long references.
9314
630c657e
CV
93152002-02-23 Corinna Vinschen <corinna@vinschen.de>
9316
9317 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
9318 (_stat): Ditto.
9319
59ee2e20
CV
93202002-02-23 Corinna Vinschen <corinna@vinschen.de>
9321
9322 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
9323 of off_t.
9324
2dd68dc2
NC
93252002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
9326
9327 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
9328 clobbered registers.
9329
55500bf1
TF
93302002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
9331
9332 * configure.host (newlib_cflags): When host is in m68* add
9333 -DCOMPACT_CTYPE.
9334
ba0173f0
JJ
93352002-02-15 Jeff Johnston <jjohnstn@redhat.com>
9336
ba3ccd63
EB
9337 * libc/include/sys/config.h: Add definitions for
9338 __int16_t, __uint16_t, __int64_t, and __uint64_t.
ba0173f0 9339
7b61d0c5
JJ
93402002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
9341
ba3ccd63
EB
9342 * libc/sys/mmixware/link.c: New.
9343 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
9344 volatile.
9345 * libc/sys/mmixware/times.c (_times): Renamed from times.
9346 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
9347 properly by reading previous contents, not through BinaryReadWrite.
9348 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
9349 * libc/sys/mmixware/Makefile.in: Regenerate.
7b61d0c5 9350
a505db65
CV
93512002-02-10 Corinna Vinschen <corinna@vinschen.de>
9352
9353 * libc/include/grp.h: Don't declare group functions when compiling
9354 Cygwin.
9355
f3b39c45
CV
93562002-02-09 Corinna Vinschen <corinna@vinschen.de>
9357
9358 * libc/include/grp.h: Include Cygwin specific header.
9359 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
9360 when compiling for Cygwin.
9361 * libc/include/sys/types.h: Don't define off_t, uid_t
9362 and gid_t when compiling for Cygwin.
9363
82b3ac56
MG
93642002-02-08 matthew green <mrg@redhat.com>
9365
9366 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
9367 _REENT_EMERGENCY_SIZE, not sizeof(char *).
9368
9f25eed9
AO
93692002-02-08 Alexandre Oliva <aoliva@redhat.com>
9370
9371 Contribute sh64-elf.
9372 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
9373 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
9374 support in printf.
9375 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
9376 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
9377 any labels.
9378 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
9379 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
9380 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
9381 * libc/machine/sh/configure.in: Rework conditionals.
9382 * libc/machine/sh/Makefile.am: Likewise.
9383 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
9384 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
9385 * configure.host: Match `sh*'.
9386 * libc/include/machine/setjmp.h: Define for SH5.
9387 * libc/machine/sh/configure.in: Detect SH5.
9388 * libc/machine/sh/configure: Rebuilt.
9389 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
9390 * libc/machine/sh/Makefile.in: Rebuilt.
9391 * libc/machine/sh/asm.h: Adjust for SH5.
9392 * libc/machine/sh/setjmp.S: Implement in SHmedia.
9393 * libc/sys/sh/crt0.S: Likewise.
9394 * libc/sys/sh/trap.S: Likewise.
9395
a2a405ae
JJ
93962002-02-07 Jeff Johnston <jjohnstn@redhat.com>
9397
9398 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
9399 (mach_add_obj): Conditionally set to setjmp.o or nothing.
9400 (LIB_SOURCES): Remove $(mach_add_src).
9401 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
9402 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
9403 * libc/machine/i386/Makefile.in: Regenerate.
9404
27478365
JJ
94052002-02-05 Manik Raina <manik@cisco.com>
9406
994fa212 9407 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
27478365
JJ
9408 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
9409 s, p, k, and outstr.
9410 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
9411
815a37f7
JJ
94122002-02-04 Jeff Johnston <jjohnstn@redhat.com>
9413
9414 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
9415 _REENT_CHECK_EMERGENCY macro.
9416
a4139c12
MG
94172002-02-03 matthew green <mrg@redhat.com>
9418
9419 * libc/reent/signgam.c (__signgam): Fix error in previous.
9420
8195aff7
MG
94212002-02-02 matthew green <mrg@redhat.com>
9422
9423 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
9424
9425 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
9426 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
9427 * libc/include/sys/reent.h (struct _reent): Completely new version
9428 for _REENT_SMALL.
9429 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
9430 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
9431 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
9432 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
9433 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
9434 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
9435 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
9436 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
9437 (_REENT_EMERGENCY): Likewise.
9438
9439 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
9440 the start of the real __sFILE, used for stdin, stdout and stderr until
9441 they are setup properly.
9442 (struct __sFILE): Move location of _data in _REENT_SMALL case.
9443 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
9444 allocated stdin, stdout and stderr.
9445 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
9446 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
9447 * libc/stdio/perror.c (_perror_r): Likewise.
9448 * libc/stdio/printf.c (printf, _printf_r): Likewise.
9449 * libc/stdio/putchar.c (_putchar_r): Likewise.
9450 * libc/stdio/puts.c (_puts_r): Likewise.
9451 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
9452 * libc/stdio/vprintf.c (vprintf): Likewise.
9453 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
9454
9455 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
9456
9457 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
9458 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
9459 for _REENT_SMALL.
9460 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
9461 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
9462
9463 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
9464 _REENT_SMALL.
9465 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
9466 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
9467 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
9468 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
9469 * libc/stdlib/rand48.c (__dorand48): Likewise.
9470 * libc/stdlib/seed48.c (_seed48_r): Likewise.
9471 * libc/stdlib/srand48.c (_srand48_r): Likewise.
9472 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
9473 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
9474 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
9475 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
9476 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
9477 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
9478 * libc/stdlib/rand.c (rand): Likewise.
9479
9480 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
9481 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
9482
9483 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
9484 _REENT_MP_FREELIST() and _REENT_MP_P5S.
9485 * libc/include/sys/reent.h (struct _mprec): New structure.
9486
9487 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
9488 _unused_strtok_last.
9489 * libc/string/strtok.c (strtok): Use a local static variable.
9490
9491 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
9492 (_REENT_EMERGENCY_SIZE): Likewise.
9493 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
9494 _REENT_ASCTIME_BUF().
9495 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
9496 _REENT_TM().
9497
9498 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
9499 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
9500 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
9501 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
9502 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
9503 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
9504
9c2e7642
GK
95052002-02-01 Geoffrey Keating <geoffk@redhat.com>
9506
9507 * configure.host (xstormy16): Don't use the generic malloc.
9508 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
9509 * libc/machine/xstormy16/Makefile.in: Regenerate.
9510 * libc/machine/xstormy16/mallocr.c: New file.
9511 * libc/machine/xstormy16/tiny-malloc.c: New file.
9512
4bb6112f
TF
95132002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
9514
9515 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
9516 when _CYGWIN_TYPES_H is not defined.
9517
8d345552
TF
95182002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9519
9520 * libc/include/sys/signal.h: Revert 2002-01-23 change.
9521
bcc49082
TF
95222002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
9523
9524 * libc/include/sys/signal.h: Remove pthread_kill declaration
9525 when __CYGWIN__ is defined.
9526
13baedeb
CF
95272002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9528
9529 * libc/include/time.h: Add prototype for strptime for Cygwin.
9530
b2db0ebc
NC
95312002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
9532
ebf139fb
NC
9533 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
9534 dst was not word aligned.
9535
b2db0ebc
NC
9536 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
9537 if too much memory is requested.
9538
798c015d
JJ
95392002-01-11 Jeff Johnston <jjohnstn@redhat.com>
9540
9541 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
9542 reads blanks from the input file to break if EOF reached
9543 rather than end processing.
9544
46ad2ef4
JJ
95452002-01-07 Jeff Johnston <jjohnstn@redhat.com>
9546
9547 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
9548
86b06396
JJ
95492002-01-07 Alan Matsuoka <alanm@redhat.com>
9550
ba3ccd63
EB
9551 * libc/include/machine/ieeefp.h: Configure d10v doubles to
9552 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
9553 libc/include/sys/config.h: Ditto.
86b06396 9554
423d5064
CV
95552001-12-28 Corinna Vinschen <corinna@vinschen.de>
9556
9557 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
9558
f6eff1c0
GK
95592001-12-22 Geoffrey Keating <geoffk@redhat.com>
9560 Catherine Moore <clm@redhat.com>
9561 Richard Henderson <rth@redhat.com>
9562 Corinna Vinschen <vinschen@redhat.com>
9563
9564 * configure.host: Add support for xstormy16.
9565 * libc/include/machine/ieeefp.h: Add support for xstormy16.
9566 * libc/include/machine/setjmp.h: Add support for xstormy16.
9567 * libc/include/sys/config.h: Add support for xstormy16.
9568 * libc/machine/xstormy16/Makefile.am: New file.
9569 * libc/machine/xstormy16/Makefile.in: New file.
9570 * libc/machine/xstormy16/aclocal.m4: New file.
9571 * libc/machine/xstormy16/configure: New file.
9572 * libc/machine/xstormy16/configure.in: New file.
9573 * libc/machine/xstormy16/setjmp.S: New file.
9574
1f93c55f
TF
95752001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
9576
9577 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
9578 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
9579
13b918be
CV
95802001-12-19 Corinna Vinschen <corinna@vinschen.de>
9581
9582 * libm/machine/Makefile.am: Change rules to create correct lib.a.
9583 * libm/machine/Makefile.in: Regenerated through automake.
9584
08e857b4
TF
95852001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
9586
9587 * Makefile.am (DOCDIR): Force to empty string when doc
9588 directory is not present.
9589
60565ed6
TF
95902001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
9591
9592 * libc/machine/i386/f_*: Move to libm/machine/i386.
9593
95942001-12-18 Joel Sherrill <joel@OARcorp.com>
9595
9596 * libm/machine/Makefile.am: Add dummy doc stub so
9597 "make info" works.
9598
95992001-12-17 Joel Sherrill <joel@OARcorp.com>
9600
9601 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
9602
fc504135
TF
96032001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9604
9605 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
9606 $(COMPILE) rather than $(CC).
9607 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
9608 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
9609 $(LIB_COMPILE) change.
9610 (vfiprintf.$(oext)): Likewise.
9611
efeae9a3
CV
96122001-12-17 Corinna Vinschen <vinschen@redhat.de>
9613
9614 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
9615 conditionalized including of getopt stuff.
9616
cdf7120d
TF
96172001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
9618
9619 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
9620 compile line.
f85be99c 9621 (vfiprintf.$(oext)): Likewise.
cdf7120d 9622
2e1a7175
TF
96232001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
9624
9625 * Makefile.shared: New file.
9626 * libc/sys/linux/shared.ld: New file.
9627 * libm/machine/*: New files.
9628 * libm/machine/i386/*: New files.
9629 * Makefile.am: Add libtool support. Change math and mathfp
9630 references to variables.
9631 * configure.host: Add variables for libtool support. Add
9632 libm_machine_dir variable.
9633 * configure.in: Add objectlist variables, for libtool
9634 support. Add CC_FOR_BUILD tests.
9635 * libc/Makefile.am: Add libtool support. Change crt0.o
9636 reference to be a variable reference.
9637 * libc/configure.in: Add libtool support. Change sublib
9638 names to be lib${subdir}.la when using libtool.
9639 * libc/ctype/Makefile.am: Add libtool support.
9640 * libc/errno/Makefile.am: Likewise.
9641 * libc/locale/Makefile.am: Likewise.
9642 * libc/machine/Makefile.am: Likewise.
9643 * libc/machine/configure.in: Likewise.
9644 * libc/machine/i386/Makefile.am: Likewise.
9645 * libc/machine/i386/configure.in: Likewise.
9646 * libc/misc/Makefile.am: Likewise.
9647 * libc/posix/Makefile.am: Likewise.
9648 * libc/reent/Makefile.am: Likewise.
9649 * libc/signal/Makefile.am: Likewise.
9650 * libc/stdio/Makefile.am: Likewise.
9651 * libc/stdlib/Makefile.am: Likewise.
9652 * libc/string/Makefile.am: Likewise.
9653 * libc/sys/Makefile.am: Likewise.
9654 * libc/sys/configure.in: Likewise.
9655 * libc/sys/linux/Makefile.am: Add libtool support. Change
9656 awk reference to a variable reference. Change signal.h
9657 reference to a variable reference.
9658 * libc/sys/linux/configure.in: Add libtool support.
9659 * libc/syscalls/Makefile.am: Likewise.
9660 * libc/time/Makefile.am: Likewise.
9661 * libc/unix/Makefile.am: Likewise.
9662 * libm/Makefile.am: Add libtool support. Change math and
9663 mathfp references to variables.
9664 * libm/configure.in: Add libtool support. Add
9665 LIBM_MACHINE_LIB variable.
9666 * libm/common/Makefile.am: Add libtool support.
9667 * libm/math/Makefile.am: Likewise.
9668 * libm/mathfp/Makefile.am: Likewise.
9669 Regenerate all Makefile.in, aclocal.m4, and configure.
9670
b92591a1
JJ
96712001-12-13 Anita Kulkarni <anitak@kpit.com>
9672
ba3ccd63 9673 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
b92591a1 9674
355b664e
CF
96752001-12-06 John Peacock <jpeacock@rowman.com>
9676
9677 * libc/include/sys/unistd.h: Correct ualarm declaration.
9678
e9853806
NC
96792001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
9680
9681 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
9682 vector before calling the initialisation functions.
9683
a8e091b0
CF
96842001-11-29 Christopher Faylor <cgf@redhat.com>
9685
9686 * libc/include/dirent.h: Protect against multiple inclusion.
9687
ab634123
CF
96882001-11-27 Christopher Faylor <cgf@redhat.com>
9689
9690 * libc/include/sys/types.h: Define useconds_t.
9691 * libc/include/sys/ulimit.h: Declare ualarm.
9692
d37e401e
CF
96932001-11-21 Christopher Faylor <cgf@redhat.com>
9694
9695 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
9696
8ac90051
HPN
96972001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
9698
9699 * libc/sys/mmixware/*: Tweak license header in all source files.
9700
d7ca37e4
CV
97012001-11-12 Corinna Vinschen <vinschen@redhat.com>
9702
9703 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
9704 to here. Rearrange for general inclusion by stdlib.h.
9705 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
9706 isn't defined.
9707 * libc/sys/linux/include/alloca.h: Move to libc/include.
9708
28f8744e
AG
97092001-11-12 Anthony Green <green@redhat.com>
9710
9711 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
9712
4cede8c4
HPN
97132001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
9714
9715 * libc/sys/mmixware/*: Correct spacing in all source files.
9716 * libc/sys/mmixware/syscall.h: Move misplaced file...
9717 * libc/sys/mmixware/sys/syscall.h: ...here.
9718
8be9b48b
JJ
97192001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
9720
ba3ccd63
EB
9721 * libc/include/machine/ieeefp.h: Add support for mmix target.
9722 * libc/include/machine/setjmp.h: Ditto.
9723 * configure.host: Ditto.
9724 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
9725 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
9726 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
9727 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
9728 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
9729 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
9730 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
9731 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
9732 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
9733 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
9734 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
9735 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
9736 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
9737 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
9738 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
9739 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
9740 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
9741 libc/sys/mmixware/aclocal.m4: Generate.
8be9b48b 9742
c7dd4f95
CV
97432001-11-05 Corinna Vinschen <corinna@vinschen.de>
9744
9745 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
9746 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
9747 when __CYGWIN__ is defined.
9748 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
9749 logwtmp().
9750
a6a6f9fe
JJ
97512001-11-01 Arati Dikey <aratidikey@hotmail.com>
9752
9753 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
9754 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
9755 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
9756 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
9757
d0504c35
JJ
97582001-10-24 Christopher Faylor <cgf@redhat.com>
9759
9760 * libc/stdio/fseek.c: Reset pointer to buffer base
9761 when forced to seek outside of current buffer contents.
9762 This prevents the code from erroneously thinking there is
9763 anything in the current buffer.
9764
0280c8c0
GK
97652001-10-22 Geoffrey Keating <geoffk@redhat.com>
9766
9767 * libc/include/math.h: The C++ standard adds the single-precision
9768 versions of the elementary functions.
9769
333d6098
CF
97702001-10-22 Christopher Faylor <cgf@redhat.com>
9771
9772 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
9773 throughout.
9774 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
9775 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
9776 * system.c (_system_r): Ditto.
9777
c7118319
CV
97782001-10-17 Corinna Vinschen <corinna@vinschen.de>
9779
9780 * libc/include/sys/unistd.h: Add prototype for fchdir() when
b4e98df6 9781 __CYGWIN__ or __rtems__ is defined.
c7118319 9782
5665b0e1
JJ
97832001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
9784
ba3ccd63
EB
9785 * libc/include/stdlib.h: add declarations for
9786 _strtoull_r, _strtoll_r, strtoull, and strtoll.
9787 * libc/stdio/local.h: remove declarations of
9788 __strtoull_r and __strtoll_r.
9789 * libc/stdio/vfscanf.c(__svfscanf_r): call
9790 _strtoull_r instead of __strtoull_r. Ditto
9791 _strtoll_r vs. __strtoll_r.
9792 * libc/stdlib/Makefile.am: add new files to
9793 .c list and .def list
9794 * libc/stdlib/Makefile.in: regenerate
9795 * libc/stdlib/strtoll_r.c: rename __strtoll_r
9796 as _strtoll_r
9797 * libc/stdlib/strtoull_r.c: rename __strtoull_r
9798 as _strtoull_r
9799 * libc/stdlib/strtoull.c: new file
9800 * libc/stdlib/strtoll.c: new file
5665b0e1 9801
d2d5eb41
CF
9802Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
9803
9804 * libc/include/process.h: Add getpid() declaration.
9805
448e3c14
NC
98062001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
9807
9808 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
9809 for new style arm/elf ctor/dtor handling.
9810 Minor formatting tidy up.
9811
7a2afbbb
JJ
98122001-09-13 Jeff Johnston <jjohnstn@redhat.com>
9813
9814 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
9815 and strtoull_r.c.
9816 * libc/stdlib/Makefile.in: Regenerated.
9817 * libc/stdlib/strtoll_r.c: New file.
9818 * libc/stdlib/strtoull_r.c: New file.
9819 * libc/stdio/local.h: Add prototypes for long long string
9820 conversion routines.
9821 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
9822 tied to %L integer conversion specifier.
9823
6342caa4
JJ
9824Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
9825
ba3ccd63
EB
9826 * strftime.c (strftime): Fix "%W" implementation to properly handle
9827 Mondays too.
6342caa4 9828
b2d319cb
JJ
98292001-09-07 Jeff Law <law@redhat.com>
9830
ba3ccd63
EB
9831 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
9832 __fini with "mov.l" instead of "mov.w".
b2d319cb 9833
233823ba
CV
98342001-09-05 Corinna Vinschen <corinna@vinschen.de>
9835
9836 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
9837 and getopt.h.
9838
63c17b54
JJ
98392001-09-04 Jason Merrill <jason_merrill@redhat.com>
9840
9841 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
9842
a3e67ddf
CV
98432001-09-03 Corinna Vinschen <corinna@vinschen.de>
9844
9845 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
9846 field.
9847 (__DIRENT_VERSION): New define.
9848
6d47f33a
CV
98492001-09-03 Corinna Vinschen <corinna@vinschen.de>
9850
9851 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4f79e37e
CV
9852 Shrink __d_reserved accordingly to keep structure size.
9853 (dirfd): Declare external.
6d47f33a 9854
348c5e06
JJ
98552001-08-29 Joel Sherrill <joel@OARcorp.com>
9856
9857 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
9858
98592001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
9860
9861 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
9862 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
9863 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
9864 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
9865 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
9866 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
9867 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
9868 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
9869 Add conditional compilation to avoid HW FPU instructions
9870 when compiled for soft-float.
9871
f29865c5
JJ
98722001-08-29 Jeff Johnston <jjohnstn@redhat.com>
9873
9874 * Makefile.am: Add check for ln failing when creating libg.a
9875 so that cp gets used as a backup.
9876 * Makefile.in: Regenerated.
9877
9e2a4ef8
JJ
98782001-08-29 Jeff Johnston <jjohnstn@redhat.com>
9879
9880 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
9881 No longer include time.h. Add struct __tm to use for
9882 _localtime_buf in the reentrant structure. Add a
9883 _NULL definition to use in initializing the reentrant struct.
9884 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
9885 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
9886 <sys/_types.h>.
9887 * libc/include/sys/unistd.h: Include <sys/_types.h>.
9888 * libc/time/lcltime.c (localtime): Cast the reentrant struct
9889 _localtime_buf to be struct tm *.
9890
1ae900d6
JR
9891Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
9892
9893 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
9894 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
9895 __ctors_end.
9896 * libc/sys/h8300hms/syscalls.c: Include errno.h.
9897 (_unlink): New stub function.
9898
8e26d5b5
CF
9899Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
9900
9901 * libc/include/sys/errno.h: Add a cautionary comment.
9902
e8267664
JJ
99032001-08-21 Jeff Johnston <jjohnstn@redhat.com>
9904
9905 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
9906 for SIZE_SZ so that alignment ends up a minimum of 8.
9907
4acf3edf
CF
9908Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
9909
9910 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
9911 arguments.
9912
9913 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
9914 Cygwin.
9915
52c80be8
JJ
99162001-08-13 Jeff Johnston <jjohnstn@redhat.com>
9917
9918 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
9919 macro constants for mallopt options.
9920 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
9921
a7061f7f
JJ
99222001-08-02 Jeff Johnston <jjohnstn@redhat.com>
9923
9924 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
9925 otherwise default.
9926
0b4bfdd5
AH
99272001-07-12 Aldy Hernandez <aldyh@redhat.com>
9928
ba3ccd63 9929 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
0b4bfdd5 9930
2b6b730c
NC
99312001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
9932
9933 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
9934 Define for little endian ARMs.
9935
9936 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
9937 __IEEE_BYTES_LITTLE_ENDIAN is defined.
9938
25842b68
JJ
99392001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
9940
ba3ccd63 9941 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
25842b68 9942
371b76ef
JJ
99432001-06-11 Egor Duda <deo@logos-m.ru>
9944
ba3ccd63
EB
9945 * libc/ctype/ctype_.c: When compiled with gcc on platforms
9946 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
9947 initialized memory region. Platform can define COMPACT_CTYPE
9948 to avoid allocation of the additional 128 bytes of data.
9949 Add pointer to _ctype_ array. Always initialize all _ctype_
9950 array elements.
371b76ef 9951
43b44bc5
JL
99522001-06-08 Jonathan Larmour <jlarmour@redhat.com>
9953
9954 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
9955 NULL pointer.
9956
188bc140
NC
99572001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
9958
9959 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
9960
2ce88418
NC
99612001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
9962
9963 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
9964 matching, non-word alignment, and the length is <= 4 but more than
9965 enough to move them over a word boundary.
9966 Add comments explaining what each instruction does.
9967
ca60ed47
CF
9968Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
9969
9970 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
c63e9997 9971 * libc/include/sys/unistd.h: Ditto.
ca60ed47 9972
8b3bcfba
JJ
99732001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
9974
ba3ccd63 9975 * libc/string/strrchr.c: Use strchr for the speed improvements.
8b3bcfba 9976
b09e3cf8
JJ
99772001-05-01 Jeff Johnston <jjohnstn@redhat.com>
9978
9979 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
9980 real file systems, let __smakebuf() determine if line buffering
9981 should be used for stdout.
9982
0ca66974
JJ
99832001-04-27 Jeff Johnston <jjohnstn@redhat.com>
9984
9985 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
9986
7cb7017a
JJ
99872001-04-27 Jeff Johnston <jjohnstn@redhat.com>
9988
9989 * libc/include/stdlib.h: Add prototype for _strtod_r.
9990
a874cd21
JJ
99912001-04-24 Charles Wilson <cwilson@ece.gatech.edu
9992
ba3ccd63
EB
9993 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
9994 * libc/stdio/vprintf.c (_vprintf_r): new function
9995 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
9996 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
9997 _DEFUN, and call _vfprintf_r, not vfprintf.
9998 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
9999 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
10000 _DEFUN, and call _vfprintf_r, not vfprintf.
a874cd21 10001
cb4cc283 100022001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
17c0c97d 10003
cb4cc283
CF
10004 * libc/include/sys/unistd.h [X_OK]: Use better protection against
10005 Cygwin X_OK definitions in sys/file.h.
10006
8c9df1d5
CF
10007Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
10008
10009 * libc/include/sys/time.h: Define timercmp and other macros for
10010 __CYGWIN__, too.
10011
3ac6f3a7 100122001-04-20 Jeff Johnston <jjohnstn@redhat.com>
17c0c97d 10013
3ac6f3a7
JJ
10014 * acinclude.m4: Added --enable-malloc-debugging configure flag.
10015 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
10016 --enable-malloc-debugging selected.
10017 * aclocal.m4 configure: Regenerated.
10018 libm/aclocal.m4 libm/configure: Ditto.
10019 * libc/aclocal.m4 libc/configure: Ditto.
10020 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
10021 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
10022 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
10023 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
10024 * doc/aclocal.m4 doc/configure: Ditto.
10025
52cb9e69
JJ
100262001-04-20 Jeff Johnston <jjohnstn@redhat.com>
10027
10028 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
10029 into one list.
10030 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
10031 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
10032 function prototypes.
10033 (_fscanf_r, _sscanf_r): Ditto.
10034 * libc/include/stdlib.h: Added _strtod_r prototype.
10035 * libc/stdio/Makefile.am: Add new v*scanf functions.
10036 * libc/stdio/Makefile.in: Regenerate.
10037 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
10038 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
10039 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
10040 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
10041 (sscanf): Changed to call __svfscanf_r with _REENT argument.
10042 (_sscanf_r): New routine.
10043 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
10044 with __svfscanf_r prototype.
10045 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
10046 routines.
10047 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
10048 structure as argument as calls reentrant versions of helper functions
10049 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
10050 to _strtol_r and _strtod_r respectively.
10051 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
10052 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
10053 _REENT argument.
10054 * libc/stdio/vscanf.c: New file.
10055 * libc/stdio/vsscanf.c: Ditto.
10056
ee9f39fb
JJ
100572001-04-19 Robert Collins <rbtcollins@hotmail.com>
10058
10059 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
10060 Define daylight to _daylight if it is not defined
17c0c97d 10061 Prepare a variable export of timezone based on timezonevariable.
ee9f39fb
JJ
10062 (Cannot be used with the timezone() function.)
10063
273861e3
JJ
100642001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
10065
ba3ccd63
EB
10066 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
10067 Correct the numerical values.
273861e3 10068
a25b8414
CF
100692001-04-13 Robert Collins <rbtcollins@hotmail.com>
10070
10071 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
10072
b8a8c59d
CV
10073Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
10074
10075 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
10076 on case insensitve file systems.
10077
74f8cc63
CF
100782001-04-12 Robert Collins <rbtcollins@hotmail.com>
10079
10080 * libc/include/sys/features.h: Add appropriate defines for Cygwin
10081 pthread support.
10082 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
10083 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
10084 types. Include <cygwin/types.h> for the cygwin specific typedefs.
10085
16740220
RS
100862001-04-04 Richard Sandiford <rsandifo@redhat.com>
10087
10088 * libc/include/machine/ieeefp.h: Comment about new configuration
10089 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
10090 * libm/common/fdlib.h: Define new macros for testing floats.
10091 * libm/common/sf_*: Use them.
10092 * libm/math/ef_*: Likewise.
10093 * libm/math/sf_*: Likewise.
10094
0694d8d3
JJ
100952001-03-29 Jeff Johnston <jjohnstn@redhat.com>
10096
10097 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
10098 prolog to by-pass possible assembler error.
10099
4833b38c
JJ
101002001-03-21 Egor Duda <deo@logos-m.ru>
10101
ba3ccd63
EB
10102 Allow building internal stubs for non-reentrant syscalls
10103 if target provides its own malloc
10104 * libc/reent/reent.c (errno): Move definition here.
10105 * libc/reent/sbrkr.c: From here.
4833b38c 10106
d17d6d42
CF
101072001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
10108
10109 * libc/include/sys/types.h (BSD int typedefs): Guard with
10110 _BSDTYPES_DEFINED rather than _WINSOCK_H.
10111 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
10112 _SYS_TYPES_FD_SET.
10113 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
10114 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
10115
c7ee75cd
CV
10116Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
10117
10118 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
10119 _PC_POSIX_SECURITY constants for Cygwin.
10120
63dc5d80
CV
10121Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
10122
10123 * libc/sys/cygwin/crt0.c: Add copyright hint.
10124 * libc/sys/cygwin/sys/dirent.h: Ditto.
10125 * libc/sys/cygwin/sys/param.h: Ditto.
10126 * libc/sys/cygwin/sys/utime.h: Ditto.
10127 * libc/sys/cygwin/sys/utmp.h: Ditto.
10128
6f637037
AO
101292001-03-13 Alexandre Oliva <aoliva@redhat.com>
10130
10131 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
10132 equivalent to LONGINT.
10133
e69b6f73
JJ
101342001-03-08 Richard Sandiford <rsandifo@redhat.com>
10135
ba3ccd63
EB
10136 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
10137 jmpbuf on MIPS64 targets.
10138 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
e69b6f73 10139
6198dece
CF
10140Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
10141
17c0c97d 10142 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
ba3ccd63 10143 declarations.
6198dece 10144
cfc05d96
JJ
10145Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
10146
ba3ccd63
EB
10147 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
10148 For RTEMS, define to be ssize_t. Default to int if not defined.
10149 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
10150 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
10151 * libc/stdio/local.h (__sread, __swrite): Likewise.
10152 * libc/include/sys/reent.h (_read, _write): Likewise.
10153 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
10154 * libc/syscalls/sysread.c (read): Likewise.
10155 * libc/syscalls/syswrite.c (write): Likewise.
cfc05d96 10156
6249353a
JJ
101572001-03-05 Jeff Johnston <jjohnstn@redhat.com>
10158
ba3ccd63 10159 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
6249353a 10160
658b5db9
CF
10161Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
10162
10163 * libc/include/sys/stat.h: Use special defines for executable stat bits
10164 when compiling for Cygwin.
10165 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
10166 for Cygwin.
10167
19ca46d5
JJ
101682001-03-02 Jeff Johnston <jjohnstn@redhat.com>
10169
10170 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
10171 of strtok_r is always defined.
10172
b73ed85e
JJ
101732001-03-02 Jeff Johnston <jjohnstn@redhat.com>
10174
10175 * libc/include/machine/ansi.h: New dummy header file.
10176
ee37ede1
JJ
101772001-02-22 Jeff Johnston <jjohnstn@redhat.com>
10178
10179 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
10180 changed the copyright information to allow free modification of the
10181 file with no reference to "copying.dj".
10182 * libc/include/sys/stat-dj.h: Ditto.
10183 * libc/machine/i386/setjmp.S: Ditto.
10184 * libc/sys/h8300hms/sys/file.h: Ditto.
10185 * libc/sys/sysmec/access.c: Ditto.
10186 * libc/sys/sysnecv850/access.c: Ditto.
10187 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
10188 * libc/stdlib/getenv_r.c: Ditto.
10189 * libc/stdlib/putenv_r.c: Ditto.
10190 * libc/stdlib/setenv_r.c: Ditto.
10191 * libc/stdlib/getenv.c: Removed DJ reference since any possible
10192 modifications will now be in the _r version of this file.
10193 * libc/stdlib/putenv.c: Ditto.
10194 * libc/stdlib/setenv.c: Ditto.
10195 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
10196 valid. Added a reference to DJ's web page that contains his address.
10197 * libc/sys/go32/*.s: Removed references to DJ's old address.
10198 * libc/sys/go32/*.c: Ditto.
10199 * libc/sys/go32/*.h: Ditto.
10200 * libc/sys/go32/*.S: Ditto.
10201 * libc/sys/go32/sys/*.h: Ditto.
10202
3a8fc0e4
JJ
102032001-02-21 Jeff Johnston <jjohnstn@redhat.com>
10204
10205 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
10206 HAVE_FCNTL flag check.
10207 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
10208 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
10209
b24ee749
CF
10210Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
10211
10212 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
10213
ab4745dc
JJ
102142001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
10215
ba3ccd63
EB
10216 * libc/include/stdlib.h: Add declarations of rand48 functions and
10217 their reentrant versions.
10218 * libc/include/sys/reent.h: Move macros from rand48.h. Add
10219 struct _rand48 for shared parameters of rand48 functions.
10220 (struct _reent): Add a variable _r48 of struct _rand48.
10221 (_REENT_INIT): Add _r48 initialization.
10222 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
10223 (CHEWOUT_FILES): Add rand48.def.
10224 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
10225 * libc/stdlib/Makefile.in: Regenerated.
10226 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
10227 NetBSD C library.
10228 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
10229 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
10230 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
10231 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
10232 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
10233 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
10234 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
10235 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
10236 * libc/stdlib/rand48.c (__dorand48): Ditto.
10237 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
10238 parameters into macros referring them in the reentrant structure.
ab4745dc 10239
a34c461f
JJ
102402001-02-12 Jeff Johnston <jjohnstn@redhat.com>
10241
10242 * libc/include/sys/stat.h: Add mknod for Cygwin now that
10243 Cygwin definition has correct prototype.
10244
34f31ff2
JJ
102452001-02-08 Jeff Johnston <jjohnstn@redhat.com>
10246
10247 * libc/include/sys/stat.h: Must revert change for mknod
10248 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
10249 prototype.
10250
5336d6de
JJ
102512001-02-08 Jeff Johnston <jjohnstn@redhat.com>
10252
10253 * libc/include/stdio.h: Revert putw prototype.
10254
8915d10a
JJ
102552001-02-08 Edward M. Lee <tailbert@yahoo.com>
10256
ba3ccd63
EB
10257 * libc/include/grp.h: add prototype for initgroups.
10258 * libc/include/stdio.h: fix prototype for putw.
10259 * libc/include/sys/signal.h: add prototype for killpg.
10260 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
10261 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
8915d10a
JJ
10262 vhangup and remove duplicate sysconf prototype.
10263
93ac4487
JJ
102642001-02-07 Jeff Johnston <jjohnstn@redhat.com>
10265
10266 * libc/sys/rtems/sys/types.h: Removed.
10267
31f5feea
JJ
102682001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
10269
ba3ccd63 10270 * libc/include/locale.h: add LC_MESSAGES definition
31f5feea 10271
b5139f59
AO
102722001-02-01 Alexandre Oliva <aoliva@redhat.com>
10273
10274 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
10275 SYS_get_argN):
10276 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
10277 __setup_argv_and_call_main): New.
10278
e29d8355
JJ
102792001-01-31 Jeff Johnston <jjohnstn@redhat.com>
10280
10281 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
10282 if defined.
10283 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
10284 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
10285 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
10286 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
10287
82ea92f3
CF
10288Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
10289
10290 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
10291 compiling under Cygwin.
10292
3aaa66f8
JJ
102932001-01-29 Jeff Johnston <jjohnstn@redhat.com>
10294
10295 * libc/include/math.h (signgam): Change to errno-like solution
10296 using a function to return the address of the real signgam.
10297 * libc/reent/signgam.c: New file containing __signgam().
10298 * libc/reent/Makefile.am: Added signgam.c to list of files.
10299 * libc/reent/Makefile.in: Regenerated.
10300
610b895a
AO
103012001-01-25 Alexandre Oliva <aoliva@redhat.com>
10302
b0913397
AO
10303 * libc/sys/sh/syscalls.c (_times): New.
10304
610b895a
AO
10305 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
10306 * libc/sys/sh/syscalls.c (_gettimeofday): New.
10307
3643210e
JJ
103082001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10309
10310 * libc/include/math.h (signgam): Regress previous fix as
10311 it does not handle programs with extern int signgam in them.
10312
841081c9
JJ
103132001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10314
10315 * libc/include/math.h (signgam): Changed to a macro refering to
10316 its location in the reentrant structure.
10317
e9cd87b8
JJ
103182001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10319
10320 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
10321 that suppressed . for %.0f, 0.1. Check now looks if there
10322 are padding zeroes (expt) in addition to any digits (ndig) to
10323 print.
10324
a302b48c
JJ
103252001-01-18 Jeff Johnston <jjohnstn@redhat.com>
10326
10327 * libc/sys/arc/Makefile.am: New file.
10328 * libc/sys/arc/Makefile.in: Ditto.
10329 * libc/sys/arc/aclocal.m4: Ditto.
10330 * libc/sys/arc/configure: Ditto.
10331 * libc/sys/arc/configure.in: Ditto.
10332 * libc/sys/arc/crt0.S: Ditto.
10333 * libc/sys/arc/isatty.c: Ditto.
10334 * libc/sys/arc/mem-layout.c: Ditto.
10335 * libc/sys/arc/sbrk.c: Ditto.
10336 * libc/sys/arc/syscalls.c: Ditto.
10337 * libc/sys/arc/sys/syscall.h: Ditto.
10338
d0319c3b
CF
10339Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
10340
10341 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
10342
e45ab890
CF
10343Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
10344
10345 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
10346
1376245a
DD
10347Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
10348
10349 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
10350
92b57543
NC
103512001-01-09 Nick Clifton <nickc@redhat.com>
10352
10353 * configure.host (v859): Remove unsupported compiler options.
10354
7d6d33d4
JJ
10355Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
10356
10357 * src/newlib/configure.host (*-*-rtems*): add printf long long
10358 support for RTEMS.
10359
602f8b5a 103602000-12-19 Graham Stott <grahams@redhat.com>
6286746a 10361
ba3ccd63 10362 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
6286746a 10363
9c2b8183
JJ
10364Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
10365
10366 * configure.host: Turn on long double I/O for Cygwin.
10367
804368d3
JJ
10368Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
10369
10370 * MAINTAINERS: Removed Ranjith.
10371 * NEWS: Updated for 1.9.0.
10372 * README: Updated.
10373 * acinclude.m4: Updated to release 1.9.0.
10374 * aclocal.m4 configure
10375 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
10376 libc/machine/aclocal.m4 libc/machine/configure
10377 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
10378 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
10379 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
10380 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
10381 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
10382 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
10383 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
10384 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
10385 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
10386 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
10387 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
10388 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
10389 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
10390 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
10391 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
10392 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
10393 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
10394 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
10395 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
10396 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
10397 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
10398 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
10399 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
10400 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
10401 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
10402 libc/sys/aclocal.m4 libc/sys/configure
10403 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
10404 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
10405 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
10406 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
10407 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
10408 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
10409 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
10410 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
10411 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
10412 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
10413 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
10414 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
10415 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
10416 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
10417 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
10418 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
10419 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
10420 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
10421 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
10422 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
10423 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
10424 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
10425 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
10426 libm/aclocal.m4 libm/configure: Regenerated.
10427
0985d43f
CV
10428Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10429
10430 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
10431 when __CYGWIN__ is defined.
10432
b6182a09
JJ
104332000-12-13 Jeff Johnston <jjohnstn@redhat.com>
10434
10435 * libc/stdlib/ldtoa.c (_ldcheck): New routine
10436 that categorizes a long double as NaN, Infinity, or other.
17c0c97d
EB
10437 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
10438 isinfl and isnanl static routines which were i386-specific. Changed
b6182a09
JJ
10439 calls to the two removed routines to a single _ldcheck call.
10440 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
10441
adbbb034
JJ
104422000-12-13 Jeff Johnston <jjohnstn@redhat.com>
10443
10444 * Makefile.am: Fixed install-data-local target to use
10445 $(mkinstalldirs) for the installed header files to ensure
10446 the directories exist before copying.
10447 * Makefile.in: Regenerated.
10448
cbd19336
JJ
104492000-12-12 Jeff Johnston <jjohnstn@redhat.com>
10450
10451 * libc/include/sys/unistd.h: Restored Cygwin _SC
10452 constants and moved new constants appropriately
10453 so Cygwin will build.
10454
8fb37963
JJ
104552000-12-11 Joel Sherrill <joel@OARcorp.com>
10456
ba3ccd63
EB
10457 * Merge RTEMS specific .h files into main libc/include.
10458 * libc/sys/rtems/include/signal.h: Removed.
10459 * libc/sys/rtems/include/time.h: Removed.
10460 * libc/sys/rtems/sys/features.h: Removed.
10461 * libc/sys/rtems/sys/sched.h: Removed.
10462 * libc/sys/rtems/sys/siginfo.h: Removed.
10463 * libc/sys/rtems/sys/signal.h: Removed.
10464 * libc/sys/rtems/sys/time.h: Removed.
10465 * libc/sys/rtems/sys/times.h: Removed.
8fb37963
JJ
10466 definitions for time_t and clock_t since these are
10467 no longer in time.h.
ba3ccd63
EB
10468 * libc/include/pthread.h: New file.
10469 * libc/include/sys/sched.h: New file.
10470 * libc/include/sys/features.h: New file.
10471 * libc/include/time.h: Removed duplicate definition of clock_t
10472 and time_t, get them from <sys/types.h> instead. Add prototypes
10473 for POSIX clock and timer functionality.
8fb37963 10474 * libc/sys/linux/sys/types.h: Changed to include
ba3ccd63
EB
10475 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
10476 * libc/include/sys/signal.h: Add more complete set of POSIX
10477 signal functionality including real-time and threaded signals.
10478 * libc/include/sys/types.h: Add clock_t, time_t, struct
17c0c97d 10479 timespec, and struct itimerspec. Centralizing these makes
8fb37963 10480 things cleaner. RTEMS uses 64-bit dev_t.
ba3ccd63
EB
10481 Added numerous primitive definitions
10482 for pthreads including macros, pthread_attr_t,
17c0c97d 10483 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
8fb37963 10484 pthread_once_t, and pthread_t.
ba3ccd63
EB
10485 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
10486 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
10487 Feature flags removed and moved to new file <sys/features.h>.
10488 Full set of POSIX sysconf() constants
8fb37963 10489
2efbc2a7
JJ
104902000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
10491
10492 * configure.host: Added x86 linux target.
10493 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
10494 definitions provided if not already defined.
10495 * libc/sys/linux/crt0.c: New file.
10496 * libc/sys/linux/Makefile.am: Ditto.
10497 * libc/sys/linux/Makefile.in: Ditto.
10498 * libc/sys/linux/aclocal.m4: Ditto.
10499 * libc/sys/linux/brk.c: Ditto.
10500 * libc/sys/linux/configure: Ditto.
10501 * libc/sys/linux/configure.in: Ditto.
10502 * libc/sys/linux/getoptlong.c: Ditto.
10503 * libc/sys/linux/ids.c: Ditto.
10504 * libc/sys/linux/inode.c: Ditto.
10505 * libc/sys/linux/io.c: Ditto.
10506 * libc/sys/linux/linux.c: Ditto.
10507 * libc/sys/linux/process.c: Ditto.
10508 * libc/sys/linux/realpath.c: Ditto.
10509 * libc/sys/linux/select.c: Ditto.
10510 * libc/sys/linux/signal.c: Ditto.
10511 * libc/sys/linux/systat.c: Ditto.
10512 * libc/sys/linux/termios.c: Ditto.
10513 * libc/sys/linux/time.c: Ditto.
10514 * libc/sys/linux/wait.c: Ditto.
10515 * libc/sys/linux/include/alloca.h: Ditto.
10516 * libc/sys/linux/include/getopt.h: Ditto.
10517 * libc/sys/linux/include/stdint.h: Ditto.
10518 * libc/sys/linux/include/unistd.h: Ditto.
10519 * libc/sys/linux/sys/cdefs.h: Ditto.
10520 * libc/sys/linux/sys/dirent.h: Ditto.
10521 * libc/sys/linux/sys/errno.h: Ditto.
10522 * libc/sys/linux/sys/fcntl.h: Ditto.
10523 * libc/sys/linux/sys/file.h: Ditto.
10524 * libc/sys/linux/sys/ioctl.h: Ditto.
10525 * libc/sys/linux/sys/resource.h: Ditto.
10526 * libc/sys/linux/sys/signal.h: Ditto.
10527 * libc/sys/linux/sys/stat.h: Ditto.
10528 * libc/sys/linux/sys/syscall.h: Ditto.
10529 * libc/sys/linux/sys/termios.h: Ditto.
10530 * libc/sys/linux/sys/time.h: Ditto.
10531 * libc/sys/linux/sys/types.h: Ditto.
10532 * libc/sys/linux/sys/utmp.h: Ditto.
10533 * libc/sys/linux/sys/utsname.h: Ditto.
10534 * libc/sys/linux/sys/wait.h: Ditto.
10535
a08c98bb
JJ
105362000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
10537
ba3ccd63
EB
10538 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
10539 can be a relative path to $(top_srcdir)/install.sh so ensure the
10540 autoconf detected settings are properly passed recursively.
10541 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
10542 properly to subdirectories.
a08c98bb
JJ
10543 * Makefile.in: Regenerated.
10544
b294082c
JJ
105452000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
10546
ba3ccd63
EB
10547 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
10548 a floating point register unless really printing a floating
10549 point number.
b294082c 10550
2005ab6b
JJ
105512000-12-07 Jeff Johnston <jjohnstn@redhat.com>
10552
10553 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
10554 Also removed \r's.
10555 (asctoeg): Replaced alloca call with stack array and malloc
10556 when storage exceeds reasonable limit.
10557 (e53toe): Fixed einfin calls missing ldp parameter.
10558 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
10559
9f6e8f1b
JJ
105602000-12-06 Jeff Johnston <jjohnstn@redhat.com>
10561
2005ab6b 10562
9f6e8f1b
JJ
10563 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
10564
6bdac416
JJ
105652000-12-06 Jeff Johnston <jjohnstn@redhat.com>
10566
10567 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
10568 * libc/stdlib/Makefile.in: Regenerated.
10569 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
10570 * libc/stdio/vfieeefp.h: Added long double bit structures.
10571 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
10572 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
10573 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
10574 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
10575 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
10576 _strtold routines used for conversions between character
10577 and long double.
10578
ec270d31
CV
10579Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10580
10581 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
10582
db2d9549
JJ
105832000-12-04 Joel Sherrill <joel@OARcorp.com>
10584
ba3ccd63 10585 * libc/include/machine/time.h: RTEMS systems can configure clock
db2d9549
JJ
10586 tick rate so use sysconf() to ask.
10587
6ba54a15
JJ
105882000-12-04 Joel Sherrill <joel@OARcorp.com>
10589
ba3ccd63 10590 * libc/include/sys/times.h: Add reference to POSIX standard.
6ba54a15 10591
8677b819
JJ
105922000-12-04 Joel Sherrill <joel@OARcorp.com>
10593
ba3ccd63
EB
10594 * libc/include/sys/time.h: Added BSD timer manipulation macros
10595 used by RTEMS code.
8677b819 10596
1b61a706
JJ
105972000-12-04 Joel Sherrill <joel@OARcorp.com>
10598
ba3ccd63
EB
10599 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
10600 referenced by code generated by gcc 2.8.1.
10601 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
1b61a706
JJ
10602 satisfy gcc.
10603
f5e7c124
JJ
106042000-12-04 Joel Sherrill <joel@OARcorp.com>
10605
ba3ccd63 10606 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
f5e7c124 10607
768abc9c
JJ
106082000-12-04 Joel Sherrill <joel@OARcorp.com>
10609
ba3ccd63 10610 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
768abc9c 10611
9e5dd5ea
JJ
106122000-12-04 Joel Sherrill <joel@OARcorp.com>
10613
ba3ccd63 10614 * configure.host (or16, or32): New entries for OpenCores
9e5dd5ea 10615 OpenRisc CPUs.
ba3ccd63 10616 (*-*-rtems*): Add -DNO_EXEC.
9e5dd5ea 10617
768abc9c 106182000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f 10619
ba3ccd63
EB
10620 * libc/include/sys/errno.h: Added comments on many error numbers.
10621 * libc/string/strerror.c: Added some more strings.
7713fb6f 10622
b273323f
JJ
106232000-11-30 Jeff Johnston <jjohnstn@redhat.com>
10624
10625 * libc/sys/sh/syscalls.c (_link): New stub.
10626
0ffc3b94
NC
106272000-11-29 Nick Clifton <nickc@redhat.com>
10628
10629 * configure.host: Add xscale target.
10630 * libc/machine/xscale: New directory.
10631 * libc/machine/xscale/Makefile.am: New file.
10632 * libc/machine/xscale/Makefile.in: New file.
10633 * libc/machine/xscale/aclocal.m4: New file.
10634 * libc/machine/xscale/configure: New file.
10635 * libc/machine/xscale/configure.in: New file.
10636 * libc/machine/xscale/memchr.S: New file.
10637 * libc/machine/xscale/memcmp.S: New file.
10638 * libc/machine/xscale/memcpy.S: New file.
10639 * libc/machine/xscale/memmove.S: New file.
10640 * libc/machine/xscale/memset.S: New file.
10641 * libc/machine/xscale/strchr.S: New file.
10642 * libc/machine/xscale/strcmp.S: New file.
10643 * libc/machine/xscale/strcpy.S: New file.
10644 * libc/machine/xscale/strlen.S: New file.
10645
cbbf0f96
CV
10646Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10647
10648 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
10649 avoid compiler warnings.
10650
73dea790
MM
106512000-11-22 Michael Meissner <meissner@redhat.com>
10652
10653 * libc/posix/execl.c (execl): Don't reference environ directly,
10654 reference it only via a static pointer to avoid problems with some
10655 shared library systems and with different uses of small data where
10656 the user specifies his own version of environ.
10657 * libc/posix/execv.c (execv): Ditto.
10658 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
10659 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
10660 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
10661
10662 * libc/stdlib/getenv.c (environ): Delete unused reference to
10663 environ.
10664
10665 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
10666 colorization.
10667 * libc/stdlib/system.c: Ditto.
10668
08eac2ae
CF
10669Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
10670
10671 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
10672 including windows headers.
10673
5478bf37
JJ
106742000-11-20 Jeff Johnston <jjohnstn@redhat.com>
10675
10676 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
10677 * libc/include/dirent.h: Added definition of MAXNAMLEN if
10678 not defined by sys/dirent.h.
10679 * libc/posix/execvp.c: Added include of dirent.h to get
10680 MAXNAMLEN value which used to be in unistd.h.
10681
3a760728
CV
10682Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10683
10684 * libc/include/sys/types.h: Change type of i to `size_t' in
10685 FD_ZERO macro to avoid compiler warnings.
10686
86fff69f
CF
10687Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
10688
10689 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
10690 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
10691
ba9e88d2
CV
10692Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10693
10694 * libc/include/sys/unistd.h: Add defines for sysconf values
10695 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
10696 _SC_AVPHYS_PAGES.
10697
a8018ef3
CF
10698Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
10699
10700 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
10701 declarations for __CYGWIN__.
10702
b944c6f6
GK
107032000-09-19 Geoffrey Keating <geoffk@cygnus.com>
10704
10705 * libc/signal/signal.c (__sigtramp_r): ISO C requires
10706 case labels to be integral constant expressions, so
10707 use an if/else tree instead.
10708 (_raise_r): Likewise.
10709
7f18fcb4
JJ
107102000-09-13 Jeff Johnston <jjohnstn@redhat.com>
10711
10712 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
10713 clipping patch from e-mail reader.
10714
242361df
JJ
107152000-09-13 Will Cohen <wcohen@redhat.com>
10716
10717 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
10718 Added return value 0.
10719 (_longjmp): Allow longjmp to return value of second argument
10720 passed to it.
10721
8a8c59b9
JJ
107222000-09-06 Jeff Johnston <jjohnstn@redhat.com>
10723
ba3ccd63
EB
10724 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
10725 inline code to prevent having to include another header file.
8a8c59b9 10726
a385ae75
CF
10727Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
10728
10729 * Makefile.am: Fix space vs. tab problem in install-data-local.
10730 * Makefile.in: Regenerate.
10731
10732Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
10733
10734 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
10735 (_EXPARM): New macro for defining a function parameter.
10736 * libc/include/stdlib.h: Use _EXPARM.
10737 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
10738
a36cd013
JJ
107392000-09-05 Manfred Hollstein <manfredh@redhat.com>
10740
ba3ccd63
EB
10741 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
10742 required, as documented in the gnu coding standards.
10743 * Makefile.in: Regenerate.
a36cd013 10744
f825dfda
JJ
107452000-09-05 Jeff Johnston <jjohnstn@redhat.com>
10746
10747 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
10748 make O_NDELAY and O_NONBLOCK have the same value.
10749
4ba9aab7
JJ
107502000-08-30 Kazu Hirata <kazu@hxi.com>
10751
ba3ccd63 10752 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
4ba9aab7 10753
db7acc38
JJ
107542000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
10755
ba3ccd63
EB
10756 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
10757 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
10758 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
10759 everywhere else.
db7acc38 10760
44e36af4
GK
107612000-08-30 Geoffrey Keating <geoffk@cygnus.com>
10762
10763 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
10764 * libc/include/string.h: Don't include <sys/types.h>,
10765 as it causes really bad namespace pollution. Don't declare
10766 swab(), it is properly declared in unistd.h.
10767
00a2f168
JJ
107682000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
10769
ba3ccd63
EB
10770 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
10771 (broken) support for non-existent /etc/passwd field "comment".
00a2f168 10772
6beeb240
JJ
107732000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
10774
ba3ccd63
EB
10775 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
10776 only if _DIRENT_HAVE_D_NAMLEN is defined.
10777 (alphasort): aligned prototype with
10778 libc/sys/cygwin/sys/dirent.h and simplified function body.
10779 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
10780 long telldir (DIR *) as mentioned in annex B of POSIX.1
6beeb240 10781
ef44da42
JJ
107822000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
10783
ba3ccd63
EB
10784 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
10785 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
10786 Added __CLI and __STI macros (controlled via
10787 _I386MACH_ALLOW_HW_INTERRUPTS macro).
10788 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
10789 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
10790 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
10791 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
10792 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
10793 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
10794 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
10795 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
10796 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
10797 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
10798 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
10799 for all global entry points.
10800 * libc/machine/i386/setjmp.S: removed code replicated in
10801 libc/machine/i386/i386mach.h and included i386mach.h instead;
10802 Use __CLI and __STI instead of cli and sti.
ef44da42 10803
14d3488d
DD
108042000-08-25 DJ Delorie <dj@redhat.com>
10805
10806 * libc/include/sys/unistd.h (environ): this one isn't from the
10807 DLL, no __IMPORT
10808
c9ca4412
CF
10809Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
10810
10811 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
10812 environ when compiling under cygwin since it is already declared in
10813 unistd.h.
10814
2d5862de
JJ
108152000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
10816
10817 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
10818 like x << y-z to the equivalent x << (y-z).
10819 (d2b): changed if statements with assignment to perform the
10820 assignment prior to the if check.
10821 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
10822 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
10823 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
10824 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
10825 precedence.
10826 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
17c0c97d 10827 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
2d5862de
JJ
10828 execve.c).
10829 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
10830 precedence.
10831 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
10832 clarify && and || precendence (and to remove pascalism).
10833 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
10834 * libm/math/s_infconst.c: added another pair of braces to all
10835 initializers for __infinity (need three: for __infinity[1] array,
10836 for union __dmath, and for i[2]).
10837
0888fedd
JJ
108382000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
10839
199359f0
JJ
10840 * libc/stdlib/abort.c: changed description: uses "raise" instead of
10841 "getpid" and "kill"; added: uses "write" and "_exit".
10842 Also included unistd.h for "_exit" prototype.
10843 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
10844 reent.h for "_fork_r" and "_wait_r" prototypes.
17c0c97d 10845 (do_system): changed extern char *environ[] to POSIX-friendly
199359f0
JJ
10846 extern char **environ.
10847 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
10848 prototypes.
10849 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
10850 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
10851 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
10852 * libc/reent/openr.c: included fcntl.h for "open" prototype.
10853 * libc/reent/signalr.c: included signal.h for "kill" prototype,
10854 unistd.h for "getpid" prototype.
10855 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
10856 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
10857 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
10858 prototype. Also included stdlib.h for "abort", string.h for
10859 "strdup" and "strncmp" prototypes.
10860 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
10861 "strncpy", unistd.h for "read" and "close" prototypes.
10862 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
10863 "strcat" prototypes.
10864
108652000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
10866
0888fedd
JJ
10867 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
10868 used later (ifdef __SCLE)
10869 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
10870 used later (ifdef MB_CAPABLE)
10871 * libc/string/memset.c (memset): removed unused variables "count"
10872 and "unaligned_addr"
10873 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
10874 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
10875 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
10876 and "gid"
10877
a334e5ef
JJ
108782000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
10879
ba3ccd63
EB
10880 * libc/stdlib/envlock.c: changed documented "__env_lock" and
10881 "__env_unlock" prototype from "void *" or "char *" to
10882 "struct _reent *" to match real function. Also added include
a334e5ef 10883 of envlock.h.
ba3ccd63
EB
10884 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
10885 "__malloc_unlock" prototype from "void *" or "char *" to
10886 "struct _reent *" to match real function.
10887 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
10888 prototypes (for getenv_r.c and setenv_r.c).
a334e5ef 10889
644b7f26
DD
108902000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
10891
10892 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
10893 and prototype in cygwin's utmp.h
10894
5bacbf10
JJ
108952000-08-16 Eric Fifer <efifer@sanwaint.com>
10896
ba3ccd63 10897 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
5bacbf10 10898
38a6bf98
NC
108992000-08-09 Nick Clifton <nickc@cygnus.com>
10900
10901 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
10902 epilogue and to allow the functions to be used in a Thumb based
10903 toolchain.
10904
befe0fb3
JJ
109052000-08-08 Jeff Johnston <jjohnstn@redhat.com>
10906
10907 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
10908 so size of 0 results in nothing being written to string.
10909 Also fixed code so that when size is non-zero, there is only
10910 a maximum of size - 1 characters written to the array and
10911 a nul terminator is appended at the end.
10912 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
10913
749d9bcd
DD
109142000-08-01 DJ Delorie <dj@redhat.com>
10915
10916 * libc/include/sys/config.h: define __IMPORT appropriately
10917 * libc/include/ctype.h (_ctype_): use __IMPORT
10918 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
10919 * libc/include/math.h (__mb_cur_max): ditto
10920 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
10921 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
10922 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
10923 * libc/include/unistd.h (environ): ditto
10924
7c110b17
MM
109252000-07-28 Michael Meissner <meissner@redhat.com>
10926
10927 * libc/include/math.h (__infinity): Declare as an array without
10928 bounds to get around small data support. Rewrite Cygwin support
10929 to be more general.
10930 * libm/math/s_infconst.c (__infinity): Ditto.
10931 * libm/mathfp/s_infconst.c (__infinity): Ditto.
10932
bf7be721
CF
10933Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
10934
10935 * libc/include/math.h: Use appropriate dll import linkage for
10936 __infinity under Cygwin.
10937
91a8d90b
DD
109382000-07-13 DJ Delorie <dj@cygnus.com>
10939
10940 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
10941
ba2048d3
JJ
10942Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
10943
10944 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
10945 to argument list for AngelSWI_Reason_GetCmdLine.
10946
4634da64
JJ
10947Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
10948
10949 * configure.host: Add support for AVR target.
10950 * libc/include/machine/ieeefp.h: Likewise.
10951 * libc/include/sys/config.h: Likewise.
10952
b19f72a2
RK
10953Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
10954
10955 * README: Newlib 1.8.2 must be built in a separate directory
10956 than the sources.
10957
a704d94a
JJ
10958Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10959
ba3ccd63
EB
10960 * libc/include/sys/reent.h (_rand_next): Added __extension__
10961 qualifier as long long type is not strict ANSI.
10962 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
10963 to long long constant.
a704d94a 10964
b585720b
CV
10965Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
10966
ba3ccd63
EB
10967 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
10968 `setegid' provided by Cygwin.
b585720b 10969
01c327ba
CV
10970Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
10971
ba3ccd63
EB
10972 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
10973 account for Cygwin.
01c327ba 10974
46a43a99
JJ
10975Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10976
ba3ccd63
EB
10977 * libc/include/sys/reent.h (_rand_next): Changed to
10978 unsigned long long and moved to end of _reent struct in _new union.
10979 (_REENT_INIT): Changed to move _rand_next initialization.
10980 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
10981 linear congruential algorithm that is used by DJGPP.
46a43a99 10982
a68078cb
RK
10983Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
10984
10985 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
10986 * libc/include/sys/config.h: Define __RAND_MAX.
10987
518882f3
JJ
10988Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10989
ba3ccd63
EB
10990 * libc/stdlib/rand_r.c: New algorithm that meets minimal
10991 standard.
518882f3 10992
d51d968a
CF
10993Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
10994
10995 * libc/include/string.h: Work around problem with strsignal and gdb.
10996
d2dd5765
CF
10997Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
10998
10999 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
11000 * libc/include/malloc.h: Ditto.
11001 * libc/include/process.h: Ditto.
11002 * libc/include/stdio.h: Ditto.
11003 * libc/include/stdlib.h: Ditto.
11004 * libc/include/time.h: Ditto.
11005 * libc/include/machine/setjmp.h: Ditto.
11006 * libc/include/sys/errno.h: Ditto.
11007 * libc/include/sys/signal.h: Ditto.
11008 * libc/include/sys/stat.h: Ditto.
11009 * libc/include/sys/time.h: Ditto.
11010 * libc/include/sys/unistd.h: Ditto.
11011 * libc/include/string.h: Ditto. strsignal should return a const char *.
11012
88870218
JJ
110132000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
11014
11015 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
11016 * libm/common/s_log1p.c (log1p): Likewise.
11017 * libm/common/s_scalbn.c (scalbn): Likewise.
11018 * libm/math/e_log.c: Likewise.
11019 * libm/math/e_asin.c: Likewise.
11020 * libm/math/ef_asin.c: Likewise.
11021 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
11022 * libm/math/e_j1.c (pone, qone): Likewise.
11023 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
11024 * libm/math/ef_j1.c (ponef, qonef): Likewise.
11025 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
11026 * libm/mathfp/e_j1.c (pone, qone): Likewise.
11027 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
11028 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
11029
c4e1aa01
DD
110302000-05-19 DJ Delorie <dj@cygnus.com>
11031
11032 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
11033 (__sread): always read in binary mode
11034 (__swrite): always write in binary mode
11035 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
11036 compatibility issues with different dll versions
11037 * libc/stdio/fopen.c: use __stextmode
11038 * libc/stdio/fdopen.c: ditto
11039 * libc/stdio/freopen.c: ditto
11040 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
11041 * libc/stdio/local.h: declare __stextmode
17c0c97d 11042
f4393261
DD
110432000-05-18 DJ Delorie <dj@cygnus.com>
11044
11045 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
17c0c97d 11046
2b533fac
JJ
11047Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11048
11049 * libc/include/ctype.h: Changed tolower and toupper macros
11050 to use __extension__ to prevent pedantic warnings.
11051
75362a76
RK
11052Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
11053
11054 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
11055 structures.
11056
ec463fc7
JW
11057Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
11058
11059 * libc/include/machine/ieeefp.h: Add ia64 support.
11060 * configure.host: Likewise.
11061
f35ceefa
JJ
11062Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
11063
ba3ccd63
EB
11064 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
11065 month is now padded with space, not zero. This now conforms to
f35ceefa
JJ
11066 ANSI standard.
11067
b96fca8c
CV
11068Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
11069
ba3ccd63
EB
11070 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
11071 host or network path") used by cygwin. Add some comments.
b96fca8c 11072
49d64538
JJ
11073Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
11074
11075 * libc/include/stdio.h (FILE): define __SCLE for "convert line
11076 endings" for Cygwin.
11077 (__sgetc): convert line endings if needed
11078 (__sputc): ditto
11079 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
11080 * libc/stdio/fopen.c (_fopen_r): ditto
11081 * libc/stdio/freopen.c (freopen): ditto
11082 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
11083 * libc/stdio/fvwrite.c (__sfvwrite): ditto
11084
91fb1e7f
AO
11085Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
11086
11087 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
11088 post-increment when it is worth it, spacewise.
11089
c87be3e4
JJ
11090Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
11091
11092 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
11093 * libc/stdio/findfp.c (std): Added declaration of flags and file.
17c0c97d 11094 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
c87be3e4
JJ
11095 return type.
11096 * libc/stdio/putchar.c (putchar): Added return statement.
11097 * libc/stdio/refill.c (lflush): Added correct parentheses.
11098 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
17c0c97d 11099 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
c87be3e4
JJ
11100 prints long value to use l qualifier.
11101 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
11102 messages and initialized local values: ilim, ilim1, and spec_case.
11103 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
11104 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
11105 * libc/stdlib/mprec.c: Ditto.
11106 * libc/stdlib/setenv_r.c: Ditto.
11107 * libc/stdlib/strtod.c: Ditto.
11108 * libc/stdlib/strtol.c: Ditto.
11109 * libc/stdlib/strtoul.c: Ditto.
11110 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
11111 * libm/common/sf_log1p.c: Ditto.
11112 * libm/common/sf_scalbn.c: Ditto.
11113 * libm/math/ef_log.c: Ditto.
11114
11f5b065
CV
11115Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
11116
ba3ccd63
EB
11117 * libc/posix/execvp.c (execvp): Check path for
11118 trailing slash.
11f5b065 11119
796e3b20
CV
11120Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
11121
ba3ccd63
EB
11122 * libc/include/sys/unistd.h: Add prototypes for
11123 fchmod, fchown, lchown.
796e3b20 11124
b489803a
JJ
11125Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11126
11127 * acinclude.m4: Changed release to 1.8.2.
11128 * aclocal.m4 configure doc/aclocal.m4 doc/configure
11129 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
11130 libc/machine/configure libc/machine/a29k/aclocal.m4
11131 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
11132 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
11133 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
11134 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
11135 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
11136 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
11137 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
11138 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
11139 libc/machine/i386/configure libc/machine/i960/aclocal.m4
11140 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
11141 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
11142 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
11143 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
11144 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
11145 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
11146 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
11147 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
11148 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
11149 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
11150 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
11151 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
11152 libc/machine/v850/configure libc/machine/w65/aclocal.m4
11153 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
11154 libc/machine/z8k/configure libc/sys/aclocal.m4
11155 libc/sys/aclocal.m4 libc/sys/configure
11156 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11157 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
11158 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
11159 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11160 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11161 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11162 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11163 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11164 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11165 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11166 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11167 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
11168 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
11169 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
11170 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
11171 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
11172 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
11173 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
11174 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
11175 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
11176 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
11177 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
11178 libm/aclocal.m4 libm/configure: Regenerated.
11179
79908d67
NC
111802000-03-24 Nick Clifton <nickc@cygnus.com>
11181
11182 * libc/sys/arm/syscalls.c: Fix compile time warnings.
11183 (do_AngelSWI): Add "cc" to list o registers clobbered.
11184
7684ddaf
FN
11185Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
11186
11187 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
17c0c97d 11188 information to be clobbered by an Angel C library support syscall.
7684ddaf 11189
b8ec20c8
JJ
11190Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11191
11192 * libc/stdlib/envlock.c: Fixed comment typo.
11193
fae4c299
JJ
11194Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11195
11196 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
11197 code to update nread as each character is processed instead
11198 of using buffer contents which throw away leading zeroes.
11199
dc98804b
RK
11200Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
11201
ba3ccd63 11202 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
dc98804b 11203
5ed2f523
JJ
11204Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
11205
11206 * libc/include/string.h: Include <sys/types.h>.
11207
1cf0ee34
AO
11208Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11209
11210 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
11211 with XSH5, not SVID.
11212
e9c94978
JJ
11213Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
11214
ba3ccd63 11215 * libc/include/string.h: Changed last argument back to ssize_t
17c0c97d 11216 to make it compatible with XPG4 definition which is
e9c94978
JJ
11217 defined in <unistd.h>. There is a conflict in the SVID 3
11218 and XPG4 definitions and newlib will settle with XPG4.
ba3ccd63 11219 * libc/string/swab.c: Ditto.
e9c94978 11220
3072163c
JJ
11221Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
11222
ba3ccd63
EB
11223 * libc/include/string.h: Changed last argument to size_t.
11224 * libc/string/swab.c: Changed last argument to size_t.
3072163c 11225
f205ea7a
AO
11226Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11227
11228 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
11229 (CHEWOUT_FILES): Added unlinkr.def.
11230 * libc/reent/Makefile.in: Rebuilt.
11231 * libc/sys.tex: Include unlinkr.def.
11232 * libc/reent/linkr.c (_unlink_r): Moved to...
11233 * libc/reent/unlinkr.c: ... new file.
11234
85dd2e5b
AO
11235Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11236
11237 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
11238 (CHEWOUT_FILES): Added swab.def.
11239 * libc/string/Makefile.in: Rebuilt.
11240 * libc/string/string.tex: Include swab.def.
11241 * libc/include/string.h (swab): Declare.
11242 * libc/string/swab.c: New file.
11243
c5053058
AO
11244Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11245
11246 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
11247 (CHEWOUT_FILES): Added getw.def and putw.def.
11248 * libc/stdio/Makefile.in: Rebuilt.
11249 * libc/stdio/stdio.tex: Include getw.def and putw.def.
11250 * libc/stdio/getw.c: New file.
11251 * libc/stdio/putw.c: New file.
11252
dbaf37cf
JJ
11253Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
11254
11255 * libc/stdio/flags.c (__sflags): Added check that mode[1]
11256 is non-null before looking at mode[2].
11257
bc019ef2
RK
11258Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
11259
11260 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
11261 * libm/mathfp/sf_atan.c: Ditto.
11262
11263Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
11264
11265 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
11266
cd641b2d
RK
11267Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
11268
11269 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
11270 _DOUBLE_IS_32BITS.
11271
b0ba0ac2
JJ
11272Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
11273
11274 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
11275 call prior to calling _VFPRINTF_R so reentrant data area is set.
11276 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
11277
8a0efa53
CF
11278Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11279
11280 * libc/stdio/vfscanf.c (limits.h): #include.
11281 (MAX_LONG_LEN): #define.
11282 (__svfscanf): Handle floating point numbers with arbitrary amounts
11283 of leading zeroes.
11284
112852000-02-15 Nick Clifton <nickc@cygnus.com>
11286
11287 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
11288 zero. Set the blocksize to 1024/
11289
11290Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
11291
11292 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
11293 with line buffering.
11294
11295Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11296
17c0c97d 11297 * acinclude.m4: Changed include directory for winsup headers.
8a0efa53
CF
11298 * aclocal.m4 configure libc/aclocal.m4
11299 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
11300 libc/locale/Makefile.in libc/machine/aclocal.m4
11301 libc/machine/configure libc/machine/a29k/aclocal.m4
11302 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
11303 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
11304 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
11305 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
11306 libc/machine/fr30/configure
11307 libc/machine/h8300/aclocal.m4
11308 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
11309 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
11310 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
11311 libc/machine/i386/configure libc/machine/i960/aclocal.m4
11312 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
11313 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
11314 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
11315 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
11316 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
11317 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
11318 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
11319 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
17c0c97d 11320 libc/machine/powerpc/configure
8a0efa53
CF
11321 libc/machine/sh/aclocal.m4
11322 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
11323 libc/machine/sparc/configure
11324 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
11325 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
11326 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
11327 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
11328 libc/misc/Makefile.in libc/posix/Makefile.in
17c0c97d 11329 libc/reent/Makefile.in
8a0efa53
CF
11330 libc/signal/Makefile.in
11331 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
11332 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11333 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
11334 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
11335 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
11336 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11337 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11338 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11339 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11340 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11341 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11342 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11343 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11344 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
11345 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
11346 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
11347 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
11348 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
11349 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
11350 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
11351 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
11352 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
11353 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
11354 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
11355 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
11356 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
11357 libm/configure: Regenerated.
11358
11359Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
11360
11361 * libc/stdlib/putenv_r.c (_putenv_r): New file.
11362 * libc/stdlib/strdup_r.c (_strdup_r): New file.
11363 * libc/include/string.h: Added _strdup_r.
17c0c97d 11364 * libc/stdlib/putenv.c: Added call to reentrant version.
8a0efa53
CF
11365 * libc/stdlib/strdup.c: Ditto.
11366 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
11367 * libc/include/stdlib.h: Ditto.
17c0c97d 11368 * libc/stdlib/Makefile.in: Regenerated.
8a0efa53
CF
11369 * libc/string/Makefile.in: Regenerated.
11370 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
11371 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
11372 management calls to reentrant versions.
11373 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
11374 * libc/stdlib/wctomb.c: Ditto.
11375 * libc/stdlib/mblen.c: Ditto.
11376 * libc/stdlib/mbstowcs.c: Ditto.
17c0c97d 11377 * libc/stdlib/mbtowc.c: Ditto.
8a0efa53
CF
11378 * libc/stdlib/getenv.c: Ditto.
11379 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
11380 and _strdup_r.
11381
11382Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
11383
11384 patch from Corinna Vinschen <corinna@vinschen.de>
11385 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
11386
bc019ef2 11387Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
11388
11389 * libm/mathfp/s_atangent.c: Fix exponent calculation.
11390 * libm/mathfp/s_ldexp.c: Ditto.
11391 * libm/mathfp/sf_atangent.c: Ditto.
11392 * libm/mathfp/sf_ldexp.c: Ditto.
11393
11394Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11395
11396 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
11397 * libc/include/locale.h: define NULL to be 0.
11398
11399Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
11400
11401 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
11402 function.
11403
11404Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
11405
11406 * libc/machine/mn10300/setjmp.S: Handle am33.
11407
114081999-11-26 Nick Clifton <nickc@cygnus.com>
11409
11410 * libc/sys/arm/syscalls.c: Add function prototypes.
11411 (stack_ptr): Move declaration before function definitions.
11412
11413Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11414
11415 * NEWS: Updated version information.
11416 * README: Ditto.
11417
11418Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
11419
11420 * libc/machine/i386/strchr.S: Fixed alignment test.
11421
11422Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
11423
11424 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
11425
11426Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
11427
11428 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
17c0c97d 11429 ensuring that there is space between the two.
8a0efa53
CF
11430
11431Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
11432
11433 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
11434 only.
11435
114361999-10-08 Vadim Egorov <egorovv@1c.ru>
11437
11438 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
11439 section
11440
11441Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
11442
11443 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
11444 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
11445
11446Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
11447 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
11448 per POSIX 1003.1b.
11449 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
11450 per POSIX 1003.1b.
11451
114521999-09-13 DJ Delorie <dj@cygnus.com>
11453
11454 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
11455 also.
11456
11457Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
11458
11459 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
11460 also note BUFSIZ as its size.
11461
11462Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
11463
11464 * configure.host: Corrected feature defines for RTEMS.
11465 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
11466 * libc/include/sys/stat.h: mkfifo() should take const path arg.
11467 * libc/include/sys/unistd.h: pathconf() should take const path arg.
11468 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
11469 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
11470 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
11471 _PC_PRIO_IO, and _PC_SYNC_IO.
11472 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
11473 * libc/machine/m68k/Makefile.in: Regenerated.
11474 * libc/machine/m68k/strcpy.c: New file.
11475 * libc/machine/m68k/strlen.c: New file.
11476 * libc/stdio/tmpnam.c: Always make the returned name usable.
11477 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
11478 * libc/sys/rtems/sys/dirent.h: New file.
11479 * libc/sys/rtems/sys/types.h: Added dev_t.
11480
11481Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
11482
11483 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
11484
11485Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
11486
11487 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
11488 my patch.
11489
11490Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
11491
11492 patch from Jeff Johnston <jjohnstn@cygnus.com>
11493 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
11494 buffer is not in a useful state.
11495
114961999-09-01 Nick Clifton <nickc@cygnus.com>
11497
11498 * libc/sys/arm/syscalls.c (_link): Add stub.
11499
11500Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11501
11502 * ftell.c (ftell): Use actual position within buffer for text mode.
11503 * findfp.c (std): Initialize ptr->_bf._size.
11504
11505Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
11506
11507 * libc/include/sys/unistd.h: Add nice() declaration.
11508
115091999-08-09 Nick Clifton <nickc@cygnus.com>
11510
11511 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
11512 declare as a thumb function so that the disassembler will see the
11513 mode change.
11514
11515Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11516
11517 * libc/reent/reent.tex: Updated list of reentrant functions.
11518
115191999-07-09 Michael Meissner <meissner@cygnus.com>
11520
11521 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
17c0c97d 11522
8a0efa53
CF
11523Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
11524
11525 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
11526 separate file.
11527 * libc/stdio/snprintf.c: New file.
11528 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
11529 separate file.
11530 * libc/stdio/vsnprintf.c: New file.
11531 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
11532 * libc/stdio/Makefile.in: Regenerated.
11533
11534Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
11535
11536 Patch submitted by Egor Duda <deo@logos-m.ru>:
11537 * libc/include/stdio.h: Add declarations for *nprintf.
11538 * libc/stdio/sprintf.c (snprintf): New function.
11539 (_snprintf_r): New function.
11540 * libc/stdio/vsprintf.c (vsnprintf): New function.
11541 (_vnsprintf_r): New function.
11542
11543Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
11544
11545 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
11546 * libm/Makefile.am (stmp-targetdep): Ditto.
11547 * libc/Makefile.in: Regenerated.
11548 * libm/Makefile.in: Ditto.
11549
11550Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
11551
11552 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
11553 * libm/Makefile.am (stmp-targetdep): Ditto.
11554 * libc/Makefile.in: Regenerated.
11555 * libm/Makefile.in: Ditto.
11556
11557Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
11558
11559 * Makefile.am: Removed dependencies on all-recursive and added "."
11560 to the SUBDIRS list to prevent infinite recursion from occurring.
11561 Also removed any references to EXTRA_DATA.
11562 * libc/Makefile.am: Ditto.
11563 * libc/machine/Makefile.am: Ditto.
11564 * libc/machine/i386/Makefile.am: Ditto.
11565 * libm/Makefile.am: Ditto.
11566 * libc/sys/Makefile.am: Ditto.
11567 * Makefile.in: Regenerated.
11568 * aclocal.m4: Ditto.
11569 * configure: Ditto.
11570 * doc/Makefile.in: Ditto.
11571 * doc/aclocal.m4: Ditto.
11572 * doc/configure: Ditto.
11573 * libc/Makefile.in: Ditto.
11574 * libc/aclocal.m4: Ditto.
11575 * libc/configure: Ditto.
11576 * libc/machine/Makefile.in: Ditto.
11577 * libc/machine/aclocal.m4: Ditto.
11578 * libc/machine/configure: Ditto.
11579 * libc/machine/mn10300/Makefile.in: Ditto.
11580 * libc/machine/mn10300/aclocal.m4: Ditto.
11581 * libc/machine/mn10300/configure: Ditto.
11582 * libc/sys/Makefile.in: Ditto.
11583 * libc/sys/aclocal.m4: Ditto.
11584 * libc/sys/configure: Ditto.
11585 * libm/Makefile.in: Ditto.
11586 * libm/aclocal.m4: Ditto.
11587 * libm/configure: Ditto.
11588
11589Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11590
11591 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
11592
11593Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11594
11595 * libc/include/stdlib.h: Add reentrant routines.
11596 * libc/stdlib/Makefile.am: Add reentrant routines.
11597 * libc/stdlib/Makefile.in: Ditto.
11598 * libc/stdlib/envlock.c: New file.
11599 * libc/stdlib/envlock.h: New file.
11600 * libc/stdlib/getenv.c: Modify to call reentrant routine.
11601 * libc/stdlib/getenv_r.c: New file.
11602 * libc/stdlib/mblen.c: Modify to call reentrant routine.
11603 * libc/stdlib/mblen_r.c: New file.
11604 * libc/stdlib/setenv.c: Modify to call reentrant routine.
11605 * libc/stdlib/setenv_r.c: New file.
11606 * libc/stdlib/stdlib.tex: Add reentrant routines.
11607
11608Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
11609
11610 * libc/include/sys/types.h: Define __MS_types__ whenever
11611 cygwin or win32.
11612
11613Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
11614
11615 * libc/include/machine/ieeefp.h: Always default to little
11616 endian if Windows, regardless of architecture.
11617 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
11618 regardless of architecture.
11619
11620Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
11621
11622 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
11623 _WIN32 isn't defined.
11624
11625Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
11626
11627 * libm/common/s_rint.c (rint): Add volatile qualifier for
11628 intermediate value w.
11629 * libm/common/sf_rint.c (rintf): Ditto.
11630
11631Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
11632
11633 * libc/sys/arm/syscalls.c (remap_handle): Added check to
11634 ensure that std streams are initialized before being referenced.
11635
116361999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
11637
11638 * README: Update reference to newlib@cygnus.com new
11639 newlib@sourceware.cygnus.com address.
11640
11641Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
11642
11643 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
11644 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
11645 defined, even if _WIN32 isn't defined.
11646
11647Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
11648
11649 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
11650
11651Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11652
11653 * libc/include/sys/reent.h: Change Long and ULong to __Long and
11654 __ULong.
11655 * libc/stdlib/dtoa.c: Ditto.
11656 * libc/stdlib/mprec.c: Ditto.
11657 * libc/stdlib/mprec.h: Ditto.
11658 * libc/stdlib/strtod.c: Ditto.
11659
116601999-04-21 Nick Clifton <nickc@cygnus.com>
11661
11662 * configure.host (mcore): Remove mcore machine directory.
11663
116641999-04-18 Nick Clifton <nickc@cygnus.com>
11665
11666 * libc/include/machine/ieeefp.h: Add support for mcore target.
11667 * libc/include/machine/setjmp.h: Add support for mcore target.
11668 * configure.host: Add support for mcore target.
11669
116701999-04-13 Mark Salter <msalter@cygnus.com>
11671
11672 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
11673 * libc/sys/arm/syscalls.c: Added isatty.
11674
11675Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11676
11677 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
11678 insert zeroes after significant digits.
11679
11680Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
17c0c97d 11681
8a0efa53
CF
11682 * libc/stdio/vfprintf.c (cvt): Changed floating point
11683 cvt routine to use union used by dtoa to properly determine
11684 if the sign bit is on or not.
11685 * libc/stdio/vfieeefp.h: New file
17c0c97d 11686
8a0efa53
CF
11687Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11688
11689 * aclocal.m4: Regenerated.
11690 * configure: Regenerated.
11691
11692Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11693
11694 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
11695 f_tanf reference.
11696 * libc/machine/i386/Makefile.in: Regenerated.
11697
11698Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
11699
11700 * acinclude.m4: Changed to work with new automake.
11701 * configure: Regenerated.
11702 * libc/machine/i386/aclocal.m4: Regenerated.
11703 * libc/machine/i386/configure: Regenerated.
11704
11705Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
11706
11707 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
11708 for telldir() and seekdir(). Rename unused structure element
11709 for use with these two routines.
11710
11711Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
11712
11713 * libc/time/mktime.c (validate_structure): Multiple fixes to
11714 code to handle cases where input fields are outside valid ranges.
11715 * libc/stdlib/div.c (div): Modified invalid rounding check.
11716 * libc/stdlib/ldiv.c (ldiv): Ditto.
11717
11718Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
11719
11720 * libc/machine/i386/memcpy.S: Performance rewrite.
11721 * libc/machine/i386/memmove.S: Ditto.
11722 * libc/machine/i386/i386mach.h: Added more register definitions.
11723 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
11724 option used.
11725 * libc/include/machine/fastmath.h: Add definitions for x86
11726 fast-math routines.
11727
11728Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11729
11730 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
11731
11732Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
11733
11734 Adjust newlib headers for new Cygwin Win32 API header files:
11735 * libc/include/sys/time.h: Check _WINSOCK_H rather than
11736 _GNU_H_WINDOWS32_SOCKETS.
11737 * libc/include/sys/types.h: Ditto.
11738
11739Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11740
11741 *include/sys/reent.h: Add checks for size of Bigint element Long.
11742 *libc/dtoa.c: Change routines to use generic Long type.
11743 *libc/mprec.c: Change routines to use generic Long type.
11744 *libc/mprec.h: Change routines to use generic Long type.
11745
11746Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
11747
11748 * libc/Makefile.am: Add .def files.
11749 * libc/Makefile.in: Regenerate.
11750 * libc/e_acosh.c: Documentation update.
11751 * libc/e_atanh.c: Documentation update.
11752 * libc/e_hypot.c: Documentation update.
11753 * libc/e_remainder.c: Documentation update.
11754 * libc/er_lgamma.c: Documentation update.
11755 * libc/mathfp.tex: Documentation update.
11756 * libc/s_acos.c: Documentation update.
11757 * libc/s_atan.c: Documentation update.
11758 * libc/s_atan2.c: Documentation update.
11759 * libc/s_cosh.c: Documentation update.
11760 * libc/s_fmod.c: Documentation update.
11761 * libc/s_isnan.c: Documentation update.
11762 * libc/s_log10.c: Documentation update.
11763 * libc/s_pow.c: Documentation update.
11764 * libc/w_jn.c: Documentation update.
11765
11766Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
11767
11768 * aclocal.m4: Regenerate.
11769 * configure: Regenerate.
11770
11771Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
11772
ba3ccd63
EB
11773 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
11774 to return 1 if user specified return code is 0.
11775 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
8a0efa53
CF
11776
11777Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
11778
11779 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
11780 to save the return address. Fixed longjmp to return to the original
11781 calling address of setjmp and to return the user specified return code
11782 rather than default to 1.
11783 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
11784
11785Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
11786
11787 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
11788
117891999-02-10 Nick Clifton <nickc@cygnus.com>
11790
11791 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
11792 volatile so that its assignments will not be discarded.
11793
11794Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
11795
11796 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
11797 be __STRICT_ANSI__ which is generated by compiler.
11798 * libc/include/ctype.h: Ditto.
11799 * libc/include/math.h: Ditto.
11800 * libc/include/stdio.h: Ditto.
11801 * libc/include/stdlib.h: Ditto.
11802 * libc/include/string.h: Ditto.
11803 * libc/include/sys/signal.h: Ditto.
11804
118051999-02-08 Nick Clifton <nickc@cygnus.com>
11806
11807 * configure.host: Add support for StrongARM target.
11808
11809Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
11810
11811 * libc/string/strncpy.c (strncpy): Removed redundant code
11812 that was copying bytes if data unaligned.
11813
118141999-02-02 Brendan Kehoe <brendan@cygnus.com>
11815
11816 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
11817 mbstowcs.def, and wcstombs.def.
11818
11819Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
11820
11821 * libc/include/sys/errno.h: Add Cygwin errno.
11822 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
11823 is specified.
11824
118251999-01-29 Nick Clifton <nickc@cygnus.com>
11826
11827 * libc/sys/arm/syscalls.c: Move C library functions into seperate
11828 file.
17c0c97d 11829
8a0efa53
CF
11830 * libc/sys/arm/libcfunc.c: New file containing C library functions
11831 from syscalls.c
11832
11833 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
11834 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
11835
11836
118371999-01-27 Michael Meissner <meissner@cygnus.com>
11838
11839 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
11840 type, and cut size in half so that the jmp_buf array is guaranteed
11841 to be aligned on a 64-bit boundary.
11842
11843Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
11844
11845 * libc/string/strings.tex: Added information about
11846 strcasecmp and strncasecmp.
11847 * libc/stdlib/stdlib.tex: Added missing information
11848 about mblen, mbstowcs, and wcstombs.
11849 * libc/string/strchr.c: Changed how mask is built to use
11850 shift operators so register will be used instead of storage.
11851
118521999-01-22 DJ Delorie <dj@cygnus.com>
11853
11854 * libc/include/stdlib.h: don't use dllimport if we're building
11855 newlib, since it's inside cygwin.dll
11856
11857Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
11858
11859 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
11860 _ctype_ under cygwin.
11861
11862Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
11863
11864 * include/stdlib.h: Fix typo from previous checkin.
11865
11866Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
11867
11868 * include/ctype.h: Use __declspec(dllimport) method for exporting
11869 variable from cygwin DLL.
11870 * include/time.h: Ditto.
11871 * sys/errno.h: Ditto.
11872 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
11873 * libc/locale/locale.c: Use __declspec(dllexport) method for
11874 exporting variable from cygwin DLL.
11875
11876Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
11877
11878 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
11879 access of bogus pointer will result in SIGSEGV.
11880
118811999-01-07 Nick Clifton <nickc@cygnus.com>
11882
11883 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
11884 of an underscore prefix to function names.
11885
11886Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
11887
11888 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
11889 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
11890
118911998-12-31 Michael Meissner <meissner@cygnus.com>
11892
11893 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
11894 to `%' if not already defined.
11895
118961998-12-30 Michael Meissner <meissner@cygnus.com>
11897
11898 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
11899 arguments const char *, not char *.
11900 * libc/include/stdio.h (_tempnam_r): Ditto.
11901
11902 * libc/include/sys/reent.h (struct _reent): The _sig_func type
11903 points to a function taking an integer, not void.
11904
11905Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
11906
11907 * configure.host: Add a define for Cygwin builds.
11908 * libc/include/ctype.h: Don't use dll imported variables in newlib.
11909
11910Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
11911
11912 * libc/include/ctype.h: Define _ctype_ as dll imported variable
11913 for use with Cygwin.
11914 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
11915 dll imported variables for use with Cygwin.
11916 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
11917 as a dll imported variable for Cygwin.
11918
11919Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
11920
11921 * libc/include/sys/unistd.h: Add proto for getpass.
11922
11923Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
11924
11925 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
11926 alphasort.
11927
11928Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
11929
11930 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
11931 not posix_path_list_p.
11932
119331998-12-15 Nick Clifton <nickc@cygnus.com>
11934
11935 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
11936 a signed int.
11937
119381998-12-13 Nick Clifton <nickc@cygnus.com>
11939
11940 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
11941
119421998-12-12 Nick Clifton <nickc@cygnus.com>
11943
11944 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
11945 <msalter@cygnus.com>
11946 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
11947 * libc/machine/fr30/Makefile.in: Regenerated.
11948
119491998-12-11 Nick Clifton <nickc@cygnus.com>
11950
11951 * configure.host: Remove use of libc/sys for FR30 port.
11952 * libc/sys/fr30: Remove directory (replaced by libgloss).
11953
119541998-12-10 Ken Raeburn <raeburn@cygnus.com>
11955
11956 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
11957 * libc/string/strncat.c (ALIGNED): Ditto.
11958
11959Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
11960
11961 * libc/include/sys/time.h: include sys/types.h
11962
11963Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
11964
11965 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
11966 comparison found when checking word at a time.
11967
119681998-12-04 Nick Clifton <nickc@cygnus.com>
11969
11970 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
11971
119721998-12-03 Nick Clifton <nickc@cygnus.com>
11973
11974 * libc/sys/fr30/syscalls.c (_times): New function stub.
11975
11976Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
11977
11978 * configure.host (mach_add_setjmp): Replaced mach_add_objs
11979 with mach_add_setjmp flag which indicates if setjmp should
11980 be added to the machine directory objects.
11981 * acinclude.m4: Removed reference to mach_add_objs.
11982 * aclocal.m4: Regenerated.
11983 * Makefile.in: Regenerated.
11984 * configure: Regenerated.
11985 * libc/aclocal.m4: Regenerated.
11986 * libc/Makefile.in: Regenerated.
11987 * libc/configure: Regenerated.
11988 * libc/machine/aclocal.m4: Regenerated.
11989 * libc/machine/Makefile.in: Regenerated.
11990 * libc/machine/configure: Regenerated.
11991 * libc/machine/i386/aclocal.m4: Regenerated.
11992 * libc/machine/i386/Makefile.am: Altered to selectively add
11993 setjmp.S to the src files list.
11994 * libc/machine/i386/Makefile.in: Regenerated.
11995 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
11996 * libc/machine/i386/configure: Regenerated.
11997
119981998-12-02 Nick Clifton <nickc@cygnus.com>
11999
12000 * libc/sys/fr30/crt0.s (_start): Fix function names.
12001
12002 * libc/machine/fr30: New directory
12003 * libc/machine/fr30/Makefile.am: New file.
12004 * libc/machine/fr30/Makefile.in: New generated file.
12005 * libc/machine/fr30/configure.in: New file.
12006 * libc/machine/fr30/configure: New generated file.
12007 * libc/machine/fr30/aclocal.m4: New generated file.
12008 * libc/sys/fr30/Makefile.am: New file.
12009 * libc/sys/fr30/Makefile.in: New generated file.
12010 * libc/sys/fr30/configure.in: New file.
12011 * libc/sys/fr30/configure: New generated file.
12012 * libc/sys/fr30/syscalls.c: New file.
12013
12014Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
12015
12016 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
12017
120181998-12-01 Ken Raeburn <raeburn@cygnus.com>
12019
12020 * libc/time/strftime.c (strftime): Also handle %y for years before
12021 1900.
12022
12023Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
12024
12025 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
12026 UNIX convention. Perform tolower on characters before comparing
12027 them rather than use toupper.
12028 * libc/string/strncasecmp.c (strncasecmp): Ditto.
12029
12030Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
17c0c97d 12031
8a0efa53
CF
12032 * configure.host: Added using i386 machine directory
12033 for all x86 cross-compiler and configuring
12034 which added object files to use via new "mach_add_objs" variable.
12035 * configure: Regenerated.
12036 * libc/configure: Regenerated.
12037 * libc/Makefile.in: Regenerated.
12038 * libc/aclocal.m4: Regenerated.
12039 * libc/ctype/Makefile.in: Regenerated.
12040 * libc/errno/Makefile.in: Regenerated.
12041 * libc/locale/Makefile.in: Regenerated.
12042 * libc/machine/Makefile.in: Regenerated.
12043 * libc/machine/aclocal.m4: Regenerated.
12044 * libc/machine/configure: Regenerated.
12045 * libc/posix/Makefile.in: Regenerated.
12046 * libc/reent/Makefile.in: Regenerated.
12047 * libc/signal/Makefile.in: Regenerated.
12048 * libc/stdio/Makefile.in: Regenerated.
12049 * libc/stdlib/Makefile.in: Regenerated.
12050 * libc/string/Makefile.in: Regenerated.
12051 * libc/string/memmove.c: Optimized code to use memcpy
12052 logic when performing a non-destructive copy.
12053 * libc/string/strncmp.c: Altered code to allow building
12054 optimized for size or speed.
12055 * libc/syscalls/Makefile.in: Regenerated.
12056 * libc/time/Makefile.in: Regenerated.
12057 * libc/unix/Makefile.in: Regenerated.
12058 * libc/machine/i386/Makefile.am: Added new files and reference
12059 to "mach_add_objs" to indicate optional object files.
12060 * libc/machine/i386/Makefile.in: Regenerated.
12061 * libc/machine/i386/aclocal.m4: Regenerated.
12062 * libc/machine/i386/configure: Regenerated.
12063 * libc/machine/i386/memchr.S: New file that implements
12064 function in Intel assembler.
12065 * libc/machine/i386/memcmp.S: ditto.
12066 * libc/machine/i386/memcpy.S: ditto.
12067 * libc/machine/i386/memmove.S: ditto.
12068 * libc/machine/i386/memset.S: ditto.
12069 * libc/machine/i386/strchr.S: ditto.
12070 * libc/machine/i386/strlen.S: ditto.
12071 * libc/machine/i386/f_atan2.S: New file that implements
12072 fast version of math function to be used by compiler when
12073 --ffast_math compile option is used.
12074 * libc/machine/i386/f_atan2f.S: ditto.
12075 * libc/machine/i386/f_exp.c: ditto.
12076 * libc/machine/i386/f_expf.c: ditto.
12077 * libc/machine/i386/f_frexp.S: ditto.
12078 * libc/machine/i386/f_frexpf.S: ditto.
12079 * libc/machine/i386/f_ldexp.S: ditto.
12080 * libc/machine/i386/f_ldexpf.S: ditto.
12081 * libc/machine/i386/f_log.S: ditto.
12082 * libc/machine/i386/f_logf.S: ditto.
12083 * libc/machine/i386/f_log10.S: ditto.
12084 * libc/machine/i386/f_log10f.S: ditto.
12085 * libc/machine/i386/f_math.h: New file.
12086 * libc/machine/i386/f_pow.c: ditto.
12087 * libc/machine/i386/f_powf.S: ditto.
12088 * libc/machine/i386/f_tan.S: ditto.
12089 * libc/machine/i386/f_tan.S: ditto.
12090 * libc/machine/i386/i386mach.h: New file.
12091
12092Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
12093
12094 patch from Mumit Khan <khan@xraylith.wisc.edu>
12095 * libc/include/stdio.h (tempnam): Add prototype.
12096 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
12097 (tempnam): Adhere to prototype.
12098
12099Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
12100
12101 * Makefile.am: Add default for AR_FLAGS.
12102 * Makefile.in: Regenerate.
12103
12104Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
12105
12106 * libc/include/time.h: move __cplusplus wrapper after includes
12107 * libc/include/sys/time.h: ditto. If Cygwin, include
12108 sys/select.h.
12109 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
12110
121111998-11-23 Ken Raeburn <raeburn@cygnus.com>
12112
12113 * libc/time/strftime.c (strftime): Handle %y after year 2000.
12114
12115Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
12116
12117 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
12118 abnormnal end-of-crt0 marker.
12119
12120Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
12121
12122 * libc/sys/fr30/crt0.s: New file/directory.
12123 * libc/include/machine/setjmp.h: Add FR30 target.
12124 * libc/include/machine/ieeefp.h: Add FR30 target.
12125 * configure.host: Add FR30 target.
12126
12127Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12128
ba3ccd63
EB
12129 * libm/math: Files that are duplicated in common directory removed.
12130 * libm/math/fdlibm.h: Removed.
12131 * libm/math/s_cbrt.c: Removed.
12132 * libm/math/s_copysign.c: Removed.
12133 * libm/math/s_expm1.c: Removed.
12134 * libm/math/s_finite.c: Removed.
12135 * libm/math/s_ilogb.c: Removed.
12136 * libm/math/s_infinity.c: Removed.
12137 * libm/math/s_lib_ver.c: Removed.
12138 * libm/math/s_log1p.c: Removed.
12139 * libm/math/s_logb.c: Removed.
12140 * libm/math/s_matherr.c: Removed.
12141 * libm/math/s_modf.c: Removed.
12142 * libm/math/s_nan.c: Removed.
12143 * libm/math/s_nextafter.c: Removed.
12144 * libm/math/s_rint.c: Removed.
12145 * libm/math/s_scalbn.c: Removed.
12146 * libm/math/sf_cbrt.c: Removed.
12147 * libm/math/sf_copysign.c: Removed.
12148 * libm/math/sf_expm1.c: Removed.
12149 * libm/math/sf_finite.c: Removed.
12150 * libm/math/sf_ilogb.c: Removed.
12151 * libm/math/sf_infinity.c: Removed.
12152 * libm/math/sf_log1p.c: Removed.
12153 * libm/math/sf_logb.c: Removed.
12154 * libm/math/sf_modf.c: Removed.
12155 * libm/math/sf_nan.c: Removed.
12156 * libm/math/sf_nextafter.c: Removed.
12157 * libm/math/sf_rint.c: Removed.
12158 * libm/math/sf_scalbn.c: Removed.
12159 * libm/math/Makefile.am: Removed references to deleted files (above).
12160 * libm/math/Makefile.in: Regenerated.
12161 * libm/Makefile.am: Added common directory to math.
12162 * libm/Makefile.in: Regenerated.
8a0efa53
CF
12163
12164Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12165
ba3ccd63
EB
12166 * libm/mathfp: Add non-ANSI functions.
12167 * libm/mathfp/e_acosh.c acosh(): New file.
12168 * libm/mathfp/e_atanh.c atanh(): New file.
12169 * libm/mathfp/e_hypot.c hypot(): New file.
12170 * libm/mathfp/e_j0.c j0(): New file.
12171 * libm/mathfp/e_j1.c j1(): New file.
12172 * libm/mathfp/e_remainder.c remainder(): New file.
12173 * libm/mathfp/e_scalb.c scalb(): New file.
12174 * libm/mathfp/ef_acosh.c acoshf(): New file.
12175 * libm/mathfp/ef_atanh.c atanhf(): New file.
12176 * libm/mathfp/ef_hypot.c hypotf(): New file.
12177 * libm/mathfp/ef_j0.c j0f(): New file.
12178 * libm/mathfp/ef_j1.c j1f(): New file.
12179 * libm/mathfp/ef_remainder.c remainderf(): New file.
12180 * libm/mathfp/ef_scalb.c scalbf(): New file.
12181 * libm/mathfp/er_gamma.c gamma_r: New file.
12182 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
12183 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
12184 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
12185 * libm/mathfp/w_cabs.c cabs(): New file.
12186 * libm/mathfp/w_drem.c drem(): New file.
12187 * libm/mathfp/w_jn.c jn(): New file.
12188 * libm/mathfp/wf_cabs.c cabsf(): New file.
12189 * libm/mathfp/wf_drem.c dremf(): New file.
12190 * libm/mathfp/wf_jn.c jnf(): New file.
8a0efa53
CF
12191
12192Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
12193
12194 * libc/sys/cygwin32: remove directory and contents
12195 * libc/sys/cygwin: and add back, losing the "32".
12196 * configure.host: check for cygwin* instead of cygwin32.
12197 * acinclude.m4: ditto.
12198 * aclocal.m4: regenerate with aclocal
12199 * configure: regenerate with autoconf
12200
12201Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
12202
12203 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
12204 for length
12205
12206Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12207
12208 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
12209 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
12210 to make rand/srand, strtok, asctime, localtime, w_gamma,
12211 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
12212 time.h to bring in struct tm definition.
12213 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
12214 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
12215 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
12216 instead of static variable.
12217 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
12218 struct reent instead of static variable.
12219 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
12220 struct reent instead of static variable.
12221 * libm/math/Makefile.am: Removed s_signgam.o.
12222 * libm/math/Makefile.in: Regenerated.
12223 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
12224 struct reent instead of global variable 'signgam'.
12225 * libm/math/w_lgamma.c (lgamma): Likewise.
12226 * libm/math/wf_gamma.c (gammaf): Likewise.
12227 * libm/math/wf_lgamma.c (lgammaf): Likewise.
12228 * libm/math/s_signgam.c: Removed.
12229 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
12230 to be const.
12231 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
12232 to be const.
12233 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
12234 libc/include/reent.h.
12235 * libc/reent/Makefile.in: Regenerated.
12236 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
12237 to be const.
12238 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
12239 'JIS_action_table' to be const.
12240 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
12241
12242Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
12243
12244 * acinclude.m4: $with_target_subdir should default to '.'
12245 or confusion results when configuring in same directory as sources.
12246 * Regenerate all aclocal.m4 and configure files.
12247
12248Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
12249
12250 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
12251 can be set by defining MALLOC_ALIGNMENT=16. Also added support
12252 for platforms where sizeof(size_t) < sizeof(long) via
12253 SIZE_T_SMALLER_THAN_LONG macro.
17c0c97d 12254
8a0efa53
CF
12255Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
12256
12257 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
12258 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
12259 which sets _CLOCKS_PER_SEC_ for selected machines.
12260 * libc/include/machine/time.h: New file.
12261
12262Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12263
12264 * libc/syscalls/sysexecve.c: New file.
12265 * libc/syscalls/sysgettod.c: New file.
12266 * libc/syscalls/systimes.c: New file.
12267 * libc/syscalls/Makefile.am: Added new objects.
12268 * libc/syscalls/Makefile.in: Regenerated.
12269 * libc/include/_syslist.h (_execve): Moved define in file.
12270 * libc/include/reent.h: Added _execve_r declaration.
12271 * libc/Makefile.in: Regenerated.
12272 * libc/ctype/Makefile.in: Regenerated.
12273 * libc/errno/Makefile.in: Regenerated.
12274 * libc/locale/Makefile.in: Regenerated.
12275 * libc/machine/Makefile.in: Regenerated.
12276 * libc/misc/Makefile.in: Regenerated.
12277 * libc/posix/Makefile.in: Regenerated.
12278 * libc/reent/Makefile.in: Regenerated.
12279 * libc/reent/execr.c (_execve_r): Added _execve_r function.
12280 * libc/signal/Makefile.in: Regenerated.
12281 * libc/stdio/Makefile.in: Regenerated.
12282 * libc/time/Makefile.in: Regenerated.
12283 * libc/unix/Makefile.in: Regenerated.
12284 * libm/mathfp/Makefile.in: Regenerated.
12285
12286Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12287
12288 * libc/string/Makefile.in: Regenerated.
12289 * libc/string/memchr.c (memchr): Moved code to reduce object size.
12290 * libc/string/memcpy.c (memcpy): Ditto.
12291 * libc/string/memcmp.c (memcmp): Ditto.
12292 * libc/string/memset.c (memset): Ditto.
12293 * libc/string/strchr.c (strchr): Ditto.
12294 * libc/string/strcmp.c (strcmp): Ditto.
12295 * libc/string/strcpy.c (strcpy): Ditto.
12296 * libc/string/strlen.c (strlen): Ditto.
12297
12298Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12299
12300 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
12301 to generate aclocal.m4.
12302 * libm/Makefile.in: Regenerated.
12303 * libm/aclocal.m4: Regenerated.
12304 * libm/configure: Regenerated.
12305 * libm/math/Makefile.in: Regenerated.
12306 * libm/mathfp/Makefile.in: Regenerated.
12307
123081998-09-25 Mark Salter <msalter@cygnus.com>
12309
12310 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
12311 by adding leading and trailing underscores to symbol names.
12312
12313Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
12314
12315 * Makefile.in: Add default for AR_FLAGS.
12316
12317Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
12318
12319 patch from ian@airs.com (Ian Taylor):
12320 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
12321 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
12322 is needed for detecting the build machine. Required for
12323 cygwin native builds.
12324
12325 * Regenerate all aclocal.m4 and configure files.
12326
12327Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
12328
12329 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
12330 used to start with LC.
12331
12332Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12333
12334 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
12335 (longjmp): Likewise.
12336
12337Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12338
12339 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
12340 the test for small number of bytes.
12341
12342Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12343
12344 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
12345 math library that uses floating point algorithms instead of the old
12346 libm.
12347 * Makefile.in: Regenerate with automake version 1.3b.
12348 * configure: Rebuild.
12349 * libm/Makefile.in: Regenerate with automake version 1.3b.
12350 * libm/aclocal.m4: Regenerate.
12351 * libm/configure: Rebuild.
12352 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
12353 * libm/acinclude.m4: Define macros for configure.in.
12354 * libm/config.h.in: Generate.
12355 * libm/mathfp/Makefile.am: New file.
12356 * libm/mathfp/Makefile.in: Generate.
12357 * libm/mathfp/s_acos.c (acos): New file.
12358 * libm/mathfp/s_asin.c (asin): New file.
12359 * libm/mathfp/s_asine.c (asine): New file.
12360 * libm/mathfp/s_atan.c (atan): New file.
12361 * libm/mathfp/s_atan2.c (atan2): New file.
12362 * libm/mathfp/s_atangent.c (atangent): New file.
12363 * libm/mathfp/s_ceil.c (ceil): New file.
12364 * libm/mathfp/s_copysign.c (copysign): New file.
12365 * libm/mathfp/s_cos.c (cos): New file.
12366 * libm/mathfp/s_cosh.c (cosh): New file.
12367 * libm/mathfp/s_exp.c (exp): New file.
12368 * libm/mathfp/s_fabs.c (fabs): New file.
12369 * libm/mathfp/s_finite.c (finite): New file.
12370 * libm/mathfp/s_floor.c (floor): New file.
12371 * libm/mathfp/s_fmod.c (fmod): New file.
12372 * libm/mathfp/s_frexp.c (frexp): New file.
12373 * libm/mathfp/s_infconst.c: New file.
12374 * libm/mathfp/s_isinf (isinf).c: New file.
12375 * libm/mathfp/s_isnan.c (isnan): New file.
12376 * libm/mathfp/s_ispos.c (ispos): New file.
12377 * libm/mathfp/s_ldexp.c (ldexp): New file.
12378 * libm/mathfp/s_log.c (log): New file.
12379 * libm/mathfp/s_log10.c (log10): New file.
12380 * libm/mathfp/s_logarithm.c (logarithm): New file.
12381 * libm/mathfp/s_mathcnst.c: New file.
12382 * libm/mathfp/s_modf (modf).c: New file.
12383 * libm/mathfp/s_numtest.c (numtest): New file.
12384 * libm/mathfp/s_pow.c (pow): New file.
12385 * libm/mathfp/s_scalbn.c (scalbn): New file.
12386 * libm/mathfp/s_sin (sin).c: New file.
12387 * libm/mathfp/s_sine.c (sine): New file.
12388 * libm/mathfp/s_sineh.c (sineh): New file.
12389 * libm/mathfp/s_sinf.c (sinf): New file.
12390 * libm/mathfp/s_sinh.c (sinh): New file.
12391 * libm/mathfp/s_sqrt.c (sqrt): New file.
12392 * libm/mathfp/s_tan.c (tan): New file.
12393 * libm/mathfp/s_tanh.c (tanh): New file.
12394 * libm/mathfp/sf_acos.c (acosf): New file.
12395 * libm/mathfp/sf_asin.c (asinf): New file.
12396 * libm/mathfp/sf_asine.c (asinef): New file.
12397 * libm/mathfp/sf_atan.c (atanf): New file.
12398 * libm/mathfp/sf_atan2.c (atan2f): New file.
12399 * libm/mathfp/sf_atangent.c (atangent): New file.
12400 * libm/mathfp/sf_ceil.c (ceilf): New file.
12401 * libm/mathfp/sf_copysign.c (copysignf): New file.
12402 * libm/mathfp/sf_cos.c (cosf): New file.
12403 * libm/mathfp/sf_cosh.c (coshf): New file.
12404 * libm/mathfp/sf_exp.c (expf): New file.
12405 * libm/mathfp/sf_fabs.c (fabsf): New file.
12406 * libm/mathfp/sf_finite.c (finitef): New file.
12407 * libm/mathfp/sf_floor.c (floorf): New file.
12408 * libm/mathfp/sf_fmod.c (fmodf): New file.
12409 * libm/mathfp/sf_frexp.c (frexpf): New file.
12410 * libm/mathfp/sf_isinf.c (isinff): New file.
12411 * libm/mathfp/sf_isnan.c (isnanf): New file.
12412 * libm/mathfp/sf_ispos.c (isposf): New file.
12413 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
12414 * libm/mathfp/sf_log.c (logf): New file.
12415 * libm/mathfp/sf_log10.c (log10f): New file.
12416 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
12417 * libm/mathfp/sf_modf.c (modff): New file.
12418 * libm/mathfp/sf_numtest.c (numtestf): New file.
12419 * libm/mathfp/sf_pow.c (powf): New file.
12420 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
12421 * libm/mathfp/sf_sin.c (sinf): New file.
12422 * libm/mathfp/sf_sine.c (sinef): New file.
12423 * libm/mathfp/sf_sineh.c (sinehf): New file.
12424 * libm/mathfp/sf_sinh.c (sinhf): New file.
12425 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
12426 * libm/mathfp/sf_tan.c (tanf): New file.
12427 * libm/mathfp/sf_tanh.c (tanhf): New file.
12428 * libm/mathfp/zmath.h: New file.
12429
12430Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12431
12432 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
12433 exit if it has been overwritten by pre-fetching in delay slot.
12434
124351998-09-01 Michael Meissner <meissner@cygnus.com>
12436
12437 * Makefile.am (tooldir): Add in host_alias, so that multilib
12438 libraries are installed in the directory the compiler looks in.
12439 * Makefile.in: Regenerate.
12440
12441 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
12442
12443Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
12444
12445 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
12446 ahead of test for number of bytes being moved.
12447
12448Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
12449
12450 * libc/include/sys/unistd.h: Nothing special needed for
12451 _exit under cygwin.
12452
12453Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
12454
12455 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
17c0c97d 12456 conform to user label naming conventions.
8a0efa53
CF
12457
12458Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
12459
12460 * libc/sys/cygwin32/sys/utime.h: variable names in
12461 protos should start with two leading underscores
12462 * libc/include/string.h: ditto
12463 * libc/include/sys/signal.h: ditto
12464 * libc/include/sys/stat.h: ditto
12465 * libc/include/sys/time.h: ditto
12466 * libc/include/sys/unistd.h: ditto
12467 * libc/include/ctype.h: ditto
12468 * libc/include/stdlib.h: ditto
12469 * libc/include/sys/reent.h: struct _atexit function ptr takes a
12470 void, same with _sig_func.
12471
12472Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
12473
12474 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
12475 for MB_CAPABLE to reduce code size when newlib is not configured
12476 with --enable-newlib-mb.
12477 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
17c0c97d 12478 mbtowc_r.o to minimize size.
8a0efa53 12479 * libc/stdlib/Makefile.in: Rebuild.
17c0c97d 12480
8a0efa53
CF
12481Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
12482
12483 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
12484 to -DREENT.
12485 * libc/sys/sparc64/Makefile.in: Rebuild.
17c0c97d 12486
8a0efa53
CF
12487Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
12488
12489 * Makefile.am (MAKEOVERRIDES): Define.
12490 * Makefile.in: Rebuild.
12491
12492Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
12493
12494 * libc/sys/sparc64/sys/stat.h (stat): Add const.
12495
12496Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
12497
12498 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
12499 newlib_cflags when looking for targ-include.
12500 * */aclocal.m4, */configure: Rebuild.
12501
12502Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
12503
ba3ccd63
EB
12504 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
12505 to "_end".
8a0efa53
CF
12506
12507Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
12508
12509 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
12510 on SPARCs with little-endian data.
12511 * libc/include/machine/ieeefp.h: Ditto.
12512
12513Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
12514
12515 * acinclude.m4: Handle a relative srcdir correctly when setting
12516 newlib_cflags.
12517 * */aclocal.m4, */configure: Rebuild.
12518
12519Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
12520
12521 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
17c0c97d
EB
12522 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
12523 * libm/math/wrf_gamma.c (gammaf_r): ditto
12524 * libm/math/wr_lgamma.c (lgamma_r): ditto
12525 * libm/math/wr_gamma.c (gamma_r): ditto
12526 * libm/math/wf_sqrt.c (sqrtf): ditto
12527 * libm/math/wf_sinh.c (sinhf): ditto
12528 * libm/math/wf_scalb.c (scalbf): ditto
12529 * libm/math/wf_remainder.c (remainderf): ditto
12530 * libm/math/wf_pow.c (powf): ditto
12531 * libm/math/wf_log10.c (log10f): ditto
12532 * libm/math/wf_log.c (logf): ditto
12533 * libm/math/wf_lgamma.c (lgammaf): ditto
12534 * libm/math/wf_jn.c (jnf, ynf): ditto
12535 * libm/math/wf_j1.c (j1f, y1f): ditto
12536 * libm/math/wf_j0.c (j0f, y0f): ditto
12537 * libm/math/wf_hypot.c (hypotf): ditto
12538 * libm/math/wf_gamma.c (gammaf): ditto
12539 * libm/math/wf_fmod.c (fmodf): ditto
12540 * libm/math/wf_exp.c (expf): ditto
12541 * libm/math/wf_cosh.c (coshf): ditto
12542 * libm/math/wf_atanh.c (atanhf): ditto
12543 * libm/math/wf_atan2f.c (atan2f): ditto
12544 * libm/math/wf_asin.c (asinf): ditto
12545 * libm/math/wf_acosh.c (acoshf): ditto
12546 * libm/math/wf_acos.c (acosf): ditto
12547 * libm/math/w_sqrt.c (sqrt): ditto
12548 * libm/math/w_sinh.c (sinh): ditto
12549 * libm/math/w_scalb.c (scalb): ditto
12550 * libm/math/w_remainder.c (remainder): ditto
12551 * libm/math/w_pow.c (pow): ditto
12552 * libm/math/w_log10.c (log10): ditto
12553 * libm/math/w_log.c (log): ditto
12554 * libm/math/w_lgamma.c (lgamma): ditto
12555 * libm/math/w_jn.c (jn, yn): ditto
12556 * libm/math/w_j1.c (j1, y1): ditto
12557 * libm/math/w_j0.c (j0, y0): ditto
12558 * libm/math/w_hypot.c (hypot): ditto
12559 * libm/math/w_gamma.c (gamma): ditto
12560 * libm/math/w_fmod.c (fmod): ditto
12561 * libm/math/w_exp.c (exp): ditto
12562 * libm/math/w_cosh.c (cosh): ditto
12563 * libm/math/w_atanh.c (atanh): ditto
12564 * libm/math/w_atan2f.c (atan2): ditto
12565 * libm/math/w_asin.c (asin): ditto
12566 * libm/math/w_acosh.c (acosh): ditto
12567 * libm/math/w_acos.c (acos): ditto
8a0efa53
CF
12568
12569Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
12570
12571 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
12572 (fsrc): Add wf_cabs.c and wf_drem.c.
12573 * libm/math/Makefile.in: Rebuild.
12574
12575 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
12576 unused directory variables. Remove duplicate CFLAGS.
12577 * Makefile.in: Rebuild.
12578
12579 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
12580 with $(CC_FOR_BUILD).
12581 (makedoc.o): Likewise.
12582 * doc/Makefile.in: Rebuild.
12583
12584 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
12585 force a definition of COMPILE.
12586 (libfoo_a_SOURCES): Define.
12587 * libc/sys/cygwin32/Makefile.in: Rebuild.
12588 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
12589 force a definition of COMPILE.
12590 (libfoo_a_SOURCES): Define.
12591 * libc/sys/tic80/Makefile.in: Rebuild.
12592
12593Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
12594
12595 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
12596 flag.
12597
12598Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
12599
12600 * Build using autoconf and automake. Added many Makefile.am and
12601 configure.in files, plus generated files. Old configure.in files
12602 and all old Makefile.in files completely replaced. Removed
12603 host/any. Added acinclude.m4 and configure.host.
12604
12605Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
12606
12607 * libc/stdio/vfprintf.c: enable long long support, sometimes.
12608 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
12609
12610Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12611
12612 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
12613 * libc/machine/sh/Makefile.in: Add rules for new files.
12614
12615Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12616
12617 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
12618 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
12619 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
12620
12621Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
12622
12623 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
12624 code is ignored.
12625
12626Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
12627
12628 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
12629 internal static buffer when s is NULL, as prescribed by ANSI.
12630
126311998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
12632
12633 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
12634 removed.
12635 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
12636 libc/stdlib will be used for h8300hms.
17c0c97d 12637
8a0efa53
CF
12638Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12639
12640 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
12641 version that can be built either for speed or size.
12642 * libc/machine/mn10300/memset.S (_memset): ditto
12643 * libc/machine/mn10300/memchr.S (_memchr): ditto
12644 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
12645 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
12646 * libc/machine/mn10300/strchr.S (_strchr): ditto
12647 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
12648 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
12649 * libc/machine/mn10300/Makefile.in: Added entries for
17c0c97d 12650 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
8a0efa53
CF
12651 strcmp.o, strcpy.o, and strlen.o.
12652
12653Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
12654
12655 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
12656 been replaced with libgloss/mn10200.
12657
12658Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
12659
12660 * libc/string/strchr.c (strchr): Make s a constant pointer to
12661 avoid warning.
12662
12663Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
12664
12665 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
12666 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
12667 board SWIs instead of Demon board SWIs).
12668
12669Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
12670
12671 * libc/string/strncat.c (strncat): Make -Os act the same as
12672 PREFER_SIZE_OVER_SPEED being defined.
12673
12674Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
12675
12676 * libc/string/memchr.c (memchr): Make -Os act the same as
12677 PREFER_SIZE_OVER_SPEED being defined.
12678 * libc/string/memcmp.c (memcmp): Ditto.
12679 * libc/string/memcpy.c (memcpy): Ditto.
12680 * libc/string/memset.c (memset): Ditto.
12681 * libc/string/strcat.c (strcat): Ditto.
12682 * libc/string/strchr.c (strchr): Ditto.
12683 * libc/string/strcmp.c (strcmp): Ditto.
12684 * libc/string/strcpy.c (strcpy): Ditto.
12685 * libc/string/strlen.c (strlen): Ditto.
12686 * libc/string/strncat.c (strncat): Ditto.
12687 * libc/string/strncmp.c (strncmp): Ditto.
12688 * libc/string/strncpy.c (strncpy): Ditto.
12689
12690Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
12691
12692 * libc/include/sys/itimer.h: remove
12693 * libc/include/sys/time.h: itimer stuff should be here
12694
12695Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
12696
12697 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
12698 bit instead of comparing to 0 so -0.0 can be printed correctly.
12699
12700Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12701
12702 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
12703
12704Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
12705
12706 * libc/include/sys/unistd.h: fix sync() proto
12707 * libc/include/sys/fcntl.h: remove _close which is already
12708 defined in unistd.h.
12709 * libc/include/sys/time.h: add getitimer proto
12710
12711Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
12712
12713 * libc/string/strchr.c: convert arg to unsigned char
12714 * libc/include/stdlib.h: add protos for random, srandom
12715 * libc/include/sys/stat.h: add lstat proto
12716 * libc/include/sys/time.h: add setitimer proto
12717 * libc/include/sys/unistd.h: add readlink, symlink protos
12718 * libc/include/process.h: instead of including windows.h and using
12719 HANDLEs in sexec protos, just use void *s. Need to include
12720 sys/types.h.
12721
12722Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
12723
12724 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
12725
12726Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
12727
12728 * libc/include/process.h: add secure exec protos
12729
12730Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
12731
12732 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
12733 which are accessed as both doubles and integers.
12734 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
12735 * libc/stdlib/strtod.c (_strtod_r): Likewise.
12736 * libc/stdlib/mprec.h: Add "union double_union" and change
12737 word0/word1 macros to use it.
12738
12739Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
12740
12741 * libc/include/sys/signal.h: add __cplusplus wrapper
12742
12743Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
12744
12745 * libc/include/sys/utime.h: new generic file that gets replaced by
12746 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
12747 function.
12748 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
12749 * libc/include/time.h: remove duplicate utime proto
12750 * libc/include/utime.h: add comment
12751
12752Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
12753
12754 * libc/include/sys/time.h: Add missing include to
12755 allow use of _EXFUN. Remove times function that is
12756 already defined in times.h.
12757
12758Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
12759
12760 * libc/include/time.h: Fix typo in tzset.
12761
12762Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
12763
12764 * libc/include/sys/time.h: add missing Cygwin32 function protos
12765 * libc/include/sys/unistd.h: ditto
12766 * libc/include/time.h: ditto
12767
12768Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
12769
12770 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
12771 FIXME.
12772 * libc/include/sys/types.h: add a new __MS_types__ section
12773 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
12774 __BIT_TYPES_DEFINED__.
12775
12776Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
12777
12778 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
12779 since it overrides the one in libc/include/sys. Also, start
12780 including types.h.
12781
12782Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
12783
12784 * libm/math/Makefile.in: add s_signgam.o to obj list
12785
12786Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
12787
12788 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
12789
12790Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
12791
12792 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
12793 so don't use defines.
12794
12795Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
12796
12797 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
12798
12799Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
12800
12801 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
17c0c97d 12802 _current_locale as default locale.
8a0efa53
CF
12803
12804Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
12805
12806 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
17c0c97d 12807 insufficient space in a chunk.
8a0efa53
CF
12808
12809Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
12810
12811 * configure.in (links): Added check for --enable-newlib-mb configure
12812 option which defines the MB_CAPABLE macro.
12813 * libc/locale/locale.c (_setlocale_r): Added support for setting
12814 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
12815 defined.
12816 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
12817 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
12818 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
12819 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
12820 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
17c0c97d 12821 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
8a0efa53
CF
12822 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
12823 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
12824 * libc/stdlib/Makefile.in: Added new multibyte
12825 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
12826 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
12827 _mbstowcs_r(), and _wcstombs_r().
12828 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
12829 for JIS, SJIS, and EUC-JP characters.
12830 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
17c0c97d 12831 MB_CAPABLE defined.
8a0efa53
CF
12832 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
12833 MB_CAPABLE defined.
12834 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
12835 MB_CAPABLE defined.
12836 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
12837 if MB_CAPABLE defined.
12838 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
12839 if MB_CAPABLE defined.
12840 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
12841 to the format string processing when MB_CAPABLE.
12842 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
12843 call _mbtowc_r().
12844
12845Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
12846
12847 The following modifications are courtesy of Anthony Thompson,
12848 athompson@cambridge.arm.com:
12849 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
12850 boith RDI and RDP monitors.
12851 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
12852 RDI and RDP monitors.
12853
12854Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
12855
12856 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
12857 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
12858 (_swiopen): Fixed open flags to treat write with append as just append.
12859 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
12860 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
12861
12862Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12863
12864 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
12865 When needing to transfer an initial 2-byte-word, store as
12866 two single bytes.
12867
12868Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12869
12870 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
12871 __SH3E__ .
12872 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
12873 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
12874
12875Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
12876
12877 * configure.in (target_cflags): If --enable-target-optspace, use
12878 -Os to compile newlib rather than -O2. Default to using -Os for
12879 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
12880 used.
12881
12882Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
12883
ba3ccd63
EB
12884 * libc/include/machine/setjmp.h: change sigsetjmp and
12885 siglongjmp definitions to use an array instead of a struct
12886 for __CYGWIN32__
8a0efa53
CF
12887
12888Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
12889
12890 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
12891
12892Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
12893
12894 * libc/string/strxfrm.c: fix to get correct return value
12895
12896Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
12897
12898 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
12899 builds. Make mode change labels global so that they will be seen
12900 by the debugger.
12901
12902Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
12903
12904 * configure.in (links): Do not use ARM debiugging protocols for PE
12905 builds.
12906
12907 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
17c0c97d 12908 message.
8a0efa53
CF
12909
12910Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
12911
12912 * libc/stdio/findfp.c (__sinit): Made stdout default to
12913 line buffered mode as defined by ANSI.
12914
12915Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
12916
12917 * libc/include/sys/itimer.h: New file.
12918
12919 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
12920
12921Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12922
12923 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
12924 failure.
12925
12926Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
12927
12928 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
12929 insns.
12930
12931Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
12932
12933 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
12934
12935Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
12936
12937 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
12938 support.
12939
12940 * libc/include/machine/setjmp.h: Add D30V support.
12941
12942 * configure.in (d30v-*): Add d30v machine directory.
12943
12944Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
12945
12946 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
12947 been replaced with libgloss/mn10300.
12948
12949Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
12950
12951 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
12952 it is no longer needed.
12953
12954Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
12955
ba3ccd63 12956 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
8a0efa53
CF
12957
12958Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
12959
12960 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
ba3ccd63 12961 the file when O_APPEND is set, wherever the EOF happens to be at
17c0c97d 12962 that time.
8a0efa53
CF
12963
12964Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
17c0c97d 12965
8a0efa53
CF
12966 patch from cgf@bbc.com (Christopher Faylor):
12967 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
12968 convention of closing fp prior to attempting to open the file
12969 argument. This allows correct operation when reopening
12970 stdin/stdout/stderr. Replaces last freopen.c patch.
12971
12972Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
12973
ba3ccd63
EB
12974 patch from cgf@bbc.com (Christopher Faylor):
12975 * libc/stdio/freopen.c: freopen was not preserving the fd
12976 of the stream being operated on. This confuses programs that
12977 expect that the handles for stdout and stderr will be 1 and 2.
8a0efa53
CF
12978
12979Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
12980
12981 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
12982
12983Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
12984
12985 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
12986
12987Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
12988
12989 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
12990 altered to not use a branch. Also added hint that last
12991 bclr in longjmp will likely result in branch.
17c0c97d 12992
8a0efa53
CF
12993
12994Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
12995
ba3ccd63 12996 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
8a0efa53
CF
12997
12998Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
12999
13000 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
13001 v850 builds.
13002
17c0c97d 13003 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
8a0efa53
CF
13004
13005Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
13006
13007 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
13008 that loads FR14 to specify offset of 8 rather than 4
13009 so it loads from offset 96 (where setjmp stored it).
13010
13011Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13012
13013 * libc/machine/sh/memcpy.S: (_memcpy): Update to
13014 latest version supplied by customer.
13015 * libc/machine/sh/memset.S (_memset): Ditto.
13016
13017Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
13018
13019 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
17c0c97d 13020 PR14730).
8a0efa53
CF
13021
13022Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
13023
ba3ccd63 13024 * libc/include/string.h: remove redefinition of ffs
8a0efa53
CF
13025
13026Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
13027
ba3ccd63 13028 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
8a0efa53
CF
13029 defined
13030
13031Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13032
13033 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
17c0c97d
EB
13034 TI Libraries to link to libc.a
13035
8a0efa53
CF
13036Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
13037
13038 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
13039 * libc/include/sys/stat.h (_{,f}stat): Ditto.
13040 * libc/include/sys/wait.h (_wait): Ditto.
13041 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
13042 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
13043
13044Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
13045
13046 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
13047 minded stabs so function name shows up when running the simulator
13048 with -t.
13049 * libc/sys/d10v/{crt0,trap}.S: Ditto.
13050
13051Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
13052
17c0c97d 13053 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
8a0efa53
CF
13054 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
13055 Use R5 where we used to use R3.
17c0c97d 13056
8a0efa53
CF
13057Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
13058
13059 * libc/stdlib/getopt.c (getopt): replaced __progname
13060 with nargv[0] to improve portability to imbedded systems.
13061
13062Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
13063
13064 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
13065 patch supplied by Tont.Thompson@arm.com to fix the creation of the
13066 stdout file.
13067
13068Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
13069
13070 * libc/stdio/tmpnam.c (worker): Generate a different file name
13071 each time.
13072
13073 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
13074 fails, try an execlp for sh.
13075
13076 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
13077 option for the winsup include directory.
13078
13079Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
13080
13081 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
13082 debugging interface from Tony.Thompson@arm.com.
17c0c97d 13083
8a0efa53
CF
13084 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
13085 * libc/sys/arm/swi.h: ditto.
13086
13087Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
13088
13089 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
13090 DIR struct used for readdir hashes.
13091
13092Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
13093
13094 * libc/string/strchr.c: Use "unsigned chars" as necessary.
13095
13096Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
13097
13098 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
13099 integer targets.
13100
13101Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
13102
13103 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
13104 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
13105 * libc/include/malloc.h: Add extern "C" if __cplusplus.
13106 (__malloc_copy): Declare.
13107
13108Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
13109
13110 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
13111 <sys/config.h>.
13112 (POINTER_UINT): Define.
13113 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
13114 (MALLOC_ALIGNMENT): Don't define if already defined.
13115 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
13116 long.
13117
13118Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
13119
13120 * libc/string/memset.c (memset): Fiddle with code so that the long
13121 value being stored is not a stack value. Unroll storing longs 4
13122 times.
13123
13124Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
13125
13126 * Reduce code size for libm modules.
13127 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
13128 and simply move code into sqrt.
13129 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
13130 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
13131 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
13132 * libm/math/wr_gamma.c (gamma_r): Likewise.
13133 * libm/math/wf_sinh.c (sinfh): Likewise.
13134 * libm/math/w_sinh.c (sinh): Likewise.
13135 * libm/math/wf_scalb.c (scalbf): Likewise.
13136 * libm/math/w_scalb.c (scalb): Likewise.
13137 * libm/math/wf_remainder.c (remainderf): Likewise.
13138 * libm/math/w_remainder.c (remainder): Likewise.
13139 * libm/math/wf_pow.c (powf): Likewise.
13140 * libm/math/w_pow.c (pow): Likewise.
13141 * libm/math/wf_log10.c (log10f): Likewise.
13142 * libm/math/w_log10.c (log10): Likewise.
13143 * libm/math/wf_log.c (logf): Likewise.
13144 * libm/math/w_log.c (log): Likewise.
13145 * libm/math/w_lgamma.c (lgamma): Likewise.
13146 * libm/math/wf_lgamma.c (lgammaf): Likewise.
13147 * libm/math/wf_jn.c (jnf): Likewise.
13148 * libm/math/w_jn.c (jn): Likewise.
13149 * libm/math/wf_j1.c (j1f): Likewise.
13150 * libm/math/w_j1.c (j1): Likewise.
13151 * libm/math/wf_j0.c (j0f): Likewise.
13152 * libm/math/w_j0.c (j0): Likewise.
13153 * libm/math/wf_hypot.c (hypotf): Likewise.
13154 * libm/math/w_hypot.c (hypot): Likewise.
13155 * libm/math/wf_gamma.c (gammaf): Likewise.
13156 * libm/math/w_gamma.c (gamma): Likewise.
13157 * libm/math/wf_fmod.c (fmodf): Likewise.
13158 * libm/math/w_fmod.c (fmod): Likewise.
13159 * libm/math/wf_exp.c (expf): Likewise.
13160 * libm/math/w_exp.c (exp): Likewise.
13161 * libm/math/wf_cosh.c (coshf): Likewise.
13162 * libm/math/w_cosh.c (cosh): Likewise.
13163 * libm/math/wf_atanh.c (atanhf): Likewise.
13164 * libm/math/w_atanh.c (atanh): Likewise.
13165 * libm/math/wf_atan2.c (atan2f): Likewise.
13166 * libm/math/w_atan2.c (atan2): Likewise.
13167 * libm/math/wf_asin.c (asinf): Likewise.
13168 * libm/math/w_asin.c (asin): Likewise.
13169 * libm/math/wf_acosh.c (acoshf): Likewise.
13170 * libm/math/w_acosh.c (acosh): Likewise.
13171 * libm/math/wf_acos.c (asocf): Likewise.
13172 * libm/math/w_acos.c (acos): Likewise.
13173 * libm/math/wf_sqrt.c (sqrtf): Likewise.
13174 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
13175 for embedded systems.
13176
13177Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
13178
13179 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
13180 Lea in case of a foreign sbrk.
13181
13182Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
13183
13184 Incorporate Doug Lea's malloc:
13185 * libc/stdlib/mallocr.c: Completely replaced.
13186 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
13187 (realloc): Remove.
13188 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
13189 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
13190 mallopt.
13191 (mallinfo, malloc_stats, mallopt): New functions.
13192 (_mstats_r): Just call _malloc_stats_r.
13193 * libc/stdlib/malign.c: New file.
13194 * libc/stdlib/mlock.c: New file.
13195 * libc/stdlib/msize.c: New file.
13196 * libc/stdlib/mtrim.c: New file.
13197 * libc/stdlib/realloc.c: New file.
13198 * libc/stdlib/valloc.c: New file.
13199 * libc/stdlib/malloc.h: Remove.
13200 * libc/stdlib/callocr.c: Remove.
13201 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
13202 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
13203 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
13204 reallocr.o, valloc.o, vallocr.o.
13205 (CHEWOUT_FILES): Add mlock.def, mstats.def.
13206 (MALLOC_CFLAGS): New variable.
13207 (mallocr.o): New target, build from mallocr.c.
13208 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
13209 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
13210 (msizer.o, malloptr.o): Likewise.
13211 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
13212 (valloc.o): New target.
13213 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
13214 * libc/include/malloc.h: Declare struct mallinfo, and new
13215 routines.
13216 * libc/include/stdlib.h (cfree): Correct declaration.
13217
13218Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
13219
13220 * libc/include/machine/setjmp.h: Add support for Thumb target.
13221
13222 * libc/include/machine/ieeefp.h: Add support for Thumb target.
13223
13224 * configure.in (links): Add support for Thumb target.
13225
13226Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
13227
13228 * libc/sys/arm/setjmp.S: Updated with version from branch.
13229
13230Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
13231
13232 * libc/include/stdio.h: add POSIX-required define L_ctermid
13233 for ctermid
13234
13235Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
13236
13237 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
13238 addition to MISSING_SYSCALL_NAMES.
13239
13240Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
13241
13242 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
13243
13244Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
13245
ba3ccd63
EB
13246 * libc/include/string.h: change strsignal proto to return
13247 a char *. This eliminates compile problems in gdb resulting
13248 from gdb's definition of strsignal in defs.h.
8a0efa53
CF
13249
13250Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
13251
ba3ccd63
EB
13252 * libc/sys/cygwin32/sys/utime.h: new (moved here from
13253 winsup/include) so as not to conflict with the one in
13254 libc/include.
8a0efa53
CF
13255 * libc/include/string.h: add protos for strsignal, strtosigno
13256
13257Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
13258
13259 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
13260
13261 * configure.in (d30v-*-*): Add configuration.
13262
13263Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
13264
13265 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
13266 to select which kind of debug monitor is in use for an ARM target.
13267
13268 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
13269 Angel and Demon debug monitors. Part of this code was supplied by
13270 Tony Thompson at ARM: athompso@arm.com.
13271
13272Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
13273
13274 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
13275 semantics when the count is greater than the length of the second
13276 source string.
13277
13278Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
13279
13280 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
13281 * libc/include/sys/unistd.h: add protos for usleep, truncate,
13282 truncate and ftruncate take off_t, not size_t
13283
13284Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
13285
13286 * libc/string/strcat.c (strcat): Add missing comment end.
13287 * libc/string/strncat.c (strncat): Likewise.
13288
13289Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
13290
13291 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
17c0c97d
EB
13292 targets.
13293 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
8a0efa53 13294 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
17c0c97d 13295 defined.
8a0efa53
CF
13296 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
13297 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
13298 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
13299
13300Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
13301
13302 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
13303 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
13304
13305Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
13306
13307 * libc/machine/i386/setjmp.S: New file.
13308 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
13309 (OFILES): Add setjmp.o.
13310 (setjmp.o): Add rule for.
13311 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
13312
13313Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
13314 Jeffrey A Law (law@cygnus.com)
13315
13316 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
13317 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
13318 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
13319 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
13320
13321Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
13322
13323 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
17c0c97d 13324 rules.
8a0efa53
CF
13325
13326 * libc/include/sys/config.h: Use __v850 to select v850
17c0c97d 13327 endianness.
8a0efa53
CF
13328
13329 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
13330 buffer size.
13331
13332 * libc/include/machine/ieeefp.h: Use __v850 to select v850
17c0c97d 13333 endianness.
8a0efa53
CF
13334
13335Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
13336
13337 * libc/stdlib/setenv.c: change unsetenv definition to match
13338 style of setenv (with _DEFUN). The string should be a const.
13339 * libc/include/stdlib.h: unsetenv proto should return void.
13340
13341Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
13342
13343 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
13344
13345Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
13346
13347 * libc/stdio/glue.h: remove.
13348 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
13349 * libc/stdio/Makefile.in: remove glue.h dependencies
13350
13351Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
13352
13353 * libc/sys/sysnecv850/crt0.S: Created V850e version.
17c0c97d 13354
8a0efa53
CF
13355Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
13356
13357 * configure.in (target_cpu): Add `arc'.
13358
13359Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
13360
17c0c97d 13361 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
8a0efa53
CF
13362 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
13363 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
13364 * newlib/libc/reent/reent.c: Add _wrapup_reent.
13365 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
13366
13367Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
13368
13369 * libc/machine/mips/setjmp.S: Handle mips16 builds.
13370
13371Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
13372
13373 * libc/include/stdio.h (siprintf): Declare.
13374
13375Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
13376
13377 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
13378 TARGET_CFLAGS and NEWLIB_FLAGS.
13379
13380Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
13381
13382 * configure.in (links): Add support for v850ea target.
13383
13384Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
13385
13386 * configure.in (links): Add support for v850e target.
13387
13388Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
13389
13390 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
13391
13392Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
13393
13394 * configure.in (arc-*-*): Add support for.
13395 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
13396
13397Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
13398
13399 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
13400
13401Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
13402
13403 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
13404 comparison which accesses invalid memory when the key is
13405 larger than the last member of the array.
13406 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
13407 for CYGWIN32
13408 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
13409
13410Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
13411
13412 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
13413 not _STRICT_ANSI.
13414
13415Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
13416
13417 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
13418 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
13419
13420Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
13421
13422 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
13423 to load/store memory.
13424
13425Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
13426
13427 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
13428 underscores if _WIN32.
13429
13430Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
13431
13432 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
13433 support ifdef _USE_WRITE missed in last change.
13434 From Anders Blomdell <anders.blomdell@control.lth.se>.
13435
13436Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
13437
13438 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
13439 (_tmpnam_r, _tempnam_r): Update.
13440
13441Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
13442
13443 * libc/machine/sparc/setjmp.S: New file.
13444 * libc/machine/sparc/Makefile.in: Add setjmp.
13445 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
13446
13447Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
13448
13449 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
13450
13451Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
13452
13453 From Joel Sherrill <joel@oarcorp.com>.
13454 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
13455
13456 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
13457 * configure.in: Recognize *-*-rtems*.
13458 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
13459 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
13460 time.h,times.h,types.h}: New files.
13461 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
13462
13463Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
13464
13465 patch from sos@prospect.com.ru (Sergey Okhapkin):
ba3ccd63
EB
13466 * include/sys/wait.h: correct operator precidence bug
13467 in WIFSIGNALED
8a0efa53
CF
13468
13469Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
13470
13471 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
13472 with newlib's unsetenv function
13473 * libc/sys/cygwin32/sys: new directory for includes
13474 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
13475 here from winsup/include/sys
13476
13477Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
13478
13479 * libc/include/sys/unistd.h: _exit should only be
13480 labelled noreturn when not __CYGWIN32__
13481 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
13482 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
13483 increment NSIG
13484
13485Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
13486
13487 * libc/include/sys/time.h: Only define timeval and timezone if
13488 _GNU_H_WINDOWS32_SOCKETS is not defined.
13489 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
13490
13491Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
13492
13493 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
13494 * libc/machine/mn10300/setjmp.S: Likewise.
13495
13496 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
13497 the mn10300 (more relaxing opportunities).
13498
13499Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
13500
13501 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
13502 Build libraries with -mstrict-align.
13503
13504Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
13505
13506 * libc/string/strlwr.c: New file.
13507 * libc/string/strupr.c: New file.
13508 * libc/include/string.h: Declare strlwr and strupr.
13509 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
13510 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
13511 (strlwr.o, strupr.o): New targets.
13512 * libc/string/strings.tex: Include strlwr and strupr docs.
13513
13514 * libc/include/sys/types.h: Don't define u_char, et. al., if
13515 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
13516 et. al. Make FD_SETSIZE default 64 rather than 60. Define
13517 _types_fd_set rather than fd_set, and define fd_set as a macro.
13518
13519 * libc/include/malloc.h: New file.
13520
13521 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
13522 strnicmp if they are not already defined.
13523
13524 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
13525 _timezone, _daylight, and _tzname.
13526
13527Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
13528
13529 * configure.in: Sort all configuration tables.
13530
13531 From Joel Sherrill <joel@oarcorp.com>
13532 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
13533
13534Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
13535
13536 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
13537 use int when declaring kill.
13538
13539 * libc/include/sys/timeb.h: New file.
13540
13541Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
13542
13543 * libc/include/sys/time.h: add itimer support for Cygwin32
13544
13545Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
13546
13547 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
13548 out a message that abort was called to stderr.
13549
13550Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
13551
13552 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
13553 so that libio doesn't freak.
13554
13555 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
13556 int.
13557
13558 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
13559 memory sizes, not int.
13560
13561Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
13562
13563 * libm/math/ef_hypot.c: Use long constants where
17c0c97d 13564 appropriate.
8a0efa53
CF
13565 * libm/math/ef_sqrt.c: Ditto.
13566
13567 * libc/sys/sysmec/times.c(_times): Change to times.
13568
13569 * libc/sys/sysmec/read.c(_read): The third argument is
13570 size_t.
13571 * libc/sys/sysmec/write.c (_write): Ditto.
13572
13573 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
13574 (_lseek): It's off_t for the second argument.
13575
13576Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
13577
13578 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
13579 as well as machine/ieeefp.h.
13580
13581Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
13582
13583 * libc/include/sys/signal.h: add signal protos for winsup
13584 functions (when __CYGWIN32__), include types.h
13585 * libc/include/sys/types.h: Change __go32_types__ internal
13586 define to __MS_types__ since it's used for more than just
13587 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
13588 defined.
13589 * libc/include/sys/unistd.h: add ftruncate proto for
13590 winsup functions (when __CYGWIN32__)
13591
13592Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
13593
13594 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
13595
13596Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
13597
13598 * libc/include/machine/setjmp.h: Add tic80 support.
13599 * libc/machine/tic80/setjmp.S: Likewise.
13600
13601Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
13602
ba3ccd63
EB
13603 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
13604 link programs from libraries only (such as in the X11
13605 distribution)
8a0efa53
CF
13606
13607Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
13608
13609 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
13610 supplied elsewhere in newlib.
13611
13612Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
13613
13614 * Makefile.in (INSTALL): Change install.sh to install-sh.
13615
13616Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
13617
13618 * README: update WWW address for on-line documentation.
13619
13620Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
13621
13622 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
13623 increment NSIG
13624
13625Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
13626
13627 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
13628 mn10300.
13629 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
13630
13631Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
13632
13633 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
13634 * libc/sys/d10v/syscalls.c: Likewise.
13635 * libc/sys/h8300hms/sbrk.c: Likewise.
13636 * libc/sys/h8500hms/syscalls.c: Likewise.
13637 * libc/sys/m88kbug/syscalls.c: Likewise.
13638 * libc/sys/sh/syscalls.c: Likewise.
13639 * libc/sys/sysmec/sbrk.c: Likewise.
13640 * libc/sys/sysnecv850/sbrk.c: Likewise.
13641 * libc/sys/w65/syscalls.c: Likewise.
13642 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
13643
13644Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
13645
13646 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
13647 emulated syscall instead of "trap".
13648
13649Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
13650
13651 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
13652 not trap 0.
13653
13654Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
13655
13656 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
13657
13658Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
13659
13660 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
13661 not "sh".
13662 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
13663 not "d10v".
13664 * libc/sys/tic80/crt0.c: New file for TIc80.
13665 * libc/sys/tic80/Makefile.in: New file for TIc80.
13666 * libc/machine/tic80/Makefile.in: New file for TIc80.
13667
13668Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
13669
13670 * libc/machine/sh/memcpy.S: New file.
13671 * libc/machine/sh/memset.S: New file.
13672 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
13673
13674Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
13675
13676 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
13677 for TIc80.
13678
13679Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
13680
13681 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
13682 the mn10200.
13683
13684Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
13685
13686 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
13687 (patch from andrew@pogo.WV.TEK.COM).
13688
13689Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
13690
13691 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
13692 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
13693
13694Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
13695
13696 * configure.in: Add cases for "tic80" to set machine_dir,
13697 sys_dir, and syscall_dir.
13698
13699Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
13700
13701 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
13702
13703Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
13704
13705 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
13706
13707Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
13708
13709 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
13710 Use proper constant prefix.
13711
13712Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
13713
13714 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
13715 that loses on the mn10200 where ints and pointers are different
13716 sizes.
13717
13718Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
13719
13720 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
13721 target as signal is provided in winsup.
13722
13723Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
13724
13725 * libc/include/sys/process.h: Corrected const definitions
13726 in spawn functions. Added cwait.
13727
13728Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
13729
13730 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
13731 doubles.
13732 * libc/include/sys/config.h: Similarly.
13733
13734Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13735
13736 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
13737 target_cflags.
13738 (i[3456]86-*-sco*): Ditto.
13739
13740 * libc/signal/Makefile.in (OFILES): Add signal.o.
13741 (CFILES): Add signal.c.
13742
13743 * libc/signal/raise.c (_raise_r): Only compile code if
13744 SIGNAL_PROVIDED is defined.
13745
13746 * libc/signal/signal.c: Redo whole file so that it works with
13747 current newlib. Use _kill_r if no signal handler provided.
13748
13749 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
13750 signal stubs.
13751 * libc/sys/sysvnecv70/Makefile.in: Ditto.
13752 * libc/sys/sysnecv850/Makefile.in: Ditto.
13753
13754 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
13755 * libc/sys/sysmec/{raise,signal}.c: Ditto.
13756 * libc/sys/sysvnecv70/signal.s: Ditto.
13757 * libc/sys/sysnecv850/raise.c: Ditto.
13758
13759 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
13760 simulator and debugger can tell the difference between a signal
13761 being raised and an exit system call.
13762
13763 * NEWS: Document software signals being provided.
13764
13765Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13766
13767 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
13768 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
13769 include/sys/config.h.
13770 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
13771 Change from 'inpure_data'.
13772 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
13773 &impure_data, not &inpure_data.
13774
13775 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
13776 and and System V ABI, define so that _impure_ptr lives in the
13777 .sdata section.
13778
13779Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13780
13781 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
13782 nothing if not defined.
13783 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
13784 its attributes.
13785
17c0c97d 13786 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
8a0efa53
CF
13787
13788Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
13789
13790 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
13791 * libc/sys/sysmec/trap.s: Handle mn10200 too.
13792 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
13793
13794Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
13795
13796 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
13797
13798Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
13799
ba3ccd63 13800 * libc/include/sys/errno.h: Added net errno's.
8a0efa53
CF
13801
13802Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13803
13804 * libc/misc/ffs.c: New file to support ffs function for GCC test
13805 gcc.c-torture/execute/960909-1.c.
13806
13807 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
13808
13809Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
13810
13811 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
13812 * libc/sys/sysmec/trap.S: Likewise.
13813
13814Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
13815
13816 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
13817 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
13818
13819Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
13820
13821 * libc/sys/sysmec/signal.c: Dummy file.
13822 * libc/sys/sysmec/Makefile.in: Build it.
13823
13824Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
13825
13826 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
13827 mips16.
13828
13829Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
13830
13831 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
13832 c-startup and simulator traps.
13833
13834
13835 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
13836 * libc/sys/sysmec/trap0.S: Likewise.
13837
13838Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13839
13840 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
13841 round to double word alignment.
13842 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
13843 byte alignment.
13844
13845 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
13846
13847 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
13848 out of memory.
13849
13850Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
13851
13852 * configure.in: Handle mn10200 and mn10300.
13853 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
13854 * libc/include/sys/config.h: Likewise.
13855 * libc/sys/sysmec: New directory for mec stuff.
13856 * libc/machine/mn10300: New directory for mn10300 stuff.
13857 * libc/machine/mn10200: Similarly for mn10200 stuff.
13858
13859Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
13860
13861 * libc/sys/arm/crt0.S: Use .text, not .section .text.
13862 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
13863
13864 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
13865 (nlink_t): Change type from unsigned int to unsigned short.
13866 (mode_t): Ensure size is 32 bits even if int is 16.
13867 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
13868 (st_spare[123]): Change type from int to long.
13869
13870Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13871
13872 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
13873 byte boundary.
13874
13875 * configure.in (d10v*): Define SMALL_MEMORY.
13876
13877Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13878
13879 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
13880 -mrelocatable-lib and -mno-eabi flags.
13881
13882Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
13883
13884 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
13885 Fix handling of mis-aligned source operand when both the
13886 destination & length are properly aligned.
17c0c97d 13887
8a0efa53
CF
13888Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
13889
13890 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
13891 times.o, time.o and gettime.o
13892 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
13893 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
13894 SYS_gettimeofday.
13895
13896Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
13897
13898 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
13899 * libc/sys/sysnecv850/access.c: New file.
13900
13901Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
13902
13903 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
13904
13905 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
13906 long.
13907
13908Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
13909
13910 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
13911
13912Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
13913
13914 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
13915 * libc/include/sys/config.h: Add m32r support.
13916
13917Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
13918
13919 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
13920 here.
13921
13922Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
13923
13924 * libc/include/machine/setjmp.h: Add D10v support.
13925
13926Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
13927
13928 * configure.in: Configure the "libc/syscalls" directory for
13929 the v850.
13930
13931 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
13932 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
13933 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
13934 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
13935 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
13936
13937Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
13938
13939 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
13940 stack for args for main and other routines. Zero out args for
13941 main.
13942
13943 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
13944 correctly.
13945
13946Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13947
13948 * libc/stdio/findfp.c (std): Remove extraneous ';' after
13949 function.
13950
13951 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
13952
13953 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
13954 real system calls now.
13955
13956 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
13957 before casting them to int.
13958 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
13959
13960 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
13961 aligning pointer.
13962 * libc/string/memset.c (memset): Ditto.
17c0c97d 13963
8a0efa53
CF
13964 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
13965 first convert ints to _POINTER_INT to eliminate GCC warning.
13966
13967 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
13968 processing %p.
13969
13970 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
13971 from 65000 if ints are only 16 bits.
13972
13973 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
13974 from 50000 if ints are only 16 bits.
13975
13976 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
13977 int type that is the same size as a pointer.
13978
13979 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
13980 processing %p.
13981 (get_number): Explicitly cast number to long before shifting by 16
13982 or 24, in case ints are short.
13983
13984 * libc/include/sys/config.h (_POINTER_INT): Define as short.
13985
13986Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
13987
13988 * libc/string.h: Added ffs, removed swab.
13989 * libc/sys/errno.h: Added EOPNOTSUPP.
13990 * libc/sys/unistd.h: Added swab.
13991
13992Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
13993
13994 * libc/include/sys/stat.h: Added fchmod.
13995 * libc/include/sys/unistd.h: Added fsync.
13996
13997Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
13998
13999 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
14000 and ECONNRESET (104) for cygwin32.
14001
14002Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
14003
ba3ccd63
EB
14004 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
14005 do the static destructors.
17c0c97d 14006
8a0efa53
CF
14007Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
14008
14009 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
14010
14011Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
14012
14013 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
14014 * configure.in: Recognize m32r-*-*.
14015
14016Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
14017
14018 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
17c0c97d
EB
14019 __rt_stkovf_split_small): Added default software stack overflow
14020 handlers, which just call SWI_Exit.
8a0efa53 14021 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
17c0c97d 14022 limit initialisation.
8a0efa53
CF
14023
14024Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
14025
14026 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
14027
14028Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
14029
14030 * libc/include/sys/types.h: Added ssize_t definition.
17c0c97d 14031
8a0efa53
CF
14032Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14033
14034 * libc/machine/d10v/setjmp.S: Use ';' for comments.
14035 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
14036
14037 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
14038 branch around a single ldi instruction.
14039
14040 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
14041 Call exit, instead of just issuing a stop instruction.
14042
14043Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14044
14045 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
14046
14047Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14048
14049 * libc/stdlib/mprec.h: Explicitly declare all large constants as
14050 longs, and then cast them to __uint32_t.
14051
14052 * libc/include/sys/config.h: Protect against multiple inclusions.
14053
14054Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
14055
14056 * configure.in (d10v*): Set syscall_dir.
14057
14058Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
14059
14060 * libc/sys/d10v/crt0.S: Set stack pointer.
14061
14062Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
14063
14064 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
14065 in assembly for efficiency. Change calling convention to allow
14066 long ints to be returned.
14067
14068Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14069
14070 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
14071
14072Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
14073
14074 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
14075 Handle empty entries in $PATH.
14076
14077Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
14078
14079 * libc/machine/d10v/setjmp.S: Make it really work.
14080
14081Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
14082
14083 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
14084 the .stack section.
14085
14086Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
14087
14088 * sys/sysnecv850/sys/file.h: Remove.
14089 * sys/sysnecv850/sys/syscall.h: New file.
14090 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
14091 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
14092 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
14093 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
14094 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
14095 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
14096 * sys/sysnec850/trap.S: New file.
14097 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
14098 syscalls.
14099 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
14100 * sys/sysnec850/sbrk.c: New version.
14101
14102Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
14103
14104 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
14105 as long as r6 is less than r7.
14106
14107Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
14108
14109 * Makefile.in (mostlyclean): Separate from clean target. Don't
14110 remove *.a or targ-include.
14111 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
14112
14113Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14114
14115 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
14116 d10v.
14117 (__SMALL_BITFIELDS): Ditto.
14118
14119 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
14120
14121Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
14122
14123 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
14124 prefix.
14125
14126 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
14127 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
14128 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
14129 * libc/sys/sysnecv850/write.c (write): Likewise.
14130
14131 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
14132 .bss.
14133
14134Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14135
14136 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
14137 appropriately for D10V, depending on -mint16/-mint32.
14138
14139Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
14140
14141 * configure.in: Add cases for D10V.
14142
14143Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14144
14145 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
14146
14147Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
14148
14149 * libc/include/machine/ieeefp.h: Fix typo.
14150
14151Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
14152
14153 * libc/sys/d10v: New directory for D10V stuff.
14154 * libc/include/machine/ieeefp.h: Add D10V defines.
14155
14156Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
14157
14158 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
14159 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
14160 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
14161 * libc/string/strerror.c (strerror): Add them.
14162
14163Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
14164
14165 * libc/sys/sysnecv850: New directory for v850 stuff.
14166
14167 * libc/machine/v850: New directory for v850 stuff.
14168 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
14169
14170 * configure.in: Add support for the v850.
14171
14172 * libc/include/machine/ieeefp.h: Add v850 defines.
14173 * libc/include/machine/setjmp.h: Likewise.
14174 * libc/include/sys/config.h: Add v850 defines.
14175
14176Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
14177
14178 * libc/include/machine/ieeefp.h
14179 * libc/include/machine/setjmp.h
14180 * libc/include/sys/fcntl.h
14181 * libc/include/sys/signal.h
14182 * libc/include/sys/types.h
14183 * libc/stdlib/system.c:
14184 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
14185 API availability, __CYGWIN32__ for cygwin32 environment specific).
14186
14187Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
14188
ba3ccd63
EB
14189 * libc/include/stdlib.h: add multibyte character functions. Add
14190 __eprintf for assert.
8a0efa53
CF
14191
14192Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14193
14194 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
14195 arithmetic or __alignof__ to properly get the alignment, instead
14196 of hardwiring it to 4.
14197
14198Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
14199
14200 * libc/stdio/fseek.c: add fflush call to adjust seek offset
14201 on append stream (fix from NetBSD sources), adjust curoff offset
14202 for ungetc's benefit.
14203 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
14204 * libc/stdio/rewind.c: replace code with up to date NetBSD
14205 code to undo hacks made to work around above problem of not
14206 having fflush call mentioned above
14207
14208Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14209
14210 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
17c0c97d
EB
14211 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
14212 Partially revert last changes. The thread specific errno is set
14213 iff if the underlying syscall fails and the global errno is not
14214 zero.
8a0efa53
CF
14215
14216Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14217
14218 * libc/reent/filer.c: Removed files, all functions have split out
17c0c97d
EB
14219 into their own files.
14220 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
8a0efa53
CF
14221 New files containing functions formally in filer.c
14222 * libc/reent/Makefile.in: Updated for above change.
14223
14224 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
17c0c97d
EB
14225 syscall fails, not if errno is changed.
14226 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
8a0efa53
CF
14227 _write_r): Likewise.
14228 * libc/reent/fstatr.c (_fstat_r): Likewise.
14229 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
14230 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
14231 * libc/reent/signalr.c (_kill_r): Likewise.
14232 * libc/reent/statr.c (_stat_r): Likewise.
14233 * libc/reent/timer.c (_gettimeofday_r): Likewise.
14234
14235 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
17c0c97d 14236 signalr.c, statr.c, timer.c} (errno): declare extern rather
8a0efa53
CF
14237 than as a common.
14238
14239 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
17c0c97d
EB
14240 instead of calling vfprintf so that i*printf will not require
14241 floating point support code.
14242
8a0efa53
CF
14243Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
14244
14245 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
14246 path delimiter.
14247 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
14248 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
14249
14250Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
14251
14252 * libc/include/signal.h: _sig_func_ptr function takes an int
14253 * libc/include/sys/signal.h: sa_handler function takes an int
14254
14255Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
14256
14257 * libc/include/machine/ieeefp.h: Simplify H8/S support.
14258 * libc/include/sys/config.h: Add missing H8/S conditional.
14259
14260Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
14261
14262 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
14263
14264Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
14265
14266 * libc/include/machine/setjmp.h: Handle H8/S.
14267 * libc/include/machine/ieeefp.h: Likewise.
14268 * libc/include/sys/config.h: Likewise.
14269 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
14270 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
14271 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
14272 * libc/sys/h8300hms/crt0.S: Likewise.
14273
14274Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
14275
ba3ccd63 14276 * Makefile.in (datadir): Set to $(prefix)/share.
8a0efa53 14277 (oldincludedir, docdir): Removed.
ba3ccd63 14278 * doc/Makefile.in (datadir): Set to $(prefix)/share.
8a0efa53 14279 (oldincludedir, docdir): Removed.
ba3ccd63 14280 * libc/Makefile.in (datadir): Set to $(prefix)/share.
8a0efa53 14281 (oldincludedir, docdir): Removed.
ba3ccd63 14282 * libm/Makefile.in (datadir): Set to $(prefix)/share.
8a0efa53
CF
14283 (oldincludedir, docdir): Removed.
14284
14285Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
14286
14287 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
14288 _reent struct.
14289
14290Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
14291
14292 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
14293 fetch current path rules with sysconf and handler posix/win32
14294 appropriately.
14295
14296 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
14297
14298 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
14299 (WAIT_CHILD): Always define.
14300
14301Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
14302
14303 * libc/stdlib/eprintf.c: New file.
14304 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
14305 (eprintf.o): New target.
14306
14307Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
14308
14309 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
14310 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
14311
14312Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
14313
14314 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
14315 NT in PowerPC endianess cases.
14316
14317Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14318
14319 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
14320
14321Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14322
14323 * libc/string/strtok.c: Fix doc typo.
14324
14325Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14326
14327 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
17c0c97d 14328 _next, _scanpoint, _signgam fields.
8a0efa53
CF
14329
14330 * libc/include/stdlib.h (rand_r): Added new declaration.
14331 (_rand_r, _srand_r): Removed declarations.
14332 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
17c0c97d 14333 have been made obsolete by rand_r.
8a0efa53 14334 * libc/stdlib/rand_r.c: New file, rand_r function as specified
17c0c97d
EB
14335 by POSIX.1c.
14336
8a0efa53 14337 * libc/string/strtok.c: Update documentation to describe
17c0c97d 14338 strtok_r().
8a0efa53
CF
14339
14340Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
14341
14342 * libc/include/sys/stat.h (stat structure): Use the expanded stat
14343 structure on Solaris, and PowerPC systems even though __svr4__ is
14344 defined.
14345
14346Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
14347
14348 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
14349
14350Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
14351
14352 * host/any: Use ../.. rather than .. to get to the main build
17c0c97d
EB
14353 directory. This matches the current layout of the build
14354 directory.
8a0efa53
CF
14355
14356Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
14357
14358 * libc/machine/h8300/__main.S: Delete. No longer needed.
14359 * libc/machine/h8300/Makefile.in: Corresponding changes.
14360 * libc/sys/h8300hms/crt1.c: New file.
14361 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
14362 * libc/sys/h8300hms/crt0.s: Call __main.
14363
14364 * libc/sys/h8300hms/crt0.S: Use temporary label names
14365 for branch targets.
14366
14367Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
14368
14369 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
14370
14371Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14372
14373 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
14374 .sdata on the PowerPC so that we can link newlib with code
14375 compiled with -msdata.
14376
14377Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
14378
14379 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
14380
14381Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
14382
14383 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
14384 exception handler to __cygwin_exception_handler.
14385
14386Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
14387
14388 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
14389
14390Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
14391
14392 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
14393 SunOS VPATH.
14394 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
14395 wcstombs.o): Likewise.
14396
14397Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
14398
14399 * libc/stdlib/environ.c (initial_env): New static local.
14400 (environ): Point to `initial_env'.
14401
14402 * libc/include/machine/setjmp.h: Clean up.
14403 (__H8300H__,__PPC__): Define _JBTYPE.
14404 (__arm__): Provide entry for.
14405 (sigjmp_buf): Delete.
14406 (jmp_buf): Use _JBTYPE if defined, otherwise int.
14407
14408Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
14409
14410 * libc/machine/h8300/strcmp.S: Sign extend the result to
14411 32bits so we don't lose with -mint32.
14412
14413Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
14414
14415 * libc/sys/go32/sys/errno.h: New file.
14416 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
14417 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
14418 errno's address (make compatible with rest of newlib).
14419 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
14420 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
14421
14422Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
14423
14424 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
14425 * libc/machine/sparc/Makefile.in: Build them.
14426 * libc/machine/sparc/machine/sparclet.h: New file.
14427
14428Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14429
14430 * libc/machine/sh/asm.h: New file.
14431 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
17c0c97d 14432 support for SH3e's FP registers. Use asm.h.
8a0efa53
CF
14433
14434Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
14435
14436 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
14437 as first argument. Call _dtoa_r and pass the reent structure
14438 instead of calling __dtoa.
14439
14440Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
14441
14442 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
14443 the h8300, h8500, and others. Add comments for some rather
14444 dubious code.
14445
14446Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
14447
14448 * Makefile.in (check): Check that testsuite exists before cd.
14449
14450Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14451
14452 * libc/include/string.h (strsep): Correct prototype.
14453
14454Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
14455
14456 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
14457 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
14458 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
14459
14460Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
14461
14462 * libc/posix/{creat.c,isatty.c}: New files.
14463 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
14464
14465 * libc/sys/sparc64/crt0.S (environ): Delete.
14466 (.LHaveBias): Renamed from HaveBias.
14467
14468Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
14469
14470 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
14471 (_morecore_r): Delete SBRK_IS_ALLOC support.
14472
14473Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14474
14475 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
14476 module rather than touch, so we don't get warning messages when
14477 all of the libraries are combined into libc.a.
14478
14479Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
14480
14481 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
14482 crt0.s replaced by version in libgloss.
14483
14484Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14485
14486 * libc/reent/Makefile.in (OFILES): Add impure.o.
14487 * libc/reent/impure.o: New file, define initial reentrancy struct.
14488 * libc/reent/reent.c: Remove above definition.
14489
14490 * libm/math/sf_asinh.c: Fix typo.
14491
14492 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
17c0c97d
EB
14493 srf_ldexp.o.
14494
8a0efa53
CF
14495 * libm/libm.texinfo: Change documentation to reflect changes
14496 in reentrancy model.
14497 * libm/math/w_gamma.c: Likewise.
14498
14499Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
14500
14501 * configure.in (*-*-cygwin32): New.
14502 (*-*-win32): Deleted.
14503 * libc/sys/win32 renamed libc/sys/cygwin32.
14504
14505Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14506
14507 * libc/include/sys/file.h: New include file.
14508
14509Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
14510
14511 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
14512
14513Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
14514
14515 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
14516
14517Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14518
14519 * doc/makedoc.c (realloc): Declare at file scope.
14520 (catchar): Not here.
14521
14522Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
14523
14524 * Makefile.in (VERSION): Update to 1.7.0.
14525 * {libc,libm}/Makefile.in (VERSION): Likewise.
14526 * configure.in: Minor clean up of multilib stuff.
14527
14528 From David Johnson <davidj@ICSI.Berkeley.EDU>
14529 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
14530
14531 * libc/stdlib/environ.c: New file.
14532 * libc/stdlib/Makefile.in (OFILES): Build it.
14533 * libc/sys/h8500hms/crt0.c (environ): Deleted.
14534 * libc/sys/m88kbug/crt0.c (environ): Deleted.
14535 * libc/sys/z8ksim/crt0.c (environ): Deleted.
14536 * libc/sys/netware/environ.c: Deleted.
14537
14538Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
14539
14540 * configure.in (links): set sys_dir, posix_dir, syscall_dir
14541
14542Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
14543
14544 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
14545 declaration out to external scope and declare it PTR, not char *.
14546
14547Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
14548
14549 * libc/include/sys/unistd.h (getpagesize): New declaration.
14550 (_SC_PAGESIZE): New definition.
14551 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
14552 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
14553
14554Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
14555
14556 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
17c0c97d 14557 addressing. System call returns size, not (last address + 1).
8a0efa53
CF
14558
14559Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14560
14561 * libm/math/*.c: Removed _foo_r() reentrancy API.
14562 * libc/include/math.h: Removed _foo_r prototypes and macros.
14563
17c0c97d 14564 * libm/math/*.c: On systems with IEEE single precision "doubles"
8a0efa53 14565 move foo() -> foof() wrapper code from the files that implement
17c0c97d 14566 the standard IEEE double precision functions to the files that
8a0efa53
CF
14567 implement IEEE single precision functions. (ie. On those systems
14568 sin is moved from s_sin.c to sf_sin.c). There should eventually
14569 be use of a C extension (like gcc's alias attribute) so that the
14570 wrappers are not needed at all.
14571
14572 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
17c0c97d 14573 strict NEC V810 compiler.
8a0efa53 14574 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
17c0c97d 14575 for same reason.
8a0efa53
CF
14576
14577Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14578
14579 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
17c0c97d 14580 from NetBSD C library.
8a0efa53
CF
14581 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
14582
17c0c97d 14583 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
8a0efa53
CF
14584 and adapted from implementation I wrote for NetBSD C library.
14585 The difference is __assert doesn't take a format argument,
14586 so that there won't be multiple copies of the same string
14587 constant in the executable if assertions are enabled in
17c0c97d 14588 more than one source module.
8a0efa53
CF
14589 * libc/include/assert.h (assert): Changed to call __assert.
14590
14591Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14592
14593 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
14594 word1 on systems with 32 bit doubles.
14595 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
14596 so that we can do arithmetic on them.
14597 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
17c0c97d
EB
14598 compilers.
14599
8a0efa53
CF
14600Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
14601
14602 * libc/sys/arm/crt0.S: Zero bss.
14603
14604Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
14605
14606 * libc/include/unctrl.h: New file.
14607 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
14608 * configure.in (subdirs): Add libc/misc.
14609 * libc/Makefile.in (SUBDIRS): Add misc.
14610 (SUBLIBS): Add misc/lib.a.
14611
14612 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
14613
14614Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
14615
14616 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
14617 (_vfprintf_r): Call CHECK_INIT.
14618
14619Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
14620
14621 * Makefile.in (MULTITOP): Delete.
14622 (MULTISRCTOP, MULTIBUILDTOP): Add.
14623 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
14624 instead of cfg-ml-pos.in.
14625
14626Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
14627
14628 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
14629 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
17c0c97d 14630 presence.
8a0efa53
CF
14631
14632Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
14633
14634 * libc/string/strtok.c: Include string.h to pick up strtok_r
14635 prototype.
14636
14637Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14638
14639 * libc/string/strtok.c: include <_ansi.h>.
14640 * libc/time/asctime_r.c: `reresult' -> `result'.
14641
14642Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14643
14644 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
14645 in #ifndef _REENT_ONLY ... #endif conditional.
14646
14647 * libc/include/string.h (_strtok_r): Remove declaration.
14648 * libc/include/time.h (_asctime_r): Remove declaration.
14649 * libc/string/strtok.c (_strtok_r): Removed.
14650 * libc/time/asctime.c (_asctime_r): Removed.
14651
14652 * libc/string/Makefile.in (OFILES): Add new object.
14653 * libc/string/strtok_r.c: New file. strtok_r function as
17c0c97d 14654 specified by POSIX.1c, adapted from strtok implementation
8a0efa53 14655 from NetBSD C library.
17c0c97d 14656 * libc/string/strtok.c (strtok): Reimplemented in terms of
8a0efa53
CF
14657 strtok_r.
14658
14659 * libc/time/Makefile.in (OFILES): Add new objects.
14660 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
14661 New files, reentrant time functions specified by POSIX.1c.
14662 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
17c0c97d 14663 reentrant time functions re-written in terms of reentrant
8a0efa53
CF
14664 functions.
14665 * libc/time/lcltime.c: Renamed from localtime.c
14666
14667 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
14668 gmtime_r, and localtime_r.
14669
14670Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
14671
14672 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
14673 * libc/include/sys/unistd.h (getlogin): Revert change of
14674 Oct 19.
14675 * libc/include/sys/signal.h (sigprocmask): Change prototype
14676 so it compiles with c++.
14677
14678Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
14679
14680 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
14681 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
14682 to give some room in case we need to align the jmp_buf.
17c0c97d 14683
8a0efa53
CF
14684 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
14685 the new ppc-asm.h include file the compiler provides to specify
14686 function prologue/epilogue. Eliminate saves of the xer and ctr
14687 registers, which are volatile. Before starting to save registers,
14688 align to 8 byte boundary.
14689
14690Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
14691
14692 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
17c0c97d 14693 referenced by standard libraries.
8a0efa53
CF
14694
14695Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
17c0c97d 14696
8a0efa53
CF
14697 * libc/unix/Makefile.in, libc/string/Makefile.in,
14698 libc/stdio/Makefile.in, libc/reent/Makefile.in,
14699 libc/posix/Makefile.in:
14700 Remove tabs from otherwise empty line. Confuses some
14701 older non-GNU versions of "make".
14702
14703Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
14704
14705 * libc/sys/unistd.h (getlogin): Returns const char *.
14706
14707Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
14708
14709 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
14710 * libc/include/errno.h: Moved into and include...
14711 * libc/include/sys/errno.h: New file.
14712 * libc/include/sys/wait.h: New file.
14713 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
14714 * libc/sys/win32/*: Moved out.
14715 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
14716 * configure.in (i[345]86-*-win32): HAVE_RENAME
14717
14718Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
14719
14720 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
14721 avoid macro expansion for these two names.
14722
14723Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
14724
14725 * libc/machine/h8500/psi.S: r6 renamed to fp.
14726
14727Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
14728
14729 * configure.in (powerpc*): No longer need to define
14730 NO_LONGLONG_POINTERS to supress warnings.
14731
14732Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
14733
14734 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
14735 through PTR instead of directly.
14736
14737 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
14738 non-standard constructor support.
14739
14740Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14741
14742 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
17c0c97d
EB
14743 address of the Bigint instead of the address of its _x field,
14744 as the size the result buffer was calculated accordingly.
8a0efa53
CF
14745 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
14746
14747 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
17c0c97d 14748 from NetBSD C library. No longer special cases division by
8a0efa53
CF
14749 zero (which needs to be done by the application anyway), but
14750 it doesn't need to call abs() (or labs()) four times either.
17c0c97d
EB
14751
14752 * libc/stdlib/qsort.c: Replaced with implementation from
8a0efa53
CF
14753 NetBSD C library.
14754
14755Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14756
14757 * libc/stdio/vfprintf.c: Replaced with implementation from
ba3ccd63 14758 NetBSD C library (which is derived from the 4.4BSD C library).
8a0efa53
CF
14759 * libc/stdio/cvt.c: Removed.
14760 * libc/stdio/Makefile: Updated.
17c0c97d 14761
8a0efa53
CF
14762Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
14763
14764 * libc/sys/win32/syscalls.c (rename): New.
14765 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
14766
14767Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
14768
14769 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
14770 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
14771
14772 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
14773 (setjmp.o): Delete rule to build setjmp.o.
14774 * libc/sys/sh/setjmp.S: Delete file.
14775
14776Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14777
14778 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
14779 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
14780 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
17c0c97d 14781 pow5mult and s2b to identifiers with leading underscores.
8a0efa53
CF
14782 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
14783 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
14784
14785Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
14786
14787 * libc/sys/posix/popen.c (sys/types.h): Include.
14788
14789Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
14790
14791 * libc/sys/win32/syscalls.h (fhandler): New struct.
14792 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
14793 (__fhandler_normal): Declare.
14794 (hinfo): New member op_handlers.
14795 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
14796 (__write): Likewise.
14797 (_read, _write, _open, _close, _lseek): Validate fd here.
14798 Move file type specific stuff to foo_normal.
14799 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
14800 New functions.
14801 (__lookup_fhandler): New function.
14802 (__lookup_fhandler_hook, __fhandler_normal): New variables.
14803
14804 From anders.blomdell@control.lth.se (Anders Blomdell)
14805 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
14806 Don't touch standard handles.
14807 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
14808 (_execve): Only create __FD_TABLE__ if necessary.
14809 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
14810
14811Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
14812
14813 * libc/sys/win32/sys/termios.h (FLUSHO): New.
14814 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
14815 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
14816 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
14817 without a handler is received.
14818 * libc/sys/win32/Makefile.in: Remove --nodelete.
14819 * libc/sys/win32/resouce.c (gettimeofday): New.
14820 * libc/sys/win32/syscalls.c (path_to_real_path): New.
14821 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
14822
14823Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
14824
14825 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
14826 Don't append "/*" to search pattern if trailing '/' already there,
14827 append "*".
14828 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
14829 like /'s, convert them to \'s. Handle //<drive>/ path names.
14830 Add space for quoted \'s in arg string. Print translated prog name
14831 and original prog name.
14832 (_execve): Handle parent doing exec a teensy bit better.
14833 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
14834 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
14835 path needs conversion, handle both cases. Delete `const' from result.
14836 (hash_path_name): New function.
14837 (_open): Call it.
14838 (_stat): Likewise. Fill in more fields for directories.
14839 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
14840 (wait_for_any): Fix trace message.
14841 (waitpid): Explicitly test for intpid == 0.
14842
14843 From anders.blomdell@control.lth.se (Anders Blomdell)
14844 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
14845 so `next' is valid.
14846
14847Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
14848
14849 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
14850 complicated.
14851
14852Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14853
ba3ccd63
EB
14854 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
14855 at all, not just == 1.
14856 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
8a0efa53
CF
14857
14858Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14859
ba3ccd63
EB
14860 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
14861 * libc/sys/win32/include/wintypes.h: include <winnt.h>
14862 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
14863 file.
8a0efa53
CF
14864
14865Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
14866
14867 * libc/sys/syscalls.c (getcwd): Fix off by one error.
14868
14869 * libc/sys/signal.c (sleep): Fill it in.
14870 * libc/sys/termios.c (tcflush): Use PurgeComm
14871 (tcsetattr): Set some more of the bits.
14872 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
14873
14874Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
14875
14876 * libc/sys/arm/crt0.S (fp): Initialize to 0.
14877 Conditionally include .idata$3 stuff ifdef __pe__.
14878
14879Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
14880
14881 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
14882 * libc/sys/win32/pipe.c (pipe): Ditto.
14883 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
14884 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
14885 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
14886 (tcgetattr): Contents are new.
14887 * libc/sys/win32/include/winkernel.h (DCB): New.
14888 (GetCommState, SetCommState): New.
14889
14890Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
14891
14892 * libc/sys/arm/crt0.S (_start): Define.
14893
14894Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
14895
14896 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
14897 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
14898
14899 * libc/sys/win32/sysconf.c: New
14900 * libc/sys/win32/sys/winadvapi.h: New
14901 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
14902 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
14903 * libc/sys/win32/pipe.c (pipe): Ditto.
14904 * libc/sys/win32/signal.c (_raise): New.
14905 (_kill): Moved from spawn.c
14906 * libc/sys/win32/spawn.c (kill): Moved to signal.c
14907 * libc/sys/win32/syscalls.c (__read): Use new fields.
14908 (_open): Ditto.
14909 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
14910 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
14911 * libc/include/sys/unistd.h (rmdir): Takes const path.
14912 * libc/include/sys/stat.h (mkdir): Takes const path.
14913 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
14914
14915Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
14916
14917 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
14918
14919 Add support for specifying paths as //<drive>/foo/bar.
14920 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
14921 (__path_to_real_path): Declare.
14922 (PATH_TO_REAL_PATH): New macro.
14923 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
14924 (__path_needs_conversion_p, __path_to_real_path): New functions.
14925 (_open): Fix test for error return from CreateFileA.
14926 Handle new path syntax.
14927 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
14928 * libc/sys/win32/dirsearch.c (opendir): Likewise.
14929
14930Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
14931
14932 * libc/sys/win32/include/*.h: Reorganized
14933 * libc/sys/win32/include/WINREADME: New.
14934 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
14935 * libc/sys/win32/*.c: Fix for new include scheme.
14936 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
14937 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
14938 * libc/sys/win32/passwd.c (*): Fix.
14939 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
14940 (_stat): Get directory owner and permissions right.
14941 * libc/sys/win32/syscalls.h (uinfo): New.
14942 * libc/sys/win32/version.def: Remove leading underscores.
14943
14944Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14945
14946 * libc/sys/win32/key.c: include "include/wincon.h".
14947
14948Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
14949
14950 * libc/sys/win32/{key, stubs}.c: New.
14951 * libc/sys/win32/Makefile: Adjust to cope.
14952 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
14953 (environ_init): Change env names to upper case.
14954 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
14955 * libc/sys/win32/passwd.c (*): Fill in the functions.
14956 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
14957 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
14958 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
14959 (_open): Initialze hmap->execable_p too.
14960 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
14961 (_fstat): Fill in permissions.
14962 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
14963
14964Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
14965
14966 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
14967 if defined.
14968 (cfg-ml-pos.in invocation): Likewise.
14969
14970Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14971
14972 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
14973 s_isnan.o and sf_isnan.o.
14974
14975Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
14976
14977 * All Makefile.in files: added maintainer-clean target as a
14978 synonym for realclean.
14979
14980Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
14981
14982 * libc/include/machine/setjmp.h: Add hppa support.
14983 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
14984 support.
14985 * libc/machine/hppa/Makefile.in: Related changes.
14986
14987Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
14988
14989 * configure.in (machine_dir): Don't set for v810-*-*.
14990
14991Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14992
14993 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
14994 conventions correctly.
14995
14996Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
14997
14998 * libc/stdio/puts.c: Update documentation of return value to match
14999 ANSI standard.
15000
15001Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
15002
15003 Fix file descriptor inheritance.
15004 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
15005 (NOT_OPEN_FD): Fix.
15006 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
15007 close-on-exec flag not set. Initialize child's entire fd table.
15008 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
15009 CHILD_P.
15010 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
15011 if CHILD_P. Initialize entire hmap entry.
15012 (dup): Only create new handle as inheritable if CHILD_P.
15013 (dup2): Likewise. Properly initialize hmap entry.
15014
15015 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
15016 _spawn.
15017 (_exit): Use CHILD_P.
15018 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
15019 (_stat): Likewise.
15020
15021Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15022
15023 * libc/sys/win32/crt0.c (passover): fix up the state table.
15024 * libc/posix/popen.c: Added.
15025 * libc/posix/Makefile.in: compile popen.c.
17c0c97d 15026
8a0efa53
CF
15027Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
15028
15029 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
15030 h8/500 define _DOUBLE_IS_32BITS.
15031
15032Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
15033
15034 Get vfork/exec/spawn/cwait/wait working again.
15035 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
15036 (procinfo): New member vfork_level.
15037 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
15038 (vfork_init_first): Use GetCurrentProcessId to get pid.
15039 Initialize vfork_level.
15040 (vfork_init): Delete __PID__.
15041 (environ_init): New function. Undo patch of Aug 19, Posix says
15042 environment variables are case sensitive.
15043 (mainCRTStartup): Call it.
15044 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
15045 (my_longjump: Make static.
15046 (_spawn): New argument `h'. Delete setting of __PID__.
15047 Delete local `idx'. Look for chars that need quotes, rather than
15048 ones that don't. Set handle of created process in `h'.
15049 Result is process id if created task.
15050 (allocate_spawn_entry): New function.
15051 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
15052 (_execve): Set __FD_TABLE__ before spawning child.
15053 Scan our fd table when passing fds, not our parent's.
15054 Store handle and pid in procinfo entry.
15055 (vfork0): Ensure strace message always printed.
15056 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
15057 (vfork): Don't clobber result of vfork0.
15058 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
15059 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
15060
15061 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
15062 and `exit_code'.
15063 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
15064 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
17c0c97d 15065 adding vfork level to pseudo-pid.
8a0efa53
CF
15066 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
15067 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
15068 (_exit): If child, set exit code.
15069 (__vfork_record_death): Only close process handle if valid.
15070 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
15071 didn't exec.
15072 (wait_for_any): Likewise. Start scan after root entry.
15073
15074Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15075
15076 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
15077 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
15078 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
15079 of actual file length.
15080
15081 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
15082 * libc/include/paths.h: _PATH_BSHELL added.
15083 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
15084 and STDERR_FILENO.
15085
15086Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15087
15088 * libc/include/ar.h: Added.
15089 * libc/include/sys/types.h: ino_t goes back to 32-bits.
15090 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
15091 * libc/sys/win32/syscalls.c (_open): compute .namehash based
15092 on filename.
15093 (_fstat): use .namehash for inode number of the fd.
15094
15095Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
15096
15097 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
15098 Change hinfo to __this_procinfo.
15099 * libc/sys/win32/crt0.c: Remove procinfo_list.
15100
15101Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15102
15103 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
15104 win32 environment.
15105
15106Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15107
15108 * libc/sys/win32/include/grp.h: Removed.
15109 * libc/sys/include/grp.h: Added.
15110 * libc/sys/win32/grp.c: Include <grp.h>.
15111
15112Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
15113
15114 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
15115 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
15116 Defined for all but strict ANSI.
15117 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
15118 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
15119 * libc/signal/signal.c (_signal_r): Changed from using
17c0c97d 15120 _MAX_SIGNALS to NSIG.
8a0efa53
CF
15121 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
15122 __hmap): Deleted.
15123 (__strace, __vfork_next_pid): New.
15124 (__exe_suffix): Default to 1.
15125 (passover, table): Understand quoted arguments.
15126 (vfork_init_first): New.
15127 (vfork_init): Initialize new process structure.
15128 (mainCRTStartup): Pass environ to main.
15129 * exceptions.c (__sig_mask): New
15130 (ehandler3): Ignore signals in mask.
15131 (really_exit): Remove CHILD_P test.
15132 * pipe.c (pipe, dup, dup2): Use new process and file structure.
15133 * resource.c (getrusage): Ditto.
15134 * signal.c (sigprocmask): New.
15135 * spawn.c (*): Rewritten.
15136 * syscalls.c (*): Use new process and file structure.
15137 (find_unused_handle): New.
15138 * syscalls.h (MAX_HANDLES): Deleted.
15139 (hinfo): Removed child_created_p.
15140 (MAX_CHILDREN): Deleted.
15141 (vfork_jmp_info, procinfo): New.
15142 * wait.c (*): Mostly new.
15143 * sys/strace.h (_STRACE_PARANOID): New.
15144 * sys/param.h: New file.
15145
15146Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15147
ba3ccd63
EB
15148 * libc/include/sys/stat.h: add S_BLKSIZE.
15149 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
15150 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
15151 types under win32.
15152 (mode_t): add a #else to avoid multiple definitons.
8a0efa53 15153
ba3ccd63
EB
15154 * libc/sys/win32/Makefile.in: add grp.c.
15155 * libc/sys/win32/grp.c: include grp.h correctly.
15156 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
15157 of the st structure with real information.
15158 * libc/sys/win32 (dirent): d_ino is of type ino_t.
8a0efa53
CF
15159
15160Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
15161
15162 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
15163 and (maybe) sparc64.
15164 (nlink_t): Provide typedef.
15165
15166Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15167
15168 * libc/sys/win32/grp.c: New file.
15169 * libc/sys/win32/include/grp.h: New file.
15170
15171Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15172
15173 * libc/include/machine/ieeefp.h: Added whitespace to make this
15174 file easier to maintain.
15175 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
15176 depending on the value of __LITTLE_ENDIAN__.
15177 On the sh3e, define _DOUBLE_IS_32BITS.
17c0c97d 15178
8a0efa53
CF
15179Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
15180
15181 * libc/sys/vr4300/syscalls.c: Added missing support
17c0c97d 15182 routines. _raise() and getpid().
8a0efa53
CF
15183
15184Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
15185
15186 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
15187
15188Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
15189
15190 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
ba3ccd63 15191 and VR4300 processor.
8a0efa53
CF
15192 * libc/sys/vr4300: Add directory.
15193 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
17c0c97d 15194 monitor run-time support.
8a0efa53
CF
15195
15196Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15197
15198 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
15199 * libc/stdlib/stdlib.tex: Don't include atol.def.
15200
15201Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15202
15203 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
15204
15205Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
15206
15207 * libc/ctype/Makefile.in: Fill in _to* dependencies.
15208
15209Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
15210
15211 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
15212 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
15213 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
15214 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
15215 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
15216
15217Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15218
15219 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
15220
15221Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15222
15223 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
15224 * libc/stdlib/atoff.c: New file.
15225 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
15226 * libc/stdlib/atoi.c (atol): Removed.
15227 * libc/stdlib/atol.c: Removed duplicate documentation.
15228
15229 * libc/include/ctype.h (_tolower, _toupper): Moved inside
15230 #ifndef _STRICT_ANSI conditional.
15231 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
15232 * libc/ctype/_tolower.c: New file.
15233 * libc/ctype/_toupper.c: New file.
15234 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
15235 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
15236 * libc/ctype/toascii.c (_toascii): Removed.
15237
15238Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
15239
15240 * libc/sys/sparc64/sys/types.h: Deleted.
15241
15242Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15243
15244 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
15245 and recognize Windows_95 systems.
15246
15247Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15248
15249 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
15250 and passed fds should be opened in text mode.
15251
15252Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15253
15254 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
15255 in __hmap, set to binary mode by default.
15256
15257Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15258
15259 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
15260 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
15261 vector 34.
15262
15263Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
15264
15265 * Makefile.in (install): Install all libraries found in the
15266 top level. If there's a sys/<type>/include directory,
15267 install those headers into include.
15268
15269 * libc/sys/win32/kernel.def351: Delete
15270 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
15271 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
15272 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
15273 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
15274 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
15275 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
15276 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
15277 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
15278
15279 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
15280 * libc/sys/win32/crt0.c: Force all env names to upper case.
15281 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
15282 * libc/sys/win32/*.c: Headers have moved.
15283 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
15284 __vfork_child_idx is now __vfork_child_ptr.
15285
15286 * posix/execvp (execvp): Don't crash if no PATH envname.
15287
15288Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15289
15290 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
15291 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
15292 through the _freelist instead of through the _reclaim list.
15293 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
15294 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
15295 sources.
15296
15297Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15298
15299 * libc/machine/h8500/setjmp.S: New file.
15300 * libc/include/machine/setjmp.h: Updated for H8/500.
15301
15302Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
15303
15304 * libc/sys/win32/syscalls.c (_open): More stracing.
15305 (_stat): Open the file in O_BINARY.
15306
15307Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15308
15309 * libc/machine/h8300/setjmp.S: New file.
15310 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
15311
15312Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
15313
15314 * libc/sys/win32/crt0.c (__exe_suffix): New global.
15315 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
15316 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
15317 __exe_suffix. Free fd_tab after setting env variable.
15318 (spawnv,_execve): Update.
15319 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
15320 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
15321 (__small_vfprintf): New function.
15322 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
15323 * libc/sys/win32/wait.c (cwait): Validate argument.
15324
15325 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
15326 (process_deletion_queue): Likewise.
15327
15328 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
15329
15330Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
15331
15332 * libc/sys/win32: Copyrights and gratuitous indenting.
15333
15334Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
15335
15336 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
15337 (process_deletion_queue): Likewise.
15338 (__close_all_files): New function.
15339 (_close): Only queue file deletion if really a file.
15340 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
15341 _P_APPEND_EXE.
15342 (_exit): Call __close_all_files.
15343
15344 * libc/stdlib/system.c: #include <errno.h>.
15345 (_system_r): Fix results in -DNO_EXEC case.
15346
15347 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
15348 Reorganize structure.
15349 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
15350 if argument is valid. Save directory name in DIR. malloc space
15351 for dirent struct separately.
15352 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
15353
15354 * libc/include/errno.h (ENAMETOOLONG): Define.
15355 * libc/string/strerror.c (strerror): Reword ENFILE.
15356 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
15357
15358Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
15359
15360 * libc/sys/win32/crt0.c (__progname): New global.
15361 (mainCRTStartup): Support strace=bitmask,filename.
15362 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
15363 * libc/sys/win32/syscalls.c (_write): Print parent trace message
15364 if error.
15365 (getcwd): Handle len too small. Convert '\\' to '/'.
15366 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
15367 Add prototypes for open, creat, fcntl.
15368 (O_APPEND): Change value to conform to Microsoft's value.
15369 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
15370
15371 * libc/stdlib/getopt.c: New file.
15372 * libc/stdlib/Makefile.in: Build it.
15373
15374Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
15375
15376 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
15377 Fix scanning of $PATH.
15378 * libc/posix/exec*.c: Call _execve, not execve.
15379 * libc/posix/execve.c: New file.
15380 * libc/posix/Makefile.in (OFILES): Add execve.o.
15381
15382 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
15383 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
15384 (_STRACE): If level==0, always print. Handle new bit mask scheme.
15385 * libc/sys/win32/crt0.c: Update _STRACE calls.
15386 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
15387
15388 * libc/sys/win32/smallprint.c (rn): Fix digit list.
15389
15390 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
15391 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
15392 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
15393 Print __seterrno trace message first.
15394 (_execve): Renamed from execve.
15395 (vfork): Update __strace usage.
15396 (__vfork_child_pid): Deleted.
15397 (__vfork_children, __vfork_child_idx): New globals.
15398 (_spawnvp): New function.
15399 (spawnvp, spawnv, _execve): Call _spawnvp.
15400 (init_child): Record child in __vfork_children.
15401 (__vfork_get_entry, __vfork_record_death): New functions.
15402 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
15403 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
15404 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
15405 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
15406 (children): New typedef.
15407 (__vfork_children,__vfork_child_idx): Declare.
15408 (__vfork_get_entry,__vfork_record_death): Declare.
15409 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
15410 (waitpid): Handle pid == -1.
15411 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
15412 * configure.in (i386-win32): Add -DNO_FORK.
15413 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
15414 * libc/reent/execr.c (_fork_r): Likewise.
15415 * libc/stdlib/system.c (do_system): New function.
15416 If WIN32, try to get shell path from $SH_PATH, use vfork.
15417 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
15418 otherwise return 0.
15419
15420Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
15421
15422 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
15423 * libc/sys/win32/fcntl.h: Don't include self.
15424 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
15425 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
15426 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
15427 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
15428 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
15429 Correct prototypes.
15430 * libc/sys/win32/strace.c: New file.
15431 * libc/sys/win32/smallprint.c: New file.
15432 * libc/sys/win32/crt0.c (func): Delete.
15433 (mainCRTStartup): Fix alloca usage. Set handles explictly.
15434 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
15435 * libc/sys/win32/exceptions.c: Lint.
15436 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
15437 Clean up handle usage.
15438 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
15439 (open.c): Default file type is text.
15440 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
17c0c97d 15441 * libc/sys/win32/advapi32.def: New
8a0efa53
CF
15442
15443Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
15444
15445 * configure.in (posix_dir, libc_posix_lib): New variables.
15446 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
15447 (i[345]86-*-win32): Define posix_dir.
15448 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
15449 (if unix_dir): Fix typo.
15450 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
15451 scandir,seekdir,telldir}: New files.
15452 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
15453 from libc/unix.
15454 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
15455 (SUBDIRS): Add posix.
15456 (SUBLIBS): Add $(LIBC_POSIX_LIB).
15457
15458 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
15459 (NSIG): Increase to 21.
15460 * libc/include/sys/unistd.h (pid_t): Move from here,
15461 * libc/include/sys/types.h (pid_t): to here.
15462
15463 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
15464 (__ptrace): Delete.
15465 (hinfo): New members close_exec_p, child_created_p.
15466 (struct exception_list): Define.
15467 (__hmap): Redefine as pointer to table.
15468 (__parent_hmap, __child_hmap): New globals.
15469 (__set_errno, __really_exit): Declare.
15470 (__vfork_child_pid): Declare.
15471 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
15472 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
15473 (__parent_hmap, __child_hmap): New globals.
15474 (__hmap): Redefine as pointer to active map.
15475 (__get_console): New function.
15476 (mainCRTStartup): Change leading '=' in environ vars to '!'.
15477 (env __FD_TABLE__): Watch for this and initialize our fd/handle
15478 mapping table from it if defined.
15479 (argv, envp): Dump if __strace >= 4.
15480 (main): Call here.
15481 * libc/sys/win32/exceptions.c (myp): Redefine.
15482 (__syscalls_b): Delete.
15483 (__stack_trace): New function.
15484 (ehandler3): Update to use _STRACE. Print stack trace.
15485 Call __really_exit instead of exit.
15486 (init_exceptions): Delete args argc,argv. New arg mine.
15487 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
15488 FindFirstFileA, FindNextFileA, GetComputerNameA,
15489 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
15490 * libc/sys/win32/signal.c (signal): Validate arg.
15491 (alarm, sleep): Define as stubs for now.
15492 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
15493 (__syscalls_b, errno): Delete.
15494 (__vfork_child_pid, __vfork_jmp_buf): New globals.
15495 (__seterrno): Handle more errors.
15496 (__sys_printf): Renamed from _ptrace.
15497 (__really_exit): New function.
15498 (queue_file_deletion, process_deletion_queue): New functions.
15499 (__resume_parent): New function.
15500 (_unlink): Handle trying to delete open file.
15501 (__totime_t): Renamed from totime_t.
15502 (setsid, __read, __write): New functions.
15503 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
15504 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
15505 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
15506 * libc/sys/win32/console.c: Update to new definition of __hmap.
15507 * libc/sys/win32/Makefile.in: Build new files.
15508 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
15509 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
15510 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
15511 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
15512
15513Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
15514
15515 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
15516
15517Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15518
15519 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
15520 have been made to the master dtoa.c sources (from netlib.att.com)
15521 since they were integrated into newlib in early 1992. Fixes
15522 problems with storage leaks and handling of numbers with very
15523 negative exponents.
17c0c97d 15524
8a0efa53
CF
15525Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15526
15527 * Makefile.in (all): set rootpre and srcrootpre before calling
15528 sub-makes.
15529
15530Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
15531
15532 * libc/sys/win32/crt0.c: Change __hmap usage.
15533 * libc/sys/win32/exceptions.c: Use _ptrace call.
15534 * libc/sys/win32/syscalls.c: Use _ptrace call.
15535 (read, write): Cope with DOS style CRLF when in TEXT mode.
15536 * libc/sys/win32/syscalls.h: Declare hinfo struct.
15537 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
15538 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
15539 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
15540 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
15541
15542Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15543
15544 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
15545
15546 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
15547 wrappers for hypot() and remainder() for BSD libm compatibility.
15548 These are public domain implementations written by me for the
15549 NetBSD libm some time ago. Note cabs() is required by ucbtest.
15550 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
15551 (fobj): Added wf_cabs.o and wf_drem.o.
15552
15553Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15554
15555 * libc/sys/h8500hms/misc.c: New file.
15556 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
15557
15558Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15559
15560 * libc/time/localtime.c (localtime): Fix problem with leap year
15561 handling. Stole algorithm from Arthur David Olson's tz code.
17c0c97d 15562
8a0efa53
CF
15563Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
15564
15565 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
15566
15567 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
15568 (_exit): Use argument.
15569
15570Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
15571
15572 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
15573
15574Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
15575
15576 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
15577
15578Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15579
15580 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
15581 target_cflags.
15582
15583Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
15584
15585 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
15586 ptrace with case insensitivity
15587 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
17c0c97d 15588 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
8a0efa53
CF
15589 New files.
15590
15591Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
15592
15593 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
15594 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
15595 (all, install, *clean): Use new multilib support.
15596 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
15597
15598Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
15599
15600 * libc/include/sys/signal.h (__WIN32__): New.
15601
15602 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
15603
15604 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
15605 (ulp, b2d): Handle 32 bit doubles.
15606 * libc/stdlib/mprec.h: Handle 32 bit doubles.
15607 * libc/stdlib/strtod.c (_strtod_r): Ditto.
15608
15609Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
15610
15611 from medp@primag.co.uk:
15612 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
15613 dynamically allocated buffers.
15614
15615Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
15616
15617 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
15618 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
15619
15620Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15621
15622 * configure.in (powerpc): Fix previous fix.
15623
15624Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15625
15626 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
15627 directories for this target.
15628
15629Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
15630
15631 * configure.in (hppa): Add machine_dir definition.
15632 * libc/machine/hppa: New directory with PA specific implementations
15633 of the basic memory/string functions.
15634
15635Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15636
15637 * configure.in: Update current PowerPC multilib directories.
15638 Split big and little endian configurations.
15639
15640Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
15641
15642 * configure.in: Add --enable-single-float option to configure to
15643 control use of MIPS single-float directories. Default to yes.
15644
15645 * Makefile.in (all): Don't recurse into multilib directory if it
15646 does not exist.
15647
15648Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15649
15650 * libc/sys/sh/syscalls.c: Fix typo.
15651
15652Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
15653
15654 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
15655 Pass down DLLTOOL.
15656 * libc/include/process.h: Define WAIT_CHILD.
15657 * libc/include/types.h: Get sizes right for win32.
15658 * configure.in (i386-*-pe): Becomes i386-win32.
15659 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
15660 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
15661 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
15662 is defined.
15663
15664Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
15665
15666 * configure.in (i[345]86-*-pe): New target (NT).
15667 * host/any: DLLTOOL new.
15668 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
15669 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
15670 WIN32 (just enough to cross host the comp-tools).
15671
15672Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
15673
15674 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
15675 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
15676
15677Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
15678
15679 * libc/include/machine/ieeefp.h (arm): Change to always be
15680 __IEEE_BIG_ENDIAN (even on little endian ARM's).
15681
15682Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
15683
15684 * libc/sys/crt0.S: Initialze sp, and call exit after main.
15685 * libc/sys/syscalls.c (abort): New.
15686 * configure.in (arm): Define ABORT_PROVIDED.
15687
15688Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15689
15690 * configure.in (powerpc): Define multidirs.
15691
15692Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
15693
15694 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
15695
15696Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
15697
15698 * configure.in (sparclite): Delete target_cflags. Define multidirs.
15699
15700Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
15701
15702 * configure.in, libc/include/machine/ieeefp.h: Modified
15703 for arm:
15704 libc/machine/arm/*, libc/sys/arm/*: New
15705
15706Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15707
15708 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
15709 __powerpc__ when determining endianness.
15710
15711Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15712
15713 * configure.in (m68*): Add multidir for the m68332.
15714
15715 * host/any (CC): Fix typo in last change.
15716
15717Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
15718
15719 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
15720 when determining endianness.
15721 * libc/include/machine/ieeefp.h: Ditto.
15722 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
15723 operands.
15724
15725Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
15726
15727 * libc/include/errno.h (ENOTEMPTY): Define.
15728
15729Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15730
15731 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
15732 target_cflags.
15733
15734 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
15735 and umultiply.o.
15736
15737 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
15738 instead of only when open succeeds. ANSI requires that multiple
15739 calls to tmpnam() result in different files.
15740
15741 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
15742 objects pulled in from /lib/libc.a that must be renamed before
15743 being pulled into newlib. /lib/libc.a's div.o conflicted with
15744 newlib's file with the same name.
15745
15746 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
15747
15748 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
15749 the build tree will only be used if the executables are present
15750 (instead of just the Makefiles).
15751
15752 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
15753 wcstombs): Define.
15754 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
15755 versions of these functions that I orignally wrote for the
15756 NetBSD C library.
15757 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
15758 versions I wrote for NetBSD.
15759
15760Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
15761
15762 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
15763 * libc/sys/sparclite/crt0.s: ditto.
15764
15765Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
15766
15767 * configure.in: Add soft-float for proelf.
15768
15769Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
15770
15771 * libc/stdlib/mprec.h (Bcopy): Copy the right number
15772 of bytes.
15773
15774Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
15775
15776 * Makefile.in (all): Depend on `force'.
15777 * configure.in (syscall_dir): Renamed from fake_sys_dir.
15778 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
15779 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
15780 * libc/Makefile.in: Likewise.
15781 * libc/include/reent.h: Update syscall references.
15782 (_fcntl_r): Add prototype.
15783 * libc/syscalls/*.c #include <reent.h>.
15784 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
15785
15786Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
15787
15788 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
15789 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
15790 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
15791 (time.h, sys/types.h): Always include (even if MSDOS).
15792 (stat): Fix prototype.
15793
15794Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
15795
15796 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
15797
15798Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15799
15800 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
15801
15802Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
15803
15804 * libc/include/regdef.h: New file.
15805 * libc/machine/mips/machine/regdef.h: New file.
15806
15807Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
15808
15809 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
15810
15811Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
15812
15813 * libc/sys/sh/crt0.S: Pass main's return to exit.
15814 * libc/sys/sh/trap.S: Put errno in the right place.
15815
15816Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
15817
15818 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
15819 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
15820 * libm/math/ef_rem_pio2.c: Likewise.
15821 * libm/math/e_log10.c: Remove unused static one.
15822 * libm/math/ef_log10.c: Likewise.
15823 * libm/math/s_frexp.c: Likewise.
15824 * libm/math/sf_frexp.c: Likewise.
15825
15826Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
15827
15828 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
15829 longjmp.S: Upgraded.
15830 * libc/sys/go32/sys/setjmp.h: Upgraded.
15831 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
15832
15833Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
15834
15835 * configure.in: Add many entries to multidirs for mips targets.
15836
15837Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15838
15839 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
15840 5.2 which fixes bug where jn(-1,x) is three times larger than
15841 the actual answer.
15842 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
15843
15844Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
15845
15846 * libc/sys/w65/sys/syscalls.h: New file
15847 * libc/include/machine/ieeefp.h: W65 support.
15848 * libc/include/sys/config.h: Ditto.
15849 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
15850 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
15851 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
15852
15853Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
15854
15855 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
15856
15857Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
15858
15859 * Makefile.in, configure.in: Remove any references to the old
15860 "stub" dir.
15861
15862Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
15863
15864 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
15865 uses ... in prototype.
15866
15867
15868Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
15869
15870 * libc/sys/a29khif/sys/libconfig.h: Remove.
15871 * libc/sys/go32/sys/libconfig.h: Remove.
15872 * libc/sys/sun4/sys/libconfig.h: Remove.
15873 * libc/sys/sysvi386/sys/libconfig.h: Remove.
15874 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
15875 * libc/sys/sparc64/sys/libconfig.h: Remove.
15876
15877 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
15878 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
15879 * libc/include/math.h: Change all uses of _FLOAT_RET and
15880 _FLOAT_ARG to float.
15881 * libm/test/math.c: Likewise.
15882 * testsuite/libm.sac/math.c: Likewise.
15883 * testsuite/libm.sac/working/math.c: Likewise.
15884
15885Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
15886
15887 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
15888 gcc calls gas with endian option.
15889 * configure.in (sh): Build little endian version too.
15890
15891Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
15892
15893 * configure.in: Configure big and little endian versions for MIPS
15894 targets.
15895
15896Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
15897
15898 * libc/include/limits.h: Deleted.
15899 * libc/include/machine/limits.h: Deleted.
15900
15901Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
15902
15903 * ChangeLog: Remove stub directory. This has all been rewritten
15904 and moved to devo/libgloss.
15905
15906Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
15907
15908 * Makefile.in (dvi): Add to info target, use $@ in sub make.
15909 (docs): Merge into info target.
15910 * libm/Makefile.in (dvi): Add $(srcdir).
15911 * libm/math/Makefile.in (chobjs): Remove underscores from file
15912 names. Texinfo doesn't like them.
15913 (wacos.def, ...): Add explicit targets for all .def files.
15914 * libm/math/math.tex: Remove underscores from @include file names.
15915 * doc/Makefile.in (dvi): Add dummy target.
15916 * testsuite/Makefile.in (dvi): Add dummy target.
15917
15918Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
15919
15920 * Makefile.in (VERSION): Define. For net newlib releases.
15921
15922Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
15923
15924 * README: New file.
15925
15926Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
15927
15928 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
15929
15930Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15931
15932 * libc/stdlib/setenv.c (_findenv): Declare.
15933
15934 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
15935 fcntl to not use _EXFUN, and change string parameters to open and
15936 creat to be ``const char *''.
15937 * libc/sys/sparc64/sys/fcntl.h: Likewise.
15938 * libc/sys/sparc64/creat.c (creat): Make PATH const.
15939 * libc/syscalls/sysopen.c: Include <fcntl.h>.
15940 (open) Make _FILE const.
15941 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
15942 (_creat): Make PATH const.
15943 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
15944 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
15945 * libc/sys/m88kbug/syscalls.c (open): Likewise.
15946 * libc/sys/sh/syscalls.c (_open): Likewise.
15947 * stub/shared/glue.c (open): Make BUF const.
15948 * stub/ex93x/syscalls.c (open): Make FILENAME const.
15949
15950Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
15951
15952 * libc/include/errno.h: Add ENMFILE
15953 * libc/include/sys/config.h: Support Z8000.
15954 * libc/include/sys/signal.h: New signals for go32.
15955 * libc/machine/h8500/psi.S (__addpsir0r0): New function
15956 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
15957 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
15958 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
15959 size is variable, depending upon CHUNK_POWER.
15960 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
15961
15962Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
15963
15964 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
15965
15966Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15967
15968 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
15969
15970Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15971
15972 * configure.in: Change i[34]86 to i[345]86.
15973
15974 * libc/include/math.h: Don't define HUGE_VAL if it is already
15975 defined.
15976
15977Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15978
15979 * testsuite/libm.sac/test_erfc.c: Correct some result values.
15980 * testsuite/libm.sac/test_gammaf.c: Likewise.
15981 * testsuite/libm.sac/test_sin.c: Likewise.
15982 * testsuite/libm.sac/test_tanh.c: Likewise.
15983
15984Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15985
15986 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
15987 already set. Define typedefs __int32_t and __uint32_t.
15988 * libc/include/math.h: Include <machine/ieeefp.h>.
15989 (union __dmath): Use __uint32_t.
15990 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
15991 instead of int and unsigned int.
15992
15993Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15994
15995 Replace the math library with the SunPRO fdlibm package.
15996 * libm/math: Completely changed all files.
15997 * libm/ieeefp: Remove contents and directory.
15998 * libm/Makefile.in (LIBM_FP_LIB): Remove.
15999 (SUBDIRS): Just set to math/lib.a.
16000 * libm/libm.texinfo: Updated for new library.
16001 * libc/include/math.h: Extensive changes for new math library.
16002 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
16003 from _FLOAT_ARG to float.
16004 (maxpowtwo, maxpowtwof): Don't declare.
16005 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
16006 (libm_fp_lib): Removed.
16007 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
16008 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
16009 argument to ${RUNTEST}.
16010 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
16011 (.c.o): New rule.
16012 (RUNTESTFLAGS): Set CC and CFLAGS.
16013 (TESTS): Remove test_log2 and test_log2f.
16014 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
16015 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
16016 _FLOAT_ARG, for single precision argument type.
16017 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
16018 expected failure. Close the input pipe.
16019 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
16020 Correct misspelling of inaccurate.
16021 (test_mok): Use ``inaccurate'', not ``wrong''.
16022 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
16023 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
16024 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
16025 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
16026 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
16027 test_yn.c): Correct many result values. Many are still wrong.
16028
16029 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
16030 just copy the string.
16031 (_gcvt): Always return the buffer.
16032
16033Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16034
16035 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
16036
16037Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
16038
16039 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
16040 structure.
16041 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
16042 (_reclaim_reent): declare new entry point.
16043 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
16044 functions.
16045
16046 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
16047 ever allocated, so that we can later reclaim them all.
16048 (pow5mult): make reentrant.
16049
16050 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
16051 so that when given NULL as a buffer, return a pointer to static
16052 space in the rent structure. This is not documented behaviour;
16053 it's only to support ecvt and fcvt, which aren't ANSI anyway.
16054 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
16055 therefore become reentrant).
17c0c97d 16056
8a0efa53
CF
16057 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
16058
16059Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16060
16061 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
16062
16063Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16064
16065 * Makefile.in: Make link to libg.a after libc.a; this is needed
16066 for the testsuites to build executables when everything comes
16067 from the tree.
16068
16069Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
16070
16071 * libc/Makefile.in: Add a VERSION variable so we can keep track.
16072 * libm/Makefile.in: Add a VERSION variable so we can keep track.
16073
16074Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16075
16076 * libc/include/stdio.h: Use __VALIST, not va_list.
16077
16078Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
16079
16080 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
16081 testsuite/libm.sac/execute.exp:
16082 Replace error proc calls with perror calls.
16083
16084Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
16085
16086 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
16087 * libc/include/time.h: #define NULL as 0L.
16088
16089Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
16090
16091 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
16092 care of it.
16093
16094Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16095
16096 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
16097 not __unix__.
16098
16099Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
16100
16101 * configure.in (TARGET_CFLAGS): Set -O2 as default.
16102 (z8k-*-*): Use syscalls fake sys dir.
16103 * libc/sys/z8k/glue.c: Rename syscalls.
16104 * libc/sys/go32/Makefile.in: Use new routines.
16105 * libc/machine/Makefile.in: Fix typo in ln stuff.
16106
16107Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16108
16109 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
16110 * libc/Makefile.in (crt0.o): Likewise.
16111 * libc/machine/Makefile.in (lib.a): Likewise.
16112 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
16113
16114 All Makefile.in files: Added mostlyclean, realclean and distclean
16115 targets.
16116
16117 * Makefile.in: Don't bother to unexport XTRAFLAGS or
16118 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
16119 the top level Makefile.
16120
16121Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
16122
16123 * libc/sys/sparc64/sys/stat.h: New file.
16124 * libc/sys/sparc64/sys/time.h: New file.
16125 * libc/sys/sparc64/sys/types.h: New file.
16126
16127Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
16128
16129 * stub/ex93x/crt0.s (start): Add code to clear bss.
16130
16131Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
16132
16133 * libc/include/sys/types.h (time_t): Properly protect inside
16134 #ifndef __time_t_defined.
16135
16136 * libc/stdio/fileno.c: New file.
16137 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
16138 (fileno.o): Add dependency.
16139 * libc/include/stdio.h (__sgetc): Rename never to _never.
16140 (fileno macro): Disable, needs to do CHECK_INIT first.
16141
16142Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
16143
16144 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
ba3ccd63 16145 goal.
8a0efa53
CF
16146
16147 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
16148 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
16149 runtest.
16150 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
16151 runtest.
16152
16153Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
16154
16155 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
16156 of the various constants.
16157
16158Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
16159
16160 * libc/include/math.h: #ifndef __math_68881 around things which
16161 conflict with the (gcc-provided) inline functions in
16162 gcc/ginclude/math-68881.h.
16163
16164Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
16165
16166 * libc/include/_syslist.h (_gettimeofday): Define.
16167 (_times): Ditto.
16168 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
16169 (struct tms, timeval, timezone): Declare.
16170 (_gettimeofday_r, _times_r): Declare.
16171 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
16172 #ifdef _CLOCK_T_ surrounding definition of clock_t.
16173 (time_t): Add multiple definition protection, __time_t_defined.
16174 * libc/include/sys/time.h: Don't #include <time.h>.
16175 Always define struct timezone (remove #ifndef _TIME_H_).
16176 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
16177 #ifdef _CLOCK_T_ surrounding definition of clock_t.
16178 * libc/reent/Makefile.in (OFILES): Add timer.o.
16179 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
16180 * libc/reent/timer.c: New file.
16181 * libc/time/clock.c: #include <reent.h>.
16182 (clock): Call _times_r instead of times.
16183 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
16184 HAVE_GET_TIME_OF_DAY.
16185 Add comment regarding supporting OS routine(s) required (for docs).
16186 #include <reent.h>.
16187 (time): Call _gettimeofday_r instead of gettimeofday.
16188 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
16189 * libc/time/ctime.c: Ditto.
16190 * libc/time/strftime.c: Ditto.
16191 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
16192 (TEMPLATE_SFILES_R): Define here. Also define times.
16193 Add times_r.o/times.S dependence.
16194 (time2.c, junk.c): Deleted.
16195 * libc/sys/sparc64/time2.c: Deleted.
16196 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
16197
16198 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
16199 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
16200 * libc/sys/sparc64/junk.c: Deleted.
16201
16202Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
16203
16204 * libc/sys/sparc64/Makefile.in: Add times syscall.
16205 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
16206 be used with and without it. Add comment clarifying Medium/Anywhere
16207 model requirements.
16208 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
16209 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
16210 even if obsolete.
16211
16212Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
16213
16214 * configure.in (target_cflags): Move init.
16215 (sparc64-*-*): Define HAVE_BLKSIZE.
16216
16217Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
16218
16219 * libc/include/sys/_types.h: New file.
16220 * libc/include/reent.h: #include it.
16221 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
16222 MISSING_SYSCALL_NAMES.
16223 Sort syscalls.
16224 * libc/include/_syslist.h: Remove _raise.
16225 * libc/reent/signalr.c: New file.
16226 * libc/reent/Makefile.in: Compile it.
16227 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
16228 Add doc for raise and _raise_r.
16229 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
16230 (raise): Call _raise_r.
16231 (_raise_r): Call _getpid_r and _kill_r.
16232 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
16233 (abort): Loop forever calling raise and _exit.
16234
16235Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16236
16237 * configure.in: Remove extraneous echo.
16238
16239Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
16240
16241 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
16242 collision with unistd.h, and fix for svr4.
16243
16244Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
16245
16246 * libc/stdio/local.h (_llicvt): Declare.
16247 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
16248 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
16249 (_llicvt): Define.
16250 (_sicvt): Fix function header (`value' is short).
16251 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
16252 Add printing of long long's support.
16253 Add printing of 8 byte pointer support.
16254
16255Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
16256
16257 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
17c0c97d 16258 stat, chmod): New hooks.
8a0efa53
CF
16259 (sbrk): Abort if stack and heap collide.
16260 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
16261 shortcut when given small args.
16262 * libc/machine/sh/setjmp.s: Rewritten.
16263 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
16264 of cmp/str instruction.
16265
16266Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16267
16268 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
16269 and machine_dir powerpc.
16270 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
16271 Add cases for __powerpc__.
16272 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
16273 New files.
16274
16275 * libc/include/stdio.h (_iprintf_r): Declare correctly.
16276
16277Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
16278
16279 * libc/stdlib/callocr.c: New file with _calloc_r in it.
16280 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
16281
16282Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
16283
16284 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
16285 (print_e): More comments to describe args, etc.
16286 "type" arg may now be 'g' or 'G' for %g/G format --> remove
16287 trailing blanks.
16288 (_gcvt): Remove locals decpt, sign, end, p, done.
16289 More comments for print_e invocation.
16290 Pass "type" to print_e as is (g/G).
16291
16292Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
16293
16294 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
17c0c97d 16295 stock m68000.
8a0efa53
CF
16296
16297Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
16298
16299 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
16300 works with any sized pointer, including ones bigger than ints and
16301 longs.
16302
16303Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
16304
16305 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
16306
16307Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
16308
16309 * libc/include/stdlib.h (_calloc_r): Add prototype.
16310 * libc/machine/h8500/negsi2.c: New file.
16311 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
16312 large unsigned numbers.
16313 * libc/machine/h8500/cmpsi.c: Add cmppsi.
16314 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
16315 works when sizeof(size_t) != sizeof(char *).
16316 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
16317 get play area
16318 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
16319
16320Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
16321
16322 * libc/include/assert.h (assert): Handle -traditional.
16323
16324Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
16325
16326 * Makefile.in: added ; after every "fi" and "done" that wasn't at
16327 the end of a line (ie. anything before a backslash continuation)
16328 so that bash handles them.
16329
16330Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
16331
16332 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
ba3ccd63 16333 stat to lstat
8a0efa53
CF
16334
16335Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
16336
16337 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
16338 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
16339 libc/machine/sh/udivsi3.s: Use new calling convention.
16340
16341Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
16342
16343 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
16344 chmod, access, chdir, chown by making _path const. Also fix _amode
16345 param of access.
16346
16347Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
16348
16349 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
16350 _khif_tmpnam, because it doesn't comply with ANSI but may be
16351 useful anyway. Real tmpnam was already in libc/stdio, and was
17c0c97d 16352 colliding with this one (pr 2176.)
8a0efa53
CF
16353 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
16354 the wrong idea anyhow.
16355
16356Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
16357
16358 * configure.in: Remove h8300h, we have multilib now.
16359
16360Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
16361
16362 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
16363 functions, to get preference over the ones in libiberty (since we
16364 provide correct declarations in <string.h>.
16365 * libc/string/Makefile.in: add support for strncasecmp,
16366 strcasecmp.
16367
16368Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
16369
16370 * Change netware config not to look for cpu explicitly.
16371
16372Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
16373
16374 * libc/sys/sparc64/{creat.c,junk.c}: New files.
16375 * libc/sys/sparc64/Makefile.in: Add dependencies.
16376
16377Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
16378
16379 * configure.in: Clean up v9 a bit, new "os" aoutv8.
16380
16381Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
16382
16383 * libc/include/sys/reent.h: make structure smaller by allocating
16384 some stuff when needed.
16385 * libc/signal/signal.c: allocate as needed
16386 * libc/stdio/findfp.c,stdio/local.h: ditto
16387 * libc/stdlib/mprec.c: ditto
16388
16389 * libc/time/localtime.c: don't return a dangling stack ptr.
16390
16391Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
16392
16393 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
16394
16395Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16396
16397 * libc/include/stdio.h (__sputc): comment out static inline which
16398 confuses coff toolchains.
16399
16400Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
16401
16402 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
16403 _write.s, getpid.c, kill.c, read.s}:
16404 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
16405 through the syscalls directory.
16406
16407Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
16408
16409 * configure.in: fixed double quote gotcha.
16410
16411Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
16412
16413 * stub/ex931: stub library for sparclite board.
16414 * stub/idp: Renamed from mc68ec. Added contructor table
16415 stuff to linker script.
16416 * stub/mvme135: Renamed from m68kmvme. Added contructor table
16417 stuff to linker script.
16418
16419Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16420
16421 * configure.in: Configure testsuites only if they exist.
16422
16423Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16424
16425 * configure.in: Don't set machine_dir for i386 until there is
16426 something in libc/machine/i386 to compile. For i[34]86-*-netware*
16427 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
16428 CLOCK_PROVIDED and MALLOC_PROVIDED.
16429
16430 * libc/sys/netware: New directory. Contains simplistic and
16431 probably incorrect stubs for NetWare. Should be enough to load
16432 the library.
16433 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
16434 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
16435 stub files.
16436
16437 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
16438 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
16439 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
16440 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
16441
16442Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
16443
16444 * testsuite/Makefile.in: add "docs" dummy target for consistency
16445 with rest of newlib; turn "info" and "install-info" into dummy
16446 targets, since they wouldn't have worked. (Depended on
16447 nonexistent "doc" subdir.)
16448
16449Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
16450
16451 * configure.in: handle mips* instead of mips
16452
16453Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
16454
16455 * libc/include/sys/dirent.h: New file. If it is not overridden by
16456 a version of libc/sys/*/sys/dirent.h, it includes the next
16457 <dirent.h> file in case there is one lurking somewhere.
16458
16459Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16460
16461 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
16462 compliance, namely: Accept a minus sign. Consider a single 0 with
16463 a radix of 0 as being a conversion. Determine overflow correctly.
16464 If an overflow occurs, set *ptr to the end of the number, not the
16465 middle.
16466 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
16467
16468Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
16469
16470 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
16471
16472Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
16473
16474 * Makefile.in (INSTALL): Use $srcrootpre.
16475 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
16476 can't handle it.
16477 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
16478 it.
16479 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
16480 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
16481 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
16482 * libm/math/Makefile.in (matherr.o): Ditto.
16483
16484Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
16485
16486 * configure.in: Build multidirs for z8k.
16487 * libc/include/stdlib.h (_strtoul_r): add prototype.
16488 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
16489 * libc/include/machine/setjmp.h: Add for z8k.
16490 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
16491 * libc/sys/z8ksim/glue.c: tidy up.
16492
16493Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
16494
16495 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
16496 New files. Requires execve system call.
16497 * libc/unix/Makefile.in: Use them.
16498 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
16499 Deleted, moved to libc/unix.
16500 * libc/sys/sparc64/Makefile.in: Remove them.
16501
16502Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
16503
16504 * libc/sys/sparc64/{template.S template_r.S}: New files.
16505 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
16506 from templates.
16507 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
16508 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
16509 umask.S unlink.S wait4.S write.S}: Removed, now built from
16510 templates.
16511
16512Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
16513
16514 * libc/time/time.c: #include <_ansi.h>.
16515
16516Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
16517
16518 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
16519
16520Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16521
16522 * configure.in: match m8* rather than m88k so that m88110 is
16523 recognized as well.
16524
16525Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
16526
16527 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
16528 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
16529 misc.c: New file.
16530
16531 * configure.in: Add multilib support to h8300.
16532
16533Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
16534
16535 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
16536 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
16537 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
16538
16539Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16540
16541 * configure.in: Corrected multidirs for sparc target.
16542
16543Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16544
16545 Support for building newlib multiple times with different
16546 compilation flags.
16547 * configure.in: Only configure doc at top level. Set multidirs
16548 when appropriate for target, unless not at top level. If
16549 multidirs is set, independently configure each subdirectory.
16550 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
16551 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
16552 automagically set by configure.in.
16553 (all): If MULTIDIRS is set, build multiple copies of libraries.
16554 (install): If MULTIDIRS is set, install multiple copies of
16555 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
16556 MULTISUBDIR is set, don't bother to install header files.
16557 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
16558 ${srcrootpre}.
16559 * stub/configure.in: Set MULTISUBDIR appropriately.
16560 * stub/Makefile.in (install): Install in
16561 $(tooldir)/lib/$(MULTISUBDIR).
16562 * All Makefile.in files: Define SRCTOP as well as TOP.
16563
16564Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
16565
16566 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
16567 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
16568
16569Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
16570
16571 * libc/sys/h8300hms/exit.c (_exit): New function.
16572
16573Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16574
16575 * configure.in: recognize m88110.
16576
16577Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16578
16579 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
16580 prototype main and call with args.
16581
16582Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
16583
16584 First real try at system traps for m88k-bug.
16585 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
16586 to real trap calls.
16587 * libc/sys/m88kbug/sys/systraps.h: new file.
16588
16589Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16590
16591 Patches to fix info building when target does not use sys
16592 directory.
16593 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
16594 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
16595 libc/sys.tex.
16596 * libc/sys/Makefile.in (doc): do nothing.
16597
16598Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16599
16600 * libc/Makefile.in (CRT0): new macro.
16601 (all): depend on $(CRT0) rather than crt0.o.
16602
16603 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
16604 do not default crt0, instead, set crt0 and crt0_dir based on
16605 sys_dir and stub_dir.
16606
16607 * Makefile.in (CRT0_DIR): new macro.
16608 (all): depend on $(CRT0) rather than crt0.o which may not exist.
16609 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
16610 $(CRT0).
16611 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
16612
16613Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
16614
17c0c97d
EB
16615 * testsuite/lib/libm.exp:
16616 added code to support compiling and linking of tests for
16617 libm.sac (paranoia to be added next) and processing the
8a0efa53
CF
16618 pass or failure of the tests.
16619
16620 * testsuite/config/unix-libm.exp:
16621 platform specific proc's for dealing with compiler, linker
16622 and the way we execute and process the test results.
16623
16624 * testsuite/libm.sac/execute.exp:
17c0c97d 16625 generic framework for the sac tests. the config and lib
8a0efa53
CF
16626 expect code for specific platforms tie it all together.
16627
16628 * testsuite/libm.sac/test_is.c:
16629 changed the output of the test to be consistant with the
16630 other tests. parsing of pass nad fail messages is now fixed.
16631
16632Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
16633
16634 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
16635 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
16636 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
16637 #ifdef __cplusplus, surround by extern ""C { ... }.
16638 * libc/include/assert.h: Do *not* protect assert.h against
16639 multiple inclusion! Also, #undef it before #define, to allow
16640 redefinition.
16641 * libc/include/stdio.h (getlogin, cuserid): Removed. These
16642 should be only in unistd.h.
16643
16644 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
16645 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
16646 ... }.
16647
16648Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
16649
16650 * libc/machine/sparc/Makefile.in: Must create a library, even
16651 if empty.
16652
16653Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16654
16655 * configure.in: set machine_dir for m88k. edit crt0 definition
16656 into makefiles.
16657
16658 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
16659
16660 * libc/Makefile.in (all): also build crt0.o.
16661
16662 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
16663 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
16664 to remove CRT0.
16665
16666 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
16667 (all): reworked to build in place.
16668 (clean): remove lib.a
16669 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
16670
16671 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
16672 (_start): key off edata rather than _start_bss.
16673
16674Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
16675
16676 * libc/include/sys/unistd.h, libc/include/reent.h,
16677 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
16678
16679Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16680
16681 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
16682
16683 * Makefile.in (libc.a): break into two rules, one for libc.a and
16684 one for libc/libc.a. Force subdirs current before rebuilding
16685 library.
16686 (libm.a): break into two rules, one for libm.a and one for
16687 libm/libm.a. Force subdirs current before rebuilding library.
16688
16689 * libc/Makefile.in (SUBLIBS): fix typo.
16690
16691 * libc/sys/Makefile.in (all): force descent into subdirs, then
16692 rebuild library iff out of of date.
16693
16694Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16695
16696 Rework so that library is built and then finished rather than
16697 being built on each invocation of make.
16698
16699 * host/any (machine_dir, sys_dir, signal_dir): these are not
16700 shared and have been moved to their associated Makefile.in's.
16701 (AR_FLAGS): switch to qc which is faster.
16702 * configure.in: no longer assign machine_dir for m88k. set
16703 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
16704 stub_dir set, then add to configdirs. add comment about silly
16705 configuration.
16706 (configdirs): drop stub. It will be added only
16707 when needed.
16708 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
16709 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
16710 stub_lib, crt0): new variables for tailoring lower level
16711 makefiles. Assign accordingly and edit into makefiles.
16712 * libm/Makefile.in: updated copyright.
16713 (TARGETLIB): removed.
16714 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
16715 (SUBDIRS): removed TARGETDEP_DIRS.
16716 (LIBM_FP_LIB, SUBLIBS): new macros.
16717 (all): reworked.
16718 (force): new target to force rebuilds.
16719 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16720 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
16721 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
16722 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
16723 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
16724 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
16725 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
16726 stub/m68kmvme/Makefile.in: updated copyright.
16727 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
16728 (all): reworked. made this the default rule.
16729 (clean): also remove lib.a.
16730 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16731 * stub/Makefile.in: updated copyright.
16732 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
16733 (stub_lib): new macro.
16734 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
16735 RANLIB.
16736 (all): reworked.
16737 (clean, install): assume stub_dir exists.
16738 (Makefile): depend on configure.in. call $(SHELL) rather than
16739 sh. drop redundant ./
16740 * stub/configure.in (stublib): new macro, assign it, edit it into
16741 makefiles.
16742 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
16743 updated copyright.
16744 (all): reworked.
16745 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16746 * libc/Makefile.in (TARGETCRT0): removed.
16747 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
16748 TARGETCRT0.
16749 (SUBDIRS): drop TARGETDEP_DIRS.
16750 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
16751 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
16752 (force): new target to force rebuilds.
16753 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
16754 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
16755 removed.
16756 (clean): assume sys_dir always exists.
16757 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
16758 drop redundant ./
16759 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
16760 libc/locale/Makefile.in, libc/machine/Makefile.in,
16761 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
16762 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
16763 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
16764 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
16765 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
16766 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
16767 libc/signal/Makefile.in, libc/stdio/Makefile.in,
16768 libc/stdlib/Makefile.in, libc/string/Makefile.in,
16769 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
16770 libc/time/Makefile.in, libc/unix/Makefile.in,
16771 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
16772 (TARGETLIB): removed.
16773 (all): reworked.
16774 (clean): also remove lib.a.
16775 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16776 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
16777 new macros.
16778 (SUBDIRS): moved to follow frag inclusion, change stub to
16779 stub_dir.
16780 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
16781 are now set in the libc Makefile.
16782 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
16783 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
16784 TARGETCRT0.
16785 (force): new target to force rebuilds.
16786 * stub/configure.in: determine and set stub_lib for for Makefile.
16787
16788Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
16789
16790 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
16791 crt0.s renamed to crt0.S.
16792 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
16793
16794 * libc/machine/h8300/Makefile.in: Make `all' the default target.
16795 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
16796 h8300h.
16797 * libc/machine/h8300/defines.h: Add macros to handle pointers for
16798 h8300 (16 bits) and h8300h (32 bits).
16799 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
16800 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
16801
16802Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
16803
16804 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
16805 implementation of setjmp and longjmp for the m88k.
16806 * libc/include/machine/setjmp.h: Added __m88000__ case.
16807
16808Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
16809
16810 * configure.in: Recognize h8300h as variant of h8300.
16811
16812Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
16813
16814 * libc/include/sys/unistd.h (read, write): get prototypes right.
16815 (sbrk): New prototype.
16816 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
16817 * libc/stdio/local.h: Include unistd.h.
16818 * libc/machine/h8300/syscalls.c: Names have changed.
16819
16820Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
16821
16822 * configure.in: add sys_dir assignment for m88k-bug.
16823
16824Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
16825
16826 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
16827 a.out or elf.
16828 * libc/sys/sparc64: all *.S files: Use new macros.
16829 * libc/sys/sparc64/isatty.c: New file.
16830 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
16831 functions beyond what newlib provides.
16832
16833Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
16834
16835 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
16836 svr4.
16837
16838Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
16839
16840 * libc/include/machine/ieeefp.h: Add support for h8/300h.
16841
16842Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
16843
16844 * configure.in: add m88k.
16845 * libc/include/machine/ieeefp.h: add case for m88k. Also add
16846 sanity check so no one else need ever chase what I did to find
16847 this.
16848
16849 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
16850
16851Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
16852
16853 * doc/makedoc.c: Include <ctype.h>.
16854
16855Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
16856
16857 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
16858 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
16859 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
16860
16861 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
16862
16863Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
16864
16865 * libc/include/errno.h (ENOSYS): Added.
16866
16867 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
16868
16869Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
16870
16871 * libc/stdio/fflush.c (fflush): Check for reent struct
16872 initialization.
16873 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
16874
16875Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
16876
16877 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
16878 out of dtoa.c so it doesn't pollute the namespace.
16879 * libc/include/_syslist.h: new file -- mappings from _function to
16880 function, for systems where we can't win (by default, all of them,
16881 until we start updating system calls.)
16882 * libc/syscalls: new directory -- stubs for exporting _function
16883 names as unmodified function names.
16884 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
16885 _syslist.h on all platforms by default, but put hooks in for
16886 fake_sys_dir so we can include it when we've renamed the system
16887 calls.
16888 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
16889 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
16890 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
16891 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
16892 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
16893 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
16894 non ANSI functions to call _function.
16895
16896Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
16897
16898 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
16899 when base 16 is specified. Don't accept non-digits if radix > 10.
16900
16901Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
16902
16903 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
16904
16905Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
16906
16907 * libc/include/sys/stat.h: Surround text after #endif with
16908 comments.
16909
16910Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
16911
16912 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
16913 _malloc_r, _realloc_r, and free_r call the corresponding
16914 non-reentrant functions.
16915
16916 * libm/math/modf.c (modf): We now take the address of ipart, so
16917 don't make it a register variable.
16918
16919Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
16920
16921 * libm/math/*: Rename all xxx_r fns to _xxx_r.
16922
16923Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
16924
16925 * libc/libc.texinfo and embedded docn throughout: formatting
16926 improvements, minor rephrasing for clarity, and improved
16927 reentrancy docn.
16928
16929Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
16930
16931 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
16932
16933 * libc/stdio/cvt.c (_licvt): Print the right value on machines
16934 where sizeof(int) != sizeof(long).
16935
16936Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
16937
16938 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
16939 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
16940 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
16941 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
16942 libm/math/matherr.c: changes for better docn formatting (info).
16943
16944 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
16945 libc/reent/reent.tex, libc/signal/signal.tex,
16946 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
16947 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
16948 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
16949 makeinfo node defaulting to get better Info file node structure.
16950 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
16951 Also include a few formerly missing sections (subroutines).
16952
16953 * doc/doc.str: delete fossil expansion for "func"
16954
16955 * default.menu, no-signal.menu: delete.
16956
16957 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
17c0c97d 16958 method used to adjust doc for missing "signals" chapter when
8a0efa53
CF
16959 signal_dir is empty.
16960
16961Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
16962
16963 * configure.in: added testsuite/libm.sac
16964
16965Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
16966
16967 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
16968 code model).
16969
16970Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
16971
16972 * libm/Makefile.in: Use $(MAKE) rather than make, and define
16973 MAKEOVERRIDES to be empty.
16974
16975Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
16976
16977 * configure.in: Don't build mips-*-* with -msoft-float, since that
16978 makes it incompatible with hard floating point.
16979
16980Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
16981
16982 * Makefile.in: added recursive 'make check'
16983
16984Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
16985
16986 * configure.in: added ./testsuite ./testsuite/libm.paranoia
16987 * ./testsuite/Makefile.in: created
16988 * ./testsuite/libm.paranoia: paranoia tests added
16989
16990Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
16991
16992 * configure.in: For mips-*-* set machine_dir to mips.
16993
16994 * libc/machine/mips: New directory.
16995 * libc/machine/mips/Makefile.in: New file.
16996 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
16997 setjmp and longjmp.
16998 * libc/include/machine/setjmp.h: Added __mips__ case.
16999
17000 * libc/machine/lmips: Removed unused and useless directory.
17001
17002Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
17003
17004 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
17005
17006Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
17007
17008 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
17009 start up).
17010
17011Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
17012
17013 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
17014 SETJMP_H.
17015
17016Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
17017
17018 * libm/test/convert.c: structure member errno -> errno_val.
17019 Must include <errno.h> to use errno, it's a macro now.
17020 * libm/test/math.c: Ditto.
17021 * libm/test/math2.c: Include errno.h.
17022 * libm/test/string.c: Ditto.
17023 * libm/test/test.h: structure member errno -> errno_val.
17024 Remove extern int errno decl.
17025
17026Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
17027
17028 * libc/stdio/Makefile.in: Added dependencies on local header
17029 files.
17030 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
17031 files.
17032
17033Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
17034
17035 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
17036
17037Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
17038
17039 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
17040 Initialize _data.
17041
17042 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
17043 * libc/stdio/local.h: Add prototype for _licvt.
17044
17045 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
17046 instead of malloc,reealloc.
17047
17048 * libc/stdlib/local.h: New file.
17049 * libc/stdlib/efgcvt.c: #include local.h.
17050 (gcvt): Fix call to _gcvt.
17051 * libc/stdlib/ecvtbuf.c: #include local.h.
17052
17053 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
17054 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
17055 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
17056
17057 * libc/stdlib/atexit.c: moved global data to struct _reent.
17058 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
17059
17060 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
17061
17062Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
17063
17064 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
17065 here from ../reent.h.
17066
17067Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
17068
17069 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
17070 should be provided in both libc.a and libm.a.
17071 (libc.a): Depend on targ-include and libm.a. Copy
17072 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
17073 (libm.a): Depend on targ-include.
17074 * configure.in (subdirs): Removed libc/math.
17075
17076Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17077
17078 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
17079
17080Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
17081
17082 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
17083 sys/reent.h instead of reent.h.
17084 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
17c0c97d 17085 headers moved to sys/reent.h.
8a0efa53
CF
17086 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
17087 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
17088 __need__MAX_SIGNALS defined.
17089 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
17090 std{in,out,err} refer to new _std{in,out,err} members.
17091
17092Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
17093
17094 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
17095 case.
17096
17097Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
17098
17099 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
17100 rather than whatever macro seterrno() has.
17101
17102Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
17103
17104 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
17105 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17106
17107 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
17108 __STDC__.
17109
17110 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
17111 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
17112 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17113
17114 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
17115 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17116
17117 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
17118 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
17119 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
17120 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
17121 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
17122 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
17123 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
17124 renamed to _xxx_r. struct reent_struct renamed to struct _reent
17125 for ANSI. structure members given leading "_" for ANSI. Use
17126 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
17127
17128 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
17129 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
17130 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
17131 reent_struct renamed to struct _reent for ANSI.
17132 Structure members given leading "_" for ANSI.
17133 _CONST --> const in prototypes.
17134 Use _HAVE_STDC instead of __STDC__.
17135
17136 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
17137 _xxx_r.
17138 struct reent_struct renamed to struct _reent for ANSI.
17139 Structure members given leading "_" for ANSI.
17140
17141 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
17142 _xxx_r.
17143 struct reent_struct renamed to struct _reent for ANSI.
17144
17145 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
17146 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
17147 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
17148 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
17149 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
17150
17151 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
17152 signal.h, stdio.h, stdlib.h, string.h, time.h}:
17153 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
17154 #ifndef _STRICT_ANSI non-ANSI routines.
17155 Reentrant routines renamed from _r_xxx to _xxx_r.
17156 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
17157 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
17158 Clean up namespace (structure members have leading "_").
17159 struct reent_struct renamed to struct _reent for ANSI compliance.
17160 _CONST --> const in function prototypes.
17161
17162 * libc/include/string.h: Add NULL and size_t.
17163
17164 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
17165 unlink, wait, wait4. Reentrant syscall routines close, fork,
17166 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
17167 write.
17168 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
17169 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
17170 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
17171 write.S}: Define reentrant versions.
17172 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
17173 reentrant syscalls.
17174
17175 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
17176
17177 * libc/include/stdlib.h (RAND_MAX): Fix value.
17178
17179Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
17180
17181 * libc/sys/a29khif/_main.c: Removed unnecessary file.
17182 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
17183 VPATH support targets after all: target.
17184
17185 * stub/mvme135/mvme.S: Renamed exceptionhandler to
17186 exceptionHandler, which is what mvme135-stub.c expects.
17187
17188Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
17189
17190 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
17191
17192 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
17193 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
17194 compliant).
17195
17196Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
17197
17198 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
17199 first.
17200 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
17201 _r_write): Ditto.
17202 libc/reent/fstatr.c (_r_fstat): Ditto.
17203 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
17204 libc/reent/sbrkr.c (_r_sbrk): Ditto.
17205 libc/reent/statr.c (_r_stat): Ditto.
17206
17207 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
17208 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
17209 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
17210 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
17211 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
17212 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
17213 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
17214 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
17215 (__swrite): Ditto for _r_lseek, _r_write.
17216 (__sseek): Ditto for _r_lseek.
17217 (__close): Ditto for _r_close.
17218 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
17219
17220 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
17221 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
17222
17223 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
17224 to make reent_struct the first argument (and thus consistent with
17225 the rest of newlib).
17226
17227 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
17228 reference to __STDC__.
17229
17230Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
17231
17232 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
ba3ccd63 17233 global __cleanup.
8a0efa53
CF
17234
17235Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
17236
17237 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
17238 first.
17239 libc/stdio/fclose.c (fclose): Ditto.
17240
17241Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
17242
17243 * Run through indent and rename reentrant routines for ANSI.
17244 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
17245 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
17246 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
17247 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
17248 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
17249 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
17250 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
17251 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
17252 vsprintf.c wbuf.c wsetup.c local.h}
17253
17254 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
17255
17256 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
17257 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
17258 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
17259 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
17260 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
17261 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
17262
17263 * Run through indent.
17264 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
17265 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
17266 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
17267 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
17268 strxfrm.c}
17269
17270 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
17271 localtime.c mktime.c strftime.c time.c}:
17272 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
17273
17274 * Reformatting + renaming (for ANSI, GNU style, consistency).
17275 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
17276 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
17277 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
17278
17279Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
17280
17281 * libc/include/stdio.h (stdin_r): Fix.
17282
17283Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
17284
17285 * Makefile.in: Unexport some variables to keep GNU make from
17286 putting them in the environment and using up needed ARG_MAX space
17287 (a hack is used to let this work with older makes as well).
17288
17289Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
17290
17291 * Makefile.in: Use $(MAKE) rather than make.
17292 (MAKEOVERRIDES): Define to be empty.
17293 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
17294 (libc.a, libm.a): Depend on targ-include.
17295 * host/any (LD): Don't define.
17c0c97d 17296 (INCLUDES): Use targ-include.
8a0efa53
CF
17297 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
17298 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
17299 * libc/Makefile.in: Use $(MAKE) rather than make.
17300 (MAKEOVERRIDES): Define to be empty.
17301 (FLAGS_TO_PASS): Don't pass LD (it's not used).
17302 (all): Rewrote to be slightly smaller.
17303 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
17304 Define to be empty.
17305 (FLAGS_TO_PASS): Don't pass LD (it's not used).
17306 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
17307
17308Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
17309
17310 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
17311 with errno/errno.c.
17312
17313Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
17314
17315 * Changes for reentrancy.
17316 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
17317 Use ptr->_errno, not errno.
17318 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
17319 libc/stdio/remove.c (remove_r): New function.
17320 libc/stdio/rename.c (rename_r): New function.
17321 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
17322 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
17323 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
17324 reentrant versions of system calls.
17325 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
17326 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
17327 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
17328 libc/stdio/findfp.c: Include <string.h>.
17329 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
17330 "local.h".
17331 libc/stdio/wbuf.c: Include "fvwrite.h"
17332
17333 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
17334 <string.h>.
17335 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
17336 (NULL): Don't define if already defined.
17337 libc/stdlib/system.c: Call reentrant versions of system calls.
17338 (system_r): New function.
17339
17340 * Changes for reentrancy.
17341 libc/include/_ansi.h (_PARAMS): New macro.
17342 libc/include/errno.h: Define errno as a macro that calls __errno.
17343 (__errno_r): New macro for reentrant code.
17344 libc/include/math.h: Include reent.h. Declare many reentrant
17345 functions.
17346 (signgam): Now a macro, not a variable.
17347 (struct exception): Added err field.
17348 libc/include/reent.h: Don't declare __sglue. Added function
17349 declarations.
17350 (struct reent_struct): Moved errno to beginning. Added _signgam.
17351 libc/include/stdio.h, libc/include/stdlib.h: Added function
17352 declarations.
17353
17354 * More reentrancy hacking.
17355 libc/errno/errno.c (__errno): New function.
17356 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
17357 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
17358 files.
17c0c97d 17359
8a0efa53
CF
17360 * Added many new reentrant functions to libm/math/*.
17361 libm/math/error.c (__matherror): Added reent_struct pointer
17362 argument. Changed all callers.
17363 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
17364 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
17365 libm/math/tan.h: Removed obsolete unused header files.
17366
17367 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
17368
17369 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
17370
17371Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17372
17373 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
17374 delay slots.
17375
17376Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17377
ba3ccd63 17378 * libc/libc.texinfo: comment out reentrancy chapter (duh)
8a0efa53
CF
17379
17380Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17381
ba3ccd63 17382 * libc/reent/reent.tex: New file. (text from
8a0efa53
CF
17383 newlib/libc/libc.texinfo)
17384 * libc/stdio/tmpnam.c: fixed doc typo
17385 * libc/stdlib/rand.c: fixed doc typo
17386
17387Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17388
ba3ccd63 17389 * libc/reent/reent.tex: New file. (text from
8a0efa53
CF
17390 newlib/libc/libc.texinfo)
17391
17392Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17393
17394 support for reentrancy
17395 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
17396 new files
17397 * libc/errno/errno.c, libc/include/ieeefp.h,
17398 libc/include/locale.h, libc/include/reent.h,
17399 libc/include/signal.h, libc/include/stdio.h,
17400 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
17401 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
17402 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
17403 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
17404 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
17405 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
17406 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
17407 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
17408 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
17409 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
17410 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
17411 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
17412 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
17413 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
17414 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
17415 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
17416 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
17417 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
17418 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
17419 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
17420 libc/time/strftime.c: modify to provide reentracy.
17421
17422 new routines:
17423 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
17424 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
17425 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
17426 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
17427 mstats_r, realloc_r, localeconv_r, setlocale_r
17428
17429Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
17430
17431 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
17432 libc/include/sys/config.h, libc/include/sys/signal.h,
17433 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
17434 provided macros (such as m68000), use the ansi version
17435 (__m68000__) so that the library can be used with code compiled
17436 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
17437 and sparc.
17438
17439Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
17440
17441 * configure.in (sparc*): Don't set -fsoft-float for sparc
17442 configurations. Do set -fsoft-float for sparclite configurations.
17443
17444Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
17445
17446 * default.menu, no-signal.menu: alternate forms of libc main menu
ba3ccd63 17447 (in newlib rather than newlib/libc due to configuration restrictions)
8a0efa53
CF
17448
17449 * configure.in: select one of the two menus above, link to
17450 libc.menu
17451
ba3ccd63 17452 * libc/libc.texinfo: include menu from separate file
8a0efa53
CF
17453
17454Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
17455
17456 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
17457 (info): Split long shell command in half.
17c0c97d
EB
17458 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
17459 sub-makes, just CHEW and TARGETDOC.
8a0efa53
CF
17460 (targetdep.tex): Removed now special handling of sys and machine
17461 subdirectories, made obsolete some time ago.
17462 * libc/machine/Makefile.in (doc): Don't pass everything to
17463 sub-make, just CHEW and TARGETDOC.
17464 (Makefile): New target.
17465 * libc/sys/Makefile.in (Makefile): New target.
17466
17467Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
17468
17469 * Makefile.in (here and most subdirectories): Only pass down CHEW
17470 and TARGETDOC when making info, not for other targets.
17471
17472 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
17473 $(AR_FLAGS) rather than $(ARUPDATE).
17474
17475Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
17476
17477 * Try to reduce command line length:
17478 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
17479 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
17480 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
17481 (info): Pass CHEW to other subdirs.
17482
17483Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
17484
17485 * configure.in: add signal_dir, like unix_dir, but by default it
17486 is set to "signal" so that a29khif can turn it off (since a29khif
17487 has raise() as part of machine-specific signal.s.)
17488
17489Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17490
17491 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
17492 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
17493 correctly.
17494 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
17495 libc/stdio/vfprintf: type lint.
17496 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
17497 initialzation code.
17498 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
17499
17500Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
17501
17502 * stub/mvme135/mvme135-asm.S: new file.
17503 stub/mvme135mvme135-stub.c: moved all assembler routines into
17504 mvme135-asm.S.
17505 stub/mvme135/Makefile.in: build mvme135-stub.o.
17506
17507Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
17508
17509 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
17510 sub-Makefiles instead, to try to avoid line length limitations.
17511
17512Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
17513
17514 * libc/include/unistd.h (read, write): Use void* instead of
17515 char*.
17516
17517Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
17518
17519 * stub/go32/resetpc: sample script to send a reset packet to the
17520 stub
17521
17522 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
17523 DOS environment, which compiles with Turbo C.
17524
17525 * stub/go32/DSER32.LNK: new file, linker commands for serial
ba3ccd63 17526 remote stub.
8a0efa53
CF
17527
17528 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
17529 start up message to identify version; call set_debug_traps.
17530
17531 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
17532 keyboard interaction); call handle_exception() in go_til_stop,
17533 rather than return, so that the remote stub gets control.
17534
17535 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
17536 rename, rather than mv), set flags that work with current Turbo C,
17537 including using the /3 flag; also, add commands to build dser32.
17538
17539 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
17540 default Turbo C installation (\tc rather than \usr)
17541
17542 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
ba3ccd63 17543 "&..."
8a0efa53
CF
17544
17545Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17546
17547 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
17548
17549Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17550
17551 * libc/stdio/cvt.c (licvt): new function to convert ints when
17552 sizeof(int) != sizeof(long).
17553
17554 * libc/include/stdio.h: added prototype for iprintf.
17555 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
17556
17557Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
17558
17559 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
17560 __REGISTER_PREFIX__.
17561
17562Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
17563
17564 * libc/sys/m68kbare: moved into stub directory.
17565
17566Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
17567
17568 * configure.in, Makefile.in: created new directory stub, to hold
17569 sample code for specific targets.
17570
17571Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
17572
17573 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
17574 in the unified libc/include/sys/fcntl.h.
17575
17576Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
17577
17578 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
17579 printed .01, not 0.01.
17580
17581Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
17582
17583 * configure.in: compile with -m68000 for m68* targets.
17584
17585Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
17586
17587 * libm/math/remainder.c (remainder): document the svr4 and sunos
17588 references used to construct the function.
17589
17590Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
17591
17592 * libm/math/remainder.c (rint, remainder): fix old typos.
17593 * libm/math/Makefile.in: actually build remainder.c (functions
17594 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
17595 page.)
17596
17597Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
17598
17599 * libc/string/bcopy.c: BSD version works on overlapping strings,
17600 so ours should too.
17601
17602 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
17603 ("SHELL").
17604
17605Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
17606
17607 * Makefile.in (docs): new target.
17608
17609Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
17610
17611 * libc/include/sys/times.h: define clock_t as required by POSIX.
17612 libc/include/time.h: protect clock_t from multiple definitions.
17613
17614Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17615
17616 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
17617 does not need more than the original three iterations to get
17618 within 1 ulp. (Paranoia tests for rounding to better than that,
17619 but further iterations *don't* help, only more subtle changes
17620 can.)
17621
17622Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
17623
17624 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
17625 were doing nothing useful.
17626
17627Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
17628
17629 * configure.in: define MALLOC_PROVIDED for vxworks targets;
17630 removed sys_dir settings of vxworks68 and vxworks960.
17631 host/any: don't pass -nostdinc to gcc, since newlib no longer
17632 provides all required header files.
17633
17634 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
17635 is not defined; this provides a hook for VxWorks.
17636
17637Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17638
17639 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
17640 buffer if buf is NULL, don't do it here -- it is already being
17641 done by makebuf elsewhere in stdio.
17642
17643Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
17644
17645 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
17646 that C programs can call functions without using initial
17647 underscores.
17648
17649Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
17650
17651 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
17652
17653Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
17654
17655 * configure.in: set TARGET_CFLAGS for certain CPU types to
17656 -msoft-float.
17657
17658Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
17659
17660 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
17661
17662Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
17663
17664 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
17665 m68k*-unknown-coff.
17666
17667Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
17668
17669 * libc/include/stdio.h: define __need___va_list before including
17670 <stdarg.h>, to avoid defining va_arg, et. al.
17671
17672Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
17673
17674 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
17675 (don't cd to the user's home directory).
17676
17677 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
17678 In general this is the wrong thing to do, but I can't get around
17679 GNU make's insistence on passing command line arguments any other
17680 way.
17681
17682Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
17683
17684 * configure.in: always configure the libc/sys directory, since it
17685 now provides a required documentation file.
17686
17687 * Makefile.in: replaced all instances of $(MAKE) with make. In
17688 general this is the wrong thing to do, but I can't get around GNU
17689 make's insistence on passing command line arguments any other way.
17690
17691Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
17692
17693 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
17694 terminated.
17695
17696 * libc/stdio/local.h: include <stdarg.h> to define va_list.
17697 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
17698
17699 * libc/include/float.h, libc/include/stdarg.h,
17700 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
17701 versions instead.
17702 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
17703 <stdarg.h>, not from <machine/types.h>. Protect definition of
17704 NULL.
17705 libc/include/time.h: get size_t from stddef.h. Protect definition
17706 of NULL.
17707 libc/include/machine/limits.h: override gcc <limits.h> by defining
17708 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
17709 get correct INT_MIN and LONG_LONG values.
17710 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
17711 size_t or va_list at all; they're now gotten from stddef.h
17712 instead.
17713 libc/include/machine/varargs.h: removed; use gcc version instead.
17714 libc/include/sys/types.h: explicitly include <machine/types.h>.
17715
17716 * libm/math/sqrt.h: using the fp-bit routines appears to require
17717 more iterations.
17718
17719 * Makefile.in, host/any: let system include files override machine
17720 include files.
17721
17722Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17723
17724 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
17725 override _*_T_ definitions defaulted here.
17726
17727Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
17728
17729 * Makefile.in (install): install the include files in
17730 $(tooldir)/include, not $(exec_prefix)/include.
17731
17732Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
17733
17734 * Makefile.in (install): fixed typo, and changed install to not
17735 force rebuild of libc.a and libm.a.
17736
17737Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
17738
17739 * libc/sys/a29khif/*: Changed all .include's to include
17740 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
17741 that they will be installed for the user.
17742
17743 * Makefile.in (all): create targ-include, a directory holding the
17744 machine and system specific header files during the build.
17745 (install): fixed installation of machine and system specific
17746 header files.
17747
17748 * Makefile.in: fixed comment.
17749 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
17750 we can pass $(INCLUDES) to it.
17751
17752Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
17753
17754 * libc/include/sys/param.h: new generic file, which may be
17755 overridden for specific systems.
17756
17757 * libc/include/sys/signal.h: define all ANSI signal names, and
17758 NSIG (which is not ANSI) for a29k.
17759
17760Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
17761
17762 * Makefile.in: don't pass down arguments the lower level makes
17763 will not need.
17764 * libc/Makefile.in: recurse directly, rather than using subdir_do,
17765 in hopes of avoiding argument length limits.
17766 * libm/Makefile.in: recurse directly, rather using subdir_do, in
17767 hopes of avoiding argument length limits.
17768
17769Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
17770
17771 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
17772 mode_t is defined.
17773
17774Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
17775
17776 * Fixed make info and make install-info for newlib, changing most
17777 Makefile.in and several *.tex files. Moved doc directory from
17778 libc to top level.
17779
17780 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
17781 Should be rewritten.
17782
17783 * libc/string/strings.tex: renamed node index to node index
17784 function, so that it does not conflict with the top level index
17785 node.
17786
17787 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
17788
17789Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
17790
17791 * Overhauled general configuration for newlib. Eliminated all
17792 target dependent Makefile fragments. Create libraries in newlib
17793 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
17794 than CROSS_CC, et. al. Broke make docs; will fix later.
17795
17796 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
17797 Should be rewritten.
17798
17799Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
17800
17801 * libc/configure.in: cleaned up somewhat; switch on ${target}
17802 rather than ${target_alias}.
17c0c97d 17803 * libm/configure.in: cleaned up somewhat; switch on ${target}
8a0efa53
CF
17804 rather than ${target_alias}.
17805
17806 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
17807 * libc/include/ctype.h: marked _ctype_ as _CONST.
17808
17809 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
17810 _CONST.
17811
17812 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
17813 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
17814 libc/stdio/gets.c (gets): removed non-ANSI warning message.
17815 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
17816
17817 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
17818 bigtens, tinytens): marked arrays _CONST.
17819 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
17820 rather than a static variable.
17821
17822 * libc/time/asctime.c (asctime), libc/time/localtime.c
17823 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
17824 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
17825 mname_len, mname): Marked static arrays _CONST.
17826
17827 * libm/math/gamma.h: made local variables non-static.
17828
17829 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
17830 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
17831 _CONST.
17832
17833 * libm/math/constants.c: removed file, because the constants it
17834 defined were never referenced.
17835 libm/math/Makefile.in: removed references to constants.c.
17836 libm/math/mathimpl.h: removed declarations of constants.
17837
17838Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
17839
17840 * libc/include/machine/varargs.h: only call __builtin_saveregs if
17841 it is sensibly defined in libgcc2. Checks preprocessor defines,
17842 which is not a good solution.
17843
17844 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
17845
17846 * libm/frexp.c: handle denormalized numbers as arguments.
17847
17848 * libm/math/Makefile.in: added some dependencies for .c files
17849 which include local .h files.
17850
17851Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
17852
17853 * libc/configure.in: set target_alias for OSE*. Replace
17854 target_makefile_frag if it is blank.
17855
17856 * libc/Makefile.in: make sure everything is passed to subsidiary
17857 makes; create all directories when installing.
17858
17859 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
17860 CROSS_ARUPDATE instead of AR.
17861
17862 * libm/configure.in: set target_alias for OSE*. Replace
17863 target_makefile_frag if it is blank.
17864
17865 * libm/Makefile.in: make sure everything is passed to subsidiary
17866 makes; create all directories when installing.
17867
17868Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
17869
ba3ccd63 17870 * add following change from libc copy.
8a0efa53
CF
17871
17872Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17873
17874 * libc/libc.texinfo: make copyright disclaimers appear on back of
17875 title page; make format of same slightly less ugly; avoid using
17876 underbars in section headings (avoids nasty texinfo bug in table
17877 of contents).
17878
17879 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
17880 comments only) avoid using underbars in section headings
17881
17882 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
17883 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
17884 changes in comments only): shorten headings ieeefp/infinity.c,
17885 ieeefp/isnan.c: (doc, comments only) more informative headings
17886
17887 * libc/math/bessel.c: (doc, comments only) shorten heading
17888
17889 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
17890 (doc, comments only) shorten headings
17891
17892 * libc/time/localtime.c (doc, comments only): shorten headings
17893
17894 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
17895 isnan
17896 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
17897 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
17898 headings
17899 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
17900 only) more informative headings
17901 * libm/math/bessel.c: (doc, comments only) shorten heading
17902
17903Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17904
17905 * .../Makefile.in: use CROSS_ARUPDATE consistently.
17906 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
17907 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
17908 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
17909 defined, the one from the .mt file will be correct.
17910 * libc/include/machine, libc/include/sys: created, and populated
17911 with common files from machine/*/machine. ifdefs were used for
17912 most, typically by handling exceptions first and then filling in
17913 defaults. Files with D.J. Delorie copyright #included rather than
17914 copied. Most files in include/sys really were the same in the
17915 original.
17916 * libc/include/...: cleaned up use of _EXFUN.
17917 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
17918 it with double quotes, not angles.
17919
17920Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
17921
17922 * libc/Makefile.in: always create installation directories.
17923
17924Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
17925
17926 * libc/configure.in: handle host properly (using canonical
17927 triples), better error message for the case of target not found
17928
17929Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
17930
17931 * libc/Makefile.in (insincdir): Ensure this directory exists
17932 before attempting installation.
17933
17934Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17935
17936 * libc/stdlib/assert.c: now calls abort like it should
17937 * libc/sys/a29khif: many many patches for 29khif work
17938 * libc/machine/i386: gnulib2 expanded there.
17939
17940Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17941
ba3ccd63 17942 Added accurate fp conversion routines to stdlib, moved dcvt from
8a0efa53
CF
17943 stdio to stdlib and called it ecvtbuf:
17944 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
17945 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
17946 routines
17947 * libc/libc.texinfo: Modifed to include the copyright info from
17948 the mprec files
17949 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
17950 * libc/test/ : many vector which tested for the implementation
17951 defined returns of strange conversion requests have been updated
17952 to relflect the new implementation
17953
17954Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17955
17956 * libc/libc.texinfo: new chapter on variable arg lists
17957 (stdarg.h/varargs.h)
17958 * libc/libc.texinfo: new title
17959 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
17960 (doc only) shorter headings for better formatting.
17961
17962Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17963
17964 * libc/libc.texinfo: three more info menu entries
17965 * libc/locale/locale.tex: new chapter
17966 * libc/locale/locale.c: new doc for setlocale, localeconv
17967 * libc/locale/Makefile.in: use new locale doc
17968 * libc/signal/signal.tex: new chapter
17969 * libc/signal/raise.c, libc/signal/signal.c: new doc
17970 * libc/signal/Makefile.in: use new doc
17971 * libc/time/time.tex: new chapter
17972 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
17973 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
17974 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
17975 * libc/time/Makefile.in: use new doc
17976
17977Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17978
17979 * libm/math/log1p.c: split to use the new function way of float
17980 function definition. math/log1p.h deleted
17981 * libm/math/scalb.c: obsolete and deleted
17982 * libm/math/scalbn.c: created from part log1p.c
17983 * libm/math/Makefile.in: know about log1p and scalbn
17984
17985Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17986
17987 * libc/ctype/isupper.c: revise doc;
17988 libc/ctype/ctype.tex: use doc from isupper.c
17989
17990 * libc/string/bzero.c: new doc
17991
17992Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17993
17994 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
17995 new doc
17996 * libc/stdlib/Makefile.in: extract new doc
17997 * libc/stdlib/stdlib.tex: use new doc
17998
17999 * libc/string/strerror.c: expanded doc.
18000
18001 * libc/stdio/Makefile.in: extract doc from more files
18002 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
18003 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
18004 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
18005 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
18006 libc/stdio/vsprintf.c: new doc
18007 * libc/stdio/stdio.tex: use new doc
18008
18009Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18010
18011 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
18012 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
18013 finitef functions.
18014 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
18015 time ago.
18016
18017 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
18018 * libc/stdio/setbuf.c: added ansi style definition.
18019 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
18020 buffer if none provided.
18021 * libc/stdio/tmpfile.c: lint
18022 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
18023 rather than using static, also make sure file isn't already
18024 present. Uses P_tmpdir. (tempnam): rewritten to use new
18025 subroutine, and uses P_tmpdir.
18026 * libc/stdio/siprintf.c: created
18027
18028Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18029
18030 Release 1.03 for NEC, major mods. Main differences from release
18031 1.02::
18032
18033 More tests in test/:
18034 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
18035 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
18036 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
18037 get/set mask, get/set sticky and get/set roundtoi. Tests
18038 that setting the bits changes the way arithmetic is done.
18039 * string.c: added test to make sure memcmp does it with unsigned
18040 chars.
18041 * test.c: cleaned up and removed lint.
18042 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
18043 dvec.c: tests for string to value conversions, sprintf, scanf,
18044 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
18045 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
18046 rounding in sprintf too.
18047 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
18048 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
18049 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
18050 and function form.
18051 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
18052 powf
18053
18054 In the library:
18055 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
18056 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
18057 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
18058 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
18059 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
18060 than sprintf.
17c0c97d 18061 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
8a0efa53
CF
18062 * Method of producting float versions of double functions has
18063 changed, functions will be modified gradually. So far:
18064 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
18065 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
18066 altered
18067 * libc/string/memcmp.c: now uses unsigned chars
18068 * libc/string/bcmp.c, libc/string/strcpy.c,
18069 libc/stsring/strxfrm.c: fixed doc
18070 * libc/sys/sysvnecv70.tex: fix example of sbrk code
18071\f
18072Local Variables:
18073version-control: never
18074End:
This page took 2.05481 seconds and 5 git commands to generate.