]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
* dtable.cc (build_fh_pc): Add missing DEV_SD1_MAJOR case (Thanks to
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
d384d868
JJ
12006-10-27 Joel Schopp <jschopp@austin.ibm.com>
2
3 * libc/machine/spu/memcpy.c: Override generic function with vectorized
4 version optimized for the cell spu.
5 * libc/machine/spu/memmove.c: Ditto.
6 * libc/machine/spu/memset.c: Ditto.
7 * libc/machine/spu/strcat.c: Ditto.
8 * libc/machine/spu/strchr.c: Ditto.
9 * libc/machine/spu/strcmp.c: Ditto.
10 * libc/machine/spu/strcpy.c: Ditto.
11 * libc/machine/spu/strcspn.c: Ditto.
12 * libc/machine/spu/strlen.c: Ditto.
13 * libc/machine/spu/strncat.c: Ditto.
14 * libc/machine/spu/strncmp.c: Ditto.
15 * libc/machine/spu/strncpy.c: Ditto.
16 * libc/machine/spu/strpbrk.c: Ditto.
17 * libc/machine/spu/strrchr.c: Ditto.
18 * libc/machine/spu/strspn.c: Ditto.
19 * libc/machine/spu/strxfrm.c: Ditto.
20 * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
21 removing altivec style initializers.
22 * libc/machine/spu/Makefile.am: Add new files to list so they build
23 * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
24
f29fdb2f
JJ
252006-10-27 Jeff Johnston <jjohnstn@redhat.com>
26
27 * README: Add a brief section on how to regenerate
28 configuration files in newlib.
29
884dc68f
JJ
302006-10-25 Vladimir Prus <vladimir@codesourcery.com>
31
32 * libc/include/math.h: (exception): Add a comment
33 telling fixincludes that we handle C vs. C++ issue.
34
f8fe93f9
JJ
352006-10-11 Yang Tse <yangsita@gmail.com>
36
6d441576
CV
37 * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
38 braced-groups.
f8fe93f9 39
d95c5792
CV
402006-10-11 Corinna Vinschen <corinna@vinschen.de>
41
42 * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
43
e5e148d1
JJ
442006-09-26 Jeff Johnston <jjohnstn@redhat.com>
45
46 * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
47 for clearerr, feof, or fileno.
48 * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
49 the dummy std stream scheme to use pointers to const external
50 fake files, one for each standard stream.
51 * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
52 argument. For _REENT_SMALL, reset the file pointer if it
53 matches one of the fake std stream pointers.
54 * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
55 argument.
56 * libc/stdio/fclose.c: Ditto.
57 * libc/stdio/feof.c: Ditto.
58 * libc/stdio/ferror.c: Ditto.
59 * libc/stdio/fflush.c: Ditto.
60 * libc/stdio/fgetc.c: Ditto.
61 * libc/stdio/fgets.c: Ditto.
62 * libc/stdio/fileno.c: Ditto.
63 * libc/stdio/findfp.c: Ditto.
64 * libc/stdio/fputc.c: Ditto.
65 * libc/stdio/fputs.c: Ditto.
66 * libc/stdio/fread.c: Ditto.
67 * libc/stdio/freopen.c: Ditto.
68 * libc/stdio/fseek.c: Ditto.
69 * libc/stdio/ftell.c: Ditto.
70 * libc/stdio/fwrite.c: Ditto.
71 * libc/stdio/getc.c: Ditto.
72 * libc/stdio/getdelim.c: Ditto.
73 * libc/stdio/putc.c: Ditto.
74 * libc/stdio/refill.c: Ditto.
75 * libc/stdio/setvbuf.c: Ditto.
76 * libc/stdio/ungetc.c: Ditto.
77 * libc/stdio/vfprintf.c: Ditto.
78 * libc/stdio/vfscanf.c: Ditto.
79 * libc/stdio/wbuf.c: Ditto.: Ditto.
80 * libc/stdio/wsetup.c: Ditto.
81 * libc/stdio64/freopen64.c: Ditto.
82 * libc/stdio64/fseeko64.c: Ditto.
83 * libc/stdio64/ftello64.c: Ditto.
84 * libc/machine/powerpc/vfprintf.c: Ditto.
85 * libc/machine/powerpc/vfscanf.c: Ditto.
86
e83c3d0a
JJ
872006-09-22 Paul Brook <paul@codesourcery.com>
88
89 * libc/include/sys/reent.h: Define and use __reent_assert.
90
23754b33
JJ
912006-09-13 Joel Sherrill <joel@oarcorp.com>
92
93 * libc/include/pthread.h: Add pthread barriers,
94 rwlocks, and spinlocks. Change const to
95 _CONST and prefix parameter names with
96 an underscore.
97 * libc/include/sys/types.h: Add id and attribute
98 types for barriers, wrlocks, and spinlocks.
99 * libc/include/sys/features.h: Enable barriers,
100 wrlocks, and spinlocks for RTEMS.
101
ba1bb1b3
JJ
1022006-09-13 Patrick Mansfield <patmans@us.ibm.com>
103
104 * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
105 supposed to be writable.
106 * libm/common/s_lib_ver.c: Ditto.
107
8f9f25da
JJ
1082006-09-12 Paul Brook <paul@codesourcery.com>
109
110 * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
111
0324070e
JJ
1122006-09-07 Masaki Muranaka <monaka@monami-software.com>
113
8f9f25da 114
0324070e
JJ
115 * libc/machine/xstormy16/Makefile.am:
116 Add $(lpfx) prefix to LIBADD objects.
117 lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
118 * libc/machine/xstormy16/Makefile.in: Regenerated.
119
d39002f9
JJ
1202006-09-06 Eric Blake <ebb9@byu.net>
121
122 * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
123 't', and 'z' modifiers.
124
c023e783
KH
1252006-09-01 Kazu Hirata <kazu@codesourcery.com>
126
127 Merge from newlib-csl-20060320-branch:
128 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
129
130 * configure.host: Tell it we have _rename and _system when
131 building m68k-unknown-elf.
132
85974265
JJ
1332006-08-29 Paul Brook <paul@codesourcery.com>
134
135 * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
136
c1f828e5
JJ
1372006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
138
139 * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
140 BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
141 This is needed to build all AVR and H8300 RTEMS multilib variants.
142
b8e05321
JJ
1432006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
144
145 * libc/machine/configure.in: Add configuration for SPU.
146 * libc/machine/configure: Regenerated.
147 * libc/machine/spu/memcpy.c: Include string.h.
148
380d8ec4
JJ
1492006-08-22 Eric Blake <ebb9@byu.net>
150
151 * libc/posix/popen.c (popen): Don't close output end of pipe in
152 child if stdout was closed on entry.
153 [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
154
a0922fcb
CF
1552006-08-19 Ramana Radhakrishnan <ramana.r@gmail.com>
156
157 * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
158 line.
159
84a79403
JJ
1602006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
161
162 * libc/time/gmtime.c: Correct man page; clock is not a
163 local time and no conversion occurs.
164
0d8de89c
JJ
1652006-08-16 Joel Schopp <jschopp@austin.ibm.com>
166
167 * configure.host (newlib_cflags) [spu]: Add special compiler
168 options to reduce size.
169
734e8414
JJ
1702006-08-16 Joel Schopp <jschopp@austin.ibm.com>
171
172 * configure.host: Add spu support.
173 * libc/include/stdint.h: Ditto.
174 * libc/include/machine/ieeefp.h: Ditto.
175 * libc/include/machine/setjmp.h: Ditto.
176 * libc/include/sys/config.h: Ditto.
177 * libc/include/sys/types.h: Ditto.
178 * libc/machine/spu/Makefile.am: New file.
179 * libc/machine/spu/Makefile.in: Ditto.
180 * libc/machine/spu/aclocal.m4: Ditto.
181 * libc/machine/spu/configure: Ditto.
182 * libc/machine/spu/configure.in: Ditto.
183 * libc/machine/spu/memcpy.c: Ditto.
184 * libc/machine/spu/setjmp.S: Ditto.
185
079b45dc
JJ
1862006-08-03 J"orn Rennecke <joern.rennecke@st.com>
187
188 * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
189 properly.
190
2ebf115d
JJ
1912006-08-01 Jeff Johnston <jjohnstn@redhat.com>
192
193 * libc/Makefile.am: Add libc_TEXINFOS dependency on
194 generated .texi files.
195 * libm/Makefile.am: Add libm_TEXINFOS dependency on
196 generated .texi files.
197 * libc/Makefile.in: Regenerated.
198 * libm/Makefile.in: Ditto.
199
a1213494
JJ
2002006-08-01 Thiemo Seufer <ths@mips.com>
201 Nigel Stephens <nigel@mips.com>
202
203 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
204 define this to force _impure_ptr to live in the .sdata section.
205
0a85d87f
JJ
2062006-07-31 Jeff Johnston <jjohnstn@redhat.com>
207
208 * acinclude.m4: Check for readelf tool.
209 * configure.in: Use ${READELF} instead of hard-coding.
210 * Regenerate all aclocal.m4, Makefile.in, and configure files.
211
cc023a75
JJ
2122006-07-31 Jeff Johnston <jjohnstn@redhat.com>
213
214 * libc/sys/linux/mmap.c: Remove include of sys/mman.h
215 to avoid conflict with newer glibc's revision of mremap.
216
b0b92438
JJ
2172006-07-05 Jeff Johnston <jjohnstn@redhat.com>
218
219 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
220 floating-point format support. Also redefine
221 dword0 and dword1 macros.
222 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
223 to prevent setting dword1 which is an rvalue only.
224
f489b594
JJ
2252006-06-22 Jeff Johnston <jjohnstn@redhat.com>
226
227 * libc/stdlib/Makefile.am: Add new gdtoa routines.
228 * libc/stdlib/Makefile.in: Regenerated.
229 * libc/stdlib/gd_qnan.h: New file.
230 * libc/stdlib/gdtoa-gethex.c: Ditto.
231 * libc/stdlib/gdtoa-hexnan.c: Ditto.
232 * libc/stdlib/gdtoa.h: Ditto.
233 * libc/stdlib/mprec.c: Add new helper routines needed by
234 the new gdtoa code.
235 * libc/stdlib/mprec.h: Integrate some defines and prototypes
236 used by gdtoa routines here.
237 * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
238 which adds C99 support such as nan, inf, and hexadecimal input
239 format.
240
c8956c6f
JJ
2412006-06-15 Corinna Vinschen <corinna@vinschen.de>
242
243 * libc/include/stdio.h (__sgetc_r): Fix typo.
244 * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
245 * libc/stdio/rget.c (__srbuf): Reinstantiate.
246 * libc/stdio/wbuf.c (__swbuf): Ditto.
247
4dc0c0c4
JJ
2482006-06-14 Jeff Johnston <jjohnstn@redhat.com>
249
250 * libc/include/stdio.h: Add new reentrant I/O prototypes for
251 read/write functions. Change getc/putc macros to have reentrant underlying
252 macros/functions. This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
253 * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
254 new reentrant I/O functions/macros for reading/writing.
255 * libc/stdio/fgets.c: Ditto.
256 * libc/stdio/fputc.c: Ditto.
257 * libc/stdio/fputs.c: Ditto.
258 * libc/stdio/fread.c: Ditto.
259 * libc/stdio/fseek.c: Ditto.
260 * libc/stdio64/fseeko64.c: Ditto.
261 * libc/stdio/fwrite.c: Ditto.
262 * libc/stdio/getc.c: Ditto.
263 * libc/stdio/getc_u.c: Ditto.
264 * libc/stdio/getchar.c: Ditto.
265 * libc/stdio/getchar_u.c: Ditto.
266 * libc/stdio/putc.c: Ditto.
267 * libc/stdio/putc_u.c: Ditto.
268 * libc/stdio/putchar.c: Ditto.
269 * libc/stdio/puts.c: Ditto.
270 * libc/stdio/vfprintf.c: Ditto.
271 * libc/stdio/vfscanf.c: Ditto.
272 * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
273 Change all previous callers of __sfvwrite. Set errno to EBADF and
274 set error flag on if attempt is made to write to file that does not
275 allow writing.
276 * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
277 * libc/stdio/local.h: Ditto.
278 * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
279 Set errno to EBADF and the error flag on if attempt is made to
280 read unreadable file. Change all previous callers of __srefill.
281 * libc/stdio/rget.c
282 * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r. Change
283 all previous callers of __swbuf.
284 * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
285 huge value macros are already defined correctly for i386 by <math.h>.
286
c4cac45f
JJ
2872006-06-13 Sandra Loosemore <sandra@codesourcery.com>
288
289 * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
290 Make them do something useful in the ARM_RDI_MONITOR case.
291
b5b6cbd8
JJ
2922006-06-07 Fred Fish <fnf@specifix.com>
293
294 * libc/search/hash_bigkey.c (MIN,MAX): Remove
295 defines that are already supplied by <sys/param.h>.
296
3cc3705c
JJ
2972006-06-07 Fred Fish <fnf@specifix.com>
298
299 * configure.host: Remove references to HAVE_GETTIMEOFDAY.
300
512c2879
JJ
3012006-06-05 Shaun Jackman <sjackman@gmail.com>
302
303 * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
304 usleep.c.
305 * libc/posix/Makefile.in: Regenerate.
306 * libc/posix/sleep.c: New file.
307 * libc/posix/usleep.c: Ditto.
308
6ea486a6
JJ
3092006-06-05 Shaun Jackman <sjackman@gmail.com>
310
9eedc2e6 311 * configure.host (newlib_cflags) [arm, thumb, xscale]: Remove
6ea486a6
JJ
312 -DABORT_PROVIDED flag.
313 * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
314 * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
315
2e7c576a
JJ
3162006-06-05 Jeff Johnston <jjohnstn@redhat.com>
317
318 * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
319 * Makefile.in: Regenerated.
320 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
321 extraneous CFLAGS reference now that CCASFLAGS are being extended
322 properly via multilib.
323 * libc/machine/sh/Makefile.in: Regenerated.
324
3feae7b1
JJ
3252006-06-02 Shaun Jackman <sjackman@gmail.com>
326
327 * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
328 sigismember.
329
f383bda5
JJ
3302006-05-23 Jeff Johnston <jjohnstn@redhat.com>
331
332 * libc/misc/dprintf.c: Removed.
333 * libc/misc/__dprintf.c: Renamed from dprintf.c.
334 * libc/misc/Makefile.am: Changed appropriately for rename.
335 * libc/misc/Makefile.in: Regenerated.
336
8eeee74e
JJ
3372006-05-23 Jeff Johnston <jjohnstn@redhat.com>
338
339 * libc/include/stdio.h: Protect dprintf prototype
340 with #ifndef dprintf so as to not interfere with
341 historical code defining their own dprintf macro.
342
dc7798c6
JJ
3432006-05-18 Jeff Johnston <jjohnstn@redhat.com>
344
345 * libc/include/stdio.h: Add prototypes for fiscanf,
346 iscanf, and siscanf.
347
e1b888df
JR
3482006-05-11 J"orn Rennecke <joern.rennecke@st.com>
349
350 * acinclude.m4 (_NEWLIB_VERSION): Rename to:
351 (DEF_NEWLIB_VERSION).
352 * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
353 * configure: Regenerate.
354
7f32c41d
JJ
3552006-05-09 Jeff Johnston <jjohnstn@redhat.com>
356
357 * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
358 lib_a_SOURCES.
359 * libc/ctype/Makefile.in: Regenerated.
360
bac01fc8
JJ
3612006-05-09 Kazu Hirata <kazu@codesourcery.com>
362
363 * libc/machine/arm/Makefile.am: Fix a typo.
364 * libc/machine/arm/Makefile.in: Regenerated.
365
6c47d5b7
JR
3662006-05-08 J"orn Rennecke <joern.rennecke@st.com>
367
368 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
369 * libc/machine/sh/Makefile.in: Regenerate.
370
7cc7e374
JR
3712006-05-03 J"orn Rennecke <joern.rennecke@st.com>
372
373 * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
374 * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
375
a8b02d46
JJ
3762006-05-02 Jeff Johnston <jjohnstn@redhat.com>
377
378 * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
379 .s.
380 * libc/sys/sysnec810/Makefile.in: Regenerated.
381 * libc/sys/sysnec810/crt0.S: Renamed from .s file.
382 * libc/sys/sysnec810/io.S: Ditto.
383 * libc/sys/sysnec810/crt0.s: Renamed to .S file.
384 * libc/sys/sysnec810/io.s: Ditto.
385
8f8f1db1
JJ
3862006-05-01 Jeff Johnston <jjohnstn@redhat.com>
387
388 * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx). If source file can
389 be specified instead of object, do so.
390 * libc/ctype/Makefile.am: Ditto.
391 * libc/iconv/ccs/Makefile.am: Ditto.
392 * libc/iconv/ces/Makefile.am: Ditto.
393 * libc/iconv/lib/Makefile.am: Ditto.
394 * libc/locale/Makefile.am: Ditto.
395 * libc/posix/Makefile.am: Ditto.
396 * libc/reent/Makefile.am: Ditto.
397 * libc/search/Makefile.am: Ditto.
398 * libc/stdio/Makefile.am: Ditto.
399 * libc/stdio64/Makefile.am: Ditto.
400 * libc/stdlib/Makefile.am: Ditto.
401 * libc/string/Makefile.am: Ditto.
402 * libc/syscalls/Makefile.am: Ditto.
403 * libc/unix/Makefile.am: Ditto.
404 * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
405 prefix added automatically. Any specified rules must use $(lpfx) for
406 object file names.
407 * libc/machine/arm/Makefile.am: Ditto.
408 * libc/machine/cris/Makefile.am: Ditto.
409 * libc/machine/crx/Makefile.am: Ditto.
410 * libc/machine/d10v/Makefile.am: Ditto.
411 * libc/machine/d30v/Makefile.am: Ditto.
412 * libc/machine/fr30/Makefile.am: Ditto.
413 * libc/machine/frv/Makefile.am: Ditto.
414 * libc/machine/h8300/Makefile.am: Ditto.
415 * libc/machine/h8500/Makefile.am: Ditto.
416 * libc/machine/hppa/Makefile.am: Ditto.
417 * libc/machine/i386/Makefile.am: Ditto.
418 * libc/machine/i960/Makefile.am: Ditto.
419 * libc/machine/iq2000/Makefile.am: Ditto.
420 * libc/machine/m32c/Makefile.am: Ditto.
421 * libc/machine/m32r/Makefile.am: Ditto.
422 * libc/machine/m68hc11/Makefile.am: Ditto.
423 * libc/machine/m68k/Makefile.am: Ditto.
424 * libc/machine/m88k/Makefile.am: Ditto.
425 * libc/machine/mips/Makefile.am: Ditto.
426 * libc/machine/mn10200/Makefile.am: Ditto.
427 * libc/machine/mn10300/Makefile.am: Ditto.
428 * libc/machine/mt/Makefile.am: Ditto.
429 * libc/machine/necv70/Makefile.am: Ditto.
430 * libc/machine/powerpc/Makefile.am: Ditto.
431 * libc/machine/sh/Makefile.am: Ditto.
432 * libc/machine/sh/Makefile.in: Ditto.
433 * libc/machine/sparc/Makefile.am: Ditto.
434 * libc/machine/tic4x/Makefile.am: Ditto.
435 * libc/machine/tic80/Makefile.am: Ditto.
436 * libc/machine/v850/Makefile.am: Ditto.
437 * libc/machine/w65/Makefile.am: Ditto.
438 * libc/machine/xscale/Makefile.am: Ditto.
439 * libc/machine/xstormy16/Makefile.am: Ditto.
440 * libc/machine/z8k/Makefile.am: Ditto.
441 * libc/sys/a29khif/Makefile.am: Ditto.
442 * libc/sys/arm/Makefile.am: Ditto.
443 * libc/sys/d10v/Makefile.am: Ditto.
444 * libc/sys/h8300hms/Makefile.am: Ditto.
445 * libc/sys/h8500hms/Makefile.am: Ditto.
446 * libc/sys/linux/Makefile.am: Ditto.
447 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
448 * libc/sys/linux/net/Makefile.am: Ditto.
449 * libc/sys/linux/stdlib/Makefile.am: Ditto.
450 * libc/sys/m88kbug/Makefile.am: Ditto.
451 * libc/sys/mmixware/Makefile.am: Ditto.
452 * libc/sys/rdos/Makefile.am: Ditto.
453 * libc/sys/rtems/Makefile.am: Ditto.
454 * libc/sys/sh/Makefile.am: Ditto.
455 * libc/sys/sun4/Makefile.am: Ditto.
456 * libc/sys/sysmec/Makefile.am: Ditto.
457 * libc/sys/sysnec810/Makefile.am: Ditto.
458 * libc/sys/sysnecv850/Makefile.am: Ditto.
459 * libc/sys/sysvi386/Makefile.am: Ditto.
460 * libc/sys/sysvnecv70/Makefile.am: Ditto.
461 * libc/sys/tic80/Makefile.am: Ditto.
462 * libc/sys/w65/Makefile.am: Ditto.
463 * libc/sys/z8ksim/Makefile.am: Ditto.
464 * libc/machine/necv70/fastmath.S: Renamed from .s file.
465 * libc/machine/necv70/setjmp.S: Ditto.
466 * libc/machine/necv70/fastmath.s: Removed.
467 * libc/machine/necv70/setjmp.s: Ditto.
468 * libc/machine/w65/*.S: New files renamed from .s files.
469 * libc/machine/w65/*.s: Renamed and removed.
470 * libc/sys/a29khif/*.S: New files renamed from .s files.
471 * libc/sys/a29khif/*.s: Renamed and removed.
472 * libc/sys/sysvi386/*.S: New files renamed from .s files.
473 * libc/sys/sysvi386/*.s: Renamed and removed.
474 * libc/sys/sysvnecv70/*.S: New files renamed from .s files.
475 * libc/sys/sysvnecv70/*.s: Renamed and removed.
476 * libc/*Makefile.in: Regenerated as appropriate.
477
b34db572
DD
4782006-04-24 DJ Delorie <dj@redhat.com>
479
480 * libc/machine/sh/configure.in: Avoid link tests.
481 * libc/machine/sh/configure: Regenerate.
482
e163e3e1
JJ
4832006-04-18 Jeff Johnston <jjohnstn@redhat.com>
484
485 * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
486 (sigaddset, sigemptyset): Add return code.
487
7ad96224
JJ
4882006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
489
490 * acinclude.m4: New _NEWLIB_VERSION.
491 * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
492 Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
493 Use new form of AC_INIT_AUTOMAKE.
494 * configure.in: AC_PREREQ(2.59).
495 Use autoconf-2.5.x version of AC_INIT.
496 Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
497 autoconf-2.13's AC_OUTPUT.
498 * libm/configure.in: Ditto.
499 * libm/machine/configure.in: Ditto.
500 * libm/machine/i386/configure.in: Ditto.
501 * libc/configure.in: Ditto.
502 * libc/machine/a29k/configure.in: Ditto.
503 * libc/machine/arm/configure.in: Ditto.
504 * libc/machine/configure.in: Ditto.
505 * libc/machine/mn10300/configure.in: Ditto.
506 * libc/machine/powerpc/configure.in: Ditto.
507 * libc/machine/z8k/configure.in: Ditto.
508 * libc/machine/h8300/configure.in: Ditto.
509 * libc/machine/mips/configure.in: Ditto.
510 * libc/machine/crx/configure.in: Ditto.
511 * libc/machine/m68hc11/configure.in: Ditto.
512 * libc/machine/h8500/configure.in: Ditto.
513 * libc/machine/xscale/configure.in: Ditto.
514 * libc/machine/d10v/configure.in: Ditto.
515 * libc/machine/fr30/configure.in: Ditto.
516 * libc/machine/sh/configure.in: Ditto.
517 * libc/machine/tic80/configure.in: Ditto.
518 * libc/machine/m32r/configure.in: Ditto.
519 * libc/machine/xstormy16/configure.in: Ditto.
520 * libc/machine/i386/configure.in: Ditto.
521 * libc/machine/d30v/configure.in: Ditto.
522 * libc/machine/mn10200/configure.in: Ditto.
523 * libc/machine/frv/configure.in: Ditto.
524 * libc/machine/mt/configure.in: Ditto.
525 * libc/machine/i960/configure.in: Ditto.
526 * libc/machine/v850/configure.in: Ditto.
527 * libc/machine/necv70/configure.in: Ditto.
528 * libc/machine/tic4x/configure.in: Ditto.
529 * libc/machine/cris/configure.in: Ditto.
530 * libc/machine/m68k/configure.in: Ditto.
531 * libc/machine/m32c/configure.in: Ditto.
532 * libc/machine/hppa/configure.in: Ditto.
533 * libc/machine/w65/configure.in: Ditto.
534 * libc/machine/iq2000/configure.in: Ditto.
535 * libc/machine/sparc/configure.in: Ditto.
536 * libc/machine/m88k/configure.in: Ditto.
537 * libc/sys/linux/configure.in: Ditto.
538 * libc/sys/linux/machine/configure.in: Ditto.
539 * libc/sys/linux/machine/i386/configure.in: Ditto.
540 * libc/sys/linux/linuxthreads/configure.in: Ditto.
541 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
542 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
543 * libc/sys/arm/configure.in: Ditto.
544 * libc/sys/configure.in: Ditto.
545 * libc/sys/decstation/configure.in: Ditto.
546 * libc/sys/a29khif/configure.in: Ditto.
547 * libc/sys/sysnecv850/configure.in: Ditto.
548 * libc/sys/d10v/configure.in: Ditto.
549 * libc/sys/netware/configure.in: Ditto.
550 * libc/sys/mmixware/configure.in: Ditto.
551 * libc/sys/h8500hms/configure.in: Ditto.
552 * libc/sys/sh/configure.in: Ditto.
553 * libc/sys/tic80/configure.in: Ditto.
554 * libc/sys/rdos/configure.in: Ditto.
555 * libc/sys/sysmec/configure.in: Ditto.
556 * libc/sys/sysvi386/configure.in: Ditto.
557 * libc/sys/h8300hms/configure.in: Ditto.
558 * libc/sys/sparc64/configure.in: Ditto.
559 * libc/sys/arc/configure.in: Ditto.
560 * libc/sys/sysnec810/configure.in: Ditto.
561 * libc/sys/m88kbug/configure.in: Ditto.
562 * libc/sys/sysvnecv70/configure.in: Ditto.
563 * libc/sys/z8ksim/configure.in: Ditto.
564 * libc/sys/rtems/configure.in: Ditto.
565 * libc/sys/w65/configure.in: Ditto.
566 * libc/sys/sun4/configure.in: Ditto.
567 * doc/configure.in: Ditto.
568 * iconvdata/configure.in: Ditto.
569 * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
570
34e66679
JJ
5712006-04-11 Jeff Johnston <jjohnstn@redhat.com>
572
573 * acinclude.m4: Properly add square brackets for
574 AC_DEFUN macros. Rewrite LIB_AC_PROG_CC to remove
575 macros no longer available. Add LIB_AM_PROG_AS to
576 remove prereq of AC_PROG_CC. Add LIB_AC_PROG_CC_GNU
577 macro. Substitute lpfx (library object prefix).
578 * configure.host: Set lpfx depending on whether
579 libtool is used or not.
580 * configure.in: Individually specify libc and libm
581 to AC_CONFIG_SUBDIRS. Add square bracket quoting as
582 necessary.
583 * Makefile.am: Use $(lpfx) to get object names for
584 math-library functions that should also be in libc.
585 * libc/machine/configure.in: Use case statement to determine
586 AC_CONFIG_SUBDIRS statement.
587 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
588 * libc/sys/linux/machine/configure.in: Ditto.
589 * libc/sys/configure.in: Ditto.
590 * libm/machine/configure.in: Ditto.
591 * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
592 * libm/configure.in: Add AM_CONDITIONAL statement
593 for HAVE_LIBM_MACHINE_DIR.
594 * libc/machine/a29k/Makefile.am: Modified to work with
595 latest automake. Change includes setting AM_CCASFLAGS
596 so building .S files will properly pick up flags used
597 to build C files.
598 * libc/machine/arm/Makefile.am: Ditto.
599 * libc/machine/crx/Makefile.am: Ditto.
600 * libc/machine/d10v/Makefile.am: Ditto.
601 * libc/machine/d30v/Makefile.am: Ditto.
602 * libc/machine/fr30/Makefile.am: Ditto.
603 * libc/machine/frv/Makefile.am: Ditto.
604 * libc/machine/h8300/Makefile.am: Ditto.
605 * libc/machine/h8500/Makefile.am: Ditto.
606 * libc/machine/hppa/Makefile.am: Ditto.
607 * libc/machine/i386/Makefile.am: Ditto.
608 * libc/machine/iq2000/Makefile.am: Ditto.
609 * libc/machine/m32c/Makefile.am: Ditto.
610 * libc/machine/m32r/Makefile.am: Ditto.
611 * libc/machine/m68hc11/Makefile.am: Ditto.
612 * libc/machine/m68k/Makefile.am: Ditto.
613 * libc/machine/m88k/Makefile.am: Ditto.
614 * libc/machine/mips/Makefile.am: Ditto.
615 * libc/machine/mn10200/Makefile.am: Ditto.
616 * libc/machine/mn10300/Makefile.am: Ditto.
617 * libc/machine/mt/Makefile.am: Ditto.
618 * libc/machine/necv70/Makefile.am: Ditto.
619 * libc/machine/powerpc/Makefile.am: Ditto.
620 * libc/machine/sh/Makefile.am: Ditto.
621 * libc/machine/sparc/Makefile.am: Ditto.
622 * libc/machine/tic4x/Makefile.am: Ditto.
623 * libc/machine/tic80/Makefile.am: Ditto.
624 * libc/machine/v850/Makefile.am: Ditto.
625 * libc/machine/w65/Makefile.am: Ditto.
626 * libc/machine/xscale/Makefile.am: Ditto.
627 * libc/machine/xstormy16/Makefile.am: Ditto.
628 * libc/machine/z8k/Makefile.am: Ditto.
629 * libc/sys/a29khif/Makefile.am: Ditto.
630 * libc/sys/arc/Makefile.am: Ditto.
631 * libc/sys/arm/Makefile.am: Ditto.
632 * libc/sys/d10v/Makefile.am: Ditto.
633 * libc/sys/decstation/Makefile.am: Ditto.
634 * libc/sys/h8300hms/Makefile.am: Ditto.
635 * libc/sys/h8500hms/Makefile.am: Ditto.
636 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
637 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
638 * libc/sys/m88kbug/Makefile.am: Ditto.
639 * libc/sys/mmixware/Makefile.am: Ditto.
640 * libc/sys/netware/Makefile.am: Ditto.
641 * libc/sys/rdos/Makefile.am: Ditto.
642 * libc/sys/rtems/Makefile.am: Ditto.
643 * libc/sys/sh/Makefile.am: Ditto.
644 * libc/sys/sparc64/Makefile.am: Ditto.
645 * libc/sys/sysmec/Makefile.am: Ditto.
646 * libc/sys/sysnec810/Makefile.am: Ditto.
647 * libc/sys/sysnecv850/Makefile.am: Ditto.
648 * libc/sys/sysvi386/Makefile.am: Ditto.
649 * libc/sys/sysvnecv70/Makefile.am: Ditto.
650 * libc/sys/tic80/Makefile.am: Ditto.
651 * libc/sys/w65/Makefile.am: Ditto.
652 * libc/sys/z8ksim/Makefile.am: Ditto.
653 * libm/machine/i386/Makefile.am: Ditto.
654 * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
655 trap.S so that automake will generate a .S.o suffix rule.
656 * libc/argz/Makefile.am: Modified to work with
657 latest automake. Change includes adding lib_a_CFLAGS
658 so automake doesn't complain about libtool and non-libtool
659 libraries sharing objects.
660 * libc/ctype/Makefile.am: Ditto.
661 * libc/errno/Makefile.am: Ditto.
662 * libc/iconv/ccs/Makefile.am: Ditto.
663 * libc/iconv/ces/Makefile.am: Ditto.
664 * libc/iconv/lib/Makefile.am: Ditto.
665 * libc/locale/Makefile.am: Ditto.
666 * libc/misc/Makefile.am: Ditto.
667 * libc/posix/Makefile.am: Ditto.
668 * libc/reent/Makefile.am: Ditto.
669 * libc/search/Makefile.am: Ditto.
670 * libc/signal/Makefile.am: Ditto.
671 * libc/stdio/Makefile.am: Ditto.
672 * libc/stdio64/Makefile.am: Ditto.
673 * libc/stdlib/Makefile.am: Ditto.
674 * libc/string/Makefile.am: Ditto.
675 * libc/sys/linux/Makefile.am: Ditto.
676 * libc/sys/linux/argp/Makefile.am: Ditto.
677 * libc/sys/linux/cmath/Makefile.am: Ditto.
678 * libc/sys/linux/dl/Makefile.am: Ditto.
679 * libc/sys/linux/iconv/Makefile.am: Ditto.
680 * libc/sys/linux/intl/Makefile.am: Ditto.
681 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
682 * libc/sys/linux/net/Makefile.am: Ditto.
683 * libc/sys/linux/stdlib/Makefile.am: Ditto.
684 * libc/syscalls/Makefile.am: Ditto.
685 * libc/time/Makefile.am: Ditto.
686 * libc/unix/Makefile.am: Ditto.
687 * libm/Makefile.am: Ditto.
688 * libm/common/Makefile.am: Ditto.
689 * libm/math/Makefile.am: Ditto.
690 * libm/mathfp/Makefile.am: Ditto.
691 * Regenerate all aclocal.m4, Makefile.in, and configure files.
692
b577ecdf
JJ
6932006-04-07 Jeff Johnston <jjohnstn@redhat.com>
694
695 * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
696 anymore. Assume there is a gettimeofday syscall.
697
ef79d97d
JJ
6982006-03-29 Shaun Jackman <sjackman@gmail.com>
699
700 * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
701 for the declaration of n_long.
702
15a1b33c
JJ
7032006-03-29 Shaun Jackman <sjackman@gmail.com>
704
705 * libc/sys/linux/include/net/if.h: Include sys/socket.h for
706 struct sockaddr.
707 (IFF_SMART): Replace this define with IFF_NOTRAILERS.
708 (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
709 (IFF_NOTRAILERS): New define.
710 (struct ifreq): Add ifru_netmask.
711 (ifr_netmask): New define.
712
bcc4ff05
JJ
7132006-03-29 Shaun Jackman <sjackman@gmail.com>
714
715 * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
716 match sys/ioctl.h.
717
8fed3e2e
JJ
7182006-03-29 Shaun Jackman <sjackman@gmail.com>
719
720 * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
721 linux-newlib libc implementations.
722
6507c097
JJ
7232006-03-29 Eric Blake <ebb9@byu.net>
724
725 * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
726 * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
727
fac690be
JJ
7282006-03-29 Jeff Johnston <jjohnstn@redhat.com>
729
730 * libc/sys/linux/io.c (__mknod): Fix declaration of
731 syscall to pass a dev_t as third argument rather than
732 a pointer to dev_t.
733
9e443adb
JJ
7342006-03-29 Jeff Johnston <jjohnstn@redhat.com>
735
736 * libc/sys/linux/net/name6.c: Fix struct references.
737
ce93dfe4
MM
7382006-03-22 Mark Mitchell <mark@codesourcery.com>
739
740 * configure.host: Allow hosts to set the default
741 newlib_atexit_dynamic_alloc value.
742 * configure.in: Likewise.
743 * configure: Regenerated.
744
3078fb4f
MM
7452006-03-20 Mark Mitchell <mark@codesourcery.com>
746
747 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
748 * configure.in (--disable-newlib-atexit-dynamic-alloc): New
749 option.
750 * configure: Regenerated.
751 * newlib.hin: Regenerated.
752 * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
753 if _ATEXIT_DYNAMIC_ALLOC is undefined.
754 * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
755 if _ATEXIT_DYNAMIC_ALLOC is undefined.
756
9d5cff74
JJ
7572006-03-17 Jeff Johnston <jjohnstn@redhat.com>
758
759 * libc/sys/linux/linuxthreads/config.h: Remove definition
760 of UINT32_C.
761
490cfb83
JJ
7622006-03-15 Jeff Johnston <jjohnstn@redhat.com>
763
764 * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
765 for a string I/O file that isn't using the asprintf family.
766
ce10f178
JJ
7672006-03-07 Eric Blake <ebb9@byu.net>
768
769 * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
770 filename, allow read-only or write-only FILE atop O_RDWR file
771 descriptor.
772 * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
773
ddf12e6b
JJ
7742006-03-07 Jeff Johnston <jjohnstn@redhat.com>
775
776 * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
777 * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
778
cb197581
JJ
7792006-03-02 Jeff Johnston <jjohnstn@redhat.com>
780
781 * libm/math/math.tex: Fix reference to sisnan.def which
782 is now in common subdirectory.
783 * libm/mathfp/mathfp.tex: Ditto.
784
e48682cf
JJ
7852006-02-27 Jeff Johnston <jjohnstn@redhat.com>
786
787 * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
788 s_isnand, and sf_isnanf object files.
789 * Makefile.in: Regenerated.
790 * libc/include/ieeefp.h: Undef isnan and isinf to avoid
791 conflict if <math.h> has previously been included.
792 * libc/include/math.h
bc88ea65
JJ
793 * libc/include/math.h: Make isnan and isinf macros to
794 conform to C99.
795 (__isinfd, __isinff, __isnand, __isnanf): New functions.
e48682cf
JJ
796 * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
797 and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and
798 sf_isinf files which have been moved from math/mathfp directories.
799 * libm/common/Makefile.in: Regenerated.
800 * libm/common/s_isinfd.c: New file.
801 * libm/common/s_isnand.c: Ditto.
802 * libm/common/sf_isinff.c: Ditto.
803 * libm/common/sf_isnanf.c: Ditto.
804 * libm/common/s_isinf.c: Moved from libm/math directory.
805 * libm/common/s_isnan.c: Ditto.
806 * libm/common/sf_isinf.c: Ditto.
807 * libm/common/sf_isnan.c: Ditto.
808 * libm/math/Makefile.am: Remove isinf and isnan family functions
809 which have been moved into common directory.
810 * libm/mathfp/Makefile.am: Ditto.
811 * libm/math/Makefile.in: Regenerated.
812 * libm/mathfp/Makefile.in: Ditto.
813 * libm/math/s_isinf.c: Removed.
814 * libm/math/s_isnan.c: Ditto.
815 * libm/math/sf_isinf.c: Ditto.
816 * libm/math/sf_isnan.c: Ditto.
817 * libm/mathfp/s_isinf.c: Ditto.
818 * libm/mathfp/s_isnan.c: Ditto.
819 * libm/mathfp/sf_isinf.c: Ditto.
820 * libm/mathfp/sf_isnan.c: Ditto.
821
99db626d
JJ
8222006-02-20 Jeff Johnston <jjohnstn@redhat.com>
823
824 * libc/stdio/fflush.c (fflush): For an fflush on a read-only
825 stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
826 * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
827 seek, turn off the __SNPT no-optimization flag.
828
49103e2b
JJ
8292006-02-16 Jeff Johnston <jjohnstn@redhat.com>
830
831 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
832 will be defined.
833 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
834 <features.h> to preset special flags.
835
680e0f1f
CV
8362006-02-15 Corinna Vinschen <corinna@vinschen.de>
837
838 * libc/include/sys/time.h (struct timeval): Change member types
839 according to SUSv3.
840 * libc/include/sys/types.h (useconds_t): Change to unsigned
841 according to SUSv3.
842 (suseconds_t): Define type.
843
d6593503
JJ
8442006-02-13 Jeff Johnston <jjohnstn@redhat.com>
845 David Carne <davidcarne@gmail.com>
846
847 * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
848 instead of strlen to determine number of bytes to copy.
849 * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
850 before looking at storage location.
851
9bbe6d5d
JJ
8522006-02-07 Paul Brook <paul@codesourcery.com>
853
854 * libc/machine/arm/setjmp.S: Add Thumb-2 support.
855 * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
856 * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
857 * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
858 * libc/sys/arm/trap.S: Disable for Thumb-2.
859
d968b3c8
JJ
8602006-01-31 Leif Ekblad <leif@rdos.net>
861
862 * configure.host: RDOS support added
863 * libc/include/sys/config.h: Ditto.
864 * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
865 * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
866 * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
867 * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
868 * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
869 * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
870 * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
871 * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
872 * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
873 * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
874 * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
875 * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
876 * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
877 * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
878 * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
879 * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
880 * libc/sys/rdos/write.c: Ditto.
881
3acaaf54
JJ
8822006-01-24 Jeff Johnston <jjohnstn@redhat.com>
883
884 * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
885 so as not to define PACKAGE and VERSION in newlib.h.
886 * aclocal.m4: Regenerated.
887 * configure: Ditto.
888 * newlib.hin: Ditto.
889
54abc854
JJ
8902006-01-20 Jeff Johnston <jjohnstn@redhat.com>
891
892 * acconfig.h: New file to generate newlib.hin from.
893 * newlib.hin: Regenerated.
894 * stamp-h.in: Regenerated.
895 * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
896 called automatically.
897 * Makefile.in: Regenerated.
898 * acinclude.m4: Add proper comment for hack in previous change.
899 * aclocal.m4 */aclocal.m4: Regenerated.
900 * configure */configure: Regenerated.
901
33c9cfbd
JJ
9022006-01-11 Jeff Johnston <jjohnstn@redhat.com>
903
904 * acinclude.m4: Add hack to prevent INSTALL in subdirs
905 from being set to "../".
906 * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
907 * aclocal.m4: Regenerated.
908 * configure: Ditto.
909 * Makefile.in: Ditto.
910 * doc/aclocal.m4: Ditto.
911 * doc/configure: Ditto.
912 * iconvdata/aclocal.m4: Ditto.
913 * iconvdata/configure: Ditto.
914 * libc/*/aclocal.m4: Ditto.
915 * libc/*/configure: Ditto.
916 * libc/libc.texinfo: Ditto.
917 * libm/*/aclocal.m4: Ditto.
918 * libm/*/configure: Ditto.
919
dea958bc
JJ
9202006-01-10 Eric Blake <ebb9@byu.net>
921
922 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
923 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
924
216633f7
JJ
9252006-01-10 Jeff Johnston <jjohnstn@redhat.com>
926
927 * libm/mathfp/s_frexp.c: Check for special values on
928 the original input, not the manipulated output value.
929 * libm/mathfp/sf_frexp.c: Ditto.
930 * libm/mathfp/s_atangent.c: Don't use local value branch
931 when checking for quadrant.
932 * libm/mathfp/sf_atangent.c: Ditto.
933
64ae8ab5
JJ
9342006-01-09 Jeff Johnston <jjohnstn@redhat.com>
935
936 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
937 * libc/stdio64/freopen64.c: Ditto.
938
0da7297e
JJ
9392006-01-09 Eric Blake <ebb9@byu.net>
940
941 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
942 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
943
a37aaf88
JJ
9442006-01-06 Jeff Johnston <jjohnstn@redhat.com>
945
946 * libc/sys/linux/include/getopt.h: Add macros needed by
947 new version of getopt.c in libc/stdlib.
948
791c9bda
JJ
9492006-01-04 Gregory Pietsch <gpietsch@comcast.net>
950
951 * libc/stdlib/getopt.c: Replaced with version
952 that adds getopt_long and getopt_long_only support.
953 * libc/include/getopt.h: New file.
954
0217078f
JJ
9552005-12-16 Jeff Johnston <jjohnstn@redhat.com>
956
957 * NEWS: Update with 1.14.0 info.
958 * README: Ditto.
959 * acinclude.m4: Change version number to 1.14.0.
960 * aclocal.m4: Regenerated.
961 * configure: Ditto.
962 * doc/aclocal.m4: Ditto.
963 * doc/configure: Ditto.
964 * libc/*/aclocal.m4: Ditto.
965 * libc/*/configure: Ditto.
966 * libc/libc.texinfo: Ditto.
967 * libm/*/aclocal.m4: Ditto.
968 * libm/*/configure: Ditto.
969 * libm/libm.texinfo: Ditto.
970 * libc/sys/linux/shared.ld: Add VERS_1.14.
971
a4cd7f20
JJ
9722005-12-16 Jeff Johnston <jjohnstn@redhat.com>
973
974 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
975 take a pointer to struct stat64 rather than struct stat.
976
843e635a
JJ
9772005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
978
979 * libc/include/stdint.h: Prefer long over int for int32_t.
980 Use __have_long32 to set up int32_t.
981 * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
982 (Sync with stdint.h).
983
10cba930
CV
9842005-12-14 Corinna Vinschen <corinna@vinschen.de>
985
986 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
987 typo in O_NDELAY comment.
988
c8ba5c22
JJ
9892005-12-13 Nathan Sidwell <nathan@codesourcery.com>
990
991 * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
992 * libc/include/machine/setjmp.h (__mt__): Likewise.
993 * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
994 * libc/machine/configure.in: Ditto.
995
74ecef0d
NS
9962005-12-12 Nathan Sidwell <nathan@codesourcery.com>
997
998 * configure.host: Replace ms1 arch with mt arch.
999 * libc/machine/mt: Renamed from ms1 dir.
1000
2a1fc53c
JJ
10012005-12-08 Shaun Jackman <sjackman@gmail.com>
1002
1003 * libc/include/sys/types.h: Remove the ifdef armour around
1004 standard POSIX types.
1005
77e70d34
JJ
10062005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
1007
1008 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
1009 rtems_gxx_key_delete, rtems_gxx_getspecific,
1010 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
1011 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
1012 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
1013
b1da33a0
CF
10142005-12-05 Christopher Faylor <cgf@timesys.com>
1015
1016 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
1017 file. Declare unsetenv and _unsetenv_r when not cygwin.
1018
6b1a6ec6
JJ
10192005-11-18 Jeff Johnston <jjohnstn@redhat.com>
1020
1021 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
1022 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
1023
d7d477b7
CF
10242005-11-18 Christopher Faylor <cgf@timesys.com>
1025
1026 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
1027
c1534dbe
CF
10282005-11-18 Christopher Faylor <cgf@timesys.com>
1029
1030 * include/time.h: Remove more cygwin-specific stuff.
1031
d3e81bda
CF
10322005-11-18 Christopher Faylor <cgf@timesys.com>
1033
1034 * include/time.h: Move cygwin declarations to cygwin-specific header.
1035 * include/sys/time.h: Rename cygwin include to "sys_time.h".
1036
1396951b
JJ
10372005-11-17 Jeff Johnston <jjohnstn@redhat.com>
1038
1039 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
1040 in libc/sys/linux/include.
1041 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
1042 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
1043 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
1044 in libc/sys/linux/dl.
1045
37bd11ed
CF
10462005-11-11 Christopher Faylor <cgf@timesys.com>
1047
1048 * libc/include/sys/time.h: For cygwin, use general header rather than
1049 specific "sys/select.h".
1050
b397593c
JJ
10512005-11-08 Tom Walsh <tom@openhardware.net>
1052
1053 * libc/time/tzvars.c: New file.
1054 * libc/time/tzset_r.c: Moved globals into tzvars.c
1055 so other time functions needn't link in __tzset_r and its
1056 dependencies.
1057 * libc/time/Makefile.am: Add the new file.
1058 * libc/time/Makefile.in: Regenerated.
1059
86c6c421
CF
10602005-11-08 Christopher Faylor <cgf@timesys.com>
1061
1062 * libc/include/string.h: Add cygwin-specific function declaration.
1063
ef1206e4
CV
10642005-11-07 Corinna Vinschen <corinna@vinschen.de>
1065
1066 * libc/include/ieeefp.h: Add C++ guards.
1067
15eaca1c
JJ
10682005-11-03 Jeff Johnston <jjohnstn@redhat.com>
1069
1070 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
1071 * libc/unix/getlogin.c: Ditto.
1072 * libc/unix/getpass.c: Ditto.
1073 * libc/unix/getut.c: Ditto.
1074 * libc/unix/ttyname.c: Ditto.
1075
d31a8623
JJ
10762005-11-03 Shaun Jackman <sjackman@gmail.com>
1077
1078 * libc/include/sys/unistd.h (readlink, symlink): Provide these
1079 prototypes by default.
1080 * libc/sys/linux/include/unistd.h (readlink): Remove this
1081 prototype.
1082 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
1083 prototypes.
1084
71ac53ee
JJ
10852005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
1086
1087 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
1088
dc1b6289
JJ
10892005-10-31 Darin Johnson <darin@usa.net>
1090
1091 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
1092 correct for constants.
1093
884c0ff0
JJ
10942005-10-28 Bob Wilson <bob.wilson@acm.org>
1095
1096 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
1097 * libc/stdio/siscanf.c: Likewise.
1098 * libc/stdio/sprintf.c: Likewise.
1099 * libc/stdio/sscanf.c: Likewise.
1100 * libc/stdio/vfprintf.c: Likewise.
1101 * libc/stdio/vfscanf.c: Likewise.
1102 * libc/stdio/viprintf.c: Likewise.
1103 * libc/stdio/viscanf.c: Likewise.
1104
a9c15f6f
JJ
11052005-10-28 Bob Wilson <bob.wilson@acm.org>
1106
1107 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
1108 example to use "_end" symbol instead of "end". Change write example
1109 to use "outbyte" instead of "writechar".
1110
a306ebc9
JJ
11112005-10-28 Bob Wilson <bob.wilson@acm.org>
1112
1113 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
1114 * libc/ctype/islower.c: Likewise.
1115 * libc/ctype/isupper.c: Likewise.
1116 * libc/ctype/iswalnum.c: Likewise.
1117 * libc/ctype/iswalpha.c: Likewise.
1118 * libc/ctype/iswblank.c: Likewise.
1119 * libc/ctype/iswcntrl.c: Likewise.
1120 * libc/ctype/iswdigit.c: Likewise.
1121 * libc/ctype/iswgraph.c: Likewise.
1122 * libc/ctype/iswlower.c: Likewise.
1123 * libc/ctype/iswprint.c: Likewise.
1124 * libc/ctype/iswpunct.c: Likewise.
1125 * libc/ctype/iswspace.c: Likewise.
1126 * libc/ctype/iswupper.c: Likewise.
1127 * libc/ctype/iswxdigit.c: Likewise.
1128 * libc/ctype/tolower.c: Likewise.
1129 * libc/ctype/toupper.c: Likewise.
1130 * libc/ctype/towctrans.c: Likewise.
1131 * libc/ctype/towlower.c: Likewise.
1132 * libc/ctype/towupper.c: Likewise.
1133 * libc/string/strcasecmp.c: Likewise.
1134 * libc/string/strcoll.c: Likewise.
1135 * libc/string/strings.tex: Likewise.
1136 * libc/string/strlwr.c: Likewise.
1137 * libc/string/strncasecmp.c: Likewise.
1138 * libc/string/strupr.c: Likewise.
1139 * libc/string/wcscoll.c: Likewise.
1140 * libc/string/wcslcat.c: Likewise.
1141 * libc/string/wcslcpy.c: Likewise.
1142 * libc/string/wcsnlen.c: Likewise.
1143 * libc/string/wcsstr.c: Likewise.
1144 * libc/string/wcstrings.tex: Likewise.
1145 * libc/string/wmemchr.c: Likewise.
1146 * libc/string/wmemcmp.c: Likewise.
1147 * libc/string/wmemcpy.c: Likewise.
1148 * libc/string/wmemmove.c: Likewise.
1149 * libc/string/wmemset.c: Likewise.
1150
239c2bf9
JJ
11512005-10-28 Bob Wilson <bob.wilson@acm.org>
1152
1153 * libc/misc/unctrl.c: Replace FUNCTION description.
1154 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
1155 * libc/stdio/getdelim.c: Fix spelling errors.
1156 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
1157 * libc/stdio/putw.c: Likewise.
1158 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
1159 documentation.
1160 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
1161 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
1162 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
1163 * libc/stdlib/mlock.c: Likewise.
1164 * libc/stdlib/mstats.c: Likewise.
1165 * libc/time/tzlock.c: Likewise.
1166 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
1167 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
1168 and hyphenate "pseudo-random".
1169 * libc/string/bcmp.c: Remove extra blank lines in documentation.
1170 * libc/string/strncat.c: Likewise.
1171 * libc/string/memchr.c: Remove extra ">" character in documentation.
1172 * libc/string/strcspn.c: Use "characters" instead of "chars".
1173 * libc/string/strpbrk.c: Likewise.
1174 * libc/string/strerror_r.c: Capitalize "GNU".
1175 * libc/string/strnlen.c: Likewise.
1176 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
1177 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
1178 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
1179 * libc/string/wcschr.c: Likewise.
1180 * libc/string/wcscmp.c: Likewise.
1181 * libc/string/wcscpy.c: Likewise.
1182 * libc/string/wcscspn.c: Likewise.
1183 * libc/string/wcslen.c: Likewise.
1184 * libc/string/wcsncat.c: Likewise.
1185 * libc/string/wcsncmp.c: Likewise.
1186 * libc/string/wcsncpy.c: Likewise.
1187 * libc/string/wcsnlen.c: Likewise.
1188 * libc/string/wcspbrk.c: Likewise.
1189 * libc/string/wcsrchr.c: Likewise.
1190 * libc/string/wcsspn.c: Likewise.
1191 * libc/string/wmemchr.c: Likewise.
1192 * libc/string/wmemcmp.c: Likewise.
1193 * libc/string/wmemcpy.c: Likewise.
1194 * libc/string/wmemset.c: Likewise.
1195 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
1196 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
1197 * libc/string/wcwidth.c: Likewise.
1198 * libm/common/s_modf.c: Remove extra period from documentation.
1199 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
1200 documentation.
1201 * libm/mathfp/s_isnan.c: Likewise.
1202 * libm/math/s_ldexp.c: Fix punctuation.
1203 * libm/mathfp/s_ldexp.c: Likewise.
1204 * libm/math/w_log.c: Likewise.
1205 * libm/mathfp/s_logarithm.c: Likewise.
1206 * libm/math/w_j0.c: Add spaces to FUNCTION description.
1207 * libm/mathfp/w_jn.c: Likewise.
1208
2556eb8d
JJ
12092005-10-26 Shaun Jackman <sjackman@gmail.com>
1210
1211 * libc/posix/scandir.c (scandir): Update the function
1212 prototype to match the header.
1213 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
1214 extraneous #endif.
1215 * libc/sys/linux/sys/lock.h: Do not include
1216 machine/weakalias.h, since it's not used by this file.
1217
c9d71a8d
JJ
12182005-10-26 Jeff Johnston <jjohnstn@redhat.com>
1219
1220 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
1221 directories can override properly.
1222
09968b6d
JJ
12232005-10-20 Jeff Johnston <jjohnstn@redhat.com>
1224
1225 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
1226 gcc is 3.3 or greater, use special gcc builtins.
1227
c70571bd
CV
12282005-10-20 Corinna Vinschen <corinna@vinschen.de>
1229
1230 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
1231
a92822b7
CV
12322005-10-18 Corinna Vinschen <corinna@vinschen.de>
1233
1234 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
1235
d2c2c132
JJ
12362005-10-14 Jeff Johnston <jjohnstn@redhat.com>
1237
1238 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
1239 * libm/common/Makefile.am: Add s_infconst.c support.
1240 * libm/common/Makefile.in: Regenerated.
1241 * libm/common/s_infconst.c: New file with float and
1242 long double infinity support added.
1243 * libm/math/Makefile.am: Remove s_infconst.c support.
1244 * libm/math/Makefile.in: Regenerated.
1245 * libm/math/s_infconst.c: Moved to common directory.
1246 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
1247 * libm/mathfp/Makefile.in: Regenerated.
1248 * libm/mathfp/s_infconst.c: Moved to common directory.
1249
4d57c1ed
JJ
12502005-10-14 Jeff Johnston <jjohnstn@redhat.com>
1251
1252 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
1253 dbgprintf to prevent conflict with new dprintf function.
1254
1012585f
JJ
12552005-10-14 Jeff Johnston <jjohnstn@redhat.com>
1256
1257 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
1258 "nan" processing for systems that have long double support.
1259
e9154015
JJ
12602005-10-14 Jeff Johnston <jjohnstn@redhat.com>
1261
1262 * libc/sys/linux/sys/types.h (int8_t): Add type.
1263
1a869698
JJ
12642005-10-14 Bob Wilson <bob.wilson@acm.org>
1265
1266 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
1267 * libm/common/Makefile.in: Regenerate.
1268 * libm/common/common.tex: Delete file.
1269 * libm/math/math.tex: Include .def files from common/.
1270 * libm/mathfp/mathfp.tex: Likewise.
1271
e0811fb3
JJ
12722005-10-14 Bob Wilson <bob.wilson@acm.org>
1273
1274 * libc/libc.texinfo (Top): Surround this node with @ifnottex
1275 instead of @ifinfo. Update menu to add Introduction and match
1276 SUBDIRS order.
1277 (Introduction): New section.
1278
e63c98c6
JJ
12792005-10-14 Bob Wilson <bob.wilson@acm.org>
1280
1281 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
1282 with "Red Hat newlib C Library".
1283 * libc/sys.tex (Stubs): Likewise.
1284 * libm/math/math.tex (Math): Likewise.
1285 * libm/mathfp/mathfp.tex (Math): Likewise.
1286
339195bf
JJ
12872005-10-11 Shaun Jackman <sjackman@gmail.com>
1288
1289 * libc/include/stdio.h (dprintf): New declaration.
1290 (vdprintf): Ditto.
1291 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
1292 and vdprintf.c.
1293 * libc/stdio/Makefile.in: Regenerate.
1294 * libc/stdio/dprintf.c: New file.
1295 * libc/stdio/vdprintf.c: New file.
1296 * libc/stdio/stdio.tex (dprintf): New entry.
1297
da71e518
JJ
12982005-10-11 David Weatherford <weath@tensilica.com>
1299
1300 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
1301 Print "inf" and "nan" in lowercase for e/f/g formats and in
1302 uppercase for E/F/G formats.
1303
f011605a
JJ
13042005-10-07 Bob Wilson <bob.wilson@acm.org>
1305
1306 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
1307 to ENOMEM on failure.
1308
bc037f3a
JJ
13092005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
1310
1311 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
1312
c7e20979
JJ
13132005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
1314
1315 * libc/include/stdint.h: Move magic to set __have_long* to the
1316 beginning. Use #if __have* instead of #if defined(__have*).
1317 Minor typo fixes.
1318
58e78add
JJ
13192005-10-04 James E Wilson <wilson@specifix.com>
1320
1321 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
1322 #error.
1323
8afb8202
JJ
13242005-10-03 Jeff Johnston <jjohnstn@redhat.com>
1325
1326 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
1327 incorporate Ralf's change below.
1328
14491fd0
JJ
13292005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
1330
1331 * libc/include/stdint.h:
1332 Use __INTMAX_TYPE__ to derive intmax_t.
1333 Use __UINTMAX_TYPE__ to derive uintmax_t.
1334 Fix minor typo.
1335
ee694aea
JJ
13362005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
1337
1338 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
1339 handling GCC >= 4.
1340
9f1926f2
JJ
13412005-09-20 Jeff Johnston <jjohnstn@redhat.com>
1342
1343 * libc/sys/linux/include/stdint.h: Update to match functionality
1344 of generic newlib stdint.h.
1345
0ce4fcef
JJ
13462005-09-20 Jeff Johnston <jjohnstn@redhat.com>
1347
1348 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
1349 and do not #undef the macro after it is used. Fix typos.
1350 Also change 64-bit constants to use the __have_long64 and
1351 __have_longlong64 flags to determine if long or long long
1352 constants should be used.
1353 * libc/include/inttypes.h: Include stddef.h to get wchar_t
1354 type defined.
1355
17060817
JJ
13562005-09-20 Shaun Jackman <sjackman@gmail.com>
1357
1358 * libc/include/stdint.h: Fix typo in names of
1359 LEAST macros.
1360
1e1d1d3d
JJ
13612005-09-20 Jeff Johnston <jjohnstn@redhat.com>
1362
1363 * libc/sys/rtems/include/inttypes.h: Moved to...
1364 * libc/include/inttypes.h: ...here.
1365
cddfc170
JJ
13662005-09-19 Jeff Johnston <jjohnstn@redhat.com>
1367
1368 * libc/sys/rtems/include/stdint.h: Moved to...
1369 * libc/include/stdint.h: ...here.
1370
b10ab725
JJ
13712005-09-08 Jeff Johnston <jjohnstn@redhat.com>
1372
1373 * Makefile.am: Add include files under bits sub-directory.
1374 * Makefile.in: Regenerated.
1375 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
1376 actual value of 1 to be compatible with newer glibc headers.
1377 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
1378 glibc headers.
1379 * libc/sys/linux/sys/dirent.h: Ditto.
1380 * libc/sys/linux/argp/argp-xinl.c: Ditto.
1381 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
1382 profile_fixup routines are marked used so they won't be
1383 optimized away.
1384 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
1385 to mark functions as weak.
1386 * libc/sys/linux/dl/dl-open.c: Ditto.
1387 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
1388 rules about lvalues.
1389 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
1390 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
1391 weak_extern macro to mark functions as weak. Instead always
1392 use #pragma weak.
1393 * iconvdata/jis0208.h: Fix to work with gcc4.
1394 * libc/sys/linux/dl/dl-load.c: Ditto.
1395 * libc/sys/linux/dl/dl-reloc.c: Ditto.
1396 * libc/sys/linux/dl/do-rel.h: Ditto.
1397 * libc/sys/linux/dl/dynamic-link.h: Ditto.
1398 * libc/sys/linux/include/ltdl.h: Ditto.
1399 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
1400 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
1401 * libc/sys/linux/net/ns_ntoa.c: Ditto.
1402 * libc/sys/linux/bits/initspin.h: New file.
1403 * libc/sys/linux/bits/libc-lock.h: Ditto.
1404 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
1405 * libc/sys/linux/bits/typesizes.h: Ditto.
1406
7b786e48
JJ
14072005-09-08 Eric Blake <ebb9@byu.net>
1408
1409 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
1410 before is NULL.
1411
32b09d75
JJ
14122005-09-08 Brian Dessent <brian@dessent.net>
1413
1414 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
1415 mantissa.
1416 * s_lrint.c: Ditto.
1417
8f36ef2f
JJ
14182005-09-02 Jeff Johnston <jjohnstn@redhat.com>
1419
1420 * libc/include/stdio.h: Add prototype for viprintf.
1421
cebe43dd
JJ
14222005-09-01 Jeff Johnston <jjohnstn@redhat.com>
1423
1424 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
1425 any positive power results in 0.
1426 * libm/mathfp/sf_pow.c (powf): Ditto.
1427
45c8bb8f
JJ
14282005-08-31 Paul Brook <paul@codesourcery.com>
1429
1430 * configure.host: Set have_crt0 to no for Arm targts when not
1431 providing syscalls. Set sys_dir=arm unconditionally.
1432 Default have_crt0 based on sys_dir.
1433 * configure.in: Use have_crt0.
1434 * libc/configure.in: Ditto.
1435 * libc/sys/configure.in: Ditto.
1436 * configure: Regenerate.
1437 * libc/configure: Regenerate.
1438 * libc/sys/configure: Regenerate.
1439 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
1440 Only build other files when providing syscalls.
1441 * libc/sys/arm/Makefile.in: Regenerate.
1442 * libc/sys/arm/aeabi_atexit.c: New file.
1443
dbeee890
CF
14442005-08-26 Christopher Faylor <cgf@timesys.com>
1445
1446 * libc/include/string.h: Revert previous change.
1447
377d3ea0
CF
14482005-08-25 Christopher Faylor <cgf@timesys.com>
1449
1450 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
1451
4797a77c
JJ
14522005-08-22 Shaun Jackman <sjackman@gmail.com>
1453
1454 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
1455 define _opendir as opendir, _readdir as readdir, and
1456 _closedir as closedir so that the implementations in
1457 libc/posix will be used.
1458
2e73582e
DD
14592005-08-10 DJ Delorie <dj@redhat.com>
1460
1461 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
1462
234cf97f
JJ
14632005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
1464
1465 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
1466 * libm/common/s_max.c: Ditto.
1467 * libm/common/sf_fmin.c: Ditto.
1468 * libm/common/s_min.c: Ditto.
1469
56448afa
JJ
14702005-08-10 DJ Delorie <dj@redhat.com>
1471
1472 * configure.host: Add m32c support.
1473 * libc/include/machine/ieeefp.h: Likewise.
1474 * libc/include/machine/setjmp.h: Likewise.
1475 * libc/include/sys/config.h: Likewise.
1476 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
1477 * libc/machine/m32c/aclocal.m4: New file.
1478 * libc/machine/m32c/configure: Ditto.
1479 * libc/machine/m32c/configure.in: Ditto.
1480 * libc/machine/m32c/Makefile.am: Ditto.
1481 * libc/machine/m32c/Makefile.in: Ditto.
1482 * libc/machine/m32c/setjmp.S: Ditto.
1483
0c5c6c23
JJ
14842005-08-02 Bob Wilson <bob.wilson@acm.org>
1485
56448afa
JJ
1486 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
1487 to the value for 2^126.
0c5c6c23 1488
12499c7a
HPN
14892005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
1490
1491 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
1492 used.
1493
395a327d
JJ
14942005-07-20 Bob Wilson <bob.wilson@acm.org>
1495 Darin Petkov <darin@tensilica.com>
1496
1497 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
1498
108d7dd8
JJ
14992005-07-19 Paul Brook <paul@codesourcery.com>
1500
1501 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
1502
b776efc5
JJ
15032005-07-18 Joseph S. Myers <joseph@codesourcery.com>
1504
1505 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
1506 names after PASS and FAIL which do not depend on source directory
1507 name or on whether test passed or failed.
1508 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
1509
88540e24
JJ
15102005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
1511
1512 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
1513
85d62190 15142005-07-07 Shaun Jackman <sjackman@gmail.com>
b32adfc5 1515
88540e24 1516 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
b32adfc5
JJ
1517 twice for the same directory. _closedir calls free, and freeing
1518 the same pointer twice may cause a crash.
1519
dee9edd9
AH
15202005-07-06 Aldy Hernandez <aldyh@redhat.com>
1521
1522 * configure.host: Added entry for ms1*.
1523 * libc/include/machine/ieeefp.h: Handle ms1.
1524 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
1525 * libc/machine/ms1/aclocal.m4: New.
1526 * libc/machine/ms1/configure: New.
1527 * libc/machine/ms1/configure.in: New.
1528 * libc/machine/ms1/Makefile.am: New.
1529 * libc/machine/ms1/Makefile.in: New.
1530 * libc/machine/ms1/setjmp.S: New.
1531
cec1d3b4
JJ
15322005-07-04 Mark Mitchell <mark@codesourcery.com>
1533
1534 * Makefile.am (site.exp): Set tmpdir.
1535 * Makefile.in: Regenerated.
1536 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
1537 executables in $tmpdir.
1538 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
1539 libgloss version if not running in the build directory.
1540 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
1541 $tmpdir.
1542 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
1543 in $tmpdir.
1544
25d209f1
JJ
15452005-06-28 Dave Korn <dave.korn@artimi.com>
1546
1547 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
1548 and miscalculation caused by fp representation of zero.
1549 * libm/common/sf_lrint.c (lrintf): Likewise.
1550
68cdbb18
JJ
15512005-06-16 Christopher Faylor <cgf@timesys.com>
1552
1553 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
1554 determine characteristics of long double. Use a union instead.
1555 * ldtoa.c (_ldtoa_r): Ditto.
1556 (_ldcheck): Ditto.
1557 (_strtold): Ditto.
1558 (union uconv): New union.
1559
15c04fd1
JJ
15602005-06-03 Jeff Johnston <jjohnstn@redhat.com>
1561
1562 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
1563 instead of memcpy.
1564
cf55bf5e
JJ
15652005-05-12 Jeff Johnston <jjohnstn@redhat.com>
1566
1567 * configure.host (mn10300-*): Add long long I/O support by default.
1568
b6e654c4
JJ
15692005-05-12 Jeff Johnston <jjohnstn@redhat.com>
1570
1571 * libc/sys/linux/getpwuid.c: Removed.
1572 * libc/sys/linux/getpwnam.c: Removed.
1573 * libc/sys/linux/getpwent.c: New file containing logic
1574 from files removed above. This allows overriding of file
1575 in libc/unix.
1576 * libc/sys/linux/Makefile.am: Support changes above.
1577 * libc/sys/linux/Makefile.in: Regenerated.
1578
5456408b
JJ
15792005-04-28 Jeff Johnston <jjohnstn@redhat.com>
1580
1581 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
1582 when checking for multiple flags.
1583
1c74754f
HPN
15842005-04-18 Hans-Peter Nilsson <hp@axis.com>
1585
1586 * configure.host <cris-*-* | crisv32-*-*>: Set
1587 default_newlib_io_long_long="yes".
1588
6e75bff6
JJ
15892005-04-08 Jeff Johnston <jjohnstn@redhat.com>
1590
1591 * libc/include/libgen.h: New file.
1592
15932005-04-08 Shaun Jackman <sjackman@gmail.com>
1594
1595 * libc/unix/Makefile.am: Add support for basename and dirname.
1596 * libc/unix/Makefile.in: Regenerated.
1597 * libc/unix/basename.c: New file.
1598 * libc/unix/dirname.c: New file.
1599
95c136c4
JJ
16002005-04-07 Shaun Jackman <sjackman@gmail.com>
1601
1602 * libc/sys/linux/inode.c (lchown): New function.
1603
9ae26f7e
JJ
16042005-04-07 Shaun Jackman <sjackman@gmail.com>
1605
1606 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
1607 ELIX level is defined.
1608 * libc/unix/Makefile.in: Regenerated.
1609
85da7039
JJ
16102005-04-05 Dave Korn <dave.korn@artimi.com>
1611
1612 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
1613 something that looks like a "NaN", put back the characters processed.
1614
fefc73a0
CV
16152005-04-01 Corinna Vinschen <corinna@vinschen.de>
1616
1617 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
1618
e633fde1
CF
16192005-03-23 Christopher Faylor <cgf@timesys.com>
1620
1621 * configure.host: For cygwin, redefine CC with cygwin include directory
1622 first to mimic the behavior of the top-level configury. Move include
1623 directory out of newlib_cflags.
1624
859c94e8
JJ
16252005-03-22 Jeff Johnston <jjohnstn@redhat.com>
1626
1627 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
1628 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
1629 than errno.
1630
7e3fd32b
CF
16312005-03-22 Christopher Faylor <cgf@timesys.com>
1632
1633 * libc/include/machine/_types.h: Make trivial change to comment to
1634 avoid a spurious warning from gcc.
1635
d4eb8920
JJ
16362005-03-21 Nicholas Wourms <nwourms@netscape.net>
1637
1638 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
1639 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
1640 reent.h include.
1641
45030958
JJ
16422005-03-18 Hans-Peter Nilsson <hp@axis.com>
1643 Corinna Vinschen <corinna@vinschen.de>
1644
1645 * libc/include/ctype.h: Remove invalid +1 offset from
1646 ctype macro references to __ctype_ptr.
1647 (_ctype_): Move declaration outside #ifndef __cplusplus.
1648
5c9b5ac7
CV
16492005-03-18 Corinna Vinschen <corinna@vinschen.de>
1650
1651 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
1652 evaluate first parameter only once.
1653 (siglongjmp): Ditto.
1654
dd801fda
JJ
16552005-03-17 Jeff Johnston <jjohnstn@redhat.com>
1656
1657 * configure.in: Add new check to see if compiler supports
1658 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
1659 * configure: Regenerated.
1660 * Makefile.in: Ditto.
1661 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
1662 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
1663 aliasing the _ctype_ array to _ctype_b.
1664 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
1665 _ctype_ as deprecated.
1666
333eabc6
HPN
16672005-03-17 Hans-Peter Nilsson <hp@axis.com>
1668
1669 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
1670 -DCOMPACT_CTYPE.
1671
df5a5b35
JJ
16722005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
1673
1674 * libc/sys/rtems/include/inttypes.h: New file.
1675 * libc/sys/rtems/include/stdint.h: Ditto.
1676
9d385fb0
JJ
16772005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
1678
1679 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
1680
2e7d9bf9
JJ
16812005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
1682
1683 * libc/include/machine/_types.h: New file.
1684 * libc/include/sys/types.h: Do not check for __rtems__
1685 when including <machine/_types.h>. Remove some redundant
1686 declarations now that <machine/_types.h> is included.
1687 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
1688 shared header file.
1689
92a7e06e
JJ
16902005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
1691
1692 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
1693 L qualifier for these long constants.
1694
1139537a
JJ
16952005-02-25 Eric Blake <ebb9@byu.net>
1696
1697 * libc/include/time.h (__tzrule_struct): Make offset long, since
1698 a 16-bit int overflows on a 12-hour offset.
1699 * libc/sys/linux/include/time.h: Ditto.
1700 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
1701 * libc/time/mktm_r.c: Ditto.
1702 * libc/time/gettzinfo.c: Ditto.
1703 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
1704 years. Fix '%z' to use long, not int.
1705
f4fd7b4c
JJ
17062005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
1707
1708 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
1709 manipulate float values in integer form.
1710 * libm/common/sf_round.c: Ditto.
1711
f2f8a9a2
JJ
17122005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
1713
1714 * libc/include/sys/types.h [__rtems__]: Include new
1715 header file machine/_types.h.
1716 * libc/include/machine/types.h: Ditto.
1717 * libc/sys/rtems/machine/_types.h: New file.
1718
39fd43d7
CV
17192005-02-23 Corinna Vinschen <corinna@vinschen.de>
1720
1721 * libc/include/time.h (_timezone): Change to long also for Cygwin.
1722 (timezone): Drop cast from definition.
1723
6b9a74f9
JJ
17242005-02-23 Jeff Johnston <jjohnstn@redhat.com>
1725
1726 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
1727 (__tzrule_type, __tzinfo_type): New types.
1728 (__gettzinfo): New function.
1729 * libc/sys/linux/include/time.h: Ditto.
1730 * libc/time/Makefile.am: Add gettzinfo.c.
1731 * libc/time/Makefile.in: Regenerated.
1732 * libc/time/local.h: Moved __tzrule_type to time.h.
1733 * libc/time/mktime.c: Call __gettzinfo to reference
1734 __tznorth, __tzyear, and __tzrule array.
1735 * libc/time/mktm_r.c: Ditto.
1736 * libc/time/strftime.c: Ditto.
1737 * libc/time/tzset_r.c: Ditto. Also remove definition
1738 of __tzrule which is now in gettzinfo.c. Change _timezone
1739 references to not cast to time_t.
1740 * libc/time/gettzinfo.c: New file.
1741
6015cf9f
CV
17422005-02-23 Corinna Vinschen <corinna@vinschen.de>
1743
1744 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
1745
5e4c05da
CV
17462005-02-22 Corinna Vinschen <corinna@vinschen.de>
1747
1748 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
1749
f1d439fc
JJ
17502005-02-16 Eric Blake <ebb9@byu.net>
1751
1752 * libc/time/time.tex: Improve the documentation.
1753 * libc/time/strftime.c: Improve the documentation.
1754 (iso_year_adjust): New helper function.
1755 (strftime): Simplify '%E' and '%O'. Change '%c' to use
1756 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
1757 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
1758 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
1759 Avoid core dumps on valid inputs (maxsize == 0, or
1760 tim_p->tm_isdst > 1).
1761
18d3a03b
CV
17622005-02-08 Corinna Vinschen <corinna@vinschen.de>
1763
1764 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
1765 members to uid_t and gid_t according to SUSv3.
1766 * libc/include/sys/time.h (utimes): Change second parameter
1767 to const according to SUSv3.
1768
1159e0fd
JJ
17692005-02-07 Antony King <antony.king@st.com>
1770
1771 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
1772 called before _flockfile to prevent lock object use before
1773 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
1774 take a struct _reent * instead of a FILE *.
1775 * libc/stdio/fclose.c (_fclose_r): Ditto.
1776 * libc/stdio/feof.c (feof): Ditto.
1777 * libc/stdio/ferror.c (ferror): Ditto.
1778 * libc/stdio/fflush.c (fflush): Ditto.
1779 * libc/stdio/fgetc.c (fgetc): Ditto.
1780 * libc/stdio/fgets.c (fgets): Ditto.
1781 * libc/stdio/fileno.c (fileno): Ditto.
1782 * libc/stdio/fputc.c (fputc): Ditto.
1783 * libc/stdio/fputs.c (fputs): Ditto.
1784 * libc/stdio/fread.c (fread): Ditto.
1785 * libc/stdio/freopen.c (_freopen_r): Ditto.
1786 * libc/stdio/fseek.c (_fseek_r): Ditto.
1787 * libc/stdio/ftell.c (_ftell_r): Ditto.
1788 * libc/stdio/fwrite.c (fwrite): Ditto.
1789 * libc/stdio/getc.c (getc): Ditto.
1790 * libc/stdio/getdelim.c (__getdelim): Ditto.
1791 * libc/stdio/putc.c (putc): Ditto.
1792 * libc/stdio/setvbuf.c (setvbuf): Ditto.
1793 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
1794 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
1795 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
1796 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
1797 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
1798 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
1799 _reent * instead of a FILE * and so replace incorrect use of
1800 _REENT with argument.
1801 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
1802 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
1803 CHECK_INIT() take a struct _reent * instead of a FILE *.
1804 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
1805 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
1806 * libc/stdio/perror.c (perror): Ditto.
1807 * libc/stdio/printf.c (printf, _printf_r): Ditto.
1808 * libc/stdio/putchar.c (putchar): Ditto.
1809 * libc/stdio/puts.c (puts): Ditto.
1810 * libc/stdio/refill.c (__srefill): Ditto.
1811 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
1812 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
1813 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
1814 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
1815 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
1816 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
1817 * libc/stdio/wbuf.c (__swbuf): Ditto.
1818 * libc/stdio/wsetup.c (__swsetup): Ditto.
1819 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
1820 * libc/stdlib/mstats.c (_mstats_r): Ditto.
1821 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
1822 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
1823 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
1824 to _flockfile and _funlockfile; rely on locking in _ftell_r.
1825 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
1826 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
1827 initialision of _data field in FILE structure.
1828 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
1829
3d915670
JJ
18302005-02-07 Jeff Johnston <jjohnstn@redhat.com>
1831
1832 * libc/stdio/findfp.c (__sinit): Protect with new lock.
1833 (__sinit_lock): New lock.
1834 (__sinit_lock_acquire, __sinit_lock_release): New functions.
1835 * libc/stdio/local.h: Add reference to new __sinit locking
1836 functions.
1837
b59cab1e
JJ
18382005-02-07 Jeff Johnston <jjohnstn@redhat.com>
1839
1840 * libc/include/math.h (isfinite, isnormal, isunordered): Change
1841 input variable names to avoid mixups with nesting macros.
1842
1815fdea
JJ
18432005-01-27 Hans-Peter Nilsson <hp@axis.com>
1844
1845 * configure.host: Add support for cris-*-* and crisv32-*-*.
1846 * libc/include/machine/ieeefp.h: Ditto.
1847 * libc/include/machine/setjmp.h: Ditto.
1848 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
1849 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
1850 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
1851 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
1852 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
1853 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
1854 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
1855 files.
1856
f7d4d41a
JJ
18572005-01-27 Hans-Peter Nilsson <hp@axis.com>
1858
1859 * testsuite/newlib.string/memmove1.c: New test.
1860
1319dec6
JJ
18612005-01-27 Hans-Peter Nilsson <hp@axis.com>
1862
1863 * testsuite/include/check.h: Include stdlib.h.
1864
b45e65b0
JJ
18652005-01-27 Hans-Peter Nilsson <hp@axis.com>
1866
1867 * Makefile.am (stmp-targ-include): Support include header files
1868 from machine directories.
e9743354 1869 (install-data-local): Ditto.
b45e65b0
JJ
1870 * Makefile.in: Regenerate.
1871
dbfa92dd
JJ
18722005-01-24 Jeff Johnston <jjohnstn@redhat.com>
1873
1874 * libc/include/string.h: Remove Linux-specific declaration of
1875 strsignal and add #include <sys/string.h>.
1876 * libc/include/sys/string.h: New file.
1877 * libc/include/sys/linux/sys/string.h: New file with strsignal
1878 declaration deleted above.
1879
6cb0c055
JJ
18802005-01-20 Jeff Johnston <jjohnstn@redhat.com>
1881
1882 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
1883 to POSIX standard for "C" locale. Allow %E and %O modifiers
1884 to be ignored as long as they precede valid specifiers according
1885 to POSIX.
1886
52429807
JJ
18872005-01-19 Shaun Jackman <sjackman@gmail.com>
1888
1889 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
1890 environment variable is set.
1891
f693170a
JJ
18922005-01-19 Shaun Jackman <sjackman@gmail.com>
1893
1894 * tzset_r.c (_tzname): Add a comma.
1895
464d01bf
AH
18962005-01-18 Aldy Hernandez <aldyh@redhat.com>
1897
1898 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
1899 _VFPRINTF_R.
1900
f7a74742
JJ
19012005-01-07 Paul Brook <paul@codesourcery.com>
1902
1903 * configure.in: Add test for .init_array.
1904 * configure: Regenerate.
1905 * newlib.hin: Add HAVE_INITFINI_ARRAY.
1906 * libc/misc/Makefile.am: Add init.c
1907 * libc/misc/Makefile.in: Regenerate.
1908 * libc/misc/init.c: New file.
1909 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
1910 _init/_fini if they exist.
1911
8fa6cb9a
JJ
19122005-01-06 Jeff Johnston <jjohnstn@redhat.com>
1913
1914 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
1915 * (strtof): Ditto.
1916 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
1917 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
1918 functions for use by strtod and strtof.
1919 * Makefile.in: Regenerated.
1920
034a3909
JJ
19212005-01-06 Hans-Peter Nilsson <hp@axis.com>
1922
1923 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
1924 bit-test in combination with NULL test.
1925
9918ea2d
JJ
19262005-01-06 Hans-Peter Nilsson <hp@axis.com>
1927
1928 * README: Fix typo of LGPL. Change "license" to "copyright".
1929
5cc3f592
JJ
19302004-12-17 Jeff Johnston <jjohnstn@redhat.com>
1931
1932 * NEWS: Update with 1.13.0 info.
1933 * README: Ditto.
1934 * acinclude.m4: Change version number to 1.13.0.
1935 * aclocal.m4: Regenerated.
1936 * configure: Ditto.
1937 * doc/aclocal.m4: Ditto.
1938 * doc/configure: Ditto.
1939 * libc/*/aclocal.m4: Ditto.
1940 * libc/*/configure: Ditto.
1941 * libc/libc.texinfo: Ditto.
1942 * libm/*/aclocal.m4: Ditto.
1943 * libm/*/configure: Ditto.
1944 * libm/libm.texinfo: Ditto.
1945 * libc/sys/linux/shared.ld: Add VERS_1.13.
1946
d8ae996c
JJ
19472004-12-17 Christian Groessler <chris@groessler.org>
1948
1949 * libc/machine/z8k/memcmp.S: New file.
1950 * libc/machine/z8k/memcpy.S: Ditto.
1951 * libc/machine/z8k/memmove.S: Ditto.
1952 * libc/machine/z8k/memset.S: Ditto.
1953 * libc/machine/z8k/Makefile.am: Add new files.
1954 * libc/machine/z8k/Makefile.in: Regenerated.
1955 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
1956 part. Implement Z8002 stdcall version.
1957
82673116
JJ
19582004-12-13 Jeff Johnston <jjohnstn@redhat.com>
1959
1960 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
1961 a low-level read if we don't get the full amount of bytes so
1962 EOF or error flags will be set.
1963
0082d4cf
JJ
19642004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
1965
1966 * libc/time/tzset_r (_tzset_r): Properly skip over
1967 '/' when it is detected.
1968
3b54b74f
JJ
19692004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
1970
1971 * libc/time/tzset_r (_tzset_r): Fix loop.
1972
4b30e154
JJ
19732004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
1974
1975 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
1976 m_day.
1977 (__tzcalc_limits): Fix reference to month array to be zero-based.
1978
465eab2e
JJ
19792004-12-07 Jeff Johnston <jjohnstn@redhat.com>
1980
1981 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
1982 and usleep.
1983
a2b1a849
JJ
19842004-12-03 Jeff Johnston <jjohnstn@redhat.com>
1985
1986 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
1987 libgcc dependencies.
1988 (libm_la_LDFLAGS): Ditto.
1989 * Makefile.in: Regenerated.
1990
c80a1731
JJ
19912004-12-03 Shaun Jackman <sjackman@gmail.com>
1992
1993 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
1994 our link to use readlink so as to preserve any relative link created
1995 by install-toollibLIBRARIES.
1996 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
1997
70e9da42
JJ
19982004-12-02 Shaun Jackman <sjackman@gmail.com>
1999
2000 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
2001 time_t before including sys/stat.h, which uses it.
2002 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
2003 <linux/time.h> just prior to definition of __KERNEL__ so as to
2004 allow building on Debian Linux where otherwise, mktime would
2005 be redefined.
2006
a330d85a
JJ
20072004-11-26 Paul Brook <paul@codesourcery.com>
2008
2009 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
2010
c41a1cb7
JJ
20112004-11-24 Jeff Johnston <jjohnstn@redhat.com>
2012
2013 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
9aa189be 2014 const for value string parameter to match Single Unix and glibc.
c41a1cb7
JJ
2015 * libc/stdlib/putenv.c: Ditto.
2016 * libc/stdlib/putenv_r.c: Ditto.
2017
16ac96ee
JJ
20182004-11-24 Jeff Johnston <jjohnstn@redhat.com>
2019
2020 * libc/stdio/Makefile.am: Fix missing vfscanf.
2021 * libc/stdio/Makefile.in: Regenerated.
2022
3bf09147
JJ
20232004-11-23 Jeff Johnston <jjohnstn@redhat.com>
2024
2025 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
2026 do some reordering.
2027 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
2028 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
2029 family functions.
2030 * libc/stdio/Makefile.in: Regenerated.
2031 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
2032 * libc/stdio/iprintf.c: Ditto.
2033 * libc/stdio/local.h (__svfiscanf_r): New prototype.
2034 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
2035 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
2036 * libc/stdio/stdio.tex: Add new functions.
2037 * libc/stdio/vfscanf.c: Split out __sccl function to separate
2038 file and add special name defines so this file can be used
2039 to build vfiscanf.o.
2040 * libc/stdio/asiprintf.c: New file.
2041 * libc/stdio/fiscanf.c: Ditto.
2042 * libc/stdio/iscanf.c: Ditto.
2043 * libc/stdio/sccl.c: Ditto.
2044 * libc/stdio/siscanf.c: Ditto.
2045 * libc/stdio/vasiprintf.c: Ditto.
2046 * libc/stdio/viprintf.c: Ditto.
2047 * libc/stdio/viscanf.c: Ditto.
2048 * libc/stdio/vsiprintf.c: Ditto.
2049 * libc/stdio/vsiscanf.c: Ditto.
2050 * libc/stdio/vsniprintf.c: Ditto.
2051
0f0fcb04
JJ
20522004-11-19 Shaun Jackman <sjackman@gmail.com>
2053
2054 * libc/include/stdio.h: Add sniprintf.
2055 * libc/stdio/Makefile.am: Add sniprintf.c.
2056 * libc/stdio/Makefile.in: Regenerated.
2057 * libc/stdio/sniprintf.c: New file.
2058 * libc/stdio/stdio.tex: Add sniprintf.
2059
1f8f7e2d
CF
20602004-11-17 Christopher Faylor <cgf@timesys.com>
2061
2062 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
2063 EOF flag if successful.
2064
b08d08c7
CF
20652004-10-28 Christopher Faylor <cgf@timesys.com>
2066
2067 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
334ba104 2068 so that all relevant definitions have been performed for use in the
b08d08c7
CF
2069 include.
2070
65b1964f
JJ
20712004-10-26 Jason Tishler <jason@tishler.net>
2072
2073 * libc/stdio/fread.c (fread): Fix return value for unbuffered
2074 fread.
2075
6382b7e3 20762004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
06b5ef6e
JJ
2077
2078 * libc/include/machine/setjmp.h: Add AVR support.
2079 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
2080
73131c2d
JJ
20812004-10-08 Jeff Johnston <jjohnstn@redhat.com>
2082
2083 * libc/include/sys/signal.h: If <signal.h> didn't include
2084 this header file, include <signal.h> to account for
2085 applications that take advantage that the two header
2086 files are the same in glibc.
2087
1185687a
JJ
20882004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
2089
2090 * configure.host: Add support for crx.
2091 * libc/include/machine/ieeefp.h: Ditto.
2092 * libc/include/machine/setjmp.h: Ditto.
2093 * libc/machine/crx/Makefile.am: New file.
2094 * libc/machine/crx/configure.in: Ditto.
2095 * libc/machine/crx/setjmp.S: Ditto.
2096 * libc/machine/crx/getenv.c: Ditto.
2097 * libc/machine/crx/aclocal.m4: Generate.
2098 * libc/machine/crx/configure: Ditto.
2099 * libc/machine/crx/Makefile.in: Ditto.
2100 * libc/machine/crx/sys/asm.h: New file.
2101 * libc/machine/crx/sys/libh.h: Ditto.
2102 * libc/machine/crx/sys/syscall.h: Ditto.
2103
423152ed
JJ
21042004-10-05 Jeff Johnston <jjohnstn@redhat.com>
2105
2106 * Makefile.am (stmp-targ-include): Support sys header files
2107 from machine directories.
2108 * Makefile.in: Regenerated.
2109
3ea9de76
JJ
21102004-10-04 Jeff Johnston <jjohnstn@redhat.com>
2111
2112 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
2113 count skipped zero characters as part of the nread count for %n.
2114 * libc/machine/powerpc/vfscanf.c: Ditto.
2115
2a6e1223
JJ
21162004-09-24 Jeff Johnston <jjohnstn@redhat.com>
2117
2118 * libc/stdio/local.h: Include <stdlib.h>.
2119
d163f2fc
CV
21202004-09-24 Corinna Vinschen <corinna@vinschen.de>
2121
2122 * libc/stdio/fread.c (fread): Include <malloc.h>.
2123
602de582
JJ
21242004-09-22 Jeff Johnston <jjohnstn@redhat.com>
2125
2126 * libc/stdio/fread.c (fread): For non-space-optimized case,
2127 add special code for unbuffered files to use user buffer and
2128 only require one low-level system read.
2129
32e73f4d
ILT
21302004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
2131
2132 * libc/machine/xscale/setjmp.S: New file, copied from
2133 libc/machine/arm/setjmp.S.
2134 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
2135 * libc/machine/xscale/Makefile.in: Regenerate.
2136
ed6859b8
JJ
21372004-09-16 Antony King <antony.king@st.com>
2138
2139 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
2140 with locking API.
2141 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
2142 check for__SSTR in _flags and if set, skip lock request.
2143 (_funlockfile)[!SINGLE_THREAD]: Ditto.
2144 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
2145 not NULL.
2146 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
2147 initialisation of _file to -1 in local FILE.
2148 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
2149 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
2150 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
2151 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
2152 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
2153 _flags in local FILE to prevent locking.
2154 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
2155
7a0f6966
JJ
21562004-09-16 Antony King <antony.king@st.com>
2157
2158 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
2159 and only walk the reentrancy parameter.
2160 (_fwalk_reent): Ditto.
2161 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
2162
c77672c0
JJ
21632004-09-16 Antony King <antony.king@st.com>
2164
2165 * libc/stdio64/freopen64.c: Remove casting of fp lock to
2166 _LOCK_RECURSIVE_T.
2167
5c44c2e5
JJ
21682004-09-16 Antony King <antony.king@st.com>
2169
2170 * libc/time/tzlock.c: Add default stubs that use generic
2171 locking code.
2172
14613e5e
JJ
21732004-09-16 Antony King <antony.king@st.com>
2174
2175 * libc/ctype/ctype.tex: Added missing documentation.
2176 * libc/stdio/stdio.tex Ditto.
2177 * libc/stdlib/stdlib.tex Ditto.
2178 * libc/string/strings.tex Ditto.
2179 * libc/time/time.tex: Ditto.
2180 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
2181
181cb051
JJ
21822004-09-15 Corinna Vinschen <vinschen@redhat.com>
2183
2184 * libc/reent/impure.c (reent_data): Define as alias to impure_data
2185 when building for Cygwin.
2186 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
2187 _global_impure_ptr.
2188
51d4a7ea
JJ
21892004-09-15 Jeff Johnston <jjohnstn@redhat.com>
2190
2191 * configure.host: Reverting 2004-09-14 change as fix has occurred on
2192 Cygwin side.
2193 * configure.in: Ditto.
2194 * libc/configure.in: Ditto.
2195 * libc/sys/configure.in: Ditto.
2196 * configure: Ditto.
2197 * libc/configure: Ditto.
2198 * libc/sys/configure: Ditto.
2199 * libc/include/sys/reent.h: Ditto.
2200 * libc/stdlib/__atexit.c: Ditto.
2201 * libc/stdlib/__call_atexit.c: Ditto.
2202 * libc/stdlib/cxa_atexit.c: Ditto.
2203 * libc/stdlib/cxa_finalize.c: Ditto.
2204 * libc/sys/cygwin/Makefile.am: Removed again.
2205 * libc/sys/cygwin/Makefile.in: Ditto.
2206 * libc/sys/cygwin/aclocal.m4: Ditto.
2207 * libc/sys/cygwin/configure: Ditto.
2208 * libc/sys/cygwin/configure.in: Ditto.
2209 * libc/sys/cygwin/dummy.c: Ditto.
2210 * libc/sys/cygwin/sys/reent.h: Ditto.
2211
98650d2f
JJ
22122004-09-14 Jeff Johnston <jjohnstn@redhat.com>
2213
2214 * configure.host: Add Cygwin sys directory.
2215 * configure.in: Do not set CRT0 for cygwin.
2216 * libc/configure.in: Ditto.
2217 * libc/sys/configure.in: Ditto.
2218 * configure: Regenerated.
2219 * libc/configure: Ditto.
2220 * libc/sys/configure: Ditto.
2221 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
2222 * libc/stdlib/__atexit.c: Keep cxa support protected by new
2223 __REENT_HAS_CXA_SUPPORT flag.
2224 * libc/stdlib/__call_atexit.c: Ditto.
2225 * libc/stdlib/cxa_atexit.c: Ditto.
2226 * libc/stdlib/cxa_finalize.c: Ditto.
2227 * libc/sys/cygwin/Makefile.am: New file.
2228 * libc/sys/cygwin/Makefile.in: Ditto.
2229 * libc/sys/cygwin/aclocal.m4: Ditto.
2230 * libc/sys/cygwin/configure: Ditto.
2231 * libc/sys/cygwin/configure.in: Ditto.
2232 * libc/sys/cygwin/dummy.c: Ditto.
2233 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
2234 version of reent.h.
2235
d4c8e53b
JJ
22362004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
2237
2238 * libc/iconv/iconv.tex: Updated with new content.
2239 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
2240 instead of NLS_DEFAULT_NLSPATH.
2241 * libc/iconv/lib/iconvnls.h: Fix typo.
2242 * libc/include/sys/iconvnls.h: New file.
2243
0c8593cf
JJ
22442004-09-09 Paul Brook <paul@codesourcery.com>
2245
2246 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
2247 and _is_cxa.
2248 (struct _atexit): Add _next when _REENT_SMALL.
2249 (struct _reent): Add _atexit0 when _REENT_SMALL.
2250 (_REENT_INIT_PTR): Adjust.
2251 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
2252 __call_exit.c.
2253 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
2254 * libc/stdlib/Makefile.in: Regenerate.
2255 * libc/stdlib/__atexit.c: New file.
2256 * libc/stdlib/__call_atexit.c: New file.
2257 * libc/stdlib/atexit.h: Remove old definitions. Add new.
2258 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
2259 * libc/stdlib/cxa_atexit.c: New file.
2260 * libc/stdlib/cxa_finalize.c: New file.
2261 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
2262 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
2263 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
2264 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
2265 _on_exit_args_ptr.
2266
c6ed5a85
JJ
22672004-08-23 Jeff Johnston <jjohnstn@redhat.com>
2268
2269 * libc/include/sys/unistd.h (getpass): Change prototype to use
2270 const instead of __const.
2271
721a934c
JJ
22722004-08-16 Nathan Sidwell <nathan@codesourcery.com>
2273
2274 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
2275 #if.
2276
4e53fc28
JJ
22772004-08-12 Jeff Johnston <jjohnstn@redhat.com>
2278
2279 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
2280 on linux systems with glibc 2.3.3 installed.
2281 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
2282 profile_fixup so newlib can build on fc3 system.
2283
82045f12
AO
22842004-07-30 Alexandre Oliva <aoliva@redhat.com>
2285
2286 Introduce SH2a support.
2287 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
2288 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
2289 __SH2A_SINGLE_ONLY__, too.
2290 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
2291 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
2292 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
2293 2004-02-10 DJ Delorie <dj@redhat.com>
2294 * libc/sys/sh/crt0.S (start_l): Support sh2a.
2295
ad6b1d79
JJ
22962004-07-29 Jeff Johnston <jjohnstn@redhat.com>
2297
2298 * libc/time/strptime.c: Correct full-name of "March" typo.
2299
63b9dcc4
JJ
23002004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
2301
2302 * configure.host (h8300*-*-*): Default long long printing support.
2303
dbfd3394
JJ
23042004-07-16 Jeff Johnston <jjohnstn@redhat.com>
2305
2306 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
2307 calls, if realloc fails, free up buffer as it is no longer
2308 used.
2309
6edb3da9
JJ
23102004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
2311
2312 * libc/iconv/iconv.tex: Updated to represent recent changes.
2313 * libc/iconv/lib/iconv.c: Documentation updated.
2314
578a3560
NC
23152004-07-07 Nick Clifton <nickc@redhat.com>
2316
2317 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
2318 for xStormy16.
2319
2bc257e3
JJ
23202004-07-06 Chris Demetriou <cgd@broadcom.com>
2321
2322 * configure.host (mips*-*-elf*): Default long long printing
2323 support.
2324
75e7ffaa
JJ
23252004-07-05 Jeff Johnston <jjohnstn@redhat.com>
2326
2327 * libc/Makefile.am (libc.dvi): Add target and specify
2328 same dependencies as libc.info.
2329 * libc/Makefile.in: Regenerated.
2330 * libm/Makefile.am (libm.dvi): Add target and specify
2331 same dependencies as libm.info.
2332 * libm/Makefile.in: Regenerated.
2333
76ce12c3
JJ
23342004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
2335
2336 * acinclude.m4: Move --enable-newlib-iconv option back here.
2337 * configure.in: Remove --enable-newlib-iconv option. Don't
2338 tie iconv support to --enable-newlib-mb.
2339 * aclocal.m4: Regenerated.
2340 * configure: Ditto.
2341 * doc/aclocal.m4, doc/configure: Ditto.
2342 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
2343 * libm/*/aclocal.m4: Ditto.
2344 * libm/*/configure: Ditto.
2345 * libc/*/aclocal.m4: Ditto.
2346 * libc/*/configure: Ditto.
2347
660dade3
JJ
23482004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
2349
2350 * acinclude.m4: Move iconv options into configure.in.
2351 * aclocal.m4: Regenerated.
2352 * configure: Ditto.
2353 * configure.in: Add iconv options.
2354 * newlib.hin: Add new iconv encodings and remove deleted ones.
2355 * doc/aclocal.m4: Regenerated.
2356 * doc/configure: Ditto.
2357 * iconvdata/aclocal.m4: Ditto.
2358 * iconvdata/configure: Ditto.
2359 * libc/iconv: Design change. New size-optimized ccs format.
2360 * libc/iconv/AUTHORS: Removed.
2361 * libc/iconv/COPYING: Ditto.
2362 * libc/iconv/README.ORIGINAL: Ditto.
2363 * libc/iconv/README.TODO: Ditto.
2364 * libc/iconv/charset.aliases: Ditto.
2365 * libc/iconv/encoding.aliases: New file.
2366 * libc/iconv/Makefile.am: Updated.
2367 * libc/iconv/Makefile.in: Regenerated.
2368 * libc/iconv/iconv.tex: Updated.
2369 * libc/iconv/ccs/Makefile.am: Ditto.
2370 * libc/iconv/ccs/Makefile.in: Regenerated.
2371 * libc/iconv/ccs/big5.c: Updated.
2372 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
2373 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
2374 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
2375 * libc/iconv/ccs/cp775.c: Ditto.
2376 * libc/iconv/ccs/cp850.c: Ditto.
2377 * libc/iconv/ccs/cp852.c: Ditto.
2378 * libc/iconv/ccs/cp855.c: Ditto.
2379 * libc/iconv/ccs/cp866.c: Ditto.
2380 * libc/iconv/ccs/iso_8859_1.c: Ditto.
2381 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
2382 * libc/iconv/ccs/gb_2312_80.c: Ditto.
2383 * libc/iconv/ccs/iconv_mktbl: Ditto.
2384 * libc/iconv/ccs/jis_x0201.c: Ditto.
2385 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
2386 * libc/iconv/ccs/shift_jis.c: Ditto.
2387 * libc/iconv/ccs/us_ascii.c: Ditto.
2388 * libc/iconv/ccs/ccs.h: New file.
2389 * libc/iconv/ccs/ccsbi.c: Ditto.
2390 * libc/iconv/ccs/ccsbi.h: Ditto.
2391 * libc/iconv/ccs/ccsnames.h: Ditto.
2392 * libc/iconv/ccs/iso_8859_10.c: Ditto.
2393 * libc/iconv/ccs/iso_8859_11.c: Ditto.
2394 * libc/iconv/ccs/iso_8859_13.c: Ditto.
2395 * libc/iconv/ccs/iso_8859_14.c: Ditto.
2396 * libc/iconv/ccs/iso_8859_3.c: Ditto.
2397 * libc/iconv/ccs/iso_8859_6.c: Ditto.
2398 * libc/iconv/ccs/iso_8859_7.c: Ditto.
2399 * libc/iconv/ccs/iso_8859_8.c: Ditto.
2400 * libc/iconv/ccs/iso_8859_9.c: Ditto.
2401 * libc/iconv/ccs/iso_ir_111.c: Ditto.
2402 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
2403 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
2404 * libc/iconv/ccs/koi8_ru.c: Ditto.
2405 * libc/iconv/ccs/koi8_uni.c: Ditto.
2406 * libc/iconv/ccs/mktbl.pl: Ditto.
2407 * libc/iconv/ccs/win_1250.c: Ditto.
2408 * libc/iconv/ccs/win_1251.c: Ditto.
2409 * libc/iconv/ccs/win_1252.c: Ditto.
2410 * libc/iconv/ccs/win_1253.c: Ditto.
2411 * libc/iconv/ccs/win_1254.c: Ditto.
2412 * libc/iconv/ccs/win_1255.c: Ditto.
2413 * libc/iconv/ccs/win_1256.c: Ditto.
2414 * libc/iconv/ccs/win_1257.c: Ditto.
2415 * libc/iconv/ccs/win_1258.c: Ditto.
d68d3538
JJ
2416 * libc/iconv/ccs/iso_8859_15.c: Updated.
2417 * libc/iconv/ccs/iso_8859_2.c: Ditto.
2418 * libc/iconv/ccs/iso_8859_4.c: Ditto.
2419 * libc/iconv/ccs/iso_8859_5.c: Ditto.
2420 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
2421 * libc/iconv/ccs/koi8_r.c: Ditto.
2422 * libc/iconv/ccs/koi8_u.c: Ditto.
2423 * libc/iconv/ccs/ksx1001.c: Ditto.
660dade3
JJ
2424 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
2425 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
2426 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
2427 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
2428 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
2429 * libc/iconv/ccs/binary/Makefile.am: Updated.
2430 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
2431 * libc/iconv/ccs/binary/big5.cct: Updated.
2432 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
2433 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
2434 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
2435 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
2436 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
2437 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
2438 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
2439 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
2440 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
2441 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
2442 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
2443 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
2444 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
2445 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
2446 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
2447 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
2448 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
2449 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
2450 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
2451 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
2452 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
2453 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
2454 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
2455 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
2456 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
2457 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
2458 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
2459 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
2460 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
2461 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
2462 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
2463 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
2464 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
2465 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
2466 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
2467 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
2468 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
2469 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
2470 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
2471 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
2472 * libc/iconv/ces/Makefile.am: Updated.
2473 * libc/iconv/ces/Makefile.in: Regenerated.
2474 * libc/iconv/ces/ucs-2-internal.c: Updated.
2475 * libc/iconv/ces/ucs-4-internal.c: Ditto.
2476 * libc/iconv/ces/utf-16.c: Ditto.
2477 * libc/iconv/ces/utf-8.c: Ditto.
2478 * libc/iconv/ces/cesbi.c: New file.
2479 * libc/iconv/ces/cesbi.h: Ditto.
2480 * libc/iconv/ces/cesdeps.h: Ditto.
2481 * libc/iconv/ces/euc.c: Ditto.
2482 * libc/iconv/ces/mkdeps.pl: Ditto.
2483 * libc/iconv/ces/table-pcs.c: Ditto.
2484 * libc/iconv/ces/table.c: Ditto.
2485 * libc/iconv/ces/ucs-2.c: Ditto.
2486 * libc/iconv/ces/ucs-4.c: Ditto.
2487 * libc/iconv/ces/us-ascii.c: Ditto.
2488 * libc/iconv/ces/euc-jp.c: Removed.
2489 * libc/iconv/ces/euc-kr.c: Ditto.
2490 * libc/iconv/ces/euc-tw.c: Ditto.
2491 * libc/iconv/ces/gb2312.c: Ditto.
2492 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
2493 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
2494 * libc/iconv/lib/Makefile.am: Updated.
2495 * libc/iconv/lib/Makefile.in: Regenerated.
2496 * libc/iconv/lib/endian.h: Updated.
2497 * libc/iconv/lib/iconv.c: Ditto.
2498 * libc/iconv/lib/local.h: Ditto.
2499 * libc/iconv/lib/aliases.c: Removed.
2500 * libc/iconv/lib/bialiasesi.c: Ditto.
2501 * libc/iconv/lib/biccs.c: Ditto.
2502 * libc/iconv/lib/bices.c: Ditto.
2503 * libc/iconv/lib/ccs.c: Ditto.
2504 * libc/iconv/lib/ces.c: Ditto.
2505 * libc/iconv/lib/ces_euc.c: Ditto.
2506 * libc/iconv/lib/ces_iso2022.c: Ditto.
2507 * libc/iconv/lib/ces_table.c: Ditto.
2508 * libc/iconv/lib/converter.c: Ditto.
2509 * libc/iconv/lib/deps.h: Ditto.
d68d3538
JJ
2510 * libc/iconv/lib/loaddata.c: Ditto.
2511 * libc/iconv/lib/aliasesbi.c: New file.
660dade3
JJ
2512 * libc/iconv/lib/aliasesi.c: Ditto.
2513 * libc/iconv/lib/conv.h: Ditto.
2514 * libc/iconv/lib/encnames.h: Ditto.
2515 * libc/iconv/lib/encoding.deps: Ditto.
2516 * libc/iconv/lib/iconvnls.c: Ditto.
2517 * libc/iconv/lib/iconvnls.h: Ditto.
660dade3
JJ
2518 * libc/iconv/lib/nullconv.c: Ditto.
2519 * libc/iconv/lib/ucsconv.c: Ditto.
2520 * libc/iconv/lib/ucsconv.h: Ditto.
2521 * libc/include/iconv.h: Update copyright.
2522 * libc/*/aclocal.m4: Regenerated.
2523 * libc/*/configure: Ditto.
2524 * libm/*/aclocal.m4: Ditto.
2525 * libm/*/configure: Ditto.
2526
9a6831be
AO
25272004-06-22 Alexandre Oliva <aoliva@redhat.com>
2528
eb6a452a
AO
2529 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
2530 instead of typedefing jmp_buf.
2531
9a6831be
AO
2532 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
2533 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
2534 * libc/machine/h8300/defines.h (LEN): New macro.
2535 * libc/machine/h8300/memcpy.S: Add h8sx version.
2536 * libc/machine/h8300/memset.S: Likewise.
2537 * libc/machine/h8300/strcmp.S: Likewise.
2538 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
2539 * libc/machine/h8300/h8sx_strcpy.S: New file.
2540 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
2541 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
2542 __H8300SX__.
2543 * libc/include/machine/setjmp.h: Likewise.
2544 * libc/include/sys/config.h: Likewise.
2545 * libc/machine/h8300/defines.h: Likewise.
2546 * libc/machine/h8300/setjmp.S: Likewise.
2547 * libc/machine/h8300/strcmp.S: Likewise.
2548 * libc/sys/h8300hms/close.S: Likewise.
2549 * libc/sys/h8300hms/fstat.S: Likewise.
2550 * libc/sys/h8300hms/lseek.S: Likewise.
2551 * libc/sys/h8300hms/read.S: Likewise.
2552 * libc/sys/h8300hms/write.S: Likewise.
2553 * libc/sys/h8300hms/crt0.S: Likewise.
2554 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
2555 __H8300SX__ is defined.
2556 * libc/sys/h8300hms/setarch.h: Likewise.
2557
80dba41e
JJ
25582004-06-17 Jeff Johnston <jjohnstn@redhat.com>
2559
2560 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
2561 out change which set _GLOBAL_REENT to _global_impure_ptr until
2562 we understand why Cygwin breaks because of it.
2563
be910599
JJ
25642004-06-14 Jeff Johnston <jjohnstn@redhat.com>
2565
2566 * libc/sys/linux/machine/i386/syscall.h: For now, set up
2567 __syscall_return macro for systems with vsyscall.
2568
d0bd3e6f
JJ
25692004-06-11 Antony King <antony.king@st.com>
2570
2571 * libc/include/sys/_types.h: Include <sys/lock.h> and change
2572 _flock_t to be of type _LOCK_RECURSIVE_T.
2573 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
2574 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
2575 (_global_impure_ptr): New declaration.
2576 (_GLOBAL_REENT): Change to be _global_impure_ptr.
2577 * libc/include/sys/stdio.h: Include <sys/lock.h> and
2578 <sys/reent.h>.
2579 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
2580 (_funlockfile)[!SINGLE_THREAD]: Ditto.
2581 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
2582 * libc/stdio/fclose.c: Remove casting of fp lock to
2583 _LOCK_RECURSIVE_T.
2584 * libc/stdio/findfp.c: Ditto.
2585 * libc/stdio/fopen.c: Ditto.
2586 * libc/stdio/freopen.c: Ditto.
2587 * libc/stdio/vfprintf.c: Ditto.
2588 * libc/stdio64/fopen64.c: Ditto.
2589 * libc/stdlib/envlock.c: Add default stubs that use generic
2590 locking code.
2591 * libc/stdlib/mlock.c: Ditto.
2592
2593 Jeff Johnston <jjohnstn@redhat.com>
2594 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
2595 (_flock_t): Change to be a struct containing a single member
2596 named mutex which is of type __flock_mutex_t.
2597
db7033a9
JJ
25982004-06-09 Jeff Johnston <jjohnstn@redhat.com>
2599
2600 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
2601 from /usr/include/asm/signal.h instead of kernel sources. Also
2602 default max to 32 if not found in header file.
2603 * libc/sys/linux/Makefile.in: Regenerated.
2604 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
2605 systems where __syscall_return is not defined.
2606 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
2607 systems to use syscall() function instead of assembler interrupt.
2608
a170abec
JJ
26092004-06-09 Toralf Lund <toralf@procaptura.com>
2610
2611 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
2612 files from libc/sys/arm to libc/machine/arm.
2613 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
2614 library build support for files moved from libc/sys/arm.
2615 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
2616 references to access and setjmp.
2617 * configure.host: Add checks for newlib_may_supply_syscalls to
2618 determine whether or not to use sys/arm directory and use
2619 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
2620
8b57e664
JJ
26212004-06-02 Jeff Johnston <jjohnstn@redhat.com>
2622
2623 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
2624 reset digit flags appropriately after we have discovered "0x".
2625 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
2626
3f611058
JJ
26272004-05-27 Jeff Johnston <jjohnstn@redhat.com>
2628
2629 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
2630 from here ...
2631 (_VFPRINTF_R): ... to here so all I/O printf routines
2632 are covered.
2633
bb42a35c
JJ
26342004-05-26 Jeff Johnston <jjohnstn@redhat.com>
2635
2636 * libc/search/hash_buf.c: Protect MAX and MIN macros from
2637 redefinition.
2638 * libc/search/hash.c: Ditto.
2639
227e6ef6
JJ
26402004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2641
2642 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
2643 (_WANT_IO_LONG_LONG): Ditto.
2644 (_WANT_IO_LONG_DOUBLE): Ditto.
2645 * configure.in: Add new configuration options
2646 --enable-newlib-io-long-long and --enable-newlib-io-long-double
2647 which tie to new defines in newlib.hin.
2648 * configure: Regenerated.
2649 * configure.host: Add checks for new configuration options. Also
2650 fix up check for --enable-newlib-io-pos-args so configuration
2651 option will override any default for a given platform.
2652 Remove defining compiler flags for the _WANT_IO* options.
2653 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
2654 instead of looking for old compiler flags.
2655 * libc/stdio/vfscanf.c: Ditto.
2656 * libc/stdio/vfieeefp.h: Ditto.
2657 * libc/machine/powerpc/vfprintf.c: Ditto.
2658 * libc/machine/powerpc/vfscanf.c: Ditto.
2659
9178da95
JJ
26602004-05-25 Jeff Johnston <jjohnstn@redhat.com>
2661
2662 * testsuite/include/check.h: Add include of <stdio.h>.
2663
cf3aae91
CV
26642004-05-17 Corinna Vinschen <corinna@vinschen.de>
2665
2666 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
2667
5b4c8ae2
JJ
26682004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2669
2670 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
2671 of free.
2672
26732004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2674
2675 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
2676 list for reentrant pointer. Call _vfiprintf_r.
2677 * libc/stdio/siprintf.c (_siprintf_r): New function.
2678 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
2679 pointer argument. Change all callers. Call _VFPRINTF_R.
2680 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
2681 prototypes.
2682
631fbe65
JJ
26832004-05-07 Jeff Johnston <jjohnstn@redhat.com>
2684
2685 * libc/include/sys/param.h: Remove endian info and include
2686 <machine/endian.h> instead.
2687 * libc/include/machine/endian.h: New file.
2688 * libc/include/machine/param.h: Ditto.
2689 * libc/machine/arm/machine/endian.h: Ditto.
2690 * libc/machine/arm/machine/param.h: Ditto.
2691 * libc/sys/arm/sys/param.h: Removed.
2692 * libc/sys/sysvi386/sys/param.h: Ditto.
2693 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
2694
1af84bb7
JJ
26952004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2696
2697 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
2698 multibyte functions return failure for %C, %S, %lc, and %ls
2699 format specifiers.
2700
1c63798e
JJ
27012004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2702
2703 * testsuite/include/check.h (CHECK): Add flush of stdout.
2704
20b0251a
JJ
27052004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2706
2707 * libc/include/stdio.h (_ungetc_r): New prototype.
2708 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
2709 (__submore): Add reentrant struct pointer argument.
2710 (ungetc): Change to call _ungetc_r.
2711
6194cf4a
JJ
27122004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2713
2714 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
2715 function pointer argument.
2716 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
2717 to specify function pointer arguments.
2718 (__fwalk, __fwalk_reent): Ditto.
2719
b4ddf489
AH
27202004-04-26 Aldy Hernandez <aldyh@redhat.com>
2721
2722 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
2723 CT_INT case.
2724
f777e3a5
JJ
27252004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2726
2727 * configure.in: Define _MB_CAPABLE if mb supported.
2728 * configure: Regenerated.
2729 * configure.host: Remove manual setting of MB_CAPABLE compiler
2730 flag.
2731 * newlib.hin: Add _MB_CAPABLE flag.
2732 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
2733 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
2734 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
2735 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
2736 * libc/ctype/jp2uc.c: Ditto.
2737 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
2738 * libc/locale/locale.c: Ditto
2739 * libc/machine/powerpc/vfscanf.c: Ditto
2740 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
2741 * libc/stdlib/mblen.c: Ditto
2742 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
2743 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
2744 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
2745 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
2746 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
2747 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
2748 * libc/sys/linux/intl/explodename.c: Ditto
2749 * libc/sys/linux/intl/finddomain.c: Ditto
2750 * libc/sys/linux/intl/l10nflist.c: Ditto
2751 * libc/sys/linux/intl/loadmsgcat.c: Ditto
2752 * libc/sys/linux/intl/localealias.c: Ditto
2753
27c7566c
JJ
27542004-04-23 Jeff Johnston <jjohnstn@redhat.com>
2755
2756 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
2757 (__svfscanf_r): In integer conversions, leave out leading zeroes
2758 which are not part of a base prefix.
2759 Keep track of width truncation to fit into buf, not counting left-out
2760 zeroes against width till the truncation has been compensated for.
2761 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
2762
c00f9719
JJ
27632004-04-23 Jeff Johnston <jjohnstn@redhat.com>
2764
2765 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
2766
05b31577
JJ
27672004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2768
2769 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
2770 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
2771 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
2772 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
2773 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
2774 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
2775 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
2776 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
2777 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
2778 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
2779 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
2780 libc/stdio/getchar.c libc/stdio/getchar_u.c,
2781 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
2782 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
2783 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
2784 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
2785 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
2786 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
2787 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
2788 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
2789 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
2790 libc/stdio/siprintf.c libc/stdio/snprintf.c,
2791 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
2792 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
2793 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
2794 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
2795 libc/stdio/vprintf.c libc/stdio/vscanf.c,
2796 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
2797 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
2798 libc/stdio/wsetup.c: Perform minor formatting changes. Move
2799 copyright notices to top of file, ensure that <_ansi.h> is
2800 included, be consistent with open parentheses, use _DEFUN macro,
2801 include "local.h" where needed, and remove various compiler
2802 warnings.
2803
04e8fca1
JJ
28042004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
2805
2806 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
2807 (__svfscanf_r): In integer conversions, leave out leading zeroes
2808 which are not part of a base prefix.
2809 Keep track of width truncation to fit into buf, not counting left-out
2810 zeroes against width till the truncation has been compensated for.
2811
9090ec74
CV
28122004-04-20 Corinna Vinschen <corinna@vinschen.de>
2813
2814 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
2815
1c17deea
CV
28162004-04-20 Corinna Vinschen <corinna@vinschen.de>
2817
2818 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
2819
54c7940f
CV
28202004-04-10 Corinna Vinschen <corinna@vinschen.de>
2821
2822 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
2823 to SUSv3.
2824
47dcaf56
JJ
28252004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2826
2827 * libc/stdio/fclose.c (_fclose_r): New function.
2828 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
2829 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
2830 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
2831 * libc/include/stdio.h (_fclose_r): New prototype.
2832 * libc/stdio/fopen.c: Fix typo in comment.
2833
28342004-04-08 Jeff Johnston <jjohnstn@redhat.com>
2835
2836 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
2837 to handle _r reentrant functions.
2838
4121d8cf
JJ
28392004-04-08 Eric Christopher <echristo@redhat.com>
2840
2841 * libc/include/machine/setjmp.h: Fix endif locations.
2842
59c9f5f5
JJ
28432004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2844
2845 * libc/time/strptime.c: Add standard includes to avoid
2846 warning messages at compilation time.
2847
38f4f023
JJ
28482004-04-01 Jeff Johnston <jjohnstn@redhat.com>
2849
2850 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
2851 of file.
2852
28532004-03-30 Jeff Johnston <jjohnstn@redhat.com>
ed4c5ece
JJ
2854
2855 * libc/machine/h8300/Makefile.am: Reformat slightly.
2856 * libc/machine/h8300/Makefile.in: Regenerate.
2857
38f4f023 28582004-03-30 Thomas Pfaff <tpfaff@gmx.net>
cacc0d44
JJ
2859
2860 * libc/stdio/findfp.c (__fp_lock_all): Add call to
2861 __sfp_lock_acquire.
2862 (__fp_unlock_all): Add call to __sfp_lock_release.
2863
10dcf7e7
JJ
28642004-03-25 Thomas Pfaff <tpfaff@gmx.net>
2865
2866 * libc/stdio/fclose.c (fclose): Protect file pointer list when
2867 releasing a file.
2868 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
2869 fwalk.
2870 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
2871 _flockfile/_funlockfile.
2872 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
2873 to recursive.
2874 Change __lock_acquire/__lock_release calls for __sfp_lock to
2875 __sfp_lock_acquire/__sfp_lock_release throughout.
2876 (std): Make sure that file lock is only initialized once.
2877 (__sfp): Move _file initialization. Initialize file lock.
2878 (__sfp_lock_acquire): New function.
2879 (__sfp_lock_release): Ditto.
2880 (__fp_lock_all): Remove __sfp_lock_acquire call.
2881 (__fp_unlock_all): Remove __sfp_lock_release call.
2882 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
2883 Add calls to _flockfile/_funlockfile. Remove
2884 __lock_init_recursive call.
2885 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
2886 * libc/stdio/fwalk.c (__fwalk): New static function.
2887 (_fwalk): Protect file pointer list. Use __fwalk to walk through
2888 file pointers.
2889 * libc/stdio/local.h: Add defines for
2890 __sfp_lock_acquire/__sfp_lock_release when
2891 single threaded. Add function prototypes otherwise.
2892 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
2893 _flockfile/_funlockfile.
2894 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
2895 Add calls to _flockfile/_funlockfile. Remove
2896 __lock_init_recursive call.
2897 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
2898 list.
2899
ec475b09
JJ
29002004-03-25 Jeff Johnston <jjohnstn@redhat.com>
2901
2902 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
2903 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
2904 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
2905 to be __LOCK_INIT_RECURSIVE.
2906
2c4ef10a
JJ
29072004-03-11 Kazu Hirata <kazu@cs.umass.edu>
2908
2909 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
2910 _exit.c with _exit.S.
2911 * libc/sys/h8300hms/Makefile.in: Regenerate.
2912 * libc/sys/h8300hms/_exit.c: Remove.
2913 * libc/sys/h8300hms/_exit.S: New.
2914
41c3da6a
JJ
29152004-03-09 Thomas Pfaff <tpfaff@gmx.net>
2916
2917 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
2918 Change __sfp_lock to static global.
2919 (__fp_lock): New static function.
2920 (__fp_unlock): Ditto.
2921 (__fp_lock_all): New function.
2922 (__fp_unlock_all): Ditto.
2923
0ccf5430
CF
29242004-02-10 Christopher Faylor <cgf@redhat.com>
2925
2926 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
2927 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
2928 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
2929 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
2930
3536f0fb
CF
29312004-02-09 Christopher Faylor <cgf@redhat.com>
2932
2933 * libc/include/time.h (TIMER_RELTIME): New define.
2934
6a6e493a
JJ
29352004-02-09 Jeff Johnston <jjohnstn@redhat.com>
2936
2937 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
2938 * libc/stdlib/Makefile.in: Regenerated.
2939
733309f5
CF
29402004-02-08 Christopher Faylor <cgf@redhat.com>
2941
2942 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
2943 * libc/include/sys/reent.h (__getreent): Protect against possibly being
2944 defined.
2945 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
2946
b4a84c66
JJ
29472004-02-05 Paul Brook <paul@codesourcery.com>
2948
2949 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
2950 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
2951
4669438f
JJ
29522004-02-02 Jeff Johnston <jjohnstn@redhat.com>
2953
2954 * NEWS: Update with 1.12.0 info.
2955 * README: Ditto.
2956 * acinclude.m4: Change version number to 1.12.0.
2957 * aclocal.m4: Regenerated.
2958 * configure: Ditto.
2959 * doc/aclocal.m4: Ditto.
2960 * doc/configure: Ditto.
2961 * libc/*/aclocal.m4: Ditto.
2962 * libc/*/configure: Ditto.
2963 * libc/libc.texinfo: Ditto.
2964 * libm/*/aclocal.m4: Ditto.
2965 * libm/*/configure: Ditto.
2966 * libm/libm.texinfo: Ditto.
2967 * libc/sys/linux/shared.ld: Add VERS_1.12.
2968
94d61fcb
JJ
29692004-02-02 Joel Sherrill <joel@oarcorp.com>
2970
2971 * configure.host: Add support for tic4x.
2972 * libc/include/machine/ieeefp.h: Ditto.
2973 * libc/include/machine/setjmp.h: Ditto.
2974 * libc/machine/tic4x/Makefile.am: New file.
2975 * libc/machine/tic4x/configure.in: Ditto.
2976 * libc/machine/tic4x/setjmp.S: Ditto.
2977 * libc/machine/tic4x/aclocal.m4: Generated.
2978 * libc/machine/tic4x/configure: Ditto.
2979 * libc/machine/tic4x/Makefile.in: Ditto.
2980
c730e0e7
JJ
29812004-01-30 Jeff Johnston <jjohnstn@redhat.com>
2982
2983 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
2984 file chain on the passed in reentrancy struct if it
2985 is _GLOBAL_REENT.
2986
2892ec68
JJ
29872004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2988 Jeff Johnston <jjohnstn@redhat.com>
2989
2990 * libc/iconv/iconv.tex: Updated with more information.
2991
ff41498a
JJ
29922004-01-30 Thomas Pfaff <tpfaff@gmx.net>
2993 Jeff Johnston <jjohnstn@redhat.com>
2994
2995 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
2996 struct for std streams and traverse the global reeentrancy
2997 struct for all other streams.
2998
d5b6c234
JJ
29992004-01-27 Jeff Johnston <jjohnstn@redhat.com>
3000
3001 * libc/stdlib/atexit.c: Protect global atexit list with a
3002 lock when newlib is multithreaded.
3003
01e0a777
JJ
30042004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3005
3006 * configure.in: Add support to generate iconv converter flags
3007 for newlib.h
3008 * newlib.hin: Add iconv converter flags.
3009 * configure: Regenerated.
3010 * libc/Makefile.in: Ditto.
3011 * libc/configure.in: Moved iconv converter parsing logic to
3012 top level newlib configure.in.
3013 * libc/configure: Regenerated.
3014 * libc/iconv/Makefile.in: Ditto.
3015 * libc/iconv/README.TODO
3016 * libc/iconv/charset.aliases: Remove wrong BE aliases for
3017 UCS2/UCS4/UTF8.
3018 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
3019 newlib.h can be used.
3020 * libc/iconv/ces/Makefile.am: Ditto.
3021 * libc/iconv/lib/Makefile.am: Ditto.
3022 * libc/iconv/ccs/Makefile.in: Regenerated.
3023 * libc/iconv/ces/Makefile.in: Ditto.
3024 * libc/iconv/lib/Makefile.in: Ditto.
3025 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
3026 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
3027 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
3028 defined in newlib.h.
3029 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
3030 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
3031 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
3032 * libc/iconv/ccs/cp775.c: Ditto.
3033 * libc/iconv/ccs/cp850.c: Ditto.
3034 * libc/iconv/ccs/cp852.c: Ditto.
3035 * libc/iconv/ccs/cp855.c: Ditto.
3036 * libc/iconv/ccs/cp866.c: Ditto.
3037 * libc/iconv/ccs/gb_2312_80.c: Ditto.
3038 * libc/iconv/ccs/iso_8859_1.c: Ditto.
3039 * libc/iconv/ccs/iso_8859_15.c: Ditto.
3040 * libc/iconv/ccs/iso_8859_2.c: Ditto.
3041 * libc/iconv/ccs/iso_8859_4.c: Ditto.
3042 * libc/iconv/ccs/iso_8859_5.c: Ditto.
3043 * libc/iconv/ccs/jis_x0201.c: Ditto.
3044 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
3045 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
3046 * libc/iconv/ccs/koi8_r.c: Ditto.
3047 * libc/iconv/ccs/koi8_u.c: Ditto.
3048 * libc/iconv/ccs/ksx1001.c: Ditto.
3049 * libc/iconv/ccs/shift_jis.c: Ditto.
3050 * libc/iconv/ccs/us_ascii.c: Ditto.
3051 * libc/iconv/ccs/binary/big5.cct: Newly generated.
3052 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
3053 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
3054 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
3055 * libc/iconv/ccs/binary/cp775.cct: Ditto.
3056 * libc/iconv/ccs/binary/cp850.cct: Ditto.
3057 * libc/iconv/ccs/binary/cp852.cct: Ditto.
3058 * libc/iconv/ccs/binary/cp855.cct: Ditto.
3059 * libc/iconv/ccs/binary/cp866.cct: Ditto.
3060 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
3061 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
3062 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
3063 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
3064 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
3065 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
3066 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
3067 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
3068 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
3069 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
3070 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
3071 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
3072 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
3073 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
3074 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
3075 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
3076 * libc/iconv/ces/euc-kr.c: Ditto.
3077 * libc/iconv/ces/euc-tw.c: Ditto.
3078 * libc/iconv/ces/gb2312.c: Ditto.
3079 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
3080 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
3081 * libc/iconv/ces/ucs-2-internal.c: Ditto.
3082 * libc/iconv/ces/ucs-4-internal.c: Ditto.
3083 * libc/iconv/ces/utf-16.c: Ditto.
3084 * libc/iconv/ces/utf-8.c: Ditto.
3085 * libc/iconv/lib/aliases.c: Ditto.
3086 * libc/iconv/lib/biccs.c: Ditto.
3087 * libc/iconv/lib/bices.c: Ditto.
3088 * libc/iconv/lib/ccs.c: Ditto.
3089 * libc/iconv/lib/ces.c: Ditto.
3090 * libc/iconv/lib/ces_euc.c: Ditto.
3091 * libc/iconv/lib/ces_iso2022.c: Ditto.
3092 * libc/iconv/lib/ces_table.c: Ditto.
3093 * libc/iconv/lib/converter.c: Ditto.
3094 * libc/iconv/lib/deps.h: Ditto.
3095 * libc/iconv/lib/endian.h: Ditto.
3096 * libc/iconv/lib/iconv.c: Ditto.
3097 * libc/iconv/lib/loaddata.c: Ditto.
3098 * libc/iconv/lib/local.h: Include newlib.h.
3099 * libc/argz/Makefile.in: Regenerated.
3100 * libc/ctype/Makefile.in: Ditto.
3101 * libc/errno/Makefile.in: Ditto.
3102 * libc/iconv/ccs/binary/Makefile.in: Ditto.
3103 * libc/locale/Makefile.in: Ditto.
3104 * libc/misc/Makefile.in: Ditto.
3105 * libc/posix/Makefile.in: Ditto.
3106 * libc/reent/Makefile.in: Ditto.
3107 * libc/search/Makefile.in: Ditto.
3108 * libc/signal/Makefile.in: Ditto.
3109 * libc/stdio/Makefile.in: Ditto.
3110 * libc/stdio64/Makefile.in: Ditto.
3111 * libc/stdlib/Makefile.in: Ditto.
3112 * libc/string/Makefile.in: Ditto.
3113 * libc/syscalls/Makefile.in: Ditto.
3114 * libc/time/Makefile.in: Ditto.
3115 * libc/unix/Makefile.in: Ditto.
3116 * testsuite/newlib.iconv/iconv.exp: New file.
3117 * testsuite/newlib.iconv/iconvjp.c: Ditto.
3118 * testsuite/newlib.iconv/iconvnm.c: Ditto.
3119 * testsuite/newlib.iconv/iconvru.c: Ditto.
3120
786ab12c
JJ
31212004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3122
3123 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
3124 (--enable-newlib-builtin-converters): Ditto.
3125 * configure.in: Add code to set _ICONV_ENABLED flag.
3126 Set _MB_LEN_MAX to 1 if not mb enabled.
3127 * configure: Regenerated.
3128 * aclocal.m4: Ditto.
3129 * Makefile.in: Ditto.
3130 * newlib.hin: Add _ICONV_ENABLED flag.
3131 * libc/Makefile.am: Add support for iconv.
3132 * libc/configure.in: Ditto.
3133 * libc/Makefile.in: Regenerated.
3134 * libc/aclocal.m4: Ditto.
3135 * libc/configure: Ditto.
3136 * libc/libc.texinfo: Add iconv documentation.
3137 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
3138 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
3139 libc/iconv/README.TODO, libc/iconv/charset.aliases,
3140 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
3141 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
3142 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
3143 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
3144 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
3145 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
3146 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
3147 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
3148 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
3149 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
3150 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
3151 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
3152 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
3153 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
3154 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
3155 libc/iconv/ccs/binary/big5.cct,
3156 libc/iconv/ccs/binary/cns11643_plane1.cct,
3157 libc/iconv/ccs/binary/cns11643_plane14.cct,
3158 libc/iconv/ccs/binary/cns11643_plane2.cct,
3159 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
3160 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
3161 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
3162 libc/iconv/ccs/binary/iso_8859_1.cct,
3163 libc/iconv/ccs/binary/iso_8859_15.cct,
3164 libc/iconv/ccs/binary/iso_8859_2.cct,
3165 libc/iconv/ccs/binary/iso_8859_4.cct,
3166 libc/iconv/ccs/binary/iso_8859_5.cct,
3167 libc/iconv/ccs/binary/jis_x0201.cct,
3168 libc/iconv/ccs/binary/jis_x0208_1983.cct,
3169 libc/iconv/ccs/binary/jis_x0212_1990.cct,
3170 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
3171 libc/iconv/ccs/binary/ksx1001.cct,
3172 libc/iconv/ccs/binary/shift_jis.cct,
3173 libc/iconv/ccs/binary/us_ascii.cct,
3174 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
3175 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
3176 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
3177 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
3178 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
3179 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
3180 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
3181 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
3182 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
3183 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
3184 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
3185 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
3186 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
3187 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
3188 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
3189 * libc/sys/linux/include/iconv.h: Ditto.
3190 * libc/include/sys/_types.h (_iconv_t): Added.
3191 * doc/aclocal.m4: Regenerated.
3192 * doc/configure: Ditto.
3193 * doc/Makefile.in: Ditto.
3194 * iconvdata/Makefile.in: Ditto.
3195 * iconvdata/aclocal.m4: Ditto.
3196 * iconvdata/configure: Ditto.
3197 * libc/*aclocal.m4: Ditto.
3198 * libc/*Makefile.in: Ditto.
3199 * libc/*configure: Ditto.
3200 * libm/*aclocal.m4: Ditto.
3201 * libm/*Makefile.in: Ditto.
3202 * libm/*configure: Ditto.
3203
ed1a95dc
JJ
32042004-01-22 Thomas Pfaff <tpfaff@gmx.net>
3205
3206 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
3207 by a lock when newlib is multithreaded.
3208
7d4be1ef
JJ
32092004-01-21 Jeff Johnston <jjohnstn@redhat.com>
3210
3211 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
3212 pointer to match C99 spec.
3213 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
3214 dst is NULL. Also fix to not alter src pointer when dst is NULL
3215 and call _mbrtowc_r instead of _mbtowc_r.
3216 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
3217 of _wctomb_r.
3218
403f752c
JJ
32192004-01-19 Thomas Pfaff <tpfaff@gmx.net>
3220
3221 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
3222 * libc/stdio/freopen.c (freopen): Ditto.
3223
85b6d63b
CF
32242004-01-16 Christopher Faylor <cgf@redhat.com>
3225
3226 * libc/stdio/vfprintf.c: Add sys/lock.h include.
3227
4af71a91
JJ
32282004-01-16 Thomas Pfaff <tpfaff@gmx.net>
3229
3230 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
3231 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
3232 Add calls to __lock_init_recursive and __lock_close_recursive
3233 instead.
3234
6a150987
JJ
32352004-01-15 Thomas Pfaff <tpfaff@gmx.net>
3236
3237 * libc/stdio/fclose.c: Include sys/lock.h.
3238 (fclose): Destroy lock when file is closed.
3239 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
3240 member.
3241 * libc/stdio/freopen.c: Include sys/lock.h.
3242 (_freopen_r): Destroy lock when file is closed.
3243 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
3244 _lock member.
3245
c9524c0c
JJ
32462004-01-08 Joel Sherrill <joel@oarcorp.com>
3247
3248 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
3249 Remove warnings.
3250
9f13ccb3
JJ
32512004-01-08 Joel Sherrill <joel@oarcorp.com>
3252
3253 * libc/sys/rtems/sys/queue.h: New file.
3254 * libc/include/sys/signal.h: Reflect renumbering of signals to
3255 fit into 32-bit mask.
3256 * libc/include/sys/unistd.h: Add fdatasync() prototype.
3257 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
3258 required. In particular, add the reentrant variants of libc calls.
3259 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
3260
9488c414
JJ
32612004-01-06 Mark Mitchell <mark@codesourcery.com>
3262
3263 * libc/sys/arm/syscalls.c (unistd.h): Include it.
3264 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
3265 Similarly for stdout and stderr.
3266
5125f919
JJ
32672004-01-06 Jeff Johnston <jjohnstn@redhat.com>
3268
3269 * libc/libc.texinfo: Correct escape character for @ sign
3270 so file will be processed by make info. Update copyright years.
3271 * libm/libm.texinfo: Ditto.
3272
9fc92ceb
JJ
32732003-12-05 Jeff Johnston <jjohnstn@redhat.com>
3274
3275 * libc/include/sys/stat.h: No longer include stat-dj.h.
3276 * libc/include/sys/stat-dj.h: Removed.
3277
25c7dad1
JJ
32782003-12-05 Jeff Johnston <jjohnstn@redhat.com>
3279
3280 * libc/include/wchar.h: Include <sys/reent.h>.
3281
576593dd
CF
32822003-12-05 Christopher Faylor <cgf@redhat.com>
3283
3284 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
3285 when defining _mbrtowc.
3286 * libc/stdlib/mbsinit.c: Ditto.
3287 * libc/stdlib/mbsrtowcs.c: Ditto.
3288 * libc/stdlib/wcrtomb.c: Ditto.
3289 * libc/stdlib/wcsrtombs.c: Ditto.
3290 * libc/stdlib/wctob.c: Ditto.
3291
32922003-12-05 Christopher Faylor <cgf@redhat.com>
3293
3294 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
3295 errors when defining _mbrtowc.
3296 * libc/stdlib/mbsinit.c: Ditto.
3297 * libc/stdlib/mbsrtowcs.c: Ditto.
3298
4c889d62
CF
32992003-12-05 Christopher Faylor <cgf@redhat.com>
3300
3301 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
3302 errors when defining _mbrtowc.
3303
5d109bde
JJ
33042003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3305
3306 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
3307 of mb routines for %lc and %ls support.
3308 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
3309 %ls, and %S support. Remove CYGNUS_NEC markers and
3310 code within.
3311
3aca0888
JJ
33122003-12-04 Jeff Johnston <jjohnstn@redhat.com>
3313
3314 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
3315 _wcrtomb_r, and _wcsrtombs_r.
3316
18dcb167
CV
33172003-12-01 Corinna Vinschen <corinna@vinschen.de>
3318
3319 * libc/include/sys/fcntl.h: Don't define struct flock when on
3320 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
3321
93f8e673
CF
33222003-11-28 Christopher Faylor <cgf@redhat.com>
3323
3324 * libc/include/sys/signal.h: Use system specific signal file when
3325 building on cygwin.
3326
cc2a11e0
JJ
33272003-11-27 Jeff Johnston <jjohnstn@redhat.com>
3328
3329 * libc/include/stdlib.h (_atoi_r): New prototype.
3330 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
3331
83bf7d2f
JJ
33322003-11-27 Jeff Johnston <jjohnstn@redhat.com>
3333
3334 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
3335 * libc/stdlib/atol.c (_atol_r): New reentrant function.
3336 * libc/stdlib/atoll.c (_atoll_r): Ditto.
3337
5d109bde 33382003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6bbb700c
JJ
3339 Jeff Johnston <jjohnstn@redhat.com>
3340
3341 * libc/include/stdlib.h (lldiv_t): New type.
3342 (atoll, llabs, lldiv): New prototypes.
3343 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
3344 * libc/stdlib/stdlib.tex: Ditto.
3345 * libc/stdlib/Makefile.in: Regenerated.
3346 * libc/stdlib/atoll.c: New file.
3347 * libc/stdlib/llabs.c: Ditto.
3348 * libc/stdlib/lldiv.c: Ditto.
3349
0a707c79
JJ
33502003-11-26 Corinna Vinschen <corinna@vinschen.de>
3351
3352 * libc/include/fcntl.h: Declare syscalls only when building newlib.
3353 * libc/include/unistd.h: Ditto.
3354 * libc/include/stat.h: Ditto. Also declare struct stat64.
3355
5d109bde 33562003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6db165c2
JJ
3357
3358 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
3359 specifier to use ch instead of *fmt.
3360
5d109bde 33612003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
759a097e
JJ
3362
3363 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
3364 code within checks for MB_CAPABLE. For non-mb-capable platforms,
3365 use simple byte logic.
3366
4f6149d6
JJ
33672003-11-21 Jeff Johnston <jjohnstn@redhat.com>
3368
3369 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
3370 _strtold routine for processing floats and doubles since it
3371 is not as fast as _strtod_r.
3372
7343eefb
JJ
33732003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
3374
3375 * libc/machine/h8300/defines.h : Correct pointer register defines
3376 for normal mode.
3377 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
3378 for normal mode.
3379 * libc/machine/h8300/reg_memcpy.S : Likewise.
3380 * libc/machine/h8300/reg_memset.S : Likewise.
3381 * libc/machine/h8300/strcmp.S : Likewise.
3382
64cfc6f2
JJ
33832003-11-19 Nicholas Wourms <nwourms@netscape.net>
3384
3385 * configure.host: Enable positional arguments for printf
3386 family for Cygwin.
3387 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
3388 pointer reference for quad_ptr_t.
3389
e1dc8171
JJ
33902003-11-19 Jeff Johnston <jjohnstn@redhat.com>
3391
3392 * libc/stdio/scanf.c: Don't include local.h more than once.
3393
a472290f
JJ
33942003-11-18 Corinna Vinschen <corinna@vinschen.de>
3395
3396 * libc/include/sys/fcntl.h: Declare _open64.
3397 * libc/include/sys/stat.h: Declare _fstat64.
3398 * libc/include/sys/unistd.h: Declare _lseek64.
3399
a2f1155c
CV
34002003-11-17 Corinna Vinschen <corinna@vinschen.de>
3401
3402 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
3403 (setprogname): Ditto.
3404
030441fc
JJ
34052003-11-10 Jeff Johnston <jjohnstn@redhat.com>
3406
3407 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
3408 to use (Ebits + 1) which accounts for the sign-bit.
3409
fe359733
JJ
34102003-11-07 Jeff Johnston <jjohnstn@redhat.com>
3411
3412 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
3413 x86 build.
3414 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
3415 and set up default flags to pass to aclocal.
3416 * iconvdata/Makefile.in: Regenerated.
3417 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
3418 and getpwuid routines.
3419 * libc/sys/linux/Makefile.in: Regenerated.
3420 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
3421 applications to link with newlib's shared libc library.
3422 * libc/sys/linux/getpwnam.c: Ditto.
3423 * libc/sys/linux/getpwuid.c: Ditto.
3424 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
3425 that were formerly supplied by /usr/include/linux/types.h with
3426 kernel types.
3427 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
3428 test _ELIX_LEVEL macro.
3429
2985521f
JJ
34302003-11-07 Jeff Johnston <jjohnstn@redhat.com>
3431
3432 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
3433 referring to _NO_LONGLONG macro.
3434
dcad6a89
JJ
34352003-11-06 Jeff Johnston <jjohnstn@redhat.com>
3436
3437 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
3438 in LOG() macro so this will compile on gcc 3.4 and up.
3439 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
3440 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
3441 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
3442 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
3443 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
3444 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
3445 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
3446 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
3447 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
3448 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
3449 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
3450 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
3451 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
3452 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
3453 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
3454 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
3455 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
3456 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
3457 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
3458 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
3459 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
3460 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
3461 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
3462 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
3463 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
3464 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
3465 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
3466 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
3467 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
3468 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
3469 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
3470 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
3471 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
3472 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
3473 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
3474 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
3475
d2ffac09 34762003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5d109bde 3477 Artem B. Bityuckiy <abitytsky@softminecorp.com>
d2ffac09
JJ
3478
3479 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
3480 %ls, %S, %lc, and %C format specifiers.
3481 (get_arg): Ditto.
3482 * libc/stdio/sprintf.c: Add documentation regarding new
3483 format specifiers added in vfprintf.c.
3484
da2d1227
JJ
34852003-11-05 Jeff Johnston <jjohnstn@redhat.com>
3486
3487 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
3488 to make code work as specified in standard.
3489
3ef05bac
JJ
34902003-10-23 Jeff Johnston <jjohnstn@redhat.com>
3491
3492 * configure.in: Use absolute newlib basedir when forming
3493 CC_FOR_NEWLIB include options.
3494 * configure: Regenerated.
3495
5d109bde 34962003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4340b63b
JJ
3497
3498 * libc/string/wcsnlen.c: New file.
3499 * libc/include/wchar.h: Add wcsnlen prototype.
3500 * libc/string/Makefile.am: Add wcsnlen support.
3501 * libc/string/Makefile.in: Regenerated.
3502 * libc/string/wcstrings.tex: Add wcsnlen documentation.
3503
63a823f8
RS
35042003-10-22 Richard Sandiford <rsandifo@redhat.com>
3505
3506 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
3507
76a7df52
JJ
35082003-10-20 Bob Wilson <bob.wilson@acm.org>
3509
3510 * libc/locale/locale.c: Use double quotes in code.
3511 * libc/locale/locale.tex: Likewise.
3512 * libc/libc.texinfo: Hyphenate "floating-point".
3513 * libc/machine/necv70/necv70.tex: Likewise.
3514 * libc/stdio/sprintf.c: Likewise.
3515 * libc/stdio/sscanf.c: Likewise.
3516 * libc/stdlib/atof.c: Likewise.
3517 * libc/stdlib/ldtoa.c: Fix comment typo.
3518 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
3519 * libc/stdlib/ldiv.c: Likewise.
3520 * libm/common/s_expm1.c: Likewise.
3521 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
3522 * libm/common/s_infinity: Hyphenate "double- and single-precision".
3523 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
3524 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
3525 and "floating-point".
3526 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
3527 * libm/math/e_pow.c: Fix comment typo.
3528 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
3529 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
3530 * libm/math/s_atan.c: Likewise.
3531 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
3532 * libm/math/s_isnan.c: Hyphenate "single-precision" and
3533 "floating-point". Use "nonzero".
3534 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
3535 * libm/math/w_acos.c: Likewise.
3536 * libm/math/w_acosh.c: Likewise.
3537 * libm/math/w_asin.c: Likewise.
3538 * libm/math/w_atan2.c: Likewise.
3539 * libm/math/w_atanh.c: Likewise.
3540 * libm/math/w_cosh.c: Likewise.
3541 * libm/math/w_exp.c: Likewise.
3542 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
3543 version of 2^x in the description.
3544 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
3545 * libm/math/w_gamma.c: Likewise.
3546 * libm/math/w_hypot.c: Likewise.
3547 * libm/math/w_j0.c: Likewise.
3548 * libm/math/w_sinh.c: Likewise.
3549 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
3550 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
3551 "floating-point".
3552 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
3553 * libm/mathfp/e_atanh.c: Likewise.
3554 * libm/mathfp/e_hypot.c: Likewise.
3555 * libm/mathfp/er_lgamma.c: Likewise.
3556 * libm/mathfp/s_acos.c: Likewise.
3557 * libm/mathfp/s_asine.c: Likewise.
3558 * libm/mathfp/s_asinh.c: Likewise.
3559 * libm/mathfp/s_atan.c: Likewise.
3560 * libm/mathfp/s_atan2.c: Likewise.
3561 * libm/mathfp/s_atangent.c: Likewise.
3562 * libm/mathfp/s_cosh.c: Likewise.
3563 * libm/mathfp/s_exp.c: Likewise.
3564 * libm/mathfp/s_fmod.c: Likewise.
3565 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
3566 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
3567 "floating-point". Use "nonzero".
3568 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
3569 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
3570 * libm/mathfp/s_sineh.c: Likewise.
3571 * libm/mathfp/w_jn.c: Likewise.
3572
b11926e7
JJ
35732003-10-15 Alexandre Oliva <aoliva@redhat.com>
3574
3575 * Makefile.am: Add $(MAKE) comments to multido and multiclean
3576 lines, to enable parallel make.
3577 * Makefile.in: Rebuilt.
3578
31271d5c
CF
35792003-10-14 Christopher Faylor <cgf@redhat.com>
3580
3581 * libc/time/clock.c: Clarify documentation of return value when no
3582 measurement is available.
3583
bc707cbd
JJ
35842003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
3585
3586 * libm/configure.in: Check libm_machine_dir, not machine_dir.
3587 * libm/configure: Regenerate.
3588 * libm/Makefile.in: Ditto.
3589
f4b10605
JR
35902003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
3591
3592 * libc/machine/sh/strncpy.S: New file.
3593 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
3594 * libc/machine/sh/Makefile.in: Regenerate.
3595
ce044d8f
JW
35962003-09-11 James E Wilson <wilson@specifixinc.com>
3597
3598 * MAINTAINERS: Update my e-mail address.
3599
080ef411
CV
36002003-09-10 Corinna Vinschen <corinna@vinschen.de>
3601
3602 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
3603
3a767b69
JJ
36042003-09-09 Jeff Johnston <jjohnstn@redhat.com>
3605
080ef411
CV
3606 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
3607 prototype.
3608 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
3609 _simdldcheck(). Also add unsigned cast for index variable in
3610 for loop using sizeof operators.
3611 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
3612 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
3613 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
3614 plus fix shift calculation for determining if there is a
3615 carry from word2.
3a767b69 3616
84154fcc
CV
36172003-09-09 Corinna Vinschen <corinna@vinschen.de>
3618
3619 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
3620 setgroupent for Cygwin.
3621
f1b15058
JJ
36222003-09-05 Jeff Johnston <jjohnstn@redhat.com>
3623
3624 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
3625 is different for _REENT_SMALL than when using regular reent
3626 struct.
3627
cf88c20f 36282003-09-05 Ben Elliston <bje@wasabisystems.com>
0a8fd4dc 3629
b73263e4
BE
3630 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
3631 modern versions of GCC issue a warning.
3632
0a8fd4dc
BE
3633 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
3634 after continuation characters that induces a warning from modern
3635 versions of GCC.
3636
10a32423
BE
36372003-09-04 Ben Elliston <bje@wasabisystems.com>
3638
3639 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
3640 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
3641
ed027a53
JJ
36422003-09-02 Thomas Pfaff <tpfaff@gmx.net>
3643
3644 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
3645 * libc/stdlib/exit.c : Ditto.
3646 * libc/stdlib/on_exit.c: Ditto.
3647
880fa247
JJ
36482003-08-27 Corinna Vinschen <corinna@vinschen.de>
3649
3650 * libc/include/reent.h: Define stat64 as __stat64 when
3651 compiling newlib for Cygwin.
3652
54c1d7ea
JJ
36532003-08-26 Jeff Johnston <jjohnstn@redhat.com>
3654
3655 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
3656 __stat64 when compiling newlib.
3657
0eca0750
JJ
36582003-08-26 Jeff Johnston <jjohnstn@redhat.com>
3659
3660 * libc/include/stdio.h: Allow the io64 function prototypes for
3661 Cygwin when compiling newlib.
3662 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
3663 to expose the Cygwin struct __stat64 type.
3664 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
3665 pointer.
3666 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
3667
9d4aef19
CF
36682003-08-23 Christopher Faylor <cgf@redhat.com>
3669
3670 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
3671 definition to fseeko64.
3672
9fc9e1c9
JJ
36732003-08-22 Jeff Johnston <jjohnstn@redhat.com>
3674
3675 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
3676 * libc/stdio: Globally remove/replace all references to fp->_data.
3677 Replace with _REENT or _GLOBAL_REENT where appropriate.
3678 * libc/stdio/asprintf.c: Ditto.
3679 * libc/stdio/fclose.c: Ditto.
3680 * libc/stdio/fvwrite.c: Ditto.
3681 * libc/stdio/makebuf.c: Ditto.
3682 * libc/stdio/refill.c: Ditto.
3683 * libc/stdio/local.h: Ditto.
3684 * libc/stdio/setvbuf.c: Ditto.
3685 * libc/stdio/sscanf.c: Ditto.
3686 * libc/stdio/stdio.c: Ditto.
3687 * libc/stdio/ungetc.c: Ditto.
3688 * libc/stdio/vfscanf.c: Ditto.
3689 * libc/stdio/vsscanf.c: Ditto.
3690 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
3691 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
3692 * libc/stdio/vsnprintf.c: Ditto.
3693 * libc/stdio/vsprintf.c: Ditto.
3694 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
3695 instead of _REENT to walk file list.
3696 * libc/stdio/fflush.c: Ditto.
3697 * libc/stdio/fgetpos.c: Add reentrant version and have regular
3698 version call reentrant version with _REENT argument.
3699 * libc/stdio/fsetpos.c: Ditto.
3700 * libc/stdio/fseek.c: Ditto.
3701 * libc/stdio/fseeko.c: Ditto.
3702 * libc/stdio/ftell.c: Ditto.
3703 * libc/stdio/ftello.c: Ditto.
3704 * libc/stdio/freopen.c: Ditto.
3705 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
3706 new files to chain. Also use _GLOBAL_REENT pointer for
3707 cleaning up.
3708 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
3709 * libc/stdio/siprintf.c: Ditto.
3710 * libc/stdio/iprintf.c: Ditto.
3711 * libc/stdio/fprintf.c: Ditto.
3712 * libc/stdio/printf.c: Ditto.
3713 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
3714 * libc/stdio/sprintf.c: Ditto.
3715 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
3716 * libc/stdio/rewind.c: Call _fseek_r directly.
3717 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
3718 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
3719 data pointer.
3720 (get_arg): Add extra struct _reent pointer argument.
3721 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
3722 to fp->_data.
3723 * libc/stdio64/fopen64.c: Ditto.
3724 * libc/stdio64/freopen64.c: Ditto.
3725 * libc/stdio64/fsetpos64.c: Ditto.
3726 * libc/stdio64/ftello64.c: Ditto.
3727 * libc/stdio64/local64.h: Ditto.
3728 * libc/stdio64/stdio64.c: Ditto.
3729 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
3730 _fstat64_r for the meantime.
3731
8f021114
JJ
37322003-08-19 Jeff Johnston <jjohnstn@redhat.com>
3733
3734 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
3735 overflow detection.
3736
db979bb4
JJ
37372003-08-13 Aldy Hernandez <aldyh@redhat.com>
3738
3739 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
3740 extern "C".
3741
6efbdc7d
JJ
37422003-08-13 Jeff Johnston <jjohnstn@redhat.com>
3743
3744 * libc/include/math.h: Add prototypes for __signbitf and
3745 __signbitd.
3746
e895fc20
JJ
37472003-07-31 Jeff Johnston <jjohnstn@redhat.com>
3748
3749 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
3750 correct type of conversion when dealing with EUCJP or SJIS.
3751 * libc/ctype/iswblank.c: Ditto.
3752 * libc/ctype/iswcntrl.c: Ditto.
3753 * libc/ctype/iswprint.c: Ditto.
3754 * libc/ctype/iswpunct.c: Ditto.
3755 * libc/ctype/iswspace.c: Ditto.
3756 * libc/ctype/towlower.c: Ditto.
3757 * libc/ctype/towupper.c: Ditto.
3758
0302dfe5
NC
37592003-07-31 Nick Clifton <nickc@redhat.com>
3760
3761 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
3762 before calling main, in case it saves its argument registers.
3763 Remove reference to deleted v850ea port.
3764 * configure.host: Remove reference to deleted v850ea port.
3765 Do not use -mv850 when building for v850e target. This
3766 prevents the ctbp system register from being initialised.
3767
42de5592
JJ
37682003-07-29 Honda Hiroki <hhonda@ipflex.com>
3769
3770 * libc/stdio/vfprintf.c: Set output size to 1 when
3771 we have %f format with precision 0 and # flag not specified.
3772
e5de27b6
AO
37732003-07-29 Alexandre Oliva <aoliva@redhat.com>
3774
3775 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
3776 .am33_2.
3777
3c98a593
CF
37782003-07-25 Christopher Faylor <cgf@redhat.com>
3779
3780 * libc/stdio64/fdopen64.c: Include sys/lock.h.
3781
e222bf67
CF
37822003-07-25 Christopher Faylor <cgf@redhat.com>
3783
3784 * configure.host: Find cygwin include directory, when appropriate.
3785
03536757
CF
37862003-07-24 Christopher Faylor <cgf@redhat.com>
3787
3788 * libc/stdio64/fdopen64.c: New file.
3789 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
3790 * libc/stdio64/Makefile.in: Regenerate.
3791 * libc/include/stdio.h (fdopen64): Define.
3792 * libc/include/stdio.h (_fdopen64_r): Ditto.
3793
18072a4f
AO
37942003-07-10 Alexandre Oliva <aoliva@redhat.com>
3795
3796 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
3797 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
3798 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
3799 restore callee-saved FP registers.
3800
e0bec12f
JR
38012003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
3802
3803 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
3804 for __sh__.
3805 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
3806 truncate.c.
3807 * libc/sys/sh/Makefile.in: Regenerate.
3808 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
3809 * libc/sys/sh/ftruncate.c: New file.
3810 * libc/sys/sh/truncate.c: Likewise.
3811
03d65dd9
AO
38122003-07-09 Alexandre Oliva <aoliva@redhat.com>
3813
3814 * libc/include/math.h (nan, nanf): Update prototype to C99.
3815 * libm/common/s_nan.c (nan): Likewise.
3816 * libm/common/s_nanf.c (nanf, nan): Likewise.
3817 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
3818
74aa9d7d
JJ
38192003-07-07 Jeff Johnston <jjohnstn@redhat.com>
3820
3821 * libc/include/stdbool.h: Removed as this is defined by gcc.
3822
0a447ef3
JJ
38232003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
3824
3825 * libc/include/stdbool.h: New header file defined by C99.
3826
282eff9a
JJ
38272003-07-02 Jeff Johnston <jjohnstn@redhat.com>
3828
3829 * libc/include/sys/types.h (int8_t): Make signed.
3830
4e989b11
JJ
38312003-07-02 Jeff Johnston <jjohnstn@redhat.com>
3832
3833 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
3834
07b40cf8
JJ
38352003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
3836
3837 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
3838 on if we actually created the shared memory file exclusively.
3839
7daa7891
JJ
38402003-06-27 Joe Vornehm <joev@mitre.org>
3841
3842 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
3843 comparisons to account for unsigned internal value w.
3844
51fa7562
JJ
38452003-06-26 Jeff Johnston <jjohnstn@redhat.com>
3846
3847 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
3848 wrbuf for a non-creating open.
3849
b8f7ea5c
JJ
38502003-06-24 Kazu Hirata <kazu@cs.umass.edu>
3851
3852 * libc/machine/h8300/setarch.h: New.
3853 * libc/machine/h8300/memcpy.S: Use it.
3854 * libc/machine/h8300/memset.S: Likewise.
3855 * libc/machine/h8300/reg_memcpy.S: Likewise.
3856 * libc/machine/h8300/reg_memset.S: Likewise.
3857 * libc/machine/h8300/setjmp.S: Likewise.
3858 * libc/machine/h8300/strcmp.S: Likewise.
3859
6d7ea52a
RS
38602003-06-24 Richard Sandiford <rsandifo@redhat.com>
3861
3862 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
3863 to atexit().
3864
5a74f2aa
JJ
38652003-06-20 Jeff Johnston <jjohnstn@redhat.com>
3866
3867 * configure.host (iq2000): Add tabs.
3868
8266e478
JJ
38692003-06-20 Jeff Johnston <jjohnstn@redhat.com>
3870
3871 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
3872 to handle latest on_exit change.
3873 * libc/sys/linux/Makefile.am: Remove special compilation
3874 for malloc.c and mcheck.c.
3875 * libc/sys/linux/Makefile.in: Regenerated.
3876 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
3877 after including <features.h>.
3878 * libc/sys/linux/mcheck.c: Ditto.
3879 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
3880 for <features.h>.
3881 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
3882 add -DNOT_IN_libc to C flags.
3883 * libc/sys/linux/intl/Makefile.in: Regenerated.
3884 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
3885 * libc/sys/linux/linuxthreads/semaphore.h: Include
3886 <bits/pthreadtypes.h>.
3887 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
3888 including <features.h>.
3889 * libc/sys/linux/sys/lock.h: Ditto.
3890
0efe117b
NC
38912003-06-11 Nick Clifton <nickc@redhat.com>
3892
3893 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
3894 _on_exit_args_ptr.
3895
bfdfd7e6
AG
38962003-06-10 Stan Cox <scox@redhat.com>
3897 Anthony Green <green@redhat.com>
3898
3899 * configure.host: Add iq2000 support.
3900 * newlib/libc/include/machine/ieeefp.h: Ditto.
3901 * newlib/libc/include/machine/setjmp.h: Ditto.
3902 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
3903 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
3904 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
3905 libc/machine/iq2000/Makefile.in: New files.
3906
d9e4104b
RS
39072003-06-10 Richard Sandiford <rsandifo@redhat.com>
3908
3909 * libc/sys/h8300hms/setarch.h: New file.
3910 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
3911 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
3912 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
3913 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
3914
729d1ff9
JJ
39152003-06-06 Jeff Johnston <jjohnstn@redhat.com>
3916
3917 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
3918 definition.
3919 * libc/argz/argz_add_sep.c: Ditto.
3920 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
3921 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
3922 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
3923 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
3924 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
3925 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
3926 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
3927 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
3928 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
3929 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
3930 * libc/posix/execl.c libc/posix/execle.c: Ditto.
3931 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
3932 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
3933 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
3934 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
3935 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
3936 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
3937 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
3938 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
3939 * libc/search/twalk.c libc/signal/signal.c: Ditto.
3940
75d7d177
NC
39412003-06-05 Nick Clifton <nickc@redhat.com>
3942
3943 * libc/include/sys/reent.h (struct _on_exit_args): New
3944 structure containing fields used by the on_exit() function.
3945 (struct _atexit): Include struct _on_exit_args. For
3946 _REENT_SMALL do his via a pointer that is initialised when
3947 needed.
3948 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
3949 structure, if one has been allocated.
3950 * libc/stdlib/atexit.c (atexit): Update indirection to
3951 _fntypes field.
3952 * libc/stdlib/on_exit.c (on_exit): Indirect via the
3953 _on_exit_args structure. For _REENT_SMALL, allocate a
3954 structure if one does not exist.
3955 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
3956 structure.
3957
2129f283
JJ
39582003-06-04 Jeff Johnston <jjohnstn@redhat.com>
3959
3960 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
3961 * libc/sys/linux/net/Makefile.in: Regenerated.
3962
bf3bcac2
JJ
39632003-06-03 Jeff Johnston <jjohnstn@redhat.com>
3964
3965 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
3966 * libc/reent/fcntlr.c: Ditto.
3967 * libc/reent/fstat64r.c: Ditto.
3968 * libc/reent/linkr.c: Ditto.
3969 * libc/reent/lseek64r.c: Ditto.
3970 * libc/reent/lseekr.c: Ditto.
3971 * libc/reent/openr.c: Ditto.
3972 * libc/reent/readr.c: Ditto.
3973 * libc/reent/reent.c: Ditto.
3974 * libc/reent/sbrkr.c: Ditto.
3975 * libc/reent/signalr.c: Ditto.
3976 * libc/reent/signgam.c: Ditto.
3977 * libc/reent/statr.c: Ditto.
3978 * libc/reent/timer.c: Ditto.
3979 * libc/reent/unlinkr.c: Ditto.
3980 * libc/reent/writer.c: Ditto.
3981 * libc/syscalls/sysclose.c: Ditto.
3982 * libc/syscalls/sysexecve.c: Ditto.
3983 * libc/syscalls/sysfcntl.c: Ditto.
3984 * libc/syscalls/sysfork.c: Ditto.
3985 * libc/syscalls/sysfstat.c: Ditto.
3986 * libc/syscalls/sysgetpid.c: Ditto.
3987 * libc/syscalls/sysgettod.c: Ditto.
3988 * libc/syscalls/syskill.c: Ditto.
3989 * libc/syscalls/syslink.c: Ditto.
3990 * libc/syscalls/syslseek.c: Ditto.
3991 * libc/syscalls/sysopen.c: Ditto.
3992 * libc/syscalls/sysread.c: Ditto.
3993 * libc/syscalls/syssbrk.c: Ditto.
3994 * libc/syscalls/sysstat.c: Ditto.
3995 * libc/syscalls/systimes.c: Ditto.
3996 * libc/syscalls/sysunlink.c: Ditto.
3997 * libc/syscalls/syswait.c: Ditto.
3998 * libc/syscalls/syswrite.c: Ditto.
3999
702ceb23
JJ
40002003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
4001
4002 * libc/time/tzset_r.c: Change local variables that are
4003 set via sscanf using the %h format specifier to be unsigned short
4004 instead of int.
4005
102861c9
JJ
40062003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
4007
4008 * configure.host: Allow i[34567]86 variant.
4009 * configure.in: Likewise.
4010 * README: Likewise to the docs.
4011 * configure: Regenerated.
4012 * Makefile.in: Ditto.
4013
b359e82c
JJ
40142003-05-28 Jeff Johnston <jjohnstn@redhat.com>
4015 Tom Fitzsimmons <fitzsim@redhat.com>
4016
4017 * configure.in: Add iconvdata support for x86 linux.
4018 * configure: Regenerated.
4019 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
4020 library, iconv, and linuxthreads support.
4021 * libc/sys/linux/configure.in: Ditto.
4022 * libc/sys/linux/Makefile.in: Regenerated.
4023 * libc/sys/linux/configure: Ditto.
4024 * iconvdata/EUC-JP.irreversible: New file.
4025 * iconvdata/Makefile.am: Ditto.
4026 * iconvdata/Makefile.in: Ditto.
4027 * iconvdata/SJIS.irreversible: Ditto.
4028 * iconvdata/aclocal.m4: Ditto.
4029 * iconvdata/configure: Ditto.
4030 * iconvdata/configure.in: Ditto.
4031 * iconvdata/dummy.c: Ditto.
4032 * iconvdata/euc-jp.c: Ditto.
4033 * iconvdata/gconv-modules: Ditto.
4034 * iconvdata/jis0201.c: Ditto.
4035 * iconvdata/jis0201.h: Ditto.
4036 * iconvdata/jis0208.c: Ditto.
4037 * iconvdata/jis0208.h: Ditto.
4038 * iconvdata/jis0212.c: Ditto.
4039 * iconvdata/jis0212.h: Ditto.
4040 * iconvdata/sjis.c: Ditto.
4041 * libc/include/errno.h: Protect definition of error_t.
4042 * libc/sys/linux/gethostid.c: New file.
4043 * libc/sys/linux/sethostid.c: Ditto.
4044 * libc/sys/linux/dl/Makefile.am: Ditto.
4045 * libc/sys/linux/dl/Makefile.in: Ditto.
4046 * libc/sys/linux/dl/abi-tag.h: Ditto.
4047 * libc/sys/linux/dl/atomicity.h: Ditto.
4048 * libc/sys/linux/dl/dl-addr.c: Ditto.
4049 * libc/sys/linux/dl/dl-cache.c: Ditto.
4050 * libc/sys/linux/dl/dl-cache.h: Ditto.
4051 * libc/sys/linux/dl/dl-close.c: Ditto.
4052 * libc/sys/linux/dl/dl-debug.c: Ditto.
4053 * libc/sys/linux/dl/dl-deps.c: Ditto.
4054 * libc/sys/linux/dl/dl-dst.h: Ditto.
4055 * libc/sys/linux/dl/dl-error.c: Ditto.
4056 * libc/sys/linux/dl/dl-fini.c: Ditto.
4057 * libc/sys/linux/dl/dl-init.c: Ditto.
4058 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
4059 * libc/sys/linux/dl/dl-libc.c: Ditto.
4060 * libc/sys/linux/dl/dl-librecon.h: Ditto.
4061 * libc/sys/linux/dl/dl-load.c: Ditto.
4062 * libc/sys/linux/dl/dl-lookup.c: Ditto.
4063 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
4064 * libc/sys/linux/dl/dl-minimal.c: Ditto.
4065 * libc/sys/linux/dl/dl-misc.c: Ditto.
4066 * libc/sys/linux/dl/dl-object.c: Ditto.
4067 * libc/sys/linux/dl/dl-open.c: Ditto.
4068 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
4069 * libc/sys/linux/dl/dl-profile.c: Ditto.
4070 * libc/sys/linux/dl/dl-profstub.c: Ditto.
4071 * libc/sys/linux/dl/dl-reloc.c: Ditto.
4072 * libc/sys/linux/dl/dl-runtime.c: Ditto.
4073 * libc/sys/linux/dl/dl-support.c: Ditto.
4074 * libc/sys/linux/dl/dl-sym.c: Ditto.
4075 * libc/sys/linux/dl/dl-version.c: Ditto.
4076 * libc/sys/linux/dl/dlfcn.h: Ditto.
4077 * libc/sys/linux/dl/do-lookup.h: Ditto.
4078 * libc/sys/linux/dl/do-rel.h: Ditto.
4079 * libc/sys/linux/dl/dynamic-link.h: Ditto.
4080 * libc/sys/linux/dl/kernel-features.h: Ditto.
4081 * libc/sys/linux/dl/ldsodefs.h: Ditto.
4082 * libc/sys/linux/dl/libintl.h: Ditto.
4083 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
4084 * libc/sys/linux/dl/unsecvars.h: Ditto.
4085 * libc/sys/linux/iconv/Makefile.am: Ditto.
4086 * libc/sys/linux/iconv/Makefile.in: Ditto.
4087 * libc/sys/linux/iconv/categories.def: Ditto.
4088 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
4089 * libc/sys/linux/iconv/gconv.c: Ditto.
4090 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
4091 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
4092 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
4093 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
4094 * libc/sys/linux/iconv/gconv_close.c: Ditto.
4095 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
4096 * libc/sys/linux/iconv/gconv_db.c: Ditto.
4097 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
4098 * libc/sys/linux/iconv/gconv_int.h: Ditto.
4099 * libc/sys/linux/iconv/gconv_open.c: Ditto.
4100 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
4101 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
4102 * libc/sys/linux/iconv/hash-string.h: Ditto.
4103 * libc/sys/linux/iconv/iconv.c: Ditto.
4104 * libc/sys/linux/iconv/iconv.h: Ditto.
4105 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
4106 * libc/sys/linux/iconv/iconv_close.c: Ditto.
4107 * libc/sys/linux/iconv/iconv_open.c: Ditto.
4108 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
4109 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
4110 * libc/sys/linux/iconv/loadinfo.h: Ditto.
4111 * libc/sys/linux/iconv/localeinfo.h: Ditto.
4112 * libc/sys/linux/iconv/loop.c: Ditto.
4113 * libc/sys/linux/iconv/skeleton.c: Ditto.
4114 * libc/sys/linux/iconv/strtab.c: Ditto.
4115 * libc/sys/linux/include/dl-hash.h: Ditto.
4116 * libc/sys/linux/include/dlfcn.h: Ditto.
4117 * libc/sys/linux/include/fnmatch.h: Ditto.
4118 * libc/sys/linux/include/gconv.h: Ditto.
4119 * libc/sys/linux/include/glob.h: Ditto.
4120 * libc/sys/linux/include/hesiod.h: Ditto.
4121 * libc/sys/linux/include/ifaddrs.h: Ditto.
4122 * libc/sys/linux/include/libc_private.h: Ditto.
4123 * libc/sys/linux/include/link.h: Ditto.
4124 * libc/sys/linux/include/namespace.h: Ditto.
4125 * libc/sys/linux/include/netconfig.h: Ditto.
4126 * libc/sys/linux/include/netdb.h: Ditto.
4127 * libc/sys/linux/include/nsswitch.h: Ditto.
4128 * libc/sys/linux/include/regex.h: Ditto.
4129 * libc/sys/linux/include/resolv.h: Ditto.
4130 * libc/sys/linux/include/rune.h: Ditto.
4131 * libc/sys/linux/include/runetype.h: Ditto.
4132 * libc/sys/linux/include/semaphore.h: Ditto.
4133 * libc/sys/linux/include/setlocale.h: Ditto.
4134 * libc/sys/linux/include/un-namespace.h: Ditto.
4135 * libc/sys/linux/include/wordexp.h: Ditto.
4136 * libc/sys/linux/include/arpa/ftp.h: Ditto.
4137 * libc/sys/linux/include/arpa/inet.h: Ditto.
4138 * libc/sys/linux/include/arpa/nameser.h: Ditto.
4139 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
4140 * libc/sys/linux/include/arpa/telnet.h: Ditto.
4141 * libc/sys/linux/include/arpa/tftp.h: Ditto.
4142 * libc/sys/linux/include/net/bpf.h: Ditto.
4143 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
4144 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
4145 * libc/sys/linux/include/net/bridge.h: Ditto.
4146 * libc/sys/linux/include/net/ethernet.h: Ditto.
4147 * libc/sys/linux/include/net/fddi.h: Ditto.
4148 * libc/sys/linux/include/net/if.h: Ditto.
4149 * libc/sys/linux/include/net/if_arc.h: Ditto.
4150 * libc/sys/linux/include/net/if_arp.h: Ditto.
4151 * libc/sys/linux/include/net/if_atm.h: Ditto.
4152 * libc/sys/linux/include/net/if_dl.h: Ditto.
4153 * libc/sys/linux/include/net/if_gif.h: Ditto.
4154 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
4155 * libc/sys/linux/include/net/if_llc.h: Ditto.
4156 * libc/sys/linux/include/net/if_media.h: Ditto.
4157 * libc/sys/linux/include/net/if_mib.h: Ditto.
4158 * libc/sys/linux/include/net/if_ppp.h: Ditto.
4159 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
4160 * libc/sys/linux/include/net/if_slvar.h: Ditto.
4161 * libc/sys/linux/include/net/if_sppp.h: Ditto.
4162 * libc/sys/linux/include/net/if_stf.h: Ditto.
4163 * libc/sys/linux/include/net/if_tap.h: Ditto.
4164 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
4165 * libc/sys/linux/include/net/if_tun.h: Ditto.
4166 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
4167 * libc/sys/linux/include/net/if_types.h: Ditto.
4168 * libc/sys/linux/include/net/if_var.h: Ditto.
4169 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
4170 * libc/sys/linux/include/net/intrq.h: Ditto.
4171 * libc/sys/linux/include/net/iso88025.h: Ditto.
4172 * libc/sys/linux/include/net/net_osdep.h: Ditto.
4173 * libc/sys/linux/include/net/netisr.h: Ditto.
4174 * libc/sys/linux/include/net/pfil.h: Ditto.
4175 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
4176 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
4177 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
4178 * libc/sys/linux/include/net/radix.h: Ditto.
4179 * libc/sys/linux/include/net/raw_cb.h: Ditto.
4180 * libc/sys/linux/include/net/route.h: Ditto.
4181 * libc/sys/linux/include/net/slcompress.h: Ditto.
4182 * libc/sys/linux/include/net/slip.h: Ditto.
4183 * libc/sys/linux/include/net/zlib.h: Ditto.
4184 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
4185 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
4186 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
4187 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
4188 * libc/sys/linux/include/netinet/igmp.h: Ditto.
4189 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
4190 * libc/sys/linux/include/netinet/in.h: Ditto.
4191 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
4192 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
4193 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
4194 * libc/sys/linux/include/netinet/in_var.h: Ditto.
4195 * libc/sys/linux/include/netinet/ip.h: Ditto.
4196 * libc/sys/linux/include/netinet/ip6.h: Ditto.
4197 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
4198 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
4199 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
4200 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
4201 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
4202 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
4203 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
4204 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
4205 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
4206 * libc/sys/linux/include/netinet/tcp.h: Ditto.
4207 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
4208 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
4209 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
4210 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
4211 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
4212 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
4213 * libc/sys/linux/include/netinet/udp.h: Ditto.
4214 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
4215 * libc/sys/linux/include/netinet6/ah.h: Ditto.
4216 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
4217 * libc/sys/linux/include/netinet6/esp.h: Ditto.
4218 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
4219 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
4220 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
4221 * libc/sys/linux/include/netinet6/in6.h: Ditto.
4222 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
4223 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
4224 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
4225 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
4226 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
4227 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
4228 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
4229 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
4230 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
4231 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
4232 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
4233 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
4234 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
4235 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
4236 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
4237 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
4238 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
4239 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
4240 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
4241 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
4242 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
4243 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
4244 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
4245 * libc/sys/linux/include/netns/idp.h: Ditto.
4246 * libc/sys/linux/include/netns/idp_var.h: Ditto.
4247 * libc/sys/linux/include/netns/ns.h: Ditto.
4248 * libc/sys/linux/include/netns/ns_error.h: Ditto.
4249 * libc/sys/linux/include/netns/ns_if.h: Ditto.
4250 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
4251 * libc/sys/linux/include/netns/sp.h: Ditto.
4252 * libc/sys/linux/include/netns/spidp.h: Ditto.
4253 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
4254 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
4255 * libc/sys/linux/include/netns/spp_var.h: Ditto.
4256 * libc/sys/linux/include/rpc/Makefile: Ditto.
4257 * libc/sys/linux/include/rpc/auth.h: Ditto.
4258 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
4259 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
4260 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
4261 * libc/sys/linux/include/rpc/clnt.h: Ditto.
4262 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
4263 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
4264 * libc/sys/linux/include/rpc/des.h: Ditto.
4265 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
4266 * libc/sys/linux/include/rpc/nettype.h: Ditto.
4267 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
4268 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
4269 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
4270 * libc/sys/linux/include/rpc/raw.h: Ditto.
4271 * libc/sys/linux/include/rpc/rpc.h: Ditto.
4272 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
4273 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
4274 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
4275 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
4276 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
4277 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
4278 * libc/sys/linux/include/rpc/svc.h: Ditto.
4279 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
4280 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
4281 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
4282 * libc/sys/linux/include/rpc/types.h: Ditto.
4283 * libc/sys/linux/include/rpc/xdr.h: Ditto.
4284 * libc/sys/linux/intl/Makefile.am: Ditto.
4285 * libc/sys/linux/intl/Makefile.in: Ditto.
4286 * libc/sys/linux/intl/bindtextdom.c: Ditto.
4287 * libc/sys/linux/intl/catgets.c: Ditto.
4288 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
4289 * libc/sys/linux/intl/config.h: Ditto.
4290 * libc/sys/linux/intl/dcgettext.c: Ditto.
4291 * libc/sys/linux/intl/dcigettext.c: Ditto.
4292 * libc/sys/linux/intl/dcngettext.c: Ditto.
4293 * libc/sys/linux/intl/dgettext.c: Ditto.
4294 * libc/sys/linux/intl/dngettext.c: Ditto.
4295 * libc/sys/linux/intl/explodename.c: Ditto.
4296 * libc/sys/linux/intl/finddomain.c: Ditto.
4297 * libc/sys/linux/intl/gettext.c: Ditto.
4298 * libc/sys/linux/intl/gettext.h: Ditto.
4299 * libc/sys/linux/intl/gettextP.h: Ditto.
4300 * libc/sys/linux/intl/hash-string.h: Ditto.
4301 * libc/sys/linux/intl/l10nflist.c: Ditto.
4302 * libc/sys/linux/intl/loadinfo.h: Ditto.
4303 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
4304 * libc/sys/linux/intl/locale.alias: Ditto.
4305 * libc/sys/linux/intl/localealias.c: Ditto.
4306 * libc/sys/linux/intl/ngettext.c: Ditto.
4307 * libc/sys/linux/intl/open_catalog.c: Ditto.
4308 * libc/sys/linux/intl/plural.c: Ditto.
4309 * libc/sys/linux/intl/plural.y: Ditto.
4310 * libc/sys/linux/intl/stpcpy.c: Ditto.
4311 * libc/sys/linux/intl/textdomain.c: Ditto.
4312 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
4313 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
4314 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
4315 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
4316 * libc/sys/linux/linuxthreads/attr.c: Ditto.
4317 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
4318 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
4319 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
4320 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
4321 * libc/sys/linux/linuxthreads/config.h: Ditto.
4322 * libc/sys/linux/linuxthreads/configure: Ditto.
4323 * libc/sys/linux/linuxthreads/configure.in: Ditto.
4324 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
4325 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
4326 * libc/sys/linux/linuxthreads/events.c: Ditto.
4327 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
4328 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
4329 * libc/sys/linux/linuxthreads/internals.h: Ditto.
4330 * libc/sys/linux/linuxthreads/join.c: Ditto.
4331 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
4332 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
4333 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
4334 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
4335 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
4336 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
4337 * libc/sys/linux/linuxthreads/manager.c: Ditto.
4338 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
4339 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
4340 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
4341 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
4342 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
4343 * libc/sys/linux/linuxthreads/prio.c: Ditto.
4344 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
4345 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
4346 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
4347 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
4348 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
4349 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
4350 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
4351 * libc/sys/linux/linuxthreads/queue.h: Ditto.
4352 * libc/sys/linux/linuxthreads/reent.c: Ditto.
4353 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
4354 * libc/sys/linux/linuxthreads/restart.h: Ditto.
4355 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
4356 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
4357 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
4358 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
4359 * libc/sys/linux/linuxthreads/signals.c: Ditto.
4360 * libc/sys/linux/linuxthreads/specific.c: Ditto.
4361 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
4362 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
4363 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
4364 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
4365 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
4366 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
4367 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
4368 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
4369 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
4370 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
4371 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
4372 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
4373 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
4374 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
4375 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
4376 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
4377 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
4378 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
4379 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
4380 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
4381 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
4382 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
4383 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
4384 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
4385 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
4386 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
4387 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
4388 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
4389 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
4390 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
4391 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
4392 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
4393 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
4394 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
4395 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
4396 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
4397 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
4398 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
4399 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
4400 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
4401 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
4402 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
4403 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
4404 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
4405 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
4406 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
4407 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
4408 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
4409 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
4410 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
4411 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
4412 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
4413 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
4414 * libc/sys/linux/linuxthreads/unload.c: Ditto.
4415 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
4416 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
4417 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
4418 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
4419 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
4420 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
4421 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
4422 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
4423 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
4424 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
4425 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
4426 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
4427 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
4428 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
4429 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
4430 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
4431 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
4432 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
4433 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
4434 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
4435 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
4436 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
4437 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
4438 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
4439 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
4440 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
4441 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
4442 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
4443 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
4444 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
4445 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
4446 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
4447 * libc/sys/linux/net/Makefile.am: Ditto.
4448 * libc/sys/linux/net/Makefile.in: Ditto.
4449 * libc/sys/linux/net/addr2ascii.3: Ditto.
4450 * libc/sys/linux/net/addr2ascii.c: Ditto.
4451 * libc/sys/linux/net/ascii2addr.c: Ditto.
4452 * libc/sys/linux/net/base64.c: Ditto.
4453 * libc/sys/linux/net/bindresvport.c: Ditto.
4454 * libc/sys/linux/net/byteorder.3: Ditto.
4455 * libc/sys/linux/net/ether_addr.c: Ditto.
4456 * libc/sys/linux/net/ethers.3: Ditto.
4457 * libc/sys/linux/net/getaddrinfo.3: Ditto.
4458 * libc/sys/linux/net/getaddrinfo.c: Ditto.
4459 * libc/sys/linux/net/gethostbydns.c: Ditto.
4460 * libc/sys/linux/net/gethostbyht.c: Ditto.
4461 * libc/sys/linux/net/gethostbyname.3: Ditto.
4462 * libc/sys/linux/net/gethostbynis.c: Ditto.
4463 * libc/sys/linux/net/gethostnamadr.c: Ditto.
4464 * libc/sys/linux/net/getifaddrs.3: Ditto.
4465 * libc/sys/linux/net/getifaddrs.c: Ditto.
4466 * libc/sys/linux/net/getipnodebyname.3: Ditto.
4467 * libc/sys/linux/net/getnameinfo.3: Ditto.
4468 * libc/sys/linux/net/getnameinfo.c: Ditto.
4469 * libc/sys/linux/net/getnetbydns.c: Ditto.
4470 * libc/sys/linux/net/getnetbyht.c: Ditto.
4471 * libc/sys/linux/net/getnetbynis.c: Ditto.
4472 * libc/sys/linux/net/getnetent.3: Ditto.
4473 * libc/sys/linux/net/getnetnamadr.c: Ditto.
4474 * libc/sys/linux/net/getproto.c: Ditto.
4475 * libc/sys/linux/net/getprotoent.3: Ditto.
4476 * libc/sys/linux/net/getprotoent.c: Ditto.
4477 * libc/sys/linux/net/getprotoname.c: Ditto.
4478 * libc/sys/linux/net/getservbyname.c: Ditto.
4479 * libc/sys/linux/net/getservbyport.c: Ditto.
4480 * libc/sys/linux/net/getservent.3: Ditto.
4481 * libc/sys/linux/net/getservent.c: Ditto.
4482 * libc/sys/linux/net/herror.c: Ditto.
4483 * libc/sys/linux/net/hesiod.3: Ditto.
4484 * libc/sys/linux/net/hesiod.c: Ditto.
4485 * libc/sys/linux/net/if_indextoname.3: Ditto.
4486 * libc/sys/linux/net/ifname.c: Ditto.
4487 * libc/sys/linux/net/inet.3: Ditto.
4488 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
4489 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
4490 * libc/sys/linux/net/inet_addr.c: Ditto.
4491 * libc/sys/linux/net/inet_lnaof.c: Ditto.
4492 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
4493 * libc/sys/linux/net/inet_net.3: Ditto.
4494 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
4495 * libc/sys/linux/net/inet_net_pton.c: Ditto.
4496 * libc/sys/linux/net/inet_neta.c: Ditto.
4497 * libc/sys/linux/net/inet_netof.c: Ditto.
4498 * libc/sys/linux/net/inet_network.c: Ditto.
4499 * libc/sys/linux/net/inet_ntoa.c: Ditto.
4500 * libc/sys/linux/net/inet_ntop.c: Ditto.
4501 * libc/sys/linux/net/inet_pton.c: Ditto.
4502 * libc/sys/linux/net/innetgr-stub.c: Ditto.
4503 * libc/sys/linux/net/ip6opt.c: Ditto.
4504 * libc/sys/linux/net/iso_addr.3: Ditto.
4505 * libc/sys/linux/net/iso_addr.c: Ditto.
4506 * libc/sys/linux/net/issetugid-stub.c: Ditto.
4507 * libc/sys/linux/net/linkaddr.3: Ditto.
4508 * libc/sys/linux/net/linkaddr.c: Ditto.
4509 * libc/sys/linux/net/map_v4v6.c: Ditto.
4510 * libc/sys/linux/net/name6.c: Ditto.
4511 * libc/sys/linux/net/namespace.h: Ditto.
4512 * libc/sys/linux/net/ns.3: Ditto.
4513 * libc/sys/linux/net/ns_addr.c: Ditto.
4514 * libc/sys/linux/net/ns_name.c: Ditto.
4515 * libc/sys/linux/net/ns_netint.c: Ditto.
4516 * libc/sys/linux/net/ns_ntoa.c: Ditto.
4517 * libc/sys/linux/net/ns_parse.c: Ditto.
4518 * libc/sys/linux/net/ns_print.c: Ditto.
4519 * libc/sys/linux/net/ns_ttl.c: Ditto.
4520 * libc/sys/linux/net/nsap_addr.c: Ditto.
4521 * libc/sys/linux/net/nsdispatch.3: Ditto.
4522 * libc/sys/linux/net/nsdispatch.c: Ditto.
4523 * libc/sys/linux/net/nslexer.c: Ditto.
4524 * libc/sys/linux/net/nslexer.l: Ditto.
4525 * libc/sys/linux/net/nsparser.c: Ditto.
4526 * libc/sys/linux/net/nsparser.h: Ditto.
4527 * libc/sys/linux/net/nsparser.y: Ditto.
4528 * libc/sys/linux/net/rcmd.3: Ditto.
4529 * libc/sys/linux/net/rcmd.c: Ditto.
4530 * libc/sys/linux/net/rcmdsh.3: Ditto.
4531 * libc/sys/linux/net/rcmdsh.c: Ditto.
4532 * libc/sys/linux/net/recv.c: Ditto.
4533 * libc/sys/linux/net/res_comp.c: Ditto.
4534 * libc/sys/linux/net/res_config.h: Ditto.
4535 * libc/sys/linux/net/res_data.c: Ditto.
4536 * libc/sys/linux/net/res_debug.c: Ditto.
4537 * libc/sys/linux/net/res_init.c: Ditto.
4538 * libc/sys/linux/net/res_mkquery.c: Ditto.
4539 * libc/sys/linux/net/res_mkupdate.c: Ditto.
4540 * libc/sys/linux/net/res_query.c: Ditto.
4541 * libc/sys/linux/net/res_send.c: Ditto.
4542 * libc/sys/linux/net/res_update.c: Ditto.
4543 * libc/sys/linux/net/resolver.3: Ditto.
4544 * libc/sys/linux/net/rthdr.c: Ditto.
4545 * libc/sys/linux/net/send.c: Ditto.
4546 * libc/sys/linux/net/un-namespace.h: Ditto.
4547 * libc/sys/linux/net/vars.c: Ditto.
4548 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
4549 * libc/sys/linux/stdlib/Makefile.am: Ditto.
4550 * libc/sys/linux/stdlib/Makefile.in: Ditto.
4551 * libc/sys/linux/stdlib/cclass.h: Ditto.
4552 * libc/sys/linux/stdlib/cname.h: Ditto.
4553 * libc/sys/linux/stdlib/collate.c: Ditto.
4554 * libc/sys/linux/stdlib/collate.h: Ditto.
4555 * libc/sys/linux/stdlib/collcmp.c: Ditto.
4556 * libc/sys/linux/stdlib/engine.c: Ditto.
4557 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
4558 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
4559 * libc/sys/linux/stdlib/glob.3: Ditto.
4560 * libc/sys/linux/stdlib/glob.c: Ditto.
4561 * libc/sys/linux/stdlib/reallocf.c: Ditto.
4562 * libc/sys/linux/stdlib/regcomp.c: Ditto.
4563 * libc/sys/linux/stdlib/regerror.c: Ditto.
4564 * libc/sys/linux/stdlib/regex.3: Ditto.
4565 * libc/sys/linux/stdlib/regex2.h: Ditto.
4566 * libc/sys/linux/stdlib/regexec.c: Ditto.
4567 * libc/sys/linux/stdlib/regfree.c: Ditto.
4568 * libc/sys/linux/stdlib/utils.h: Ditto.
4569 * libc/sys/linux/stdlib/wordexp.c: Ditto.
4570 * libc/sys/linux/stdlib/wordfree.c: Ditto.
4571 * libc/sys/linux/sys/dlfcn.h: Ditto.
4572 * libc/sys/linux/sys/elfclass.h: Ditto.
4573 * libc/sys/linux/sys/event.h: Ditto.
4574 * libc/sys/linux/sys/ioccom.h: Ditto.
4575 * libc/sys/linux/sys/libc-tsd.h: Ditto.
4576 * libc/sys/linux/sys/link.h: Ditto.
4577 * libc/sys/linux/sys/lock.h: Ditto.
4578 * libc/sys/linux/sys/param.h: Ditto.
4579 * libc/sys/linux/sys/socket.h: Ditto.
4580 * libc/sys/linux/sys/sockio.h: Ditto.
4581
82095e79
JJ
45822003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
4583
4584 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
4585 normal mode
4586 * newlib/libc/machine/h8300/memset.S: Likewise
4587 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
4588 * newlib/lib/machine/h8300/reg_memset.S: Likewise
4589 * newlib/lib/machine/h8300/setjmp.S: Likewise
4590 * newlib/lib/machine/h8300/strcmp.S: Likewise
4591 * newlib/lib/sys/h8300hms/crt0.S: Likewise
4592
8a4b4764
CV
45932003-05-13 Corinna Vinschen <corinna@vinschen.de>
4594
4595 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
4596 * libc/include/stdio.h: Ditto.
4597 * libc/include/sys/config.h: Ditto.
4598 * libc/stdio/mktemp.c: Ditto.
4599
837e070f
CV
46002003-05-13 Corinna Vinschen <corinna@vinschen.de>
4601
4602 * libc/locale/ldpart.c (__part_load_locale): Substitute
4603 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
4604 * libc/search/hash.c (__hash_open): Ditto.
4605 (init_hash): Ditto.
4606 * libc/stdio/fseek.c (fseek): Ditto.
4607 * libc/stdio/makebuf.c (__smakebuf): Ditto.
4608 * libc/stdio/mktemp.c (_gettemp): Ditto.
4609
b47fcdf0
CV
46102003-05-12 Corinna Vinschen <corinna@vinschen.de>
4611
4612 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
4613
11e3a520
CV
46142003-05-12 Corinna Vinschen <corinna@vinschen.de>
4615
4616 * configure.host: Accomodate removing the libc/sys/cygwin dir.
4617 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
4618 if __CYGWIN_USE_BIG_TYPES__ is set.
4619 * libc/search/hash.c (__hash_open): Ditto.
4620 (init_hash): Ditto.
4621 * libc/stdio/fseek.c (fseek): Ditto.
4622 * libc/stdio/makebuf.c (__smakebuf): Ditto.
4623 * libc/stdio/mktemp.c (_gettemp): Ditto.
4624 * libc/sys/cygwin/Makefile.am: Remove.
4625 * libc/sys/cygwin/Makefile.in: Remove.
4626 * libc/sys/cygwin/aclocal.m4: Remove.
4627 * libc/sys/cygwin/configure: Remove.
4628 * libc/sys/cygwin/configure.in: Remove.
4629 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
4630 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
4631 directory.
4632 * libc/sys/cygwin/sys/param.h: Ditto.
4633 * libc/sys/cygwin/sys/utime.h: Ditto.
4634 * libc/sys/cygwin/sys/utmp.h: Ditto.
4635
d1b5e65b
CV
46362003-05-11 Corinna Vinschen <corinna@vinschen.de>
4637
4638 * libc/include/sys/types.h: Don't define key_t for Cygwin.
4639
ec48a953
CF
46402003-05-10 Christopher Faylor <cgf@redhat.com>
4641
4642 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
4643 64 bit inodes.
4644
a3cc5851
CV
46452003-05-09 Corinna Vinschen <corinna@vinschen.de>
4646
4647 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
4648 Include cygwin/config.h instead.
4649
57ff95d3
JJ
46502003-04-16 Jeff Johnston <jjohnstn@redhat.com>
4651
4652 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
4653 all code with #ifdef __SPE__ test.
4654 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
4655
cfd2c7be
CF
46562003-04-15 Chris January <chris@atomice.net>
4657
4658 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
4659 Cygwin.
4660
6f48c0ae
JR
46612003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
4662
4663 * libc/machine/sh/memset.S: Avoid clobbering volatile
4664 objects following a tiny to-be-set array in the same quadword.
4665
8f8d09c0
CV
46662001-04-09 Corinna Vinschen <corinna@vinschen.de>
4667
4668 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
4669 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
4670 * libc/string/Makefile.in: Regenerated.
4671 * libc/string/wcswidth.c: New file.
4672 * libc/string/wcwidth.c: New file.
4673 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
4674
40c3b2d0
JR
4675Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
4676
4677 * libc/machine/sh/memset.S: Fix problem with alloco region
4678 exceeding destination region for length >= 88 bytes, start
4679 & 0x16 == 0, end & 0x1f == 18.
4680
8ae6a3dd
CV
46812001-04-03 Corinna Vinschen <corinna@vinschen.de>
4682
4683 * libc/string/wcscoll.c: Fix comment.
4684
d122b1cc
CV
46852001-04-02 Corinna Vinschen <corinna@vinschen.de>
4686
4687 * libc/include/wchar.h: Add definition for wcscoll.
4688 * libc/string/Makefile.am: Add wcscoll.c.
4689 * libc/string/Makefile.in: Regenerated.
4690 * libc/string/wcscoll.c: New file.
4691 * libc/string/wcstrings.tex: Add wcscoll.
4692
31ee99a4
CV
46932003-04-01 Corinna Vinschen <corinna@vinschen.de>
4694
4695 * libc/stdio/sscanf.c: Update flags description.
4696 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
4697 type.
4698 (__svfscanf_r): Add 'hh' and 'll' handling.
4699
d78045ee
CV
47002003-04-01 Corinna Vinschen <corinna@vinschen.de>
4701
4702 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
4703 __d_position member to _off_t.
4704
e6bdc6c5
JJ
47052003-03-20 Jeff Johnston <jjohnstn@redhat.com>
4706
4707 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
4708 count all characters used to create number against maximum width.
4709 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
4710
e65d559e
JJ
47112003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
4712
4713 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
4714 support.
4715 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
4716 flag to support simulator only extensions.
4717
6b3bb52b
JJ
47182003-03-17 Bob Cassels <bcassels@abinitio.com>
4719
4720 * libc/string/wcschr.c: (wcschr): Look for character first,
4721 then for end of string, so you can do wcschr(x, '\0').
4722
2a940c1a
CV
47232003-03-10 Corinna Vinschen <corinna@vinschen.de>
4724
4725 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
4726 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
4727 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
4728 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
4729 * libc/stdio/fseeko.c (fseeko): Ditto.
4730 * libc/stdio/ftello.c (ftello): Ditto.
4731 * libc/stdio/stdio.c (__swrite): Ditto.
4732 (__sseek): Ditto.
4733 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
4734 * libc/stdio/fseek.c (fseek): Ditto.
4735 * libc/stdio/fsetpos.c (fsetpos): Ditto.
4736 * libc/stdio/ftell.c (ftell): Ditto.
4737 * libc/stdio/local.h: Declare __sseek using _off_t.
4738
150c2818
CV
47392003-03-09 Corinna Vinschen <corinna@vinschen.de>
4740
4741 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
4742
2c440f9c
CV
47432003-03-09 Corinna Vinschen <corinna@vinschen.de>
4744
4745 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
4746 Cygwin.
4747
f882fd15
CV
47482003-03-09 Corinna Vinschen <corinna@vinschen.de>
4749
4750 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
4751 Cygwin.
4752 * libc/include/sys/stat.h: Ditto.
4753 * libc/include/sys/unistd.h: Ditto.
4754 * libc/sys/cygwin/sys/dirent.h: Ditto.
4755
01d61543
CF
47562003-03-07 Christopher Faylor <cgf@redhat.com>
4757
4758 * libc/include/sys/unistd.h: Guard getopt.h call to force only
4759 declaration of getopt and avoid getopt_long declaration.
4760 * libc/sys/cygwin/include/unistd.h: Remove.
4761
5582abd2
CV
47622003-03-07 Corinna Vinschen <corinna@vinschen.de>
4763
4764 * configure.host: Define stdio64_dir for Cygwin.
4765 * libc/include/stdio.h: Change definition of fpos_t to fulfill
4766 Cygwin 64bit file access requirements.
4767 Drop definition of f*64() functions when compiled for Cygwin.
4768 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
4769 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
4770 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
4771
641da1eb
JJ
47722003-03-07 Jeff Johnston <jjohnstn@redhat.com>
4773
4774 * libc/include/sys/reent.h: Remove extraneous _sig_func
4775 declaration.
4776
47772003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
41a639de
JJ
4778
4779 * libc/sys/h8300hms/Makefile.am: Add support for new files.
4780 * libc/sys/h8300hms/Makefile.in: Regenerated.
4781 * libc/sys/h8300hms/close.S: New file.
4782 * libc/sys/h8300hms/fstat.S: Ditto.
4783 * libc/sys/h8300hms/lseek.S: Ditto.
4784 * libc/sys/h8300hms/open.S: Ditto.
4785 * libc/sys/h8300hms/stat.S: Ditto.
4786 * libc/sys/h8300hms/read.S: New file to replace read.c.
4787 * libc/sys/h8300hms/read.c: Removed.
4788 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
4789 _lseek, _close, _stat, _fstat.
4790 * libc/sys/h8300hms/write.S: New file to replace write.c.
4791 * libc/sys/h8300hms/write.c: Removed.
4792
bac50d6b
NC
47932003-02-20 Nick Clifton <nickc@redhat.com>
4794
4795 * Add support for Cirrus Maverick ARM co-processor:
4796
4797 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
4798
4799 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
4800 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
4801
4802 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
4803
4804 * configure.host: set sys_dir, syscall_dir, and
4805 newlib_cflags for ep9312 host.
4806
4807 * configure.host: Restore alpha sorting of entries in case
4808 statements.
4809
12ee7037
JJ
48102003-02-19 Jeff Johnston <jjohnstn@redhat.com>
4811
4812 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
4813
1e810ba0
JJ
48142003-02-18 Christian Groessler <chris@groessler.org>
4815
4816 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
4817 support z8001 segmented mode.
4818
b1ca765e
JJ
48192003-02-18 Earnie Boyd <earnie@users.sf.net>
4820
4821 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
4822 with a NULL value.
4823
51a46b54
CF
48242003-02-10 Christopher Faylor <cgf@redhat.com>
4825
4826 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
4827 Don't define some types under cygwin.
4828
313f1349
JJ
48292003-02-07 Jeff Johnston <jjohnstn@redhat.com>
4830
4831 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
4832 option to allow disabling of syscalls being supplied in newlib.
4833 * aclocal.m4: Regenerated.
4834 * configure: Ditto.
4835 * configure.host: Add support of new configuration option and add
4836 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
4837 * doc/aclocal.m4: Regenerated.
4838 * doc/configure: Ditto.
4839 * libc/*aclocal.m4: Ditto.
4840 * libc/*configure: Ditto.
4841 * libm/*aclocal.m4: Ditto.
4842 * libm/*configure: Ditto.
4843 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
4844 is disabled.
4845 * libc/sys/arm/Makefile.in: Regenerated.
4846
5017a3da
JJ
48472003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
4848
4849 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
4850 -1 to be sure it cannot later match a valid file fd causing
4851 isatty() to return 1.
4852 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
4853 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
4854 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
4855
ad36f7d1
JJ
48562003-02-03 Jeff Johnston <jjohnstn@redhat.com>
4857
4858 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
4859 buffer based on the precision, after we have processed the input value
4860 in a local buffer and know its relative magnitude.
4861
a74181ee
JJ
48622003-01-31 Michael Snyder <msnyder@redhat.com>
4863
4864 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
4865 into registers r1 and r2, so that the simulator can distinguish
4866 this trap from a breakpoint trap. Copied from libgloss.
4867
b85498d4
JJ
48682003-01-31 Michael Snyder <msnyder@redhat.com>
4869
4870 * libc/sys/h8300hms/crt0.S (_start): Change local label
4871 from .loop to .Loop, so that ld and gdb will ignore it.
4872
4700b829
JJ
48732003-01-29 Jason Tishler <jason@tishler.net>
4874
4875 * libc/include/time.h: Declare nanosleep() under Cygwin.
4876
0127ae40
NC
48772003-01-24 Nick Clifton <nickc@redhat.com>
4878
4879 * Add sh2e support:
4880
4881 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
4882
4883 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
4884 * libc/machine/sh/setjmp.S: Likewise.
4885 * libc/include/machine/ieeefp.h: Likewise.
4886
8bbcd9a1
CV
48872003-01-24 Corinna Vinschen <corinna@vinschen.de>
4888
4889 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
4890 for Cygwin.
4891
b8838e6f
JJ
48922003-01-21 Anita Kulkarni <anitak@kpit.com>
4893
4894 * libc/time/difftime.c : Typecast the result to double.
4895
f9e41155
CF
48962003-01-20 Christopher Faylor <cgf@redhat.com>
4897
4898 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
4899
6b5a7988
NC
49002003-01-18 Nick Clifton <nickc@redhat.com>
4901
4902 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
4903 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
4904
c3e92877
JJ
49052003-01-16 Joel Sherrill <joel@OARcorp.com>
4906
4907 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
4908 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
4909 constants are defined in each file in the shared versions in
4910 libc/include.
4911 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
4912 autoconf can link programs.
4913 * libc/include/machine/types.h: Explicitly specify signed on
4914 intXX_t types to ensure they are signed.
4915
84510217
CF
49162003-01-14 Christopher Faylor <cgf@redhat.com>
4917
4918 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
4919 extensions.
4920
b3934ab3
RS
49212003-01-08 Richard Sandiford <rsandifo@redhat.com>
4922
4923 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
4924
be9c60e5
JJ
49252003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
4926
4927 * libc/stdio/sprintf.c: fix typo
4928 * libc/stdio/vfprintf.c: fix typo
4929
d4c3a750
JJ
49302003-01-07 Jeff Johnston <jjohnstn@redhat.com>
4931
4932 * configure.host: Support long double I/O for x86-linux.
4933 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
4934 large enough to hold formatted result.
4935 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
4936
b2294aaa
JJ
49372003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
4938
4939 * Makefile.am: Add vasprintf.
4940 * Makefile.in: Regenerated.
4941
ea5e5daf
JJ
49422003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
4943
4944 * asprintf.c (_asprintf_r): insure both declarations
4945 are the same.
4946
5c581eca
CF
49472002-12-28 Christopher Faylor <cgf@redhat.com>
4948
4949 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
4950 than defining getopt directly.
4951
60b0838f
JJ
49522002-12-20 Jeff Johnston <jjohnstn@redhat.com>
4953
4954 * NEWS: Update with 1.11.0 info.
4955 * README: Ditto.
4956 * acinclude.m4: Change version number to 1.11.0.
4957 * aclocal.m4: Regenerated.
4958 * configure: Ditto.
4959 * doc/aclocal.m4: Ditto.
4960 * doc/configure: Ditto.
4961 * libc/*/aclocal.m4: Ditto.
4962 * libc/*/configure: Ditto.
4963 * libc/libc.texinfo: Ditto.
4964 * libm/*/aclocal.m4: Ditto.
4965 * libm/*/configure: Ditto.
4966 * libm/libm.texinfo: Ditto.
4967 * libc/sys/linux/shared.ld: Add VERS_1.11.
4968
10501d57
JJ
49692002-12-20 Jeff Johnston <jjohnstn@redhat.com>
4970
4971 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
4972 Solutions to Red Hat Inc.
4973 * libc/machine/i386/f_atan2f.S: Ditto.
4974 * libc/machine/i386/f_exp.c: Ditto.
4975 * libc/machine/i386/f_expf.c: Ditto.
4976 * libc/machine/i386/f_frexp.S: Ditto.
4977 * libc/machine/i386/f_frexpf.S: Ditto.
4978 * libc/machine/i386/f_ldexp.S: Ditto.
4979 * libc/machine/i386/f_ldexpf.S: Ditto.
4980 * libc/machine/i386/f_log.S: Ditto.
4981 * libc/machine/i386/f_log10.S: Ditto.
4982 * libc/machine/i386/f_log10f.S: Ditto.
4983 * libc/machine/i386/f_logf.S: Ditto.
4984 * libc/machine/i386/f_pow.c: Ditto.
4985 * libc/machine/i386/f_powf.c: Ditto.
4986 * libc/machine/i386/f_tan.S: Ditto.
4987 * libc/machine/i386/f_tanf.S: Ditto.
4988 * libc/machine/i386/memchr.S: Ditto.
4989 * libc/machine/i386/memcmp.S: Ditto.
4990 * libc/machine/i386/memcpy.S: Ditto.
4991 * libc/machine/i386/memmove.S: Ditto.
4992 * libc/machine/i386/memset.S: Ditto.
4993 * libc/machine/i386/strchr.S: Ditto.
4994 * libc/machine/i386/strlen.S: Ditto.
4995 * libm/machine/i386/f_atan2.S: Ditto.
4996 * libm/machine/i386/f_atan2f.S: Ditto.
4997 * libm/machine/i386/f_exp.c: Ditto.
4998 * libm/machine/i386/f_expf.c: Ditto.
4999 * libm/machine/i386/f_frexp.S: Ditto.
5000 * libm/machine/i386/f_frexpf.S: Ditto.
5001 * libm/machine/i386/f_ldexp.S: Ditto.
5002 * libm/machine/i386/f_ldexpf.S: Ditto.
5003 * libm/machine/i386/f_log.S: Ditto.
5004 * libm/machine/i386/f_log10.S: Ditto.
5005 * libm/machine/i386/f_log10f.S: Ditto.
5006 * libm/machine/i386/f_logf.S: Ditto.
5007 * libm/machine/i386/f_pow.c: Ditto.
5008 * libm/machine/i386/f_powf.c: Ditto.
5009 * libm/machine/i386/f_tan.S: Ditto.
5010 * libm/machine/i386/f_tanf.S: Ditto.
5011
9b3f0d16
JJ
50122002-12-20 Jeff Johnston <jjohnstn@redhat.com>
5013
5014 * libc/stdlib/environ.c: Update license to Red Hat.
5015 * libc/machine/hppa/setjmp.S: Ditto.
5016 * libm/test/Makefile.in: Ditto.
5017
d693ad84
JJ
50182002-12-19 Jeff Johnston <jjohnstn@redhat.com>
5019
5020 * configure.host: Remove references to go32.
5021 * libc/sys/go32/*: Removed.
5022
7da92d15
JJ
50232002-12-16 Kazu Hirata <kazu@cs.umass.edu>
5024
5025 * libc/include/sys/config.h: Change setting of INT_MAX
5026 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
5027 __H8300S__. Also consolidate flag settings for these
5028 platforms.
5029
ea01c7f5
JJ
50302002-12-10 Joel Sherrill <joel@OARcorp.com>
5031
5032 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
5033 for i386-rtems targets.
5034
c049dd5a
JJ
50352002-12-06 Jeff Johnston <jjohnstn@redhat.com>
5036
5037 * libc/include/stdlib.h (strtof): New prototype (from C99).
5038 (strtodf): Changed from prototype to macro which redefines
5039 to strtof.
5040 * libc/stdlib/atof.c: Change documentation to refer to strtof
5041 instead of strtodf.
5042 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
5043 strtodf.
5044 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
5045 (strtof): New function.
5046 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
5047 calls strtof.
5048
46a402e0
CF
50492002-11-27 Christopher Faylor <cgf@redhat.com>
5050
5051 * libc/string/memset.c (memset): Fix comment.
5052
b3cc01b0
CF
50532002-11-26 Christopher Faylor <cgf@redhat.com>
5054
5055 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
5056 function.
5057
d90f3dc1
CF
50582002-11-25 Christopher Faylor <cgf@redhat.com>
5059
5060 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
5061 variable, introduced below, everywhere.
5062
f24585c6
KH
50632002-11-25 Kazu Hirata <kazu@cs.umass.edu>
5064
5065 * libc/string/memset.c (memset): Make it safe even if
5066 sizeof (int) = 2.
5067
2955fd76
JJ
50682002-11-22 Joe Buehler <jbuehler@hekimian.com>
5069
5070 * configure.in: Change check for libc/include in ${CC} to
5071 use an intermediate value so as to work with different shells.
5072 * configure: Regenerated.
5073 * Makefile.in: Ditto.
5074
40ce7368
JJ
50752002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
5076
5077 * libc/sys/h8300hms/read.c: Add support for normal mode
5078 architecture.
5079
505746ad
JJ
50802002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
5081
5082 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
5083 code for __H8300H__ and __H8300S__. Also return 32-bit return code
5084 when -mint32 is used.
5085
28ecb2f5
NC
50862002-11-18 Nick Clifton <nickc@redhat.com>
5087
5088 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
5089
665b994e
JJ
50902002-11-14 Jeff Johnston <jjohnstn@redhat.com>
5091
5092 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
5093 only issue one pass/fail message for a compile/link/execute.
5094 * testsuite/newlib.elix/elix.exp: New file.
5095 * testsuite/newlib.elix/tmmap.c: Ditto.
5096
e91ec2e3
CF
50972002-11-06 Christopher Faylor <cgf@redhat.com>
5098
5099 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
5100 * libc/stdlib/mlock.c: Ditto.
5101 * libc/stdlib/msize.c: Ditto.
5102 * libc/stdlib/msize.c: Ditto.
5103 * libc/stdlib/mtrim.c: Ditto.
5104 * libc/stdlib/valloc.c: Ditto.
5105
944772c7
JJ
51062002-11-12 Jeff Johnston <jjohnstn@redhat.com>
5107
5108 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
5109 for inf/nan, make sure that the check ignores the sign bit.
5110
dd7ee147
JJ
51112002-11-07 Joel Sherrill <joel@OARcorp.com>
5112
5113 * libc/sys/rtems/machine: New directory.
5114 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
5115 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
5116 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
5117 targets more BSD like when installed without requiring files to
5118 be overwritten at install point when RTEMS itself is installed.
5119 * Makefile.am: Pick up system dependent machine .h files such as
5120 might be found on a BSD-ish system.
5121 * Makefile.in: Regenerate.
5122 * libc/include/machine/types.h: When on an RTEMS target, define a
5123 few BSD flavor types.
5124
51252002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
503430d8
CF
5126
5127 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
5128
18cd62b7
JJ
51292002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
5130
5131 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
5132 * libc/include/wctype.h: Ditto.
5133
d2888812
JJ
51342002-11-04 Jeff Johnston <jjohnstn@redhat.com>
5135
5136 * libc/include/wchar.h: Add extern "C" specifier if C++.
5137 * libc/include/wctype.h: Ditto.
5138
978ea3cf
JJ
51392002-10-18 Jeff Johnston <jjohnstn@redhat.com>
5140
5141 * testsuite/newlib.wctype/tiswctype.c: New test case.
5142 * testsuite/newlib.wctype/twctrans.c: Ditto.
5143
a42cf80a
JJ
51442002-10-18 Jeff Johnston <jjohnstn@redhat.com>
5145
5146 * libc/sys/linux/machine/i386/include/endian.h: New file.
5147 * libc/sys/linux/machine/i386/include/param.h: Ditto.
5148
c9ccb1f2
JJ
51492002-10-18 Jeff Johnston <jjohnstn@redhat.com>
5150
5151 * libm/machine/i386/aclocal.m4: Regenerated.
5152 * libm/machine/i386/configure: Ditto.
5153
94c5b430
JJ
51542002-10-18 Jeff Johnston <jjohnstn@redhat.com>
5155
5156 * testsuite/include/check.h: New header file to use with
5157 test cases.
5158 * testsuite/lib/newlib.exp: Add testsuite/include directory
5159 to list of header files to use.
5160 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
5161 * testsuite/newlib.wctype/wctype.exp: New file.
5162
ccdae543
RS
51632002-10-11 Graham Stott <graham.stott@btinternet.com>
5164 Richard Sandiford <rsandifo@redhat.com>
f770cf44
RS
5165
5166 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
5167 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
5168 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
5169
73972116
JS
51702002-10-07 Joel Sherrill <joel@OARcorp.com>
5171
5172 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
5173 dummy programs.
5174
89e3fcba
JS
51752002-10-07 Joel Sherrill <joel@OARcorp.com>
5176
5177 * libc/include/pthread.h: Define PTHREAD_CANCELED.
5178
54ec52e4
JS
51792002-10-07 Joel Sherrill <joel@OARcorp.com>
5180
5181 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
5182 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
5183 compile with current GNU tools.
5184
d389acba
JJ
51852002-10-07 Jeff Johnston <jjohnstn@redhat.com>
5186
5187 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
5188 the build library.
5189 * configure.in: Ditto.
5190 * Makefile.in: Regenerated.
5191 * configure: Ditto.
5192 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
5193 for specifying configured libraries/directories.
5194 * libc/sys/linux/configure.in: Ditto.
5195 * libc/sys/linux/Makefile.in: Regenerated.
5196 * libc/sys/linux/configure: Ditto.
5197
af5a221f
JJ
51982002-10-03 Jeff Johnston <jjohnstn@redhat.com>
5199
5200 * libc/include/reent.h: Update documentation at start of file.
5201
59a758bd
JW
52022002-09-27 Jim Wilson <wilson@redhat.com>
5203
5204 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
5205 the ctbp register.
5206
1ed3c86d
JJ
52072002-09-27 Jeff Johnston <jjohnstn@redhat.com>
5208
5209 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
5210 Also convert to EUCJP before using arrays. For values not in
5211 the conversion arrays, return WEOF.
5212 * libc/ctype/jp2uc.h: Change from one array to a number of
5213 arrays to account for the fact that the originating table
5214 is not contiguous for the input values since some are invalid.
5215
6e1dfd2d
JJ
52162002-09-24 Jeff Johnston <jjohnstn@redhat.com>
5217
5218 * libc/time/ctime.c: Fix prototype documentation.
5219
06f1353a
CV
52202002-09-24 Corinna Vinschen <corinna@vinschen.de>
5221
5222 * libc/include/sys/errno.h: Add EOVERFLOW.
5223
1e0e64c9
JJ
52242002-09-20 Jeff Johnston <jjohnstn@redhat.com>
5225
5226 * libc/include/wctype.h: New file.
5227
1525d127
JJ
52282002-09-20 Jeff Johnston <jjohnstn@redhat.com>
5229
5230 * libc/ctype/Makefile.am: Add new files.
5231 * libc/ctype/Makefile.in: Regenerated.
5232 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
5233 and wctrans functions to documentation index.
5234 * libc/ctype/iswalnum.c: New file.
5235 * libc/ctype/iswalpha.c: Ditto.
5236 * libc/ctype/iswblank.c: Ditto.
5237 * libc/ctype/iswcntrl.c: Ditto.
5238 * libc/ctype/iswctype.c: Ditto.
5239 * libc/ctype/iswdigit.c: Ditto.
5240 * libc/ctype/iswgraph.c: Ditto.
5241 * libc/ctype/iswlower.c: Ditto.
5242 * libc/ctype/iswprint.c: Ditto.
5243 * libc/ctype/iswpunct.c: Ditto.
5244 * libc/ctype/iswspace.c: Ditto.
5245 * libc/ctype/iswupper.c: Ditto.
5246 * libc/ctype/iswxdigit.c: Ditto.
5247 * libc/ctype/jp2uc.c: Ditto.
5248 * libc/ctype/jp2uc.h: Ditto.
5249 * libc/ctype/local.h: Ditto.
5250 * libc/ctype/towctrans.c: Ditto.
5251 * libc/ctype/towlower.c: Ditto.
5252 * libc/ctype/towupper.c: Ditto.
5253 * libc/ctype/utf8alpha.h: Ditto.
5254 * libc/ctype/utf8print.h: Ditto.
5255 * libc/ctype/utf8punct.h: Ditto.
5256 * libc/ctype/wctrans.c: Ditto.
5257 * libc/ctype/wctype.c: Ditto.
5258 * libc/locale/locale.c (__lc_ctype): New external array to
5259 replace static lc_ctype array.
5260 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
5261 rather than reentrancy structure's _current_locale field.
5262 * libc/stdlib/wctomb_r.c: Ditto.
5263
da25e61f
JJ
52642002-09-20 Jeff Johnston <jjohnstn@redhat.com>
5265
5266 * configure.host: Minor comment and formatting changes.
5267 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
5268 * libc/Makefile.in: Regenerated.
5269 * libc/include/sys/config.h: Minor format change.
5270
5b9ee539
JJ
52712002-09-19 Jeff Johnston <jjohnstn@redhat.com>
5272
5273 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
5274 statement comment.
5275
50558bf3
JJ
52762002-09-19 Jeff Johnston <jjohnstn@redhat.com>
5277
5278 * libc/posix/opendir.c (opendir): Change code to check
5279 for HAVE_FCNTL before calling fcntl.
5280 * libc/search/hash.c (hash_open): Ditto.
5281 * libc/search/hash_page.c (open_tmp): Ditto.
5282 * libc/reent/Makefile.am: Add fcntlr.c.
5283 * libc/reent/Makefile.in: Regenerated.
5284 * libc/reent/fcntlr.c: New file.
5285 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
5286 instead of _fcntl when HAVE_FCNTL flag is set.
5287 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
5288 to see if _fcntl or _fcntl_r should be called. If flag is not
5289 set, default to ENOSYS stub.
5290
9211a1ad
JJ
52912002-09-16 Jeff Johnston <jjohnstn@redhat.com>
5292
5293 * libc/include/wchar.h (mbstate_t): Change protective flag to
5294 be _MBSTATE_T.
5295 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
5296 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
5297 for Cygwin.
5298 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
5299
a8615092
JJ
53002002-09-11 Jeff Johnston <jjohnstn@redhat.com>
5301
5302 * acinclude.m4 (enable-newlib-mb): Change check to
5303 default newlib_mb variable to empty string rather than "no".
5304 * configure.host: Remove hard-coding of -DMB_CAPABLE for
5305 x86-linux and Cygwin. Add code to check for newlib_mb
5306 being unset in which case set to "yes" for x86-linux and
5307 Cygwin. Change check for newlib_mb being "yes" to allow
5308 for an empty string.
5309 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
5310 * newlib.hin (_MB_LEN_MAX): New define to configure.
5311 * aclocal.m4: Regenerated.
5312 * configure: Ditto.
5313 * libc/include/limits.h: New file.
5314 * libc/sys/linux/include/limits.h: Ditto.
5315 * doc/aclocal.m4 doc/configure libc/aclocal.m4
9e8b8cdb 5316 libc/configure libc/machine/aclocal.m4
a8615092
JJ
5317 libc/machine/configure libc/machine/a29k/aclocal.m4
5318 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
5319 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
5320 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
5321 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
5322 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
5323 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
5324 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
5325 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
5326 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
5327 libc/machine/i386/configure libc/machine/i960/aclocal.m4
5328 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
5329 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
5330 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
5331 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
5332 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
5333 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
5334 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
5335 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
5336 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
5337 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
5338 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
5339 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
5340 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
5341 libc/machine/v850/configure libc/machine/w65/aclocal.m4
5342 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
5343 libc/machine/xscale/configure
5344 libc/machine/xstormy16/aclocal.m4
5345 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
5346 libc/machine/z8k/configure libc/sys/aclocal.m4
5347 libc/sys/configure libc/sys/a29khif/aclocal.m4
5348 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
5349 libc/sys/arc/configure libc/sys/arm/aclocal.m4
5350 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
5351 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
5352 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
5353 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
5354 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
5355 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
5356 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
5357 libc/sys/idt/configure libc/sys/linux/aclocal.m4
9e8b8cdb 5358 libc/sys/linux/configure
a8615092
JJ
5359 libc/sys/linux/machine/aclocal.m4
5360 libc/sys/linux/machine/configure
5361 libc/sys/linux/machine/i386/aclocal.m4
5362 libc/sys/linux/machine/i386/configure
5363 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
5364 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
5365 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
5366 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
5367 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
5368 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
5369 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
5370 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
5371 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
5372 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
5373 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
5374 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
5375 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
5376 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
5377 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
5378 libm/aclocal.m4 libm/configure: Regenerated.
5379
be83844e
JJ
53802002-09-09 Jeff Johnston <jjohnstn@redhat.com>
5381
5382 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
5383 code that clears the .bss section.
5384
9c64d2a7
JJ
53852002-09-09 Jeff Johnston <jjohnstn@redhat.com>
5386
5387 * libc/include/sys/_types.h (_mbstate_t): Changed to use
5388 unsigned char internally.
5389 * libc/sys/linux/sys/_types.h: Ditto.
5390 * libc/include/sys/reent.h
5391 * libc/stdlib/mblen.c (mblen): Use function-specific state
5392 value from default reentrancy structure.
5393 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
5394 _mbtowc_r is less than 0, reset state __count value and
5395 return -1.
5396 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
5397 is NULL, use the function-specific pointer provided in the
5398 default reentrancy structure.
5399 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
5400 If input state pointer is NULL, use function-specific area
5401 provided in reentrancy structure.
5402 * libc/stdlib/mbsrtowcs.c: Ditto.
5403 * libc/stdlib/wcrtomb.c: Ditto.
5404 * libc/stdlib/wcsrtombs.c: Ditto.
5405 * libc/stdlib/mbstowcs.c: Reformat.
5406 * libc/stdlib/wcstombs.c: Ditto.
5407 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
5408 reset the state's __count value and return -1.
5409 * libc/stdlib/mbtowc.c: Ditto.
5410 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
5411 If number of bytes is used up before completing a valid multibyte
5412 character, return -2 and save the state.
5413 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
5414 and change some __count references to __state for clarity.
5415
218b7a56
JJ
54162002-09-06 Jeff Johnston <jjohnstn@redhat.com>
5417
5418 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
5419 is defined by <limits.h>.
5420
c210a6ea
JJ
54212002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
5422
5423 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
5424 defined.
5425
efa077ce
JJ
54262002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
5427
5428 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
5429 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
5430 __WCHAR_MAX__ or 0x7fffffffu.
5431 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
5432 * libc/string/wcsncmp.c: Ditto.
5433
e4b0ebc1
JJ
54342002-09-03 Jeff Johnston <jjohnstn@redhat.com>
5435
5436 * libc/string/wcschr.c: Add include of <stddef.h>.
5437 * libc/string/wcspbrk.c: Ditto.
5438 * libc/string/wcsrchr.c: Ditto.
5439 * libc/string/wcsstr.c: Ditto.
5440
3db40db7
JJ
54412002-09-03 Jeff Johnston <jjohnstn@redhat.com>
5442
5443 * libc/include/sys/_types.h (_flock_t): Added.
5444 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
5445 (__lock_try_acquire_recursive): Ditto.
5446 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
5447 _lock field.
5448 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
5449 field.
5450 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
5451 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
5452 * libc/sys/linux/include/time.h (struct timespec): Moved from
5453 <sys/types.h> and added check for __need_timespec flag so type
5454 can be defined by itself.
5455 * libc/sys/linux/sys/_types.h (_flock_t): New type.
5456 * libc/sys/linux/sys/types.h (struct timespec): Moved to
5457 <time.h>.
5458
cd45f029
TF
54592002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
5460
5461 * libc/sys/linux/argp: New directory.
5462 * libc/sys/linux/getopt.c: New file.
5463 * libc/sys/linux/getopt1.c: New file.
5464 * libc/sys/linux/getoptlong.c: Remove file.
5465 * libc/sys/linux/include/argp.h: New file.
5466 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
5467 based on ELIX level.
5468 (SUBDIRS): Add argp_dir.
5469 (SUBLIBS): Add ARGP_LIB.
5470 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
5471 getopt_long.$(oext).
5472 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
5473
3c689185
JJ
54742002-08-29 Jeff Johnston <jjohnstn@redhat.com>
5475
5476 * libc/libc.texinfo: Add node reference to wide-character strings.
5477 * libc/string/wcstrings.tex: New file.
5478 * libc/string/strtok_r.c: Remove outdated advertising clause.
5479 * libc/string/Makefile.am (doc): Add wide-character string
5480 chapter to documentation.
5481 * libc/string/Makefile.in: Regenerated.
5482
890e7a1d
JJ
54832002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
5484
5485 * libc/include/wchar.h: Define NULL. Define WEOF more general
5486 way. Declare functions in newlib manner.
5487 * libc/stdlib/Makefile.am: Delete wmem*.c
5488 * libc/stdlib/Makefile.in: Regenerated.
5489 * libc/stdlib/wmemchr.c: Delete.
5490 * libc/stdlib/wmemcmp.c: Ditto.
5491 * libc/stdlib/wmemcpy.c: Ditto.
5492 * libc/stdlib/wmemmove.c: Ditto.
5493 * libc/stdlib/wmemset.c: Ditto.
5494 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
5495 * libc/string/Makefile.in: Regenerated.
5496 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
5497 * libc/string/wcschr.c: Ditto.
5498 * libc/string/wcscmp.c: Ditto.
5499 * libc/string/wcscpy.c: Ditto.
5500 * libc/string/wcscspn.c: Ditto.
5501 * libc/string/wcslcat.c: Ditto.
5502 * libc/string/wcslcpy.c: Ditto.
5503 * libc/string/wcslen.c: Ditto.
5504 * libc/string/wcsncat.c: Ditto.
5505 * libc/string/wcsncmp.c: Ditto.
5506 * libc/string/wcsncpy.c: Ditto.
5507 * libc/string/wcspbrk.c: Ditto.
5508 * libc/string/wcsrchr.c: Ditto.
5509 * libc/string/wcsspn.c: Ditto.
5510 * libc/string/wcsstr.c: Ditto.
5511 * libc/string/wmemchr.c: Ditto.
5512 * libc/string/wmemcmp.c: Ditto.
5513 * libc/string/wmemcpy.c: Ditto.
5514 * libc/string/wmemmove.c: Ditto.
5515 * libc/string/wmemset.c: Ditto.
5516
86620e21
JJ
55172002-08-29 Jeff Johnston <jjohnstn@redhat.com>
5518
5519 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
5520 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
5521 and is treated as if "C" was specified.
5522
f3741c27
JJ
55232002-08-28 Jeff Johnston <jjohnstn@redhat.com>
5524
5525 * Makefile.am (install-data-local): Move install of build
5526 newlib.h after installing headers in libc/include so as to
5527 overwrite default newlib.h.
5528 * Makefile.in: Regenerated.
5529
48da61f5
JJ
55302002-08-28 Jeff Johnston <jjohnstn@redhat.com>
5531
5532 * libc/include/newlib.h: New file for tools that use newlib
5533 headers but don't build newlib first (e.g. gcc).
5534
d82a94ac
JJ
55352002-08-28 Jeff Johnston <jjohnstn@redhat.com>
5536
5537 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
5538 * libc/stdlib/wmemcmp.c: Ditto.
5539 * libc/stdlib/wmemcpy.c: Ditto.
5540 * libc/stdlib/wmemmove.c: Ditto.
5541 * libc/stdlib/wmemset.c: Ditto.
5542
7d08241b
JJ
55432002-08-27 Egor Duda <deo@logos-m.ru>
5544
5545 * libc/stdlib/wmemchr.c: New file.
5546 * libc/stdlib/wmemcmp.c: Ditto.
5547 * libc/stdlib/wmemcpy.c: Ditto.
5548 * libc/stdlib/wmemmove.c: Ditto.
5549 * libc/stdlib/wmemset.c: Ditto.
5550 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
5551 * configure.host: Default -DMB_CAPABLE for cygwin.
5552 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
5553 wmemmove() and wmemset(). Add include of <_ansi.h>.
5554 * libc/stdlib/Makefile.in: Regenerate.
5555
8da1639b
JJ
55562002-08-27 Jeff Johnston <jjohnstn@redhat.com>
5557
ff2bf852 5558 * configure.host: Remove _ELIX_LEVEL flag setting.
8da1639b
JJ
5559 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
5560 (install-data-local): Install newlib.h.
5561 * Makefile.in: Regenerated.
5562 * aclocal.m4: Ditto.
5563 * configure: Ditto.
5564 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
5565 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
5566 and _NEWLIB_VERSION to fill in newlib.h header file entries.
5567 In AC_OUTPUT statement, unset ac_file so multilib support does
5568 not use last ac_file temporary used in newlib.h configuration.
5569 * libc/include/_ansi.h: Include <newlib.h>.
5570 * newlib.hin: New template file for newlib.h.
5571 * stamp-h.in: New file.
5572
a4421c11
JJ
55732002-08-26 Wu Yongwei <adah@netstd.com>
5574
5575 * time.h (timezonevar): Change "#if" to "#ifdef".
5576
90b65e2d
JJ
55772002-08-26 Jeff Johnston <jjohnstn@redhat.com>
5578
5579 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
5580 * Makefile.in: Regenerated.
5581 * acinclude.m4: Add support for --enable-newlib-elix-level option.
5582 * aclocal.m4: Regenerated.
5583 * configure: Ditto.
5584 * configure.host: Add code to define _ELIX_LEVEL if
5585 --enable-newlib-elix-level option is used.
5586 * configure.in:
5587 * libc/aclocal.m4: Regenerated.
5588 * libc/configure: Ditto.
5589 * libc/argz/Makefile.am: Add EL/IX level checking.
5590 * libc/argz/Makefile.in: Regenerated.
5591 * libc/argz/dummy.c: New file.
5592 * libc/ctype/Makefile.am: Add EL/IX level checking.
5593 * libc/ctype/Makefile.in: Regenerated.
5594 * libc/locale/Makefile.am: Add EL/IX level checking.
5595 * libc/locale/Makefile.in: Regenerated.
5596 * libc/posix/Makefile.am: Add EL/IX level checking.
5597 * libc/posix/Makefile.in: Regenerated.
5598 * libc/posix/telldir.c: Add EL/IX level checking.
5599 * libc/reent/Makefile.am: Ditto.
5600 * libc/reent/fstat64r.c: Ditto.
5601 * libc/reent/lseek64r.c: Ditto.
5602 * libc/reent/open64r.c: Ditto.
5603 * libc/reent/Makefile.in: Regenerated.
5604 * libc/search/Makefile.am: Add EL/IX level checking.
5605 * libc/search/Makefile.in: Regenerated.
5606 * libc/stdio/Makefile.am: Add EL/IX level checking.
5607 * libc/stdio/Makefile.in: Regenerated.
5608 * libc/stdio64/Makefile.am: Add EL/IX level checking.
5609 * libc/stdio64/Makefile.in: Regenerated.
5610 * libc/stdio64/dummy.c: New file.
9b487837 5611 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
90b65e2d
JJ
5612 after first include.
5613 * libc/stdio64/fopen64.c: Ditto.
5614 * libc/stdio64/freopen64.c: Ditto.
5615 * libc/stdio64/fseeko64.c: Ditto.
5616 * libc/stdio64/fsetpos64.c: Ditto.
5617 * libc/stdio64/ftello64.c: Ditto.
5618 * libc/stdio64/tmpfile64.c: Ditto.
5619 * libc/stdlib/Makefile.am: Add EL/IX level checking.
5620 * libc/stdlib/Makefile.in: Regenerated.
5621 * libc/stdlib/mstats.c: Add EL/IX level checking.
5622 * libc/string/Makefile.am: Ditto.
5623 * libc/string/Makefile.in: Regenerated.
5624 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
5625 * libc/sys/linux/Makefile.in: Regenerated.
5626 * libc/sys/linux/aclocal.m4: Ditto.
5627 * libc/sys/linux/configure: Ditto.
5628 * libc/sys/linux/aio.c: Add EL/IX level checking.
5629 * libc/sys/linux/ftok.c: Ditto.
5630 * libc/sys/linux/getdate.c: Ditto.
5631 * libc/sys/linux/ids.c: Ditto.
5632 * libc/sys/linux/inode.c: Ditto.
5633 * libc/sys/linux/io.c: Ditto.
5634 * libc/sys/linux/process.c: Ditto.
5635 * libc/sys/linux/resource.c: Ditto.
5636 * libc/sys/linux/sched.c: Ditto.
5637 * libc/sys/linux/sig.c: Ditto.
5638 * libc/sys/linux/termios.c: Ditto.
5639 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
5640 __libc___waitpid weak aliases.
5641 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
5642 that generate the code for a syscall, but do not create a
5643 weak alias.
5644 * libc/syscalls/Makefile.am: Add EL/IX level checking.
5645 * libc/syscalls/Makefile.in: Regenerated.
5646 * libc/time/tzset_r.c: Change to replace strdup with equivalent
5647 functionality.
5648 * libc/unix/Makefile.am: Add EL/IX level checking.
5649 * libc/unix/Makefile.in: Regenerated.
5650
2e2b268c
CF
56512002-08-26 Christopher Faylor <cgf@redhat.com>
5652
5653 * libc/include/malloc.h: On cygwin, define malloc _r functions as
5654 wrapper macros to standard malloc functions.
5655 * libc/include/stdlib.h: Ditto.
5656 * configure.host: Always define MALLOC_PROVIDED on cygwin.
5657
8d9112f2
TF
56582002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5659
5660 * libc/include/langinfo.h: New file.
5661 * libc/include/wchar.h: Likewise.
5662 * libc/include/sys/syslimits.h: Likewise.
5663 * libc/locale/fix_grouping.c: Likewise.
5664 * libc/locale/ldpart.c: Likewise.
5665 * libc/locale/ldpart.h: Likewise.
5666 * libc/locale/lmessages.c: Likewise.
5667 * libc/locale/lmessages.h: Likewise.
5668 * libc/locale/lmonetary.c: Likewise.
5669 * libc/locale/lmonetary.h: Likewise.
5670 * libc/locale/lnumeric.c: Likewise.
5671 * libc/locale/lnumeric.h: Likewise.
5672 * libc/locale/nl_langinfo.3: Likewise.
5673 * libc/locale/nl_langinfo.c: Likewise.
5674 * libc/locale/timelocal.c: Likewise.
5675 * libc/locale/timelocal.h: Likewise.
5676 * libc/stdlib/btowc.c: Likewise.
5677 * libc/stdlib/mbrlen.c: Likewise.
5678 * libc/stdlib/mbrtowc.c: Likewise.
5679 * libc/stdlib/mbsinit.c: Likewise.
5680 * libc/stdlib/mbsrtowcs.c: Likewise.
5681 * libc/stdlib/wcrtomb.c: Likewise.
5682 * libc/stdlib/wcsrtombs.c: Likewise.
5683 * libc/stdlib/wctob.c: Likewise.
5684 * libc/sys/linux/prof-freq.c: Likewise.
5685 * libc/sys/linux/profile.c: Likewise.
5686 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
5687 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
5688 * libc/include/stdlib.h: Change re-entrant functions to take
5689 mbstate_t pointers.
5690 * libc/include/sys/_types.h: Define _mbstate_t.
5691 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
5692 * libc/include/sys/errno.h (EILSEQ): New error code.
5693 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
5694 structure to use mbstate_t.
5695 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
5696 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
5697 * libc/machine/powerpc/vfscanf.c: Likewise.
5698 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
5699 * libc/stdio/vfprintf.c: Likewise.
5700 * libc/stdio/vfscanf.c: Likewise.
5701 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
5702 * libc/stdlib/mblen.c: Use mbstate_t.
5703 * libc/stdlib/mblen_r.c: Likewise.
5704 * libc/stdlib/mbstowcs.c: Likewise.
5705 * libc/stdlib/mbstowcs_r.c: Likewise.
5706 * libc/stdlib/mbtowc.c: Likewise.
5707 * libc/stdlib/mbtowc_r.c: Likewise.
5708 * libc/stdlib/wcstombs.c: Likewise.
5709 * libc/stdlib/wcstombs_r.c: Likewise.
5710 * libc/stdlib/wctomb_r.c: Likewise.
5711 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
5712 profile.c.
5713 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
5714 dl-procinfo.c.
5715 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
5716 * libc/sys/linux/sys/types.h (off_t): Define type.
5717 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
5718 to C-UTF-8.
5719 * testsuite/newlib.locale/UTF-8.exp: Likewise.
5720
fe47ea33
JJ
57212002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
5722
5723 * libc/stdlib/mallocr.c: #include windows.h on Win32.
5724 (AlignPage): Continue macro on next line.
5725
ada73509
JJ
57262002-08-19 Jeff Johnston <jjohnstn@redhat.com>
5727
5728 * libc/sys/linux/include/pthread.h: New file.
5729
64b5e8f2
JJ
57302002-08-19 Jeff Johnston <jjohnstn@redhat.com>
5731
5732 * libc/include/sys/types.h: Support __need_inttypes macro
5733 that only sets the __intxx and __uintxx types.
5734 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
5735 to get mprec.h.
5736 * libc/machine/powerpc/Makefile.in: Regenerated.
5737 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
5738 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
5739 redundant fixed-point conversion prototypes.
5740 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
5741 after setting __need_inttypes.
5742
a94b60ce
CF
57432002-08-18 Christopher Faylor <cgf@redhat.com>
5744
5745 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
5746
29e17a86
JJ
57472002-08-17 Jeff Johnston <jjohnstn@redhat.com>
5748
5749 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
5750 _LONG_DOUBLE to double.
5751
936b520f
JJ
57522002-08-17 Jeff Johnston <jjohnstn@redhat.com>
5753
5754 * configure.host: Add powerpc*-*-eabispe* configuration.
5755 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
5756 * libc/machine/powerpc/atosfix32.c: Ditto.
5757 * libc/machine/powerpc/atosfix64.c: Ditto.
5758 * libc/machine/powerpc/atoufix16.c: Ditto.
5759 * libc/machine/powerpc/atoufix32.c: Ditto.
5760 * libc/machine/powerpc/atoufix64.c: Ditto.
5761 * libc/machine/powerpc/fix64.h: Ditto.
5762 * libc/machine/powerpc/simdldtoa.c: Ditto.
5763 * libc/machine/powerpc/strtosfix16.c: Ditto.
5764 * libc/machine/powerpc/strtosfix32.c: Ditto.
5765 * libc/machine/powerpc/strtosfix64.c: Ditto.
5766 * libc/machine/powerpc/strtoufix16.c: Ditto.
5767 * libc/machine/powerpc/strtoufix32.c: Ditto.
5768 * libc/machine/powerpc/strtoufix64.c: Ditto.
5769 * libc/machine/powerpc/ufix64toa.c: Ditto.
5770 * libc/machine/powerpc/configure.in: Add check for
5771 powerpc*-eabispe and add fixed-point conversion functions.
5772 * libc/machine/powerpc/configure: Regenerated.
5773 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
5774 %r and %R format specifiers which handle fixed-point data.
5775 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
5776 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
5777 function prototypes.
5778
ad552766
JJ
57792002-08-17 Jeff Johnston <jjohnstn@redhat.com>
5780
5781 * Makefile.am: Move cmath stuff into libc/sys/linux.
5782 * Makefile.in: Regenerated.
5783 * configure.host: Default -DMB_CAPABLE for x86-linux.
5784 * libc/include/reent.h: Define _sbrk to take signed int argument.
5785 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
5786 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
5787 make locale name checking more efficient. Also allow "C-ISO-8859-1"
5788 locale for LC_CTYPE and LC_MESSAGES.
5789 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
5790 * libc/sys/linux/brk.c: Change sbrk prototype.
5791 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
5792 include <sys/features.h>.
5793 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
5794 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
5795 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
5796 with a few local additions.
5797 * libc/sys/linux/sys/features.h: New file.
5798 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
5799 to take signed argument.
5800 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
5801 prototypes to take signed size argument.
5802
d3bd3632
TF
58032002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
5804
5805 * libc/sys/linux/cmath: New directory.
5806 * libc/sys/linux/include/cmathcalls.h: New file.
5807 * libc/sys/linux/include/complex.h: New file.
5808 * libc/sys/linux/machine/i386/huge_val.h: New file
5809 * libm/math/w_sincos.c: New file
5810 * libm/math/wf_sincos.c: New file
5811 * libm/mathfp/s_sincos.c: New file
5812 * libm/mathfp/sf_sincos.c: New file
5813 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
5814 * libc/include/math.h: Add sincos and sincosf declarations.
5815 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
5816 (SUBLIBS): Likewise.
5817 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
5818 * libm/math/Makefile.am (src): Add w_sincos.c.
5819 (fsrc): Add wf_sincos.c.
5820 * libm/mathfp/Makefile.am (src): Add s_sincos.c
5821 (fsrc): Add sf_sincos.c.
5822
b3a9676b
JJ
58232002-08-12 Jeff Johnston <jjohnstn@redhat.com>
5824
5825 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
5826 Declare as extern chars and use the address operator to
5827 properly use values set in linker script.
5828
659e7062
JJ
58292002-08-09 Jason Tishler <jason@tishler.net>
5830
5831 * libc/stdlib/mallocr.c: Include <limits.h>.
5832 (request2size): Change macro to do
5833 unsigned long comparisons and avoid signed overflow.
5834 (mALLOc): Add overflow check for the number of bytes to allocate.
5835 (rEALLOc): Ditto.
5836
037240a2
JJ
58372002-08-09 Jeff Johnston <jjohnstn@redhat.com>
5838
5839 * configure.host: Add check for --enable-newlib-io-pos-args
5840 and define WANT_IO_POS_ARGS flag if enabled. Define
5841 the flag by default for x86-linux configurations.
5842 * configure.in: Add support for --enable-newlib-io-pos-args.
5843 * libc/configure.in: Ditto.
5844 * configure: Regenerated.
5845 * libc/configure: Ditto.
5846 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
5847 vfprintf.c and vfiprintf.c.
5848 * libc/stdio/Makefile.in: Regenerated.
5849 * libc/stdio/vfprintf.c: Add positional argument support that
5850 is enabled by compiling with -DWANT_IO_POS_ARGS.
5851
172fda76
RS
58522002-08-07 Richard Sandiford <rsandifo@redhat.com>
5853
5854 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
5855 based on __mips_soft_float rather than __mips64.
5856 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
5857 of both 32-bit and 64-bit code.
5858
4866247e
CF
58592002-08-04 Christopher Faylor <cgf@redhat.com>
5860
5861 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
5862 arguments for popen to match similar functionality in fopen.
5863
b96332ce
CV
58642002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
5865
5866 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
5867
60d99bce
JJ
58682002-07-29 Jeff Johnston <jjohnstn@redhat.com>
5869
5870 * libc/sys/linux/Makefile.am: Add aio64.c.
5871 * libc/sys/linux/Makefile.in: Regenerated.
5872 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
5873 * libc/sys/linux/aio64.c: New file.
5874
80a21be0
JJ
58752002-07-26 Jeff Johnston <jjohnstn@redhat.com>
5876
5877 * libc/include/sys/param.h (MAX, MIN): Added macros.
5878 * libc/sys/linux/Makefile.am: Add new files.
5879 * libc/sys/linux/Makefile.in: Regenerated.
5880 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
5881 * libc/sys/linux/inode.c (fchdir): Added syscall.
5882 * libc/sys/linux/ftw.c: New file.
5883 * libc/sys/linux/ftw64.c: Ditto.
5884 * libc/sys/linux/getwd.c: Ditto.
5885 * libc/sys/linux/scandir64.c: Ditto.
5886 * libc/sys/linux/strverscmp.c: Ditto.
5887 * libc/sys/linux/versionsort.c: Ditto.
5888 * libc/sys/linux/versionsort64.c: Ditto.
5889
6b6425cb
JJ
58902002-07-26 Jeff Johnston <jjohnstn@redhat.com>
5891
5892 * libc/string/strings.tex: Fix typo for memccpy.
5893
dc8ac8e6
JJ
58942002-07-25 Jeff Johnston <jjohnstn@redhat.com>
5895
5896 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
5897 * libc/sys/linux/sys/types.h (off64_t): Definition added.
5898
aa0ca6fd
JJ
58992002-07-25 Jeff Johnston <jjohnstn@redhat.com>
5900
5901 * libc/sys/linux/Makefile.am: Add fclean.c.
5902 * libc/sys/linux/Makefile.in: Regenerated.
5903 * libc/sys/linux/fclean.c: New file.
5904
61921945
JJ
59052002-07-25 Jeff Johnston <jjohnstn@redhat.com>
5906
5907 * libc/sys/linux/Makefile.am: Add confstr.c.
5908 * libc/sys/linux/Makefile.in: Regenerated.
5909 * libc/sys/linux/confstr.c: New file.
5910 * libc/sys/linux/confstr.h: Ditto.
5911 * libc/sys/linux/sys/unistd.h: Include <features.h> and
5912 <bits/environments.h>.
5913
3d966a92
JJ
59142002-07-25 Jeff Johnston <jjohnstn@redhat.com>
5915
5916 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
5917 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
5918 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
5919 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
5920 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
5921 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
5922
53b5bff7
JJ
59232002-07-24 Jeff Johnston <jjohnstn@redhat.com>
5924
5925 * libc/sys/linux/Makefile.am: Add new files.
5926 * libc/sys/linux/Makefile.in: Regenerated.
5927 * libc/sys/linux/fstab.c: New file.
5928 * libc/sys/linux/fstatvfs.c: Ditto.
5929 * libc/sys/linux/fstatvfs64.c: Ditto.
5930 * libc/sys/linux/internal_statvfs.c: Ditto.
5931 * libc/sys/linux/mntent.c: Ditto.
5932 * libc/sys/linux/mntent_r.c: Ditto.
5933 * libc/sys/linux/statvfs.c: Ditto.
5934 * libc/sys/linux/statvfs64.c: Ditto.
5935 * libc/sys/linux/include/paths.h: Ditto.
5936 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
5937 with double-underscore weak-aliases.
5938 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
5939
9cef8ef5
JJ
59402002-07-24 Jeff Johnston <jjohnstn@redhat.com>
5941
5942 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
5943 to use _sig_func_ptr type casted constants.
5944 (_sig_func_ptr): Typedef moved to sys/signal.h.
5945 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
5946 For __rtems, use POSIX definition, otherwise default to ANSI.
5947 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
5948
a703e0f2
JJ
59492002-07-24 Stephane Carrez <stcarrez@nerim.fr>
5950
5951 * configure.host: Recognize m6811-elf and m6812-elf targets.
5952 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
5953 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
5954 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
5955 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
5956 according to __INT_MAX__.
5957 (_POINTER_INT): Define to short.
5958 * libc/machine/m68hc11/Makefile.am: New file.
5959 * libc/machine/m68hc11/Makefile.in: New file.
5960 * libc/machine/m68hc11/configure.in: New file.
5961 * libc/machine/m68hc11/configure: New file.
5962 * libc/machine/m68hc11/aclocal.m4: New file.
5963 * libc/machine/m68hc11/setjmp.S: New file.
5964
d254189b
JJ
59652002-07-23 Jeff Johnston <jjohnstn@redhat.com>
5966
5967 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
5968 prototypes.
5969 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
5970 * libc/stdlib/Makefile.in: Regenerated.
5971 * libc/stdlib/strdup.c: Removed.
5972 * libc/stdlib/strdup_r.c: Removed.
5973 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
5974 mempcpy.c, strndup.c, and strndup_r.c.
5975 * libc/string/Makefile.in: Regenerated.
5976 * libc/string/memccpy.c: New file.
5977 * libc/string/mempcpy.c: Ditto.
5978 * libc/string/strndup.c: Ditto.
5979 * libc/string/strndup_r.c: Ditto.
5980 * libc/string/strdup.c: New file moved from stdlib.
5981 * libc/string/strdup_r.c: Ditto.
5982 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
5983
bc100655
JJ
59842002-07-23 Jeff Johnston <jjohnstn@redhat.com>
5985
5986 * libc/include/stdio.h: Move fcloseall prototype within
5987 #ifndef _REENT_ONLY section.
5988 * libc/sys/linux/Makefile.am: Add new files.
5989 * libc/sys/linux/Makefile.in: Regenerated.
5990 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
5991 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
5992 * libc/sys/linux/sys/types.h: Add ino64_t type.
5993 * libc/sys/linux/ctermid.c: New file.
5994 * libc/sys/linux/ttyname_r.c: Ditto.
5995 * libc/sys/linux/readdir64.c: Ditto.
5996
f5f27f07
JJ
59972002-07-22 Jeff Johnston <jjohnstn@redhat.com>
5998
5999 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
6000 * libc/stdio/Makefile.am: Added fcloseall.c support.
6001 * libc/stdio/Makefile.in: Regenerated.
6002 * libc/stdio/fcloseall.c: New file.
6003 * libc/stdio64/Makefile.am: Remove missing .def references.
6004 * libc/stdio64/Makefile.in: Regenerated.
6005
d541ba3e
JJ
60062002-07-22 Jeff Johnston <jjohnstn@redhat.com>
6007
6008 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
6009 * libc/machine/powerpc/times.c: New file.
6010 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
6011 * libc/machine/powerpc/Makefile.in: Regenerated.
6012
60132002-07-22 Aldy Hernandez <aldyh@redhat.com>
e964bca8
JJ
6014
6015 * libc/machine/powerpc/time.c: New file.
6016 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
6017 time.c.
6018 * libc/machine/powerpc/Makefile.in: Regenerated.
6019
5e7d0a55
TF
60202002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6021
6022 * libc/libc.texinfo: Change copyright notices to Red Hat from
6023 Cygnus.
6024 * libm/libm.texinfo: Likewise.
6025 * README: Change docs URL to
6026 http://sources.redhat.com/newlib/docs.html.
6027
504628e7
JJ
60282002-07-19 Jeff Johnston <jjohnstn@redhat.com>
6029
6030 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
6031 * libc/sys/linux/Makefile.in: Regenerated.
6032 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
6033 * libc/sys/linux/io.c: Add ftruncate syscall.
6034 * libc/sys/linux/fpathconf.c: New file.
6035 * libc/sys/linux/pathconf.c: Ditto.
6036 * libc/sys/linux/linux_fsinfo.h: Ditto.
6037 * libc/sys/linux/sys/unistd.h: Ditto.
6038
b155ad9f
JJ
60392002-07-19 Jeff Johnston <jjohnstn@redhat.com>
6040
6041 * libc/stdio64/Makefile.am: Remove missing files.
6042 * libc/stdio64/Makefile.in: Regenerated.
6043
c119e0ab
JJ
60442002-07-19 Jeff Johnston <jjohnstn@redhat.com>
6045
6046 * libc/include/sys/config.h[__i386__][__linux__]: Define
6047 _LARGE64FILE_SOURCE to 1.
6048 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
6049 * libc/sys/linux/Makefile.in: Regenerated.
6050 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
6051 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
6052 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
6053 of <linux/resource.h>.
6054 * libc/sys/linux/getrlimit64.c: New file.
6055 * libc/sys/linux/setrlimit64.c: Ditto.
6056
9b022d6d
TF
60572002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
6058
6059 * libc/argz/argz_replace.c: Include buf_findstr.h.
6060 * libc/argz/buf_findstr.c: Likewise.
6061 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
6062 value to (char *).
6063 * libc/argz/envz_get.c: Likewise.
6064 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
6065 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
6066 * libc/stdlib/getsubopt.3: New file.
6067 * libc/stdlib/getsubopt.c: New file.
6068 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
6069 Change esp to ebp.
6070
dee51391
JJ
60712002-07-17 Jeff Johnston <jjohnstn@redhat.com>
6072
6073 * configure.host(stdio64_dir): New setting that is used to
6074 enable building of new stdio64 directory.
6075 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
6076 large files.
6077 (stmp-stdio64,stdio64.texi): New targets to optionally add in
6078 stdio64 info to info files.
6079 * libc/Makefile.in: Regenerated.
6080 * libc/configure: Ditto.
6081 * libc/configure.in: Add configuration variables that are set
6082 when stdio64 is selected as subdir in configure.host.
6083 * libc/libc.texinfo: Add optional menu item for Stdio64, based
6084 on whether STDIO64 flag is set or not.
6085 * libc/sys.tex: Add optional stdio64 syscalls based on whether
6086 STDIO64 flag is set or not.
6087 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
6088 _r sycall routines.
6089 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
6090 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
6091 (__SL64): New file flag indicating file is opened via fopen64.
6092 * libc/include/sys/_types.h(_off64_t): Added.
6093 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
6094 * libc/include/sys/reent.h(struct __sFILE64): New file structure
6095 for 64-bit offset large file support.
6096 (__FILE): New intermediate type either set to struct __sFILE64 or
6097 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
6098 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
6099 * libc/reent/Makefile.in: Regenerated.
6100 * libc/reent/fstat64r.c: New file.
6101 * libc/reent/lseek64r.c: Ditto.
6102 * libc/reent/open64r.c: Ditto.
6103 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
6104 based on whether STDIO64 flag is set.
6105 * libc/stdio/stdio.tex: Add blank line.
6106 * libc/stdio64/Makefile.am: New file.
6107 * libc/stdio64/Makefile.in: Ditto.
6108 * libc/stdio64/fgetpos64.c: Ditto.
6109 * libc/stdio64/fopen64.: Ditto.
6110 * libc/stdio64/freopen64.c: Ditto.
6111 * libc/stdio64/fseeko64.c: Ditto.
6112 * libc/stdio64/fsetpos64.c: Ditto.
6113 * libc/stdio64/ftello64.c: Ditto.
6114 * libc/stdio64/local64.h: Ditto.
6115 * libc/stdio64/stdio64.c: Ditto.
6116 * libc/stdio64/stdio64.tex: Ditto.
6117 * libc/stdio64/tmpfile64.c: Ditto.
6118 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
6119 open64.
6120
778876f6
JJ
61212002-07-16 Jeff Johnston <jjohnstn@redhat.com>
6122
6123 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
6124 if LIBC_EXTRA_LIB is present.
6125 * libc/Makefile.in: Regenerated.
6126 * libc/libc.texinfo: Add blank line.
6127 * libc/argz/Makefile.am: Add doc support.
6128 * libc/search/Makefile.am: Ditto.
6129 * libc/argz/Makefile.in: Regenerated.
6130 * libc/search/Makefile.in: Ditto.
6131 * libc/misc/misc.tex: Add ffs function.
6132 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
6133
37981145
JJ
61342002-07-15 Jeff Johnston <jjohnstn@redhat.com>
6135
6136 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
6137 definition that was removed in error.
6138
38b5dc59
JJ
61392002-07-15 Jeff Johnston <jjohnstn@redhat.com>
6140
6141 * libc/include/machine/ieeefp.h: Change to only define
6142 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
6143 __IEEE_LITTLE_ENDIAN must be defined for each platform).
6144 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
6145 remove redundant floating point definitions.
6146
8cb61a96
JJ
61472002-07-15 Jeff Johnston <jjohnstn@redhat.com>
6148
6149 * libc/sys/linux/callocr.c: Fix so code references
6150 calloc.
6151
edba3282
JJ
61522002-07-15 Jeff Johnston <jjohnstn@redhat.com>
6153
6154 * libc/sys/linux/Makefile.am: Add new files.
6155 * libc/sys/linux/Makefile.in: Regenerated.
6156 * libc/sys/linux/bp-sym.h: Moved to include directory.
6157 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
6158 * libc/sys/linux/inode.c: Set _LIBC to 1.
6159 * libc/sys/linux/mq_close.c: Ditto.
6160 * libc/sys/linux/mq_getattr.c: Ditto.
6161 * libc/sys/linux/mq_open.c: Ditto.
6162 * libc/sys/linux/mq_receive.c: Ditto.
6163 * libc/sys/linux/mq_send.c: Ditto.
6164 * libc/sys/linux/mq_setattr.c: Ditto.
6165 * libc/sys/linux/mq_unlink.c: Ditto.
6166 * libc/sys/linux/calloc.c: New file.
6167 * libc/sys/linux/callocr.c: Ditto.
6168 * libc/sys/linux/cfreer.c: Ditto.
6169 * libc/sys/linux/config.h: Ditto.
6170 * libc/sys/linux/free.c: Ditto.
6171 * libc/sys/linux/freer.c: Ditto.
6172 * libc/sys/linux/msize.c: Ditto.
6173 * libc/sys/linux/msizer.c: Ditto.
6174 * libc/sys/linux/mstats.c: Ditto.
6175 * libc/sys/linux/mtrim.c: Ditto.
6176 * libc/sys/linux/mtrimr.c: Ditto.
6177 * libc/sys/linux/pvallocr.c: Ditto.
6178 * libc/sys/linux/realloc.c: Ditto.
6179 * libc/sys/linux/reallocr.c: Ditto.
6180 * libc/sys/linux/thread-m.h: Ditto.
6181 * libc/sys/linux/vallocr.c: Ditto.
6182 * libc/sys/linux/bp-checks.h: Ditto.
6183 * libc/sys/linux/libc-symbols.h: Ditto.
6184 * libc/sys/linux/libc-tsd.h: Ditto.
6185 * libc/sys/linux/libintl.h: Ditto.
6186 * libc/sys/linux/malign.c: Ditto.
6187 * libc/sys/linux/malignr.c: Ditto.
6188 * libc/sys/linux/mallinfor.c: Ditto.
6189 * libc/sys/linux/malloc.c: Ditto.
6190 * libc/sys/linux/mallocr.c: Ditto.
6191 * libc/sys/linux/malloptr.c: Ditto.
6192 * libc/sys/linux/mallstatsr.c: Ditto.
6193 * libc/sys/linux/mcheck.c: Ditto.
6194 * libc/sys/linux/mhooks.h: Ditto.
6195 * libc/sys/linux/include/bp-sym.h: Ditto.
6196 * libc/sys/linux/include/malloc.h: Ditto.
6197 * libc/sys/linux/include/mcheck.h: Ditto.
6198 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
6199 getpagesize.c.
6200 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
6201 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
6202 * libc/sys/linux/machine/i386/getpagesize.c: New file.
6203 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
6204 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
6205 * libc/sys/linux/machine/i386/sysdep.h: New file.
6206 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
6207 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
6208 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
6209
ea20b60a
JJ
62102002-07-12 Jeff Johnston <jjohnstn@redhat.com>
6211
6212 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
6213 instead of <asm/siginfo.h>.
6214 * libc/sys/linux/sys/signal.h: Change to include various linux
6215 <bits/xxx.h> header files, rather than <linux/signal.h> so as
6216 to work with multiple releases of glibc header files.
6217
2fc82912
JJ
62182002-07-11 Chris Demetriou <cgd@broadcom.com>
6219
6220 * testsuite/newlib.search/hsearchtest.c: New file to test
6221 newlib/libc/search.
6222 * testsuite/newlib.search/hsearchtest.exp: Likewise.
6223
4a404e97 62242002-07-10 Florian Schrack <florian.schrack@freenet.de>
2a8b4ea3
JJ
6225
6226 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
6227 a terminal.
6228 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
6229
6aec558e
JJ
62302002-07-08 Jeff Johnston <jjohnstn@redhat.com>
6231
6232 * libc/include/math.h (MAXFLOAT): Added.
6233
e47e6f0e 6234Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
a31df303
JR
6235
6236 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
6237 Make strcmp.S unconditional.
6238 * libc/machine/sh/Makefile.in: Regenerate.
6239 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
6240 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
6241 for SHcompact.
6242
89ffbd66
JJ
62432002-07-04 Jeff Johnston <jjohnstn@redhat.com>
6244
6245 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
6246 define before including <sys/lock.h>.
6247
ae6c4c84
JJ
62482002-07-04 Jeff Johnston <jjohnstn@redhat.com>
6249
6250 * libc/include/utime.h: Add include of <_ansi.h>.
6251 * libc/sys/linux/Makefile.am: Add utimes.c.
6252 * libc/sys/linux/Makefile.in: Regenerated.
6253 * libc/sys/linux/inode.c(__umask): New static routine.
6254 (umask): Written to use __umask and attempt to thread lock.
6255 (getumask): New function written to use __umask and thread lock.
6256 * libc/sys/linux/utimes.c: New file.
6257 * libc/sys/linux/sys/time.h: Fix utimes prototype.
6258 * libc/sys/linux/sys/utime.h: New file.
6259
a6cac46c
TF
62602002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
6261
6262 * libtool.m4: New file.
6263 * libc/sys/linux/process.c: Implement vfork in terms of fork,
6264 rather than as a syscall.
6265
30b2092f
JJ
62662002-07-04 Jeff Johnston <jjohnstn@redhat.com>
6267
6268 * libc/include/stdio.h: Add new prototypes.
6269 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
6270 * libc/stdio/Makefile.in: Regenerated.
6271 * libc/stdio/fseek.c: Add fseeko documentation.
6272 * libc/stdio/ftell.c: Add ftello documentation.
6273 * libc/stdio/fseeko.c: New file.
6274 * libc/stdio/ftello.c: New file.
6275
7501704d
JJ
62762002-07-04 Jeff Johnston <jjohnstn@redhat.com>
6277
6278 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
6279 * libc/stdio/Makefile.in: Regenerated.
6280 * libc/stdio/asprintf.c: New file.
6281 * libc/stdio/vasprintf.c: Ditto.
6282 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
6283 the buffer for asprintf support.
6284 * libc/stdio/sprintf.c: Add asprintf documentation.
6285 * libc/stdio/vfprintf.c: Add vasprintf documentation.
6286 * libc/include/stdio.h: Add new prototypes.
6287
66eee32b
TF
62882002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
6289
6290 * libc/search/hcreate.c: Remove advertising clause from license.
6291 * libc/search/hcreate_r.c: Likewise.
6292
cec4a9f8
JJ
62932002-07-02 Chris Demetriou <cgd@broadcom.com>
6294
6295 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
6296 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
6297 Check that one of them is defined and error out if not.
6298 Add any platforms defined in <machine/ieeefp.h> that are missing.
6299 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
6300 (DB_LITTLE_ENDIAN): New defines.
6301 * libc/search/hash.c: Replace all incorrect checks for
6302 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
6303 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
6304 * libc/search/hash_page.c: Likewise.
6305
2d5eb17e
TF
63062002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
6307
6308 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
6309
c1a3171f
JJ
63102002-06-27 Benjamin Kosnik <bkoz@redhat.com>
6311
6312 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
6313 * libc/include/time.h: Same.
6314 * libc/include/string.h: Same.
6315 * libc/include/stdlib.h: Same.
6316 * libc/include/signal.h: Same.
6317 * libc/include/setjmp.h: Same.
6318 * libc/include/math.h: Same.
6319 * libc/include/locale.h: Same.
6320 * libc/include/ctype.h: Same.
6321 * libc/include/machine/setjmp.h: Same.
6322 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
6323 (_END_STD_C): Add.
6324
533b4e66
JJ
63252002-06-27 Jeff Johnston <jjohnstn@redhat.com>
6326
6327 * libc/include/sys/_types.h: Define _ssize_t as int if int is
6328 32-bits, otherwise define it as long.
6329 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
6330 and define ssize_t as _ssize_t.
6331 * libc/reent/readr.c: Change return type to _ssize_t.
6332 * libc/reent/writer.c: Ditto.
6333 * libc/sys/linux/Makefile.am: Add aio.c.
6334 * libc/sys/linux/Makefile.in: Regenerated.
6335 * libc/sys/linux/aio.c: New file.
6336 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
6337 * libm/common/fdlibm.h: Undef __P before defining it.
6338
c36e6dd7
TF
63392002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
6340
54be629f
TF
6341 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
6342 exponent_is_even_int variable. Handle case where x is
6343 negative, and y is an odd integer.
6344 * libm/mathfp/sf_pow.c (powf): Likewise.
6345
c36e6dd7
TF
6346 * libm/mathfp/er_lgamma.c: Remove __kernel references.
6347 * libm/mathfp/erf_lgamma.c: Likewise.
6348 * libm/mathfp/s_tgamma.c: Likewise.
6349 * libm/mathfp/sf_tgamma.c: Likewise.
6350
baf051ca
JJ
63512002-06-27 Jeff Johnston <jjohnstn@redhat.com>
6352
6353 * libc/sys/linux/Makefile.am: Add new clock routines.
6354 * libc/sys/linux/Makefile.in: Regenerated.
6355 * libc/sys/linux/clock_getres.c: New file.
6356 * libc/sys/linux/clock_gettime.c: Ditto.
6357 * libc/sys/linux/clock_settime.c: Ditto.
6358 * libc/sys/linux/hp-timing.h: Ditto.
6359 * libc/sys/linux/libc-internal.h: Ditto.
6360 * libc/sys/linux/sysconf.c: Fix typo.
6361 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
6362 * libc/sys/linux/machine/hp-timing.h: New file.
6363 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
6364 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
6365 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
6366 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
6367 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
6368 * libc/sys/linux/sys/linux_time.h: New file.
6369 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
6370 replace with <sys/linux_time.h>.
6371
0431ed4e
JR
6372Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
6373
6374 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
6375
fc067ba5
JJ
63762002-06-25 Jeff Johnston <jjohnstn@redhat.com>
6377
6378 * libc/sys/linux/Makefile.am: Consolidate additional items under
6379 ADD_OBJS.
6380 * libc/sys/linux/Makefile.in: Regenerated.
6381
ffddf61e
JJ
63822002-06-25 Jeff Johnston <jjohnstn@redhat.com>
6383
6384 * libc/sys/linux/sethostname.c: New file.
6385 * libc/sys/linux/Makefile.am: Add sethostname.c support.
6386 * libc/sys/linux/Makefile.in: Regenerated.
6387
d5487d3f
TF
63882002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
6389
6390 * libc/search/db_local.h: New file.
6391 * libc/include/db.h: Remove.
6392 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
6393 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
6394 "db_local.h".
6395 * libc/search/hash_bigkey.c: Likewise.
6396 * libc/search/hash_buf.c: Likewise.
6397 * libc/search/hash_func.c: Likewise.
6398 * libc/search/hash_log2.c: Likewise.
6399 * libc/search/hash_page.c: Likewise.
6400
64012002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
e08a6118 6402
1e7ca711 6403 * libc/machine/sh/strlen.S: New file.
e08a6118
JR
6404 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
6405 * libc/machine/sh/Makefile.am: Regenerate.
6406
59c6d6c4
JJ
64072002-06-24 Jeff Johnston <jjohnstn@redhat.com>
6408
6409 * libc/sys/linux/gethostname.c: Change name to __gethostname and
6410 add gethostname alias.
6411
a70486d7
JJ
64122002-06-24 Jeff Johnston <jjohnstn@redhat.com>
6413
6414 * libc/include/math.h: Remove <sys/types.h>.
a5dadf33 6415 (__dmath): Use __ULong instead of __uint32_t.
a70486d7 6416 * libc/include/sys/reent.h: If long or int is not 32-bits,
a5dadf33 6417 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
a70486d7
JJ
6418 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
6419 * libm/common/fdlibm.h: Ditto.
6420
3118725a
TF
64212002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
6422
6423 * libc/include/ndbm.h: Remove.
6424 * libc/search/ndbm.c: Remove.
6425
30a06168
TF
64262002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
6427
6428 * libc/stdio/fseek.c (fseek): Fix braces.
6429
01f5155e
CV
64302002-06-21 Corinna Vinschen <corinna@vinschen.de>
6431
6432 * libc/time/strftime.c (strftime): Add %e format specifier.
6433
930bc96b
TF
64342002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
6435
6436 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
6437 previously defined.
6438
55105f86
JJ
64392002-06-21 Richard Earnshaw (rearnsha@arm.com)
6440
6441 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
6442 (BYTE_ORDER): Define as appropriate for the target.
6443
2e78444a
JJ
64442002-06-21 Jeff Johnston <jjohnstn@redhat.com>
6445
6446 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
6447 to _ssize_t.
6448 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
6449
d427d092
JJ
64502002-06-21 Jeff Johnston <jjohnstn@redhat.com>
6451
6452 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
6453 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
6454 [HAVE_GETDATE](getdate_err): New error code.
6455 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
6456 * libc/stdio/Makefile.in: Regenerated.
6457 * libc/stdio/getdelim.c: New file.
6458 * libc/stdio/getline.c: Ditto.
6459 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
6460 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
6461 * libc/sys/linux/Makefile.in: Regenerated.
6462 * libc/sys/linux/getdate.c: New file.
6463 * libc/sys/linux/getdate_err.c: Ditto.
6464 * libc/sys/linux/ntp_gettime.c: Ditto.
6465 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
6466 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
6467
35728d4f
JJ
64682002-06-21 Jeff Johnston <jjohnstn@redhat.com>
6469
6470 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
6471 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
6472 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
6473 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
6474 * libc/include/sys/param.h: Remove i386 case which is handled
6475 by default case.
6476 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
6477 definitions in case they are already defined.
6478 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
6479 _IEEE_LITTLE_ENDIAN flags.
6480 * libc/include/sys/reent.h: Change __uint32_t references to
6481 use _ULong instead.
6482 (_REENT_GETDATE_REENT_P): New macro.
6483 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
6484 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
6485 * libc/search/hash.h: Add default setting of BYTE_ORDER,
6486 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
6487 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
6488 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
6489 pid_t, off_t, loff_t, caddr_t, and daddr_t type
6490 definitions which are done by subsequent glibc headers.
6491 Add macro definitions to prevent subsequent header files from
6492 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
6493 intptr_t to after glibc definitions of types they are based on.
6494
4a2bfab7
JJ
64952002-06-21 Jeff Johnston <jjohnstn@redhat.com>
6496
6497 * libc/include/errno.h: Protect from multiple inclusion.
6498
f42d18ea
NC
64992002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
6500
6501 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
6502
a7b23a8f
TF
65032002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
6504
6505 * Makefile.am (LIB_OBJECTLISTS): Add
6506 libc/search/objectlist.awk.in.
6507 * libc/Makefile.am (SUBDIRS): Add search.
6508 (SUBLIBS): Add search/libsearch.la.
6509 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
6510 * libc/search: New directory.
6511 * libc/search/Makefile.am: New file.
6512 * libc/search/extern.h: New file.
6513 * libc/search/hash.c: New file.
6514 * libc/search/hash.h: New file.
6515 * libc/search/hash_bigkey.c: New file.
6516 * libc/search/hash_buf.c: New file.
6517 * libc/search/hash_func.c: New file.
6518 * libc/search/hash_log2.c: New file.
6519 * libc/search/hash_page.c: New file.
6520 * libc/search/hcreate.3: New file.
6521 * libc/search/hcreate.c: New file.
a7b23a8f
TF
6522 * libc/search/hcreate_r.c: New file.
6523 * libc/search/ndbm.c: New file.
6524 * libc/search/page.h: New file.
6525 * libc/search/tdelete.c: New file.
6526 * libc/search/tdestroy.c: New file.
6527 * libc/search/tfind.c: New file.
6528 * libc/search/tsearch.3: New file.
6529 * libc/search/tsearch.c: New file.
6530 * libc/search/twalk.c: New file.
6531 * libc/include/db.h: New file.
6532 * libc/include/ndbm.h: New file.
6533 * libc/include/search.h: New file.
6534 * libc/include/sys/queue.h: New file.
6535 * libc/include/sys/cdefs.h: New file.
6536 * libc/include/sys/param.h
6537 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
6538 LITTLE_ENDIAN or BIG_ENDIAN.
6539 * libc/include/sys/errno.h (EFTYPE): New macro.
6540 * libc/search/bsearch.c: Move from libc/stdlib.
6541 * libc/search/qsort.c: Likewise.
6542 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
6543 qsort.c.
6544 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
6545 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
6546
ef467338
JJ
65472002-06-19 Jeff Johnston <jjohnstn@redhat.com>
6548
6549 * libc/sys/linux/Makefile.am: Add support for message queue routines,
6550 ipc routines, and ftok.
6551 * libc/sys/linux/Makefile.in: Regenerated.
6552 * libc/sys/linux/ftok.c: New file.
6553 * libc/sys/linux/ipc.c: Ditto.
6554 * libc/sys/linux/mq_close.c: Ditto.
6555 * libc/sys/linux/mq_getattr.c: Ditto.
6556 * libc/sys/linux/mq_notify.c: Ditto.
6557 * libc/sys/linux/mq_open.c: Ditto.
6558 * libc/sys/linux/mq_receive.c: Ditto.
6559 * libc/sys/linux/mq_send.c: Ditto.
6560 * libc/sys/linux/mq_setattr.c: Ditto.
6561 * libc/sys/linux/mq_unlink.c: Ditto.
6562 * libc/sys/linux/mqlocal.h: Ditto.
6563 * libc/sys/linux/include/mqueue.h: Ditto.
6564 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
6565 __uid_t_defined.
6566
7f55c08c
TF
65672002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
6568
6569 * libm/common/sf_lround.c (round): Change name to: (lround).
6570 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
6571 remquof.
6572
c9ca68d7
TF
65732002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
6574
6575 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
6576 procedure.
6577 (newlib_pass_fail): Change to compile and run only one file.
6578 * testsuite/newlib.locale/locale.exp: Use new
6579 newlib_pass_fail_all procedure.
6580 * testsuite/newlib.string/string.exp: Likewise.
6581
4ecedd09
DB
65822002-06-18 Dave Brolley <brolley@redhat.com>
6583
6584 From Catherine Moore, Michael Meissner, Richard Sandiford:
6585 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
6586 (_JBTYPE): Ditto.
6587 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
6588 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
6589 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
6590 * configure.host: Support frv-*-*.
6591 * libc/machine/frv/Makefile.am: New file.
6592 * libc/machine/frv/configure.in: New file.
6593 * libc/machine/frv/setjmp.S: New file.
6594
af1c257a
TF
65952002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
6596
6597 * libc/include/ctype.h: Remove isblank macro.
6598
6599 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
6600 * libc/ctype/isblank.c: New file.
6601 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
6602 declaration. Add isblank macro.
6603
4e04fa90
JJ
66042002-06-18 Jeff Johnston <jjohnstn@redhat.com>
6605
6606 * testsuite/newlib.stdlib/atexit.c: New file.
6607 * testsuite/newlib.stdlib/atexit.exp: Ditto.
6608 * testsuite/newlib.string/tstring.c: Change default start size
6609 to something more reasonable for embedded platforms.
6610
b56d7e79
TF
66112002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6612
ece3c72f
TF
6613 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
6614
b56d7e79
TF
6615 * libc/argz: New directory.
6616 * libc/argz/*: New files.
6617 * libc/argz/argz_add.c: New file.
6618 * libc/argz/argz_add_sep.c: New file.
6619 * libc/argz/argz_append.c: New file.
6620 * libc/argz/argz_count.c: New file.
6621 * libc/argz/argz_create.c: New file.
6622 * libc/argz/argz_create_sep.c: New file.
6623 * libc/argz/argz_delete.c: New file.
6624 * libc/argz/argz_extract.c: New file.
6625 * libc/argz/argz_insert.c: New file.
6626 * libc/argz/argz_next.c: New file.
6627 * libc/argz/argz_replace.c: New file.
6628 * libc/argz/argz_stringify.c: New file.
6629 * libc/argz/buf_findstr.c: New file.
6630 * libc/argz/envz_add.c: New file.
6631 * libc/argz/envz_entry.c: New file.
6632 * libc/argz/envz_get.c: New file.
6633 * libc/argz/envz_merge.c: New file.
6634 * libc/argz/envz_remove.c: New file.
6635 * libc/argz/envz_strip.c: New file.
6636 * libc/include/argz.h: New file.
6637 * libc/include/envz.h: New file.
6638 * Makefile.am (LIBC_OBJECTLISTS): Add
6639 libc/argz/objectlist.awk.in.
6640 * libc/Makefile.am (SUBDIRS): Add argz.
6641 (SUBLIBS): Add argz/libargz.la.
6642 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
6643 * libc/include/errno.h: Add error_t typedef.
6644
d062d3dd
JJ
66452002-06-13 Jeff Johnston <jjohnstn@redhat.com>
6646
6647 * libc/include/stdlib.h: Add _Exit prototype.
6648 * libc/stdlib/Makefile.am: Add _Exit.c support.
6649 * libc/stdlib/Makefile.in: Ditto.
6650 * libc/stdlib/_Exit.c: New file.
6651
a47e66ae
JJ
66522002-06-13 Stephen L. Moshier <steve@moshier.net>
6653
6654 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
6655 x is close to -1.0 and y is very large to use ax (absolute value)
6656 instead of x.
6657 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
6658
13f7d71f
JR
6659Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
6660
6661 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
6662 Fix clobbering bytes before destination if src and dst have same
6663 non-zero misalignment.
1f1fb421
JR
6664
6665 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
6666 Fixed bug in writing end of set region.
6667
b2e8018f
CF
66682002-06-10 Christopher Faylor <cgf@redhat.com>
6669
6670 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
6671 spawnve declaration.
6672
0953fe64
TF
66732002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
6674
6675 * libm/common/s_fdim.c: New file.
6676 * libm/common/s_fma.c: Likewise.
6677 * libm/common/s_fmax.c: Likewise.
6678 * libm/common/s_fmin.c: Likewise.
6679 * libm/common/s_fpclassify.c: Likewise.
6680 * libm/common/s_lrint.c: Likewise.
6681 * libm/common/s_lround.c: Likewise.
6682 * libm/common/s_nearbyint.c: Likewise.
6683 * libm/common/s_remquo.c: Likewise.
6684 * libm/common/s_round.c: Likewise.
6685 * libm/common/s_scalbln.c: Likewise.
6686 * libm/common/s_signbit.c: Likewise.
6687 * libm/common/s_trunc.c: Likewise.
6688 * libm/common/sf_fdim.c: Likewise.
6689 * libm/common/sf_fma.c: Likewise.
6690 * libm/common/sf_fmax.c: Likewise.
6691 * libm/common/sf_fmin.c: Likewise.
6692 * libm/common/sf_lrint.c: Likewise.
6693 * libm/common/sf_lround.c: Likewise.
6694 * libm/common/sf_nearbyint.c: Likewise.
6695 * libm/common/sf_remquo.c: Likewise.
6696 * libm/common/sf_round.c: Likewise.
6697 * libm/common/sf_scalbln.c: Likewise.
6698 * libm/common/sf_trunc.c: Likewise.
6699 * libm/math/w_exp2.c: Likewise.
6700 * libm/math/w_tgamma.c: Likewise.
6701 * libm/math/wf_exp2.c: Likewise.
6702 * libm/math/wf_tgamma.c: Likewise.
6703 * libm/mathfp/s_exp2.c: Likewise.
6704 * libm/mathfp/s_tgamma.c: Likewise.
6705 * libm/mathfp/sf_exp2.c: Likewise.
6706 * libm/mathfp/sf_tgamma.c: Likewise.
6707 * libm/math/er_gamma.c: Fix return value.
6708 * libm/math/erf_gamma.c: Likewise.
6709 * libm/mathfp/er_gamma.c: Likewise.
6710 * libm/mathfp/erf_gamma.c: Likewise.
6711 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
6712 declarations and macros.
6713 Regenerated all Makefile.in, aclocal.m4 and configure files to
6714 use new libtool macros in top-level libtool.m4
6715
39e65e01
JJ
67162002-06-05 Jeff Johnston <jjohnstn@redhat.com>
6717
6718 * libc/include/string.h[__linux__]: Add strsignal prototype.
6719 * libc/include/sys/lock.h: New file with default locking support.
6720 * libc/include/sys/reent.h: Add signal buffer support for strsignal
6721 and psignal.
6722 * libc/posix/Makefile.am: Add support for readdir_r.c.
6723 * libc/posix/Makefile.in: Regenerated.
6724 * libc/posix/closedir.c: Add locking support and hash table cleanup.
6725 * libc/posix/opendir.c: Add lock support.
6726 * libc/posix/readdir.c: Ditto.
6727 * libc/posix/rewinddir.c: Ditto.
6728 * libc/posix/scandir.c: Ditto.
6729 * libc/posix/seekdir.c: Ditto.
6730 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
6731 clean up leftover hash table entries.
6732 * libc/posix/readdir_r.c: New file.
6733 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
6734 * libc/sys/linux/Makefile.in: Regenerated.
6735 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
6736 * libc/sys/linux/sys/signal.h: Add psignal prototype.
6737 * libc/sys/linux/psignal.c: New file.
6738 * libc/sys/linux/strsignal.c: Ditto.
6739
cc890e89
CV
67402002-06-03 Corinna Vinschen <corinna@vinschen.de>
6741
6742 * libc/include/sys/types.h: Don't define dev_t when compiling for
6743 Cygwin.
6744
ea55e3f7
JJ
67452002-05-31 Jeff Johnston <jjohnstn@redhat.com>
6746
6747 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
6748 make siglist.inc dependent on sig.c instead of signal.c.
6749 * libc/sys/linux/Makefile.in: Regenerated.
6750 * libc/sys/linux/sig.c: Rename from signal.c and change code to
6751 use NSIG instead of _NSIG.
6752 * libc/sys/linux/sigaction.c: New file.
6753 * libc/sys/linux/signal.c: Changed to be linux signal() function
6754 so as to override regular newlib default signal.c.
ea55e3f7
JJ
6755 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
6756 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
6757 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
6758 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
6759 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
6760 default linux sigset_t typedef by defining it equal to __sigset_t.
6761 * libc/unix/sigset.c: Add check so code isn't compiled on systems
6762 with a sigset_t that isn't implemented with a single int.
6763
9d362914
JJ
67642002-05-30 Jeff Johnston <jjohnstn@redhat.com>
6765
6766 * libc/sys/linux/Makefile.am: Add support for new files.
6767 * libc/sys/linux/Makefile.in: Regenerated.
6768 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
6769 * libc/sys/linux/signal.c: Change to use real-time syscalls for
6770 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
6771 it is in a separate file now.
6772 * libc/sys/linux/machine/i386/Makefile.am
6773 * libc/sys/linux/machine/i386/Makefile.in
6774 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
6775 * libc/sys/linux/sigaction.c: New file.
6776 * libc/sys/linux/sigqueue.c: Ditto.
6777 * libc/sys/linux/sigwait.c: Ditto.
6778 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
6779 * libc/sys/linux/kernel_sigaction.h: Ditto.
6780
b1f07180
JJ
67812002-05-28 Jeff Johnston <jjohnstn@redhat.com>
6782
6783 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
6784 tcsendbrk.c.
6785 * libc/sys/linux/Makefile.in: Regenerated.
6786 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
6787 tcgetpgrp(), and tcsetpgrp() functions.
6788 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
6789 to get __MAX_BAUD rate.
6790 * libc/sys/linux/machine/i386/include/termios.h: New file.
6791 * libc/include/machine/termios.h: Ditto.
6792 * libc/sys/linux/cfspeed.c: Ditto.
6793 * libc/sys/linux/tcsendbrk.c: Ditto.
6794
d29587b4
JJ
67952002-05-24 Jeff Johnston <jjohnstn@redhat.com>
6796
6797 * libc/include/string.h: Add strnlen and strerror_r prototypes.
6798 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
6799 * libc/string/Makefile.in: Regenerated.
6800 * libc/string/strerror_r.c: New file.
6801 * libc/string/strnlen.c: New file.
6802 * libc/sys/linux/Makefile.am: Add rename.c.
6803 * libc/sys/linux/Makefile.in: Regenerated.
6804 * libc/sys/linux/rename.c: New file to override default rename.
6805
9a292385
TF
68062002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
6807
6808 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
6809 * libc/sys/linux/sys/time.h: Add conversion macros.
6810 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
6811 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
6812 * libc/sys/linux/gethostname.c: New file.
6813 * libc/sys/linux/seteuid.c: New file.
6814 * libc/sys/linux/sysctl.c: New file.
6815
7a364eb3
JJ
68162002-05-23 Jeff Johnston <jjohnstn@redhat.com>
6817
6818 * libc/string/Makefile.am: Add support for strsep.c.
6819 * libc/string/Makefile.in: Regenerated.
6820 * libc/string/strsep.c: New file.
6821 * libc/string/strtok.c: Change to call __strtok_r service routine.
6822 * libc/string/strtok_r.c: Add __strtok_r routine which takes
6823 additional flag parameter regarding whether to skip leading delimeters.
6824 Change strtok_r to call __strtok_r.
6825
164ee5b0
JJ
68262002-05-23 Gareth Pearce <tilps@hotmail.com>
6827
6828 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
6829 * libc/stdio/Makefile.in: Regenerated.
6830 * libc/stdio/setbuffer.c: New file.
6831 * libc/stdio/setlinebuf.c: New file.
6832
f6b2b567
JJ
68332002-05-23 Jeff Johnston <jjohnstn@redhat.com>
6834
6835 * libc/sys/linux/Makefile.am: Add resource.c.
6836 * libc/sys/linux/Makefile.in: Regenerated.
6837 * libc/sys/linux/resource.c: New file.
6838 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
6839 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
6840 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
6841 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
6842 are now found in libc/sys/linux/resource.c.
6843
afe56517
JJ
68442002-05-23 Jeff Johnston <jjohnstn@redhat.com>
6845
6846 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
6847 to use void * pointers and comply with Single Unix spec.
6848 * libc/string/bcmp.c: Change to use void * instead of char *.
6849 * libc/string/bcopy.c: Ditto.
6850 * libc/string/bzero.c: Ditto.
6851
7736feb2
JJ
68522002-05-22 Jeff Johnston <jjohnstn@redhat.com>
6853
6854 * libc/sys/linux/shm_open.c: New file.
6855 * libc/sys/linux/shm_unlink.c: Ditto.
6856 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
6857 shm_unlink.c.
6858 * libc/sys/linux/Makefile.in: Regenerated.
6859 * libc/sys/linux/sys/types.h: Add some additional checks to see
6860 if clock_t or time_t is already defined.
6861
19f111bd
JJ
68622002-05-22 Jeff Johnston <jjohnstn@redhat.com>
6863
6864 * Makefile.am: Don't pass $toollibdir down directly in
6865 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
6866 Pass it under the name: top_toollibdir.
6867 * Makefile.in: Regenerated.
6868
c811b1ee
CV
68692002-05-22 Corinna Vinschen <vinschen@redhat.com>
6870
6871 * libc/include/sys/types.h: Revert previous patch.
6872
2b43ad33
CV
68732002-05-22 Corinna Vinschen <vinschen@redhat.com>
6874
6875 * libc/include/sys/types.h: Include cygwin/types.h always under
6876 Cygwin, not only if _POSIX_THREADS is defined.
6877
dd671cde
TF
68782002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
6879
6880 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
6881
5e2cbfb6
JJ
68822002-05-17 Jeff Johnston <jjohnstn@redhat.com>
6883
6884 * Makefile.am: Copy and install headers from sys/machine/include
6885 directory. Also pass $toollibdir to lower-level directories.
6886 * Makefile.in: Regenerated.
6887 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
6888 stderr to use _REENT macro instead of _impure_ptr directly.
6889 * libc/include/sys/config.h[__i386__][__linux__]: Define
6890 __DYNAMIC_REENT__.
6891 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
6892 call to __getreent() function if !__SINGLE_THREAD__ and
6893 __DYNAMIC_REENT__ is set.
6894 * libc/reent/Makefile.am: Add support for getreent.c.
6895 * libc/reent/Makefile.in: Regenerated.
6896 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
6897 * libc/sys/linux/Makefile.am: Add support for new files.
6898 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
6899 * libc/sys/linux/Makefile.in: Regenerated.
6900 * libc/sys/linux/configure: Ditto.
6901 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
6902 __close, __read, __write, __poll, __open, __lseek, __fcntl from
6903 their __libc_ counterparts.
6904 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
6905 and weak-alias to regular names.
6906 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
6907 to pread64 and __pread64.
6908 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
6909 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
6910 weak-alias to pwrite64.
6911 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
6912 __libc_sched_getscheduler, __libc_sched_get_priority_max,
6913 __libc_sched_get_priority_min, and __libc_sched_setschedule to
6914 name with __ instead of __libc_.
6915 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
6916 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
6917 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
6918 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
6919 to raise.
6920 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
6921 __libc_send to __send.
6922 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
6923 __gettimeofday.
6924 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
6925 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
6926 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
6927 type and typedef __jmp_buf to jmp_buf.
6928 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
6929 setjmp.S.
6930 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
6931 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
6932 section.
6933 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
6934 prefix for function macros and then use weak_alias() to regular names.
6935 * libc/sys/linux/machine/i386/syscall.h: Ditto.
6936 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
6937 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
6938 to be flockfile() and funlockfile() respectively.
6939 * libc/sys/linux/sys/types.h
6940 * libc/reent/getreent.c: New file.
6941 * libc/sys/linux/flockfile.c: Ditto.
6942 * libc/sys/linux/funlockfile.c: Ditto.
6943 * libc/sys/linux/getreent.c: Ditto.
6944 * libc/sys/linux/pread.c: Ditto.
6945 * libc/sys/linux/pwrite.c: Ditto.
6946 * libc/sys/linux/raise.c: Ditto.
6947 * libc/sys/linux/system.c: Ditto.
6948 * libc/sys/linux/tcdrain.c: Ditto.
6949 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
6950 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
6951 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
6952 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
6953 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
6954
7fc85bd1
TF
69552002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
6956
6957 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
6958 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
6959 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
6960 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
6961
6935231f 6962Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
d7a2f413
JR
6963
6964 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6935231f
JR
6965 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
6966 exit point.
d7a2f413 6967
3a6cb01b
TF
69682002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6969
a68fa571
TF
6970 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
6971 options when testing natively on i[3456]86-*-linux.
6972
3a6cb01b
TF
6973 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
6974 only one pass or fail per test file. Trim \r's from output
6975 values received from test programs. Remove support for named
6976 tests.
6977 * testsuite/newlib.locale/UTF-8.exp: Update to support new
6978 newlib_check_output behaviour.
6979 * testsuite/newlib.locale/UTF-8.c: Likewise.
6980
dc824ef7
JJ
69812002-05-15 Jeff Johnston <jjohnstn@redhat.com>
6982
6983 * libc/include/stdlib.h: Add on_exit prototype.
6984 * libc/include/sys/reent.h (struct _atexit): Add argument array
6985 and bits to track type of exit routine to support both on_exit
6986 and atexit.
6987 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
6988 by default and change the setting of the atexit structure.
6989 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
6990 * libc/stdlib/on_exit.c: New file.
6991 * libc/stdlib/Makefile.am: Add support for on_exit.
6992 * libc/stdlib/Makefile.in: Regenerated.
6993 * libc/stdlib/atexit.c: Change to initialize types field.
6994 * libc/stdlib/exit.c: Change to look at types field for each
6995 exit routine and either call an atexit-style or an on_exit-style
6996 routine accordingly.
6997
48d91b4a
JJ
69982002-05-13 Jeff Johnston <jjohnstn@redhat.com>
6999
7000 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
7001 allow v specifier with n or L specifiers. For vector c format,
7002 move tmp declaration to the top.
7003
024739eb
JJ
70042002-05-13 Jeff Johnston <jjohnstn@redhat.com>
7005
7006 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
7007 the original format specifier when looping for vectors to compensate
7008 for any changes made in vector %g format processing.
7009 Also add syntax checking for various invalid scenarios
7010 involving vector format extensions.
7011 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
7012 return code setting for vector formats. Also treat vector
7013 separator mismatch as a match error instead of an input error.
7014 Perform some syntax checking for vector formats.
7015
7d2ce898
TF
70162002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
7017
7018 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
7019 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
7020 * libc/string/strlcat.c: New file.
7021 * libc/string/strlcpy.c: New file.
7022
809b6ce7
JJ
70232002-05-10 Jeff Johnston <jjohnstn@redhat.com>
7024
7025 * libc/string/strchr.c: Fix comment typo.
7026
76490806
TF
70272002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
7028
0c048a9a
TF
7029 * acinclude.m4: Add support for --enable-newlib-multithread.
7030 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
7031 --enable-newlib-multithread=no.
7032
76490806
TF
7033 * libc/stdio/getc_u.c: New file.
7034 * libc/stdio/getchar_u.c: New file.
7035 * libc/stdio/putc_u.c: New file.
7036 * libc/stdio/putchar_u.c: New file.
7037 * libc/include/stdio.h: Add declarations for getc_unlocked,
7038 getchar_unlocked, putc_unlocked and putchar_unlocked.
7039 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
7040 (CHEWOUT_FILES): Add new files' .def's.
7041 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
7042
96bff22c
JR
7043Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
7044
7045 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
7046 Also handle as single quad word when destination ends at last
7047 byte of first quad word. Fix byte selection in single quad code.
7048
e71372fa
TF
70492002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
7050
7051 * libc/include/sys/stdio.h: New file.
7052 * libc/sys/linux/sys/stdio.h: New file.
7053 * libc/include/stdio.h: Add declarations for flockfile,
7054 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
7055 * libc/stdio/clearerr.c: Add file locking.
7056 * libc/stdio/fclose.c: Likewise.
7057 * libc/stdio/feof.c: Likewise.
7058 * libc/stdio/ferror.c: Likewise.
7059 * libc/stdio/fflush.c: Likewise.
7060 * libc/stdio/fgetc.c: Likewise.
7061 * libc/stdio/fgetpos.c: Likewise.
7062 * libc/stdio/fgets.c: Likewise.
7063 * libc/stdio/fileno.c: Likewise.
7064 * libc/stdio/fputc.c: Likewise.
7065 * libc/stdio/fputs.c: Likewise.
7066 * libc/stdio/fread.c: Likewise.
7067 * libc/stdio/freopen.c: Likewise.
7068 * libc/stdio/fseek.c: Likewise.
7069 * libc/stdio/ftell.c: Likewise.
7070 * libc/stdio/fwrite.c: Likewise.
7071 * libc/stdio/getc.c: Likewise.
7072 * libc/stdio/putc.c: Likewise.
7073 * libc/stdio/setvbuf.c: Likewise.
7074 * libc/stdio/ungetc.c: Likewise.
7075 * libc/stdio/vfprintf.c: Likewise.
7076
a03790e4
JJ
70772002-05-06 Jeff Johnston <jjohnstn@redhat.com>
7078
60b2107c
TF
7079 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
7080 support for 'p' format. Fix code to print bytes for vector
7081 integer formats that do not specify 'h' or 'l'.
7082 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
7083 for 'p' specifier. Fix code to scan 16 bytes for vector integer
7084 formats that do not specify 'h' or 'l'.
7085
7086 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
7087
9c7d6a9d
TF
70882002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
7089
7090 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
7091 (_sbrk): Add cast of return value.
7092
c33c3635
JJ
70932002-05-06 Jeff Johnston <jjohnstn@redhat.com>
7094
7095 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
7096 (_REENT_L64A_BUF): New macro for accessing area.
7097 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
7098 * libc/stdlib/Makefile.in: Regenerated.
7099 * libc/stdlib/a64l.c: New file.
7100 * libc/stdlib/l64a.c: New file.
7101
f78e59a8
JJ
71022002-05-06 Jeff Johnston <jjohnstn@redhat.com>
7103
7104 * libc/unix/pread.c: Fix typo for _pread_r.
7105 * libc/unix/pwrite.c: Fix type for _pwrite_r.
7106 * libc/sys/linux/pread64.c: Fix typo for read syscall.
7107 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
7108
4b3f6588
CF
71092002-05-03 Christopher Faylor <cgf@redhat.com>
7110
7111 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
7112
e911832c
TF
71132002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
7114
7115 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
7116
0d0fdc8d
CF
71172002-05-01 Christopher Faylor <cgf@redhat.com>
7118
7119 * utmp.h: Define more UNIX constants.
7120
1e997c56
TF
71212002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
7122
0717f01c
TF
7123 * Makefile.am: Add support for checking multilibs.
7124
09841445
TF
7125 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
7126 (SUBDEFS): Add LIBC_EXTRA_DEF.
7127 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
7128 (LIBC_EXTRA_DEF): Likewise.
7129 (extra_dir): Likewise.
7130 * libc/machine/xscale/machine: New directory.
7131 * libc/machine/xscale/machine/profile.h: New file.
7132
1e997c56
TF
7133 * Makefile.am (site.exp): Remove newlib_cflags. Add
7134 multibuildtop.
7135 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
7136 * testsuite/lib/flags.exp: New file.
7137 * testsuite/lib/newlib.exp: Load flags.exp.
7138 (newlib_target_compile): Remove libgloss directory references.
7139 (newlib_init): Remove newlib_cflags references.
7140
4cf4f010
TF
71412002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
7142
f6bdb6f9
TF
7143 * testsuite/lib/newlib.exp (newlib_target_compile): Change
7144 method of finding libgloss_target_dir.
7145
4cf4f010
TF
7146 * Makefile.am (site.exp): Change host_alias, host_triplet,
7147 target_alias, target_triplet to refer to gcc's host and target
7148 variables (newlib's build and host variables).
7149 * testsuite/lib/newlib.exp (newlib_init): Change build
7150 references to host references, host references to target
7151 references to reflect Makefile.am changes.
7152 (newlib_target_compile): Likewise.
7153 (newlib_finish): Likewise.
7154
83096ae8
JJ
71552002-04-29 Jeff Johnston <jjohnstn@redhat.com>
7156
7157 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
7158
822afa53
JL
71592002-04-29 Jonathan Larmour <jlarmour@redhat.com>
7160
7161 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
7162 (_system): New function. Ditto.
7163 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
7164 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
7165 targets.
7166
29798f0d
JJ
71672002-04-29 Jeff Johnston <jjohnstn@redhat.com>
7168
7169 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
7170 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
7171 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
7172 * libc/sys/linux/Makefile.in: Regenerated.
7173 * libc/unix/Makefile.in: Ditto.
7174 * libc/sys/linux/pread64.c: New file.
7175 * libc/sys/linux/pwrite64.c: Ditto.
7176 * libc/unix/pread.c: Ditto.
7177 * libc/unix/pwrite.c: Ditto.
7178
557856bd
JJ
71792002-04-26 Jeff Johnston <jjohnstn@redhat.com>
7180
7181 * libc/sys/linux/Makefile.am: Add io64.c.
7182 * libc/sys/linux/Makefile.in: Regenerated.
7183 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
7184 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
7185 * libc/sys/linux/io64.c: New file.
7186
7b2b12d5
JJ
71872002-04-26 Jeff Johnston <jjohnstn@redhat.com>
7188
7189 * configure.in (CC_FOR_NEWLIB): New variable that
7190 bases on $(CC) and adds targ-include and libc/include as
7191 -isystem directives if they are not already part of $(CC).
7192 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
7193 $(CC_FOR_NEWLIB).
7194 * configure: Regenerated.
7195 * Makefile.in: Ditto.
7196
c62adacc
JJ
71972002-04-25 Jeff Johnston <jjohnstn@redhat.com>
7198
7199 * libc/sys/linux/Makefile.am: Add support for sched.c.
7200 * libc/sys/linux/Makefile.in: Regenerated.
7201 * libc/sys/linux/sched.c: New file.
7202 * libc/sys/linux/sys/types.h: Add struct timespec.
7203
217ad4a0
TF
72042002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
7205
7206 * configure.in (CC_FOR_BUILD): Set to gcc whether
7207 cross-compiling or not.
7208 (CC): Add -isystem's for targ-include and libc/include when they
7209 do not already appear in CC.
7210
eaa75b70
TF
72112002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
7212
7213 * Makefile.am (check-DEJAGNU): New target.
7214 (site.exp): Likewise.
7215 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
7216 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
7217 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
7218 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
7219 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
7220 * testsuite: New directory.
7221 * testsuite/config: Likewise.
7222 * testsuite/lib: Likewise.
7223 * testsuite/newlib.locale: Likewise.
7224 * testsuite/newlib.string: Likewise.
7225 * testsuite/config/default.exp: New file.
7226 * testsuite/lib/checkoutput.exp: New file.
7227 * testsuite/lib/newlib.exp: New file.
7228 * testsuite/lib/passfail.exp: New file.
7229 * testsuite/newlib.locale/UTF-8.c: New file.
7230 * testsuite/newlib.locale/UTF-8.exp: New file.
7231 * testsuite/newlib.locale/locale.exp: New file.
7232 * testsuite/newlib.string/string.exp: New file.
7233 * testsuite/newlib.string/tstring.c: New file.
7234
b9f9f699
JJ
72352002-04-23 Jeff Johnston <jjohnstn@redhat.com>
7236
7237 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
7238 * libc/sys/linux/Makefile.am: Add support for mmap.c.
7239 * libc/sys/linux/Makefile.in: Regenerated.
7240 * libc/sys/linux/mmap.c: New file.
7241 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
7242 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
7243
7394edbb
TF
72442002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7245
7246 * acinclude.m4 (newlib_cflags): Remove include directories that
7247 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
7248
b9f9f699 72492002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
59be2290
JJ
7250
7251 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
7252 * libc/machine/xscale/memcmp.c: Ditto.
7253 * libc/machine/xscale/memcpy.c: Ditto.
7254 * libc/machine/xscale/memmove.c: Ditto.
7255 * libc/machine/xscale/memset.c: Ditto.
7256 * libc/machine/xscale/strchr.c: Ditto.
7257 * libc/machine/xscale/strcmp.c: Ditto.
7258 * libc/machine/xscale/strcpy.c: Ditto.
7259 * libc/machine/xscale/strlen.c: Ditto.
7260
2dd4c4dc
JJ
72612002-04-19 Alexandre Oliva <aoliva@redhat.com>
7262
7263 * libc/include/sys/config.h: Remove include of <limits.h>.
7264 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
7265 define INT_MAX and LONG_MAX. Use them in tests.
7266
0d844014
JJ
72672002-04-19 Jeff Johnston <jjohnstn@redhat.com>
7268
7269 * configure.host: Add support for powerpc-eabialtivec*.
7270 * libc/include/malloc.h: Add include of <machine/malloc.h>.
7271 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
7272 * libc/include/machine/malloc.h: New file.
7273 * libc/include/machine/stdlib.h: Ditto.
7274 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
7275 * libc/machine/powerpc/Makefile.am: Add conditional objects and
7276 sources based on configuration.
7277 * libc/machine/powerpc/Makefile.in: Regenerated.
7278 * libc/machine/powerpc/configure: Ditto.
7279 * libc/machine/powerpc/configure.in: Add check for
7280 powerpc-eabialtivec* in which case add in additional source files.
7281 * libc/machine/powerpc/setjmp.S: Add altivec support.
7282 * libc/machine/powerpc/vec_calloc.c: New file.
7283 * libc/machine/powerpc/vec_free.c: Ditto.
7284 * libc/machine/powerpc/vec_malloc.c: Ditto.
7285 * libc/machine/powerpc/vec_mallocr.c: Ditto.
7286 * libc/machine/powerpc/vec_realloc.c: Ditto.
7287 * libc/machine/powerpc/machine/malloc.h: Ditto.
7288 * libc/machine/powerpc/machine/stdlib.h: Ditto.
7289 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
7290 with added altivec format specifiers.
7291 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
7292 added altivec format specifiers.
7293
d413aadc
JS
72942002-04-19 Joel Sherrill <joel@OARcorp.com>
7295
7296 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
7297 while autoconf is trying to link main(){}.
7298
27193895
JJ
72992002-04-17 Jeff Johnston <jjohnstn@redhat.com>
7300
7301 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
7302 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
7303
10d00216
JJ
73042002-04-17 Jeff Johnston <jjohnstn@redhat.com>
7305
6b0f808e
JJ
7306 * libc/time/time.tex: Add tzset info.
7307
73082002-04-17 Jeff Johnston <jjohnstn@redhat.com>
7309
7310 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
7311 (strptime): Moved prototype to be within !__STRICT_ANSI__.
7312 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
7313 (tzname): Defined for all platforms.
7314 (daylight, timezone): Defined only for CYGWIN.
7315 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
7316 environment set up.
7317 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
7318 environment variable is set.
7319 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
7320 tzset_r.c.
7321 * libc/time/Makefile.in: Regenerated.
7322 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
7323 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
7324 * libc/time/lcltime_r.c (lcltime_r): Ditto.
7325 * libc/time/local.h: New local header file.
7326 * libc/time/mktime.c (mktime): Add timezone support.
7327 * libc/time/mktm_r.c: New file which is the common engine
7328 for gmtime_r and lcltime_r. This code has timezone support.
7329 * libc/time/strftime.c (strftime): Add %Z timezone support.
7330 * libc/time/tzlock.c: New file containing timezone lock stubs.
7331 * libc/time/tzset.c: New file containing tzset() routine.
7332 * libc/time/tzset_r.c: New file containing _tzset_r and
7333 internal routine for calculating timezone changes for specified year.
7334
73352002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
7336
7337 * configure.in (CRT0_DIR): Set to libc/.
7338 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
7339 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
7340 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
7341 $(CRT1_DIR)/$(CRT1).
7342 * libc/machine/xstormy16/Makefile.in: Regenerated.
7343 * libc/machine/xstormy16/aclocal.m4: Regenerated.
7344 * libc/machine/xstormy16/configure: Regenerated.
7345
73462002-04-13 Alexandre Oliva <aoliva@redhat.com>
7347
7348 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
7349 fails, don't bail out, and try to correct next time.
7350
7351 * libc/include/sys/config.h: Include limits.h.
7352
73532002-04-12 Eric Norum <eric.norum@usask.com>
7354
7355 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
7356 routine to allow autoconf to determine that building executables
7357 for rtems works.
7358 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
7359 (rtems_gxx_mutex_once): Ditto.
7360
73612002-04-09 Tom Rix <trix@redhat.com>
7362
7363 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
7364
73652002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
7366
7367 * libc/include/time.h: Fix strptime declaration.
7368 * libc/time/Makefile.am: Add strptime.c.
7369 * libc/time/Makefile.in: Regenerated.
7370 * libc/time/strptime.c: New file.
7371
73722002-04-08 Jeff Johnston <jjohnstn@redhat.com>
7373
7374 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
7375 siglongjmp prototype, and sigsetjmp macro definition.
7376 * libc/sys/linux/siglongjmp.c: New file.
7377 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
7378 * libc/sys/linux/Makefile.in: Regenerated.
7379
73802002-04-04 Jeff Johnston <jjohnstn@redhat.com>
7381
7382 * Makefile.am: Add support for installing crt1.o if one exists.
7383 * configure.host: Specify crt1.o for linux.
7384 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
7385 * Makefile.in: Regenerated.
7386 * configure: Ditto.
7387 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
7388 Added for non-Cygwin, non-RTEMS configurations.
7389 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
7390 * libc/sys/linux/Makefile.in: Regenerated.
7391 * libc/sys/linux/crt1.c: New empty file to override one defaulted
7392 by gcc. This fixes problem with reconfiguring linux newlib build.
7393 * libc/sys/linux/sysconf.c: New file.
7394
73952002-04-03 Jeff Johnston <jjohnstn@redhat.com>
7396
7397 * configure.host: Add support for machine subdirectory of
7398 sys subdirectory.
7399 * configure.in: Add check for sys machine subdirectory.
7400 * Makefile.am: Ditto.
7401 * configure: Regenerated.
7402 * Makefile.in: Ditto.
7403 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
7404 * libc/sys/linux/sys/syscall.h: Ditto.
7405 * libc/sys/linux/sleep.c: New file.
7406 * libc/sys/linux/socket.c: Ditto.
7407 * libc/sys/linux/sockops.h: Ditto.
7408 * libc/sys/linux/stack.c: Ditto.
7409 * libc/sys/linux/usleep.c: Ditto.
7410 * libc/sys/linux/machine/Makefile.am: Ditto.
7411 * libc/sys/linux/machine/Makefile.in: Ditto.
7412 * libc/sys/linux/machine/aclocal.m4: Ditto.
7413 * libc/sys/linux/machine/configure: Ditto.
7414 * libc/sys/linux/machine/configure.in: Ditto.
7415 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
7416 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
7417 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
7418 * libc/sys/linux/machine/i386/configure: Ditto.
7419 * libc/sys/linux/machine/i386/configure.in: Ditto.
7420 * libc/sys/linux/machine/i386/crt0.c: Ditto.
7421 * libc/sys/linux/machine/i386/sigset.c: Ditto.
7422 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
7423 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
7424 * libc/sys/linux/machine/i386/syscall.h: Ditto.
7425 * libc/sys/linux/sys/select.h: Ditto.
7426 * libc/sys/linux/configure.in: Add support for machine directory.
7427 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
7428 * libc/sys/linux/Makefile.in: Regenerated.
7429 * libc/sys/linux/configure: Ditto.
7430 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
7431 * libc/sys/linux/inode.c: Ditto.
7432 * libc/sys/linux/linux.c: Ditto.
7433 * libc/sys/linux/process.c: Ditto.
7434 * libc/sys/linux/systat.c: Ditto.
7435 * libc/sys/linux/time.c: Ditto.
7436 * libc/sys/linux/wait.c: Ditto.
7437 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
7438 * libc/sys/linux/io.c: Change header plus add readv/writev.
7439 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
7440 use __sigsuspend syscall.
7441 * libc/sys/linux/select.c: Change header plus change select to
7442 use _newselect syscall.
7443 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
7444 used by glibc header files.
7445 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
7446 types.
7447
74482002-04-01 Jeff Johnston <jjohnstn@redhat.com>
7449
7450 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
7451 initializing a struct _reent that has been dynamically allocated.
7452 (_REENT_CHECK_MISC): New macro that checks _misc struct for
7453 _REENT_SMALL and does nothing otherwise.
7454 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
7455 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
7456 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
7457 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
7458 [_REENT_SMALL](struct _misc_reent): New structure containing
7459 miscellaneous reentrant areas needed by newlib.
7460 [_REENT_SMALL](struct _reent): Add _misc pointer.
7461 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
7462 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
7463 and _REENT_STRTOK_LAST macros.
7464 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
7465 and _REENT_MBLEN_STATE macros.
7466 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
7467 and _REENT_MBTOWC_STATE macros.
7468 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
7469 and _REENT_WCTOMB_STATE macros.
7470
74712002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
7472
7473 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
7474
7475Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
7476
7477 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
7478
7479Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
7480
7481 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
7482 Store high part of leading bytes too.
7483
74842002-03-22 Richard Sandiford <rsandifo@redhat.com>
7485
7486 * libm/math/ef_hypot.c: Increase scale factor to 68.
7487
74882002-03-13 Alexandre Oliva <aoliva@redhat.com>
7489
7490 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
7491 error.
7492
74932002-03-12 Jeff Johnston <jjohnstn@redhat.com>
7494
7495 * libc/sys/go32/access.c: Change license to relaxed license
7496 used in identical file throughout newlib/libgloss.
7497
74982002-03-12 Richard Earnshaw <rearnsha@arm.com>
7499
7500 * libc/sys/arm/access.c: New file.
7501 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
7502 * libc/sys/arm/Makefile.in: Regenerate.
7503 * libc/sys/arm/syscalls.c (_stat): New function.
7504
75052002-03-11 Michael Meissner <meissner@redhat.com>
7506
7507 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
7508 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
7509 * libc/machine/mips/Makefile.in: Regenerate.
7510 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
7511 * libc/machine/mips/memset.c: Dito.
7512 * libc/machine/mips/strcmp.c: Dito.
7513 * libc/machine/mips/strlen.c: Dito.
7514 * libc/machine/mips/strncmp.c: Dito.
7515
75162002-03-06 Jeff Johnston <jjohnstn@redhat.com>
7517
7518 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
7519 object so it works for shared library or statici library.
75202002-04-17 Jeff Johnston <jjohnstn@redhat.com>
7521
10d00216
JJ
7522 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
7523 (strptime): Moved prototype to be within !__STRICT_ANSI__.
7524 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
7525 (tzname): Defined for all platforms.
7526 (daylight, timezone): Defined only for CYGWIN.
7527 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
7528 environment set up.
7529 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
7530 environment variable is set.
7531 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
7532 tzset_r.c.
7533 * libc/time/Makefile.in: Regenerated.
7534 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
7535 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
7536 * libc/time/lcltime_r.c (lcltime_r): Ditto.
7537 * libc/time/local.h: New local header file.
7538 * libc/time/mktime.c (mktime): Add timezone support.
7539 * libc/time/mktm_r.c: New file which is the common engine
7540 for gmtime_r and lcltime_r. This code has timezone support.
7541 * libc/time/strftime.c (strftime): Add %Z timezone support.
7542 * libc/time/tzlock.c: New file containing timezone lock stubs.
7543 * libc/time/tzset.c: New file containing tzset() routine.
7544 * libc/time/tzset_r.c: New file containing _tzset_r and
7545 internal routine for calculating timezone changes for specified year.
7546
5f1c13c6
TF
75472002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
7548
7549 * configure.in (CRT0_DIR): Set to libc/.
7550 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
7551 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
7552 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
7553 $(CRT1_DIR)/$(CRT1).
7554 * libc/machine/xstormy16/Makefile.in: Regenerated.
7555 * libc/machine/xstormy16/aclocal.m4: Regenerated.
7556 * libc/machine/xstormy16/configure: Regenerated.
7557
0cc261b1
AO
75582002-04-13 Alexandre Oliva <aoliva@redhat.com>
7559
2f3009bd
AO
7560 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
7561 fails, don't bail out, and try to correct next time.
7562
0cc261b1
AO
7563 * libc/include/sys/config.h: Include limits.h.
7564
26116455
JJ
75652002-04-12 Eric Norum <eric.norum@usask.com>
7566
7567 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
7568 routine to allow autoconf to determine that building executables
7569 for rtems works.
7570 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
7571 (rtems_gxx_mutex_once): Ditto.
7572
4608280d
TR
75732002-04-09 Tom Rix <trix@redhat.com>
7574
7575 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
7576
dea7e25c
JJ
75772002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
7578
7579 * libc/include/time.h: Fix strptime declaration.
7580 * libc/time/Makefile.am: Add strptime.c.
7581 * libc/time/Makefile.in: Regenerated.
7582 * libc/time/strptime.c: New file.
7583
c5ef1e95
JJ
75842002-04-08 Jeff Johnston <jjohnstn@redhat.com>
7585
7586 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
7587 siglongjmp prototype, and sigsetjmp macro definition.
7588 * libc/sys/linux/siglongjmp.c: New file.
7589 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
7590 * libc/sys/linux/Makefile.in: Regenerated.
7591
6e6cd5bd
JJ
75922002-04-04 Jeff Johnston <jjohnstn@redhat.com>
7593
7594 * Makefile.am: Add support for installing crt1.o if one exists.
7595 * configure.host: Specify crt1.o for linux.
7596 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
7597 * Makefile.in: Regenerated.
7598 * configure: Ditto.
7599 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
7600 Added for non-Cygwin, non-RTEMS configurations.
7601 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
7602 * libc/sys/linux/Makefile.in: Regenerated.
7603 * libc/sys/linux/crt1.c: New empty file to override one defaulted
7604 by gcc. This fixes problem with reconfiguring linux newlib build.
7605 * libc/sys/linux/sysconf.c: New file.
7606
fa4a16a1
JJ
76072002-04-03 Jeff Johnston <jjohnstn@redhat.com>
7608
7609 * configure.host: Add support for machine subdirectory of
7610 sys subdirectory.
7611 * configure.in: Add check for sys machine subdirectory.
7612 * Makefile.am: Ditto.
7613 * configure: Regenerated.
7614 * Makefile.in: Ditto.
7615 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
7616 * libc/sys/linux/sys/syscall.h: Ditto.
7617 * libc/sys/linux/sleep.c: New file.
7618 * libc/sys/linux/socket.c: Ditto.
7619 * libc/sys/linux/sockops.h: Ditto.
7620 * libc/sys/linux/stack.c: Ditto.
7621 * libc/sys/linux/usleep.c: Ditto.
7622 * libc/sys/linux/machine/Makefile.am: Ditto.
7623 * libc/sys/linux/machine/Makefile.in: Ditto.
7624 * libc/sys/linux/machine/aclocal.m4: Ditto.
7625 * libc/sys/linux/machine/configure: Ditto.
7626 * libc/sys/linux/machine/configure.in: Ditto.
7627 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
7628 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
7629 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
7630 * libc/sys/linux/machine/i386/configure: Ditto.
7631 * libc/sys/linux/machine/i386/configure.in: Ditto.
7632 * libc/sys/linux/machine/i386/crt0.c: Ditto.
7633 * libc/sys/linux/machine/i386/sigset.c: Ditto.
7634 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
7635 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
7636 * libc/sys/linux/machine/i386/syscall.h: Ditto.
7637 * libc/sys/linux/sys/select.h: Ditto.
7638 * libc/sys/linux/configure.in: Add support for machine directory.
7639 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
7640 * libc/sys/linux/Makefile.in: Regenerated.
7641 * libc/sys/linux/configure: Ditto.
7642 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
7643 * libc/sys/linux/inode.c: Ditto.
7644 * libc/sys/linux/linux.c: Ditto.
7645 * libc/sys/linux/process.c: Ditto.
7646 * libc/sys/linux/systat.c: Ditto.
7647 * libc/sys/linux/time.c: Ditto.
7648 * libc/sys/linux/wait.c: Ditto.
7649 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
7650 * libc/sys/linux/io.c: Change header plus add readv/writev.
7651 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
7652 use __sigsuspend syscall.
7653 * libc/sys/linux/select.c: Change header plus change select to
7654 use _newselect syscall.
7655 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
7656 used by glibc header files.
7657 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
7658 types.
7659
d4dca0e4
JJ
76602002-04-01 Jeff Johnston <jjohnstn@redhat.com>
7661
7662 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
7663 initializing a struct _reent that has been dynamically allocated.
7664 (_REENT_CHECK_MISC): New macro that checks _misc struct for
7665 _REENT_SMALL and does nothing otherwise.
7666 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
7667 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
7668 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
7669 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
7670 [_REENT_SMALL](struct _misc_reent): New structure containing
7671 miscellaneous reentrant areas needed by newlib.
7672 [_REENT_SMALL](struct _reent): Add _misc pointer.
7673 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
7674 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
7675 and _REENT_STRTOK_LAST macros.
7676 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
7677 and _REENT_MBLEN_STATE macros.
7678 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
7679 and _REENT_MBTOWC_STATE macros.
7680 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
7681 and _REENT_WCTOMB_STATE macros.
7682
54a7c6d2
JJ
76832002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
7684
7685 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
7686
c82479b1
CF
7687Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
7688
7689 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
7690
43ecf6e8
JR
7691Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
7692
7693 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
7694 Store high part of leading bytes too.
7695
a485d93f
RS
76962002-03-22 Richard Sandiford <rsandifo@redhat.com>
7697
7698 * libm/math/ef_hypot.c: Increase scale factor to 68.
7699
62a963ee
AO
77002002-03-13 Alexandre Oliva <aoliva@redhat.com>
7701
7702 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
7703 error.
7704
c53d8453
JJ
77052002-03-12 Jeff Johnston <jjohnstn@redhat.com>
7706
7707 * libc/sys/go32/access.c: Change license to relaxed license
7708 used in identical file throughout newlib/libgloss.
7709
d2a246ad
JJ
77102002-03-12 Richard Earnshaw <rearnsha@arm.com>
7711
7712 * libc/sys/arm/access.c: New file.
7713 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
7714 * libc/sys/arm/Makefile.in: Regenerate.
7715 * libc/sys/arm/syscalls.c (_stat): New function.
7716
eabb48d5
MM
77172002-03-11 Michael Meissner <meissner@redhat.com>
7718
7719 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
7720 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
7721 * libc/machine/mips/Makefile.in: Regenerate.
7722 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
7723 * libc/machine/mips/memset.c: Dito.
7724 * libc/machine/mips/strcmp.c: Dito.
7725 * libc/machine/mips/strlen.c: Dito.
7726 * libc/machine/mips/strncmp.c: Dito.
7727
2a606041
JJ
77282002-03-06 Jeff Johnston <jjohnstn@redhat.com>
7729
eabb48d5
MM
7730 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
7731 object so it works for shared library or statici library.
7732 * libc/machine/i386/Makefile.in: Regenerated.
2a606041 7733
55f26f11
JR
7734Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
7735
96bff22c
JR
7736 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
7737 Add memcpy.S, memset.S and strcpy.S.
7738 * libc/machine/sh/Makefile.in: Regenerate.
7739 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
55f26f11 7740 (SHHI, SHLO): Define.
96bff22c
JR
7741 * libc/machine/sh/memset.S: Add code for SH5.
7742 * libc/machine/sh/memset.S: Likewise.
7743 * libc/machine/sh/strcpy.S: Likewise.
55f26f11 7744
afecf2fa
JJ
77452002-02-27 Jeff Johnston <jjohnstn@redhat.com>
7746
7747 * configure.host: Add check for --disable-newlib-io-float
7748 configuration option and add -DNO_FLOATING_POINT to newlib cflags
7749 if appropriate.
7750 * acinclude.m4: Added --disable-newlib-io-float option.
7751 * aclocal.m4: Regenerated.
7752 * configure: Ditto.
7753 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
7754 * libc/*/aclocal.m4 libc/*/configure
7755 * libm/*/aclocal.m4 libm/*/configure: Ditto.
7756 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
7757 if NO_FLOATING_POINT flag is not defined.
7758
c1010a63
JJ
77592002-02-25 Jeff Johnston <jjohnstn@redhat.com>
7760
7761 * libc/include/sys/config.h: Add __extension__ in front of
7762 long long references.
7763
630c657e
CV
77642002-02-23 Corinna Vinschen <corinna@vinschen.de>
7765
7766 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
7767 (_stat): Ditto.
7768
59ee2e20
CV
77692002-02-23 Corinna Vinschen <corinna@vinschen.de>
7770
7771 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
7772 of off_t.
7773
2dd68dc2
NC
77742002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
7775
7776 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
7777 clobbered registers.
7778
55500bf1
TF
77792002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
7780
7781 * configure.host (newlib_cflags): When host is in m68* add
7782 -DCOMPACT_CTYPE.
7783
ba0173f0
JJ
77842002-02-15 Jeff Johnston <jjohnstn@redhat.com>
7785
7786 * libc/include/sys/config.h: Add definitions for
7787 __int16_t, __uint16_t, __int64_t, and __uint64_t.
7788
7b61d0c5
JJ
77892002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
7790
7791 * libc/sys/mmixware/link.c: New.
7792 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
7793 volatile.
7794 * libc/sys/mmixware/times.c (_times): Renamed from times.
7795 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
7796 properly by reading previous contents, not through BinaryReadWrite.
7797 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
7798 * libc/sys/mmixware/Makefile.in: Regenerate.
7799
a505db65
CV
78002002-02-10 Corinna Vinschen <corinna@vinschen.de>
7801
7802 * libc/include/grp.h: Don't declare group functions when compiling
7803 Cygwin.
7804
f3b39c45
CV
78052002-02-09 Corinna Vinschen <corinna@vinschen.de>
7806
7807 * libc/include/grp.h: Include Cygwin specific header.
7808 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
7809 when compiling for Cygwin.
7810 * libc/include/sys/types.h: Don't define off_t, uid_t
7811 and gid_t when compiling for Cygwin.
7812
82b3ac56
MG
78132002-02-08 matthew green <mrg@redhat.com>
7814
7815 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
7816 _REENT_EMERGENCY_SIZE, not sizeof(char *).
7817
9f25eed9
AO
78182002-02-08 Alexandre Oliva <aoliva@redhat.com>
7819
7820 Contribute sh64-elf.
7821 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
7822 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
7823 support in printf.
7824 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
7825 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
7826 any labels.
7827 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
7828 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
7829 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
7830 * libc/machine/sh/configure.in: Rework conditionals.
7831 * libc/machine/sh/Makefile.am: Likewise.
7832 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
7833 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
7834 * configure.host: Match `sh*'.
7835 * libc/include/machine/setjmp.h: Define for SH5.
7836 * libc/machine/sh/configure.in: Detect SH5.
7837 * libc/machine/sh/configure: Rebuilt.
7838 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
7839 * libc/machine/sh/Makefile.in: Rebuilt.
7840 * libc/machine/sh/asm.h: Adjust for SH5.
7841 * libc/machine/sh/setjmp.S: Implement in SHmedia.
7842 * libc/sys/sh/crt0.S: Likewise.
7843 * libc/sys/sh/trap.S: Likewise.
7844
a2a405ae
JJ
78452002-02-07 Jeff Johnston <jjohnstn@redhat.com>
7846
7847 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
7848 (mach_add_obj): Conditionally set to setjmp.o or nothing.
7849 (LIB_SOURCES): Remove $(mach_add_src).
7850 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
7851 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
7852 * libc/machine/i386/Makefile.in: Regenerate.
7853
27478365
JJ
78542002-02-05 Manik Raina <manik@cisco.com>
7855
994fa212 7856 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
27478365
JJ
7857 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
7858 s, p, k, and outstr.
7859 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
7860
815a37f7
JJ
78612002-02-04 Jeff Johnston <jjohnstn@redhat.com>
7862
7863 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
7864 _REENT_CHECK_EMERGENCY macro.
7865
a4139c12
MG
78662002-02-03 matthew green <mrg@redhat.com>
7867
7868 * libc/reent/signgam.c (__signgam): Fix error in previous.
7869
8195aff7
MG
78702002-02-02 matthew green <mrg@redhat.com>
7871
7872 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
7873
7874 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
7875 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
7876 * libc/include/sys/reent.h (struct _reent): Completely new version
7877 for _REENT_SMALL.
7878 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
7879 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
7880 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
7881 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
7882 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
7883 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
7884 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
7885 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
7886 (_REENT_EMERGENCY): Likewise.
7887
7888 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
7889 the start of the real __sFILE, used for stdin, stdout and stderr until
7890 they are setup properly.
7891 (struct __sFILE): Move location of _data in _REENT_SMALL case.
7892 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
7893 allocated stdin, stdout and stderr.
7894 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
7895 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
7896 * libc/stdio/perror.c (_perror_r): Likewise.
7897 * libc/stdio/printf.c (printf, _printf_r): Likewise.
7898 * libc/stdio/putchar.c (_putchar_r): Likewise.
7899 * libc/stdio/puts.c (_puts_r): Likewise.
7900 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
7901 * libc/stdio/vprintf.c (vprintf): Likewise.
7902 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
7903
7904 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
7905
7906 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
7907 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
7908 for _REENT_SMALL.
7909 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
7910 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
7911
7912 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
7913 _REENT_SMALL.
7914 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
7915 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
7916 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
7917 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
7918 * libc/stdlib/rand48.c (__dorand48): Likewise.
7919 * libc/stdlib/seed48.c (_seed48_r): Likewise.
7920 * libc/stdlib/srand48.c (_srand48_r): Likewise.
7921 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
7922 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
7923 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
7924 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
7925 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
7926 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
7927 * libc/stdlib/rand.c (rand): Likewise.
7928
7929 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
7930 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
7931
7932 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
7933 _REENT_MP_FREELIST() and _REENT_MP_P5S.
7934 * libc/include/sys/reent.h (struct _mprec): New structure.
7935
7936 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
7937 _unused_strtok_last.
7938 * libc/string/strtok.c (strtok): Use a local static variable.
7939
7940 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
7941 (_REENT_EMERGENCY_SIZE): Likewise.
7942 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
7943 _REENT_ASCTIME_BUF().
7944 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
7945 _REENT_TM().
7946
7947 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
7948 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
7949 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
7950 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
7951 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
7952 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
7953
9c2e7642
GK
79542002-02-01 Geoffrey Keating <geoffk@redhat.com>
7955
7956 * configure.host (xstormy16): Don't use the generic malloc.
7957 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
7958 * libc/machine/xstormy16/Makefile.in: Regenerate.
7959 * libc/machine/xstormy16/mallocr.c: New file.
7960 * libc/machine/xstormy16/tiny-malloc.c: New file.
7961
4bb6112f
TF
79622002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
7963
7964 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
7965 when _CYGWIN_TYPES_H is not defined.
7966
8d345552
TF
79672002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
7968
7969 * libc/include/sys/signal.h: Revert 2002-01-23 change.
7970
bcc49082
TF
79712002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
7972
7973 * libc/include/sys/signal.h: Remove pthread_kill declaration
7974 when __CYGWIN__ is defined.
7975
13baedeb
CF
79762002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
7977
7978 * libc/include/time.h: Add prototype for strptime for Cygwin.
7979
b2db0ebc
NC
79802002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
7981
ebf139fb
NC
7982 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
7983 dst was not word aligned.
7984
b2db0ebc
NC
7985 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
7986 if too much memory is requested.
7987
798c015d
JJ
79882002-01-11 Jeff Johnston <jjohnstn@redhat.com>
7989
7990 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
7991 reads blanks from the input file to break if EOF reached
7992 rather than end processing.
7993
46ad2ef4
JJ
79942002-01-07 Jeff Johnston <jjohnstn@redhat.com>
7995
7996 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
7997
86b06396
JJ
79982002-01-07 Alan Matsuoka <alanm@redhat.com>
7999
8000 * libc/include/machine/ieeefp.h: Configure d10v doubles to
8001 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
8002 libc/include/sys/config.h: Ditto.
8003
423d5064
CV
80042001-12-28 Corinna Vinschen <corinna@vinschen.de>
8005
8006 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
8007
f6eff1c0
GK
80082001-12-22 Geoffrey Keating <geoffk@redhat.com>
8009 Catherine Moore <clm@redhat.com>
8010 Richard Henderson <rth@redhat.com>
8011 Corinna Vinschen <vinschen@redhat.com>
8012
8013 * configure.host: Add support for xstormy16.
8014 * libc/include/machine/ieeefp.h: Add support for xstormy16.
8015 * libc/include/machine/setjmp.h: Add support for xstormy16.
8016 * libc/include/sys/config.h: Add support for xstormy16.
8017 * libc/machine/xstormy16/Makefile.am: New file.
8018 * libc/machine/xstormy16/Makefile.in: New file.
8019 * libc/machine/xstormy16/aclocal.m4: New file.
8020 * libc/machine/xstormy16/configure: New file.
8021 * libc/machine/xstormy16/configure.in: New file.
8022 * libc/machine/xstormy16/setjmp.S: New file.
8023
1f93c55f
TF
80242001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
8025
8026 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
8027 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
8028
13b918be
CV
80292001-12-19 Corinna Vinschen <corinna@vinschen.de>
8030
8031 * libm/machine/Makefile.am: Change rules to create correct lib.a.
8032 * libm/machine/Makefile.in: Regenerated through automake.
8033
08e857b4
TF
80342001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8035
8036 * Makefile.am (DOCDIR): Force to empty string when doc
8037 directory is not present.
8038
60565ed6
TF
80392001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8040
8041 * libc/machine/i386/f_*: Move to libm/machine/i386.
8042
80432001-12-18 Joel Sherrill <joel@OARcorp.com>
8044
8045 * libm/machine/Makefile.am: Add dummy doc stub so
8046 "make info" works.
8047
80482001-12-17 Joel Sherrill <joel@OARcorp.com>
8049
8050 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
8051
fc504135
TF
80522001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
8053
8054 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
8055 $(COMPILE) rather than $(CC).
8056 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
8057 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
8058 $(LIB_COMPILE) change.
8059 (vfiprintf.$(oext)): Likewise.
8060
efeae9a3
CV
80612001-12-17 Corinna Vinschen <vinschen@redhat.de>
8062
8063 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
8064 conditionalized including of getopt stuff.
8065
cdf7120d
TF
80662001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8067
8068 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
8069 compile line.
f85be99c 8070 (vfiprintf.$(oext)): Likewise.
cdf7120d 8071
2e1a7175
TF
80722001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
8073
8074 * Makefile.shared: New file.
8075 * libc/sys/linux/shared.ld: New file.
8076 * libm/machine/*: New files.
8077 * libm/machine/i386/*: New files.
8078 * Makefile.am: Add libtool support. Change math and mathfp
8079 references to variables.
8080 * configure.host: Add variables for libtool support. Add
8081 libm_machine_dir variable.
8082 * configure.in: Add objectlist variables, for libtool
8083 support. Add CC_FOR_BUILD tests.
8084 * libc/Makefile.am: Add libtool support. Change crt0.o
8085 reference to be a variable reference.
8086 * libc/configure.in: Add libtool support. Change sublib
8087 names to be lib${subdir}.la when using libtool.
8088 * libc/ctype/Makefile.am: Add libtool support.
8089 * libc/errno/Makefile.am: Likewise.
8090 * libc/locale/Makefile.am: Likewise.
8091 * libc/machine/Makefile.am: Likewise.
8092 * libc/machine/configure.in: Likewise.
8093 * libc/machine/i386/Makefile.am: Likewise.
8094 * libc/machine/i386/configure.in: Likewise.
8095 * libc/misc/Makefile.am: Likewise.
8096 * libc/posix/Makefile.am: Likewise.
8097 * libc/reent/Makefile.am: Likewise.
8098 * libc/signal/Makefile.am: Likewise.
8099 * libc/stdio/Makefile.am: Likewise.
8100 * libc/stdlib/Makefile.am: Likewise.
8101 * libc/string/Makefile.am: Likewise.
8102 * libc/sys/Makefile.am: Likewise.
8103 * libc/sys/configure.in: Likewise.
8104 * libc/sys/linux/Makefile.am: Add libtool support. Change
8105 awk reference to a variable reference. Change signal.h
8106 reference to a variable reference.
8107 * libc/sys/linux/configure.in: Add libtool support.
8108 * libc/syscalls/Makefile.am: Likewise.
8109 * libc/time/Makefile.am: Likewise.
8110 * libc/unix/Makefile.am: Likewise.
8111 * libm/Makefile.am: Add libtool support. Change math and
8112 mathfp references to variables.
8113 * libm/configure.in: Add libtool support. Add
8114 LIBM_MACHINE_LIB variable.
8115 * libm/common/Makefile.am: Add libtool support.
8116 * libm/math/Makefile.am: Likewise.
8117 * libm/mathfp/Makefile.am: Likewise.
8118 Regenerate all Makefile.in, aclocal.m4, and configure.
8119
b92591a1
JJ
81202001-12-13 Anita Kulkarni <anitak@kpit.com>
8121
8122 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
8123
355b664e
CF
81242001-12-06 John Peacock <jpeacock@rowman.com>
8125
8126 * libc/include/sys/unistd.h: Correct ualarm declaration.
8127
e9853806
NC
81282001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
8129
8130 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
8131 vector before calling the initialisation functions.
8132
a8e091b0
CF
81332001-11-29 Christopher Faylor <cgf@redhat.com>
8134
8135 * libc/include/dirent.h: Protect against multiple inclusion.
8136
ab634123
CF
81372001-11-27 Christopher Faylor <cgf@redhat.com>
8138
8139 * libc/include/sys/types.h: Define useconds_t.
8140 * libc/include/sys/ulimit.h: Declare ualarm.
8141
d37e401e
CF
81422001-11-21 Christopher Faylor <cgf@redhat.com>
8143
8144 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
8145
8ac90051
HPN
81462001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
8147
8148 * libc/sys/mmixware/*: Tweak license header in all source files.
8149
d7ca37e4
CV
81502001-11-12 Corinna Vinschen <vinschen@redhat.com>
8151
8152 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
8153 to here. Rearrange for general inclusion by stdlib.h.
8154 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
8155 isn't defined.
8156 * libc/sys/linux/include/alloca.h: Move to libc/include.
8157
28f8744e
AG
81582001-11-12 Anthony Green <green@redhat.com>
8159
8160 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
8161
4cede8c4
HPN
81622001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
8163
8164 * libc/sys/mmixware/*: Correct spacing in all source files.
8165 * libc/sys/mmixware/syscall.h: Move misplaced file...
8166 * libc/sys/mmixware/sys/syscall.h: ...here.
8167
8be9b48b
JJ
81682001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
8169
8170 * libc/include/machine/ieeefp.h: Add support for mmix target.
8171 * libc/include/machine/setjmp.h: Ditto.
8172 * configure.host: Ditto.
8173 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
8174 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
8175 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
8176 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
8177 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
8178 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
8179 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
8180 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
8181 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
8182 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
8183 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
8184 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
8185 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
8186 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
8187 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
8188 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
8189 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
8190 libc/sys/mmixware/aclocal.m4: Generate.
8191
c7dd4f95
CV
81922001-11-05 Corinna Vinschen <corinna@vinschen.de>
8193
8194 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
8195 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
8196 when __CYGWIN__ is defined.
8197 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
8198 logwtmp().
8199
a6a6f9fe
JJ
82002001-11-01 Arati Dikey <aratidikey@hotmail.com>
8201
8202 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
8203 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
8204 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
8205 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
8206
d0504c35
JJ
82072001-10-24 Christopher Faylor <cgf@redhat.com>
8208
8209 * libc/stdio/fseek.c: Reset pointer to buffer base
8210 when forced to seek outside of current buffer contents.
8211 This prevents the code from erroneously thinking there is
8212 anything in the current buffer.
8213
0280c8c0
GK
82142001-10-22 Geoffrey Keating <geoffk@redhat.com>
8215
8216 * libc/include/math.h: The C++ standard adds the single-precision
8217 versions of the elementary functions.
8218
333d6098
CF
82192001-10-22 Christopher Faylor <cgf@redhat.com>
8220
8221 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
8222 throughout.
8223 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
8224 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
8225 * system.c (_system_r): Ditto.
8226
c7118319
CV
82272001-10-17 Corinna Vinschen <corinna@vinschen.de>
8228
8229 * libc/include/sys/unistd.h: Add prototype for fchdir() when
b4e98df6 8230 __CYGWIN__ or __rtems__ is defined.
c7118319 8231
5665b0e1
JJ
82322001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
8233
8234 * libc/include/stdlib.h: add declarations for
8235 _strtoull_r, _strtoll_r, strtoull, and strtoll.
8236 * libc/stdio/local.h: remove declarations of
8237 __strtoull_r and __strtoll_r.
8238 * libc/stdio/vfscanf.c(__svfscanf_r): call
8239 _strtoull_r instead of __strtoull_r. Ditto
8240 _strtoll_r vs. __strtoll_r.
8241 * libc/stdlib/Makefile.am: add new files to
8242 .c list and .def list
8243 * libc/stdlib/Makefile.in: regenerate
8244 * libc/stdlib/strtoll_r.c: rename __strtoll_r
8245 as _strtoll_r
8246 * libc/stdlib/strtoull_r.c: rename __strtoull_r
8247 as _strtoull_r
8248 * libc/stdlib/strtoull.c: new file
8249 * libc/stdlib/strtoll.c: new file
8250
d2d5eb41
CF
8251Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
8252
8253 * libc/include/process.h: Add getpid() declaration.
8254
448e3c14
NC
82552001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
8256
8257 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
8258 for new style arm/elf ctor/dtor handling.
8259 Minor formatting tidy up.
8260
7a2afbbb
JJ
82612001-09-13 Jeff Johnston <jjohnstn@redhat.com>
8262
8263 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
8264 and strtoull_r.c.
8265 * libc/stdlib/Makefile.in: Regenerated.
8266 * libc/stdlib/strtoll_r.c: New file.
8267 * libc/stdlib/strtoull_r.c: New file.
8268 * libc/stdio/local.h: Add prototypes for long long string
8269 conversion routines.
8270 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
8271 tied to %L integer conversion specifier.
8272
6342caa4
JJ
8273Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
8274
8275 * strftime.c (strftime): Fix "%W" implementation to properly handle
8276 Mondays too.
8277
b2d319cb
JJ
82782001-09-07 Jeff Law <law@redhat.com>
8279
8280 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
8281 __fini with "mov.l" instead of "mov.w".
8282
233823ba
CV
82832001-09-05 Corinna Vinschen <corinna@vinschen.de>
8284
8285 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
8286 and getopt.h.
8287
63c17b54
JJ
82882001-09-04 Jason Merrill <jason_merrill@redhat.com>
8289
8290 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
8291
a3e67ddf
CV
82922001-09-03 Corinna Vinschen <corinna@vinschen.de>
8293
8294 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
8295 field.
8296 (__DIRENT_VERSION): New define.
8297
6d47f33a
CV
82982001-09-03 Corinna Vinschen <corinna@vinschen.de>
8299
8300 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4f79e37e
CV
8301 Shrink __d_reserved accordingly to keep structure size.
8302 (dirfd): Declare external.
6d47f33a 8303
348c5e06
JJ
83042001-08-29 Joel Sherrill <joel@OARcorp.com>
8305
8306 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
8307
83082001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
8309
8310 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
8311 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
8312 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
8313 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
8314 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
8315 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
8316 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
8317 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
8318 Add conditional compilation to avoid HW FPU instructions
8319 when compiled for soft-float.
8320
f29865c5
JJ
83212001-08-29 Jeff Johnston <jjohnstn@redhat.com>
8322
8323 * Makefile.am: Add check for ln failing when creating libg.a
8324 so that cp gets used as a backup.
8325 * Makefile.in: Regenerated.
8326
9e2a4ef8
JJ
83272001-08-29 Jeff Johnston <jjohnstn@redhat.com>
8328
8329 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
8330 No longer include time.h. Add struct __tm to use for
8331 _localtime_buf in the reentrant structure. Add a
8332 _NULL definition to use in initializing the reentrant struct.
8333 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
8334 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
8335 <sys/_types.h>.
8336 * libc/include/sys/unistd.h: Include <sys/_types.h>.
8337 * libc/time/lcltime.c (localtime): Cast the reentrant struct
8338 _localtime_buf to be struct tm *.
8339
1ae900d6
JR
8340Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
8341
8342 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
8343 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
8344 __ctors_end.
8345 * libc/sys/h8300hms/syscalls.c: Include errno.h.
8346 (_unlink): New stub function.
8347
8e26d5b5
CF
8348Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
8349
8350 * libc/include/sys/errno.h: Add a cautionary comment.
8351
e8267664
JJ
83522001-08-21 Jeff Johnston <jjohnstn@redhat.com>
8353
8354 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
8355 for SIZE_SZ so that alignment ends up a minimum of 8.
8356
4acf3edf
CF
8357Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
8358
8359 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
8360 arguments.
8361
8362 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
8363 Cygwin.
8364
52c80be8
JJ
83652001-08-13 Jeff Johnston <jjohnstn@redhat.com>
8366
8367 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
8368 macro constants for mallopt options.
8369 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
8370
a7061f7f
JJ
83712001-08-02 Jeff Johnston <jjohnstn@redhat.com>
8372
8373 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
8374 otherwise default.
8375
0b4bfdd5
AH
83762001-07-12 Aldy Hernandez <aldyh@redhat.com>
8377
8378 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
8379
2b6b730c
NC
83802001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
8381
8382 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
8383 Define for little endian ARMs.
8384
8385 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
8386 __IEEE_BYTES_LITTLE_ENDIAN is defined.
8387
25842b68
JJ
83882001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
8389
8390 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
8391
371b76ef
JJ
83922001-06-11 Egor Duda <deo@logos-m.ru>
8393
8394 * libc/ctype/ctype_.c: When compiled with gcc on platforms
8395 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
8396 initialized memory region. Platform can define COMPACT_CTYPE
8397 to avoid allocation of the additional 128 bytes of data.
8398 Add pointer to _ctype_ array. Always initialize all _ctype_
8399 array elements.
8400
43b44bc5
JL
84012001-06-08 Jonathan Larmour <jlarmour@redhat.com>
8402
8403 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
8404 NULL pointer.
8405
188bc140
NC
84062001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
8407
8408 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
8409
2ce88418
NC
84102001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
8411
8412 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
8413 matching, non-word alignment, and the length is <= 4 but more than
8414 enough to move them over a word boundary.
8415 Add comments explaining what each instruction does.
8416
ca60ed47
CF
8417Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
8418
8419 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
c63e9997 8420 * libc/include/sys/unistd.h: Ditto.
ca60ed47 8421
8b3bcfba
JJ
84222001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
8423
8424 * libc/string/strrchr.c: Use strchr for the speed improvements.
8425
b09e3cf8
JJ
84262001-05-01 Jeff Johnston <jjohnstn@redhat.com>
8427
8428 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
8429 real file systems, let __smakebuf() determine if line buffering
8430 should be used for stdout.
8431
0ca66974
JJ
84322001-04-27 Jeff Johnston <jjohnstn@redhat.com>
8433
8434 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
8435
7cb7017a
JJ
84362001-04-27 Jeff Johnston <jjohnstn@redhat.com>
8437
8438 * libc/include/stdlib.h: Add prototype for _strtod_r.
8439
a874cd21
JJ
84402001-04-24 Charles Wilson <cwilson@ece.gatech.edu
8441
8442 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
8443 * libc/stdio/vprintf.c (_vprintf_r): new function
8444 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
8445 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
8446 _DEFUN, and call _vfprintf_r, not vfprintf.
8447 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
8448 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
8449 _DEFUN, and call _vfprintf_r, not vfprintf.
8450
cb4cc283
CF
84512001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
8452
8453 * libc/include/sys/unistd.h [X_OK]: Use better protection against
8454 Cygwin X_OK definitions in sys/file.h.
8455
8c9df1d5
CF
8456Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
8457
8458 * libc/include/sys/time.h: Define timercmp and other macros for
8459 __CYGWIN__, too.
8460
3ac6f3a7
JJ
84612001-04-20 Jeff Johnston <jjohnstn@redhat.com>
8462
8463 * acinclude.m4: Added --enable-malloc-debugging configure flag.
8464 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
8465 --enable-malloc-debugging selected.
8466 * aclocal.m4 configure: Regenerated.
8467 libm/aclocal.m4 libm/configure: Ditto.
8468 * libc/aclocal.m4 libc/configure: Ditto.
8469 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
8470 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
8471 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
8472 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
8473 * doc/aclocal.m4 doc/configure: Ditto.
8474
52cb9e69
JJ
84752001-04-20 Jeff Johnston <jjohnstn@redhat.com>
8476
8477 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
8478 into one list.
8479 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
8480 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
8481 function prototypes.
8482 (_fscanf_r, _sscanf_r): Ditto.
8483 * libc/include/stdlib.h: Added _strtod_r prototype.
8484 * libc/stdio/Makefile.am: Add new v*scanf functions.
8485 * libc/stdio/Makefile.in: Regenerate.
8486 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
8487 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
8488 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
8489 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
8490 (sscanf): Changed to call __svfscanf_r with _REENT argument.
8491 (_sscanf_r): New routine.
8492 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
8493 with __svfscanf_r prototype.
8494 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
8495 routines.
8496 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
8497 structure as argument as calls reentrant versions of helper functions
8498 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
8499 to _strtol_r and _strtod_r respectively.
8500 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
8501 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
8502 _REENT argument.
8503 * libc/stdio/vscanf.c: New file.
8504 * libc/stdio/vsscanf.c: Ditto.
8505
ee9f39fb
JJ
85062001-04-19 Robert Collins <rbtcollins@hotmail.com>
8507
8508 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
8509 Define daylight to _daylight if it is not defined
8510 Prepare a variable export of timezone based on timezonevariable.
8511 (Cannot be used with the timezone() function.)
8512
273861e3
JJ
85132001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
8514
8515 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
8516 Correct the numerical values.
8517
a25b8414
CF
85182001-04-13 Robert Collins <rbtcollins@hotmail.com>
8519
8520 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
8521
b8a8c59d
CV
8522Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
8523
8524 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
8525 on case insensitve file systems.
8526
74f8cc63
CF
85272001-04-12 Robert Collins <rbtcollins@hotmail.com>
8528
8529 * libc/include/sys/features.h: Add appropriate defines for Cygwin
8530 pthread support.
8531 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
8532 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
8533 types. Include <cygwin/types.h> for the cygwin specific typedefs.
8534
16740220
RS
85352001-04-04 Richard Sandiford <rsandifo@redhat.com>
8536
8537 * libc/include/machine/ieeefp.h: Comment about new configuration
8538 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
8539 * libm/common/fdlib.h: Define new macros for testing floats.
8540 * libm/common/sf_*: Use them.
8541 * libm/math/ef_*: Likewise.
8542 * libm/math/sf_*: Likewise.
8543
0694d8d3
JJ
85442001-03-29 Jeff Johnston <jjohnstn@redhat.com>
8545
8546 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
8547 prolog to by-pass possible assembler error.
8548
4833b38c
JJ
85492001-03-21 Egor Duda <deo@logos-m.ru>
8550
8551 Allow building internal stubs for non-reentrant syscalls
8552 if target provides its own malloc
8553 * libc/reent/reent.c (errno): Move definition here.
8554 * libc/reent/sbrkr.c: From here.
8555
d17d6d42
CF
85562001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
8557
8558 * libc/include/sys/types.h (BSD int typedefs): Guard with
8559 _BSDTYPES_DEFINED rather than _WINSOCK_H.
8560 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
8561 _SYS_TYPES_FD_SET.
8562 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
8563 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
8564
c7ee75cd
CV
8565Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
8566
8567 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
8568 _PC_POSIX_SECURITY constants for Cygwin.
8569
63dc5d80
CV
8570Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
8571
8572 * libc/sys/cygwin/crt0.c: Add copyright hint.
8573 * libc/sys/cygwin/sys/dirent.h: Ditto.
8574 * libc/sys/cygwin/sys/param.h: Ditto.
8575 * libc/sys/cygwin/sys/utime.h: Ditto.
8576 * libc/sys/cygwin/sys/utmp.h: Ditto.
8577
6f637037
AO
85782001-03-13 Alexandre Oliva <aoliva@redhat.com>
8579
8580 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
8581 equivalent to LONGINT.
8582
e69b6f73
JJ
85832001-03-08 Richard Sandiford <rsandifo@redhat.com>
8584
8585 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
8586 jmpbuf on MIPS64 targets.
8587 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
8588
6198dece
CF
8589Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
8590
e69b6f73
JJ
8591 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
8592 declarations.
6198dece 8593
cfc05d96
JJ
8594Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
8595
8596 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
8597 For RTEMS, define to be ssize_t. Default to int if not defined.
8598 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
8599 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
8600 * libc/stdio/local.h (__sread, __swrite): Likewise.
8601 * libc/include/sys/reent.h (_read, _write): Likewise.
8602 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
8603 * libc/syscalls/sysread.c (read): Likewise.
8604 * libc/syscalls/syswrite.c (write): Likewise.
8605
6249353a
JJ
86062001-03-05 Jeff Johnston <jjohnstn@redhat.com>
8607
8608 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
8609
658b5db9
CF
8610Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
8611
8612 * libc/include/sys/stat.h: Use special defines for executable stat bits
8613 when compiling for Cygwin.
8614 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
8615 for Cygwin.
8616
19ca46d5
JJ
86172001-03-02 Jeff Johnston <jjohnstn@redhat.com>
8618
8619 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
8620 of strtok_r is always defined.
8621
b73ed85e
JJ
86222001-03-02 Jeff Johnston <jjohnstn@redhat.com>
8623
8624 * libc/include/machine/ansi.h: New dummy header file.
8625
ee37ede1
JJ
86262001-02-22 Jeff Johnston <jjohnstn@redhat.com>
8627
8628 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
8629 changed the copyright information to allow free modification of the
8630 file with no reference to "copying.dj".
8631 * libc/include/sys/stat-dj.h: Ditto.
8632 * libc/machine/i386/setjmp.S: Ditto.
8633 * libc/sys/h8300hms/sys/file.h: Ditto.
8634 * libc/sys/sysmec/access.c: Ditto.
8635 * libc/sys/sysnecv850/access.c: Ditto.
8636 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
8637 * libc/stdlib/getenv_r.c: Ditto.
8638 * libc/stdlib/putenv_r.c: Ditto.
8639 * libc/stdlib/setenv_r.c: Ditto.
8640 * libc/stdlib/getenv.c: Removed DJ reference since any possible
8641 modifications will now be in the _r version of this file.
8642 * libc/stdlib/putenv.c: Ditto.
8643 * libc/stdlib/setenv.c: Ditto.
8644 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
8645 valid. Added a reference to DJ's web page that contains his address.
8646 * libc/sys/go32/*.s: Removed references to DJ's old address.
8647 * libc/sys/go32/*.c: Ditto.
8648 * libc/sys/go32/*.h: Ditto.
8649 * libc/sys/go32/*.S: Ditto.
8650 * libc/sys/go32/sys/*.h: Ditto.
8651
3a8fc0e4
JJ
86522001-02-21 Jeff Johnston <jjohnstn@redhat.com>
8653
8654 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
8655 HAVE_FCNTL flag check.
8656 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
8657 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
8658
b24ee749
CF
8659Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
8660
8661 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
8662
ab4745dc
JJ
86632001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
8664
8665 * libc/include/stdlib.h: Add declarations of rand48 functions and
8666 their reentrant versions.
8667 * libc/include/sys/reent.h: Move macros from rand48.h. Add
8668 struct _rand48 for shared parameters of rand48 functions.
8669 (struct _reent): Add a variable _r48 of struct _rand48.
8670 (_REENT_INIT): Add _r48 initialization.
8671 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
8672 (CHEWOUT_FILES): Add rand48.def.
8673 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
8674 * libc/stdlib/Makefile.in: Regenerated.
8675 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
8676 NetBSD C library.
8677 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
8678 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
8679 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
8680 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
8681 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
8682 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
8683 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
8684 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
8685 * libc/stdlib/rand48.c (__dorand48): Ditto.
8686 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
8687 parameters into macros referring them in the reentrant structure.
8688
a34c461f
JJ
86892001-02-12 Jeff Johnston <jjohnstn@redhat.com>
8690
8691 * libc/include/sys/stat.h: Add mknod for Cygwin now that
8692 Cygwin definition has correct prototype.
8693
34f31ff2
JJ
86942001-02-08 Jeff Johnston <jjohnstn@redhat.com>
8695
8696 * libc/include/sys/stat.h: Must revert change for mknod
8697 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
8698 prototype.
8699
5336d6de
JJ
87002001-02-08 Jeff Johnston <jjohnstn@redhat.com>
8701
8702 * libc/include/stdio.h: Revert putw prototype.
8703
8915d10a
JJ
87042001-02-08 Edward M. Lee <tailbert@yahoo.com>
8705
8706 * libc/include/grp.h: add prototype for initgroups.
8707 * libc/include/stdio.h: fix prototype for putw.
8708 * libc/include/sys/signal.h: add prototype for killpg.
8709 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
8710 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
8711 vhangup and remove duplicate sysconf prototype.
8712
93ac4487
JJ
87132001-02-07 Jeff Johnston <jjohnstn@redhat.com>
8714
8715 * libc/sys/rtems/sys/types.h: Removed.
8716
31f5feea
JJ
87172001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
8718
8719 * libc/include/locale.h: add LC_MESSAGES definition
8720
b5139f59
AO
87212001-02-01 Alexandre Oliva <aoliva@redhat.com>
8722
8723 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
8724 SYS_get_argN):
8725 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
8726 __setup_argv_and_call_main): New.
8727
e29d8355
JJ
87282001-01-31 Jeff Johnston <jjohnstn@redhat.com>
8729
8730 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
8731 if defined.
8732 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
8733 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
8734 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
8735 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
8736
82ea92f3
CF
8737Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
8738
8739 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
8740 compiling under Cygwin.
8741
3aaa66f8
JJ
87422001-01-29 Jeff Johnston <jjohnstn@redhat.com>
8743
8744 * libc/include/math.h (signgam): Change to errno-like solution
8745 using a function to return the address of the real signgam.
8746 * libc/reent/signgam.c: New file containing __signgam().
8747 * libc/reent/Makefile.am: Added signgam.c to list of files.
8748 * libc/reent/Makefile.in: Regenerated.
8749
610b895a
AO
87502001-01-25 Alexandre Oliva <aoliva@redhat.com>
8751
b0913397
AO
8752 * libc/sys/sh/syscalls.c (_times): New.
8753
610b895a
AO
8754 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
8755 * libc/sys/sh/syscalls.c (_gettimeofday): New.
8756
3643210e
JJ
87572001-01-23 Jeff Johnston <jjohnstn@redhat.com>
8758
8759 * libc/include/math.h (signgam): Regress previous fix as
8760 it does not handle programs with extern int signgam in them.
8761
841081c9
JJ
87622001-01-23 Jeff Johnston <jjohnstn@redhat.com>
8763
8764 * libc/include/math.h (signgam): Changed to a macro refering to
8765 its location in the reentrant structure.
8766
e9cd87b8
JJ
87672001-01-23 Jeff Johnston <jjohnstn@redhat.com>
8768
8769 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
8770 that suppressed . for %.0f, 0.1. Check now looks if there
8771 are padding zeroes (expt) in addition to any digits (ndig) to
8772 print.
8773
a302b48c
JJ
87742001-01-18 Jeff Johnston <jjohnstn@redhat.com>
8775
8776 * libc/sys/arc/Makefile.am: New file.
8777 * libc/sys/arc/Makefile.in: Ditto.
8778 * libc/sys/arc/aclocal.m4: Ditto.
8779 * libc/sys/arc/configure: Ditto.
8780 * libc/sys/arc/configure.in: Ditto.
8781 * libc/sys/arc/crt0.S: Ditto.
8782 * libc/sys/arc/isatty.c: Ditto.
8783 * libc/sys/arc/mem-layout.c: Ditto.
8784 * libc/sys/arc/sbrk.c: Ditto.
8785 * libc/sys/arc/syscalls.c: Ditto.
8786 * libc/sys/arc/sys/syscall.h: Ditto.
8787
d0319c3b
CF
8788Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
8789
8790 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
8791
e45ab890
CF
8792Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
8793
8794 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
8795
1376245a
DD
8796Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
8797
8798 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
8799
92b57543
NC
88002001-01-09 Nick Clifton <nickc@redhat.com>
8801
8802 * configure.host (v859): Remove unsupported compiler options.
8803
7d6d33d4
JJ
8804Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
8805
8806 * src/newlib/configure.host (*-*-rtems*): add printf long long
8807 support for RTEMS.
8808
602f8b5a 88092000-12-19 Graham Stott <grahams@redhat.com>
6286746a
NC
8810
8811 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
8812
9c2b8183
JJ
8813Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
8814
8815 * configure.host: Turn on long double I/O for Cygwin.
8816
804368d3
JJ
8817Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
8818
8819 * MAINTAINERS: Removed Ranjith.
8820 * NEWS: Updated for 1.9.0.
8821 * README: Updated.
8822 * acinclude.m4: Updated to release 1.9.0.
8823 * aclocal.m4 configure
8824 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
8825 libc/machine/aclocal.m4 libc/machine/configure
8826 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
8827 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
8828 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
8829 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
8830 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
8831 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
8832 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
8833 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
8834 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
8835 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
8836 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
8837 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
8838 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
8839 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
8840 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
8841 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
8842 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
8843 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
8844 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
8845 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
8846 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
8847 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
8848 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
8849 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
8850 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
8851 libc/sys/aclocal.m4 libc/sys/configure
8852 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
8853 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
8854 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
8855 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
8856 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
8857 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
8858 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
8859 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
8860 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
8861 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
8862 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
8863 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
8864 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
8865 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
8866 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
8867 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
8868 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
8869 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
8870 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
8871 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
8872 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
8873 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
8874 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
8875 libm/aclocal.m4 libm/configure: Regenerated.
8876
0985d43f
CV
8877Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
8878
8879 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
8880 when __CYGWIN__ is defined.
8881
b6182a09
JJ
88822000-12-13 Jeff Johnston <jjohnstn@redhat.com>
8883
8884 * libc/stdlib/ldtoa.c (_ldcheck): New routine
8885 that categorizes a long double as NaN, Infinity, or other.
8886 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
8887 isinfl and isnanl static routines which were i386-specific. Changed
8888 calls to the two removed routines to a single _ldcheck call.
8889 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
8890
adbbb034
JJ
88912000-12-13 Jeff Johnston <jjohnstn@redhat.com>
8892
8893 * Makefile.am: Fixed install-data-local target to use
8894 $(mkinstalldirs) for the installed header files to ensure
8895 the directories exist before copying.
8896 * Makefile.in: Regenerated.
8897
cbd19336
JJ
88982000-12-12 Jeff Johnston <jjohnstn@redhat.com>
8899
8900 * libc/include/sys/unistd.h: Restored Cygwin _SC
8901 constants and moved new constants appropriately
8902 so Cygwin will build.
8903
8fb37963
JJ
89042000-12-11 Joel Sherrill <joel@OARcorp.com>
8905
8906 * Merge RTEMS specific .h files into main libc/include.
8907 * libc/sys/rtems/include/signal.h: Removed.
8908 * libc/sys/rtems/include/time.h: Removed.
8909 * libc/sys/rtems/sys/features.h: Removed.
8910 * libc/sys/rtems/sys/sched.h: Removed.
8911 * libc/sys/rtems/sys/siginfo.h: Removed.
8912 * libc/sys/rtems/sys/signal.h: Removed.
8913 * libc/sys/rtems/sys/time.h: Removed.
8914 * libc/sys/rtems/sys/times.h: Removed.
8915 definitions for time_t and clock_t since these are
8916 no longer in time.h.
8917 * libc/include/pthread.h: New file.
8918 * libc/include/sys/sched.h: New file.
8919 * libc/include/sys/features.h: New file.
8920 * libc/include/time.h: Removed duplicate definition of clock_t
8921 and time_t, get them from <sys/types.h> instead. Add prototypes
8922 for POSIX clock and timer functionality.
8923 * libc/sys/linux/sys/types.h: Changed to include
8924 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
8925 * libc/include/sys/signal.h: Add more complete set of POSIX
8926 signal functionality including real-time and threaded signals.
8927 * libc/include/sys/types.h: Add clock_t, time_t, struct
8928 timespec, and struct itimerspec. Centralizing these makes
8929 things cleaner. RTEMS uses 64-bit dev_t.
8930 Added numerous primitive definitions
8931 for pthreads including macros, pthread_attr_t,
8932 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
8933 pthread_once_t, and pthread_t.
8934 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
8935 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
8936 Feature flags removed and moved to new file <sys/features.h>.
8937 Full set of POSIX sysconf() constants
8938
2efbc2a7
JJ
89392000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
8940
8941 * configure.host: Added x86 linux target.
8942 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
8943 definitions provided if not already defined.
8944 * libc/sys/linux/crt0.c: New file.
8945 * libc/sys/linux/Makefile.am: Ditto.
8946 * libc/sys/linux/Makefile.in: Ditto.
8947 * libc/sys/linux/aclocal.m4: Ditto.
8948 * libc/sys/linux/brk.c: Ditto.
8949 * libc/sys/linux/configure: Ditto.
8950 * libc/sys/linux/configure.in: Ditto.
8951 * libc/sys/linux/getoptlong.c: Ditto.
8952 * libc/sys/linux/ids.c: Ditto.
8953 * libc/sys/linux/inode.c: Ditto.
8954 * libc/sys/linux/io.c: Ditto.
8955 * libc/sys/linux/linux.c: Ditto.
8956 * libc/sys/linux/process.c: Ditto.
8957 * libc/sys/linux/realpath.c: Ditto.
8958 * libc/sys/linux/select.c: Ditto.
8959 * libc/sys/linux/signal.c: Ditto.
8960 * libc/sys/linux/systat.c: Ditto.
8961 * libc/sys/linux/termios.c: Ditto.
8962 * libc/sys/linux/time.c: Ditto.
8963 * libc/sys/linux/wait.c: Ditto.
8964 * libc/sys/linux/include/alloca.h: Ditto.
8965 * libc/sys/linux/include/getopt.h: Ditto.
8966 * libc/sys/linux/include/stdint.h: Ditto.
8967 * libc/sys/linux/include/unistd.h: Ditto.
8968 * libc/sys/linux/sys/cdefs.h: Ditto.
8969 * libc/sys/linux/sys/dirent.h: Ditto.
8970 * libc/sys/linux/sys/errno.h: Ditto.
8971 * libc/sys/linux/sys/fcntl.h: Ditto.
8972 * libc/sys/linux/sys/file.h: Ditto.
8973 * libc/sys/linux/sys/ioctl.h: Ditto.
8974 * libc/sys/linux/sys/resource.h: Ditto.
8975 * libc/sys/linux/sys/signal.h: Ditto.
8976 * libc/sys/linux/sys/stat.h: Ditto.
8977 * libc/sys/linux/sys/syscall.h: Ditto.
8978 * libc/sys/linux/sys/termios.h: Ditto.
8979 * libc/sys/linux/sys/time.h: Ditto.
8980 * libc/sys/linux/sys/types.h: Ditto.
8981 * libc/sys/linux/sys/utmp.h: Ditto.
8982 * libc/sys/linux/sys/utsname.h: Ditto.
8983 * libc/sys/linux/sys/wait.h: Ditto.
8984
a08c98bb
JJ
89852000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
8986
8987 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
8988 can be a relative path to $(top_srcdir)/install.sh so ensure the
8989 autoconf detected settings are properly passed recursively.
8990 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
8991 properly to subdirectories.
8992 * Makefile.in: Regenerated.
8993
b294082c
JJ
89942000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
8995
8996 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
8997 a floating point register unless really printing a floating
8998 point number.
8999
2005ab6b
JJ
90002000-12-07 Jeff Johnston <jjohnstn@redhat.com>
9001
9002 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
9003 Also removed \r's.
9004 (asctoeg): Replaced alloca call with stack array and malloc
9005 when storage exceeds reasonable limit.
9006 (e53toe): Fixed einfin calls missing ldp parameter.
9007 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
9008
9f6e8f1b
JJ
90092000-12-06 Jeff Johnston <jjohnstn@redhat.com>
9010
2005ab6b 9011
9f6e8f1b
JJ
9012 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
9013
6bdac416
JJ
90142000-12-06 Jeff Johnston <jjohnstn@redhat.com>
9015
9016 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
9017 * libc/stdlib/Makefile.in: Regenerated.
9018 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
9019 * libc/stdio/vfieeefp.h: Added long double bit structures.
9020 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
9021 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
9022 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
9023 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
9024 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
9025 _strtold routines used for conversions between character
9026 and long double.
9027
ec270d31
CV
9028Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
9029
9030 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
9031
db2d9549
JJ
90322000-12-04 Joel Sherrill <joel@OARcorp.com>
9033
9034 * libc/include/machine/time.h: RTEMS systems can configure clock
9035 tick rate so use sysconf() to ask.
9036
6ba54a15
JJ
90372000-12-04 Joel Sherrill <joel@OARcorp.com>
9038
9039 * libc/include/sys/times.h: Add reference to POSIX standard.
9040
8677b819
JJ
90412000-12-04 Joel Sherrill <joel@OARcorp.com>
9042
9043 * libc/include/sys/time.h: Added BSD timer manipulation macros
9044 used by RTEMS code.
9045
1b61a706
JJ
90462000-12-04 Joel Sherrill <joel@OARcorp.com>
9047
9048 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
9049 referenced by code generated by gcc 2.8.1.
9050 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
9051 satisfy gcc.
9052
f5e7c124
JJ
90532000-12-04 Joel Sherrill <joel@OARcorp.com>
9054
9055 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
9056
768abc9c
JJ
90572000-12-04 Joel Sherrill <joel@OARcorp.com>
9058
9059 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
9060
9e5dd5ea
JJ
90612000-12-04 Joel Sherrill <joel@OARcorp.com>
9062
9063 * configure.host (or16, or32): New entries for OpenCores
9064 OpenRisc CPUs.
9065 (*-*-rtems*): Add -DNO_EXEC.
9066
768abc9c 90672000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f
JJ
9068
9069 * libc/include/sys/errno.h: Added comments on many error numbers.
9070 * libc/string/strerror.c: Added some more strings.
9071
b273323f
JJ
90722000-11-30 Jeff Johnston <jjohnstn@redhat.com>
9073
9074 * libc/sys/sh/syscalls.c (_link): New stub.
9075
0ffc3b94
NC
90762000-11-29 Nick Clifton <nickc@redhat.com>
9077
9078 * configure.host: Add xscale target.
9079 * libc/machine/xscale: New directory.
9080 * libc/machine/xscale/Makefile.am: New file.
9081 * libc/machine/xscale/Makefile.in: New file.
9082 * libc/machine/xscale/aclocal.m4: New file.
9083 * libc/machine/xscale/configure: New file.
9084 * libc/machine/xscale/configure.in: New file.
9085 * libc/machine/xscale/memchr.S: New file.
9086 * libc/machine/xscale/memcmp.S: New file.
9087 * libc/machine/xscale/memcpy.S: New file.
9088 * libc/machine/xscale/memmove.S: New file.
9089 * libc/machine/xscale/memset.S: New file.
9090 * libc/machine/xscale/strchr.S: New file.
9091 * libc/machine/xscale/strcmp.S: New file.
9092 * libc/machine/xscale/strcpy.S: New file.
9093 * libc/machine/xscale/strlen.S: New file.
9094
cbbf0f96
CV
9095Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
9096
9097 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
9098 avoid compiler warnings.
9099
73dea790
MM
91002000-11-22 Michael Meissner <meissner@redhat.com>
9101
9102 * libc/posix/execl.c (execl): Don't reference environ directly,
9103 reference it only via a static pointer to avoid problems with some
9104 shared library systems and with different uses of small data where
9105 the user specifies his own version of environ.
9106 * libc/posix/execv.c (execv): Ditto.
9107 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
9108 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
9109 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
9110
9111 * libc/stdlib/getenv.c (environ): Delete unused reference to
9112 environ.
9113
9114 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
9115 colorization.
9116 * libc/stdlib/system.c: Ditto.
9117
08eac2ae
CF
9118Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
9119
9120 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
9121 including windows headers.
9122
5478bf37
JJ
91232000-11-20 Jeff Johnston <jjohnstn@redhat.com>
9124
9125 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
9126 * libc/include/dirent.h: Added definition of MAXNAMLEN if
9127 not defined by sys/dirent.h.
9128 * libc/posix/execvp.c: Added include of dirent.h to get
9129 MAXNAMLEN value which used to be in unistd.h.
9130
3a760728
CV
9131Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
9132
9133 * libc/include/sys/types.h: Change type of i to `size_t' in
9134 FD_ZERO macro to avoid compiler warnings.
9135
86fff69f
CF
9136Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
9137
9138 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
9139 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
9140
ba9e88d2
CV
9141Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
9142
9143 * libc/include/sys/unistd.h: Add defines for sysconf values
9144 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
9145 _SC_AVPHYS_PAGES.
9146
a8018ef3
CF
9147Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
9148
9149 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
9150 declarations for __CYGWIN__.
9151
b944c6f6
GK
91522000-09-19 Geoffrey Keating <geoffk@cygnus.com>
9153
9154 * libc/signal/signal.c (__sigtramp_r): ISO C requires
9155 case labels to be integral constant expressions, so
9156 use an if/else tree instead.
9157 (_raise_r): Likewise.
9158
7f18fcb4
JJ
91592000-09-13 Jeff Johnston <jjohnstn@redhat.com>
9160
9161 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
9162 clipping patch from e-mail reader.
9163
242361df
JJ
91642000-09-13 Will Cohen <wcohen@redhat.com>
9165
9166 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
9167 Added return value 0.
9168 (_longjmp): Allow longjmp to return value of second argument
9169 passed to it.
9170
8a8c59b9
JJ
91712000-09-06 Jeff Johnston <jjohnstn@redhat.com>
9172
9173 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
9174 inline code to prevent having to include another header file.
9175
a385ae75
CF
9176Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
9177
9178 * Makefile.am: Fix space vs. tab problem in install-data-local.
9179 * Makefile.in: Regenerate.
9180
9181Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
9182
9183 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
9184 (_EXPARM): New macro for defining a function parameter.
9185 * libc/include/stdlib.h: Use _EXPARM.
9186 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
9187
a36cd013
JJ
91882000-09-05 Manfred Hollstein <manfredh@redhat.com>
9189
9190 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
9191 required, as documented in the gnu coding standards.
9192 * Makefile.in: Regenerate.
9193
f825dfda
JJ
91942000-09-05 Jeff Johnston <jjohnstn@redhat.com>
9195
9196 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
9197 make O_NDELAY and O_NONBLOCK have the same value.
9198
4ba9aab7
JJ
91992000-08-30 Kazu Hirata <kazu@hxi.com>
9200
9201 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
9202
db7acc38
JJ
92032000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
9204
9205 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
9206 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
9207 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
9208 everywhere else.
9209
44e36af4
GK
92102000-08-30 Geoffrey Keating <geoffk@cygnus.com>
9211
9212 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
9213 * libc/include/string.h: Don't include <sys/types.h>,
9214 as it causes really bad namespace pollution. Don't declare
9215 swab(), it is properly declared in unistd.h.
9216
00a2f168
JJ
92172000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
9218
9219 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
9220 (broken) support for non-existent /etc/passwd field "comment".
9221
6beeb240
JJ
92222000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
9223
9224 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
9225 only if _DIRENT_HAVE_D_NAMLEN is defined.
9226 (alphasort): aligned prototype with
9227 libc/sys/cygwin/sys/dirent.h and simplified function body.
9228 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
9229 long telldir (DIR *) as mentioned in annex B of POSIX.1
9230
ef44da42
JJ
92312000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
9232
9233 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
9234 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
9235 Added __CLI and __STI macros (controlled via
9236 _I386MACH_ALLOW_HW_INTERRUPTS macro).
9237 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
9238 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
9239 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
9240 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
9241 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
9242 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
9243 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
9244 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
9245 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
9246 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
9247 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
9248 for all global entry points.
9249 * libc/machine/i386/setjmp.S: removed code replicated in
9250 libc/machine/i386/i386mach.h and included i386mach.h instead;
9251 Use __CLI and __STI instead of cli and sti.
9252
14d3488d
DD
92532000-08-25 DJ Delorie <dj@redhat.com>
9254
9255 * libc/include/sys/unistd.h (environ): this one isn't from the
9256 DLL, no __IMPORT
9257
c9ca4412
CF
9258Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
9259
9260 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
9261 environ when compiling under cygwin since it is already declared in
9262 unistd.h.
9263
2d5862de
JJ
92642000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
9265
9266 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
9267 like x << y-z to the equivalent x << (y-z).
9268 (d2b): changed if statements with assignment to perform the
9269 assignment prior to the if check.
9270 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
9271 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
9272 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
9273 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
9274 precedence.
9275 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
9276 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
9277 execve.c).
9278 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
9279 precedence.
9280 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
9281 clarify && and || precendence (and to remove pascalism).
9282 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
9283 * libm/math/s_infconst.c: added another pair of braces to all
9284 initializers for __infinity (need three: for __infinity[1] array,
9285 for union __dmath, and for i[2]).
9286
0888fedd
JJ
92872000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
9288
199359f0
JJ
9289 * libc/stdlib/abort.c: changed description: uses "raise" instead of
9290 "getpid" and "kill"; added: uses "write" and "_exit".
9291 Also included unistd.h for "_exit" prototype.
9292 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
9293 reent.h for "_fork_r" and "_wait_r" prototypes.
9294 (do_system): changed extern char *environ[] to POSIX-friendly
9295 extern char **environ.
9296 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
9297 prototypes.
9298 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
9299 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
9300 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
9301 * libc/reent/openr.c: included fcntl.h for "open" prototype.
9302 * libc/reent/signalr.c: included signal.h for "kill" prototype,
9303 unistd.h for "getpid" prototype.
9304 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
9305 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
9306 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
9307 prototype. Also included stdlib.h for "abort", string.h for
9308 "strdup" and "strncmp" prototypes.
9309 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
9310 "strncpy", unistd.h for "read" and "close" prototypes.
9311 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
9312 "strcat" prototypes.
9313
93142000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
9315
0888fedd
JJ
9316 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
9317 used later (ifdef __SCLE)
9318 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
9319 used later (ifdef MB_CAPABLE)
9320 * libc/string/memset.c (memset): removed unused variables "count"
9321 and "unaligned_addr"
9322 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
9323 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
9324 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
9325 and "gid"
9326
a334e5ef
JJ
93272000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
9328
9329 * libc/stdlib/envlock.c: changed documented "__env_lock" and
9330 "__env_unlock" prototype from "void *" or "char *" to
9331 "struct _reent *" to match real function. Also added include
9332 of envlock.h.
9333 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
9334 "__malloc_unlock" prototype from "void *" or "char *" to
9335 "struct _reent *" to match real function.
9336 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
9337 prototypes (for getenv_r.c and setenv_r.c).
9338
644b7f26
DD
93392000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
9340
9341 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
9342 and prototype in cygwin's utmp.h
9343
5bacbf10
JJ
93442000-08-16 Eric Fifer <efifer@sanwaint.com>
9345
9346 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
9347
38a6bf98
NC
93482000-08-09 Nick Clifton <nickc@cygnus.com>
9349
9350 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
9351 epilogue and to allow the functions to be used in a Thumb based
9352 toolchain.
9353
befe0fb3
JJ
93542000-08-08 Jeff Johnston <jjohnstn@redhat.com>
9355
9356 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
9357 so size of 0 results in nothing being written to string.
9358 Also fixed code so that when size is non-zero, there is only
9359 a maximum of size - 1 characters written to the array and
9360 a nul terminator is appended at the end.
9361 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
9362
749d9bcd
DD
93632000-08-01 DJ Delorie <dj@redhat.com>
9364
9365 * libc/include/sys/config.h: define __IMPORT appropriately
9366 * libc/include/ctype.h (_ctype_): use __IMPORT
9367 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
9368 * libc/include/math.h (__mb_cur_max): ditto
9369 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
9370 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
9371 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
9372 * libc/include/unistd.h (environ): ditto
9373
7c110b17
MM
93742000-07-28 Michael Meissner <meissner@redhat.com>
9375
9376 * libc/include/math.h (__infinity): Declare as an array without
9377 bounds to get around small data support. Rewrite Cygwin support
9378 to be more general.
9379 * libm/math/s_infconst.c (__infinity): Ditto.
9380 * libm/mathfp/s_infconst.c (__infinity): Ditto.
9381
bf7be721
CF
9382Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
9383
9384 * libc/include/math.h: Use appropriate dll import linkage for
9385 __infinity under Cygwin.
9386
91a8d90b
DD
93872000-07-13 DJ Delorie <dj@cygnus.com>
9388
9389 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
9390
ba2048d3
JJ
9391Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
9392
9393 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
9394 to argument list for AngelSWI_Reason_GetCmdLine.
9395
4634da64
JJ
9396Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
9397
9398 * configure.host: Add support for AVR target.
9399 * libc/include/machine/ieeefp.h: Likewise.
9400 * libc/include/sys/config.h: Likewise.
9401
b19f72a2
RK
9402Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
9403
9404 * README: Newlib 1.8.2 must be built in a separate directory
9405 than the sources.
9406
a704d94a
JJ
9407Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
9408
9409 * libc/include/sys/reent.h (_rand_next): Added __extension__
9410 qualifier as long long type is not strict ANSI.
9411 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
9412 to long long constant.
9413
b585720b
CV
9414Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
9415
9416 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
9417 `setegid' provided by Cygwin.
9418
01c327ba
CV
9419Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
9420
9421 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
9422 account for Cygwin.
9423
46a43a99
JJ
9424Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
9425
9426 * libc/include/sys/reent.h (_rand_next): Changed to
9427 unsigned long long and moved to end of _reent struct in _new union.
9428 (_REENT_INIT): Changed to move _rand_next initialization.
9429 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
9430 linear congruential algorithm that is used by DJGPP.
9431
a68078cb
RK
9432Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
9433
9434 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
9435 * libc/include/sys/config.h: Define __RAND_MAX.
9436
518882f3
JJ
9437Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
9438
9439 * libc/stdlib/rand_r.c: New algorithm that meets minimal
9440 standard.
9441
d51d968a
CF
9442Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
9443
9444 * libc/include/string.h: Work around problem with strsignal and gdb.
9445
d2dd5765
CF
9446Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
9447
9448 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
9449 * libc/include/malloc.h: Ditto.
9450 * libc/include/process.h: Ditto.
9451 * libc/include/stdio.h: Ditto.
9452 * libc/include/stdlib.h: Ditto.
9453 * libc/include/time.h: Ditto.
9454 * libc/include/machine/setjmp.h: Ditto.
9455 * libc/include/sys/errno.h: Ditto.
9456 * libc/include/sys/signal.h: Ditto.
9457 * libc/include/sys/stat.h: Ditto.
9458 * libc/include/sys/time.h: Ditto.
9459 * libc/include/sys/unistd.h: Ditto.
9460 * libc/include/string.h: Ditto. strsignal should return a const char *.
9461
88870218
JJ
94622000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
9463
9464 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
9465 * libm/common/s_log1p.c (log1p): Likewise.
9466 * libm/common/s_scalbn.c (scalbn): Likewise.
9467 * libm/math/e_log.c: Likewise.
9468 * libm/math/e_asin.c: Likewise.
9469 * libm/math/ef_asin.c: Likewise.
9470 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
9471 * libm/math/e_j1.c (pone, qone): Likewise.
9472 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
9473 * libm/math/ef_j1.c (ponef, qonef): Likewise.
9474 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
9475 * libm/mathfp/e_j1.c (pone, qone): Likewise.
9476 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
9477 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
9478
c4e1aa01
DD
94792000-05-19 DJ Delorie <dj@cygnus.com>
9480
9481 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
9482 (__sread): always read in binary mode
9483 (__swrite): always write in binary mode
9484 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
9485 compatibility issues with different dll versions
9486 * libc/stdio/fopen.c: use __stextmode
9487 * libc/stdio/fdopen.c: ditto
9488 * libc/stdio/freopen.c: ditto
9489 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
9490 * libc/stdio/local.h: declare __stextmode
9491
f4393261
DD
94922000-05-18 DJ Delorie <dj@cygnus.com>
9493
9494 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
9495
2b533fac
JJ
9496Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
9497
9498 * libc/include/ctype.h: Changed tolower and toupper macros
9499 to use __extension__ to prevent pedantic warnings.
9500
75362a76
RK
9501Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
9502
9503 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
9504 structures.
9505
ec463fc7
JW
9506Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
9507
9508 * libc/include/machine/ieeefp.h: Add ia64 support.
9509 * configure.host: Likewise.
9510
f35ceefa
JJ
9511Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
9512
9513 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
9514 month is now padded with space, not zero. This now conforms to
9515 ANSI standard.
9516
b96fca8c
CV
9517Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
9518
9519 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
9520 host or network path") used by cygwin. Add some comments.
9521
49d64538
JJ
9522Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
9523
9524 * libc/include/stdio.h (FILE): define __SCLE for "convert line
9525 endings" for Cygwin.
9526 (__sgetc): convert line endings if needed
9527 (__sputc): ditto
9528 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
9529 * libc/stdio/fopen.c (_fopen_r): ditto
9530 * libc/stdio/freopen.c (freopen): ditto
9531 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
9532 * libc/stdio/fvwrite.c (__sfvwrite): ditto
9533
91fb1e7f
AO
9534Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
9535
9536 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
9537 post-increment when it is worth it, spacewise.
9538
c87be3e4
JJ
9539Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
9540
9541 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
9542 * libc/stdio/findfp.c (std): Added declaration of flags and file.
9543 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
9544 return type.
9545 * libc/stdio/putchar.c (putchar): Added return statement.
9546 * libc/stdio/refill.c (lflush): Added correct parentheses.
9547 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
9548 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
9549 prints long value to use l qualifier.
9550 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
9551 messages and initialized local values: ilim, ilim1, and spec_case.
9552 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
9553 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
9554 * libc/stdlib/mprec.c: Ditto.
9555 * libc/stdlib/setenv_r.c: Ditto.
9556 * libc/stdlib/strtod.c: Ditto.
9557 * libc/stdlib/strtol.c: Ditto.
9558 * libc/stdlib/strtoul.c: Ditto.
9559 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
9560 * libm/common/sf_log1p.c: Ditto.
9561 * libm/common/sf_scalbn.c: Ditto.
9562 * libm/math/ef_log.c: Ditto.
9563
11f5b065
CV
9564Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
9565
9566 * libc/posix/execvp.c (execvp): Check path for
9567 trailing slash.
9568
796e3b20
CV
9569Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
9570
9571 * libc/include/sys/unistd.h: Add prototypes for
9572 fchmod, fchown, lchown.
9573
b489803a
JJ
9574Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
9575
9576 * acinclude.m4: Changed release to 1.8.2.
9577 * aclocal.m4 configure doc/aclocal.m4 doc/configure
9578 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
9579 libc/machine/configure libc/machine/a29k/aclocal.m4
9580 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
9581 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
9582 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
9583 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
9584 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
9585 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
9586 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
9587 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
9588 libc/machine/i386/configure libc/machine/i960/aclocal.m4
9589 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
9590 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
9591 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
9592 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
9593 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
9594 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
9595 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
9596 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
9597 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
9598 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
9599 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
9600 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
9601 libc/machine/v850/configure libc/machine/w65/aclocal.m4
9602 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
9603 libc/machine/z8k/configure libc/sys/aclocal.m4
9604 libc/sys/aclocal.m4 libc/sys/configure
9605 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
9606 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
9607 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
9608 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
9609 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
9610 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
9611 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
9612 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
9613 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
9614 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
9615 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
9616 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
9617 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
9618 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
9619 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
9620 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
9621 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
9622 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
9623 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
9624 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
9625 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
9626 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
9627 libm/aclocal.m4 libm/configure: Regenerated.
9628
79908d67
NC
96292000-03-24 Nick Clifton <nickc@cygnus.com>
9630
9631 * libc/sys/arm/syscalls.c: Fix compile time warnings.
9632 (do_AngelSWI): Add "cc" to list o registers clobbered.
9633
7684ddaf
FN
9634Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
9635
9636 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
9637 information to be clobbered by an Angel C library support syscall.
9638
b8ec20c8
JJ
9639Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
9640
9641 * libc/stdlib/envlock.c: Fixed comment typo.
9642
fae4c299
JJ
9643Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
9644
9645 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
9646 code to update nread as each character is processed instead
9647 of using buffer contents which throw away leading zeroes.
9648
dc98804b
RK
9649Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
9650
9651 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
9652
5ed2f523
JJ
9653Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
9654
9655 * libc/include/string.h: Include <sys/types.h>.
9656
1cf0ee34
AO
9657Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9658
9659 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
9660 with XSH5, not SVID.
9661
e9c94978
JJ
9662Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
9663
9664 * libc/include/string.h: Changed last argument back to ssize_t
9665 to make it compatible with XPG4 definition which is
9666 defined in <unistd.h>. There is a conflict in the SVID 3
9667 and XPG4 definitions and newlib will settle with XPG4.
9668 * libc/string/swab.c: Ditto.
9669
3072163c
JJ
9670Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
9671
9672 * libc/include/string.h: Changed last argument to size_t.
9673 * libc/string/swab.c: Changed last argument to size_t.
9674
f205ea7a
AO
9675Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9676
9677 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
9678 (CHEWOUT_FILES): Added unlinkr.def.
9679 * libc/reent/Makefile.in: Rebuilt.
9680 * libc/sys.tex: Include unlinkr.def.
9681 * libc/reent/linkr.c (_unlink_r): Moved to...
9682 * libc/reent/unlinkr.c: ... new file.
9683
85dd2e5b
AO
9684Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9685
9686 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
9687 (CHEWOUT_FILES): Added swab.def.
9688 * libc/string/Makefile.in: Rebuilt.
9689 * libc/string/string.tex: Include swab.def.
9690 * libc/include/string.h (swab): Declare.
9691 * libc/string/swab.c: New file.
9692
c5053058
AO
9693Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9694
9695 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
9696 (CHEWOUT_FILES): Added getw.def and putw.def.
9697 * libc/stdio/Makefile.in: Rebuilt.
9698 * libc/stdio/stdio.tex: Include getw.def and putw.def.
9699 * libc/stdio/getw.c: New file.
9700 * libc/stdio/putw.c: New file.
9701
dbaf37cf
JJ
9702Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
9703
9704 * libc/stdio/flags.c (__sflags): Added check that mode[1]
9705 is non-null before looking at mode[2].
9706
bc019ef2
RK
9707Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
9708
9709 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
9710 * libm/mathfp/sf_atan.c: Ditto.
9711
9712Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
9713
9714 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
9715
cd641b2d
RK
9716Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
9717
9718 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
9719 _DOUBLE_IS_32BITS.
9720
b0ba0ac2
JJ
9721Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
9722
9723 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
9724 call prior to calling _VFPRINTF_R so reentrant data area is set.
9725 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
9726
8a0efa53
CF
9727Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9728
9729 * libc/stdio/vfscanf.c (limits.h): #include.
9730 (MAX_LONG_LEN): #define.
9731 (__svfscanf): Handle floating point numbers with arbitrary amounts
9732 of leading zeroes.
9733
97342000-02-15 Nick Clifton <nickc@cygnus.com>
9735
9736 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
9737 zero. Set the blocksize to 1024/
9738
9739Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
9740
9741 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
9742 with line buffering.
9743
9744Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
9745
9746 * acinclude.m4: Changed include directory for winsup headers.
9747 * aclocal.m4 configure libc/aclocal.m4
9748 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
9749 libc/locale/Makefile.in libc/machine/aclocal.m4
9750 libc/machine/configure libc/machine/a29k/aclocal.m4
9751 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
9752 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
9753 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
9754 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
9755 libc/machine/fr30/configure
9756 libc/machine/h8300/aclocal.m4
9757 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
9758 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
9759 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
9760 libc/machine/i386/configure libc/machine/i960/aclocal.m4
9761 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
9762 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
9763 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
9764 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
9765 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
9766 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
9767 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
9768 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
9769 libc/machine/powerpc/configure
9770 libc/machine/sh/aclocal.m4
9771 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
9772 libc/machine/sparc/configure
9773 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
9774 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
9775 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
9776 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
9777 libc/misc/Makefile.in libc/posix/Makefile.in
9778 libc/reent/Makefile.in
9779 libc/signal/Makefile.in
9780 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
9781 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
9782 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
9783 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
9784 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
9785 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
9786 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
9787 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
9788 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
9789 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
9790 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
9791 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
9792 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
9793 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
9794 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
9795 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
9796 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
9797 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
9798 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
9799 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
9800 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
9801 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
9802 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
9803 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
9804 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
9805 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
9806 libm/configure: Regenerated.
9807
9808Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
9809
9810 * libc/stdlib/putenv_r.c (_putenv_r): New file.
9811 * libc/stdlib/strdup_r.c (_strdup_r): New file.
9812 * libc/include/string.h: Added _strdup_r.
9813 * libc/stdlib/putenv.c: Added call to reentrant version.
9814 * libc/stdlib/strdup.c: Ditto.
9815 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
9816 * libc/include/stdlib.h: Ditto.
9817 * libc/stdlib/Makefile.in: Regenerated.
9818 * libc/string/Makefile.in: Regenerated.
9819 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
9820 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
9821 management calls to reentrant versions.
9822 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
9823 * libc/stdlib/wctomb.c: Ditto.
9824 * libc/stdlib/mblen.c: Ditto.
9825 * libc/stdlib/mbstowcs.c: Ditto.
9826 * libc/stdlib/mbtowc.c: Ditto.
9827 * libc/stdlib/getenv.c: Ditto.
9828 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
9829 and _strdup_r.
9830
9831Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
9832
9833 patch from Corinna Vinschen <corinna@vinschen.de>
9834 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
9835
bc019ef2 9836Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
9837
9838 * libm/mathfp/s_atangent.c: Fix exponent calculation.
9839 * libm/mathfp/s_ldexp.c: Ditto.
9840 * libm/mathfp/sf_atangent.c: Ditto.
9841 * libm/mathfp/sf_ldexp.c: Ditto.
9842
9843Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9844
9845 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
9846 * libc/include/locale.h: define NULL to be 0.
9847
9848Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
9849
9850 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
9851 function.
9852
9853Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
9854
9855 * libc/machine/mn10300/setjmp.S: Handle am33.
9856
98571999-11-26 Nick Clifton <nickc@cygnus.com>
9858
9859 * libc/sys/arm/syscalls.c: Add function prototypes.
9860 (stack_ptr): Move declaration before function definitions.
9861
9862Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9863
9864 * NEWS: Updated version information.
9865 * README: Ditto.
9866
9867Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
9868
9869 * libc/machine/i386/strchr.S: Fixed alignment test.
9870
9871Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
9872
9873 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
9874
9875Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
9876
9877 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
9878 ensuring that there is space between the two.
9879
9880Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
9881
9882 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
9883 only.
9884
98851999-10-08 Vadim Egorov <egorovv@1c.ru>
9886
9887 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
9888 section
9889
9890Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
9891
9892 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
9893 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
9894
9895Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
9896 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
9897 per POSIX 1003.1b.
9898 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
9899 per POSIX 1003.1b.
9900
99011999-09-13 DJ Delorie <dj@cygnus.com>
9902
9903 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
9904 also.
9905
9906Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
9907
9908 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
9909 also note BUFSIZ as its size.
9910
9911Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
9912
9913 * configure.host: Corrected feature defines for RTEMS.
9914 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
9915 * libc/include/sys/stat.h: mkfifo() should take const path arg.
9916 * libc/include/sys/unistd.h: pathconf() should take const path arg.
9917 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
9918 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
9919 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
9920 _PC_PRIO_IO, and _PC_SYNC_IO.
9921 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
9922 * libc/machine/m68k/Makefile.in: Regenerated.
9923 * libc/machine/m68k/strcpy.c: New file.
9924 * libc/machine/m68k/strlen.c: New file.
9925 * libc/stdio/tmpnam.c: Always make the returned name usable.
9926 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
9927 * libc/sys/rtems/sys/dirent.h: New file.
9928 * libc/sys/rtems/sys/types.h: Added dev_t.
9929
9930Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
9931
9932 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
9933
9934Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
9935
9936 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
9937 my patch.
9938
9939Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
9940
9941 patch from Jeff Johnston <jjohnstn@cygnus.com>
9942 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
9943 buffer is not in a useful state.
9944
99451999-09-01 Nick Clifton <nickc@cygnus.com>
9946
9947 * libc/sys/arm/syscalls.c (_link): Add stub.
9948
9949Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9950
9951 * ftell.c (ftell): Use actual position within buffer for text mode.
9952 * findfp.c (std): Initialize ptr->_bf._size.
9953
9954Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
9955
9956 * libc/include/sys/unistd.h: Add nice() declaration.
9957
99581999-08-09 Nick Clifton <nickc@cygnus.com>
9959
9960 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
9961 declare as a thumb function so that the disassembler will see the
9962 mode change.
9963
9964Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9965
9966 * libc/reent/reent.tex: Updated list of reentrant functions.
9967
99681999-07-09 Michael Meissner <meissner@cygnus.com>
9969
9970 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
9971
9972Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
9973
9974 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
9975 separate file.
9976 * libc/stdio/snprintf.c: New file.
9977 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
9978 separate file.
9979 * libc/stdio/vsnprintf.c: New file.
9980 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
9981 * libc/stdio/Makefile.in: Regenerated.
9982
9983Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
9984
9985 Patch submitted by Egor Duda <deo@logos-m.ru>:
9986 * libc/include/stdio.h: Add declarations for *nprintf.
9987 * libc/stdio/sprintf.c (snprintf): New function.
9988 (_snprintf_r): New function.
9989 * libc/stdio/vsprintf.c (vsnprintf): New function.
9990 (_vnsprintf_r): New function.
9991
9992Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
9993
9994 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
9995 * libm/Makefile.am (stmp-targetdep): Ditto.
9996 * libc/Makefile.in: Regenerated.
9997 * libm/Makefile.in: Ditto.
9998
9999Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
10000
10001 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
10002 * libm/Makefile.am (stmp-targetdep): Ditto.
10003 * libc/Makefile.in: Regenerated.
10004 * libm/Makefile.in: Ditto.
10005
10006Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
10007
10008 * Makefile.am: Removed dependencies on all-recursive and added "."
10009 to the SUBDIRS list to prevent infinite recursion from occurring.
10010 Also removed any references to EXTRA_DATA.
10011 * libc/Makefile.am: Ditto.
10012 * libc/machine/Makefile.am: Ditto.
10013 * libc/machine/i386/Makefile.am: Ditto.
10014 * libm/Makefile.am: Ditto.
10015 * libc/sys/Makefile.am: Ditto.
10016 * Makefile.in: Regenerated.
10017 * aclocal.m4: Ditto.
10018 * configure: Ditto.
10019 * doc/Makefile.in: Ditto.
10020 * doc/aclocal.m4: Ditto.
10021 * doc/configure: Ditto.
10022 * libc/Makefile.in: Ditto.
10023 * libc/aclocal.m4: Ditto.
10024 * libc/configure: Ditto.
10025 * libc/machine/Makefile.in: Ditto.
10026 * libc/machine/aclocal.m4: Ditto.
10027 * libc/machine/configure: Ditto.
10028 * libc/machine/mn10300/Makefile.in: Ditto.
10029 * libc/machine/mn10300/aclocal.m4: Ditto.
10030 * libc/machine/mn10300/configure: Ditto.
10031 * libc/sys/Makefile.in: Ditto.
10032 * libc/sys/aclocal.m4: Ditto.
10033 * libc/sys/configure: Ditto.
10034 * libm/Makefile.in: Ditto.
10035 * libm/aclocal.m4: Ditto.
10036 * libm/configure: Ditto.
10037
10038Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
10039
10040 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
10041
10042Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
10043
10044 * libc/include/stdlib.h: Add reentrant routines.
10045 * libc/stdlib/Makefile.am: Add reentrant routines.
10046 * libc/stdlib/Makefile.in: Ditto.
10047 * libc/stdlib/envlock.c: New file.
10048 * libc/stdlib/envlock.h: New file.
10049 * libc/stdlib/getenv.c: Modify to call reentrant routine.
10050 * libc/stdlib/getenv_r.c: New file.
10051 * libc/stdlib/mblen.c: Modify to call reentrant routine.
10052 * libc/stdlib/mblen_r.c: New file.
10053 * libc/stdlib/setenv.c: Modify to call reentrant routine.
10054 * libc/stdlib/setenv_r.c: New file.
10055 * libc/stdlib/stdlib.tex: Add reentrant routines.
10056
10057Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
10058
10059 * libc/include/sys/types.h: Define __MS_types__ whenever
10060 cygwin or win32.
10061
10062Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
10063
10064 * libc/include/machine/ieeefp.h: Always default to little
10065 endian if Windows, regardless of architecture.
10066 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
10067 regardless of architecture.
10068
10069Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
10070
10071 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
10072 _WIN32 isn't defined.
10073
10074Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
10075
10076 * libm/common/s_rint.c (rint): Add volatile qualifier for
10077 intermediate value w.
10078 * libm/common/sf_rint.c (rintf): Ditto.
10079
10080Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
10081
10082 * libc/sys/arm/syscalls.c (remap_handle): Added check to
10083 ensure that std streams are initialized before being referenced.
10084
100851999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
10086
10087 * README: Update reference to newlib@cygnus.com new
10088 newlib@sourceware.cygnus.com address.
10089
10090Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
10091
10092 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
10093 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
10094 defined, even if _WIN32 isn't defined.
10095
10096Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
10097
10098 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
10099
10100Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
10101
10102 * libc/include/sys/reent.h: Change Long and ULong to __Long and
10103 __ULong.
10104 * libc/stdlib/dtoa.c: Ditto.
10105 * libc/stdlib/mprec.c: Ditto.
10106 * libc/stdlib/mprec.h: Ditto.
10107 * libc/stdlib/strtod.c: Ditto.
10108
101091999-04-21 Nick Clifton <nickc@cygnus.com>
10110
10111 * configure.host (mcore): Remove mcore machine directory.
10112
101131999-04-18 Nick Clifton <nickc@cygnus.com>
10114
10115 * libc/include/machine/ieeefp.h: Add support for mcore target.
10116 * libc/include/machine/setjmp.h: Add support for mcore target.
10117 * configure.host: Add support for mcore target.
10118
101191999-04-13 Mark Salter <msalter@cygnus.com>
10120
10121 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
10122 * libc/sys/arm/syscalls.c: Added isatty.
10123
10124Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
10125
10126 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
10127 insert zeroes after significant digits.
10128
10129Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
10130
10131 * libc/stdio/vfprintf.c (cvt): Changed floating point
10132 cvt routine to use union used by dtoa to properly determine
10133 if the sign bit is on or not.
10134 * libc/stdio/vfieeefp.h: New file
10135
10136Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
10137
10138 * aclocal.m4: Regenerated.
10139 * configure: Regenerated.
10140
10141Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
10142
10143 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
10144 f_tanf reference.
10145 * libc/machine/i386/Makefile.in: Regenerated.
10146
10147Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
10148
10149 * acinclude.m4: Changed to work with new automake.
10150 * configure: Regenerated.
10151 * libc/machine/i386/aclocal.m4: Regenerated.
10152 * libc/machine/i386/configure: Regenerated.
10153
10154Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
10155
10156 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
10157 for telldir() and seekdir(). Rename unused structure element
10158 for use with these two routines.
10159
10160Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
10161
10162 * libc/time/mktime.c (validate_structure): Multiple fixes to
10163 code to handle cases where input fields are outside valid ranges.
10164 * libc/stdlib/div.c (div): Modified invalid rounding check.
10165 * libc/stdlib/ldiv.c (ldiv): Ditto.
10166
10167Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
10168
10169 * libc/machine/i386/memcpy.S: Performance rewrite.
10170 * libc/machine/i386/memmove.S: Ditto.
10171 * libc/machine/i386/i386mach.h: Added more register definitions.
10172 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
10173 option used.
10174 * libc/include/machine/fastmath.h: Add definitions for x86
10175 fast-math routines.
10176
10177Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
10178
10179 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
10180
10181Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
10182
10183 Adjust newlib headers for new Cygwin Win32 API header files:
10184 * libc/include/sys/time.h: Check _WINSOCK_H rather than
10185 _GNU_H_WINDOWS32_SOCKETS.
10186 * libc/include/sys/types.h: Ditto.
10187
10188Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
10189
10190 *include/sys/reent.h: Add checks for size of Bigint element Long.
10191 *libc/dtoa.c: Change routines to use generic Long type.
10192 *libc/mprec.c: Change routines to use generic Long type.
10193 *libc/mprec.h: Change routines to use generic Long type.
10194
10195Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
10196
10197 * libc/Makefile.am: Add .def files.
10198 * libc/Makefile.in: Regenerate.
10199 * libc/e_acosh.c: Documentation update.
10200 * libc/e_atanh.c: Documentation update.
10201 * libc/e_hypot.c: Documentation update.
10202 * libc/e_remainder.c: Documentation update.
10203 * libc/er_lgamma.c: Documentation update.
10204 * libc/mathfp.tex: Documentation update.
10205 * libc/s_acos.c: Documentation update.
10206 * libc/s_atan.c: Documentation update.
10207 * libc/s_atan2.c: Documentation update.
10208 * libc/s_cosh.c: Documentation update.
10209 * libc/s_fmod.c: Documentation update.
10210 * libc/s_isnan.c: Documentation update.
10211 * libc/s_log10.c: Documentation update.
10212 * libc/s_pow.c: Documentation update.
10213 * libc/w_jn.c: Documentation update.
10214
10215Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
10216
10217 * aclocal.m4: Regenerate.
10218 * configure: Regenerate.
10219
10220Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
10221
10222 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
10223 to return 1 if user specified return code is 0.
10224 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
10225
10226Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
10227
10228 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
10229 to save the return address. Fixed longjmp to return to the original
10230 calling address of setjmp and to return the user specified return code
10231 rather than default to 1.
10232 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
10233
10234Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
10235
10236 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
10237
102381999-02-10 Nick Clifton <nickc@cygnus.com>
10239
10240 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
10241 volatile so that its assignments will not be discarded.
10242
10243Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
10244
10245 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
10246 be __STRICT_ANSI__ which is generated by compiler.
10247 * libc/include/ctype.h: Ditto.
10248 * libc/include/math.h: Ditto.
10249 * libc/include/stdio.h: Ditto.
10250 * libc/include/stdlib.h: Ditto.
10251 * libc/include/string.h: Ditto.
10252 * libc/include/sys/signal.h: Ditto.
10253
102541999-02-08 Nick Clifton <nickc@cygnus.com>
10255
10256 * configure.host: Add support for StrongARM target.
10257
10258Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
10259
10260 * libc/string/strncpy.c (strncpy): Removed redundant code
10261 that was copying bytes if data unaligned.
10262
102631999-02-02 Brendan Kehoe <brendan@cygnus.com>
10264
10265 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
10266 mbstowcs.def, and wcstombs.def.
10267
10268Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
10269
10270 * libc/include/sys/errno.h: Add Cygwin errno.
10271 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
10272 is specified.
10273
102741999-01-29 Nick Clifton <nickc@cygnus.com>
10275
10276 * libc/sys/arm/syscalls.c: Move C library functions into seperate
10277 file.
10278
10279 * libc/sys/arm/libcfunc.c: New file containing C library functions
10280 from syscalls.c
10281
10282 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
10283 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
10284
10285
102861999-01-27 Michael Meissner <meissner@cygnus.com>
10287
10288 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
10289 type, and cut size in half so that the jmp_buf array is guaranteed
10290 to be aligned on a 64-bit boundary.
10291
10292Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
10293
10294 * libc/string/strings.tex: Added information about
10295 strcasecmp and strncasecmp.
10296 * libc/stdlib/stdlib.tex: Added missing information
10297 about mblen, mbstowcs, and wcstombs.
10298 * libc/string/strchr.c: Changed how mask is built to use
10299 shift operators so register will be used instead of storage.
10300
103011999-01-22 DJ Delorie <dj@cygnus.com>
10302
10303 * libc/include/stdlib.h: don't use dllimport if we're building
10304 newlib, since it's inside cygwin.dll
10305
10306Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
10307
10308 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
10309 _ctype_ under cygwin.
10310
10311Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
10312
10313 * include/stdlib.h: Fix typo from previous checkin.
10314
10315Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
10316
10317 * include/ctype.h: Use __declspec(dllimport) method for exporting
10318 variable from cygwin DLL.
10319 * include/time.h: Ditto.
10320 * sys/errno.h: Ditto.
10321 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
10322 * libc/locale/locale.c: Use __declspec(dllexport) method for
10323 exporting variable from cygwin DLL.
10324
10325Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
10326
10327 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
10328 access of bogus pointer will result in SIGSEGV.
10329
103301999-01-07 Nick Clifton <nickc@cygnus.com>
10331
10332 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
10333 of an underscore prefix to function names.
10334
10335Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
10336
10337 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
10338 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
10339
103401998-12-31 Michael Meissner <meissner@cygnus.com>
10341
10342 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
10343 to `%' if not already defined.
10344
103451998-12-30 Michael Meissner <meissner@cygnus.com>
10346
10347 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
10348 arguments const char *, not char *.
10349 * libc/include/stdio.h (_tempnam_r): Ditto.
10350
10351 * libc/include/sys/reent.h (struct _reent): The _sig_func type
10352 points to a function taking an integer, not void.
10353
10354Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
10355
10356 * configure.host: Add a define for Cygwin builds.
10357 * libc/include/ctype.h: Don't use dll imported variables in newlib.
10358
10359Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
10360
10361 * libc/include/ctype.h: Define _ctype_ as dll imported variable
10362 for use with Cygwin.
10363 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
10364 dll imported variables for use with Cygwin.
10365 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
10366 as a dll imported variable for Cygwin.
10367
10368Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
10369
10370 * libc/include/sys/unistd.h: Add proto for getpass.
10371
10372Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
10373
10374 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
10375 alphasort.
10376
10377Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
10378
10379 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
10380 not posix_path_list_p.
10381
103821998-12-15 Nick Clifton <nickc@cygnus.com>
10383
10384 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
10385 a signed int.
10386
103871998-12-13 Nick Clifton <nickc@cygnus.com>
10388
10389 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
10390
103911998-12-12 Nick Clifton <nickc@cygnus.com>
10392
10393 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
10394 <msalter@cygnus.com>
10395 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
10396 * libc/machine/fr30/Makefile.in: Regenerated.
10397
103981998-12-11 Nick Clifton <nickc@cygnus.com>
10399
10400 * configure.host: Remove use of libc/sys for FR30 port.
10401 * libc/sys/fr30: Remove directory (replaced by libgloss).
10402
104031998-12-10 Ken Raeburn <raeburn@cygnus.com>
10404
10405 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
10406 * libc/string/strncat.c (ALIGNED): Ditto.
10407
10408Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
10409
10410 * libc/include/sys/time.h: include sys/types.h
10411
10412Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
10413
10414 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
10415 comparison found when checking word at a time.
10416
104171998-12-04 Nick Clifton <nickc@cygnus.com>
10418
10419 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
10420
104211998-12-03 Nick Clifton <nickc@cygnus.com>
10422
10423 * libc/sys/fr30/syscalls.c (_times): New function stub.
10424
10425Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
10426
10427 * configure.host (mach_add_setjmp): Replaced mach_add_objs
10428 with mach_add_setjmp flag which indicates if setjmp should
10429 be added to the machine directory objects.
10430 * acinclude.m4: Removed reference to mach_add_objs.
10431 * aclocal.m4: Regenerated.
10432 * Makefile.in: Regenerated.
10433 * configure: Regenerated.
10434 * libc/aclocal.m4: Regenerated.
10435 * libc/Makefile.in: Regenerated.
10436 * libc/configure: Regenerated.
10437 * libc/machine/aclocal.m4: Regenerated.
10438 * libc/machine/Makefile.in: Regenerated.
10439 * libc/machine/configure: Regenerated.
10440 * libc/machine/i386/aclocal.m4: Regenerated.
10441 * libc/machine/i386/Makefile.am: Altered to selectively add
10442 setjmp.S to the src files list.
10443 * libc/machine/i386/Makefile.in: Regenerated.
10444 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
10445 * libc/machine/i386/configure: Regenerated.
10446
104471998-12-02 Nick Clifton <nickc@cygnus.com>
10448
10449 * libc/sys/fr30/crt0.s (_start): Fix function names.
10450
10451 * libc/machine/fr30: New directory
10452 * libc/machine/fr30/Makefile.am: New file.
10453 * libc/machine/fr30/Makefile.in: New generated file.
10454 * libc/machine/fr30/configure.in: New file.
10455 * libc/machine/fr30/configure: New generated file.
10456 * libc/machine/fr30/aclocal.m4: New generated file.
10457 * libc/sys/fr30/Makefile.am: New file.
10458 * libc/sys/fr30/Makefile.in: New generated file.
10459 * libc/sys/fr30/configure.in: New file.
10460 * libc/sys/fr30/configure: New generated file.
10461 * libc/sys/fr30/syscalls.c: New file.
10462
10463Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
10464
10465 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
10466
104671998-12-01 Ken Raeburn <raeburn@cygnus.com>
10468
10469 * libc/time/strftime.c (strftime): Also handle %y for years before
10470 1900.
10471
10472Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
10473
10474 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
10475 UNIX convention. Perform tolower on characters before comparing
10476 them rather than use toupper.
10477 * libc/string/strncasecmp.c (strncasecmp): Ditto.
10478
10479Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
10480
10481 * configure.host: Added using i386 machine directory
10482 for all x86 cross-compiler and configuring
10483 which added object files to use via new "mach_add_objs" variable.
10484 * configure: Regenerated.
10485 * libc/configure: Regenerated.
10486 * libc/Makefile.in: Regenerated.
10487 * libc/aclocal.m4: Regenerated.
10488 * libc/ctype/Makefile.in: Regenerated.
10489 * libc/errno/Makefile.in: Regenerated.
10490 * libc/locale/Makefile.in: Regenerated.
10491 * libc/machine/Makefile.in: Regenerated.
10492 * libc/machine/aclocal.m4: Regenerated.
10493 * libc/machine/configure: Regenerated.
10494 * libc/posix/Makefile.in: Regenerated.
10495 * libc/reent/Makefile.in: Regenerated.
10496 * libc/signal/Makefile.in: Regenerated.
10497 * libc/stdio/Makefile.in: Regenerated.
10498 * libc/stdlib/Makefile.in: Regenerated.
10499 * libc/string/Makefile.in: Regenerated.
10500 * libc/string/memmove.c: Optimized code to use memcpy
10501 logic when performing a non-destructive copy.
10502 * libc/string/strncmp.c: Altered code to allow building
10503 optimized for size or speed.
10504 * libc/syscalls/Makefile.in: Regenerated.
10505 * libc/time/Makefile.in: Regenerated.
10506 * libc/unix/Makefile.in: Regenerated.
10507 * libc/machine/i386/Makefile.am: Added new files and reference
10508 to "mach_add_objs" to indicate optional object files.
10509 * libc/machine/i386/Makefile.in: Regenerated.
10510 * libc/machine/i386/aclocal.m4: Regenerated.
10511 * libc/machine/i386/configure: Regenerated.
10512 * libc/machine/i386/memchr.S: New file that implements
10513 function in Intel assembler.
10514 * libc/machine/i386/memcmp.S: ditto.
10515 * libc/machine/i386/memcpy.S: ditto.
10516 * libc/machine/i386/memmove.S: ditto.
10517 * libc/machine/i386/memset.S: ditto.
10518 * libc/machine/i386/strchr.S: ditto.
10519 * libc/machine/i386/strlen.S: ditto.
10520 * libc/machine/i386/f_atan2.S: New file that implements
10521 fast version of math function to be used by compiler when
10522 --ffast_math compile option is used.
10523 * libc/machine/i386/f_atan2f.S: ditto.
10524 * libc/machine/i386/f_exp.c: ditto.
10525 * libc/machine/i386/f_expf.c: ditto.
10526 * libc/machine/i386/f_frexp.S: ditto.
10527 * libc/machine/i386/f_frexpf.S: ditto.
10528 * libc/machine/i386/f_ldexp.S: ditto.
10529 * libc/machine/i386/f_ldexpf.S: ditto.
10530 * libc/machine/i386/f_log.S: ditto.
10531 * libc/machine/i386/f_logf.S: ditto.
10532 * libc/machine/i386/f_log10.S: ditto.
10533 * libc/machine/i386/f_log10f.S: ditto.
10534 * libc/machine/i386/f_math.h: New file.
10535 * libc/machine/i386/f_pow.c: ditto.
10536 * libc/machine/i386/f_powf.S: ditto.
10537 * libc/machine/i386/f_tan.S: ditto.
10538 * libc/machine/i386/f_tan.S: ditto.
10539 * libc/machine/i386/i386mach.h: New file.
10540
10541Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
10542
10543 patch from Mumit Khan <khan@xraylith.wisc.edu>
10544 * libc/include/stdio.h (tempnam): Add prototype.
10545 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
10546 (tempnam): Adhere to prototype.
10547
10548Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
10549
10550 * Makefile.am: Add default for AR_FLAGS.
10551 * Makefile.in: Regenerate.
10552
10553Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
10554
10555 * libc/include/time.h: move __cplusplus wrapper after includes
10556 * libc/include/sys/time.h: ditto. If Cygwin, include
10557 sys/select.h.
10558 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
10559
105601998-11-23 Ken Raeburn <raeburn@cygnus.com>
10561
10562 * libc/time/strftime.c (strftime): Handle %y after year 2000.
10563
10564Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
10565
10566 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
10567 abnormnal end-of-crt0 marker.
10568
10569Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
10570
10571 * libc/sys/fr30/crt0.s: New file/directory.
10572 * libc/include/machine/setjmp.h: Add FR30 target.
10573 * libc/include/machine/ieeefp.h: Add FR30 target.
10574 * configure.host: Add FR30 target.
10575
10576Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
10577
10578 * libm/math: Files that are duplicated in common directory removed.
10579 * libm/math/fdlibm.h: Removed.
10580 * libm/math/s_cbrt.c: Removed.
10581 * libm/math/s_copysign.c: Removed.
10582 * libm/math/s_expm1.c: Removed.
10583 * libm/math/s_finite.c: Removed.
10584 * libm/math/s_ilogb.c: Removed.
10585 * libm/math/s_infinity.c: Removed.
10586 * libm/math/s_lib_ver.c: Removed.
10587 * libm/math/s_log1p.c: Removed.
10588 * libm/math/s_logb.c: Removed.
10589 * libm/math/s_matherr.c: Removed.
10590 * libm/math/s_modf.c: Removed.
10591 * libm/math/s_nan.c: Removed.
10592 * libm/math/s_nextafter.c: Removed.
10593 * libm/math/s_rint.c: Removed.
10594 * libm/math/s_scalbn.c: Removed.
10595 * libm/math/sf_cbrt.c: Removed.
10596 * libm/math/sf_copysign.c: Removed.
10597 * libm/math/sf_expm1.c: Removed.
10598 * libm/math/sf_finite.c: Removed.
10599 * libm/math/sf_ilogb.c: Removed.
10600 * libm/math/sf_infinity.c: Removed.
10601 * libm/math/sf_log1p.c: Removed.
10602 * libm/math/sf_logb.c: Removed.
10603 * libm/math/sf_modf.c: Removed.
10604 * libm/math/sf_nan.c: Removed.
10605 * libm/math/sf_nextafter.c: Removed.
10606 * libm/math/sf_rint.c: Removed.
10607 * libm/math/sf_scalbn.c: Removed.
10608 * libm/math/Makefile.am: Removed references to deleted files (above).
10609 * libm/math/Makefile.in: Regenerated.
10610 * libm/Makefile.am: Added common directory to math.
10611 * libm/Makefile.in: Regenerated.
10612
10613Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
10614
10615 * libm/mathfp: Add non-ANSI functions.
10616 * libm/mathfp/e_acosh.c acosh(): New file.
10617 * libm/mathfp/e_atanh.c atanh(): New file.
10618 * libm/mathfp/e_hypot.c hypot(): New file.
10619 * libm/mathfp/e_j0.c j0(): New file.
10620 * libm/mathfp/e_j1.c j1(): New file.
10621 * libm/mathfp/e_remainder.c remainder(): New file.
10622 * libm/mathfp/e_scalb.c scalb(): New file.
10623 * libm/mathfp/ef_acosh.c acoshf(): New file.
10624 * libm/mathfp/ef_atanh.c atanhf(): New file.
10625 * libm/mathfp/ef_hypot.c hypotf(): New file.
10626 * libm/mathfp/ef_j0.c j0f(): New file.
10627 * libm/mathfp/ef_j1.c j1f(): New file.
10628 * libm/mathfp/ef_remainder.c remainderf(): New file.
10629 * libm/mathfp/ef_scalb.c scalbf(): New file.
10630 * libm/mathfp/er_gamma.c gamma_r: New file.
10631 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
10632 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
10633 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
10634 * libm/mathfp/w_cabs.c cabs(): New file.
10635 * libm/mathfp/w_drem.c drem(): New file.
10636 * libm/mathfp/w_jn.c jn(): New file.
10637 * libm/mathfp/wf_cabs.c cabsf(): New file.
10638 * libm/mathfp/wf_drem.c dremf(): New file.
10639 * libm/mathfp/wf_jn.c jnf(): New file.
10640
10641Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
10642
10643 * libc/sys/cygwin32: remove directory and contents
10644 * libc/sys/cygwin: and add back, losing the "32".
10645 * configure.host: check for cygwin* instead of cygwin32.
10646 * acinclude.m4: ditto.
10647 * aclocal.m4: regenerate with aclocal
10648 * configure: regenerate with autoconf
10649
10650Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
10651
10652 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
10653 for length
10654
10655Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
10656
10657 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
10658 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
10659 to make rand/srand, strtok, asctime, localtime, w_gamma,
10660 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
10661 time.h to bring in struct tm definition.
10662 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
10663 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
10664 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
10665 instead of static variable.
10666 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
10667 struct reent instead of static variable.
10668 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
10669 struct reent instead of static variable.
10670 * libm/math/Makefile.am: Removed s_signgam.o.
10671 * libm/math/Makefile.in: Regenerated.
10672 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
10673 struct reent instead of global variable 'signgam'.
10674 * libm/math/w_lgamma.c (lgamma): Likewise.
10675 * libm/math/wf_gamma.c (gammaf): Likewise.
10676 * libm/math/wf_lgamma.c (lgammaf): Likewise.
10677 * libm/math/s_signgam.c: Removed.
10678 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
10679 to be const.
10680 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
10681 to be const.
10682 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
10683 libc/include/reent.h.
10684 * libc/reent/Makefile.in: Regenerated.
10685 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
10686 to be const.
10687 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
10688 'JIS_action_table' to be const.
10689 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
10690
10691Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
10692
10693 * acinclude.m4: $with_target_subdir should default to '.'
10694 or confusion results when configuring in same directory as sources.
10695 * Regenerate all aclocal.m4 and configure files.
10696
10697Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
10698
10699 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
10700 can be set by defining MALLOC_ALIGNMENT=16. Also added support
10701 for platforms where sizeof(size_t) < sizeof(long) via
10702 SIZE_T_SMALLER_THAN_LONG macro.
10703
10704Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
10705
10706 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
10707 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
10708 which sets _CLOCKS_PER_SEC_ for selected machines.
10709 * libc/include/machine/time.h: New file.
10710
10711Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
10712
10713 * libc/syscalls/sysexecve.c: New file.
10714 * libc/syscalls/sysgettod.c: New file.
10715 * libc/syscalls/systimes.c: New file.
10716 * libc/syscalls/Makefile.am: Added new objects.
10717 * libc/syscalls/Makefile.in: Regenerated.
10718 * libc/include/_syslist.h (_execve): Moved define in file.
10719 * libc/include/reent.h: Added _execve_r declaration.
10720 * libc/Makefile.in: Regenerated.
10721 * libc/ctype/Makefile.in: Regenerated.
10722 * libc/errno/Makefile.in: Regenerated.
10723 * libc/locale/Makefile.in: Regenerated.
10724 * libc/machine/Makefile.in: Regenerated.
10725 * libc/misc/Makefile.in: Regenerated.
10726 * libc/posix/Makefile.in: Regenerated.
10727 * libc/reent/Makefile.in: Regenerated.
10728 * libc/reent/execr.c (_execve_r): Added _execve_r function.
10729 * libc/signal/Makefile.in: Regenerated.
10730 * libc/stdio/Makefile.in: Regenerated.
10731 * libc/time/Makefile.in: Regenerated.
10732 * libc/unix/Makefile.in: Regenerated.
10733 * libm/mathfp/Makefile.in: Regenerated.
10734
10735Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
10736
10737 * libc/string/Makefile.in: Regenerated.
10738 * libc/string/memchr.c (memchr): Moved code to reduce object size.
10739 * libc/string/memcpy.c (memcpy): Ditto.
10740 * libc/string/memcmp.c (memcmp): Ditto.
10741 * libc/string/memset.c (memset): Ditto.
10742 * libc/string/strchr.c (strchr): Ditto.
10743 * libc/string/strcmp.c (strcmp): Ditto.
10744 * libc/string/strcpy.c (strcpy): Ditto.
10745 * libc/string/strlen.c (strlen): Ditto.
10746
10747Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
10748
10749 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
10750 to generate aclocal.m4.
10751 * libm/Makefile.in: Regenerated.
10752 * libm/aclocal.m4: Regenerated.
10753 * libm/configure: Regenerated.
10754 * libm/math/Makefile.in: Regenerated.
10755 * libm/mathfp/Makefile.in: Regenerated.
10756
107571998-09-25 Mark Salter <msalter@cygnus.com>
10758
10759 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
10760 by adding leading and trailing underscores to symbol names.
10761
10762Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
10763
10764 * Makefile.in: Add default for AR_FLAGS.
10765
10766Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
10767
10768 patch from ian@airs.com (Ian Taylor):
10769 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
10770 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
10771 is needed for detecting the build machine. Required for
10772 cygwin native builds.
10773
10774 * Regenerate all aclocal.m4 and configure files.
10775
10776Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
10777
10778 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
10779 used to start with LC.
10780
10781Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10782
10783 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
10784 (longjmp): Likewise.
10785
10786Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10787
10788 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
10789 the test for small number of bytes.
10790
10791Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
10792
10793 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
10794 math library that uses floating point algorithms instead of the old
10795 libm.
10796 * Makefile.in: Regenerate with automake version 1.3b.
10797 * configure: Rebuild.
10798 * libm/Makefile.in: Regenerate with automake version 1.3b.
10799 * libm/aclocal.m4: Regenerate.
10800 * libm/configure: Rebuild.
10801 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
10802 * libm/acinclude.m4: Define macros for configure.in.
10803 * libm/config.h.in: Generate.
10804 * libm/mathfp/Makefile.am: New file.
10805 * libm/mathfp/Makefile.in: Generate.
10806 * libm/mathfp/s_acos.c (acos): New file.
10807 * libm/mathfp/s_asin.c (asin): New file.
10808 * libm/mathfp/s_asine.c (asine): New file.
10809 * libm/mathfp/s_atan.c (atan): New file.
10810 * libm/mathfp/s_atan2.c (atan2): New file.
10811 * libm/mathfp/s_atangent.c (atangent): New file.
10812 * libm/mathfp/s_ceil.c (ceil): New file.
10813 * libm/mathfp/s_copysign.c (copysign): New file.
10814 * libm/mathfp/s_cos.c (cos): New file.
10815 * libm/mathfp/s_cosh.c (cosh): New file.
10816 * libm/mathfp/s_exp.c (exp): New file.
10817 * libm/mathfp/s_fabs.c (fabs): New file.
10818 * libm/mathfp/s_finite.c (finite): New file.
10819 * libm/mathfp/s_floor.c (floor): New file.
10820 * libm/mathfp/s_fmod.c (fmod): New file.
10821 * libm/mathfp/s_frexp.c (frexp): New file.
10822 * libm/mathfp/s_infconst.c: New file.
10823 * libm/mathfp/s_isinf (isinf).c: New file.
10824 * libm/mathfp/s_isnan.c (isnan): New file.
10825 * libm/mathfp/s_ispos.c (ispos): New file.
10826 * libm/mathfp/s_ldexp.c (ldexp): New file.
10827 * libm/mathfp/s_log.c (log): New file.
10828 * libm/mathfp/s_log10.c (log10): New file.
10829 * libm/mathfp/s_logarithm.c (logarithm): New file.
10830 * libm/mathfp/s_mathcnst.c: New file.
10831 * libm/mathfp/s_modf (modf).c: New file.
10832 * libm/mathfp/s_numtest.c (numtest): New file.
10833 * libm/mathfp/s_pow.c (pow): New file.
10834 * libm/mathfp/s_scalbn.c (scalbn): New file.
10835 * libm/mathfp/s_sin (sin).c: New file.
10836 * libm/mathfp/s_sine.c (sine): New file.
10837 * libm/mathfp/s_sineh.c (sineh): New file.
10838 * libm/mathfp/s_sinf.c (sinf): New file.
10839 * libm/mathfp/s_sinh.c (sinh): New file.
10840 * libm/mathfp/s_sqrt.c (sqrt): New file.
10841 * libm/mathfp/s_tan.c (tan): New file.
10842 * libm/mathfp/s_tanh.c (tanh): New file.
10843 * libm/mathfp/sf_acos.c (acosf): New file.
10844 * libm/mathfp/sf_asin.c (asinf): New file.
10845 * libm/mathfp/sf_asine.c (asinef): New file.
10846 * libm/mathfp/sf_atan.c (atanf): New file.
10847 * libm/mathfp/sf_atan2.c (atan2f): New file.
10848 * libm/mathfp/sf_atangent.c (atangent): New file.
10849 * libm/mathfp/sf_ceil.c (ceilf): New file.
10850 * libm/mathfp/sf_copysign.c (copysignf): New file.
10851 * libm/mathfp/sf_cos.c (cosf): New file.
10852 * libm/mathfp/sf_cosh.c (coshf): New file.
10853 * libm/mathfp/sf_exp.c (expf): New file.
10854 * libm/mathfp/sf_fabs.c (fabsf): New file.
10855 * libm/mathfp/sf_finite.c (finitef): New file.
10856 * libm/mathfp/sf_floor.c (floorf): New file.
10857 * libm/mathfp/sf_fmod.c (fmodf): New file.
10858 * libm/mathfp/sf_frexp.c (frexpf): New file.
10859 * libm/mathfp/sf_isinf.c (isinff): New file.
10860 * libm/mathfp/sf_isnan.c (isnanf): New file.
10861 * libm/mathfp/sf_ispos.c (isposf): New file.
10862 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
10863 * libm/mathfp/sf_log.c (logf): New file.
10864 * libm/mathfp/sf_log10.c (log10f): New file.
10865 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
10866 * libm/mathfp/sf_modf.c (modff): New file.
10867 * libm/mathfp/sf_numtest.c (numtestf): New file.
10868 * libm/mathfp/sf_pow.c (powf): New file.
10869 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
10870 * libm/mathfp/sf_sin.c (sinf): New file.
10871 * libm/mathfp/sf_sine.c (sinef): New file.
10872 * libm/mathfp/sf_sineh.c (sinehf): New file.
10873 * libm/mathfp/sf_sinh.c (sinhf): New file.
10874 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
10875 * libm/mathfp/sf_tan.c (tanf): New file.
10876 * libm/mathfp/sf_tanh.c (tanhf): New file.
10877 * libm/mathfp/zmath.h: New file.
10878
10879Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10880
10881 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
10882 exit if it has been overwritten by pre-fetching in delay slot.
10883
108841998-09-01 Michael Meissner <meissner@cygnus.com>
10885
10886 * Makefile.am (tooldir): Add in host_alias, so that multilib
10887 libraries are installed in the directory the compiler looks in.
10888 * Makefile.in: Regenerate.
10889
10890 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
10891
10892Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
10893
10894 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
10895 ahead of test for number of bytes being moved.
10896
10897Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
10898
10899 * libc/include/sys/unistd.h: Nothing special needed for
10900 _exit under cygwin.
10901
10902Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
10903
10904 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
10905 conform to user label naming conventions.
10906
10907Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
10908
10909 * libc/sys/cygwin32/sys/utime.h: variable names in
10910 protos should start with two leading underscores
10911 * libc/include/string.h: ditto
10912 * libc/include/sys/signal.h: ditto
10913 * libc/include/sys/stat.h: ditto
10914 * libc/include/sys/time.h: ditto
10915 * libc/include/sys/unistd.h: ditto
10916 * libc/include/ctype.h: ditto
10917 * libc/include/stdlib.h: ditto
10918 * libc/include/sys/reent.h: struct _atexit function ptr takes a
10919 void, same with _sig_func.
10920
10921Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
10922
10923 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
10924 for MB_CAPABLE to reduce code size when newlib is not configured
10925 with --enable-newlib-mb.
10926 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
10927 mbtowc_r.o to minimize size.
10928 * libc/stdlib/Makefile.in: Rebuild.
10929
10930Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
10931
10932 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
10933 to -DREENT.
10934 * libc/sys/sparc64/Makefile.in: Rebuild.
10935
10936Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
10937
10938 * Makefile.am (MAKEOVERRIDES): Define.
10939 * Makefile.in: Rebuild.
10940
10941Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
10942
10943 * libc/sys/sparc64/sys/stat.h (stat): Add const.
10944
10945Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
10946
10947 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
10948 newlib_cflags when looking for targ-include.
10949 * */aclocal.m4, */configure: Rebuild.
10950
10951Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
10952
10953 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
10954 to "_end".
10955
10956Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
10957
10958 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
10959 on SPARCs with little-endian data.
10960 * libc/include/machine/ieeefp.h: Ditto.
10961
10962Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
10963
10964 * acinclude.m4: Handle a relative srcdir correctly when setting
10965 newlib_cflags.
10966 * */aclocal.m4, */configure: Rebuild.
10967
10968Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
10969
10970 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
10971 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
10972 * libm/math/wrf_gamma.c (gammaf_r): ditto
10973 * libm/math/wr_lgamma.c (lgamma_r): ditto
10974 * libm/math/wr_gamma.c (gamma_r): ditto
10975 * libm/math/wf_sqrt.c (sqrtf): ditto
10976 * libm/math/wf_sinh.c (sinhf): ditto
10977 * libm/math/wf_scalb.c (scalbf): ditto
10978 * libm/math/wf_remainder.c (remainderf): ditto
10979 * libm/math/wf_pow.c (powf): ditto
10980 * libm/math/wf_log10.c (log10f): ditto
10981 * libm/math/wf_log.c (logf): ditto
10982 * libm/math/wf_lgamma.c (lgammaf): ditto
10983 * libm/math/wf_jn.c (jnf, ynf): ditto
10984 * libm/math/wf_j1.c (j1f, y1f): ditto
10985 * libm/math/wf_j0.c (j0f, y0f): ditto
10986 * libm/math/wf_hypot.c (hypotf): ditto
10987 * libm/math/wf_gamma.c (gammaf): ditto
10988 * libm/math/wf_fmod.c (fmodf): ditto
10989 * libm/math/wf_exp.c (expf): ditto
10990 * libm/math/wf_cosh.c (coshf): ditto
10991 * libm/math/wf_atanh.c (atanhf): ditto
10992 * libm/math/wf_atan2f.c (atan2f): ditto
10993 * libm/math/wf_asin.c (asinf): ditto
10994 * libm/math/wf_acosh.c (acoshf): ditto
10995 * libm/math/wf_acos.c (acosf): ditto
10996 * libm/math/w_sqrt.c (sqrt): ditto
10997 * libm/math/w_sinh.c (sinh): ditto
10998 * libm/math/w_scalb.c (scalb): ditto
10999 * libm/math/w_remainder.c (remainder): ditto
11000 * libm/math/w_pow.c (pow): ditto
11001 * libm/math/w_log10.c (log10): ditto
11002 * libm/math/w_log.c (log): ditto
11003 * libm/math/w_lgamma.c (lgamma): ditto
11004 * libm/math/w_jn.c (jn, yn): ditto
11005 * libm/math/w_j1.c (j1, y1): ditto
11006 * libm/math/w_j0.c (j0, y0): ditto
11007 * libm/math/w_hypot.c (hypot): ditto
11008 * libm/math/w_gamma.c (gamma): ditto
11009 * libm/math/w_fmod.c (fmod): ditto
11010 * libm/math/w_exp.c (exp): ditto
11011 * libm/math/w_cosh.c (cosh): ditto
11012 * libm/math/w_atanh.c (atanh): ditto
11013 * libm/math/w_atan2f.c (atan2): ditto
11014 * libm/math/w_asin.c (asin): ditto
11015 * libm/math/w_acosh.c (acosh): ditto
11016 * libm/math/w_acos.c (acos): ditto
11017
11018Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
11019
11020 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
11021 (fsrc): Add wf_cabs.c and wf_drem.c.
11022 * libm/math/Makefile.in: Rebuild.
11023
11024 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
11025 unused directory variables. Remove duplicate CFLAGS.
11026 * Makefile.in: Rebuild.
11027
11028 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
11029 with $(CC_FOR_BUILD).
11030 (makedoc.o): Likewise.
11031 * doc/Makefile.in: Rebuild.
11032
11033 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
11034 force a definition of COMPILE.
11035 (libfoo_a_SOURCES): Define.
11036 * libc/sys/cygwin32/Makefile.in: Rebuild.
11037 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
11038 force a definition of COMPILE.
11039 (libfoo_a_SOURCES): Define.
11040 * libc/sys/tic80/Makefile.in: Rebuild.
11041
11042Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
11043
11044 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
11045 flag.
11046
11047Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
11048
11049 * Build using autoconf and automake. Added many Makefile.am and
11050 configure.in files, plus generated files. Old configure.in files
11051 and all old Makefile.in files completely replaced. Removed
11052 host/any. Added acinclude.m4 and configure.host.
11053
11054Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
11055
11056 * libc/stdio/vfprintf.c: enable long long support, sometimes.
11057 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
11058
11059Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11060
11061 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
11062 * libc/machine/sh/Makefile.in: Add rules for new files.
11063
11064Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11065
11066 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
11067 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
11068 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
11069
11070Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
11071
11072 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
11073 code is ignored.
11074
11075Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
11076
11077 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
11078 internal static buffer when s is NULL, as prescribed by ANSI.
11079
110801998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
11081
11082 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
11083 removed.
11084 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
11085 libc/stdlib will be used for h8300hms.
11086
11087Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
11088
11089 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
11090 version that can be built either for speed or size.
11091 * libc/machine/mn10300/memset.S (_memset): ditto
11092 * libc/machine/mn10300/memchr.S (_memchr): ditto
11093 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
11094 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
11095 * libc/machine/mn10300/strchr.S (_strchr): ditto
11096 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
11097 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
11098 * libc/machine/mn10300/Makefile.in: Added entries for
11099 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
11100 strcmp.o, strcpy.o, and strlen.o.
11101
11102Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
11103
11104 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
11105 been replaced with libgloss/mn10200.
11106
11107Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
11108
11109 * libc/string/strchr.c (strchr): Make s a constant pointer to
11110 avoid warning.
11111
11112Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
11113
11114 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
11115 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
11116 board SWIs instead of Demon board SWIs).
11117
11118Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
11119
11120 * libc/string/strncat.c (strncat): Make -Os act the same as
11121 PREFER_SIZE_OVER_SPEED being defined.
11122
11123Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
11124
11125 * libc/string/memchr.c (memchr): Make -Os act the same as
11126 PREFER_SIZE_OVER_SPEED being defined.
11127 * libc/string/memcmp.c (memcmp): Ditto.
11128 * libc/string/memcpy.c (memcpy): Ditto.
11129 * libc/string/memset.c (memset): Ditto.
11130 * libc/string/strcat.c (strcat): Ditto.
11131 * libc/string/strchr.c (strchr): Ditto.
11132 * libc/string/strcmp.c (strcmp): Ditto.
11133 * libc/string/strcpy.c (strcpy): Ditto.
11134 * libc/string/strlen.c (strlen): Ditto.
11135 * libc/string/strncat.c (strncat): Ditto.
11136 * libc/string/strncmp.c (strncmp): Ditto.
11137 * libc/string/strncpy.c (strncpy): Ditto.
11138
11139Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
11140
11141 * libc/include/sys/itimer.h: remove
11142 * libc/include/sys/time.h: itimer stuff should be here
11143
11144Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
11145
11146 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
11147 bit instead of comparing to 0 so -0.0 can be printed correctly.
11148
11149Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11150
11151 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
11152
11153Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
11154
11155 * libc/include/sys/unistd.h: fix sync() proto
11156 * libc/include/sys/fcntl.h: remove _close which is already
11157 defined in unistd.h.
11158 * libc/include/sys/time.h: add getitimer proto
11159
11160Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
11161
11162 * libc/string/strchr.c: convert arg to unsigned char
11163 * libc/include/stdlib.h: add protos for random, srandom
11164 * libc/include/sys/stat.h: add lstat proto
11165 * libc/include/sys/time.h: add setitimer proto
11166 * libc/include/sys/unistd.h: add readlink, symlink protos
11167 * libc/include/process.h: instead of including windows.h and using
11168 HANDLEs in sexec protos, just use void *s. Need to include
11169 sys/types.h.
11170
11171Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
11172
11173 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
11174
11175Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
11176
11177 * libc/include/process.h: add secure exec protos
11178
11179Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
11180
11181 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
11182 which are accessed as both doubles and integers.
11183 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
11184 * libc/stdlib/strtod.c (_strtod_r): Likewise.
11185 * libc/stdlib/mprec.h: Add "union double_union" and change
11186 word0/word1 macros to use it.
11187
11188Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
11189
11190 * libc/include/sys/signal.h: add __cplusplus wrapper
11191
11192Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
11193
11194 * libc/include/sys/utime.h: new generic file that gets replaced by
11195 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
11196 function.
11197 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
11198 * libc/include/time.h: remove duplicate utime proto
11199 * libc/include/utime.h: add comment
11200
11201Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
11202
11203 * libc/include/sys/time.h: Add missing include to
11204 allow use of _EXFUN. Remove times function that is
11205 already defined in times.h.
11206
11207Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
11208
11209 * libc/include/time.h: Fix typo in tzset.
11210
11211Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
11212
11213 * libc/include/sys/time.h: add missing Cygwin32 function protos
11214 * libc/include/sys/unistd.h: ditto
11215 * libc/include/time.h: ditto
11216
11217Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
11218
11219 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
11220 FIXME.
11221 * libc/include/sys/types.h: add a new __MS_types__ section
11222 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
11223 __BIT_TYPES_DEFINED__.
11224
11225Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
11226
11227 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
11228 since it overrides the one in libc/include/sys. Also, start
11229 including types.h.
11230
11231Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
11232
11233 * libm/math/Makefile.in: add s_signgam.o to obj list
11234
11235Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
11236
11237 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
11238
11239Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
11240
11241 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
11242 so don't use defines.
11243
11244Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
11245
11246 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
11247
11248Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
11249
11250 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
11251 _current_locale as default locale.
11252
11253Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
11254
11255 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
11256 insufficient space in a chunk.
11257
11258Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
11259
11260 * configure.in (links): Added check for --enable-newlib-mb configure
11261 option which defines the MB_CAPABLE macro.
11262 * libc/locale/locale.c (_setlocale_r): Added support for setting
11263 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
11264 defined.
11265 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
11266 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
11267 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
11268 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
11269 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
11270 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
11271 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
11272 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
11273 * libc/stdlib/Makefile.in: Added new multibyte
11274 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
11275 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
11276 _mbstowcs_r(), and _wcstombs_r().
11277 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
11278 for JIS, SJIS, and EUC-JP characters.
11279 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
11280 MB_CAPABLE defined.
11281 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
11282 MB_CAPABLE defined.
11283 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
11284 MB_CAPABLE defined.
11285 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
11286 if MB_CAPABLE defined.
11287 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
11288 if MB_CAPABLE defined.
11289 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
11290 to the format string processing when MB_CAPABLE.
11291 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
11292 call _mbtowc_r().
11293
11294Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
11295
11296 The following modifications are courtesy of Anthony Thompson,
11297 athompson@cambridge.arm.com:
11298 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
11299 boith RDI and RDP monitors.
11300 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
11301 RDI and RDP monitors.
11302
11303Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
11304
11305 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
11306 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
11307 (_swiopen): Fixed open flags to treat write with append as just append.
11308 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
11309 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
11310
11311Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11312
11313 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
11314 When needing to transfer an initial 2-byte-word, store as
11315 two single bytes.
11316
11317Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11318
11319 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
11320 __SH3E__ .
11321 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
11322 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
11323
11324Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
11325
11326 * configure.in (target_cflags): If --enable-target-optspace, use
11327 -Os to compile newlib rather than -O2. Default to using -Os for
11328 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
11329 used.
11330
11331Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
11332
11333 * libc/include/machine/setjmp.h: change sigsetjmp and
11334 siglongjmp definitions to use an array instead of a struct
11335 for __CYGWIN32__
11336
11337Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
11338
11339 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
11340
11341Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
11342
11343 * libc/string/strxfrm.c: fix to get correct return value
11344
11345Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
11346
11347 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
11348 builds. Make mode change labels global so that they will be seen
11349 by the debugger.
11350
11351Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
11352
11353 * configure.in (links): Do not use ARM debiugging protocols for PE
11354 builds.
11355
11356 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
11357 message.
11358
11359Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
11360
11361 * libc/stdio/findfp.c (__sinit): Made stdout default to
11362 line buffered mode as defined by ANSI.
11363
11364Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
11365
11366 * libc/include/sys/itimer.h: New file.
11367
11368 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
11369
11370Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11371
11372 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
11373 failure.
11374
11375Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
11376
11377 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
11378 insns.
11379
11380Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
11381
11382 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
11383
11384Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
11385
11386 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
11387 support.
11388
11389 * libc/include/machine/setjmp.h: Add D30V support.
11390
11391 * configure.in (d30v-*): Add d30v machine directory.
11392
11393Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
11394
11395 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
11396 been replaced with libgloss/mn10300.
11397
11398Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
11399
11400 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
11401 it is no longer needed.
11402
11403Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
11404
11405 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
11406
11407Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
11408
11409 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
11410 the file when O_APPEND is set, wherever the EOF happens to be at
11411 that time.
11412
11413Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
11414
11415 patch from cgf@bbc.com (Christopher Faylor):
11416 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
11417 convention of closing fp prior to attempting to open the file
11418 argument. This allows correct operation when reopening
11419 stdin/stdout/stderr. Replaces last freopen.c patch.
11420
11421Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
11422
11423 patch from cgf@bbc.com (Christopher Faylor):
11424 * libc/stdio/freopen.c: freopen was not preserving the fd
11425 of the stream being operated on. This confuses programs that
11426 expect that the handles for stdout and stderr will be 1 and 2.
11427
11428Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
11429
11430 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
11431
11432Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
11433
11434 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
11435
11436Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
11437
11438 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
11439 altered to not use a branch. Also added hint that last
11440 bclr in longjmp will likely result in branch.
11441
11442
11443Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
11444
11445 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
11446
11447Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
11448
11449 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
11450 v850 builds.
11451
11452 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
11453
11454Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
11455
11456 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
11457 that loads FR14 to specify offset of 8 rather than 4
11458 so it loads from offset 96 (where setjmp stored it).
11459
11460Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
11461
11462 * libc/machine/sh/memcpy.S: (_memcpy): Update to
11463 latest version supplied by customer.
11464 * libc/machine/sh/memset.S (_memset): Ditto.
11465
11466Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
11467
11468 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
11469 PR14730).
11470
11471Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
11472
11473 * libc/include/string.h: remove redefinition of ffs
11474
11475Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
11476
11477 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
11478 defined
11479
11480Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
11481
11482 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
11483 TI Libraries to link to libc.a
11484
11485Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
11486
11487 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
11488 * libc/include/sys/stat.h (_{,f}stat): Ditto.
11489 * libc/include/sys/wait.h (_wait): Ditto.
11490 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
11491 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
11492
11493Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
11494
11495 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
11496 minded stabs so function name shows up when running the simulator
11497 with -t.
11498 * libc/sys/d10v/{crt0,trap}.S: Ditto.
11499
11500Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
11501
11502 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
11503 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
11504 Use R5 where we used to use R3.
11505
11506Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
11507
11508 * libc/stdlib/getopt.c (getopt): replaced __progname
11509 with nargv[0] to improve portability to imbedded systems.
11510
11511Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
11512
11513 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
11514 patch supplied by Tont.Thompson@arm.com to fix the creation of the
11515 stdout file.
11516
11517Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
11518
11519 * libc/stdio/tmpnam.c (worker): Generate a different file name
11520 each time.
11521
11522 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
11523 fails, try an execlp for sh.
11524
11525 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
11526 option for the winsup include directory.
11527
11528Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
11529
11530 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
11531 debugging interface from Tony.Thompson@arm.com.
11532
11533 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
11534 * libc/sys/arm/swi.h: ditto.
11535
11536Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
11537
11538 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
11539 DIR struct used for readdir hashes.
11540
11541Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
11542
11543 * libc/string/strchr.c: Use "unsigned chars" as necessary.
11544
11545Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
11546
11547 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
11548 integer targets.
11549
11550Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
11551
11552 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
11553 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
11554 * libc/include/malloc.h: Add extern "C" if __cplusplus.
11555 (__malloc_copy): Declare.
11556
11557Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
11558
11559 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
11560 <sys/config.h>.
11561 (POINTER_UINT): Define.
11562 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
11563 (MALLOC_ALIGNMENT): Don't define if already defined.
11564 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
11565 long.
11566
11567Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
11568
11569 * libc/string/memset.c (memset): Fiddle with code so that the long
11570 value being stored is not a stack value. Unroll storing longs 4
11571 times.
11572
11573Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
11574
11575 * Reduce code size for libm modules.
11576 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
11577 and simply move code into sqrt.
11578 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
11579 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
11580 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
11581 * libm/math/wr_gamma.c (gamma_r): Likewise.
11582 * libm/math/wf_sinh.c (sinfh): Likewise.
11583 * libm/math/w_sinh.c (sinh): Likewise.
11584 * libm/math/wf_scalb.c (scalbf): Likewise.
11585 * libm/math/w_scalb.c (scalb): Likewise.
11586 * libm/math/wf_remainder.c (remainderf): Likewise.
11587 * libm/math/w_remainder.c (remainder): Likewise.
11588 * libm/math/wf_pow.c (powf): Likewise.
11589 * libm/math/w_pow.c (pow): Likewise.
11590 * libm/math/wf_log10.c (log10f): Likewise.
11591 * libm/math/w_log10.c (log10): Likewise.
11592 * libm/math/wf_log.c (logf): Likewise.
11593 * libm/math/w_log.c (log): Likewise.
11594 * libm/math/w_lgamma.c (lgamma): Likewise.
11595 * libm/math/wf_lgamma.c (lgammaf): Likewise.
11596 * libm/math/wf_jn.c (jnf): Likewise.
11597 * libm/math/w_jn.c (jn): Likewise.
11598 * libm/math/wf_j1.c (j1f): Likewise.
11599 * libm/math/w_j1.c (j1): Likewise.
11600 * libm/math/wf_j0.c (j0f): Likewise.
11601 * libm/math/w_j0.c (j0): Likewise.
11602 * libm/math/wf_hypot.c (hypotf): Likewise.
11603 * libm/math/w_hypot.c (hypot): Likewise.
11604 * libm/math/wf_gamma.c (gammaf): Likewise.
11605 * libm/math/w_gamma.c (gamma): Likewise.
11606 * libm/math/wf_fmod.c (fmodf): Likewise.
11607 * libm/math/w_fmod.c (fmod): Likewise.
11608 * libm/math/wf_exp.c (expf): Likewise.
11609 * libm/math/w_exp.c (exp): Likewise.
11610 * libm/math/wf_cosh.c (coshf): Likewise.
11611 * libm/math/w_cosh.c (cosh): Likewise.
11612 * libm/math/wf_atanh.c (atanhf): Likewise.
11613 * libm/math/w_atanh.c (atanh): Likewise.
11614 * libm/math/wf_atan2.c (atan2f): Likewise.
11615 * libm/math/w_atan2.c (atan2): Likewise.
11616 * libm/math/wf_asin.c (asinf): Likewise.
11617 * libm/math/w_asin.c (asin): Likewise.
11618 * libm/math/wf_acosh.c (acoshf): Likewise.
11619 * libm/math/w_acosh.c (acosh): Likewise.
11620 * libm/math/wf_acos.c (asocf): Likewise.
11621 * libm/math/w_acos.c (acos): Likewise.
11622 * libm/math/wf_sqrt.c (sqrtf): Likewise.
11623 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
11624 for embedded systems.
11625
11626Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
11627
11628 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
11629 Lea in case of a foreign sbrk.
11630
11631Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
11632
11633 Incorporate Doug Lea's malloc:
11634 * libc/stdlib/mallocr.c: Completely replaced.
11635 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
11636 (realloc): Remove.
11637 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
11638 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
11639 mallopt.
11640 (mallinfo, malloc_stats, mallopt): New functions.
11641 (_mstats_r): Just call _malloc_stats_r.
11642 * libc/stdlib/malign.c: New file.
11643 * libc/stdlib/mlock.c: New file.
11644 * libc/stdlib/msize.c: New file.
11645 * libc/stdlib/mtrim.c: New file.
11646 * libc/stdlib/realloc.c: New file.
11647 * libc/stdlib/valloc.c: New file.
11648 * libc/stdlib/malloc.h: Remove.
11649 * libc/stdlib/callocr.c: Remove.
11650 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
11651 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
11652 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
11653 reallocr.o, valloc.o, vallocr.o.
11654 (CHEWOUT_FILES): Add mlock.def, mstats.def.
11655 (MALLOC_CFLAGS): New variable.
11656 (mallocr.o): New target, build from mallocr.c.
11657 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
11658 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
11659 (msizer.o, malloptr.o): Likewise.
11660 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
11661 (valloc.o): New target.
11662 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
11663 * libc/include/malloc.h: Declare struct mallinfo, and new
11664 routines.
11665 * libc/include/stdlib.h (cfree): Correct declaration.
11666
11667Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
11668
11669 * libc/include/machine/setjmp.h: Add support for Thumb target.
11670
11671 * libc/include/machine/ieeefp.h: Add support for Thumb target.
11672
11673 * configure.in (links): Add support for Thumb target.
11674
11675Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
11676
11677 * libc/sys/arm/setjmp.S: Updated with version from branch.
11678
11679Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
11680
11681 * libc/include/stdio.h: add POSIX-required define L_ctermid
11682 for ctermid
11683
11684Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
11685
11686 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
11687 addition to MISSING_SYSCALL_NAMES.
11688
11689Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
11690
11691 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
11692
11693Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
11694
11695 * libc/include/string.h: change strsignal proto to return
11696 a char *. This eliminates compile problems in gdb resulting
11697 from gdb's definition of strsignal in defs.h.
11698
11699Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
11700
11701 * libc/sys/cygwin32/sys/utime.h: new (moved here from
11702 winsup/include) so as not to conflict with the one in
11703 libc/include.
11704 * libc/include/string.h: add protos for strsignal, strtosigno
11705
11706Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
11707
11708 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
11709
11710 * configure.in (d30v-*-*): Add configuration.
11711
11712Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
11713
11714 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
11715 to select which kind of debug monitor is in use for an ARM target.
11716
11717 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
11718 Angel and Demon debug monitors. Part of this code was supplied by
11719 Tony Thompson at ARM: athompso@arm.com.
11720
11721Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
11722
11723 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
11724 semantics when the count is greater than the length of the second
11725 source string.
11726
11727Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
11728
11729 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
11730 * libc/include/sys/unistd.h: add protos for usleep, truncate,
11731 truncate and ftruncate take off_t, not size_t
11732
11733Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
11734
11735 * libc/string/strcat.c (strcat): Add missing comment end.
11736 * libc/string/strncat.c (strncat): Likewise.
11737
11738Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
11739
11740 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
11741 targets.
11742 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
11743 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
11744 defined.
11745 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
11746 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
11747 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
11748
11749Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
11750
11751 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
11752 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
11753
11754Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
11755
11756 * libc/machine/i386/setjmp.S: New file.
11757 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
11758 (OFILES): Add setjmp.o.
11759 (setjmp.o): Add rule for.
11760 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
11761
11762Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
11763 Jeffrey A Law (law@cygnus.com)
11764
11765 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
11766 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
11767 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
11768 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
11769
11770Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
11771
11772 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
11773 rules.
11774
11775 * libc/include/sys/config.h: Use __v850 to select v850
11776 endianness.
11777
11778 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
11779 buffer size.
11780
11781 * libc/include/machine/ieeefp.h: Use __v850 to select v850
11782 endianness.
11783
11784Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
11785
11786 * libc/stdlib/setenv.c: change unsetenv definition to match
11787 style of setenv (with _DEFUN). The string should be a const.
11788 * libc/include/stdlib.h: unsetenv proto should return void.
11789
11790Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
11791
11792 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
11793
11794Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
11795
11796 * libc/stdio/glue.h: remove.
11797 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
11798 * libc/stdio/Makefile.in: remove glue.h dependencies
11799
11800Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
11801
11802 * libc/sys/sysnecv850/crt0.S: Created V850e version.
11803
11804Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
11805
11806 * configure.in (target_cpu): Add `arc'.
11807
11808Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
11809
11810 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
11811 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
11812 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
11813 * newlib/libc/reent/reent.c: Add _wrapup_reent.
11814 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
11815
11816Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
11817
11818 * libc/machine/mips/setjmp.S: Handle mips16 builds.
11819
11820Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
11821
11822 * libc/include/stdio.h (siprintf): Declare.
11823
11824Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
11825
11826 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
11827 TARGET_CFLAGS and NEWLIB_FLAGS.
11828
11829Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
11830
11831 * configure.in (links): Add support for v850ea target.
11832
11833Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
11834
11835 * configure.in (links): Add support for v850e target.
11836
11837Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
11838
11839 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
11840
11841Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
11842
11843 * configure.in (arc-*-*): Add support for.
11844 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
11845
11846Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
11847
11848 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
11849
11850Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
11851
11852 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
11853 comparison which accesses invalid memory when the key is
11854 larger than the last member of the array.
11855 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
11856 for CYGWIN32
11857 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
11858
11859Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
11860
11861 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
11862 not _STRICT_ANSI.
11863
11864Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
11865
11866 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
11867 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
11868
11869Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
11870
11871 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
11872 to load/store memory.
11873
11874Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
11875
11876 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
11877 underscores if _WIN32.
11878
11879Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
11880
11881 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
11882 support ifdef _USE_WRITE missed in last change.
11883 From Anders Blomdell <anders.blomdell@control.lth.se>.
11884
11885Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
11886
11887 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
11888 (_tmpnam_r, _tempnam_r): Update.
11889
11890Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
11891
11892 * libc/machine/sparc/setjmp.S: New file.
11893 * libc/machine/sparc/Makefile.in: Add setjmp.
11894 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
11895
11896Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
11897
11898 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
11899
11900Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
11901
11902 From Joel Sherrill <joel@oarcorp.com>.
11903 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
11904
11905 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
11906 * configure.in: Recognize *-*-rtems*.
11907 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
11908 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
11909 time.h,times.h,types.h}: New files.
11910 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
11911
11912Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
11913
11914 patch from sos@prospect.com.ru (Sergey Okhapkin):
11915 * include/sys/wait.h: correct operator precidence bug
11916 in WIFSIGNALED
11917
11918Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
11919
11920 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
11921 with newlib's unsetenv function
11922 * libc/sys/cygwin32/sys: new directory for includes
11923 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
11924 here from winsup/include/sys
11925
11926Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
11927
11928 * libc/include/sys/unistd.h: _exit should only be
11929 labelled noreturn when not __CYGWIN32__
11930 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
11931 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
11932 increment NSIG
11933
11934Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
11935
11936 * libc/include/sys/time.h: Only define timeval and timezone if
11937 _GNU_H_WINDOWS32_SOCKETS is not defined.
11938 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
11939
11940Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
11941
11942 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
11943 * libc/machine/mn10300/setjmp.S: Likewise.
11944
11945 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
11946 the mn10300 (more relaxing opportunities).
11947
11948Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
11949
11950 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
11951 Build libraries with -mstrict-align.
11952
11953Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
11954
11955 * libc/string/strlwr.c: New file.
11956 * libc/string/strupr.c: New file.
11957 * libc/include/string.h: Declare strlwr and strupr.
11958 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
11959 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
11960 (strlwr.o, strupr.o): New targets.
11961 * libc/string/strings.tex: Include strlwr and strupr docs.
11962
11963 * libc/include/sys/types.h: Don't define u_char, et. al., if
11964 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
11965 et. al. Make FD_SETSIZE default 64 rather than 60. Define
11966 _types_fd_set rather than fd_set, and define fd_set as a macro.
11967
11968 * libc/include/malloc.h: New file.
11969
11970 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
11971 strnicmp if they are not already defined.
11972
11973 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
11974 _timezone, _daylight, and _tzname.
11975
11976Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
11977
11978 * configure.in: Sort all configuration tables.
11979
11980 From Joel Sherrill <joel@oarcorp.com>
11981 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
11982
11983Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
11984
11985 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
11986 use int when declaring kill.
11987
11988 * libc/include/sys/timeb.h: New file.
11989
11990Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
11991
11992 * libc/include/sys/time.h: add itimer support for Cygwin32
11993
11994Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
11995
11996 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
11997 out a message that abort was called to stderr.
11998
11999Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
12000
12001 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
12002 so that libio doesn't freak.
12003
12004 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
12005 int.
12006
12007 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
12008 memory sizes, not int.
12009
12010Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
12011
12012 * libm/math/ef_hypot.c: Use long constants where
12013 appropriate.
12014 * libm/math/ef_sqrt.c: Ditto.
12015
12016 * libc/sys/sysmec/times.c(_times): Change to times.
12017
12018 * libc/sys/sysmec/read.c(_read): The third argument is
12019 size_t.
12020 * libc/sys/sysmec/write.c (_write): Ditto.
12021
12022 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
12023 (_lseek): It's off_t for the second argument.
12024
12025Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
12026
12027 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
12028 as well as machine/ieeefp.h.
12029
12030Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
12031
12032 * libc/include/sys/signal.h: add signal protos for winsup
12033 functions (when __CYGWIN32__), include types.h
12034 * libc/include/sys/types.h: Change __go32_types__ internal
12035 define to __MS_types__ since it's used for more than just
12036 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
12037 defined.
12038 * libc/include/sys/unistd.h: add ftruncate proto for
12039 winsup functions (when __CYGWIN32__)
12040
12041Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
12042
12043 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
12044
12045Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
12046
12047 * libc/include/machine/setjmp.h: Add tic80 support.
12048 * libc/machine/tic80/setjmp.S: Likewise.
12049
12050Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
12051
12052 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
12053 link programs from libraries only (such as in the X11
12054 distribution)
12055
12056Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
12057
12058 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
12059 supplied elsewhere in newlib.
12060
12061Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
12062
12063 * Makefile.in (INSTALL): Change install.sh to install-sh.
12064
12065Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
12066
12067 * README: update WWW address for on-line documentation.
12068
12069Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
12070
12071 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
12072 increment NSIG
12073
12074Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
12075
12076 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
12077 mn10300.
12078 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
12079
12080Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
12081
12082 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
12083 * libc/sys/d10v/syscalls.c: Likewise.
12084 * libc/sys/h8300hms/sbrk.c: Likewise.
12085 * libc/sys/h8500hms/syscalls.c: Likewise.
12086 * libc/sys/m88kbug/syscalls.c: Likewise.
12087 * libc/sys/sh/syscalls.c: Likewise.
12088 * libc/sys/sysmec/sbrk.c: Likewise.
12089 * libc/sys/sysnecv850/sbrk.c: Likewise.
12090 * libc/sys/w65/syscalls.c: Likewise.
12091 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
12092
12093Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
12094
12095 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
12096 emulated syscall instead of "trap".
12097
12098Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
12099
12100 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
12101 not trap 0.
12102
12103Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
12104
12105 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
12106
12107Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
12108
12109 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
12110 not "sh".
12111 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
12112 not "d10v".
12113 * libc/sys/tic80/crt0.c: New file for TIc80.
12114 * libc/sys/tic80/Makefile.in: New file for TIc80.
12115 * libc/machine/tic80/Makefile.in: New file for TIc80.
12116
12117Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
12118
12119 * libc/machine/sh/memcpy.S: New file.
12120 * libc/machine/sh/memset.S: New file.
12121 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
12122
12123Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
12124
12125 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
12126 for TIc80.
12127
12128Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
12129
12130 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
12131 the mn10200.
12132
12133Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
12134
12135 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
12136 (patch from andrew@pogo.WV.TEK.COM).
12137
12138Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
12139
12140 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
12141 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
12142
12143Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
12144
12145 * configure.in: Add cases for "tic80" to set machine_dir,
12146 sys_dir, and syscall_dir.
12147
12148Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
12149
12150 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
12151
12152Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
12153
12154 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
12155
12156Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
12157
12158 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
12159 Use proper constant prefix.
12160
12161Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
12162
12163 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
12164 that loses on the mn10200 where ints and pointers are different
12165 sizes.
12166
12167Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
12168
12169 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
12170 target as signal is provided in winsup.
12171
12172Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
12173
12174 * libc/include/sys/process.h: Corrected const definitions
12175 in spawn functions. Added cwait.
12176
12177Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
12178
12179 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
12180 doubles.
12181 * libc/include/sys/config.h: Similarly.
12182
12183Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12184
12185 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
12186 target_cflags.
12187 (i[3456]86-*-sco*): Ditto.
12188
12189 * libc/signal/Makefile.in (OFILES): Add signal.o.
12190 (CFILES): Add signal.c.
12191
12192 * libc/signal/raise.c (_raise_r): Only compile code if
12193 SIGNAL_PROVIDED is defined.
12194
12195 * libc/signal/signal.c: Redo whole file so that it works with
12196 current newlib. Use _kill_r if no signal handler provided.
12197
12198 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
12199 signal stubs.
12200 * libc/sys/sysvnecv70/Makefile.in: Ditto.
12201 * libc/sys/sysnecv850/Makefile.in: Ditto.
12202
12203 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
12204 * libc/sys/sysmec/{raise,signal}.c: Ditto.
12205 * libc/sys/sysvnecv70/signal.s: Ditto.
12206 * libc/sys/sysnecv850/raise.c: Ditto.
12207
12208 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
12209 simulator and debugger can tell the difference between a signal
12210 being raised and an exit system call.
12211
12212 * NEWS: Document software signals being provided.
12213
12214Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12215
12216 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
12217 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
12218 include/sys/config.h.
12219 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
12220 Change from 'inpure_data'.
12221 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
12222 &impure_data, not &inpure_data.
12223
12224 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
12225 and and System V ABI, define so that _impure_ptr lives in the
12226 .sdata section.
12227
12228Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12229
12230 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
12231 nothing if not defined.
12232 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
12233 its attributes.
12234
12235 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
12236
12237Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
12238
12239 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
12240 * libc/sys/sysmec/trap.s: Handle mn10200 too.
12241 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
12242
12243Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
12244
12245 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
12246
12247Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
12248
12249 * libc/include/sys/errno.h: Added net errno's.
12250
12251Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12252
12253 * libc/misc/ffs.c: New file to support ffs function for GCC test
12254 gcc.c-torture/execute/960909-1.c.
12255
12256 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
12257
12258Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
12259
12260 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
12261 * libc/sys/sysmec/trap.S: Likewise.
12262
12263Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
12264
12265 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
12266 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
12267
12268Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
12269
12270 * libc/sys/sysmec/signal.c: Dummy file.
12271 * libc/sys/sysmec/Makefile.in: Build it.
12272
12273Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
12274
12275 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
12276 mips16.
12277
12278Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
12279
12280 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
12281 c-startup and simulator traps.
12282
12283
12284 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
12285 * libc/sys/sysmec/trap0.S: Likewise.
12286
12287Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12288
12289 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
12290 round to double word alignment.
12291 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
12292 byte alignment.
12293
12294 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
12295
12296 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
12297 out of memory.
12298
12299Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
12300
12301 * configure.in: Handle mn10200 and mn10300.
12302 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
12303 * libc/include/sys/config.h: Likewise.
12304 * libc/sys/sysmec: New directory for mec stuff.
12305 * libc/machine/mn10300: New directory for mn10300 stuff.
12306 * libc/machine/mn10200: Similarly for mn10200 stuff.
12307
12308Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
12309
12310 * libc/sys/arm/crt0.S: Use .text, not .section .text.
12311 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
12312
12313 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
12314 (nlink_t): Change type from unsigned int to unsigned short.
12315 (mode_t): Ensure size is 32 bits even if int is 16.
12316 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
12317 (st_spare[123]): Change type from int to long.
12318
12319Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12320
12321 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
12322 byte boundary.
12323
12324 * configure.in (d10v*): Define SMALL_MEMORY.
12325
12326Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12327
12328 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
12329 -mrelocatable-lib and -mno-eabi flags.
12330
12331Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
12332
12333 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
12334 Fix handling of mis-aligned source operand when both the
12335 destination & length are properly aligned.
12336
12337Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
12338
12339 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
12340 times.o, time.o and gettime.o
12341 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
12342 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
12343 SYS_gettimeofday.
12344
12345Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
12346
12347 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
12348 * libc/sys/sysnecv850/access.c: New file.
12349
12350Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
12351
12352 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
12353
12354 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
12355 long.
12356
12357Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
12358
12359 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
12360
12361Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
12362
12363 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
12364 * libc/include/sys/config.h: Add m32r support.
12365
12366Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
12367
12368 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
12369 here.
12370
12371Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
12372
12373 * libc/include/machine/setjmp.h: Add D10v support.
12374
12375Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
12376
12377 * configure.in: Configure the "libc/syscalls" directory for
12378 the v850.
12379
12380 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
12381 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
12382 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
12383 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
12384 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
12385
12386Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
12387
12388 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
12389 stack for args for main and other routines. Zero out args for
12390 main.
12391
12392 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
12393 correctly.
12394
12395Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12396
12397 * libc/stdio/findfp.c (std): Remove extraneous ';' after
12398 function.
12399
12400 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
12401
12402 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
12403 real system calls now.
12404
12405 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
12406 before casting them to int.
12407 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
12408
12409 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
12410 aligning pointer.
12411 * libc/string/memset.c (memset): Ditto.
12412
12413 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
12414 first convert ints to _POINTER_INT to eliminate GCC warning.
12415
12416 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
12417 processing %p.
12418
12419 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
12420 from 65000 if ints are only 16 bits.
12421
12422 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
12423 from 50000 if ints are only 16 bits.
12424
12425 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
12426 int type that is the same size as a pointer.
12427
12428 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
12429 processing %p.
12430 (get_number): Explicitly cast number to long before shifting by 16
12431 or 24, in case ints are short.
12432
12433 * libc/include/sys/config.h (_POINTER_INT): Define as short.
12434
12435Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
12436
12437 * libc/string.h: Added ffs, removed swab.
12438 * libc/sys/errno.h: Added EOPNOTSUPP.
12439 * libc/sys/unistd.h: Added swab.
12440
12441Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
12442
12443 * libc/include/sys/stat.h: Added fchmod.
12444 * libc/include/sys/unistd.h: Added fsync.
12445
12446Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
12447
12448 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
12449 and ECONNRESET (104) for cygwin32.
12450
12451Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
12452
12453 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
12454 do the static destructors.
12455
12456Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
12457
12458 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
12459
12460Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
12461
12462 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
12463 * configure.in: Recognize m32r-*-*.
12464
12465Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
12466
12467 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
12468 __rt_stkovf_split_small): Added default software stack overflow
12469 handlers, which just call SWI_Exit.
12470 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
12471 limit initialisation.
12472
12473Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
12474
12475 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
12476
12477Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
12478
12479 * libc/include/sys/types.h: Added ssize_t definition.
12480
12481Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12482
12483 * libc/machine/d10v/setjmp.S: Use ';' for comments.
12484 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
12485
12486 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
12487 branch around a single ldi instruction.
12488
12489 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
12490 Call exit, instead of just issuing a stop instruction.
12491
12492Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12493
12494 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
12495
12496Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12497
12498 * libc/stdlib/mprec.h: Explicitly declare all large constants as
12499 longs, and then cast them to __uint32_t.
12500
12501 * libc/include/sys/config.h: Protect against multiple inclusions.
12502
12503Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
12504
12505 * configure.in (d10v*): Set syscall_dir.
12506
12507Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
12508
12509 * libc/sys/d10v/crt0.S: Set stack pointer.
12510
12511Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
12512
12513 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
12514 in assembly for efficiency. Change calling convention to allow
12515 long ints to be returned.
12516
12517Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12518
12519 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
12520
12521Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
12522
12523 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
12524 Handle empty entries in $PATH.
12525
12526Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
12527
12528 * libc/machine/d10v/setjmp.S: Make it really work.
12529
12530Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
12531
12532 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
12533 the .stack section.
12534
12535Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
12536
12537 * sys/sysnecv850/sys/file.h: Remove.
12538 * sys/sysnecv850/sys/syscall.h: New file.
12539 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
12540 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
12541 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
12542 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
12543 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
12544 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
12545 * sys/sysnec850/trap.S: New file.
12546 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
12547 syscalls.
12548 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
12549 * sys/sysnec850/sbrk.c: New version.
12550
12551Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
12552
12553 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
12554 as long as r6 is less than r7.
12555
12556Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
12557
12558 * Makefile.in (mostlyclean): Separate from clean target. Don't
12559 remove *.a or targ-include.
12560 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
12561
12562Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12563
12564 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
12565 d10v.
12566 (__SMALL_BITFIELDS): Ditto.
12567
12568 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
12569
12570Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
12571
12572 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
12573 prefix.
12574
12575 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
12576 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
12577 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
12578 * libc/sys/sysnecv850/write.c (write): Likewise.
12579
12580 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
12581 .bss.
12582
12583Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12584
12585 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
12586 appropriately for D10V, depending on -mint16/-mint32.
12587
12588Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
12589
12590 * configure.in: Add cases for D10V.
12591
12592Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12593
12594 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
12595
12596Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
12597
12598 * libc/include/machine/ieeefp.h: Fix typo.
12599
12600Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
12601
12602 * libc/sys/d10v: New directory for D10V stuff.
12603 * libc/include/machine/ieeefp.h: Add D10V defines.
12604
12605Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
12606
12607 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
12608 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
12609 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
12610 * libc/string/strerror.c (strerror): Add them.
12611
12612Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
12613
12614 * libc/sys/sysnecv850: New directory for v850 stuff.
12615
12616 * libc/machine/v850: New directory for v850 stuff.
12617 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
12618
12619 * configure.in: Add support for the v850.
12620
12621 * libc/include/machine/ieeefp.h: Add v850 defines.
12622 * libc/include/machine/setjmp.h: Likewise.
12623 * libc/include/sys/config.h: Add v850 defines.
12624
12625Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
12626
12627 * libc/include/machine/ieeefp.h
12628 * libc/include/machine/setjmp.h
12629 * libc/include/sys/fcntl.h
12630 * libc/include/sys/signal.h
12631 * libc/include/sys/types.h
12632 * libc/stdlib/system.c:
12633 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
12634 API availability, __CYGWIN32__ for cygwin32 environment specific).
12635
12636Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
12637
12638 * libc/include/stdlib.h: add multibyte character functions. Add
12639 __eprintf for assert.
12640
12641Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12642
12643 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
12644 arithmetic or __alignof__ to properly get the alignment, instead
12645 of hardwiring it to 4.
12646
12647Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
12648
12649 * libc/stdio/fseek.c: add fflush call to adjust seek offset
12650 on append stream (fix from NetBSD sources), adjust curoff offset
12651 for ungetc's benefit.
12652 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
12653 * libc/stdio/rewind.c: replace code with up to date NetBSD
12654 code to undo hacks made to work around above problem of not
12655 having fflush call mentioned above
12656
12657Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
12658
12659 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
12660 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
12661 Partially revert last changes. The thread specific errno is set
12662 iff if the underlying syscall fails and the global errno is not
12663 zero.
12664
12665Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
12666
12667 * libc/reent/filer.c: Removed files, all functions have split out
12668 into their own files.
12669 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
12670 New files containing functions formally in filer.c
12671 * libc/reent/Makefile.in: Updated for above change.
12672
12673 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
12674 syscall fails, not if errno is changed.
12675 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
12676 _write_r): Likewise.
12677 * libc/reent/fstatr.c (_fstat_r): Likewise.
12678 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
12679 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
12680 * libc/reent/signalr.c (_kill_r): Likewise.
12681 * libc/reent/statr.c (_stat_r): Likewise.
12682 * libc/reent/timer.c (_gettimeofday_r): Likewise.
12683
12684 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
12685 signalr.c, statr.c, timer.c} (errno): declare extern rather
12686 than as a common.
12687
12688 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
12689 instead of calling vfprintf so that i*printf will not require
12690 floating point support code.
12691
12692Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
12693
12694 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
12695 path delimiter.
12696 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
12697 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
12698
12699Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
12700
12701 * libc/include/signal.h: _sig_func_ptr function takes an int
12702 * libc/include/sys/signal.h: sa_handler function takes an int
12703
12704Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
12705
12706 * libc/include/machine/ieeefp.h: Simplify H8/S support.
12707 * libc/include/sys/config.h: Add missing H8/S conditional.
12708
12709Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
12710
12711 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
12712
12713Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
12714
12715 * libc/include/machine/setjmp.h: Handle H8/S.
12716 * libc/include/machine/ieeefp.h: Likewise.
12717 * libc/include/sys/config.h: Likewise.
12718 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
12719 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
12720 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
12721 * libc/sys/h8300hms/crt0.S: Likewise.
12722
12723Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
12724
12725 * Makefile.in (datadir): Set to $(prefix)/share.
12726 (oldincludedir, docdir): Removed.
12727 * doc/Makefile.in (datadir): Set to $(prefix)/share.
12728 (oldincludedir, docdir): Removed.
12729 * libc/Makefile.in (datadir): Set to $(prefix)/share.
12730 (oldincludedir, docdir): Removed.
12731 * libm/Makefile.in (datadir): Set to $(prefix)/share.
12732 (oldincludedir, docdir): Removed.
12733
12734Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
12735
12736 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
12737 _reent struct.
12738
12739Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
12740
12741 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
12742 fetch current path rules with sysconf and handler posix/win32
12743 appropriately.
12744
12745 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
12746
12747 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
12748 (WAIT_CHILD): Always define.
12749
12750Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
12751
12752 * libc/stdlib/eprintf.c: New file.
12753 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
12754 (eprintf.o): New target.
12755
12756Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
12757
12758 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
12759 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
12760
12761Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
12762
12763 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
12764 NT in PowerPC endianess cases.
12765
12766Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12767
12768 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
12769
12770Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12771
12772 * libc/string/strtok.c: Fix doc typo.
12773
12774Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
12775
12776 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
12777 _next, _scanpoint, _signgam fields.
12778
12779 * libc/include/stdlib.h (rand_r): Added new declaration.
12780 (_rand_r, _srand_r): Removed declarations.
12781 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
12782 have been made obsolete by rand_r.
12783 * libc/stdlib/rand_r.c: New file, rand_r function as specified
12784 by POSIX.1c.
12785
12786 * libc/string/strtok.c: Update documentation to describe
12787 strtok_r().
12788
12789Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
12790
12791 * libc/include/sys/stat.h (stat structure): Use the expanded stat
12792 structure on Solaris, and PowerPC systems even though __svr4__ is
12793 defined.
12794
12795Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
12796
12797 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
12798
12799Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
12800
12801 * host/any: Use ../.. rather than .. to get to the main build
12802 directory. This matches the current layout of the build
12803 directory.
12804
12805Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
12806
12807 * libc/machine/h8300/__main.S: Delete. No longer needed.
12808 * libc/machine/h8300/Makefile.in: Corresponding changes.
12809 * libc/sys/h8300hms/crt1.c: New file.
12810 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
12811 * libc/sys/h8300hms/crt0.s: Call __main.
12812
12813 * libc/sys/h8300hms/crt0.S: Use temporary label names
12814 for branch targets.
12815
12816Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
12817
12818 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
12819
12820Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12821
12822 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
12823 .sdata on the PowerPC so that we can link newlib with code
12824 compiled with -msdata.
12825
12826Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
12827
12828 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
12829
12830Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
12831
12832 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
12833 exception handler to __cygwin_exception_handler.
12834
12835Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
12836
12837 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
12838
12839Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
12840
12841 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
12842 SunOS VPATH.
12843 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
12844 wcstombs.o): Likewise.
12845
12846Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
12847
12848 * libc/stdlib/environ.c (initial_env): New static local.
12849 (environ): Point to `initial_env'.
12850
12851 * libc/include/machine/setjmp.h: Clean up.
12852 (__H8300H__,__PPC__): Define _JBTYPE.
12853 (__arm__): Provide entry for.
12854 (sigjmp_buf): Delete.
12855 (jmp_buf): Use _JBTYPE if defined, otherwise int.
12856
12857Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
12858
12859 * libc/machine/h8300/strcmp.S: Sign extend the result to
12860 32bits so we don't lose with -mint32.
12861
12862Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
12863
12864 * libc/sys/go32/sys/errno.h: New file.
12865 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
12866 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
12867 errno's address (make compatible with rest of newlib).
12868 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
12869 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
12870
12871Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
12872
12873 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
12874 * libc/machine/sparc/Makefile.in: Build them.
12875 * libc/machine/sparc/machine/sparclet.h: New file.
12876
12877Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
12878
12879 * libc/machine/sh/asm.h: New file.
12880 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
12881 support for SH3e's FP registers. Use asm.h.
12882
12883Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
12884
12885 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
12886 as first argument. Call _dtoa_r and pass the reent structure
12887 instead of calling __dtoa.
12888
12889Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
12890
12891 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
12892 the h8300, h8500, and others. Add comments for some rather
12893 dubious code.
12894
12895Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
12896
12897 * Makefile.in (check): Check that testsuite exists before cd.
12898
12899Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12900
12901 * libc/include/string.h (strsep): Correct prototype.
12902
12903Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
12904
12905 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
12906 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
12907 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
12908
12909Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
12910
12911 * libc/posix/{creat.c,isatty.c}: New files.
12912 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
12913
12914 * libc/sys/sparc64/crt0.S (environ): Delete.
12915 (.LHaveBias): Renamed from HaveBias.
12916
12917Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
12918
12919 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
12920 (_morecore_r): Delete SBRK_IS_ALLOC support.
12921
12922Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12923
12924 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
12925 module rather than touch, so we don't get warning messages when
12926 all of the libraries are combined into libc.a.
12927
12928Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
12929
12930 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
12931 crt0.s replaced by version in libgloss.
12932
12933Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
12934
12935 * libc/reent/Makefile.in (OFILES): Add impure.o.
12936 * libc/reent/impure.o: New file, define initial reentrancy struct.
12937 * libc/reent/reent.c: Remove above definition.
12938
12939 * libm/math/sf_asinh.c: Fix typo.
12940
12941 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
12942 srf_ldexp.o.
12943
12944 * libm/libm.texinfo: Change documentation to reflect changes
12945 in reentrancy model.
12946 * libm/math/w_gamma.c: Likewise.
12947
12948Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
12949
12950 * configure.in (*-*-cygwin32): New.
12951 (*-*-win32): Deleted.
12952 * libc/sys/win32 renamed libc/sys/cygwin32.
12953
12954Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12955
12956 * libc/include/sys/file.h: New include file.
12957
12958Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
12959
12960 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
12961
12962Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
12963
12964 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
12965
12966Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12967
12968 * doc/makedoc.c (realloc): Declare at file scope.
12969 (catchar): Not here.
12970
12971Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
12972
12973 * Makefile.in (VERSION): Update to 1.7.0.
12974 * {libc,libm}/Makefile.in (VERSION): Likewise.
12975 * configure.in: Minor clean up of multilib stuff.
12976
12977 From David Johnson <davidj@ICSI.Berkeley.EDU>
12978 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
12979
12980 * libc/stdlib/environ.c: New file.
12981 * libc/stdlib/Makefile.in (OFILES): Build it.
12982 * libc/sys/h8500hms/crt0.c (environ): Deleted.
12983 * libc/sys/m88kbug/crt0.c (environ): Deleted.
12984 * libc/sys/z8ksim/crt0.c (environ): Deleted.
12985 * libc/sys/netware/environ.c: Deleted.
12986
12987Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
12988
12989 * configure.in (links): set sys_dir, posix_dir, syscall_dir
12990
12991Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
12992
12993 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
12994 declaration out to external scope and declare it PTR, not char *.
12995
12996Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
12997
12998 * libc/include/sys/unistd.h (getpagesize): New declaration.
12999 (_SC_PAGESIZE): New definition.
13000 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
13001 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
13002
13003Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
13004
13005 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
13006 addressing. System call returns size, not (last address + 1).
13007
13008Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13009
13010 * libm/math/*.c: Removed _foo_r() reentrancy API.
13011 * libc/include/math.h: Removed _foo_r prototypes and macros.
13012
13013 * libm/math/*.c: On systems with IEEE single precision "doubles"
13014 move foo() -> foof() wrapper code from the files that implement
13015 the standard IEEE double precision functions to the files that
13016 implement IEEE single precision functions. (ie. On those systems
13017 sin is moved from s_sin.c to sf_sin.c). There should eventually
13018 be use of a C extension (like gcc's alias attribute) so that the
13019 wrappers are not needed at all.
13020
13021 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
13022 strict NEC V810 compiler.
13023 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
13024 for same reason.
13025
13026Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13027
13028 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
13029 from NetBSD C library.
13030 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
13031
13032 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
13033 and adapted from implementation I wrote for NetBSD C library.
13034 The difference is __assert doesn't take a format argument,
13035 so that there won't be multiple copies of the same string
13036 constant in the executable if assertions are enabled in
13037 more than one source module.
13038 * libc/include/assert.h (assert): Changed to call __assert.
13039
13040Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13041
13042 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
13043 word1 on systems with 32 bit doubles.
13044 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
13045 so that we can do arithmetic on them.
13046 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
13047 compilers.
13048
13049Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
13050
13051 * libc/sys/arm/crt0.S: Zero bss.
13052
13053Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
13054
13055 * libc/include/unctrl.h: New file.
13056 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
13057 * configure.in (subdirs): Add libc/misc.
13058 * libc/Makefile.in (SUBDIRS): Add misc.
13059 (SUBLIBS): Add misc/lib.a.
13060
13061 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
13062
13063Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
13064
13065 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
13066 (_vfprintf_r): Call CHECK_INIT.
13067
13068Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
13069
13070 * Makefile.in (MULTITOP): Delete.
13071 (MULTISRCTOP, MULTIBUILDTOP): Add.
13072 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
13073 instead of cfg-ml-pos.in.
13074
13075Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
13076
13077 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
13078 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
13079 presence.
13080
13081Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
13082
13083 * libc/string/strtok.c: Include string.h to pick up strtok_r
13084 prototype.
13085
13086Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13087
13088 * libc/string/strtok.c: include <_ansi.h>.
13089 * libc/time/asctime_r.c: `reresult' -> `result'.
13090
13091Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13092
13093 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
13094 in #ifndef _REENT_ONLY ... #endif conditional.
13095
13096 * libc/include/string.h (_strtok_r): Remove declaration.
13097 * libc/include/time.h (_asctime_r): Remove declaration.
13098 * libc/string/strtok.c (_strtok_r): Removed.
13099 * libc/time/asctime.c (_asctime_r): Removed.
13100
13101 * libc/string/Makefile.in (OFILES): Add new object.
13102 * libc/string/strtok_r.c: New file. strtok_r function as
13103 specified by POSIX.1c, adapted from strtok implementation
13104 from NetBSD C library.
13105 * libc/string/strtok.c (strtok): Reimplemented in terms of
13106 strtok_r.
13107
13108 * libc/time/Makefile.in (OFILES): Add new objects.
13109 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
13110 New files, reentrant time functions specified by POSIX.1c.
13111 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
13112 reentrant time functions re-written in terms of reentrant
13113 functions.
13114 * libc/time/lcltime.c: Renamed from localtime.c
13115
13116 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
13117 gmtime_r, and localtime_r.
13118
13119Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
13120
13121 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
13122 * libc/include/sys/unistd.h (getlogin): Revert change of
13123 Oct 19.
13124 * libc/include/sys/signal.h (sigprocmask): Change prototype
13125 so it compiles with c++.
13126
13127Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
13128
13129 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
13130 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
13131 to give some room in case we need to align the jmp_buf.
13132
13133 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
13134 the new ppc-asm.h include file the compiler provides to specify
13135 function prologue/epilogue. Eliminate saves of the xer and ctr
13136 registers, which are volatile. Before starting to save registers,
13137 align to 8 byte boundary.
13138
13139Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
13140
13141 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
13142 referenced by standard libraries.
13143
13144Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
13145
13146 * libc/unix/Makefile.in, libc/string/Makefile.in,
13147 libc/stdio/Makefile.in, libc/reent/Makefile.in,
13148 libc/posix/Makefile.in:
13149 Remove tabs from otherwise empty line. Confuses some
13150 older non-GNU versions of "make".
13151
13152Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
13153
13154 * libc/sys/unistd.h (getlogin): Returns const char *.
13155
13156Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
13157
13158 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
13159 * libc/include/errno.h: Moved into and include...
13160 * libc/include/sys/errno.h: New file.
13161 * libc/include/sys/wait.h: New file.
13162 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
13163 * libc/sys/win32/*: Moved out.
13164 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
13165 * configure.in (i[345]86-*-win32): HAVE_RENAME
13166
13167Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
13168
13169 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
13170 avoid macro expansion for these two names.
13171
13172Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
13173
13174 * libc/machine/h8500/psi.S: r6 renamed to fp.
13175
13176Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
13177
13178 * configure.in (powerpc*): No longer need to define
13179 NO_LONGLONG_POINTERS to supress warnings.
13180
13181Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
13182
13183 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
13184 through PTR instead of directly.
13185
13186 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
13187 non-standard constructor support.
13188
13189Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13190
13191 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
13192 address of the Bigint instead of the address of its _x field,
13193 as the size the result buffer was calculated accordingly.
13194 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
13195
13196 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
13197 from NetBSD C library. No longer special cases division by
13198 zero (which needs to be done by the application anyway), but
13199 it doesn't need to call abs() (or labs()) four times either.
13200
13201 * libc/stdlib/qsort.c: Replaced with implementation from
13202 NetBSD C library.
13203
13204Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13205
13206 * libc/stdio/vfprintf.c: Replaced with implementation from
13207 NetBSD C library (which is derived from the 4.4BSD C library).
13208 * libc/stdio/cvt.c: Removed.
13209 * libc/stdio/Makefile: Updated.
13210
13211Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
13212
13213 * libc/sys/win32/syscalls.c (rename): New.
13214 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
13215
13216Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
13217
13218 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
13219 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
13220
13221 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
13222 (setjmp.o): Delete rule to build setjmp.o.
13223 * libc/sys/sh/setjmp.S: Delete file.
13224
13225Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13226
13227 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
13228 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
13229 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
13230 pow5mult and s2b to identifiers with leading underscores.
13231 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
13232 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
13233
13234Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
13235
13236 * libc/sys/posix/popen.c (sys/types.h): Include.
13237
13238Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
13239
13240 * libc/sys/win32/syscalls.h (fhandler): New struct.
13241 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
13242 (__fhandler_normal): Declare.
13243 (hinfo): New member op_handlers.
13244 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
13245 (__write): Likewise.
13246 (_read, _write, _open, _close, _lseek): Validate fd here.
13247 Move file type specific stuff to foo_normal.
13248 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
13249 New functions.
13250 (__lookup_fhandler): New function.
13251 (__lookup_fhandler_hook, __fhandler_normal): New variables.
13252
13253 From anders.blomdell@control.lth.se (Anders Blomdell)
13254 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
13255 Don't touch standard handles.
13256 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
13257 (_execve): Only create __FD_TABLE__ if necessary.
13258 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
13259
13260Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
13261
13262 * libc/sys/win32/sys/termios.h (FLUSHO): New.
13263 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
13264 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
13265 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
13266 without a handler is received.
13267 * libc/sys/win32/Makefile.in: Remove --nodelete.
13268 * libc/sys/win32/resouce.c (gettimeofday): New.
13269 * libc/sys/win32/syscalls.c (path_to_real_path): New.
13270 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
13271
13272Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
13273
13274 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
13275 Don't append "/*" to search pattern if trailing '/' already there,
13276 append "*".
13277 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
13278 like /'s, convert them to \'s. Handle //<drive>/ path names.
13279 Add space for quoted \'s in arg string. Print translated prog name
13280 and original prog name.
13281 (_execve): Handle parent doing exec a teensy bit better.
13282 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
13283 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
13284 path needs conversion, handle both cases. Delete `const' from result.
13285 (hash_path_name): New function.
13286 (_open): Call it.
13287 (_stat): Likewise. Fill in more fields for directories.
13288 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
13289 (wait_for_any): Fix trace message.
13290 (waitpid): Explicitly test for intpid == 0.
13291
13292 From anders.blomdell@control.lth.se (Anders Blomdell)
13293 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
13294 so `next' is valid.
13295
13296Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
13297
13298 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
13299 complicated.
13300
13301Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13302
13303 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
13304 at all, not just == 1.
13305 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
13306
13307Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13308
13309 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
13310 * libc/sys/win32/include/wintypes.h: include <winnt.h>
13311 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
13312 file.
13313
13314Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
13315
13316 * libc/sys/syscalls.c (getcwd): Fix off by one error.
13317
13318 * libc/sys/signal.c (sleep): Fill it in.
13319 * libc/sys/termios.c (tcflush): Use PurgeComm
13320 (tcsetattr): Set some more of the bits.
13321 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
13322
13323Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
13324
13325 * libc/sys/arm/crt0.S (fp): Initialize to 0.
13326 Conditionally include .idata$3 stuff ifdef __pe__.
13327
13328Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
13329
13330 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
13331 * libc/sys/win32/pipe.c (pipe): Ditto.
13332 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
13333 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
13334 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
13335 (tcgetattr): Contents are new.
13336 * libc/sys/win32/include/winkernel.h (DCB): New.
13337 (GetCommState, SetCommState): New.
13338
13339Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
13340
13341 * libc/sys/arm/crt0.S (_start): Define.
13342
13343Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
13344
13345 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
13346 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
13347
13348 * libc/sys/win32/sysconf.c: New
13349 * libc/sys/win32/sys/winadvapi.h: New
13350 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
13351 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
13352 * libc/sys/win32/pipe.c (pipe): Ditto.
13353 * libc/sys/win32/signal.c (_raise): New.
13354 (_kill): Moved from spawn.c
13355 * libc/sys/win32/spawn.c (kill): Moved to signal.c
13356 * libc/sys/win32/syscalls.c (__read): Use new fields.
13357 (_open): Ditto.
13358 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
13359 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
13360 * libc/include/sys/unistd.h (rmdir): Takes const path.
13361 * libc/include/sys/stat.h (mkdir): Takes const path.
13362 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
13363
13364Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
13365
13366 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
13367
13368 Add support for specifying paths as //<drive>/foo/bar.
13369 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
13370 (__path_to_real_path): Declare.
13371 (PATH_TO_REAL_PATH): New macro.
13372 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
13373 (__path_needs_conversion_p, __path_to_real_path): New functions.
13374 (_open): Fix test for error return from CreateFileA.
13375 Handle new path syntax.
13376 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
13377 * libc/sys/win32/dirsearch.c (opendir): Likewise.
13378
13379Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
13380
13381 * libc/sys/win32/include/*.h: Reorganized
13382 * libc/sys/win32/include/WINREADME: New.
13383 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
13384 * libc/sys/win32/*.c: Fix for new include scheme.
13385 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
13386 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
13387 * libc/sys/win32/passwd.c (*): Fix.
13388 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
13389 (_stat): Get directory owner and permissions right.
13390 * libc/sys/win32/syscalls.h (uinfo): New.
13391 * libc/sys/win32/version.def: Remove leading underscores.
13392
13393Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13394
13395 * libc/sys/win32/key.c: include "include/wincon.h".
13396
13397Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
13398
13399 * libc/sys/win32/{key, stubs}.c: New.
13400 * libc/sys/win32/Makefile: Adjust to cope.
13401 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
13402 (environ_init): Change env names to upper case.
13403 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
13404 * libc/sys/win32/passwd.c (*): Fill in the functions.
13405 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
13406 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
13407 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
13408 (_open): Initialze hmap->execable_p too.
13409 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
13410 (_fstat): Fill in permissions.
13411 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
13412
13413Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
13414
13415 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
13416 if defined.
13417 (cfg-ml-pos.in invocation): Likewise.
13418
13419Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13420
13421 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
13422 s_isnan.o and sf_isnan.o.
13423
13424Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
13425
13426 * All Makefile.in files: added maintainer-clean target as a
13427 synonym for realclean.
13428
13429Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
13430
13431 * libc/include/machine/setjmp.h: Add hppa support.
13432 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
13433 support.
13434 * libc/machine/hppa/Makefile.in: Related changes.
13435
13436Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
13437
13438 * configure.in (machine_dir): Don't set for v810-*-*.
13439
13440Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13441
13442 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
13443 conventions correctly.
13444
13445Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
13446
13447 * libc/stdio/puts.c: Update documentation of return value to match
13448 ANSI standard.
13449
13450Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
13451
13452 Fix file descriptor inheritance.
13453 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
13454 (NOT_OPEN_FD): Fix.
13455 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
13456 close-on-exec flag not set. Initialize child's entire fd table.
13457 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
13458 CHILD_P.
13459 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
13460 if CHILD_P. Initialize entire hmap entry.
13461 (dup): Only create new handle as inheritable if CHILD_P.
13462 (dup2): Likewise. Properly initialize hmap entry.
13463
13464 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
13465 _spawn.
13466 (_exit): Use CHILD_P.
13467 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
13468 (_stat): Likewise.
13469
13470Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13471
13472 * libc/sys/win32/crt0.c (passover): fix up the state table.
13473 * libc/posix/popen.c: Added.
13474 * libc/posix/Makefile.in: compile popen.c.
13475
13476Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
13477
13478 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
13479 h8/500 define _DOUBLE_IS_32BITS.
13480
13481Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
13482
13483 Get vfork/exec/spawn/cwait/wait working again.
13484 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
13485 (procinfo): New member vfork_level.
13486 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
13487 (vfork_init_first): Use GetCurrentProcessId to get pid.
13488 Initialize vfork_level.
13489 (vfork_init): Delete __PID__.
13490 (environ_init): New function. Undo patch of Aug 19, Posix says
13491 environment variables are case sensitive.
13492 (mainCRTStartup): Call it.
13493 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
13494 (my_longjump: Make static.
13495 (_spawn): New argument `h'. Delete setting of __PID__.
13496 Delete local `idx'. Look for chars that need quotes, rather than
13497 ones that don't. Set handle of created process in `h'.
13498 Result is process id if created task.
13499 (allocate_spawn_entry): New function.
13500 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
13501 (_execve): Set __FD_TABLE__ before spawning child.
13502 Scan our fd table when passing fds, not our parent's.
13503 Store handle and pid in procinfo entry.
13504 (vfork0): Ensure strace message always printed.
13505 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
13506 (vfork): Don't clobber result of vfork0.
13507 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
13508 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
13509
13510 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
13511 and `exit_code'.
13512 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
13513 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
13514 adding vfork level to pseudo-pid.
13515 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
13516 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
13517 (_exit): If child, set exit code.
13518 (__vfork_record_death): Only close process handle if valid.
13519 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
13520 didn't exec.
13521 (wait_for_any): Likewise. Start scan after root entry.
13522
13523Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13524
13525 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
13526 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
13527 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
13528 of actual file length.
13529
13530 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
13531 * libc/include/paths.h: _PATH_BSHELL added.
13532 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
13533 and STDERR_FILENO.
13534
13535Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13536
13537 * libc/include/ar.h: Added.
13538 * libc/include/sys/types.h: ino_t goes back to 32-bits.
13539 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
13540 * libc/sys/win32/syscalls.c (_open): compute .namehash based
13541 on filename.
13542 (_fstat): use .namehash for inode number of the fd.
13543
13544Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
13545
13546 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
13547 Change hinfo to __this_procinfo.
13548 * libc/sys/win32/crt0.c: Remove procinfo_list.
13549
13550Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13551
13552 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
13553 win32 environment.
13554
13555Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13556
13557 * libc/sys/win32/include/grp.h: Removed.
13558 * libc/sys/include/grp.h: Added.
13559 * libc/sys/win32/grp.c: Include <grp.h>.
13560
13561Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
13562
13563 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
13564 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
13565 Defined for all but strict ANSI.
13566 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
13567 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
13568 * libc/signal/signal.c (_signal_r): Changed from using
13569 _MAX_SIGNALS to NSIG.
13570 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
13571 __hmap): Deleted.
13572 (__strace, __vfork_next_pid): New.
13573 (__exe_suffix): Default to 1.
13574 (passover, table): Understand quoted arguments.
13575 (vfork_init_first): New.
13576 (vfork_init): Initialize new process structure.
13577 (mainCRTStartup): Pass environ to main.
13578 * exceptions.c (__sig_mask): New
13579 (ehandler3): Ignore signals in mask.
13580 (really_exit): Remove CHILD_P test.
13581 * pipe.c (pipe, dup, dup2): Use new process and file structure.
13582 * resource.c (getrusage): Ditto.
13583 * signal.c (sigprocmask): New.
13584 * spawn.c (*): Rewritten.
13585 * syscalls.c (*): Use new process and file structure.
13586 (find_unused_handle): New.
13587 * syscalls.h (MAX_HANDLES): Deleted.
13588 (hinfo): Removed child_created_p.
13589 (MAX_CHILDREN): Deleted.
13590 (vfork_jmp_info, procinfo): New.
13591 * wait.c (*): Mostly new.
13592 * sys/strace.h (_STRACE_PARANOID): New.
13593 * sys/param.h: New file.
13594
13595Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13596
13597 * libc/include/sys/stat.h: add S_BLKSIZE.
13598 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
13599 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
13600 types under win32.
13601 (mode_t): add a #else to avoid multiple definitons.
13602
13603 * libc/sys/win32/Makefile.in: add grp.c.
13604 * libc/sys/win32/grp.c: include grp.h correctly.
13605 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
13606 of the st structure with real information.
13607 * libc/sys/win32 (dirent): d_ino is of type ino_t.
13608
13609Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
13610
13611 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
13612 and (maybe) sparc64.
13613 (nlink_t): Provide typedef.
13614
13615Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13616
13617 * libc/sys/win32/grp.c: New file.
13618 * libc/sys/win32/include/grp.h: New file.
13619
13620Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13621
13622 * libc/include/machine/ieeefp.h: Added whitespace to make this
13623 file easier to maintain.
13624 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
13625 depending on the value of __LITTLE_ENDIAN__.
13626 On the sh3e, define _DOUBLE_IS_32BITS.
13627
13628Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
13629
13630 * libc/sys/vr4300/syscalls.c: Added missing support
13631 routines. _raise() and getpid().
13632
13633Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
13634
13635 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
13636
13637Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
13638
13639 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
13640 and VR4300 processor.
13641 * libc/sys/vr4300: Add directory.
13642 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
13643 monitor run-time support.
13644
13645Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13646
13647 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
13648 * libc/stdlib/stdlib.tex: Don't include atol.def.
13649
13650Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13651
13652 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
13653
13654Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
13655
13656 * libc/ctype/Makefile.in: Fill in _to* dependencies.
13657
13658Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
13659
13660 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
13661 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
13662 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
13663 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
13664 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
13665
13666Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13667
13668 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
13669
13670Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13671
13672 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
13673 * libc/stdlib/atoff.c: New file.
13674 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
13675 * libc/stdlib/atoi.c (atol): Removed.
13676 * libc/stdlib/atol.c: Removed duplicate documentation.
13677
13678 * libc/include/ctype.h (_tolower, _toupper): Moved inside
13679 #ifndef _STRICT_ANSI conditional.
13680 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
13681 * libc/ctype/_tolower.c: New file.
13682 * libc/ctype/_toupper.c: New file.
13683 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
13684 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
13685 * libc/ctype/toascii.c (_toascii): Removed.
13686
13687Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
13688
13689 * libc/sys/sparc64/sys/types.h: Deleted.
13690
13691Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13692
13693 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
13694 and recognize Windows_95 systems.
13695
13696Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13697
13698 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
13699 and passed fds should be opened in text mode.
13700
13701Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13702
13703 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
13704 in __hmap, set to binary mode by default.
13705
13706Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13707
13708 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
13709 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
13710 vector 34.
13711
13712Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
13713
13714 * Makefile.in (install): Install all libraries found in the
13715 top level. If there's a sys/<type>/include directory,
13716 install those headers into include.
13717
13718 * libc/sys/win32/kernel.def351: Delete
13719 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
13720 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
13721 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
13722 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
13723 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
13724 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
13725 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
13726 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
13727
13728 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
13729 * libc/sys/win32/crt0.c: Force all env names to upper case.
13730 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
13731 * libc/sys/win32/*.c: Headers have moved.
13732 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
13733 __vfork_child_idx is now __vfork_child_ptr.
13734
13735 * posix/execvp (execvp): Don't crash if no PATH envname.
13736
13737Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13738
13739 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
13740 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
13741 through the _freelist instead of through the _reclaim list.
13742 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
13743 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
13744 sources.
13745
13746Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13747
13748 * libc/machine/h8500/setjmp.S: New file.
13749 * libc/include/machine/setjmp.h: Updated for H8/500.
13750
13751Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
13752
13753 * libc/sys/win32/syscalls.c (_open): More stracing.
13754 (_stat): Open the file in O_BINARY.
13755
13756Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13757
13758 * libc/machine/h8300/setjmp.S: New file.
13759 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
13760
13761Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
13762
13763 * libc/sys/win32/crt0.c (__exe_suffix): New global.
13764 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
13765 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
13766 __exe_suffix. Free fd_tab after setting env variable.
13767 (spawnv,_execve): Update.
13768 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
13769 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
13770 (__small_vfprintf): New function.
13771 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
13772 * libc/sys/win32/wait.c (cwait): Validate argument.
13773
13774 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
13775 (process_deletion_queue): Likewise.
13776
13777 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
13778
13779Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
13780
13781 * libc/sys/win32: Copyrights and gratuitous indenting.
13782
13783Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
13784
13785 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
13786 (process_deletion_queue): Likewise.
13787 (__close_all_files): New function.
13788 (_close): Only queue file deletion if really a file.
13789 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
13790 _P_APPEND_EXE.
13791 (_exit): Call __close_all_files.
13792
13793 * libc/stdlib/system.c: #include <errno.h>.
13794 (_system_r): Fix results in -DNO_EXEC case.
13795
13796 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
13797 Reorganize structure.
13798 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
13799 if argument is valid. Save directory name in DIR. malloc space
13800 for dirent struct separately.
13801 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
13802
13803 * libc/include/errno.h (ENAMETOOLONG): Define.
13804 * libc/string/strerror.c (strerror): Reword ENFILE.
13805 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
13806
13807Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
13808
13809 * libc/sys/win32/crt0.c (__progname): New global.
13810 (mainCRTStartup): Support strace=bitmask,filename.
13811 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
13812 * libc/sys/win32/syscalls.c (_write): Print parent trace message
13813 if error.
13814 (getcwd): Handle len too small. Convert '\\' to '/'.
13815 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
13816 Add prototypes for open, creat, fcntl.
13817 (O_APPEND): Change value to conform to Microsoft's value.
13818 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
13819
13820 * libc/stdlib/getopt.c: New file.
13821 * libc/stdlib/Makefile.in: Build it.
13822
13823Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
13824
13825 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
13826 Fix scanning of $PATH.
13827 * libc/posix/exec*.c: Call _execve, not execve.
13828 * libc/posix/execve.c: New file.
13829 * libc/posix/Makefile.in (OFILES): Add execve.o.
13830
13831 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
13832 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
13833 (_STRACE): If level==0, always print. Handle new bit mask scheme.
13834 * libc/sys/win32/crt0.c: Update _STRACE calls.
13835 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
13836
13837 * libc/sys/win32/smallprint.c (rn): Fix digit list.
13838
13839 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
13840 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
13841 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
13842 Print __seterrno trace message first.
13843 (_execve): Renamed from execve.
13844 (vfork): Update __strace usage.
13845 (__vfork_child_pid): Deleted.
13846 (__vfork_children, __vfork_child_idx): New globals.
13847 (_spawnvp): New function.
13848 (spawnvp, spawnv, _execve): Call _spawnvp.
13849 (init_child): Record child in __vfork_children.
13850 (__vfork_get_entry, __vfork_record_death): New functions.
13851 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
13852 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
13853 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
13854 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
13855 (children): New typedef.
13856 (__vfork_children,__vfork_child_idx): Declare.
13857 (__vfork_get_entry,__vfork_record_death): Declare.
13858 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
13859 (waitpid): Handle pid == -1.
13860 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
13861 * configure.in (i386-win32): Add -DNO_FORK.
13862 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
13863 * libc/reent/execr.c (_fork_r): Likewise.
13864 * libc/stdlib/system.c (do_system): New function.
13865 If WIN32, try to get shell path from $SH_PATH, use vfork.
13866 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
13867 otherwise return 0.
13868
13869Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
13870
13871 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
13872 * libc/sys/win32/fcntl.h: Don't include self.
13873 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
13874 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
13875 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
13876 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
13877 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
13878 Correct prototypes.
13879 * libc/sys/win32/strace.c: New file.
13880 * libc/sys/win32/smallprint.c: New file.
13881 * libc/sys/win32/crt0.c (func): Delete.
13882 (mainCRTStartup): Fix alloca usage. Set handles explictly.
13883 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
13884 * libc/sys/win32/exceptions.c: Lint.
13885 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
13886 Clean up handle usage.
13887 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
13888 (open.c): Default file type is text.
13889 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
13890 * libc/sys/win32/advapi32.def: New
13891
13892Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
13893
13894 * configure.in (posix_dir, libc_posix_lib): New variables.
13895 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
13896 (i[345]86-*-win32): Define posix_dir.
13897 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
13898 (if unix_dir): Fix typo.
13899 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
13900 scandir,seekdir,telldir}: New files.
13901 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
13902 from libc/unix.
13903 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
13904 (SUBDIRS): Add posix.
13905 (SUBLIBS): Add $(LIBC_POSIX_LIB).
13906
13907 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
13908 (NSIG): Increase to 21.
13909 * libc/include/sys/unistd.h (pid_t): Move from here,
13910 * libc/include/sys/types.h (pid_t): to here.
13911
13912 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
13913 (__ptrace): Delete.
13914 (hinfo): New members close_exec_p, child_created_p.
13915 (struct exception_list): Define.
13916 (__hmap): Redefine as pointer to table.
13917 (__parent_hmap, __child_hmap): New globals.
13918 (__set_errno, __really_exit): Declare.
13919 (__vfork_child_pid): Declare.
13920 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
13921 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
13922 (__parent_hmap, __child_hmap): New globals.
13923 (__hmap): Redefine as pointer to active map.
13924 (__get_console): New function.
13925 (mainCRTStartup): Change leading '=' in environ vars to '!'.
13926 (env __FD_TABLE__): Watch for this and initialize our fd/handle
13927 mapping table from it if defined.
13928 (argv, envp): Dump if __strace >= 4.
13929 (main): Call here.
13930 * libc/sys/win32/exceptions.c (myp): Redefine.
13931 (__syscalls_b): Delete.
13932 (__stack_trace): New function.
13933 (ehandler3): Update to use _STRACE. Print stack trace.
13934 Call __really_exit instead of exit.
13935 (init_exceptions): Delete args argc,argv. New arg mine.
13936 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
13937 FindFirstFileA, FindNextFileA, GetComputerNameA,
13938 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
13939 * libc/sys/win32/signal.c (signal): Validate arg.
13940 (alarm, sleep): Define as stubs for now.
13941 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
13942 (__syscalls_b, errno): Delete.
13943 (__vfork_child_pid, __vfork_jmp_buf): New globals.
13944 (__seterrno): Handle more errors.
13945 (__sys_printf): Renamed from _ptrace.
13946 (__really_exit): New function.
13947 (queue_file_deletion, process_deletion_queue): New functions.
13948 (__resume_parent): New function.
13949 (_unlink): Handle trying to delete open file.
13950 (__totime_t): Renamed from totime_t.
13951 (setsid, __read, __write): New functions.
13952 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
13953 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
13954 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
13955 * libc/sys/win32/console.c: Update to new definition of __hmap.
13956 * libc/sys/win32/Makefile.in: Build new files.
13957 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
13958 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
13959 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
13960 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
13961
13962Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
13963
13964 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
13965
13966Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13967
13968 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
13969 have been made to the master dtoa.c sources (from netlib.att.com)
13970 since they were integrated into newlib in early 1992. Fixes
13971 problems with storage leaks and handling of numbers with very
13972 negative exponents.
13973
13974Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13975
13976 * Makefile.in (all): set rootpre and srcrootpre before calling
13977 sub-makes.
13978
13979Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
13980
13981 * libc/sys/win32/crt0.c: Change __hmap usage.
13982 * libc/sys/win32/exceptions.c: Use _ptrace call.
13983 * libc/sys/win32/syscalls.c: Use _ptrace call.
13984 (read, write): Cope with DOS style CRLF when in TEXT mode.
13985 * libc/sys/win32/syscalls.h: Declare hinfo struct.
13986 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
13987 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
13988 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
13989 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
13990
13991Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13992
13993 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
13994
13995 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
13996 wrappers for hypot() and remainder() for BSD libm compatibility.
13997 These are public domain implementations written by me for the
13998 NetBSD libm some time ago. Note cabs() is required by ucbtest.
13999 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
14000 (fobj): Added wf_cabs.o and wf_drem.o.
14001
14002Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14003
14004 * libc/sys/h8500hms/misc.c: New file.
14005 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
14006
14007Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14008
14009 * libc/time/localtime.c (localtime): Fix problem with leap year
14010 handling. Stole algorithm from Arthur David Olson's tz code.
14011
14012Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
14013
14014 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
14015
14016 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
14017 (_exit): Use argument.
14018
14019Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
14020
14021 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
14022
14023Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
14024
14025 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
14026
14027Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14028
14029 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
14030 target_cflags.
14031
14032Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
14033
14034 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
14035 ptrace with case insensitivity
14036 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
14037 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
14038 New files.
14039
14040Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
14041
14042 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
14043 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
14044 (all, install, *clean): Use new multilib support.
14045 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
14046
14047Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
14048
14049 * libc/include/sys/signal.h (__WIN32__): New.
14050
14051 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
14052
14053 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
14054 (ulp, b2d): Handle 32 bit doubles.
14055 * libc/stdlib/mprec.h: Handle 32 bit doubles.
14056 * libc/stdlib/strtod.c (_strtod_r): Ditto.
14057
14058Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
14059
14060 from medp@primag.co.uk:
14061 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
14062 dynamically allocated buffers.
14063
14064Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
14065
14066 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
14067 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
14068
14069Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
14070
14071 * configure.in (powerpc): Fix previous fix.
14072
14073Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
14074
14075 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
14076 directories for this target.
14077
14078Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
14079
14080 * configure.in (hppa): Add machine_dir definition.
14081 * libc/machine/hppa: New directory with PA specific implementations
14082 of the basic memory/string functions.
14083
14084Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
14085
14086 * configure.in: Update current PowerPC multilib directories.
14087 Split big and little endian configurations.
14088
14089Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
14090
14091 * configure.in: Add --enable-single-float option to configure to
14092 control use of MIPS single-float directories. Default to yes.
14093
14094 * Makefile.in (all): Don't recurse into multilib directory if it
14095 does not exist.
14096
14097Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14098
14099 * libc/sys/sh/syscalls.c: Fix typo.
14100
14101Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
14102
14103 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
14104 Pass down DLLTOOL.
14105 * libc/include/process.h: Define WAIT_CHILD.
14106 * libc/include/types.h: Get sizes right for win32.
14107 * configure.in (i386-*-pe): Becomes i386-win32.
14108 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
14109 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
14110 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
14111 is defined.
14112
14113Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
14114
14115 * configure.in (i[345]86-*-pe): New target (NT).
14116 * host/any: DLLTOOL new.
14117 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
14118 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
14119 WIN32 (just enough to cross host the comp-tools).
14120
14121Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
14122
14123 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
14124 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
14125
14126Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
14127
14128 * libc/include/machine/ieeefp.h (arm): Change to always be
14129 __IEEE_BIG_ENDIAN (even on little endian ARM's).
14130
14131Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
14132
14133 * libc/sys/crt0.S: Initialze sp, and call exit after main.
14134 * libc/sys/syscalls.c (abort): New.
14135 * configure.in (arm): Define ABORT_PROVIDED.
14136
14137Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14138
14139 * configure.in (powerpc): Define multidirs.
14140
14141Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
14142
14143 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
14144
14145Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
14146
14147 * configure.in (sparclite): Delete target_cflags. Define multidirs.
14148
14149Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
14150
14151 * configure.in, libc/include/machine/ieeefp.h: Modified
14152 for arm:
14153 libc/machine/arm/*, libc/sys/arm/*: New
14154
14155Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14156
14157 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
14158 __powerpc__ when determining endianness.
14159
14160Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14161
14162 * configure.in (m68*): Add multidir for the m68332.
14163
14164 * host/any (CC): Fix typo in last change.
14165
14166Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
14167
14168 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
14169 when determining endianness.
14170 * libc/include/machine/ieeefp.h: Ditto.
14171 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
14172 operands.
14173
14174Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
14175
14176 * libc/include/errno.h (ENOTEMPTY): Define.
14177
14178Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14179
14180 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
14181 target_cflags.
14182
14183 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
14184 and umultiply.o.
14185
14186 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
14187 instead of only when open succeeds. ANSI requires that multiple
14188 calls to tmpnam() result in different files.
14189
14190 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
14191 objects pulled in from /lib/libc.a that must be renamed before
14192 being pulled into newlib. /lib/libc.a's div.o conflicted with
14193 newlib's file with the same name.
14194
14195 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
14196
14197 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
14198 the build tree will only be used if the executables are present
14199 (instead of just the Makefiles).
14200
14201 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
14202 wcstombs): Define.
14203 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
14204 versions of these functions that I orignally wrote for the
14205 NetBSD C library.
14206 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
14207 versions I wrote for NetBSD.
14208
14209Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
14210
14211 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
14212 * libc/sys/sparclite/crt0.s: ditto.
14213
14214Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
14215
14216 * configure.in: Add soft-float for proelf.
14217
14218Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
14219
14220 * libc/stdlib/mprec.h (Bcopy): Copy the right number
14221 of bytes.
14222
14223Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
14224
14225 * Makefile.in (all): Depend on `force'.
14226 * configure.in (syscall_dir): Renamed from fake_sys_dir.
14227 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
14228 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
14229 * libc/Makefile.in: Likewise.
14230 * libc/include/reent.h: Update syscall references.
14231 (_fcntl_r): Add prototype.
14232 * libc/syscalls/*.c #include <reent.h>.
14233 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
14234
14235Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
14236
14237 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
14238 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
14239 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
14240 (time.h, sys/types.h): Always include (even if MSDOS).
14241 (stat): Fix prototype.
14242
14243Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
14244
14245 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
14246
14247Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
14248
14249 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
14250
14251Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
14252
14253 * libc/include/regdef.h: New file.
14254 * libc/machine/mips/machine/regdef.h: New file.
14255
14256Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
14257
14258 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
14259
14260Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
14261
14262 * libc/sys/sh/crt0.S: Pass main's return to exit.
14263 * libc/sys/sh/trap.S: Put errno in the right place.
14264
14265Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
14266
14267 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
14268 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
14269 * libm/math/ef_rem_pio2.c: Likewise.
14270 * libm/math/e_log10.c: Remove unused static one.
14271 * libm/math/ef_log10.c: Likewise.
14272 * libm/math/s_frexp.c: Likewise.
14273 * libm/math/sf_frexp.c: Likewise.
14274
14275Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
14276
14277 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
14278 longjmp.S: Upgraded.
14279 * libc/sys/go32/sys/setjmp.h: Upgraded.
14280 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
14281
14282Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
14283
14284 * configure.in: Add many entries to multidirs for mips targets.
14285
14286Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14287
14288 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
14289 5.2 which fixes bug where jn(-1,x) is three times larger than
14290 the actual answer.
14291 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
14292
14293Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
14294
14295 * libc/sys/w65/sys/syscalls.h: New file
14296 * libc/include/machine/ieeefp.h: W65 support.
14297 * libc/include/sys/config.h: Ditto.
14298 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
14299 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
14300 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
14301
14302Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
14303
14304 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
14305
14306Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
14307
14308 * Makefile.in, configure.in: Remove any references to the old
14309 "stub" dir.
14310
14311Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
14312
14313 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
14314 uses ... in prototype.
14315
14316
14317Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
14318
14319 * libc/sys/a29khif/sys/libconfig.h: Remove.
14320 * libc/sys/go32/sys/libconfig.h: Remove.
14321 * libc/sys/sun4/sys/libconfig.h: Remove.
14322 * libc/sys/sysvi386/sys/libconfig.h: Remove.
14323 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
14324 * libc/sys/sparc64/sys/libconfig.h: Remove.
14325
14326 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
14327 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
14328 * libc/include/math.h: Change all uses of _FLOAT_RET and
14329 _FLOAT_ARG to float.
14330 * libm/test/math.c: Likewise.
14331 * testsuite/libm.sac/math.c: Likewise.
14332 * testsuite/libm.sac/working/math.c: Likewise.
14333
14334Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
14335
14336 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
14337 gcc calls gas with endian option.
14338 * configure.in (sh): Build little endian version too.
14339
14340Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
14341
14342 * configure.in: Configure big and little endian versions for MIPS
14343 targets.
14344
14345Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
14346
14347 * libc/include/limits.h: Deleted.
14348 * libc/include/machine/limits.h: Deleted.
14349
14350Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
14351
14352 * ChangeLog: Remove stub directory. This has all been rewritten
14353 and moved to devo/libgloss.
14354
14355Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
14356
14357 * Makefile.in (dvi): Add to info target, use $@ in sub make.
14358 (docs): Merge into info target.
14359 * libm/Makefile.in (dvi): Add $(srcdir).
14360 * libm/math/Makefile.in (chobjs): Remove underscores from file
14361 names. Texinfo doesn't like them.
14362 (wacos.def, ...): Add explicit targets for all .def files.
14363 * libm/math/math.tex: Remove underscores from @include file names.
14364 * doc/Makefile.in (dvi): Add dummy target.
14365 * testsuite/Makefile.in (dvi): Add dummy target.
14366
14367Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
14368
14369 * Makefile.in (VERSION): Define. For net newlib releases.
14370
14371Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
14372
14373 * README: New file.
14374
14375Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
14376
14377 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
14378
14379Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
14380
14381 * libc/stdlib/setenv.c (_findenv): Declare.
14382
14383 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
14384 fcntl to not use _EXFUN, and change string parameters to open and
14385 creat to be ``const char *''.
14386 * libc/sys/sparc64/sys/fcntl.h: Likewise.
14387 * libc/sys/sparc64/creat.c (creat): Make PATH const.
14388 * libc/syscalls/sysopen.c: Include <fcntl.h>.
14389 (open) Make _FILE const.
14390 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
14391 (_creat): Make PATH const.
14392 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
14393 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
14394 * libc/sys/m88kbug/syscalls.c (open): Likewise.
14395 * libc/sys/sh/syscalls.c (_open): Likewise.
14396 * stub/shared/glue.c (open): Make BUF const.
14397 * stub/ex93x/syscalls.c (open): Make FILENAME const.
14398
14399Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
14400
14401 * libc/include/errno.h: Add ENMFILE
14402 * libc/include/sys/config.h: Support Z8000.
14403 * libc/include/sys/signal.h: New signals for go32.
14404 * libc/machine/h8500/psi.S (__addpsir0r0): New function
14405 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
14406 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
14407 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
14408 size is variable, depending upon CHUNK_POWER.
14409 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
14410
14411Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
14412
14413 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
14414
14415Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
14416
14417 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
14418
14419Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
14420
14421 * configure.in: Change i[34]86 to i[345]86.
14422
14423 * libc/include/math.h: Don't define HUGE_VAL if it is already
14424 defined.
14425
14426Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
14427
14428 * testsuite/libm.sac/test_erfc.c: Correct some result values.
14429 * testsuite/libm.sac/test_gammaf.c: Likewise.
14430 * testsuite/libm.sac/test_sin.c: Likewise.
14431 * testsuite/libm.sac/test_tanh.c: Likewise.
14432
14433Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
14434
14435 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
14436 already set. Define typedefs __int32_t and __uint32_t.
14437 * libc/include/math.h: Include <machine/ieeefp.h>.
14438 (union __dmath): Use __uint32_t.
14439 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
14440 instead of int and unsigned int.
14441
14442Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
14443
14444 Replace the math library with the SunPRO fdlibm package.
14445 * libm/math: Completely changed all files.
14446 * libm/ieeefp: Remove contents and directory.
14447 * libm/Makefile.in (LIBM_FP_LIB): Remove.
14448 (SUBDIRS): Just set to math/lib.a.
14449 * libm/libm.texinfo: Updated for new library.
14450 * libc/include/math.h: Extensive changes for new math library.
14451 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
14452 from _FLOAT_ARG to float.
14453 (maxpowtwo, maxpowtwof): Don't declare.
14454 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
14455 (libm_fp_lib): Removed.
14456 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
14457 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
14458 argument to ${RUNTEST}.
14459 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
14460 (.c.o): New rule.
14461 (RUNTESTFLAGS): Set CC and CFLAGS.
14462 (TESTS): Remove test_log2 and test_log2f.
14463 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
14464 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
14465 _FLOAT_ARG, for single precision argument type.
14466 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
14467 expected failure. Close the input pipe.
14468 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
14469 Correct misspelling of inaccurate.
14470 (test_mok): Use ``inaccurate'', not ``wrong''.
14471 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
14472 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
14473 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
14474 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
14475 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
14476 test_yn.c): Correct many result values. Many are still wrong.
14477
14478 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
14479 just copy the string.
14480 (_gcvt): Always return the buffer.
14481
14482Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
14483
14484 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
14485
14486Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
14487
14488 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
14489 structure.
14490 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
14491 (_reclaim_reent): declare new entry point.
14492 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
14493 functions.
14494
14495 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
14496 ever allocated, so that we can later reclaim them all.
14497 (pow5mult): make reentrant.
14498
14499 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
14500 so that when given NULL as a buffer, return a pointer to static
14501 space in the rent structure. This is not documented behaviour;
14502 it's only to support ecvt and fcvt, which aren't ANSI anyway.
14503 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
14504 therefore become reentrant).
14505
14506 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
14507
14508Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
14509
14510 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
14511
14512Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
14513
14514 * Makefile.in: Make link to libg.a after libc.a; this is needed
14515 for the testsuites to build executables when everything comes
14516 from the tree.
14517
14518Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
14519
14520 * libc/Makefile.in: Add a VERSION variable so we can keep track.
14521 * libm/Makefile.in: Add a VERSION variable so we can keep track.
14522
14523Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
14524
14525 * libc/include/stdio.h: Use __VALIST, not va_list.
14526
14527Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
14528
14529 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
14530 testsuite/libm.sac/execute.exp:
14531 Replace error proc calls with perror calls.
14532
14533Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
14534
14535 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
14536 * libc/include/time.h: #define NULL as 0L.
14537
14538Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
14539
14540 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
14541 care of it.
14542
14543Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
14544
14545 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
14546 not __unix__.
14547
14548Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
14549
14550 * configure.in (TARGET_CFLAGS): Set -O2 as default.
14551 (z8k-*-*): Use syscalls fake sys dir.
14552 * libc/sys/z8k/glue.c: Rename syscalls.
14553 * libc/sys/go32/Makefile.in: Use new routines.
14554 * libc/machine/Makefile.in: Fix typo in ln stuff.
14555
14556Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
14557
14558 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
14559 * libc/Makefile.in (crt0.o): Likewise.
14560 * libc/machine/Makefile.in (lib.a): Likewise.
14561 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
14562
14563 All Makefile.in files: Added mostlyclean, realclean and distclean
14564 targets.
14565
14566 * Makefile.in: Don't bother to unexport XTRAFLAGS or
14567 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
14568 the top level Makefile.
14569
14570Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
14571
14572 * libc/sys/sparc64/sys/stat.h: New file.
14573 * libc/sys/sparc64/sys/time.h: New file.
14574 * libc/sys/sparc64/sys/types.h: New file.
14575
14576Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
14577
14578 * stub/ex93x/crt0.s (start): Add code to clear bss.
14579
14580Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
14581
14582 * libc/include/sys/types.h (time_t): Properly protect inside
14583 #ifndef __time_t_defined.
14584
14585 * libc/stdio/fileno.c: New file.
14586 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
14587 (fileno.o): Add dependency.
14588 * libc/include/stdio.h (__sgetc): Rename never to _never.
14589 (fileno macro): Disable, needs to do CHECK_INIT first.
14590
14591Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
14592
14593 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
14594 goal.
14595
14596 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
14597 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
14598 runtest.
14599 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
14600 runtest.
14601
14602Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
14603
14604 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
14605 of the various constants.
14606
14607Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
14608
14609 * libc/include/math.h: #ifndef __math_68881 around things which
14610 conflict with the (gcc-provided) inline functions in
14611 gcc/ginclude/math-68881.h.
14612
14613Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
14614
14615 * libc/include/_syslist.h (_gettimeofday): Define.
14616 (_times): Ditto.
14617 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
14618 (struct tms, timeval, timezone): Declare.
14619 (_gettimeofday_r, _times_r): Declare.
14620 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
14621 #ifdef _CLOCK_T_ surrounding definition of clock_t.
14622 (time_t): Add multiple definition protection, __time_t_defined.
14623 * libc/include/sys/time.h: Don't #include <time.h>.
14624 Always define struct timezone (remove #ifndef _TIME_H_).
14625 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
14626 #ifdef _CLOCK_T_ surrounding definition of clock_t.
14627 * libc/reent/Makefile.in (OFILES): Add timer.o.
14628 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
14629 * libc/reent/timer.c: New file.
14630 * libc/time/clock.c: #include <reent.h>.
14631 (clock): Call _times_r instead of times.
14632 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
14633 HAVE_GET_TIME_OF_DAY.
14634 Add comment regarding supporting OS routine(s) required (for docs).
14635 #include <reent.h>.
14636 (time): Call _gettimeofday_r instead of gettimeofday.
14637 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
14638 * libc/time/ctime.c: Ditto.
14639 * libc/time/strftime.c: Ditto.
14640 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
14641 (TEMPLATE_SFILES_R): Define here. Also define times.
14642 Add times_r.o/times.S dependence.
14643 (time2.c, junk.c): Deleted.
14644 * libc/sys/sparc64/time2.c: Deleted.
14645 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
14646
14647 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
14648 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
14649 * libc/sys/sparc64/junk.c: Deleted.
14650
14651Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
14652
14653 * libc/sys/sparc64/Makefile.in: Add times syscall.
14654 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
14655 be used with and without it. Add comment clarifying Medium/Anywhere
14656 model requirements.
14657 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
14658 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
14659 even if obsolete.
14660
14661Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
14662
14663 * configure.in (target_cflags): Move init.
14664 (sparc64-*-*): Define HAVE_BLKSIZE.
14665
14666Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
14667
14668 * libc/include/sys/_types.h: New file.
14669 * libc/include/reent.h: #include it.
14670 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
14671 MISSING_SYSCALL_NAMES.
14672 Sort syscalls.
14673 * libc/include/_syslist.h: Remove _raise.
14674 * libc/reent/signalr.c: New file.
14675 * libc/reent/Makefile.in: Compile it.
14676 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
14677 Add doc for raise and _raise_r.
14678 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
14679 (raise): Call _raise_r.
14680 (_raise_r): Call _getpid_r and _kill_r.
14681 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
14682 (abort): Loop forever calling raise and _exit.
14683
14684Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
14685
14686 * configure.in: Remove extraneous echo.
14687
14688Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
14689
14690 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
14691 collision with unistd.h, and fix for svr4.
14692
14693Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
14694
14695 * libc/stdio/local.h (_llicvt): Declare.
14696 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
14697 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
14698 (_llicvt): Define.
14699 (_sicvt): Fix function header (`value' is short).
14700 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
14701 Add printing of long long's support.
14702 Add printing of 8 byte pointer support.
14703
14704Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
14705
14706 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
14707 stat, chmod): New hooks.
14708 (sbrk): Abort if stack and heap collide.
14709 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
14710 shortcut when given small args.
14711 * libc/machine/sh/setjmp.s: Rewritten.
14712 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
14713 of cmp/str instruction.
14714
14715Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
14716
14717 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
14718 and machine_dir powerpc.
14719 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
14720 Add cases for __powerpc__.
14721 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
14722 New files.
14723
14724 * libc/include/stdio.h (_iprintf_r): Declare correctly.
14725
14726Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
14727
14728 * libc/stdlib/callocr.c: New file with _calloc_r in it.
14729 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
14730
14731Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
14732
14733 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
14734 (print_e): More comments to describe args, etc.
14735 "type" arg may now be 'g' or 'G' for %g/G format --> remove
14736 trailing blanks.
14737 (_gcvt): Remove locals decpt, sign, end, p, done.
14738 More comments for print_e invocation.
14739 Pass "type" to print_e as is (g/G).
14740
14741Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
14742
14743 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
14744 stock m68000.
14745
14746Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
14747
14748 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
14749 works with any sized pointer, including ones bigger than ints and
14750 longs.
14751
14752Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
14753
14754 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
14755
14756Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14757
14758 * libc/include/stdlib.h (_calloc_r): Add prototype.
14759 * libc/machine/h8500/negsi2.c: New file.
14760 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
14761 large unsigned numbers.
14762 * libc/machine/h8500/cmpsi.c: Add cmppsi.
14763 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
14764 works when sizeof(size_t) != sizeof(char *).
14765 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
14766 get play area
14767 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
14768
14769Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
14770
14771 * libc/include/assert.h (assert): Handle -traditional.
14772
14773Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
14774
14775 * Makefile.in: added ; after every "fi" and "done" that wasn't at
14776 the end of a line (ie. anything before a backslash continuation)
14777 so that bash handles them.
14778
14779Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
14780
14781 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
14782 stat to lstat
14783
14784Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
14785
14786 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
14787 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
14788 libc/machine/sh/udivsi3.s: Use new calling convention.
14789
14790Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
14791
14792 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
14793 chmod, access, chdir, chown by making _path const. Also fix _amode
14794 param of access.
14795
14796Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
14797
14798 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
14799 _khif_tmpnam, because it doesn't comply with ANSI but may be
14800 useful anyway. Real tmpnam was already in libc/stdio, and was
14801 colliding with this one (pr 2176.)
14802 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
14803 the wrong idea anyhow.
14804
14805Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
14806
14807 * configure.in: Remove h8300h, we have multilib now.
14808
14809Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
14810
14811 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
14812 functions, to get preference over the ones in libiberty (since we
14813 provide correct declarations in <string.h>.
14814 * libc/string/Makefile.in: add support for strncasecmp,
14815 strcasecmp.
14816
14817Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
14818
14819 * Change netware config not to look for cpu explicitly.
14820
14821Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
14822
14823 * libc/sys/sparc64/{creat.c,junk.c}: New files.
14824 * libc/sys/sparc64/Makefile.in: Add dependencies.
14825
14826Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
14827
14828 * configure.in: Clean up v9 a bit, new "os" aoutv8.
14829
14830Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
14831
14832 * libc/include/sys/reent.h: make structure smaller by allocating
14833 some stuff when needed.
14834 * libc/signal/signal.c: allocate as needed
14835 * libc/stdio/findfp.c,stdio/local.h: ditto
14836 * libc/stdlib/mprec.c: ditto
14837
14838 * libc/time/localtime.c: don't return a dangling stack ptr.
14839
14840Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
14841
14842 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
14843
14844Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14845
14846 * libc/include/stdio.h (__sputc): comment out static inline which
14847 confuses coff toolchains.
14848
14849Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
14850
14851 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
14852 _write.s, getpid.c, kill.c, read.s}:
14853 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
14854 through the syscalls directory.
14855
14856Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
14857
14858 * configure.in: fixed double quote gotcha.
14859
14860Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
14861
14862 * stub/ex931: stub library for sparclite board.
14863 * stub/idp: Renamed from mc68ec. Added contructor table
14864 stuff to linker script.
14865 * stub/mvme135: Renamed from m68kmvme. Added contructor table
14866 stuff to linker script.
14867
14868Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14869
14870 * configure.in: Configure testsuites only if they exist.
14871
14872Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
14873
14874 * configure.in: Don't set machine_dir for i386 until there is
14875 something in libc/machine/i386 to compile. For i[34]86-*-netware*
14876 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
14877 CLOCK_PROVIDED and MALLOC_PROVIDED.
14878
14879 * libc/sys/netware: New directory. Contains simplistic and
14880 probably incorrect stubs for NetWare. Should be enough to load
14881 the library.
14882 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
14883 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
14884 stub files.
14885
14886 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
14887 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
14888 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
14889 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
14890
14891Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
14892
14893 * testsuite/Makefile.in: add "docs" dummy target for consistency
14894 with rest of newlib; turn "info" and "install-info" into dummy
14895 targets, since they wouldn't have worked. (Depended on
14896 nonexistent "doc" subdir.)
14897
14898Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
14899
14900 * configure.in: handle mips* instead of mips
14901
14902Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
14903
14904 * libc/include/sys/dirent.h: New file. If it is not overridden by
14905 a version of libc/sys/*/sys/dirent.h, it includes the next
14906 <dirent.h> file in case there is one lurking somewhere.
14907
14908Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
14909
14910 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
14911 compliance, namely: Accept a minus sign. Consider a single 0 with
14912 a radix of 0 as being a conversion. Determine overflow correctly.
14913 If an overflow occurs, set *ptr to the end of the number, not the
14914 middle.
14915 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
14916
14917Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
14918
14919 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
14920
14921Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
14922
14923 * Makefile.in (INSTALL): Use $srcrootpre.
14924 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
14925 can't handle it.
14926 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
14927 it.
14928 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
14929 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
14930 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
14931 * libm/math/Makefile.in (matherr.o): Ditto.
14932
14933Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
14934
14935 * configure.in: Build multidirs for z8k.
14936 * libc/include/stdlib.h (_strtoul_r): add prototype.
14937 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
14938 * libc/include/machine/setjmp.h: Add for z8k.
14939 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
14940 * libc/sys/z8ksim/glue.c: tidy up.
14941
14942Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
14943
14944 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
14945 New files. Requires execve system call.
14946 * libc/unix/Makefile.in: Use them.
14947 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
14948 Deleted, moved to libc/unix.
14949 * libc/sys/sparc64/Makefile.in: Remove them.
14950
14951Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
14952
14953 * libc/sys/sparc64/{template.S template_r.S}: New files.
14954 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
14955 from templates.
14956 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
14957 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
14958 umask.S unlink.S wait4.S write.S}: Removed, now built from
14959 templates.
14960
14961Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
14962
14963 * libc/time/time.c: #include <_ansi.h>.
14964
14965Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
14966
14967 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
14968
14969Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14970
14971 * configure.in: match m8* rather than m88k so that m88110 is
14972 recognized as well.
14973
14974Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
14975
14976 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
14977 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
14978 misc.c: New file.
14979
14980 * configure.in: Add multilib support to h8300.
14981
14982Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
14983
14984 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
14985 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
14986 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
14987
14988Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
14989
14990 * configure.in: Corrected multidirs for sparc target.
14991
14992Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
14993
14994 Support for building newlib multiple times with different
14995 compilation flags.
14996 * configure.in: Only configure doc at top level. Set multidirs
14997 when appropriate for target, unless not at top level. If
14998 multidirs is set, independently configure each subdirectory.
14999 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
15000 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
15001 automagically set by configure.in.
15002 (all): If MULTIDIRS is set, build multiple copies of libraries.
15003 (install): If MULTIDIRS is set, install multiple copies of
15004 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
15005 MULTISUBDIR is set, don't bother to install header files.
15006 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
15007 ${srcrootpre}.
15008 * stub/configure.in: Set MULTISUBDIR appropriately.
15009 * stub/Makefile.in (install): Install in
15010 $(tooldir)/lib/$(MULTISUBDIR).
15011 * All Makefile.in files: Define SRCTOP as well as TOP.
15012
15013Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
15014
15015 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
15016 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
15017
15018Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
15019
15020 * libc/sys/h8300hms/exit.c (_exit): New function.
15021
15022Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
15023
15024 * configure.in: recognize m88110.
15025
15026Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
15027
15028 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
15029 prototype main and call with args.
15030
15031Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
15032
15033 First real try at system traps for m88k-bug.
15034 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
15035 to real trap calls.
15036 * libc/sys/m88kbug/sys/systraps.h: new file.
15037
15038Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
15039
15040 Patches to fix info building when target does not use sys
15041 directory.
15042 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
15043 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
15044 libc/sys.tex.
15045 * libc/sys/Makefile.in (doc): do nothing.
15046
15047Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
15048
15049 * libc/Makefile.in (CRT0): new macro.
15050 (all): depend on $(CRT0) rather than crt0.o.
15051
15052 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
15053 do not default crt0, instead, set crt0 and crt0_dir based on
15054 sys_dir and stub_dir.
15055
15056 * Makefile.in (CRT0_DIR): new macro.
15057 (all): depend on $(CRT0) rather than crt0.o which may not exist.
15058 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
15059 $(CRT0).
15060 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
15061
15062Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
15063
15064 * testsuite/lib/libm.exp:
15065 added code to support compiling and linking of tests for
15066 libm.sac (paranoia to be added next) and processing the
15067 pass or failure of the tests.
15068
15069 * testsuite/config/unix-libm.exp:
15070 platform specific proc's for dealing with compiler, linker
15071 and the way we execute and process the test results.
15072
15073 * testsuite/libm.sac/execute.exp:
15074 generic framework for the sac tests. the config and lib
15075 expect code for specific platforms tie it all together.
15076
15077 * testsuite/libm.sac/test_is.c:
15078 changed the output of the test to be consistant with the
15079 other tests. parsing of pass nad fail messages is now fixed.
15080
15081Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
15082
15083 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
15084 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
15085 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
15086 #ifdef __cplusplus, surround by extern ""C { ... }.
15087 * libc/include/assert.h: Do *not* protect assert.h against
15088 multiple inclusion! Also, #undef it before #define, to allow
15089 redefinition.
15090 * libc/include/stdio.h (getlogin, cuserid): Removed. These
15091 should be only in unistd.h.
15092
15093 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
15094 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
15095 ... }.
15096
15097Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
15098
15099 * libc/machine/sparc/Makefile.in: Must create a library, even
15100 if empty.
15101
15102Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
15103
15104 * configure.in: set machine_dir for m88k. edit crt0 definition
15105 into makefiles.
15106
15107 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
15108
15109 * libc/Makefile.in (all): also build crt0.o.
15110
15111 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
15112 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
15113 to remove CRT0.
15114
15115 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
15116 (all): reworked to build in place.
15117 (clean): remove lib.a
15118 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
15119
15120 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
15121 (_start): key off edata rather than _start_bss.
15122
15123Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
15124
15125 * libc/include/sys/unistd.h, libc/include/reent.h,
15126 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
15127
15128Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
15129
15130 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
15131
15132 * Makefile.in (libc.a): break into two rules, one for libc.a and
15133 one for libc/libc.a. Force subdirs current before rebuilding
15134 library.
15135 (libm.a): break into two rules, one for libm.a and one for
15136 libm/libm.a. Force subdirs current before rebuilding library.
15137
15138 * libc/Makefile.in (SUBLIBS): fix typo.
15139
15140 * libc/sys/Makefile.in (all): force descent into subdirs, then
15141 rebuild library iff out of of date.
15142
15143Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
15144
15145 Rework so that library is built and then finished rather than
15146 being built on each invocation of make.
15147
15148 * host/any (machine_dir, sys_dir, signal_dir): these are not
15149 shared and have been moved to their associated Makefile.in's.
15150 (AR_FLAGS): switch to qc which is faster.
15151 * configure.in: no longer assign machine_dir for m88k. set
15152 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
15153 stub_dir set, then add to configdirs. add comment about silly
15154 configuration.
15155 (configdirs): drop stub. It will be added only
15156 when needed.
15157 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
15158 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
15159 stub_lib, crt0): new variables for tailoring lower level
15160 makefiles. Assign accordingly and edit into makefiles.
15161 * libm/Makefile.in: updated copyright.
15162 (TARGETLIB): removed.
15163 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
15164 (SUBDIRS): removed TARGETDEP_DIRS.
15165 (LIBM_FP_LIB, SUBLIBS): new macros.
15166 (all): reworked.
15167 (force): new target to force rebuilds.
15168 (Makefile): call $(SHELL) rather than sh. drop redundant ./
15169 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
15170 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
15171 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
15172 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
15173 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
15174 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
15175 stub/m68kmvme/Makefile.in: updated copyright.
15176 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
15177 (all): reworked. made this the default rule.
15178 (clean): also remove lib.a.
15179 (Makefile): call $(SHELL) rather than sh. drop redundant ./
15180 * stub/Makefile.in: updated copyright.
15181 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
15182 (stub_lib): new macro.
15183 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
15184 RANLIB.
15185 (all): reworked.
15186 (clean, install): assume stub_dir exists.
15187 (Makefile): depend on configure.in. call $(SHELL) rather than
15188 sh. drop redundant ./
15189 * stub/configure.in (stublib): new macro, assign it, edit it into
15190 makefiles.
15191 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
15192 updated copyright.
15193 (all): reworked.
15194 (Makefile): call $(SHELL) rather than sh. drop redundant ./
15195 * libc/Makefile.in (TARGETCRT0): removed.
15196 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
15197 TARGETCRT0.
15198 (SUBDIRS): drop TARGETDEP_DIRS.
15199 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
15200 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
15201 (force): new target to force rebuilds.
15202 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
15203 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
15204 removed.
15205 (clean): assume sys_dir always exists.
15206 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
15207 drop redundant ./
15208 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
15209 libc/locale/Makefile.in, libc/machine/Makefile.in,
15210 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
15211 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
15212 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
15213 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
15214 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
15215 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
15216 libc/signal/Makefile.in, libc/stdio/Makefile.in,
15217 libc/stdlib/Makefile.in, libc/string/Makefile.in,
15218 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
15219 libc/time/Makefile.in, libc/unix/Makefile.in,
15220 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
15221 (TARGETLIB): removed.
15222 (all): reworked.
15223 (clean): also remove lib.a.
15224 (Makefile): call $(SHELL) rather than sh. drop redundant ./
15225 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
15226 new macros.
15227 (SUBDIRS): moved to follow frag inclusion, change stub to
15228 stub_dir.
15229 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
15230 are now set in the libc Makefile.
15231 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
15232 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
15233 TARGETCRT0.
15234 (force): new target to force rebuilds.
15235 * stub/configure.in: determine and set stub_lib for for Makefile.
15236
15237Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
15238
15239 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
15240 crt0.s renamed to crt0.S.
15241 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
15242
15243 * libc/machine/h8300/Makefile.in: Make `all' the default target.
15244 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
15245 h8300h.
15246 * libc/machine/h8300/defines.h: Add macros to handle pointers for
15247 h8300 (16 bits) and h8300h (32 bits).
15248 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
15249 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
15250
15251Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
15252
15253 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
15254 implementation of setjmp and longjmp for the m88k.
15255 * libc/include/machine/setjmp.h: Added __m88000__ case.
15256
15257Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
15258
15259 * configure.in: Recognize h8300h as variant of h8300.
15260
15261Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
15262
15263 * libc/include/sys/unistd.h (read, write): get prototypes right.
15264 (sbrk): New prototype.
15265 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
15266 * libc/stdio/local.h: Include unistd.h.
15267 * libc/machine/h8300/syscalls.c: Names have changed.
15268
15269Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
15270
15271 * configure.in: add sys_dir assignment for m88k-bug.
15272
15273Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
15274
15275 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
15276 a.out or elf.
15277 * libc/sys/sparc64: all *.S files: Use new macros.
15278 * libc/sys/sparc64/isatty.c: New file.
15279 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
15280 functions beyond what newlib provides.
15281
15282Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
15283
15284 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
15285 svr4.
15286
15287Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
15288
15289 * libc/include/machine/ieeefp.h: Add support for h8/300h.
15290
15291Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
15292
15293 * configure.in: add m88k.
15294 * libc/include/machine/ieeefp.h: add case for m88k. Also add
15295 sanity check so no one else need ever chase what I did to find
15296 this.
15297
15298 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
15299
15300Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
15301
15302 * doc/makedoc.c: Include <ctype.h>.
15303
15304Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
15305
15306 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
15307 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
15308 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
15309
15310 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
15311
15312Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
15313
15314 * libc/include/errno.h (ENOSYS): Added.
15315
15316 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
15317
15318Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
15319
15320 * libc/stdio/fflush.c (fflush): Check for reent struct
15321 initialization.
15322 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
15323
15324Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
15325
15326 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
15327 out of dtoa.c so it doesn't pollute the namespace.
15328 * libc/include/_syslist.h: new file -- mappings from _function to
15329 function, for systems where we can't win (by default, all of them,
15330 until we start updating system calls.)
15331 * libc/syscalls: new directory -- stubs for exporting _function
15332 names as unmodified function names.
15333 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
15334 _syslist.h on all platforms by default, but put hooks in for
15335 fake_sys_dir so we can include it when we've renamed the system
15336 calls.
15337 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
15338 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
15339 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
15340 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
15341 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
15342 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
15343 non ANSI functions to call _function.
15344
15345Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
15346
15347 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
15348 when base 16 is specified. Don't accept non-digits if radix > 10.
15349
15350Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
15351
15352 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
15353
15354Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
15355
15356 * libc/include/sys/stat.h: Surround text after #endif with
15357 comments.
15358
15359Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
15360
15361 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
15362 _malloc_r, _realloc_r, and free_r call the corresponding
15363 non-reentrant functions.
15364
15365 * libm/math/modf.c (modf): We now take the address of ipart, so
15366 don't make it a register variable.
15367
15368Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
15369
15370 * libm/math/*: Rename all xxx_r fns to _xxx_r.
15371
15372Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
15373
15374 * libc/libc.texinfo and embedded docn throughout: formatting
15375 improvements, minor rephrasing for clarity, and improved
15376 reentrancy docn.
15377
15378Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
15379
15380 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
15381
15382 * libc/stdio/cvt.c (_licvt): Print the right value on machines
15383 where sizeof(int) != sizeof(long).
15384
15385Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
15386
15387 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
15388 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
15389 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
15390 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
15391 libm/math/matherr.c: changes for better docn formatting (info).
15392
15393 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
15394 libc/reent/reent.tex, libc/signal/signal.tex,
15395 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
15396 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
15397 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
15398 makeinfo node defaulting to get better Info file node structure.
15399 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
15400 Also include a few formerly missing sections (subroutines).
15401
15402 * doc/doc.str: delete fossil expansion for "func"
15403
15404 * default.menu, no-signal.menu: delete.
15405
15406 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
15407 method used to adjust doc for missing "signals" chapter when
15408 signal_dir is empty.
15409
15410Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
15411
15412 * configure.in: added testsuite/libm.sac
15413
15414Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
15415
15416 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
15417 code model).
15418
15419Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
15420
15421 * libm/Makefile.in: Use $(MAKE) rather than make, and define
15422 MAKEOVERRIDES to be empty.
15423
15424Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
15425
15426 * configure.in: Don't build mips-*-* with -msoft-float, since that
15427 makes it incompatible with hard floating point.
15428
15429Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
15430
15431 * Makefile.in: added recursive 'make check'
15432
15433Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
15434
15435 * configure.in: added ./testsuite ./testsuite/libm.paranoia
15436 * ./testsuite/Makefile.in: created
15437 * ./testsuite/libm.paranoia: paranoia tests added
15438
15439Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
15440
15441 * configure.in: For mips-*-* set machine_dir to mips.
15442
15443 * libc/machine/mips: New directory.
15444 * libc/machine/mips/Makefile.in: New file.
15445 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
15446 setjmp and longjmp.
15447 * libc/include/machine/setjmp.h: Added __mips__ case.
15448
15449 * libc/machine/lmips: Removed unused and useless directory.
15450
15451Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
15452
15453 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
15454
15455Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
15456
15457 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
15458 start up).
15459
15460Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
15461
15462 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
15463 SETJMP_H.
15464
15465Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
15466
15467 * libm/test/convert.c: structure member errno -> errno_val.
15468 Must include <errno.h> to use errno, it's a macro now.
15469 * libm/test/math.c: Ditto.
15470 * libm/test/math2.c: Include errno.h.
15471 * libm/test/string.c: Ditto.
15472 * libm/test/test.h: structure member errno -> errno_val.
15473 Remove extern int errno decl.
15474
15475Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
15476
15477 * libc/stdio/Makefile.in: Added dependencies on local header
15478 files.
15479 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
15480 files.
15481
15482Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
15483
15484 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
15485
15486Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
15487
15488 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
15489 Initialize _data.
15490
15491 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
15492 * libc/stdio/local.h: Add prototype for _licvt.
15493
15494 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
15495 instead of malloc,reealloc.
15496
15497 * libc/stdlib/local.h: New file.
15498 * libc/stdlib/efgcvt.c: #include local.h.
15499 (gcvt): Fix call to _gcvt.
15500 * libc/stdlib/ecvtbuf.c: #include local.h.
15501
15502 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
15503 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
15504 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
15505
15506 * libc/stdlib/atexit.c: moved global data to struct _reent.
15507 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
15508
15509 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
15510
15511Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
15512
15513 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
15514 here from ../reent.h.
15515
15516Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
15517
15518 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
15519 should be provided in both libc.a and libm.a.
15520 (libc.a): Depend on targ-include and libm.a. Copy
15521 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
15522 (libm.a): Depend on targ-include.
15523 * configure.in (subdirs): Removed libc/math.
15524
15525Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
15526
15527 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
15528
15529Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
15530
15531 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
15532 sys/reent.h instead of reent.h.
15533 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
15534 headers moved to sys/reent.h.
15535 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
15536 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
15537 __need__MAX_SIGNALS defined.
15538 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
15539 std{in,out,err} refer to new _std{in,out,err} members.
15540
15541Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
15542
15543 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
15544 case.
15545
15546Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
15547
15548 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
15549 rather than whatever macro seterrno() has.
15550
15551Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
15552
15553 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
15554 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
15555
15556 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
15557 __STDC__.
15558
15559 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
15560 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
15561 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
15562
15563 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
15564 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
15565
15566 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
15567 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
15568 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
15569 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
15570 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
15571 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
15572 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
15573 renamed to _xxx_r. struct reent_struct renamed to struct _reent
15574 for ANSI. structure members given leading "_" for ANSI. Use
15575 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
15576
15577 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
15578 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
15579 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
15580 reent_struct renamed to struct _reent for ANSI.
15581 Structure members given leading "_" for ANSI.
15582 _CONST --> const in prototypes.
15583 Use _HAVE_STDC instead of __STDC__.
15584
15585 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
15586 _xxx_r.
15587 struct reent_struct renamed to struct _reent for ANSI.
15588 Structure members given leading "_" for ANSI.
15589
15590 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
15591 _xxx_r.
15592 struct reent_struct renamed to struct _reent for ANSI.
15593
15594 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
15595 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
15596 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
15597 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
15598 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
15599
15600 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
15601 signal.h, stdio.h, stdlib.h, string.h, time.h}:
15602 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
15603 #ifndef _STRICT_ANSI non-ANSI routines.
15604 Reentrant routines renamed from _r_xxx to _xxx_r.
15605 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
15606 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
15607 Clean up namespace (structure members have leading "_").
15608 struct reent_struct renamed to struct _reent for ANSI compliance.
15609 _CONST --> const in function prototypes.
15610
15611 * libc/include/string.h: Add NULL and size_t.
15612
15613 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
15614 unlink, wait, wait4. Reentrant syscall routines close, fork,
15615 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
15616 write.
15617 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
15618 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
15619 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
15620 write.S}: Define reentrant versions.
15621 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
15622 reentrant syscalls.
15623
15624 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
15625
15626 * libc/include/stdlib.h (RAND_MAX): Fix value.
15627
15628Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
15629
15630 * libc/sys/a29khif/_main.c: Removed unnecessary file.
15631 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
15632 VPATH support targets after all: target.
15633
15634 * stub/mvme135/mvme.S: Renamed exceptionhandler to
15635 exceptionHandler, which is what mvme135-stub.c expects.
15636
15637Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
15638
15639 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
15640
15641 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
15642 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
15643 compliant).
15644
15645Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
15646
15647 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
15648 first.
15649 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
15650 _r_write): Ditto.
15651 libc/reent/fstatr.c (_r_fstat): Ditto.
15652 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
15653 libc/reent/sbrkr.c (_r_sbrk): Ditto.
15654 libc/reent/statr.c (_r_stat): Ditto.
15655
15656 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
15657 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
15658 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
15659 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
15660 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
15661 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
15662 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
15663 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
15664 (__swrite): Ditto for _r_lseek, _r_write.
15665 (__sseek): Ditto for _r_lseek.
15666 (__close): Ditto for _r_close.
15667 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
15668
15669 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
15670 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
15671
15672 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
15673 to make reent_struct the first argument (and thus consistent with
15674 the rest of newlib).
15675
15676 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
15677 reference to __STDC__.
15678
15679Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
15680
15681 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
15682 global __cleanup.
15683
15684Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
15685
15686 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
15687 first.
15688 libc/stdio/fclose.c (fclose): Ditto.
15689
15690Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
15691
15692 * Run through indent and rename reentrant routines for ANSI.
15693 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
15694 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
15695 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
15696 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
15697 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
15698 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
15699 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
15700 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
15701 vsprintf.c wbuf.c wsetup.c local.h}
15702
15703 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
15704
15705 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
15706 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
15707 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
15708 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
15709 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
15710 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
15711
15712 * Run through indent.
15713 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
15714 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
15715 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
15716 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
15717 strxfrm.c}
15718
15719 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
15720 localtime.c mktime.c strftime.c time.c}:
15721 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
15722
15723 * Reformatting + renaming (for ANSI, GNU style, consistency).
15724 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
15725 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
15726 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
15727
15728Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
15729
15730 * libc/include/stdio.h (stdin_r): Fix.
15731
15732Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
15733
15734 * Makefile.in: Unexport some variables to keep GNU make from
15735 putting them in the environment and using up needed ARG_MAX space
15736 (a hack is used to let this work with older makes as well).
15737
15738Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
15739
15740 * Makefile.in: Use $(MAKE) rather than make.
15741 (MAKEOVERRIDES): Define to be empty.
15742 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
15743 (libc.a, libm.a): Depend on targ-include.
15744 * host/any (LD): Don't define.
15745 (INCLUDES): Use targ-include.
15746 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
15747 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
15748 * libc/Makefile.in: Use $(MAKE) rather than make.
15749 (MAKEOVERRIDES): Define to be empty.
15750 (FLAGS_TO_PASS): Don't pass LD (it's not used).
15751 (all): Rewrote to be slightly smaller.
15752 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
15753 Define to be empty.
15754 (FLAGS_TO_PASS): Don't pass LD (it's not used).
15755 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
15756
15757Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
15758
15759 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
15760 with errno/errno.c.
15761
15762Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
15763
15764 * Changes for reentrancy.
15765 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
15766 Use ptr->_errno, not errno.
15767 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
15768 libc/stdio/remove.c (remove_r): New function.
15769 libc/stdio/rename.c (rename_r): New function.
15770 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
15771 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
15772 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
15773 reentrant versions of system calls.
15774 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
15775 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
15776 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
15777 libc/stdio/findfp.c: Include <string.h>.
15778 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
15779 "local.h".
15780 libc/stdio/wbuf.c: Include "fvwrite.h"
15781
15782 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
15783 <string.h>.
15784 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
15785 (NULL): Don't define if already defined.
15786 libc/stdlib/system.c: Call reentrant versions of system calls.
15787 (system_r): New function.
15788
15789 * Changes for reentrancy.
15790 libc/include/_ansi.h (_PARAMS): New macro.
15791 libc/include/errno.h: Define errno as a macro that calls __errno.
15792 (__errno_r): New macro for reentrant code.
15793 libc/include/math.h: Include reent.h. Declare many reentrant
15794 functions.
15795 (signgam): Now a macro, not a variable.
15796 (struct exception): Added err field.
15797 libc/include/reent.h: Don't declare __sglue. Added function
15798 declarations.
15799 (struct reent_struct): Moved errno to beginning. Added _signgam.
15800 libc/include/stdio.h, libc/include/stdlib.h: Added function
15801 declarations.
15802
15803 * More reentrancy hacking.
15804 libc/errno/errno.c (__errno): New function.
15805 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
15806 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
15807 files.
15808
15809 * Added many new reentrant functions to libm/math/*.
15810 libm/math/error.c (__matherror): Added reent_struct pointer
15811 argument. Changed all callers.
15812 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
15813 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
15814 libm/math/tan.h: Removed obsolete unused header files.
15815
15816 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
15817
15818 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
15819
15820Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
15821
15822 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
15823 delay slots.
15824
15825Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
15826
15827 * libc/libc.texinfo: comment out reentrancy chapter (duh)
15828
15829Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
15830
15831 * libc/reent/reent.tex: New file. (text from
15832 newlib/libc/libc.texinfo)
15833 * libc/stdio/tmpnam.c: fixed doc typo
15834 * libc/stdlib/rand.c: fixed doc typo
15835
15836Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
15837
15838 * libc/reent/reent.tex: New file. (text from
15839 newlib/libc/libc.texinfo)
15840
15841Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
15842
15843 support for reentrancy
15844 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
15845 new files
15846 * libc/errno/errno.c, libc/include/ieeefp.h,
15847 libc/include/locale.h, libc/include/reent.h,
15848 libc/include/signal.h, libc/include/stdio.h,
15849 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
15850 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
15851 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
15852 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
15853 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
15854 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
15855 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
15856 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
15857 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
15858 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
15859 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
15860 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
15861 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
15862 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
15863 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
15864 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
15865 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
15866 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
15867 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
15868 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
15869 libc/time/strftime.c: modify to provide reentracy.
15870
15871 new routines:
15872 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
15873 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
15874 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
15875 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
15876 mstats_r, realloc_r, localeconv_r, setlocale_r
15877
15878Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
15879
15880 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
15881 libc/include/sys/config.h, libc/include/sys/signal.h,
15882 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
15883 provided macros (such as m68000), use the ansi version
15884 (__m68000__) so that the library can be used with code compiled
15885 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
15886 and sparc.
15887
15888Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
15889
15890 * configure.in (sparc*): Don't set -fsoft-float for sparc
15891 configurations. Do set -fsoft-float for sparclite configurations.
15892
15893Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
15894
15895 * default.menu, no-signal.menu: alternate forms of libc main menu
15896 (in newlib rather than newlib/libc due to configuration restrictions)
15897
15898 * configure.in: select one of the two menus above, link to
15899 libc.menu
15900
15901 * libc/libc.texinfo: include menu from separate file
15902
15903Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
15904
15905 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
15906 (info): Split long shell command in half.
15907 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
15908 sub-makes, just CHEW and TARGETDOC.
15909 (targetdep.tex): Removed now special handling of sys and machine
15910 subdirectories, made obsolete some time ago.
15911 * libc/machine/Makefile.in (doc): Don't pass everything to
15912 sub-make, just CHEW and TARGETDOC.
15913 (Makefile): New target.
15914 * libc/sys/Makefile.in (Makefile): New target.
15915
15916Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
15917
15918 * Makefile.in (here and most subdirectories): Only pass down CHEW
15919 and TARGETDOC when making info, not for other targets.
15920
15921 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
15922 $(AR_FLAGS) rather than $(ARUPDATE).
15923
15924Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
15925
15926 * Try to reduce command line length:
15927 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
15928 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
15929 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
15930 (info): Pass CHEW to other subdirs.
15931
15932Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
15933
15934 * configure.in: add signal_dir, like unix_dir, but by default it
15935 is set to "signal" so that a29khif can turn it off (since a29khif
15936 has raise() as part of machine-specific signal.s.)
15937
15938Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
15939
15940 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
15941 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
15942 correctly.
15943 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
15944 libc/stdio/vfprintf: type lint.
15945 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
15946 initialzation code.
15947 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
15948
15949Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
15950
15951 * stub/mvme135/mvme135-asm.S: new file.
15952 stub/mvme135mvme135-stub.c: moved all assembler routines into
15953 mvme135-asm.S.
15954 stub/mvme135/Makefile.in: build mvme135-stub.o.
15955
15956Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
15957
15958 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
15959 sub-Makefiles instead, to try to avoid line length limitations.
15960
15961Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
15962
15963 * libc/include/unistd.h (read, write): Use void* instead of
15964 char*.
15965
15966Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
15967
15968 * stub/go32/resetpc: sample script to send a reset packet to the
15969 stub
15970
15971 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
15972 DOS environment, which compiles with Turbo C.
15973
15974 * stub/go32/DSER32.LNK: new file, linker commands for serial
15975 remote stub.
15976
15977 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
15978 start up message to identify version; call set_debug_traps.
15979
15980 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
15981 keyboard interaction); call handle_exception() in go_til_stop,
15982 rather than return, so that the remote stub gets control.
15983
15984 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
15985 rename, rather than mv), set flags that work with current Turbo C,
15986 including using the /3 flag; also, add commands to build dser32.
15987
15988 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
15989 default Turbo C installation (\tc rather than \usr)
15990
15991 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
15992 "&..."
15993
15994Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15995
15996 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
15997
15998Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15999
16000 * libc/stdio/cvt.c (licvt): new function to convert ints when
16001 sizeof(int) != sizeof(long).
16002
16003 * libc/include/stdio.h: added prototype for iprintf.
16004 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
16005
16006Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
16007
16008 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
16009 __REGISTER_PREFIX__.
16010
16011Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
16012
16013 * libc/sys/m68kbare: moved into stub directory.
16014
16015Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
16016
16017 * configure.in, Makefile.in: created new directory stub, to hold
16018 sample code for specific targets.
16019
16020Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
16021
16022 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
16023 in the unified libc/include/sys/fcntl.h.
16024
16025Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
16026
16027 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
16028 printed .01, not 0.01.
16029
16030Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
16031
16032 * configure.in: compile with -m68000 for m68* targets.
16033
16034Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
16035
16036 * libm/math/remainder.c (remainder): document the svr4 and sunos
16037 references used to construct the function.
16038
16039Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
16040
16041 * libm/math/remainder.c (rint, remainder): fix old typos.
16042 * libm/math/Makefile.in: actually build remainder.c (functions
16043 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
16044 page.)
16045
16046Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
16047
16048 * libc/string/bcopy.c: BSD version works on overlapping strings,
16049 so ours should too.
16050
16051 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
16052 ("SHELL").
16053
16054Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
16055
16056 * Makefile.in (docs): new target.
16057
16058Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
16059
16060 * libc/include/sys/times.h: define clock_t as required by POSIX.
16061 libc/include/time.h: protect clock_t from multiple definitions.
16062
16063Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
16064
16065 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
16066 does not need more than the original three iterations to get
16067 within 1 ulp. (Paranoia tests for rounding to better than that,
16068 but further iterations *don't* help, only more subtle changes
16069 can.)
16070
16071Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
16072
16073 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
16074 were doing nothing useful.
16075
16076Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
16077
16078 * configure.in: define MALLOC_PROVIDED for vxworks targets;
16079 removed sys_dir settings of vxworks68 and vxworks960.
16080 host/any: don't pass -nostdinc to gcc, since newlib no longer
16081 provides all required header files.
16082
16083 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
16084 is not defined; this provides a hook for VxWorks.
16085
16086Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
16087
16088 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
16089 buffer if buf is NULL, don't do it here -- it is already being
16090 done by makebuf elsewhere in stdio.
16091
16092Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
16093
16094 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
16095 that C programs can call functions without using initial
16096 underscores.
16097
16098Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
16099
16100 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
16101
16102Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
16103
16104 * configure.in: set TARGET_CFLAGS for certain CPU types to
16105 -msoft-float.
16106
16107Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
16108
16109 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
16110
16111Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
16112
16113 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
16114 m68k*-unknown-coff.
16115
16116Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
16117
16118 * libc/include/stdio.h: define __need___va_list before including
16119 <stdarg.h>, to avoid defining va_arg, et. al.
16120
16121Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
16122
16123 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
16124 (don't cd to the user's home directory).
16125
16126 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
16127 In general this is the wrong thing to do, but I can't get around
16128 GNU make's insistence on passing command line arguments any other
16129 way.
16130
16131Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
16132
16133 * configure.in: always configure the libc/sys directory, since it
16134 now provides a required documentation file.
16135
16136 * Makefile.in: replaced all instances of $(MAKE) with make. In
16137 general this is the wrong thing to do, but I can't get around GNU
16138 make's insistence on passing command line arguments any other way.
16139
16140Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
16141
16142 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
16143 terminated.
16144
16145 * libc/stdio/local.h: include <stdarg.h> to define va_list.
16146 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
16147
16148 * libc/include/float.h, libc/include/stdarg.h,
16149 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
16150 versions instead.
16151 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
16152 <stdarg.h>, not from <machine/types.h>. Protect definition of
16153 NULL.
16154 libc/include/time.h: get size_t from stddef.h. Protect definition
16155 of NULL.
16156 libc/include/machine/limits.h: override gcc <limits.h> by defining
16157 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
16158 get correct INT_MIN and LONG_LONG values.
16159 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
16160 size_t or va_list at all; they're now gotten from stddef.h
16161 instead.
16162 libc/include/machine/varargs.h: removed; use gcc version instead.
16163 libc/include/sys/types.h: explicitly include <machine/types.h>.
16164
16165 * libm/math/sqrt.h: using the fp-bit routines appears to require
16166 more iterations.
16167
16168 * Makefile.in, host/any: let system include files override machine
16169 include files.
16170
16171Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
16172
16173 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
16174 override _*_T_ definitions defaulted here.
16175
16176Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
16177
16178 * Makefile.in (install): install the include files in
16179 $(tooldir)/include, not $(exec_prefix)/include.
16180
16181Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
16182
16183 * Makefile.in (install): fixed typo, and changed install to not
16184 force rebuild of libc.a and libm.a.
16185
16186Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
16187
16188 * libc/sys/a29khif/*: Changed all .include's to include
16189 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
16190 that they will be installed for the user.
16191
16192 * Makefile.in (all): create targ-include, a directory holding the
16193 machine and system specific header files during the build.
16194 (install): fixed installation of machine and system specific
16195 header files.
16196
16197 * Makefile.in: fixed comment.
16198 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
16199 we can pass $(INCLUDES) to it.
16200
16201Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
16202
16203 * libc/include/sys/param.h: new generic file, which may be
16204 overridden for specific systems.
16205
16206 * libc/include/sys/signal.h: define all ANSI signal names, and
16207 NSIG (which is not ANSI) for a29k.
16208
16209Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
16210
16211 * Makefile.in: don't pass down arguments the lower level makes
16212 will not need.
16213 * libc/Makefile.in: recurse directly, rather than using subdir_do,
16214 in hopes of avoiding argument length limits.
16215 * libm/Makefile.in: recurse directly, rather using subdir_do, in
16216 hopes of avoiding argument length limits.
16217
16218Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
16219
16220 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
16221 mode_t is defined.
16222
16223Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
16224
16225 * Fixed make info and make install-info for newlib, changing most
16226 Makefile.in and several *.tex files. Moved doc directory from
16227 libc to top level.
16228
16229 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
16230 Should be rewritten.
16231
16232 * libc/string/strings.tex: renamed node index to node index
16233 function, so that it does not conflict with the top level index
16234 node.
16235
16236 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
16237
16238Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
16239
16240 * Overhauled general configuration for newlib. Eliminated all
16241 target dependent Makefile fragments. Create libraries in newlib
16242 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
16243 than CROSS_CC, et. al. Broke make docs; will fix later.
16244
16245 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
16246 Should be rewritten.
16247
16248Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
16249
16250 * libc/configure.in: cleaned up somewhat; switch on ${target}
16251 rather than ${target_alias}.
16252 * libm/configure.in: cleaned up somewhat; switch on ${target}
16253 rather than ${target_alias}.
16254
16255 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
16256 * libc/include/ctype.h: marked _ctype_ as _CONST.
16257
16258 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
16259 _CONST.
16260
16261 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
16262 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
16263 libc/stdio/gets.c (gets): removed non-ANSI warning message.
16264 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
16265
16266 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
16267 bigtens, tinytens): marked arrays _CONST.
16268 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
16269 rather than a static variable.
16270
16271 * libc/time/asctime.c (asctime), libc/time/localtime.c
16272 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
16273 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
16274 mname_len, mname): Marked static arrays _CONST.
16275
16276 * libm/math/gamma.h: made local variables non-static.
16277
16278 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
16279 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
16280 _CONST.
16281
16282 * libm/math/constants.c: removed file, because the constants it
16283 defined were never referenced.
16284 libm/math/Makefile.in: removed references to constants.c.
16285 libm/math/mathimpl.h: removed declarations of constants.
16286
16287Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
16288
16289 * libc/include/machine/varargs.h: only call __builtin_saveregs if
16290 it is sensibly defined in libgcc2. Checks preprocessor defines,
16291 which is not a good solution.
16292
16293 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
16294
16295 * libm/frexp.c: handle denormalized numbers as arguments.
16296
16297 * libm/math/Makefile.in: added some dependencies for .c files
16298 which include local .h files.
16299
16300Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
16301
16302 * libc/configure.in: set target_alias for OSE*. Replace
16303 target_makefile_frag if it is blank.
16304
16305 * libc/Makefile.in: make sure everything is passed to subsidiary
16306 makes; create all directories when installing.
16307
16308 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
16309 CROSS_ARUPDATE instead of AR.
16310
16311 * libm/configure.in: set target_alias for OSE*. Replace
16312 target_makefile_frag if it is blank.
16313
16314 * libm/Makefile.in: make sure everything is passed to subsidiary
16315 makes; create all directories when installing.
16316
16317Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
16318
16319 * add following change from libc copy.
16320
16321Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
16322
16323 * libc/libc.texinfo: make copyright disclaimers appear on back of
16324 title page; make format of same slightly less ugly; avoid using
16325 underbars in section headings (avoids nasty texinfo bug in table
16326 of contents).
16327
16328 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
16329 comments only) avoid using underbars in section headings
16330
16331 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
16332 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
16333 changes in comments only): shorten headings ieeefp/infinity.c,
16334 ieeefp/isnan.c: (doc, comments only) more informative headings
16335
16336 * libc/math/bessel.c: (doc, comments only) shorten heading
16337
16338 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
16339 (doc, comments only) shorten headings
16340
16341 * libc/time/localtime.c (doc, comments only): shorten headings
16342
16343 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
16344 isnan
16345 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
16346 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
16347 headings
16348 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
16349 only) more informative headings
16350 * libm/math/bessel.c: (doc, comments only) shorten heading
16351
16352Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
16353
16354 * .../Makefile.in: use CROSS_ARUPDATE consistently.
16355 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
16356 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
16357 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
16358 defined, the one from the .mt file will be correct.
16359 * libc/include/machine, libc/include/sys: created, and populated
16360 with common files from machine/*/machine. ifdefs were used for
16361 most, typically by handling exceptions first and then filling in
16362 defaults. Files with D.J. Delorie copyright #included rather than
16363 copied. Most files in include/sys really were the same in the
16364 original.
16365 * libc/include/...: cleaned up use of _EXFUN.
16366 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
16367 it with double quotes, not angles.
16368
16369Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
16370
16371 * libc/Makefile.in: always create installation directories.
16372
16373Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
16374
16375 * libc/configure.in: handle host properly (using canonical
16376 triples), better error message for the case of target not found
16377
16378Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
16379
16380 * libc/Makefile.in (insincdir): Ensure this directory exists
16381 before attempting installation.
16382
16383Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
16384
16385 * libc/stdlib/assert.c: now calls abort like it should
16386 * libc/sys/a29khif: many many patches for 29khif work
16387 * libc/machine/i386: gnulib2 expanded there.
16388
16389Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
16390
16391 Added accurate fp conversion routines to stdlib, moved dcvt from
16392 stdio to stdlib and called it ecvtbuf:
16393 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
16394 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
16395 routines
16396 * libc/libc.texinfo: Modifed to include the copyright info from
16397 the mprec files
16398 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
16399 * libc/test/ : many vector which tested for the implementation
16400 defined returns of strange conversion requests have been updated
16401 to relflect the new implementation
16402
16403Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
16404
16405 * libc/libc.texinfo: new chapter on variable arg lists
16406 (stdarg.h/varargs.h)
16407 * libc/libc.texinfo: new title
16408 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
16409 (doc only) shorter headings for better formatting.
16410
16411Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
16412
16413 * libc/libc.texinfo: three more info menu entries
16414 * libc/locale/locale.tex: new chapter
16415 * libc/locale/locale.c: new doc for setlocale, localeconv
16416 * libc/locale/Makefile.in: use new locale doc
16417 * libc/signal/signal.tex: new chapter
16418 * libc/signal/raise.c, libc/signal/signal.c: new doc
16419 * libc/signal/Makefile.in: use new doc
16420 * libc/time/time.tex: new chapter
16421 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
16422 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
16423 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
16424 * libc/time/Makefile.in: use new doc
16425
16426Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
16427
16428 * libm/math/log1p.c: split to use the new function way of float
16429 function definition. math/log1p.h deleted
16430 * libm/math/scalb.c: obsolete and deleted
16431 * libm/math/scalbn.c: created from part log1p.c
16432 * libm/math/Makefile.in: know about log1p and scalbn
16433
16434Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
16435
16436 * libc/ctype/isupper.c: revise doc;
16437 libc/ctype/ctype.tex: use doc from isupper.c
16438
16439 * libc/string/bzero.c: new doc
16440
16441Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
16442
16443 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
16444 new doc
16445 * libc/stdlib/Makefile.in: extract new doc
16446 * libc/stdlib/stdlib.tex: use new doc
16447
16448 * libc/string/strerror.c: expanded doc.
16449
16450 * libc/stdio/Makefile.in: extract doc from more files
16451 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
16452 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
16453 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
16454 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
16455 libc/stdio/vsprintf.c: new doc
16456 * libc/stdio/stdio.tex: use new doc
16457
16458Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
16459
16460 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
16461 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
16462 finitef functions.
16463 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
16464 time ago.
16465
16466 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
16467 * libc/stdio/setbuf.c: added ansi style definition.
16468 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
16469 buffer if none provided.
16470 * libc/stdio/tmpfile.c: lint
16471 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
16472 rather than using static, also make sure file isn't already
16473 present. Uses P_tmpdir. (tempnam): rewritten to use new
16474 subroutine, and uses P_tmpdir.
16475 * libc/stdio/siprintf.c: created
16476
16477Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
16478
16479 Release 1.03 for NEC, major mods. Main differences from release
16480 1.02::
16481
16482 More tests in test/:
16483 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
16484 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
16485 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
16486 get/set mask, get/set sticky and get/set roundtoi. Tests
16487 that setting the bits changes the way arithmetic is done.
16488 * string.c: added test to make sure memcmp does it with unsigned
16489 chars.
16490 * test.c: cleaned up and removed lint.
16491 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
16492 dvec.c: tests for string to value conversions, sprintf, scanf,
16493 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
16494 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
16495 rounding in sprintf too.
16496 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
16497 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
16498 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
16499 and function form.
16500 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
16501 powf
16502
16503 In the library:
16504 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
16505 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
16506 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
16507 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
16508 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
16509 than sprintf.
16510 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
16511 * Method of producting float versions of double functions has
16512 changed, functions will be modified gradually. So far:
16513 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
16514 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
16515 altered
16516 * libc/string/memcmp.c: now uses unsigned chars
16517 * libc/string/bcmp.c, libc/string/strcpy.c,
16518 libc/stsring/strxfrm.c: fixed doc
16519 * libc/sys/sysvnecv70.tex: fix example of sbrk code
16520\f
16521Local Variables:
16522version-control: never
16523End:
This page took 1.841937 seconds and 5 git commands to generate.