1 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
3 * libc/machine/spu/creat.c: New file copied from libc/posix/creat.c,
4 it just calls open with appropriate arguments.
5 * libc/machine/spu/Makefile.am: Add creat.c.
6 * libc/machine/spu/Makefile.in: Regenerate.
8 2007-06-13 Jeff Johnston <jjohnstn@redhat.com>
10 * libc/machine/spu/Makefile.am: Re-add back setjmp.S which
11 I accidentally dropped.
12 * libc/machine/spu/Makefile.in: Regenerated.
14 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
16 * libc/include/sys/features.h: Define _POSIX_TIMERS for spu.
17 * libc/include/sys/unistd.h: Change usleep prototype to Posix
18 form and move outside of OS flag checks.
19 * libc/machine/spu/Makefile.am: Add sleep and usleep.
20 * libc/machine/spu/Makefile.in: Regenerate.
21 * libc/machine/spu/sleep.c: Copy libc/posix/sleep.c.
22 * libc/machine/spu/usleep.c: Copy libc/posix/usleep.c.
24 2007-06-11 Corinna Vinschen <corinna@vinschen.de>
26 * libc/include/sys/unistd.h: Declare confstr for Cygwin.
27 Define confstr constants for Cygwin. Add comment.
29 2007-06-10 Hans-Peter Nilsson <hp@bitrange.com>
31 * libc/sys/mmixware/access.c (access): Do not try to use a magic
32 file-handle and a direct syscall, just use _open.
33 * libc/sys/mmixware/sys/syscall.h (TMPFNO): Remove this magic
36 * libc/sys/mmixware/_exit.c (_exit): Update comment about
37 passing on the exit value.
39 2007-06-08 Jeff Johnston <jjohnstn@redhat.com>
41 * libc/string/strcasestr.c: New file.
42 * libc/include/string.h: Add strcasestr.
43 * libc/string/strings.tex: Add strcasestr.
44 * libc/string/Makefile.am: Ditto.
45 * libc/string/Makefile.in: Regenerated.
47 2007-06-06 Christian Groessler <chris@groessler.org>
49 * libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
50 rnd is done after the last local variable declaration.
52 2007-06-06 Jeff Johnston <jjohnstn@redhat.com>
54 * libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.
56 2007-06-05 Christian Groessler <chris@groessler.org>
58 * libc/argz/argz_insert.c (argz_insert): Move delta variable
59 declaration to top of function in keeping with C89 standard.
61 2007-06-04 Eric Blake <ebb9@byu.net>
63 Implement funopen, fopencookie.
64 * libc/include/sys/reent.h (struct __sFILE, struct __sFILE64):
65 Switch to reentrant callbacks.
66 * libc/include/stdio.h (funopen): Fix declaration.
67 (fopencookie): Declare.
68 * libc/stdio/local.h (__sread, __swrite, __sseek, __sclose)
69 (__sseek64, __swrite64): Fix prototypes.
70 [__SCLE]: Pull in setmode declaration.
71 * libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix
73 * libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete.
74 (__sseek64, __swrite64): Fix reentrancy.
75 * libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
77 * libc/stdio/ftell.c (_ftell_r): Likewise.
78 * libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+".
79 * libc/stdio/fclose.c (_fclose_r): Fix reentrancy.
80 * libc/stdio/freopen.c (_freopen_r): Likewise.
81 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
82 * libc/stdio/refill.c (__srefill_r): Likewise.
83 * libc/stdio/siscanf.c (eofread): Likewise.
84 * libc/stdio/sscanf.c (eofread): Likewise.
85 * libc/stdio/vsiscanf.c (eofread1): Likewise.
86 * libc/stdio/vsscanf.c (eofread1): Likewise.
87 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
88 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
89 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
90 * libc/stdio/fflush.c (fflush): Improve reentrancy, although more
92 * libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file.
93 * libc/stdio/funopen.c (_funopen_r, funopen): New file.
94 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build
96 * libc/stdio/Makefile.in: Regenerate.
98 2007-05-29 Eric Blake <ebb9@byu.net>
100 Avoid more compiler warnings.
101 * libc/stdlib/btowc.c: Add missing header.
102 * libc/stdlib/getopt.c (getopt_internal): Initialize variable.
103 * libc/stdlib/system.c (do_system) [__CYGWIN__]: Add declaration.
104 * libc/stdlib/wctob.c: Add missing header.
105 * libc/string/strcpy.c (strcpy): Avoid warnings.
106 * libc/string/strrchr.c (strrchr): Likewise.
108 2007-05-29 Corinna Vinschen <corinna@vinschen.de>
110 * libc/argz/argz_add_sep.c (argz_add_sep): Handle empty string
112 * libc/argz/argz_append.c (argz_append): Handle empty buf argument.
113 * libc/argz/argz_create_sep.c (argz_create_sep): Return (NULL, 0)
114 on empty input strings.
115 * libc/argz/argz_extract.c (argz_extract): Check argz_len before
116 looping through argz.
117 * libc/argz/argz_stringify.c (argz_stringify): Ditto.
119 2007-05-27 Brian Dessent <brian@dessent.net>
121 * libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
124 2007-05-25 Eric Blake <ebb9@byu.net>
126 * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
128 2007-05-24 Steve Ellcey <sje@cup.hp.com>
129 Charles Wilson <libtool@cwilson.fastmail.fm>
131 * libtool.m4: removed
132 * configure.in: invoke _LD_DECL_SED before conditionally initializing
133 libtool. Move AC_PROG_AWK outside conditional.
134 * libc/sys/linux/configure.in: Ditto.
135 * libc/sys/linux/linuxthreads/configure.in: Ditto.
136 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
137 * libc/sys/linux/machine/i386/configure.in: Ditto.
139 * iconvdata/configure.in: invoke _LD_DECL_SED before conditionally
140 initializing libtool.
141 * libc/configure.in: Ditto.
142 * libc/machine/configure.in: Ditto.
143 * libc/machine/i386/configure.in: Ditto.
144 * libc/sys/configure.in: Ditto.
145 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
146 * libc/sys/linux/machine/configure.in: Ditto.
147 * libm/configure.in: Ditto.
148 * libm/machine/configure.in: Ditto.
150 * Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
151 * doc/Makefile.am: Ditto.
152 * iconvdata/Makefile.am: Ditto.
153 * libc/Makefile.am: Ditto.
154 * libc/machine/Makefile.am: Ditto.
155 * libc/machine/a29k/Makefile.am: Ditto.
156 * libc/machine/arm/Makefile.am: Ditto.
157 * libc/machine/bfin/Makefile.am: Ditto.
158 * libc/machine/cris/Makefile.am: Ditto.
159 * libc/machine/crx/Makefile.am: Ditto.
160 * libc/machine/d10v/Makefile.am: Ditto.
161 * libc/machine/d30v/Makefile.am: Ditto.
162 * libc/machine/fr30/Makefile.am: Ditto.
163 * libc/machine/frv/Makefile.am: Ditto.
164 * libc/machine/h8300/Makefile.am: Ditto.
165 * libc/machine/h8500/Makefile.am: Ditto.
166 * libc/machine/hppa/Makefile.am: Ditto.
167 * libc/machine/i386/Makefile.am: Ditto.
168 * libc/machine/i960/Makefile.am: Ditto.
169 * libc/machine/iq2000/Makefile.am: Ditto.
170 * libc/machine/m32c/Makefile.am: Ditto.
171 * libc/machine/m32r/Makefile.am: Ditto.
172 * libc/machine/m68hc11/Makefile.am: Ditto.
173 * libc/machine/m68k/Makefile.am: Ditto.
174 * libc/machine/m88k/Makefile.am: Ditto.
175 * libc/machine/mips/Makefile.am: Ditto.
176 * libc/machine/mn10200/Makefile.am: Ditto.
177 * libc/machine/mn10300/Makefile.am: Ditto.
178 * libc/machine/mt/Makefile.am: Ditto.
179 * libc/machine/necv70/Makefile.am: Ditto.
180 * libc/machine/powerpc/Makefile.am: Ditto.
181 * libc/machine/sh/Makefile.am: Ditto.
182 * libc/machine/sparc/Makefile.am: Ditto.
183 * libc/machine/spu/Makefile.am: Ditto.
184 * libc/machine/tic4x/Makefile.am: Ditto.
185 * libc/machine/tic80/Makefile.am: Ditto.
186 * libc/machine/v850/Makefile.am: Ditto.
187 * libc/machine/w65/Makefile.am: Ditto.
188 * libc/machine/xscale/Makefile.am: Ditto.
189 * libc/machine/xstormy16/Makefile.am: Ditto.
190 * libc/machine/z8k/Makefile.am: Ditto.
191 * libc/sys/Makefile.am: Ditto.
192 * libc/sys/a29khif/Makefile.am: Ditto.
193 * libc/sys/arc/Makefile.am: Ditto.
194 * libc/sys/arm/Makefile.am: Ditto.
195 * libc/sys/d10v/Makefile.am: Ditto.
196 * libc/sys/decstation/Makefile.am: Ditto.
197 * libc/sys/h8300hms/Makefile.am: Ditto.
198 * libc/sys/h8500hms/Makefile.am: Ditto.
199 * libc/sys/linux/Makefile.am: Ditto.
200 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
201 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
202 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
203 * libc/sys/linux/machine/Makefile.am: Ditto.
204 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
205 * libc/sys/m88kbug/Makefile.am: Ditto.
206 * libc/sys/mmixware/Makefile.am: Ditto.
207 * libc/sys/netware/Makefile.am: Ditto.
208 * libc/sys/rdos/Makefile.am: Ditto.
209 * libc/sys/rtems/Makefile.am: Ditto.
210 * libc/sys/sh/Makefile.am: Ditto.
211 * libc/sys/sparc64/Makefile.am: Ditto.
212 * libc/sys/sun4/Makefile.am: Ditto.
213 * libc/sys/sysmec/Makefile.am: Ditto.
214 * libc/sys/sysnec810/Makefile.am: Ditto.
215 * libc/sys/sysnecv850/Makefile.am: Ditto.
216 * libc/sys/sysvi386/Makefile.am: Ditto.
217 * libc/sys/sysvnecv70/Makefile.am: Ditto.
218 * libc/sys/tic80/Makefile.am: Ditto.
219 * libc/sys/w65/Makefile.am: Ditto.
220 * libc/sys/z8ksim/Makefile.am: Ditto.
221 * libm/Makefile.am: Ditto.
222 * libm/machine/Makefile.am: Ditto.
223 * libm/machine/i386/Makefile.am: Ditto.
224 * libm/machine/spu/Makefile.am: Ditto.
226 * aclocal.m4: Regenerate.
227 * iconvdata/aclocal.m4: Regenerate.
228 * libc/aclocal.m4: Regenerate.
229 * libc/machine/aclocal.m4: Regenerate.
230 * libc/machine/i386/aclocal.m4: Regenerate.
231 * libc/sys/aclocal.m4: Regenerate.
232 * libc/sys/linux/aclocal.m4: Regenerate.
233 * libc/sys/linux/linuxthreads/aclocal.m4: Regenerate.
234 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Regenerate.
235 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Regenerate.
236 * libc/sys/linux/machine/aclocal.m4: Regenerate.
237 * libc/sys/linux/machine/i386/aclocal.m4: Regenerate.
238 * libm/aclocal.m4: Regenerate.
239 * libm/machine/aclocal.m4: Regenerate.
240 * libm/machine/i386/aclocal.m4: Regenerate.
242 * Makefile.in: Regenerate.
243 * doc/Makefile.in: Regenerate.
244 * iconvdata/Makefile.in: Regenerate.
245 * libc/Makefile.in: Regenerate.
246 * libc/argz/Makefile.in: Regenerate.
247 * libc/ctype/Makefile.in: Regenerate.
248 * libc/errno/Makefile.in: Regenerate.
249 * libc/iconv/Makefile.in: Regenerate.
250 * libc/iconv/ccs/Makefile.in: Regenerate.
251 * libc/iconv/ccs/binary/Makefile.in: Regenerate.
252 * libc/iconv/ces/Makefile.in: Regenerate.
253 * libc/iconv/lib/Makefile.in: Regenerate.
254 * libc/locale/Makefile.in: Regenerate.
255 * libc/machine/Makefile.in: Regenerate.
256 * libc/machine/a29k/Makefile.in: Regenerate.
257 * libc/machine/arm/Makefile.in: Regenerate.
258 * libc/machine/bfin/Makefile.in: Regenerate.
259 * libc/machine/cris/Makefile.in: Regenerate.
260 * libc/machine/crx/Makefile.in: Regenerate.
261 * libc/machine/d10v/Makefile.in: Regenerate.
262 * libc/machine/d30v/Makefile.in: Regenerate.
263 * libc/machine/fr30/Makefile.in: Regenerate.
264 * libc/machine/frv/Makefile.in: Regenerate.
265 * libc/machine/h8300/Makefile.in: Regenerate.
266 * libc/machine/h8500/Makefile.in: Regenerate.
267 * libc/machine/hppa/Makefile.in: Regenerate.
268 * libc/machine/i386/Makefile.in: Regenerate.
269 * libc/machine/i960/Makefile.in: Regenerate.
270 * libc/machine/iq2000/Makefile.in: Regenerate.
271 * libc/machine/m32c/Makefile.in: Regenerate.
272 * libc/machine/m32r/Makefile.in: Regenerate.
273 * libc/machine/m68hc11/Makefile.in: Regenerate.
274 * libc/machine/m68k/Makefile.in: Regenerate.
275 * libc/machine/m88k/Makefile.in: Regenerate.
276 * libc/machine/mips/Makefile.in: Regenerate.
277 * libc/machine/mn10200/Makefile.in: Regenerate.
278 * libc/machine/mn10300/Makefile.in: Regenerate.
279 * libc/machine/mt/Makefile.in: Regenerate.
280 * libc/machine/necv70/Makefile.in: Regenerate.
281 * libc/machine/powerpc/Makefile.in: Regenerate.
282 * libc/machine/sh/Makefile.in: Regenerate.
283 * libc/machine/sparc/Makefile.in: Regenerate.
284 * libc/machine/spu/Makefile.in: Regenerate.
285 * libc/machine/tic4x/Makefile.in: Regenerate.
286 * libc/machine/tic80/Makefile.in: Regenerate.
287 * libc/machine/v850/Makefile.in: Regenerate.
288 * libc/machine/w65/Makefile.in: Regenerate.
289 * libc/machine/xscale/Makefile.in: Regenerate.
290 * libc/machine/xstormy16/Makefile.in: Regenerate.
291 * libc/machine/z8k/Makefile.in: Regenerate.
292 * libc/misc/Makefile.in: Regenerate.
293 * libc/posix/Makefile.in: Regenerate.
294 * libc/reent/Makefile.in: Regenerate.
295 * libc/search/Makefile.in: Regenerate.
296 * libc/signal/Makefile.in: Regenerate.
297 * libc/stdio/Makefile.in: Regenerate.
298 * libc/stdio64/Makefile.in: Regenerate.
299 * libc/stdlib/Makefile.in: Regenerate.
300 * libc/string/Makefile.in: Regenerate.
301 * libc/sys/Makefile.in: Regenerate.
302 * libc/sys/a29khif/Makefile.in: Regenerate.
303 * libc/sys/arc/Makefile.in: Regenerate.
304 * libc/sys/arm/Makefile.in: Regenerate.
305 * libc/sys/d10v/Makefile.in: Regenerate.
306 * libc/sys/decstation/Makefile.in: Regenerate.
307 * libc/sys/h8300hms/Makefile.in: Regenerate.
308 * libc/sys/h8500hms/Makefile.in: Regenerate.
309 * libc/sys/linux/Makefile.in: Regenerate.
310 * libc/sys/linux/argp/Makefile.in: Regenerate.
311 * libc/sys/linux/cmath/Makefile.in: Regenerate.
312 * libc/sys/linux/dl/Makefile.in: Regenerate.
313 * libc/sys/linux/iconv/Makefile.in: Regenerate.
314 * libc/sys/linux/intl/Makefile.in: Regenerate.
315 * libc/sys/linux/linuxthreads/Makefile.in: Regenerate.
316 * libc/sys/linux/linuxthreads/machine/Makefile.in: Regenerate.
317 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerate.
318 * libc/sys/linux/machine/Makefile.in: Regenerate.
319 * libc/sys/linux/machine/i386/Makefile.in: Regenerate.
320 * libc/sys/linux/net/Makefile.in: Regenerate.
321 * libc/sys/linux/stdlib/Makefile.in: Regenerate.
322 * libc/sys/m88kbug/Makefile.in: Regenerate.
323 * libc/sys/mmixware/Makefile.in: Regenerate.
324 * libc/sys/netware/Makefile.in: Regenerate.
325 * libc/sys/rdos/Makefile.in: Regenerate.
326 * libc/sys/rtems/Makefile.in: Regenerate.
327 * libc/sys/sh/Makefile.in: Regenerate.
328 * libc/sys/sparc64/Makefile.in: Regenerate.
329 * libc/sys/sun4/Makefile.in: Regenerate.
330 * libc/sys/sysmec/Makefile.in: Regenerate.
331 * libc/sys/sysnec810/Makefile.in: Regenerate.
332 * libc/sys/sysnecv850/Makefile.in: Regenerate.
333 * libc/sys/sysvi386/Makefile.in: Regenerate.
334 * libc/sys/sysvnecv70/Makefile.in: Regenerate.
335 * libc/sys/tic80/Makefile.in: Regenerate.
336 * libc/sys/w65/Makefile.in: Regenerate.
337 * libc/sys/z8ksim/Makefile.in: Regenerate.
338 * libc/syscalls/Makefile.in: Regenerate.
339 * libc/time/Makefile.in: Regenerate.
340 * libc/unix/Makefile.in: Regenerate.
341 * libm/Makefile.in: Regenerate.
342 * libm/common/Makefile.in: Regenerate.
343 * libm/machine/Makefile.in: Regenerate.
344 * libm/machine/i386/Makefile.in: Regenerate.
345 * libm/machine/spu/Makefile.in: Regenerate.
346 * libm/math/Makefile.in: Regenerate.
347 * libm/mathfp/Makefile.in: Regenerate.
349 * configure: Regenerate.
350 * iconvdata/configure: Regenerate.
351 * libc/configure: Regenerate.
352 * libc/machine/configure: Regenerate.
353 * libc/machine/i386/configure: Regenerate.
354 * libc/sys/configure: Regenerate.
355 * libc/sys/linux/configure: Regenerate.
356 * libc/sys/linux/linuxthreads/configure: Regenerate.
357 * libc/sys/linux/linuxthreads/machine/configure: Regenerate.
358 * libc/sys/linux/linuxthreads/machine/i386/configure: Regenerate.
359 * libc/sys/linux/machine/configure: Regenerate.
360 * libc/sys/linux/machine/i386/configure: Regenerate.
361 * libm/configure: Regenerate.
362 * libm/machine/configure: Regenerate.
363 * libm/machine/i386/configure: Regenerate.
365 2007-05-23 Eric Blake <ebb9@byu.net>
367 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
368 sizeof(void*) is 8 but sizeof(long) is 4.
369 * libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise. Fix %i scanning
370 of "-0x". Support "-nan" and "inf" for %e. Audit usage of ungetc
371 to fix reentrancy and bug on encoding error in multibyte locales.
372 Always return EOF on read error.
374 2007-05-23 Patrick Mansfield <patmans@us.ibm.com>
376 * libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
378 * libc/machine/spu/fclose.c: Use the __send_to_ppe return value
379 instead of the slot 0 value, remove any now unused variables, and
380 for some cases, now store the result in an int vs int*.
381 * libc/machine/spu/feof.c: Ditto.
382 * libc/machine/spu/ferror.c: Ditto.
383 * libc/machine/spu/fflush.c: Ditto.
384 * libc/machine/spu/fgetc.c: Ditto.
385 * libc/machine/spu/fgetpos.c: Ditto.
386 * libc/machine/spu/fgets.c: Ditto.
387 * libc/machine/spu/fileno.c: Ditto.
388 * libc/machine/spu/fopen.c: Ditto.
389 * libc/machine/spu/fprintf.c: Ditto.
390 * libc/machine/spu/fputc.c: Ditto.
391 * libc/machine/spu/fputs.c: Ditto.
392 * libc/machine/spu/fread.c: Ditto.
393 * libc/machine/spu/freopen.c: Ditto.
394 * libc/machine/spu/fscanf.c: Ditto.
395 * libc/machine/spu/fseek.c: Ditto.
396 * libc/machine/spu/fsetpos.c: Ditto.
397 * libc/machine/spu/ftell.c: Ditto.
398 * libc/machine/spu/fwrite.c: Ditto.
399 * libc/machine/spu/getc.c: Ditto.
400 * libc/machine/spu/getchar.c: Ditto.
401 * libc/machine/spu/gets.c: Ditto.
402 * libc/machine/spu/printf.c: Ditto.
403 * libc/machine/spu/putc.c: Ditto.
404 * libc/machine/spu/putchar.c: Ditto.
405 * libc/machine/spu/puts.c: Ditto.
406 * libc/machine/spu/remove.c: Ditto.
407 * libc/machine/spu/rename.c: Ditto.
408 * libc/machine/spu/scanf.c: Ditto.
409 * libc/machine/spu/setvbuf.c: Ditto.
410 * libc/machine/spu/snprintf.c: Ditto.
411 * libc/machine/spu/sprintf.c: Ditto.
412 * libc/machine/spu/sscanf.c: Ditto.
413 * libc/machine/spu/tmpfile.c: Ditto.
414 * libc/machine/spu/tmpnam.c: Ditto.
415 * libc/machine/spu/ungetc.c: Ditto.
416 * libc/machine/spu/vfprintf.c: Ditto.
417 * libc/machine/spu/vfscanf.c: Ditto.
418 * libc/machine/spu/vprintf.c: Ditto.
419 * libc/machine/spu/vscanf.c: Ditto.
420 * libc/machine/spu/vsnprintf.c: Ditto.
421 * libc/machine/spu/vsprintf.c: Ditto.
422 * libc/machine/spu/vsscanf.c: Ditto.
424 2007-05-23 Eric Blake <ebb9@byu.net>
426 * libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
427 Avoid warning when !FLOATING_POINT.
428 * libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS
431 2007-05-23 Corinna Vinschen <vinschen@redhat.com>
433 * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
435 * libc/include/argz.h: Guard against multiple inclusion. Guard for
438 2007-05-18 Eric Blake <ebb9@byu.net>
440 * libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
442 * libc/stdio/vfscanf.c: Likewise.
444 2007-05-17 Cary R. <cygcary <at> yahoo.com>
446 * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
447 (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
448 * libm/math/wf_atan2.c: Ditto.
450 2007-05-17 Yaakov Selkowitz <yselkowitz <at> users.sourceforge.net>
452 * libm/common/Makefile.am: Add support for exp10, exp10f,
453 pow10, and pow10f functions.
454 * libm/common/Makefile.in: Regenerated.
455 * libm/common/s_pow10.c: New file.
456 * libm/common/sf_pow10.c: Ditto.
457 * libm/common/s_exp10.c: Ditto.
458 * libm/common/sf_exp10.c: Ditto.
459 * libc/include/math.h [!pow10]: New pow10 prototype.
460 [!pow10f]: New pow10f prototype.
461 [!exp10]: New exp10 prototype.
462 [!exp10f]: New exp10f prototype.
464 2007-05-17 Charles Wilson <cygwin@...>
466 * stdio/tmpfile.c: Include <sys/stat.h>.
467 * stdio64/tmpfile64.c: Ditto.
469 2007-05-16 Eric Blake <ebb9@byu.net>
471 Close security hole in tmpfile.
472 * libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
473 generation and opening the fd.
474 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.
476 * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
477 (MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
479 * libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
480 avoid clash with <math.h>.
482 * libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
483 * libc/search/hash.c (__hash_open): Likewise.
485 2007-05-14 Eric Blake <ebb9@byu.net>
487 Reduce stack size of *printf.
488 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
489 in %f. Avoid malloc when possible for %S.
490 (BUF): Improve stack locality by using smaller size.
491 (MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
492 (exponent): Use smaller stack size.
494 2007-05-11 Eric Blake <ebb9@byu.net>
496 Minimize printf/scanf size on platforms that don't need C99.
497 * acconfig.h (_WANT_IO_C99_FORMATS): New macro.
498 * newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
499 * configure.in (newlib-io-c99-formats): New configure option.
500 (_WANT_IO_C99_FORMATS): Define appropriately.
501 * configure.host (*-linux*, cygwin): Default c99-formats to yes.
502 * libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
503 Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
504 * libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
506 * configure: Regenerate.
508 * libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
509 (get_arg): Support '%a' and '%A'.
511 2007-05-09 Eric Blake <ebb9@byu.net>
513 Allow zero size with non-null buf in *asnprintf.
514 * libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
516 * libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
517 * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
518 * libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.
520 2007-05-07 Charles Wilson <cygwin@...>
522 * libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
524 2007-05-03 Eric Blake <ebb9@byu.net>
526 Add support for asnprintf, and improve *printf documentation.
527 * libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
528 (ELIX_2_SOURCES): ...to this.
529 (ELIX_4_SOURCES): Add new variable. Build asnprintf.
530 (GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
531 (CHEWOUT_FILES): Include diprintf in documentation.
532 * libc/stdio/Makefile.in: Regenerate.
533 * libc/stdio/diprintf.c: Improve documentation.
534 * libc/stdio/dprintf.c: Likewise.
535 * libc/stdio/siprintf.c: Likewise.
536 * libc/stdio/sprintf.c: Likewise.
537 * libc/stdio/vfprintf.c: Likewise.
538 * libc/stdio/viprintf.c: Likewise.
539 * libc/stdio/vsniprintf.c: Consolidate documentation.
540 * libc/stdio/asiprintf.c: Refer to documentation.
541 * libc/stdio/asprintf.c: Likewise.
542 * libc/stdio/fiprintf.c: Likewise.
543 * libc/stdio/fprintf.c: Likewise.
544 * libc/stdio/iprintf.c: Likewise.
545 * libc/stdio/printf.c: Likewise.
546 * libc/stdio/sniprintf.c: Likewise.
547 * libc/stdio/vdiprintf.c: Likewise.
548 * libc/stdio/vdprintf.c: Likewise.
549 * libc/stdio/vsiprintf.c: Likewise.
550 * libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
551 * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
552 * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
553 * libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
555 * libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
556 * libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
558 * libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
559 * libc/include/stdio.h: Add prototypes for new functions; sort
562 2007-05-03 Kazu Hirata <kazu@codesourcery.com>
564 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
566 * libc/machine/m68k/Makefile.in: Regenerate.
567 * libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
568 * libc/machine/m68k/memset.S: Likewise.
570 2007-05-01 Eric Blake <ebb9@byu.net>
572 * libc/stdio64/local64.h: Delete, move contents to...
573 * libc/stdio/local.h: ...here.
574 * libc/stdio64/fdopen64.c: Update includes.
575 * libc/stdio64/fopen64.c: Likewise.
576 * libc/stdio64/freopen64.c: Likewise.
577 * libc/stdio64/fseeko64.c: Likewise.
578 * libc/stdio64/ftello64.c: Likewise.
579 * libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
580 and stderr with 64-bit offset.
581 * libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
582 * libc/stdio/makebuf.c (__smakebuf_r): Likewise.
583 * libc/stdio/mktemp.c (_gettemp): Likewise.
585 2007-05-01 Cary R. <cygcary <at> yahoo.com>
587 * libm/math/e_pow.c: Fix to be consistent with glibc with regards
588 to treatment of NaN and +-inf arguments.
589 * libm/math/ef_pow.c: Ditto.
590 * libm/math/w_pow.c: Ditto.
591 * libm/math/wf_pow.c: Ditto.
592 * libm/math/w_acos.c: Fix domain errors to return NaN.
593 * libm/math/w_asin.c: Ditto.
594 * libm/math/wf_acos.c: Ditto.
595 * libm/math/wf_asin.c: Ditto.
596 * libm/math/w_log.c: Fix to return NaN for negative number inputs.
597 * libm/math/wf_log.c: Ditto.
598 * libm/math/wf_log10.c: Ditto.
599 * libm/math/w_log10.c: Ditto.
601 2007-04-27 Jeff Johnston <jjohnstn@redhat.com>
603 * libc/machine/m68k/Makefile.am: Temporarily remove
604 memcpy.S and memset.S until logic can be confirmed for
605 !(__mcoldfile__) case.
606 * libc/machine/m68k/Makefile.in: Regenerated.
608 2007-04-27 Kazu Hirata <kazu@codesourcery.com>
610 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
612 * libc/machine/m68k/Makefile.in: Regenerate.
613 * libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.
615 2007-04-26 Patrick Mansfield <patmans@us.ibm.com>
617 * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
618 overridden via machine/ieeefp.h.
619 * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
620 macros for isnan and related macros.
621 * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
622 overridden via machine/ieeefp.h.
623 * libm/machine/spu/Makefile.am: Add new files.
624 * libm/machine/spu/Makefile.in: Autogenerate with new files.
625 * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
626 * libm/machine/spu/sf_finite.c: Add SPU specific finitef.
627 * libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
628 * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
629 * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
630 * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
631 * libm/machine/spu/sf_nan.c: Add SPU specific nanf.
633 2007-04-25 Jeff Johnston <jjohnstn@redhat.com>
635 * libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
636 * libm/common/sf_fpclassify.c: ...here. New file.
637 * libm/common/Makefile.am: Add sf_fpclassify.c.
638 * libm/common/Makefile.in: Regenerated.
640 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
642 * libc/machine/spu/sys/errno.h: New file, so spu errno values match
643 ppu linux values. This file is a copy of the cris/sys/errno.h plus
644 a few changes (see spu errno.h comments).
646 2007-04-25 Eric Blake <ebb9@byu.net>
648 * libc/stdio/vfprintf.c (get_arg): Support %1$lc. Simplify types
651 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
653 * libm/machine/spu/headers/feholdexcept.h: Use *envp not env so
654 we clear the proper bits in the fpscr, and don't set some random ones.
656 2007-04-24 Eric Blake <ebb9@byu.net>
658 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
661 * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
664 * libc/include/limits.h (NL_ARGMAX): Define a default value.
665 * libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
666 NL_ARGMAX, if present.
668 2007-04-23 Brian Dessent <brian@dessent.net>
670 * libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
671 has been specified with types 'f', 'F', 'g', or 'G', ensure the
672 trailing decimal is printed.
674 2007-04-23 Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
676 * confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
677 file. Override Autoconf-2.59's version of these macros with
678 fixed handling of multiple adjacent whitespace in arguments.
679 * aclocal.m4: Regenerated forcefully.
681 * Makefile.in: Ditto.
682 * libc/*Makefile.in: Ditto.
683 * libc/*aclocal.m4: Ditto.
684 * libc/*configure: Ditto.
685 * libm/*Makefile.in: Ditto.
686 * libm/*aclocal.m4: Ditto.
687 * libm/*configure: Ditto.
689 2007-04-23 Jeff Johnston <jjohnstn@redhat.com>
691 * libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
692 * libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
693 and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
694 * libc/sys/arc/Makefile.in: Regenerated.
696 2007-04-17 Brian Dessent <brian@dessent.net>
698 * libc/stdio/sscanf.c: Update documentation comments.
699 * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
701 2007-04-12 Eric Blake <ebb9@byu.net>
703 * libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
704 (chclass): Recognize 'F', 'X', 'n', and not 'W'.
705 (get_arg): Handle %1$F, %1$n.
707 2007-04-10 Eric Blake <ebb9@byu.net>
709 * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
712 2007-04-09 Eric Blake <ebb9@byu.net>
714 * libc/include/stdio.h: Add gcc format attributes to printf and
717 2007-04-09 Joel Schopp <jschopp@austin.ibm.com>
719 * libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
720 even if the passed in length n is shorter than the source string.
721 This matches both the non-spu specific and the glibc strxfrm
724 2007-04-04 Mark Mitchell <mark@codesourcery.com>
726 * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
727 functions registering additional atexit functions.
729 * testsuite/lib/flags.exp (newlib_include_flags): Drop
732 2007-04-04 Patrick Mansfield <patmans@us.ibm.com>
734 * libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
736 * libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
737 * libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
738 * libc/machine/spu/fclose.c: Ditto.
739 * libc/machine/spu/feof.c: Ditto.
740 * libc/machine/spu/ferror.c: Ditto.
741 * libc/machine/spu/fflush.c: Ditto.
742 * libc/machine/spu/fgetc.c: Ditto.
743 * libc/machine/spu/fgetpos.c: Ditto.
744 * libc/machine/spu/fgets.c: Ditto.
745 * libc/machine/spu/fileno.c: Ditto.
746 * libc/machine/spu/fopen.c: Ditto.
747 * libc/machine/spu/fprintf.c: Ditto.
748 * libc/machine/spu/fputc.c: Ditto.
749 * libc/machine/spu/fputs.c: Ditto.
750 * libc/machine/spu/fread.c: Ditto.
751 * libc/machine/spu/freopen.c: Ditto.
752 * libc/machine/spu/fscanf.c: Ditto.
753 * libc/machine/spu/fseek.c: Ditto.
754 * libc/machine/spu/fsetpos.c: Ditto.
755 * libc/machine/spu/ftell.c: Ditto.
756 * libc/machine/spu/fwrite.c: Ditto.
757 * libc/machine/spu/getc.c: Ditto.
758 * libc/machine/spu/getchar.c: Ditto.
759 * libc/machine/spu/gets.c: Ditto.
760 * libc/machine/spu/perror.c: Ditto.
761 * libc/machine/spu/printf.c: Ditto.
762 * libc/machine/spu/putc.c: Ditto.
763 * libc/machine/spu/putchar.c: Ditto.
764 * libc/machine/spu/puts.c: Ditto.
765 * libc/machine/spu/remove.c: Ditto.
766 * libc/machine/spu/rename.c: Ditto.
767 * libc/machine/spu/rewind.c: Ditto.
768 * libc/machine/spu/scanf.c: Ditto.
769 * libc/machine/spu/setbuf.c: Ditto.
770 * libc/machine/spu/setvbuf.c: Ditto.
771 * libc/machine/spu/snprintf.c: Ditto.
772 * libc/machine/spu/sprintf.c: Ditto.
773 * libc/machine/spu/sscanf.c: Ditto.
774 * libc/machine/spu/tmpfile.c: Ditto.
775 * libc/machine/spu/tmpnam.c: Ditto.
776 * libc/machine/spu/ungetc.c: Ditto.
777 * libc/machine/spu/vfprintf.c: Ditto.
778 * libc/machine/spu/vfscanf.c: Ditto.
779 * libc/machine/spu/vprintf.c: Ditto.
780 * libc/machine/spu/vscanf.c: Ditto.
781 * libc/machine/spu/vsnprintf.c: Ditto.
782 * libc/machine/spu/vsprintf.c: Ditto.
783 * libc/machine/spu/vsscanf.c: Ditto.
785 2007-04-04 Jeff Johnston <jjohnstn@redhat.com>
787 * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
789 2007-04-04 Eric Blake <ebb9@byu.net>
791 * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
792 (asiprintf): Avoid overhead.
793 * libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
794 (asprintf): Avoid overhead.
795 * libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
796 * libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
797 * libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
798 (fiprintf): Avoid overhead.
799 * libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
800 (fprintf): Avoid overhead.
801 * libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
802 (iprintf): Avoid overhead.
803 * libc/stdio/printf.c (_printf_r): Use _DEFUN.
804 (printf): Avoid overhead.
805 * libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
806 * libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
807 * libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
808 * libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
809 * libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
810 * libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
811 * libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
812 * libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
813 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
815 * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
816 (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
818 2007-03-30 Dave Korn <dave.korn@artimi.com>
820 * libc/include/stdio.h (_ELIDABLE_INLINE): New macro to conceal
821 conflicting inline semantics between C99 and GNU89.
822 (__sgetc_r): Replace static inline with _ELIDABLE_INLINE to be
823 compatible with -fkeep-inline-functions usage.
824 (__sputc_r): Likewise for consistency even though disabled.
826 2007-03-29 Nick Clifton <nickc@redhat.com>
828 Reflect changes made to generic vfprintf.c:
829 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
830 and add a "struct reent *" argument.
831 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
832 argument and call _VFPRINTF_R instead of VFPRINTF.
833 (_VFPRINTF_R): Add data pointer to call to cantwrite().
834 Fix uses of __sprint() and __sbprintf.
836 2007-03-20 Nick Clifton <nickc@redhat.com>
838 Reflect changes made to generic vfprintf.c:
839 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
840 and add a "struct reent *" argument.
841 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
842 argument and call _VFPRINTF_R instead of VFPRINTF.
843 (_VFPRINTF_R): Add data pointer to call to cantwrite().
844 Fix uses of __sprint() and __sbprintf.
846 2007-03-16 Charles Wilson <cygwin@...>
848 * libc/argz/argz_insert.c: "before" pointer is
849 invalid after *argz realloc. Compute offset
850 between "before" and *argz, and use it after
851 reallocation instead.
853 2007-03-16 Eric Blake <ebb9@byu.net>
855 * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
856 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
858 2007-03-15 Jeff Johnston <jjohnstn@redhat.com>
860 * configure.in: Add new --enable-newlib-reent-small option.
861 * configure: Regenerated.
862 * acconfig.h: Add _WANT_REENT_SMALL.
863 * newlib.hin: Regenerated minus PACKAGE macros to add
864 _WANT_REENT_SMALL macro.
865 * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
867 * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
869 * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
870 use reentrant pointer passed in when resetting the file
871 pointer to one of the std streams.
873 2007-03-15 Eric Blake <ebb9@byu.net>
875 * libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
876 (__smakebuf): Rename...
877 (__smakebuf_r): to this.
878 * libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
879 * libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
880 allocation, then rename...
881 (__smakebuf_r): ...to this and fix reentrancy.
882 * libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
883 allocation, then rename...
884 (__swsetup_r): ...to this and fix reentrancy.
885 * libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
886 * libc/stdio/refill.c (__srefill_r): Likewise.
887 * libc/stdio/fclose.c (_fclose_r): Likewise.
888 * libc/stdio/fread.c (_fread_r): Likewise.
889 * libc/stdio/freopen.c (_freopen_r): Likewise.
890 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
891 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
892 * libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
893 failed asprintf allocation, and fix reentrancy.
894 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
895 as required by POSIX.
896 * libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
897 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
898 * libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
900 2007-03-12 Eric Blake <ebb9@byu.net>
902 * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
903 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
904 allocation to caller.
905 * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
906 * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
907 * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
909 2007-02-23 Jeff Johnston <jjohnstn@redhat.com>
911 * libm/math/w_pow.c: Fix typo in documentation comment.
913 2007-02-21 Patrick Mansfield <patmans@us.ibm.com>
915 * libc/reent/timer.c: Removed (split into two new files).
916 * libc/reent/timesr.c: New file for _times_r.
917 * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
918 * reent/Makefile.in: Remove timer.c, add timesr.c and
920 * libc/reent/Makefile.am: Regenerate.
922 2007-02-20 Patrick Mansfield <patmans@us.ibm.com>
924 * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
926 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
928 * libc/machine/spu/Makefile.am: Add new objects.
929 * libc/machine/spu/Makefile.in: Regenerated.
930 * libc/machine/spu/fiprintf.c: New file. Add implementation of
931 integer-only version.
932 * libc/machine/spu/fiscanf.c: Ditto.
933 * libc/machine/spu/iprintf.c: Ditto.
934 * libc/machine/spu/iscanf.c: Ditto.
935 * libc/machine/spu/siprintf.c: Ditto.
936 * libc/machine/spu/siscanf.c: Ditto.
937 * libc/machine/spu/sniprintf.c: Ditto.
938 * libc/machine/spu/vfiprintf.c: Ditto.
939 * libc/machine/spu/vfiscanf.c: Ditto.
940 * libc/machine/spu/viprintf.c: Ditto.
941 * libc/machine/spu/viscanf.c: Ditto.
942 * libc/machine/spu/vsiprintf.c: Ditto.
943 * libc/machine/spu/vsiscanf.c: Ditto.
944 * libc/machine/spu/vsniprintf.c: Ditto.
945 * libc/machine/spu/fprintf.c: Add support for integer-only
947 * libc/machine/spu/fscanf.c: Ditto.
948 * libc/machine/spu/printf.c: Ditto.
949 * libc/machine/spu/scanf.c: Ditto.
950 * libc/machine/spu/snprintf.c: Ditto.
951 * libc/machine/spu/sprintf.c: Ditto.
952 * libc/machine/spu/sscanf.c: Ditto.
953 * libc/machine/spu/vfprintf.c: Ditto.
954 * libc/machine/spu/vfscanf.c: Ditto.
955 * libc/machine/spu/vprintf.c: Ditto.
956 * libc/machine/spu/vscanf.c: Ditto.
957 * libc/machine/spu/vsnprintf.c: Ditto.
958 * libc/machine/spu/vsprintf.c: Ditto.
959 * libc/machine/spu/vsscanf.c: Ditto.
961 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
963 * libc/include/stdio.h: Add declaration for vsiprintf.
965 2007-02-14 Patrick Mansfield <patmans@us.ibm.com>
967 Add a floating point environment for SPU (cell):
969 * configure.host: add libm_machine_dir=spu.
970 * libm/machine/configure: Add spu.
971 * libm/machine/configure.in: regenerated with spu added.
972 * libc/machine/spu/include/fenv.h: New file.
973 * libc/machine/spu/sys/fenv.h: Ditto.
974 * libm/machine/spu/Makefile.am: Ditto.
975 * libm/machine/spu/Makefile.in: Ditto.
976 * libm/machine/spu/aclocal.m4: Ditto.
977 * libm/machine/spu/configure: Ditto.
978 * libm/machine/spu/configure.in: Ditto.
979 * libm/machine/spu/fe_dfl_env.c: Ditto.
980 * libm/machine/spu/feclearexcept.c: Ditto.
981 * libm/machine/spu/fegetenv.c: Ditto.
982 * libm/machine/spu/fegetexceptflag.c: Ditto.
983 * libm/machine/spu/fegetround.c: Ditto.
984 * libm/machine/spu/feholdexcept.c: Ditto.
985 * libm/machine/spu/feraiseexcept.c: Ditto.
986 * libm/machine/spu/fesetenv.c: Ditto.
987 * libm/machine/spu/fesetexceptflag.c: Ditto.
988 * libm/machine/spu/fesetround.c: Ditto.
989 * libm/machine/spu/fetestexcept.c: Ditto.
990 * libm/machine/spu/feupdateenv.c: Ditto.
991 * libm/machine/spu/headers/feclearexcept.h: Ditto.
992 * libm/machine/spu/headers/fefpscr.h: Ditto.
993 * libm/machine/spu/headers/fegetenv.h: Ditto.
994 * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
995 * libm/machine/spu/headers/fegetround.h: Ditto.
996 * libm/machine/spu/headers/feholdexcept.h: Ditto.
997 * libm/machine/spu/headers/feraiseexcept.h: Ditto.
998 * libm/machine/spu/headers/fesetenv.h: Ditto.
999 * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
1000 * libm/machine/spu/headers/fesetround.h: Ditto.
1001 * libm/machine/spu/headers/fetestexcept.h: Ditto.
1002 * libm/machine/spu/headers/feupdateenv.h: Ditto.
1004 2007-02-14 Corinna Vinschen <corinna@vinschen.de>
1006 * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
1009 2007-02-08 Corinna Vinschen <corinna@vinschen.de>
1011 * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
1012 Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
1014 2007-02-07 Corinna Vinschen <corinna@vinschen.de>
1016 * libc/include/sys/features.h: Add definition of all supported
1017 _POSIX_xxx values for Cygwin.
1018 * libc/include/sys/types.h (pthread_rwlock_t): Omit definition
1020 (pthread_rwlockattr_t): Ditto.
1021 * libc/include/sys/unistd.h: Define all _SC_xxx values as
1022 required by SUSv3. Unify formatting.
1024 2007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
1026 * libc/include/sys/errno.h: Add ECANCELED.
1028 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
1029 Kazunori Asayama <asayama@sm.sony.co.jp>
1031 * libc/machine/spu/Makefile.am: Add objects.
1032 * libc/machine/spu/Makefile.in: Regenerated.
1033 * libc/machine/spu/vsscanf.c: New file. Add a stdio function
1035 * libc/machine/spu/snprintf.c: Ditto.
1036 * libc/machine/spu/sprintf.c: Ditto.
1037 * libc/machine/spu/sscanf.c: Ditto.
1038 * libc/machine/spu/remove.c: Ditto.
1039 * libc/machine/spu/rename.c: Ditto.
1040 * libc/machine/spu/tmpnam.c: Ditto.
1041 * libc/machine/spu/vsnprintf.c: Add initialization routine of
1043 * libc/machine/spu/vsprintf.c: Ditto.
1045 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
1046 Kazunori Asayama <asayama@sm.sony.co.jp>
1048 * configure.host: Enable SPU specific stdio directory.
1049 * libc/machine/spu/Makefile.am: Add objects.
1050 * libc/machine/spu/Makefile.in: Regenerated.
1051 * libc/machine/spu/c99ppe.h: Add macros and function
1052 declarations to initialize SPU specific stdio stuffs.
1053 * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
1054 specific FILE structures.
1055 * libc/machine/spu/perror.c: Add initialization routine of
1057 * libc/machine/spu/printf.c: Ditto.
1058 * libc/machine/spu/putchar.c: Ditto.
1059 * libc/machine/spu/puts.c: Ditto.
1060 * libc/machine/spu/vprintf.c: Ditto.
1061 * libc/machine/spu/clearerr.c: New file. Add a stdio function
1063 * libc/machine/spu/feof.c: Ditto.
1064 * libc/machine/spu/ferror.c: Ditto.
1065 * libc/machine/spu/fileno.c: Ditto.
1066 * libc/machine/spu/fopen.c: Ditto.
1067 * libc/machine/spu/fclose.c: Ditto.
1068 * libc/machine/spu/freopen.c: Ditto.
1069 * libc/machine/spu/fflush.c: Ditto.
1070 * libc/machine/spu/fseek.c: Ditto.
1071 * libc/machine/spu/ftell.c: Ditto.
1072 * libc/machine/spu/rewind.c: Ditto.
1073 * libc/machine/spu/fgetpos.c: Ditto.
1074 * libc/machine/spu/fsetpos.c: Ditto.
1075 * libc/machine/spu/fread.c: Ditto.
1076 * libc/machine/spu/fwrite.c: Ditto.
1077 * libc/machine/spu/getc.c: Ditto.
1078 * libc/machine/spu/getchar.c: Ditto.
1079 * libc/machine/spu/gets.c: Ditto.
1080 * libc/machine/spu/fgetc.c: Ditto.
1081 * libc/machine/spu/fgets.c: Ditto.
1082 * libc/machine/spu/ungetc.c: Ditto.
1083 * libc/machine/spu/putc.c: Ditto.
1084 * libc/machine/spu/fputc.c: Ditto.
1085 * libc/machine/spu/fputs.c: Ditto.
1086 * libc/machine/spu/vfprintf.c: Ditto.
1087 * libc/machine/spu/vfscanf.c: Ditto.
1088 * libc/machine/spu/fprintf.c: Ditto.
1089 * libc/machine/spu/fscanf.c: Ditto.
1090 * libc/machine/spu/scanf.c: Ditto.
1091 * libc/machine/spu/vscanf.c: Ditto.
1092 * libc/machine/spu/setbuf.c: Ditto.
1093 * libc/machine/spu/setvbuf.c: Ditto.
1094 * libc/machine/spu/tmpfile.c: Ditto.
1096 2007-02-01 Jeff Johnston <jjohnstn@redhat.com>
1098 * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
1099 * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
1100 around stdio macros that manipulate fields in the normal file
1102 * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
1103 <sys/custom_file.h> to define custom FILE structure.
1104 * libc/include/sys/custom_file.h: New default header file
1105 that generates error if not overridden when __CUSTOM_FILE_IO__ set.
1106 * libc/machine/spu/sys/custom_file.h: New file.
1108 2007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>
1110 * configure.host: Define stdio directory as a variable.
1111 * libc/Makefile.am: Define stdio related names
1113 * libc/configure.in: Add detection routine of stdio directory.
1114 * libc/Makefile.in: Regenerated.
1115 * libc/configure: Ditto.
1116 * libc/argz/Makefile.in: Ditto.
1117 * libc/ctype/Makefile.in: Ditto.
1118 * libc/errno/Makefile.in: Ditto.
1119 * libc/iconv/Makefile.in: Ditto.
1120 * libc/iconv/ccs/Makefile.in: Ditto.
1121 * libc/iconv/ccs/binary/Makefile.in: Ditto.
1122 * libc/iconv/ces/Makefile.in: Ditto.
1123 * libc/iconv/lib/Makefile.in: Ditto.
1124 * libc/locale/Makefile.in: Ditto.
1125 * libc/misc/Makefile.in: Ditto.
1126 * libc/posix/Makefile.in: Ditto.
1127 * libc/reent/Makefile.in: Ditto.
1128 * libc/search/Makefile.in: Ditto.
1129 * libc/signal/Makefile.in: Ditto.
1130 * libc/stdio/Makefile.in: Ditto.
1131 * libc/stdio64/Makefile.in: Ditto.
1132 * libc/stdlib/Makefile.in: Ditto.
1133 * libc/string/Makefile.in: Ditto.
1134 * libc/syscalls/Makefile.in: Ditto.
1135 * libc/time/Makefile.in: Ditto.
1136 * libc/unix/Makefile.in: Ditto.
1138 2007-01-30 Ben Elliston <bje@au.ibm.com>
1140 * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
1142 * libc/machine/spu/printf.c (c99_printf_t): Likewise.
1143 (printf): Pass fmt to va_start to suppress a warning.
1145 * libc/search/hash.c (init_hash): Make `info' parameter const.
1147 2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
1149 * libc/machine/spu/c99ppe.h: Replace vector with __vector.
1150 * libc/machine/spu/vec_literal.h: Ditto.
1151 * libc/machine/spu/strncmp.c: Ditto.
1153 2007-01-15 Joseph Myers <joseph@codesourcery.com>
1154 Kazu Hirata <kazu@codesourcery.com>
1156 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
1157 for E500V1 and E500V2.
1159 2007-01-11 Jeff Johnston <jjohnstn@redhat.com>
1161 * libm/configure.in: Always configure machine directory.
1162 * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
1164 * libm/configure: Regenerated.
1165 * libm/Makefile.in: Ditto.
1166 * libm/*/Makefile.in: Ditto.
1168 2007-01-05 Brian Ford <Brian.Ford@FlightSafety.com>
1170 * configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
1172 2007-01-02 Ben Elliston <bje@au.ibm.com>
1174 * doc/makedoc.c: Include <stdlib.h>.
1175 (malloc, realloc): Remove extern declarations.
1177 2005-12-18 Jeff Johnston <jjohnstn@redhat.com>
1179 * NEWS: Update with 1.15.0 info.
1181 * acinclude.m4: Change version number to 1.15.0.
1182 * aclocal.m4: Regenerated.
1184 * doc/aclocal.m4: Ditto.
1185 * doc/configure: Ditto.
1186 * libc/*/aclocal.m4: Ditto.
1187 * libc/*/configure: Ditto.
1188 * libc/libc.texinfo: Ditto.
1189 * libm/*/aclocal.m4: Ditto.
1190 * libm/*/configure: Ditto.
1191 * libm/libm.texinfo: Ditto.
1192 * libc/sys/linux/shared.ld: Add VERS_1.15.
1194 2006-12-18 Kazu Hirata <kazu@codesourcery.com>
1196 Merge from newlib-csl-20060320-branch:
1197 2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
1198 Kazu Hirata <kazu@codesourcery.com>
1200 * configure.host: Recognize fido.
1202 2006-12-18 Joel Schopp <jschopp@austin.ibm.com>
1204 * libc/machine/spu/c99ppe.h: New file
1205 * libc/machine/spu/perror.c: New file to override libc/stdio version.
1206 * libc/machine/spu/printf.c: New file
1207 * libc/machine/spu/putchar.c: New file
1208 * libc/machine/spu/puts.c: New file
1209 * libc/machine/spu/vprintf.c: New file
1210 * libc/machine/spu/vsnprintf.c: New file
1211 * libc/machine/spu/vsprintf.c: New file
1212 * libc/machine/spu/Makefile.am: Add new targets.
1213 * libc/machine/spu/Makefile.in: Regenerated.
1215 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
1217 * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
1218 * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
1220 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
1222 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
1223 2.6.5 version of Doug Lea's malloc which is the basis of
1226 2006-12-18 Kazunori Asayama <asayama@sm.sony.co.jp>
1228 * libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
1230 2006-12-14 Jeff Johnston <jjohnstn@redhat.com>
1231 Eric Blake <ebb9@byu.net>
1233 * libc/stdio/fflush.c (fflush): On seekable streams, always flush
1234 read but unused data.
1235 * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
1236 even read streams may have side effects that must happen.
1238 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
1240 * libc/machine/spu/setjmp.S: Fix to handle registers past 115
1243 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
1245 * libc/include/alloca.h: Add undef alloca to work with xlc.
1247 2006-12-12 Joel Schopp <jschopp@austin.ibm.com>
1249 * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
1252 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
1254 * libc/machine/spu/strncpy.c: Add padding.
1256 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
1258 * testsuite/newlib.string/tstring.c:
1260 2006-12-01 Kazunori Asayama <asayama@sm.sony.co.jp>
1262 * libc/machine/spu/strchr.c: Fix mask for misaligned string.
1263 * libc/machine/spu/strrchr.c: Ditto.
1265 2006-11-30 Lev Bishop <lev.bishop@gmail.com>
1267 * libc/include/math.h: Allow C99 functions/macros to be
1268 defined for C++ even when __STRICT_ANSI__.
1270 2006-11-29 Jeff Johnston <jjohnstn@redhat.com>
1272 * libc/stdio/makebuf.c (__smakebuf): If dealing with
1273 an asprintf-family buffer, make the default initial size 64.
1275 2006-11-29 Eric Blake <ebb9@byu.net>
1277 * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
1278 asprintf, as well as quadratic realloc behavior.
1280 2006-11-29 Kazunori Asayama <asayama@sm.sony.co.jpi
1282 * libc/machine/spu/memset.c: Fix type of explicit cast.
1283 * libc/machine/spu/strncmp.c: Add explicit cast.
1284 * libc/machine/spu/strrchr.c: Ditto.
1285 * libc/machine/spu/strspn.c: Ditto.
1287 2006-11-22 Luca Barbato <lu_zero@gentoo.org>
1289 * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
1290 * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
1291 * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
1292 * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
1293 * libc/machine/spu/strncat.c: Explicit cast.
1294 * libc/machine/spu/strncmp.c: Use spu_splats.
1295 * libc/machine/spu/strncpy.c: Explicit cast.
1296 * libc/machine/spu/strrchr.c: Use spu_splats.
1297 * libc/machine/spu/strspn.c: Use spu_splats.
1299 2006-11-15 Till Straumann <strauman@slac.stanford.edu>
1301 * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
1303 2006-11-14 Eric Blake <ebb9@byu.net>
1305 * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
1306 (chclass): ' is a flag. j, t, and z are modifiers.
1308 2006-11-08 Jie Zhang <jie.zhang@analog.com>
1310 * configure.host: Add support for bfin.
1311 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
1312 * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
1313 * libc/machine/bfin/aclocal.m4: Generate.
1314 * libc/machine/bfin/configure.in: New.
1315 * libc/machine/bfin/configure: Generate.
1316 * libc/machine/bfin/Makefile.am: New.
1317 * libc/machine/bfin/Makefile.in: Generate.
1318 * libc/machine/bfin/setjmp.S: New.
1319 * libc/machine/bfin/longjmp.S: New.
1320 * libc/machine/configure.in: Add bfin support.
1321 * libc/machine/configure: Generate.
1323 2006-11-07 Corinna Vinschen <corinna@vinschen.de>
1325 * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
1326 (_PC_FILESIZEBITS): Add definition.
1327 (_PC_2_SYMLINKS): Ditto.
1328 (_PC_SYMLINK_MAX): Ditto.
1330 2006-10-27 Joel Schopp <jschopp@austin.ibm.com>
1332 * libc/machine/spu/memcpy.c: Override generic function with vectorized
1333 version optimized for the cell spu.
1334 * libc/machine/spu/memmove.c: Ditto.
1335 * libc/machine/spu/memset.c: Ditto.
1336 * libc/machine/spu/strcat.c: Ditto.
1337 * libc/machine/spu/strchr.c: Ditto.
1338 * libc/machine/spu/strcmp.c: Ditto.
1339 * libc/machine/spu/strcpy.c: Ditto.
1340 * libc/machine/spu/strcspn.c: Ditto.
1341 * libc/machine/spu/strlen.c: Ditto.
1342 * libc/machine/spu/strncat.c: Ditto.
1343 * libc/machine/spu/strncmp.c: Ditto.
1344 * libc/machine/spu/strncpy.c: Ditto.
1345 * libc/machine/spu/strpbrk.c: Ditto.
1346 * libc/machine/spu/strrchr.c: Ditto.
1347 * libc/machine/spu/strspn.c: Ditto.
1348 * libc/machine/spu/strxfrm.c: Ditto.
1349 * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
1350 removing altivec style initializers.
1351 * libc/machine/spu/Makefile.am: Add new files to list so they build
1352 * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
1354 2006-10-27 Jeff Johnston <jjohnstn@redhat.com>
1356 * README: Add a brief section on how to regenerate
1357 configuration files in newlib.
1359 2006-10-25 Vladimir Prus <vladimir@codesourcery.com>
1361 * libc/include/math.h: (exception): Add a comment
1362 telling fixincludes that we handle C vs. C++ issue.
1364 2006-10-11 Yang Tse <yangsita@gmail.com>
1366 * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
1369 2006-10-11 Corinna Vinschen <corinna@vinschen.de>
1371 * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
1373 2006-09-26 Jeff Johnston <jjohnstn@redhat.com>
1375 * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
1376 for clearerr, feof, or fileno.
1377 * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
1378 the dummy std stream scheme to use pointers to const external
1379 fake files, one for each standard stream.
1380 * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
1381 argument. For _REENT_SMALL, reset the file pointer if it
1382 matches one of the fake std stream pointers.
1383 * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
1385 * libc/stdio/fclose.c: Ditto.
1386 * libc/stdio/feof.c: Ditto.
1387 * libc/stdio/ferror.c: Ditto.
1388 * libc/stdio/fflush.c: Ditto.
1389 * libc/stdio/fgetc.c: Ditto.
1390 * libc/stdio/fgets.c: Ditto.
1391 * libc/stdio/fileno.c: Ditto.
1392 * libc/stdio/findfp.c: Ditto.
1393 * libc/stdio/fputc.c: Ditto.
1394 * libc/stdio/fputs.c: Ditto.
1395 * libc/stdio/fread.c: Ditto.
1396 * libc/stdio/freopen.c: Ditto.
1397 * libc/stdio/fseek.c: Ditto.
1398 * libc/stdio/ftell.c: Ditto.
1399 * libc/stdio/fwrite.c: Ditto.
1400 * libc/stdio/getc.c: Ditto.
1401 * libc/stdio/getdelim.c: Ditto.
1402 * libc/stdio/putc.c: Ditto.
1403 * libc/stdio/refill.c: Ditto.
1404 * libc/stdio/setvbuf.c: Ditto.
1405 * libc/stdio/ungetc.c: Ditto.
1406 * libc/stdio/vfprintf.c: Ditto.
1407 * libc/stdio/vfscanf.c: Ditto.
1408 * libc/stdio/wbuf.c: Ditto.: Ditto.
1409 * libc/stdio/wsetup.c: Ditto.
1410 * libc/stdio64/freopen64.c: Ditto.
1411 * libc/stdio64/fseeko64.c: Ditto.
1412 * libc/stdio64/ftello64.c: Ditto.
1413 * libc/machine/powerpc/vfprintf.c: Ditto.
1414 * libc/machine/powerpc/vfscanf.c: Ditto.
1416 2006-09-22 Paul Brook <paul@codesourcery.com>
1418 * libc/include/sys/reent.h: Define and use __reent_assert.
1420 2006-09-13 Joel Sherrill <joel@oarcorp.com>
1422 * libc/include/pthread.h: Add pthread barriers,
1423 rwlocks, and spinlocks. Change const to
1424 _CONST and prefix parameter names with
1426 * libc/include/sys/types.h: Add id and attribute
1427 types for barriers, wrlocks, and spinlocks.
1428 * libc/include/sys/features.h: Enable barriers,
1429 wrlocks, and spinlocks for RTEMS.
1431 2006-09-13 Patrick Mansfield <patmans@us.ibm.com>
1433 * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
1434 supposed to be writable.
1435 * libm/common/s_lib_ver.c: Ditto.
1437 2006-09-12 Paul Brook <paul@codesourcery.com>
1439 * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
1441 2006-09-07 Masaki Muranaka <monaka@monami-software.com>
1444 * libc/machine/xstormy16/Makefile.am:
1445 Add $(lpfx) prefix to LIBADD objects.
1446 lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
1447 * libc/machine/xstormy16/Makefile.in: Regenerated.
1449 2006-09-06 Eric Blake <ebb9@byu.net>
1451 * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
1452 't', and 'z' modifiers.
1454 2006-09-01 Kazu Hirata <kazu@codesourcery.com>
1456 Merge from newlib-csl-20060320-branch:
1457 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
1459 * configure.host: Tell it we have _rename and _system when
1460 building m68k-unknown-elf.
1462 2006-08-29 Paul Brook <paul@codesourcery.com>
1464 * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
1466 2006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
1468 * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
1469 BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
1470 This is needed to build all AVR and H8300 RTEMS multilib variants.
1472 2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
1474 * libc/machine/configure.in: Add configuration for SPU.
1475 * libc/machine/configure: Regenerated.
1476 * libc/machine/spu/memcpy.c: Include string.h.
1478 2006-08-22 Eric Blake <ebb9@byu.net>
1480 * libc/posix/popen.c (popen): Don't close output end of pipe in
1481 child if stdout was closed on entry.
1482 [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
1484 2006-08-19 Ramana Radhakrishnan <ramana.r@gmail.com>
1486 * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
1489 2006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
1491 * libc/time/gmtime.c: Correct man page; clock is not a
1492 local time and no conversion occurs.
1494 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
1496 * configure.host (newlib_cflags) [spu]: Add special compiler
1497 options to reduce size.
1499 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
1501 * configure.host: Add spu support.
1502 * libc/include/stdint.h: Ditto.
1503 * libc/include/machine/ieeefp.h: Ditto.
1504 * libc/include/machine/setjmp.h: Ditto.
1505 * libc/include/sys/config.h: Ditto.
1506 * libc/include/sys/types.h: Ditto.
1507 * libc/machine/spu/Makefile.am: New file.
1508 * libc/machine/spu/Makefile.in: Ditto.
1509 * libc/machine/spu/aclocal.m4: Ditto.
1510 * libc/machine/spu/configure: Ditto.
1511 * libc/machine/spu/configure.in: Ditto.
1512 * libc/machine/spu/memcpy.c: Ditto.
1513 * libc/machine/spu/setjmp.S: Ditto.
1515 2006-08-03 J"orn Rennecke <joern.rennecke@st.com>
1517 * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
1520 2006-08-01 Jeff Johnston <jjohnstn@redhat.com>
1522 * libc/Makefile.am: Add libc_TEXINFOS dependency on
1523 generated .texi files.
1524 * libm/Makefile.am: Add libm_TEXINFOS dependency on
1525 generated .texi files.
1526 * libc/Makefile.in: Regenerated.
1527 * libm/Makefile.in: Ditto.
1529 2006-08-01 Thiemo Seufer <ths@mips.com>
1530 Nigel Stephens <nigel@mips.com>
1532 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
1533 define this to force _impure_ptr to live in the .sdata section.
1535 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
1537 * acinclude.m4: Check for readelf tool.
1538 * configure.in: Use ${READELF} instead of hard-coding.
1539 * Regenerate all aclocal.m4, Makefile.in, and configure files.
1541 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
1543 * libc/sys/linux/mmap.c: Remove include of sys/mman.h
1544 to avoid conflict with newer glibc's revision of mremap.
1546 2006-07-05 Jeff Johnston <jjohnstn@redhat.com>
1548 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
1549 floating-point format support. Also redefine
1550 dword0 and dword1 macros.
1551 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
1552 to prevent setting dword1 which is an rvalue only.
1554 2006-06-22 Jeff Johnston <jjohnstn@redhat.com>
1556 * libc/stdlib/Makefile.am: Add new gdtoa routines.
1557 * libc/stdlib/Makefile.in: Regenerated.
1558 * libc/stdlib/gd_qnan.h: New file.
1559 * libc/stdlib/gdtoa-gethex.c: Ditto.
1560 * libc/stdlib/gdtoa-hexnan.c: Ditto.
1561 * libc/stdlib/gdtoa.h: Ditto.
1562 * libc/stdlib/mprec.c: Add new helper routines needed by
1564 * libc/stdlib/mprec.h: Integrate some defines and prototypes
1565 used by gdtoa routines here.
1566 * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
1567 which adds C99 support such as nan, inf, and hexadecimal input
1570 2006-06-15 Corinna Vinschen <corinna@vinschen.de>
1572 * libc/include/stdio.h (__sgetc_r): Fix typo.
1573 * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
1574 * libc/stdio/rget.c (__srbuf): Reinstantiate.
1575 * libc/stdio/wbuf.c (__swbuf): Ditto.
1577 2006-06-14 Jeff Johnston <jjohnstn@redhat.com>
1579 * libc/include/stdio.h: Add new reentrant I/O prototypes for
1580 read/write functions. Change getc/putc macros to have reentrant underlying
1581 macros/functions. This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
1582 * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
1583 new reentrant I/O functions/macros for reading/writing.
1584 * libc/stdio/fgets.c: Ditto.
1585 * libc/stdio/fputc.c: Ditto.
1586 * libc/stdio/fputs.c: Ditto.
1587 * libc/stdio/fread.c: Ditto.
1588 * libc/stdio/fseek.c: Ditto.
1589 * libc/stdio64/fseeko64.c: Ditto.
1590 * libc/stdio/fwrite.c: Ditto.
1591 * libc/stdio/getc.c: Ditto.
1592 * libc/stdio/getc_u.c: Ditto.
1593 * libc/stdio/getchar.c: Ditto.
1594 * libc/stdio/getchar_u.c: Ditto.
1595 * libc/stdio/putc.c: Ditto.
1596 * libc/stdio/putc_u.c: Ditto.
1597 * libc/stdio/putchar.c: Ditto.
1598 * libc/stdio/puts.c: Ditto.
1599 * libc/stdio/vfprintf.c: Ditto.
1600 * libc/stdio/vfscanf.c: Ditto.
1601 * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
1602 Change all previous callers of __sfvwrite. Set errno to EBADF and
1603 set error flag on if attempt is made to write to file that does not
1605 * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
1606 * libc/stdio/local.h: Ditto.
1607 * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
1608 Set errno to EBADF and the error flag on if attempt is made to
1609 read unreadable file. Change all previous callers of __srefill.
1611 * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r. Change
1612 all previous callers of __swbuf.
1613 * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
1614 huge value macros are already defined correctly for i386 by <math.h>.
1616 2006-06-13 Sandra Loosemore <sandra@codesourcery.com>
1618 * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
1619 Make them do something useful in the ARM_RDI_MONITOR case.
1621 2006-06-07 Fred Fish <fnf@specifix.com>
1623 * libc/search/hash_bigkey.c (MIN,MAX): Remove
1624 defines that are already supplied by <sys/param.h>.
1626 2006-06-07 Fred Fish <fnf@specifix.com>
1628 * configure.host: Remove references to HAVE_GETTIMEOFDAY.
1630 2006-06-05 Shaun Jackman <sjackman@gmail.com>
1632 * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
1634 * libc/posix/Makefile.in: Regenerate.
1635 * libc/posix/sleep.c: New file.
1636 * libc/posix/usleep.c: Ditto.
1638 2006-06-05 Shaun Jackman <sjackman@gmail.com>
1640 * configure.host (newlib_cflags) [arm, thumb, xscale]: Remove
1641 -DABORT_PROVIDED flag.
1642 * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
1643 * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
1645 2006-06-05 Jeff Johnston <jjohnstn@redhat.com>
1647 * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
1648 * Makefile.in: Regenerated.
1649 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
1650 extraneous CFLAGS reference now that CCASFLAGS are being extended
1651 properly via multilib.
1652 * libc/machine/sh/Makefile.in: Regenerated.
1654 2006-06-02 Shaun Jackman <sjackman@gmail.com>
1656 * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
1659 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
1661 * libc/misc/dprintf.c: Removed.
1662 * libc/misc/__dprintf.c: Renamed from dprintf.c.
1663 * libc/misc/Makefile.am: Changed appropriately for rename.
1664 * libc/misc/Makefile.in: Regenerated.
1666 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
1668 * libc/include/stdio.h: Protect dprintf prototype
1669 with #ifndef dprintf so as to not interfere with
1670 historical code defining their own dprintf macro.
1672 2006-05-18 Jeff Johnston <jjohnstn@redhat.com>
1674 * libc/include/stdio.h: Add prototypes for fiscanf,
1675 iscanf, and siscanf.
1677 2006-05-11 J"orn Rennecke <joern.rennecke@st.com>
1679 * acinclude.m4 (_NEWLIB_VERSION): Rename to:
1680 (DEF_NEWLIB_VERSION).
1681 * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
1682 * configure: Regenerate.
1684 2006-05-09 Jeff Johnston <jjohnstn@redhat.com>
1686 * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
1688 * libc/ctype/Makefile.in: Regenerated.
1690 2006-05-09 Kazu Hirata <kazu@codesourcery.com>
1692 * libc/machine/arm/Makefile.am: Fix a typo.
1693 * libc/machine/arm/Makefile.in: Regenerated.
1695 2006-05-08 J"orn Rennecke <joern.rennecke@st.com>
1697 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
1698 * libc/machine/sh/Makefile.in: Regenerate.
1700 2006-05-03 J"orn Rennecke <joern.rennecke@st.com>
1702 * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
1703 * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
1705 2006-05-02 Jeff Johnston <jjohnstn@redhat.com>
1707 * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
1709 * libc/sys/sysnec810/Makefile.in: Regenerated.
1710 * libc/sys/sysnec810/crt0.S: Renamed from .s file.
1711 * libc/sys/sysnec810/io.S: Ditto.
1712 * libc/sys/sysnec810/crt0.s: Renamed to .S file.
1713 * libc/sys/sysnec810/io.s: Ditto.
1715 2006-05-01 Jeff Johnston <jjohnstn@redhat.com>
1717 * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx). If source file can
1718 be specified instead of object, do so.
1719 * libc/ctype/Makefile.am: Ditto.
1720 * libc/iconv/ccs/Makefile.am: Ditto.
1721 * libc/iconv/ces/Makefile.am: Ditto.
1722 * libc/iconv/lib/Makefile.am: Ditto.
1723 * libc/locale/Makefile.am: Ditto.
1724 * libc/posix/Makefile.am: Ditto.
1725 * libc/reent/Makefile.am: Ditto.
1726 * libc/search/Makefile.am: Ditto.
1727 * libc/stdio/Makefile.am: Ditto.
1728 * libc/stdio64/Makefile.am: Ditto.
1729 * libc/stdlib/Makefile.am: Ditto.
1730 * libc/string/Makefile.am: Ditto.
1731 * libc/syscalls/Makefile.am: Ditto.
1732 * libc/unix/Makefile.am: Ditto.
1733 * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
1734 prefix added automatically. Any specified rules must use $(lpfx) for
1736 * libc/machine/arm/Makefile.am: Ditto.
1737 * libc/machine/cris/Makefile.am: Ditto.
1738 * libc/machine/crx/Makefile.am: Ditto.
1739 * libc/machine/d10v/Makefile.am: Ditto.
1740 * libc/machine/d30v/Makefile.am: Ditto.
1741 * libc/machine/fr30/Makefile.am: Ditto.
1742 * libc/machine/frv/Makefile.am: Ditto.
1743 * libc/machine/h8300/Makefile.am: Ditto.
1744 * libc/machine/h8500/Makefile.am: Ditto.
1745 * libc/machine/hppa/Makefile.am: Ditto.
1746 * libc/machine/i386/Makefile.am: Ditto.
1747 * libc/machine/i960/Makefile.am: Ditto.
1748 * libc/machine/iq2000/Makefile.am: Ditto.
1749 * libc/machine/m32c/Makefile.am: Ditto.
1750 * libc/machine/m32r/Makefile.am: Ditto.
1751 * libc/machine/m68hc11/Makefile.am: Ditto.
1752 * libc/machine/m68k/Makefile.am: Ditto.
1753 * libc/machine/m88k/Makefile.am: Ditto.
1754 * libc/machine/mips/Makefile.am: Ditto.
1755 * libc/machine/mn10200/Makefile.am: Ditto.
1756 * libc/machine/mn10300/Makefile.am: Ditto.
1757 * libc/machine/mt/Makefile.am: Ditto.
1758 * libc/machine/necv70/Makefile.am: Ditto.
1759 * libc/machine/powerpc/Makefile.am: Ditto.
1760 * libc/machine/sh/Makefile.am: Ditto.
1761 * libc/machine/sh/Makefile.in: Ditto.
1762 * libc/machine/sparc/Makefile.am: Ditto.
1763 * libc/machine/tic4x/Makefile.am: Ditto.
1764 * libc/machine/tic80/Makefile.am: Ditto.
1765 * libc/machine/v850/Makefile.am: Ditto.
1766 * libc/machine/w65/Makefile.am: Ditto.
1767 * libc/machine/xscale/Makefile.am: Ditto.
1768 * libc/machine/xstormy16/Makefile.am: Ditto.
1769 * libc/machine/z8k/Makefile.am: Ditto.
1770 * libc/sys/a29khif/Makefile.am: Ditto.
1771 * libc/sys/arm/Makefile.am: Ditto.
1772 * libc/sys/d10v/Makefile.am: Ditto.
1773 * libc/sys/h8300hms/Makefile.am: Ditto.
1774 * libc/sys/h8500hms/Makefile.am: Ditto.
1775 * libc/sys/linux/Makefile.am: Ditto.
1776 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
1777 * libc/sys/linux/net/Makefile.am: Ditto.
1778 * libc/sys/linux/stdlib/Makefile.am: Ditto.
1779 * libc/sys/m88kbug/Makefile.am: Ditto.
1780 * libc/sys/mmixware/Makefile.am: Ditto.
1781 * libc/sys/rdos/Makefile.am: Ditto.
1782 * libc/sys/rtems/Makefile.am: Ditto.
1783 * libc/sys/sh/Makefile.am: Ditto.
1784 * libc/sys/sun4/Makefile.am: Ditto.
1785 * libc/sys/sysmec/Makefile.am: Ditto.
1786 * libc/sys/sysnec810/Makefile.am: Ditto.
1787 * libc/sys/sysnecv850/Makefile.am: Ditto.
1788 * libc/sys/sysvi386/Makefile.am: Ditto.
1789 * libc/sys/sysvnecv70/Makefile.am: Ditto.
1790 * libc/sys/tic80/Makefile.am: Ditto.
1791 * libc/sys/w65/Makefile.am: Ditto.
1792 * libc/sys/z8ksim/Makefile.am: Ditto.
1793 * libc/machine/necv70/fastmath.S: Renamed from .s file.
1794 * libc/machine/necv70/setjmp.S: Ditto.
1795 * libc/machine/necv70/fastmath.s: Removed.
1796 * libc/machine/necv70/setjmp.s: Ditto.
1797 * libc/machine/w65/*.S: New files renamed from .s files.
1798 * libc/machine/w65/*.s: Renamed and removed.
1799 * libc/sys/a29khif/*.S: New files renamed from .s files.
1800 * libc/sys/a29khif/*.s: Renamed and removed.
1801 * libc/sys/sysvi386/*.S: New files renamed from .s files.
1802 * libc/sys/sysvi386/*.s: Renamed and removed.
1803 * libc/sys/sysvnecv70/*.S: New files renamed from .s files.
1804 * libc/sys/sysvnecv70/*.s: Renamed and removed.
1805 * libc/*Makefile.in: Regenerated as appropriate.
1807 2006-04-24 DJ Delorie <dj@redhat.com>
1809 * libc/machine/sh/configure.in: Avoid link tests.
1810 * libc/machine/sh/configure: Regenerate.
1812 2006-04-18 Jeff Johnston <jjohnstn@redhat.com>
1814 * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
1815 (sigaddset, sigemptyset): Add return code.
1817 2006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
1819 * acinclude.m4: New _NEWLIB_VERSION.
1820 * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
1821 Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
1822 Use new form of AC_INIT_AUTOMAKE.
1823 * configure.in: AC_PREREQ(2.59).
1824 Use autoconf-2.5.x version of AC_INIT.
1825 Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
1826 autoconf-2.13's AC_OUTPUT.
1827 * libm/configure.in: Ditto.
1828 * libm/machine/configure.in: Ditto.
1829 * libm/machine/i386/configure.in: Ditto.
1830 * libc/configure.in: Ditto.
1831 * libc/machine/a29k/configure.in: Ditto.
1832 * libc/machine/arm/configure.in: Ditto.
1833 * libc/machine/configure.in: Ditto.
1834 * libc/machine/mn10300/configure.in: Ditto.
1835 * libc/machine/powerpc/configure.in: Ditto.
1836 * libc/machine/z8k/configure.in: Ditto.
1837 * libc/machine/h8300/configure.in: Ditto.
1838 * libc/machine/mips/configure.in: Ditto.
1839 * libc/machine/crx/configure.in: Ditto.
1840 * libc/machine/m68hc11/configure.in: Ditto.
1841 * libc/machine/h8500/configure.in: Ditto.
1842 * libc/machine/xscale/configure.in: Ditto.
1843 * libc/machine/d10v/configure.in: Ditto.
1844 * libc/machine/fr30/configure.in: Ditto.
1845 * libc/machine/sh/configure.in: Ditto.
1846 * libc/machine/tic80/configure.in: Ditto.
1847 * libc/machine/m32r/configure.in: Ditto.
1848 * libc/machine/xstormy16/configure.in: Ditto.
1849 * libc/machine/i386/configure.in: Ditto.
1850 * libc/machine/d30v/configure.in: Ditto.
1851 * libc/machine/mn10200/configure.in: Ditto.
1852 * libc/machine/frv/configure.in: Ditto.
1853 * libc/machine/mt/configure.in: Ditto.
1854 * libc/machine/i960/configure.in: Ditto.
1855 * libc/machine/v850/configure.in: Ditto.
1856 * libc/machine/necv70/configure.in: Ditto.
1857 * libc/machine/tic4x/configure.in: Ditto.
1858 * libc/machine/cris/configure.in: Ditto.
1859 * libc/machine/m68k/configure.in: Ditto.
1860 * libc/machine/m32c/configure.in: Ditto.
1861 * libc/machine/hppa/configure.in: Ditto.
1862 * libc/machine/w65/configure.in: Ditto.
1863 * libc/machine/iq2000/configure.in: Ditto.
1864 * libc/machine/sparc/configure.in: Ditto.
1865 * libc/machine/m88k/configure.in: Ditto.
1866 * libc/sys/linux/configure.in: Ditto.
1867 * libc/sys/linux/machine/configure.in: Ditto.
1868 * libc/sys/linux/machine/i386/configure.in: Ditto.
1869 * libc/sys/linux/linuxthreads/configure.in: Ditto.
1870 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
1871 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
1872 * libc/sys/arm/configure.in: Ditto.
1873 * libc/sys/configure.in: Ditto.
1874 * libc/sys/decstation/configure.in: Ditto.
1875 * libc/sys/a29khif/configure.in: Ditto.
1876 * libc/sys/sysnecv850/configure.in: Ditto.
1877 * libc/sys/d10v/configure.in: Ditto.
1878 * libc/sys/netware/configure.in: Ditto.
1879 * libc/sys/mmixware/configure.in: Ditto.
1880 * libc/sys/h8500hms/configure.in: Ditto.
1881 * libc/sys/sh/configure.in: Ditto.
1882 * libc/sys/tic80/configure.in: Ditto.
1883 * libc/sys/rdos/configure.in: Ditto.
1884 * libc/sys/sysmec/configure.in: Ditto.
1885 * libc/sys/sysvi386/configure.in: Ditto.
1886 * libc/sys/h8300hms/configure.in: Ditto.
1887 * libc/sys/sparc64/configure.in: Ditto.
1888 * libc/sys/arc/configure.in: Ditto.
1889 * libc/sys/sysnec810/configure.in: Ditto.
1890 * libc/sys/m88kbug/configure.in: Ditto.
1891 * libc/sys/sysvnecv70/configure.in: Ditto.
1892 * libc/sys/z8ksim/configure.in: Ditto.
1893 * libc/sys/rtems/configure.in: Ditto.
1894 * libc/sys/w65/configure.in: Ditto.
1895 * libc/sys/sun4/configure.in: Ditto.
1896 * doc/configure.in: Ditto.
1897 * iconvdata/configure.in: Ditto.
1898 * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
1900 2006-04-11 Jeff Johnston <jjohnstn@redhat.com>
1902 * acinclude.m4: Properly add square brackets for
1903 AC_DEFUN macros. Rewrite LIB_AC_PROG_CC to remove
1904 macros no longer available. Add LIB_AM_PROG_AS to
1905 remove prereq of AC_PROG_CC. Add LIB_AC_PROG_CC_GNU
1906 macro. Substitute lpfx (library object prefix).
1907 * configure.host: Set lpfx depending on whether
1908 libtool is used or not.
1909 * configure.in: Individually specify libc and libm
1910 to AC_CONFIG_SUBDIRS. Add square bracket quoting as
1912 * Makefile.am: Use $(lpfx) to get object names for
1913 math-library functions that should also be in libc.
1914 * libc/machine/configure.in: Use case statement to determine
1915 AC_CONFIG_SUBDIRS statement.
1916 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
1917 * libc/sys/linux/machine/configure.in: Ditto.
1918 * libc/sys/configure.in: Ditto.
1919 * libm/machine/configure.in: Ditto.
1920 * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
1921 * libm/configure.in: Add AM_CONDITIONAL statement
1922 for HAVE_LIBM_MACHINE_DIR.
1923 * libc/machine/a29k/Makefile.am: Modified to work with
1924 latest automake. Change includes setting AM_CCASFLAGS
1925 so building .S files will properly pick up flags used
1927 * libc/machine/arm/Makefile.am: Ditto.
1928 * libc/machine/crx/Makefile.am: Ditto.
1929 * libc/machine/d10v/Makefile.am: Ditto.
1930 * libc/machine/d30v/Makefile.am: Ditto.
1931 * libc/machine/fr30/Makefile.am: Ditto.
1932 * libc/machine/frv/Makefile.am: Ditto.
1933 * libc/machine/h8300/Makefile.am: Ditto.
1934 * libc/machine/h8500/Makefile.am: Ditto.
1935 * libc/machine/hppa/Makefile.am: Ditto.
1936 * libc/machine/i386/Makefile.am: Ditto.
1937 * libc/machine/iq2000/Makefile.am: Ditto.
1938 * libc/machine/m32c/Makefile.am: Ditto.
1939 * libc/machine/m32r/Makefile.am: Ditto.
1940 * libc/machine/m68hc11/Makefile.am: Ditto.
1941 * libc/machine/m68k/Makefile.am: Ditto.
1942 * libc/machine/m88k/Makefile.am: Ditto.
1943 * libc/machine/mips/Makefile.am: Ditto.
1944 * libc/machine/mn10200/Makefile.am: Ditto.
1945 * libc/machine/mn10300/Makefile.am: Ditto.
1946 * libc/machine/mt/Makefile.am: Ditto.
1947 * libc/machine/necv70/Makefile.am: Ditto.
1948 * libc/machine/powerpc/Makefile.am: Ditto.
1949 * libc/machine/sh/Makefile.am: Ditto.
1950 * libc/machine/sparc/Makefile.am: Ditto.
1951 * libc/machine/tic4x/Makefile.am: Ditto.
1952 * libc/machine/tic80/Makefile.am: Ditto.
1953 * libc/machine/v850/Makefile.am: Ditto.
1954 * libc/machine/w65/Makefile.am: Ditto.
1955 * libc/machine/xscale/Makefile.am: Ditto.
1956 * libc/machine/xstormy16/Makefile.am: Ditto.
1957 * libc/machine/z8k/Makefile.am: Ditto.
1958 * libc/sys/a29khif/Makefile.am: Ditto.
1959 * libc/sys/arc/Makefile.am: Ditto.
1960 * libc/sys/arm/Makefile.am: Ditto.
1961 * libc/sys/d10v/Makefile.am: Ditto.
1962 * libc/sys/decstation/Makefile.am: Ditto.
1963 * libc/sys/h8300hms/Makefile.am: Ditto.
1964 * libc/sys/h8500hms/Makefile.am: Ditto.
1965 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
1966 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
1967 * libc/sys/m88kbug/Makefile.am: Ditto.
1968 * libc/sys/mmixware/Makefile.am: Ditto.
1969 * libc/sys/netware/Makefile.am: Ditto.
1970 * libc/sys/rdos/Makefile.am: Ditto.
1971 * libc/sys/rtems/Makefile.am: Ditto.
1972 * libc/sys/sh/Makefile.am: Ditto.
1973 * libc/sys/sparc64/Makefile.am: Ditto.
1974 * libc/sys/sysmec/Makefile.am: Ditto.
1975 * libc/sys/sysnec810/Makefile.am: Ditto.
1976 * libc/sys/sysnecv850/Makefile.am: Ditto.
1977 * libc/sys/sysvi386/Makefile.am: Ditto.
1978 * libc/sys/sysvnecv70/Makefile.am: Ditto.
1979 * libc/sys/tic80/Makefile.am: Ditto.
1980 * libc/sys/w65/Makefile.am: Ditto.
1981 * libc/sys/z8ksim/Makefile.am: Ditto.
1982 * libm/machine/i386/Makefile.am: Ditto.
1983 * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
1984 trap.S so that automake will generate a .S.o suffix rule.
1985 * libc/argz/Makefile.am: Modified to work with
1986 latest automake. Change includes adding lib_a_CFLAGS
1987 so automake doesn't complain about libtool and non-libtool
1988 libraries sharing objects.
1989 * libc/ctype/Makefile.am: Ditto.
1990 * libc/errno/Makefile.am: Ditto.
1991 * libc/iconv/ccs/Makefile.am: Ditto.
1992 * libc/iconv/ces/Makefile.am: Ditto.
1993 * libc/iconv/lib/Makefile.am: Ditto.
1994 * libc/locale/Makefile.am: Ditto.
1995 * libc/misc/Makefile.am: Ditto.
1996 * libc/posix/Makefile.am: Ditto.
1997 * libc/reent/Makefile.am: Ditto.
1998 * libc/search/Makefile.am: Ditto.
1999 * libc/signal/Makefile.am: Ditto.
2000 * libc/stdio/Makefile.am: Ditto.
2001 * libc/stdio64/Makefile.am: Ditto.
2002 * libc/stdlib/Makefile.am: Ditto.
2003 * libc/string/Makefile.am: Ditto.
2004 * libc/sys/linux/Makefile.am: Ditto.
2005 * libc/sys/linux/argp/Makefile.am: Ditto.
2006 * libc/sys/linux/cmath/Makefile.am: Ditto.
2007 * libc/sys/linux/dl/Makefile.am: Ditto.
2008 * libc/sys/linux/iconv/Makefile.am: Ditto.
2009 * libc/sys/linux/intl/Makefile.am: Ditto.
2010 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2011 * libc/sys/linux/net/Makefile.am: Ditto.
2012 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2013 * libc/syscalls/Makefile.am: Ditto.
2014 * libc/time/Makefile.am: Ditto.
2015 * libc/unix/Makefile.am: Ditto.
2016 * libm/Makefile.am: Ditto.
2017 * libm/common/Makefile.am: Ditto.
2018 * libm/math/Makefile.am: Ditto.
2019 * libm/mathfp/Makefile.am: Ditto.
2020 * Regenerate all aclocal.m4, Makefile.in, and configure files.
2022 2006-04-07 Jeff Johnston <jjohnstn@redhat.com>
2024 * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
2025 anymore. Assume there is a gettimeofday syscall.
2027 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2029 * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
2030 for the declaration of n_long.
2032 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2034 * libc/sys/linux/include/net/if.h: Include sys/socket.h for
2036 (IFF_SMART): Replace this define with IFF_NOTRAILERS.
2037 (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
2038 (IFF_NOTRAILERS): New define.
2039 (struct ifreq): Add ifru_netmask.
2040 (ifr_netmask): New define.
2042 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2044 * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
2047 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2049 * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
2050 linux-newlib libc implementations.
2052 2006-03-29 Eric Blake <ebb9@byu.net>
2054 * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
2055 * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
2057 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
2059 * libc/sys/linux/io.c (__mknod): Fix declaration of
2060 syscall to pass a dev_t as third argument rather than
2063 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
2065 * libc/sys/linux/net/name6.c: Fix struct references.
2067 2006-03-22 Mark Mitchell <mark@codesourcery.com>
2069 * configure.host: Allow hosts to set the default
2070 newlib_atexit_dynamic_alloc value.
2071 * configure.in: Likewise.
2072 * configure: Regenerated.
2074 2006-03-20 Mark Mitchell <mark@codesourcery.com>
2076 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
2077 * configure.in (--disable-newlib-atexit-dynamic-alloc): New
2079 * configure: Regenerated.
2080 * newlib.hin: Regenerated.
2081 * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
2082 if _ATEXIT_DYNAMIC_ALLOC is undefined.
2083 * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
2084 if _ATEXIT_DYNAMIC_ALLOC is undefined.
2086 2006-03-17 Jeff Johnston <jjohnstn@redhat.com>
2088 * libc/sys/linux/linuxthreads/config.h: Remove definition
2091 2006-03-15 Jeff Johnston <jjohnstn@redhat.com>
2093 * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
2094 for a string I/O file that isn't using the asprintf family.
2096 2006-03-07 Eric Blake <ebb9@byu.net>
2098 * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
2099 filename, allow read-only or write-only FILE atop O_RDWR file
2101 * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
2103 2006-03-07 Jeff Johnston <jjohnstn@redhat.com>
2105 * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
2106 * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
2108 2006-03-02 Jeff Johnston <jjohnstn@redhat.com>
2110 * libm/math/math.tex: Fix reference to sisnan.def which
2111 is now in common subdirectory.
2112 * libm/mathfp/mathfp.tex: Ditto.
2114 2006-02-27 Jeff Johnston <jjohnstn@redhat.com>
2116 * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
2117 s_isnand, and sf_isnanf object files.
2118 * Makefile.in: Regenerated.
2119 * libc/include/ieeefp.h: Undef isnan and isinf to avoid
2120 conflict if <math.h> has previously been included.
2121 * libc/include/math.h
2122 * libc/include/math.h: Make isnan and isinf macros to
2124 (__isinfd, __isinff, __isnand, __isnanf): New functions.
2125 * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
2126 and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and
2127 sf_isinf files which have been moved from math/mathfp directories.
2128 * libm/common/Makefile.in: Regenerated.
2129 * libm/common/s_isinfd.c: New file.
2130 * libm/common/s_isnand.c: Ditto.
2131 * libm/common/sf_isinff.c: Ditto.
2132 * libm/common/sf_isnanf.c: Ditto.
2133 * libm/common/s_isinf.c: Moved from libm/math directory.
2134 * libm/common/s_isnan.c: Ditto.
2135 * libm/common/sf_isinf.c: Ditto.
2136 * libm/common/sf_isnan.c: Ditto.
2137 * libm/math/Makefile.am: Remove isinf and isnan family functions
2138 which have been moved into common directory.
2139 * libm/mathfp/Makefile.am: Ditto.
2140 * libm/math/Makefile.in: Regenerated.
2141 * libm/mathfp/Makefile.in: Ditto.
2142 * libm/math/s_isinf.c: Removed.
2143 * libm/math/s_isnan.c: Ditto.
2144 * libm/math/sf_isinf.c: Ditto.
2145 * libm/math/sf_isnan.c: Ditto.
2146 * libm/mathfp/s_isinf.c: Ditto.
2147 * libm/mathfp/s_isnan.c: Ditto.
2148 * libm/mathfp/sf_isinf.c: Ditto.
2149 * libm/mathfp/sf_isnan.c: Ditto.
2151 2006-02-20 Jeff Johnston <jjohnstn@redhat.com>
2153 * libc/stdio/fflush.c (fflush): For an fflush on a read-only
2154 stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
2155 * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
2156 seek, turn off the __SNPT no-optimization flag.
2158 2006-02-16 Jeff Johnston <jjohnstn@redhat.com>
2160 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
2162 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
2163 <features.h> to preset special flags.
2165 2006-02-15 Corinna Vinschen <corinna@vinschen.de>
2167 * libc/include/sys/time.h (struct timeval): Change member types
2169 * libc/include/sys/types.h (useconds_t): Change to unsigned
2171 (suseconds_t): Define type.
2173 2006-02-13 Jeff Johnston <jjohnstn@redhat.com>
2174 David Carne <davidcarne@gmail.com>
2176 * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
2177 instead of strlen to determine number of bytes to copy.
2178 * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
2179 before looking at storage location.
2181 2006-02-07 Paul Brook <paul@codesourcery.com>
2183 * libc/machine/arm/setjmp.S: Add Thumb-2 support.
2184 * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
2185 * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
2186 * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
2187 * libc/sys/arm/trap.S: Disable for Thumb-2.
2189 2006-01-31 Leif Ekblad <leif@rdos.net>
2191 * configure.host: RDOS support added
2192 * libc/include/sys/config.h: Ditto.
2193 * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
2194 * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
2195 * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
2196 * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
2197 * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
2198 * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
2199 * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
2200 * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
2201 * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
2202 * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
2203 * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
2204 * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
2205 * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
2206 * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
2207 * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
2208 * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
2209 * libc/sys/rdos/write.c: Ditto.
2211 2006-01-24 Jeff Johnston <jjohnstn@redhat.com>
2213 * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
2214 so as not to define PACKAGE and VERSION in newlib.h.
2215 * aclocal.m4: Regenerated.
2217 * newlib.hin: Ditto.
2219 2006-01-20 Jeff Johnston <jjohnstn@redhat.com>
2221 * acconfig.h: New file to generate newlib.hin from.
2222 * newlib.hin: Regenerated.
2223 * stamp-h.in: Regenerated.
2224 * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
2225 called automatically.
2226 * Makefile.in: Regenerated.
2227 * acinclude.m4: Add proper comment for hack in previous change.
2228 * aclocal.m4 */aclocal.m4: Regenerated.
2229 * configure */configure: Regenerated.
2231 2006-01-11 Jeff Johnston <jjohnstn@redhat.com>
2233 * acinclude.m4: Add hack to prevent INSTALL in subdirs
2234 from being set to "../".
2235 * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
2236 * aclocal.m4: Regenerated.
2238 * Makefile.in: Ditto.
2239 * doc/aclocal.m4: Ditto.
2240 * doc/configure: Ditto.
2241 * iconvdata/aclocal.m4: Ditto.
2242 * iconvdata/configure: Ditto.
2243 * libc/*/aclocal.m4: Ditto.
2244 * libc/*/configure: Ditto.
2245 * libc/libc.texinfo: Ditto.
2246 * libm/*/aclocal.m4: Ditto.
2247 * libm/*/configure: Ditto.
2249 2006-01-10 Eric Blake <ebb9@byu.net>
2251 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
2252 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
2254 2006-01-10 Jeff Johnston <jjohnstn@redhat.com>
2256 * libm/mathfp/s_frexp.c: Check for special values on
2257 the original input, not the manipulated output value.
2258 * libm/mathfp/sf_frexp.c: Ditto.
2259 * libm/mathfp/s_atangent.c: Don't use local value branch
2260 when checking for quadrant.
2261 * libm/mathfp/sf_atangent.c: Ditto.
2263 2006-01-09 Jeff Johnston <jjohnstn@redhat.com>
2265 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
2266 * libc/stdio64/freopen64.c: Ditto.
2268 2006-01-09 Eric Blake <ebb9@byu.net>
2270 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
2271 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
2273 2006-01-06 Jeff Johnston <jjohnstn@redhat.com>
2275 * libc/sys/linux/include/getopt.h: Add macros needed by
2276 new version of getopt.c in libc/stdlib.
2278 2006-01-04 Gregory Pietsch <gpietsch@comcast.net>
2280 * libc/stdlib/getopt.c: Replaced with version
2281 that adds getopt_long and getopt_long_only support.
2282 * libc/include/getopt.h: New file.
2284 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
2286 * NEWS: Update with 1.14.0 info.
2288 * acinclude.m4: Change version number to 1.14.0.
2289 * aclocal.m4: Regenerated.
2291 * doc/aclocal.m4: Ditto.
2292 * doc/configure: Ditto.
2293 * libc/*/aclocal.m4: Ditto.
2294 * libc/*/configure: Ditto.
2295 * libc/libc.texinfo: Ditto.
2296 * libm/*/aclocal.m4: Ditto.
2297 * libm/*/configure: Ditto.
2298 * libm/libm.texinfo: Ditto.
2299 * libc/sys/linux/shared.ld: Add VERS_1.14.
2301 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
2303 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
2304 take a pointer to struct stat64 rather than struct stat.
2306 2005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
2308 * libc/include/stdint.h: Prefer long over int for int32_t.
2309 Use __have_long32 to set up int32_t.
2310 * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
2311 (Sync with stdint.h).
2313 2005-12-14 Corinna Vinschen <corinna@vinschen.de>
2315 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
2316 typo in O_NDELAY comment.
2318 2005-12-13 Nathan Sidwell <nathan@codesourcery.com>
2320 * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
2321 * libc/include/machine/setjmp.h (__mt__): Likewise.
2322 * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
2323 * libc/machine/configure.in: Ditto.
2325 2005-12-12 Nathan Sidwell <nathan@codesourcery.com>
2327 * configure.host: Replace ms1 arch with mt arch.
2328 * libc/machine/mt: Renamed from ms1 dir.
2330 2005-12-08 Shaun Jackman <sjackman@gmail.com>
2332 * libc/include/sys/types.h: Remove the ifdef armour around
2333 standard POSIX types.
2335 2005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
2337 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
2338 rtems_gxx_key_delete, rtems_gxx_getspecific,
2339 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
2340 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
2341 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
2343 2005-12-05 Christopher Faylor <cgf@timesys.com>
2345 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
2346 file. Declare unsetenv and _unsetenv_r when not cygwin.
2348 2005-11-18 Jeff Johnston <jjohnstn@redhat.com>
2350 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
2351 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
2353 2005-11-18 Christopher Faylor <cgf@timesys.com>
2355 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
2357 2005-11-18 Christopher Faylor <cgf@timesys.com>
2359 * include/time.h: Remove more cygwin-specific stuff.
2361 2005-11-18 Christopher Faylor <cgf@timesys.com>
2363 * include/time.h: Move cygwin declarations to cygwin-specific header.
2364 * include/sys/time.h: Rename cygwin include to "sys_time.h".
2366 2005-11-17 Jeff Johnston <jjohnstn@redhat.com>
2368 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
2369 in libc/sys/linux/include.
2370 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
2371 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
2372 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
2373 in libc/sys/linux/dl.
2375 2005-11-11 Christopher Faylor <cgf@timesys.com>
2377 * libc/include/sys/time.h: For cygwin, use general header rather than
2378 specific "sys/select.h".
2380 2005-11-08 Tom Walsh <tom@openhardware.net>
2382 * libc/time/tzvars.c: New file.
2383 * libc/time/tzset_r.c: Moved globals into tzvars.c
2384 so other time functions needn't link in __tzset_r and its
2386 * libc/time/Makefile.am: Add the new file.
2387 * libc/time/Makefile.in: Regenerated.
2389 2005-11-08 Christopher Faylor <cgf@timesys.com>
2391 * libc/include/string.h: Add cygwin-specific function declaration.
2393 2005-11-07 Corinna Vinschen <corinna@vinschen.de>
2395 * libc/include/ieeefp.h: Add C++ guards.
2397 2005-11-03 Jeff Johnston <jjohnstn@redhat.com>
2399 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
2400 * libc/unix/getlogin.c: Ditto.
2401 * libc/unix/getpass.c: Ditto.
2402 * libc/unix/getut.c: Ditto.
2403 * libc/unix/ttyname.c: Ditto.
2405 2005-11-03 Shaun Jackman <sjackman@gmail.com>
2407 * libc/include/sys/unistd.h (readlink, symlink): Provide these
2408 prototypes by default.
2409 * libc/sys/linux/include/unistd.h (readlink): Remove this
2411 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
2414 2005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
2416 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
2418 2005-10-31 Darin Johnson <darin@usa.net>
2420 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
2421 correct for constants.
2423 2005-10-28 Bob Wilson <bob.wilson@acm.org>
2425 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
2426 * libc/stdio/siscanf.c: Likewise.
2427 * libc/stdio/sprintf.c: Likewise.
2428 * libc/stdio/sscanf.c: Likewise.
2429 * libc/stdio/vfprintf.c: Likewise.
2430 * libc/stdio/vfscanf.c: Likewise.
2431 * libc/stdio/viprintf.c: Likewise.
2432 * libc/stdio/viscanf.c: Likewise.
2434 2005-10-28 Bob Wilson <bob.wilson@acm.org>
2436 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
2437 example to use "_end" symbol instead of "end". Change write example
2438 to use "outbyte" instead of "writechar".
2440 2005-10-28 Bob Wilson <bob.wilson@acm.org>
2442 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
2443 * libc/ctype/islower.c: Likewise.
2444 * libc/ctype/isupper.c: Likewise.
2445 * libc/ctype/iswalnum.c: Likewise.
2446 * libc/ctype/iswalpha.c: Likewise.
2447 * libc/ctype/iswblank.c: Likewise.
2448 * libc/ctype/iswcntrl.c: Likewise.
2449 * libc/ctype/iswdigit.c: Likewise.
2450 * libc/ctype/iswgraph.c: Likewise.
2451 * libc/ctype/iswlower.c: Likewise.
2452 * libc/ctype/iswprint.c: Likewise.
2453 * libc/ctype/iswpunct.c: Likewise.
2454 * libc/ctype/iswspace.c: Likewise.
2455 * libc/ctype/iswupper.c: Likewise.
2456 * libc/ctype/iswxdigit.c: Likewise.
2457 * libc/ctype/tolower.c: Likewise.
2458 * libc/ctype/toupper.c: Likewise.
2459 * libc/ctype/towctrans.c: Likewise.
2460 * libc/ctype/towlower.c: Likewise.
2461 * libc/ctype/towupper.c: Likewise.
2462 * libc/string/strcasecmp.c: Likewise.
2463 * libc/string/strcoll.c: Likewise.
2464 * libc/string/strings.tex: Likewise.
2465 * libc/string/strlwr.c: Likewise.
2466 * libc/string/strncasecmp.c: Likewise.
2467 * libc/string/strupr.c: Likewise.
2468 * libc/string/wcscoll.c: Likewise.
2469 * libc/string/wcslcat.c: Likewise.
2470 * libc/string/wcslcpy.c: Likewise.
2471 * libc/string/wcsnlen.c: Likewise.
2472 * libc/string/wcsstr.c: Likewise.
2473 * libc/string/wcstrings.tex: Likewise.
2474 * libc/string/wmemchr.c: Likewise.
2475 * libc/string/wmemcmp.c: Likewise.
2476 * libc/string/wmemcpy.c: Likewise.
2477 * libc/string/wmemmove.c: Likewise.
2478 * libc/string/wmemset.c: Likewise.
2480 2005-10-28 Bob Wilson <bob.wilson@acm.org>
2482 * libc/misc/unctrl.c: Replace FUNCTION description.
2483 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
2484 * libc/stdio/getdelim.c: Fix spelling errors.
2485 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
2486 * libc/stdio/putw.c: Likewise.
2487 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
2489 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
2490 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
2491 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
2492 * libc/stdlib/mlock.c: Likewise.
2493 * libc/stdlib/mstats.c: Likewise.
2494 * libc/time/tzlock.c: Likewise.
2495 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
2496 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
2497 and hyphenate "pseudo-random".
2498 * libc/string/bcmp.c: Remove extra blank lines in documentation.
2499 * libc/string/strncat.c: Likewise.
2500 * libc/string/memchr.c: Remove extra ">" character in documentation.
2501 * libc/string/strcspn.c: Use "characters" instead of "chars".
2502 * libc/string/strpbrk.c: Likewise.
2503 * libc/string/strerror_r.c: Capitalize "GNU".
2504 * libc/string/strnlen.c: Likewise.
2505 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
2506 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
2507 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
2508 * libc/string/wcschr.c: Likewise.
2509 * libc/string/wcscmp.c: Likewise.
2510 * libc/string/wcscpy.c: Likewise.
2511 * libc/string/wcscspn.c: Likewise.
2512 * libc/string/wcslen.c: Likewise.
2513 * libc/string/wcsncat.c: Likewise.
2514 * libc/string/wcsncmp.c: Likewise.
2515 * libc/string/wcsncpy.c: Likewise.
2516 * libc/string/wcsnlen.c: Likewise.
2517 * libc/string/wcspbrk.c: Likewise.
2518 * libc/string/wcsrchr.c: Likewise.
2519 * libc/string/wcsspn.c: Likewise.
2520 * libc/string/wmemchr.c: Likewise.
2521 * libc/string/wmemcmp.c: Likewise.
2522 * libc/string/wmemcpy.c: Likewise.
2523 * libc/string/wmemset.c: Likewise.
2524 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
2525 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
2526 * libc/string/wcwidth.c: Likewise.
2527 * libm/common/s_modf.c: Remove extra period from documentation.
2528 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
2530 * libm/mathfp/s_isnan.c: Likewise.
2531 * libm/math/s_ldexp.c: Fix punctuation.
2532 * libm/mathfp/s_ldexp.c: Likewise.
2533 * libm/math/w_log.c: Likewise.
2534 * libm/mathfp/s_logarithm.c: Likewise.
2535 * libm/math/w_j0.c: Add spaces to FUNCTION description.
2536 * libm/mathfp/w_jn.c: Likewise.
2538 2005-10-26 Shaun Jackman <sjackman@gmail.com>
2540 * libc/posix/scandir.c (scandir): Update the function
2541 prototype to match the header.
2542 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
2544 * libc/sys/linux/sys/lock.h: Do not include
2545 machine/weakalias.h, since it's not used by this file.
2547 2005-10-26 Jeff Johnston <jjohnstn@redhat.com>
2549 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
2550 directories can override properly.
2552 2005-10-20 Jeff Johnston <jjohnstn@redhat.com>
2554 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
2555 gcc is 3.3 or greater, use special gcc builtins.
2557 2005-10-20 Corinna Vinschen <corinna@vinschen.de>
2559 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
2561 2005-10-18 Corinna Vinschen <corinna@vinschen.de>
2563 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
2565 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2567 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
2568 * libm/common/Makefile.am: Add s_infconst.c support.
2569 * libm/common/Makefile.in: Regenerated.
2570 * libm/common/s_infconst.c: New file with float and
2571 long double infinity support added.
2572 * libm/math/Makefile.am: Remove s_infconst.c support.
2573 * libm/math/Makefile.in: Regenerated.
2574 * libm/math/s_infconst.c: Moved to common directory.
2575 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
2576 * libm/mathfp/Makefile.in: Regenerated.
2577 * libm/mathfp/s_infconst.c: Moved to common directory.
2579 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2581 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
2582 dbgprintf to prevent conflict with new dprintf function.
2584 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2586 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
2587 "nan" processing for systems that have long double support.
2589 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2591 * libc/sys/linux/sys/types.h (int8_t): Add type.
2593 2005-10-14 Bob Wilson <bob.wilson@acm.org>
2595 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
2596 * libm/common/Makefile.in: Regenerate.
2597 * libm/common/common.tex: Delete file.
2598 * libm/math/math.tex: Include .def files from common/.
2599 * libm/mathfp/mathfp.tex: Likewise.
2601 2005-10-14 Bob Wilson <bob.wilson@acm.org>
2603 * libc/libc.texinfo (Top): Surround this node with @ifnottex
2604 instead of @ifinfo. Update menu to add Introduction and match
2606 (Introduction): New section.
2608 2005-10-14 Bob Wilson <bob.wilson@acm.org>
2610 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
2611 with "Red Hat newlib C Library".
2612 * libc/sys.tex (Stubs): Likewise.
2613 * libm/math/math.tex (Math): Likewise.
2614 * libm/mathfp/mathfp.tex (Math): Likewise.
2616 2005-10-11 Shaun Jackman <sjackman@gmail.com>
2618 * libc/include/stdio.h (dprintf): New declaration.
2620 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
2622 * libc/stdio/Makefile.in: Regenerate.
2623 * libc/stdio/dprintf.c: New file.
2624 * libc/stdio/vdprintf.c: New file.
2625 * libc/stdio/stdio.tex (dprintf): New entry.
2627 2005-10-11 David Weatherford <weath@tensilica.com>
2629 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
2630 Print "inf" and "nan" in lowercase for e/f/g formats and in
2631 uppercase for E/F/G formats.
2633 2005-10-07 Bob Wilson <bob.wilson@acm.org>
2635 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
2636 to ENOMEM on failure.
2638 2005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
2640 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
2642 2005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
2644 * libc/include/stdint.h: Move magic to set __have_long* to the
2645 beginning. Use #if __have* instead of #if defined(__have*).
2648 2005-10-04 James E Wilson <wilson@specifix.com>
2650 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
2653 2005-10-03 Jeff Johnston <jjohnstn@redhat.com>
2655 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
2656 incorporate Ralf's change below.
2658 2005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
2660 * libc/include/stdint.h:
2661 Use __INTMAX_TYPE__ to derive intmax_t.
2662 Use __UINTMAX_TYPE__ to derive uintmax_t.
2665 2005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
2667 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
2670 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
2672 * libc/sys/linux/include/stdint.h: Update to match functionality
2673 of generic newlib stdint.h.
2675 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
2677 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
2678 and do not #undef the macro after it is used. Fix typos.
2679 Also change 64-bit constants to use the __have_long64 and
2680 __have_longlong64 flags to determine if long or long long
2681 constants should be used.
2682 * libc/include/inttypes.h: Include stddef.h to get wchar_t
2685 2005-09-20 Shaun Jackman <sjackman@gmail.com>
2687 * libc/include/stdint.h: Fix typo in names of
2690 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
2692 * libc/sys/rtems/include/inttypes.h: Moved to...
2693 * libc/include/inttypes.h: ...here.
2695 2005-09-19 Jeff Johnston <jjohnstn@redhat.com>
2697 * libc/sys/rtems/include/stdint.h: Moved to...
2698 * libc/include/stdint.h: ...here.
2700 2005-09-08 Jeff Johnston <jjohnstn@redhat.com>
2702 * Makefile.am: Add include files under bits sub-directory.
2703 * Makefile.in: Regenerated.
2704 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
2705 actual value of 1 to be compatible with newer glibc headers.
2706 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
2708 * libc/sys/linux/sys/dirent.h: Ditto.
2709 * libc/sys/linux/argp/argp-xinl.c: Ditto.
2710 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
2711 profile_fixup routines are marked used so they won't be
2713 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
2714 to mark functions as weak.
2715 * libc/sys/linux/dl/dl-open.c: Ditto.
2716 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
2717 rules about lvalues.
2718 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
2719 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
2720 weak_extern macro to mark functions as weak. Instead always
2722 * iconvdata/jis0208.h: Fix to work with gcc4.
2723 * libc/sys/linux/dl/dl-load.c: Ditto.
2724 * libc/sys/linux/dl/dl-reloc.c: Ditto.
2725 * libc/sys/linux/dl/do-rel.h: Ditto.
2726 * libc/sys/linux/dl/dynamic-link.h: Ditto.
2727 * libc/sys/linux/include/ltdl.h: Ditto.
2728 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
2729 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
2730 * libc/sys/linux/net/ns_ntoa.c: Ditto.
2731 * libc/sys/linux/bits/initspin.h: New file.
2732 * libc/sys/linux/bits/libc-lock.h: Ditto.
2733 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
2734 * libc/sys/linux/bits/typesizes.h: Ditto.
2736 2005-09-08 Eric Blake <ebb9@byu.net>
2738 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
2741 2005-09-08 Brian Dessent <brian@dessent.net>
2743 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
2747 2005-09-02 Jeff Johnston <jjohnstn@redhat.com>
2749 * libc/include/stdio.h: Add prototype for viprintf.
2751 2005-09-01 Jeff Johnston <jjohnstn@redhat.com>
2753 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
2754 any positive power results in 0.
2755 * libm/mathfp/sf_pow.c (powf): Ditto.
2757 2005-08-31 Paul Brook <paul@codesourcery.com>
2759 * configure.host: Set have_crt0 to no for Arm targts when not
2760 providing syscalls. Set sys_dir=arm unconditionally.
2761 Default have_crt0 based on sys_dir.
2762 * configure.in: Use have_crt0.
2763 * libc/configure.in: Ditto.
2764 * libc/sys/configure.in: Ditto.
2765 * configure: Regenerate.
2766 * libc/configure: Regenerate.
2767 * libc/sys/configure: Regenerate.
2768 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
2769 Only build other files when providing syscalls.
2770 * libc/sys/arm/Makefile.in: Regenerate.
2771 * libc/sys/arm/aeabi_atexit.c: New file.
2773 2005-08-26 Christopher Faylor <cgf@timesys.com>
2775 * libc/include/string.h: Revert previous change.
2777 2005-08-25 Christopher Faylor <cgf@timesys.com>
2779 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
2781 2005-08-22 Shaun Jackman <sjackman@gmail.com>
2783 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
2784 define _opendir as opendir, _readdir as readdir, and
2785 _closedir as closedir so that the implementations in
2786 libc/posix will be used.
2788 2005-08-10 DJ Delorie <dj@redhat.com>
2790 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
2792 2005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
2794 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
2795 * libm/common/s_max.c: Ditto.
2796 * libm/common/sf_fmin.c: Ditto.
2797 * libm/common/s_min.c: Ditto.
2799 2005-08-10 DJ Delorie <dj@redhat.com>
2801 * configure.host: Add m32c support.
2802 * libc/include/machine/ieeefp.h: Likewise.
2803 * libc/include/machine/setjmp.h: Likewise.
2804 * libc/include/sys/config.h: Likewise.
2805 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
2806 * libc/machine/m32c/aclocal.m4: New file.
2807 * libc/machine/m32c/configure: Ditto.
2808 * libc/machine/m32c/configure.in: Ditto.
2809 * libc/machine/m32c/Makefile.am: Ditto.
2810 * libc/machine/m32c/Makefile.in: Ditto.
2811 * libc/machine/m32c/setjmp.S: Ditto.
2813 2005-08-02 Bob Wilson <bob.wilson@acm.org>
2815 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
2816 to the value for 2^126.
2818 2005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
2820 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
2823 2005-07-20 Bob Wilson <bob.wilson@acm.org>
2824 Darin Petkov <darin@tensilica.com>
2826 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
2828 2005-07-19 Paul Brook <paul@codesourcery.com>
2830 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
2832 2005-07-18 Joseph S. Myers <joseph@codesourcery.com>
2834 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
2835 names after PASS and FAIL which do not depend on source directory
2836 name or on whether test passed or failed.
2837 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
2839 2005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
2841 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
2843 2005-07-07 Shaun Jackman <sjackman@gmail.com>
2845 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
2846 twice for the same directory. _closedir calls free, and freeing
2847 the same pointer twice may cause a crash.
2849 2005-07-06 Aldy Hernandez <aldyh@redhat.com>
2851 * configure.host: Added entry for ms1*.
2852 * libc/include/machine/ieeefp.h: Handle ms1.
2853 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
2854 * libc/machine/ms1/aclocal.m4: New.
2855 * libc/machine/ms1/configure: New.
2856 * libc/machine/ms1/configure.in: New.
2857 * libc/machine/ms1/Makefile.am: New.
2858 * libc/machine/ms1/Makefile.in: New.
2859 * libc/machine/ms1/setjmp.S: New.
2861 2005-07-04 Mark Mitchell <mark@codesourcery.com>
2863 * Makefile.am (site.exp): Set tmpdir.
2864 * Makefile.in: Regenerated.
2865 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
2866 executables in $tmpdir.
2867 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
2868 libgloss version if not running in the build directory.
2869 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
2871 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
2874 2005-06-28 Dave Korn <dave.korn@artimi.com>
2876 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
2877 and miscalculation caused by fp representation of zero.
2878 * libm/common/sf_lrint.c (lrintf): Likewise.
2880 2005-06-16 Christopher Faylor <cgf@timesys.com>
2882 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
2883 determine characteristics of long double. Use a union instead.
2884 * ldtoa.c (_ldtoa_r): Ditto.
2887 (union uconv): New union.
2889 2005-06-03 Jeff Johnston <jjohnstn@redhat.com>
2891 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
2894 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
2896 * configure.host (mn10300-*): Add long long I/O support by default.
2898 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
2900 * libc/sys/linux/getpwuid.c: Removed.
2901 * libc/sys/linux/getpwnam.c: Removed.
2902 * libc/sys/linux/getpwent.c: New file containing logic
2903 from files removed above. This allows overriding of file
2905 * libc/sys/linux/Makefile.am: Support changes above.
2906 * libc/sys/linux/Makefile.in: Regenerated.
2908 2005-04-28 Jeff Johnston <jjohnstn@redhat.com>
2910 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
2911 when checking for multiple flags.
2913 2005-04-18 Hans-Peter Nilsson <hp@axis.com>
2915 * configure.host <cris-*-* | crisv32-*-*>: Set
2916 default_newlib_io_long_long="yes".
2918 2005-04-08 Jeff Johnston <jjohnstn@redhat.com>
2920 * libc/include/libgen.h: New file.
2922 2005-04-08 Shaun Jackman <sjackman@gmail.com>
2924 * libc/unix/Makefile.am: Add support for basename and dirname.
2925 * libc/unix/Makefile.in: Regenerated.
2926 * libc/unix/basename.c: New file.
2927 * libc/unix/dirname.c: New file.
2929 2005-04-07 Shaun Jackman <sjackman@gmail.com>
2931 * libc/sys/linux/inode.c (lchown): New function.
2933 2005-04-07 Shaun Jackman <sjackman@gmail.com>
2935 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
2936 ELIX level is defined.
2937 * libc/unix/Makefile.in: Regenerated.
2939 2005-04-05 Dave Korn <dave.korn@artimi.com>
2941 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
2942 something that looks like a "NaN", put back the characters processed.
2944 2005-04-01 Corinna Vinschen <corinna@vinschen.de>
2946 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
2948 2005-03-23 Christopher Faylor <cgf@timesys.com>
2950 * configure.host: For cygwin, redefine CC with cygwin include directory
2951 first to mimic the behavior of the top-level configury. Move include
2952 directory out of newlib_cflags.
2954 2005-03-22 Jeff Johnston <jjohnstn@redhat.com>
2956 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
2957 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
2960 2005-03-22 Christopher Faylor <cgf@timesys.com>
2962 * libc/include/machine/_types.h: Make trivial change to comment to
2963 avoid a spurious warning from gcc.
2965 2005-03-21 Nicholas Wourms <nwourms@netscape.net>
2967 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
2968 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
2971 2005-03-18 Hans-Peter Nilsson <hp@axis.com>
2972 Corinna Vinschen <corinna@vinschen.de>
2974 * libc/include/ctype.h: Remove invalid +1 offset from
2975 ctype macro references to __ctype_ptr.
2976 (_ctype_): Move declaration outside #ifndef __cplusplus.
2978 2005-03-18 Corinna Vinschen <corinna@vinschen.de>
2980 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
2981 evaluate first parameter only once.
2982 (siglongjmp): Ditto.
2984 2005-03-17 Jeff Johnston <jjohnstn@redhat.com>
2986 * configure.in: Add new check to see if compiler supports
2987 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
2988 * configure: Regenerated.
2989 * Makefile.in: Ditto.
2990 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
2991 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
2992 aliasing the _ctype_ array to _ctype_b.
2993 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
2994 _ctype_ as deprecated.
2996 2005-03-17 Hans-Peter Nilsson <hp@axis.com>
2998 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
3001 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3003 * libc/sys/rtems/include/inttypes.h: New file.
3004 * libc/sys/rtems/include/stdint.h: Ditto.
3006 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3008 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
3010 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3012 * libc/include/machine/_types.h: New file.
3013 * libc/include/sys/types.h: Do not check for __rtems__
3014 when including <machine/_types.h>. Remove some redundant
3015 declarations now that <machine/_types.h> is included.
3016 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
3019 2005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
3021 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
3022 L qualifier for these long constants.
3024 2005-02-25 Eric Blake <ebb9@byu.net>
3026 * libc/include/time.h (__tzrule_struct): Make offset long, since
3027 a 16-bit int overflows on a 12-hour offset.
3028 * libc/sys/linux/include/time.h: Ditto.
3029 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
3030 * libc/time/mktm_r.c: Ditto.
3031 * libc/time/gettzinfo.c: Ditto.
3032 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
3033 years. Fix '%z' to use long, not int.
3035 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
3037 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
3038 manipulate float values in integer form.
3039 * libm/common/sf_round.c: Ditto.
3041 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
3043 * libc/include/sys/types.h [__rtems__]: Include new
3044 header file machine/_types.h.
3045 * libc/include/machine/types.h: Ditto.
3046 * libc/sys/rtems/machine/_types.h: New file.
3048 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
3050 * libc/include/time.h (_timezone): Change to long also for Cygwin.
3051 (timezone): Drop cast from definition.
3053 2005-02-23 Jeff Johnston <jjohnstn@redhat.com>
3055 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
3056 (__tzrule_type, __tzinfo_type): New types.
3057 (__gettzinfo): New function.
3058 * libc/sys/linux/include/time.h: Ditto.
3059 * libc/time/Makefile.am: Add gettzinfo.c.
3060 * libc/time/Makefile.in: Regenerated.
3061 * libc/time/local.h: Moved __tzrule_type to time.h.
3062 * libc/time/mktime.c: Call __gettzinfo to reference
3063 __tznorth, __tzyear, and __tzrule array.
3064 * libc/time/mktm_r.c: Ditto.
3065 * libc/time/strftime.c: Ditto.
3066 * libc/time/tzset_r.c: Ditto. Also remove definition
3067 of __tzrule which is now in gettzinfo.c. Change _timezone
3068 references to not cast to time_t.
3069 * libc/time/gettzinfo.c: New file.
3071 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
3073 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
3075 2005-02-22 Corinna Vinschen <corinna@vinschen.de>
3077 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
3079 2005-02-16 Eric Blake <ebb9@byu.net>
3081 * libc/time/time.tex: Improve the documentation.
3082 * libc/time/strftime.c: Improve the documentation.
3083 (iso_year_adjust): New helper function.
3084 (strftime): Simplify '%E' and '%O'. Change '%c' to use
3085 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
3086 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
3087 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
3088 Avoid core dumps on valid inputs (maxsize == 0, or
3089 tim_p->tm_isdst > 1).
3091 2005-02-08 Corinna Vinschen <corinna@vinschen.de>
3093 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
3094 members to uid_t and gid_t according to SUSv3.
3095 * libc/include/sys/time.h (utimes): Change second parameter
3096 to const according to SUSv3.
3098 2005-02-07 Antony King <antony.king@st.com>
3100 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
3101 called before _flockfile to prevent lock object use before
3102 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
3103 take a struct _reent * instead of a FILE *.
3104 * libc/stdio/fclose.c (_fclose_r): Ditto.
3105 * libc/stdio/feof.c (feof): Ditto.
3106 * libc/stdio/ferror.c (ferror): Ditto.
3107 * libc/stdio/fflush.c (fflush): Ditto.
3108 * libc/stdio/fgetc.c (fgetc): Ditto.
3109 * libc/stdio/fgets.c (fgets): Ditto.
3110 * libc/stdio/fileno.c (fileno): Ditto.
3111 * libc/stdio/fputc.c (fputc): Ditto.
3112 * libc/stdio/fputs.c (fputs): Ditto.
3113 * libc/stdio/fread.c (fread): Ditto.
3114 * libc/stdio/freopen.c (_freopen_r): Ditto.
3115 * libc/stdio/fseek.c (_fseek_r): Ditto.
3116 * libc/stdio/ftell.c (_ftell_r): Ditto.
3117 * libc/stdio/fwrite.c (fwrite): Ditto.
3118 * libc/stdio/getc.c (getc): Ditto.
3119 * libc/stdio/getdelim.c (__getdelim): Ditto.
3120 * libc/stdio/putc.c (putc): Ditto.
3121 * libc/stdio/setvbuf.c (setvbuf): Ditto.
3122 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
3123 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
3124 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
3125 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
3126 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
3127 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
3128 _reent * instead of a FILE * and so replace incorrect use of
3129 _REENT with argument.
3130 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
3131 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
3132 CHECK_INIT() take a struct _reent * instead of a FILE *.
3133 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
3134 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
3135 * libc/stdio/perror.c (perror): Ditto.
3136 * libc/stdio/printf.c (printf, _printf_r): Ditto.
3137 * libc/stdio/putchar.c (putchar): Ditto.
3138 * libc/stdio/puts.c (puts): Ditto.
3139 * libc/stdio/refill.c (__srefill): Ditto.
3140 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
3141 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
3142 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
3143 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
3144 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
3145 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
3146 * libc/stdio/wbuf.c (__swbuf): Ditto.
3147 * libc/stdio/wsetup.c (__swsetup): Ditto.
3148 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
3149 * libc/stdlib/mstats.c (_mstats_r): Ditto.
3150 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
3151 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
3152 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
3153 to _flockfile and _funlockfile; rely on locking in _ftell_r.
3154 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
3155 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
3156 initialision of _data field in FILE structure.
3157 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
3159 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
3161 * libc/stdio/findfp.c (__sinit): Protect with new lock.
3162 (__sinit_lock): New lock.
3163 (__sinit_lock_acquire, __sinit_lock_release): New functions.
3164 * libc/stdio/local.h: Add reference to new __sinit locking
3167 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
3169 * libc/include/math.h (isfinite, isnormal, isunordered): Change
3170 input variable names to avoid mixups with nesting macros.
3172 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3174 * configure.host: Add support for cris-*-* and crisv32-*-*.
3175 * libc/include/machine/ieeefp.h: Ditto.
3176 * libc/include/machine/setjmp.h: Ditto.
3177 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
3178 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
3179 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
3180 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
3181 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
3182 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
3183 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
3186 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3188 * testsuite/newlib.string/memmove1.c: New test.
3190 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3192 * testsuite/include/check.h: Include stdlib.h.
3194 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3196 * Makefile.am (stmp-targ-include): Support include header files
3197 from machine directories.
3198 (install-data-local): Ditto.
3199 * Makefile.in: Regenerate.
3201 2005-01-24 Jeff Johnston <jjohnstn@redhat.com>
3203 * libc/include/string.h: Remove Linux-specific declaration of
3204 strsignal and add #include <sys/string.h>.
3205 * libc/include/sys/string.h: New file.
3206 * libc/include/sys/linux/sys/string.h: New file with strsignal
3207 declaration deleted above.
3209 2005-01-20 Jeff Johnston <jjohnstn@redhat.com>
3211 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
3212 to POSIX standard for "C" locale. Allow %E and %O modifiers
3213 to be ignored as long as they precede valid specifiers according
3216 2005-01-19 Shaun Jackman <sjackman@gmail.com>
3218 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
3219 environment variable is set.
3221 2005-01-19 Shaun Jackman <sjackman@gmail.com>
3223 * tzset_r.c (_tzname): Add a comma.
3225 2005-01-18 Aldy Hernandez <aldyh@redhat.com>
3227 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
3230 2005-01-07 Paul Brook <paul@codesourcery.com>
3232 * configure.in: Add test for .init_array.
3233 * configure: Regenerate.
3234 * newlib.hin: Add HAVE_INITFINI_ARRAY.
3235 * libc/misc/Makefile.am: Add init.c
3236 * libc/misc/Makefile.in: Regenerate.
3237 * libc/misc/init.c: New file.
3238 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
3239 _init/_fini if they exist.
3241 2005-01-06 Jeff Johnston <jjohnstn@redhat.com>
3243 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
3245 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
3246 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
3247 functions for use by strtod and strtof.
3248 * Makefile.in: Regenerated.
3250 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
3252 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
3253 bit-test in combination with NULL test.
3255 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
3257 * README: Fix typo of LGPL. Change "license" to "copyright".
3259 2004-12-17 Jeff Johnston <jjohnstn@redhat.com>
3261 * NEWS: Update with 1.13.0 info.
3263 * acinclude.m4: Change version number to 1.13.0.
3264 * aclocal.m4: Regenerated.
3266 * doc/aclocal.m4: Ditto.
3267 * doc/configure: Ditto.
3268 * libc/*/aclocal.m4: Ditto.
3269 * libc/*/configure: Ditto.
3270 * libc/libc.texinfo: Ditto.
3271 * libm/*/aclocal.m4: Ditto.
3272 * libm/*/configure: Ditto.
3273 * libm/libm.texinfo: Ditto.
3274 * libc/sys/linux/shared.ld: Add VERS_1.13.
3276 2004-12-17 Christian Groessler <chris@groessler.org>
3278 * libc/machine/z8k/memcmp.S: New file.
3279 * libc/machine/z8k/memcpy.S: Ditto.
3280 * libc/machine/z8k/memmove.S: Ditto.
3281 * libc/machine/z8k/memset.S: Ditto.
3282 * libc/machine/z8k/Makefile.am: Add new files.
3283 * libc/machine/z8k/Makefile.in: Regenerated.
3284 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
3285 part. Implement Z8002 stdcall version.
3287 2004-12-13 Jeff Johnston <jjohnstn@redhat.com>
3289 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
3290 a low-level read if we don't get the full amount of bytes so
3291 EOF or error flags will be set.
3293 2004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
3295 * libc/time/tzset_r (_tzset_r): Properly skip over
3296 '/' when it is detected.
3298 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
3300 * libc/time/tzset_r (_tzset_r): Fix loop.
3302 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
3304 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
3306 (__tzcalc_limits): Fix reference to month array to be zero-based.
3308 2004-12-07 Jeff Johnston <jjohnstn@redhat.com>
3310 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
3313 2004-12-03 Jeff Johnston <jjohnstn@redhat.com>
3315 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
3316 libgcc dependencies.
3317 (libm_la_LDFLAGS): Ditto.
3318 * Makefile.in: Regenerated.
3320 2004-12-03 Shaun Jackman <sjackman@gmail.com>
3322 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
3323 our link to use readlink so as to preserve any relative link created
3324 by install-toollibLIBRARIES.
3325 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
3327 2004-12-02 Shaun Jackman <sjackman@gmail.com>
3329 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
3330 time_t before including sys/stat.h, which uses it.
3331 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
3332 <linux/time.h> just prior to definition of __KERNEL__ so as to
3333 allow building on Debian Linux where otherwise, mktime would
3336 2004-11-26 Paul Brook <paul@codesourcery.com>
3338 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
3340 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
3342 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
3343 const for value string parameter to match Single Unix and glibc.
3344 * libc/stdlib/putenv.c: Ditto.
3345 * libc/stdlib/putenv_r.c: Ditto.
3347 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
3349 * libc/stdio/Makefile.am: Fix missing vfscanf.
3350 * libc/stdio/Makefile.in: Regenerated.
3352 2004-11-23 Jeff Johnston <jjohnstn@redhat.com>
3354 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
3356 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
3357 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
3359 * libc/stdio/Makefile.in: Regenerated.
3360 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
3361 * libc/stdio/iprintf.c: Ditto.
3362 * libc/stdio/local.h (__svfiscanf_r): New prototype.
3363 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
3364 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
3365 * libc/stdio/stdio.tex: Add new functions.
3366 * libc/stdio/vfscanf.c: Split out __sccl function to separate
3367 file and add special name defines so this file can be used
3368 to build vfiscanf.o.
3369 * libc/stdio/asiprintf.c: New file.
3370 * libc/stdio/fiscanf.c: Ditto.
3371 * libc/stdio/iscanf.c: Ditto.
3372 * libc/stdio/sccl.c: Ditto.
3373 * libc/stdio/siscanf.c: Ditto.
3374 * libc/stdio/vasiprintf.c: Ditto.
3375 * libc/stdio/viprintf.c: Ditto.
3376 * libc/stdio/viscanf.c: Ditto.
3377 * libc/stdio/vsiprintf.c: Ditto.
3378 * libc/stdio/vsiscanf.c: Ditto.
3379 * libc/stdio/vsniprintf.c: Ditto.
3381 2004-11-19 Shaun Jackman <sjackman@gmail.com>
3383 * libc/include/stdio.h: Add sniprintf.
3384 * libc/stdio/Makefile.am: Add sniprintf.c.
3385 * libc/stdio/Makefile.in: Regenerated.
3386 * libc/stdio/sniprintf.c: New file.
3387 * libc/stdio/stdio.tex: Add sniprintf.
3389 2004-11-17 Christopher Faylor <cgf@timesys.com>
3391 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
3392 EOF flag if successful.
3394 2004-10-28 Christopher Faylor <cgf@timesys.com>
3396 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
3397 so that all relevant definitions have been performed for use in the
3400 2004-10-26 Jason Tishler <jason@tishler.net>
3402 * libc/stdio/fread.c (fread): Fix return value for unbuffered
3405 2004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3407 * libc/include/machine/setjmp.h: Add AVR support.
3408 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
3410 2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
3412 * libc/include/sys/signal.h: If <signal.h> didn't include
3413 this header file, include <signal.h> to account for
3414 applications that take advantage that the two header
3415 files are the same in glibc.
3417 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
3419 * configure.host: Add support for crx.
3420 * libc/include/machine/ieeefp.h: Ditto.
3421 * libc/include/machine/setjmp.h: Ditto.
3422 * libc/machine/crx/Makefile.am: New file.
3423 * libc/machine/crx/configure.in: Ditto.
3424 * libc/machine/crx/setjmp.S: Ditto.
3425 * libc/machine/crx/getenv.c: Ditto.
3426 * libc/machine/crx/aclocal.m4: Generate.
3427 * libc/machine/crx/configure: Ditto.
3428 * libc/machine/crx/Makefile.in: Ditto.
3429 * libc/machine/crx/sys/asm.h: New file.
3430 * libc/machine/crx/sys/libh.h: Ditto.
3431 * libc/machine/crx/sys/syscall.h: Ditto.
3433 2004-10-05 Jeff Johnston <jjohnstn@redhat.com>
3435 * Makefile.am (stmp-targ-include): Support sys header files
3436 from machine directories.
3437 * Makefile.in: Regenerated.
3439 2004-10-04 Jeff Johnston <jjohnstn@redhat.com>
3441 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
3442 count skipped zero characters as part of the nread count for %n.
3443 * libc/machine/powerpc/vfscanf.c: Ditto.
3445 2004-09-24 Jeff Johnston <jjohnstn@redhat.com>
3447 * libc/stdio/local.h: Include <stdlib.h>.
3449 2004-09-24 Corinna Vinschen <corinna@vinschen.de>
3451 * libc/stdio/fread.c (fread): Include <malloc.h>.
3453 2004-09-22 Jeff Johnston <jjohnstn@redhat.com>
3455 * libc/stdio/fread.c (fread): For non-space-optimized case,
3456 add special code for unbuffered files to use user buffer and
3457 only require one low-level system read.
3459 2004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
3461 * libc/machine/xscale/setjmp.S: New file, copied from
3462 libc/machine/arm/setjmp.S.
3463 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
3464 * libc/machine/xscale/Makefile.in: Regenerate.
3466 2004-09-16 Antony King <antony.king@st.com>
3468 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
3470 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
3471 check for__SSTR in _flags and if set, skip lock request.
3472 (_funlockfile)[!SINGLE_THREAD]: Ditto.
3473 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
3475 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
3476 initialisation of _file to -1 in local FILE.
3477 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
3478 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
3479 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
3480 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
3481 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
3482 _flags in local FILE to prevent locking.
3483 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
3485 2004-09-16 Antony King <antony.king@st.com>
3487 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
3488 and only walk the reentrancy parameter.
3489 (_fwalk_reent): Ditto.
3490 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
3492 2004-09-16 Antony King <antony.king@st.com>
3494 * libc/stdio64/freopen64.c: Remove casting of fp lock to
3497 2004-09-16 Antony King <antony.king@st.com>
3499 * libc/time/tzlock.c: Add default stubs that use generic
3502 2004-09-16 Antony King <antony.king@st.com>
3504 * libc/ctype/ctype.tex: Added missing documentation.
3505 * libc/stdio/stdio.tex Ditto.
3506 * libc/stdlib/stdlib.tex Ditto.
3507 * libc/string/strings.tex Ditto.
3508 * libc/time/time.tex: Ditto.
3509 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
3511 2004-09-15 Corinna Vinschen <vinschen@redhat.com>
3513 * libc/reent/impure.c (reent_data): Define as alias to impure_data
3514 when building for Cygwin.
3515 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
3518 2004-09-15 Jeff Johnston <jjohnstn@redhat.com>
3520 * configure.host: Reverting 2004-09-14 change as fix has occurred on
3522 * configure.in: Ditto.
3523 * libc/configure.in: Ditto.
3524 * libc/sys/configure.in: Ditto.
3526 * libc/configure: Ditto.
3527 * libc/sys/configure: Ditto.
3528 * libc/include/sys/reent.h: Ditto.
3529 * libc/stdlib/__atexit.c: Ditto.
3530 * libc/stdlib/__call_atexit.c: Ditto.
3531 * libc/stdlib/cxa_atexit.c: Ditto.
3532 * libc/stdlib/cxa_finalize.c: Ditto.
3533 * libc/sys/cygwin/Makefile.am: Removed again.
3534 * libc/sys/cygwin/Makefile.in: Ditto.
3535 * libc/sys/cygwin/aclocal.m4: Ditto.
3536 * libc/sys/cygwin/configure: Ditto.
3537 * libc/sys/cygwin/configure.in: Ditto.
3538 * libc/sys/cygwin/dummy.c: Ditto.
3539 * libc/sys/cygwin/sys/reent.h: Ditto.
3541 2004-09-14 Jeff Johnston <jjohnstn@redhat.com>
3543 * configure.host: Add Cygwin sys directory.
3544 * configure.in: Do not set CRT0 for cygwin.
3545 * libc/configure.in: Ditto.
3546 * libc/sys/configure.in: Ditto.
3547 * configure: Regenerated.
3548 * libc/configure: Ditto.
3549 * libc/sys/configure: Ditto.
3550 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
3551 * libc/stdlib/__atexit.c: Keep cxa support protected by new
3552 __REENT_HAS_CXA_SUPPORT flag.
3553 * libc/stdlib/__call_atexit.c: Ditto.
3554 * libc/stdlib/cxa_atexit.c: Ditto.
3555 * libc/stdlib/cxa_finalize.c: Ditto.
3556 * libc/sys/cygwin/Makefile.am: New file.
3557 * libc/sys/cygwin/Makefile.in: Ditto.
3558 * libc/sys/cygwin/aclocal.m4: Ditto.
3559 * libc/sys/cygwin/configure: Ditto.
3560 * libc/sys/cygwin/configure.in: Ditto.
3561 * libc/sys/cygwin/dummy.c: Ditto.
3562 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
3565 2004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3567 * libc/iconv/iconv.tex: Updated with new content.
3568 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
3569 instead of NLS_DEFAULT_NLSPATH.
3570 * libc/iconv/lib/iconvnls.h: Fix typo.
3571 * libc/include/sys/iconvnls.h: New file.
3573 2004-09-09 Paul Brook <paul@codesourcery.com>
3575 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
3577 (struct _atexit): Add _next when _REENT_SMALL.
3578 (struct _reent): Add _atexit0 when _REENT_SMALL.
3579 (_REENT_INIT_PTR): Adjust.
3580 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
3582 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
3583 * libc/stdlib/Makefile.in: Regenerate.
3584 * libc/stdlib/__atexit.c: New file.
3585 * libc/stdlib/__call_atexit.c: New file.
3586 * libc/stdlib/atexit.h: Remove old definitions. Add new.
3587 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
3588 * libc/stdlib/cxa_atexit.c: New file.
3589 * libc/stdlib/cxa_finalize.c: New file.
3590 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
3591 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
3592 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
3593 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
3596 2004-08-23 Jeff Johnston <jjohnstn@redhat.com>
3598 * libc/include/sys/unistd.h (getpass): Change prototype to use
3599 const instead of __const.
3601 2004-08-16 Nathan Sidwell <nathan@codesourcery.com>
3603 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
3606 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
3608 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
3609 on linux systems with glibc 2.3.3 installed.
3610 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
3611 profile_fixup so newlib can build on fc3 system.
3613 2004-07-30 Alexandre Oliva <aoliva@redhat.com>
3615 Introduce SH2a support.
3616 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
3617 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
3618 __SH2A_SINGLE_ONLY__, too.
3619 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
3620 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
3621 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
3622 2004-02-10 DJ Delorie <dj@redhat.com>
3623 * libc/sys/sh/crt0.S (start_l): Support sh2a.
3625 2004-07-29 Jeff Johnston <jjohnstn@redhat.com>
3627 * libc/time/strptime.c: Correct full-name of "March" typo.
3629 2004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
3631 * configure.host (h8300*-*-*): Default long long printing support.
3633 2004-07-16 Jeff Johnston <jjohnstn@redhat.com>
3635 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
3636 calls, if realloc fails, free up buffer as it is no longer
3639 2004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3641 * libc/iconv/iconv.tex: Updated to represent recent changes.
3642 * libc/iconv/lib/iconv.c: Documentation updated.
3644 2004-07-07 Nick Clifton <nickc@redhat.com>
3646 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
3649 2004-07-06 Chris Demetriou <cgd@broadcom.com>
3651 * configure.host (mips*-*-elf*): Default long long printing
3654 2004-07-05 Jeff Johnston <jjohnstn@redhat.com>
3656 * libc/Makefile.am (libc.dvi): Add target and specify
3657 same dependencies as libc.info.
3658 * libc/Makefile.in: Regenerated.
3659 * libm/Makefile.am (libm.dvi): Add target and specify
3660 same dependencies as libm.info.
3661 * libm/Makefile.in: Regenerated.
3663 2004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3665 * acinclude.m4: Move --enable-newlib-iconv option back here.
3666 * configure.in: Remove --enable-newlib-iconv option. Don't
3667 tie iconv support to --enable-newlib-mb.
3668 * aclocal.m4: Regenerated.
3670 * doc/aclocal.m4, doc/configure: Ditto.
3671 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
3672 * libm/*/aclocal.m4: Ditto.
3673 * libm/*/configure: Ditto.
3674 * libc/*/aclocal.m4: Ditto.
3675 * libc/*/configure: Ditto.
3677 2004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3679 * acinclude.m4: Move iconv options into configure.in.
3680 * aclocal.m4: Regenerated.
3682 * configure.in: Add iconv options.
3683 * newlib.hin: Add new iconv encodings and remove deleted ones.
3684 * doc/aclocal.m4: Regenerated.
3685 * doc/configure: Ditto.
3686 * iconvdata/aclocal.m4: Ditto.
3687 * iconvdata/configure: Ditto.
3688 * libc/iconv: Design change. New size-optimized ccs format.
3689 * libc/iconv/AUTHORS: Removed.
3690 * libc/iconv/COPYING: Ditto.
3691 * libc/iconv/README.ORIGINAL: Ditto.
3692 * libc/iconv/README.TODO: Ditto.
3693 * libc/iconv/charset.aliases: Ditto.
3694 * libc/iconv/encoding.aliases: New file.
3695 * libc/iconv/Makefile.am: Updated.
3696 * libc/iconv/Makefile.in: Regenerated.
3697 * libc/iconv/iconv.tex: Updated.
3698 * libc/iconv/ccs/Makefile.am: Ditto.
3699 * libc/iconv/ccs/Makefile.in: Regenerated.
3700 * libc/iconv/ccs/big5.c: Updated.
3701 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
3702 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
3703 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
3704 * libc/iconv/ccs/cp775.c: Ditto.
3705 * libc/iconv/ccs/cp850.c: Ditto.
3706 * libc/iconv/ccs/cp852.c: Ditto.
3707 * libc/iconv/ccs/cp855.c: Ditto.
3708 * libc/iconv/ccs/cp866.c: Ditto.
3709 * libc/iconv/ccs/iso_8859_1.c: Ditto.
3710 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
3711 * libc/iconv/ccs/gb_2312_80.c: Ditto.
3712 * libc/iconv/ccs/iconv_mktbl: Ditto.
3713 * libc/iconv/ccs/jis_x0201.c: Ditto.
3714 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
3715 * libc/iconv/ccs/shift_jis.c: Ditto.
3716 * libc/iconv/ccs/us_ascii.c: Ditto.
3717 * libc/iconv/ccs/ccs.h: New file.
3718 * libc/iconv/ccs/ccsbi.c: Ditto.
3719 * libc/iconv/ccs/ccsbi.h: Ditto.
3720 * libc/iconv/ccs/ccsnames.h: Ditto.
3721 * libc/iconv/ccs/iso_8859_10.c: Ditto.
3722 * libc/iconv/ccs/iso_8859_11.c: Ditto.
3723 * libc/iconv/ccs/iso_8859_13.c: Ditto.
3724 * libc/iconv/ccs/iso_8859_14.c: Ditto.
3725 * libc/iconv/ccs/iso_8859_3.c: Ditto.
3726 * libc/iconv/ccs/iso_8859_6.c: Ditto.
3727 * libc/iconv/ccs/iso_8859_7.c: Ditto.
3728 * libc/iconv/ccs/iso_8859_8.c: Ditto.
3729 * libc/iconv/ccs/iso_8859_9.c: Ditto.
3730 * libc/iconv/ccs/iso_ir_111.c: Ditto.
3731 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
3732 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
3733 * libc/iconv/ccs/koi8_ru.c: Ditto.
3734 * libc/iconv/ccs/koi8_uni.c: Ditto.
3735 * libc/iconv/ccs/mktbl.pl: Ditto.
3736 * libc/iconv/ccs/win_1250.c: Ditto.
3737 * libc/iconv/ccs/win_1251.c: Ditto.
3738 * libc/iconv/ccs/win_1252.c: Ditto.
3739 * libc/iconv/ccs/win_1253.c: Ditto.
3740 * libc/iconv/ccs/win_1254.c: Ditto.
3741 * libc/iconv/ccs/win_1255.c: Ditto.
3742 * libc/iconv/ccs/win_1256.c: Ditto.
3743 * libc/iconv/ccs/win_1257.c: Ditto.
3744 * libc/iconv/ccs/win_1258.c: Ditto.
3745 * libc/iconv/ccs/iso_8859_15.c: Updated.
3746 * libc/iconv/ccs/iso_8859_2.c: Ditto.
3747 * libc/iconv/ccs/iso_8859_4.c: Ditto.
3748 * libc/iconv/ccs/iso_8859_5.c: Ditto.
3749 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
3750 * libc/iconv/ccs/koi8_r.c: Ditto.
3751 * libc/iconv/ccs/koi8_u.c: Ditto.
3752 * libc/iconv/ccs/ksx1001.c: Ditto.
3753 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
3754 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
3755 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
3756 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
3757 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
3758 * libc/iconv/ccs/binary/Makefile.am: Updated.
3759 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
3760 * libc/iconv/ccs/binary/big5.cct: Updated.
3761 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
3762 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
3763 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
3764 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
3765 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
3766 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
3767 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
3768 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
3769 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
3770 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
3771 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
3772 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
3773 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
3774 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
3775 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
3776 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
3777 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
3778 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
3779 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
3780 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
3781 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
3782 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
3783 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
3784 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
3785 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
3786 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
3787 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
3788 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
3789 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
3790 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
3791 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
3792 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
3793 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
3794 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
3795 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
3796 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
3797 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
3798 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
3799 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
3800 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
3801 * libc/iconv/ces/Makefile.am: Updated.
3802 * libc/iconv/ces/Makefile.in: Regenerated.
3803 * libc/iconv/ces/ucs-2-internal.c: Updated.
3804 * libc/iconv/ces/ucs-4-internal.c: Ditto.
3805 * libc/iconv/ces/utf-16.c: Ditto.
3806 * libc/iconv/ces/utf-8.c: Ditto.
3807 * libc/iconv/ces/cesbi.c: New file.
3808 * libc/iconv/ces/cesbi.h: Ditto.
3809 * libc/iconv/ces/cesdeps.h: Ditto.
3810 * libc/iconv/ces/euc.c: Ditto.
3811 * libc/iconv/ces/mkdeps.pl: Ditto.
3812 * libc/iconv/ces/table-pcs.c: Ditto.
3813 * libc/iconv/ces/table.c: Ditto.
3814 * libc/iconv/ces/ucs-2.c: Ditto.
3815 * libc/iconv/ces/ucs-4.c: Ditto.
3816 * libc/iconv/ces/us-ascii.c: Ditto.
3817 * libc/iconv/ces/euc-jp.c: Removed.
3818 * libc/iconv/ces/euc-kr.c: Ditto.
3819 * libc/iconv/ces/euc-tw.c: Ditto.
3820 * libc/iconv/ces/gb2312.c: Ditto.
3821 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
3822 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
3823 * libc/iconv/lib/Makefile.am: Updated.
3824 * libc/iconv/lib/Makefile.in: Regenerated.
3825 * libc/iconv/lib/endian.h: Updated.
3826 * libc/iconv/lib/iconv.c: Ditto.
3827 * libc/iconv/lib/local.h: Ditto.
3828 * libc/iconv/lib/aliases.c: Removed.
3829 * libc/iconv/lib/bialiasesi.c: Ditto.
3830 * libc/iconv/lib/biccs.c: Ditto.
3831 * libc/iconv/lib/bices.c: Ditto.
3832 * libc/iconv/lib/ccs.c: Ditto.
3833 * libc/iconv/lib/ces.c: Ditto.
3834 * libc/iconv/lib/ces_euc.c: Ditto.
3835 * libc/iconv/lib/ces_iso2022.c: Ditto.
3836 * libc/iconv/lib/ces_table.c: Ditto.
3837 * libc/iconv/lib/converter.c: Ditto.
3838 * libc/iconv/lib/deps.h: Ditto.
3839 * libc/iconv/lib/loaddata.c: Ditto.
3840 * libc/iconv/lib/aliasesbi.c: New file.
3841 * libc/iconv/lib/aliasesi.c: Ditto.
3842 * libc/iconv/lib/conv.h: Ditto.
3843 * libc/iconv/lib/encnames.h: Ditto.
3844 * libc/iconv/lib/encoding.deps: Ditto.
3845 * libc/iconv/lib/iconvnls.c: Ditto.
3846 * libc/iconv/lib/iconvnls.h: Ditto.
3847 * libc/iconv/lib/nullconv.c: Ditto.
3848 * libc/iconv/lib/ucsconv.c: Ditto.
3849 * libc/iconv/lib/ucsconv.h: Ditto.
3850 * libc/include/iconv.h: Update copyright.
3851 * libc/*/aclocal.m4: Regenerated.
3852 * libc/*/configure: Ditto.
3853 * libm/*/aclocal.m4: Ditto.
3854 * libm/*/configure: Ditto.
3856 2004-06-22 Alexandre Oliva <aoliva@redhat.com>
3858 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
3859 instead of typedefing jmp_buf.
3861 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
3862 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
3863 * libc/machine/h8300/defines.h (LEN): New macro.
3864 * libc/machine/h8300/memcpy.S: Add h8sx version.
3865 * libc/machine/h8300/memset.S: Likewise.
3866 * libc/machine/h8300/strcmp.S: Likewise.
3867 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
3868 * libc/machine/h8300/h8sx_strcpy.S: New file.
3869 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
3870 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
3872 * libc/include/machine/setjmp.h: Likewise.
3873 * libc/include/sys/config.h: Likewise.
3874 * libc/machine/h8300/defines.h: Likewise.
3875 * libc/machine/h8300/setjmp.S: Likewise.
3876 * libc/machine/h8300/strcmp.S: Likewise.
3877 * libc/sys/h8300hms/close.S: Likewise.
3878 * libc/sys/h8300hms/fstat.S: Likewise.
3879 * libc/sys/h8300hms/lseek.S: Likewise.
3880 * libc/sys/h8300hms/read.S: Likewise.
3881 * libc/sys/h8300hms/write.S: Likewise.
3882 * libc/sys/h8300hms/crt0.S: Likewise.
3883 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
3884 __H8300SX__ is defined.
3885 * libc/sys/h8300hms/setarch.h: Likewise.
3887 2004-06-17 Jeff Johnston <jjohnstn@redhat.com>
3889 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
3890 out change which set _GLOBAL_REENT to _global_impure_ptr until
3891 we understand why Cygwin breaks because of it.
3893 2004-06-14 Jeff Johnston <jjohnstn@redhat.com>
3895 * libc/sys/linux/machine/i386/syscall.h: For now, set up
3896 __syscall_return macro for systems with vsyscall.
3898 2004-06-11 Antony King <antony.king@st.com>
3900 * libc/include/sys/_types.h: Include <sys/lock.h> and change
3901 _flock_t to be of type _LOCK_RECURSIVE_T.
3902 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
3903 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
3904 (_global_impure_ptr): New declaration.
3905 (_GLOBAL_REENT): Change to be _global_impure_ptr.
3906 * libc/include/sys/stdio.h: Include <sys/lock.h> and
3908 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
3909 (_funlockfile)[!SINGLE_THREAD]: Ditto.
3910 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
3911 * libc/stdio/fclose.c: Remove casting of fp lock to
3913 * libc/stdio/findfp.c: Ditto.
3914 * libc/stdio/fopen.c: Ditto.
3915 * libc/stdio/freopen.c: Ditto.
3916 * libc/stdio/vfprintf.c: Ditto.
3917 * libc/stdio64/fopen64.c: Ditto.
3918 * libc/stdlib/envlock.c: Add default stubs that use generic
3920 * libc/stdlib/mlock.c: Ditto.
3922 Jeff Johnston <jjohnstn@redhat.com>
3923 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
3924 (_flock_t): Change to be a struct containing a single member
3925 named mutex which is of type __flock_mutex_t.
3927 2004-06-09 Jeff Johnston <jjohnstn@redhat.com>
3929 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
3930 from /usr/include/asm/signal.h instead of kernel sources. Also
3931 default max to 32 if not found in header file.
3932 * libc/sys/linux/Makefile.in: Regenerated.
3933 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
3934 systems where __syscall_return is not defined.
3935 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
3936 systems to use syscall() function instead of assembler interrupt.
3938 2004-06-09 Toralf Lund <toralf@procaptura.com>
3940 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
3941 files from libc/sys/arm to libc/machine/arm.
3942 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
3943 library build support for files moved from libc/sys/arm.
3944 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
3945 references to access and setjmp.
3946 * configure.host: Add checks for newlib_may_supply_syscalls to
3947 determine whether or not to use sys/arm directory and use
3948 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
3950 2004-06-02 Jeff Johnston <jjohnstn@redhat.com>
3952 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
3953 reset digit flags appropriately after we have discovered "0x".
3954 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
3956 2004-05-27 Jeff Johnston <jjohnstn@redhat.com>
3958 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
3960 (_VFPRINTF_R): ... to here so all I/O printf routines
3963 2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
3965 * libc/search/hash_buf.c: Protect MAX and MIN macros from
3967 * libc/search/hash.c: Ditto.
3969 2004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3971 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
3972 (_WANT_IO_LONG_LONG): Ditto.
3973 (_WANT_IO_LONG_DOUBLE): Ditto.
3974 * configure.in: Add new configuration options
3975 --enable-newlib-io-long-long and --enable-newlib-io-long-double
3976 which tie to new defines in newlib.hin.
3977 * configure: Regenerated.
3978 * configure.host: Add checks for new configuration options. Also
3979 fix up check for --enable-newlib-io-pos-args so configuration
3980 option will override any default for a given platform.
3981 Remove defining compiler flags for the _WANT_IO* options.
3982 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
3983 instead of looking for old compiler flags.
3984 * libc/stdio/vfscanf.c: Ditto.
3985 * libc/stdio/vfieeefp.h: Ditto.
3986 * libc/machine/powerpc/vfprintf.c: Ditto.
3987 * libc/machine/powerpc/vfscanf.c: Ditto.
3989 2004-05-25 Jeff Johnston <jjohnstn@redhat.com>
3991 * testsuite/include/check.h: Add include of <stdio.h>.
3993 2004-05-17 Corinna Vinschen <corinna@vinschen.de>
3995 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
3997 2004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3999 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
4002 2004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4004 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
4005 list for reentrant pointer. Call _vfiprintf_r.
4006 * libc/stdio/siprintf.c (_siprintf_r): New function.
4007 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
4008 pointer argument. Change all callers. Call _VFPRINTF_R.
4009 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
4012 2004-05-07 Jeff Johnston <jjohnstn@redhat.com>
4014 * libc/include/sys/param.h: Remove endian info and include
4015 <machine/endian.h> instead.
4016 * libc/include/machine/endian.h: New file.
4017 * libc/include/machine/param.h: Ditto.
4018 * libc/machine/arm/machine/endian.h: Ditto.
4019 * libc/machine/arm/machine/param.h: Ditto.
4020 * libc/sys/arm/sys/param.h: Removed.
4021 * libc/sys/sysvi386/sys/param.h: Ditto.
4022 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
4024 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4026 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
4027 multibyte functions return failure for %C, %S, %lc, and %ls
4030 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4032 * testsuite/include/check.h (CHECK): Add flush of stdout.
4034 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4036 * libc/include/stdio.h (_ungetc_r): New prototype.
4037 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
4038 (__submore): Add reentrant struct pointer argument.
4039 (ungetc): Change to call _ungetc_r.
4041 2004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4043 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
4044 function pointer argument.
4045 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
4046 to specify function pointer arguments.
4047 (__fwalk, __fwalk_reent): Ditto.
4049 2004-04-26 Aldy Hernandez <aldyh@redhat.com>
4051 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
4054 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4056 * configure.in: Define _MB_CAPABLE if mb supported.
4057 * configure: Regenerated.
4058 * configure.host: Remove manual setting of MB_CAPABLE compiler
4060 * newlib.hin: Add _MB_CAPABLE flag.
4061 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
4062 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
4063 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
4064 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
4065 * libc/ctype/jp2uc.c: Ditto.
4066 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
4067 * libc/locale/locale.c: Ditto
4068 * libc/machine/powerpc/vfscanf.c: Ditto
4069 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
4070 * libc/stdlib/mblen.c: Ditto
4071 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
4072 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
4073 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
4074 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
4075 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
4076 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
4077 * libc/sys/linux/intl/explodename.c: Ditto
4078 * libc/sys/linux/intl/finddomain.c: Ditto
4079 * libc/sys/linux/intl/l10nflist.c: Ditto
4080 * libc/sys/linux/intl/loadmsgcat.c: Ditto
4081 * libc/sys/linux/intl/localealias.c: Ditto
4083 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
4085 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
4086 (__svfscanf_r): In integer conversions, leave out leading zeroes
4087 which are not part of a base prefix.
4088 Keep track of width truncation to fit into buf, not counting left-out
4089 zeroes against width till the truncation has been compensated for.
4090 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
4092 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
4094 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
4096 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4098 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
4099 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
4100 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
4101 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
4102 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
4103 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
4104 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
4105 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
4106 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
4107 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
4108 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
4109 libc/stdio/getchar.c libc/stdio/getchar_u.c,
4110 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
4111 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
4112 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
4113 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
4114 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
4115 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
4116 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
4117 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
4118 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
4119 libc/stdio/siprintf.c libc/stdio/snprintf.c,
4120 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
4121 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
4122 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
4123 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
4124 libc/stdio/vprintf.c libc/stdio/vscanf.c,
4125 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
4126 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
4127 libc/stdio/wsetup.c: Perform minor formatting changes. Move
4128 copyright notices to top of file, ensure that <_ansi.h> is
4129 included, be consistent with open parentheses, use _DEFUN macro,
4130 include "local.h" where needed, and remove various compiler
4133 2004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
4135 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
4136 (__svfscanf_r): In integer conversions, leave out leading zeroes
4137 which are not part of a base prefix.
4138 Keep track of width truncation to fit into buf, not counting left-out
4139 zeroes against width till the truncation has been compensated for.
4141 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
4143 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
4145 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
4147 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
4149 2004-04-10 Corinna Vinschen <corinna@vinschen.de>
4151 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
4154 2004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4156 * libc/stdio/fclose.c (_fclose_r): New function.
4157 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
4158 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
4159 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
4160 * libc/include/stdio.h (_fclose_r): New prototype.
4161 * libc/stdio/fopen.c: Fix typo in comment.
4163 2004-04-08 Jeff Johnston <jjohnstn@redhat.com>
4165 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
4166 to handle _r reentrant functions.
4168 2004-04-08 Eric Christopher <echristo@redhat.com>
4170 * libc/include/machine/setjmp.h: Fix endif locations.
4172 2004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4174 * libc/time/strptime.c: Add standard includes to avoid
4175 warning messages at compilation time.
4177 2004-04-01 Jeff Johnston <jjohnstn@redhat.com>
4179 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
4182 2004-03-30 Jeff Johnston <jjohnstn@redhat.com>
4184 * libc/machine/h8300/Makefile.am: Reformat slightly.
4185 * libc/machine/h8300/Makefile.in: Regenerate.
4187 2004-03-30 Thomas Pfaff <tpfaff@gmx.net>
4189 * libc/stdio/findfp.c (__fp_lock_all): Add call to
4191 (__fp_unlock_all): Add call to __sfp_lock_release.
4193 2004-03-25 Thomas Pfaff <tpfaff@gmx.net>
4195 * libc/stdio/fclose.c (fclose): Protect file pointer list when
4197 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
4199 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
4200 _flockfile/_funlockfile.
4201 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
4203 Change __lock_acquire/__lock_release calls for __sfp_lock to
4204 __sfp_lock_acquire/__sfp_lock_release throughout.
4205 (std): Make sure that file lock is only initialized once.
4206 (__sfp): Move _file initialization. Initialize file lock.
4207 (__sfp_lock_acquire): New function.
4208 (__sfp_lock_release): Ditto.
4209 (__fp_lock_all): Remove __sfp_lock_acquire call.
4210 (__fp_unlock_all): Remove __sfp_lock_release call.
4211 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
4212 Add calls to _flockfile/_funlockfile. Remove
4213 __lock_init_recursive call.
4214 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
4215 * libc/stdio/fwalk.c (__fwalk): New static function.
4216 (_fwalk): Protect file pointer list. Use __fwalk to walk through
4218 * libc/stdio/local.h: Add defines for
4219 __sfp_lock_acquire/__sfp_lock_release when
4220 single threaded. Add function prototypes otherwise.
4221 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
4222 _flockfile/_funlockfile.
4223 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
4224 Add calls to _flockfile/_funlockfile. Remove
4225 __lock_init_recursive call.
4226 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
4229 2004-03-25 Jeff Johnston <jjohnstn@redhat.com>
4231 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
4232 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
4233 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
4234 to be __LOCK_INIT_RECURSIVE.
4236 2004-03-11 Kazu Hirata <kazu@cs.umass.edu>
4238 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
4239 _exit.c with _exit.S.
4240 * libc/sys/h8300hms/Makefile.in: Regenerate.
4241 * libc/sys/h8300hms/_exit.c: Remove.
4242 * libc/sys/h8300hms/_exit.S: New.
4244 2004-03-09 Thomas Pfaff <tpfaff@gmx.net>
4246 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
4247 Change __sfp_lock to static global.
4248 (__fp_lock): New static function.
4249 (__fp_unlock): Ditto.
4250 (__fp_lock_all): New function.
4251 (__fp_unlock_all): Ditto.
4253 2004-02-10 Christopher Faylor <cgf@redhat.com>
4255 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
4256 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
4257 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
4258 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
4260 2004-02-09 Christopher Faylor <cgf@redhat.com>
4262 * libc/include/time.h (TIMER_RELTIME): New define.
4264 2004-02-09 Jeff Johnston <jjohnstn@redhat.com>
4266 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
4267 * libc/stdlib/Makefile.in: Regenerated.
4269 2004-02-08 Christopher Faylor <cgf@redhat.com>
4271 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
4272 * libc/include/sys/reent.h (__getreent): Protect against possibly being
4274 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
4276 2004-02-05 Paul Brook <paul@codesourcery.com>
4278 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
4279 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
4281 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
4283 * NEWS: Update with 1.12.0 info.
4285 * acinclude.m4: Change version number to 1.12.0.
4286 * aclocal.m4: Regenerated.
4288 * doc/aclocal.m4: Ditto.
4289 * doc/configure: Ditto.
4290 * libc/*/aclocal.m4: Ditto.
4291 * libc/*/configure: Ditto.
4292 * libc/libc.texinfo: Ditto.
4293 * libm/*/aclocal.m4: Ditto.
4294 * libm/*/configure: Ditto.
4295 * libm/libm.texinfo: Ditto.
4296 * libc/sys/linux/shared.ld: Add VERS_1.12.
4298 2004-02-02 Joel Sherrill <joel@oarcorp.com>
4300 * configure.host: Add support for tic4x.
4301 * libc/include/machine/ieeefp.h: Ditto.
4302 * libc/include/machine/setjmp.h: Ditto.
4303 * libc/machine/tic4x/Makefile.am: New file.
4304 * libc/machine/tic4x/configure.in: Ditto.
4305 * libc/machine/tic4x/setjmp.S: Ditto.
4306 * libc/machine/tic4x/aclocal.m4: Generated.
4307 * libc/machine/tic4x/configure: Ditto.
4308 * libc/machine/tic4x/Makefile.in: Ditto.
4310 2004-01-30 Jeff Johnston <jjohnstn@redhat.com>
4312 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
4313 file chain on the passed in reentrancy struct if it
4316 2004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4317 Jeff Johnston <jjohnstn@redhat.com>
4319 * libc/iconv/iconv.tex: Updated with more information.
4321 2004-01-30 Thomas Pfaff <tpfaff@gmx.net>
4322 Jeff Johnston <jjohnstn@redhat.com>
4324 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
4325 struct for std streams and traverse the global reeentrancy
4326 struct for all other streams.
4328 2004-01-27 Jeff Johnston <jjohnstn@redhat.com>
4330 * libc/stdlib/atexit.c: Protect global atexit list with a
4331 lock when newlib is multithreaded.
4333 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4335 * configure.in: Add support to generate iconv converter flags
4337 * newlib.hin: Add iconv converter flags.
4338 * configure: Regenerated.
4339 * libc/Makefile.in: Ditto.
4340 * libc/configure.in: Moved iconv converter parsing logic to
4341 top level newlib configure.in.
4342 * libc/configure: Regenerated.
4343 * libc/iconv/Makefile.in: Ditto.
4344 * libc/iconv/README.TODO
4345 * libc/iconv/charset.aliases: Remove wrong BE aliases for
4347 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
4348 newlib.h can be used.
4349 * libc/iconv/ces/Makefile.am: Ditto.
4350 * libc/iconv/lib/Makefile.am: Ditto.
4351 * libc/iconv/ccs/Makefile.in: Regenerated.
4352 * libc/iconv/ces/Makefile.in: Ditto.
4353 * libc/iconv/lib/Makefile.in: Ditto.
4354 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
4355 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
4356 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
4357 defined in newlib.h.
4358 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
4359 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
4360 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
4361 * libc/iconv/ccs/cp775.c: Ditto.
4362 * libc/iconv/ccs/cp850.c: Ditto.
4363 * libc/iconv/ccs/cp852.c: Ditto.
4364 * libc/iconv/ccs/cp855.c: Ditto.
4365 * libc/iconv/ccs/cp866.c: Ditto.
4366 * libc/iconv/ccs/gb_2312_80.c: Ditto.
4367 * libc/iconv/ccs/iso_8859_1.c: Ditto.
4368 * libc/iconv/ccs/iso_8859_15.c: Ditto.
4369 * libc/iconv/ccs/iso_8859_2.c: Ditto.
4370 * libc/iconv/ccs/iso_8859_4.c: Ditto.
4371 * libc/iconv/ccs/iso_8859_5.c: Ditto.
4372 * libc/iconv/ccs/jis_x0201.c: Ditto.
4373 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
4374 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
4375 * libc/iconv/ccs/koi8_r.c: Ditto.
4376 * libc/iconv/ccs/koi8_u.c: Ditto.
4377 * libc/iconv/ccs/ksx1001.c: Ditto.
4378 * libc/iconv/ccs/shift_jis.c: Ditto.
4379 * libc/iconv/ccs/us_ascii.c: Ditto.
4380 * libc/iconv/ccs/binary/big5.cct: Newly generated.
4381 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
4382 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
4383 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
4384 * libc/iconv/ccs/binary/cp775.cct: Ditto.
4385 * libc/iconv/ccs/binary/cp850.cct: Ditto.
4386 * libc/iconv/ccs/binary/cp852.cct: Ditto.
4387 * libc/iconv/ccs/binary/cp855.cct: Ditto.
4388 * libc/iconv/ccs/binary/cp866.cct: Ditto.
4389 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
4390 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
4391 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
4392 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
4393 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
4394 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
4395 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
4396 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
4397 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
4398 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
4399 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
4400 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
4401 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
4402 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
4403 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
4404 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
4405 * libc/iconv/ces/euc-kr.c: Ditto.
4406 * libc/iconv/ces/euc-tw.c: Ditto.
4407 * libc/iconv/ces/gb2312.c: Ditto.
4408 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
4409 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
4410 * libc/iconv/ces/ucs-2-internal.c: Ditto.
4411 * libc/iconv/ces/ucs-4-internal.c: Ditto.
4412 * libc/iconv/ces/utf-16.c: Ditto.
4413 * libc/iconv/ces/utf-8.c: Ditto.
4414 * libc/iconv/lib/aliases.c: Ditto.
4415 * libc/iconv/lib/biccs.c: Ditto.
4416 * libc/iconv/lib/bices.c: Ditto.
4417 * libc/iconv/lib/ccs.c: Ditto.
4418 * libc/iconv/lib/ces.c: Ditto.
4419 * libc/iconv/lib/ces_euc.c: Ditto.
4420 * libc/iconv/lib/ces_iso2022.c: Ditto.
4421 * libc/iconv/lib/ces_table.c: Ditto.
4422 * libc/iconv/lib/converter.c: Ditto.
4423 * libc/iconv/lib/deps.h: Ditto.
4424 * libc/iconv/lib/endian.h: Ditto.
4425 * libc/iconv/lib/iconv.c: Ditto.
4426 * libc/iconv/lib/loaddata.c: Ditto.
4427 * libc/iconv/lib/local.h: Include newlib.h.
4428 * libc/argz/Makefile.in: Regenerated.
4429 * libc/ctype/Makefile.in: Ditto.
4430 * libc/errno/Makefile.in: Ditto.
4431 * libc/iconv/ccs/binary/Makefile.in: Ditto.
4432 * libc/locale/Makefile.in: Ditto.
4433 * libc/misc/Makefile.in: Ditto.
4434 * libc/posix/Makefile.in: Ditto.
4435 * libc/reent/Makefile.in: Ditto.
4436 * libc/search/Makefile.in: Ditto.
4437 * libc/signal/Makefile.in: Ditto.
4438 * libc/stdio/Makefile.in: Ditto.
4439 * libc/stdio64/Makefile.in: Ditto.
4440 * libc/stdlib/Makefile.in: Ditto.
4441 * libc/string/Makefile.in: Ditto.
4442 * libc/syscalls/Makefile.in: Ditto.
4443 * libc/time/Makefile.in: Ditto.
4444 * libc/unix/Makefile.in: Ditto.
4445 * testsuite/newlib.iconv/iconv.exp: New file.
4446 * testsuite/newlib.iconv/iconvjp.c: Ditto.
4447 * testsuite/newlib.iconv/iconvnm.c: Ditto.
4448 * testsuite/newlib.iconv/iconvru.c: Ditto.
4450 2004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4452 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
4453 (--enable-newlib-builtin-converters): Ditto.
4454 * configure.in: Add code to set _ICONV_ENABLED flag.
4455 Set _MB_LEN_MAX to 1 if not mb enabled.
4456 * configure: Regenerated.
4457 * aclocal.m4: Ditto.
4458 * Makefile.in: Ditto.
4459 * newlib.hin: Add _ICONV_ENABLED flag.
4460 * libc/Makefile.am: Add support for iconv.
4461 * libc/configure.in: Ditto.
4462 * libc/Makefile.in: Regenerated.
4463 * libc/aclocal.m4: Ditto.
4464 * libc/configure: Ditto.
4465 * libc/libc.texinfo: Add iconv documentation.
4466 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
4467 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
4468 libc/iconv/README.TODO, libc/iconv/charset.aliases,
4469 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
4470 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
4471 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
4472 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
4473 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
4474 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
4475 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
4476 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
4477 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
4478 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
4479 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
4480 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
4481 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
4482 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
4483 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
4484 libc/iconv/ccs/binary/big5.cct,
4485 libc/iconv/ccs/binary/cns11643_plane1.cct,
4486 libc/iconv/ccs/binary/cns11643_plane14.cct,
4487 libc/iconv/ccs/binary/cns11643_plane2.cct,
4488 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
4489 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
4490 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
4491 libc/iconv/ccs/binary/iso_8859_1.cct,
4492 libc/iconv/ccs/binary/iso_8859_15.cct,
4493 libc/iconv/ccs/binary/iso_8859_2.cct,
4494 libc/iconv/ccs/binary/iso_8859_4.cct,
4495 libc/iconv/ccs/binary/iso_8859_5.cct,
4496 libc/iconv/ccs/binary/jis_x0201.cct,
4497 libc/iconv/ccs/binary/jis_x0208_1983.cct,
4498 libc/iconv/ccs/binary/jis_x0212_1990.cct,
4499 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
4500 libc/iconv/ccs/binary/ksx1001.cct,
4501 libc/iconv/ccs/binary/shift_jis.cct,
4502 libc/iconv/ccs/binary/us_ascii.cct,
4503 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
4504 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
4505 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
4506 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
4507 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
4508 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
4509 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
4510 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
4511 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
4512 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
4513 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
4514 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
4515 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
4516 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
4517 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
4518 * libc/sys/linux/include/iconv.h: Ditto.
4519 * libc/include/sys/_types.h (_iconv_t): Added.
4520 * doc/aclocal.m4: Regenerated.
4521 * doc/configure: Ditto.
4522 * doc/Makefile.in: Ditto.
4523 * iconvdata/Makefile.in: Ditto.
4524 * iconvdata/aclocal.m4: Ditto.
4525 * iconvdata/configure: Ditto.
4526 * libc/*aclocal.m4: Ditto.
4527 * libc/*Makefile.in: Ditto.
4528 * libc/*configure: Ditto.
4529 * libm/*aclocal.m4: Ditto.
4530 * libm/*Makefile.in: Ditto.
4531 * libm/*configure: Ditto.
4533 2004-01-22 Thomas Pfaff <tpfaff@gmx.net>
4535 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
4536 by a lock when newlib is multithreaded.
4538 2004-01-21 Jeff Johnston <jjohnstn@redhat.com>
4540 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
4541 pointer to match C99 spec.
4542 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
4543 dst is NULL. Also fix to not alter src pointer when dst is NULL
4544 and call _mbrtowc_r instead of _mbtowc_r.
4545 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
4548 2004-01-19 Thomas Pfaff <tpfaff@gmx.net>
4550 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
4551 * libc/stdio/freopen.c (freopen): Ditto.
4553 2004-01-16 Christopher Faylor <cgf@redhat.com>
4555 * libc/stdio/vfprintf.c: Add sys/lock.h include.
4557 2004-01-16 Thomas Pfaff <tpfaff@gmx.net>
4559 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
4560 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
4561 Add calls to __lock_init_recursive and __lock_close_recursive
4564 2004-01-15 Thomas Pfaff <tpfaff@gmx.net>
4566 * libc/stdio/fclose.c: Include sys/lock.h.
4567 (fclose): Destroy lock when file is closed.
4568 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
4570 * libc/stdio/freopen.c: Include sys/lock.h.
4571 (_freopen_r): Destroy lock when file is closed.
4572 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
4575 2004-01-08 Joel Sherrill <joel@oarcorp.com>
4577 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
4580 2004-01-08 Joel Sherrill <joel@oarcorp.com>
4582 * libc/sys/rtems/sys/queue.h: New file.
4583 * libc/include/sys/signal.h: Reflect renumbering of signals to
4584 fit into 32-bit mask.
4585 * libc/include/sys/unistd.h: Add fdatasync() prototype.
4586 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
4587 required. In particular, add the reentrant variants of libc calls.
4588 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
4590 2004-01-06 Mark Mitchell <mark@codesourcery.com>
4592 * libc/sys/arm/syscalls.c (unistd.h): Include it.
4593 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
4594 Similarly for stdout and stderr.
4596 2004-01-06 Jeff Johnston <jjohnstn@redhat.com>
4598 * libc/libc.texinfo: Correct escape character for @ sign
4599 so file will be processed by make info. Update copyright years.
4600 * libm/libm.texinfo: Ditto.
4602 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
4604 * libc/include/sys/stat.h: No longer include stat-dj.h.
4605 * libc/include/sys/stat-dj.h: Removed.
4607 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
4609 * libc/include/wchar.h: Include <sys/reent.h>.
4611 2003-12-05 Christopher Faylor <cgf@redhat.com>
4613 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
4614 when defining _mbrtowc.
4615 * libc/stdlib/mbsinit.c: Ditto.
4616 * libc/stdlib/mbsrtowcs.c: Ditto.
4617 * libc/stdlib/wcrtomb.c: Ditto.
4618 * libc/stdlib/wcsrtombs.c: Ditto.
4619 * libc/stdlib/wctob.c: Ditto.
4621 2003-12-05 Christopher Faylor <cgf@redhat.com>
4623 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
4624 errors when defining _mbrtowc.
4625 * libc/stdlib/mbsinit.c: Ditto.
4626 * libc/stdlib/mbsrtowcs.c: Ditto.
4628 2003-12-05 Christopher Faylor <cgf@redhat.com>
4630 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
4631 errors when defining _mbrtowc.
4633 2003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4635 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
4636 of mb routines for %lc and %ls support.
4637 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
4638 %ls, and %S support. Remove CYGNUS_NEC markers and
4641 2003-12-04 Jeff Johnston <jjohnstn@redhat.com>
4643 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
4644 _wcrtomb_r, and _wcsrtombs_r.
4646 2003-12-01 Corinna Vinschen <corinna@vinschen.de>
4648 * libc/include/sys/fcntl.h: Don't define struct flock when on
4649 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
4651 2003-11-28 Christopher Faylor <cgf@redhat.com>
4653 * libc/include/sys/signal.h: Use system specific signal file when
4656 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
4658 * libc/include/stdlib.h (_atoi_r): New prototype.
4659 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
4661 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
4663 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
4664 * libc/stdlib/atol.c (_atol_r): New reentrant function.
4665 * libc/stdlib/atoll.c (_atoll_r): Ditto.
4667 2003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4668 Jeff Johnston <jjohnstn@redhat.com>
4670 * libc/include/stdlib.h (lldiv_t): New type.
4671 (atoll, llabs, lldiv): New prototypes.
4672 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
4673 * libc/stdlib/stdlib.tex: Ditto.
4674 * libc/stdlib/Makefile.in: Regenerated.
4675 * libc/stdlib/atoll.c: New file.
4676 * libc/stdlib/llabs.c: Ditto.
4677 * libc/stdlib/lldiv.c: Ditto.
4679 2003-11-26 Corinna Vinschen <corinna@vinschen.de>
4681 * libc/include/fcntl.h: Declare syscalls only when building newlib.
4682 * libc/include/unistd.h: Ditto.
4683 * libc/include/stat.h: Ditto. Also declare struct stat64.
4685 2003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4687 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
4688 specifier to use ch instead of *fmt.
4690 2003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4692 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
4693 code within checks for MB_CAPABLE. For non-mb-capable platforms,
4694 use simple byte logic.
4696 2003-11-21 Jeff Johnston <jjohnstn@redhat.com>
4698 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
4699 _strtold routine for processing floats and doubles since it
4700 is not as fast as _strtod_r.
4702 2003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
4704 * libc/machine/h8300/defines.h : Correct pointer register defines
4706 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
4708 * libc/machine/h8300/reg_memcpy.S : Likewise.
4709 * libc/machine/h8300/reg_memset.S : Likewise.
4710 * libc/machine/h8300/strcmp.S : Likewise.
4712 2003-11-19 Nicholas Wourms <nwourms@netscape.net>
4714 * configure.host: Enable positional arguments for printf
4716 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
4717 pointer reference for quad_ptr_t.
4719 2003-11-19 Jeff Johnston <jjohnstn@redhat.com>
4721 * libc/stdio/scanf.c: Don't include local.h more than once.
4723 2003-11-18 Corinna Vinschen <corinna@vinschen.de>
4725 * libc/include/sys/fcntl.h: Declare _open64.
4726 * libc/include/sys/stat.h: Declare _fstat64.
4727 * libc/include/sys/unistd.h: Declare _lseek64.
4729 2003-11-17 Corinna Vinschen <corinna@vinschen.de>
4731 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
4732 (setprogname): Ditto.
4734 2003-11-10 Jeff Johnston <jjohnstn@redhat.com>
4736 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
4737 to use (Ebits + 1) which accounts for the sign-bit.
4739 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
4741 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
4743 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
4744 and set up default flags to pass to aclocal.
4745 * iconvdata/Makefile.in: Regenerated.
4746 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
4747 and getpwuid routines.
4748 * libc/sys/linux/Makefile.in: Regenerated.
4749 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
4750 applications to link with newlib's shared libc library.
4751 * libc/sys/linux/getpwnam.c: Ditto.
4752 * libc/sys/linux/getpwuid.c: Ditto.
4753 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
4754 that were formerly supplied by /usr/include/linux/types.h with
4756 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
4757 test _ELIX_LEVEL macro.
4759 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
4761 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
4762 referring to _NO_LONGLONG macro.
4764 2003-11-06 Jeff Johnston <jjohnstn@redhat.com>
4766 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
4767 in LOG() macro so this will compile on gcc 3.4 and up.
4768 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
4769 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
4770 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
4771 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
4772 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
4773 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
4774 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
4775 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
4776 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
4777 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
4778 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
4779 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
4780 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
4781 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
4782 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
4783 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
4784 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
4785 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
4786 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
4787 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
4788 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
4789 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
4790 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
4791 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
4792 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
4793 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
4794 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
4795 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
4796 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
4797 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
4798 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
4799 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
4800 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
4801 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
4802 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
4803 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
4805 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
4806 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4808 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
4809 %ls, %S, %lc, and %C format specifiers.
4811 * libc/stdio/sprintf.c: Add documentation regarding new
4812 format specifiers added in vfprintf.c.
4814 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
4816 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
4817 to make code work as specified in standard.
4819 2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
4821 * configure.in: Use absolute newlib basedir when forming
4822 CC_FOR_NEWLIB include options.
4823 * configure: Regenerated.
4825 2003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4827 * libc/string/wcsnlen.c: New file.
4828 * libc/include/wchar.h: Add wcsnlen prototype.
4829 * libc/string/Makefile.am: Add wcsnlen support.
4830 * libc/string/Makefile.in: Regenerated.
4831 * libc/string/wcstrings.tex: Add wcsnlen documentation.
4833 2003-10-22 Richard Sandiford <rsandifo@redhat.com>
4835 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
4837 2003-10-20 Bob Wilson <bob.wilson@acm.org>
4839 * libc/locale/locale.c: Use double quotes in code.
4840 * libc/locale/locale.tex: Likewise.
4841 * libc/libc.texinfo: Hyphenate "floating-point".
4842 * libc/machine/necv70/necv70.tex: Likewise.
4843 * libc/stdio/sprintf.c: Likewise.
4844 * libc/stdio/sscanf.c: Likewise.
4845 * libc/stdlib/atof.c: Likewise.
4846 * libc/stdlib/ldtoa.c: Fix comment typo.
4847 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
4848 * libc/stdlib/ldiv.c: Likewise.
4849 * libm/common/s_expm1.c: Likewise.
4850 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
4851 * libm/common/s_infinity: Hyphenate "double- and single-precision".
4852 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
4853 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
4854 and "floating-point".
4855 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
4856 * libm/math/e_pow.c: Fix comment typo.
4857 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
4858 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
4859 * libm/math/s_atan.c: Likewise.
4860 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
4861 * libm/math/s_isnan.c: Hyphenate "single-precision" and
4862 "floating-point". Use "nonzero".
4863 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
4864 * libm/math/w_acos.c: Likewise.
4865 * libm/math/w_acosh.c: Likewise.
4866 * libm/math/w_asin.c: Likewise.
4867 * libm/math/w_atan2.c: Likewise.
4868 * libm/math/w_atanh.c: Likewise.
4869 * libm/math/w_cosh.c: Likewise.
4870 * libm/math/w_exp.c: Likewise.
4871 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
4872 version of 2^x in the description.
4873 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
4874 * libm/math/w_gamma.c: Likewise.
4875 * libm/math/w_hypot.c: Likewise.
4876 * libm/math/w_j0.c: Likewise.
4877 * libm/math/w_sinh.c: Likewise.
4878 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
4879 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
4881 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
4882 * libm/mathfp/e_atanh.c: Likewise.
4883 * libm/mathfp/e_hypot.c: Likewise.
4884 * libm/mathfp/er_lgamma.c: Likewise.
4885 * libm/mathfp/s_acos.c: Likewise.
4886 * libm/mathfp/s_asine.c: Likewise.
4887 * libm/mathfp/s_asinh.c: Likewise.
4888 * libm/mathfp/s_atan.c: Likewise.
4889 * libm/mathfp/s_atan2.c: Likewise.
4890 * libm/mathfp/s_atangent.c: Likewise.
4891 * libm/mathfp/s_cosh.c: Likewise.
4892 * libm/mathfp/s_exp.c: Likewise.
4893 * libm/mathfp/s_fmod.c: Likewise.
4894 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
4895 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
4896 "floating-point". Use "nonzero".
4897 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
4898 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
4899 * libm/mathfp/s_sineh.c: Likewise.
4900 * libm/mathfp/w_jn.c: Likewise.
4902 2003-10-15 Alexandre Oliva <aoliva@redhat.com>
4904 * Makefile.am: Add $(MAKE) comments to multido and multiclean
4905 lines, to enable parallel make.
4906 * Makefile.in: Rebuilt.
4908 2003-10-14 Christopher Faylor <cgf@redhat.com>
4910 * libc/time/clock.c: Clarify documentation of return value when no
4911 measurement is available.
4913 2003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
4915 * libm/configure.in: Check libm_machine_dir, not machine_dir.
4916 * libm/configure: Regenerate.
4917 * libm/Makefile.in: Ditto.
4919 2003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
4921 * libc/machine/sh/strncpy.S: New file.
4922 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
4923 * libc/machine/sh/Makefile.in: Regenerate.
4925 2003-09-11 James E Wilson <wilson@specifixinc.com>
4927 * MAINTAINERS: Update my e-mail address.
4929 2003-09-10 Corinna Vinschen <corinna@vinschen.de>
4931 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
4933 2003-09-09 Jeff Johnston <jjohnstn@redhat.com>
4935 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
4937 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
4938 _simdldcheck(). Also add unsigned cast for index variable in
4939 for loop using sizeof operators.
4940 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
4941 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
4942 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
4943 plus fix shift calculation for determining if there is a
4946 2003-09-09 Corinna Vinschen <corinna@vinschen.de>
4948 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
4949 setgroupent for Cygwin.
4951 2003-09-05 Jeff Johnston <jjohnstn@redhat.com>
4953 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
4954 is different for _REENT_SMALL than when using regular reent
4957 2003-09-05 Ben Elliston <bje@wasabisystems.com>
4959 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
4960 modern versions of GCC issue a warning.
4962 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
4963 after continuation characters that induces a warning from modern
4966 2003-09-04 Ben Elliston <bje@wasabisystems.com>
4968 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
4969 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
4971 2003-09-02 Thomas Pfaff <tpfaff@gmx.net>
4973 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
4974 * libc/stdlib/exit.c : Ditto.
4975 * libc/stdlib/on_exit.c: Ditto.
4977 2003-08-27 Corinna Vinschen <corinna@vinschen.de>
4979 * libc/include/reent.h: Define stat64 as __stat64 when
4980 compiling newlib for Cygwin.
4982 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
4984 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
4985 __stat64 when compiling newlib.
4987 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
4989 * libc/include/stdio.h: Allow the io64 function prototypes for
4990 Cygwin when compiling newlib.
4991 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
4992 to expose the Cygwin struct __stat64 type.
4993 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
4995 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
4997 2003-08-23 Christopher Faylor <cgf@redhat.com>
4999 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
5000 definition to fseeko64.
5002 2003-08-22 Jeff Johnston <jjohnstn@redhat.com>
5004 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
5005 * libc/stdio: Globally remove/replace all references to fp->_data.
5006 Replace with _REENT or _GLOBAL_REENT where appropriate.
5007 * libc/stdio/asprintf.c: Ditto.
5008 * libc/stdio/fclose.c: Ditto.
5009 * libc/stdio/fvwrite.c: Ditto.
5010 * libc/stdio/makebuf.c: Ditto.
5011 * libc/stdio/refill.c: Ditto.
5012 * libc/stdio/local.h: Ditto.
5013 * libc/stdio/setvbuf.c: Ditto.
5014 * libc/stdio/sscanf.c: Ditto.
5015 * libc/stdio/stdio.c: Ditto.
5016 * libc/stdio/ungetc.c: Ditto.
5017 * libc/stdio/vfscanf.c: Ditto.
5018 * libc/stdio/vsscanf.c: Ditto.
5019 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
5020 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
5021 * libc/stdio/vsnprintf.c: Ditto.
5022 * libc/stdio/vsprintf.c: Ditto.
5023 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
5024 instead of _REENT to walk file list.
5025 * libc/stdio/fflush.c: Ditto.
5026 * libc/stdio/fgetpos.c: Add reentrant version and have regular
5027 version call reentrant version with _REENT argument.
5028 * libc/stdio/fsetpos.c: Ditto.
5029 * libc/stdio/fseek.c: Ditto.
5030 * libc/stdio/fseeko.c: Ditto.
5031 * libc/stdio/ftell.c: Ditto.
5032 * libc/stdio/ftello.c: Ditto.
5033 * libc/stdio/freopen.c: Ditto.
5034 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
5035 new files to chain. Also use _GLOBAL_REENT pointer for
5037 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
5038 * libc/stdio/siprintf.c: Ditto.
5039 * libc/stdio/iprintf.c: Ditto.
5040 * libc/stdio/fprintf.c: Ditto.
5041 * libc/stdio/printf.c: Ditto.
5042 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
5043 * libc/stdio/sprintf.c: Ditto.
5044 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
5045 * libc/stdio/rewind.c: Call _fseek_r directly.
5046 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
5047 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
5049 (get_arg): Add extra struct _reent pointer argument.
5050 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
5052 * libc/stdio64/fopen64.c: Ditto.
5053 * libc/stdio64/freopen64.c: Ditto.
5054 * libc/stdio64/fsetpos64.c: Ditto.
5055 * libc/stdio64/ftello64.c: Ditto.
5056 * libc/stdio64/local64.h: Ditto.
5057 * libc/stdio64/stdio64.c: Ditto.
5058 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
5059 _fstat64_r for the meantime.
5061 2003-08-19 Jeff Johnston <jjohnstn@redhat.com>
5063 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
5066 2003-08-13 Aldy Hernandez <aldyh@redhat.com>
5068 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
5071 2003-08-13 Jeff Johnston <jjohnstn@redhat.com>
5073 * libc/include/math.h: Add prototypes for __signbitf and
5076 2003-07-31 Jeff Johnston <jjohnstn@redhat.com>
5078 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
5079 correct type of conversion when dealing with EUCJP or SJIS.
5080 * libc/ctype/iswblank.c: Ditto.
5081 * libc/ctype/iswcntrl.c: Ditto.
5082 * libc/ctype/iswprint.c: Ditto.
5083 * libc/ctype/iswpunct.c: Ditto.
5084 * libc/ctype/iswspace.c: Ditto.
5085 * libc/ctype/towlower.c: Ditto.
5086 * libc/ctype/towupper.c: Ditto.
5088 2003-07-31 Nick Clifton <nickc@redhat.com>
5090 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
5091 before calling main, in case it saves its argument registers.
5092 Remove reference to deleted v850ea port.
5093 * configure.host: Remove reference to deleted v850ea port.
5094 Do not use -mv850 when building for v850e target. This
5095 prevents the ctbp system register from being initialised.
5097 2003-07-29 Honda Hiroki <hhonda@ipflex.com>
5099 * libc/stdio/vfprintf.c: Set output size to 1 when
5100 we have %f format with precision 0 and # flag not specified.
5102 2003-07-29 Alexandre Oliva <aoliva@redhat.com>
5104 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
5107 2003-07-25 Christopher Faylor <cgf@redhat.com>
5109 * libc/stdio64/fdopen64.c: Include sys/lock.h.
5111 2003-07-25 Christopher Faylor <cgf@redhat.com>
5113 * configure.host: Find cygwin include directory, when appropriate.
5115 2003-07-24 Christopher Faylor <cgf@redhat.com>
5117 * libc/stdio64/fdopen64.c: New file.
5118 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
5119 * libc/stdio64/Makefile.in: Regenerate.
5120 * libc/include/stdio.h (fdopen64): Define.
5121 * libc/include/stdio.h (_fdopen64_r): Ditto.
5123 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
5125 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
5126 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
5127 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
5128 restore callee-saved FP registers.
5130 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
5132 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
5134 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
5136 * libc/sys/sh/Makefile.in: Regenerate.
5137 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
5138 * libc/sys/sh/ftruncate.c: New file.
5139 * libc/sys/sh/truncate.c: Likewise.
5141 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
5143 * libc/include/math.h (nan, nanf): Update prototype to C99.
5144 * libm/common/s_nan.c (nan): Likewise.
5145 * libm/common/s_nanf.c (nanf, nan): Likewise.
5146 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
5148 2003-07-07 Jeff Johnston <jjohnstn@redhat.com>
5150 * libc/include/stdbool.h: Removed as this is defined by gcc.
5152 2003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
5154 * libc/include/stdbool.h: New header file defined by C99.
5156 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
5158 * libc/include/sys/types.h (int8_t): Make signed.
5160 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
5162 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
5164 2003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
5166 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
5167 on if we actually created the shared memory file exclusively.
5169 2003-06-27 Joe Vornehm <joev@mitre.org>
5171 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
5172 comparisons to account for unsigned internal value w.
5174 2003-06-26 Jeff Johnston <jjohnstn@redhat.com>
5176 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
5177 wrbuf for a non-creating open.
5179 2003-06-24 Kazu Hirata <kazu@cs.umass.edu>
5181 * libc/machine/h8300/setarch.h: New.
5182 * libc/machine/h8300/memcpy.S: Use it.
5183 * libc/machine/h8300/memset.S: Likewise.
5184 * libc/machine/h8300/reg_memcpy.S: Likewise.
5185 * libc/machine/h8300/reg_memset.S: Likewise.
5186 * libc/machine/h8300/setjmp.S: Likewise.
5187 * libc/machine/h8300/strcmp.S: Likewise.
5189 2003-06-24 Richard Sandiford <rsandifo@redhat.com>
5191 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
5194 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
5196 * configure.host (iq2000): Add tabs.
5198 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
5200 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
5201 to handle latest on_exit change.
5202 * libc/sys/linux/Makefile.am: Remove special compilation
5203 for malloc.c and mcheck.c.
5204 * libc/sys/linux/Makefile.in: Regenerated.
5205 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
5206 after including <features.h>.
5207 * libc/sys/linux/mcheck.c: Ditto.
5208 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
5210 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
5211 add -DNOT_IN_libc to C flags.
5212 * libc/sys/linux/intl/Makefile.in: Regenerated.
5213 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
5214 * libc/sys/linux/linuxthreads/semaphore.h: Include
5215 <bits/pthreadtypes.h>.
5216 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
5217 including <features.h>.
5218 * libc/sys/linux/sys/lock.h: Ditto.
5220 2003-06-11 Nick Clifton <nickc@redhat.com>
5222 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
5225 2003-06-10 Stan Cox <scox@redhat.com>
5226 Anthony Green <green@redhat.com>
5228 * configure.host: Add iq2000 support.
5229 * newlib/libc/include/machine/ieeefp.h: Ditto.
5230 * newlib/libc/include/machine/setjmp.h: Ditto.
5231 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
5232 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
5233 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
5234 libc/machine/iq2000/Makefile.in: New files.
5236 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
5238 * libc/sys/h8300hms/setarch.h: New file.
5239 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
5240 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
5241 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
5242 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
5244 2003-06-06 Jeff Johnston <jjohnstn@redhat.com>
5246 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
5248 * libc/argz/argz_add_sep.c: Ditto.
5249 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
5250 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
5251 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
5252 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
5253 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
5254 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
5255 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
5256 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
5257 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
5258 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
5259 * libc/posix/execl.c libc/posix/execle.c: Ditto.
5260 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
5261 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
5262 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
5263 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
5264 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
5265 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
5266 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
5267 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
5268 * libc/search/twalk.c libc/signal/signal.c: Ditto.
5270 2003-06-05 Nick Clifton <nickc@redhat.com>
5272 * libc/include/sys/reent.h (struct _on_exit_args): New
5273 structure containing fields used by the on_exit() function.
5274 (struct _atexit): Include struct _on_exit_args. For
5275 _REENT_SMALL do his via a pointer that is initialised when
5277 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
5278 structure, if one has been allocated.
5279 * libc/stdlib/atexit.c (atexit): Update indirection to
5281 * libc/stdlib/on_exit.c (on_exit): Indirect via the
5282 _on_exit_args structure. For _REENT_SMALL, allocate a
5283 structure if one does not exist.
5284 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
5287 2003-06-04 Jeff Johnston <jjohnstn@redhat.com>
5289 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
5290 * libc/sys/linux/net/Makefile.in: Regenerated.
5292 2003-06-03 Jeff Johnston <jjohnstn@redhat.com>
5294 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
5295 * libc/reent/fcntlr.c: Ditto.
5296 * libc/reent/fstat64r.c: Ditto.
5297 * libc/reent/linkr.c: Ditto.
5298 * libc/reent/lseek64r.c: Ditto.
5299 * libc/reent/lseekr.c: Ditto.
5300 * libc/reent/openr.c: Ditto.
5301 * libc/reent/readr.c: Ditto.
5302 * libc/reent/reent.c: Ditto.
5303 * libc/reent/sbrkr.c: Ditto.
5304 * libc/reent/signalr.c: Ditto.
5305 * libc/reent/signgam.c: Ditto.
5306 * libc/reent/statr.c: Ditto.
5307 * libc/reent/timer.c: Ditto.
5308 * libc/reent/unlinkr.c: Ditto.
5309 * libc/reent/writer.c: Ditto.
5310 * libc/syscalls/sysclose.c: Ditto.
5311 * libc/syscalls/sysexecve.c: Ditto.
5312 * libc/syscalls/sysfcntl.c: Ditto.
5313 * libc/syscalls/sysfork.c: Ditto.
5314 * libc/syscalls/sysfstat.c: Ditto.
5315 * libc/syscalls/sysgetpid.c: Ditto.
5316 * libc/syscalls/sysgettod.c: Ditto.
5317 * libc/syscalls/syskill.c: Ditto.
5318 * libc/syscalls/syslink.c: Ditto.
5319 * libc/syscalls/syslseek.c: Ditto.
5320 * libc/syscalls/sysopen.c: Ditto.
5321 * libc/syscalls/sysread.c: Ditto.
5322 * libc/syscalls/syssbrk.c: Ditto.
5323 * libc/syscalls/sysstat.c: Ditto.
5324 * libc/syscalls/systimes.c: Ditto.
5325 * libc/syscalls/sysunlink.c: Ditto.
5326 * libc/syscalls/syswait.c: Ditto.
5327 * libc/syscalls/syswrite.c: Ditto.
5329 2003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
5331 * libc/time/tzset_r.c: Change local variables that are
5332 set via sscanf using the %h format specifier to be unsigned short
5335 2003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
5337 * configure.host: Allow i[34567]86 variant.
5338 * configure.in: Likewise.
5339 * README: Likewise to the docs.
5340 * configure: Regenerated.
5341 * Makefile.in: Ditto.
5343 2003-05-28 Jeff Johnston <jjohnstn@redhat.com>
5344 Tom Fitzsimmons <fitzsim@redhat.com>
5346 * configure.in: Add iconvdata support for x86 linux.
5347 * configure: Regenerated.
5348 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
5349 library, iconv, and linuxthreads support.
5350 * libc/sys/linux/configure.in: Ditto.
5351 * libc/sys/linux/Makefile.in: Regenerated.
5352 * libc/sys/linux/configure: Ditto.
5353 * iconvdata/EUC-JP.irreversible: New file.
5354 * iconvdata/Makefile.am: Ditto.
5355 * iconvdata/Makefile.in: Ditto.
5356 * iconvdata/SJIS.irreversible: Ditto.
5357 * iconvdata/aclocal.m4: Ditto.
5358 * iconvdata/configure: Ditto.
5359 * iconvdata/configure.in: Ditto.
5360 * iconvdata/dummy.c: Ditto.
5361 * iconvdata/euc-jp.c: Ditto.
5362 * iconvdata/gconv-modules: Ditto.
5363 * iconvdata/jis0201.c: Ditto.
5364 * iconvdata/jis0201.h: Ditto.
5365 * iconvdata/jis0208.c: Ditto.
5366 * iconvdata/jis0208.h: Ditto.
5367 * iconvdata/jis0212.c: Ditto.
5368 * iconvdata/jis0212.h: Ditto.
5369 * iconvdata/sjis.c: Ditto.
5370 * libc/include/errno.h: Protect definition of error_t.
5371 * libc/sys/linux/gethostid.c: New file.
5372 * libc/sys/linux/sethostid.c: Ditto.
5373 * libc/sys/linux/dl/Makefile.am: Ditto.
5374 * libc/sys/linux/dl/Makefile.in: Ditto.
5375 * libc/sys/linux/dl/abi-tag.h: Ditto.
5376 * libc/sys/linux/dl/atomicity.h: Ditto.
5377 * libc/sys/linux/dl/dl-addr.c: Ditto.
5378 * libc/sys/linux/dl/dl-cache.c: Ditto.
5379 * libc/sys/linux/dl/dl-cache.h: Ditto.
5380 * libc/sys/linux/dl/dl-close.c: Ditto.
5381 * libc/sys/linux/dl/dl-debug.c: Ditto.
5382 * libc/sys/linux/dl/dl-deps.c: Ditto.
5383 * libc/sys/linux/dl/dl-dst.h: Ditto.
5384 * libc/sys/linux/dl/dl-error.c: Ditto.
5385 * libc/sys/linux/dl/dl-fini.c: Ditto.
5386 * libc/sys/linux/dl/dl-init.c: Ditto.
5387 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
5388 * libc/sys/linux/dl/dl-libc.c: Ditto.
5389 * libc/sys/linux/dl/dl-librecon.h: Ditto.
5390 * libc/sys/linux/dl/dl-load.c: Ditto.
5391 * libc/sys/linux/dl/dl-lookup.c: Ditto.
5392 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
5393 * libc/sys/linux/dl/dl-minimal.c: Ditto.
5394 * libc/sys/linux/dl/dl-misc.c: Ditto.
5395 * libc/sys/linux/dl/dl-object.c: Ditto.
5396 * libc/sys/linux/dl/dl-open.c: Ditto.
5397 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
5398 * libc/sys/linux/dl/dl-profile.c: Ditto.
5399 * libc/sys/linux/dl/dl-profstub.c: Ditto.
5400 * libc/sys/linux/dl/dl-reloc.c: Ditto.
5401 * libc/sys/linux/dl/dl-runtime.c: Ditto.
5402 * libc/sys/linux/dl/dl-support.c: Ditto.
5403 * libc/sys/linux/dl/dl-sym.c: Ditto.
5404 * libc/sys/linux/dl/dl-version.c: Ditto.
5405 * libc/sys/linux/dl/dlfcn.h: Ditto.
5406 * libc/sys/linux/dl/do-lookup.h: Ditto.
5407 * libc/sys/linux/dl/do-rel.h: Ditto.
5408 * libc/sys/linux/dl/dynamic-link.h: Ditto.
5409 * libc/sys/linux/dl/kernel-features.h: Ditto.
5410 * libc/sys/linux/dl/ldsodefs.h: Ditto.
5411 * libc/sys/linux/dl/libintl.h: Ditto.
5412 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
5413 * libc/sys/linux/dl/unsecvars.h: Ditto.
5414 * libc/sys/linux/iconv/Makefile.am: Ditto.
5415 * libc/sys/linux/iconv/Makefile.in: Ditto.
5416 * libc/sys/linux/iconv/categories.def: Ditto.
5417 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
5418 * libc/sys/linux/iconv/gconv.c: Ditto.
5419 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
5420 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
5421 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
5422 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
5423 * libc/sys/linux/iconv/gconv_close.c: Ditto.
5424 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
5425 * libc/sys/linux/iconv/gconv_db.c: Ditto.
5426 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
5427 * libc/sys/linux/iconv/gconv_int.h: Ditto.
5428 * libc/sys/linux/iconv/gconv_open.c: Ditto.
5429 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
5430 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
5431 * libc/sys/linux/iconv/hash-string.h: Ditto.
5432 * libc/sys/linux/iconv/iconv.c: Ditto.
5433 * libc/sys/linux/iconv/iconv.h: Ditto.
5434 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
5435 * libc/sys/linux/iconv/iconv_close.c: Ditto.
5436 * libc/sys/linux/iconv/iconv_open.c: Ditto.
5437 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
5438 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
5439 * libc/sys/linux/iconv/loadinfo.h: Ditto.
5440 * libc/sys/linux/iconv/localeinfo.h: Ditto.
5441 * libc/sys/linux/iconv/loop.c: Ditto.
5442 * libc/sys/linux/iconv/skeleton.c: Ditto.
5443 * libc/sys/linux/iconv/strtab.c: Ditto.
5444 * libc/sys/linux/include/dl-hash.h: Ditto.
5445 * libc/sys/linux/include/dlfcn.h: Ditto.
5446 * libc/sys/linux/include/fnmatch.h: Ditto.
5447 * libc/sys/linux/include/gconv.h: Ditto.
5448 * libc/sys/linux/include/glob.h: Ditto.
5449 * libc/sys/linux/include/hesiod.h: Ditto.
5450 * libc/sys/linux/include/ifaddrs.h: Ditto.
5451 * libc/sys/linux/include/libc_private.h: Ditto.
5452 * libc/sys/linux/include/link.h: Ditto.
5453 * libc/sys/linux/include/namespace.h: Ditto.
5454 * libc/sys/linux/include/netconfig.h: Ditto.
5455 * libc/sys/linux/include/netdb.h: Ditto.
5456 * libc/sys/linux/include/nsswitch.h: Ditto.
5457 * libc/sys/linux/include/regex.h: Ditto.
5458 * libc/sys/linux/include/resolv.h: Ditto.
5459 * libc/sys/linux/include/rune.h: Ditto.
5460 * libc/sys/linux/include/runetype.h: Ditto.
5461 * libc/sys/linux/include/semaphore.h: Ditto.
5462 * libc/sys/linux/include/setlocale.h: Ditto.
5463 * libc/sys/linux/include/un-namespace.h: Ditto.
5464 * libc/sys/linux/include/wordexp.h: Ditto.
5465 * libc/sys/linux/include/arpa/ftp.h: Ditto.
5466 * libc/sys/linux/include/arpa/inet.h: Ditto.
5467 * libc/sys/linux/include/arpa/nameser.h: Ditto.
5468 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
5469 * libc/sys/linux/include/arpa/telnet.h: Ditto.
5470 * libc/sys/linux/include/arpa/tftp.h: Ditto.
5471 * libc/sys/linux/include/net/bpf.h: Ditto.
5472 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
5473 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
5474 * libc/sys/linux/include/net/bridge.h: Ditto.
5475 * libc/sys/linux/include/net/ethernet.h: Ditto.
5476 * libc/sys/linux/include/net/fddi.h: Ditto.
5477 * libc/sys/linux/include/net/if.h: Ditto.
5478 * libc/sys/linux/include/net/if_arc.h: Ditto.
5479 * libc/sys/linux/include/net/if_arp.h: Ditto.
5480 * libc/sys/linux/include/net/if_atm.h: Ditto.
5481 * libc/sys/linux/include/net/if_dl.h: Ditto.
5482 * libc/sys/linux/include/net/if_gif.h: Ditto.
5483 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
5484 * libc/sys/linux/include/net/if_llc.h: Ditto.
5485 * libc/sys/linux/include/net/if_media.h: Ditto.
5486 * libc/sys/linux/include/net/if_mib.h: Ditto.
5487 * libc/sys/linux/include/net/if_ppp.h: Ditto.
5488 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
5489 * libc/sys/linux/include/net/if_slvar.h: Ditto.
5490 * libc/sys/linux/include/net/if_sppp.h: Ditto.
5491 * libc/sys/linux/include/net/if_stf.h: Ditto.
5492 * libc/sys/linux/include/net/if_tap.h: Ditto.
5493 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
5494 * libc/sys/linux/include/net/if_tun.h: Ditto.
5495 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
5496 * libc/sys/linux/include/net/if_types.h: Ditto.
5497 * libc/sys/linux/include/net/if_var.h: Ditto.
5498 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
5499 * libc/sys/linux/include/net/intrq.h: Ditto.
5500 * libc/sys/linux/include/net/iso88025.h: Ditto.
5501 * libc/sys/linux/include/net/net_osdep.h: Ditto.
5502 * libc/sys/linux/include/net/netisr.h: Ditto.
5503 * libc/sys/linux/include/net/pfil.h: Ditto.
5504 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
5505 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
5506 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
5507 * libc/sys/linux/include/net/radix.h: Ditto.
5508 * libc/sys/linux/include/net/raw_cb.h: Ditto.
5509 * libc/sys/linux/include/net/route.h: Ditto.
5510 * libc/sys/linux/include/net/slcompress.h: Ditto.
5511 * libc/sys/linux/include/net/slip.h: Ditto.
5512 * libc/sys/linux/include/net/zlib.h: Ditto.
5513 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
5514 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
5515 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
5516 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
5517 * libc/sys/linux/include/netinet/igmp.h: Ditto.
5518 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
5519 * libc/sys/linux/include/netinet/in.h: Ditto.
5520 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
5521 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
5522 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
5523 * libc/sys/linux/include/netinet/in_var.h: Ditto.
5524 * libc/sys/linux/include/netinet/ip.h: Ditto.
5525 * libc/sys/linux/include/netinet/ip6.h: Ditto.
5526 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
5527 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
5528 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
5529 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
5530 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
5531 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
5532 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
5533 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
5534 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
5535 * libc/sys/linux/include/netinet/tcp.h: Ditto.
5536 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
5537 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
5538 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
5539 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
5540 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
5541 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
5542 * libc/sys/linux/include/netinet/udp.h: Ditto.
5543 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
5544 * libc/sys/linux/include/netinet6/ah.h: Ditto.
5545 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
5546 * libc/sys/linux/include/netinet6/esp.h: Ditto.
5547 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
5548 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
5549 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
5550 * libc/sys/linux/include/netinet6/in6.h: Ditto.
5551 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
5552 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
5553 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
5554 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
5555 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
5556 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
5557 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
5558 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
5559 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
5560 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
5561 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
5562 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
5563 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
5564 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
5565 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
5566 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
5567 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
5568 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
5569 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
5570 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
5571 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
5572 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
5573 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
5574 * libc/sys/linux/include/netns/idp.h: Ditto.
5575 * libc/sys/linux/include/netns/idp_var.h: Ditto.
5576 * libc/sys/linux/include/netns/ns.h: Ditto.
5577 * libc/sys/linux/include/netns/ns_error.h: Ditto.
5578 * libc/sys/linux/include/netns/ns_if.h: Ditto.
5579 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
5580 * libc/sys/linux/include/netns/sp.h: Ditto.
5581 * libc/sys/linux/include/netns/spidp.h: Ditto.
5582 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
5583 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
5584 * libc/sys/linux/include/netns/spp_var.h: Ditto.
5585 * libc/sys/linux/include/rpc/Makefile: Ditto.
5586 * libc/sys/linux/include/rpc/auth.h: Ditto.
5587 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
5588 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
5589 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
5590 * libc/sys/linux/include/rpc/clnt.h: Ditto.
5591 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
5592 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
5593 * libc/sys/linux/include/rpc/des.h: Ditto.
5594 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
5595 * libc/sys/linux/include/rpc/nettype.h: Ditto.
5596 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
5597 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
5598 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
5599 * libc/sys/linux/include/rpc/raw.h: Ditto.
5600 * libc/sys/linux/include/rpc/rpc.h: Ditto.
5601 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
5602 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
5603 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
5604 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
5605 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
5606 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
5607 * libc/sys/linux/include/rpc/svc.h: Ditto.
5608 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
5609 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
5610 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
5611 * libc/sys/linux/include/rpc/types.h: Ditto.
5612 * libc/sys/linux/include/rpc/xdr.h: Ditto.
5613 * libc/sys/linux/intl/Makefile.am: Ditto.
5614 * libc/sys/linux/intl/Makefile.in: Ditto.
5615 * libc/sys/linux/intl/bindtextdom.c: Ditto.
5616 * libc/sys/linux/intl/catgets.c: Ditto.
5617 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
5618 * libc/sys/linux/intl/config.h: Ditto.
5619 * libc/sys/linux/intl/dcgettext.c: Ditto.
5620 * libc/sys/linux/intl/dcigettext.c: Ditto.
5621 * libc/sys/linux/intl/dcngettext.c: Ditto.
5622 * libc/sys/linux/intl/dgettext.c: Ditto.
5623 * libc/sys/linux/intl/dngettext.c: Ditto.
5624 * libc/sys/linux/intl/explodename.c: Ditto.
5625 * libc/sys/linux/intl/finddomain.c: Ditto.
5626 * libc/sys/linux/intl/gettext.c: Ditto.
5627 * libc/sys/linux/intl/gettext.h: Ditto.
5628 * libc/sys/linux/intl/gettextP.h: Ditto.
5629 * libc/sys/linux/intl/hash-string.h: Ditto.
5630 * libc/sys/linux/intl/l10nflist.c: Ditto.
5631 * libc/sys/linux/intl/loadinfo.h: Ditto.
5632 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
5633 * libc/sys/linux/intl/locale.alias: Ditto.
5634 * libc/sys/linux/intl/localealias.c: Ditto.
5635 * libc/sys/linux/intl/ngettext.c: Ditto.
5636 * libc/sys/linux/intl/open_catalog.c: Ditto.
5637 * libc/sys/linux/intl/plural.c: Ditto.
5638 * libc/sys/linux/intl/plural.y: Ditto.
5639 * libc/sys/linux/intl/stpcpy.c: Ditto.
5640 * libc/sys/linux/intl/textdomain.c: Ditto.
5641 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
5642 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
5643 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
5644 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
5645 * libc/sys/linux/linuxthreads/attr.c: Ditto.
5646 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
5647 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
5648 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
5649 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
5650 * libc/sys/linux/linuxthreads/config.h: Ditto.
5651 * libc/sys/linux/linuxthreads/configure: Ditto.
5652 * libc/sys/linux/linuxthreads/configure.in: Ditto.
5653 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
5654 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
5655 * libc/sys/linux/linuxthreads/events.c: Ditto.
5656 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
5657 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
5658 * libc/sys/linux/linuxthreads/internals.h: Ditto.
5659 * libc/sys/linux/linuxthreads/join.c: Ditto.
5660 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
5661 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
5662 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
5663 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
5664 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
5665 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
5666 * libc/sys/linux/linuxthreads/manager.c: Ditto.
5667 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
5668 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
5669 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
5670 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
5671 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
5672 * libc/sys/linux/linuxthreads/prio.c: Ditto.
5673 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
5674 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
5675 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
5676 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
5677 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
5678 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
5679 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
5680 * libc/sys/linux/linuxthreads/queue.h: Ditto.
5681 * libc/sys/linux/linuxthreads/reent.c: Ditto.
5682 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
5683 * libc/sys/linux/linuxthreads/restart.h: Ditto.
5684 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
5685 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
5686 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
5687 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
5688 * libc/sys/linux/linuxthreads/signals.c: Ditto.
5689 * libc/sys/linux/linuxthreads/specific.c: Ditto.
5690 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
5691 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
5692 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
5693 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
5694 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
5695 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
5696 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
5697 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
5698 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
5699 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
5700 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
5701 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
5702 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
5703 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
5704 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
5705 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
5706 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
5707 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
5708 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
5709 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
5710 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
5711 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
5712 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
5713 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
5714 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
5715 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
5716 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
5717 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
5718 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
5719 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
5720 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
5721 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
5722 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
5723 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
5724 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
5725 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
5726 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
5727 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
5728 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
5729 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
5730 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
5731 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
5732 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
5733 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
5734 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
5735 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
5736 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
5737 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
5738 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
5739 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
5740 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
5741 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
5742 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
5743 * libc/sys/linux/linuxthreads/unload.c: Ditto.
5744 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
5745 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
5746 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
5747 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
5748 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
5749 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
5750 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
5751 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
5752 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
5753 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
5754 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
5755 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
5756 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
5757 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
5758 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
5759 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
5760 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
5761 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
5762 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
5763 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
5764 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
5765 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
5766 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
5767 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
5768 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
5769 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
5770 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
5771 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
5772 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
5773 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
5774 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
5775 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
5776 * libc/sys/linux/net/Makefile.am: Ditto.
5777 * libc/sys/linux/net/Makefile.in: Ditto.
5778 * libc/sys/linux/net/addr2ascii.3: Ditto.
5779 * libc/sys/linux/net/addr2ascii.c: Ditto.
5780 * libc/sys/linux/net/ascii2addr.c: Ditto.
5781 * libc/sys/linux/net/base64.c: Ditto.
5782 * libc/sys/linux/net/bindresvport.c: Ditto.
5783 * libc/sys/linux/net/byteorder.3: Ditto.
5784 * libc/sys/linux/net/ether_addr.c: Ditto.
5785 * libc/sys/linux/net/ethers.3: Ditto.
5786 * libc/sys/linux/net/getaddrinfo.3: Ditto.
5787 * libc/sys/linux/net/getaddrinfo.c: Ditto.
5788 * libc/sys/linux/net/gethostbydns.c: Ditto.
5789 * libc/sys/linux/net/gethostbyht.c: Ditto.
5790 * libc/sys/linux/net/gethostbyname.3: Ditto.
5791 * libc/sys/linux/net/gethostbynis.c: Ditto.
5792 * libc/sys/linux/net/gethostnamadr.c: Ditto.
5793 * libc/sys/linux/net/getifaddrs.3: Ditto.
5794 * libc/sys/linux/net/getifaddrs.c: Ditto.
5795 * libc/sys/linux/net/getipnodebyname.3: Ditto.
5796 * libc/sys/linux/net/getnameinfo.3: Ditto.
5797 * libc/sys/linux/net/getnameinfo.c: Ditto.
5798 * libc/sys/linux/net/getnetbydns.c: Ditto.
5799 * libc/sys/linux/net/getnetbyht.c: Ditto.
5800 * libc/sys/linux/net/getnetbynis.c: Ditto.
5801 * libc/sys/linux/net/getnetent.3: Ditto.
5802 * libc/sys/linux/net/getnetnamadr.c: Ditto.
5803 * libc/sys/linux/net/getproto.c: Ditto.
5804 * libc/sys/linux/net/getprotoent.3: Ditto.
5805 * libc/sys/linux/net/getprotoent.c: Ditto.
5806 * libc/sys/linux/net/getprotoname.c: Ditto.
5807 * libc/sys/linux/net/getservbyname.c: Ditto.
5808 * libc/sys/linux/net/getservbyport.c: Ditto.
5809 * libc/sys/linux/net/getservent.3: Ditto.
5810 * libc/sys/linux/net/getservent.c: Ditto.
5811 * libc/sys/linux/net/herror.c: Ditto.
5812 * libc/sys/linux/net/hesiod.3: Ditto.
5813 * libc/sys/linux/net/hesiod.c: Ditto.
5814 * libc/sys/linux/net/if_indextoname.3: Ditto.
5815 * libc/sys/linux/net/ifname.c: Ditto.
5816 * libc/sys/linux/net/inet.3: Ditto.
5817 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
5818 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
5819 * libc/sys/linux/net/inet_addr.c: Ditto.
5820 * libc/sys/linux/net/inet_lnaof.c: Ditto.
5821 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
5822 * libc/sys/linux/net/inet_net.3: Ditto.
5823 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
5824 * libc/sys/linux/net/inet_net_pton.c: Ditto.
5825 * libc/sys/linux/net/inet_neta.c: Ditto.
5826 * libc/sys/linux/net/inet_netof.c: Ditto.
5827 * libc/sys/linux/net/inet_network.c: Ditto.
5828 * libc/sys/linux/net/inet_ntoa.c: Ditto.
5829 * libc/sys/linux/net/inet_ntop.c: Ditto.
5830 * libc/sys/linux/net/inet_pton.c: Ditto.
5831 * libc/sys/linux/net/innetgr-stub.c: Ditto.
5832 * libc/sys/linux/net/ip6opt.c: Ditto.
5833 * libc/sys/linux/net/iso_addr.3: Ditto.
5834 * libc/sys/linux/net/iso_addr.c: Ditto.
5835 * libc/sys/linux/net/issetugid-stub.c: Ditto.
5836 * libc/sys/linux/net/linkaddr.3: Ditto.
5837 * libc/sys/linux/net/linkaddr.c: Ditto.
5838 * libc/sys/linux/net/map_v4v6.c: Ditto.
5839 * libc/sys/linux/net/name6.c: Ditto.
5840 * libc/sys/linux/net/namespace.h: Ditto.
5841 * libc/sys/linux/net/ns.3: Ditto.
5842 * libc/sys/linux/net/ns_addr.c: Ditto.
5843 * libc/sys/linux/net/ns_name.c: Ditto.
5844 * libc/sys/linux/net/ns_netint.c: Ditto.
5845 * libc/sys/linux/net/ns_ntoa.c: Ditto.
5846 * libc/sys/linux/net/ns_parse.c: Ditto.
5847 * libc/sys/linux/net/ns_print.c: Ditto.
5848 * libc/sys/linux/net/ns_ttl.c: Ditto.
5849 * libc/sys/linux/net/nsap_addr.c: Ditto.
5850 * libc/sys/linux/net/nsdispatch.3: Ditto.
5851 * libc/sys/linux/net/nsdispatch.c: Ditto.
5852 * libc/sys/linux/net/nslexer.c: Ditto.
5853 * libc/sys/linux/net/nslexer.l: Ditto.
5854 * libc/sys/linux/net/nsparser.c: Ditto.
5855 * libc/sys/linux/net/nsparser.h: Ditto.
5856 * libc/sys/linux/net/nsparser.y: Ditto.
5857 * libc/sys/linux/net/rcmd.3: Ditto.
5858 * libc/sys/linux/net/rcmd.c: Ditto.
5859 * libc/sys/linux/net/rcmdsh.3: Ditto.
5860 * libc/sys/linux/net/rcmdsh.c: Ditto.
5861 * libc/sys/linux/net/recv.c: Ditto.
5862 * libc/sys/linux/net/res_comp.c: Ditto.
5863 * libc/sys/linux/net/res_config.h: Ditto.
5864 * libc/sys/linux/net/res_data.c: Ditto.
5865 * libc/sys/linux/net/res_debug.c: Ditto.
5866 * libc/sys/linux/net/res_init.c: Ditto.
5867 * libc/sys/linux/net/res_mkquery.c: Ditto.
5868 * libc/sys/linux/net/res_mkupdate.c: Ditto.
5869 * libc/sys/linux/net/res_query.c: Ditto.
5870 * libc/sys/linux/net/res_send.c: Ditto.
5871 * libc/sys/linux/net/res_update.c: Ditto.
5872 * libc/sys/linux/net/resolver.3: Ditto.
5873 * libc/sys/linux/net/rthdr.c: Ditto.
5874 * libc/sys/linux/net/send.c: Ditto.
5875 * libc/sys/linux/net/un-namespace.h: Ditto.
5876 * libc/sys/linux/net/vars.c: Ditto.
5877 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
5878 * libc/sys/linux/stdlib/Makefile.am: Ditto.
5879 * libc/sys/linux/stdlib/Makefile.in: Ditto.
5880 * libc/sys/linux/stdlib/cclass.h: Ditto.
5881 * libc/sys/linux/stdlib/cname.h: Ditto.
5882 * libc/sys/linux/stdlib/collate.c: Ditto.
5883 * libc/sys/linux/stdlib/collate.h: Ditto.
5884 * libc/sys/linux/stdlib/collcmp.c: Ditto.
5885 * libc/sys/linux/stdlib/engine.c: Ditto.
5886 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
5887 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
5888 * libc/sys/linux/stdlib/glob.3: Ditto.
5889 * libc/sys/linux/stdlib/glob.c: Ditto.
5890 * libc/sys/linux/stdlib/reallocf.c: Ditto.
5891 * libc/sys/linux/stdlib/regcomp.c: Ditto.
5892 * libc/sys/linux/stdlib/regerror.c: Ditto.
5893 * libc/sys/linux/stdlib/regex.3: Ditto.
5894 * libc/sys/linux/stdlib/regex2.h: Ditto.
5895 * libc/sys/linux/stdlib/regexec.c: Ditto.
5896 * libc/sys/linux/stdlib/regfree.c: Ditto.
5897 * libc/sys/linux/stdlib/utils.h: Ditto.
5898 * libc/sys/linux/stdlib/wordexp.c: Ditto.
5899 * libc/sys/linux/stdlib/wordfree.c: Ditto.
5900 * libc/sys/linux/sys/dlfcn.h: Ditto.
5901 * libc/sys/linux/sys/elfclass.h: Ditto.
5902 * libc/sys/linux/sys/event.h: Ditto.
5903 * libc/sys/linux/sys/ioccom.h: Ditto.
5904 * libc/sys/linux/sys/libc-tsd.h: Ditto.
5905 * libc/sys/linux/sys/link.h: Ditto.
5906 * libc/sys/linux/sys/lock.h: Ditto.
5907 * libc/sys/linux/sys/param.h: Ditto.
5908 * libc/sys/linux/sys/socket.h: Ditto.
5909 * libc/sys/linux/sys/sockio.h: Ditto.
5911 2003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
5913 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
5915 * newlib/libc/machine/h8300/memset.S: Likewise
5916 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
5917 * newlib/lib/machine/h8300/reg_memset.S: Likewise
5918 * newlib/lib/machine/h8300/setjmp.S: Likewise
5919 * newlib/lib/machine/h8300/strcmp.S: Likewise
5920 * newlib/lib/sys/h8300hms/crt0.S: Likewise
5922 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
5924 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
5925 * libc/include/stdio.h: Ditto.
5926 * libc/include/sys/config.h: Ditto.
5927 * libc/stdio/mktemp.c: Ditto.
5929 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
5931 * libc/locale/ldpart.c (__part_load_locale): Substitute
5932 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
5933 * libc/search/hash.c (__hash_open): Ditto.
5935 * libc/stdio/fseek.c (fseek): Ditto.
5936 * libc/stdio/makebuf.c (__smakebuf): Ditto.
5937 * libc/stdio/mktemp.c (_gettemp): Ditto.
5939 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
5941 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
5943 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
5945 * configure.host: Accomodate removing the libc/sys/cygwin dir.
5946 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
5947 if __CYGWIN_USE_BIG_TYPES__ is set.
5948 * libc/search/hash.c (__hash_open): Ditto.
5950 * libc/stdio/fseek.c (fseek): Ditto.
5951 * libc/stdio/makebuf.c (__smakebuf): Ditto.
5952 * libc/stdio/mktemp.c (_gettemp): Ditto.
5953 * libc/sys/cygwin/Makefile.am: Remove.
5954 * libc/sys/cygwin/Makefile.in: Remove.
5955 * libc/sys/cygwin/aclocal.m4: Remove.
5956 * libc/sys/cygwin/configure: Remove.
5957 * libc/sys/cygwin/configure.in: Remove.
5958 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
5959 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
5961 * libc/sys/cygwin/sys/param.h: Ditto.
5962 * libc/sys/cygwin/sys/utime.h: Ditto.
5963 * libc/sys/cygwin/sys/utmp.h: Ditto.
5965 2003-05-11 Corinna Vinschen <corinna@vinschen.de>
5967 * libc/include/sys/types.h: Don't define key_t for Cygwin.
5969 2003-05-10 Christopher Faylor <cgf@redhat.com>
5971 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
5974 2003-05-09 Corinna Vinschen <corinna@vinschen.de>
5976 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
5977 Include cygwin/config.h instead.
5979 2003-04-16 Jeff Johnston <jjohnstn@redhat.com>
5981 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
5982 all code with #ifdef __SPE__ test.
5983 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
5985 2003-04-15 Chris January <chris@atomice.net>
5987 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
5990 2003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
5992 * libc/machine/sh/memset.S: Avoid clobbering volatile
5993 objects following a tiny to-be-set array in the same quadword.
5995 2001-04-09 Corinna Vinschen <corinna@vinschen.de>
5997 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
5998 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
5999 * libc/string/Makefile.in: Regenerated.
6000 * libc/string/wcswidth.c: New file.
6001 * libc/string/wcwidth.c: New file.
6002 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
6004 Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
6006 * libc/machine/sh/memset.S: Fix problem with alloco region
6007 exceeding destination region for length >= 88 bytes, start
6008 & 0x16 == 0, end & 0x1f == 18.
6010 2001-04-03 Corinna Vinschen <corinna@vinschen.de>
6012 * libc/string/wcscoll.c: Fix comment.
6014 2001-04-02 Corinna Vinschen <corinna@vinschen.de>
6016 * libc/include/wchar.h: Add definition for wcscoll.
6017 * libc/string/Makefile.am: Add wcscoll.c.
6018 * libc/string/Makefile.in: Regenerated.
6019 * libc/string/wcscoll.c: New file.
6020 * libc/string/wcstrings.tex: Add wcscoll.
6022 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
6024 * libc/stdio/sscanf.c: Update flags description.
6025 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
6027 (__svfscanf_r): Add 'hh' and 'll' handling.
6029 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
6031 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
6032 __d_position member to _off_t.
6034 2003-03-20 Jeff Johnston <jjohnstn@redhat.com>
6036 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
6037 count all characters used to create number against maximum width.
6038 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
6040 2003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
6042 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
6044 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
6045 flag to support simulator only extensions.
6047 2003-03-17 Bob Cassels <bcassels@abinitio.com>
6049 * libc/string/wcschr.c: (wcschr): Look for character first,
6050 then for end of string, so you can do wcschr(x, '\0').
6052 2003-03-10 Corinna Vinschen <corinna@vinschen.de>
6054 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
6055 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
6056 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
6057 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
6058 * libc/stdio/fseeko.c (fseeko): Ditto.
6059 * libc/stdio/ftello.c (ftello): Ditto.
6060 * libc/stdio/stdio.c (__swrite): Ditto.
6062 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
6063 * libc/stdio/fseek.c (fseek): Ditto.
6064 * libc/stdio/fsetpos.c (fsetpos): Ditto.
6065 * libc/stdio/ftell.c (ftell): Ditto.
6066 * libc/stdio/local.h: Declare __sseek using _off_t.
6068 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
6070 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
6072 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
6074 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
6077 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
6079 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
6081 * libc/include/sys/stat.h: Ditto.
6082 * libc/include/sys/unistd.h: Ditto.
6083 * libc/sys/cygwin/sys/dirent.h: Ditto.
6085 2003-03-07 Christopher Faylor <cgf@redhat.com>
6087 * libc/include/sys/unistd.h: Guard getopt.h call to force only
6088 declaration of getopt and avoid getopt_long declaration.
6089 * libc/sys/cygwin/include/unistd.h: Remove.
6091 2003-03-07 Corinna Vinschen <corinna@vinschen.de>
6093 * configure.host: Define stdio64_dir for Cygwin.
6094 * libc/include/stdio.h: Change definition of fpos_t to fulfill
6095 Cygwin 64bit file access requirements.
6096 Drop definition of f*64() functions when compiled for Cygwin.
6097 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
6098 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
6099 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
6101 2003-03-07 Jeff Johnston <jjohnstn@redhat.com>
6103 * libc/include/sys/reent.h: Remove extraneous _sig_func
6106 2003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
6108 * libc/sys/h8300hms/Makefile.am: Add support for new files.
6109 * libc/sys/h8300hms/Makefile.in: Regenerated.
6110 * libc/sys/h8300hms/close.S: New file.
6111 * libc/sys/h8300hms/fstat.S: Ditto.
6112 * libc/sys/h8300hms/lseek.S: Ditto.
6113 * libc/sys/h8300hms/open.S: Ditto.
6114 * libc/sys/h8300hms/stat.S: Ditto.
6115 * libc/sys/h8300hms/read.S: New file to replace read.c.
6116 * libc/sys/h8300hms/read.c: Removed.
6117 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
6118 _lseek, _close, _stat, _fstat.
6119 * libc/sys/h8300hms/write.S: New file to replace write.c.
6120 * libc/sys/h8300hms/write.c: Removed.
6122 2003-02-20 Nick Clifton <nickc@redhat.com>
6124 * Add support for Cirrus Maverick ARM co-processor:
6126 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
6128 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
6129 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
6131 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
6133 * configure.host: set sys_dir, syscall_dir, and
6134 newlib_cflags for ep9312 host.
6136 * configure.host: Restore alpha sorting of entries in case
6139 2003-02-19 Jeff Johnston <jjohnstn@redhat.com>
6141 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
6143 2003-02-18 Christian Groessler <chris@groessler.org>
6145 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
6146 support z8001 segmented mode.
6148 2003-02-18 Earnie Boyd <earnie@users.sf.net>
6150 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
6153 2003-02-10 Christopher Faylor <cgf@redhat.com>
6155 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
6156 Don't define some types under cygwin.
6158 2003-02-07 Jeff Johnston <jjohnstn@redhat.com>
6160 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
6161 option to allow disabling of syscalls being supplied in newlib.
6162 * aclocal.m4: Regenerated.
6164 * configure.host: Add support of new configuration option and add
6165 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
6166 * doc/aclocal.m4: Regenerated.
6167 * doc/configure: Ditto.
6168 * libc/*aclocal.m4: Ditto.
6169 * libc/*configure: Ditto.
6170 * libm/*aclocal.m4: Ditto.
6171 * libm/*configure: Ditto.
6172 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
6174 * libc/sys/arm/Makefile.in: Regenerated.
6176 2003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
6178 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
6179 -1 to be sure it cannot later match a valid file fd causing
6180 isatty() to return 1.
6181 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
6182 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
6183 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
6185 2003-02-03 Jeff Johnston <jjohnstn@redhat.com>
6187 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
6188 buffer based on the precision, after we have processed the input value
6189 in a local buffer and know its relative magnitude.
6191 2003-01-31 Michael Snyder <msnyder@redhat.com>
6193 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
6194 into registers r1 and r2, so that the simulator can distinguish
6195 this trap from a breakpoint trap. Copied from libgloss.
6197 2003-01-31 Michael Snyder <msnyder@redhat.com>
6199 * libc/sys/h8300hms/crt0.S (_start): Change local label
6200 from .loop to .Loop, so that ld and gdb will ignore it.
6202 2003-01-29 Jason Tishler <jason@tishler.net>
6204 * libc/include/time.h: Declare nanosleep() under Cygwin.
6206 2003-01-24 Nick Clifton <nickc@redhat.com>
6210 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
6212 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
6213 * libc/machine/sh/setjmp.S: Likewise.
6214 * libc/include/machine/ieeefp.h: Likewise.
6216 2003-01-24 Corinna Vinschen <corinna@vinschen.de>
6218 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
6221 2003-01-21 Anita Kulkarni <anitak@kpit.com>
6223 * libc/time/difftime.c : Typecast the result to double.
6225 2003-01-20 Christopher Faylor <cgf@redhat.com>
6227 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
6229 2003-01-18 Nick Clifton <nickc@redhat.com>
6231 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
6232 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
6234 2003-01-16 Joel Sherrill <joel@OARcorp.com>
6236 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
6237 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
6238 constants are defined in each file in the shared versions in
6240 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
6241 autoconf can link programs.
6242 * libc/include/machine/types.h: Explicitly specify signed on
6243 intXX_t types to ensure they are signed.
6245 2003-01-14 Christopher Faylor <cgf@redhat.com>
6247 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
6250 2003-01-08 Richard Sandiford <rsandifo@redhat.com>
6252 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
6254 2003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
6256 * libc/stdio/sprintf.c: fix typo
6257 * libc/stdio/vfprintf.c: fix typo
6259 2003-01-07 Jeff Johnston <jjohnstn@redhat.com>
6261 * configure.host: Support long double I/O for x86-linux.
6262 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
6263 large enough to hold formatted result.
6264 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
6266 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
6268 * Makefile.am: Add vasprintf.
6269 * Makefile.in: Regenerated.
6271 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
6273 * asprintf.c (_asprintf_r): insure both declarations
6276 2002-12-28 Christopher Faylor <cgf@redhat.com>
6278 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
6279 than defining getopt directly.
6281 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
6283 * NEWS: Update with 1.11.0 info.
6285 * acinclude.m4: Change version number to 1.11.0.
6286 * aclocal.m4: Regenerated.
6288 * doc/aclocal.m4: Ditto.
6289 * doc/configure: Ditto.
6290 * libc/*/aclocal.m4: Ditto.
6291 * libc/*/configure: Ditto.
6292 * libc/libc.texinfo: Ditto.
6293 * libm/*/aclocal.m4: Ditto.
6294 * libm/*/configure: Ditto.
6295 * libm/libm.texinfo: Ditto.
6296 * libc/sys/linux/shared.ld: Add VERS_1.11.
6298 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
6300 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
6301 Solutions to Red Hat Inc.
6302 * libc/machine/i386/f_atan2f.S: Ditto.
6303 * libc/machine/i386/f_exp.c: Ditto.
6304 * libc/machine/i386/f_expf.c: Ditto.
6305 * libc/machine/i386/f_frexp.S: Ditto.
6306 * libc/machine/i386/f_frexpf.S: Ditto.
6307 * libc/machine/i386/f_ldexp.S: Ditto.
6308 * libc/machine/i386/f_ldexpf.S: Ditto.
6309 * libc/machine/i386/f_log.S: Ditto.
6310 * libc/machine/i386/f_log10.S: Ditto.
6311 * libc/machine/i386/f_log10f.S: Ditto.
6312 * libc/machine/i386/f_logf.S: Ditto.
6313 * libc/machine/i386/f_pow.c: Ditto.
6314 * libc/machine/i386/f_powf.c: Ditto.
6315 * libc/machine/i386/f_tan.S: Ditto.
6316 * libc/machine/i386/f_tanf.S: Ditto.
6317 * libc/machine/i386/memchr.S: Ditto.
6318 * libc/machine/i386/memcmp.S: Ditto.
6319 * libc/machine/i386/memcpy.S: Ditto.
6320 * libc/machine/i386/memmove.S: Ditto.
6321 * libc/machine/i386/memset.S: Ditto.
6322 * libc/machine/i386/strchr.S: Ditto.
6323 * libc/machine/i386/strlen.S: Ditto.
6324 * libm/machine/i386/f_atan2.S: Ditto.
6325 * libm/machine/i386/f_atan2f.S: Ditto.
6326 * libm/machine/i386/f_exp.c: Ditto.
6327 * libm/machine/i386/f_expf.c: Ditto.
6328 * libm/machine/i386/f_frexp.S: Ditto.
6329 * libm/machine/i386/f_frexpf.S: Ditto.
6330 * libm/machine/i386/f_ldexp.S: Ditto.
6331 * libm/machine/i386/f_ldexpf.S: Ditto.
6332 * libm/machine/i386/f_log.S: Ditto.
6333 * libm/machine/i386/f_log10.S: Ditto.
6334 * libm/machine/i386/f_log10f.S: Ditto.
6335 * libm/machine/i386/f_logf.S: Ditto.
6336 * libm/machine/i386/f_pow.c: Ditto.
6337 * libm/machine/i386/f_powf.c: Ditto.
6338 * libm/machine/i386/f_tan.S: Ditto.
6339 * libm/machine/i386/f_tanf.S: Ditto.
6341 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
6343 * libc/stdlib/environ.c: Update license to Red Hat.
6344 * libc/machine/hppa/setjmp.S: Ditto.
6345 * libm/test/Makefile.in: Ditto.
6347 2002-12-19 Jeff Johnston <jjohnstn@redhat.com>
6349 * configure.host: Remove references to go32.
6350 * libc/sys/go32/*: Removed.
6352 2002-12-16 Kazu Hirata <kazu@cs.umass.edu>
6354 * libc/include/sys/config.h: Change setting of INT_MAX
6355 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
6356 __H8300S__. Also consolidate flag settings for these
6359 2002-12-10 Joel Sherrill <joel@OARcorp.com>
6361 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
6362 for i386-rtems targets.
6364 2002-12-06 Jeff Johnston <jjohnstn@redhat.com>
6366 * libc/include/stdlib.h (strtof): New prototype (from C99).
6367 (strtodf): Changed from prototype to macro which redefines
6369 * libc/stdlib/atof.c: Change documentation to refer to strtof
6371 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
6373 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
6374 (strtof): New function.
6375 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
6378 2002-11-27 Christopher Faylor <cgf@redhat.com>
6380 * libc/string/memset.c (memset): Fix comment.
6382 2002-11-26 Christopher Faylor <cgf@redhat.com>
6384 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
6387 2002-11-25 Christopher Faylor <cgf@redhat.com>
6389 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
6390 variable, introduced below, everywhere.
6392 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
6394 * libc/string/memset.c (memset): Make it safe even if
6397 2002-11-22 Joe Buehler <jbuehler@hekimian.com>
6399 * configure.in: Change check for libc/include in ${CC} to
6400 use an intermediate value so as to work with different shells.
6401 * configure: Regenerated.
6402 * Makefile.in: Ditto.
6404 2002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
6406 * libc/sys/h8300hms/read.c: Add support for normal mode
6409 2002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
6411 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
6412 code for __H8300H__ and __H8300S__. Also return 32-bit return code
6413 when -mint32 is used.
6415 2002-11-18 Nick Clifton <nickc@redhat.com>
6417 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
6419 2002-11-14 Jeff Johnston <jjohnstn@redhat.com>
6421 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
6422 only issue one pass/fail message for a compile/link/execute.
6423 * testsuite/newlib.elix/elix.exp: New file.
6424 * testsuite/newlib.elix/tmmap.c: Ditto.
6426 2002-11-06 Christopher Faylor <cgf@redhat.com>
6428 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
6429 * libc/stdlib/mlock.c: Ditto.
6430 * libc/stdlib/msize.c: Ditto.
6431 * libc/stdlib/msize.c: Ditto.
6432 * libc/stdlib/mtrim.c: Ditto.
6433 * libc/stdlib/valloc.c: Ditto.
6435 2002-11-12 Jeff Johnston <jjohnstn@redhat.com>
6437 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
6438 for inf/nan, make sure that the check ignores the sign bit.
6440 2002-11-07 Joel Sherrill <joel@OARcorp.com>
6442 * libc/sys/rtems/machine: New directory.
6443 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
6444 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
6445 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
6446 targets more BSD like when installed without requiring files to
6447 be overwritten at install point when RTEMS itself is installed.
6448 * Makefile.am: Pick up system dependent machine .h files such as
6449 might be found on a BSD-ish system.
6450 * Makefile.in: Regenerate.
6451 * libc/include/machine/types.h: When on an RTEMS target, define a
6452 few BSD flavor types.
6454 2002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
6456 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
6458 2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
6460 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
6461 * libc/include/wctype.h: Ditto.
6463 2002-11-04 Jeff Johnston <jjohnstn@redhat.com>
6465 * libc/include/wchar.h: Add extern "C" specifier if C++.
6466 * libc/include/wctype.h: Ditto.
6468 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6470 * testsuite/newlib.wctype/tiswctype.c: New test case.
6471 * testsuite/newlib.wctype/twctrans.c: Ditto.
6473 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6475 * libc/sys/linux/machine/i386/include/endian.h: New file.
6476 * libc/sys/linux/machine/i386/include/param.h: Ditto.
6478 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6480 * libm/machine/i386/aclocal.m4: Regenerated.
6481 * libm/machine/i386/configure: Ditto.
6483 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6485 * testsuite/include/check.h: New header file to use with
6487 * testsuite/lib/newlib.exp: Add testsuite/include directory
6488 to list of header files to use.
6489 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
6490 * testsuite/newlib.wctype/wctype.exp: New file.
6492 2002-10-11 Graham Stott <graham.stott@btinternet.com>
6493 Richard Sandiford <rsandifo@redhat.com>
6495 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
6496 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
6497 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
6499 2002-10-07 Joel Sherrill <joel@OARcorp.com>
6501 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
6504 2002-10-07 Joel Sherrill <joel@OARcorp.com>
6506 * libc/include/pthread.h: Define PTHREAD_CANCELED.
6508 2002-10-07 Joel Sherrill <joel@OARcorp.com>
6510 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
6511 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
6512 compile with current GNU tools.
6514 2002-10-07 Jeff Johnston <jjohnstn@redhat.com>
6516 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
6518 * configure.in: Ditto.
6519 * Makefile.in: Regenerated.
6521 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
6522 for specifying configured libraries/directories.
6523 * libc/sys/linux/configure.in: Ditto.
6524 * libc/sys/linux/Makefile.in: Regenerated.
6525 * libc/sys/linux/configure: Ditto.
6527 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
6529 * libc/include/reent.h: Update documentation at start of file.
6531 2002-09-27 Jim Wilson <wilson@redhat.com>
6533 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
6536 2002-09-27 Jeff Johnston <jjohnstn@redhat.com>
6538 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
6539 Also convert to EUCJP before using arrays. For values not in
6540 the conversion arrays, return WEOF.
6541 * libc/ctype/jp2uc.h: Change from one array to a number of
6542 arrays to account for the fact that the originating table
6543 is not contiguous for the input values since some are invalid.
6545 2002-09-24 Jeff Johnston <jjohnstn@redhat.com>
6547 * libc/time/ctime.c: Fix prototype documentation.
6549 2002-09-24 Corinna Vinschen <corinna@vinschen.de>
6551 * libc/include/sys/errno.h: Add EOVERFLOW.
6553 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
6555 * libc/include/wctype.h: New file.
6557 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
6559 * libc/ctype/Makefile.am: Add new files.
6560 * libc/ctype/Makefile.in: Regenerated.
6561 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
6562 and wctrans functions to documentation index.
6563 * libc/ctype/iswalnum.c: New file.
6564 * libc/ctype/iswalpha.c: Ditto.
6565 * libc/ctype/iswblank.c: Ditto.
6566 * libc/ctype/iswcntrl.c: Ditto.
6567 * libc/ctype/iswctype.c: Ditto.
6568 * libc/ctype/iswdigit.c: Ditto.
6569 * libc/ctype/iswgraph.c: Ditto.
6570 * libc/ctype/iswlower.c: Ditto.
6571 * libc/ctype/iswprint.c: Ditto.
6572 * libc/ctype/iswpunct.c: Ditto.
6573 * libc/ctype/iswspace.c: Ditto.
6574 * libc/ctype/iswupper.c: Ditto.
6575 * libc/ctype/iswxdigit.c: Ditto.
6576 * libc/ctype/jp2uc.c: Ditto.
6577 * libc/ctype/jp2uc.h: Ditto.
6578 * libc/ctype/local.h: Ditto.
6579 * libc/ctype/towctrans.c: Ditto.
6580 * libc/ctype/towlower.c: Ditto.
6581 * libc/ctype/towupper.c: Ditto.
6582 * libc/ctype/utf8alpha.h: Ditto.
6583 * libc/ctype/utf8print.h: Ditto.
6584 * libc/ctype/utf8punct.h: Ditto.
6585 * libc/ctype/wctrans.c: Ditto.
6586 * libc/ctype/wctype.c: Ditto.
6587 * libc/locale/locale.c (__lc_ctype): New external array to
6588 replace static lc_ctype array.
6589 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
6590 rather than reentrancy structure's _current_locale field.
6591 * libc/stdlib/wctomb_r.c: Ditto.
6593 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
6595 * configure.host: Minor comment and formatting changes.
6596 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
6597 * libc/Makefile.in: Regenerated.
6598 * libc/include/sys/config.h: Minor format change.
6600 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
6602 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
6605 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
6607 * libc/posix/opendir.c (opendir): Change code to check
6608 for HAVE_FCNTL before calling fcntl.
6609 * libc/search/hash.c (hash_open): Ditto.
6610 * libc/search/hash_page.c (open_tmp): Ditto.
6611 * libc/reent/Makefile.am: Add fcntlr.c.
6612 * libc/reent/Makefile.in: Regenerated.
6613 * libc/reent/fcntlr.c: New file.
6614 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
6615 instead of _fcntl when HAVE_FCNTL flag is set.
6616 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
6617 to see if _fcntl or _fcntl_r should be called. If flag is not
6618 set, default to ENOSYS stub.
6620 2002-09-16 Jeff Johnston <jjohnstn@redhat.com>
6622 * libc/include/wchar.h (mbstate_t): Change protective flag to
6624 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
6625 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
6627 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
6629 2002-09-11 Jeff Johnston <jjohnstn@redhat.com>
6631 * acinclude.m4 (enable-newlib-mb): Change check to
6632 default newlib_mb variable to empty string rather than "no".
6633 * configure.host: Remove hard-coding of -DMB_CAPABLE for
6634 x86-linux and Cygwin. Add code to check for newlib_mb
6635 being unset in which case set to "yes" for x86-linux and
6636 Cygwin. Change check for newlib_mb being "yes" to allow
6637 for an empty string.
6638 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
6639 * newlib.hin (_MB_LEN_MAX): New define to configure.
6640 * aclocal.m4: Regenerated.
6642 * libc/include/limits.h: New file.
6643 * libc/sys/linux/include/limits.h: Ditto.
6644 * doc/aclocal.m4 doc/configure libc/aclocal.m4
6645 libc/configure libc/machine/aclocal.m4
6646 libc/machine/configure libc/machine/a29k/aclocal.m4
6647 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
6648 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
6649 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
6650 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
6651 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
6652 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
6653 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
6654 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
6655 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
6656 libc/machine/i386/configure libc/machine/i960/aclocal.m4
6657 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
6658 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
6659 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
6660 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
6661 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
6662 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
6663 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
6664 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
6665 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
6666 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
6667 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
6668 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
6669 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
6670 libc/machine/v850/configure libc/machine/w65/aclocal.m4
6671 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
6672 libc/machine/xscale/configure
6673 libc/machine/xstormy16/aclocal.m4
6674 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
6675 libc/machine/z8k/configure libc/sys/aclocal.m4
6676 libc/sys/configure libc/sys/a29khif/aclocal.m4
6677 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
6678 libc/sys/arc/configure libc/sys/arm/aclocal.m4
6679 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
6680 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
6681 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
6682 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
6683 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
6684 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
6685 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
6686 libc/sys/idt/configure libc/sys/linux/aclocal.m4
6687 libc/sys/linux/configure
6688 libc/sys/linux/machine/aclocal.m4
6689 libc/sys/linux/machine/configure
6690 libc/sys/linux/machine/i386/aclocal.m4
6691 libc/sys/linux/machine/i386/configure
6692 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
6693 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
6694 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
6695 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
6696 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
6697 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
6698 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
6699 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
6700 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
6701 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
6702 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
6703 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
6704 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
6705 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
6706 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
6707 libm/aclocal.m4 libm/configure: Regenerated.
6709 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
6711 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
6712 code that clears the .bss section.
6714 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
6716 * libc/include/sys/_types.h (_mbstate_t): Changed to use
6717 unsigned char internally.
6718 * libc/sys/linux/sys/_types.h: Ditto.
6719 * libc/include/sys/reent.h
6720 * libc/stdlib/mblen.c (mblen): Use function-specific state
6721 value from default reentrancy structure.
6722 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
6723 _mbtowc_r is less than 0, reset state __count value and
6725 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
6726 is NULL, use the function-specific pointer provided in the
6727 default reentrancy structure.
6728 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
6729 If input state pointer is NULL, use function-specific area
6730 provided in reentrancy structure.
6731 * libc/stdlib/mbsrtowcs.c: Ditto.
6732 * libc/stdlib/wcrtomb.c: Ditto.
6733 * libc/stdlib/wcsrtombs.c: Ditto.
6734 * libc/stdlib/mbstowcs.c: Reformat.
6735 * libc/stdlib/wcstombs.c: Ditto.
6736 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
6737 reset the state's __count value and return -1.
6738 * libc/stdlib/mbtowc.c: Ditto.
6739 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
6740 If number of bytes is used up before completing a valid multibyte
6741 character, return -2 and save the state.
6742 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
6743 and change some __count references to __state for clarity.
6745 2002-09-06 Jeff Johnston <jjohnstn@redhat.com>
6747 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
6748 is defined by <limits.h>.
6750 2002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
6752 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
6755 2002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
6757 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
6758 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
6759 __WCHAR_MAX__ or 0x7fffffffu.
6760 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
6761 * libc/string/wcsncmp.c: Ditto.
6763 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
6765 * libc/string/wcschr.c: Add include of <stddef.h>.
6766 * libc/string/wcspbrk.c: Ditto.
6767 * libc/string/wcsrchr.c: Ditto.
6768 * libc/string/wcsstr.c: Ditto.
6770 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
6772 * libc/include/sys/_types.h (_flock_t): Added.
6773 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
6774 (__lock_try_acquire_recursive): Ditto.
6775 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
6777 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
6779 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
6780 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
6781 * libc/sys/linux/include/time.h (struct timespec): Moved from
6782 <sys/types.h> and added check for __need_timespec flag so type
6783 can be defined by itself.
6784 * libc/sys/linux/sys/_types.h (_flock_t): New type.
6785 * libc/sys/linux/sys/types.h (struct timespec): Moved to
6788 2002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
6790 * libc/sys/linux/argp: New directory.
6791 * libc/sys/linux/getopt.c: New file.
6792 * libc/sys/linux/getopt1.c: New file.
6793 * libc/sys/linux/getoptlong.c: Remove file.
6794 * libc/sys/linux/include/argp.h: New file.
6795 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
6796 based on ELIX level.
6797 (SUBDIRS): Add argp_dir.
6798 (SUBLIBS): Add ARGP_LIB.
6799 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
6800 getopt_long.$(oext).
6801 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
6803 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
6805 * libc/libc.texinfo: Add node reference to wide-character strings.
6806 * libc/string/wcstrings.tex: New file.
6807 * libc/string/strtok_r.c: Remove outdated advertising clause.
6808 * libc/string/Makefile.am (doc): Add wide-character string
6809 chapter to documentation.
6810 * libc/string/Makefile.in: Regenerated.
6812 2002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
6814 * libc/include/wchar.h: Define NULL. Define WEOF more general
6815 way. Declare functions in newlib manner.
6816 * libc/stdlib/Makefile.am: Delete wmem*.c
6817 * libc/stdlib/Makefile.in: Regenerated.
6818 * libc/stdlib/wmemchr.c: Delete.
6819 * libc/stdlib/wmemcmp.c: Ditto.
6820 * libc/stdlib/wmemcpy.c: Ditto.
6821 * libc/stdlib/wmemmove.c: Ditto.
6822 * libc/stdlib/wmemset.c: Ditto.
6823 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
6824 * libc/string/Makefile.in: Regenerated.
6825 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
6826 * libc/string/wcschr.c: Ditto.
6827 * libc/string/wcscmp.c: Ditto.
6828 * libc/string/wcscpy.c: Ditto.
6829 * libc/string/wcscspn.c: Ditto.
6830 * libc/string/wcslcat.c: Ditto.
6831 * libc/string/wcslcpy.c: Ditto.
6832 * libc/string/wcslen.c: Ditto.
6833 * libc/string/wcsncat.c: Ditto.
6834 * libc/string/wcsncmp.c: Ditto.
6835 * libc/string/wcsncpy.c: Ditto.
6836 * libc/string/wcspbrk.c: Ditto.
6837 * libc/string/wcsrchr.c: Ditto.
6838 * libc/string/wcsspn.c: Ditto.
6839 * libc/string/wcsstr.c: Ditto.
6840 * libc/string/wmemchr.c: Ditto.
6841 * libc/string/wmemcmp.c: Ditto.
6842 * libc/string/wmemcpy.c: Ditto.
6843 * libc/string/wmemmove.c: Ditto.
6844 * libc/string/wmemset.c: Ditto.
6846 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
6848 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
6849 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
6850 and is treated as if "C" was specified.
6852 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
6854 * Makefile.am (install-data-local): Move install of build
6855 newlib.h after installing headers in libc/include so as to
6856 overwrite default newlib.h.
6857 * Makefile.in: Regenerated.
6859 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
6861 * libc/include/newlib.h: New file for tools that use newlib
6862 headers but don't build newlib first (e.g. gcc).
6864 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
6866 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
6867 * libc/stdlib/wmemcmp.c: Ditto.
6868 * libc/stdlib/wmemcpy.c: Ditto.
6869 * libc/stdlib/wmemmove.c: Ditto.
6870 * libc/stdlib/wmemset.c: Ditto.
6872 2002-08-27 Egor Duda <deo@logos-m.ru>
6874 * libc/stdlib/wmemchr.c: New file.
6875 * libc/stdlib/wmemcmp.c: Ditto.
6876 * libc/stdlib/wmemcpy.c: Ditto.
6877 * libc/stdlib/wmemmove.c: Ditto.
6878 * libc/stdlib/wmemset.c: Ditto.
6879 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
6880 * configure.host: Default -DMB_CAPABLE for cygwin.
6881 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
6882 wmemmove() and wmemset(). Add include of <_ansi.h>.
6883 * libc/stdlib/Makefile.in: Regenerate.
6885 2002-08-27 Jeff Johnston <jjohnstn@redhat.com>
6887 * configure.host: Remove _ELIX_LEVEL flag setting.
6888 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
6889 (install-data-local): Install newlib.h.
6890 * Makefile.in: Regenerated.
6891 * aclocal.m4: Ditto.
6893 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
6894 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
6895 and _NEWLIB_VERSION to fill in newlib.h header file entries.
6896 In AC_OUTPUT statement, unset ac_file so multilib support does
6897 not use last ac_file temporary used in newlib.h configuration.
6898 * libc/include/_ansi.h: Include <newlib.h>.
6899 * newlib.hin: New template file for newlib.h.
6900 * stamp-h.in: New file.
6902 2002-08-26 Wu Yongwei <adah@netstd.com>
6904 * time.h (timezonevar): Change "#if" to "#ifdef".
6906 2002-08-26 Jeff Johnston <jjohnstn@redhat.com>
6908 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
6909 * Makefile.in: Regenerated.
6910 * acinclude.m4: Add support for --enable-newlib-elix-level option.
6911 * aclocal.m4: Regenerated.
6913 * configure.host: Add code to define _ELIX_LEVEL if
6914 --enable-newlib-elix-level option is used.
6916 * libc/aclocal.m4: Regenerated.
6917 * libc/configure: Ditto.
6918 * libc/argz/Makefile.am: Add EL/IX level checking.
6919 * libc/argz/Makefile.in: Regenerated.
6920 * libc/argz/dummy.c: New file.
6921 * libc/ctype/Makefile.am: Add EL/IX level checking.
6922 * libc/ctype/Makefile.in: Regenerated.
6923 * libc/locale/Makefile.am: Add EL/IX level checking.
6924 * libc/locale/Makefile.in: Regenerated.
6925 * libc/posix/Makefile.am: Add EL/IX level checking.
6926 * libc/posix/Makefile.in: Regenerated.
6927 * libc/posix/telldir.c: Add EL/IX level checking.
6928 * libc/reent/Makefile.am: Ditto.
6929 * libc/reent/fstat64r.c: Ditto.
6930 * libc/reent/lseek64r.c: Ditto.
6931 * libc/reent/open64r.c: Ditto.
6932 * libc/reent/Makefile.in: Regenerated.
6933 * libc/search/Makefile.am: Add EL/IX level checking.
6934 * libc/search/Makefile.in: Regenerated.
6935 * libc/stdio/Makefile.am: Add EL/IX level checking.
6936 * libc/stdio/Makefile.in: Regenerated.
6937 * libc/stdio64/Makefile.am: Add EL/IX level checking.
6938 * libc/stdio64/Makefile.in: Regenerated.
6939 * libc/stdio64/dummy.c: New file.
6940 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
6941 after first include.
6942 * libc/stdio64/fopen64.c: Ditto.
6943 * libc/stdio64/freopen64.c: Ditto.
6944 * libc/stdio64/fseeko64.c: Ditto.
6945 * libc/stdio64/fsetpos64.c: Ditto.
6946 * libc/stdio64/ftello64.c: Ditto.
6947 * libc/stdio64/tmpfile64.c: Ditto.
6948 * libc/stdlib/Makefile.am: Add EL/IX level checking.
6949 * libc/stdlib/Makefile.in: Regenerated.
6950 * libc/stdlib/mstats.c: Add EL/IX level checking.
6951 * libc/string/Makefile.am: Ditto.
6952 * libc/string/Makefile.in: Regenerated.
6953 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
6954 * libc/sys/linux/Makefile.in: Regenerated.
6955 * libc/sys/linux/aclocal.m4: Ditto.
6956 * libc/sys/linux/configure: Ditto.
6957 * libc/sys/linux/aio.c: Add EL/IX level checking.
6958 * libc/sys/linux/ftok.c: Ditto.
6959 * libc/sys/linux/getdate.c: Ditto.
6960 * libc/sys/linux/ids.c: Ditto.
6961 * libc/sys/linux/inode.c: Ditto.
6962 * libc/sys/linux/io.c: Ditto.
6963 * libc/sys/linux/process.c: Ditto.
6964 * libc/sys/linux/resource.c: Ditto.
6965 * libc/sys/linux/sched.c: Ditto.
6966 * libc/sys/linux/sig.c: Ditto.
6967 * libc/sys/linux/termios.c: Ditto.
6968 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
6969 __libc___waitpid weak aliases.
6970 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
6971 that generate the code for a syscall, but do not create a
6973 * libc/syscalls/Makefile.am: Add EL/IX level checking.
6974 * libc/syscalls/Makefile.in: Regenerated.
6975 * libc/time/tzset_r.c: Change to replace strdup with equivalent
6977 * libc/unix/Makefile.am: Add EL/IX level checking.
6978 * libc/unix/Makefile.in: Regenerated.
6980 2002-08-26 Christopher Faylor <cgf@redhat.com>
6982 * libc/include/malloc.h: On cygwin, define malloc _r functions as
6983 wrapper macros to standard malloc functions.
6984 * libc/include/stdlib.h: Ditto.
6985 * configure.host: Always define MALLOC_PROVIDED on cygwin.
6987 2002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6989 * libc/include/langinfo.h: New file.
6990 * libc/include/wchar.h: Likewise.
6991 * libc/include/sys/syslimits.h: Likewise.
6992 * libc/locale/fix_grouping.c: Likewise.
6993 * libc/locale/ldpart.c: Likewise.
6994 * libc/locale/ldpart.h: Likewise.
6995 * libc/locale/lmessages.c: Likewise.
6996 * libc/locale/lmessages.h: Likewise.
6997 * libc/locale/lmonetary.c: Likewise.
6998 * libc/locale/lmonetary.h: Likewise.
6999 * libc/locale/lnumeric.c: Likewise.
7000 * libc/locale/lnumeric.h: Likewise.
7001 * libc/locale/nl_langinfo.3: Likewise.
7002 * libc/locale/nl_langinfo.c: Likewise.
7003 * libc/locale/timelocal.c: Likewise.
7004 * libc/locale/timelocal.h: Likewise.
7005 * libc/stdlib/btowc.c: Likewise.
7006 * libc/stdlib/mbrlen.c: Likewise.
7007 * libc/stdlib/mbrtowc.c: Likewise.
7008 * libc/stdlib/mbsinit.c: Likewise.
7009 * libc/stdlib/mbsrtowcs.c: Likewise.
7010 * libc/stdlib/wcrtomb.c: Likewise.
7011 * libc/stdlib/wcsrtombs.c: Likewise.
7012 * libc/stdlib/wctob.c: Likewise.
7013 * libc/sys/linux/prof-freq.c: Likewise.
7014 * libc/sys/linux/profile.c: Likewise.
7015 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
7016 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
7017 * libc/include/stdlib.h: Change re-entrant functions to take
7019 * libc/include/sys/_types.h: Define _mbstate_t.
7020 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
7021 * libc/include/sys/errno.h (EILSEQ): New error code.
7022 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
7023 structure to use mbstate_t.
7024 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
7025 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
7026 * libc/machine/powerpc/vfscanf.c: Likewise.
7027 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
7028 * libc/stdio/vfprintf.c: Likewise.
7029 * libc/stdio/vfscanf.c: Likewise.
7030 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
7031 * libc/stdlib/mblen.c: Use mbstate_t.
7032 * libc/stdlib/mblen_r.c: Likewise.
7033 * libc/stdlib/mbstowcs.c: Likewise.
7034 * libc/stdlib/mbstowcs_r.c: Likewise.
7035 * libc/stdlib/mbtowc.c: Likewise.
7036 * libc/stdlib/mbtowc_r.c: Likewise.
7037 * libc/stdlib/wcstombs.c: Likewise.
7038 * libc/stdlib/wcstombs_r.c: Likewise.
7039 * libc/stdlib/wctomb_r.c: Likewise.
7040 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
7042 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
7044 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
7045 * libc/sys/linux/sys/types.h (off_t): Define type.
7046 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
7048 * testsuite/newlib.locale/UTF-8.exp: Likewise.
7050 2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
7052 * libc/stdlib/mallocr.c: #include windows.h on Win32.
7053 (AlignPage): Continue macro on next line.
7055 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
7057 * libc/sys/linux/include/pthread.h: New file.
7059 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
7061 * libc/include/sys/types.h: Support __need_inttypes macro
7062 that only sets the __intxx and __uintxx types.
7063 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
7065 * libc/machine/powerpc/Makefile.in: Regenerated.
7066 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
7067 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
7068 redundant fixed-point conversion prototypes.
7069 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
7070 after setting __need_inttypes.
7072 2002-08-18 Christopher Faylor <cgf@redhat.com>
7074 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
7076 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7078 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
7079 _LONG_DOUBLE to double.
7081 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7083 * configure.host: Add powerpc*-*-eabispe* configuration.
7084 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
7085 * libc/machine/powerpc/atosfix32.c: Ditto.
7086 * libc/machine/powerpc/atosfix64.c: Ditto.
7087 * libc/machine/powerpc/atoufix16.c: Ditto.
7088 * libc/machine/powerpc/atoufix32.c: Ditto.
7089 * libc/machine/powerpc/atoufix64.c: Ditto.
7090 * libc/machine/powerpc/fix64.h: Ditto.
7091 * libc/machine/powerpc/simdldtoa.c: Ditto.
7092 * libc/machine/powerpc/strtosfix16.c: Ditto.
7093 * libc/machine/powerpc/strtosfix32.c: Ditto.
7094 * libc/machine/powerpc/strtosfix64.c: Ditto.
7095 * libc/machine/powerpc/strtoufix16.c: Ditto.
7096 * libc/machine/powerpc/strtoufix32.c: Ditto.
7097 * libc/machine/powerpc/strtoufix64.c: Ditto.
7098 * libc/machine/powerpc/ufix64toa.c: Ditto.
7099 * libc/machine/powerpc/configure.in: Add check for
7100 powerpc*-eabispe and add fixed-point conversion functions.
7101 * libc/machine/powerpc/configure: Regenerated.
7102 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
7103 %r and %R format specifiers which handle fixed-point data.
7104 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
7105 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
7106 function prototypes.
7108 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7110 * Makefile.am: Move cmath stuff into libc/sys/linux.
7111 * Makefile.in: Regenerated.
7112 * configure.host: Default -DMB_CAPABLE for x86-linux.
7113 * libc/include/reent.h: Define _sbrk to take signed int argument.
7114 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
7115 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
7116 make locale name checking more efficient. Also allow "C-ISO-8859-1"
7117 locale for LC_CTYPE and LC_MESSAGES.
7118 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
7119 * libc/sys/linux/brk.c: Change sbrk prototype.
7120 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
7121 include <sys/features.h>.
7122 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
7123 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
7124 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
7125 with a few local additions.
7126 * libc/sys/linux/sys/features.h: New file.
7127 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
7128 to take signed argument.
7129 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
7130 prototypes to take signed size argument.
7132 2002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
7134 * libc/sys/linux/cmath: New directory.
7135 * libc/sys/linux/include/cmathcalls.h: New file.
7136 * libc/sys/linux/include/complex.h: New file.
7137 * libc/sys/linux/machine/i386/huge_val.h: New file
7138 * libm/math/w_sincos.c: New file
7139 * libm/math/wf_sincos.c: New file
7140 * libm/mathfp/s_sincos.c: New file
7141 * libm/mathfp/sf_sincos.c: New file
7142 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
7143 * libc/include/math.h: Add sincos and sincosf declarations.
7144 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
7145 (SUBLIBS): Likewise.
7146 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
7147 * libm/math/Makefile.am (src): Add w_sincos.c.
7148 (fsrc): Add wf_sincos.c.
7149 * libm/mathfp/Makefile.am (src): Add s_sincos.c
7150 (fsrc): Add sf_sincos.c.
7152 2002-08-12 Jeff Johnston <jjohnstn@redhat.com>
7154 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
7155 Declare as extern chars and use the address operator to
7156 properly use values set in linker script.
7158 2002-08-09 Jason Tishler <jason@tishler.net>
7160 * libc/stdlib/mallocr.c: Include <limits.h>.
7161 (request2size): Change macro to do
7162 unsigned long comparisons and avoid signed overflow.
7163 (mALLOc): Add overflow check for the number of bytes to allocate.
7166 2002-08-09 Jeff Johnston <jjohnstn@redhat.com>
7168 * configure.host: Add check for --enable-newlib-io-pos-args
7169 and define WANT_IO_POS_ARGS flag if enabled. Define
7170 the flag by default for x86-linux configurations.
7171 * configure.in: Add support for --enable-newlib-io-pos-args.
7172 * libc/configure.in: Ditto.
7173 * configure: Regenerated.
7174 * libc/configure: Ditto.
7175 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
7176 vfprintf.c and vfiprintf.c.
7177 * libc/stdio/Makefile.in: Regenerated.
7178 * libc/stdio/vfprintf.c: Add positional argument support that
7179 is enabled by compiling with -DWANT_IO_POS_ARGS.
7181 2002-08-07 Richard Sandiford <rsandifo@redhat.com>
7183 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
7184 based on __mips_soft_float rather than __mips64.
7185 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
7186 of both 32-bit and 64-bit code.
7188 2002-08-04 Christopher Faylor <cgf@redhat.com>
7190 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
7191 arguments for popen to match similar functionality in fopen.
7193 2002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
7195 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
7197 2002-07-29 Jeff Johnston <jjohnstn@redhat.com>
7199 * libc/sys/linux/Makefile.am: Add aio64.c.
7200 * libc/sys/linux/Makefile.in: Regenerated.
7201 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
7202 * libc/sys/linux/aio64.c: New file.
7204 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
7206 * libc/include/sys/param.h (MAX, MIN): Added macros.
7207 * libc/sys/linux/Makefile.am: Add new files.
7208 * libc/sys/linux/Makefile.in: Regenerated.
7209 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
7210 * libc/sys/linux/inode.c (fchdir): Added syscall.
7211 * libc/sys/linux/ftw.c: New file.
7212 * libc/sys/linux/ftw64.c: Ditto.
7213 * libc/sys/linux/getwd.c: Ditto.
7214 * libc/sys/linux/scandir64.c: Ditto.
7215 * libc/sys/linux/strverscmp.c: Ditto.
7216 * libc/sys/linux/versionsort.c: Ditto.
7217 * libc/sys/linux/versionsort64.c: Ditto.
7219 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
7221 * libc/string/strings.tex: Fix typo for memccpy.
7223 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7225 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
7226 * libc/sys/linux/sys/types.h (off64_t): Definition added.
7228 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7230 * libc/sys/linux/Makefile.am: Add fclean.c.
7231 * libc/sys/linux/Makefile.in: Regenerated.
7232 * libc/sys/linux/fclean.c: New file.
7234 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7236 * libc/sys/linux/Makefile.am: Add confstr.c.
7237 * libc/sys/linux/Makefile.in: Regenerated.
7238 * libc/sys/linux/confstr.c: New file.
7239 * libc/sys/linux/confstr.h: Ditto.
7240 * libc/sys/linux/sys/unistd.h: Include <features.h> and
7241 <bits/environments.h>.
7243 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7245 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
7246 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
7247 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
7248 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
7249 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
7250 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
7252 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
7254 * libc/sys/linux/Makefile.am: Add new files.
7255 * libc/sys/linux/Makefile.in: Regenerated.
7256 * libc/sys/linux/fstab.c: New file.
7257 * libc/sys/linux/fstatvfs.c: Ditto.
7258 * libc/sys/linux/fstatvfs64.c: Ditto.
7259 * libc/sys/linux/internal_statvfs.c: Ditto.
7260 * libc/sys/linux/mntent.c: Ditto.
7261 * libc/sys/linux/mntent_r.c: Ditto.
7262 * libc/sys/linux/statvfs.c: Ditto.
7263 * libc/sys/linux/statvfs64.c: Ditto.
7264 * libc/sys/linux/include/paths.h: Ditto.
7265 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
7266 with double-underscore weak-aliases.
7267 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
7269 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
7271 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
7272 to use _sig_func_ptr type casted constants.
7273 (_sig_func_ptr): Typedef moved to sys/signal.h.
7274 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
7275 For __rtems, use POSIX definition, otherwise default to ANSI.
7276 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
7278 2002-07-24 Stephane Carrez <stcarrez@nerim.fr>
7280 * configure.host: Recognize m6811-elf and m6812-elf targets.
7281 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
7282 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
7283 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
7284 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
7285 according to __INT_MAX__.
7286 (_POINTER_INT): Define to short.
7287 * libc/machine/m68hc11/Makefile.am: New file.
7288 * libc/machine/m68hc11/Makefile.in: New file.
7289 * libc/machine/m68hc11/configure.in: New file.
7290 * libc/machine/m68hc11/configure: New file.
7291 * libc/machine/m68hc11/aclocal.m4: New file.
7292 * libc/machine/m68hc11/setjmp.S: New file.
7294 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
7296 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
7298 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
7299 * libc/stdlib/Makefile.in: Regenerated.
7300 * libc/stdlib/strdup.c: Removed.
7301 * libc/stdlib/strdup_r.c: Removed.
7302 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
7303 mempcpy.c, strndup.c, and strndup_r.c.
7304 * libc/string/Makefile.in: Regenerated.
7305 * libc/string/memccpy.c: New file.
7306 * libc/string/mempcpy.c: Ditto.
7307 * libc/string/strndup.c: Ditto.
7308 * libc/string/strndup_r.c: Ditto.
7309 * libc/string/strdup.c: New file moved from stdlib.
7310 * libc/string/strdup_r.c: Ditto.
7311 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
7313 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
7315 * libc/include/stdio.h: Move fcloseall prototype within
7316 #ifndef _REENT_ONLY section.
7317 * libc/sys/linux/Makefile.am: Add new files.
7318 * libc/sys/linux/Makefile.in: Regenerated.
7319 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
7320 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
7321 * libc/sys/linux/sys/types.h: Add ino64_t type.
7322 * libc/sys/linux/ctermid.c: New file.
7323 * libc/sys/linux/ttyname_r.c: Ditto.
7324 * libc/sys/linux/readdir64.c: Ditto.
7326 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
7328 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
7329 * libc/stdio/Makefile.am: Added fcloseall.c support.
7330 * libc/stdio/Makefile.in: Regenerated.
7331 * libc/stdio/fcloseall.c: New file.
7332 * libc/stdio64/Makefile.am: Remove missing .def references.
7333 * libc/stdio64/Makefile.in: Regenerated.
7335 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
7337 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
7338 * libc/machine/powerpc/times.c: New file.
7339 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
7340 * libc/machine/powerpc/Makefile.in: Regenerated.
7342 2002-07-22 Aldy Hernandez <aldyh@redhat.com>
7344 * libc/machine/powerpc/time.c: New file.
7345 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
7347 * libc/machine/powerpc/Makefile.in: Regenerated.
7349 2002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7351 * libc/libc.texinfo: Change copyright notices to Red Hat from
7353 * libm/libm.texinfo: Likewise.
7354 * README: Change docs URL to
7355 http://sources.redhat.com/newlib/docs.html.
7357 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
7359 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
7360 * libc/sys/linux/Makefile.in: Regenerated.
7361 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
7362 * libc/sys/linux/io.c: Add ftruncate syscall.
7363 * libc/sys/linux/fpathconf.c: New file.
7364 * libc/sys/linux/pathconf.c: Ditto.
7365 * libc/sys/linux/linux_fsinfo.h: Ditto.
7366 * libc/sys/linux/sys/unistd.h: Ditto.
7368 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
7370 * libc/stdio64/Makefile.am: Remove missing files.
7371 * libc/stdio64/Makefile.in: Regenerated.
7373 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
7375 * libc/include/sys/config.h[__i386__][__linux__]: Define
7376 _LARGE64FILE_SOURCE to 1.
7377 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
7378 * libc/sys/linux/Makefile.in: Regenerated.
7379 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
7380 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
7381 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
7382 of <linux/resource.h>.
7383 * libc/sys/linux/getrlimit64.c: New file.
7384 * libc/sys/linux/setrlimit64.c: Ditto.
7386 2002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
7388 * libc/argz/argz_replace.c: Include buf_findstr.h.
7389 * libc/argz/buf_findstr.c: Likewise.
7390 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
7392 * libc/argz/envz_get.c: Likewise.
7393 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
7394 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
7395 * libc/stdlib/getsubopt.3: New file.
7396 * libc/stdlib/getsubopt.c: New file.
7397 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
7400 2002-07-17 Jeff Johnston <jjohnstn@redhat.com>
7402 * configure.host(stdio64_dir): New setting that is used to
7403 enable building of new stdio64 directory.
7404 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
7406 (stmp-stdio64,stdio64.texi): New targets to optionally add in
7407 stdio64 info to info files.
7408 * libc/Makefile.in: Regenerated.
7409 * libc/configure: Ditto.
7410 * libc/configure.in: Add configuration variables that are set
7411 when stdio64 is selected as subdir in configure.host.
7412 * libc/libc.texinfo: Add optional menu item for Stdio64, based
7413 on whether STDIO64 flag is set or not.
7414 * libc/sys.tex: Add optional stdio64 syscalls based on whether
7415 STDIO64 flag is set or not.
7416 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
7418 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
7419 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
7420 (__SL64): New file flag indicating file is opened via fopen64.
7421 * libc/include/sys/_types.h(_off64_t): Added.
7422 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
7423 * libc/include/sys/reent.h(struct __sFILE64): New file structure
7424 for 64-bit offset large file support.
7425 (__FILE): New intermediate type either set to struct __sFILE64 or
7426 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
7427 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
7428 * libc/reent/Makefile.in: Regenerated.
7429 * libc/reent/fstat64r.c: New file.
7430 * libc/reent/lseek64r.c: Ditto.
7431 * libc/reent/open64r.c: Ditto.
7432 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
7433 based on whether STDIO64 flag is set.
7434 * libc/stdio/stdio.tex: Add blank line.
7435 * libc/stdio64/Makefile.am: New file.
7436 * libc/stdio64/Makefile.in: Ditto.
7437 * libc/stdio64/fgetpos64.c: Ditto.
7438 * libc/stdio64/fopen64.: Ditto.
7439 * libc/stdio64/freopen64.c: Ditto.
7440 * libc/stdio64/fseeko64.c: Ditto.
7441 * libc/stdio64/fsetpos64.c: Ditto.
7442 * libc/stdio64/ftello64.c: Ditto.
7443 * libc/stdio64/local64.h: Ditto.
7444 * libc/stdio64/stdio64.c: Ditto.
7445 * libc/stdio64/stdio64.tex: Ditto.
7446 * libc/stdio64/tmpfile64.c: Ditto.
7447 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
7450 2002-07-16 Jeff Johnston <jjohnstn@redhat.com>
7452 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
7453 if LIBC_EXTRA_LIB is present.
7454 * libc/Makefile.in: Regenerated.
7455 * libc/libc.texinfo: Add blank line.
7456 * libc/argz/Makefile.am: Add doc support.
7457 * libc/search/Makefile.am: Ditto.
7458 * libc/argz/Makefile.in: Regenerated.
7459 * libc/search/Makefile.in: Ditto.
7460 * libc/misc/misc.tex: Add ffs function.
7461 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
7463 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7465 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
7466 definition that was removed in error.
7468 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7470 * libc/include/machine/ieeefp.h: Change to only define
7471 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
7472 __IEEE_LITTLE_ENDIAN must be defined for each platform).
7473 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
7474 remove redundant floating point definitions.
7476 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7478 * libc/sys/linux/callocr.c: Fix so code references
7481 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7483 * libc/sys/linux/Makefile.am: Add new files.
7484 * libc/sys/linux/Makefile.in: Regenerated.
7485 * libc/sys/linux/bp-sym.h: Moved to include directory.
7486 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
7487 * libc/sys/linux/inode.c: Set _LIBC to 1.
7488 * libc/sys/linux/mq_close.c: Ditto.
7489 * libc/sys/linux/mq_getattr.c: Ditto.
7490 * libc/sys/linux/mq_open.c: Ditto.
7491 * libc/sys/linux/mq_receive.c: Ditto.
7492 * libc/sys/linux/mq_send.c: Ditto.
7493 * libc/sys/linux/mq_setattr.c: Ditto.
7494 * libc/sys/linux/mq_unlink.c: Ditto.
7495 * libc/sys/linux/calloc.c: New file.
7496 * libc/sys/linux/callocr.c: Ditto.
7497 * libc/sys/linux/cfreer.c: Ditto.
7498 * libc/sys/linux/config.h: Ditto.
7499 * libc/sys/linux/free.c: Ditto.
7500 * libc/sys/linux/freer.c: Ditto.
7501 * libc/sys/linux/msize.c: Ditto.
7502 * libc/sys/linux/msizer.c: Ditto.
7503 * libc/sys/linux/mstats.c: Ditto.
7504 * libc/sys/linux/mtrim.c: Ditto.
7505 * libc/sys/linux/mtrimr.c: Ditto.
7506 * libc/sys/linux/pvallocr.c: Ditto.
7507 * libc/sys/linux/realloc.c: Ditto.
7508 * libc/sys/linux/reallocr.c: Ditto.
7509 * libc/sys/linux/thread-m.h: Ditto.
7510 * libc/sys/linux/vallocr.c: Ditto.
7511 * libc/sys/linux/bp-checks.h: Ditto.
7512 * libc/sys/linux/libc-symbols.h: Ditto.
7513 * libc/sys/linux/libc-tsd.h: Ditto.
7514 * libc/sys/linux/libintl.h: Ditto.
7515 * libc/sys/linux/malign.c: Ditto.
7516 * libc/sys/linux/malignr.c: Ditto.
7517 * libc/sys/linux/mallinfor.c: Ditto.
7518 * libc/sys/linux/malloc.c: Ditto.
7519 * libc/sys/linux/mallocr.c: Ditto.
7520 * libc/sys/linux/malloptr.c: Ditto.
7521 * libc/sys/linux/mallstatsr.c: Ditto.
7522 * libc/sys/linux/mcheck.c: Ditto.
7523 * libc/sys/linux/mhooks.h: Ditto.
7524 * libc/sys/linux/include/bp-sym.h: Ditto.
7525 * libc/sys/linux/include/malloc.h: Ditto.
7526 * libc/sys/linux/include/mcheck.h: Ditto.
7527 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
7529 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
7530 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
7531 * libc/sys/linux/machine/i386/getpagesize.c: New file.
7532 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
7533 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
7534 * libc/sys/linux/machine/i386/sysdep.h: New file.
7535 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
7536 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
7537 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
7539 2002-07-12 Jeff Johnston <jjohnstn@redhat.com>
7541 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
7542 instead of <asm/siginfo.h>.
7543 * libc/sys/linux/sys/signal.h: Change to include various linux
7544 <bits/xxx.h> header files, rather than <linux/signal.h> so as
7545 to work with multiple releases of glibc header files.
7547 2002-07-11 Chris Demetriou <cgd@broadcom.com>
7549 * testsuite/newlib.search/hsearchtest.c: New file to test
7551 * testsuite/newlib.search/hsearchtest.exp: Likewise.
7553 2002-07-10 Florian Schrack <florian.schrack@freenet.de>
7555 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
7557 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
7559 2002-07-08 Jeff Johnston <jjohnstn@redhat.com>
7561 * libc/include/math.h (MAXFLOAT): Added.
7563 Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
7565 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
7566 Make strcmp.S unconditional.
7567 * libc/machine/sh/Makefile.in: Regenerate.
7568 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
7569 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
7572 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7574 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
7575 define before including <sys/lock.h>.
7577 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7579 * libc/include/utime.h: Add include of <_ansi.h>.
7580 * libc/sys/linux/Makefile.am: Add utimes.c.
7581 * libc/sys/linux/Makefile.in: Regenerated.
7582 * libc/sys/linux/inode.c(__umask): New static routine.
7583 (umask): Written to use __umask and attempt to thread lock.
7584 (getumask): New function written to use __umask and thread lock.
7585 * libc/sys/linux/utimes.c: New file.
7586 * libc/sys/linux/sys/time.h: Fix utimes prototype.
7587 * libc/sys/linux/sys/utime.h: New file.
7589 2002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
7591 * libtool.m4: New file.
7592 * libc/sys/linux/process.c: Implement vfork in terms of fork,
7593 rather than as a syscall.
7595 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7597 * libc/include/stdio.h: Add new prototypes.
7598 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
7599 * libc/stdio/Makefile.in: Regenerated.
7600 * libc/stdio/fseek.c: Add fseeko documentation.
7601 * libc/stdio/ftell.c: Add ftello documentation.
7602 * libc/stdio/fseeko.c: New file.
7603 * libc/stdio/ftello.c: New file.
7605 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7607 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
7608 * libc/stdio/Makefile.in: Regenerated.
7609 * libc/stdio/asprintf.c: New file.
7610 * libc/stdio/vasprintf.c: Ditto.
7611 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
7612 the buffer for asprintf support.
7613 * libc/stdio/sprintf.c: Add asprintf documentation.
7614 * libc/stdio/vfprintf.c: Add vasprintf documentation.
7615 * libc/include/stdio.h: Add new prototypes.
7617 2002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
7619 * libc/search/hcreate.c: Remove advertising clause from license.
7620 * libc/search/hcreate_r.c: Likewise.
7622 2002-07-02 Chris Demetriou <cgd@broadcom.com>
7624 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
7625 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
7626 Check that one of them is defined and error out if not.
7627 Add any platforms defined in <machine/ieeefp.h> that are missing.
7628 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
7629 (DB_LITTLE_ENDIAN): New defines.
7630 * libc/search/hash.c: Replace all incorrect checks for
7631 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
7632 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
7633 * libc/search/hash_page.c: Likewise.
7635 2002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
7637 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
7639 2002-06-27 Benjamin Kosnik <bkoz@redhat.com>
7641 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
7642 * libc/include/time.h: Same.
7643 * libc/include/string.h: Same.
7644 * libc/include/stdlib.h: Same.
7645 * libc/include/signal.h: Same.
7646 * libc/include/setjmp.h: Same.
7647 * libc/include/math.h: Same.
7648 * libc/include/locale.h: Same.
7649 * libc/include/ctype.h: Same.
7650 * libc/include/machine/setjmp.h: Same.
7651 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
7654 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
7656 * libc/include/sys/_types.h: Define _ssize_t as int if int is
7657 32-bits, otherwise define it as long.
7658 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
7659 and define ssize_t as _ssize_t.
7660 * libc/reent/readr.c: Change return type to _ssize_t.
7661 * libc/reent/writer.c: Ditto.
7662 * libc/sys/linux/Makefile.am: Add aio.c.
7663 * libc/sys/linux/Makefile.in: Regenerated.
7664 * libc/sys/linux/aio.c: New file.
7665 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
7666 * libm/common/fdlibm.h: Undef __P before defining it.
7668 2002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
7670 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
7671 exponent_is_even_int variable. Handle case where x is
7672 negative, and y is an odd integer.
7673 * libm/mathfp/sf_pow.c (powf): Likewise.
7675 * libm/mathfp/er_lgamma.c: Remove __kernel references.
7676 * libm/mathfp/erf_lgamma.c: Likewise.
7677 * libm/mathfp/s_tgamma.c: Likewise.
7678 * libm/mathfp/sf_tgamma.c: Likewise.
7680 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
7682 * libc/sys/linux/Makefile.am: Add new clock routines.
7683 * libc/sys/linux/Makefile.in: Regenerated.
7684 * libc/sys/linux/clock_getres.c: New file.
7685 * libc/sys/linux/clock_gettime.c: Ditto.
7686 * libc/sys/linux/clock_settime.c: Ditto.
7687 * libc/sys/linux/hp-timing.h: Ditto.
7688 * libc/sys/linux/libc-internal.h: Ditto.
7689 * libc/sys/linux/sysconf.c: Fix typo.
7690 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
7691 * libc/sys/linux/machine/hp-timing.h: New file.
7692 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
7693 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
7694 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
7695 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
7696 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
7697 * libc/sys/linux/sys/linux_time.h: New file.
7698 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
7699 replace with <sys/linux_time.h>.
7701 Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
7703 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
7705 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
7707 * libc/sys/linux/Makefile.am: Consolidate additional items under
7709 * libc/sys/linux/Makefile.in: Regenerated.
7711 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
7713 * libc/sys/linux/sethostname.c: New file.
7714 * libc/sys/linux/Makefile.am: Add sethostname.c support.
7715 * libc/sys/linux/Makefile.in: Regenerated.
7717 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
7719 * libc/search/db_local.h: New file.
7720 * libc/include/db.h: Remove.
7721 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
7722 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
7724 * libc/search/hash_bigkey.c: Likewise.
7725 * libc/search/hash_buf.c: Likewise.
7726 * libc/search/hash_func.c: Likewise.
7727 * libc/search/hash_log2.c: Likewise.
7728 * libc/search/hash_page.c: Likewise.
7730 2002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
7732 * libc/machine/sh/strlen.S: New file.
7733 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
7734 * libc/machine/sh/Makefile.am: Regenerate.
7736 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
7738 * libc/sys/linux/gethostname.c: Change name to __gethostname and
7739 add gethostname alias.
7741 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
7743 * libc/include/math.h: Remove <sys/types.h>.
7744 (__dmath): Use __ULong instead of __uint32_t.
7745 * libc/include/sys/reent.h: If long or int is not 32-bits,
7746 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
7747 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
7748 * libm/common/fdlibm.h: Ditto.
7750 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
7752 * libc/include/ndbm.h: Remove.
7753 * libc/search/ndbm.c: Remove.
7755 2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
7757 * libc/stdio/fseek.c (fseek): Fix braces.
7759 2002-06-21 Corinna Vinschen <corinna@vinschen.de>
7761 * libc/time/strftime.c (strftime): Add %e format specifier.
7763 2002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
7765 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
7768 2002-06-21 Richard Earnshaw (rearnsha@arm.com)
7770 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
7771 (BYTE_ORDER): Define as appropriate for the target.
7773 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
7775 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
7777 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
7779 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
7781 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
7782 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
7783 [HAVE_GETDATE](getdate_err): New error code.
7784 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
7785 * libc/stdio/Makefile.in: Regenerated.
7786 * libc/stdio/getdelim.c: New file.
7787 * libc/stdio/getline.c: Ditto.
7788 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
7789 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
7790 * libc/sys/linux/Makefile.in: Regenerated.
7791 * libc/sys/linux/getdate.c: New file.
7792 * libc/sys/linux/getdate_err.c: Ditto.
7793 * libc/sys/linux/ntp_gettime.c: Ditto.
7794 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
7795 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
7797 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
7799 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
7800 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
7801 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
7802 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
7803 * libc/include/sys/param.h: Remove i386 case which is handled
7805 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
7806 definitions in case they are already defined.
7807 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
7808 _IEEE_LITTLE_ENDIAN flags.
7809 * libc/include/sys/reent.h: Change __uint32_t references to
7811 (_REENT_GETDATE_REENT_P): New macro.
7812 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
7813 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
7814 * libc/search/hash.h: Add default setting of BYTE_ORDER,
7815 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
7816 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
7817 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
7818 pid_t, off_t, loff_t, caddr_t, and daddr_t type
7819 definitions which are done by subsequent glibc headers.
7820 Add macro definitions to prevent subsequent header files from
7821 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
7822 intptr_t to after glibc definitions of types they are based on.
7824 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
7826 * libc/include/errno.h: Protect from multiple inclusion.
7828 2002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
7830 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
7832 2002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
7834 * Makefile.am (LIB_OBJECTLISTS): Add
7835 libc/search/objectlist.awk.in.
7836 * libc/Makefile.am (SUBDIRS): Add search.
7837 (SUBLIBS): Add search/libsearch.la.
7838 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
7839 * libc/search: New directory.
7840 * libc/search/Makefile.am: New file.
7841 * libc/search/extern.h: New file.
7842 * libc/search/hash.c: New file.
7843 * libc/search/hash.h: New file.
7844 * libc/search/hash_bigkey.c: New file.
7845 * libc/search/hash_buf.c: New file.
7846 * libc/search/hash_func.c: New file.
7847 * libc/search/hash_log2.c: New file.
7848 * libc/search/hash_page.c: New file.
7849 * libc/search/hcreate.3: New file.
7850 * libc/search/hcreate.c: New file.
7851 * libc/search/hcreate_r.c: New file.
7852 * libc/search/ndbm.c: New file.
7853 * libc/search/page.h: New file.
7854 * libc/search/tdelete.c: New file.
7855 * libc/search/tdestroy.c: New file.
7856 * libc/search/tfind.c: New file.
7857 * libc/search/tsearch.3: New file.
7858 * libc/search/tsearch.c: New file.
7859 * libc/search/twalk.c: New file.
7860 * libc/include/db.h: New file.
7861 * libc/include/ndbm.h: New file.
7862 * libc/include/search.h: New file.
7863 * libc/include/sys/queue.h: New file.
7864 * libc/include/sys/cdefs.h: New file.
7865 * libc/include/sys/param.h
7866 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
7867 LITTLE_ENDIAN or BIG_ENDIAN.
7868 * libc/include/sys/errno.h (EFTYPE): New macro.
7869 * libc/search/bsearch.c: Move from libc/stdlib.
7870 * libc/search/qsort.c: Likewise.
7871 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
7873 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
7874 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
7876 2002-06-19 Jeff Johnston <jjohnstn@redhat.com>
7878 * libc/sys/linux/Makefile.am: Add support for message queue routines,
7879 ipc routines, and ftok.
7880 * libc/sys/linux/Makefile.in: Regenerated.
7881 * libc/sys/linux/ftok.c: New file.
7882 * libc/sys/linux/ipc.c: Ditto.
7883 * libc/sys/linux/mq_close.c: Ditto.
7884 * libc/sys/linux/mq_getattr.c: Ditto.
7885 * libc/sys/linux/mq_notify.c: Ditto.
7886 * libc/sys/linux/mq_open.c: Ditto.
7887 * libc/sys/linux/mq_receive.c: Ditto.
7888 * libc/sys/linux/mq_send.c: Ditto.
7889 * libc/sys/linux/mq_setattr.c: Ditto.
7890 * libc/sys/linux/mq_unlink.c: Ditto.
7891 * libc/sys/linux/mqlocal.h: Ditto.
7892 * libc/sys/linux/include/mqueue.h: Ditto.
7893 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
7896 2002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
7898 * libm/common/sf_lround.c (round): Change name to: (lround).
7899 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
7902 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7904 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
7906 (newlib_pass_fail): Change to compile and run only one file.
7907 * testsuite/newlib.locale/locale.exp: Use new
7908 newlib_pass_fail_all procedure.
7909 * testsuite/newlib.string/string.exp: Likewise.
7911 2002-06-18 Dave Brolley <brolley@redhat.com>
7913 From Catherine Moore, Michael Meissner, Richard Sandiford:
7914 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
7916 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
7917 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
7918 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
7919 * configure.host: Support frv-*-*.
7920 * libc/machine/frv/Makefile.am: New file.
7921 * libc/machine/frv/configure.in: New file.
7922 * libc/machine/frv/setjmp.S: New file.
7924 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7926 * libc/include/ctype.h: Remove isblank macro.
7928 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
7929 * libc/ctype/isblank.c: New file.
7930 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
7931 declaration. Add isblank macro.
7933 2002-06-18 Jeff Johnston <jjohnstn@redhat.com>
7935 * testsuite/newlib.stdlib/atexit.c: New file.
7936 * testsuite/newlib.stdlib/atexit.exp: Ditto.
7937 * testsuite/newlib.string/tstring.c: Change default start size
7938 to something more reasonable for embedded platforms.
7940 2002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7942 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
7944 * libc/argz: New directory.
7945 * libc/argz/*: New files.
7946 * libc/argz/argz_add.c: New file.
7947 * libc/argz/argz_add_sep.c: New file.
7948 * libc/argz/argz_append.c: New file.
7949 * libc/argz/argz_count.c: New file.
7950 * libc/argz/argz_create.c: New file.
7951 * libc/argz/argz_create_sep.c: New file.
7952 * libc/argz/argz_delete.c: New file.
7953 * libc/argz/argz_extract.c: New file.
7954 * libc/argz/argz_insert.c: New file.
7955 * libc/argz/argz_next.c: New file.
7956 * libc/argz/argz_replace.c: New file.
7957 * libc/argz/argz_stringify.c: New file.
7958 * libc/argz/buf_findstr.c: New file.
7959 * libc/argz/envz_add.c: New file.
7960 * libc/argz/envz_entry.c: New file.
7961 * libc/argz/envz_get.c: New file.
7962 * libc/argz/envz_merge.c: New file.
7963 * libc/argz/envz_remove.c: New file.
7964 * libc/argz/envz_strip.c: New file.
7965 * libc/include/argz.h: New file.
7966 * libc/include/envz.h: New file.
7967 * Makefile.am (LIBC_OBJECTLISTS): Add
7968 libc/argz/objectlist.awk.in.
7969 * libc/Makefile.am (SUBDIRS): Add argz.
7970 (SUBLIBS): Add argz/libargz.la.
7971 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
7972 * libc/include/errno.h: Add error_t typedef.
7974 2002-06-13 Jeff Johnston <jjohnstn@redhat.com>
7976 * libc/include/stdlib.h: Add _Exit prototype.
7977 * libc/stdlib/Makefile.am: Add _Exit.c support.
7978 * libc/stdlib/Makefile.in: Ditto.
7979 * libc/stdlib/_Exit.c: New file.
7981 2002-06-13 Stephen L. Moshier <steve@moshier.net>
7983 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
7984 x is close to -1.0 and y is very large to use ax (absolute value)
7986 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
7988 Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
7990 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
7991 Fix clobbering bytes before destination if src and dst have same
7992 non-zero misalignment.
7994 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
7995 Fixed bug in writing end of set region.
7997 2002-06-10 Christopher Faylor <cgf@redhat.com>
7999 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
8000 spawnve declaration.
8002 2002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
8004 * libm/common/s_fdim.c: New file.
8005 * libm/common/s_fma.c: Likewise.
8006 * libm/common/s_fmax.c: Likewise.
8007 * libm/common/s_fmin.c: Likewise.
8008 * libm/common/s_fpclassify.c: Likewise.
8009 * libm/common/s_lrint.c: Likewise.
8010 * libm/common/s_lround.c: Likewise.
8011 * libm/common/s_nearbyint.c: Likewise.
8012 * libm/common/s_remquo.c: Likewise.
8013 * libm/common/s_round.c: Likewise.
8014 * libm/common/s_scalbln.c: Likewise.
8015 * libm/common/s_signbit.c: Likewise.
8016 * libm/common/s_trunc.c: Likewise.
8017 * libm/common/sf_fdim.c: Likewise.
8018 * libm/common/sf_fma.c: Likewise.
8019 * libm/common/sf_fmax.c: Likewise.
8020 * libm/common/sf_fmin.c: Likewise.
8021 * libm/common/sf_lrint.c: Likewise.
8022 * libm/common/sf_lround.c: Likewise.
8023 * libm/common/sf_nearbyint.c: Likewise.
8024 * libm/common/sf_remquo.c: Likewise.
8025 * libm/common/sf_round.c: Likewise.
8026 * libm/common/sf_scalbln.c: Likewise.
8027 * libm/common/sf_trunc.c: Likewise.
8028 * libm/math/w_exp2.c: Likewise.
8029 * libm/math/w_tgamma.c: Likewise.
8030 * libm/math/wf_exp2.c: Likewise.
8031 * libm/math/wf_tgamma.c: Likewise.
8032 * libm/mathfp/s_exp2.c: Likewise.
8033 * libm/mathfp/s_tgamma.c: Likewise.
8034 * libm/mathfp/sf_exp2.c: Likewise.
8035 * libm/mathfp/sf_tgamma.c: Likewise.
8036 * libm/math/er_gamma.c: Fix return value.
8037 * libm/math/erf_gamma.c: Likewise.
8038 * libm/mathfp/er_gamma.c: Likewise.
8039 * libm/mathfp/erf_gamma.c: Likewise.
8040 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
8041 declarations and macros.
8042 Regenerated all Makefile.in, aclocal.m4 and configure files to
8043 use new libtool macros in top-level libtool.m4
8045 2002-06-05 Jeff Johnston <jjohnstn@redhat.com>
8047 * libc/include/string.h[__linux__]: Add strsignal prototype.
8048 * libc/include/sys/lock.h: New file with default locking support.
8049 * libc/include/sys/reent.h: Add signal buffer support for strsignal
8051 * libc/posix/Makefile.am: Add support for readdir_r.c.
8052 * libc/posix/Makefile.in: Regenerated.
8053 * libc/posix/closedir.c: Add locking support and hash table cleanup.
8054 * libc/posix/opendir.c: Add lock support.
8055 * libc/posix/readdir.c: Ditto.
8056 * libc/posix/rewinddir.c: Ditto.
8057 * libc/posix/scandir.c: Ditto.
8058 * libc/posix/seekdir.c: Ditto.
8059 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
8060 clean up leftover hash table entries.
8061 * libc/posix/readdir_r.c: New file.
8062 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
8063 * libc/sys/linux/Makefile.in: Regenerated.
8064 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
8065 * libc/sys/linux/sys/signal.h: Add psignal prototype.
8066 * libc/sys/linux/psignal.c: New file.
8067 * libc/sys/linux/strsignal.c: Ditto.
8069 2002-06-03 Corinna Vinschen <corinna@vinschen.de>
8071 * libc/include/sys/types.h: Don't define dev_t when compiling for
8074 2002-05-31 Jeff Johnston <jjohnstn@redhat.com>
8076 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
8077 make siglist.inc dependent on sig.c instead of signal.c.
8078 * libc/sys/linux/Makefile.in: Regenerated.
8079 * libc/sys/linux/sig.c: Rename from signal.c and change code to
8080 use NSIG instead of _NSIG.
8081 * libc/sys/linux/sigaction.c: New file.
8082 * libc/sys/linux/signal.c: Changed to be linux signal() function
8083 so as to override regular newlib default signal.c.
8084 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
8085 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8086 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
8087 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
8088 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
8089 default linux sigset_t typedef by defining it equal to __sigset_t.
8090 * libc/unix/sigset.c: Add check so code isn't compiled on systems
8091 with a sigset_t that isn't implemented with a single int.
8093 2002-05-30 Jeff Johnston <jjohnstn@redhat.com>
8095 * libc/sys/linux/Makefile.am: Add support for new files.
8096 * libc/sys/linux/Makefile.in: Regenerated.
8097 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
8098 * libc/sys/linux/signal.c: Change to use real-time syscalls for
8099 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
8100 it is in a separate file now.
8101 * libc/sys/linux/machine/i386/Makefile.am
8102 * libc/sys/linux/machine/i386/Makefile.in
8103 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
8104 * libc/sys/linux/sigaction.c: New file.
8105 * libc/sys/linux/sigqueue.c: Ditto.
8106 * libc/sys/linux/sigwait.c: Ditto.
8107 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
8108 * libc/sys/linux/kernel_sigaction.h: Ditto.
8110 2002-05-28 Jeff Johnston <jjohnstn@redhat.com>
8112 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
8114 * libc/sys/linux/Makefile.in: Regenerated.
8115 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
8116 tcgetpgrp(), and tcsetpgrp() functions.
8117 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
8118 to get __MAX_BAUD rate.
8119 * libc/sys/linux/machine/i386/include/termios.h: New file.
8120 * libc/include/machine/termios.h: Ditto.
8121 * libc/sys/linux/cfspeed.c: Ditto.
8122 * libc/sys/linux/tcsendbrk.c: Ditto.
8124 2002-05-24 Jeff Johnston <jjohnstn@redhat.com>
8126 * libc/include/string.h: Add strnlen and strerror_r prototypes.
8127 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
8128 * libc/string/Makefile.in: Regenerated.
8129 * libc/string/strerror_r.c: New file.
8130 * libc/string/strnlen.c: New file.
8131 * libc/sys/linux/Makefile.am: Add rename.c.
8132 * libc/sys/linux/Makefile.in: Regenerated.
8133 * libc/sys/linux/rename.c: New file to override default rename.
8135 2002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8137 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
8138 * libc/sys/linux/sys/time.h: Add conversion macros.
8139 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
8140 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
8141 * libc/sys/linux/gethostname.c: New file.
8142 * libc/sys/linux/seteuid.c: New file.
8143 * libc/sys/linux/sysctl.c: New file.
8145 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8147 * libc/string/Makefile.am: Add support for strsep.c.
8148 * libc/string/Makefile.in: Regenerated.
8149 * libc/string/strsep.c: New file.
8150 * libc/string/strtok.c: Change to call __strtok_r service routine.
8151 * libc/string/strtok_r.c: Add __strtok_r routine which takes
8152 additional flag parameter regarding whether to skip leading delimeters.
8153 Change strtok_r to call __strtok_r.
8155 2002-05-23 Gareth Pearce <tilps@hotmail.com>
8157 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
8158 * libc/stdio/Makefile.in: Regenerated.
8159 * libc/stdio/setbuffer.c: New file.
8160 * libc/stdio/setlinebuf.c: New file.
8162 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8164 * libc/sys/linux/Makefile.am: Add resource.c.
8165 * libc/sys/linux/Makefile.in: Regenerated.
8166 * libc/sys/linux/resource.c: New file.
8167 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
8168 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
8169 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8170 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
8171 are now found in libc/sys/linux/resource.c.
8173 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8175 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
8176 to use void * pointers and comply with Single Unix spec.
8177 * libc/string/bcmp.c: Change to use void * instead of char *.
8178 * libc/string/bcopy.c: Ditto.
8179 * libc/string/bzero.c: Ditto.
8181 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
8183 * libc/sys/linux/shm_open.c: New file.
8184 * libc/sys/linux/shm_unlink.c: Ditto.
8185 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
8187 * libc/sys/linux/Makefile.in: Regenerated.
8188 * libc/sys/linux/sys/types.h: Add some additional checks to see
8189 if clock_t or time_t is already defined.
8191 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
8193 * Makefile.am: Don't pass $toollibdir down directly in
8194 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
8195 Pass it under the name: top_toollibdir.
8196 * Makefile.in: Regenerated.
8198 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
8200 * libc/include/sys/types.h: Revert previous patch.
8202 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
8204 * libc/include/sys/types.h: Include cygwin/types.h always under
8205 Cygwin, not only if _POSIX_THREADS is defined.
8207 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
8209 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
8211 2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
8213 * Makefile.am: Copy and install headers from sys/machine/include
8214 directory. Also pass $toollibdir to lower-level directories.
8215 * Makefile.in: Regenerated.
8216 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
8217 stderr to use _REENT macro instead of _impure_ptr directly.
8218 * libc/include/sys/config.h[__i386__][__linux__]: Define
8220 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
8221 call to __getreent() function if !__SINGLE_THREAD__ and
8222 __DYNAMIC_REENT__ is set.
8223 * libc/reent/Makefile.am: Add support for getreent.c.
8224 * libc/reent/Makefile.in: Regenerated.
8225 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
8226 * libc/sys/linux/Makefile.am: Add support for new files.
8227 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
8228 * libc/sys/linux/Makefile.in: Regenerated.
8229 * libc/sys/linux/configure: Ditto.
8230 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
8231 __close, __read, __write, __poll, __open, __lseek, __fcntl from
8232 their __libc_ counterparts.
8233 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
8234 and weak-alias to regular names.
8235 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
8236 to pread64 and __pread64.
8237 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
8238 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
8239 weak-alias to pwrite64.
8240 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
8241 __libc_sched_getscheduler, __libc_sched_get_priority_max,
8242 __libc_sched_get_priority_min, and __libc_sched_setschedule to
8243 name with __ instead of __libc_.
8244 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
8245 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
8246 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
8247 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
8249 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
8250 __libc_send to __send.
8251 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
8253 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
8254 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
8255 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
8256 type and typedef __jmp_buf to jmp_buf.
8257 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
8259 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8260 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
8262 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
8263 prefix for function macros and then use weak_alias() to regular names.
8264 * libc/sys/linux/machine/i386/syscall.h: Ditto.
8265 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
8266 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
8267 to be flockfile() and funlockfile() respectively.
8268 * libc/sys/linux/sys/types.h
8269 * libc/reent/getreent.c: New file.
8270 * libc/sys/linux/flockfile.c: Ditto.
8271 * libc/sys/linux/funlockfile.c: Ditto.
8272 * libc/sys/linux/getreent.c: Ditto.
8273 * libc/sys/linux/pread.c: Ditto.
8274 * libc/sys/linux/pwrite.c: Ditto.
8275 * libc/sys/linux/raise.c: Ditto.
8276 * libc/sys/linux/system.c: Ditto.
8277 * libc/sys/linux/tcdrain.c: Ditto.
8278 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
8279 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
8280 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
8281 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
8282 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
8284 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
8286 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
8287 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
8288 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
8289 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
8291 Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
8293 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
8294 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
8297 2002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
8299 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
8300 options when testing natively on i[3456]86-*-linux.
8302 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
8303 only one pass or fail per test file. Trim \r's from output
8304 values received from test programs. Remove support for named
8306 * testsuite/newlib.locale/UTF-8.exp: Update to support new
8307 newlib_check_output behaviour.
8308 * testsuite/newlib.locale/UTF-8.c: Likewise.
8310 2002-05-15 Jeff Johnston <jjohnstn@redhat.com>
8312 * libc/include/stdlib.h: Add on_exit prototype.
8313 * libc/include/sys/reent.h (struct _atexit): Add argument array
8314 and bits to track type of exit routine to support both on_exit
8316 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
8317 by default and change the setting of the atexit structure.
8318 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
8319 * libc/stdlib/on_exit.c: New file.
8320 * libc/stdlib/Makefile.am: Add support for on_exit.
8321 * libc/stdlib/Makefile.in: Regenerated.
8322 * libc/stdlib/atexit.c: Change to initialize types field.
8323 * libc/stdlib/exit.c: Change to look at types field for each
8324 exit routine and either call an atexit-style or an on_exit-style
8325 routine accordingly.
8327 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
8329 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
8330 allow v specifier with n or L specifiers. For vector c format,
8331 move tmp declaration to the top.
8333 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
8335 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
8336 the original format specifier when looping for vectors to compensate
8337 for any changes made in vector %g format processing.
8338 Also add syntax checking for various invalid scenarios
8339 involving vector format extensions.
8340 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
8341 return code setting for vector formats. Also treat vector
8342 separator mismatch as a match error instead of an input error.
8343 Perform some syntax checking for vector formats.
8345 2002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
8347 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
8348 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
8349 * libc/string/strlcat.c: New file.
8350 * libc/string/strlcpy.c: New file.
8352 2002-05-10 Jeff Johnston <jjohnstn@redhat.com>
8354 * libc/string/strchr.c: Fix comment typo.
8356 2002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
8358 * acinclude.m4: Add support for --enable-newlib-multithread.
8359 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
8360 --enable-newlib-multithread=no.
8362 * libc/stdio/getc_u.c: New file.
8363 * libc/stdio/getchar_u.c: New file.
8364 * libc/stdio/putc_u.c: New file.
8365 * libc/stdio/putchar_u.c: New file.
8366 * libc/include/stdio.h: Add declarations for getc_unlocked,
8367 getchar_unlocked, putc_unlocked and putchar_unlocked.
8368 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
8369 (CHEWOUT_FILES): Add new files' .def's.
8370 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
8372 Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
8374 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
8375 Also handle as single quad word when destination ends at last
8376 byte of first quad word. Fix byte selection in single quad code.
8378 2002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
8380 * libc/include/sys/stdio.h: New file.
8381 * libc/sys/linux/sys/stdio.h: New file.
8382 * libc/include/stdio.h: Add declarations for flockfile,
8383 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
8384 * libc/stdio/clearerr.c: Add file locking.
8385 * libc/stdio/fclose.c: Likewise.
8386 * libc/stdio/feof.c: Likewise.
8387 * libc/stdio/ferror.c: Likewise.
8388 * libc/stdio/fflush.c: Likewise.
8389 * libc/stdio/fgetc.c: Likewise.
8390 * libc/stdio/fgetpos.c: Likewise.
8391 * libc/stdio/fgets.c: Likewise.
8392 * libc/stdio/fileno.c: Likewise.
8393 * libc/stdio/fputc.c: Likewise.
8394 * libc/stdio/fputs.c: Likewise.
8395 * libc/stdio/fread.c: Likewise.
8396 * libc/stdio/freopen.c: Likewise.
8397 * libc/stdio/fseek.c: Likewise.
8398 * libc/stdio/ftell.c: Likewise.
8399 * libc/stdio/fwrite.c: Likewise.
8400 * libc/stdio/getc.c: Likewise.
8401 * libc/stdio/putc.c: Likewise.
8402 * libc/stdio/setvbuf.c: Likewise.
8403 * libc/stdio/ungetc.c: Likewise.
8404 * libc/stdio/vfprintf.c: Likewise.
8406 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
8408 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
8409 support for 'p' format. Fix code to print bytes for vector
8410 integer formats that do not specify 'h' or 'l'.
8411 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
8412 for 'p' specifier. Fix code to scan 16 bytes for vector integer
8413 formats that do not specify 'h' or 'l'.
8415 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
8417 2002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
8419 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
8420 (_sbrk): Add cast of return value.
8422 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
8424 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
8425 (_REENT_L64A_BUF): New macro for accessing area.
8426 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
8427 * libc/stdlib/Makefile.in: Regenerated.
8428 * libc/stdlib/a64l.c: New file.
8429 * libc/stdlib/l64a.c: New file.
8431 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
8433 * libc/unix/pread.c: Fix typo for _pread_r.
8434 * libc/unix/pwrite.c: Fix type for _pwrite_r.
8435 * libc/sys/linux/pread64.c: Fix typo for read syscall.
8436 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
8438 2002-05-03 Christopher Faylor <cgf@redhat.com>
8440 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
8442 2002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
8444 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
8446 2002-05-01 Christopher Faylor <cgf@redhat.com>
8448 * utmp.h: Define more UNIX constants.
8450 2002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
8452 * Makefile.am: Add support for checking multilibs.
8454 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
8455 (SUBDEFS): Add LIBC_EXTRA_DEF.
8456 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
8457 (LIBC_EXTRA_DEF): Likewise.
8458 (extra_dir): Likewise.
8459 * libc/machine/xscale/machine: New directory.
8460 * libc/machine/xscale/machine/profile.h: New file.
8462 * Makefile.am (site.exp): Remove newlib_cflags. Add
8464 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
8465 * testsuite/lib/flags.exp: New file.
8466 * testsuite/lib/newlib.exp: Load flags.exp.
8467 (newlib_target_compile): Remove libgloss directory references.
8468 (newlib_init): Remove newlib_cflags references.
8470 2002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
8472 * testsuite/lib/newlib.exp (newlib_target_compile): Change
8473 method of finding libgloss_target_dir.
8475 * Makefile.am (site.exp): Change host_alias, host_triplet,
8476 target_alias, target_triplet to refer to gcc's host and target
8477 variables (newlib's build and host variables).
8478 * testsuite/lib/newlib.exp (newlib_init): Change build
8479 references to host references, host references to target
8480 references to reflect Makefile.am changes.
8481 (newlib_target_compile): Likewise.
8482 (newlib_finish): Likewise.
8484 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
8486 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
8488 2002-04-29 Jonathan Larmour <jlarmour@redhat.com>
8490 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
8491 (_system): New function. Ditto.
8492 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
8493 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
8496 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
8498 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
8499 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
8500 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
8501 * libc/sys/linux/Makefile.in: Regenerated.
8502 * libc/unix/Makefile.in: Ditto.
8503 * libc/sys/linux/pread64.c: New file.
8504 * libc/sys/linux/pwrite64.c: Ditto.
8505 * libc/unix/pread.c: Ditto.
8506 * libc/unix/pwrite.c: Ditto.
8508 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
8510 * libc/sys/linux/Makefile.am: Add io64.c.
8511 * libc/sys/linux/Makefile.in: Regenerated.
8512 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
8513 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
8514 * libc/sys/linux/io64.c: New file.
8516 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
8518 * configure.in (CC_FOR_NEWLIB): New variable that
8519 bases on $(CC) and adds targ-include and libc/include as
8520 -isystem directives if they are not already part of $(CC).
8521 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
8523 * configure: Regenerated.
8524 * Makefile.in: Ditto.
8526 2002-04-25 Jeff Johnston <jjohnstn@redhat.com>
8528 * libc/sys/linux/Makefile.am: Add support for sched.c.
8529 * libc/sys/linux/Makefile.in: Regenerated.
8530 * libc/sys/linux/sched.c: New file.
8531 * libc/sys/linux/sys/types.h: Add struct timespec.
8533 2002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
8535 * configure.in (CC_FOR_BUILD): Set to gcc whether
8536 cross-compiling or not.
8537 (CC): Add -isystem's for targ-include and libc/include when they
8538 do not already appear in CC.
8540 2002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8542 * Makefile.am (check-DEJAGNU): New target.
8543 (site.exp): Likewise.
8544 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
8545 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
8546 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
8547 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
8548 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
8549 * testsuite: New directory.
8550 * testsuite/config: Likewise.
8551 * testsuite/lib: Likewise.
8552 * testsuite/newlib.locale: Likewise.
8553 * testsuite/newlib.string: Likewise.
8554 * testsuite/config/default.exp: New file.
8555 * testsuite/lib/checkoutput.exp: New file.
8556 * testsuite/lib/newlib.exp: New file.
8557 * testsuite/lib/passfail.exp: New file.
8558 * testsuite/newlib.locale/UTF-8.c: New file.
8559 * testsuite/newlib.locale/UTF-8.exp: New file.
8560 * testsuite/newlib.locale/locale.exp: New file.
8561 * testsuite/newlib.string/string.exp: New file.
8562 * testsuite/newlib.string/tstring.c: New file.
8564 2002-04-23 Jeff Johnston <jjohnstn@redhat.com>
8566 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
8567 * libc/sys/linux/Makefile.am: Add support for mmap.c.
8568 * libc/sys/linux/Makefile.in: Regenerated.
8569 * libc/sys/linux/mmap.c: New file.
8570 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
8571 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
8573 2002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
8575 * acinclude.m4 (newlib_cflags): Remove include directories that
8576 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
8578 2002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
8580 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
8581 * libc/machine/xscale/memcmp.c: Ditto.
8582 * libc/machine/xscale/memcpy.c: Ditto.
8583 * libc/machine/xscale/memmove.c: Ditto.
8584 * libc/machine/xscale/memset.c: Ditto.
8585 * libc/machine/xscale/strchr.c: Ditto.
8586 * libc/machine/xscale/strcmp.c: Ditto.
8587 * libc/machine/xscale/strcpy.c: Ditto.
8588 * libc/machine/xscale/strlen.c: Ditto.
8590 2002-04-19 Alexandre Oliva <aoliva@redhat.com>
8592 * libc/include/sys/config.h: Remove include of <limits.h>.
8593 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
8594 define INT_MAX and LONG_MAX. Use them in tests.
8596 2002-04-19 Jeff Johnston <jjohnstn@redhat.com>
8598 * configure.host: Add support for powerpc-eabialtivec*.
8599 * libc/include/malloc.h: Add include of <machine/malloc.h>.
8600 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
8601 * libc/include/machine/malloc.h: New file.
8602 * libc/include/machine/stdlib.h: Ditto.
8603 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
8604 * libc/machine/powerpc/Makefile.am: Add conditional objects and
8605 sources based on configuration.
8606 * libc/machine/powerpc/Makefile.in: Regenerated.
8607 * libc/machine/powerpc/configure: Ditto.
8608 * libc/machine/powerpc/configure.in: Add check for
8609 powerpc-eabialtivec* in which case add in additional source files.
8610 * libc/machine/powerpc/setjmp.S: Add altivec support.
8611 * libc/machine/powerpc/vec_calloc.c: New file.
8612 * libc/machine/powerpc/vec_free.c: Ditto.
8613 * libc/machine/powerpc/vec_malloc.c: Ditto.
8614 * libc/machine/powerpc/vec_mallocr.c: Ditto.
8615 * libc/machine/powerpc/vec_realloc.c: Ditto.
8616 * libc/machine/powerpc/machine/malloc.h: Ditto.
8617 * libc/machine/powerpc/machine/stdlib.h: Ditto.
8618 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
8619 with added altivec format specifiers.
8620 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
8621 added altivec format specifiers.
8623 2002-04-19 Joel Sherrill <joel@OARcorp.com>
8625 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
8626 while autoconf is trying to link main(){}.
8628 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
8630 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
8631 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
8633 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
8635 * libc/time/time.tex: Add tzset info.
8637 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
8639 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
8640 (strptime): Moved prototype to be within !__STRICT_ANSI__.
8641 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
8642 (tzname): Defined for all platforms.
8643 (daylight, timezone): Defined only for CYGWIN.
8644 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
8646 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
8647 environment variable is set.
8648 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
8650 * libc/time/Makefile.in: Regenerated.
8651 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
8652 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
8653 * libc/time/lcltime_r.c (lcltime_r): Ditto.
8654 * libc/time/local.h: New local header file.
8655 * libc/time/mktime.c (mktime): Add timezone support.
8656 * libc/time/mktm_r.c: New file which is the common engine
8657 for gmtime_r and lcltime_r. This code has timezone support.
8658 * libc/time/strftime.c (strftime): Add %Z timezone support.
8659 * libc/time/tzlock.c: New file containing timezone lock stubs.
8660 * libc/time/tzset.c: New file containing tzset() routine.
8661 * libc/time/tzset_r.c: New file containing _tzset_r and
8662 internal routine for calculating timezone changes for specified year.
8664 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
8666 * configure.in (CRT0_DIR): Set to libc/.
8667 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
8668 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
8669 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
8670 $(CRT1_DIR)/$(CRT1).
8671 * libc/machine/xstormy16/Makefile.in: Regenerated.
8672 * libc/machine/xstormy16/aclocal.m4: Regenerated.
8673 * libc/machine/xstormy16/configure: Regenerated.
8675 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
8677 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
8678 fails, don't bail out, and try to correct next time.
8680 * libc/include/sys/config.h: Include limits.h.
8682 2002-04-12 Eric Norum <eric.norum@usask.com>
8684 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
8685 routine to allow autoconf to determine that building executables
8687 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
8688 (rtems_gxx_mutex_once): Ditto.
8690 2002-04-09 Tom Rix <trix@redhat.com>
8692 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
8694 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
8696 * libc/include/time.h: Fix strptime declaration.
8697 * libc/time/Makefile.am: Add strptime.c.
8698 * libc/time/Makefile.in: Regenerated.
8699 * libc/time/strptime.c: New file.
8701 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
8703 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
8704 siglongjmp prototype, and sigsetjmp macro definition.
8705 * libc/sys/linux/siglongjmp.c: New file.
8706 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
8707 * libc/sys/linux/Makefile.in: Regenerated.
8709 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
8711 * Makefile.am: Add support for installing crt1.o if one exists.
8712 * configure.host: Specify crt1.o for linux.
8713 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
8714 * Makefile.in: Regenerated.
8716 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
8717 Added for non-Cygwin, non-RTEMS configurations.
8718 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
8719 * libc/sys/linux/Makefile.in: Regenerated.
8720 * libc/sys/linux/crt1.c: New empty file to override one defaulted
8721 by gcc. This fixes problem with reconfiguring linux newlib build.
8722 * libc/sys/linux/sysconf.c: New file.
8724 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
8726 * configure.host: Add support for machine subdirectory of
8728 * configure.in: Add check for sys machine subdirectory.
8729 * Makefile.am: Ditto.
8730 * configure: Regenerated.
8731 * Makefile.in: Ditto.
8732 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
8733 * libc/sys/linux/sys/syscall.h: Ditto.
8734 * libc/sys/linux/sleep.c: New file.
8735 * libc/sys/linux/socket.c: Ditto.
8736 * libc/sys/linux/sockops.h: Ditto.
8737 * libc/sys/linux/stack.c: Ditto.
8738 * libc/sys/linux/usleep.c: Ditto.
8739 * libc/sys/linux/machine/Makefile.am: Ditto.
8740 * libc/sys/linux/machine/Makefile.in: Ditto.
8741 * libc/sys/linux/machine/aclocal.m4: Ditto.
8742 * libc/sys/linux/machine/configure: Ditto.
8743 * libc/sys/linux/machine/configure.in: Ditto.
8744 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
8745 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
8746 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
8747 * libc/sys/linux/machine/i386/configure: Ditto.
8748 * libc/sys/linux/machine/i386/configure.in: Ditto.
8749 * libc/sys/linux/machine/i386/crt0.c: Ditto.
8750 * libc/sys/linux/machine/i386/sigset.c: Ditto.
8751 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
8752 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
8753 * libc/sys/linux/machine/i386/syscall.h: Ditto.
8754 * libc/sys/linux/sys/select.h: Ditto.
8755 * libc/sys/linux/configure.in: Add support for machine directory.
8756 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
8757 * libc/sys/linux/Makefile.in: Regenerated.
8758 * libc/sys/linux/configure: Ditto.
8759 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
8760 * libc/sys/linux/inode.c: Ditto.
8761 * libc/sys/linux/linux.c: Ditto.
8762 * libc/sys/linux/process.c: Ditto.
8763 * libc/sys/linux/systat.c: Ditto.
8764 * libc/sys/linux/time.c: Ditto.
8765 * libc/sys/linux/wait.c: Ditto.
8766 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
8767 * libc/sys/linux/io.c: Change header plus add readv/writev.
8768 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
8769 use __sigsuspend syscall.
8770 * libc/sys/linux/select.c: Change header plus change select to
8771 use _newselect syscall.
8772 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
8773 used by glibc header files.
8774 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
8777 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
8779 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
8780 initializing a struct _reent that has been dynamically allocated.
8781 (_REENT_CHECK_MISC): New macro that checks _misc struct for
8782 _REENT_SMALL and does nothing otherwise.
8783 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
8784 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
8785 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
8786 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
8787 [_REENT_SMALL](struct _misc_reent): New structure containing
8788 miscellaneous reentrant areas needed by newlib.
8789 [_REENT_SMALL](struct _reent): Add _misc pointer.
8790 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
8791 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
8792 and _REENT_STRTOK_LAST macros.
8793 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
8794 and _REENT_MBLEN_STATE macros.
8795 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
8796 and _REENT_MBTOWC_STATE macros.
8797 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
8798 and _REENT_WCTOMB_STATE macros.
8800 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
8802 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
8804 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
8806 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
8808 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
8810 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
8811 Store high part of leading bytes too.
8813 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
8815 * libm/math/ef_hypot.c: Increase scale factor to 68.
8817 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
8819 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
8822 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
8824 * libc/sys/go32/access.c: Change license to relaxed license
8825 used in identical file throughout newlib/libgloss.
8827 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
8829 * libc/sys/arm/access.c: New file.
8830 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
8831 * libc/sys/arm/Makefile.in: Regenerate.
8832 * libc/sys/arm/syscalls.c (_stat): New function.
8834 2002-03-11 Michael Meissner <meissner@redhat.com>
8836 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
8837 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
8838 * libc/machine/mips/Makefile.in: Regenerate.
8839 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
8840 * libc/machine/mips/memset.c: Dito.
8841 * libc/machine/mips/strcmp.c: Dito.
8842 * libc/machine/mips/strlen.c: Dito.
8843 * libc/machine/mips/strncmp.c: Dito.
8845 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
8847 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
8848 object so it works for shared library or statici library.
8849 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
8851 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
8852 (strptime): Moved prototype to be within !__STRICT_ANSI__.
8853 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
8854 (tzname): Defined for all platforms.
8855 (daylight, timezone): Defined only for CYGWIN.
8856 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
8858 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
8859 environment variable is set.
8860 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
8862 * libc/time/Makefile.in: Regenerated.
8863 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
8864 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
8865 * libc/time/lcltime_r.c (lcltime_r): Ditto.
8866 * libc/time/local.h: New local header file.
8867 * libc/time/mktime.c (mktime): Add timezone support.
8868 * libc/time/mktm_r.c: New file which is the common engine
8869 for gmtime_r and lcltime_r. This code has timezone support.
8870 * libc/time/strftime.c (strftime): Add %Z timezone support.
8871 * libc/time/tzlock.c: New file containing timezone lock stubs.
8872 * libc/time/tzset.c: New file containing tzset() routine.
8873 * libc/time/tzset_r.c: New file containing _tzset_r and
8874 internal routine for calculating timezone changes for specified year.
8876 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
8878 * configure.in (CRT0_DIR): Set to libc/.
8879 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
8880 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
8881 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
8882 $(CRT1_DIR)/$(CRT1).
8883 * libc/machine/xstormy16/Makefile.in: Regenerated.
8884 * libc/machine/xstormy16/aclocal.m4: Regenerated.
8885 * libc/machine/xstormy16/configure: Regenerated.
8887 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
8889 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
8890 fails, don't bail out, and try to correct next time.
8892 * libc/include/sys/config.h: Include limits.h.
8894 2002-04-12 Eric Norum <eric.norum@usask.com>
8896 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
8897 routine to allow autoconf to determine that building executables
8899 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
8900 (rtems_gxx_mutex_once): Ditto.
8902 2002-04-09 Tom Rix <trix@redhat.com>
8904 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
8906 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
8908 * libc/include/time.h: Fix strptime declaration.
8909 * libc/time/Makefile.am: Add strptime.c.
8910 * libc/time/Makefile.in: Regenerated.
8911 * libc/time/strptime.c: New file.
8913 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
8915 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
8916 siglongjmp prototype, and sigsetjmp macro definition.
8917 * libc/sys/linux/siglongjmp.c: New file.
8918 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
8919 * libc/sys/linux/Makefile.in: Regenerated.
8921 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
8923 * Makefile.am: Add support for installing crt1.o if one exists.
8924 * configure.host: Specify crt1.o for linux.
8925 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
8926 * Makefile.in: Regenerated.
8928 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
8929 Added for non-Cygwin, non-RTEMS configurations.
8930 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
8931 * libc/sys/linux/Makefile.in: Regenerated.
8932 * libc/sys/linux/crt1.c: New empty file to override one defaulted
8933 by gcc. This fixes problem with reconfiguring linux newlib build.
8934 * libc/sys/linux/sysconf.c: New file.
8936 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
8938 * configure.host: Add support for machine subdirectory of
8940 * configure.in: Add check for sys machine subdirectory.
8941 * Makefile.am: Ditto.
8942 * configure: Regenerated.
8943 * Makefile.in: Ditto.
8944 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
8945 * libc/sys/linux/sys/syscall.h: Ditto.
8946 * libc/sys/linux/sleep.c: New file.
8947 * libc/sys/linux/socket.c: Ditto.
8948 * libc/sys/linux/sockops.h: Ditto.
8949 * libc/sys/linux/stack.c: Ditto.
8950 * libc/sys/linux/usleep.c: Ditto.
8951 * libc/sys/linux/machine/Makefile.am: Ditto.
8952 * libc/sys/linux/machine/Makefile.in: Ditto.
8953 * libc/sys/linux/machine/aclocal.m4: Ditto.
8954 * libc/sys/linux/machine/configure: Ditto.
8955 * libc/sys/linux/machine/configure.in: Ditto.
8956 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
8957 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
8958 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
8959 * libc/sys/linux/machine/i386/configure: Ditto.
8960 * libc/sys/linux/machine/i386/configure.in: Ditto.
8961 * libc/sys/linux/machine/i386/crt0.c: Ditto.
8962 * libc/sys/linux/machine/i386/sigset.c: Ditto.
8963 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
8964 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
8965 * libc/sys/linux/machine/i386/syscall.h: Ditto.
8966 * libc/sys/linux/sys/select.h: Ditto.
8967 * libc/sys/linux/configure.in: Add support for machine directory.
8968 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
8969 * libc/sys/linux/Makefile.in: Regenerated.
8970 * libc/sys/linux/configure: Ditto.
8971 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
8972 * libc/sys/linux/inode.c: Ditto.
8973 * libc/sys/linux/linux.c: Ditto.
8974 * libc/sys/linux/process.c: Ditto.
8975 * libc/sys/linux/systat.c: Ditto.
8976 * libc/sys/linux/time.c: Ditto.
8977 * libc/sys/linux/wait.c: Ditto.
8978 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
8979 * libc/sys/linux/io.c: Change header plus add readv/writev.
8980 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
8981 use __sigsuspend syscall.
8982 * libc/sys/linux/select.c: Change header plus change select to
8983 use _newselect syscall.
8984 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
8985 used by glibc header files.
8986 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
8989 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
8991 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
8992 initializing a struct _reent that has been dynamically allocated.
8993 (_REENT_CHECK_MISC): New macro that checks _misc struct for
8994 _REENT_SMALL and does nothing otherwise.
8995 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
8996 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
8997 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
8998 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
8999 [_REENT_SMALL](struct _misc_reent): New structure containing
9000 miscellaneous reentrant areas needed by newlib.
9001 [_REENT_SMALL](struct _reent): Add _misc pointer.
9002 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
9003 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
9004 and _REENT_STRTOK_LAST macros.
9005 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
9006 and _REENT_MBLEN_STATE macros.
9007 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
9008 and _REENT_MBTOWC_STATE macros.
9009 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
9010 and _REENT_WCTOMB_STATE macros.
9012 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
9014 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
9016 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
9018 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
9020 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
9022 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
9023 Store high part of leading bytes too.
9025 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
9027 * libm/math/ef_hypot.c: Increase scale factor to 68.
9029 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
9031 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
9034 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
9036 * libc/sys/go32/access.c: Change license to relaxed license
9037 used in identical file throughout newlib/libgloss.
9039 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
9041 * libc/sys/arm/access.c: New file.
9042 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
9043 * libc/sys/arm/Makefile.in: Regenerate.
9044 * libc/sys/arm/syscalls.c (_stat): New function.
9046 2002-03-11 Michael Meissner <meissner@redhat.com>
9048 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
9049 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
9050 * libc/machine/mips/Makefile.in: Regenerate.
9051 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
9052 * libc/machine/mips/memset.c: Dito.
9053 * libc/machine/mips/strcmp.c: Dito.
9054 * libc/machine/mips/strlen.c: Dito.
9055 * libc/machine/mips/strncmp.c: Dito.
9057 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
9059 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
9060 object so it works for shared library or statici library.
9061 * libc/machine/i386/Makefile.in: Regenerated.
9063 Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
9065 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
9066 Add memcpy.S, memset.S and strcpy.S.
9067 * libc/machine/sh/Makefile.in: Regenerate.
9068 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
9069 (SHHI, SHLO): Define.
9070 * libc/machine/sh/memset.S: Add code for SH5.
9071 * libc/machine/sh/memset.S: Likewise.
9072 * libc/machine/sh/strcpy.S: Likewise.
9074 2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
9076 * configure.host: Add check for --disable-newlib-io-float
9077 configuration option and add -DNO_FLOATING_POINT to newlib cflags
9079 * acinclude.m4: Added --disable-newlib-io-float option.
9080 * aclocal.m4: Regenerated.
9082 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
9083 * libc/*/aclocal.m4 libc/*/configure
9084 * libm/*/aclocal.m4 libm/*/configure: Ditto.
9085 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
9086 if NO_FLOATING_POINT flag is not defined.
9088 2002-02-25 Jeff Johnston <jjohnstn@redhat.com>
9090 * libc/include/sys/config.h: Add __extension__ in front of
9091 long long references.
9093 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
9095 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
9098 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
9100 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
9103 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
9105 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
9106 clobbered registers.
9108 2002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
9110 * configure.host (newlib_cflags): When host is in m68* add
9113 2002-02-15 Jeff Johnston <jjohnstn@redhat.com>
9115 * libc/include/sys/config.h: Add definitions for
9116 __int16_t, __uint16_t, __int64_t, and __uint64_t.
9118 2002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
9120 * libc/sys/mmixware/link.c: New.
9121 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
9123 * libc/sys/mmixware/times.c (_times): Renamed from times.
9124 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
9125 properly by reading previous contents, not through BinaryReadWrite.
9126 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
9127 * libc/sys/mmixware/Makefile.in: Regenerate.
9129 2002-02-10 Corinna Vinschen <corinna@vinschen.de>
9131 * libc/include/grp.h: Don't declare group functions when compiling
9134 2002-02-09 Corinna Vinschen <corinna@vinschen.de>
9136 * libc/include/grp.h: Include Cygwin specific header.
9137 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
9138 when compiling for Cygwin.
9139 * libc/include/sys/types.h: Don't define off_t, uid_t
9140 and gid_t when compiling for Cygwin.
9142 2002-02-08 matthew green <mrg@redhat.com>
9144 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
9145 _REENT_EMERGENCY_SIZE, not sizeof(char *).
9147 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
9149 Contribute sh64-elf.
9150 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
9151 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
9153 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
9154 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
9156 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
9157 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
9158 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
9159 * libc/machine/sh/configure.in: Rework conditionals.
9160 * libc/machine/sh/Makefile.am: Likewise.
9161 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
9162 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
9163 * configure.host: Match `sh*'.
9164 * libc/include/machine/setjmp.h: Define for SH5.
9165 * libc/machine/sh/configure.in: Detect SH5.
9166 * libc/machine/sh/configure: Rebuilt.
9167 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
9168 * libc/machine/sh/Makefile.in: Rebuilt.
9169 * libc/machine/sh/asm.h: Adjust for SH5.
9170 * libc/machine/sh/setjmp.S: Implement in SHmedia.
9171 * libc/sys/sh/crt0.S: Likewise.
9172 * libc/sys/sh/trap.S: Likewise.
9174 2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
9176 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
9177 (mach_add_obj): Conditionally set to setjmp.o or nothing.
9178 (LIB_SOURCES): Remove $(mach_add_src).
9179 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
9180 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
9181 * libc/machine/i386/Makefile.in: Regenerate.
9183 2002-02-05 Manik Raina <manik@cisco.com>
9185 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
9186 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
9187 s, p, k, and outstr.
9188 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
9190 2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
9192 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
9193 _REENT_CHECK_EMERGENCY macro.
9195 2002-02-03 matthew green <mrg@redhat.com>
9197 * libc/reent/signgam.c (__signgam): Fix error in previous.
9199 2002-02-02 matthew green <mrg@redhat.com>
9201 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
9203 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
9204 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
9205 * libc/include/sys/reent.h (struct _reent): Completely new version
9207 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
9208 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
9209 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
9210 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
9211 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
9212 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
9213 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
9214 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
9215 (_REENT_EMERGENCY): Likewise.
9217 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
9218 the start of the real __sFILE, used for stdin, stdout and stderr until
9219 they are setup properly.
9220 (struct __sFILE): Move location of _data in _REENT_SMALL case.
9221 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
9222 allocated stdin, stdout and stderr.
9223 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
9224 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
9225 * libc/stdio/perror.c (_perror_r): Likewise.
9226 * libc/stdio/printf.c (printf, _printf_r): Likewise.
9227 * libc/stdio/putchar.c (_putchar_r): Likewise.
9228 * libc/stdio/puts.c (_puts_r): Likewise.
9229 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
9230 * libc/stdio/vprintf.c (vprintf): Likewise.
9231 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
9233 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
9235 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
9236 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
9238 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
9239 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
9241 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
9243 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
9244 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
9245 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
9246 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
9247 * libc/stdlib/rand48.c (__dorand48): Likewise.
9248 * libc/stdlib/seed48.c (_seed48_r): Likewise.
9249 * libc/stdlib/srand48.c (_srand48_r): Likewise.
9250 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
9251 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
9252 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
9253 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
9254 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
9255 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
9256 * libc/stdlib/rand.c (rand): Likewise.
9258 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
9259 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
9261 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
9262 _REENT_MP_FREELIST() and _REENT_MP_P5S.
9263 * libc/include/sys/reent.h (struct _mprec): New structure.
9265 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
9266 _unused_strtok_last.
9267 * libc/string/strtok.c (strtok): Use a local static variable.
9269 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
9270 (_REENT_EMERGENCY_SIZE): Likewise.
9271 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
9272 _REENT_ASCTIME_BUF().
9273 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
9276 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
9277 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
9278 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
9279 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
9280 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
9281 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
9283 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
9285 * configure.host (xstormy16): Don't use the generic malloc.
9286 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
9287 * libc/machine/xstormy16/Makefile.in: Regenerate.
9288 * libc/machine/xstormy16/mallocr.c: New file.
9289 * libc/machine/xstormy16/tiny-malloc.c: New file.
9291 2002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
9293 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
9294 when _CYGWIN_TYPES_H is not defined.
9296 2002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9298 * libc/include/sys/signal.h: Revert 2002-01-23 change.
9300 2002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
9302 * libc/include/sys/signal.h: Remove pthread_kill declaration
9303 when __CYGWIN__ is defined.
9305 2002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9307 * libc/include/time.h: Add prototype for strptime for Cygwin.
9309 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
9311 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
9312 dst was not word aligned.
9314 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
9315 if too much memory is requested.
9317 2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
9319 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
9320 reads blanks from the input file to break if EOF reached
9321 rather than end processing.
9323 2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
9325 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
9327 2002-01-07 Alan Matsuoka <alanm@redhat.com>
9329 * libc/include/machine/ieeefp.h: Configure d10v doubles to
9330 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
9331 libc/include/sys/config.h: Ditto.
9333 2001-12-28 Corinna Vinschen <corinna@vinschen.de>
9335 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
9337 2001-12-22 Geoffrey Keating <geoffk@redhat.com>
9338 Catherine Moore <clm@redhat.com>
9339 Richard Henderson <rth@redhat.com>
9340 Corinna Vinschen <vinschen@redhat.com>
9342 * configure.host: Add support for xstormy16.
9343 * libc/include/machine/ieeefp.h: Add support for xstormy16.
9344 * libc/include/machine/setjmp.h: Add support for xstormy16.
9345 * libc/include/sys/config.h: Add support for xstormy16.
9346 * libc/machine/xstormy16/Makefile.am: New file.
9347 * libc/machine/xstormy16/Makefile.in: New file.
9348 * libc/machine/xstormy16/aclocal.m4: New file.
9349 * libc/machine/xstormy16/configure: New file.
9350 * libc/machine/xstormy16/configure.in: New file.
9351 * libc/machine/xstormy16/setjmp.S: New file.
9353 2001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
9355 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
9356 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
9358 2001-12-19 Corinna Vinschen <corinna@vinschen.de>
9360 * libm/machine/Makefile.am: Change rules to create correct lib.a.
9361 * libm/machine/Makefile.in: Regenerated through automake.
9363 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
9365 * Makefile.am (DOCDIR): Force to empty string when doc
9366 directory is not present.
9368 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
9370 * libc/machine/i386/f_*: Move to libm/machine/i386.
9372 2001-12-18 Joel Sherrill <joel@OARcorp.com>
9374 * libm/machine/Makefile.am: Add dummy doc stub so
9377 2001-12-17 Joel Sherrill <joel@OARcorp.com>
9379 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
9381 2001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9383 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
9384 $(COMPILE) rather than $(CC).
9385 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
9386 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
9387 $(LIB_COMPILE) change.
9388 (vfiprintf.$(oext)): Likewise.
9390 2001-12-17 Corinna Vinschen <vinschen@redhat.de>
9392 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
9393 conditionalized including of getopt stuff.
9395 2001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
9397 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
9399 (vfiprintf.$(oext)): Likewise.
9401 2001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
9403 * Makefile.shared: New file.
9404 * libc/sys/linux/shared.ld: New file.
9405 * libm/machine/*: New files.
9406 * libm/machine/i386/*: New files.
9407 * Makefile.am: Add libtool support. Change math and mathfp
9408 references to variables.
9409 * configure.host: Add variables for libtool support. Add
9410 libm_machine_dir variable.
9411 * configure.in: Add objectlist variables, for libtool
9412 support. Add CC_FOR_BUILD tests.
9413 * libc/Makefile.am: Add libtool support. Change crt0.o
9414 reference to be a variable reference.
9415 * libc/configure.in: Add libtool support. Change sublib
9416 names to be lib${subdir}.la when using libtool.
9417 * libc/ctype/Makefile.am: Add libtool support.
9418 * libc/errno/Makefile.am: Likewise.
9419 * libc/locale/Makefile.am: Likewise.
9420 * libc/machine/Makefile.am: Likewise.
9421 * libc/machine/configure.in: Likewise.
9422 * libc/machine/i386/Makefile.am: Likewise.
9423 * libc/machine/i386/configure.in: Likewise.
9424 * libc/misc/Makefile.am: Likewise.
9425 * libc/posix/Makefile.am: Likewise.
9426 * libc/reent/Makefile.am: Likewise.
9427 * libc/signal/Makefile.am: Likewise.
9428 * libc/stdio/Makefile.am: Likewise.
9429 * libc/stdlib/Makefile.am: Likewise.
9430 * libc/string/Makefile.am: Likewise.
9431 * libc/sys/Makefile.am: Likewise.
9432 * libc/sys/configure.in: Likewise.
9433 * libc/sys/linux/Makefile.am: Add libtool support. Change
9434 awk reference to a variable reference. Change signal.h
9435 reference to a variable reference.
9436 * libc/sys/linux/configure.in: Add libtool support.
9437 * libc/syscalls/Makefile.am: Likewise.
9438 * libc/time/Makefile.am: Likewise.
9439 * libc/unix/Makefile.am: Likewise.
9440 * libm/Makefile.am: Add libtool support. Change math and
9441 mathfp references to variables.
9442 * libm/configure.in: Add libtool support. Add
9443 LIBM_MACHINE_LIB variable.
9444 * libm/common/Makefile.am: Add libtool support.
9445 * libm/math/Makefile.am: Likewise.
9446 * libm/mathfp/Makefile.am: Likewise.
9447 Regenerate all Makefile.in, aclocal.m4, and configure.
9449 2001-12-13 Anita Kulkarni <anitak@kpit.com>
9451 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
9453 2001-12-06 John Peacock <jpeacock@rowman.com>
9455 * libc/include/sys/unistd.h: Correct ualarm declaration.
9457 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
9459 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
9460 vector before calling the initialisation functions.
9462 2001-11-29 Christopher Faylor <cgf@redhat.com>
9464 * libc/include/dirent.h: Protect against multiple inclusion.
9466 2001-11-27 Christopher Faylor <cgf@redhat.com>
9468 * libc/include/sys/types.h: Define useconds_t.
9469 * libc/include/sys/ulimit.h: Declare ualarm.
9471 2001-11-21 Christopher Faylor <cgf@redhat.com>
9473 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
9475 2001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
9477 * libc/sys/mmixware/*: Tweak license header in all source files.
9479 2001-11-12 Corinna Vinschen <vinschen@redhat.com>
9481 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
9482 to here. Rearrange for general inclusion by stdlib.h.
9483 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
9485 * libc/sys/linux/include/alloca.h: Move to libc/include.
9487 2001-11-12 Anthony Green <green@redhat.com>
9489 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
9491 2001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
9493 * libc/sys/mmixware/*: Correct spacing in all source files.
9494 * libc/sys/mmixware/syscall.h: Move misplaced file...
9495 * libc/sys/mmixware/sys/syscall.h: ...here.
9497 2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
9499 * libc/include/machine/ieeefp.h: Add support for mmix target.
9500 * libc/include/machine/setjmp.h: Ditto.
9501 * configure.host: Ditto.
9502 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
9503 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
9504 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
9505 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
9506 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
9507 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
9508 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
9509 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
9510 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
9511 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
9512 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
9513 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
9514 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
9515 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
9516 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
9517 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
9518 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
9519 libc/sys/mmixware/aclocal.m4: Generate.
9521 2001-11-05 Corinna Vinschen <corinna@vinschen.de>
9523 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
9524 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
9525 when __CYGWIN__ is defined.
9526 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
9529 2001-11-01 Arati Dikey <aratidikey@hotmail.com>
9531 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
9532 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
9533 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
9534 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
9536 2001-10-24 Christopher Faylor <cgf@redhat.com>
9538 * libc/stdio/fseek.c: Reset pointer to buffer base
9539 when forced to seek outside of current buffer contents.
9540 This prevents the code from erroneously thinking there is
9541 anything in the current buffer.
9543 2001-10-22 Geoffrey Keating <geoffk@redhat.com>
9545 * libc/include/math.h: The C++ standard adds the single-precision
9546 versions of the elementary functions.
9548 2001-10-22 Christopher Faylor <cgf@redhat.com>
9550 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
9552 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
9553 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
9554 * system.c (_system_r): Ditto.
9556 2001-10-17 Corinna Vinschen <corinna@vinschen.de>
9558 * libc/include/sys/unistd.h: Add prototype for fchdir() when
9559 __CYGWIN__ or __rtems__ is defined.
9561 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
9563 * libc/include/stdlib.h: add declarations for
9564 _strtoull_r, _strtoll_r, strtoull, and strtoll.
9565 * libc/stdio/local.h: remove declarations of
9566 __strtoull_r and __strtoll_r.
9567 * libc/stdio/vfscanf.c(__svfscanf_r): call
9568 _strtoull_r instead of __strtoull_r. Ditto
9569 _strtoll_r vs. __strtoll_r.
9570 * libc/stdlib/Makefile.am: add new files to
9571 .c list and .def list
9572 * libc/stdlib/Makefile.in: regenerate
9573 * libc/stdlib/strtoll_r.c: rename __strtoll_r
9575 * libc/stdlib/strtoull_r.c: rename __strtoull_r
9577 * libc/stdlib/strtoull.c: new file
9578 * libc/stdlib/strtoll.c: new file
9580 Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
9582 * libc/include/process.h: Add getpid() declaration.
9584 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
9586 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
9587 for new style arm/elf ctor/dtor handling.
9588 Minor formatting tidy up.
9590 2001-09-13 Jeff Johnston <jjohnstn@redhat.com>
9592 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
9594 * libc/stdlib/Makefile.in: Regenerated.
9595 * libc/stdlib/strtoll_r.c: New file.
9596 * libc/stdlib/strtoull_r.c: New file.
9597 * libc/stdio/local.h: Add prototypes for long long string
9598 conversion routines.
9599 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
9600 tied to %L integer conversion specifier.
9602 Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
9604 * strftime.c (strftime): Fix "%W" implementation to properly handle
9607 2001-09-07 Jeff Law <law@redhat.com>
9609 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
9610 __fini with "mov.l" instead of "mov.w".
9612 2001-09-05 Corinna Vinschen <corinna@vinschen.de>
9614 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
9617 2001-09-04 Jason Merrill <jason_merrill@redhat.com>
9619 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
9621 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
9623 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
9625 (__DIRENT_VERSION): New define.
9627 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
9629 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
9630 Shrink __d_reserved accordingly to keep structure size.
9631 (dirfd): Declare external.
9633 2001-08-29 Joel Sherrill <joel@OARcorp.com>
9635 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
9637 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
9639 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
9640 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
9641 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
9642 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
9643 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
9644 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
9645 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
9646 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
9647 Add conditional compilation to avoid HW FPU instructions
9648 when compiled for soft-float.
9650 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
9652 * Makefile.am: Add check for ln failing when creating libg.a
9653 so that cp gets used as a backup.
9654 * Makefile.in: Regenerated.
9656 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
9658 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
9659 No longer include time.h. Add struct __tm to use for
9660 _localtime_buf in the reentrant structure. Add a
9661 _NULL definition to use in initializing the reentrant struct.
9662 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
9663 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
9665 * libc/include/sys/unistd.h: Include <sys/_types.h>.
9666 * libc/time/lcltime.c (localtime): Cast the reentrant struct
9667 _localtime_buf to be struct tm *.
9669 Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
9671 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
9672 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
9674 * libc/sys/h8300hms/syscalls.c: Include errno.h.
9675 (_unlink): New stub function.
9677 Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
9679 * libc/include/sys/errno.h: Add a cautionary comment.
9681 2001-08-21 Jeff Johnston <jjohnstn@redhat.com>
9683 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
9684 for SIZE_SZ so that alignment ends up a minimum of 8.
9686 Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
9688 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
9691 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
9694 2001-08-13 Jeff Johnston <jjohnstn@redhat.com>
9696 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
9697 macro constants for mallopt options.
9698 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
9700 2001-08-02 Jeff Johnston <jjohnstn@redhat.com>
9702 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
9705 2001-07-12 Aldy Hernandez <aldyh@redhat.com>
9707 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
9709 2001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
9711 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
9712 Define for little endian ARMs.
9714 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
9715 __IEEE_BYTES_LITTLE_ENDIAN is defined.
9717 2001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
9719 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
9721 2001-06-11 Egor Duda <deo@logos-m.ru>
9723 * libc/ctype/ctype_.c: When compiled with gcc on platforms
9724 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
9725 initialized memory region. Platform can define COMPACT_CTYPE
9726 to avoid allocation of the additional 128 bytes of data.
9727 Add pointer to _ctype_ array. Always initialize all _ctype_
9730 2001-06-08 Jonathan Larmour <jlarmour@redhat.com>
9732 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
9735 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
9737 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
9739 2001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
9741 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
9742 matching, non-word alignment, and the length is <= 4 but more than
9743 enough to move them over a word boundary.
9744 Add comments explaining what each instruction does.
9746 Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
9748 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
9749 * libc/include/sys/unistd.h: Ditto.
9751 2001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
9753 * libc/string/strrchr.c: Use strchr for the speed improvements.
9755 2001-05-01 Jeff Johnston <jjohnstn@redhat.com>
9757 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
9758 real file systems, let __smakebuf() determine if line buffering
9759 should be used for stdout.
9761 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
9763 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
9765 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
9767 * libc/include/stdlib.h: Add prototype for _strtod_r.
9769 2001-04-24 Charles Wilson <cwilson@ece.gatech.edu
9771 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
9772 * libc/stdio/vprintf.c (_vprintf_r): new function
9773 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
9774 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
9775 _DEFUN, and call _vfprintf_r, not vfprintf.
9776 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
9777 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
9778 _DEFUN, and call _vfprintf_r, not vfprintf.
9780 2001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
9782 * libc/include/sys/unistd.h [X_OK]: Use better protection against
9783 Cygwin X_OK definitions in sys/file.h.
9785 Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
9787 * libc/include/sys/time.h: Define timercmp and other macros for
9790 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
9792 * acinclude.m4: Added --enable-malloc-debugging configure flag.
9793 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
9794 --enable-malloc-debugging selected.
9795 * aclocal.m4 configure: Regenerated.
9796 libm/aclocal.m4 libm/configure: Ditto.
9797 * libc/aclocal.m4 libc/configure: Ditto.
9798 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
9799 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
9800 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
9801 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
9802 * doc/aclocal.m4 doc/configure: Ditto.
9804 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
9806 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
9808 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
9809 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
9810 function prototypes.
9811 (_fscanf_r, _sscanf_r): Ditto.
9812 * libc/include/stdlib.h: Added _strtod_r prototype.
9813 * libc/stdio/Makefile.am: Add new v*scanf functions.
9814 * libc/stdio/Makefile.in: Regenerate.
9815 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
9816 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
9817 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
9818 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
9819 (sscanf): Changed to call __svfscanf_r with _REENT argument.
9820 (_sscanf_r): New routine.
9821 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
9822 with __svfscanf_r prototype.
9823 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
9825 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
9826 structure as argument as calls reentrant versions of helper functions
9827 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
9828 to _strtol_r and _strtod_r respectively.
9829 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
9830 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
9832 * libc/stdio/vscanf.c: New file.
9833 * libc/stdio/vsscanf.c: Ditto.
9835 2001-04-19 Robert Collins <rbtcollins@hotmail.com>
9837 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
9838 Define daylight to _daylight if it is not defined
9839 Prepare a variable export of timezone based on timezonevariable.
9840 (Cannot be used with the timezone() function.)
9842 2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
9844 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
9845 Correct the numerical values.
9847 2001-04-13 Robert Collins <rbtcollins@hotmail.com>
9849 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
9851 Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
9853 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
9854 on case insensitve file systems.
9856 2001-04-12 Robert Collins <rbtcollins@hotmail.com>
9858 * libc/include/sys/features.h: Add appropriate defines for Cygwin
9860 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
9861 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
9862 types. Include <cygwin/types.h> for the cygwin specific typedefs.
9864 2001-04-04 Richard Sandiford <rsandifo@redhat.com>
9866 * libc/include/machine/ieeefp.h: Comment about new configuration
9867 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
9868 * libm/common/fdlib.h: Define new macros for testing floats.
9869 * libm/common/sf_*: Use them.
9870 * libm/math/ef_*: Likewise.
9871 * libm/math/sf_*: Likewise.
9873 2001-03-29 Jeff Johnston <jjohnstn@redhat.com>
9875 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
9876 prolog to by-pass possible assembler error.
9878 2001-03-21 Egor Duda <deo@logos-m.ru>
9880 Allow building internal stubs for non-reentrant syscalls
9881 if target provides its own malloc
9882 * libc/reent/reent.c (errno): Move definition here.
9883 * libc/reent/sbrkr.c: From here.
9885 2001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
9887 * libc/include/sys/types.h (BSD int typedefs): Guard with
9888 _BSDTYPES_DEFINED rather than _WINSOCK_H.
9889 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
9891 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
9892 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
9894 Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
9896 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
9897 _PC_POSIX_SECURITY constants for Cygwin.
9899 Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
9901 * libc/sys/cygwin/crt0.c: Add copyright hint.
9902 * libc/sys/cygwin/sys/dirent.h: Ditto.
9903 * libc/sys/cygwin/sys/param.h: Ditto.
9904 * libc/sys/cygwin/sys/utime.h: Ditto.
9905 * libc/sys/cygwin/sys/utmp.h: Ditto.
9907 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
9909 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
9910 equivalent to LONGINT.
9912 2001-03-08 Richard Sandiford <rsandifo@redhat.com>
9914 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
9915 jmpbuf on MIPS64 targets.
9916 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
9918 Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
9920 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
9923 Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
9925 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
9926 For RTEMS, define to be ssize_t. Default to int if not defined.
9927 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
9928 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
9929 * libc/stdio/local.h (__sread, __swrite): Likewise.
9930 * libc/include/sys/reent.h (_read, _write): Likewise.
9931 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
9932 * libc/syscalls/sysread.c (read): Likewise.
9933 * libc/syscalls/syswrite.c (write): Likewise.
9935 2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
9937 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
9939 Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
9941 * libc/include/sys/stat.h: Use special defines for executable stat bits
9942 when compiling for Cygwin.
9943 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
9946 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
9948 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
9949 of strtok_r is always defined.
9951 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
9953 * libc/include/machine/ansi.h: New dummy header file.
9955 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
9957 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
9958 changed the copyright information to allow free modification of the
9959 file with no reference to "copying.dj".
9960 * libc/include/sys/stat-dj.h: Ditto.
9961 * libc/machine/i386/setjmp.S: Ditto.
9962 * libc/sys/h8300hms/sys/file.h: Ditto.
9963 * libc/sys/sysmec/access.c: Ditto.
9964 * libc/sys/sysnecv850/access.c: Ditto.
9965 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
9966 * libc/stdlib/getenv_r.c: Ditto.
9967 * libc/stdlib/putenv_r.c: Ditto.
9968 * libc/stdlib/setenv_r.c: Ditto.
9969 * libc/stdlib/getenv.c: Removed DJ reference since any possible
9970 modifications will now be in the _r version of this file.
9971 * libc/stdlib/putenv.c: Ditto.
9972 * libc/stdlib/setenv.c: Ditto.
9973 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
9974 valid. Added a reference to DJ's web page that contains his address.
9975 * libc/sys/go32/*.s: Removed references to DJ's old address.
9976 * libc/sys/go32/*.c: Ditto.
9977 * libc/sys/go32/*.h: Ditto.
9978 * libc/sys/go32/*.S: Ditto.
9979 * libc/sys/go32/sys/*.h: Ditto.
9981 2001-02-21 Jeff Johnston <jjohnstn@redhat.com>
9983 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
9984 HAVE_FCNTL flag check.
9985 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
9986 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
9988 Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
9990 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
9992 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
9994 * libc/include/stdlib.h: Add declarations of rand48 functions and
9995 their reentrant versions.
9996 * libc/include/sys/reent.h: Move macros from rand48.h. Add
9997 struct _rand48 for shared parameters of rand48 functions.
9998 (struct _reent): Add a variable _r48 of struct _rand48.
9999 (_REENT_INIT): Add _r48 initialization.
10000 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
10001 (CHEWOUT_FILES): Add rand48.def.
10002 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
10003 * libc/stdlib/Makefile.in: Regenerated.
10004 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
10006 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
10007 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
10008 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
10009 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
10010 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
10011 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
10012 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
10013 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
10014 * libc/stdlib/rand48.c (__dorand48): Ditto.
10015 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
10016 parameters into macros referring them in the reentrant structure.
10018 2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
10020 * libc/include/sys/stat.h: Add mknod for Cygwin now that
10021 Cygwin definition has correct prototype.
10023 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
10025 * libc/include/sys/stat.h: Must revert change for mknod
10026 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
10029 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
10031 * libc/include/stdio.h: Revert putw prototype.
10033 2001-02-08 Edward M. Lee <tailbert@yahoo.com>
10035 * libc/include/grp.h: add prototype for initgroups.
10036 * libc/include/stdio.h: fix prototype for putw.
10037 * libc/include/sys/signal.h: add prototype for killpg.
10038 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
10039 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
10040 vhangup and remove duplicate sysconf prototype.
10042 2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
10044 * libc/sys/rtems/sys/types.h: Removed.
10046 2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
10048 * libc/include/locale.h: add LC_MESSAGES definition
10050 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
10052 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
10054 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
10055 __setup_argv_and_call_main): New.
10057 2001-01-31 Jeff Johnston <jjohnstn@redhat.com>
10059 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
10061 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
10062 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
10063 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
10064 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
10066 Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
10068 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
10069 compiling under Cygwin.
10071 2001-01-29 Jeff Johnston <jjohnstn@redhat.com>
10073 * libc/include/math.h (signgam): Change to errno-like solution
10074 using a function to return the address of the real signgam.
10075 * libc/reent/signgam.c: New file containing __signgam().
10076 * libc/reent/Makefile.am: Added signgam.c to list of files.
10077 * libc/reent/Makefile.in: Regenerated.
10079 2001-01-25 Alexandre Oliva <aoliva@redhat.com>
10081 * libc/sys/sh/syscalls.c (_times): New.
10083 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
10084 * libc/sys/sh/syscalls.c (_gettimeofday): New.
10086 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10088 * libc/include/math.h (signgam): Regress previous fix as
10089 it does not handle programs with extern int signgam in them.
10091 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10093 * libc/include/math.h (signgam): Changed to a macro refering to
10094 its location in the reentrant structure.
10096 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10098 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
10099 that suppressed . for %.0f, 0.1. Check now looks if there
10100 are padding zeroes (expt) in addition to any digits (ndig) to
10103 2001-01-18 Jeff Johnston <jjohnstn@redhat.com>
10105 * libc/sys/arc/Makefile.am: New file.
10106 * libc/sys/arc/Makefile.in: Ditto.
10107 * libc/sys/arc/aclocal.m4: Ditto.
10108 * libc/sys/arc/configure: Ditto.
10109 * libc/sys/arc/configure.in: Ditto.
10110 * libc/sys/arc/crt0.S: Ditto.
10111 * libc/sys/arc/isatty.c: Ditto.
10112 * libc/sys/arc/mem-layout.c: Ditto.
10113 * libc/sys/arc/sbrk.c: Ditto.
10114 * libc/sys/arc/syscalls.c: Ditto.
10115 * libc/sys/arc/sys/syscall.h: Ditto.
10117 Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
10119 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
10121 Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
10123 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
10125 Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
10127 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
10129 2001-01-09 Nick Clifton <nickc@redhat.com>
10131 * configure.host (v859): Remove unsupported compiler options.
10133 Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
10135 * src/newlib/configure.host (*-*-rtems*): add printf long long
10138 2000-12-19 Graham Stott <grahams@redhat.com>
10140 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
10142 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
10144 * configure.host: Turn on long double I/O for Cygwin.
10146 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
10148 * MAINTAINERS: Removed Ranjith.
10149 * NEWS: Updated for 1.9.0.
10151 * acinclude.m4: Updated to release 1.9.0.
10152 * aclocal.m4 configure
10153 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
10154 libc/machine/aclocal.m4 libc/machine/configure
10155 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
10156 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
10157 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
10158 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
10159 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
10160 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
10161 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
10162 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
10163 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
10164 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
10165 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
10166 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
10167 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
10168 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
10169 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
10170 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
10171 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
10172 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
10173 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
10174 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
10175 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
10176 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
10177 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
10178 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
10179 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
10180 libc/sys/aclocal.m4 libc/sys/configure
10181 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
10182 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
10183 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
10184 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
10185 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
10186 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
10187 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
10188 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
10189 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
10190 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
10191 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
10192 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
10193 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
10194 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
10195 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
10196 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
10197 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
10198 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
10199 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
10200 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
10201 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
10202 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
10203 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
10204 libm/aclocal.m4 libm/configure: Regenerated.
10206 Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10208 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
10209 when __CYGWIN__ is defined.
10211 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
10213 * libc/stdlib/ldtoa.c (_ldcheck): New routine
10214 that categorizes a long double as NaN, Infinity, or other.
10215 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
10216 isinfl and isnanl static routines which were i386-specific. Changed
10217 calls to the two removed routines to a single _ldcheck call.
10218 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
10220 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
10222 * Makefile.am: Fixed install-data-local target to use
10223 $(mkinstalldirs) for the installed header files to ensure
10224 the directories exist before copying.
10225 * Makefile.in: Regenerated.
10227 2000-12-12 Jeff Johnston <jjohnstn@redhat.com>
10229 * libc/include/sys/unistd.h: Restored Cygwin _SC
10230 constants and moved new constants appropriately
10231 so Cygwin will build.
10233 2000-12-11 Joel Sherrill <joel@OARcorp.com>
10235 * Merge RTEMS specific .h files into main libc/include.
10236 * libc/sys/rtems/include/signal.h: Removed.
10237 * libc/sys/rtems/include/time.h: Removed.
10238 * libc/sys/rtems/sys/features.h: Removed.
10239 * libc/sys/rtems/sys/sched.h: Removed.
10240 * libc/sys/rtems/sys/siginfo.h: Removed.
10241 * libc/sys/rtems/sys/signal.h: Removed.
10242 * libc/sys/rtems/sys/time.h: Removed.
10243 * libc/sys/rtems/sys/times.h: Removed.
10244 definitions for time_t and clock_t since these are
10245 no longer in time.h.
10246 * libc/include/pthread.h: New file.
10247 * libc/include/sys/sched.h: New file.
10248 * libc/include/sys/features.h: New file.
10249 * libc/include/time.h: Removed duplicate definition of clock_t
10250 and time_t, get them from <sys/types.h> instead. Add prototypes
10251 for POSIX clock and timer functionality.
10252 * libc/sys/linux/sys/types.h: Changed to include
10253 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
10254 * libc/include/sys/signal.h: Add more complete set of POSIX
10255 signal functionality including real-time and threaded signals.
10256 * libc/include/sys/types.h: Add clock_t, time_t, struct
10257 timespec, and struct itimerspec. Centralizing these makes
10258 things cleaner. RTEMS uses 64-bit dev_t.
10259 Added numerous primitive definitions
10260 for pthreads including macros, pthread_attr_t,
10261 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
10262 pthread_once_t, and pthread_t.
10263 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
10264 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
10265 Feature flags removed and moved to new file <sys/features.h>.
10266 Full set of POSIX sysconf() constants
10268 2000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
10270 * configure.host: Added x86 linux target.
10271 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
10272 definitions provided if not already defined.
10273 * libc/sys/linux/crt0.c: New file.
10274 * libc/sys/linux/Makefile.am: Ditto.
10275 * libc/sys/linux/Makefile.in: Ditto.
10276 * libc/sys/linux/aclocal.m4: Ditto.
10277 * libc/sys/linux/brk.c: Ditto.
10278 * libc/sys/linux/configure: Ditto.
10279 * libc/sys/linux/configure.in: Ditto.
10280 * libc/sys/linux/getoptlong.c: Ditto.
10281 * libc/sys/linux/ids.c: Ditto.
10282 * libc/sys/linux/inode.c: Ditto.
10283 * libc/sys/linux/io.c: Ditto.
10284 * libc/sys/linux/linux.c: Ditto.
10285 * libc/sys/linux/process.c: Ditto.
10286 * libc/sys/linux/realpath.c: Ditto.
10287 * libc/sys/linux/select.c: Ditto.
10288 * libc/sys/linux/signal.c: Ditto.
10289 * libc/sys/linux/systat.c: Ditto.
10290 * libc/sys/linux/termios.c: Ditto.
10291 * libc/sys/linux/time.c: Ditto.
10292 * libc/sys/linux/wait.c: Ditto.
10293 * libc/sys/linux/include/alloca.h: Ditto.
10294 * libc/sys/linux/include/getopt.h: Ditto.
10295 * libc/sys/linux/include/stdint.h: Ditto.
10296 * libc/sys/linux/include/unistd.h: Ditto.
10297 * libc/sys/linux/sys/cdefs.h: Ditto.
10298 * libc/sys/linux/sys/dirent.h: Ditto.
10299 * libc/sys/linux/sys/errno.h: Ditto.
10300 * libc/sys/linux/sys/fcntl.h: Ditto.
10301 * libc/sys/linux/sys/file.h: Ditto.
10302 * libc/sys/linux/sys/ioctl.h: Ditto.
10303 * libc/sys/linux/sys/resource.h: Ditto.
10304 * libc/sys/linux/sys/signal.h: Ditto.
10305 * libc/sys/linux/sys/stat.h: Ditto.
10306 * libc/sys/linux/sys/syscall.h: Ditto.
10307 * libc/sys/linux/sys/termios.h: Ditto.
10308 * libc/sys/linux/sys/time.h: Ditto.
10309 * libc/sys/linux/sys/types.h: Ditto.
10310 * libc/sys/linux/sys/utmp.h: Ditto.
10311 * libc/sys/linux/sys/utsname.h: Ditto.
10312 * libc/sys/linux/sys/wait.h: Ditto.
10314 2000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
10316 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
10317 can be a relative path to $(top_srcdir)/install.sh so ensure the
10318 autoconf detected settings are properly passed recursively.
10319 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
10320 properly to subdirectories.
10321 * Makefile.in: Regenerated.
10323 2000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
10325 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
10326 a floating point register unless really printing a floating
10329 2000-12-07 Jeff Johnston <jjohnstn@redhat.com>
10331 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
10333 (asctoeg): Replaced alloca call with stack array and malloc
10334 when storage exceeds reasonable limit.
10335 (e53toe): Fixed einfin calls missing ldp parameter.
10336 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
10338 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
10341 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
10343 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
10345 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
10346 * libc/stdlib/Makefile.in: Regenerated.
10347 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
10348 * libc/stdio/vfieeefp.h: Added long double bit structures.
10349 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
10350 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
10351 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
10352 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
10353 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
10354 _strtold routines used for conversions between character
10357 Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10359 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
10361 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10363 * libc/include/machine/time.h: RTEMS systems can configure clock
10364 tick rate so use sysconf() to ask.
10366 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10368 * libc/include/sys/times.h: Add reference to POSIX standard.
10370 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10372 * libc/include/sys/time.h: Added BSD timer manipulation macros
10373 used by RTEMS code.
10375 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10377 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
10378 referenced by code generated by gcc 2.8.1.
10379 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
10382 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10384 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
10386 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10388 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
10390 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10392 * configure.host (or16, or32): New entries for OpenCores
10394 (*-*-rtems*): Add -DNO_EXEC.
10396 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
10398 * libc/include/sys/errno.h: Added comments on many error numbers.
10399 * libc/string/strerror.c: Added some more strings.
10401 2000-11-30 Jeff Johnston <jjohnstn@redhat.com>
10403 * libc/sys/sh/syscalls.c (_link): New stub.
10405 2000-11-29 Nick Clifton <nickc@redhat.com>
10407 * configure.host: Add xscale target.
10408 * libc/machine/xscale: New directory.
10409 * libc/machine/xscale/Makefile.am: New file.
10410 * libc/machine/xscale/Makefile.in: New file.
10411 * libc/machine/xscale/aclocal.m4: New file.
10412 * libc/machine/xscale/configure: New file.
10413 * libc/machine/xscale/configure.in: New file.
10414 * libc/machine/xscale/memchr.S: New file.
10415 * libc/machine/xscale/memcmp.S: New file.
10416 * libc/machine/xscale/memcpy.S: New file.
10417 * libc/machine/xscale/memmove.S: New file.
10418 * libc/machine/xscale/memset.S: New file.
10419 * libc/machine/xscale/strchr.S: New file.
10420 * libc/machine/xscale/strcmp.S: New file.
10421 * libc/machine/xscale/strcpy.S: New file.
10422 * libc/machine/xscale/strlen.S: New file.
10424 Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10426 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
10427 avoid compiler warnings.
10429 2000-11-22 Michael Meissner <meissner@redhat.com>
10431 * libc/posix/execl.c (execl): Don't reference environ directly,
10432 reference it only via a static pointer to avoid problems with some
10433 shared library systems and with different uses of small data where
10434 the user specifies his own version of environ.
10435 * libc/posix/execv.c (execv): Ditto.
10436 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
10437 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
10438 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
10440 * libc/stdlib/getenv.c (environ): Delete unused reference to
10443 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
10445 * libc/stdlib/system.c: Ditto.
10447 Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
10449 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
10450 including windows headers.
10452 2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
10454 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
10455 * libc/include/dirent.h: Added definition of MAXNAMLEN if
10456 not defined by sys/dirent.h.
10457 * libc/posix/execvp.c: Added include of dirent.h to get
10458 MAXNAMLEN value which used to be in unistd.h.
10460 Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10462 * libc/include/sys/types.h: Change type of i to `size_t' in
10463 FD_ZERO macro to avoid compiler warnings.
10465 Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
10467 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
10468 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
10470 Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10472 * libc/include/sys/unistd.h: Add defines for sysconf values
10473 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
10476 Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
10478 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
10479 declarations for __CYGWIN__.
10481 2000-09-19 Geoffrey Keating <geoffk@cygnus.com>
10483 * libc/signal/signal.c (__sigtramp_r): ISO C requires
10484 case labels to be integral constant expressions, so
10485 use an if/else tree instead.
10486 (_raise_r): Likewise.
10488 2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
10490 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
10491 clipping patch from e-mail reader.
10493 2000-09-13 Will Cohen <wcohen@redhat.com>
10495 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
10496 Added return value 0.
10497 (_longjmp): Allow longjmp to return value of second argument
10500 2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
10502 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
10503 inline code to prevent having to include another header file.
10505 Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
10507 * Makefile.am: Fix space vs. tab problem in install-data-local.
10508 * Makefile.in: Regenerate.
10510 Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
10512 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
10513 (_EXPARM): New macro for defining a function parameter.
10514 * libc/include/stdlib.h: Use _EXPARM.
10515 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
10517 2000-09-05 Manfred Hollstein <manfredh@redhat.com>
10519 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
10520 required, as documented in the gnu coding standards.
10521 * Makefile.in: Regenerate.
10523 2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
10525 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
10526 make O_NDELAY and O_NONBLOCK have the same value.
10528 2000-08-30 Kazu Hirata <kazu@hxi.com>
10530 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
10532 2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
10534 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
10535 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
10536 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
10539 2000-08-30 Geoffrey Keating <geoffk@cygnus.com>
10541 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
10542 * libc/include/string.h: Don't include <sys/types.h>,
10543 as it causes really bad namespace pollution. Don't declare
10544 swab(), it is properly declared in unistd.h.
10546 2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
10548 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
10549 (broken) support for non-existent /etc/passwd field "comment".
10551 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
10553 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
10554 only if _DIRENT_HAVE_D_NAMLEN is defined.
10555 (alphasort): aligned prototype with
10556 libc/sys/cygwin/sys/dirent.h and simplified function body.
10557 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
10558 long telldir (DIR *) as mentioned in annex B of POSIX.1
10560 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
10562 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
10563 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
10564 Added __CLI and __STI macros (controlled via
10565 _I386MACH_ALLOW_HW_INTERRUPTS macro).
10566 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
10567 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
10568 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
10569 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
10570 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
10571 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
10572 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
10573 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
10574 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
10575 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
10576 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
10577 for all global entry points.
10578 * libc/machine/i386/setjmp.S: removed code replicated in
10579 libc/machine/i386/i386mach.h and included i386mach.h instead;
10580 Use __CLI and __STI instead of cli and sti.
10582 2000-08-25 DJ Delorie <dj@redhat.com>
10584 * libc/include/sys/unistd.h (environ): this one isn't from the
10587 Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
10589 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
10590 environ when compiling under cygwin since it is already declared in
10593 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
10595 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
10596 like x << y-z to the equivalent x << (y-z).
10597 (d2b): changed if statements with assignment to perform the
10598 assignment prior to the if check.
10599 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
10600 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
10601 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
10602 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
10604 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
10605 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
10607 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
10609 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
10610 clarify && and || precendence (and to remove pascalism).
10611 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
10612 * libm/math/s_infconst.c: added another pair of braces to all
10613 initializers for __infinity (need three: for __infinity[1] array,
10614 for union __dmath, and for i[2]).
10616 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
10618 * libc/stdlib/abort.c: changed description: uses "raise" instead of
10619 "getpid" and "kill"; added: uses "write" and "_exit".
10620 Also included unistd.h for "_exit" prototype.
10621 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
10622 reent.h for "_fork_r" and "_wait_r" prototypes.
10623 (do_system): changed extern char *environ[] to POSIX-friendly
10624 extern char **environ.
10625 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
10627 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
10628 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
10629 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
10630 * libc/reent/openr.c: included fcntl.h for "open" prototype.
10631 * libc/reent/signalr.c: included signal.h for "kill" prototype,
10632 unistd.h for "getpid" prototype.
10633 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
10634 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
10635 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
10636 prototype. Also included stdlib.h for "abort", string.h for
10637 "strdup" and "strncmp" prototypes.
10638 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
10639 "strncpy", unistd.h for "read" and "close" prototypes.
10640 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
10641 "strcat" prototypes.
10643 2000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
10645 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
10646 used later (ifdef __SCLE)
10647 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
10648 used later (ifdef MB_CAPABLE)
10649 * libc/string/memset.c (memset): removed unused variables "count"
10650 and "unaligned_addr"
10651 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
10652 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
10653 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
10656 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
10658 * libc/stdlib/envlock.c: changed documented "__env_lock" and
10659 "__env_unlock" prototype from "void *" or "char *" to
10660 "struct _reent *" to match real function. Also added include
10662 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
10663 "__malloc_unlock" prototype from "void *" or "char *" to
10664 "struct _reent *" to match real function.
10665 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
10666 prototypes (for getenv_r.c and setenv_r.c).
10668 2000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
10670 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
10671 and prototype in cygwin's utmp.h
10673 2000-08-16 Eric Fifer <efifer@sanwaint.com>
10675 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
10677 2000-08-09 Nick Clifton <nickc@cygnus.com>
10679 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
10680 epilogue and to allow the functions to be used in a Thumb based
10683 2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
10685 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
10686 so size of 0 results in nothing being written to string.
10687 Also fixed code so that when size is non-zero, there is only
10688 a maximum of size - 1 characters written to the array and
10689 a nul terminator is appended at the end.
10690 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
10692 2000-08-01 DJ Delorie <dj@redhat.com>
10694 * libc/include/sys/config.h: define __IMPORT appropriately
10695 * libc/include/ctype.h (_ctype_): use __IMPORT
10696 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
10697 * libc/include/math.h (__mb_cur_max): ditto
10698 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
10699 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
10700 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
10701 * libc/include/unistd.h (environ): ditto
10703 2000-07-28 Michael Meissner <meissner@redhat.com>
10705 * libc/include/math.h (__infinity): Declare as an array without
10706 bounds to get around small data support. Rewrite Cygwin support
10707 to be more general.
10708 * libm/math/s_infconst.c (__infinity): Ditto.
10709 * libm/mathfp/s_infconst.c (__infinity): Ditto.
10711 Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
10713 * libc/include/math.h: Use appropriate dll import linkage for
10714 __infinity under Cygwin.
10716 2000-07-13 DJ Delorie <dj@cygnus.com>
10718 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
10720 Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
10722 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
10723 to argument list for AngelSWI_Reason_GetCmdLine.
10725 Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
10727 * configure.host: Add support for AVR target.
10728 * libc/include/machine/ieeefp.h: Likewise.
10729 * libc/include/sys/config.h: Likewise.
10731 Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
10733 * README: Newlib 1.8.2 must be built in a separate directory
10736 Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10738 * libc/include/sys/reent.h (_rand_next): Added __extension__
10739 qualifier as long long type is not strict ANSI.
10740 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
10741 to long long constant.
10743 Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
10745 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
10746 `setegid' provided by Cygwin.
10748 Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
10750 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
10751 account for Cygwin.
10753 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10755 * libc/include/sys/reent.h (_rand_next): Changed to
10756 unsigned long long and moved to end of _reent struct in _new union.
10757 (_REENT_INIT): Changed to move _rand_next initialization.
10758 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
10759 linear congruential algorithm that is used by DJGPP.
10761 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
10763 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
10764 * libc/include/sys/config.h: Define __RAND_MAX.
10766 Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10768 * libc/stdlib/rand_r.c: New algorithm that meets minimal
10771 Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
10773 * libc/include/string.h: Work around problem with strsignal and gdb.
10775 Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
10777 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
10778 * libc/include/malloc.h: Ditto.
10779 * libc/include/process.h: Ditto.
10780 * libc/include/stdio.h: Ditto.
10781 * libc/include/stdlib.h: Ditto.
10782 * libc/include/time.h: Ditto.
10783 * libc/include/machine/setjmp.h: Ditto.
10784 * libc/include/sys/errno.h: Ditto.
10785 * libc/include/sys/signal.h: Ditto.
10786 * libc/include/sys/stat.h: Ditto.
10787 * libc/include/sys/time.h: Ditto.
10788 * libc/include/sys/unistd.h: Ditto.
10789 * libc/include/string.h: Ditto. strsignal should return a const char *.
10791 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
10793 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
10794 * libm/common/s_log1p.c (log1p): Likewise.
10795 * libm/common/s_scalbn.c (scalbn): Likewise.
10796 * libm/math/e_log.c: Likewise.
10797 * libm/math/e_asin.c: Likewise.
10798 * libm/math/ef_asin.c: Likewise.
10799 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
10800 * libm/math/e_j1.c (pone, qone): Likewise.
10801 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
10802 * libm/math/ef_j1.c (ponef, qonef): Likewise.
10803 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
10804 * libm/mathfp/e_j1.c (pone, qone): Likewise.
10805 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
10806 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
10808 2000-05-19 DJ Delorie <dj@cygnus.com>
10810 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
10811 (__sread): always read in binary mode
10812 (__swrite): always write in binary mode
10813 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
10814 compatibility issues with different dll versions
10815 * libc/stdio/fopen.c: use __stextmode
10816 * libc/stdio/fdopen.c: ditto
10817 * libc/stdio/freopen.c: ditto
10818 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
10819 * libc/stdio/local.h: declare __stextmode
10821 2000-05-18 DJ Delorie <dj@cygnus.com>
10823 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
10825 Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10827 * libc/include/ctype.h: Changed tolower and toupper macros
10828 to use __extension__ to prevent pedantic warnings.
10830 Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
10832 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
10835 Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
10837 * libc/include/machine/ieeefp.h: Add ia64 support.
10838 * configure.host: Likewise.
10840 Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
10842 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
10843 month is now padded with space, not zero. This now conforms to
10846 Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
10848 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
10849 host or network path") used by cygwin. Add some comments.
10851 Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
10853 * libc/include/stdio.h (FILE): define __SCLE for "convert line
10854 endings" for Cygwin.
10855 (__sgetc): convert line endings if needed
10857 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
10858 * libc/stdio/fopen.c (_fopen_r): ditto
10859 * libc/stdio/freopen.c (freopen): ditto
10860 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
10861 * libc/stdio/fvwrite.c (__sfvwrite): ditto
10863 Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
10865 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
10866 post-increment when it is worth it, spacewise.
10868 Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
10870 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
10871 * libc/stdio/findfp.c (std): Added declaration of flags and file.
10872 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
10874 * libc/stdio/putchar.c (putchar): Added return statement.
10875 * libc/stdio/refill.c (lflush): Added correct parentheses.
10876 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
10877 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
10878 prints long value to use l qualifier.
10879 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
10880 messages and initialized local values: ilim, ilim1, and spec_case.
10881 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
10882 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
10883 * libc/stdlib/mprec.c: Ditto.
10884 * libc/stdlib/setenv_r.c: Ditto.
10885 * libc/stdlib/strtod.c: Ditto.
10886 * libc/stdlib/strtol.c: Ditto.
10887 * libc/stdlib/strtoul.c: Ditto.
10888 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
10889 * libm/common/sf_log1p.c: Ditto.
10890 * libm/common/sf_scalbn.c: Ditto.
10891 * libm/math/ef_log.c: Ditto.
10893 Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
10895 * libc/posix/execvp.c (execvp): Check path for
10898 Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
10900 * libc/include/sys/unistd.h: Add prototypes for
10901 fchmod, fchown, lchown.
10903 Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10905 * acinclude.m4: Changed release to 1.8.2.
10906 * aclocal.m4 configure doc/aclocal.m4 doc/configure
10907 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
10908 libc/machine/configure libc/machine/a29k/aclocal.m4
10909 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
10910 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
10911 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
10912 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
10913 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
10914 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
10915 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
10916 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
10917 libc/machine/i386/configure libc/machine/i960/aclocal.m4
10918 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
10919 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
10920 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
10921 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
10922 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
10923 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
10924 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
10925 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
10926 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
10927 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
10928 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
10929 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
10930 libc/machine/v850/configure libc/machine/w65/aclocal.m4
10931 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
10932 libc/machine/z8k/configure libc/sys/aclocal.m4
10933 libc/sys/aclocal.m4 libc/sys/configure
10934 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
10935 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
10936 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
10937 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
10938 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
10939 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
10940 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
10941 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
10942 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
10943 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
10944 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
10945 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
10946 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
10947 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
10948 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
10949 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
10950 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
10951 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
10952 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
10953 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
10954 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
10955 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
10956 libm/aclocal.m4 libm/configure: Regenerated.
10958 2000-03-24 Nick Clifton <nickc@cygnus.com>
10960 * libc/sys/arm/syscalls.c: Fix compile time warnings.
10961 (do_AngelSWI): Add "cc" to list o registers clobbered.
10963 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
10965 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
10966 information to be clobbered by an Angel C library support syscall.
10968 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10970 * libc/stdlib/envlock.c: Fixed comment typo.
10972 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10974 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
10975 code to update nread as each character is processed instead
10976 of using buffer contents which throw away leading zeroes.
10978 Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
10980 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
10982 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
10984 * libc/include/string.h: Include <sys/types.h>.
10986 Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10988 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
10989 with XSH5, not SVID.
10991 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
10993 * libc/include/string.h: Changed last argument back to ssize_t
10994 to make it compatible with XPG4 definition which is
10995 defined in <unistd.h>. There is a conflict in the SVID 3
10996 and XPG4 definitions and newlib will settle with XPG4.
10997 * libc/string/swab.c: Ditto.
10999 Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
11001 * libc/include/string.h: Changed last argument to size_t.
11002 * libc/string/swab.c: Changed last argument to size_t.
11004 Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11006 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
11007 (CHEWOUT_FILES): Added unlinkr.def.
11008 * libc/reent/Makefile.in: Rebuilt.
11009 * libc/sys.tex: Include unlinkr.def.
11010 * libc/reent/linkr.c (_unlink_r): Moved to...
11011 * libc/reent/unlinkr.c: ... new file.
11013 Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11015 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
11016 (CHEWOUT_FILES): Added swab.def.
11017 * libc/string/Makefile.in: Rebuilt.
11018 * libc/string/string.tex: Include swab.def.
11019 * libc/include/string.h (swab): Declare.
11020 * libc/string/swab.c: New file.
11022 Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11024 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
11025 (CHEWOUT_FILES): Added getw.def and putw.def.
11026 * libc/stdio/Makefile.in: Rebuilt.
11027 * libc/stdio/stdio.tex: Include getw.def and putw.def.
11028 * libc/stdio/getw.c: New file.
11029 * libc/stdio/putw.c: New file.
11031 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
11033 * libc/stdio/flags.c (__sflags): Added check that mode[1]
11034 is non-null before looking at mode[2].
11036 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
11038 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
11039 * libm/mathfp/sf_atan.c: Ditto.
11041 Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
11043 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
11045 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
11047 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
11050 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
11052 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
11053 call prior to calling _VFPRINTF_R so reentrant data area is set.
11054 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
11056 Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11058 * libc/stdio/vfscanf.c (limits.h): #include.
11059 (MAX_LONG_LEN): #define.
11060 (__svfscanf): Handle floating point numbers with arbitrary amounts
11063 2000-02-15 Nick Clifton <nickc@cygnus.com>
11065 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
11066 zero. Set the blocksize to 1024/
11068 Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
11070 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
11071 with line buffering.
11073 Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11075 * acinclude.m4: Changed include directory for winsup headers.
11076 * aclocal.m4 configure libc/aclocal.m4
11077 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
11078 libc/locale/Makefile.in libc/machine/aclocal.m4
11079 libc/machine/configure libc/machine/a29k/aclocal.m4
11080 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
11081 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
11082 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
11083 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
11084 libc/machine/fr30/configure
11085 libc/machine/h8300/aclocal.m4
11086 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
11087 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
11088 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
11089 libc/machine/i386/configure libc/machine/i960/aclocal.m4
11090 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
11091 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
11092 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
11093 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
11094 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
11095 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
11096 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
11097 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
11098 libc/machine/powerpc/configure
11099 libc/machine/sh/aclocal.m4
11100 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
11101 libc/machine/sparc/configure
11102 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
11103 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
11104 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
11105 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
11106 libc/misc/Makefile.in libc/posix/Makefile.in
11107 libc/reent/Makefile.in
11108 libc/signal/Makefile.in
11109 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
11110 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11111 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
11112 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
11113 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
11114 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11115 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11116 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11117 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11118 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11119 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11120 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11121 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11122 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
11123 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
11124 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
11125 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
11126 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
11127 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
11128 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
11129 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
11130 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
11131 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
11132 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
11133 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
11134 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
11135 libm/configure: Regenerated.
11137 Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
11139 * libc/stdlib/putenv_r.c (_putenv_r): New file.
11140 * libc/stdlib/strdup_r.c (_strdup_r): New file.
11141 * libc/include/string.h: Added _strdup_r.
11142 * libc/stdlib/putenv.c: Added call to reentrant version.
11143 * libc/stdlib/strdup.c: Ditto.
11144 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
11145 * libc/include/stdlib.h: Ditto.
11146 * libc/stdlib/Makefile.in: Regenerated.
11147 * libc/string/Makefile.in: Regenerated.
11148 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
11149 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
11150 management calls to reentrant versions.
11151 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
11152 * libc/stdlib/wctomb.c: Ditto.
11153 * libc/stdlib/mblen.c: Ditto.
11154 * libc/stdlib/mbstowcs.c: Ditto.
11155 * libc/stdlib/mbtowc.c: Ditto.
11156 * libc/stdlib/getenv.c: Ditto.
11157 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
11160 Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
11162 patch from Corinna Vinschen <corinna@vinschen.de>
11163 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
11165 Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
11167 * libm/mathfp/s_atangent.c: Fix exponent calculation.
11168 * libm/mathfp/s_ldexp.c: Ditto.
11169 * libm/mathfp/sf_atangent.c: Ditto.
11170 * libm/mathfp/sf_ldexp.c: Ditto.
11172 Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11174 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
11175 * libc/include/locale.h: define NULL to be 0.
11177 Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
11179 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
11182 Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
11184 * libc/machine/mn10300/setjmp.S: Handle am33.
11186 1999-11-26 Nick Clifton <nickc@cygnus.com>
11188 * libc/sys/arm/syscalls.c: Add function prototypes.
11189 (stack_ptr): Move declaration before function definitions.
11191 Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11193 * NEWS: Updated version information.
11196 Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
11198 * libc/machine/i386/strchr.S: Fixed alignment test.
11200 Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
11202 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
11204 Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
11206 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
11207 ensuring that there is space between the two.
11209 Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
11211 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
11214 1999-10-08 Vadim Egorov <egorovv@1c.ru>
11216 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
11219 Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
11221 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
11222 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
11224 Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
11225 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
11227 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
11230 1999-09-13 DJ Delorie <dj@cygnus.com>
11232 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
11235 Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
11237 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
11238 also note BUFSIZ as its size.
11240 Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
11242 * configure.host: Corrected feature defines for RTEMS.
11243 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
11244 * libc/include/sys/stat.h: mkfifo() should take const path arg.
11245 * libc/include/sys/unistd.h: pathconf() should take const path arg.
11246 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
11247 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
11248 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
11249 _PC_PRIO_IO, and _PC_SYNC_IO.
11250 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
11251 * libc/machine/m68k/Makefile.in: Regenerated.
11252 * libc/machine/m68k/strcpy.c: New file.
11253 * libc/machine/m68k/strlen.c: New file.
11254 * libc/stdio/tmpnam.c: Always make the returned name usable.
11255 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
11256 * libc/sys/rtems/sys/dirent.h: New file.
11257 * libc/sys/rtems/sys/types.h: Added dev_t.
11259 Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
11261 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
11263 Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
11265 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
11268 Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
11270 patch from Jeff Johnston <jjohnstn@cygnus.com>
11271 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
11272 buffer is not in a useful state.
11274 1999-09-01 Nick Clifton <nickc@cygnus.com>
11276 * libc/sys/arm/syscalls.c (_link): Add stub.
11278 Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11280 * ftell.c (ftell): Use actual position within buffer for text mode.
11281 * findfp.c (std): Initialize ptr->_bf._size.
11283 Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
11285 * libc/include/sys/unistd.h: Add nice() declaration.
11287 1999-08-09 Nick Clifton <nickc@cygnus.com>
11289 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
11290 declare as a thumb function so that the disassembler will see the
11293 Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11295 * libc/reent/reent.tex: Updated list of reentrant functions.
11297 1999-07-09 Michael Meissner <meissner@cygnus.com>
11299 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
11301 Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
11303 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
11305 * libc/stdio/snprintf.c: New file.
11306 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
11308 * libc/stdio/vsnprintf.c: New file.
11309 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
11310 * libc/stdio/Makefile.in: Regenerated.
11312 Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
11314 Patch submitted by Egor Duda <deo@logos-m.ru>:
11315 * libc/include/stdio.h: Add declarations for *nprintf.
11316 * libc/stdio/sprintf.c (snprintf): New function.
11317 (_snprintf_r): New function.
11318 * libc/stdio/vsprintf.c (vsnprintf): New function.
11319 (_vnsprintf_r): New function.
11321 Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
11323 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
11324 * libm/Makefile.am (stmp-targetdep): Ditto.
11325 * libc/Makefile.in: Regenerated.
11326 * libm/Makefile.in: Ditto.
11328 Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
11330 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
11331 * libm/Makefile.am (stmp-targetdep): Ditto.
11332 * libc/Makefile.in: Regenerated.
11333 * libm/Makefile.in: Ditto.
11335 Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
11337 * Makefile.am: Removed dependencies on all-recursive and added "."
11338 to the SUBDIRS list to prevent infinite recursion from occurring.
11339 Also removed any references to EXTRA_DATA.
11340 * libc/Makefile.am: Ditto.
11341 * libc/machine/Makefile.am: Ditto.
11342 * libc/machine/i386/Makefile.am: Ditto.
11343 * libm/Makefile.am: Ditto.
11344 * libc/sys/Makefile.am: Ditto.
11345 * Makefile.in: Regenerated.
11346 * aclocal.m4: Ditto.
11347 * configure: Ditto.
11348 * doc/Makefile.in: Ditto.
11349 * doc/aclocal.m4: Ditto.
11350 * doc/configure: Ditto.
11351 * libc/Makefile.in: Ditto.
11352 * libc/aclocal.m4: Ditto.
11353 * libc/configure: Ditto.
11354 * libc/machine/Makefile.in: Ditto.
11355 * libc/machine/aclocal.m4: Ditto.
11356 * libc/machine/configure: Ditto.
11357 * libc/machine/mn10300/Makefile.in: Ditto.
11358 * libc/machine/mn10300/aclocal.m4: Ditto.
11359 * libc/machine/mn10300/configure: Ditto.
11360 * libc/sys/Makefile.in: Ditto.
11361 * libc/sys/aclocal.m4: Ditto.
11362 * libc/sys/configure: Ditto.
11363 * libm/Makefile.in: Ditto.
11364 * libm/aclocal.m4: Ditto.
11365 * libm/configure: Ditto.
11367 Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11369 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
11371 Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11373 * libc/include/stdlib.h: Add reentrant routines.
11374 * libc/stdlib/Makefile.am: Add reentrant routines.
11375 * libc/stdlib/Makefile.in: Ditto.
11376 * libc/stdlib/envlock.c: New file.
11377 * libc/stdlib/envlock.h: New file.
11378 * libc/stdlib/getenv.c: Modify to call reentrant routine.
11379 * libc/stdlib/getenv_r.c: New file.
11380 * libc/stdlib/mblen.c: Modify to call reentrant routine.
11381 * libc/stdlib/mblen_r.c: New file.
11382 * libc/stdlib/setenv.c: Modify to call reentrant routine.
11383 * libc/stdlib/setenv_r.c: New file.
11384 * libc/stdlib/stdlib.tex: Add reentrant routines.
11386 Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
11388 * libc/include/sys/types.h: Define __MS_types__ whenever
11391 Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
11393 * libc/include/machine/ieeefp.h: Always default to little
11394 endian if Windows, regardless of architecture.
11395 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
11396 regardless of architecture.
11398 Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
11400 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
11401 _WIN32 isn't defined.
11403 Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
11405 * libm/common/s_rint.c (rint): Add volatile qualifier for
11406 intermediate value w.
11407 * libm/common/sf_rint.c (rintf): Ditto.
11409 Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
11411 * libc/sys/arm/syscalls.c (remap_handle): Added check to
11412 ensure that std streams are initialized before being referenced.
11414 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
11416 * README: Update reference to newlib@cygnus.com new
11417 newlib@sourceware.cygnus.com address.
11419 Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
11421 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
11422 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
11423 defined, even if _WIN32 isn't defined.
11425 Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
11427 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
11429 Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11431 * libc/include/sys/reent.h: Change Long and ULong to __Long and
11433 * libc/stdlib/dtoa.c: Ditto.
11434 * libc/stdlib/mprec.c: Ditto.
11435 * libc/stdlib/mprec.h: Ditto.
11436 * libc/stdlib/strtod.c: Ditto.
11438 1999-04-21 Nick Clifton <nickc@cygnus.com>
11440 * configure.host (mcore): Remove mcore machine directory.
11442 1999-04-18 Nick Clifton <nickc@cygnus.com>
11444 * libc/include/machine/ieeefp.h: Add support for mcore target.
11445 * libc/include/machine/setjmp.h: Add support for mcore target.
11446 * configure.host: Add support for mcore target.
11448 1999-04-13 Mark Salter <msalter@cygnus.com>
11450 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
11451 * libc/sys/arm/syscalls.c: Added isatty.
11453 Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11455 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
11456 insert zeroes after significant digits.
11458 Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11460 * libc/stdio/vfprintf.c (cvt): Changed floating point
11461 cvt routine to use union used by dtoa to properly determine
11462 if the sign bit is on or not.
11463 * libc/stdio/vfieeefp.h: New file
11465 Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11467 * aclocal.m4: Regenerated.
11468 * configure: Regenerated.
11470 Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11472 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
11474 * libc/machine/i386/Makefile.in: Regenerated.
11476 Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
11478 * acinclude.m4: Changed to work with new automake.
11479 * configure: Regenerated.
11480 * libc/machine/i386/aclocal.m4: Regenerated.
11481 * libc/machine/i386/configure: Regenerated.
11483 Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
11485 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
11486 for telldir() and seekdir(). Rename unused structure element
11487 for use with these two routines.
11489 Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
11491 * libc/time/mktime.c (validate_structure): Multiple fixes to
11492 code to handle cases where input fields are outside valid ranges.
11493 * libc/stdlib/div.c (div): Modified invalid rounding check.
11494 * libc/stdlib/ldiv.c (ldiv): Ditto.
11496 Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
11498 * libc/machine/i386/memcpy.S: Performance rewrite.
11499 * libc/machine/i386/memmove.S: Ditto.
11500 * libc/machine/i386/i386mach.h: Added more register definitions.
11501 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
11503 * libc/include/machine/fastmath.h: Add definitions for x86
11504 fast-math routines.
11506 Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11508 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
11510 Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
11512 Adjust newlib headers for new Cygwin Win32 API header files:
11513 * libc/include/sys/time.h: Check _WINSOCK_H rather than
11514 _GNU_H_WINDOWS32_SOCKETS.
11515 * libc/include/sys/types.h: Ditto.
11517 Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11519 *include/sys/reent.h: Add checks for size of Bigint element Long.
11520 *libc/dtoa.c: Change routines to use generic Long type.
11521 *libc/mprec.c: Change routines to use generic Long type.
11522 *libc/mprec.h: Change routines to use generic Long type.
11524 Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
11526 * libc/Makefile.am: Add .def files.
11527 * libc/Makefile.in: Regenerate.
11528 * libc/e_acosh.c: Documentation update.
11529 * libc/e_atanh.c: Documentation update.
11530 * libc/e_hypot.c: Documentation update.
11531 * libc/e_remainder.c: Documentation update.
11532 * libc/er_lgamma.c: Documentation update.
11533 * libc/mathfp.tex: Documentation update.
11534 * libc/s_acos.c: Documentation update.
11535 * libc/s_atan.c: Documentation update.
11536 * libc/s_atan2.c: Documentation update.
11537 * libc/s_cosh.c: Documentation update.
11538 * libc/s_fmod.c: Documentation update.
11539 * libc/s_isnan.c: Documentation update.
11540 * libc/s_log10.c: Documentation update.
11541 * libc/s_pow.c: Documentation update.
11542 * libc/w_jn.c: Documentation update.
11544 Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
11546 * aclocal.m4: Regenerate.
11547 * configure: Regenerate.
11549 Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
11551 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
11552 to return 1 if user specified return code is 0.
11553 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
11555 Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
11557 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
11558 to save the return address. Fixed longjmp to return to the original
11559 calling address of setjmp and to return the user specified return code
11560 rather than default to 1.
11561 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
11563 Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
11565 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
11567 1999-02-10 Nick Clifton <nickc@cygnus.com>
11569 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
11570 volatile so that its assignments will not be discarded.
11572 Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
11574 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
11575 be __STRICT_ANSI__ which is generated by compiler.
11576 * libc/include/ctype.h: Ditto.
11577 * libc/include/math.h: Ditto.
11578 * libc/include/stdio.h: Ditto.
11579 * libc/include/stdlib.h: Ditto.
11580 * libc/include/string.h: Ditto.
11581 * libc/include/sys/signal.h: Ditto.
11583 1999-02-08 Nick Clifton <nickc@cygnus.com>
11585 * configure.host: Add support for StrongARM target.
11587 Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
11589 * libc/string/strncpy.c (strncpy): Removed redundant code
11590 that was copying bytes if data unaligned.
11592 1999-02-02 Brendan Kehoe <brendan@cygnus.com>
11594 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
11595 mbstowcs.def, and wcstombs.def.
11597 Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
11599 * libc/include/sys/errno.h: Add Cygwin errno.
11600 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
11603 1999-01-29 Nick Clifton <nickc@cygnus.com>
11605 * libc/sys/arm/syscalls.c: Move C library functions into seperate
11608 * libc/sys/arm/libcfunc.c: New file containing C library functions
11611 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
11612 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
11615 1999-01-27 Michael Meissner <meissner@cygnus.com>
11617 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
11618 type, and cut size in half so that the jmp_buf array is guaranteed
11619 to be aligned on a 64-bit boundary.
11621 Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
11623 * libc/string/strings.tex: Added information about
11624 strcasecmp and strncasecmp.
11625 * libc/stdlib/stdlib.tex: Added missing information
11626 about mblen, mbstowcs, and wcstombs.
11627 * libc/string/strchr.c: Changed how mask is built to use
11628 shift operators so register will be used instead of storage.
11630 1999-01-22 DJ Delorie <dj@cygnus.com>
11632 * libc/include/stdlib.h: don't use dllimport if we're building
11633 newlib, since it's inside cygwin.dll
11635 Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
11637 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
11638 _ctype_ under cygwin.
11640 Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
11642 * include/stdlib.h: Fix typo from previous checkin.
11644 Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
11646 * include/ctype.h: Use __declspec(dllimport) method for exporting
11647 variable from cygwin DLL.
11648 * include/time.h: Ditto.
11649 * sys/errno.h: Ditto.
11650 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
11651 * libc/locale/locale.c: Use __declspec(dllexport) method for
11652 exporting variable from cygwin DLL.
11654 Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
11656 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
11657 access of bogus pointer will result in SIGSEGV.
11659 1999-01-07 Nick Clifton <nickc@cygnus.com>
11661 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
11662 of an underscore prefix to function names.
11664 Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
11666 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
11667 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
11669 1998-12-31 Michael Meissner <meissner@cygnus.com>
11671 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
11672 to `%' if not already defined.
11674 1998-12-30 Michael Meissner <meissner@cygnus.com>
11676 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
11677 arguments const char *, not char *.
11678 * libc/include/stdio.h (_tempnam_r): Ditto.
11680 * libc/include/sys/reent.h (struct _reent): The _sig_func type
11681 points to a function taking an integer, not void.
11683 Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
11685 * configure.host: Add a define for Cygwin builds.
11686 * libc/include/ctype.h: Don't use dll imported variables in newlib.
11688 Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
11690 * libc/include/ctype.h: Define _ctype_ as dll imported variable
11691 for use with Cygwin.
11692 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
11693 dll imported variables for use with Cygwin.
11694 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
11695 as a dll imported variable for Cygwin.
11697 Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
11699 * libc/include/sys/unistd.h: Add proto for getpass.
11701 Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
11703 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
11706 Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
11708 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
11709 not posix_path_list_p.
11711 1998-12-15 Nick Clifton <nickc@cygnus.com>
11713 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
11716 1998-12-13 Nick Clifton <nickc@cygnus.com>
11718 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
11720 1998-12-12 Nick Clifton <nickc@cygnus.com>
11722 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
11723 <msalter@cygnus.com>
11724 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
11725 * libc/machine/fr30/Makefile.in: Regenerated.
11727 1998-12-11 Nick Clifton <nickc@cygnus.com>
11729 * configure.host: Remove use of libc/sys for FR30 port.
11730 * libc/sys/fr30: Remove directory (replaced by libgloss).
11732 1998-12-10 Ken Raeburn <raeburn@cygnus.com>
11734 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
11735 * libc/string/strncat.c (ALIGNED): Ditto.
11737 Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
11739 * libc/include/sys/time.h: include sys/types.h
11741 Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
11743 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
11744 comparison found when checking word at a time.
11746 1998-12-04 Nick Clifton <nickc@cygnus.com>
11748 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
11750 1998-12-03 Nick Clifton <nickc@cygnus.com>
11752 * libc/sys/fr30/syscalls.c (_times): New function stub.
11754 Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
11756 * configure.host (mach_add_setjmp): Replaced mach_add_objs
11757 with mach_add_setjmp flag which indicates if setjmp should
11758 be added to the machine directory objects.
11759 * acinclude.m4: Removed reference to mach_add_objs.
11760 * aclocal.m4: Regenerated.
11761 * Makefile.in: Regenerated.
11762 * configure: Regenerated.
11763 * libc/aclocal.m4: Regenerated.
11764 * libc/Makefile.in: Regenerated.
11765 * libc/configure: Regenerated.
11766 * libc/machine/aclocal.m4: Regenerated.
11767 * libc/machine/Makefile.in: Regenerated.
11768 * libc/machine/configure: Regenerated.
11769 * libc/machine/i386/aclocal.m4: Regenerated.
11770 * libc/machine/i386/Makefile.am: Altered to selectively add
11771 setjmp.S to the src files list.
11772 * libc/machine/i386/Makefile.in: Regenerated.
11773 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
11774 * libc/machine/i386/configure: Regenerated.
11776 1998-12-02 Nick Clifton <nickc@cygnus.com>
11778 * libc/sys/fr30/crt0.s (_start): Fix function names.
11780 * libc/machine/fr30: New directory
11781 * libc/machine/fr30/Makefile.am: New file.
11782 * libc/machine/fr30/Makefile.in: New generated file.
11783 * libc/machine/fr30/configure.in: New file.
11784 * libc/machine/fr30/configure: New generated file.
11785 * libc/machine/fr30/aclocal.m4: New generated file.
11786 * libc/sys/fr30/Makefile.am: New file.
11787 * libc/sys/fr30/Makefile.in: New generated file.
11788 * libc/sys/fr30/configure.in: New file.
11789 * libc/sys/fr30/configure: New generated file.
11790 * libc/sys/fr30/syscalls.c: New file.
11792 Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
11794 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
11796 1998-12-01 Ken Raeburn <raeburn@cygnus.com>
11798 * libc/time/strftime.c (strftime): Also handle %y for years before
11801 Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
11803 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
11804 UNIX convention. Perform tolower on characters before comparing
11805 them rather than use toupper.
11806 * libc/string/strncasecmp.c (strncasecmp): Ditto.
11808 Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
11810 * configure.host: Added using i386 machine directory
11811 for all x86 cross-compiler and configuring
11812 which added object files to use via new "mach_add_objs" variable.
11813 * configure: Regenerated.
11814 * libc/configure: Regenerated.
11815 * libc/Makefile.in: Regenerated.
11816 * libc/aclocal.m4: Regenerated.
11817 * libc/ctype/Makefile.in: Regenerated.
11818 * libc/errno/Makefile.in: Regenerated.
11819 * libc/locale/Makefile.in: Regenerated.
11820 * libc/machine/Makefile.in: Regenerated.
11821 * libc/machine/aclocal.m4: Regenerated.
11822 * libc/machine/configure: Regenerated.
11823 * libc/posix/Makefile.in: Regenerated.
11824 * libc/reent/Makefile.in: Regenerated.
11825 * libc/signal/Makefile.in: Regenerated.
11826 * libc/stdio/Makefile.in: Regenerated.
11827 * libc/stdlib/Makefile.in: Regenerated.
11828 * libc/string/Makefile.in: Regenerated.
11829 * libc/string/memmove.c: Optimized code to use memcpy
11830 logic when performing a non-destructive copy.
11831 * libc/string/strncmp.c: Altered code to allow building
11832 optimized for size or speed.
11833 * libc/syscalls/Makefile.in: Regenerated.
11834 * libc/time/Makefile.in: Regenerated.
11835 * libc/unix/Makefile.in: Regenerated.
11836 * libc/machine/i386/Makefile.am: Added new files and reference
11837 to "mach_add_objs" to indicate optional object files.
11838 * libc/machine/i386/Makefile.in: Regenerated.
11839 * libc/machine/i386/aclocal.m4: Regenerated.
11840 * libc/machine/i386/configure: Regenerated.
11841 * libc/machine/i386/memchr.S: New file that implements
11842 function in Intel assembler.
11843 * libc/machine/i386/memcmp.S: ditto.
11844 * libc/machine/i386/memcpy.S: ditto.
11845 * libc/machine/i386/memmove.S: ditto.
11846 * libc/machine/i386/memset.S: ditto.
11847 * libc/machine/i386/strchr.S: ditto.
11848 * libc/machine/i386/strlen.S: ditto.
11849 * libc/machine/i386/f_atan2.S: New file that implements
11850 fast version of math function to be used by compiler when
11851 --ffast_math compile option is used.
11852 * libc/machine/i386/f_atan2f.S: ditto.
11853 * libc/machine/i386/f_exp.c: ditto.
11854 * libc/machine/i386/f_expf.c: ditto.
11855 * libc/machine/i386/f_frexp.S: ditto.
11856 * libc/machine/i386/f_frexpf.S: ditto.
11857 * libc/machine/i386/f_ldexp.S: ditto.
11858 * libc/machine/i386/f_ldexpf.S: ditto.
11859 * libc/machine/i386/f_log.S: ditto.
11860 * libc/machine/i386/f_logf.S: ditto.
11861 * libc/machine/i386/f_log10.S: ditto.
11862 * libc/machine/i386/f_log10f.S: ditto.
11863 * libc/machine/i386/f_math.h: New file.
11864 * libc/machine/i386/f_pow.c: ditto.
11865 * libc/machine/i386/f_powf.S: ditto.
11866 * libc/machine/i386/f_tan.S: ditto.
11867 * libc/machine/i386/f_tan.S: ditto.
11868 * libc/machine/i386/i386mach.h: New file.
11870 Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
11872 patch from Mumit Khan <khan@xraylith.wisc.edu>
11873 * libc/include/stdio.h (tempnam): Add prototype.
11874 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
11875 (tempnam): Adhere to prototype.
11877 Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
11879 * Makefile.am: Add default for AR_FLAGS.
11880 * Makefile.in: Regenerate.
11882 Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
11884 * libc/include/time.h: move __cplusplus wrapper after includes
11885 * libc/include/sys/time.h: ditto. If Cygwin, include
11887 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
11889 1998-11-23 Ken Raeburn <raeburn@cygnus.com>
11891 * libc/time/strftime.c (strftime): Handle %y after year 2000.
11893 Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
11895 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
11896 abnormnal end-of-crt0 marker.
11898 Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
11900 * libc/sys/fr30/crt0.s: New file/directory.
11901 * libc/include/machine/setjmp.h: Add FR30 target.
11902 * libc/include/machine/ieeefp.h: Add FR30 target.
11903 * configure.host: Add FR30 target.
11905 Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
11907 * libm/math: Files that are duplicated in common directory removed.
11908 * libm/math/fdlibm.h: Removed.
11909 * libm/math/s_cbrt.c: Removed.
11910 * libm/math/s_copysign.c: Removed.
11911 * libm/math/s_expm1.c: Removed.
11912 * libm/math/s_finite.c: Removed.
11913 * libm/math/s_ilogb.c: Removed.
11914 * libm/math/s_infinity.c: Removed.
11915 * libm/math/s_lib_ver.c: Removed.
11916 * libm/math/s_log1p.c: Removed.
11917 * libm/math/s_logb.c: Removed.
11918 * libm/math/s_matherr.c: Removed.
11919 * libm/math/s_modf.c: Removed.
11920 * libm/math/s_nan.c: Removed.
11921 * libm/math/s_nextafter.c: Removed.
11922 * libm/math/s_rint.c: Removed.
11923 * libm/math/s_scalbn.c: Removed.
11924 * libm/math/sf_cbrt.c: Removed.
11925 * libm/math/sf_copysign.c: Removed.
11926 * libm/math/sf_expm1.c: Removed.
11927 * libm/math/sf_finite.c: Removed.
11928 * libm/math/sf_ilogb.c: Removed.
11929 * libm/math/sf_infinity.c: Removed.
11930 * libm/math/sf_log1p.c: Removed.
11931 * libm/math/sf_logb.c: Removed.
11932 * libm/math/sf_modf.c: Removed.
11933 * libm/math/sf_nan.c: Removed.
11934 * libm/math/sf_nextafter.c: Removed.
11935 * libm/math/sf_rint.c: Removed.
11936 * libm/math/sf_scalbn.c: Removed.
11937 * libm/math/Makefile.am: Removed references to deleted files (above).
11938 * libm/math/Makefile.in: Regenerated.
11939 * libm/Makefile.am: Added common directory to math.
11940 * libm/Makefile.in: Regenerated.
11942 Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
11944 * libm/mathfp: Add non-ANSI functions.
11945 * libm/mathfp/e_acosh.c acosh(): New file.
11946 * libm/mathfp/e_atanh.c atanh(): New file.
11947 * libm/mathfp/e_hypot.c hypot(): New file.
11948 * libm/mathfp/e_j0.c j0(): New file.
11949 * libm/mathfp/e_j1.c j1(): New file.
11950 * libm/mathfp/e_remainder.c remainder(): New file.
11951 * libm/mathfp/e_scalb.c scalb(): New file.
11952 * libm/mathfp/ef_acosh.c acoshf(): New file.
11953 * libm/mathfp/ef_atanh.c atanhf(): New file.
11954 * libm/mathfp/ef_hypot.c hypotf(): New file.
11955 * libm/mathfp/ef_j0.c j0f(): New file.
11956 * libm/mathfp/ef_j1.c j1f(): New file.
11957 * libm/mathfp/ef_remainder.c remainderf(): New file.
11958 * libm/mathfp/ef_scalb.c scalbf(): New file.
11959 * libm/mathfp/er_gamma.c gamma_r: New file.
11960 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
11961 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
11962 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
11963 * libm/mathfp/w_cabs.c cabs(): New file.
11964 * libm/mathfp/w_drem.c drem(): New file.
11965 * libm/mathfp/w_jn.c jn(): New file.
11966 * libm/mathfp/wf_cabs.c cabsf(): New file.
11967 * libm/mathfp/wf_drem.c dremf(): New file.
11968 * libm/mathfp/wf_jn.c jnf(): New file.
11970 Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
11972 * libc/sys/cygwin32: remove directory and contents
11973 * libc/sys/cygwin: and add back, losing the "32".
11974 * configure.host: check for cygwin* instead of cygwin32.
11975 * acinclude.m4: ditto.
11976 * aclocal.m4: regenerate with aclocal
11977 * configure: regenerate with autoconf
11979 Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
11981 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
11984 Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
11986 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
11987 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
11988 to make rand/srand, strtok, asctime, localtime, w_gamma,
11989 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
11990 time.h to bring in struct tm definition.
11991 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
11992 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
11993 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
11994 instead of static variable.
11995 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
11996 struct reent instead of static variable.
11997 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
11998 struct reent instead of static variable.
11999 * libm/math/Makefile.am: Removed s_signgam.o.
12000 * libm/math/Makefile.in: Regenerated.
12001 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
12002 struct reent instead of global variable 'signgam'.
12003 * libm/math/w_lgamma.c (lgamma): Likewise.
12004 * libm/math/wf_gamma.c (gammaf): Likewise.
12005 * libm/math/wf_lgamma.c (lgammaf): Likewise.
12006 * libm/math/s_signgam.c: Removed.
12007 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
12009 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
12011 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
12012 libc/include/reent.h.
12013 * libc/reent/Makefile.in: Regenerated.
12014 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
12016 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
12017 'JIS_action_table' to be const.
12018 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
12020 Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
12022 * acinclude.m4: $with_target_subdir should default to '.'
12023 or confusion results when configuring in same directory as sources.
12024 * Regenerate all aclocal.m4 and configure files.
12026 Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
12028 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
12029 can be set by defining MALLOC_ALIGNMENT=16. Also added support
12030 for platforms where sizeof(size_t) < sizeof(long) via
12031 SIZE_T_SMALLER_THAN_LONG macro.
12033 Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
12035 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
12036 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
12037 which sets _CLOCKS_PER_SEC_ for selected machines.
12038 * libc/include/machine/time.h: New file.
12040 Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12042 * libc/syscalls/sysexecve.c: New file.
12043 * libc/syscalls/sysgettod.c: New file.
12044 * libc/syscalls/systimes.c: New file.
12045 * libc/syscalls/Makefile.am: Added new objects.
12046 * libc/syscalls/Makefile.in: Regenerated.
12047 * libc/include/_syslist.h (_execve): Moved define in file.
12048 * libc/include/reent.h: Added _execve_r declaration.
12049 * libc/Makefile.in: Regenerated.
12050 * libc/ctype/Makefile.in: Regenerated.
12051 * libc/errno/Makefile.in: Regenerated.
12052 * libc/locale/Makefile.in: Regenerated.
12053 * libc/machine/Makefile.in: Regenerated.
12054 * libc/misc/Makefile.in: Regenerated.
12055 * libc/posix/Makefile.in: Regenerated.
12056 * libc/reent/Makefile.in: Regenerated.
12057 * libc/reent/execr.c (_execve_r): Added _execve_r function.
12058 * libc/signal/Makefile.in: Regenerated.
12059 * libc/stdio/Makefile.in: Regenerated.
12060 * libc/time/Makefile.in: Regenerated.
12061 * libc/unix/Makefile.in: Regenerated.
12062 * libm/mathfp/Makefile.in: Regenerated.
12064 Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12066 * libc/string/Makefile.in: Regenerated.
12067 * libc/string/memchr.c (memchr): Moved code to reduce object size.
12068 * libc/string/memcpy.c (memcpy): Ditto.
12069 * libc/string/memcmp.c (memcmp): Ditto.
12070 * libc/string/memset.c (memset): Ditto.
12071 * libc/string/strchr.c (strchr): Ditto.
12072 * libc/string/strcmp.c (strcmp): Ditto.
12073 * libc/string/strcpy.c (strcpy): Ditto.
12074 * libc/string/strlen.c (strlen): Ditto.
12076 Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12078 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
12079 to generate aclocal.m4.
12080 * libm/Makefile.in: Regenerated.
12081 * libm/aclocal.m4: Regenerated.
12082 * libm/configure: Regenerated.
12083 * libm/math/Makefile.in: Regenerated.
12084 * libm/mathfp/Makefile.in: Regenerated.
12086 1998-09-25 Mark Salter <msalter@cygnus.com>
12088 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
12089 by adding leading and trailing underscores to symbol names.
12091 Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
12093 * Makefile.in: Add default for AR_FLAGS.
12095 Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
12097 patch from ian@airs.com (Ian Taylor):
12098 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
12099 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
12100 is needed for detecting the build machine. Required for
12101 cygwin native builds.
12103 * Regenerate all aclocal.m4 and configure files.
12105 Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
12107 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
12108 used to start with LC.
12110 Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12112 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
12113 (longjmp): Likewise.
12115 Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12117 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
12118 the test for small number of bytes.
12120 Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12122 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
12123 math library that uses floating point algorithms instead of the old
12125 * Makefile.in: Regenerate with automake version 1.3b.
12126 * configure: Rebuild.
12127 * libm/Makefile.in: Regenerate with automake version 1.3b.
12128 * libm/aclocal.m4: Regenerate.
12129 * libm/configure: Rebuild.
12130 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
12131 * libm/acinclude.m4: Define macros for configure.in.
12132 * libm/config.h.in: Generate.
12133 * libm/mathfp/Makefile.am: New file.
12134 * libm/mathfp/Makefile.in: Generate.
12135 * libm/mathfp/s_acos.c (acos): New file.
12136 * libm/mathfp/s_asin.c (asin): New file.
12137 * libm/mathfp/s_asine.c (asine): New file.
12138 * libm/mathfp/s_atan.c (atan): New file.
12139 * libm/mathfp/s_atan2.c (atan2): New file.
12140 * libm/mathfp/s_atangent.c (atangent): New file.
12141 * libm/mathfp/s_ceil.c (ceil): New file.
12142 * libm/mathfp/s_copysign.c (copysign): New file.
12143 * libm/mathfp/s_cos.c (cos): New file.
12144 * libm/mathfp/s_cosh.c (cosh): New file.
12145 * libm/mathfp/s_exp.c (exp): New file.
12146 * libm/mathfp/s_fabs.c (fabs): New file.
12147 * libm/mathfp/s_finite.c (finite): New file.
12148 * libm/mathfp/s_floor.c (floor): New file.
12149 * libm/mathfp/s_fmod.c (fmod): New file.
12150 * libm/mathfp/s_frexp.c (frexp): New file.
12151 * libm/mathfp/s_infconst.c: New file.
12152 * libm/mathfp/s_isinf (isinf).c: New file.
12153 * libm/mathfp/s_isnan.c (isnan): New file.
12154 * libm/mathfp/s_ispos.c (ispos): New file.
12155 * libm/mathfp/s_ldexp.c (ldexp): New file.
12156 * libm/mathfp/s_log.c (log): New file.
12157 * libm/mathfp/s_log10.c (log10): New file.
12158 * libm/mathfp/s_logarithm.c (logarithm): New file.
12159 * libm/mathfp/s_mathcnst.c: New file.
12160 * libm/mathfp/s_modf (modf).c: New file.
12161 * libm/mathfp/s_numtest.c (numtest): New file.
12162 * libm/mathfp/s_pow.c (pow): New file.
12163 * libm/mathfp/s_scalbn.c (scalbn): New file.
12164 * libm/mathfp/s_sin (sin).c: New file.
12165 * libm/mathfp/s_sine.c (sine): New file.
12166 * libm/mathfp/s_sineh.c (sineh): New file.
12167 * libm/mathfp/s_sinf.c (sinf): New file.
12168 * libm/mathfp/s_sinh.c (sinh): New file.
12169 * libm/mathfp/s_sqrt.c (sqrt): New file.
12170 * libm/mathfp/s_tan.c (tan): New file.
12171 * libm/mathfp/s_tanh.c (tanh): New file.
12172 * libm/mathfp/sf_acos.c (acosf): New file.
12173 * libm/mathfp/sf_asin.c (asinf): New file.
12174 * libm/mathfp/sf_asine.c (asinef): New file.
12175 * libm/mathfp/sf_atan.c (atanf): New file.
12176 * libm/mathfp/sf_atan2.c (atan2f): New file.
12177 * libm/mathfp/sf_atangent.c (atangent): New file.
12178 * libm/mathfp/sf_ceil.c (ceilf): New file.
12179 * libm/mathfp/sf_copysign.c (copysignf): New file.
12180 * libm/mathfp/sf_cos.c (cosf): New file.
12181 * libm/mathfp/sf_cosh.c (coshf): New file.
12182 * libm/mathfp/sf_exp.c (expf): New file.
12183 * libm/mathfp/sf_fabs.c (fabsf): New file.
12184 * libm/mathfp/sf_finite.c (finitef): New file.
12185 * libm/mathfp/sf_floor.c (floorf): New file.
12186 * libm/mathfp/sf_fmod.c (fmodf): New file.
12187 * libm/mathfp/sf_frexp.c (frexpf): New file.
12188 * libm/mathfp/sf_isinf.c (isinff): New file.
12189 * libm/mathfp/sf_isnan.c (isnanf): New file.
12190 * libm/mathfp/sf_ispos.c (isposf): New file.
12191 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
12192 * libm/mathfp/sf_log.c (logf): New file.
12193 * libm/mathfp/sf_log10.c (log10f): New file.
12194 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
12195 * libm/mathfp/sf_modf.c (modff): New file.
12196 * libm/mathfp/sf_numtest.c (numtestf): New file.
12197 * libm/mathfp/sf_pow.c (powf): New file.
12198 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
12199 * libm/mathfp/sf_sin.c (sinf): New file.
12200 * libm/mathfp/sf_sine.c (sinef): New file.
12201 * libm/mathfp/sf_sineh.c (sinehf): New file.
12202 * libm/mathfp/sf_sinh.c (sinhf): New file.
12203 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
12204 * libm/mathfp/sf_tan.c (tanf): New file.
12205 * libm/mathfp/sf_tanh.c (tanhf): New file.
12206 * libm/mathfp/zmath.h: New file.
12208 Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12210 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
12211 exit if it has been overwritten by pre-fetching in delay slot.
12213 1998-09-01 Michael Meissner <meissner@cygnus.com>
12215 * Makefile.am (tooldir): Add in host_alias, so that multilib
12216 libraries are installed in the directory the compiler looks in.
12217 * Makefile.in: Regenerate.
12219 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
12221 Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
12223 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
12224 ahead of test for number of bytes being moved.
12226 Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
12228 * libc/include/sys/unistd.h: Nothing special needed for
12229 _exit under cygwin.
12231 Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
12233 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
12234 conform to user label naming conventions.
12236 Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
12238 * libc/sys/cygwin32/sys/utime.h: variable names in
12239 protos should start with two leading underscores
12240 * libc/include/string.h: ditto
12241 * libc/include/sys/signal.h: ditto
12242 * libc/include/sys/stat.h: ditto
12243 * libc/include/sys/time.h: ditto
12244 * libc/include/sys/unistd.h: ditto
12245 * libc/include/ctype.h: ditto
12246 * libc/include/stdlib.h: ditto
12247 * libc/include/sys/reent.h: struct _atexit function ptr takes a
12248 void, same with _sig_func.
12250 Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
12252 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
12253 for MB_CAPABLE to reduce code size when newlib is not configured
12254 with --enable-newlib-mb.
12255 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
12256 mbtowc_r.o to minimize size.
12257 * libc/stdlib/Makefile.in: Rebuild.
12259 Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
12261 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
12263 * libc/sys/sparc64/Makefile.in: Rebuild.
12265 Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
12267 * Makefile.am (MAKEOVERRIDES): Define.
12268 * Makefile.in: Rebuild.
12270 Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
12272 * libc/sys/sparc64/sys/stat.h (stat): Add const.
12274 Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
12276 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
12277 newlib_cflags when looking for targ-include.
12278 * */aclocal.m4, */configure: Rebuild.
12280 Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
12282 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
12285 Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
12287 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
12288 on SPARCs with little-endian data.
12289 * libc/include/machine/ieeefp.h: Ditto.
12291 Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
12293 * acinclude.m4: Handle a relative srcdir correctly when setting
12295 * */aclocal.m4, */configure: Rebuild.
12297 Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
12299 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
12300 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
12301 * libm/math/wrf_gamma.c (gammaf_r): ditto
12302 * libm/math/wr_lgamma.c (lgamma_r): ditto
12303 * libm/math/wr_gamma.c (gamma_r): ditto
12304 * libm/math/wf_sqrt.c (sqrtf): ditto
12305 * libm/math/wf_sinh.c (sinhf): ditto
12306 * libm/math/wf_scalb.c (scalbf): ditto
12307 * libm/math/wf_remainder.c (remainderf): ditto
12308 * libm/math/wf_pow.c (powf): ditto
12309 * libm/math/wf_log10.c (log10f): ditto
12310 * libm/math/wf_log.c (logf): ditto
12311 * libm/math/wf_lgamma.c (lgammaf): ditto
12312 * libm/math/wf_jn.c (jnf, ynf): ditto
12313 * libm/math/wf_j1.c (j1f, y1f): ditto
12314 * libm/math/wf_j0.c (j0f, y0f): ditto
12315 * libm/math/wf_hypot.c (hypotf): ditto
12316 * libm/math/wf_gamma.c (gammaf): ditto
12317 * libm/math/wf_fmod.c (fmodf): ditto
12318 * libm/math/wf_exp.c (expf): ditto
12319 * libm/math/wf_cosh.c (coshf): ditto
12320 * libm/math/wf_atanh.c (atanhf): ditto
12321 * libm/math/wf_atan2f.c (atan2f): ditto
12322 * libm/math/wf_asin.c (asinf): ditto
12323 * libm/math/wf_acosh.c (acoshf): ditto
12324 * libm/math/wf_acos.c (acosf): ditto
12325 * libm/math/w_sqrt.c (sqrt): ditto
12326 * libm/math/w_sinh.c (sinh): ditto
12327 * libm/math/w_scalb.c (scalb): ditto
12328 * libm/math/w_remainder.c (remainder): ditto
12329 * libm/math/w_pow.c (pow): ditto
12330 * libm/math/w_log10.c (log10): ditto
12331 * libm/math/w_log.c (log): ditto
12332 * libm/math/w_lgamma.c (lgamma): ditto
12333 * libm/math/w_jn.c (jn, yn): ditto
12334 * libm/math/w_j1.c (j1, y1): ditto
12335 * libm/math/w_j0.c (j0, y0): ditto
12336 * libm/math/w_hypot.c (hypot): ditto
12337 * libm/math/w_gamma.c (gamma): ditto
12338 * libm/math/w_fmod.c (fmod): ditto
12339 * libm/math/w_exp.c (exp): ditto
12340 * libm/math/w_cosh.c (cosh): ditto
12341 * libm/math/w_atanh.c (atanh): ditto
12342 * libm/math/w_atan2f.c (atan2): ditto
12343 * libm/math/w_asin.c (asin): ditto
12344 * libm/math/w_acosh.c (acosh): ditto
12345 * libm/math/w_acos.c (acos): ditto
12347 Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
12349 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
12350 (fsrc): Add wf_cabs.c and wf_drem.c.
12351 * libm/math/Makefile.in: Rebuild.
12353 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
12354 unused directory variables. Remove duplicate CFLAGS.
12355 * Makefile.in: Rebuild.
12357 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
12358 with $(CC_FOR_BUILD).
12359 (makedoc.o): Likewise.
12360 * doc/Makefile.in: Rebuild.
12362 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
12363 force a definition of COMPILE.
12364 (libfoo_a_SOURCES): Define.
12365 * libc/sys/cygwin32/Makefile.in: Rebuild.
12366 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
12367 force a definition of COMPILE.
12368 (libfoo_a_SOURCES): Define.
12369 * libc/sys/tic80/Makefile.in: Rebuild.
12371 Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
12373 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
12376 Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
12378 * Build using autoconf and automake. Added many Makefile.am and
12379 configure.in files, plus generated files. Old configure.in files
12380 and all old Makefile.in files completely replaced. Removed
12381 host/any. Added acinclude.m4 and configure.host.
12383 Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
12385 * libc/stdio/vfprintf.c: enable long long support, sometimes.
12386 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
12388 Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12390 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
12391 * libc/machine/sh/Makefile.in: Add rules for new files.
12393 Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12395 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
12396 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
12397 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
12399 Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
12401 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
12404 Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
12406 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
12407 internal static buffer when s is NULL, as prescribed by ANSI.
12409 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
12411 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
12413 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
12414 libc/stdlib will be used for h8300hms.
12416 Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12418 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
12419 version that can be built either for speed or size.
12420 * libc/machine/mn10300/memset.S (_memset): ditto
12421 * libc/machine/mn10300/memchr.S (_memchr): ditto
12422 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
12423 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
12424 * libc/machine/mn10300/strchr.S (_strchr): ditto
12425 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
12426 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
12427 * libc/machine/mn10300/Makefile.in: Added entries for
12428 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
12429 strcmp.o, strcpy.o, and strlen.o.
12431 Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
12433 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
12434 been replaced with libgloss/mn10200.
12436 Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
12438 * libc/string/strchr.c (strchr): Make s a constant pointer to
12441 Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
12443 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
12444 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
12445 board SWIs instead of Demon board SWIs).
12447 Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
12449 * libc/string/strncat.c (strncat): Make -Os act the same as
12450 PREFER_SIZE_OVER_SPEED being defined.
12452 Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
12454 * libc/string/memchr.c (memchr): Make -Os act the same as
12455 PREFER_SIZE_OVER_SPEED being defined.
12456 * libc/string/memcmp.c (memcmp): Ditto.
12457 * libc/string/memcpy.c (memcpy): Ditto.
12458 * libc/string/memset.c (memset): Ditto.
12459 * libc/string/strcat.c (strcat): Ditto.
12460 * libc/string/strchr.c (strchr): Ditto.
12461 * libc/string/strcmp.c (strcmp): Ditto.
12462 * libc/string/strcpy.c (strcpy): Ditto.
12463 * libc/string/strlen.c (strlen): Ditto.
12464 * libc/string/strncat.c (strncat): Ditto.
12465 * libc/string/strncmp.c (strncmp): Ditto.
12466 * libc/string/strncpy.c (strncpy): Ditto.
12468 Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
12470 * libc/include/sys/itimer.h: remove
12471 * libc/include/sys/time.h: itimer stuff should be here
12473 Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
12475 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
12476 bit instead of comparing to 0 so -0.0 can be printed correctly.
12478 Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12480 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
12482 Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
12484 * libc/include/sys/unistd.h: fix sync() proto
12485 * libc/include/sys/fcntl.h: remove _close which is already
12486 defined in unistd.h.
12487 * libc/include/sys/time.h: add getitimer proto
12489 Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
12491 * libc/string/strchr.c: convert arg to unsigned char
12492 * libc/include/stdlib.h: add protos for random, srandom
12493 * libc/include/sys/stat.h: add lstat proto
12494 * libc/include/sys/time.h: add setitimer proto
12495 * libc/include/sys/unistd.h: add readlink, symlink protos
12496 * libc/include/process.h: instead of including windows.h and using
12497 HANDLEs in sexec protos, just use void *s. Need to include
12500 Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
12502 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
12504 Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
12506 * libc/include/process.h: add secure exec protos
12508 Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
12510 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
12511 which are accessed as both doubles and integers.
12512 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
12513 * libc/stdlib/strtod.c (_strtod_r): Likewise.
12514 * libc/stdlib/mprec.h: Add "union double_union" and change
12515 word0/word1 macros to use it.
12517 Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
12519 * libc/include/sys/signal.h: add __cplusplus wrapper
12521 Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
12523 * libc/include/sys/utime.h: new generic file that gets replaced by
12524 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
12526 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
12527 * libc/include/time.h: remove duplicate utime proto
12528 * libc/include/utime.h: add comment
12530 Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
12532 * libc/include/sys/time.h: Add missing include to
12533 allow use of _EXFUN. Remove times function that is
12534 already defined in times.h.
12536 Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
12538 * libc/include/time.h: Fix typo in tzset.
12540 Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
12542 * libc/include/sys/time.h: add missing Cygwin32 function protos
12543 * libc/include/sys/unistd.h: ditto
12544 * libc/include/time.h: ditto
12546 Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
12548 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
12550 * libc/include/sys/types.h: add a new __MS_types__ section
12551 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
12552 __BIT_TYPES_DEFINED__.
12554 Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
12556 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
12557 since it overrides the one in libc/include/sys. Also, start
12560 Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
12562 * libm/math/Makefile.in: add s_signgam.o to obj list
12564 Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
12566 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
12568 Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
12570 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
12571 so don't use defines.
12573 Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
12575 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
12577 Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
12579 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
12580 _current_locale as default locale.
12582 Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
12584 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
12585 insufficient space in a chunk.
12587 Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
12589 * configure.in (links): Added check for --enable-newlib-mb configure
12590 option which defines the MB_CAPABLE macro.
12591 * libc/locale/locale.c (_setlocale_r): Added support for setting
12592 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
12594 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
12595 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
12596 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
12597 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
12598 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
12599 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
12600 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
12601 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
12602 * libc/stdlib/Makefile.in: Added new multibyte
12603 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
12604 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
12605 _mbstowcs_r(), and _wcstombs_r().
12606 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
12607 for JIS, SJIS, and EUC-JP characters.
12608 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
12609 MB_CAPABLE defined.
12610 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
12611 MB_CAPABLE defined.
12612 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
12613 MB_CAPABLE defined.
12614 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
12615 if MB_CAPABLE defined.
12616 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
12617 if MB_CAPABLE defined.
12618 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
12619 to the format string processing when MB_CAPABLE.
12620 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
12623 Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
12625 The following modifications are courtesy of Anthony Thompson,
12626 athompson@cambridge.arm.com:
12627 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
12628 boith RDI and RDP monitors.
12629 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
12630 RDI and RDP monitors.
12632 Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
12634 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
12635 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
12636 (_swiopen): Fixed open flags to treat write with append as just append.
12637 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
12638 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
12640 Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12642 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
12643 When needing to transfer an initial 2-byte-word, store as
12646 Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12648 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
12650 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
12651 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
12653 Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
12655 * configure.in (target_cflags): If --enable-target-optspace, use
12656 -Os to compile newlib rather than -O2. Default to using -Os for
12657 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
12660 Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
12662 * libc/include/machine/setjmp.h: change sigsetjmp and
12663 siglongjmp definitions to use an array instead of a struct
12666 Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
12668 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
12670 Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
12672 * libc/string/strxfrm.c: fix to get correct return value
12674 Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
12676 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
12677 builds. Make mode change labels global so that they will be seen
12680 Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
12682 * configure.in (links): Do not use ARM debiugging protocols for PE
12685 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
12688 Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
12690 * libc/stdio/findfp.c (__sinit): Made stdout default to
12691 line buffered mode as defined by ANSI.
12693 Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
12695 * libc/include/sys/itimer.h: New file.
12697 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
12699 Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12701 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
12704 Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
12706 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
12709 Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
12711 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
12713 Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
12715 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
12718 * libc/include/machine/setjmp.h: Add D30V support.
12720 * configure.in (d30v-*): Add d30v machine directory.
12722 Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
12724 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
12725 been replaced with libgloss/mn10300.
12727 Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
12729 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
12730 it is no longer needed.
12732 Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
12734 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
12736 Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
12738 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
12739 the file when O_APPEND is set, wherever the EOF happens to be at
12742 Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
12744 patch from cgf@bbc.com (Christopher Faylor):
12745 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
12746 convention of closing fp prior to attempting to open the file
12747 argument. This allows correct operation when reopening
12748 stdin/stdout/stderr. Replaces last freopen.c patch.
12750 Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
12752 patch from cgf@bbc.com (Christopher Faylor):
12753 * libc/stdio/freopen.c: freopen was not preserving the fd
12754 of the stream being operated on. This confuses programs that
12755 expect that the handles for stdout and stderr will be 1 and 2.
12757 Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
12759 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
12761 Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
12763 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
12765 Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
12767 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
12768 altered to not use a branch. Also added hint that last
12769 bclr in longjmp will likely result in branch.
12772 Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
12774 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
12776 Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
12778 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
12781 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
12783 Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
12785 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
12786 that loads FR14 to specify offset of 8 rather than 4
12787 so it loads from offset 96 (where setjmp stored it).
12789 Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
12791 * libc/machine/sh/memcpy.S: (_memcpy): Update to
12792 latest version supplied by customer.
12793 * libc/machine/sh/memset.S (_memset): Ditto.
12795 Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
12797 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
12800 Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
12802 * libc/include/string.h: remove redefinition of ffs
12804 Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
12806 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
12809 Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
12811 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
12812 TI Libraries to link to libc.a
12814 Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
12816 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
12817 * libc/include/sys/stat.h (_{,f}stat): Ditto.
12818 * libc/include/sys/wait.h (_wait): Ditto.
12819 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
12820 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
12822 Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
12824 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
12825 minded stabs so function name shows up when running the simulator
12827 * libc/sys/d10v/{crt0,trap}.S: Ditto.
12829 Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
12831 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
12832 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
12833 Use R5 where we used to use R3.
12835 Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
12837 * libc/stdlib/getopt.c (getopt): replaced __progname
12838 with nargv[0] to improve portability to imbedded systems.
12840 Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
12842 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
12843 patch supplied by Tont.Thompson@arm.com to fix the creation of the
12846 Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
12848 * libc/stdio/tmpnam.c (worker): Generate a different file name
12851 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
12852 fails, try an execlp for sh.
12854 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
12855 option for the winsup include directory.
12857 Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
12859 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
12860 debugging interface from Tony.Thompson@arm.com.
12862 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
12863 * libc/sys/arm/swi.h: ditto.
12865 Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
12867 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
12868 DIR struct used for readdir hashes.
12870 Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
12872 * libc/string/strchr.c: Use "unsigned chars" as necessary.
12874 Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
12876 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
12879 Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
12881 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
12882 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
12883 * libc/include/malloc.h: Add extern "C" if __cplusplus.
12884 (__malloc_copy): Declare.
12886 Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
12888 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
12890 (POINTER_UINT): Define.
12891 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
12892 (MALLOC_ALIGNMENT): Don't define if already defined.
12893 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
12896 Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
12898 * libc/string/memset.c (memset): Fiddle with code so that the long
12899 value being stored is not a stack value. Unroll storing longs 4
12902 Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
12904 * Reduce code size for libm modules.
12905 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
12906 and simply move code into sqrt.
12907 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
12908 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
12909 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
12910 * libm/math/wr_gamma.c (gamma_r): Likewise.
12911 * libm/math/wf_sinh.c (sinfh): Likewise.
12912 * libm/math/w_sinh.c (sinh): Likewise.
12913 * libm/math/wf_scalb.c (scalbf): Likewise.
12914 * libm/math/w_scalb.c (scalb): Likewise.
12915 * libm/math/wf_remainder.c (remainderf): Likewise.
12916 * libm/math/w_remainder.c (remainder): Likewise.
12917 * libm/math/wf_pow.c (powf): Likewise.
12918 * libm/math/w_pow.c (pow): Likewise.
12919 * libm/math/wf_log10.c (log10f): Likewise.
12920 * libm/math/w_log10.c (log10): Likewise.
12921 * libm/math/wf_log.c (logf): Likewise.
12922 * libm/math/w_log.c (log): Likewise.
12923 * libm/math/w_lgamma.c (lgamma): Likewise.
12924 * libm/math/wf_lgamma.c (lgammaf): Likewise.
12925 * libm/math/wf_jn.c (jnf): Likewise.
12926 * libm/math/w_jn.c (jn): Likewise.
12927 * libm/math/wf_j1.c (j1f): Likewise.
12928 * libm/math/w_j1.c (j1): Likewise.
12929 * libm/math/wf_j0.c (j0f): Likewise.
12930 * libm/math/w_j0.c (j0): Likewise.
12931 * libm/math/wf_hypot.c (hypotf): Likewise.
12932 * libm/math/w_hypot.c (hypot): Likewise.
12933 * libm/math/wf_gamma.c (gammaf): Likewise.
12934 * libm/math/w_gamma.c (gamma): Likewise.
12935 * libm/math/wf_fmod.c (fmodf): Likewise.
12936 * libm/math/w_fmod.c (fmod): Likewise.
12937 * libm/math/wf_exp.c (expf): Likewise.
12938 * libm/math/w_exp.c (exp): Likewise.
12939 * libm/math/wf_cosh.c (coshf): Likewise.
12940 * libm/math/w_cosh.c (cosh): Likewise.
12941 * libm/math/wf_atanh.c (atanhf): Likewise.
12942 * libm/math/w_atanh.c (atanh): Likewise.
12943 * libm/math/wf_atan2.c (atan2f): Likewise.
12944 * libm/math/w_atan2.c (atan2): Likewise.
12945 * libm/math/wf_asin.c (asinf): Likewise.
12946 * libm/math/w_asin.c (asin): Likewise.
12947 * libm/math/wf_acosh.c (acoshf): Likewise.
12948 * libm/math/w_acosh.c (acosh): Likewise.
12949 * libm/math/wf_acos.c (asocf): Likewise.
12950 * libm/math/w_acos.c (acos): Likewise.
12951 * libm/math/wf_sqrt.c (sqrtf): Likewise.
12952 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
12953 for embedded systems.
12955 Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
12957 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
12958 Lea in case of a foreign sbrk.
12960 Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
12962 Incorporate Doug Lea's malloc:
12963 * libc/stdlib/mallocr.c: Completely replaced.
12964 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
12966 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
12967 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
12969 (mallinfo, malloc_stats, mallopt): New functions.
12970 (_mstats_r): Just call _malloc_stats_r.
12971 * libc/stdlib/malign.c: New file.
12972 * libc/stdlib/mlock.c: New file.
12973 * libc/stdlib/msize.c: New file.
12974 * libc/stdlib/mtrim.c: New file.
12975 * libc/stdlib/realloc.c: New file.
12976 * libc/stdlib/valloc.c: New file.
12977 * libc/stdlib/malloc.h: Remove.
12978 * libc/stdlib/callocr.c: Remove.
12979 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
12980 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
12981 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
12982 reallocr.o, valloc.o, vallocr.o.
12983 (CHEWOUT_FILES): Add mlock.def, mstats.def.
12984 (MALLOC_CFLAGS): New variable.
12985 (mallocr.o): New target, build from mallocr.c.
12986 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
12987 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
12988 (msizer.o, malloptr.o): Likewise.
12989 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
12990 (valloc.o): New target.
12991 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
12992 * libc/include/malloc.h: Declare struct mallinfo, and new
12994 * libc/include/stdlib.h (cfree): Correct declaration.
12996 Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
12998 * libc/include/machine/setjmp.h: Add support for Thumb target.
13000 * libc/include/machine/ieeefp.h: Add support for Thumb target.
13002 * configure.in (links): Add support for Thumb target.
13004 Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
13006 * libc/sys/arm/setjmp.S: Updated with version from branch.
13008 Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
13010 * libc/include/stdio.h: add POSIX-required define L_ctermid
13013 Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
13015 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
13016 addition to MISSING_SYSCALL_NAMES.
13018 Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
13020 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
13022 Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
13024 * libc/include/string.h: change strsignal proto to return
13025 a char *. This eliminates compile problems in gdb resulting
13026 from gdb's definition of strsignal in defs.h.
13028 Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
13030 * libc/sys/cygwin32/sys/utime.h: new (moved here from
13031 winsup/include) so as not to conflict with the one in
13033 * libc/include/string.h: add protos for strsignal, strtosigno
13035 Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
13037 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
13039 * configure.in (d30v-*-*): Add configuration.
13041 Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
13043 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
13044 to select which kind of debug monitor is in use for an ARM target.
13046 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
13047 Angel and Demon debug monitors. Part of this code was supplied by
13048 Tony Thompson at ARM: athompso@arm.com.
13050 Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
13052 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
13053 semantics when the count is greater than the length of the second
13056 Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
13058 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
13059 * libc/include/sys/unistd.h: add protos for usleep, truncate,
13060 truncate and ftruncate take off_t, not size_t
13062 Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
13064 * libc/string/strcat.c (strcat): Add missing comment end.
13065 * libc/string/strncat.c (strncat): Likewise.
13067 Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
13069 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
13071 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
13072 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
13074 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
13075 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
13076 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
13078 Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
13080 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
13081 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
13083 Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
13085 * libc/machine/i386/setjmp.S: New file.
13086 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
13087 (OFILES): Add setjmp.o.
13088 (setjmp.o): Add rule for.
13089 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
13091 Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
13092 Jeffrey A Law (law@cygnus.com)
13094 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
13095 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
13096 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
13097 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
13099 Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
13101 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
13104 * libc/include/sys/config.h: Use __v850 to select v850
13107 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
13110 * libc/include/machine/ieeefp.h: Use __v850 to select v850
13113 Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
13115 * libc/stdlib/setenv.c: change unsetenv definition to match
13116 style of setenv (with _DEFUN). The string should be a const.
13117 * libc/include/stdlib.h: unsetenv proto should return void.
13119 Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
13121 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
13123 Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
13125 * libc/stdio/glue.h: remove.
13126 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
13127 * libc/stdio/Makefile.in: remove glue.h dependencies
13129 Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
13131 * libc/sys/sysnecv850/crt0.S: Created V850e version.
13133 Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
13135 * configure.in (target_cpu): Add `arc'.
13137 Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
13139 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
13140 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
13141 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
13142 * newlib/libc/reent/reent.c: Add _wrapup_reent.
13143 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
13145 Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
13147 * libc/machine/mips/setjmp.S: Handle mips16 builds.
13149 Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
13151 * libc/include/stdio.h (siprintf): Declare.
13153 Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
13155 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
13156 TARGET_CFLAGS and NEWLIB_FLAGS.
13158 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
13160 * configure.in (links): Add support for v850ea target.
13162 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
13164 * configure.in (links): Add support for v850e target.
13166 Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
13168 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
13170 Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
13172 * configure.in (arc-*-*): Add support for.
13173 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
13175 Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
13177 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
13179 Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
13181 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
13182 comparison which accesses invalid memory when the key is
13183 larger than the last member of the array.
13184 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
13186 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
13188 Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
13190 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
13193 Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
13195 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
13196 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
13198 Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
13200 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
13201 to load/store memory.
13203 Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
13205 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
13206 underscores if _WIN32.
13208 Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
13210 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
13211 support ifdef _USE_WRITE missed in last change.
13212 From Anders Blomdell <anders.blomdell@control.lth.se>.
13214 Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
13216 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
13217 (_tmpnam_r, _tempnam_r): Update.
13219 Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
13221 * libc/machine/sparc/setjmp.S: New file.
13222 * libc/machine/sparc/Makefile.in: Add setjmp.
13223 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
13225 Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
13227 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
13229 Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
13231 From Joel Sherrill <joel@oarcorp.com>.
13232 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
13234 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
13235 * configure.in: Recognize *-*-rtems*.
13236 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
13237 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
13238 time.h,times.h,types.h}: New files.
13239 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
13241 Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
13243 patch from sos@prospect.com.ru (Sergey Okhapkin):
13244 * include/sys/wait.h: correct operator precidence bug
13247 Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
13249 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
13250 with newlib's unsetenv function
13251 * libc/sys/cygwin32/sys: new directory for includes
13252 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
13253 here from winsup/include/sys
13255 Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
13257 * libc/include/sys/unistd.h: _exit should only be
13258 labelled noreturn when not __CYGWIN32__
13259 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
13260 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
13263 Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
13265 * libc/include/sys/time.h: Only define timeval and timezone if
13266 _GNU_H_WINDOWS32_SOCKETS is not defined.
13267 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
13269 Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
13271 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
13272 * libc/machine/mn10300/setjmp.S: Likewise.
13274 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
13275 the mn10300 (more relaxing opportunities).
13277 Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
13279 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
13280 Build libraries with -mstrict-align.
13282 Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
13284 * libc/string/strlwr.c: New file.
13285 * libc/string/strupr.c: New file.
13286 * libc/include/string.h: Declare strlwr and strupr.
13287 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
13288 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
13289 (strlwr.o, strupr.o): New targets.
13290 * libc/string/strings.tex: Include strlwr and strupr docs.
13292 * libc/include/sys/types.h: Don't define u_char, et. al., if
13293 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
13294 et. al. Make FD_SETSIZE default 64 rather than 60. Define
13295 _types_fd_set rather than fd_set, and define fd_set as a macro.
13297 * libc/include/malloc.h: New file.
13299 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
13300 strnicmp if they are not already defined.
13302 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
13303 _timezone, _daylight, and _tzname.
13305 Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
13307 * configure.in: Sort all configuration tables.
13309 From Joel Sherrill <joel@oarcorp.com>
13310 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
13312 Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
13314 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
13315 use int when declaring kill.
13317 * libc/include/sys/timeb.h: New file.
13319 Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
13321 * libc/include/sys/time.h: add itimer support for Cygwin32
13323 Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
13325 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
13326 out a message that abort was called to stderr.
13328 Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
13330 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
13331 so that libio doesn't freak.
13333 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
13336 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
13337 memory sizes, not int.
13339 Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
13341 * libm/math/ef_hypot.c: Use long constants where
13343 * libm/math/ef_sqrt.c: Ditto.
13345 * libc/sys/sysmec/times.c(_times): Change to times.
13347 * libc/sys/sysmec/read.c(_read): The third argument is
13349 * libc/sys/sysmec/write.c (_write): Ditto.
13351 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
13352 (_lseek): It's off_t for the second argument.
13354 Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
13356 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
13357 as well as machine/ieeefp.h.
13359 Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
13361 * libc/include/sys/signal.h: add signal protos for winsup
13362 functions (when __CYGWIN32__), include types.h
13363 * libc/include/sys/types.h: Change __go32_types__ internal
13364 define to __MS_types__ since it's used for more than just
13365 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
13367 * libc/include/sys/unistd.h: add ftruncate proto for
13368 winsup functions (when __CYGWIN32__)
13370 Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
13372 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
13374 Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
13376 * libc/include/machine/setjmp.h: Add tic80 support.
13377 * libc/machine/tic80/setjmp.S: Likewise.
13379 Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
13381 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
13382 link programs from libraries only (such as in the X11
13385 Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
13387 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
13388 supplied elsewhere in newlib.
13390 Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
13392 * Makefile.in (INSTALL): Change install.sh to install-sh.
13394 Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
13396 * README: update WWW address for on-line documentation.
13398 Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
13400 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
13403 Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
13405 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
13407 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
13409 Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
13411 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
13412 * libc/sys/d10v/syscalls.c: Likewise.
13413 * libc/sys/h8300hms/sbrk.c: Likewise.
13414 * libc/sys/h8500hms/syscalls.c: Likewise.
13415 * libc/sys/m88kbug/syscalls.c: Likewise.
13416 * libc/sys/sh/syscalls.c: Likewise.
13417 * libc/sys/sysmec/sbrk.c: Likewise.
13418 * libc/sys/sysnecv850/sbrk.c: Likewise.
13419 * libc/sys/w65/syscalls.c: Likewise.
13420 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
13422 Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
13424 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
13425 emulated syscall instead of "trap".
13427 Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
13429 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
13432 Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
13434 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
13436 Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
13438 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
13440 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
13442 * libc/sys/tic80/crt0.c: New file for TIc80.
13443 * libc/sys/tic80/Makefile.in: New file for TIc80.
13444 * libc/machine/tic80/Makefile.in: New file for TIc80.
13446 Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
13448 * libc/machine/sh/memcpy.S: New file.
13449 * libc/machine/sh/memset.S: New file.
13450 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
13452 Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
13454 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
13457 Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
13459 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
13462 Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
13464 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
13465 (patch from andrew@pogo.WV.TEK.COM).
13467 Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
13469 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
13470 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
13472 Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
13474 * configure.in: Add cases for "tic80" to set machine_dir,
13475 sys_dir, and syscall_dir.
13477 Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
13479 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
13481 Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
13483 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
13485 Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
13487 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
13488 Use proper constant prefix.
13490 Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
13492 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
13493 that loses on the mn10200 where ints and pointers are different
13496 Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
13498 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
13499 target as signal is provided in winsup.
13501 Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
13503 * libc/include/sys/process.h: Corrected const definitions
13504 in spawn functions. Added cwait.
13506 Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
13508 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
13510 * libc/include/sys/config.h: Similarly.
13512 Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13514 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
13516 (i[3456]86-*-sco*): Ditto.
13518 * libc/signal/Makefile.in (OFILES): Add signal.o.
13519 (CFILES): Add signal.c.
13521 * libc/signal/raise.c (_raise_r): Only compile code if
13522 SIGNAL_PROVIDED is defined.
13524 * libc/signal/signal.c: Redo whole file so that it works with
13525 current newlib. Use _kill_r if no signal handler provided.
13527 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
13529 * libc/sys/sysvnecv70/Makefile.in: Ditto.
13530 * libc/sys/sysnecv850/Makefile.in: Ditto.
13532 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
13533 * libc/sys/sysmec/{raise,signal}.c: Ditto.
13534 * libc/sys/sysvnecv70/signal.s: Ditto.
13535 * libc/sys/sysnecv850/raise.c: Ditto.
13537 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
13538 simulator and debugger can tell the difference between a signal
13539 being raised and an exit system call.
13541 * NEWS: Document software signals being provided.
13543 Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13545 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
13546 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
13547 include/sys/config.h.
13548 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
13549 Change from 'inpure_data'.
13550 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
13551 &impure_data, not &inpure_data.
13553 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
13554 and and System V ABI, define so that _impure_ptr lives in the
13557 Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13559 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
13560 nothing if not defined.
13561 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
13564 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
13566 Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
13568 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
13569 * libc/sys/sysmec/trap.s: Handle mn10200 too.
13570 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
13572 Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
13574 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
13576 Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
13578 * libc/include/sys/errno.h: Added net errno's.
13580 Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13582 * libc/misc/ffs.c: New file to support ffs function for GCC test
13583 gcc.c-torture/execute/960909-1.c.
13585 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
13587 Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
13589 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
13590 * libc/sys/sysmec/trap.S: Likewise.
13592 Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
13594 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
13595 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
13597 Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
13599 * libc/sys/sysmec/signal.c: Dummy file.
13600 * libc/sys/sysmec/Makefile.in: Build it.
13602 Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
13604 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
13607 Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
13609 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
13610 c-startup and simulator traps.
13613 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
13614 * libc/sys/sysmec/trap0.S: Likewise.
13616 Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13618 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
13619 round to double word alignment.
13620 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
13623 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
13625 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
13628 Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
13630 * configure.in: Handle mn10200 and mn10300.
13631 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
13632 * libc/include/sys/config.h: Likewise.
13633 * libc/sys/sysmec: New directory for mec stuff.
13634 * libc/machine/mn10300: New directory for mn10300 stuff.
13635 * libc/machine/mn10200: Similarly for mn10200 stuff.
13637 Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
13639 * libc/sys/arm/crt0.S: Use .text, not .section .text.
13640 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
13642 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
13643 (nlink_t): Change type from unsigned int to unsigned short.
13644 (mode_t): Ensure size is 32 bits even if int is 16.
13645 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
13646 (st_spare[123]): Change type from int to long.
13648 Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13650 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
13653 * configure.in (d10v*): Define SMALL_MEMORY.
13655 Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13657 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
13658 -mrelocatable-lib and -mno-eabi flags.
13660 Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
13662 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
13663 Fix handling of mis-aligned source operand when both the
13664 destination & length are properly aligned.
13666 Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
13668 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
13669 times.o, time.o and gettime.o
13670 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
13671 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
13674 Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
13676 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
13677 * libc/sys/sysnecv850/access.c: New file.
13679 Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
13681 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
13683 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
13686 Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
13688 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
13690 Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
13692 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
13693 * libc/include/sys/config.h: Add m32r support.
13695 Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
13697 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
13700 Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
13702 * libc/include/machine/setjmp.h: Add D10v support.
13704 Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
13706 * configure.in: Configure the "libc/syscalls" directory for
13709 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
13710 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
13711 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
13712 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
13713 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
13715 Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
13717 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
13718 stack for args for main and other routines. Zero out args for
13721 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
13724 Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13726 * libc/stdio/findfp.c (std): Remove extraneous ';' after
13729 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
13731 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
13732 real system calls now.
13734 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
13735 before casting them to int.
13736 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
13738 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
13740 * libc/string/memset.c (memset): Ditto.
13742 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
13743 first convert ints to _POINTER_INT to eliminate GCC warning.
13745 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
13748 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
13749 from 65000 if ints are only 16 bits.
13751 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
13752 from 50000 if ints are only 16 bits.
13754 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
13755 int type that is the same size as a pointer.
13757 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
13759 (get_number): Explicitly cast number to long before shifting by 16
13760 or 24, in case ints are short.
13762 * libc/include/sys/config.h (_POINTER_INT): Define as short.
13764 Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
13766 * libc/string.h: Added ffs, removed swab.
13767 * libc/sys/errno.h: Added EOPNOTSUPP.
13768 * libc/sys/unistd.h: Added swab.
13770 Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
13772 * libc/include/sys/stat.h: Added fchmod.
13773 * libc/include/sys/unistd.h: Added fsync.
13775 Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
13777 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
13778 and ECONNRESET (104) for cygwin32.
13780 Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
13782 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
13783 do the static destructors.
13785 Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
13787 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
13789 Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
13791 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
13792 * configure.in: Recognize m32r-*-*.
13794 Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
13796 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
13797 __rt_stkovf_split_small): Added default software stack overflow
13798 handlers, which just call SWI_Exit.
13799 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
13800 limit initialisation.
13802 Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
13804 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
13806 Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
13808 * libc/include/sys/types.h: Added ssize_t definition.
13810 Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13812 * libc/machine/d10v/setjmp.S: Use ';' for comments.
13813 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
13815 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
13816 branch around a single ldi instruction.
13818 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
13819 Call exit, instead of just issuing a stop instruction.
13821 Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13823 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
13825 Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13827 * libc/stdlib/mprec.h: Explicitly declare all large constants as
13828 longs, and then cast them to __uint32_t.
13830 * libc/include/sys/config.h: Protect against multiple inclusions.
13832 Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
13834 * configure.in (d10v*): Set syscall_dir.
13836 Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
13838 * libc/sys/d10v/crt0.S: Set stack pointer.
13840 Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
13842 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
13843 in assembly for efficiency. Change calling convention to allow
13844 long ints to be returned.
13846 Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13848 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
13850 Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
13852 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
13853 Handle empty entries in $PATH.
13855 Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
13857 * libc/machine/d10v/setjmp.S: Make it really work.
13859 Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
13861 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
13862 the .stack section.
13864 Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
13866 * sys/sysnecv850/sys/file.h: Remove.
13867 * sys/sysnecv850/sys/syscall.h: New file.
13868 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
13869 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
13870 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
13871 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
13872 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
13873 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
13874 * sys/sysnec850/trap.S: New file.
13875 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
13877 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
13878 * sys/sysnec850/sbrk.c: New version.
13880 Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
13882 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
13883 as long as r6 is less than r7.
13885 Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
13887 * Makefile.in (mostlyclean): Separate from clean target. Don't
13888 remove *.a or targ-include.
13889 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
13891 Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13893 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
13895 (__SMALL_BITFIELDS): Ditto.
13897 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
13899 Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
13901 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
13904 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
13905 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
13906 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
13907 * libc/sys/sysnecv850/write.c (write): Likewise.
13909 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
13912 Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13914 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
13915 appropriately for D10V, depending on -mint16/-mint32.
13917 Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
13919 * configure.in: Add cases for D10V.
13921 Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13923 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
13925 Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
13927 * libc/include/machine/ieeefp.h: Fix typo.
13929 Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
13931 * libc/sys/d10v: New directory for D10V stuff.
13932 * libc/include/machine/ieeefp.h: Add D10V defines.
13934 Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
13936 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
13937 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
13938 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
13939 * libc/string/strerror.c (strerror): Add them.
13941 Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
13943 * libc/sys/sysnecv850: New directory for v850 stuff.
13945 * libc/machine/v850: New directory for v850 stuff.
13946 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
13948 * configure.in: Add support for the v850.
13950 * libc/include/machine/ieeefp.h: Add v850 defines.
13951 * libc/include/machine/setjmp.h: Likewise.
13952 * libc/include/sys/config.h: Add v850 defines.
13954 Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
13956 * libc/include/machine/ieeefp.h
13957 * libc/include/machine/setjmp.h
13958 * libc/include/sys/fcntl.h
13959 * libc/include/sys/signal.h
13960 * libc/include/sys/types.h
13961 * libc/stdlib/system.c:
13962 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
13963 API availability, __CYGWIN32__ for cygwin32 environment specific).
13965 Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
13967 * libc/include/stdlib.h: add multibyte character functions. Add
13968 __eprintf for assert.
13970 Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13972 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
13973 arithmetic or __alignof__ to properly get the alignment, instead
13974 of hardwiring it to 4.
13976 Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
13978 * libc/stdio/fseek.c: add fflush call to adjust seek offset
13979 on append stream (fix from NetBSD sources), adjust curoff offset
13980 for ungetc's benefit.
13981 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
13982 * libc/stdio/rewind.c: replace code with up to date NetBSD
13983 code to undo hacks made to work around above problem of not
13984 having fflush call mentioned above
13986 Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
13988 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
13989 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
13990 Partially revert last changes. The thread specific errno is set
13991 iff if the underlying syscall fails and the global errno is not
13994 Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
13996 * libc/reent/filer.c: Removed files, all functions have split out
13997 into their own files.
13998 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
13999 New files containing functions formally in filer.c
14000 * libc/reent/Makefile.in: Updated for above change.
14002 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
14003 syscall fails, not if errno is changed.
14004 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
14005 _write_r): Likewise.
14006 * libc/reent/fstatr.c (_fstat_r): Likewise.
14007 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
14008 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
14009 * libc/reent/signalr.c (_kill_r): Likewise.
14010 * libc/reent/statr.c (_stat_r): Likewise.
14011 * libc/reent/timer.c (_gettimeofday_r): Likewise.
14013 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
14014 signalr.c, statr.c, timer.c} (errno): declare extern rather
14017 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
14018 instead of calling vfprintf so that i*printf will not require
14019 floating point support code.
14021 Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
14023 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
14025 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
14026 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
14028 Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
14030 * libc/include/signal.h: _sig_func_ptr function takes an int
14031 * libc/include/sys/signal.h: sa_handler function takes an int
14033 Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
14035 * libc/include/machine/ieeefp.h: Simplify H8/S support.
14036 * libc/include/sys/config.h: Add missing H8/S conditional.
14038 Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
14040 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
14042 Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
14044 * libc/include/machine/setjmp.h: Handle H8/S.
14045 * libc/include/machine/ieeefp.h: Likewise.
14046 * libc/include/sys/config.h: Likewise.
14047 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
14048 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
14049 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
14050 * libc/sys/h8300hms/crt0.S: Likewise.
14052 Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
14054 * Makefile.in (datadir): Set to $(prefix)/share.
14055 (oldincludedir, docdir): Removed.
14056 * doc/Makefile.in (datadir): Set to $(prefix)/share.
14057 (oldincludedir, docdir): Removed.
14058 * libc/Makefile.in (datadir): Set to $(prefix)/share.
14059 (oldincludedir, docdir): Removed.
14060 * libm/Makefile.in (datadir): Set to $(prefix)/share.
14061 (oldincludedir, docdir): Removed.
14063 Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
14065 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
14068 Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
14070 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
14071 fetch current path rules with sysconf and handler posix/win32
14074 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
14076 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
14077 (WAIT_CHILD): Always define.
14079 Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
14081 * libc/stdlib/eprintf.c: New file.
14082 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
14083 (eprintf.o): New target.
14085 Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
14087 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
14088 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
14090 Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
14092 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
14093 NT in PowerPC endianess cases.
14095 Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14097 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
14099 Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14101 * libc/string/strtok.c: Fix doc typo.
14103 Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14105 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
14106 _next, _scanpoint, _signgam fields.
14108 * libc/include/stdlib.h (rand_r): Added new declaration.
14109 (_rand_r, _srand_r): Removed declarations.
14110 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
14111 have been made obsolete by rand_r.
14112 * libc/stdlib/rand_r.c: New file, rand_r function as specified
14115 * libc/string/strtok.c: Update documentation to describe
14118 Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
14120 * libc/include/sys/stat.h (stat structure): Use the expanded stat
14121 structure on Solaris, and PowerPC systems even though __svr4__ is
14124 Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
14126 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
14128 Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
14130 * host/any: Use ../.. rather than .. to get to the main build
14131 directory. This matches the current layout of the build
14134 Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
14136 * libc/machine/h8300/__main.S: Delete. No longer needed.
14137 * libc/machine/h8300/Makefile.in: Corresponding changes.
14138 * libc/sys/h8300hms/crt1.c: New file.
14139 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
14140 * libc/sys/h8300hms/crt0.s: Call __main.
14142 * libc/sys/h8300hms/crt0.S: Use temporary label names
14143 for branch targets.
14145 Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
14147 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
14149 Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14151 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
14152 .sdata on the PowerPC so that we can link newlib with code
14153 compiled with -msdata.
14155 Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
14157 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
14159 Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
14161 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
14162 exception handler to __cygwin_exception_handler.
14164 Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
14166 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
14168 Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
14170 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
14172 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
14173 wcstombs.o): Likewise.
14175 Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
14177 * libc/stdlib/environ.c (initial_env): New static local.
14178 (environ): Point to `initial_env'.
14180 * libc/include/machine/setjmp.h: Clean up.
14181 (__H8300H__,__PPC__): Define _JBTYPE.
14182 (__arm__): Provide entry for.
14183 (sigjmp_buf): Delete.
14184 (jmp_buf): Use _JBTYPE if defined, otherwise int.
14186 Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
14188 * libc/machine/h8300/strcmp.S: Sign extend the result to
14189 32bits so we don't lose with -mint32.
14191 Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
14193 * libc/sys/go32/sys/errno.h: New file.
14194 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
14195 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
14196 errno's address (make compatible with rest of newlib).
14197 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
14198 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
14200 Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
14202 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
14203 * libc/machine/sparc/Makefile.in: Build them.
14204 * libc/machine/sparc/machine/sparclet.h: New file.
14206 Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14208 * libc/machine/sh/asm.h: New file.
14209 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
14210 support for SH3e's FP registers. Use asm.h.
14212 Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
14214 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
14215 as first argument. Call _dtoa_r and pass the reent structure
14216 instead of calling __dtoa.
14218 Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
14220 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
14221 the h8300, h8500, and others. Add comments for some rather
14224 Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
14226 * Makefile.in (check): Check that testsuite exists before cd.
14228 Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14230 * libc/include/string.h (strsep): Correct prototype.
14232 Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
14234 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
14235 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
14236 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
14238 Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
14240 * libc/posix/{creat.c,isatty.c}: New files.
14241 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
14243 * libc/sys/sparc64/crt0.S (environ): Delete.
14244 (.LHaveBias): Renamed from HaveBias.
14246 Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
14248 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
14249 (_morecore_r): Delete SBRK_IS_ALLOC support.
14251 Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14253 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
14254 module rather than touch, so we don't get warning messages when
14255 all of the libraries are combined into libc.a.
14257 Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
14259 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
14260 crt0.s replaced by version in libgloss.
14262 Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14264 * libc/reent/Makefile.in (OFILES): Add impure.o.
14265 * libc/reent/impure.o: New file, define initial reentrancy struct.
14266 * libc/reent/reent.c: Remove above definition.
14268 * libm/math/sf_asinh.c: Fix typo.
14270 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
14273 * libm/libm.texinfo: Change documentation to reflect changes
14274 in reentrancy model.
14275 * libm/math/w_gamma.c: Likewise.
14277 Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
14279 * configure.in (*-*-cygwin32): New.
14280 (*-*-win32): Deleted.
14281 * libc/sys/win32 renamed libc/sys/cygwin32.
14283 Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14285 * libc/include/sys/file.h: New include file.
14287 Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
14289 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
14291 Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
14293 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
14295 Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14297 * doc/makedoc.c (realloc): Declare at file scope.
14298 (catchar): Not here.
14300 Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
14302 * Makefile.in (VERSION): Update to 1.7.0.
14303 * {libc,libm}/Makefile.in (VERSION): Likewise.
14304 * configure.in: Minor clean up of multilib stuff.
14306 From David Johnson <davidj@ICSI.Berkeley.EDU>
14307 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
14309 * libc/stdlib/environ.c: New file.
14310 * libc/stdlib/Makefile.in (OFILES): Build it.
14311 * libc/sys/h8500hms/crt0.c (environ): Deleted.
14312 * libc/sys/m88kbug/crt0.c (environ): Deleted.
14313 * libc/sys/z8ksim/crt0.c (environ): Deleted.
14314 * libc/sys/netware/environ.c: Deleted.
14316 Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
14318 * configure.in (links): set sys_dir, posix_dir, syscall_dir
14320 Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
14322 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
14323 declaration out to external scope and declare it PTR, not char *.
14325 Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
14327 * libc/include/sys/unistd.h (getpagesize): New declaration.
14328 (_SC_PAGESIZE): New definition.
14329 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
14330 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
14332 Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
14334 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
14335 addressing. System call returns size, not (last address + 1).
14337 Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14339 * libm/math/*.c: Removed _foo_r() reentrancy API.
14340 * libc/include/math.h: Removed _foo_r prototypes and macros.
14342 * libm/math/*.c: On systems with IEEE single precision "doubles"
14343 move foo() -> foof() wrapper code from the files that implement
14344 the standard IEEE double precision functions to the files that
14345 implement IEEE single precision functions. (ie. On those systems
14346 sin is moved from s_sin.c to sf_sin.c). There should eventually
14347 be use of a C extension (like gcc's alias attribute) so that the
14348 wrappers are not needed at all.
14350 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
14351 strict NEC V810 compiler.
14352 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
14355 Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14357 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
14358 from NetBSD C library.
14359 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
14361 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
14362 and adapted from implementation I wrote for NetBSD C library.
14363 The difference is __assert doesn't take a format argument,
14364 so that there won't be multiple copies of the same string
14365 constant in the executable if assertions are enabled in
14366 more than one source module.
14367 * libc/include/assert.h (assert): Changed to call __assert.
14369 Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14371 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
14372 word1 on systems with 32 bit doubles.
14373 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
14374 so that we can do arithmetic on them.
14375 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
14378 Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
14380 * libc/sys/arm/crt0.S: Zero bss.
14382 Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
14384 * libc/include/unctrl.h: New file.
14385 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
14386 * configure.in (subdirs): Add libc/misc.
14387 * libc/Makefile.in (SUBDIRS): Add misc.
14388 (SUBLIBS): Add misc/lib.a.
14390 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
14392 Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
14394 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
14395 (_vfprintf_r): Call CHECK_INIT.
14397 Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
14399 * Makefile.in (MULTITOP): Delete.
14400 (MULTISRCTOP, MULTIBUILDTOP): Add.
14401 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
14402 instead of cfg-ml-pos.in.
14404 Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
14406 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
14407 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
14410 Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
14412 * libc/string/strtok.c: Include string.h to pick up strtok_r
14415 Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14417 * libc/string/strtok.c: include <_ansi.h>.
14418 * libc/time/asctime_r.c: `reresult' -> `result'.
14420 Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14422 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
14423 in #ifndef _REENT_ONLY ... #endif conditional.
14425 * libc/include/string.h (_strtok_r): Remove declaration.
14426 * libc/include/time.h (_asctime_r): Remove declaration.
14427 * libc/string/strtok.c (_strtok_r): Removed.
14428 * libc/time/asctime.c (_asctime_r): Removed.
14430 * libc/string/Makefile.in (OFILES): Add new object.
14431 * libc/string/strtok_r.c: New file. strtok_r function as
14432 specified by POSIX.1c, adapted from strtok implementation
14433 from NetBSD C library.
14434 * libc/string/strtok.c (strtok): Reimplemented in terms of
14437 * libc/time/Makefile.in (OFILES): Add new objects.
14438 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
14439 New files, reentrant time functions specified by POSIX.1c.
14440 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
14441 reentrant time functions re-written in terms of reentrant
14443 * libc/time/lcltime.c: Renamed from localtime.c
14445 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
14446 gmtime_r, and localtime_r.
14448 Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
14450 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
14451 * libc/include/sys/unistd.h (getlogin): Revert change of
14453 * libc/include/sys/signal.h (sigprocmask): Change prototype
14454 so it compiles with c++.
14456 Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
14458 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
14459 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
14460 to give some room in case we need to align the jmp_buf.
14462 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
14463 the new ppc-asm.h include file the compiler provides to specify
14464 function prologue/epilogue. Eliminate saves of the xer and ctr
14465 registers, which are volatile. Before starting to save registers,
14466 align to 8 byte boundary.
14468 Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
14470 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
14471 referenced by standard libraries.
14473 Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
14475 * libc/unix/Makefile.in, libc/string/Makefile.in,
14476 libc/stdio/Makefile.in, libc/reent/Makefile.in,
14477 libc/posix/Makefile.in:
14478 Remove tabs from otherwise empty line. Confuses some
14479 older non-GNU versions of "make".
14481 Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
14483 * libc/sys/unistd.h (getlogin): Returns const char *.
14485 Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
14487 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
14488 * libc/include/errno.h: Moved into and include...
14489 * libc/include/sys/errno.h: New file.
14490 * libc/include/sys/wait.h: New file.
14491 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
14492 * libc/sys/win32/*: Moved out.
14493 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
14494 * configure.in (i[345]86-*-win32): HAVE_RENAME
14496 Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
14498 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
14499 avoid macro expansion for these two names.
14501 Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
14503 * libc/machine/h8500/psi.S: r6 renamed to fp.
14505 Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
14507 * configure.in (powerpc*): No longer need to define
14508 NO_LONGLONG_POINTERS to supress warnings.
14510 Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
14512 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
14513 through PTR instead of directly.
14515 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
14516 non-standard constructor support.
14518 Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14520 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
14521 address of the Bigint instead of the address of its _x field,
14522 as the size the result buffer was calculated accordingly.
14523 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
14525 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
14526 from NetBSD C library. No longer special cases division by
14527 zero (which needs to be done by the application anyway), but
14528 it doesn't need to call abs() (or labs()) four times either.
14530 * libc/stdlib/qsort.c: Replaced with implementation from
14533 Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14535 * libc/stdio/vfprintf.c: Replaced with implementation from
14536 NetBSD C library (which is derived from the 4.4BSD C library).
14537 * libc/stdio/cvt.c: Removed.
14538 * libc/stdio/Makefile: Updated.
14540 Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
14542 * libc/sys/win32/syscalls.c (rename): New.
14543 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
14545 Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
14547 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
14548 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
14550 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
14551 (setjmp.o): Delete rule to build setjmp.o.
14552 * libc/sys/sh/setjmp.S: Delete file.
14554 Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14556 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
14557 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
14558 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
14559 pow5mult and s2b to identifiers with leading underscores.
14560 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
14561 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
14563 Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
14565 * libc/sys/posix/popen.c (sys/types.h): Include.
14567 Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
14569 * libc/sys/win32/syscalls.h (fhandler): New struct.
14570 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
14571 (__fhandler_normal): Declare.
14572 (hinfo): New member op_handlers.
14573 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
14574 (__write): Likewise.
14575 (_read, _write, _open, _close, _lseek): Validate fd here.
14576 Move file type specific stuff to foo_normal.
14577 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
14579 (__lookup_fhandler): New function.
14580 (__lookup_fhandler_hook, __fhandler_normal): New variables.
14582 From anders.blomdell@control.lth.se (Anders Blomdell)
14583 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
14584 Don't touch standard handles.
14585 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
14586 (_execve): Only create __FD_TABLE__ if necessary.
14587 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
14589 Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
14591 * libc/sys/win32/sys/termios.h (FLUSHO): New.
14592 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
14593 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
14594 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
14595 without a handler is received.
14596 * libc/sys/win32/Makefile.in: Remove --nodelete.
14597 * libc/sys/win32/resouce.c (gettimeofday): New.
14598 * libc/sys/win32/syscalls.c (path_to_real_path): New.
14599 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
14601 Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
14603 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
14604 Don't append "/*" to search pattern if trailing '/' already there,
14606 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
14607 like /'s, convert them to \'s. Handle //<drive>/ path names.
14608 Add space for quoted \'s in arg string. Print translated prog name
14609 and original prog name.
14610 (_execve): Handle parent doing exec a teensy bit better.
14611 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
14612 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
14613 path needs conversion, handle both cases. Delete `const' from result.
14614 (hash_path_name): New function.
14616 (_stat): Likewise. Fill in more fields for directories.
14617 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
14618 (wait_for_any): Fix trace message.
14619 (waitpid): Explicitly test for intpid == 0.
14621 From anders.blomdell@control.lth.se (Anders Blomdell)
14622 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
14623 so `next' is valid.
14625 Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
14627 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
14630 Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14632 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
14633 at all, not just == 1.
14634 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
14636 Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14638 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
14639 * libc/sys/win32/include/wintypes.h: include <winnt.h>
14640 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
14643 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
14645 * libc/sys/syscalls.c (getcwd): Fix off by one error.
14647 * libc/sys/signal.c (sleep): Fill it in.
14648 * libc/sys/termios.c (tcflush): Use PurgeComm
14649 (tcsetattr): Set some more of the bits.
14650 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
14652 Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
14654 * libc/sys/arm/crt0.S (fp): Initialize to 0.
14655 Conditionally include .idata$3 stuff ifdef __pe__.
14657 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
14659 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
14660 * libc/sys/win32/pipe.c (pipe): Ditto.
14661 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
14662 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
14663 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
14664 (tcgetattr): Contents are new.
14665 * libc/sys/win32/include/winkernel.h (DCB): New.
14666 (GetCommState, SetCommState): New.
14668 Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
14670 * libc/sys/arm/crt0.S (_start): Define.
14672 Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
14674 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
14675 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
14677 * libc/sys/win32/sysconf.c: New
14678 * libc/sys/win32/sys/winadvapi.h: New
14679 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
14680 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
14681 * libc/sys/win32/pipe.c (pipe): Ditto.
14682 * libc/sys/win32/signal.c (_raise): New.
14683 (_kill): Moved from spawn.c
14684 * libc/sys/win32/spawn.c (kill): Moved to signal.c
14685 * libc/sys/win32/syscalls.c (__read): Use new fields.
14687 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
14688 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
14689 * libc/include/sys/unistd.h (rmdir): Takes const path.
14690 * libc/include/sys/stat.h (mkdir): Takes const path.
14691 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
14693 Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
14695 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
14697 Add support for specifying paths as //<drive>/foo/bar.
14698 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
14699 (__path_to_real_path): Declare.
14700 (PATH_TO_REAL_PATH): New macro.
14701 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
14702 (__path_needs_conversion_p, __path_to_real_path): New functions.
14703 (_open): Fix test for error return from CreateFileA.
14704 Handle new path syntax.
14705 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
14706 * libc/sys/win32/dirsearch.c (opendir): Likewise.
14708 Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
14710 * libc/sys/win32/include/*.h: Reorganized
14711 * libc/sys/win32/include/WINREADME: New.
14712 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
14713 * libc/sys/win32/*.c: Fix for new include scheme.
14714 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
14715 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
14716 * libc/sys/win32/passwd.c (*): Fix.
14717 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
14718 (_stat): Get directory owner and permissions right.
14719 * libc/sys/win32/syscalls.h (uinfo): New.
14720 * libc/sys/win32/version.def: Remove leading underscores.
14722 Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14724 * libc/sys/win32/key.c: include "include/wincon.h".
14726 Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
14728 * libc/sys/win32/{key, stubs}.c: New.
14729 * libc/sys/win32/Makefile: Adjust to cope.
14730 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
14731 (environ_init): Change env names to upper case.
14732 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
14733 * libc/sys/win32/passwd.c (*): Fill in the functions.
14734 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
14735 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
14736 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
14737 (_open): Initialze hmap->execable_p too.
14738 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
14739 (_fstat): Fill in permissions.
14740 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
14742 Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
14744 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
14746 (cfg-ml-pos.in invocation): Likewise.
14748 Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14750 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
14751 s_isnan.o and sf_isnan.o.
14753 Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
14755 * All Makefile.in files: added maintainer-clean target as a
14756 synonym for realclean.
14758 Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
14760 * libc/include/machine/setjmp.h: Add hppa support.
14761 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
14763 * libc/machine/hppa/Makefile.in: Related changes.
14765 Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
14767 * configure.in (machine_dir): Don't set for v810-*-*.
14769 Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14771 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
14772 conventions correctly.
14774 Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
14776 * libc/stdio/puts.c: Update documentation of return value to match
14779 Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
14781 Fix file descriptor inheritance.
14782 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
14783 (NOT_OPEN_FD): Fix.
14784 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
14785 close-on-exec flag not set. Initialize child's entire fd table.
14786 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
14788 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
14789 if CHILD_P. Initialize entire hmap entry.
14790 (dup): Only create new handle as inheritable if CHILD_P.
14791 (dup2): Likewise. Properly initialize hmap entry.
14793 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
14795 (_exit): Use CHILD_P.
14796 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
14799 Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14801 * libc/sys/win32/crt0.c (passover): fix up the state table.
14802 * libc/posix/popen.c: Added.
14803 * libc/posix/Makefile.in: compile popen.c.
14805 Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
14807 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
14808 h8/500 define _DOUBLE_IS_32BITS.
14810 Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
14812 Get vfork/exec/spawn/cwait/wait working again.
14813 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
14814 (procinfo): New member vfork_level.
14815 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
14816 (vfork_init_first): Use GetCurrentProcessId to get pid.
14817 Initialize vfork_level.
14818 (vfork_init): Delete __PID__.
14819 (environ_init): New function. Undo patch of Aug 19, Posix says
14820 environment variables are case sensitive.
14821 (mainCRTStartup): Call it.
14822 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
14823 (my_longjump: Make static.
14824 (_spawn): New argument `h'. Delete setting of __PID__.
14825 Delete local `idx'. Look for chars that need quotes, rather than
14826 ones that don't. Set handle of created process in `h'.
14827 Result is process id if created task.
14828 (allocate_spawn_entry): New function.
14829 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
14830 (_execve): Set __FD_TABLE__ before spawning child.
14831 Scan our fd table when passing fds, not our parent's.
14832 Store handle and pid in procinfo entry.
14833 (vfork0): Ensure strace message always printed.
14834 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
14835 (vfork): Don't clobber result of vfork0.
14836 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
14837 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
14839 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
14841 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
14842 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
14843 adding vfork level to pseudo-pid.
14844 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
14845 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
14846 (_exit): If child, set exit code.
14847 (__vfork_record_death): Only close process handle if valid.
14848 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
14850 (wait_for_any): Likewise. Start scan after root entry.
14852 Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14854 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
14855 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
14856 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
14857 of actual file length.
14859 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
14860 * libc/include/paths.h: _PATH_BSHELL added.
14861 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
14864 Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14866 * libc/include/ar.h: Added.
14867 * libc/include/sys/types.h: ino_t goes back to 32-bits.
14868 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
14869 * libc/sys/win32/syscalls.c (_open): compute .namehash based
14871 (_fstat): use .namehash for inode number of the fd.
14873 Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
14875 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
14876 Change hinfo to __this_procinfo.
14877 * libc/sys/win32/crt0.c: Remove procinfo_list.
14879 Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14881 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
14884 Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14886 * libc/sys/win32/include/grp.h: Removed.
14887 * libc/sys/include/grp.h: Added.
14888 * libc/sys/win32/grp.c: Include <grp.h>.
14890 Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
14892 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
14893 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
14894 Defined for all but strict ANSI.
14895 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
14896 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
14897 * libc/signal/signal.c (_signal_r): Changed from using
14898 _MAX_SIGNALS to NSIG.
14899 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
14901 (__strace, __vfork_next_pid): New.
14902 (__exe_suffix): Default to 1.
14903 (passover, table): Understand quoted arguments.
14904 (vfork_init_first): New.
14905 (vfork_init): Initialize new process structure.
14906 (mainCRTStartup): Pass environ to main.
14907 * exceptions.c (__sig_mask): New
14908 (ehandler3): Ignore signals in mask.
14909 (really_exit): Remove CHILD_P test.
14910 * pipe.c (pipe, dup, dup2): Use new process and file structure.
14911 * resource.c (getrusage): Ditto.
14912 * signal.c (sigprocmask): New.
14913 * spawn.c (*): Rewritten.
14914 * syscalls.c (*): Use new process and file structure.
14915 (find_unused_handle): New.
14916 * syscalls.h (MAX_HANDLES): Deleted.
14917 (hinfo): Removed child_created_p.
14918 (MAX_CHILDREN): Deleted.
14919 (vfork_jmp_info, procinfo): New.
14920 * wait.c (*): Mostly new.
14921 * sys/strace.h (_STRACE_PARANOID): New.
14922 * sys/param.h: New file.
14924 Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14926 * libc/include/sys/stat.h: add S_BLKSIZE.
14927 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
14928 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
14930 (mode_t): add a #else to avoid multiple definitons.
14932 * libc/sys/win32/Makefile.in: add grp.c.
14933 * libc/sys/win32/grp.c: include grp.h correctly.
14934 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
14935 of the st structure with real information.
14936 * libc/sys/win32 (dirent): d_ino is of type ino_t.
14938 Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
14940 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
14941 and (maybe) sparc64.
14942 (nlink_t): Provide typedef.
14944 Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14946 * libc/sys/win32/grp.c: New file.
14947 * libc/sys/win32/include/grp.h: New file.
14949 Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14951 * libc/include/machine/ieeefp.h: Added whitespace to make this
14952 file easier to maintain.
14953 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
14954 depending on the value of __LITTLE_ENDIAN__.
14955 On the sh3e, define _DOUBLE_IS_32BITS.
14957 Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
14959 * libc/sys/vr4300/syscalls.c: Added missing support
14960 routines. _raise() and getpid().
14962 Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
14964 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
14966 Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
14968 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
14969 and VR4300 processor.
14970 * libc/sys/vr4300: Add directory.
14971 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
14972 monitor run-time support.
14974 Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14976 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
14977 * libc/stdlib/stdlib.tex: Don't include atol.def.
14979 Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14981 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
14983 Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
14985 * libc/ctype/Makefile.in: Fill in _to* dependencies.
14987 Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
14989 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
14990 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
14991 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
14992 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
14993 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
14995 Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14997 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
14999 Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15001 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
15002 * libc/stdlib/atoff.c: New file.
15003 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
15004 * libc/stdlib/atoi.c (atol): Removed.
15005 * libc/stdlib/atol.c: Removed duplicate documentation.
15007 * libc/include/ctype.h (_tolower, _toupper): Moved inside
15008 #ifndef _STRICT_ANSI conditional.
15009 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
15010 * libc/ctype/_tolower.c: New file.
15011 * libc/ctype/_toupper.c: New file.
15012 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
15013 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
15014 * libc/ctype/toascii.c (_toascii): Removed.
15016 Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
15018 * libc/sys/sparc64/sys/types.h: Deleted.
15020 Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15022 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
15023 and recognize Windows_95 systems.
15025 Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15027 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
15028 and passed fds should be opened in text mode.
15030 Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15032 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
15033 in __hmap, set to binary mode by default.
15035 Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15037 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
15038 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
15041 Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
15043 * Makefile.in (install): Install all libraries found in the
15044 top level. If there's a sys/<type>/include directory,
15045 install those headers into include.
15047 * libc/sys/win32/kernel.def351: Delete
15048 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
15049 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
15050 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
15051 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
15052 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
15053 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
15054 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
15055 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
15057 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
15058 * libc/sys/win32/crt0.c: Force all env names to upper case.
15059 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
15060 * libc/sys/win32/*.c: Headers have moved.
15061 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
15062 __vfork_child_idx is now __vfork_child_ptr.
15064 * posix/execvp (execvp): Don't crash if no PATH envname.
15066 Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15068 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
15069 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
15070 through the _freelist instead of through the _reclaim list.
15071 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
15072 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
15075 Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15077 * libc/machine/h8500/setjmp.S: New file.
15078 * libc/include/machine/setjmp.h: Updated for H8/500.
15080 Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
15082 * libc/sys/win32/syscalls.c (_open): More stracing.
15083 (_stat): Open the file in O_BINARY.
15085 Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15087 * libc/machine/h8300/setjmp.S: New file.
15088 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
15090 Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
15092 * libc/sys/win32/crt0.c (__exe_suffix): New global.
15093 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
15094 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
15095 __exe_suffix. Free fd_tab after setting env variable.
15096 (spawnv,_execve): Update.
15097 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
15098 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
15099 (__small_vfprintf): New function.
15100 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
15101 * libc/sys/win32/wait.c (cwait): Validate argument.
15103 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
15104 (process_deletion_queue): Likewise.
15106 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
15108 Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
15110 * libc/sys/win32: Copyrights and gratuitous indenting.
15112 Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
15114 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
15115 (process_deletion_queue): Likewise.
15116 (__close_all_files): New function.
15117 (_close): Only queue file deletion if really a file.
15118 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
15120 (_exit): Call __close_all_files.
15122 * libc/stdlib/system.c: #include <errno.h>.
15123 (_system_r): Fix results in -DNO_EXEC case.
15125 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
15126 Reorganize structure.
15127 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
15128 if argument is valid. Save directory name in DIR. malloc space
15129 for dirent struct separately.
15130 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
15132 * libc/include/errno.h (ENAMETOOLONG): Define.
15133 * libc/string/strerror.c (strerror): Reword ENFILE.
15134 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
15136 Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
15138 * libc/sys/win32/crt0.c (__progname): New global.
15139 (mainCRTStartup): Support strace=bitmask,filename.
15140 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
15141 * libc/sys/win32/syscalls.c (_write): Print parent trace message
15143 (getcwd): Handle len too small. Convert '\\' to '/'.
15144 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
15145 Add prototypes for open, creat, fcntl.
15146 (O_APPEND): Change value to conform to Microsoft's value.
15147 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
15149 * libc/stdlib/getopt.c: New file.
15150 * libc/stdlib/Makefile.in: Build it.
15152 Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
15154 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
15155 Fix scanning of $PATH.
15156 * libc/posix/exec*.c: Call _execve, not execve.
15157 * libc/posix/execve.c: New file.
15158 * libc/posix/Makefile.in (OFILES): Add execve.o.
15160 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
15161 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
15162 (_STRACE): If level==0, always print. Handle new bit mask scheme.
15163 * libc/sys/win32/crt0.c: Update _STRACE calls.
15164 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
15166 * libc/sys/win32/smallprint.c (rn): Fix digit list.
15168 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
15169 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
15170 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
15171 Print __seterrno trace message first.
15172 (_execve): Renamed from execve.
15173 (vfork): Update __strace usage.
15174 (__vfork_child_pid): Deleted.
15175 (__vfork_children, __vfork_child_idx): New globals.
15176 (_spawnvp): New function.
15177 (spawnvp, spawnv, _execve): Call _spawnvp.
15178 (init_child): Record child in __vfork_children.
15179 (__vfork_get_entry, __vfork_record_death): New functions.
15180 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
15181 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
15182 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
15183 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
15184 (children): New typedef.
15185 (__vfork_children,__vfork_child_idx): Declare.
15186 (__vfork_get_entry,__vfork_record_death): Declare.
15187 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
15188 (waitpid): Handle pid == -1.
15189 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
15190 * configure.in (i386-win32): Add -DNO_FORK.
15191 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
15192 * libc/reent/execr.c (_fork_r): Likewise.
15193 * libc/stdlib/system.c (do_system): New function.
15194 If WIN32, try to get shell path from $SH_PATH, use vfork.
15195 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
15196 otherwise return 0.
15198 Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
15200 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
15201 * libc/sys/win32/fcntl.h: Don't include self.
15202 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
15203 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
15204 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
15205 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
15206 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
15207 Correct prototypes.
15208 * libc/sys/win32/strace.c: New file.
15209 * libc/sys/win32/smallprint.c: New file.
15210 * libc/sys/win32/crt0.c (func): Delete.
15211 (mainCRTStartup): Fix alloca usage. Set handles explictly.
15212 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
15213 * libc/sys/win32/exceptions.c: Lint.
15214 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
15215 Clean up handle usage.
15216 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
15217 (open.c): Default file type is text.
15218 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
15219 * libc/sys/win32/advapi32.def: New
15221 Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
15223 * configure.in (posix_dir, libc_posix_lib): New variables.
15224 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
15225 (i[345]86-*-win32): Define posix_dir.
15226 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
15227 (if unix_dir): Fix typo.
15228 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
15229 scandir,seekdir,telldir}: New files.
15230 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
15232 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
15233 (SUBDIRS): Add posix.
15234 (SUBLIBS): Add $(LIBC_POSIX_LIB).
15236 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
15237 (NSIG): Increase to 21.
15238 * libc/include/sys/unistd.h (pid_t): Move from here,
15239 * libc/include/sys/types.h (pid_t): to here.
15241 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
15242 (__ptrace): Delete.
15243 (hinfo): New members close_exec_p, child_created_p.
15244 (struct exception_list): Define.
15245 (__hmap): Redefine as pointer to table.
15246 (__parent_hmap, __child_hmap): New globals.
15247 (__set_errno, __really_exit): Declare.
15248 (__vfork_child_pid): Declare.
15249 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
15250 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
15251 (__parent_hmap, __child_hmap): New globals.
15252 (__hmap): Redefine as pointer to active map.
15253 (__get_console): New function.
15254 (mainCRTStartup): Change leading '=' in environ vars to '!'.
15255 (env __FD_TABLE__): Watch for this and initialize our fd/handle
15256 mapping table from it if defined.
15257 (argv, envp): Dump if __strace >= 4.
15259 * libc/sys/win32/exceptions.c (myp): Redefine.
15260 (__syscalls_b): Delete.
15261 (__stack_trace): New function.
15262 (ehandler3): Update to use _STRACE. Print stack trace.
15263 Call __really_exit instead of exit.
15264 (init_exceptions): Delete args argc,argv. New arg mine.
15265 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
15266 FindFirstFileA, FindNextFileA, GetComputerNameA,
15267 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
15268 * libc/sys/win32/signal.c (signal): Validate arg.
15269 (alarm, sleep): Define as stubs for now.
15270 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
15271 (__syscalls_b, errno): Delete.
15272 (__vfork_child_pid, __vfork_jmp_buf): New globals.
15273 (__seterrno): Handle more errors.
15274 (__sys_printf): Renamed from _ptrace.
15275 (__really_exit): New function.
15276 (queue_file_deletion, process_deletion_queue): New functions.
15277 (__resume_parent): New function.
15278 (_unlink): Handle trying to delete open file.
15279 (__totime_t): Renamed from totime_t.
15280 (setsid, __read, __write): New functions.
15281 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
15282 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
15283 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
15284 * libc/sys/win32/console.c: Update to new definition of __hmap.
15285 * libc/sys/win32/Makefile.in: Build new files.
15286 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
15287 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
15288 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
15289 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
15291 Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
15293 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
15295 Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15297 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
15298 have been made to the master dtoa.c sources (from netlib.att.com)
15299 since they were integrated into newlib in early 1992. Fixes
15300 problems with storage leaks and handling of numbers with very
15301 negative exponents.
15303 Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15305 * Makefile.in (all): set rootpre and srcrootpre before calling
15308 Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
15310 * libc/sys/win32/crt0.c: Change __hmap usage.
15311 * libc/sys/win32/exceptions.c: Use _ptrace call.
15312 * libc/sys/win32/syscalls.c: Use _ptrace call.
15313 (read, write): Cope with DOS style CRLF when in TEXT mode.
15314 * libc/sys/win32/syscalls.h: Declare hinfo struct.
15315 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
15316 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
15317 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
15318 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
15320 Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15322 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
15324 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
15325 wrappers for hypot() and remainder() for BSD libm compatibility.
15326 These are public domain implementations written by me for the
15327 NetBSD libm some time ago. Note cabs() is required by ucbtest.
15328 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
15329 (fobj): Added wf_cabs.o and wf_drem.o.
15331 Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15333 * libc/sys/h8500hms/misc.c: New file.
15334 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
15336 Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15338 * libc/time/localtime.c (localtime): Fix problem with leap year
15339 handling. Stole algorithm from Arthur David Olson's tz code.
15341 Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
15343 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
15345 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
15346 (_exit): Use argument.
15348 Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
15350 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
15352 Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
15354 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
15356 Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15358 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
15361 Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
15363 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
15364 ptrace with case insensitivity
15365 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
15366 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
15369 Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
15371 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
15372 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
15373 (all, install, *clean): Use new multilib support.
15374 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
15376 Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
15378 * libc/include/sys/signal.h (__WIN32__): New.
15380 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
15382 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
15383 (ulp, b2d): Handle 32 bit doubles.
15384 * libc/stdlib/mprec.h: Handle 32 bit doubles.
15385 * libc/stdlib/strtod.c (_strtod_r): Ditto.
15387 Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
15389 from medp@primag.co.uk:
15390 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
15391 dynamically allocated buffers.
15393 Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
15395 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
15396 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
15398 Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15400 * configure.in (powerpc): Fix previous fix.
15402 Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15404 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
15405 directories for this target.
15407 Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
15409 * configure.in (hppa): Add machine_dir definition.
15410 * libc/machine/hppa: New directory with PA specific implementations
15411 of the basic memory/string functions.
15413 Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15415 * configure.in: Update current PowerPC multilib directories.
15416 Split big and little endian configurations.
15418 Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
15420 * configure.in: Add --enable-single-float option to configure to
15421 control use of MIPS single-float directories. Default to yes.
15423 * Makefile.in (all): Don't recurse into multilib directory if it
15426 Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15428 * libc/sys/sh/syscalls.c: Fix typo.
15430 Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
15432 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
15434 * libc/include/process.h: Define WAIT_CHILD.
15435 * libc/include/types.h: Get sizes right for win32.
15436 * configure.in (i386-*-pe): Becomes i386-win32.
15437 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
15438 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
15439 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
15442 Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
15444 * configure.in (i[345]86-*-pe): New target (NT).
15445 * host/any: DLLTOOL new.
15446 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
15447 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
15448 WIN32 (just enough to cross host the comp-tools).
15450 Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
15452 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
15453 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
15455 Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
15457 * libc/include/machine/ieeefp.h (arm): Change to always be
15458 __IEEE_BIG_ENDIAN (even on little endian ARM's).
15460 Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
15462 * libc/sys/crt0.S: Initialze sp, and call exit after main.
15463 * libc/sys/syscalls.c (abort): New.
15464 * configure.in (arm): Define ABORT_PROVIDED.
15466 Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15468 * configure.in (powerpc): Define multidirs.
15470 Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
15472 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
15474 Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
15476 * configure.in (sparclite): Delete target_cflags. Define multidirs.
15478 Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
15480 * configure.in, libc/include/machine/ieeefp.h: Modified
15482 libc/machine/arm/*, libc/sys/arm/*: New
15484 Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15486 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
15487 __powerpc__ when determining endianness.
15489 Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15491 * configure.in (m68*): Add multidir for the m68332.
15493 * host/any (CC): Fix typo in last change.
15495 Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
15497 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
15498 when determining endianness.
15499 * libc/include/machine/ieeefp.h: Ditto.
15500 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
15503 Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
15505 * libc/include/errno.h (ENOTEMPTY): Define.
15507 Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15509 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
15512 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
15515 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
15516 instead of only when open succeeds. ANSI requires that multiple
15517 calls to tmpnam() result in different files.
15519 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
15520 objects pulled in from /lib/libc.a that must be renamed before
15521 being pulled into newlib. /lib/libc.a's div.o conflicted with
15522 newlib's file with the same name.
15524 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
15526 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
15527 the build tree will only be used if the executables are present
15528 (instead of just the Makefiles).
15530 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
15532 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
15533 versions of these functions that I orignally wrote for the
15535 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
15536 versions I wrote for NetBSD.
15538 Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
15540 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
15541 * libc/sys/sparclite/crt0.s: ditto.
15543 Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
15545 * configure.in: Add soft-float for proelf.
15547 Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
15549 * libc/stdlib/mprec.h (Bcopy): Copy the right number
15552 Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
15554 * Makefile.in (all): Depend on `force'.
15555 * configure.in (syscall_dir): Renamed from fake_sys_dir.
15556 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
15557 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
15558 * libc/Makefile.in: Likewise.
15559 * libc/include/reent.h: Update syscall references.
15560 (_fcntl_r): Add prototype.
15561 * libc/syscalls/*.c #include <reent.h>.
15562 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
15564 Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
15566 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
15567 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
15568 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
15569 (time.h, sys/types.h): Always include (even if MSDOS).
15570 (stat): Fix prototype.
15572 Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
15574 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
15576 Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15578 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
15580 Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
15582 * libc/include/regdef.h: New file.
15583 * libc/machine/mips/machine/regdef.h: New file.
15585 Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
15587 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
15589 Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
15591 * libc/sys/sh/crt0.S: Pass main's return to exit.
15592 * libc/sys/sh/trap.S: Put errno in the right place.
15594 Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
15596 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
15597 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
15598 * libm/math/ef_rem_pio2.c: Likewise.
15599 * libm/math/e_log10.c: Remove unused static one.
15600 * libm/math/ef_log10.c: Likewise.
15601 * libm/math/s_frexp.c: Likewise.
15602 * libm/math/sf_frexp.c: Likewise.
15604 Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
15606 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
15607 longjmp.S: Upgraded.
15608 * libc/sys/go32/sys/setjmp.h: Upgraded.
15609 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
15611 Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
15613 * configure.in: Add many entries to multidirs for mips targets.
15615 Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15617 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
15618 5.2 which fixes bug where jn(-1,x) is three times larger than
15620 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
15622 Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
15624 * libc/sys/w65/sys/syscalls.h: New file
15625 * libc/include/machine/ieeefp.h: W65 support.
15626 * libc/include/sys/config.h: Ditto.
15627 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
15628 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
15629 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
15631 Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
15633 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
15635 Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
15637 * Makefile.in, configure.in: Remove any references to the old
15640 Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
15642 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
15643 uses ... in prototype.
15646 Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
15648 * libc/sys/a29khif/sys/libconfig.h: Remove.
15649 * libc/sys/go32/sys/libconfig.h: Remove.
15650 * libc/sys/sun4/sys/libconfig.h: Remove.
15651 * libc/sys/sysvi386/sys/libconfig.h: Remove.
15652 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
15653 * libc/sys/sparc64/sys/libconfig.h: Remove.
15655 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
15656 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
15657 * libc/include/math.h: Change all uses of _FLOAT_RET and
15658 _FLOAT_ARG to float.
15659 * libm/test/math.c: Likewise.
15660 * testsuite/libm.sac/math.c: Likewise.
15661 * testsuite/libm.sac/working/math.c: Likewise.
15663 Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
15665 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
15666 gcc calls gas with endian option.
15667 * configure.in (sh): Build little endian version too.
15669 Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
15671 * configure.in: Configure big and little endian versions for MIPS
15674 Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
15676 * libc/include/limits.h: Deleted.
15677 * libc/include/machine/limits.h: Deleted.
15679 Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
15681 * ChangeLog: Remove stub directory. This has all been rewritten
15682 and moved to devo/libgloss.
15684 Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
15686 * Makefile.in (dvi): Add to info target, use $@ in sub make.
15687 (docs): Merge into info target.
15688 * libm/Makefile.in (dvi): Add $(srcdir).
15689 * libm/math/Makefile.in (chobjs): Remove underscores from file
15690 names. Texinfo doesn't like them.
15691 (wacos.def, ...): Add explicit targets for all .def files.
15692 * libm/math/math.tex: Remove underscores from @include file names.
15693 * doc/Makefile.in (dvi): Add dummy target.
15694 * testsuite/Makefile.in (dvi): Add dummy target.
15696 Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
15698 * Makefile.in (VERSION): Define. For net newlib releases.
15700 Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
15702 * README: New file.
15704 Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
15706 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
15708 Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15710 * libc/stdlib/setenv.c (_findenv): Declare.
15712 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
15713 fcntl to not use _EXFUN, and change string parameters to open and
15714 creat to be ``const char *''.
15715 * libc/sys/sparc64/sys/fcntl.h: Likewise.
15716 * libc/sys/sparc64/creat.c (creat): Make PATH const.
15717 * libc/syscalls/sysopen.c: Include <fcntl.h>.
15718 (open) Make _FILE const.
15719 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
15720 (_creat): Make PATH const.
15721 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
15722 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
15723 * libc/sys/m88kbug/syscalls.c (open): Likewise.
15724 * libc/sys/sh/syscalls.c (_open): Likewise.
15725 * stub/shared/glue.c (open): Make BUF const.
15726 * stub/ex93x/syscalls.c (open): Make FILENAME const.
15728 Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
15730 * libc/include/errno.h: Add ENMFILE
15731 * libc/include/sys/config.h: Support Z8000.
15732 * libc/include/sys/signal.h: New signals for go32.
15733 * libc/machine/h8500/psi.S (__addpsir0r0): New function
15734 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
15735 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
15736 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
15737 size is variable, depending upon CHUNK_POWER.
15738 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
15740 Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
15742 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
15744 Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15746 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
15748 Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15750 * configure.in: Change i[34]86 to i[345]86.
15752 * libc/include/math.h: Don't define HUGE_VAL if it is already
15755 Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15757 * testsuite/libm.sac/test_erfc.c: Correct some result values.
15758 * testsuite/libm.sac/test_gammaf.c: Likewise.
15759 * testsuite/libm.sac/test_sin.c: Likewise.
15760 * testsuite/libm.sac/test_tanh.c: Likewise.
15762 Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15764 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
15765 already set. Define typedefs __int32_t and __uint32_t.
15766 * libc/include/math.h: Include <machine/ieeefp.h>.
15767 (union __dmath): Use __uint32_t.
15768 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
15769 instead of int and unsigned int.
15771 Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15773 Replace the math library with the SunPRO fdlibm package.
15774 * libm/math: Completely changed all files.
15775 * libm/ieeefp: Remove contents and directory.
15776 * libm/Makefile.in (LIBM_FP_LIB): Remove.
15777 (SUBDIRS): Just set to math/lib.a.
15778 * libm/libm.texinfo: Updated for new library.
15779 * libc/include/math.h: Extensive changes for new math library.
15780 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
15781 from _FLOAT_ARG to float.
15782 (maxpowtwo, maxpowtwof): Don't declare.
15783 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
15784 (libm_fp_lib): Removed.
15785 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
15786 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
15787 argument to ${RUNTEST}.
15788 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
15790 (RUNTESTFLAGS): Set CC and CFLAGS.
15791 (TESTS): Remove test_log2 and test_log2f.
15792 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
15793 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
15794 _FLOAT_ARG, for single precision argument type.
15795 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
15796 expected failure. Close the input pipe.
15797 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
15798 Correct misspelling of inaccurate.
15799 (test_mok): Use ``inaccurate'', not ``wrong''.
15800 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
15801 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
15802 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
15803 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
15804 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
15805 test_yn.c): Correct many result values. Many are still wrong.
15807 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
15808 just copy the string.
15809 (_gcvt): Always return the buffer.
15811 Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
15813 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
15815 Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
15817 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
15819 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
15820 (_reclaim_reent): declare new entry point.
15821 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
15824 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
15825 ever allocated, so that we can later reclaim them all.
15826 (pow5mult): make reentrant.
15828 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
15829 so that when given NULL as a buffer, return a pointer to static
15830 space in the rent structure. This is not documented behaviour;
15831 it's only to support ecvt and fcvt, which aren't ANSI anyway.
15832 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
15833 therefore become reentrant).
15835 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
15837 Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15839 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
15841 Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
15843 * Makefile.in: Make link to libg.a after libc.a; this is needed
15844 for the testsuites to build executables when everything comes
15847 Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
15849 * libc/Makefile.in: Add a VERSION variable so we can keep track.
15850 * libm/Makefile.in: Add a VERSION variable so we can keep track.
15852 Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15854 * libc/include/stdio.h: Use __VALIST, not va_list.
15856 Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
15858 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
15859 testsuite/libm.sac/execute.exp:
15860 Replace error proc calls with perror calls.
15862 Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
15864 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
15865 * libc/include/time.h: #define NULL as 0L.
15867 Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
15869 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
15872 Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15874 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
15877 Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
15879 * configure.in (TARGET_CFLAGS): Set -O2 as default.
15880 (z8k-*-*): Use syscalls fake sys dir.
15881 * libc/sys/z8k/glue.c: Rename syscalls.
15882 * libc/sys/go32/Makefile.in: Use new routines.
15883 * libc/machine/Makefile.in: Fix typo in ln stuff.
15885 Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15887 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
15888 * libc/Makefile.in (crt0.o): Likewise.
15889 * libc/machine/Makefile.in (lib.a): Likewise.
15890 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
15892 All Makefile.in files: Added mostlyclean, realclean and distclean
15895 * Makefile.in: Don't bother to unexport XTRAFLAGS or
15896 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
15897 the top level Makefile.
15899 Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
15901 * libc/sys/sparc64/sys/stat.h: New file.
15902 * libc/sys/sparc64/sys/time.h: New file.
15903 * libc/sys/sparc64/sys/types.h: New file.
15905 Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
15907 * stub/ex93x/crt0.s (start): Add code to clear bss.
15909 Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
15911 * libc/include/sys/types.h (time_t): Properly protect inside
15912 #ifndef __time_t_defined.
15914 * libc/stdio/fileno.c: New file.
15915 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
15916 (fileno.o): Add dependency.
15917 * libc/include/stdio.h (__sgetc): Rename never to _never.
15918 (fileno macro): Disable, needs to do CHECK_INIT first.
15920 Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
15922 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
15925 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
15926 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
15928 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
15931 Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
15933 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
15934 of the various constants.
15936 Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
15938 * libc/include/math.h: #ifndef __math_68881 around things which
15939 conflict with the (gcc-provided) inline functions in
15940 gcc/ginclude/math-68881.h.
15942 Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
15944 * libc/include/_syslist.h (_gettimeofday): Define.
15946 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
15947 (struct tms, timeval, timezone): Declare.
15948 (_gettimeofday_r, _times_r): Declare.
15949 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
15950 #ifdef _CLOCK_T_ surrounding definition of clock_t.
15951 (time_t): Add multiple definition protection, __time_t_defined.
15952 * libc/include/sys/time.h: Don't #include <time.h>.
15953 Always define struct timezone (remove #ifndef _TIME_H_).
15954 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
15955 #ifdef _CLOCK_T_ surrounding definition of clock_t.
15956 * libc/reent/Makefile.in (OFILES): Add timer.o.
15957 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
15958 * libc/reent/timer.c: New file.
15959 * libc/time/clock.c: #include <reent.h>.
15960 (clock): Call _times_r instead of times.
15961 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
15962 HAVE_GET_TIME_OF_DAY.
15963 Add comment regarding supporting OS routine(s) required (for docs).
15964 #include <reent.h>.
15965 (time): Call _gettimeofday_r instead of gettimeofday.
15966 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
15967 * libc/time/ctime.c: Ditto.
15968 * libc/time/strftime.c: Ditto.
15969 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
15970 (TEMPLATE_SFILES_R): Define here. Also define times.
15971 Add times_r.o/times.S dependence.
15972 (time2.c, junk.c): Deleted.
15973 * libc/sys/sparc64/time2.c: Deleted.
15974 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
15976 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
15977 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
15978 * libc/sys/sparc64/junk.c: Deleted.
15980 Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
15982 * libc/sys/sparc64/Makefile.in: Add times syscall.
15983 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
15984 be used with and without it. Add comment clarifying Medium/Anywhere
15985 model requirements.
15986 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
15987 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
15990 Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
15992 * configure.in (target_cflags): Move init.
15993 (sparc64-*-*): Define HAVE_BLKSIZE.
15995 Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
15997 * libc/include/sys/_types.h: New file.
15998 * libc/include/reent.h: #include it.
15999 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
16000 MISSING_SYSCALL_NAMES.
16002 * libc/include/_syslist.h: Remove _raise.
16003 * libc/reent/signalr.c: New file.
16004 * libc/reent/Makefile.in: Compile it.
16005 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
16006 Add doc for raise and _raise_r.
16007 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
16008 (raise): Call _raise_r.
16009 (_raise_r): Call _getpid_r and _kill_r.
16010 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
16011 (abort): Loop forever calling raise and _exit.
16013 Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16015 * configure.in: Remove extraneous echo.
16017 Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
16019 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
16020 collision with unistd.h, and fix for svr4.
16022 Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
16024 * libc/stdio/local.h (_llicvt): Declare.
16025 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
16026 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
16028 (_sicvt): Fix function header (`value' is short).
16029 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
16030 Add printing of long long's support.
16031 Add printing of 8 byte pointer support.
16033 Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
16035 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
16036 stat, chmod): New hooks.
16037 (sbrk): Abort if stack and heap collide.
16038 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
16039 shortcut when given small args.
16040 * libc/machine/sh/setjmp.s: Rewritten.
16041 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
16042 of cmp/str instruction.
16044 Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16046 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
16047 and machine_dir powerpc.
16048 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
16049 Add cases for __powerpc__.
16050 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
16053 * libc/include/stdio.h (_iprintf_r): Declare correctly.
16055 Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
16057 * libc/stdlib/callocr.c: New file with _calloc_r in it.
16058 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
16060 Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
16062 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
16063 (print_e): More comments to describe args, etc.
16064 "type" arg may now be 'g' or 'G' for %g/G format --> remove
16066 (_gcvt): Remove locals decpt, sign, end, p, done.
16067 More comments for print_e invocation.
16068 Pass "type" to print_e as is (g/G).
16070 Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
16072 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
16075 Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
16077 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
16078 works with any sized pointer, including ones bigger than ints and
16081 Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
16083 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
16085 Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
16087 * libc/include/stdlib.h (_calloc_r): Add prototype.
16088 * libc/machine/h8500/negsi2.c: New file.
16089 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
16090 large unsigned numbers.
16091 * libc/machine/h8500/cmpsi.c: Add cmppsi.
16092 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
16093 works when sizeof(size_t) != sizeof(char *).
16094 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
16096 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
16098 Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
16100 * libc/include/assert.h (assert): Handle -traditional.
16102 Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
16104 * Makefile.in: added ; after every "fi" and "done" that wasn't at
16105 the end of a line (ie. anything before a backslash continuation)
16106 so that bash handles them.
16108 Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
16110 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
16113 Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
16115 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
16116 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
16117 libc/machine/sh/udivsi3.s: Use new calling convention.
16119 Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
16121 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
16122 chmod, access, chdir, chown by making _path const. Also fix _amode
16125 Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
16127 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
16128 _khif_tmpnam, because it doesn't comply with ANSI but may be
16129 useful anyway. Real tmpnam was already in libc/stdio, and was
16130 colliding with this one (pr 2176.)
16131 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
16132 the wrong idea anyhow.
16134 Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
16136 * configure.in: Remove h8300h, we have multilib now.
16138 Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
16140 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
16141 functions, to get preference over the ones in libiberty (since we
16142 provide correct declarations in <string.h>.
16143 * libc/string/Makefile.in: add support for strncasecmp,
16146 Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
16148 * Change netware config not to look for cpu explicitly.
16150 Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
16152 * libc/sys/sparc64/{creat.c,junk.c}: New files.
16153 * libc/sys/sparc64/Makefile.in: Add dependencies.
16155 Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
16157 * configure.in: Clean up v9 a bit, new "os" aoutv8.
16159 Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
16161 * libc/include/sys/reent.h: make structure smaller by allocating
16162 some stuff when needed.
16163 * libc/signal/signal.c: allocate as needed
16164 * libc/stdio/findfp.c,stdio/local.h: ditto
16165 * libc/stdlib/mprec.c: ditto
16167 * libc/time/localtime.c: don't return a dangling stack ptr.
16169 Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
16171 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
16173 Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16175 * libc/include/stdio.h (__sputc): comment out static inline which
16176 confuses coff toolchains.
16178 Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
16180 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
16181 _write.s, getpid.c, kill.c, read.s}:
16182 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
16183 through the syscalls directory.
16185 Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
16187 * configure.in: fixed double quote gotcha.
16189 Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
16191 * stub/ex931: stub library for sparclite board.
16192 * stub/idp: Renamed from mc68ec. Added contructor table
16193 stuff to linker script.
16194 * stub/mvme135: Renamed from m68kmvme. Added contructor table
16195 stuff to linker script.
16197 Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16199 * configure.in: Configure testsuites only if they exist.
16201 Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16203 * configure.in: Don't set machine_dir for i386 until there is
16204 something in libc/machine/i386 to compile. For i[34]86-*-netware*
16205 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
16206 CLOCK_PROVIDED and MALLOC_PROVIDED.
16208 * libc/sys/netware: New directory. Contains simplistic and
16209 probably incorrect stubs for NetWare. Should be enough to load
16211 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
16212 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
16215 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
16216 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
16217 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
16218 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
16220 Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
16222 * testsuite/Makefile.in: add "docs" dummy target for consistency
16223 with rest of newlib; turn "info" and "install-info" into dummy
16224 targets, since they wouldn't have worked. (Depended on
16225 nonexistent "doc" subdir.)
16227 Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
16229 * configure.in: handle mips* instead of mips
16231 Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
16233 * libc/include/sys/dirent.h: New file. If it is not overridden by
16234 a version of libc/sys/*/sys/dirent.h, it includes the next
16235 <dirent.h> file in case there is one lurking somewhere.
16237 Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16239 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
16240 compliance, namely: Accept a minus sign. Consider a single 0 with
16241 a radix of 0 as being a conversion. Determine overflow correctly.
16242 If an overflow occurs, set *ptr to the end of the number, not the
16244 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
16246 Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
16248 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
16250 Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
16252 * Makefile.in (INSTALL): Use $srcrootpre.
16253 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
16255 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
16257 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
16258 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
16259 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
16260 * libm/math/Makefile.in (matherr.o): Ditto.
16262 Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
16264 * configure.in: Build multidirs for z8k.
16265 * libc/include/stdlib.h (_strtoul_r): add prototype.
16266 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
16267 * libc/include/machine/setjmp.h: Add for z8k.
16268 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
16269 * libc/sys/z8ksim/glue.c: tidy up.
16271 Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
16273 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
16274 New files. Requires execve system call.
16275 * libc/unix/Makefile.in: Use them.
16276 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
16277 Deleted, moved to libc/unix.
16278 * libc/sys/sparc64/Makefile.in: Remove them.
16280 Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
16282 * libc/sys/sparc64/{template.S template_r.S}: New files.
16283 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
16285 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
16286 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
16287 umask.S unlink.S wait4.S write.S}: Removed, now built from
16290 Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
16292 * libc/time/time.c: #include <_ansi.h>.
16294 Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
16296 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
16298 Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16300 * configure.in: match m8* rather than m88k so that m88110 is
16301 recognized as well.
16303 Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
16305 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
16306 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
16309 * configure.in: Add multilib support to h8300.
16311 Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
16313 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
16314 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
16315 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
16317 Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16319 * configure.in: Corrected multidirs for sparc target.
16321 Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16323 Support for building newlib multiple times with different
16325 * configure.in: Only configure doc at top level. Set multidirs
16326 when appropriate for target, unless not at top level. If
16327 multidirs is set, independently configure each subdirectory.
16328 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
16329 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
16330 automagically set by configure.in.
16331 (all): If MULTIDIRS is set, build multiple copies of libraries.
16332 (install): If MULTIDIRS is set, install multiple copies of
16333 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
16334 MULTISUBDIR is set, don't bother to install header files.
16335 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
16337 * stub/configure.in: Set MULTISUBDIR appropriately.
16338 * stub/Makefile.in (install): Install in
16339 $(tooldir)/lib/$(MULTISUBDIR).
16340 * All Makefile.in files: Define SRCTOP as well as TOP.
16342 Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
16344 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
16345 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
16347 Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
16349 * libc/sys/h8300hms/exit.c (_exit): New function.
16351 Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16353 * configure.in: recognize m88110.
16355 Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16357 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
16358 prototype main and call with args.
16360 Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
16362 First real try at system traps for m88k-bug.
16363 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
16364 to real trap calls.
16365 * libc/sys/m88kbug/sys/systraps.h: new file.
16367 Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16369 Patches to fix info building when target does not use sys
16371 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
16372 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
16374 * libc/sys/Makefile.in (doc): do nothing.
16376 Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16378 * libc/Makefile.in (CRT0): new macro.
16379 (all): depend on $(CRT0) rather than crt0.o.
16381 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
16382 do not default crt0, instead, set crt0 and crt0_dir based on
16383 sys_dir and stub_dir.
16385 * Makefile.in (CRT0_DIR): new macro.
16386 (all): depend on $(CRT0) rather than crt0.o which may not exist.
16387 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
16389 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
16391 Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
16393 * testsuite/lib/libm.exp:
16394 added code to support compiling and linking of tests for
16395 libm.sac (paranoia to be added next) and processing the
16396 pass or failure of the tests.
16398 * testsuite/config/unix-libm.exp:
16399 platform specific proc's for dealing with compiler, linker
16400 and the way we execute and process the test results.
16402 * testsuite/libm.sac/execute.exp:
16403 generic framework for the sac tests. the config and lib
16404 expect code for specific platforms tie it all together.
16406 * testsuite/libm.sac/test_is.c:
16407 changed the output of the test to be consistant with the
16408 other tests. parsing of pass nad fail messages is now fixed.
16410 Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
16412 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
16413 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
16414 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
16415 #ifdef __cplusplus, surround by extern ""C { ... }.
16416 * libc/include/assert.h: Do *not* protect assert.h against
16417 multiple inclusion! Also, #undef it before #define, to allow
16419 * libc/include/stdio.h (getlogin, cuserid): Removed. These
16420 should be only in unistd.h.
16422 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
16423 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
16426 Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
16428 * libc/machine/sparc/Makefile.in: Must create a library, even
16431 Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16433 * configure.in: set machine_dir for m88k. edit crt0 definition
16436 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
16438 * libc/Makefile.in (all): also build crt0.o.
16440 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
16441 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
16444 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
16445 (all): reworked to build in place.
16446 (clean): remove lib.a
16447 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
16449 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
16450 (_start): key off edata rather than _start_bss.
16452 Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
16454 * libc/include/sys/unistd.h, libc/include/reent.h,
16455 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
16457 Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16459 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
16461 * Makefile.in (libc.a): break into two rules, one for libc.a and
16462 one for libc/libc.a. Force subdirs current before rebuilding
16464 (libm.a): break into two rules, one for libm.a and one for
16465 libm/libm.a. Force subdirs current before rebuilding library.
16467 * libc/Makefile.in (SUBLIBS): fix typo.
16469 * libc/sys/Makefile.in (all): force descent into subdirs, then
16470 rebuild library iff out of of date.
16472 Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16474 Rework so that library is built and then finished rather than
16475 being built on each invocation of make.
16477 * host/any (machine_dir, sys_dir, signal_dir): these are not
16478 shared and have been moved to their associated Makefile.in's.
16479 (AR_FLAGS): switch to qc which is faster.
16480 * configure.in: no longer assign machine_dir for m88k. set
16481 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
16482 stub_dir set, then add to configdirs. add comment about silly
16484 (configdirs): drop stub. It will be added only
16486 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
16487 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
16488 stub_lib, crt0): new variables for tailoring lower level
16489 makefiles. Assign accordingly and edit into makefiles.
16490 * libm/Makefile.in: updated copyright.
16491 (TARGETLIB): removed.
16492 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
16493 (SUBDIRS): removed TARGETDEP_DIRS.
16494 (LIBM_FP_LIB, SUBLIBS): new macros.
16496 (force): new target to force rebuilds.
16497 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16498 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
16499 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
16500 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
16501 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
16502 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
16503 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
16504 stub/m68kmvme/Makefile.in: updated copyright.
16505 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
16506 (all): reworked. made this the default rule.
16507 (clean): also remove lib.a.
16508 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16509 * stub/Makefile.in: updated copyright.
16510 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
16511 (stub_lib): new macro.
16512 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
16515 (clean, install): assume stub_dir exists.
16516 (Makefile): depend on configure.in. call $(SHELL) rather than
16517 sh. drop redundant ./
16518 * stub/configure.in (stublib): new macro, assign it, edit it into
16520 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
16523 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16524 * libc/Makefile.in (TARGETCRT0): removed.
16525 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
16527 (SUBDIRS): drop TARGETDEP_DIRS.
16528 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
16529 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
16530 (force): new target to force rebuilds.
16531 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
16532 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
16534 (clean): assume sys_dir always exists.
16535 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
16537 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
16538 libc/locale/Makefile.in, libc/machine/Makefile.in,
16539 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
16540 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
16541 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
16542 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
16543 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
16544 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
16545 libc/signal/Makefile.in, libc/stdio/Makefile.in,
16546 libc/stdlib/Makefile.in, libc/string/Makefile.in,
16547 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
16548 libc/time/Makefile.in, libc/unix/Makefile.in,
16549 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
16550 (TARGETLIB): removed.
16552 (clean): also remove lib.a.
16553 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16554 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
16556 (SUBDIRS): moved to follow frag inclusion, change stub to
16558 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
16559 are now set in the libc Makefile.
16560 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
16561 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
16563 (force): new target to force rebuilds.
16564 * stub/configure.in: determine and set stub_lib for for Makefile.
16566 Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
16568 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
16569 crt0.s renamed to crt0.S.
16570 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
16572 * libc/machine/h8300/Makefile.in: Make `all' the default target.
16573 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
16575 * libc/machine/h8300/defines.h: Add macros to handle pointers for
16576 h8300 (16 bits) and h8300h (32 bits).
16577 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
16578 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
16580 Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
16582 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
16583 implementation of setjmp and longjmp for the m88k.
16584 * libc/include/machine/setjmp.h: Added __m88000__ case.
16586 Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
16588 * configure.in: Recognize h8300h as variant of h8300.
16590 Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
16592 * libc/include/sys/unistd.h (read, write): get prototypes right.
16593 (sbrk): New prototype.
16594 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
16595 * libc/stdio/local.h: Include unistd.h.
16596 * libc/machine/h8300/syscalls.c: Names have changed.
16598 Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
16600 * configure.in: add sys_dir assignment for m88k-bug.
16602 Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
16604 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
16606 * libc/sys/sparc64: all *.S files: Use new macros.
16607 * libc/sys/sparc64/isatty.c: New file.
16608 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
16609 functions beyond what newlib provides.
16611 Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
16613 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
16616 Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
16618 * libc/include/machine/ieeefp.h: Add support for h8/300h.
16620 Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
16622 * configure.in: add m88k.
16623 * libc/include/machine/ieeefp.h: add case for m88k. Also add
16624 sanity check so no one else need ever chase what I did to find
16627 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
16629 Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
16631 * doc/makedoc.c: Include <ctype.h>.
16633 Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
16635 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
16636 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
16637 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
16639 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
16641 Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
16643 * libc/include/errno.h (ENOSYS): Added.
16645 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
16647 Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
16649 * libc/stdio/fflush.c (fflush): Check for reent struct
16651 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
16653 Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
16655 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
16656 out of dtoa.c so it doesn't pollute the namespace.
16657 * libc/include/_syslist.h: new file -- mappings from _function to
16658 function, for systems where we can't win (by default, all of them,
16659 until we start updating system calls.)
16660 * libc/syscalls: new directory -- stubs for exporting _function
16661 names as unmodified function names.
16662 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
16663 _syslist.h on all platforms by default, but put hooks in for
16664 fake_sys_dir so we can include it when we've renamed the system
16666 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
16667 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
16668 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
16669 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
16670 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
16671 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
16672 non ANSI functions to call _function.
16674 Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
16676 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
16677 when base 16 is specified. Don't accept non-digits if radix > 10.
16679 Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
16681 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
16683 Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
16685 * libc/include/sys/stat.h: Surround text after #endif with
16688 Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
16690 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
16691 _malloc_r, _realloc_r, and free_r call the corresponding
16692 non-reentrant functions.
16694 * libm/math/modf.c (modf): We now take the address of ipart, so
16695 don't make it a register variable.
16697 Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
16699 * libm/math/*: Rename all xxx_r fns to _xxx_r.
16701 Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
16703 * libc/libc.texinfo and embedded docn throughout: formatting
16704 improvements, minor rephrasing for clarity, and improved
16707 Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
16709 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
16711 * libc/stdio/cvt.c (_licvt): Print the right value on machines
16712 where sizeof(int) != sizeof(long).
16714 Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
16716 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
16717 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
16718 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
16719 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
16720 libm/math/matherr.c: changes for better docn formatting (info).
16722 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
16723 libc/reent/reent.tex, libc/signal/signal.tex,
16724 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
16725 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
16726 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
16727 makeinfo node defaulting to get better Info file node structure.
16728 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
16729 Also include a few formerly missing sections (subroutines).
16731 * doc/doc.str: delete fossil expansion for "func"
16733 * default.menu, no-signal.menu: delete.
16735 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
16736 method used to adjust doc for missing "signals" chapter when
16737 signal_dir is empty.
16739 Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
16741 * configure.in: added testsuite/libm.sac
16743 Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
16745 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
16748 Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
16750 * libm/Makefile.in: Use $(MAKE) rather than make, and define
16751 MAKEOVERRIDES to be empty.
16753 Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
16755 * configure.in: Don't build mips-*-* with -msoft-float, since that
16756 makes it incompatible with hard floating point.
16758 Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
16760 * Makefile.in: added recursive 'make check'
16762 Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
16764 * configure.in: added ./testsuite ./testsuite/libm.paranoia
16765 * ./testsuite/Makefile.in: created
16766 * ./testsuite/libm.paranoia: paranoia tests added
16768 Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
16770 * configure.in: For mips-*-* set machine_dir to mips.
16772 * libc/machine/mips: New directory.
16773 * libc/machine/mips/Makefile.in: New file.
16774 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
16775 setjmp and longjmp.
16776 * libc/include/machine/setjmp.h: Added __mips__ case.
16778 * libc/machine/lmips: Removed unused and useless directory.
16780 Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
16782 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
16784 Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
16786 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
16789 Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
16791 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
16794 Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
16796 * libm/test/convert.c: structure member errno -> errno_val.
16797 Must include <errno.h> to use errno, it's a macro now.
16798 * libm/test/math.c: Ditto.
16799 * libm/test/math2.c: Include errno.h.
16800 * libm/test/string.c: Ditto.
16801 * libm/test/test.h: structure member errno -> errno_val.
16802 Remove extern int errno decl.
16804 Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
16806 * libc/stdio/Makefile.in: Added dependencies on local header
16808 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
16811 Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
16813 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
16815 Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
16817 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
16820 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
16821 * libc/stdio/local.h: Add prototype for _licvt.
16823 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
16824 instead of malloc,reealloc.
16826 * libc/stdlib/local.h: New file.
16827 * libc/stdlib/efgcvt.c: #include local.h.
16828 (gcvt): Fix call to _gcvt.
16829 * libc/stdlib/ecvtbuf.c: #include local.h.
16831 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
16832 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
16833 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
16835 * libc/stdlib/atexit.c: moved global data to struct _reent.
16836 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
16838 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
16840 Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
16842 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
16843 here from ../reent.h.
16845 Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
16847 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
16848 should be provided in both libc.a and libm.a.
16849 (libc.a): Depend on targ-include and libm.a. Copy
16850 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
16851 (libm.a): Depend on targ-include.
16852 * configure.in (subdirs): Removed libc/math.
16854 Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
16856 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
16858 Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
16860 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
16861 sys/reent.h instead of reent.h.
16862 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
16863 headers moved to sys/reent.h.
16864 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
16865 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
16866 __need__MAX_SIGNALS defined.
16867 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
16868 std{in,out,err} refer to new _std{in,out,err} members.
16870 Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
16872 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
16875 Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
16877 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
16878 rather than whatever macro seterrno() has.
16880 Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
16882 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
16883 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
16885 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
16888 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
16889 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
16890 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
16892 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
16893 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
16895 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
16896 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
16897 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
16898 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
16899 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
16900 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
16901 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
16902 renamed to _xxx_r. struct reent_struct renamed to struct _reent
16903 for ANSI. structure members given leading "_" for ANSI. Use
16904 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
16906 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
16907 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
16908 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
16909 reent_struct renamed to struct _reent for ANSI.
16910 Structure members given leading "_" for ANSI.
16911 _CONST --> const in prototypes.
16912 Use _HAVE_STDC instead of __STDC__.
16914 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
16916 struct reent_struct renamed to struct _reent for ANSI.
16917 Structure members given leading "_" for ANSI.
16919 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
16921 struct reent_struct renamed to struct _reent for ANSI.
16923 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
16924 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
16925 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
16926 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
16927 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
16929 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
16930 signal.h, stdio.h, stdlib.h, string.h, time.h}:
16931 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
16932 #ifndef _STRICT_ANSI non-ANSI routines.
16933 Reentrant routines renamed from _r_xxx to _xxx_r.
16934 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
16935 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
16936 Clean up namespace (structure members have leading "_").
16937 struct reent_struct renamed to struct _reent for ANSI compliance.
16938 _CONST --> const in function prototypes.
16940 * libc/include/string.h: Add NULL and size_t.
16942 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
16943 unlink, wait, wait4. Reentrant syscall routines close, fork,
16944 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
16946 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
16947 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
16948 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
16949 write.S}: Define reentrant versions.
16950 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
16951 reentrant syscalls.
16953 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
16955 * libc/include/stdlib.h (RAND_MAX): Fix value.
16957 Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
16959 * libc/sys/a29khif/_main.c: Removed unnecessary file.
16960 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
16961 VPATH support targets after all: target.
16963 * stub/mvme135/mvme.S: Renamed exceptionhandler to
16964 exceptionHandler, which is what mvme135-stub.c expects.
16966 Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
16968 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
16970 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
16971 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
16974 Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
16976 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
16978 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
16980 libc/reent/fstatr.c (_r_fstat): Ditto.
16981 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
16982 libc/reent/sbrkr.c (_r_sbrk): Ditto.
16983 libc/reent/statr.c (_r_stat): Ditto.
16985 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
16986 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
16987 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
16988 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
16989 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
16990 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
16991 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
16992 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
16993 (__swrite): Ditto for _r_lseek, _r_write.
16994 (__sseek): Ditto for _r_lseek.
16995 (__close): Ditto for _r_close.
16996 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
16998 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
16999 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
17001 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
17002 to make reent_struct the first argument (and thus consistent with
17003 the rest of newlib).
17005 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
17006 reference to __STDC__.
17008 Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
17010 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
17013 Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
17015 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
17017 libc/stdio/fclose.c (fclose): Ditto.
17019 Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
17021 * Run through indent and rename reentrant routines for ANSI.
17022 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
17023 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
17024 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
17025 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
17026 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
17027 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
17028 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
17029 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
17030 vsprintf.c wbuf.c wsetup.c local.h}
17032 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
17034 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
17035 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
17036 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
17037 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
17038 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
17039 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
17041 * Run through indent.
17042 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
17043 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
17044 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
17045 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
17048 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
17049 localtime.c mktime.c strftime.c time.c}:
17050 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
17052 * Reformatting + renaming (for ANSI, GNU style, consistency).
17053 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
17054 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
17055 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
17057 Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
17059 * libc/include/stdio.h (stdin_r): Fix.
17061 Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
17063 * Makefile.in: Unexport some variables to keep GNU make from
17064 putting them in the environment and using up needed ARG_MAX space
17065 (a hack is used to let this work with older makes as well).
17067 Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
17069 * Makefile.in: Use $(MAKE) rather than make.
17070 (MAKEOVERRIDES): Define to be empty.
17071 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
17072 (libc.a, libm.a): Depend on targ-include.
17073 * host/any (LD): Don't define.
17074 (INCLUDES): Use targ-include.
17075 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
17076 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
17077 * libc/Makefile.in: Use $(MAKE) rather than make.
17078 (MAKEOVERRIDES): Define to be empty.
17079 (FLAGS_TO_PASS): Don't pass LD (it's not used).
17080 (all): Rewrote to be slightly smaller.
17081 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
17082 Define to be empty.
17083 (FLAGS_TO_PASS): Don't pass LD (it's not used).
17084 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
17086 Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
17088 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
17089 with errno/errno.c.
17091 Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
17093 * Changes for reentrancy.
17094 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
17095 Use ptr->_errno, not errno.
17096 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
17097 libc/stdio/remove.c (remove_r): New function.
17098 libc/stdio/rename.c (rename_r): New function.
17099 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
17100 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
17101 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
17102 reentrant versions of system calls.
17103 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
17104 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
17105 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
17106 libc/stdio/findfp.c: Include <string.h>.
17107 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
17109 libc/stdio/wbuf.c: Include "fvwrite.h"
17111 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
17113 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
17114 (NULL): Don't define if already defined.
17115 libc/stdlib/system.c: Call reentrant versions of system calls.
17116 (system_r): New function.
17118 * Changes for reentrancy.
17119 libc/include/_ansi.h (_PARAMS): New macro.
17120 libc/include/errno.h: Define errno as a macro that calls __errno.
17121 (__errno_r): New macro for reentrant code.
17122 libc/include/math.h: Include reent.h. Declare many reentrant
17124 (signgam): Now a macro, not a variable.
17125 (struct exception): Added err field.
17126 libc/include/reent.h: Don't declare __sglue. Added function
17128 (struct reent_struct): Moved errno to beginning. Added _signgam.
17129 libc/include/stdio.h, libc/include/stdlib.h: Added function
17132 * More reentrancy hacking.
17133 libc/errno/errno.c (__errno): New function.
17134 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
17135 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
17138 * Added many new reentrant functions to libm/math/*.
17139 libm/math/error.c (__matherror): Added reent_struct pointer
17140 argument. Changed all callers.
17141 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
17142 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
17143 libm/math/tan.h: Removed obsolete unused header files.
17145 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
17147 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
17149 Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17151 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
17154 Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17156 * libc/libc.texinfo: comment out reentrancy chapter (duh)
17158 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17160 * libc/reent/reent.tex: New file. (text from
17161 newlib/libc/libc.texinfo)
17162 * libc/stdio/tmpnam.c: fixed doc typo
17163 * libc/stdlib/rand.c: fixed doc typo
17165 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17167 * libc/reent/reent.tex: New file. (text from
17168 newlib/libc/libc.texinfo)
17170 Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17172 support for reentrancy
17173 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
17175 * libc/errno/errno.c, libc/include/ieeefp.h,
17176 libc/include/locale.h, libc/include/reent.h,
17177 libc/include/signal.h, libc/include/stdio.h,
17178 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
17179 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
17180 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
17181 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
17182 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
17183 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
17184 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
17185 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
17186 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
17187 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
17188 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
17189 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
17190 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
17191 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
17192 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
17193 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
17194 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
17195 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
17196 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
17197 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
17198 libc/time/strftime.c: modify to provide reentracy.
17201 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
17202 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
17203 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
17204 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
17205 mstats_r, realloc_r, localeconv_r, setlocale_r
17207 Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
17209 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
17210 libc/include/sys/config.h, libc/include/sys/signal.h,
17211 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
17212 provided macros (such as m68000), use the ansi version
17213 (__m68000__) so that the library can be used with code compiled
17214 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
17217 Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
17219 * configure.in (sparc*): Don't set -fsoft-float for sparc
17220 configurations. Do set -fsoft-float for sparclite configurations.
17222 Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
17224 * default.menu, no-signal.menu: alternate forms of libc main menu
17225 (in newlib rather than newlib/libc due to configuration restrictions)
17227 * configure.in: select one of the two menus above, link to
17230 * libc/libc.texinfo: include menu from separate file
17232 Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
17234 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
17235 (info): Split long shell command in half.
17236 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
17237 sub-makes, just CHEW and TARGETDOC.
17238 (targetdep.tex): Removed now special handling of sys and machine
17239 subdirectories, made obsolete some time ago.
17240 * libc/machine/Makefile.in (doc): Don't pass everything to
17241 sub-make, just CHEW and TARGETDOC.
17242 (Makefile): New target.
17243 * libc/sys/Makefile.in (Makefile): New target.
17245 Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
17247 * Makefile.in (here and most subdirectories): Only pass down CHEW
17248 and TARGETDOC when making info, not for other targets.
17250 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
17251 $(AR_FLAGS) rather than $(ARUPDATE).
17253 Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
17255 * Try to reduce command line length:
17256 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
17257 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
17258 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
17259 (info): Pass CHEW to other subdirs.
17261 Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
17263 * configure.in: add signal_dir, like unix_dir, but by default it
17264 is set to "signal" so that a29khif can turn it off (since a29khif
17265 has raise() as part of machine-specific signal.s.)
17267 Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17269 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
17270 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
17272 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
17273 libc/stdio/vfprintf: type lint.
17274 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
17275 initialzation code.
17276 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
17278 Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
17280 * stub/mvme135/mvme135-asm.S: new file.
17281 stub/mvme135mvme135-stub.c: moved all assembler routines into
17283 stub/mvme135/Makefile.in: build mvme135-stub.o.
17285 Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
17287 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
17288 sub-Makefiles instead, to try to avoid line length limitations.
17290 Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
17292 * libc/include/unistd.h (read, write): Use void* instead of
17295 Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
17297 * stub/go32/resetpc: sample script to send a reset packet to the
17300 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
17301 DOS environment, which compiles with Turbo C.
17303 * stub/go32/DSER32.LNK: new file, linker commands for serial
17306 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
17307 start up message to identify version; call set_debug_traps.
17309 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
17310 keyboard interaction); call handle_exception() in go_til_stop,
17311 rather than return, so that the remote stub gets control.
17313 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
17314 rename, rather than mv), set flags that work with current Turbo C,
17315 including using the /3 flag; also, add commands to build dser32.
17317 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
17318 default Turbo C installation (\tc rather than \usr)
17320 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
17323 Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17325 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
17327 Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17329 * libc/stdio/cvt.c (licvt): new function to convert ints when
17330 sizeof(int) != sizeof(long).
17332 * libc/include/stdio.h: added prototype for iprintf.
17333 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
17335 Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
17337 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
17338 __REGISTER_PREFIX__.
17340 Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
17342 * libc/sys/m68kbare: moved into stub directory.
17344 Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
17346 * configure.in, Makefile.in: created new directory stub, to hold
17347 sample code for specific targets.
17349 Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
17351 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
17352 in the unified libc/include/sys/fcntl.h.
17354 Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
17356 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
17357 printed .01, not 0.01.
17359 Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
17361 * configure.in: compile with -m68000 for m68* targets.
17363 Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
17365 * libm/math/remainder.c (remainder): document the svr4 and sunos
17366 references used to construct the function.
17368 Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
17370 * libm/math/remainder.c (rint, remainder): fix old typos.
17371 * libm/math/Makefile.in: actually build remainder.c (functions
17372 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
17375 Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
17377 * libc/string/bcopy.c: BSD version works on overlapping strings,
17378 so ours should too.
17380 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
17383 Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
17385 * Makefile.in (docs): new target.
17387 Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
17389 * libc/include/sys/times.h: define clock_t as required by POSIX.
17390 libc/include/time.h: protect clock_t from multiple definitions.
17392 Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17394 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
17395 does not need more than the original three iterations to get
17396 within 1 ulp. (Paranoia tests for rounding to better than that,
17397 but further iterations *don't* help, only more subtle changes
17400 Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
17402 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
17403 were doing nothing useful.
17405 Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
17407 * configure.in: define MALLOC_PROVIDED for vxworks targets;
17408 removed sys_dir settings of vxworks68 and vxworks960.
17409 host/any: don't pass -nostdinc to gcc, since newlib no longer
17410 provides all required header files.
17412 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
17413 is not defined; this provides a hook for VxWorks.
17415 Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17417 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
17418 buffer if buf is NULL, don't do it here -- it is already being
17419 done by makebuf elsewhere in stdio.
17421 Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
17423 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
17424 that C programs can call functions without using initial
17427 Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
17429 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
17431 Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
17433 * configure.in: set TARGET_CFLAGS for certain CPU types to
17436 Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
17438 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
17440 Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
17442 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
17443 m68k*-unknown-coff.
17445 Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
17447 * libc/include/stdio.h: define __need___va_list before including
17448 <stdarg.h>, to avoid defining va_arg, et. al.
17450 Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
17452 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
17453 (don't cd to the user's home directory).
17455 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
17456 In general this is the wrong thing to do, but I can't get around
17457 GNU make's insistence on passing command line arguments any other
17460 Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
17462 * configure.in: always configure the libc/sys directory, since it
17463 now provides a required documentation file.
17465 * Makefile.in: replaced all instances of $(MAKE) with make. In
17466 general this is the wrong thing to do, but I can't get around GNU
17467 make's insistence on passing command line arguments any other way.
17469 Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
17471 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
17474 * libc/stdio/local.h: include <stdarg.h> to define va_list.
17475 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
17477 * libc/include/float.h, libc/include/stdarg.h,
17478 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
17480 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
17481 <stdarg.h>, not from <machine/types.h>. Protect definition of
17483 libc/include/time.h: get size_t from stddef.h. Protect definition
17485 libc/include/machine/limits.h: override gcc <limits.h> by defining
17486 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
17487 get correct INT_MIN and LONG_LONG values.
17488 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
17489 size_t or va_list at all; they're now gotten from stddef.h
17491 libc/include/machine/varargs.h: removed; use gcc version instead.
17492 libc/include/sys/types.h: explicitly include <machine/types.h>.
17494 * libm/math/sqrt.h: using the fp-bit routines appears to require
17497 * Makefile.in, host/any: let system include files override machine
17500 Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17502 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
17503 override _*_T_ definitions defaulted here.
17505 Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
17507 * Makefile.in (install): install the include files in
17508 $(tooldir)/include, not $(exec_prefix)/include.
17510 Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
17512 * Makefile.in (install): fixed typo, and changed install to not
17513 force rebuild of libc.a and libm.a.
17515 Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
17517 * libc/sys/a29khif/*: Changed all .include's to include
17518 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
17519 that they will be installed for the user.
17521 * Makefile.in (all): create targ-include, a directory holding the
17522 machine and system specific header files during the build.
17523 (install): fixed installation of machine and system specific
17526 * Makefile.in: fixed comment.
17527 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
17528 we can pass $(INCLUDES) to it.
17530 Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
17532 * libc/include/sys/param.h: new generic file, which may be
17533 overridden for specific systems.
17535 * libc/include/sys/signal.h: define all ANSI signal names, and
17536 NSIG (which is not ANSI) for a29k.
17538 Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
17540 * Makefile.in: don't pass down arguments the lower level makes
17542 * libc/Makefile.in: recurse directly, rather than using subdir_do,
17543 in hopes of avoiding argument length limits.
17544 * libm/Makefile.in: recurse directly, rather using subdir_do, in
17545 hopes of avoiding argument length limits.
17547 Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
17549 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
17552 Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
17554 * Fixed make info and make install-info for newlib, changing most
17555 Makefile.in and several *.tex files. Moved doc directory from
17558 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
17559 Should be rewritten.
17561 * libc/string/strings.tex: renamed node index to node index
17562 function, so that it does not conflict with the top level index
17565 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
17567 Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
17569 * Overhauled general configuration for newlib. Eliminated all
17570 target dependent Makefile fragments. Create libraries in newlib
17571 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
17572 than CROSS_CC, et. al. Broke make docs; will fix later.
17574 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
17575 Should be rewritten.
17577 Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
17579 * libc/configure.in: cleaned up somewhat; switch on ${target}
17580 rather than ${target_alias}.
17581 * libm/configure.in: cleaned up somewhat; switch on ${target}
17582 rather than ${target_alias}.
17584 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
17585 * libc/include/ctype.h: marked _ctype_ as _CONST.
17587 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
17590 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
17591 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
17592 libc/stdio/gets.c (gets): removed non-ANSI warning message.
17593 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
17595 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
17596 bigtens, tinytens): marked arrays _CONST.
17597 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
17598 rather than a static variable.
17600 * libc/time/asctime.c (asctime), libc/time/localtime.c
17601 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
17602 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
17603 mname_len, mname): Marked static arrays _CONST.
17605 * libm/math/gamma.h: made local variables non-static.
17607 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
17608 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
17611 * libm/math/constants.c: removed file, because the constants it
17612 defined were never referenced.
17613 libm/math/Makefile.in: removed references to constants.c.
17614 libm/math/mathimpl.h: removed declarations of constants.
17616 Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
17618 * libc/include/machine/varargs.h: only call __builtin_saveregs if
17619 it is sensibly defined in libgcc2. Checks preprocessor defines,
17620 which is not a good solution.
17622 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
17624 * libm/frexp.c: handle denormalized numbers as arguments.
17626 * libm/math/Makefile.in: added some dependencies for .c files
17627 which include local .h files.
17629 Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
17631 * libc/configure.in: set target_alias for OSE*. Replace
17632 target_makefile_frag if it is blank.
17634 * libc/Makefile.in: make sure everything is passed to subsidiary
17635 makes; create all directories when installing.
17637 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
17638 CROSS_ARUPDATE instead of AR.
17640 * libm/configure.in: set target_alias for OSE*. Replace
17641 target_makefile_frag if it is blank.
17643 * libm/Makefile.in: make sure everything is passed to subsidiary
17644 makes; create all directories when installing.
17646 Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
17648 * add following change from libc copy.
17650 Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17652 * libc/libc.texinfo: make copyright disclaimers appear on back of
17653 title page; make format of same slightly less ugly; avoid using
17654 underbars in section headings (avoids nasty texinfo bug in table
17657 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
17658 comments only) avoid using underbars in section headings
17660 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
17661 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
17662 changes in comments only): shorten headings ieeefp/infinity.c,
17663 ieeefp/isnan.c: (doc, comments only) more informative headings
17665 * libc/math/bessel.c: (doc, comments only) shorten heading
17667 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
17668 (doc, comments only) shorten headings
17670 * libc/time/localtime.c (doc, comments only): shorten headings
17672 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
17674 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
17675 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
17677 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
17678 only) more informative headings
17679 * libm/math/bessel.c: (doc, comments only) shorten heading
17681 Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17683 * .../Makefile.in: use CROSS_ARUPDATE consistently.
17684 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
17685 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
17686 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
17687 defined, the one from the .mt file will be correct.
17688 * libc/include/machine, libc/include/sys: created, and populated
17689 with common files from machine/*/machine. ifdefs were used for
17690 most, typically by handling exceptions first and then filling in
17691 defaults. Files with D.J. Delorie copyright #included rather than
17692 copied. Most files in include/sys really were the same in the
17694 * libc/include/...: cleaned up use of _EXFUN.
17695 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
17696 it with double quotes, not angles.
17698 Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
17700 * libc/Makefile.in: always create installation directories.
17702 Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
17704 * libc/configure.in: handle host properly (using canonical
17705 triples), better error message for the case of target not found
17707 Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
17709 * libc/Makefile.in (insincdir): Ensure this directory exists
17710 before attempting installation.
17712 Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17714 * libc/stdlib/assert.c: now calls abort like it should
17715 * libc/sys/a29khif: many many patches for 29khif work
17716 * libc/machine/i386: gnulib2 expanded there.
17718 Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17720 Added accurate fp conversion routines to stdlib, moved dcvt from
17721 stdio to stdlib and called it ecvtbuf:
17722 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
17723 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
17725 * libc/libc.texinfo: Modifed to include the copyright info from
17727 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
17728 * libc/test/ : many vector which tested for the implementation
17729 defined returns of strange conversion requests have been updated
17730 to relflect the new implementation
17732 Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17734 * libc/libc.texinfo: new chapter on variable arg lists
17735 (stdarg.h/varargs.h)
17736 * libc/libc.texinfo: new title
17737 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
17738 (doc only) shorter headings for better formatting.
17740 Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17742 * libc/libc.texinfo: three more info menu entries
17743 * libc/locale/locale.tex: new chapter
17744 * libc/locale/locale.c: new doc for setlocale, localeconv
17745 * libc/locale/Makefile.in: use new locale doc
17746 * libc/signal/signal.tex: new chapter
17747 * libc/signal/raise.c, libc/signal/signal.c: new doc
17748 * libc/signal/Makefile.in: use new doc
17749 * libc/time/time.tex: new chapter
17750 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
17751 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
17752 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
17753 * libc/time/Makefile.in: use new doc
17755 Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17757 * libm/math/log1p.c: split to use the new function way of float
17758 function definition. math/log1p.h deleted
17759 * libm/math/scalb.c: obsolete and deleted
17760 * libm/math/scalbn.c: created from part log1p.c
17761 * libm/math/Makefile.in: know about log1p and scalbn
17763 Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17765 * libc/ctype/isupper.c: revise doc;
17766 libc/ctype/ctype.tex: use doc from isupper.c
17768 * libc/string/bzero.c: new doc
17770 Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17772 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
17774 * libc/stdlib/Makefile.in: extract new doc
17775 * libc/stdlib/stdlib.tex: use new doc
17777 * libc/string/strerror.c: expanded doc.
17779 * libc/stdio/Makefile.in: extract doc from more files
17780 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
17781 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
17782 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
17783 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
17784 libc/stdio/vsprintf.c: new doc
17785 * libc/stdio/stdio.tex: use new doc
17787 Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17789 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
17790 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
17792 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
17795 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
17796 * libc/stdio/setbuf.c: added ansi style definition.
17797 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
17798 buffer if none provided.
17799 * libc/stdio/tmpfile.c: lint
17800 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
17801 rather than using static, also make sure file isn't already
17802 present. Uses P_tmpdir. (tempnam): rewritten to use new
17803 subroutine, and uses P_tmpdir.
17804 * libc/stdio/siprintf.c: created
17806 Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17808 Release 1.03 for NEC, major mods. Main differences from release
17811 More tests in test/:
17812 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
17813 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
17814 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
17815 get/set mask, get/set sticky and get/set roundtoi. Tests
17816 that setting the bits changes the way arithmetic is done.
17817 * string.c: added test to make sure memcmp does it with unsigned
17819 * test.c: cleaned up and removed lint.
17820 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
17821 dvec.c: tests for string to value conversions, sprintf, scanf,
17822 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
17823 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
17824 rounding in sprintf too.
17825 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
17826 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
17827 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
17829 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
17833 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
17834 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
17835 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
17836 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
17837 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
17839 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
17840 * Method of producting float versions of double functions has
17841 changed, functions will be modified gradually. So far:
17842 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
17843 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
17845 * libc/string/memcmp.c: now uses unsigned chars
17846 * libc/string/bcmp.c, libc/string/strcpy.c,
17847 libc/stsring/strxfrm.c: fixed doc
17848 * libc/sys/sysvnecv70.tex: fix example of sbrk code
17851 version-control: never