]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
2004-06-27 Hideki Iwamoto <h-iwamoto@kit.hi-ho.ne.jp>
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
660dade3
JJ
12004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
2
3 * acinclude.m4: Move iconv options into configure.in.
4 * aclocal.m4: Regenerated.
5 * configure: Ditto.
6 * configure.in: Add iconv options.
7 * newlib.hin: Add new iconv encodings and remove deleted ones.
8 * doc/aclocal.m4: Regenerated.
9 * doc/configure: Ditto.
10 * iconvdata/aclocal.m4: Ditto.
11 * iconvdata/configure: Ditto.
12 * libc/iconv: Design change. New size-optimized ccs format.
13 * libc/iconv/AUTHORS: Removed.
14 * libc/iconv/COPYING: Ditto.
15 * libc/iconv/README.ORIGINAL: Ditto.
16 * libc/iconv/README.TODO: Ditto.
17 * libc/iconv/charset.aliases: Ditto.
18 * libc/iconv/encoding.aliases: New file.
19 * libc/iconv/Makefile.am: Updated.
20 * libc/iconv/Makefile.in: Regenerated.
21 * libc/iconv/iconv.tex: Updated.
22 * libc/iconv/ccs/Makefile.am: Ditto.
23 * libc/iconv/ccs/Makefile.in: Regenerated.
24 * libc/iconv/ccs/big5.c: Updated.
25 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
26 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
27 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
28 * libc/iconv/ccs/cp775.c: Ditto.
29 * libc/iconv/ccs/cp850.c: Ditto.
30 * libc/iconv/ccs/cp852.c: Ditto.
31 * libc/iconv/ccs/cp855.c: Ditto.
32 * libc/iconv/ccs/cp866.c: Ditto.
33 * libc/iconv/ccs/iso_8859_1.c: Ditto.
34 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
35 * libc/iconv/ccs/gb_2312_80.c: Ditto.
36 * libc/iconv/ccs/iconv_mktbl: Ditto.
37 * libc/iconv/ccs/jis_x0201.c: Ditto.
38 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
39 * libc/iconv/ccs/shift_jis.c: Ditto.
40 * libc/iconv/ccs/us_ascii.c: Ditto.
41 * libc/iconv/ccs/ccs.h: New file.
42 * libc/iconv/ccs/ccsbi.c: Ditto.
43 * libc/iconv/ccs/ccsbi.h: Ditto.
44 * libc/iconv/ccs/ccsnames.h: Ditto.
45 * libc/iconv/ccs/iso_8859_10.c: Ditto.
46 * libc/iconv/ccs/iso_8859_11.c: Ditto.
47 * libc/iconv/ccs/iso_8859_13.c: Ditto.
48 * libc/iconv/ccs/iso_8859_14.c: Ditto.
49 * libc/iconv/ccs/iso_8859_3.c: Ditto.
50 * libc/iconv/ccs/iso_8859_6.c: Ditto.
51 * libc/iconv/ccs/iso_8859_7.c: Ditto.
52 * libc/iconv/ccs/iso_8859_8.c: Ditto.
53 * libc/iconv/ccs/iso_8859_9.c: Ditto.
54 * libc/iconv/ccs/iso_ir_111.c: Ditto.
55 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
56 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
57 * libc/iconv/ccs/koi8_ru.c: Ditto.
58 * libc/iconv/ccs/koi8_uni.c: Ditto.
59 * libc/iconv/ccs/mktbl.pl: Ditto.
60 * libc/iconv/ccs/win_1250.c: Ditto.
61 * libc/iconv/ccs/win_1251.c: Ditto.
62 * libc/iconv/ccs/win_1252.c: Ditto.
63 * libc/iconv/ccs/win_1253.c: Ditto.
64 * libc/iconv/ccs/win_1254.c: Ditto.
65 * libc/iconv/ccs/win_1255.c: Ditto.
66 * libc/iconv/ccs/win_1256.c: Ditto.
67 * libc/iconv/ccs/win_1257.c: Ditto.
68 * libc/iconv/ccs/win_1258.c: Ditto.
d68d3538
JJ
69 * libc/iconv/ccs/iso_8859_15.c: Updated.
70 * libc/iconv/ccs/iso_8859_2.c: Ditto.
71 * libc/iconv/ccs/iso_8859_4.c: Ditto.
72 * libc/iconv/ccs/iso_8859_5.c: Ditto.
73 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
74 * libc/iconv/ccs/koi8_r.c: Ditto.
75 * libc/iconv/ccs/koi8_u.c: Ditto.
76 * libc/iconv/ccs/ksx1001.c: Ditto.
660dade3
JJ
77 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
78 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
79 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
80 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
81 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
82 * libc/iconv/ccs/binary/Makefile.am: Updated.
83 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
84 * libc/iconv/ccs/binary/big5.cct: Updated.
85 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
86 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
87 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
88 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
89 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
90 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
91 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
92 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
93 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
94 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
95 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
96 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
97 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
98 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
99 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
100 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
101 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
102 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
103 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
104 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
105 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
106 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
107 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
108 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
109 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
110 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
111 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
112 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
113 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
114 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
115 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
116 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
117 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
118 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
119 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
120 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
121 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
122 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
123 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
124 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
125 * libc/iconv/ces/Makefile.am: Updated.
126 * libc/iconv/ces/Makefile.in: Regenerated.
127 * libc/iconv/ces/ucs-2-internal.c: Updated.
128 * libc/iconv/ces/ucs-4-internal.c: Ditto.
129 * libc/iconv/ces/utf-16.c: Ditto.
130 * libc/iconv/ces/utf-8.c: Ditto.
131 * libc/iconv/ces/cesbi.c: New file.
132 * libc/iconv/ces/cesbi.h: Ditto.
133 * libc/iconv/ces/cesdeps.h: Ditto.
134 * libc/iconv/ces/euc.c: Ditto.
135 * libc/iconv/ces/mkdeps.pl: Ditto.
136 * libc/iconv/ces/table-pcs.c: Ditto.
137 * libc/iconv/ces/table.c: Ditto.
138 * libc/iconv/ces/ucs-2.c: Ditto.
139 * libc/iconv/ces/ucs-4.c: Ditto.
140 * libc/iconv/ces/us-ascii.c: Ditto.
141 * libc/iconv/ces/euc-jp.c: Removed.
142 * libc/iconv/ces/euc-kr.c: Ditto.
143 * libc/iconv/ces/euc-tw.c: Ditto.
144 * libc/iconv/ces/gb2312.c: Ditto.
145 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
146 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
147 * libc/iconv/lib/Makefile.am: Updated.
148 * libc/iconv/lib/Makefile.in: Regenerated.
149 * libc/iconv/lib/endian.h: Updated.
150 * libc/iconv/lib/iconv.c: Ditto.
151 * libc/iconv/lib/local.h: Ditto.
152 * libc/iconv/lib/aliases.c: Removed.
153 * libc/iconv/lib/bialiasesi.c: Ditto.
154 * libc/iconv/lib/biccs.c: Ditto.
155 * libc/iconv/lib/bices.c: Ditto.
156 * libc/iconv/lib/ccs.c: Ditto.
157 * libc/iconv/lib/ces.c: Ditto.
158 * libc/iconv/lib/ces_euc.c: Ditto.
159 * libc/iconv/lib/ces_iso2022.c: Ditto.
160 * libc/iconv/lib/ces_table.c: Ditto.
161 * libc/iconv/lib/converter.c: Ditto.
162 * libc/iconv/lib/deps.h: Ditto.
d68d3538
JJ
163 * libc/iconv/lib/loaddata.c: Ditto.
164 * libc/iconv/lib/aliasesbi.c: New file.
660dade3
JJ
165 * libc/iconv/lib/aliasesi.c: Ditto.
166 * libc/iconv/lib/conv.h: Ditto.
167 * libc/iconv/lib/encnames.h: Ditto.
168 * libc/iconv/lib/encoding.deps: Ditto.
169 * libc/iconv/lib/iconvnls.c: Ditto.
170 * libc/iconv/lib/iconvnls.h: Ditto.
660dade3
JJ
171 * libc/iconv/lib/nullconv.c: Ditto.
172 * libc/iconv/lib/ucsconv.c: Ditto.
173 * libc/iconv/lib/ucsconv.h: Ditto.
174 * libc/include/iconv.h: Update copyright.
175 * libc/*/aclocal.m4: Regenerated.
176 * libc/*/configure: Ditto.
177 * libm/*/aclocal.m4: Ditto.
178 * libm/*/configure: Ditto.
179
9a6831be
AO
1802004-06-22 Alexandre Oliva <aoliva@redhat.com>
181
eb6a452a
AO
182 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
183 instead of typedefing jmp_buf.
184
9a6831be
AO
185 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
186 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
187 * libc/machine/h8300/defines.h (LEN): New macro.
188 * libc/machine/h8300/memcpy.S: Add h8sx version.
189 * libc/machine/h8300/memset.S: Likewise.
190 * libc/machine/h8300/strcmp.S: Likewise.
191 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
192 * libc/machine/h8300/h8sx_strcpy.S: New file.
193 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
194 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
195 __H8300SX__.
196 * libc/include/machine/setjmp.h: Likewise.
197 * libc/include/sys/config.h: Likewise.
198 * libc/machine/h8300/defines.h: Likewise.
199 * libc/machine/h8300/setjmp.S: Likewise.
200 * libc/machine/h8300/strcmp.S: Likewise.
201 * libc/sys/h8300hms/close.S: Likewise.
202 * libc/sys/h8300hms/fstat.S: Likewise.
203 * libc/sys/h8300hms/lseek.S: Likewise.
204 * libc/sys/h8300hms/read.S: Likewise.
205 * libc/sys/h8300hms/write.S: Likewise.
206 * libc/sys/h8300hms/crt0.S: Likewise.
207 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
208 __H8300SX__ is defined.
209 * libc/sys/h8300hms/setarch.h: Likewise.
210
80dba41e
JJ
2112004-06-17 Jeff Johnston <jjohnstn@redhat.com>
212
213 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
214 out change which set _GLOBAL_REENT to _global_impure_ptr until
215 we understand why Cygwin breaks because of it.
216
be910599
JJ
2172004-06-14 Jeff Johnston <jjohnstn@redhat.com>
218
219 * libc/sys/linux/machine/i386/syscall.h: For now, set up
220 __syscall_return macro for systems with vsyscall.
221
d0bd3e6f
JJ
2222004-06-11 Antony King <antony.king@st.com>
223
224 * libc/include/sys/_types.h: Include <sys/lock.h> and change
225 _flock_t to be of type _LOCK_RECURSIVE_T.
226 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
227 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
228 (_global_impure_ptr): New declaration.
229 (_GLOBAL_REENT): Change to be _global_impure_ptr.
230 * libc/include/sys/stdio.h: Include <sys/lock.h> and
231 <sys/reent.h>.
232 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
233 (_funlockfile)[!SINGLE_THREAD]: Ditto.
234 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
235 * libc/stdio/fclose.c: Remove casting of fp lock to
236 _LOCK_RECURSIVE_T.
237 * libc/stdio/findfp.c: Ditto.
238 * libc/stdio/fopen.c: Ditto.
239 * libc/stdio/freopen.c: Ditto.
240 * libc/stdio/vfprintf.c: Ditto.
241 * libc/stdio64/fopen64.c: Ditto.
242 * libc/stdlib/envlock.c: Add default stubs that use generic
243 locking code.
244 * libc/stdlib/mlock.c: Ditto.
245
246 Jeff Johnston <jjohnstn@redhat.com>
247 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
248 (_flock_t): Change to be a struct containing a single member
249 named mutex which is of type __flock_mutex_t.
250
db7033a9
JJ
2512004-06-09 Jeff Johnston <jjohnstn@redhat.com>
252
253 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
254 from /usr/include/asm/signal.h instead of kernel sources. Also
255 default max to 32 if not found in header file.
256 * libc/sys/linux/Makefile.in: Regenerated.
257 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
258 systems where __syscall_return is not defined.
259 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
260 systems to use syscall() function instead of assembler interrupt.
261
a170abec
JJ
2622004-06-09 Toralf Lund <toralf@procaptura.com>
263
264 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
265 files from libc/sys/arm to libc/machine/arm.
266 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
267 library build support for files moved from libc/sys/arm.
268 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
269 references to access and setjmp.
270 * configure.host: Add checks for newlib_may_supply_syscalls to
271 determine whether or not to use sys/arm directory and use
272 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
273
8b57e664
JJ
2742004-06-02 Jeff Johnston <jjohnstn@redhat.com>
275
276 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
277 reset digit flags appropriately after we have discovered "0x".
278 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
279
3f611058
JJ
2802004-05-27 Jeff Johnston <jjohnstn@redhat.com>
281
282 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
283 from here ...
284 (_VFPRINTF_R): ... to here so all I/O printf routines
285 are covered.
286
bb42a35c
JJ
2872004-05-26 Jeff Johnston <jjohnstn@redhat.com>
288
289 * libc/search/hash_buf.c: Protect MAX and MIN macros from
290 redefinition.
291 * libc/search/hash.c: Ditto.
292
227e6ef6
JJ
2932004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
294
295 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
296 (_WANT_IO_LONG_LONG): Ditto.
297 (_WANT_IO_LONG_DOUBLE): Ditto.
298 * configure.in: Add new configuration options
299 --enable-newlib-io-long-long and --enable-newlib-io-long-double
300 which tie to new defines in newlib.hin.
301 * configure: Regenerated.
302 * configure.host: Add checks for new configuration options. Also
303 fix up check for --enable-newlib-io-pos-args so configuration
304 option will override any default for a given platform.
305 Remove defining compiler flags for the _WANT_IO* options.
306 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
307 instead of looking for old compiler flags.
308 * libc/stdio/vfscanf.c: Ditto.
309 * libc/stdio/vfieeefp.h: Ditto.
310 * libc/machine/powerpc/vfprintf.c: Ditto.
311 * libc/machine/powerpc/vfscanf.c: Ditto.
312
9178da95
JJ
3132004-05-25 Jeff Johnston <jjohnstn@redhat.com>
314
315 * testsuite/include/check.h: Add include of <stdio.h>.
316
cf3aae91
CV
3172004-05-17 Corinna Vinschen <corinna@vinschen.de>
318
319 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
320
5b4c8ae2
JJ
3212004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
322
323 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
324 of free.
325
3262004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
327
328 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
329 list for reentrant pointer. Call _vfiprintf_r.
330 * libc/stdio/siprintf.c (_siprintf_r): New function.
331 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
332 pointer argument. Change all callers. Call _VFPRINTF_R.
333 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
334 prototypes.
335
631fbe65
JJ
3362004-05-07 Jeff Johnston <jjohnstn@redhat.com>
337
338 * libc/include/sys/param.h: Remove endian info and include
339 <machine/endian.h> instead.
340 * libc/include/machine/endian.h: New file.
341 * libc/include/machine/param.h: Ditto.
342 * libc/machine/arm/machine/endian.h: Ditto.
343 * libc/machine/arm/machine/param.h: Ditto.
344 * libc/sys/arm/sys/param.h: Removed.
345 * libc/sys/sysvi386/sys/param.h: Ditto.
346 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
347
1af84bb7
JJ
3482004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
349
350 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
351 multibyte functions return failure for %C, %S, %lc, and %ls
352 format specifiers.
353
1c63798e
JJ
3542004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
355
356 * testsuite/include/check.h (CHECK): Add flush of stdout.
357
20b0251a
JJ
3582004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
359
360 * libc/include/stdio.h (_ungetc_r): New prototype.
361 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
362 (__submore): Add reentrant struct pointer argument.
363 (ungetc): Change to call _ungetc_r.
364
6194cf4a
JJ
3652004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
366
367 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
368 function pointer argument.
369 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
370 to specify function pointer arguments.
371 (__fwalk, __fwalk_reent): Ditto.
372
b4ddf489
AH
3732004-04-26 Aldy Hernandez <aldyh@redhat.com>
374
375 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
376 CT_INT case.
377
f777e3a5
JJ
3782004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
379
380 * configure.in: Define _MB_CAPABLE if mb supported.
381 * configure: Regenerated.
382 * configure.host: Remove manual setting of MB_CAPABLE compiler
383 flag.
384 * newlib.hin: Add _MB_CAPABLE flag.
385 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
386 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
387 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
388 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
389 * libc/ctype/jp2uc.c: Ditto.
390 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
391 * libc/locale/locale.c: Ditto
392 * libc/machine/powerpc/vfscanf.c: Ditto
393 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
394 * libc/stdlib/mblen.c: Ditto
395 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
396 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
397 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
398 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
399 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
400 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
401 * libc/sys/linux/intl/explodename.c: Ditto
402 * libc/sys/linux/intl/finddomain.c: Ditto
403 * libc/sys/linux/intl/l10nflist.c: Ditto
404 * libc/sys/linux/intl/loadmsgcat.c: Ditto
405 * libc/sys/linux/intl/localealias.c: Ditto
406
27c7566c
JJ
4072004-04-23 Jeff Johnston <jjohnstn@redhat.com>
408
409 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
410 (__svfscanf_r): In integer conversions, leave out leading zeroes
411 which are not part of a base prefix.
412 Keep track of width truncation to fit into buf, not counting left-out
413 zeroes against width till the truncation has been compensated for.
414 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
415
c00f9719
JJ
4162004-04-23 Jeff Johnston <jjohnstn@redhat.com>
417
418 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
419
05b31577
JJ
4202004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
421
422 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
423 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
424 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
425 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
426 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
427 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
428 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
429 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
430 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
431 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
432 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
433 libc/stdio/getchar.c libc/stdio/getchar_u.c,
434 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
435 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
436 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
437 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
438 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
439 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
440 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
441 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
442 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
443 libc/stdio/siprintf.c libc/stdio/snprintf.c,
444 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
445 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
446 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
447 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
448 libc/stdio/vprintf.c libc/stdio/vscanf.c,
449 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
450 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
451 libc/stdio/wsetup.c: Perform minor formatting changes. Move
452 copyright notices to top of file, ensure that <_ansi.h> is
453 included, be consistent with open parentheses, use _DEFUN macro,
454 include "local.h" where needed, and remove various compiler
455 warnings.
456
04e8fca1
JJ
4572004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
458
459 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
460 (__svfscanf_r): In integer conversions, leave out leading zeroes
461 which are not part of a base prefix.
462 Keep track of width truncation to fit into buf, not counting left-out
463 zeroes against width till the truncation has been compensated for.
464
9090ec74
CV
4652004-04-20 Corinna Vinschen <corinna@vinschen.de>
466
467 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
468
1c17deea
CV
4692004-04-20 Corinna Vinschen <corinna@vinschen.de>
470
471 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
472
54c7940f
CV
4732004-04-10 Corinna Vinschen <corinna@vinschen.de>
474
475 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
476 to SUSv3.
477
47dcaf56
JJ
4782004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
479
480 * libc/stdio/fclose.c (_fclose_r): New function.
481 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
482 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
483 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
484 * libc/include/stdio.h (_fclose_r): New prototype.
485 * libc/stdio/fopen.c: Fix typo in comment.
486
4872004-04-08 Jeff Johnston <jjohnstn@redhat.com>
488
489 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
490 to handle _r reentrant functions.
491
4121d8cf
JJ
4922004-04-08 Eric Christopher <echristo@redhat.com>
493
494 * libc/include/machine/setjmp.h: Fix endif locations.
495
59c9f5f5
JJ
4962004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
497
498 * libc/time/strptime.c: Add standard includes to avoid
499 warning messages at compilation time.
500
38f4f023
JJ
5012004-04-01 Jeff Johnston <jjohnstn@redhat.com>
502
503 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
504 of file.
505
5062004-03-30 Jeff Johnston <jjohnstn@redhat.com>
ed4c5ece
JJ
507
508 * libc/machine/h8300/Makefile.am: Reformat slightly.
509 * libc/machine/h8300/Makefile.in: Regenerate.
510
38f4f023 5112004-03-30 Thomas Pfaff <tpfaff@gmx.net>
cacc0d44
JJ
512
513 * libc/stdio/findfp.c (__fp_lock_all): Add call to
514 __sfp_lock_acquire.
515 (__fp_unlock_all): Add call to __sfp_lock_release.
516
10dcf7e7
JJ
5172004-03-25 Thomas Pfaff <tpfaff@gmx.net>
518
519 * libc/stdio/fclose.c (fclose): Protect file pointer list when
520 releasing a file.
521 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
522 fwalk.
523 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
524 _flockfile/_funlockfile.
525 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
526 to recursive.
527 Change __lock_acquire/__lock_release calls for __sfp_lock to
528 __sfp_lock_acquire/__sfp_lock_release throughout.
529 (std): Make sure that file lock is only initialized once.
530 (__sfp): Move _file initialization. Initialize file lock.
531 (__sfp_lock_acquire): New function.
532 (__sfp_lock_release): Ditto.
533 (__fp_lock_all): Remove __sfp_lock_acquire call.
534 (__fp_unlock_all): Remove __sfp_lock_release call.
535 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
536 Add calls to _flockfile/_funlockfile. Remove
537 __lock_init_recursive call.
538 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
539 * libc/stdio/fwalk.c (__fwalk): New static function.
540 (_fwalk): Protect file pointer list. Use __fwalk to walk through
541 file pointers.
542 * libc/stdio/local.h: Add defines for
543 __sfp_lock_acquire/__sfp_lock_release when
544 single threaded. Add function prototypes otherwise.
545 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
546 _flockfile/_funlockfile.
547 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
548 Add calls to _flockfile/_funlockfile. Remove
549 __lock_init_recursive call.
550 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
551 list.
552
ec475b09
JJ
5532004-03-25 Jeff Johnston <jjohnstn@redhat.com>
554
555 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
556 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
557 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
558 to be __LOCK_INIT_RECURSIVE.
559
2c4ef10a
JJ
5602004-03-11 Kazu Hirata <kazu@cs.umass.edu>
561
562 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
563 _exit.c with _exit.S.
564 * libc/sys/h8300hms/Makefile.in: Regenerate.
565 * libc/sys/h8300hms/_exit.c: Remove.
566 * libc/sys/h8300hms/_exit.S: New.
567
41c3da6a
JJ
5682004-03-09 Thomas Pfaff <tpfaff@gmx.net>
569
570 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
571 Change __sfp_lock to static global.
572 (__fp_lock): New static function.
573 (__fp_unlock): Ditto.
574 (__fp_lock_all): New function.
575 (__fp_unlock_all): Ditto.
576
0ccf5430
CF
5772004-02-10 Christopher Faylor <cgf@redhat.com>
578
579 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
580 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
581 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
582 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
583
3536f0fb
CF
5842004-02-09 Christopher Faylor <cgf@redhat.com>
585
586 * libc/include/time.h (TIMER_RELTIME): New define.
587
6a6e493a
JJ
5882004-02-09 Jeff Johnston <jjohnstn@redhat.com>
589
590 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
591 * libc/stdlib/Makefile.in: Regenerated.
592
733309f5
CF
5932004-02-08 Christopher Faylor <cgf@redhat.com>
594
595 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
596 * libc/include/sys/reent.h (__getreent): Protect against possibly being
597 defined.
598 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
599
b4a84c66
JJ
6002004-02-05 Paul Brook <paul@codesourcery.com>
601
602 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
603 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
604
4669438f
JJ
6052004-02-02 Jeff Johnston <jjohnstn@redhat.com>
606
607 * NEWS: Update with 1.12.0 info.
608 * README: Ditto.
609 * acinclude.m4: Change version number to 1.12.0.
610 * aclocal.m4: Regenerated.
611 * configure: Ditto.
612 * doc/aclocal.m4: Ditto.
613 * doc/configure: Ditto.
614 * libc/*/aclocal.m4: Ditto.
615 * libc/*/configure: Ditto.
616 * libc/libc.texinfo: Ditto.
617 * libm/*/aclocal.m4: Ditto.
618 * libm/*/configure: Ditto.
619 * libm/libm.texinfo: Ditto.
620 * libc/sys/linux/shared.ld: Add VERS_1.12.
621
94d61fcb
JJ
6222004-02-02 Joel Sherrill <joel@oarcorp.com>
623
624 * configure.host: Add support for tic4x.
625 * libc/include/machine/ieeefp.h: Ditto.
626 * libc/include/machine/setjmp.h: Ditto.
627 * libc/machine/tic4x/Makefile.am: New file.
628 * libc/machine/tic4x/configure.in: Ditto.
629 * libc/machine/tic4x/setjmp.S: Ditto.
630 * libc/machine/tic4x/aclocal.m4: Generated.
631 * libc/machine/tic4x/configure: Ditto.
632 * libc/machine/tic4x/Makefile.in: Ditto.
633
c730e0e7
JJ
6342004-01-30 Jeff Johnston <jjohnstn@redhat.com>
635
636 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
637 file chain on the passed in reentrancy struct if it
638 is _GLOBAL_REENT.
639
2892ec68
JJ
6402004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
641 Jeff Johnston <jjohnstn@redhat.com>
642
643 * libc/iconv/iconv.tex: Updated with more information.
644
ff41498a
JJ
6452004-01-30 Thomas Pfaff <tpfaff@gmx.net>
646 Jeff Johnston <jjohnstn@redhat.com>
647
648 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
649 struct for std streams and traverse the global reeentrancy
650 struct for all other streams.
651
d5b6c234
JJ
6522004-01-27 Jeff Johnston <jjohnstn@redhat.com>
653
654 * libc/stdlib/atexit.c: Protect global atexit list with a
655 lock when newlib is multithreaded.
656
01e0a777
JJ
6572004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
658
659 * configure.in: Add support to generate iconv converter flags
660 for newlib.h
661 * newlib.hin: Add iconv converter flags.
662 * configure: Regenerated.
663 * libc/Makefile.in: Ditto.
664 * libc/configure.in: Moved iconv converter parsing logic to
665 top level newlib configure.in.
666 * libc/configure: Regenerated.
667 * libc/iconv/Makefile.in: Ditto.
668 * libc/iconv/README.TODO
669 * libc/iconv/charset.aliases: Remove wrong BE aliases for
670 UCS2/UCS4/UTF8.
671 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
672 newlib.h can be used.
673 * libc/iconv/ces/Makefile.am: Ditto.
674 * libc/iconv/lib/Makefile.am: Ditto.
675 * libc/iconv/ccs/Makefile.in: Regenerated.
676 * libc/iconv/ces/Makefile.in: Ditto.
677 * libc/iconv/lib/Makefile.in: Ditto.
678 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
679 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
680 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
681 defined in newlib.h.
682 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
683 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
684 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
685 * libc/iconv/ccs/cp775.c: Ditto.
686 * libc/iconv/ccs/cp850.c: Ditto.
687 * libc/iconv/ccs/cp852.c: Ditto.
688 * libc/iconv/ccs/cp855.c: Ditto.
689 * libc/iconv/ccs/cp866.c: Ditto.
690 * libc/iconv/ccs/gb_2312_80.c: Ditto.
691 * libc/iconv/ccs/iso_8859_1.c: Ditto.
692 * libc/iconv/ccs/iso_8859_15.c: Ditto.
693 * libc/iconv/ccs/iso_8859_2.c: Ditto.
694 * libc/iconv/ccs/iso_8859_4.c: Ditto.
695 * libc/iconv/ccs/iso_8859_5.c: Ditto.
696 * libc/iconv/ccs/jis_x0201.c: Ditto.
697 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
698 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
699 * libc/iconv/ccs/koi8_r.c: Ditto.
700 * libc/iconv/ccs/koi8_u.c: Ditto.
701 * libc/iconv/ccs/ksx1001.c: Ditto.
702 * libc/iconv/ccs/shift_jis.c: Ditto.
703 * libc/iconv/ccs/us_ascii.c: Ditto.
704 * libc/iconv/ccs/binary/big5.cct: Newly generated.
705 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
706 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
707 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
708 * libc/iconv/ccs/binary/cp775.cct: Ditto.
709 * libc/iconv/ccs/binary/cp850.cct: Ditto.
710 * libc/iconv/ccs/binary/cp852.cct: Ditto.
711 * libc/iconv/ccs/binary/cp855.cct: Ditto.
712 * libc/iconv/ccs/binary/cp866.cct: Ditto.
713 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
714 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
715 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
716 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
717 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
718 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
719 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
720 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
721 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
722 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
723 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
724 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
725 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
726 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
727 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
728 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
729 * libc/iconv/ces/euc-kr.c: Ditto.
730 * libc/iconv/ces/euc-tw.c: Ditto.
731 * libc/iconv/ces/gb2312.c: Ditto.
732 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
733 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
734 * libc/iconv/ces/ucs-2-internal.c: Ditto.
735 * libc/iconv/ces/ucs-4-internal.c: Ditto.
736 * libc/iconv/ces/utf-16.c: Ditto.
737 * libc/iconv/ces/utf-8.c: Ditto.
738 * libc/iconv/lib/aliases.c: Ditto.
739 * libc/iconv/lib/biccs.c: Ditto.
740 * libc/iconv/lib/bices.c: Ditto.
741 * libc/iconv/lib/ccs.c: Ditto.
742 * libc/iconv/lib/ces.c: Ditto.
743 * libc/iconv/lib/ces_euc.c: Ditto.
744 * libc/iconv/lib/ces_iso2022.c: Ditto.
745 * libc/iconv/lib/ces_table.c: Ditto.
746 * libc/iconv/lib/converter.c: Ditto.
747 * libc/iconv/lib/deps.h: Ditto.
748 * libc/iconv/lib/endian.h: Ditto.
749 * libc/iconv/lib/iconv.c: Ditto.
750 * libc/iconv/lib/loaddata.c: Ditto.
751 * libc/iconv/lib/local.h: Include newlib.h.
752 * libc/argz/Makefile.in: Regenerated.
753 * libc/ctype/Makefile.in: Ditto.
754 * libc/errno/Makefile.in: Ditto.
755 * libc/iconv/ccs/binary/Makefile.in: Ditto.
756 * libc/locale/Makefile.in: Ditto.
757 * libc/misc/Makefile.in: Ditto.
758 * libc/posix/Makefile.in: Ditto.
759 * libc/reent/Makefile.in: Ditto.
760 * libc/search/Makefile.in: Ditto.
761 * libc/signal/Makefile.in: Ditto.
762 * libc/stdio/Makefile.in: Ditto.
763 * libc/stdio64/Makefile.in: Ditto.
764 * libc/stdlib/Makefile.in: Ditto.
765 * libc/string/Makefile.in: Ditto.
766 * libc/syscalls/Makefile.in: Ditto.
767 * libc/time/Makefile.in: Ditto.
768 * libc/unix/Makefile.in: Ditto.
769 * testsuite/newlib.iconv/iconv.exp: New file.
770 * testsuite/newlib.iconv/iconvjp.c: Ditto.
771 * testsuite/newlib.iconv/iconvnm.c: Ditto.
772 * testsuite/newlib.iconv/iconvru.c: Ditto.
773
786ab12c
JJ
7742004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
775
776 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
777 (--enable-newlib-builtin-converters): Ditto.
778 * configure.in: Add code to set _ICONV_ENABLED flag.
779 Set _MB_LEN_MAX to 1 if not mb enabled.
780 * configure: Regenerated.
781 * aclocal.m4: Ditto.
782 * Makefile.in: Ditto.
783 * newlib.hin: Add _ICONV_ENABLED flag.
784 * libc/Makefile.am: Add support for iconv.
785 * libc/configure.in: Ditto.
786 * libc/Makefile.in: Regenerated.
787 * libc/aclocal.m4: Ditto.
788 * libc/configure: Ditto.
789 * libc/libc.texinfo: Add iconv documentation.
790 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
791 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
792 libc/iconv/README.TODO, libc/iconv/charset.aliases,
793 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
794 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
795 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
796 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
797 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
798 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
799 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
800 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
801 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
802 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
803 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
804 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
805 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
806 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
807 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
808 libc/iconv/ccs/binary/big5.cct,
809 libc/iconv/ccs/binary/cns11643_plane1.cct,
810 libc/iconv/ccs/binary/cns11643_plane14.cct,
811 libc/iconv/ccs/binary/cns11643_plane2.cct,
812 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
813 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
814 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
815 libc/iconv/ccs/binary/iso_8859_1.cct,
816 libc/iconv/ccs/binary/iso_8859_15.cct,
817 libc/iconv/ccs/binary/iso_8859_2.cct,
818 libc/iconv/ccs/binary/iso_8859_4.cct,
819 libc/iconv/ccs/binary/iso_8859_5.cct,
820 libc/iconv/ccs/binary/jis_x0201.cct,
821 libc/iconv/ccs/binary/jis_x0208_1983.cct,
822 libc/iconv/ccs/binary/jis_x0212_1990.cct,
823 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
824 libc/iconv/ccs/binary/ksx1001.cct,
825 libc/iconv/ccs/binary/shift_jis.cct,
826 libc/iconv/ccs/binary/us_ascii.cct,
827 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
828 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
829 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
830 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
831 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
832 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
833 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
834 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
835 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
836 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
837 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
838 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
839 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
840 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
841 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
842 * libc/sys/linux/include/iconv.h: Ditto.
843 * libc/include/sys/_types.h (_iconv_t): Added.
844 * doc/aclocal.m4: Regenerated.
845 * doc/configure: Ditto.
846 * doc/Makefile.in: Ditto.
847 * iconvdata/Makefile.in: Ditto.
848 * iconvdata/aclocal.m4: Ditto.
849 * iconvdata/configure: Ditto.
850 * libc/*aclocal.m4: Ditto.
851 * libc/*Makefile.in: Ditto.
852 * libc/*configure: Ditto.
853 * libm/*aclocal.m4: Ditto.
854 * libm/*Makefile.in: Ditto.
855 * libm/*configure: Ditto.
856
ed1a95dc
JJ
8572004-01-22 Thomas Pfaff <tpfaff@gmx.net>
858
859 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
860 by a lock when newlib is multithreaded.
861
7d4be1ef
JJ
8622004-01-21 Jeff Johnston <jjohnstn@redhat.com>
863
864 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
865 pointer to match C99 spec.
866 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
867 dst is NULL. Also fix to not alter src pointer when dst is NULL
868 and call _mbrtowc_r instead of _mbtowc_r.
869 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
870 of _wctomb_r.
871
403f752c
JJ
8722004-01-19 Thomas Pfaff <tpfaff@gmx.net>
873
874 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
875 * libc/stdio/freopen.c (freopen): Ditto.
876
85b6d63b
CF
8772004-01-16 Christopher Faylor <cgf@redhat.com>
878
879 * libc/stdio/vfprintf.c: Add sys/lock.h include.
880
4af71a91
JJ
8812004-01-16 Thomas Pfaff <tpfaff@gmx.net>
882
883 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
884 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
885 Add calls to __lock_init_recursive and __lock_close_recursive
886 instead.
887
6a150987
JJ
8882004-01-15 Thomas Pfaff <tpfaff@gmx.net>
889
890 * libc/stdio/fclose.c: Include sys/lock.h.
891 (fclose): Destroy lock when file is closed.
892 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
893 member.
894 * libc/stdio/freopen.c: Include sys/lock.h.
895 (_freopen_r): Destroy lock when file is closed.
896 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
897 _lock member.
898
c9524c0c
JJ
8992004-01-08 Joel Sherrill <joel@oarcorp.com>
900
901 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
902 Remove warnings.
903
9f13ccb3
JJ
9042004-01-08 Joel Sherrill <joel@oarcorp.com>
905
906 * libc/sys/rtems/sys/queue.h: New file.
907 * libc/include/sys/signal.h: Reflect renumbering of signals to
908 fit into 32-bit mask.
909 * libc/include/sys/unistd.h: Add fdatasync() prototype.
910 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
911 required. In particular, add the reentrant variants of libc calls.
912 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
913
9488c414
JJ
9142004-01-06 Mark Mitchell <mark@codesourcery.com>
915
916 * libc/sys/arm/syscalls.c (unistd.h): Include it.
917 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
918 Similarly for stdout and stderr.
919
5125f919
JJ
9202004-01-06 Jeff Johnston <jjohnstn@redhat.com>
921
922 * libc/libc.texinfo: Correct escape character for @ sign
923 so file will be processed by make info. Update copyright years.
924 * libm/libm.texinfo: Ditto.
925
9fc92ceb
JJ
9262003-12-05 Jeff Johnston <jjohnstn@redhat.com>
927
928 * libc/include/sys/stat.h: No longer include stat-dj.h.
929 * libc/include/sys/stat-dj.h: Removed.
930
25c7dad1
JJ
9312003-12-05 Jeff Johnston <jjohnstn@redhat.com>
932
933 * libc/include/wchar.h: Include <sys/reent.h>.
934
576593dd
CF
9352003-12-05 Christopher Faylor <cgf@redhat.com>
936
937 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
938 when defining _mbrtowc.
939 * libc/stdlib/mbsinit.c: Ditto.
940 * libc/stdlib/mbsrtowcs.c: Ditto.
941 * libc/stdlib/wcrtomb.c: Ditto.
942 * libc/stdlib/wcsrtombs.c: Ditto.
943 * libc/stdlib/wctob.c: Ditto.
944
9452003-12-05 Christopher Faylor <cgf@redhat.com>
946
947 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
948 errors when defining _mbrtowc.
949 * libc/stdlib/mbsinit.c: Ditto.
950 * libc/stdlib/mbsrtowcs.c: Ditto.
951
4c889d62
CF
9522003-12-05 Christopher Faylor <cgf@redhat.com>
953
954 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
955 errors when defining _mbrtowc.
956
5d109bde
JJ
9572003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
958
959 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
960 of mb routines for %lc and %ls support.
961 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
962 %ls, and %S support. Remove CYGNUS_NEC markers and
963 code within.
964
3aca0888
JJ
9652003-12-04 Jeff Johnston <jjohnstn@redhat.com>
966
967 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
968 _wcrtomb_r, and _wcsrtombs_r.
969
18dcb167
CV
9702003-12-01 Corinna Vinschen <corinna@vinschen.de>
971
972 * libc/include/sys/fcntl.h: Don't define struct flock when on
973 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
974
93f8e673
CF
9752003-11-28 Christopher Faylor <cgf@redhat.com>
976
977 * libc/include/sys/signal.h: Use system specific signal file when
978 building on cygwin.
979
cc2a11e0
JJ
9802003-11-27 Jeff Johnston <jjohnstn@redhat.com>
981
982 * libc/include/stdlib.h (_atoi_r): New prototype.
983 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
984
83bf7d2f
JJ
9852003-11-27 Jeff Johnston <jjohnstn@redhat.com>
986
987 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
988 * libc/stdlib/atol.c (_atol_r): New reentrant function.
989 * libc/stdlib/atoll.c (_atoll_r): Ditto.
990
5d109bde 9912003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6bbb700c
JJ
992 Jeff Johnston <jjohnstn@redhat.com>
993
994 * libc/include/stdlib.h (lldiv_t): New type.
995 (atoll, llabs, lldiv): New prototypes.
996 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
997 * libc/stdlib/stdlib.tex: Ditto.
998 * libc/stdlib/Makefile.in: Regenerated.
999 * libc/stdlib/atoll.c: New file.
1000 * libc/stdlib/llabs.c: Ditto.
1001 * libc/stdlib/lldiv.c: Ditto.
1002
0a707c79
JJ
10032003-11-26 Corinna Vinschen <corinna@vinschen.de>
1004
1005 * libc/include/fcntl.h: Declare syscalls only when building newlib.
1006 * libc/include/unistd.h: Ditto.
1007 * libc/include/stat.h: Ditto. Also declare struct stat64.
1008
5d109bde 10092003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6db165c2
JJ
1010
1011 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
1012 specifier to use ch instead of *fmt.
1013
5d109bde 10142003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
759a097e
JJ
1015
1016 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
1017 code within checks for MB_CAPABLE. For non-mb-capable platforms,
1018 use simple byte logic.
1019
4f6149d6
JJ
10202003-11-21 Jeff Johnston <jjohnstn@redhat.com>
1021
1022 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
1023 _strtold routine for processing floats and doubles since it
1024 is not as fast as _strtod_r.
1025
7343eefb
JJ
10262003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
1027
1028 * libc/machine/h8300/defines.h : Correct pointer register defines
1029 for normal mode.
1030 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
1031 for normal mode.
1032 * libc/machine/h8300/reg_memcpy.S : Likewise.
1033 * libc/machine/h8300/reg_memset.S : Likewise.
1034 * libc/machine/h8300/strcmp.S : Likewise.
1035
64cfc6f2
JJ
10362003-11-19 Nicholas Wourms <nwourms@netscape.net>
1037
1038 * configure.host: Enable positional arguments for printf
1039 family for Cygwin.
1040 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
1041 pointer reference for quad_ptr_t.
1042
e1dc8171
JJ
10432003-11-19 Jeff Johnston <jjohnstn@redhat.com>
1044
1045 * libc/stdio/scanf.c: Don't include local.h more than once.
1046
a472290f
JJ
10472003-11-18 Corinna Vinschen <corinna@vinschen.de>
1048
1049 * libc/include/sys/fcntl.h: Declare _open64.
1050 * libc/include/sys/stat.h: Declare _fstat64.
1051 * libc/include/sys/unistd.h: Declare _lseek64.
1052
a2f1155c
CV
10532003-11-17 Corinna Vinschen <corinna@vinschen.de>
1054
1055 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
1056 (setprogname): Ditto.
1057
030441fc
JJ
10582003-11-10 Jeff Johnston <jjohnstn@redhat.com>
1059
1060 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
1061 to use (Ebits + 1) which accounts for the sign-bit.
1062
fe359733
JJ
10632003-11-07 Jeff Johnston <jjohnstn@redhat.com>
1064
1065 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
1066 x86 build.
1067 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
1068 and set up default flags to pass to aclocal.
1069 * iconvdata/Makefile.in: Regenerated.
1070 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
1071 and getpwuid routines.
1072 * libc/sys/linux/Makefile.in: Regenerated.
1073 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
1074 applications to link with newlib's shared libc library.
1075 * libc/sys/linux/getpwnam.c: Ditto.
1076 * libc/sys/linux/getpwuid.c: Ditto.
1077 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
1078 that were formerly supplied by /usr/include/linux/types.h with
1079 kernel types.
1080 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
1081 test _ELIX_LEVEL macro.
1082
2985521f
JJ
10832003-11-07 Jeff Johnston <jjohnstn@redhat.com>
1084
1085 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
1086 referring to _NO_LONGLONG macro.
1087
dcad6a89
JJ
10882003-11-06 Jeff Johnston <jjohnstn@redhat.com>
1089
1090 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
1091 in LOG() macro so this will compile on gcc 3.4 and up.
1092 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
1093 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
1094 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
1095 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
1096 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
1097 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
1098 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
1099 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
1100 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
1101 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
1102 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
1103 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
1104 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
1105 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
1106 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
1107 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
1108 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
1109 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
1110 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
1111 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
1112 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
1113 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
1114 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
1115 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
1116 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
1117 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
1118 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
1119 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
1120 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
1121 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
1122 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
1123 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
1124 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
1125 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
1126 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
1127 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
1128
d2ffac09 11292003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5d109bde 1130 Artem B. Bityuckiy <abitytsky@softminecorp.com>
d2ffac09
JJ
1131
1132 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
1133 %ls, %S, %lc, and %C format specifiers.
1134 (get_arg): Ditto.
1135 * libc/stdio/sprintf.c: Add documentation regarding new
1136 format specifiers added in vfprintf.c.
1137
da2d1227
JJ
11382003-11-05 Jeff Johnston <jjohnstn@redhat.com>
1139
1140 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
1141 to make code work as specified in standard.
1142
3ef05bac
JJ
11432003-10-23 Jeff Johnston <jjohnstn@redhat.com>
1144
1145 * configure.in: Use absolute newlib basedir when forming
1146 CC_FOR_NEWLIB include options.
1147 * configure: Regenerated.
1148
5d109bde 11492003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4340b63b
JJ
1150
1151 * libc/string/wcsnlen.c: New file.
1152 * libc/include/wchar.h: Add wcsnlen prototype.
1153 * libc/string/Makefile.am: Add wcsnlen support.
1154 * libc/string/Makefile.in: Regenerated.
1155 * libc/string/wcstrings.tex: Add wcsnlen documentation.
1156
63a823f8
RS
11572003-10-22 Richard Sandiford <rsandifo@redhat.com>
1158
1159 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
1160
76a7df52
JJ
11612003-10-20 Bob Wilson <bob.wilson@acm.org>
1162
1163 * libc/locale/locale.c: Use double quotes in code.
1164 * libc/locale/locale.tex: Likewise.
1165 * libc/libc.texinfo: Hyphenate "floating-point".
1166 * libc/machine/necv70/necv70.tex: Likewise.
1167 * libc/stdio/sprintf.c: Likewise.
1168 * libc/stdio/sscanf.c: Likewise.
1169 * libc/stdlib/atof.c: Likewise.
1170 * libc/stdlib/ldtoa.c: Fix comment typo.
1171 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
1172 * libc/stdlib/ldiv.c: Likewise.
1173 * libm/common/s_expm1.c: Likewise.
1174 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
1175 * libm/common/s_infinity: Hyphenate "double- and single-precision".
1176 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
1177 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
1178 and "floating-point".
1179 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
1180 * libm/math/e_pow.c: Fix comment typo.
1181 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
1182 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
1183 * libm/math/s_atan.c: Likewise.
1184 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
1185 * libm/math/s_isnan.c: Hyphenate "single-precision" and
1186 "floating-point". Use "nonzero".
1187 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
1188 * libm/math/w_acos.c: Likewise.
1189 * libm/math/w_acosh.c: Likewise.
1190 * libm/math/w_asin.c: Likewise.
1191 * libm/math/w_atan2.c: Likewise.
1192 * libm/math/w_atanh.c: Likewise.
1193 * libm/math/w_cosh.c: Likewise.
1194 * libm/math/w_exp.c: Likewise.
1195 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
1196 version of 2^x in the description.
1197 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
1198 * libm/math/w_gamma.c: Likewise.
1199 * libm/math/w_hypot.c: Likewise.
1200 * libm/math/w_j0.c: Likewise.
1201 * libm/math/w_sinh.c: Likewise.
1202 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
1203 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
1204 "floating-point".
1205 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
1206 * libm/mathfp/e_atanh.c: Likewise.
1207 * libm/mathfp/e_hypot.c: Likewise.
1208 * libm/mathfp/er_lgamma.c: Likewise.
1209 * libm/mathfp/s_acos.c: Likewise.
1210 * libm/mathfp/s_asine.c: Likewise.
1211 * libm/mathfp/s_asinh.c: Likewise.
1212 * libm/mathfp/s_atan.c: Likewise.
1213 * libm/mathfp/s_atan2.c: Likewise.
1214 * libm/mathfp/s_atangent.c: Likewise.
1215 * libm/mathfp/s_cosh.c: Likewise.
1216 * libm/mathfp/s_exp.c: Likewise.
1217 * libm/mathfp/s_fmod.c: Likewise.
1218 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
1219 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
1220 "floating-point". Use "nonzero".
1221 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
1222 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
1223 * libm/mathfp/s_sineh.c: Likewise.
1224 * libm/mathfp/w_jn.c: Likewise.
1225
b11926e7
JJ
12262003-10-15 Alexandre Oliva <aoliva@redhat.com>
1227
1228 * Makefile.am: Add $(MAKE) comments to multido and multiclean
1229 lines, to enable parallel make.
1230 * Makefile.in: Rebuilt.
1231
31271d5c
CF
12322003-10-14 Christopher Faylor <cgf@redhat.com>
1233
1234 * libc/time/clock.c: Clarify documentation of return value when no
1235 measurement is available.
1236
bc707cbd
JJ
12372003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
1238
1239 * libm/configure.in: Check libm_machine_dir, not machine_dir.
1240 * libm/configure: Regenerate.
1241 * libm/Makefile.in: Ditto.
1242
f4b10605
JR
12432003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
1244
1245 * libc/machine/sh/strncpy.S: New file.
1246 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
1247 * libc/machine/sh/Makefile.in: Regenerate.
1248
ce044d8f
JW
12492003-09-11 James E Wilson <wilson@specifixinc.com>
1250
1251 * MAINTAINERS: Update my e-mail address.
1252
080ef411
CV
12532003-09-10 Corinna Vinschen <corinna@vinschen.de>
1254
1255 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
1256
3a767b69
JJ
12572003-09-09 Jeff Johnston <jjohnstn@redhat.com>
1258
080ef411
CV
1259 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
1260 prototype.
1261 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
1262 _simdldcheck(). Also add unsigned cast for index variable in
1263 for loop using sizeof operators.
1264 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
1265 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
1266 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
1267 plus fix shift calculation for determining if there is a
1268 carry from word2.
3a767b69 1269
84154fcc
CV
12702003-09-09 Corinna Vinschen <corinna@vinschen.de>
1271
1272 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
1273 setgroupent for Cygwin.
1274
f1b15058
JJ
12752003-09-05 Jeff Johnston <jjohnstn@redhat.com>
1276
1277 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
1278 is different for _REENT_SMALL than when using regular reent
1279 struct.
1280
cf88c20f 12812003-09-05 Ben Elliston <bje@wasabisystems.com>
0a8fd4dc 1282
b73263e4
BE
1283 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
1284 modern versions of GCC issue a warning.
1285
0a8fd4dc
BE
1286 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
1287 after continuation characters that induces a warning from modern
1288 versions of GCC.
1289
10a32423
BE
12902003-09-04 Ben Elliston <bje@wasabisystems.com>
1291
1292 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
1293 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
1294
ed027a53
JJ
12952003-09-02 Thomas Pfaff <tpfaff@gmx.net>
1296
1297 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
1298 * libc/stdlib/exit.c : Ditto.
1299 * libc/stdlib/on_exit.c: Ditto.
1300
880fa247
JJ
13012003-08-27 Corinna Vinschen <corinna@vinschen.de>
1302
1303 * libc/include/reent.h: Define stat64 as __stat64 when
1304 compiling newlib for Cygwin.
1305
54c1d7ea
JJ
13062003-08-26 Jeff Johnston <jjohnstn@redhat.com>
1307
1308 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
1309 __stat64 when compiling newlib.
1310
0eca0750
JJ
13112003-08-26 Jeff Johnston <jjohnstn@redhat.com>
1312
1313 * libc/include/stdio.h: Allow the io64 function prototypes for
1314 Cygwin when compiling newlib.
1315 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
1316 to expose the Cygwin struct __stat64 type.
1317 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
1318 pointer.
1319 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
1320
9d4aef19
CF
13212003-08-23 Christopher Faylor <cgf@redhat.com>
1322
1323 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
1324 definition to fseeko64.
1325
9fc9e1c9
JJ
13262003-08-22 Jeff Johnston <jjohnstn@redhat.com>
1327
1328 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
1329 * libc/stdio: Globally remove/replace all references to fp->_data.
1330 Replace with _REENT or _GLOBAL_REENT where appropriate.
1331 * libc/stdio/asprintf.c: Ditto.
1332 * libc/stdio/fclose.c: Ditto.
1333 * libc/stdio/fvwrite.c: Ditto.
1334 * libc/stdio/makebuf.c: Ditto.
1335 * libc/stdio/refill.c: Ditto.
1336 * libc/stdio/local.h: Ditto.
1337 * libc/stdio/setvbuf.c: Ditto.
1338 * libc/stdio/sscanf.c: Ditto.
1339 * libc/stdio/stdio.c: Ditto.
1340 * libc/stdio/ungetc.c: Ditto.
1341 * libc/stdio/vfscanf.c: Ditto.
1342 * libc/stdio/vsscanf.c: Ditto.
1343 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
1344 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
1345 * libc/stdio/vsnprintf.c: Ditto.
1346 * libc/stdio/vsprintf.c: Ditto.
1347 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
1348 instead of _REENT to walk file list.
1349 * libc/stdio/fflush.c: Ditto.
1350 * libc/stdio/fgetpos.c: Add reentrant version and have regular
1351 version call reentrant version with _REENT argument.
1352 * libc/stdio/fsetpos.c: Ditto.
1353 * libc/stdio/fseek.c: Ditto.
1354 * libc/stdio/fseeko.c: Ditto.
1355 * libc/stdio/ftell.c: Ditto.
1356 * libc/stdio/ftello.c: Ditto.
1357 * libc/stdio/freopen.c: Ditto.
1358 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
1359 new files to chain. Also use _GLOBAL_REENT pointer for
1360 cleaning up.
1361 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
1362 * libc/stdio/siprintf.c: Ditto.
1363 * libc/stdio/iprintf.c: Ditto.
1364 * libc/stdio/fprintf.c: Ditto.
1365 * libc/stdio/printf.c: Ditto.
1366 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
1367 * libc/stdio/sprintf.c: Ditto.
1368 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
1369 * libc/stdio/rewind.c: Call _fseek_r directly.
1370 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
1371 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
1372 data pointer.
1373 (get_arg): Add extra struct _reent pointer argument.
1374 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
1375 to fp->_data.
1376 * libc/stdio64/fopen64.c: Ditto.
1377 * libc/stdio64/freopen64.c: Ditto.
1378 * libc/stdio64/fsetpos64.c: Ditto.
1379 * libc/stdio64/ftello64.c: Ditto.
1380 * libc/stdio64/local64.h: Ditto.
1381 * libc/stdio64/stdio64.c: Ditto.
1382 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
1383 _fstat64_r for the meantime.
1384
8f021114
JJ
13852003-08-19 Jeff Johnston <jjohnstn@redhat.com>
1386
1387 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
1388 overflow detection.
1389
db979bb4
JJ
13902003-08-13 Aldy Hernandez <aldyh@redhat.com>
1391
1392 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
1393 extern "C".
1394
6efbdc7d
JJ
13952003-08-13 Jeff Johnston <jjohnstn@redhat.com>
1396
1397 * libc/include/math.h: Add prototypes for __signbitf and
1398 __signbitd.
1399
e895fc20
JJ
14002003-07-31 Jeff Johnston <jjohnstn@redhat.com>
1401
1402 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
1403 correct type of conversion when dealing with EUCJP or SJIS.
1404 * libc/ctype/iswblank.c: Ditto.
1405 * libc/ctype/iswcntrl.c: Ditto.
1406 * libc/ctype/iswprint.c: Ditto.
1407 * libc/ctype/iswpunct.c: Ditto.
1408 * libc/ctype/iswspace.c: Ditto.
1409 * libc/ctype/towlower.c: Ditto.
1410 * libc/ctype/towupper.c: Ditto.
1411
0302dfe5
NC
14122003-07-31 Nick Clifton <nickc@redhat.com>
1413
1414 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
1415 before calling main, in case it saves its argument registers.
1416 Remove reference to deleted v850ea port.
1417 * configure.host: Remove reference to deleted v850ea port.
1418 Do not use -mv850 when building for v850e target. This
1419 prevents the ctbp system register from being initialised.
1420
42de5592
JJ
14212003-07-29 Honda Hiroki <hhonda@ipflex.com>
1422
1423 * libc/stdio/vfprintf.c: Set output size to 1 when
1424 we have %f format with precision 0 and # flag not specified.
1425
e5de27b6
AO
14262003-07-29 Alexandre Oliva <aoliva@redhat.com>
1427
1428 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
1429 .am33_2.
1430
3c98a593
CF
14312003-07-25 Christopher Faylor <cgf@redhat.com>
1432
1433 * libc/stdio64/fdopen64.c: Include sys/lock.h.
1434
e222bf67
CF
14352003-07-25 Christopher Faylor <cgf@redhat.com>
1436
1437 * configure.host: Find cygwin include directory, when appropriate.
1438
03536757
CF
14392003-07-24 Christopher Faylor <cgf@redhat.com>
1440
1441 * libc/stdio64/fdopen64.c: New file.
1442 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
1443 * libc/stdio64/Makefile.in: Regenerate.
1444 * libc/include/stdio.h (fdopen64): Define.
1445 * libc/include/stdio.h (_fdopen64_r): Ditto.
1446
18072a4f
AO
14472003-07-10 Alexandre Oliva <aoliva@redhat.com>
1448
1449 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
1450 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
1451 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
1452 restore callee-saved FP registers.
1453
e0bec12f
JR
14542003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
1455
1456 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
1457 for __sh__.
1458 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
1459 truncate.c.
1460 * libc/sys/sh/Makefile.in: Regenerate.
1461 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
1462 * libc/sys/sh/ftruncate.c: New file.
1463 * libc/sys/sh/truncate.c: Likewise.
1464
03d65dd9
AO
14652003-07-09 Alexandre Oliva <aoliva@redhat.com>
1466
1467 * libc/include/math.h (nan, nanf): Update prototype to C99.
1468 * libm/common/s_nan.c (nan): Likewise.
1469 * libm/common/s_nanf.c (nanf, nan): Likewise.
1470 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
1471
74aa9d7d
JJ
14722003-07-07 Jeff Johnston <jjohnstn@redhat.com>
1473
1474 * libc/include/stdbool.h: Removed as this is defined by gcc.
1475
0a447ef3
JJ
14762003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
1477
1478 * libc/include/stdbool.h: New header file defined by C99.
1479
282eff9a
JJ
14802003-07-02 Jeff Johnston <jjohnstn@redhat.com>
1481
1482 * libc/include/sys/types.h (int8_t): Make signed.
1483
4e989b11
JJ
14842003-07-02 Jeff Johnston <jjohnstn@redhat.com>
1485
1486 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
1487
07b40cf8
JJ
14882003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
1489
1490 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
1491 on if we actually created the shared memory file exclusively.
1492
7daa7891
JJ
14932003-06-27 Joe Vornehm <joev@mitre.org>
1494
1495 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
1496 comparisons to account for unsigned internal value w.
1497
51fa7562
JJ
14982003-06-26 Jeff Johnston <jjohnstn@redhat.com>
1499
1500 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
1501 wrbuf for a non-creating open.
1502
b8f7ea5c
JJ
15032003-06-24 Kazu Hirata <kazu@cs.umass.edu>
1504
1505 * libc/machine/h8300/setarch.h: New.
1506 * libc/machine/h8300/memcpy.S: Use it.
1507 * libc/machine/h8300/memset.S: Likewise.
1508 * libc/machine/h8300/reg_memcpy.S: Likewise.
1509 * libc/machine/h8300/reg_memset.S: Likewise.
1510 * libc/machine/h8300/setjmp.S: Likewise.
1511 * libc/machine/h8300/strcmp.S: Likewise.
1512
6d7ea52a
RS
15132003-06-24 Richard Sandiford <rsandifo@redhat.com>
1514
1515 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
1516 to atexit().
1517
5a74f2aa
JJ
15182003-06-20 Jeff Johnston <jjohnstn@redhat.com>
1519
1520 * configure.host (iq2000): Add tabs.
1521
8266e478
JJ
15222003-06-20 Jeff Johnston <jjohnstn@redhat.com>
1523
1524 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
1525 to handle latest on_exit change.
1526 * libc/sys/linux/Makefile.am: Remove special compilation
1527 for malloc.c and mcheck.c.
1528 * libc/sys/linux/Makefile.in: Regenerated.
1529 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
1530 after including <features.h>.
1531 * libc/sys/linux/mcheck.c: Ditto.
1532 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
1533 for <features.h>.
1534 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
1535 add -DNOT_IN_libc to C flags.
1536 * libc/sys/linux/intl/Makefile.in: Regenerated.
1537 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
1538 * libc/sys/linux/linuxthreads/semaphore.h: Include
1539 <bits/pthreadtypes.h>.
1540 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
1541 including <features.h>.
1542 * libc/sys/linux/sys/lock.h: Ditto.
1543
0efe117b
NC
15442003-06-11 Nick Clifton <nickc@redhat.com>
1545
1546 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
1547 _on_exit_args_ptr.
1548
bfdfd7e6
AG
15492003-06-10 Stan Cox <scox@redhat.com>
1550 Anthony Green <green@redhat.com>
1551
1552 * configure.host: Add iq2000 support.
1553 * newlib/libc/include/machine/ieeefp.h: Ditto.
1554 * newlib/libc/include/machine/setjmp.h: Ditto.
1555 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
1556 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
1557 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
1558 libc/machine/iq2000/Makefile.in: New files.
1559
d9e4104b
RS
15602003-06-10 Richard Sandiford <rsandifo@redhat.com>
1561
1562 * libc/sys/h8300hms/setarch.h: New file.
1563 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
1564 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
1565 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
1566 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
1567
729d1ff9
JJ
15682003-06-06 Jeff Johnston <jjohnstn@redhat.com>
1569
1570 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
1571 definition.
1572 * libc/argz/argz_add_sep.c: Ditto.
1573 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
1574 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
1575 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
1576 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
1577 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
1578 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
1579 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
1580 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
1581 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
1582 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
1583 * libc/posix/execl.c libc/posix/execle.c: Ditto.
1584 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
1585 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
1586 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
1587 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
1588 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
1589 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
1590 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
1591 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
1592 * libc/search/twalk.c libc/signal/signal.c: Ditto.
1593
75d7d177
NC
15942003-06-05 Nick Clifton <nickc@redhat.com>
1595
1596 * libc/include/sys/reent.h (struct _on_exit_args): New
1597 structure containing fields used by the on_exit() function.
1598 (struct _atexit): Include struct _on_exit_args. For
1599 _REENT_SMALL do his via a pointer that is initialised when
1600 needed.
1601 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
1602 structure, if one has been allocated.
1603 * libc/stdlib/atexit.c (atexit): Update indirection to
1604 _fntypes field.
1605 * libc/stdlib/on_exit.c (on_exit): Indirect via the
1606 _on_exit_args structure. For _REENT_SMALL, allocate a
1607 structure if one does not exist.
1608 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
1609 structure.
1610
2129f283
JJ
16112003-06-04 Jeff Johnston <jjohnstn@redhat.com>
1612
1613 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
1614 * libc/sys/linux/net/Makefile.in: Regenerated.
1615
bf3bcac2
JJ
16162003-06-03 Jeff Johnston <jjohnstn@redhat.com>
1617
1618 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
1619 * libc/reent/fcntlr.c: Ditto.
1620 * libc/reent/fstat64r.c: Ditto.
1621 * libc/reent/linkr.c: Ditto.
1622 * libc/reent/lseek64r.c: Ditto.
1623 * libc/reent/lseekr.c: Ditto.
1624 * libc/reent/openr.c: Ditto.
1625 * libc/reent/readr.c: Ditto.
1626 * libc/reent/reent.c: Ditto.
1627 * libc/reent/sbrkr.c: Ditto.
1628 * libc/reent/signalr.c: Ditto.
1629 * libc/reent/signgam.c: Ditto.
1630 * libc/reent/statr.c: Ditto.
1631 * libc/reent/timer.c: Ditto.
1632 * libc/reent/unlinkr.c: Ditto.
1633 * libc/reent/writer.c: Ditto.
1634 * libc/syscalls/sysclose.c: Ditto.
1635 * libc/syscalls/sysexecve.c: Ditto.
1636 * libc/syscalls/sysfcntl.c: Ditto.
1637 * libc/syscalls/sysfork.c: Ditto.
1638 * libc/syscalls/sysfstat.c: Ditto.
1639 * libc/syscalls/sysgetpid.c: Ditto.
1640 * libc/syscalls/sysgettod.c: Ditto.
1641 * libc/syscalls/syskill.c: Ditto.
1642 * libc/syscalls/syslink.c: Ditto.
1643 * libc/syscalls/syslseek.c: Ditto.
1644 * libc/syscalls/sysopen.c: Ditto.
1645 * libc/syscalls/sysread.c: Ditto.
1646 * libc/syscalls/syssbrk.c: Ditto.
1647 * libc/syscalls/sysstat.c: Ditto.
1648 * libc/syscalls/systimes.c: Ditto.
1649 * libc/syscalls/sysunlink.c: Ditto.
1650 * libc/syscalls/syswait.c: Ditto.
1651 * libc/syscalls/syswrite.c: Ditto.
1652
702ceb23
JJ
16532003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
1654
1655 * libc/time/tzset_r.c: Change local variables that are
1656 set via sscanf using the %h format specifier to be unsigned short
1657 instead of int.
1658
102861c9
JJ
16592003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
1660
1661 * configure.host: Allow i[34567]86 variant.
1662 * configure.in: Likewise.
1663 * README: Likewise to the docs.
1664 * configure: Regenerated.
1665 * Makefile.in: Ditto.
1666
b359e82c
JJ
16672003-05-28 Jeff Johnston <jjohnstn@redhat.com>
1668 Tom Fitzsimmons <fitzsim@redhat.com>
1669
1670 * configure.in: Add iconvdata support for x86 linux.
1671 * configure: Regenerated.
1672 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
1673 library, iconv, and linuxthreads support.
1674 * libc/sys/linux/configure.in: Ditto.
1675 * libc/sys/linux/Makefile.in: Regenerated.
1676 * libc/sys/linux/configure: Ditto.
1677 * iconvdata/EUC-JP.irreversible: New file.
1678 * iconvdata/Makefile.am: Ditto.
1679 * iconvdata/Makefile.in: Ditto.
1680 * iconvdata/SJIS.irreversible: Ditto.
1681 * iconvdata/aclocal.m4: Ditto.
1682 * iconvdata/configure: Ditto.
1683 * iconvdata/configure.in: Ditto.
1684 * iconvdata/dummy.c: Ditto.
1685 * iconvdata/euc-jp.c: Ditto.
1686 * iconvdata/gconv-modules: Ditto.
1687 * iconvdata/jis0201.c: Ditto.
1688 * iconvdata/jis0201.h: Ditto.
1689 * iconvdata/jis0208.c: Ditto.
1690 * iconvdata/jis0208.h: Ditto.
1691 * iconvdata/jis0212.c: Ditto.
1692 * iconvdata/jis0212.h: Ditto.
1693 * iconvdata/sjis.c: Ditto.
1694 * libc/include/errno.h: Protect definition of error_t.
1695 * libc/sys/linux/gethostid.c: New file.
1696 * libc/sys/linux/sethostid.c: Ditto.
1697 * libc/sys/linux/dl/Makefile.am: Ditto.
1698 * libc/sys/linux/dl/Makefile.in: Ditto.
1699 * libc/sys/linux/dl/abi-tag.h: Ditto.
1700 * libc/sys/linux/dl/atomicity.h: Ditto.
1701 * libc/sys/linux/dl/dl-addr.c: Ditto.
1702 * libc/sys/linux/dl/dl-cache.c: Ditto.
1703 * libc/sys/linux/dl/dl-cache.h: Ditto.
1704 * libc/sys/linux/dl/dl-close.c: Ditto.
1705 * libc/sys/linux/dl/dl-debug.c: Ditto.
1706 * libc/sys/linux/dl/dl-deps.c: Ditto.
1707 * libc/sys/linux/dl/dl-dst.h: Ditto.
1708 * libc/sys/linux/dl/dl-error.c: Ditto.
1709 * libc/sys/linux/dl/dl-fini.c: Ditto.
1710 * libc/sys/linux/dl/dl-init.c: Ditto.
1711 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
1712 * libc/sys/linux/dl/dl-libc.c: Ditto.
1713 * libc/sys/linux/dl/dl-librecon.h: Ditto.
1714 * libc/sys/linux/dl/dl-load.c: Ditto.
1715 * libc/sys/linux/dl/dl-lookup.c: Ditto.
1716 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
1717 * libc/sys/linux/dl/dl-minimal.c: Ditto.
1718 * libc/sys/linux/dl/dl-misc.c: Ditto.
1719 * libc/sys/linux/dl/dl-object.c: Ditto.
1720 * libc/sys/linux/dl/dl-open.c: Ditto.
1721 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
1722 * libc/sys/linux/dl/dl-profile.c: Ditto.
1723 * libc/sys/linux/dl/dl-profstub.c: Ditto.
1724 * libc/sys/linux/dl/dl-reloc.c: Ditto.
1725 * libc/sys/linux/dl/dl-runtime.c: Ditto.
1726 * libc/sys/linux/dl/dl-support.c: Ditto.
1727 * libc/sys/linux/dl/dl-sym.c: Ditto.
1728 * libc/sys/linux/dl/dl-version.c: Ditto.
1729 * libc/sys/linux/dl/dlfcn.h: Ditto.
1730 * libc/sys/linux/dl/do-lookup.h: Ditto.
1731 * libc/sys/linux/dl/do-rel.h: Ditto.
1732 * libc/sys/linux/dl/dynamic-link.h: Ditto.
1733 * libc/sys/linux/dl/kernel-features.h: Ditto.
1734 * libc/sys/linux/dl/ldsodefs.h: Ditto.
1735 * libc/sys/linux/dl/libintl.h: Ditto.
1736 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
1737 * libc/sys/linux/dl/unsecvars.h: Ditto.
1738 * libc/sys/linux/iconv/Makefile.am: Ditto.
1739 * libc/sys/linux/iconv/Makefile.in: Ditto.
1740 * libc/sys/linux/iconv/categories.def: Ditto.
1741 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
1742 * libc/sys/linux/iconv/gconv.c: Ditto.
1743 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
1744 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
1745 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
1746 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
1747 * libc/sys/linux/iconv/gconv_close.c: Ditto.
1748 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
1749 * libc/sys/linux/iconv/gconv_db.c: Ditto.
1750 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
1751 * libc/sys/linux/iconv/gconv_int.h: Ditto.
1752 * libc/sys/linux/iconv/gconv_open.c: Ditto.
1753 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
1754 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
1755 * libc/sys/linux/iconv/hash-string.h: Ditto.
1756 * libc/sys/linux/iconv/iconv.c: Ditto.
1757 * libc/sys/linux/iconv/iconv.h: Ditto.
1758 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
1759 * libc/sys/linux/iconv/iconv_close.c: Ditto.
1760 * libc/sys/linux/iconv/iconv_open.c: Ditto.
1761 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
1762 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
1763 * libc/sys/linux/iconv/loadinfo.h: Ditto.
1764 * libc/sys/linux/iconv/localeinfo.h: Ditto.
1765 * libc/sys/linux/iconv/loop.c: Ditto.
1766 * libc/sys/linux/iconv/skeleton.c: Ditto.
1767 * libc/sys/linux/iconv/strtab.c: Ditto.
1768 * libc/sys/linux/include/dl-hash.h: Ditto.
1769 * libc/sys/linux/include/dlfcn.h: Ditto.
1770 * libc/sys/linux/include/fnmatch.h: Ditto.
1771 * libc/sys/linux/include/gconv.h: Ditto.
1772 * libc/sys/linux/include/glob.h: Ditto.
1773 * libc/sys/linux/include/hesiod.h: Ditto.
1774 * libc/sys/linux/include/ifaddrs.h: Ditto.
1775 * libc/sys/linux/include/libc_private.h: Ditto.
1776 * libc/sys/linux/include/link.h: Ditto.
1777 * libc/sys/linux/include/namespace.h: Ditto.
1778 * libc/sys/linux/include/netconfig.h: Ditto.
1779 * libc/sys/linux/include/netdb.h: Ditto.
1780 * libc/sys/linux/include/nsswitch.h: Ditto.
1781 * libc/sys/linux/include/regex.h: Ditto.
1782 * libc/sys/linux/include/resolv.h: Ditto.
1783 * libc/sys/linux/include/rune.h: Ditto.
1784 * libc/sys/linux/include/runetype.h: Ditto.
1785 * libc/sys/linux/include/semaphore.h: Ditto.
1786 * libc/sys/linux/include/setlocale.h: Ditto.
1787 * libc/sys/linux/include/un-namespace.h: Ditto.
1788 * libc/sys/linux/include/wordexp.h: Ditto.
1789 * libc/sys/linux/include/arpa/ftp.h: Ditto.
1790 * libc/sys/linux/include/arpa/inet.h: Ditto.
1791 * libc/sys/linux/include/arpa/nameser.h: Ditto.
1792 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
1793 * libc/sys/linux/include/arpa/telnet.h: Ditto.
1794 * libc/sys/linux/include/arpa/tftp.h: Ditto.
1795 * libc/sys/linux/include/net/bpf.h: Ditto.
1796 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
1797 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
1798 * libc/sys/linux/include/net/bridge.h: Ditto.
1799 * libc/sys/linux/include/net/ethernet.h: Ditto.
1800 * libc/sys/linux/include/net/fddi.h: Ditto.
1801 * libc/sys/linux/include/net/if.h: Ditto.
1802 * libc/sys/linux/include/net/if_arc.h: Ditto.
1803 * libc/sys/linux/include/net/if_arp.h: Ditto.
1804 * libc/sys/linux/include/net/if_atm.h: Ditto.
1805 * libc/sys/linux/include/net/if_dl.h: Ditto.
1806 * libc/sys/linux/include/net/if_gif.h: Ditto.
1807 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
1808 * libc/sys/linux/include/net/if_llc.h: Ditto.
1809 * libc/sys/linux/include/net/if_media.h: Ditto.
1810 * libc/sys/linux/include/net/if_mib.h: Ditto.
1811 * libc/sys/linux/include/net/if_ppp.h: Ditto.
1812 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
1813 * libc/sys/linux/include/net/if_slvar.h: Ditto.
1814 * libc/sys/linux/include/net/if_sppp.h: Ditto.
1815 * libc/sys/linux/include/net/if_stf.h: Ditto.
1816 * libc/sys/linux/include/net/if_tap.h: Ditto.
1817 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
1818 * libc/sys/linux/include/net/if_tun.h: Ditto.
1819 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
1820 * libc/sys/linux/include/net/if_types.h: Ditto.
1821 * libc/sys/linux/include/net/if_var.h: Ditto.
1822 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
1823 * libc/sys/linux/include/net/intrq.h: Ditto.
1824 * libc/sys/linux/include/net/iso88025.h: Ditto.
1825 * libc/sys/linux/include/net/net_osdep.h: Ditto.
1826 * libc/sys/linux/include/net/netisr.h: Ditto.
1827 * libc/sys/linux/include/net/pfil.h: Ditto.
1828 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
1829 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
1830 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
1831 * libc/sys/linux/include/net/radix.h: Ditto.
1832 * libc/sys/linux/include/net/raw_cb.h: Ditto.
1833 * libc/sys/linux/include/net/route.h: Ditto.
1834 * libc/sys/linux/include/net/slcompress.h: Ditto.
1835 * libc/sys/linux/include/net/slip.h: Ditto.
1836 * libc/sys/linux/include/net/zlib.h: Ditto.
1837 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
1838 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
1839 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
1840 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
1841 * libc/sys/linux/include/netinet/igmp.h: Ditto.
1842 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
1843 * libc/sys/linux/include/netinet/in.h: Ditto.
1844 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
1845 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
1846 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
1847 * libc/sys/linux/include/netinet/in_var.h: Ditto.
1848 * libc/sys/linux/include/netinet/ip.h: Ditto.
1849 * libc/sys/linux/include/netinet/ip6.h: Ditto.
1850 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
1851 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
1852 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
1853 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
1854 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
1855 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
1856 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
1857 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
1858 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
1859 * libc/sys/linux/include/netinet/tcp.h: Ditto.
1860 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
1861 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
1862 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
1863 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
1864 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
1865 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
1866 * libc/sys/linux/include/netinet/udp.h: Ditto.
1867 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
1868 * libc/sys/linux/include/netinet6/ah.h: Ditto.
1869 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
1870 * libc/sys/linux/include/netinet6/esp.h: Ditto.
1871 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
1872 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
1873 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
1874 * libc/sys/linux/include/netinet6/in6.h: Ditto.
1875 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
1876 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
1877 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
1878 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
1879 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
1880 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
1881 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
1882 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
1883 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
1884 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
1885 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
1886 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
1887 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
1888 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
1889 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
1890 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
1891 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
1892 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
1893 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
1894 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
1895 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
1896 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
1897 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
1898 * libc/sys/linux/include/netns/idp.h: Ditto.
1899 * libc/sys/linux/include/netns/idp_var.h: Ditto.
1900 * libc/sys/linux/include/netns/ns.h: Ditto.
1901 * libc/sys/linux/include/netns/ns_error.h: Ditto.
1902 * libc/sys/linux/include/netns/ns_if.h: Ditto.
1903 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
1904 * libc/sys/linux/include/netns/sp.h: Ditto.
1905 * libc/sys/linux/include/netns/spidp.h: Ditto.
1906 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
1907 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
1908 * libc/sys/linux/include/netns/spp_var.h: Ditto.
1909 * libc/sys/linux/include/rpc/Makefile: Ditto.
1910 * libc/sys/linux/include/rpc/auth.h: Ditto.
1911 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
1912 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
1913 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
1914 * libc/sys/linux/include/rpc/clnt.h: Ditto.
1915 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
1916 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
1917 * libc/sys/linux/include/rpc/des.h: Ditto.
1918 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
1919 * libc/sys/linux/include/rpc/nettype.h: Ditto.
1920 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
1921 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
1922 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
1923 * libc/sys/linux/include/rpc/raw.h: Ditto.
1924 * libc/sys/linux/include/rpc/rpc.h: Ditto.
1925 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
1926 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
1927 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
1928 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
1929 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
1930 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
1931 * libc/sys/linux/include/rpc/svc.h: Ditto.
1932 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
1933 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
1934 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
1935 * libc/sys/linux/include/rpc/types.h: Ditto.
1936 * libc/sys/linux/include/rpc/xdr.h: Ditto.
1937 * libc/sys/linux/intl/Makefile.am: Ditto.
1938 * libc/sys/linux/intl/Makefile.in: Ditto.
1939 * libc/sys/linux/intl/bindtextdom.c: Ditto.
1940 * libc/sys/linux/intl/catgets.c: Ditto.
1941 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
1942 * libc/sys/linux/intl/config.h: Ditto.
1943 * libc/sys/linux/intl/dcgettext.c: Ditto.
1944 * libc/sys/linux/intl/dcigettext.c: Ditto.
1945 * libc/sys/linux/intl/dcngettext.c: Ditto.
1946 * libc/sys/linux/intl/dgettext.c: Ditto.
1947 * libc/sys/linux/intl/dngettext.c: Ditto.
1948 * libc/sys/linux/intl/explodename.c: Ditto.
1949 * libc/sys/linux/intl/finddomain.c: Ditto.
1950 * libc/sys/linux/intl/gettext.c: Ditto.
1951 * libc/sys/linux/intl/gettext.h: Ditto.
1952 * libc/sys/linux/intl/gettextP.h: Ditto.
1953 * libc/sys/linux/intl/hash-string.h: Ditto.
1954 * libc/sys/linux/intl/l10nflist.c: Ditto.
1955 * libc/sys/linux/intl/loadinfo.h: Ditto.
1956 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
1957 * libc/sys/linux/intl/locale.alias: Ditto.
1958 * libc/sys/linux/intl/localealias.c: Ditto.
1959 * libc/sys/linux/intl/ngettext.c: Ditto.
1960 * libc/sys/linux/intl/open_catalog.c: Ditto.
1961 * libc/sys/linux/intl/plural.c: Ditto.
1962 * libc/sys/linux/intl/plural.y: Ditto.
1963 * libc/sys/linux/intl/stpcpy.c: Ditto.
1964 * libc/sys/linux/intl/textdomain.c: Ditto.
1965 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
1966 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
1967 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
1968 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
1969 * libc/sys/linux/linuxthreads/attr.c: Ditto.
1970 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
1971 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
1972 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
1973 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
1974 * libc/sys/linux/linuxthreads/config.h: Ditto.
1975 * libc/sys/linux/linuxthreads/configure: Ditto.
1976 * libc/sys/linux/linuxthreads/configure.in: Ditto.
1977 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
1978 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
1979 * libc/sys/linux/linuxthreads/events.c: Ditto.
1980 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
1981 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
1982 * libc/sys/linux/linuxthreads/internals.h: Ditto.
1983 * libc/sys/linux/linuxthreads/join.c: Ditto.
1984 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
1985 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
1986 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
1987 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
1988 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
1989 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
1990 * libc/sys/linux/linuxthreads/manager.c: Ditto.
1991 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
1992 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
1993 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
1994 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
1995 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
1996 * libc/sys/linux/linuxthreads/prio.c: Ditto.
1997 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
1998 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
1999 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
2000 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
2001 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
2002 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
2003 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
2004 * libc/sys/linux/linuxthreads/queue.h: Ditto.
2005 * libc/sys/linux/linuxthreads/reent.c: Ditto.
2006 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
2007 * libc/sys/linux/linuxthreads/restart.h: Ditto.
2008 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
2009 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
2010 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
2011 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
2012 * libc/sys/linux/linuxthreads/signals.c: Ditto.
2013 * libc/sys/linux/linuxthreads/specific.c: Ditto.
2014 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
2015 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
2016 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
2017 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
2018 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
2019 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
2020 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
2021 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
2022 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
2023 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
2024 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
2025 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
2026 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
2027 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
2028 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
2029 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
2030 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
2031 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
2032 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
2033 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
2034 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
2035 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
2036 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
2037 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
2038 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
2039 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
2040 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
2041 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
2042 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
2043 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
2044 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
2045 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
2046 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
2047 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
2048 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
2049 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
2050 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
2051 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
2052 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
2053 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
2054 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
2055 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
2056 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
2057 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
2058 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
2059 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
2060 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
2061 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
2062 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
2063 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
2064 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
2065 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
2066 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
2067 * libc/sys/linux/linuxthreads/unload.c: Ditto.
2068 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
2069 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
2070 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
2071 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
2072 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
2073 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
2074 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
2075 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
2076 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
2077 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
2078 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
2079 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
2080 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
2081 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2082 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
2083 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
2084 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
2085 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
2086 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
2087 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
2088 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
2089 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
2090 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
2091 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
2092 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
2093 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
2094 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
2095 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
2096 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
2097 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
2098 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
2099 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
2100 * libc/sys/linux/net/Makefile.am: Ditto.
2101 * libc/sys/linux/net/Makefile.in: Ditto.
2102 * libc/sys/linux/net/addr2ascii.3: Ditto.
2103 * libc/sys/linux/net/addr2ascii.c: Ditto.
2104 * libc/sys/linux/net/ascii2addr.c: Ditto.
2105 * libc/sys/linux/net/base64.c: Ditto.
2106 * libc/sys/linux/net/bindresvport.c: Ditto.
2107 * libc/sys/linux/net/byteorder.3: Ditto.
2108 * libc/sys/linux/net/ether_addr.c: Ditto.
2109 * libc/sys/linux/net/ethers.3: Ditto.
2110 * libc/sys/linux/net/getaddrinfo.3: Ditto.
2111 * libc/sys/linux/net/getaddrinfo.c: Ditto.
2112 * libc/sys/linux/net/gethostbydns.c: Ditto.
2113 * libc/sys/linux/net/gethostbyht.c: Ditto.
2114 * libc/sys/linux/net/gethostbyname.3: Ditto.
2115 * libc/sys/linux/net/gethostbynis.c: Ditto.
2116 * libc/sys/linux/net/gethostnamadr.c: Ditto.
2117 * libc/sys/linux/net/getifaddrs.3: Ditto.
2118 * libc/sys/linux/net/getifaddrs.c: Ditto.
2119 * libc/sys/linux/net/getipnodebyname.3: Ditto.
2120 * libc/sys/linux/net/getnameinfo.3: Ditto.
2121 * libc/sys/linux/net/getnameinfo.c: Ditto.
2122 * libc/sys/linux/net/getnetbydns.c: Ditto.
2123 * libc/sys/linux/net/getnetbyht.c: Ditto.
2124 * libc/sys/linux/net/getnetbynis.c: Ditto.
2125 * libc/sys/linux/net/getnetent.3: Ditto.
2126 * libc/sys/linux/net/getnetnamadr.c: Ditto.
2127 * libc/sys/linux/net/getproto.c: Ditto.
2128 * libc/sys/linux/net/getprotoent.3: Ditto.
2129 * libc/sys/linux/net/getprotoent.c: Ditto.
2130 * libc/sys/linux/net/getprotoname.c: Ditto.
2131 * libc/sys/linux/net/getservbyname.c: Ditto.
2132 * libc/sys/linux/net/getservbyport.c: Ditto.
2133 * libc/sys/linux/net/getservent.3: Ditto.
2134 * libc/sys/linux/net/getservent.c: Ditto.
2135 * libc/sys/linux/net/herror.c: Ditto.
2136 * libc/sys/linux/net/hesiod.3: Ditto.
2137 * libc/sys/linux/net/hesiod.c: Ditto.
2138 * libc/sys/linux/net/if_indextoname.3: Ditto.
2139 * libc/sys/linux/net/ifname.c: Ditto.
2140 * libc/sys/linux/net/inet.3: Ditto.
2141 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
2142 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
2143 * libc/sys/linux/net/inet_addr.c: Ditto.
2144 * libc/sys/linux/net/inet_lnaof.c: Ditto.
2145 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
2146 * libc/sys/linux/net/inet_net.3: Ditto.
2147 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
2148 * libc/sys/linux/net/inet_net_pton.c: Ditto.
2149 * libc/sys/linux/net/inet_neta.c: Ditto.
2150 * libc/sys/linux/net/inet_netof.c: Ditto.
2151 * libc/sys/linux/net/inet_network.c: Ditto.
2152 * libc/sys/linux/net/inet_ntoa.c: Ditto.
2153 * libc/sys/linux/net/inet_ntop.c: Ditto.
2154 * libc/sys/linux/net/inet_pton.c: Ditto.
2155 * libc/sys/linux/net/innetgr-stub.c: Ditto.
2156 * libc/sys/linux/net/ip6opt.c: Ditto.
2157 * libc/sys/linux/net/iso_addr.3: Ditto.
2158 * libc/sys/linux/net/iso_addr.c: Ditto.
2159 * libc/sys/linux/net/issetugid-stub.c: Ditto.
2160 * libc/sys/linux/net/linkaddr.3: Ditto.
2161 * libc/sys/linux/net/linkaddr.c: Ditto.
2162 * libc/sys/linux/net/map_v4v6.c: Ditto.
2163 * libc/sys/linux/net/name6.c: Ditto.
2164 * libc/sys/linux/net/namespace.h: Ditto.
2165 * libc/sys/linux/net/ns.3: Ditto.
2166 * libc/sys/linux/net/ns_addr.c: Ditto.
2167 * libc/sys/linux/net/ns_name.c: Ditto.
2168 * libc/sys/linux/net/ns_netint.c: Ditto.
2169 * libc/sys/linux/net/ns_ntoa.c: Ditto.
2170 * libc/sys/linux/net/ns_parse.c: Ditto.
2171 * libc/sys/linux/net/ns_print.c: Ditto.
2172 * libc/sys/linux/net/ns_ttl.c: Ditto.
2173 * libc/sys/linux/net/nsap_addr.c: Ditto.
2174 * libc/sys/linux/net/nsdispatch.3: Ditto.
2175 * libc/sys/linux/net/nsdispatch.c: Ditto.
2176 * libc/sys/linux/net/nslexer.c: Ditto.
2177 * libc/sys/linux/net/nslexer.l: Ditto.
2178 * libc/sys/linux/net/nsparser.c: Ditto.
2179 * libc/sys/linux/net/nsparser.h: Ditto.
2180 * libc/sys/linux/net/nsparser.y: Ditto.
2181 * libc/sys/linux/net/rcmd.3: Ditto.
2182 * libc/sys/linux/net/rcmd.c: Ditto.
2183 * libc/sys/linux/net/rcmdsh.3: Ditto.
2184 * libc/sys/linux/net/rcmdsh.c: Ditto.
2185 * libc/sys/linux/net/recv.c: Ditto.
2186 * libc/sys/linux/net/res_comp.c: Ditto.
2187 * libc/sys/linux/net/res_config.h: Ditto.
2188 * libc/sys/linux/net/res_data.c: Ditto.
2189 * libc/sys/linux/net/res_debug.c: Ditto.
2190 * libc/sys/linux/net/res_init.c: Ditto.
2191 * libc/sys/linux/net/res_mkquery.c: Ditto.
2192 * libc/sys/linux/net/res_mkupdate.c: Ditto.
2193 * libc/sys/linux/net/res_query.c: Ditto.
2194 * libc/sys/linux/net/res_send.c: Ditto.
2195 * libc/sys/linux/net/res_update.c: Ditto.
2196 * libc/sys/linux/net/resolver.3: Ditto.
2197 * libc/sys/linux/net/rthdr.c: Ditto.
2198 * libc/sys/linux/net/send.c: Ditto.
2199 * libc/sys/linux/net/un-namespace.h: Ditto.
2200 * libc/sys/linux/net/vars.c: Ditto.
2201 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
2202 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2203 * libc/sys/linux/stdlib/Makefile.in: Ditto.
2204 * libc/sys/linux/stdlib/cclass.h: Ditto.
2205 * libc/sys/linux/stdlib/cname.h: Ditto.
2206 * libc/sys/linux/stdlib/collate.c: Ditto.
2207 * libc/sys/linux/stdlib/collate.h: Ditto.
2208 * libc/sys/linux/stdlib/collcmp.c: Ditto.
2209 * libc/sys/linux/stdlib/engine.c: Ditto.
2210 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
2211 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
2212 * libc/sys/linux/stdlib/glob.3: Ditto.
2213 * libc/sys/linux/stdlib/glob.c: Ditto.
2214 * libc/sys/linux/stdlib/reallocf.c: Ditto.
2215 * libc/sys/linux/stdlib/regcomp.c: Ditto.
2216 * libc/sys/linux/stdlib/regerror.c: Ditto.
2217 * libc/sys/linux/stdlib/regex.3: Ditto.
2218 * libc/sys/linux/stdlib/regex2.h: Ditto.
2219 * libc/sys/linux/stdlib/regexec.c: Ditto.
2220 * libc/sys/linux/stdlib/regfree.c: Ditto.
2221 * libc/sys/linux/stdlib/utils.h: Ditto.
2222 * libc/sys/linux/stdlib/wordexp.c: Ditto.
2223 * libc/sys/linux/stdlib/wordfree.c: Ditto.
2224 * libc/sys/linux/sys/dlfcn.h: Ditto.
2225 * libc/sys/linux/sys/elfclass.h: Ditto.
2226 * libc/sys/linux/sys/event.h: Ditto.
2227 * libc/sys/linux/sys/ioccom.h: Ditto.
2228 * libc/sys/linux/sys/libc-tsd.h: Ditto.
2229 * libc/sys/linux/sys/link.h: Ditto.
2230 * libc/sys/linux/sys/lock.h: Ditto.
2231 * libc/sys/linux/sys/param.h: Ditto.
2232 * libc/sys/linux/sys/socket.h: Ditto.
2233 * libc/sys/linux/sys/sockio.h: Ditto.
2234
82095e79
JJ
22352003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
2236
2237 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
2238 normal mode
2239 * newlib/libc/machine/h8300/memset.S: Likewise
2240 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
2241 * newlib/lib/machine/h8300/reg_memset.S: Likewise
2242 * newlib/lib/machine/h8300/setjmp.S: Likewise
2243 * newlib/lib/machine/h8300/strcmp.S: Likewise
2244 * newlib/lib/sys/h8300hms/crt0.S: Likewise
2245
8a4b4764
CV
22462003-05-13 Corinna Vinschen <corinna@vinschen.de>
2247
2248 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
2249 * libc/include/stdio.h: Ditto.
2250 * libc/include/sys/config.h: Ditto.
2251 * libc/stdio/mktemp.c: Ditto.
2252
837e070f
CV
22532003-05-13 Corinna Vinschen <corinna@vinschen.de>
2254
2255 * libc/locale/ldpart.c (__part_load_locale): Substitute
2256 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
2257 * libc/search/hash.c (__hash_open): Ditto.
2258 (init_hash): Ditto.
2259 * libc/stdio/fseek.c (fseek): Ditto.
2260 * libc/stdio/makebuf.c (__smakebuf): Ditto.
2261 * libc/stdio/mktemp.c (_gettemp): Ditto.
2262
b47fcdf0
CV
22632003-05-12 Corinna Vinschen <corinna@vinschen.de>
2264
2265 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
2266
11e3a520
CV
22672003-05-12 Corinna Vinschen <corinna@vinschen.de>
2268
2269 * configure.host: Accomodate removing the libc/sys/cygwin dir.
2270 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
2271 if __CYGWIN_USE_BIG_TYPES__ is set.
2272 * libc/search/hash.c (__hash_open): Ditto.
2273 (init_hash): Ditto.
2274 * libc/stdio/fseek.c (fseek): Ditto.
2275 * libc/stdio/makebuf.c (__smakebuf): Ditto.
2276 * libc/stdio/mktemp.c (_gettemp): Ditto.
2277 * libc/sys/cygwin/Makefile.am: Remove.
2278 * libc/sys/cygwin/Makefile.in: Remove.
2279 * libc/sys/cygwin/aclocal.m4: Remove.
2280 * libc/sys/cygwin/configure: Remove.
2281 * libc/sys/cygwin/configure.in: Remove.
2282 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
2283 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
2284 directory.
2285 * libc/sys/cygwin/sys/param.h: Ditto.
2286 * libc/sys/cygwin/sys/utime.h: Ditto.
2287 * libc/sys/cygwin/sys/utmp.h: Ditto.
2288
d1b5e65b
CV
22892003-05-11 Corinna Vinschen <corinna@vinschen.de>
2290
2291 * libc/include/sys/types.h: Don't define key_t for Cygwin.
2292
ec48a953
CF
22932003-05-10 Christopher Faylor <cgf@redhat.com>
2294
2295 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
2296 64 bit inodes.
2297
a3cc5851
CV
22982003-05-09 Corinna Vinschen <corinna@vinschen.de>
2299
2300 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
2301 Include cygwin/config.h instead.
2302
57ff95d3
JJ
23032003-04-16 Jeff Johnston <jjohnstn@redhat.com>
2304
2305 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
2306 all code with #ifdef __SPE__ test.
2307 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
2308
cfd2c7be
CF
23092003-04-15 Chris January <chris@atomice.net>
2310
2311 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
2312 Cygwin.
2313
6f48c0ae
JR
23142003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
2315
2316 * libc/machine/sh/memset.S: Avoid clobbering volatile
2317 objects following a tiny to-be-set array in the same quadword.
2318
8f8d09c0
CV
23192001-04-09 Corinna Vinschen <corinna@vinschen.de>
2320
2321 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
2322 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
2323 * libc/string/Makefile.in: Regenerated.
2324 * libc/string/wcswidth.c: New file.
2325 * libc/string/wcwidth.c: New file.
2326 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
2327
40c3b2d0
JR
2328Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
2329
2330 * libc/machine/sh/memset.S: Fix problem with alloco region
2331 exceeding destination region for length >= 88 bytes, start
2332 & 0x16 == 0, end & 0x1f == 18.
2333
8ae6a3dd
CV
23342001-04-03 Corinna Vinschen <corinna@vinschen.de>
2335
2336 * libc/string/wcscoll.c: Fix comment.
2337
d122b1cc
CV
23382001-04-02 Corinna Vinschen <corinna@vinschen.de>
2339
2340 * libc/include/wchar.h: Add definition for wcscoll.
2341 * libc/string/Makefile.am: Add wcscoll.c.
2342 * libc/string/Makefile.in: Regenerated.
2343 * libc/string/wcscoll.c: New file.
2344 * libc/string/wcstrings.tex: Add wcscoll.
2345
31ee99a4
CV
23462003-04-01 Corinna Vinschen <corinna@vinschen.de>
2347
2348 * libc/stdio/sscanf.c: Update flags description.
2349 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
2350 type.
2351 (__svfscanf_r): Add 'hh' and 'll' handling.
2352
d78045ee
CV
23532003-04-01 Corinna Vinschen <corinna@vinschen.de>
2354
2355 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
2356 __d_position member to _off_t.
2357
e6bdc6c5
JJ
23582003-03-20 Jeff Johnston <jjohnstn@redhat.com>
2359
2360 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
2361 count all characters used to create number against maximum width.
2362 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
2363
e65d559e
JJ
23642003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
2365
2366 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
2367 support.
2368 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
2369 flag to support simulator only extensions.
2370
6b3bb52b
JJ
23712003-03-17 Bob Cassels <bcassels@abinitio.com>
2372
2373 * libc/string/wcschr.c: (wcschr): Look for character first,
2374 then for end of string, so you can do wcschr(x, '\0').
2375
2a940c1a
CV
23762003-03-10 Corinna Vinschen <corinna@vinschen.de>
2377
2378 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
2379 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
2380 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
2381 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
2382 * libc/stdio/fseeko.c (fseeko): Ditto.
2383 * libc/stdio/ftello.c (ftello): Ditto.
2384 * libc/stdio/stdio.c (__swrite): Ditto.
2385 (__sseek): Ditto.
2386 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
2387 * libc/stdio/fseek.c (fseek): Ditto.
2388 * libc/stdio/fsetpos.c (fsetpos): Ditto.
2389 * libc/stdio/ftell.c (ftell): Ditto.
2390 * libc/stdio/local.h: Declare __sseek using _off_t.
2391
150c2818
CV
23922003-03-09 Corinna Vinschen <corinna@vinschen.de>
2393
2394 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
2395
2c440f9c
CV
23962003-03-09 Corinna Vinschen <corinna@vinschen.de>
2397
2398 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
2399 Cygwin.
2400
f882fd15
CV
24012003-03-09 Corinna Vinschen <corinna@vinschen.de>
2402
2403 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
2404 Cygwin.
2405 * libc/include/sys/stat.h: Ditto.
2406 * libc/include/sys/unistd.h: Ditto.
2407 * libc/sys/cygwin/sys/dirent.h: Ditto.
2408
01d61543
CF
24092003-03-07 Christopher Faylor <cgf@redhat.com>
2410
2411 * libc/include/sys/unistd.h: Guard getopt.h call to force only
2412 declaration of getopt and avoid getopt_long declaration.
2413 * libc/sys/cygwin/include/unistd.h: Remove.
2414
5582abd2
CV
24152003-03-07 Corinna Vinschen <corinna@vinschen.de>
2416
2417 * configure.host: Define stdio64_dir for Cygwin.
2418 * libc/include/stdio.h: Change definition of fpos_t to fulfill
2419 Cygwin 64bit file access requirements.
2420 Drop definition of f*64() functions when compiled for Cygwin.
2421 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
2422 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
2423 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
2424
641da1eb
JJ
24252003-03-07 Jeff Johnston <jjohnstn@redhat.com>
2426
2427 * libc/include/sys/reent.h: Remove extraneous _sig_func
2428 declaration.
2429
24302003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
41a639de
JJ
2431
2432 * libc/sys/h8300hms/Makefile.am: Add support for new files.
2433 * libc/sys/h8300hms/Makefile.in: Regenerated.
2434 * libc/sys/h8300hms/close.S: New file.
2435 * libc/sys/h8300hms/fstat.S: Ditto.
2436 * libc/sys/h8300hms/lseek.S: Ditto.
2437 * libc/sys/h8300hms/open.S: Ditto.
2438 * libc/sys/h8300hms/stat.S: Ditto.
2439 * libc/sys/h8300hms/read.S: New file to replace read.c.
2440 * libc/sys/h8300hms/read.c: Removed.
2441 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
2442 _lseek, _close, _stat, _fstat.
2443 * libc/sys/h8300hms/write.S: New file to replace write.c.
2444 * libc/sys/h8300hms/write.c: Removed.
2445
bac50d6b
NC
24462003-02-20 Nick Clifton <nickc@redhat.com>
2447
2448 * Add support for Cirrus Maverick ARM co-processor:
2449
2450 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
2451
2452 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
2453 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
2454
2455 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
2456
2457 * configure.host: set sys_dir, syscall_dir, and
2458 newlib_cflags for ep9312 host.
2459
2460 * configure.host: Restore alpha sorting of entries in case
2461 statements.
2462
12ee7037
JJ
24632003-02-19 Jeff Johnston <jjohnstn@redhat.com>
2464
2465 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
2466
1e810ba0
JJ
24672003-02-18 Christian Groessler <chris@groessler.org>
2468
2469 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
2470 support z8001 segmented mode.
2471
b1ca765e
JJ
24722003-02-18 Earnie Boyd <earnie@users.sf.net>
2473
2474 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
2475 with a NULL value.
2476
51a46b54
CF
24772003-02-10 Christopher Faylor <cgf@redhat.com>
2478
2479 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
2480 Don't define some types under cygwin.
2481
313f1349
JJ
24822003-02-07 Jeff Johnston <jjohnstn@redhat.com>
2483
2484 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
2485 option to allow disabling of syscalls being supplied in newlib.
2486 * aclocal.m4: Regenerated.
2487 * configure: Ditto.
2488 * configure.host: Add support of new configuration option and add
2489 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
2490 * doc/aclocal.m4: Regenerated.
2491 * doc/configure: Ditto.
2492 * libc/*aclocal.m4: Ditto.
2493 * libc/*configure: Ditto.
2494 * libm/*aclocal.m4: Ditto.
2495 * libm/*configure: Ditto.
2496 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
2497 is disabled.
2498 * libc/sys/arm/Makefile.in: Regenerated.
2499
5017a3da
JJ
25002003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
2501
2502 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
2503 -1 to be sure it cannot later match a valid file fd causing
2504 isatty() to return 1.
2505 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
2506 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
2507 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
2508
ad36f7d1
JJ
25092003-02-03 Jeff Johnston <jjohnstn@redhat.com>
2510
2511 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
2512 buffer based on the precision, after we have processed the input value
2513 in a local buffer and know its relative magnitude.
2514
a74181ee
JJ
25152003-01-31 Michael Snyder <msnyder@redhat.com>
2516
2517 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
2518 into registers r1 and r2, so that the simulator can distinguish
2519 this trap from a breakpoint trap. Copied from libgloss.
2520
b85498d4
JJ
25212003-01-31 Michael Snyder <msnyder@redhat.com>
2522
2523 * libc/sys/h8300hms/crt0.S (_start): Change local label
2524 from .loop to .Loop, so that ld and gdb will ignore it.
2525
4700b829
JJ
25262003-01-29 Jason Tishler <jason@tishler.net>
2527
2528 * libc/include/time.h: Declare nanosleep() under Cygwin.
2529
0127ae40
NC
25302003-01-24 Nick Clifton <nickc@redhat.com>
2531
2532 * Add sh2e support:
2533
2534 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
2535
2536 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
2537 * libc/machine/sh/setjmp.S: Likewise.
2538 * libc/include/machine/ieeefp.h: Likewise.
2539
8bbcd9a1
CV
25402003-01-24 Corinna Vinschen <corinna@vinschen.de>
2541
2542 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
2543 for Cygwin.
2544
b8838e6f
JJ
25452003-01-21 Anita Kulkarni <anitak@kpit.com>
2546
2547 * libc/time/difftime.c : Typecast the result to double.
2548
f9e41155
CF
25492003-01-20 Christopher Faylor <cgf@redhat.com>
2550
2551 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
2552
6b5a7988
NC
25532003-01-18 Nick Clifton <nickc@redhat.com>
2554
2555 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
2556 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
2557
c3e92877
JJ
25582003-01-16 Joel Sherrill <joel@OARcorp.com>
2559
2560 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
2561 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
2562 constants are defined in each file in the shared versions in
2563 libc/include.
2564 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
2565 autoconf can link programs.
2566 * libc/include/machine/types.h: Explicitly specify signed on
2567 intXX_t types to ensure they are signed.
2568
84510217
CF
25692003-01-14 Christopher Faylor <cgf@redhat.com>
2570
2571 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
2572 extensions.
2573
b3934ab3
RS
25742003-01-08 Richard Sandiford <rsandifo@redhat.com>
2575
2576 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
2577
be9c60e5
JJ
25782003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
2579
2580 * libc/stdio/sprintf.c: fix typo
2581 * libc/stdio/vfprintf.c: fix typo
2582
d4c3a750
JJ
25832003-01-07 Jeff Johnston <jjohnstn@redhat.com>
2584
2585 * configure.host: Support long double I/O for x86-linux.
2586 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
2587 large enough to hold formatted result.
2588 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
2589
b2294aaa
JJ
25902003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
2591
2592 * Makefile.am: Add vasprintf.
2593 * Makefile.in: Regenerated.
2594
ea5e5daf
JJ
25952003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
2596
2597 * asprintf.c (_asprintf_r): insure both declarations
2598 are the same.
2599
5c581eca
CF
26002002-12-28 Christopher Faylor <cgf@redhat.com>
2601
2602 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
2603 than defining getopt directly.
2604
60b0838f
JJ
26052002-12-20 Jeff Johnston <jjohnstn@redhat.com>
2606
2607 * NEWS: Update with 1.11.0 info.
2608 * README: Ditto.
2609 * acinclude.m4: Change version number to 1.11.0.
2610 * aclocal.m4: Regenerated.
2611 * configure: Ditto.
2612 * doc/aclocal.m4: Ditto.
2613 * doc/configure: Ditto.
2614 * libc/*/aclocal.m4: Ditto.
2615 * libc/*/configure: Ditto.
2616 * libc/libc.texinfo: Ditto.
2617 * libm/*/aclocal.m4: Ditto.
2618 * libm/*/configure: Ditto.
2619 * libm/libm.texinfo: Ditto.
2620 * libc/sys/linux/shared.ld: Add VERS_1.11.
2621
10501d57
JJ
26222002-12-20 Jeff Johnston <jjohnstn@redhat.com>
2623
2624 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
2625 Solutions to Red Hat Inc.
2626 * libc/machine/i386/f_atan2f.S: Ditto.
2627 * libc/machine/i386/f_exp.c: Ditto.
2628 * libc/machine/i386/f_expf.c: Ditto.
2629 * libc/machine/i386/f_frexp.S: Ditto.
2630 * libc/machine/i386/f_frexpf.S: Ditto.
2631 * libc/machine/i386/f_ldexp.S: Ditto.
2632 * libc/machine/i386/f_ldexpf.S: Ditto.
2633 * libc/machine/i386/f_log.S: Ditto.
2634 * libc/machine/i386/f_log10.S: Ditto.
2635 * libc/machine/i386/f_log10f.S: Ditto.
2636 * libc/machine/i386/f_logf.S: Ditto.
2637 * libc/machine/i386/f_pow.c: Ditto.
2638 * libc/machine/i386/f_powf.c: Ditto.
2639 * libc/machine/i386/f_tan.S: Ditto.
2640 * libc/machine/i386/f_tanf.S: Ditto.
2641 * libc/machine/i386/memchr.S: Ditto.
2642 * libc/machine/i386/memcmp.S: Ditto.
2643 * libc/machine/i386/memcpy.S: Ditto.
2644 * libc/machine/i386/memmove.S: Ditto.
2645 * libc/machine/i386/memset.S: Ditto.
2646 * libc/machine/i386/strchr.S: Ditto.
2647 * libc/machine/i386/strlen.S: Ditto.
2648 * libm/machine/i386/f_atan2.S: Ditto.
2649 * libm/machine/i386/f_atan2f.S: Ditto.
2650 * libm/machine/i386/f_exp.c: Ditto.
2651 * libm/machine/i386/f_expf.c: Ditto.
2652 * libm/machine/i386/f_frexp.S: Ditto.
2653 * libm/machine/i386/f_frexpf.S: Ditto.
2654 * libm/machine/i386/f_ldexp.S: Ditto.
2655 * libm/machine/i386/f_ldexpf.S: Ditto.
2656 * libm/machine/i386/f_log.S: Ditto.
2657 * libm/machine/i386/f_log10.S: Ditto.
2658 * libm/machine/i386/f_log10f.S: Ditto.
2659 * libm/machine/i386/f_logf.S: Ditto.
2660 * libm/machine/i386/f_pow.c: Ditto.
2661 * libm/machine/i386/f_powf.c: Ditto.
2662 * libm/machine/i386/f_tan.S: Ditto.
2663 * libm/machine/i386/f_tanf.S: Ditto.
2664
9b3f0d16
JJ
26652002-12-20 Jeff Johnston <jjohnstn@redhat.com>
2666
2667 * libc/stdlib/environ.c: Update license to Red Hat.
2668 * libc/machine/hppa/setjmp.S: Ditto.
2669 * libm/test/Makefile.in: Ditto.
2670
d693ad84
JJ
26712002-12-19 Jeff Johnston <jjohnstn@redhat.com>
2672
2673 * configure.host: Remove references to go32.
2674 * libc/sys/go32/*: Removed.
2675
7da92d15
JJ
26762002-12-16 Kazu Hirata <kazu@cs.umass.edu>
2677
2678 * libc/include/sys/config.h: Change setting of INT_MAX
2679 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
2680 __H8300S__. Also consolidate flag settings for these
2681 platforms.
2682
ea01c7f5
JJ
26832002-12-10 Joel Sherrill <joel@OARcorp.com>
2684
2685 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
2686 for i386-rtems targets.
2687
c049dd5a
JJ
26882002-12-06 Jeff Johnston <jjohnstn@redhat.com>
2689
2690 * libc/include/stdlib.h (strtof): New prototype (from C99).
2691 (strtodf): Changed from prototype to macro which redefines
2692 to strtof.
2693 * libc/stdlib/atof.c: Change documentation to refer to strtof
2694 instead of strtodf.
2695 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
2696 strtodf.
2697 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
2698 (strtof): New function.
2699 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
2700 calls strtof.
2701
46a402e0
CF
27022002-11-27 Christopher Faylor <cgf@redhat.com>
2703
2704 * libc/string/memset.c (memset): Fix comment.
2705
b3cc01b0
CF
27062002-11-26 Christopher Faylor <cgf@redhat.com>
2707
2708 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
2709 function.
2710
d90f3dc1
CF
27112002-11-25 Christopher Faylor <cgf@redhat.com>
2712
2713 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
2714 variable, introduced below, everywhere.
2715
f24585c6
KH
27162002-11-25 Kazu Hirata <kazu@cs.umass.edu>
2717
2718 * libc/string/memset.c (memset): Make it safe even if
2719 sizeof (int) = 2.
2720
2955fd76
JJ
27212002-11-22 Joe Buehler <jbuehler@hekimian.com>
2722
2723 * configure.in: Change check for libc/include in ${CC} to
2724 use an intermediate value so as to work with different shells.
2725 * configure: Regenerated.
2726 * Makefile.in: Ditto.
2727
40ce7368
JJ
27282002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
2729
2730 * libc/sys/h8300hms/read.c: Add support for normal mode
2731 architecture.
2732
505746ad
JJ
27332002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
2734
2735 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
2736 code for __H8300H__ and __H8300S__. Also return 32-bit return code
2737 when -mint32 is used.
2738
28ecb2f5
NC
27392002-11-18 Nick Clifton <nickc@redhat.com>
2740
2741 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
2742
665b994e
JJ
27432002-11-14 Jeff Johnston <jjohnstn@redhat.com>
2744
2745 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
2746 only issue one pass/fail message for a compile/link/execute.
2747 * testsuite/newlib.elix/elix.exp: New file.
2748 * testsuite/newlib.elix/tmmap.c: Ditto.
2749
e91ec2e3
CF
27502002-11-06 Christopher Faylor <cgf@redhat.com>
2751
2752 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
2753 * libc/stdlib/mlock.c: Ditto.
2754 * libc/stdlib/msize.c: Ditto.
2755 * libc/stdlib/msize.c: Ditto.
2756 * libc/stdlib/mtrim.c: Ditto.
2757 * libc/stdlib/valloc.c: Ditto.
2758
944772c7
JJ
27592002-11-12 Jeff Johnston <jjohnstn@redhat.com>
2760
2761 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
2762 for inf/nan, make sure that the check ignores the sign bit.
2763
dd7ee147
JJ
27642002-11-07 Joel Sherrill <joel@OARcorp.com>
2765
2766 * libc/sys/rtems/machine: New directory.
2767 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
2768 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
2769 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
2770 targets more BSD like when installed without requiring files to
2771 be overwritten at install point when RTEMS itself is installed.
2772 * Makefile.am: Pick up system dependent machine .h files such as
2773 might be found on a BSD-ish system.
2774 * Makefile.in: Regenerate.
2775 * libc/include/machine/types.h: When on an RTEMS target, define a
2776 few BSD flavor types.
2777
27782002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
503430d8
CF
2779
2780 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
2781
18cd62b7
JJ
27822002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
2783
2784 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
2785 * libc/include/wctype.h: Ditto.
2786
d2888812
JJ
27872002-11-04 Jeff Johnston <jjohnstn@redhat.com>
2788
2789 * libc/include/wchar.h: Add extern "C" specifier if C++.
2790 * libc/include/wctype.h: Ditto.
2791
978ea3cf
JJ
27922002-10-18 Jeff Johnston <jjohnstn@redhat.com>
2793
2794 * testsuite/newlib.wctype/tiswctype.c: New test case.
2795 * testsuite/newlib.wctype/twctrans.c: Ditto.
2796
a42cf80a
JJ
27972002-10-18 Jeff Johnston <jjohnstn@redhat.com>
2798
2799 * libc/sys/linux/machine/i386/include/endian.h: New file.
2800 * libc/sys/linux/machine/i386/include/param.h: Ditto.
2801
c9ccb1f2
JJ
28022002-10-18 Jeff Johnston <jjohnstn@redhat.com>
2803
2804 * libm/machine/i386/aclocal.m4: Regenerated.
2805 * libm/machine/i386/configure: Ditto.
2806
94c5b430
JJ
28072002-10-18 Jeff Johnston <jjohnstn@redhat.com>
2808
2809 * testsuite/include/check.h: New header file to use with
2810 test cases.
2811 * testsuite/lib/newlib.exp: Add testsuite/include directory
2812 to list of header files to use.
2813 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
2814 * testsuite/newlib.wctype/wctype.exp: New file.
2815
ccdae543
RS
28162002-10-11 Graham Stott <graham.stott@btinternet.com>
2817 Richard Sandiford <rsandifo@redhat.com>
f770cf44
RS
2818
2819 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
2820 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
2821 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
2822
73972116
JS
28232002-10-07 Joel Sherrill <joel@OARcorp.com>
2824
2825 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
2826 dummy programs.
2827
89e3fcba
JS
28282002-10-07 Joel Sherrill <joel@OARcorp.com>
2829
2830 * libc/include/pthread.h: Define PTHREAD_CANCELED.
2831
54ec52e4
JS
28322002-10-07 Joel Sherrill <joel@OARcorp.com>
2833
2834 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
2835 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
2836 compile with current GNU tools.
2837
d389acba
JJ
28382002-10-07 Jeff Johnston <jjohnstn@redhat.com>
2839
2840 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
2841 the build library.
2842 * configure.in: Ditto.
2843 * Makefile.in: Regenerated.
2844 * configure: Ditto.
2845 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
2846 for specifying configured libraries/directories.
2847 * libc/sys/linux/configure.in: Ditto.
2848 * libc/sys/linux/Makefile.in: Regenerated.
2849 * libc/sys/linux/configure: Ditto.
2850
af5a221f
JJ
28512002-10-03 Jeff Johnston <jjohnstn@redhat.com>
2852
2853 * libc/include/reent.h: Update documentation at start of file.
2854
59a758bd
JW
28552002-09-27 Jim Wilson <wilson@redhat.com>
2856
2857 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
2858 the ctbp register.
2859
1ed3c86d
JJ
28602002-09-27 Jeff Johnston <jjohnstn@redhat.com>
2861
2862 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
2863 Also convert to EUCJP before using arrays. For values not in
2864 the conversion arrays, return WEOF.
2865 * libc/ctype/jp2uc.h: Change from one array to a number of
2866 arrays to account for the fact that the originating table
2867 is not contiguous for the input values since some are invalid.
2868
6e1dfd2d
JJ
28692002-09-24 Jeff Johnston <jjohnstn@redhat.com>
2870
2871 * libc/time/ctime.c: Fix prototype documentation.
2872
06f1353a
CV
28732002-09-24 Corinna Vinschen <corinna@vinschen.de>
2874
2875 * libc/include/sys/errno.h: Add EOVERFLOW.
2876
1e0e64c9
JJ
28772002-09-20 Jeff Johnston <jjohnstn@redhat.com>
2878
2879 * libc/include/wctype.h: New file.
2880
1525d127
JJ
28812002-09-20 Jeff Johnston <jjohnstn@redhat.com>
2882
2883 * libc/ctype/Makefile.am: Add new files.
2884 * libc/ctype/Makefile.in: Regenerated.
2885 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
2886 and wctrans functions to documentation index.
2887 * libc/ctype/iswalnum.c: New file.
2888 * libc/ctype/iswalpha.c: Ditto.
2889 * libc/ctype/iswblank.c: Ditto.
2890 * libc/ctype/iswcntrl.c: Ditto.
2891 * libc/ctype/iswctype.c: Ditto.
2892 * libc/ctype/iswdigit.c: Ditto.
2893 * libc/ctype/iswgraph.c: Ditto.
2894 * libc/ctype/iswlower.c: Ditto.
2895 * libc/ctype/iswprint.c: Ditto.
2896 * libc/ctype/iswpunct.c: Ditto.
2897 * libc/ctype/iswspace.c: Ditto.
2898 * libc/ctype/iswupper.c: Ditto.
2899 * libc/ctype/iswxdigit.c: Ditto.
2900 * libc/ctype/jp2uc.c: Ditto.
2901 * libc/ctype/jp2uc.h: Ditto.
2902 * libc/ctype/local.h: Ditto.
2903 * libc/ctype/towctrans.c: Ditto.
2904 * libc/ctype/towlower.c: Ditto.
2905 * libc/ctype/towupper.c: Ditto.
2906 * libc/ctype/utf8alpha.h: Ditto.
2907 * libc/ctype/utf8print.h: Ditto.
2908 * libc/ctype/utf8punct.h: Ditto.
2909 * libc/ctype/wctrans.c: Ditto.
2910 * libc/ctype/wctype.c: Ditto.
2911 * libc/locale/locale.c (__lc_ctype): New external array to
2912 replace static lc_ctype array.
2913 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
2914 rather than reentrancy structure's _current_locale field.
2915 * libc/stdlib/wctomb_r.c: Ditto.
2916
da25e61f
JJ
29172002-09-20 Jeff Johnston <jjohnstn@redhat.com>
2918
2919 * configure.host: Minor comment and formatting changes.
2920 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
2921 * libc/Makefile.in: Regenerated.
2922 * libc/include/sys/config.h: Minor format change.
2923
5b9ee539
JJ
29242002-09-19 Jeff Johnston <jjohnstn@redhat.com>
2925
2926 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
2927 statement comment.
2928
50558bf3
JJ
29292002-09-19 Jeff Johnston <jjohnstn@redhat.com>
2930
2931 * libc/posix/opendir.c (opendir): Change code to check
2932 for HAVE_FCNTL before calling fcntl.
2933 * libc/search/hash.c (hash_open): Ditto.
2934 * libc/search/hash_page.c (open_tmp): Ditto.
2935 * libc/reent/Makefile.am: Add fcntlr.c.
2936 * libc/reent/Makefile.in: Regenerated.
2937 * libc/reent/fcntlr.c: New file.
2938 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
2939 instead of _fcntl when HAVE_FCNTL flag is set.
2940 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
2941 to see if _fcntl or _fcntl_r should be called. If flag is not
2942 set, default to ENOSYS stub.
2943
9211a1ad
JJ
29442002-09-16 Jeff Johnston <jjohnstn@redhat.com>
2945
2946 * libc/include/wchar.h (mbstate_t): Change protective flag to
2947 be _MBSTATE_T.
2948 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
2949 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
2950 for Cygwin.
2951 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
2952
a8615092
JJ
29532002-09-11 Jeff Johnston <jjohnstn@redhat.com>
2954
2955 * acinclude.m4 (enable-newlib-mb): Change check to
2956 default newlib_mb variable to empty string rather than "no".
2957 * configure.host: Remove hard-coding of -DMB_CAPABLE for
2958 x86-linux and Cygwin. Add code to check for newlib_mb
2959 being unset in which case set to "yes" for x86-linux and
2960 Cygwin. Change check for newlib_mb being "yes" to allow
2961 for an empty string.
2962 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
2963 * newlib.hin (_MB_LEN_MAX): New define to configure.
2964 * aclocal.m4: Regenerated.
2965 * configure: Ditto.
2966 * libc/include/limits.h: New file.
2967 * libc/sys/linux/include/limits.h: Ditto.
2968 * doc/aclocal.m4 doc/configure libc/aclocal.m4
2969 libc/configure libc/include/%redact libc/machine/aclocal.m4
2970 libc/machine/configure libc/machine/a29k/aclocal.m4
2971 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
2972 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
2973 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
2974 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
2975 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
2976 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
2977 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
2978 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
2979 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
2980 libc/machine/i386/configure libc/machine/i960/aclocal.m4
2981 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
2982 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
2983 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
2984 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
2985 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
2986 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
2987 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
2988 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
2989 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
2990 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
2991 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
2992 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
2993 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
2994 libc/machine/v850/configure libc/machine/w65/aclocal.m4
2995 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
2996 libc/machine/xscale/configure
2997 libc/machine/xstormy16/aclocal.m4
2998 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
2999 libc/machine/z8k/configure libc/sys/aclocal.m4
3000 libc/sys/configure libc/sys/a29khif/aclocal.m4
3001 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
3002 libc/sys/arc/configure libc/sys/arm/aclocal.m4
3003 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
3004 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
3005 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
3006 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
3007 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
3008 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
3009 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
3010 libc/sys/idt/configure libc/sys/linux/aclocal.m4
3011 libc/sys/linux/configure libc/sys/linux/include/%redact
3012 libc/sys/linux/machine/aclocal.m4
3013 libc/sys/linux/machine/configure
3014 libc/sys/linux/machine/i386/aclocal.m4
3015 libc/sys/linux/machine/i386/configure
3016 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
3017 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
3018 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
3019 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
3020 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
3021 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
3022 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
3023 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
3024 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
3025 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
3026 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
3027 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
3028 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
3029 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
3030 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
3031 libm/aclocal.m4 libm/configure: Regenerated.
3032
be83844e
JJ
30332002-09-09 Jeff Johnston <jjohnstn@redhat.com>
3034
3035 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
3036 code that clears the .bss section.
3037
9c64d2a7
JJ
30382002-09-09 Jeff Johnston <jjohnstn@redhat.com>
3039
3040 * libc/include/sys/_types.h (_mbstate_t): Changed to use
3041 unsigned char internally.
3042 * libc/sys/linux/sys/_types.h: Ditto.
3043 * libc/include/sys/reent.h
3044 * libc/stdlib/mblen.c (mblen): Use function-specific state
3045 value from default reentrancy structure.
3046 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
3047 _mbtowc_r is less than 0, reset state __count value and
3048 return -1.
3049 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
3050 is NULL, use the function-specific pointer provided in the
3051 default reentrancy structure.
3052 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
3053 If input state pointer is NULL, use function-specific area
3054 provided in reentrancy structure.
3055 * libc/stdlib/mbsrtowcs.c: Ditto.
3056 * libc/stdlib/wcrtomb.c: Ditto.
3057 * libc/stdlib/wcsrtombs.c: Ditto.
3058 * libc/stdlib/mbstowcs.c: Reformat.
3059 * libc/stdlib/wcstombs.c: Ditto.
3060 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
3061 reset the state's __count value and return -1.
3062 * libc/stdlib/mbtowc.c: Ditto.
3063 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
3064 If number of bytes is used up before completing a valid multibyte
3065 character, return -2 and save the state.
3066 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
3067 and change some __count references to __state for clarity.
3068
218b7a56
JJ
30692002-09-06 Jeff Johnston <jjohnstn@redhat.com>
3070
3071 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
3072 is defined by <limits.h>.
3073
c210a6ea
JJ
30742002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
3075
3076 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
3077 defined.
3078
efa077ce
JJ
30792002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
3080
3081 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
3082 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
3083 __WCHAR_MAX__ or 0x7fffffffu.
3084 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
3085 * libc/string/wcsncmp.c: Ditto.
3086
e4b0ebc1
JJ
30872002-09-03 Jeff Johnston <jjohnstn@redhat.com>
3088
3089 * libc/string/wcschr.c: Add include of <stddef.h>.
3090 * libc/string/wcspbrk.c: Ditto.
3091 * libc/string/wcsrchr.c: Ditto.
3092 * libc/string/wcsstr.c: Ditto.
3093
3db40db7
JJ
30942002-09-03 Jeff Johnston <jjohnstn@redhat.com>
3095
3096 * libc/include/sys/_types.h (_flock_t): Added.
3097 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
3098 (__lock_try_acquire_recursive): Ditto.
3099 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
3100 _lock field.
3101 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
3102 field.
3103 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
3104 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
3105 * libc/sys/linux/include/time.h (struct timespec): Moved from
3106 <sys/types.h> and added check for __need_timespec flag so type
3107 can be defined by itself.
3108 * libc/sys/linux/sys/_types.h (_flock_t): New type.
3109 * libc/sys/linux/sys/types.h (struct timespec): Moved to
3110 <time.h>.
3111
cd45f029
TF
31122002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
3113
3114 * libc/sys/linux/argp: New directory.
3115 * libc/sys/linux/getopt.c: New file.
3116 * libc/sys/linux/getopt1.c: New file.
3117 * libc/sys/linux/getoptlong.c: Remove file.
3118 * libc/sys/linux/include/argp.h: New file.
3119 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
3120 based on ELIX level.
3121 (SUBDIRS): Add argp_dir.
3122 (SUBLIBS): Add ARGP_LIB.
3123 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
3124 getopt_long.$(oext).
3125 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
3126
3c689185
JJ
31272002-08-29 Jeff Johnston <jjohnstn@redhat.com>
3128
3129 * libc/libc.texinfo: Add node reference to wide-character strings.
3130 * libc/string/wcstrings.tex: New file.
3131 * libc/string/strtok_r.c: Remove outdated advertising clause.
3132 * libc/string/Makefile.am (doc): Add wide-character string
3133 chapter to documentation.
3134 * libc/string/Makefile.in: Regenerated.
3135
890e7a1d
JJ
31362002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
3137
3138 * libc/include/wchar.h: Define NULL. Define WEOF more general
3139 way. Declare functions in newlib manner.
3140 * libc/stdlib/Makefile.am: Delete wmem*.c
3141 * libc/stdlib/Makefile.in: Regenerated.
3142 * libc/stdlib/wmemchr.c: Delete.
3143 * libc/stdlib/wmemcmp.c: Ditto.
3144 * libc/stdlib/wmemcpy.c: Ditto.
3145 * libc/stdlib/wmemmove.c: Ditto.
3146 * libc/stdlib/wmemset.c: Ditto.
3147 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
3148 * libc/string/Makefile.in: Regenerated.
3149 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
3150 * libc/string/wcschr.c: Ditto.
3151 * libc/string/wcscmp.c: Ditto.
3152 * libc/string/wcscpy.c: Ditto.
3153 * libc/string/wcscspn.c: Ditto.
3154 * libc/string/wcslcat.c: Ditto.
3155 * libc/string/wcslcpy.c: Ditto.
3156 * libc/string/wcslen.c: Ditto.
3157 * libc/string/wcsncat.c: Ditto.
3158 * libc/string/wcsncmp.c: Ditto.
3159 * libc/string/wcsncpy.c: Ditto.
3160 * libc/string/wcspbrk.c: Ditto.
3161 * libc/string/wcsrchr.c: Ditto.
3162 * libc/string/wcsspn.c: Ditto.
3163 * libc/string/wcsstr.c: Ditto.
3164 * libc/string/wmemchr.c: Ditto.
3165 * libc/string/wmemcmp.c: Ditto.
3166 * libc/string/wmemcpy.c: Ditto.
3167 * libc/string/wmemmove.c: Ditto.
3168 * libc/string/wmemset.c: Ditto.
3169
86620e21
JJ
31702002-08-29 Jeff Johnston <jjohnstn@redhat.com>
3171
3172 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
3173 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
3174 and is treated as if "C" was specified.
3175
f3741c27
JJ
31762002-08-28 Jeff Johnston <jjohnstn@redhat.com>
3177
3178 * Makefile.am (install-data-local): Move install of build
3179 newlib.h after installing headers in libc/include so as to
3180 overwrite default newlib.h.
3181 * Makefile.in: Regenerated.
3182
48da61f5
JJ
31832002-08-28 Jeff Johnston <jjohnstn@redhat.com>
3184
3185 * libc/include/newlib.h: New file for tools that use newlib
3186 headers but don't build newlib first (e.g. gcc).
3187
d82a94ac
JJ
31882002-08-28 Jeff Johnston <jjohnstn@redhat.com>
3189
3190 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
3191 * libc/stdlib/wmemcmp.c: Ditto.
3192 * libc/stdlib/wmemcpy.c: Ditto.
3193 * libc/stdlib/wmemmove.c: Ditto.
3194 * libc/stdlib/wmemset.c: Ditto.
3195
7d08241b
JJ
31962002-08-27 Egor Duda <deo@logos-m.ru>
3197
3198 * libc/stdlib/wmemchr.c: New file.
3199 * libc/stdlib/wmemcmp.c: Ditto.
3200 * libc/stdlib/wmemcpy.c: Ditto.
3201 * libc/stdlib/wmemmove.c: Ditto.
3202 * libc/stdlib/wmemset.c: Ditto.
3203 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
3204 * configure.host: Default -DMB_CAPABLE for cygwin.
3205 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
3206 wmemmove() and wmemset(). Add include of <_ansi.h>.
3207 * libc/stdlib/Makefile.in: Regenerate.
3208
8da1639b
JJ
32092002-08-27 Jeff Johnston <jjohnstn@redhat.com>
3210
ff2bf852 3211 * configure.host: Remove _ELIX_LEVEL flag setting.
8da1639b
JJ
3212 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
3213 (install-data-local): Install newlib.h.
3214 * Makefile.in: Regenerated.
3215 * aclocal.m4: Ditto.
3216 * configure: Ditto.
3217 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
3218 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
3219 and _NEWLIB_VERSION to fill in newlib.h header file entries.
3220 In AC_OUTPUT statement, unset ac_file so multilib support does
3221 not use last ac_file temporary used in newlib.h configuration.
3222 * libc/include/_ansi.h: Include <newlib.h>.
3223 * newlib.hin: New template file for newlib.h.
3224 * stamp-h.in: New file.
3225
a4421c11
JJ
32262002-08-26 Wu Yongwei <adah@netstd.com>
3227
3228 * time.h (timezonevar): Change "#if" to "#ifdef".
3229
90b65e2d
JJ
32302002-08-26 Jeff Johnston <jjohnstn@redhat.com>
3231
3232 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
3233 * Makefile.in: Regenerated.
3234 * acinclude.m4: Add support for --enable-newlib-elix-level option.
3235 * aclocal.m4: Regenerated.
3236 * configure: Ditto.
3237 * configure.host: Add code to define _ELIX_LEVEL if
3238 --enable-newlib-elix-level option is used.
3239 * configure.in:
3240 * libc/aclocal.m4: Regenerated.
3241 * libc/configure: Ditto.
3242 * libc/argz/Makefile.am: Add EL/IX level checking.
3243 * libc/argz/Makefile.in: Regenerated.
3244 * libc/argz/dummy.c: New file.
3245 * libc/ctype/Makefile.am: Add EL/IX level checking.
3246 * libc/ctype/Makefile.in: Regenerated.
3247 * libc/locale/Makefile.am: Add EL/IX level checking.
3248 * libc/locale/Makefile.in: Regenerated.
3249 * libc/posix/Makefile.am: Add EL/IX level checking.
3250 * libc/posix/Makefile.in: Regenerated.
3251 * libc/posix/telldir.c: Add EL/IX level checking.
3252 * libc/reent/Makefile.am: Ditto.
3253 * libc/reent/fstat64r.c: Ditto.
3254 * libc/reent/lseek64r.c: Ditto.
3255 * libc/reent/open64r.c: Ditto.
3256 * libc/reent/Makefile.in: Regenerated.
3257 * libc/search/Makefile.am: Add EL/IX level checking.
3258 * libc/search/Makefile.in: Regenerated.
3259 * libc/stdio/Makefile.am: Add EL/IX level checking.
3260 * libc/stdio/Makefile.in: Regenerated.
3261 * libc/stdio64/Makefile.am: Add EL/IX level checking.
3262 * libc/stdio64/Makefile.in: Regenerated.
3263 * libc/stdio64/dummy.c: New file.
9b487837 3264 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
90b65e2d
JJ
3265 after first include.
3266 * libc/stdio64/fopen64.c: Ditto.
3267 * libc/stdio64/freopen64.c: Ditto.
3268 * libc/stdio64/fseeko64.c: Ditto.
3269 * libc/stdio64/fsetpos64.c: Ditto.
3270 * libc/stdio64/ftello64.c: Ditto.
3271 * libc/stdio64/tmpfile64.c: Ditto.
3272 * libc/stdlib/Makefile.am: Add EL/IX level checking.
3273 * libc/stdlib/Makefile.in: Regenerated.
3274 * libc/stdlib/mstats.c: Add EL/IX level checking.
3275 * libc/string/Makefile.am: Ditto.
3276 * libc/string/Makefile.in: Regenerated.
3277 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
3278 * libc/sys/linux/Makefile.in: Regenerated.
3279 * libc/sys/linux/aclocal.m4: Ditto.
3280 * libc/sys/linux/configure: Ditto.
3281 * libc/sys/linux/aio.c: Add EL/IX level checking.
3282 * libc/sys/linux/ftok.c: Ditto.
3283 * libc/sys/linux/getdate.c: Ditto.
3284 * libc/sys/linux/ids.c: Ditto.
3285 * libc/sys/linux/inode.c: Ditto.
3286 * libc/sys/linux/io.c: Ditto.
3287 * libc/sys/linux/process.c: Ditto.
3288 * libc/sys/linux/resource.c: Ditto.
3289 * libc/sys/linux/sched.c: Ditto.
3290 * libc/sys/linux/sig.c: Ditto.
3291 * libc/sys/linux/termios.c: Ditto.
3292 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
3293 __libc___waitpid weak aliases.
3294 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
3295 that generate the code for a syscall, but do not create a
3296 weak alias.
3297 * libc/syscalls/Makefile.am: Add EL/IX level checking.
3298 * libc/syscalls/Makefile.in: Regenerated.
3299 * libc/time/tzset_r.c: Change to replace strdup with equivalent
3300 functionality.
3301 * libc/unix/Makefile.am: Add EL/IX level checking.
3302 * libc/unix/Makefile.in: Regenerated.
3303
2e2b268c
CF
33042002-08-26 Christopher Faylor <cgf@redhat.com>
3305
3306 * libc/include/malloc.h: On cygwin, define malloc _r functions as
3307 wrapper macros to standard malloc functions.
3308 * libc/include/stdlib.h: Ditto.
3309 * configure.host: Always define MALLOC_PROVIDED on cygwin.
3310
8d9112f2
TF
33112002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3312
3313 * libc/include/langinfo.h: New file.
3314 * libc/include/wchar.h: Likewise.
3315 * libc/include/sys/syslimits.h: Likewise.
3316 * libc/locale/fix_grouping.c: Likewise.
3317 * libc/locale/ldpart.c: Likewise.
3318 * libc/locale/ldpart.h: Likewise.
3319 * libc/locale/lmessages.c: Likewise.
3320 * libc/locale/lmessages.h: Likewise.
3321 * libc/locale/lmonetary.c: Likewise.
3322 * libc/locale/lmonetary.h: Likewise.
3323 * libc/locale/lnumeric.c: Likewise.
3324 * libc/locale/lnumeric.h: Likewise.
3325 * libc/locale/nl_langinfo.3: Likewise.
3326 * libc/locale/nl_langinfo.c: Likewise.
3327 * libc/locale/timelocal.c: Likewise.
3328 * libc/locale/timelocal.h: Likewise.
3329 * libc/stdlib/btowc.c: Likewise.
3330 * libc/stdlib/mbrlen.c: Likewise.
3331 * libc/stdlib/mbrtowc.c: Likewise.
3332 * libc/stdlib/mbsinit.c: Likewise.
3333 * libc/stdlib/mbsrtowcs.c: Likewise.
3334 * libc/stdlib/wcrtomb.c: Likewise.
3335 * libc/stdlib/wcsrtombs.c: Likewise.
3336 * libc/stdlib/wctob.c: Likewise.
3337 * libc/sys/linux/prof-freq.c: Likewise.
3338 * libc/sys/linux/profile.c: Likewise.
3339 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
3340 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
3341 * libc/include/stdlib.h: Change re-entrant functions to take
3342 mbstate_t pointers.
3343 * libc/include/sys/_types.h: Define _mbstate_t.
3344 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
3345 * libc/include/sys/errno.h (EILSEQ): New error code.
3346 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
3347 structure to use mbstate_t.
3348 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
3349 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
3350 * libc/machine/powerpc/vfscanf.c: Likewise.
3351 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
3352 * libc/stdio/vfprintf.c: Likewise.
3353 * libc/stdio/vfscanf.c: Likewise.
3354 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
3355 * libc/stdlib/mblen.c: Use mbstate_t.
3356 * libc/stdlib/mblen_r.c: Likewise.
3357 * libc/stdlib/mbstowcs.c: Likewise.
3358 * libc/stdlib/mbstowcs_r.c: Likewise.
3359 * libc/stdlib/mbtowc.c: Likewise.
3360 * libc/stdlib/mbtowc_r.c: Likewise.
3361 * libc/stdlib/wcstombs.c: Likewise.
3362 * libc/stdlib/wcstombs_r.c: Likewise.
3363 * libc/stdlib/wctomb_r.c: Likewise.
3364 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
3365 profile.c.
3366 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
3367 dl-procinfo.c.
3368 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
3369 * libc/sys/linux/sys/types.h (off_t): Define type.
3370 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
3371 to C-UTF-8.
3372 * testsuite/newlib.locale/UTF-8.exp: Likewise.
3373
fe47ea33
JJ
33742002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
3375
3376 * libc/stdlib/mallocr.c: #include windows.h on Win32.
3377 (AlignPage): Continue macro on next line.
3378
ada73509
JJ
33792002-08-19 Jeff Johnston <jjohnstn@redhat.com>
3380
3381 * libc/sys/linux/include/pthread.h: New file.
3382
64b5e8f2
JJ
33832002-08-19 Jeff Johnston <jjohnstn@redhat.com>
3384
3385 * libc/include/sys/types.h: Support __need_inttypes macro
3386 that only sets the __intxx and __uintxx types.
3387 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
3388 to get mprec.h.
3389 * libc/machine/powerpc/Makefile.in: Regenerated.
3390 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
3391 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
3392 redundant fixed-point conversion prototypes.
3393 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
3394 after setting __need_inttypes.
3395
a94b60ce
CF
33962002-08-18 Christopher Faylor <cgf@redhat.com>
3397
3398 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
3399
29e17a86
JJ
34002002-08-17 Jeff Johnston <jjohnstn@redhat.com>
3401
3402 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
3403 _LONG_DOUBLE to double.
3404
936b520f
JJ
34052002-08-17 Jeff Johnston <jjohnstn@redhat.com>
3406
3407 * configure.host: Add powerpc*-*-eabispe* configuration.
3408 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
3409 * libc/machine/powerpc/atosfix32.c: Ditto.
3410 * libc/machine/powerpc/atosfix64.c: Ditto.
3411 * libc/machine/powerpc/atoufix16.c: Ditto.
3412 * libc/machine/powerpc/atoufix32.c: Ditto.
3413 * libc/machine/powerpc/atoufix64.c: Ditto.
3414 * libc/machine/powerpc/fix64.h: Ditto.
3415 * libc/machine/powerpc/simdldtoa.c: Ditto.
3416 * libc/machine/powerpc/strtosfix16.c: Ditto.
3417 * libc/machine/powerpc/strtosfix32.c: Ditto.
3418 * libc/machine/powerpc/strtosfix64.c: Ditto.
3419 * libc/machine/powerpc/strtoufix16.c: Ditto.
3420 * libc/machine/powerpc/strtoufix32.c: Ditto.
3421 * libc/machine/powerpc/strtoufix64.c: Ditto.
3422 * libc/machine/powerpc/ufix64toa.c: Ditto.
3423 * libc/machine/powerpc/configure.in: Add check for
3424 powerpc*-eabispe and add fixed-point conversion functions.
3425 * libc/machine/powerpc/configure: Regenerated.
3426 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
3427 %r and %R format specifiers which handle fixed-point data.
3428 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
3429 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
3430 function prototypes.
3431
ad552766
JJ
34322002-08-17 Jeff Johnston <jjohnstn@redhat.com>
3433
3434 * Makefile.am: Move cmath stuff into libc/sys/linux.
3435 * Makefile.in: Regenerated.
3436 * configure.host: Default -DMB_CAPABLE for x86-linux.
3437 * libc/include/reent.h: Define _sbrk to take signed int argument.
3438 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
3439 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
3440 make locale name checking more efficient. Also allow "C-ISO-8859-1"
3441 locale for LC_CTYPE and LC_MESSAGES.
3442 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
3443 * libc/sys/linux/brk.c: Change sbrk prototype.
3444 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
3445 include <sys/features.h>.
3446 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
3447 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
3448 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
3449 with a few local additions.
3450 * libc/sys/linux/sys/features.h: New file.
3451 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
3452 to take signed argument.
3453 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
3454 prototypes to take signed size argument.
3455
d3bd3632
TF
34562002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
3457
3458 * libc/sys/linux/cmath: New directory.
3459 * libc/sys/linux/include/cmathcalls.h: New file.
3460 * libc/sys/linux/include/complex.h: New file.
3461 * libc/sys/linux/machine/i386/huge_val.h: New file
3462 * libm/math/w_sincos.c: New file
3463 * libm/math/wf_sincos.c: New file
3464 * libm/mathfp/s_sincos.c: New file
3465 * libm/mathfp/sf_sincos.c: New file
3466 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
3467 * libc/include/math.h: Add sincos and sincosf declarations.
3468 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
3469 (SUBLIBS): Likewise.
3470 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
3471 * libm/math/Makefile.am (src): Add w_sincos.c.
3472 (fsrc): Add wf_sincos.c.
3473 * libm/mathfp/Makefile.am (src): Add s_sincos.c
3474 (fsrc): Add sf_sincos.c.
3475
b3a9676b
JJ
34762002-08-12 Jeff Johnston <jjohnstn@redhat.com>
3477
3478 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
3479 Declare as extern chars and use the address operator to
3480 properly use values set in linker script.
3481
659e7062
JJ
34822002-08-09 Jason Tishler <jason@tishler.net>
3483
3484 * libc/stdlib/mallocr.c: Include <limits.h>.
3485 (request2size): Change macro to do
3486 unsigned long comparisons and avoid signed overflow.
3487 (mALLOc): Add overflow check for the number of bytes to allocate.
3488 (rEALLOc): Ditto.
3489
037240a2
JJ
34902002-08-09 Jeff Johnston <jjohnstn@redhat.com>
3491
3492 * configure.host: Add check for --enable-newlib-io-pos-args
3493 and define WANT_IO_POS_ARGS flag if enabled. Define
3494 the flag by default for x86-linux configurations.
3495 * configure.in: Add support for --enable-newlib-io-pos-args.
3496 * libc/configure.in: Ditto.
3497 * configure: Regenerated.
3498 * libc/configure: Ditto.
3499 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
3500 vfprintf.c and vfiprintf.c.
3501 * libc/stdio/Makefile.in: Regenerated.
3502 * libc/stdio/vfprintf.c: Add positional argument support that
3503 is enabled by compiling with -DWANT_IO_POS_ARGS.
3504
172fda76
RS
35052002-08-07 Richard Sandiford <rsandifo@redhat.com>
3506
3507 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
3508 based on __mips_soft_float rather than __mips64.
3509 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
3510 of both 32-bit and 64-bit code.
3511
4866247e
CF
35122002-08-04 Christopher Faylor <cgf@redhat.com>
3513
3514 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
3515 arguments for popen to match similar functionality in fopen.
3516
b96332ce
CV
35172002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
3518
3519 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
3520
60d99bce
JJ
35212002-07-29 Jeff Johnston <jjohnstn@redhat.com>
3522
3523 * libc/sys/linux/Makefile.am: Add aio64.c.
3524 * libc/sys/linux/Makefile.in: Regenerated.
3525 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
3526 * libc/sys/linux/aio64.c: New file.
3527
80a21be0
JJ
35282002-07-26 Jeff Johnston <jjohnstn@redhat.com>
3529
3530 * libc/include/sys/param.h (MAX, MIN): Added macros.
3531 * libc/sys/linux/Makefile.am: Add new files.
3532 * libc/sys/linux/Makefile.in: Regenerated.
3533 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
3534 * libc/sys/linux/inode.c (fchdir): Added syscall.
3535 * libc/sys/linux/ftw.c: New file.
3536 * libc/sys/linux/ftw64.c: Ditto.
3537 * libc/sys/linux/getwd.c: Ditto.
3538 * libc/sys/linux/scandir64.c: Ditto.
3539 * libc/sys/linux/strverscmp.c: Ditto.
3540 * libc/sys/linux/versionsort.c: Ditto.
3541 * libc/sys/linux/versionsort64.c: Ditto.
3542
6b6425cb
JJ
35432002-07-26 Jeff Johnston <jjohnstn@redhat.com>
3544
3545 * libc/string/strings.tex: Fix typo for memccpy.
3546
dc8ac8e6
JJ
35472002-07-25 Jeff Johnston <jjohnstn@redhat.com>
3548
3549 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
3550 * libc/sys/linux/sys/types.h (off64_t): Definition added.
3551
aa0ca6fd
JJ
35522002-07-25 Jeff Johnston <jjohnstn@redhat.com>
3553
3554 * libc/sys/linux/Makefile.am: Add fclean.c.
3555 * libc/sys/linux/Makefile.in: Regenerated.
3556 * libc/sys/linux/fclean.c: New file.
3557
61921945
JJ
35582002-07-25 Jeff Johnston <jjohnstn@redhat.com>
3559
3560 * libc/sys/linux/Makefile.am: Add confstr.c.
3561 * libc/sys/linux/Makefile.in: Regenerated.
3562 * libc/sys/linux/confstr.c: New file.
3563 * libc/sys/linux/confstr.h: Ditto.
3564 * libc/sys/linux/sys/unistd.h: Include <features.h> and
3565 <bits/environments.h>.
3566
3d966a92
JJ
35672002-07-25 Jeff Johnston <jjohnstn@redhat.com>
3568
3569 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
3570 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
3571 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
3572 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
3573 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
3574 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
3575
53b5bff7
JJ
35762002-07-24 Jeff Johnston <jjohnstn@redhat.com>
3577
3578 * libc/sys/linux/Makefile.am: Add new files.
3579 * libc/sys/linux/Makefile.in: Regenerated.
3580 * libc/sys/linux/fstab.c: New file.
3581 * libc/sys/linux/fstatvfs.c: Ditto.
3582 * libc/sys/linux/fstatvfs64.c: Ditto.
3583 * libc/sys/linux/internal_statvfs.c: Ditto.
3584 * libc/sys/linux/mntent.c: Ditto.
3585 * libc/sys/linux/mntent_r.c: Ditto.
3586 * libc/sys/linux/statvfs.c: Ditto.
3587 * libc/sys/linux/statvfs64.c: Ditto.
3588 * libc/sys/linux/include/paths.h: Ditto.
3589 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
3590 with double-underscore weak-aliases.
3591 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
3592
9cef8ef5
JJ
35932002-07-24 Jeff Johnston <jjohnstn@redhat.com>
3594
3595 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
3596 to use _sig_func_ptr type casted constants.
3597 (_sig_func_ptr): Typedef moved to sys/signal.h.
3598 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
3599 For __rtems, use POSIX definition, otherwise default to ANSI.
3600 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
3601
a703e0f2
JJ
36022002-07-24 Stephane Carrez <stcarrez@nerim.fr>
3603
3604 * configure.host: Recognize m6811-elf and m6812-elf targets.
3605 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
3606 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
3607 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
3608 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
3609 according to __INT_MAX__.
3610 (_POINTER_INT): Define to short.
3611 * libc/machine/m68hc11/Makefile.am: New file.
3612 * libc/machine/m68hc11/Makefile.in: New file.
3613 * libc/machine/m68hc11/configure.in: New file.
3614 * libc/machine/m68hc11/configure: New file.
3615 * libc/machine/m68hc11/aclocal.m4: New file.
3616 * libc/machine/m68hc11/setjmp.S: New file.
3617
d254189b
JJ
36182002-07-23 Jeff Johnston <jjohnstn@redhat.com>
3619
3620 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
3621 prototypes.
3622 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
3623 * libc/stdlib/Makefile.in: Regenerated.
3624 * libc/stdlib/strdup.c: Removed.
3625 * libc/stdlib/strdup_r.c: Removed.
3626 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
3627 mempcpy.c, strndup.c, and strndup_r.c.
3628 * libc/string/Makefile.in: Regenerated.
3629 * libc/string/memccpy.c: New file.
3630 * libc/string/mempcpy.c: Ditto.
3631 * libc/string/strndup.c: Ditto.
3632 * libc/string/strndup_r.c: Ditto.
3633 * libc/string/strdup.c: New file moved from stdlib.
3634 * libc/string/strdup_r.c: Ditto.
3635 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
3636
bc100655
JJ
36372002-07-23 Jeff Johnston <jjohnstn@redhat.com>
3638
3639 * libc/include/stdio.h: Move fcloseall prototype within
3640 #ifndef _REENT_ONLY section.
3641 * libc/sys/linux/Makefile.am: Add new files.
3642 * libc/sys/linux/Makefile.in: Regenerated.
3643 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
3644 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
3645 * libc/sys/linux/sys/types.h: Add ino64_t type.
3646 * libc/sys/linux/ctermid.c: New file.
3647 * libc/sys/linux/ttyname_r.c: Ditto.
3648 * libc/sys/linux/readdir64.c: Ditto.
3649
f5f27f07
JJ
36502002-07-22 Jeff Johnston <jjohnstn@redhat.com>
3651
3652 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
3653 * libc/stdio/Makefile.am: Added fcloseall.c support.
3654 * libc/stdio/Makefile.in: Regenerated.
3655 * libc/stdio/fcloseall.c: New file.
3656 * libc/stdio64/Makefile.am: Remove missing .def references.
3657 * libc/stdio64/Makefile.in: Regenerated.
3658
d541ba3e
JJ
36592002-07-22 Jeff Johnston <jjohnstn@redhat.com>
3660
3661 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
3662 * libc/machine/powerpc/times.c: New file.
3663 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
3664 * libc/machine/powerpc/Makefile.in: Regenerated.
3665
36662002-07-22 Aldy Hernandez <aldyh@redhat.com>
e964bca8
JJ
3667
3668 * libc/machine/powerpc/time.c: New file.
3669 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
3670 time.c.
3671 * libc/machine/powerpc/Makefile.in: Regenerated.
3672
5e7d0a55
TF
36732002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3674
3675 * libc/libc.texinfo: Change copyright notices to Red Hat from
3676 Cygnus.
3677 * libm/libm.texinfo: Likewise.
3678 * README: Change docs URL to
3679 http://sources.redhat.com/newlib/docs.html.
3680
504628e7
JJ
36812002-07-19 Jeff Johnston <jjohnstn@redhat.com>
3682
3683 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
3684 * libc/sys/linux/Makefile.in: Regenerated.
3685 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
3686 * libc/sys/linux/io.c: Add ftruncate syscall.
3687 * libc/sys/linux/fpathconf.c: New file.
3688 * libc/sys/linux/pathconf.c: Ditto.
3689 * libc/sys/linux/linux_fsinfo.h: Ditto.
3690 * libc/sys/linux/sys/unistd.h: Ditto.
3691
b155ad9f
JJ
36922002-07-19 Jeff Johnston <jjohnstn@redhat.com>
3693
3694 * libc/stdio64/Makefile.am: Remove missing files.
3695 * libc/stdio64/Makefile.in: Regenerated.
3696
c119e0ab
JJ
36972002-07-19 Jeff Johnston <jjohnstn@redhat.com>
3698
3699 * libc/include/sys/config.h[__i386__][__linux__]: Define
3700 _LARGE64FILE_SOURCE to 1.
3701 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
3702 * libc/sys/linux/Makefile.in: Regenerated.
3703 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
3704 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
3705 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
3706 of <linux/resource.h>.
3707 * libc/sys/linux/getrlimit64.c: New file.
3708 * libc/sys/linux/setrlimit64.c: Ditto.
3709
9b022d6d
TF
37102002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3711
3712 * libc/argz/argz_replace.c: Include buf_findstr.h.
3713 * libc/argz/buf_findstr.c: Likewise.
3714 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
3715 value to (char *).
3716 * libc/argz/envz_get.c: Likewise.
3717 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
3718 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
3719 * libc/stdlib/getsubopt.3: New file.
3720 * libc/stdlib/getsubopt.c: New file.
3721 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
3722 Change esp to ebp.
3723
dee51391
JJ
37242002-07-17 Jeff Johnston <jjohnstn@redhat.com>
3725
3726 * configure.host(stdio64_dir): New setting that is used to
3727 enable building of new stdio64 directory.
3728 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
3729 large files.
3730 (stmp-stdio64,stdio64.texi): New targets to optionally add in
3731 stdio64 info to info files.
3732 * libc/Makefile.in: Regenerated.
3733 * libc/configure: Ditto.
3734 * libc/configure.in: Add configuration variables that are set
3735 when stdio64 is selected as subdir in configure.host.
3736 * libc/libc.texinfo: Add optional menu item for Stdio64, based
3737 on whether STDIO64 flag is set or not.
3738 * libc/sys.tex: Add optional stdio64 syscalls based on whether
3739 STDIO64 flag is set or not.
3740 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
3741 _r sycall routines.
3742 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
3743 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
3744 (__SL64): New file flag indicating file is opened via fopen64.
3745 * libc/include/sys/_types.h(_off64_t): Added.
3746 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
3747 * libc/include/sys/reent.h(struct __sFILE64): New file structure
3748 for 64-bit offset large file support.
3749 (__FILE): New intermediate type either set to struct __sFILE64 or
3750 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
3751 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
3752 * libc/reent/Makefile.in: Regenerated.
3753 * libc/reent/fstat64r.c: New file.
3754 * libc/reent/lseek64r.c: Ditto.
3755 * libc/reent/open64r.c: Ditto.
3756 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
3757 based on whether STDIO64 flag is set.
3758 * libc/stdio/stdio.tex: Add blank line.
3759 * libc/stdio64/Makefile.am: New file.
3760 * libc/stdio64/Makefile.in: Ditto.
3761 * libc/stdio64/fgetpos64.c: Ditto.
3762 * libc/stdio64/fopen64.: Ditto.
3763 * libc/stdio64/freopen64.c: Ditto.
3764 * libc/stdio64/fseeko64.c: Ditto.
3765 * libc/stdio64/fsetpos64.c: Ditto.
3766 * libc/stdio64/ftello64.c: Ditto.
3767 * libc/stdio64/local64.h: Ditto.
3768 * libc/stdio64/stdio64.c: Ditto.
3769 * libc/stdio64/stdio64.tex: Ditto.
3770 * libc/stdio64/tmpfile64.c: Ditto.
3771 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
3772 open64.
3773
778876f6
JJ
37742002-07-16 Jeff Johnston <jjohnstn@redhat.com>
3775
3776 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
3777 if LIBC_EXTRA_LIB is present.
3778 * libc/Makefile.in: Regenerated.
3779 * libc/libc.texinfo: Add blank line.
3780 * libc/argz/Makefile.am: Add doc support.
3781 * libc/search/Makefile.am: Ditto.
3782 * libc/argz/Makefile.in: Regenerated.
3783 * libc/search/Makefile.in: Ditto.
3784 * libc/misc/misc.tex: Add ffs function.
3785 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
3786
37981145
JJ
37872002-07-15 Jeff Johnston <jjohnstn@redhat.com>
3788
3789 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
3790 definition that was removed in error.
3791
38b5dc59
JJ
37922002-07-15 Jeff Johnston <jjohnstn@redhat.com>
3793
3794 * libc/include/machine/ieeefp.h: Change to only define
3795 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
3796 __IEEE_LITTLE_ENDIAN must be defined for each platform).
3797 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
3798 remove redundant floating point definitions.
3799
8cb61a96
JJ
38002002-07-15 Jeff Johnston <jjohnstn@redhat.com>
3801
3802 * libc/sys/linux/callocr.c: Fix so code references
3803 calloc.
3804
edba3282
JJ
38052002-07-15 Jeff Johnston <jjohnstn@redhat.com>
3806
3807 * libc/sys/linux/Makefile.am: Add new files.
3808 * libc/sys/linux/Makefile.in: Regenerated.
3809 * libc/sys/linux/bp-sym.h: Moved to include directory.
3810 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
3811 * libc/sys/linux/inode.c: Set _LIBC to 1.
3812 * libc/sys/linux/mq_close.c: Ditto.
3813 * libc/sys/linux/mq_getattr.c: Ditto.
3814 * libc/sys/linux/mq_open.c: Ditto.
3815 * libc/sys/linux/mq_receive.c: Ditto.
3816 * libc/sys/linux/mq_send.c: Ditto.
3817 * libc/sys/linux/mq_setattr.c: Ditto.
3818 * libc/sys/linux/mq_unlink.c: Ditto.
3819 * libc/sys/linux/calloc.c: New file.
3820 * libc/sys/linux/callocr.c: Ditto.
3821 * libc/sys/linux/cfreer.c: Ditto.
3822 * libc/sys/linux/config.h: Ditto.
3823 * libc/sys/linux/free.c: Ditto.
3824 * libc/sys/linux/freer.c: Ditto.
3825 * libc/sys/linux/msize.c: Ditto.
3826 * libc/sys/linux/msizer.c: Ditto.
3827 * libc/sys/linux/mstats.c: Ditto.
3828 * libc/sys/linux/mtrim.c: Ditto.
3829 * libc/sys/linux/mtrimr.c: Ditto.
3830 * libc/sys/linux/pvallocr.c: Ditto.
3831 * libc/sys/linux/realloc.c: Ditto.
3832 * libc/sys/linux/reallocr.c: Ditto.
3833 * libc/sys/linux/thread-m.h: Ditto.
3834 * libc/sys/linux/vallocr.c: Ditto.
3835 * libc/sys/linux/bp-checks.h: Ditto.
3836 * libc/sys/linux/libc-symbols.h: Ditto.
3837 * libc/sys/linux/libc-tsd.h: Ditto.
3838 * libc/sys/linux/libintl.h: Ditto.
3839 * libc/sys/linux/malign.c: Ditto.
3840 * libc/sys/linux/malignr.c: Ditto.
3841 * libc/sys/linux/mallinfor.c: Ditto.
3842 * libc/sys/linux/malloc.c: Ditto.
3843 * libc/sys/linux/mallocr.c: Ditto.
3844 * libc/sys/linux/malloptr.c: Ditto.
3845 * libc/sys/linux/mallstatsr.c: Ditto.
3846 * libc/sys/linux/mcheck.c: Ditto.
3847 * libc/sys/linux/mhooks.h: Ditto.
3848 * libc/sys/linux/include/bp-sym.h: Ditto.
3849 * libc/sys/linux/include/malloc.h: Ditto.
3850 * libc/sys/linux/include/mcheck.h: Ditto.
3851 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
3852 getpagesize.c.
3853 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
3854 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
3855 * libc/sys/linux/machine/i386/getpagesize.c: New file.
3856 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
3857 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
3858 * libc/sys/linux/machine/i386/sysdep.h: New file.
3859 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
3860 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
3861 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
3862
ea20b60a
JJ
38632002-07-12 Jeff Johnston <jjohnstn@redhat.com>
3864
3865 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
3866 instead of <asm/siginfo.h>.
3867 * libc/sys/linux/sys/signal.h: Change to include various linux
3868 <bits/xxx.h> header files, rather than <linux/signal.h> so as
3869 to work with multiple releases of glibc header files.
3870
2fc82912
JJ
38712002-07-11 Chris Demetriou <cgd@broadcom.com>
3872
3873 * testsuite/newlib.search/hsearchtest.c: New file to test
3874 newlib/libc/search.
3875 * testsuite/newlib.search/hsearchtest.exp: Likewise.
3876
4a404e97 38772002-07-10 Florian Schrack <florian.schrack@freenet.de>
2a8b4ea3
JJ
3878
3879 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
3880 a terminal.
3881 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
3882
6aec558e
JJ
38832002-07-08 Jeff Johnston <jjohnstn@redhat.com>
3884
3885 * libc/include/math.h (MAXFLOAT): Added.
3886
e47e6f0e 3887Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
a31df303
JR
3888
3889 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
3890 Make strcmp.S unconditional.
3891 * libc/machine/sh/Makefile.in: Regenerate.
3892 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
3893 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
3894 for SHcompact.
3895
89ffbd66
JJ
38962002-07-04 Jeff Johnston <jjohnstn@redhat.com>
3897
3898 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
3899 define before including <sys/lock.h>.
3900
ae6c4c84
JJ
39012002-07-04 Jeff Johnston <jjohnstn@redhat.com>
3902
3903 * libc/include/utime.h: Add include of <_ansi.h>.
3904 * libc/sys/linux/Makefile.am: Add utimes.c.
3905 * libc/sys/linux/Makefile.in: Regenerated.
3906 * libc/sys/linux/inode.c(__umask): New static routine.
3907 (umask): Written to use __umask and attempt to thread lock.
3908 (getumask): New function written to use __umask and thread lock.
3909 * libc/sys/linux/utimes.c: New file.
3910 * libc/sys/linux/sys/time.h: Fix utimes prototype.
3911 * libc/sys/linux/sys/utime.h: New file.
3912
a6cac46c
TF
39132002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
3914
3915 * libtool.m4: New file.
3916 * libc/sys/linux/process.c: Implement vfork in terms of fork,
3917 rather than as a syscall.
3918
30b2092f
JJ
39192002-07-04 Jeff Johnston <jjohnstn@redhat.com>
3920
3921 * libc/include/stdio.h: Add new prototypes.
3922 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
3923 * libc/stdio/Makefile.in: Regenerated.
3924 * libc/stdio/fseek.c: Add fseeko documentation.
3925 * libc/stdio/ftell.c: Add ftello documentation.
3926 * libc/stdio/fseeko.c: New file.
3927 * libc/stdio/ftello.c: New file.
3928
7501704d
JJ
39292002-07-04 Jeff Johnston <jjohnstn@redhat.com>
3930
3931 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
3932 * libc/stdio/Makefile.in: Regenerated.
3933 * libc/stdio/asprintf.c: New file.
3934 * libc/stdio/vasprintf.c: Ditto.
3935 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
3936 the buffer for asprintf support.
3937 * libc/stdio/sprintf.c: Add asprintf documentation.
3938 * libc/stdio/vfprintf.c: Add vasprintf documentation.
3939 * libc/include/stdio.h: Add new prototypes.
3940
66eee32b
TF
39412002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
3942
3943 * libc/search/hcreate.c: Remove advertising clause from license.
3944 * libc/search/hcreate_r.c: Likewise.
3945
cec4a9f8
JJ
39462002-07-02 Chris Demetriou <cgd@broadcom.com>
3947
3948 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
3949 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
3950 Check that one of them is defined and error out if not.
3951 Add any platforms defined in <machine/ieeefp.h> that are missing.
3952 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
3953 (DB_LITTLE_ENDIAN): New defines.
3954 * libc/search/hash.c: Replace all incorrect checks for
3955 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
3956 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
3957 * libc/search/hash_page.c: Likewise.
3958
2d5eb17e
TF
39592002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
3960
3961 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
3962
c1a3171f
JJ
39632002-06-27 Benjamin Kosnik <bkoz@redhat.com>
3964
3965 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
3966 * libc/include/time.h: Same.
3967 * libc/include/string.h: Same.
3968 * libc/include/stdlib.h: Same.
3969 * libc/include/signal.h: Same.
3970 * libc/include/setjmp.h: Same.
3971 * libc/include/math.h: Same.
3972 * libc/include/locale.h: Same.
3973 * libc/include/ctype.h: Same.
3974 * libc/include/machine/setjmp.h: Same.
3975 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
3976 (_END_STD_C): Add.
3977
533b4e66
JJ
39782002-06-27 Jeff Johnston <jjohnstn@redhat.com>
3979
3980 * libc/include/sys/_types.h: Define _ssize_t as int if int is
3981 32-bits, otherwise define it as long.
3982 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
3983 and define ssize_t as _ssize_t.
3984 * libc/reent/readr.c: Change return type to _ssize_t.
3985 * libc/reent/writer.c: Ditto.
3986 * libc/sys/linux/Makefile.am: Add aio.c.
3987 * libc/sys/linux/Makefile.in: Regenerated.
3988 * libc/sys/linux/aio.c: New file.
3989 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
3990 * libm/common/fdlibm.h: Undef __P before defining it.
3991
c36e6dd7
TF
39922002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
3993
54be629f
TF
3994 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
3995 exponent_is_even_int variable. Handle case where x is
3996 negative, and y is an odd integer.
3997 * libm/mathfp/sf_pow.c (powf): Likewise.
3998
c36e6dd7
TF
3999 * libm/mathfp/er_lgamma.c: Remove __kernel references.
4000 * libm/mathfp/erf_lgamma.c: Likewise.
4001 * libm/mathfp/s_tgamma.c: Likewise.
4002 * libm/mathfp/sf_tgamma.c: Likewise.
4003
baf051ca
JJ
40042002-06-27 Jeff Johnston <jjohnstn@redhat.com>
4005
4006 * libc/sys/linux/Makefile.am: Add new clock routines.
4007 * libc/sys/linux/Makefile.in: Regenerated.
4008 * libc/sys/linux/clock_getres.c: New file.
4009 * libc/sys/linux/clock_gettime.c: Ditto.
4010 * libc/sys/linux/clock_settime.c: Ditto.
4011 * libc/sys/linux/hp-timing.h: Ditto.
4012 * libc/sys/linux/libc-internal.h: Ditto.
4013 * libc/sys/linux/sysconf.c: Fix typo.
4014 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
4015 * libc/sys/linux/machine/hp-timing.h: New file.
4016 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
4017 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
4018 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
4019 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
4020 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
4021 * libc/sys/linux/sys/linux_time.h: New file.
4022 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
4023 replace with <sys/linux_time.h>.
4024
0431ed4e
JR
4025Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
4026
4027 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
4028
fc067ba5
JJ
40292002-06-25 Jeff Johnston <jjohnstn@redhat.com>
4030
4031 * libc/sys/linux/Makefile.am: Consolidate additional items under
4032 ADD_OBJS.
4033 * libc/sys/linux/Makefile.in: Regenerated.
4034
ffddf61e
JJ
40352002-06-25 Jeff Johnston <jjohnstn@redhat.com>
4036
4037 * libc/sys/linux/sethostname.c: New file.
4038 * libc/sys/linux/Makefile.am: Add sethostname.c support.
4039 * libc/sys/linux/Makefile.in: Regenerated.
4040
d5487d3f
TF
40412002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
4042
4043 * libc/search/db_local.h: New file.
4044 * libc/include/db.h: Remove.
4045 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
4046 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
4047 "db_local.h".
4048 * libc/search/hash_bigkey.c: Likewise.
4049 * libc/search/hash_buf.c: Likewise.
4050 * libc/search/hash_func.c: Likewise.
4051 * libc/search/hash_log2.c: Likewise.
4052 * libc/search/hash_page.c: Likewise.
4053
40542002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
e08a6118 4055
1e7ca711 4056 * libc/machine/sh/strlen.S: New file.
e08a6118
JR
4057 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
4058 * libc/machine/sh/Makefile.am: Regenerate.
4059
59c6d6c4
JJ
40602002-06-24 Jeff Johnston <jjohnstn@redhat.com>
4061
4062 * libc/sys/linux/gethostname.c: Change name to __gethostname and
4063 add gethostname alias.
4064
a70486d7
JJ
40652002-06-24 Jeff Johnston <jjohnstn@redhat.com>
4066
4067 * libc/include/math.h: Remove <sys/types.h>.
a5dadf33 4068 (__dmath): Use __ULong instead of __uint32_t.
a70486d7 4069 * libc/include/sys/reent.h: If long or int is not 32-bits,
a5dadf33 4070 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
a70486d7
JJ
4071 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
4072 * libm/common/fdlibm.h: Ditto.
4073
3118725a
TF
40742002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
4075
4076 * libc/include/ndbm.h: Remove.
4077 * libc/search/ndbm.c: Remove.
4078
30a06168
TF
40792002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
4080
4081 * libc/stdio/fseek.c (fseek): Fix braces.
4082
01f5155e
CV
40832002-06-21 Corinna Vinschen <corinna@vinschen.de>
4084
4085 * libc/time/strftime.c (strftime): Add %e format specifier.
4086
930bc96b
TF
40872002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4088
4089 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
4090 previously defined.
4091
55105f86
JJ
40922002-06-21 Richard Earnshaw (rearnsha@arm.com)
4093
4094 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
4095 (BYTE_ORDER): Define as appropriate for the target.
4096
2e78444a
JJ
40972002-06-21 Jeff Johnston <jjohnstn@redhat.com>
4098
4099 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
4100 to _ssize_t.
4101 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
4102
d427d092
JJ
41032002-06-21 Jeff Johnston <jjohnstn@redhat.com>
4104
4105 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
4106 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
4107 [HAVE_GETDATE](getdate_err): New error code.
4108 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
4109 * libc/stdio/Makefile.in: Regenerated.
4110 * libc/stdio/getdelim.c: New file.
4111 * libc/stdio/getline.c: Ditto.
4112 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
4113 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
4114 * libc/sys/linux/Makefile.in: Regenerated.
4115 * libc/sys/linux/getdate.c: New file.
4116 * libc/sys/linux/getdate_err.c: Ditto.
4117 * libc/sys/linux/ntp_gettime.c: Ditto.
4118 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
4119 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
4120
35728d4f
JJ
41212002-06-21 Jeff Johnston <jjohnstn@redhat.com>
4122
4123 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
4124 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
4125 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
4126 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
4127 * libc/include/sys/param.h: Remove i386 case which is handled
4128 by default case.
4129 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
4130 definitions in case they are already defined.
4131 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
4132 _IEEE_LITTLE_ENDIAN flags.
4133 * libc/include/sys/reent.h: Change __uint32_t references to
4134 use _ULong instead.
4135 (_REENT_GETDATE_REENT_P): New macro.
4136 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
4137 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
4138 * libc/search/hash.h: Add default setting of BYTE_ORDER,
4139 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
4140 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
4141 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
4142 pid_t, off_t, loff_t, caddr_t, and daddr_t type
4143 definitions which are done by subsequent glibc headers.
4144 Add macro definitions to prevent subsequent header files from
4145 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
4146 intptr_t to after glibc definitions of types they are based on.
4147
4a2bfab7
JJ
41482002-06-21 Jeff Johnston <jjohnstn@redhat.com>
4149
4150 * libc/include/errno.h: Protect from multiple inclusion.
4151
f42d18ea
NC
41522002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
4153
4154 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
4155
a7b23a8f
TF
41562002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
4157
4158 * Makefile.am (LIB_OBJECTLISTS): Add
4159 libc/search/objectlist.awk.in.
4160 * libc/Makefile.am (SUBDIRS): Add search.
4161 (SUBLIBS): Add search/libsearch.la.
4162 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
4163 * libc/search: New directory.
4164 * libc/search/Makefile.am: New file.
4165 * libc/search/extern.h: New file.
4166 * libc/search/hash.c: New file.
4167 * libc/search/hash.h: New file.
4168 * libc/search/hash_bigkey.c: New file.
4169 * libc/search/hash_buf.c: New file.
4170 * libc/search/hash_func.c: New file.
4171 * libc/search/hash_log2.c: New file.
4172 * libc/search/hash_page.c: New file.
4173 * libc/search/hcreate.3: New file.
4174 * libc/search/hcreate.c: New file.
a7b23a8f
TF
4175 * libc/search/hcreate_r.c: New file.
4176 * libc/search/ndbm.c: New file.
4177 * libc/search/page.h: New file.
4178 * libc/search/tdelete.c: New file.
4179 * libc/search/tdestroy.c: New file.
4180 * libc/search/tfind.c: New file.
4181 * libc/search/tsearch.3: New file.
4182 * libc/search/tsearch.c: New file.
4183 * libc/search/twalk.c: New file.
4184 * libc/include/db.h: New file.
4185 * libc/include/ndbm.h: New file.
4186 * libc/include/search.h: New file.
4187 * libc/include/sys/queue.h: New file.
4188 * libc/include/sys/cdefs.h: New file.
4189 * libc/include/sys/param.h
4190 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
4191 LITTLE_ENDIAN or BIG_ENDIAN.
4192 * libc/include/sys/errno.h (EFTYPE): New macro.
4193 * libc/search/bsearch.c: Move from libc/stdlib.
4194 * libc/search/qsort.c: Likewise.
4195 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
4196 qsort.c.
4197 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
4198 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
4199
ef467338
JJ
42002002-06-19 Jeff Johnston <jjohnstn@redhat.com>
4201
4202 * libc/sys/linux/Makefile.am: Add support for message queue routines,
4203 ipc routines, and ftok.
4204 * libc/sys/linux/Makefile.in: Regenerated.
4205 * libc/sys/linux/ftok.c: New file.
4206 * libc/sys/linux/ipc.c: Ditto.
4207 * libc/sys/linux/mq_close.c: Ditto.
4208 * libc/sys/linux/mq_getattr.c: Ditto.
4209 * libc/sys/linux/mq_notify.c: Ditto.
4210 * libc/sys/linux/mq_open.c: Ditto.
4211 * libc/sys/linux/mq_receive.c: Ditto.
4212 * libc/sys/linux/mq_send.c: Ditto.
4213 * libc/sys/linux/mq_setattr.c: Ditto.
4214 * libc/sys/linux/mq_unlink.c: Ditto.
4215 * libc/sys/linux/mqlocal.h: Ditto.
4216 * libc/sys/linux/include/mqueue.h: Ditto.
4217 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
4218 __uid_t_defined.
4219
7f55c08c
TF
42202002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
4221
4222 * libm/common/sf_lround.c (round): Change name to: (lround).
4223 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
4224 remquof.
4225
c9ca68d7
TF
42262002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
4227
4228 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
4229 procedure.
4230 (newlib_pass_fail): Change to compile and run only one file.
4231 * testsuite/newlib.locale/locale.exp: Use new
4232 newlib_pass_fail_all procedure.
4233 * testsuite/newlib.string/string.exp: Likewise.
4234
4ecedd09
DB
42352002-06-18 Dave Brolley <brolley@redhat.com>
4236
4237 From Catherine Moore, Michael Meissner, Richard Sandiford:
4238 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
4239 (_JBTYPE): Ditto.
4240 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
4241 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
4242 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
4243 * configure.host: Support frv-*-*.
4244 * libc/machine/frv/Makefile.am: New file.
4245 * libc/machine/frv/configure.in: New file.
4246 * libc/machine/frv/setjmp.S: New file.
4247
af1c257a
TF
42482002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
4249
4250 * libc/include/ctype.h: Remove isblank macro.
4251
4252 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
4253 * libc/ctype/isblank.c: New file.
4254 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
4255 declaration. Add isblank macro.
4256
4e04fa90
JJ
42572002-06-18 Jeff Johnston <jjohnstn@redhat.com>
4258
4259 * testsuite/newlib.stdlib/atexit.c: New file.
4260 * testsuite/newlib.stdlib/atexit.exp: Ditto.
4261 * testsuite/newlib.string/tstring.c: Change default start size
4262 to something more reasonable for embedded platforms.
4263
b56d7e79
TF
42642002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
4265
ece3c72f
TF
4266 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
4267
b56d7e79
TF
4268 * libc/argz: New directory.
4269 * libc/argz/*: New files.
4270 * libc/argz/argz_add.c: New file.
4271 * libc/argz/argz_add_sep.c: New file.
4272 * libc/argz/argz_append.c: New file.
4273 * libc/argz/argz_count.c: New file.
4274 * libc/argz/argz_create.c: New file.
4275 * libc/argz/argz_create_sep.c: New file.
4276 * libc/argz/argz_delete.c: New file.
4277 * libc/argz/argz_extract.c: New file.
4278 * libc/argz/argz_insert.c: New file.
4279 * libc/argz/argz_next.c: New file.
4280 * libc/argz/argz_replace.c: New file.
4281 * libc/argz/argz_stringify.c: New file.
4282 * libc/argz/buf_findstr.c: New file.
4283 * libc/argz/envz_add.c: New file.
4284 * libc/argz/envz_entry.c: New file.
4285 * libc/argz/envz_get.c: New file.
4286 * libc/argz/envz_merge.c: New file.
4287 * libc/argz/envz_remove.c: New file.
4288 * libc/argz/envz_strip.c: New file.
4289 * libc/include/argz.h: New file.
4290 * libc/include/envz.h: New file.
4291 * Makefile.am (LIBC_OBJECTLISTS): Add
4292 libc/argz/objectlist.awk.in.
4293 * libc/Makefile.am (SUBDIRS): Add argz.
4294 (SUBLIBS): Add argz/libargz.la.
4295 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
4296 * libc/include/errno.h: Add error_t typedef.
4297
d062d3dd
JJ
42982002-06-13 Jeff Johnston <jjohnstn@redhat.com>
4299
4300 * libc/include/stdlib.h: Add _Exit prototype.
4301 * libc/stdlib/Makefile.am: Add _Exit.c support.
4302 * libc/stdlib/Makefile.in: Ditto.
4303 * libc/stdlib/_Exit.c: New file.
4304
a47e66ae
JJ
43052002-06-13 Stephen L. Moshier <steve@moshier.net>
4306
4307 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
4308 x is close to -1.0 and y is very large to use ax (absolute value)
4309 instead of x.
4310 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
4311
13f7d71f
JR
4312Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
4313
4314 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
4315 Fix clobbering bytes before destination if src and dst have same
4316 non-zero misalignment.
1f1fb421
JR
4317
4318 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
4319 Fixed bug in writing end of set region.
4320
b2e8018f
CF
43212002-06-10 Christopher Faylor <cgf@redhat.com>
4322
4323 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
4324 spawnve declaration.
4325
0953fe64
TF
43262002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
4327
4328 * libm/common/s_fdim.c: New file.
4329 * libm/common/s_fma.c: Likewise.
4330 * libm/common/s_fmax.c: Likewise.
4331 * libm/common/s_fmin.c: Likewise.
4332 * libm/common/s_fpclassify.c: Likewise.
4333 * libm/common/s_lrint.c: Likewise.
4334 * libm/common/s_lround.c: Likewise.
4335 * libm/common/s_nearbyint.c: Likewise.
4336 * libm/common/s_remquo.c: Likewise.
4337 * libm/common/s_round.c: Likewise.
4338 * libm/common/s_scalbln.c: Likewise.
4339 * libm/common/s_signbit.c: Likewise.
4340 * libm/common/s_trunc.c: Likewise.
4341 * libm/common/sf_fdim.c: Likewise.
4342 * libm/common/sf_fma.c: Likewise.
4343 * libm/common/sf_fmax.c: Likewise.
4344 * libm/common/sf_fmin.c: Likewise.
4345 * libm/common/sf_lrint.c: Likewise.
4346 * libm/common/sf_lround.c: Likewise.
4347 * libm/common/sf_nearbyint.c: Likewise.
4348 * libm/common/sf_remquo.c: Likewise.
4349 * libm/common/sf_round.c: Likewise.
4350 * libm/common/sf_scalbln.c: Likewise.
4351 * libm/common/sf_trunc.c: Likewise.
4352 * libm/math/w_exp2.c: Likewise.
4353 * libm/math/w_tgamma.c: Likewise.
4354 * libm/math/wf_exp2.c: Likewise.
4355 * libm/math/wf_tgamma.c: Likewise.
4356 * libm/mathfp/s_exp2.c: Likewise.
4357 * libm/mathfp/s_tgamma.c: Likewise.
4358 * libm/mathfp/sf_exp2.c: Likewise.
4359 * libm/mathfp/sf_tgamma.c: Likewise.
4360 * libm/math/er_gamma.c: Fix return value.
4361 * libm/math/erf_gamma.c: Likewise.
4362 * libm/mathfp/er_gamma.c: Likewise.
4363 * libm/mathfp/erf_gamma.c: Likewise.
4364 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
4365 declarations and macros.
4366 Regenerated all Makefile.in, aclocal.m4 and configure files to
4367 use new libtool macros in top-level libtool.m4
4368
39e65e01
JJ
43692002-06-05 Jeff Johnston <jjohnstn@redhat.com>
4370
4371 * libc/include/string.h[__linux__]: Add strsignal prototype.
4372 * libc/include/sys/lock.h: New file with default locking support.
4373 * libc/include/sys/reent.h: Add signal buffer support for strsignal
4374 and psignal.
4375 * libc/posix/Makefile.am: Add support for readdir_r.c.
4376 * libc/posix/Makefile.in: Regenerated.
4377 * libc/posix/closedir.c: Add locking support and hash table cleanup.
4378 * libc/posix/opendir.c: Add lock support.
4379 * libc/posix/readdir.c: Ditto.
4380 * libc/posix/rewinddir.c: Ditto.
4381 * libc/posix/scandir.c: Ditto.
4382 * libc/posix/seekdir.c: Ditto.
4383 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
4384 clean up leftover hash table entries.
4385 * libc/posix/readdir_r.c: New file.
4386 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
4387 * libc/sys/linux/Makefile.in: Regenerated.
4388 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
4389 * libc/sys/linux/sys/signal.h: Add psignal prototype.
4390 * libc/sys/linux/psignal.c: New file.
4391 * libc/sys/linux/strsignal.c: Ditto.
4392
cc890e89
CV
43932002-06-03 Corinna Vinschen <corinna@vinschen.de>
4394
4395 * libc/include/sys/types.h: Don't define dev_t when compiling for
4396 Cygwin.
4397
ea55e3f7
JJ
43982002-05-31 Jeff Johnston <jjohnstn@redhat.com>
4399
4400 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
4401 make siglist.inc dependent on sig.c instead of signal.c.
4402 * libc/sys/linux/Makefile.in: Regenerated.
4403 * libc/sys/linux/sig.c: Rename from signal.c and change code to
4404 use NSIG instead of _NSIG.
4405 * libc/sys/linux/sigaction.c: New file.
4406 * libc/sys/linux/signal.c: Changed to be linux signal() function
4407 so as to override regular newlib default signal.c.
ea55e3f7
JJ
4408 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
4409 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
4410 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
4411 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
4412 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
4413 default linux sigset_t typedef by defining it equal to __sigset_t.
4414 * libc/unix/sigset.c: Add check so code isn't compiled on systems
4415 with a sigset_t that isn't implemented with a single int.
4416
9d362914
JJ
44172002-05-30 Jeff Johnston <jjohnstn@redhat.com>
4418
4419 * libc/sys/linux/Makefile.am: Add support for new files.
4420 * libc/sys/linux/Makefile.in: Regenerated.
4421 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
4422 * libc/sys/linux/signal.c: Change to use real-time syscalls for
4423 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
4424 it is in a separate file now.
4425 * libc/sys/linux/machine/i386/Makefile.am
4426 * libc/sys/linux/machine/i386/Makefile.in
4427 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
4428 * libc/sys/linux/sigaction.c: New file.
4429 * libc/sys/linux/sigqueue.c: Ditto.
4430 * libc/sys/linux/sigwait.c: Ditto.
4431 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
4432 * libc/sys/linux/kernel_sigaction.h: Ditto.
4433
b1f07180
JJ
44342002-05-28 Jeff Johnston <jjohnstn@redhat.com>
4435
4436 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
4437 tcsendbrk.c.
4438 * libc/sys/linux/Makefile.in: Regenerated.
4439 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
4440 tcgetpgrp(), and tcsetpgrp() functions.
4441 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
4442 to get __MAX_BAUD rate.
4443 * libc/sys/linux/machine/i386/include/termios.h: New file.
4444 * libc/include/machine/termios.h: Ditto.
4445 * libc/sys/linux/cfspeed.c: Ditto.
4446 * libc/sys/linux/tcsendbrk.c: Ditto.
4447
d29587b4
JJ
44482002-05-24 Jeff Johnston <jjohnstn@redhat.com>
4449
4450 * libc/include/string.h: Add strnlen and strerror_r prototypes.
4451 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
4452 * libc/string/Makefile.in: Regenerated.
4453 * libc/string/strerror_r.c: New file.
4454 * libc/string/strnlen.c: New file.
4455 * libc/sys/linux/Makefile.am: Add rename.c.
4456 * libc/sys/linux/Makefile.in: Regenerated.
4457 * libc/sys/linux/rename.c: New file to override default rename.
4458
9a292385
TF
44592002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
4460
4461 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
4462 * libc/sys/linux/sys/time.h: Add conversion macros.
4463 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
4464 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
4465 * libc/sys/linux/gethostname.c: New file.
4466 * libc/sys/linux/seteuid.c: New file.
4467 * libc/sys/linux/sysctl.c: New file.
4468
7a364eb3
JJ
44692002-05-23 Jeff Johnston <jjohnstn@redhat.com>
4470
4471 * libc/string/Makefile.am: Add support for strsep.c.
4472 * libc/string/Makefile.in: Regenerated.
4473 * libc/string/strsep.c: New file.
4474 * libc/string/strtok.c: Change to call __strtok_r service routine.
4475 * libc/string/strtok_r.c: Add __strtok_r routine which takes
4476 additional flag parameter regarding whether to skip leading delimeters.
4477 Change strtok_r to call __strtok_r.
4478
164ee5b0
JJ
44792002-05-23 Gareth Pearce <tilps@hotmail.com>
4480
4481 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
4482 * libc/stdio/Makefile.in: Regenerated.
4483 * libc/stdio/setbuffer.c: New file.
4484 * libc/stdio/setlinebuf.c: New file.
4485
f6b2b567
JJ
44862002-05-23 Jeff Johnston <jjohnstn@redhat.com>
4487
4488 * libc/sys/linux/Makefile.am: Add resource.c.
4489 * libc/sys/linux/Makefile.in: Regenerated.
4490 * libc/sys/linux/resource.c: New file.
4491 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
4492 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
4493 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
4494 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
4495 are now found in libc/sys/linux/resource.c.
4496
afe56517
JJ
44972002-05-23 Jeff Johnston <jjohnstn@redhat.com>
4498
4499 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
4500 to use void * pointers and comply with Single Unix spec.
4501 * libc/string/bcmp.c: Change to use void * instead of char *.
4502 * libc/string/bcopy.c: Ditto.
4503 * libc/string/bzero.c: Ditto.
4504
7736feb2
JJ
45052002-05-22 Jeff Johnston <jjohnstn@redhat.com>
4506
4507 * libc/sys/linux/shm_open.c: New file.
4508 * libc/sys/linux/shm_unlink.c: Ditto.
4509 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
4510 shm_unlink.c.
4511 * libc/sys/linux/Makefile.in: Regenerated.
4512 * libc/sys/linux/sys/types.h: Add some additional checks to see
4513 if clock_t or time_t is already defined.
4514
19f111bd
JJ
45152002-05-22 Jeff Johnston <jjohnstn@redhat.com>
4516
4517 * Makefile.am: Don't pass $toollibdir down directly in
4518 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
4519 Pass it under the name: top_toollibdir.
4520 * Makefile.in: Regenerated.
4521
c811b1ee
CV
45222002-05-22 Corinna Vinschen <vinschen@redhat.com>
4523
4524 * libc/include/sys/types.h: Revert previous patch.
4525
2b43ad33
CV
45262002-05-22 Corinna Vinschen <vinschen@redhat.com>
4527
4528 * libc/include/sys/types.h: Include cygwin/types.h always under
4529 Cygwin, not only if _POSIX_THREADS is defined.
4530
dd671cde
TF
45312002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
4532
4533 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
4534
5e2cbfb6
JJ
45352002-05-17 Jeff Johnston <jjohnstn@redhat.com>
4536
4537 * Makefile.am: Copy and install headers from sys/machine/include
4538 directory. Also pass $toollibdir to lower-level directories.
4539 * Makefile.in: Regenerated.
4540 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
4541 stderr to use _REENT macro instead of _impure_ptr directly.
4542 * libc/include/sys/config.h[__i386__][__linux__]: Define
4543 __DYNAMIC_REENT__.
4544 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
4545 call to __getreent() function if !__SINGLE_THREAD__ and
4546 __DYNAMIC_REENT__ is set.
4547 * libc/reent/Makefile.am: Add support for getreent.c.
4548 * libc/reent/Makefile.in: Regenerated.
4549 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
4550 * libc/sys/linux/Makefile.am: Add support for new files.
4551 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
4552 * libc/sys/linux/Makefile.in: Regenerated.
4553 * libc/sys/linux/configure: Ditto.
4554 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
4555 __close, __read, __write, __poll, __open, __lseek, __fcntl from
4556 their __libc_ counterparts.
4557 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
4558 and weak-alias to regular names.
4559 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
4560 to pread64 and __pread64.
4561 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
4562 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
4563 weak-alias to pwrite64.
4564 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
4565 __libc_sched_getscheduler, __libc_sched_get_priority_max,
4566 __libc_sched_get_priority_min, and __libc_sched_setschedule to
4567 name with __ instead of __libc_.
4568 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
4569 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
4570 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
4571 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
4572 to raise.
4573 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
4574 __libc_send to __send.
4575 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
4576 __gettimeofday.
4577 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
4578 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
4579 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
4580 type and typedef __jmp_buf to jmp_buf.
4581 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
4582 setjmp.S.
4583 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
4584 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
4585 section.
4586 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
4587 prefix for function macros and then use weak_alias() to regular names.
4588 * libc/sys/linux/machine/i386/syscall.h: Ditto.
4589 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
4590 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
4591 to be flockfile() and funlockfile() respectively.
4592 * libc/sys/linux/sys/types.h
4593 * libc/reent/getreent.c: New file.
4594 * libc/sys/linux/flockfile.c: Ditto.
4595 * libc/sys/linux/funlockfile.c: Ditto.
4596 * libc/sys/linux/getreent.c: Ditto.
4597 * libc/sys/linux/pread.c: Ditto.
4598 * libc/sys/linux/pwrite.c: Ditto.
4599 * libc/sys/linux/raise.c: Ditto.
4600 * libc/sys/linux/system.c: Ditto.
4601 * libc/sys/linux/tcdrain.c: Ditto.
4602 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
4603 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
4604 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
4605 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
4606 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
4607
7fc85bd1
TF
46082002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
4609
4610 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
4611 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
4612 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
4613 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
4614
6935231f 4615Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
d7a2f413
JR
4616
4617 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6935231f
JR
4618 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
4619 exit point.
d7a2f413 4620
3a6cb01b
TF
46212002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4622
a68fa571
TF
4623 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
4624 options when testing natively on i[3456]86-*-linux.
4625
3a6cb01b
TF
4626 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
4627 only one pass or fail per test file. Trim \r's from output
4628 values received from test programs. Remove support for named
4629 tests.
4630 * testsuite/newlib.locale/UTF-8.exp: Update to support new
4631 newlib_check_output behaviour.
4632 * testsuite/newlib.locale/UTF-8.c: Likewise.
4633
dc824ef7
JJ
46342002-05-15 Jeff Johnston <jjohnstn@redhat.com>
4635
4636 * libc/include/stdlib.h: Add on_exit prototype.
4637 * libc/include/sys/reent.h (struct _atexit): Add argument array
4638 and bits to track type of exit routine to support both on_exit
4639 and atexit.
4640 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
4641 by default and change the setting of the atexit structure.
4642 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
4643 * libc/stdlib/on_exit.c: New file.
4644 * libc/stdlib/Makefile.am: Add support for on_exit.
4645 * libc/stdlib/Makefile.in: Regenerated.
4646 * libc/stdlib/atexit.c: Change to initialize types field.
4647 * libc/stdlib/exit.c: Change to look at types field for each
4648 exit routine and either call an atexit-style or an on_exit-style
4649 routine accordingly.
4650
48d91b4a
JJ
46512002-05-13 Jeff Johnston <jjohnstn@redhat.com>
4652
4653 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
4654 allow v specifier with n or L specifiers. For vector c format,
4655 move tmp declaration to the top.
4656
024739eb
JJ
46572002-05-13 Jeff Johnston <jjohnstn@redhat.com>
4658
4659 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
4660 the original format specifier when looping for vectors to compensate
4661 for any changes made in vector %g format processing.
4662 Also add syntax checking for various invalid scenarios
4663 involving vector format extensions.
4664 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
4665 return code setting for vector formats. Also treat vector
4666 separator mismatch as a match error instead of an input error.
4667 Perform some syntax checking for vector formats.
4668
7d2ce898
TF
46692002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
4670
4671 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
4672 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
4673 * libc/string/strlcat.c: New file.
4674 * libc/string/strlcpy.c: New file.
4675
809b6ce7
JJ
46762002-05-10 Jeff Johnston <jjohnstn@redhat.com>
4677
4678 * libc/string/strchr.c: Fix comment typo.
4679
76490806
TF
46802002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
4681
0c048a9a
TF
4682 * acinclude.m4: Add support for --enable-newlib-multithread.
4683 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
4684 --enable-newlib-multithread=no.
4685
76490806
TF
4686 * libc/stdio/getc_u.c: New file.
4687 * libc/stdio/getchar_u.c: New file.
4688 * libc/stdio/putc_u.c: New file.
4689 * libc/stdio/putchar_u.c: New file.
4690 * libc/include/stdio.h: Add declarations for getc_unlocked,
4691 getchar_unlocked, putc_unlocked and putchar_unlocked.
4692 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
4693 (CHEWOUT_FILES): Add new files' .def's.
4694 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
4695
96bff22c
JR
4696Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
4697
4698 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
4699 Also handle as single quad word when destination ends at last
4700 byte of first quad word. Fix byte selection in single quad code.
4701
e71372fa
TF
47022002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
4703
4704 * libc/include/sys/stdio.h: New file.
4705 * libc/sys/linux/sys/stdio.h: New file.
4706 * libc/include/stdio.h: Add declarations for flockfile,
4707 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
4708 * libc/stdio/clearerr.c: Add file locking.
4709 * libc/stdio/fclose.c: Likewise.
4710 * libc/stdio/feof.c: Likewise.
4711 * libc/stdio/ferror.c: Likewise.
4712 * libc/stdio/fflush.c: Likewise.
4713 * libc/stdio/fgetc.c: Likewise.
4714 * libc/stdio/fgetpos.c: Likewise.
4715 * libc/stdio/fgets.c: Likewise.
4716 * libc/stdio/fileno.c: Likewise.
4717 * libc/stdio/fputc.c: Likewise.
4718 * libc/stdio/fputs.c: Likewise.
4719 * libc/stdio/fread.c: Likewise.
4720 * libc/stdio/freopen.c: Likewise.
4721 * libc/stdio/fseek.c: Likewise.
4722 * libc/stdio/ftell.c: Likewise.
4723 * libc/stdio/fwrite.c: Likewise.
4724 * libc/stdio/getc.c: Likewise.
4725 * libc/stdio/putc.c: Likewise.
4726 * libc/stdio/setvbuf.c: Likewise.
4727 * libc/stdio/ungetc.c: Likewise.
4728 * libc/stdio/vfprintf.c: Likewise.
4729
a03790e4
JJ
47302002-05-06 Jeff Johnston <jjohnstn@redhat.com>
4731
60b2107c
TF
4732 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
4733 support for 'p' format. Fix code to print bytes for vector
4734 integer formats that do not specify 'h' or 'l'.
4735 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
4736 for 'p' specifier. Fix code to scan 16 bytes for vector integer
4737 formats that do not specify 'h' or 'l'.
4738
4739 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
4740
9c7d6a9d
TF
47412002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
4742
4743 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
4744 (_sbrk): Add cast of return value.
4745
c33c3635
JJ
47462002-05-06 Jeff Johnston <jjohnstn@redhat.com>
4747
4748 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
4749 (_REENT_L64A_BUF): New macro for accessing area.
4750 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
4751 * libc/stdlib/Makefile.in: Regenerated.
4752 * libc/stdlib/a64l.c: New file.
4753 * libc/stdlib/l64a.c: New file.
4754
f78e59a8
JJ
47552002-05-06 Jeff Johnston <jjohnstn@redhat.com>
4756
4757 * libc/unix/pread.c: Fix typo for _pread_r.
4758 * libc/unix/pwrite.c: Fix type for _pwrite_r.
4759 * libc/sys/linux/pread64.c: Fix typo for read syscall.
4760 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
4761
4b3f6588
CF
47622002-05-03 Christopher Faylor <cgf@redhat.com>
4763
4764 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
4765
e911832c
TF
47662002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
4767
4768 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
4769
0d0fdc8d
CF
47702002-05-01 Christopher Faylor <cgf@redhat.com>
4771
4772 * utmp.h: Define more UNIX constants.
4773
1e997c56
TF
47742002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
4775
0717f01c
TF
4776 * Makefile.am: Add support for checking multilibs.
4777
09841445
TF
4778 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
4779 (SUBDEFS): Add LIBC_EXTRA_DEF.
4780 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
4781 (LIBC_EXTRA_DEF): Likewise.
4782 (extra_dir): Likewise.
4783 * libc/machine/xscale/machine: New directory.
4784 * libc/machine/xscale/machine/profile.h: New file.
4785
1e997c56
TF
4786 * Makefile.am (site.exp): Remove newlib_cflags. Add
4787 multibuildtop.
4788 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
4789 * testsuite/lib/flags.exp: New file.
4790 * testsuite/lib/newlib.exp: Load flags.exp.
4791 (newlib_target_compile): Remove libgloss directory references.
4792 (newlib_init): Remove newlib_cflags references.
4793
4cf4f010
TF
47942002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
4795
f6bdb6f9
TF
4796 * testsuite/lib/newlib.exp (newlib_target_compile): Change
4797 method of finding libgloss_target_dir.
4798
4cf4f010
TF
4799 * Makefile.am (site.exp): Change host_alias, host_triplet,
4800 target_alias, target_triplet to refer to gcc's host and target
4801 variables (newlib's build and host variables).
4802 * testsuite/lib/newlib.exp (newlib_init): Change build
4803 references to host references, host references to target
4804 references to reflect Makefile.am changes.
4805 (newlib_target_compile): Likewise.
4806 (newlib_finish): Likewise.
4807
83096ae8
JJ
48082002-04-29 Jeff Johnston <jjohnstn@redhat.com>
4809
4810 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
4811
822afa53
JL
48122002-04-29 Jonathan Larmour <jlarmour@redhat.com>
4813
4814 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
4815 (_system): New function. Ditto.
4816 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
4817 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
4818 targets.
4819
29798f0d
JJ
48202002-04-29 Jeff Johnston <jjohnstn@redhat.com>
4821
4822 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
4823 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
4824 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
4825 * libc/sys/linux/Makefile.in: Regenerated.
4826 * libc/unix/Makefile.in: Ditto.
4827 * libc/sys/linux/pread64.c: New file.
4828 * libc/sys/linux/pwrite64.c: Ditto.
4829 * libc/unix/pread.c: Ditto.
4830 * libc/unix/pwrite.c: Ditto.
4831
557856bd
JJ
48322002-04-26 Jeff Johnston <jjohnstn@redhat.com>
4833
4834 * libc/sys/linux/Makefile.am: Add io64.c.
4835 * libc/sys/linux/Makefile.in: Regenerated.
4836 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
4837 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
4838 * libc/sys/linux/io64.c: New file.
4839
7b2b12d5
JJ
48402002-04-26 Jeff Johnston <jjohnstn@redhat.com>
4841
4842 * configure.in (CC_FOR_NEWLIB): New variable that
4843 bases on $(CC) and adds targ-include and libc/include as
4844 -isystem directives if they are not already part of $(CC).
4845 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
4846 $(CC_FOR_NEWLIB).
4847 * configure: Regenerated.
4848 * Makefile.in: Ditto.
4849
c62adacc
JJ
48502002-04-25 Jeff Johnston <jjohnstn@redhat.com>
4851
4852 * libc/sys/linux/Makefile.am: Add support for sched.c.
4853 * libc/sys/linux/Makefile.in: Regenerated.
4854 * libc/sys/linux/sched.c: New file.
4855 * libc/sys/linux/sys/types.h: Add struct timespec.
4856
217ad4a0
TF
48572002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
4858
4859 * configure.in (CC_FOR_BUILD): Set to gcc whether
4860 cross-compiling or not.
4861 (CC): Add -isystem's for targ-include and libc/include when they
4862 do not already appear in CC.
4863
eaa75b70
TF
48642002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
4865
4866 * Makefile.am (check-DEJAGNU): New target.
4867 (site.exp): Likewise.
4868 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
4869 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
4870 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
4871 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
4872 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
4873 * testsuite: New directory.
4874 * testsuite/config: Likewise.
4875 * testsuite/lib: Likewise.
4876 * testsuite/newlib.locale: Likewise.
4877 * testsuite/newlib.string: Likewise.
4878 * testsuite/config/default.exp: New file.
4879 * testsuite/lib/checkoutput.exp: New file.
4880 * testsuite/lib/newlib.exp: New file.
4881 * testsuite/lib/passfail.exp: New file.
4882 * testsuite/newlib.locale/UTF-8.c: New file.
4883 * testsuite/newlib.locale/UTF-8.exp: New file.
4884 * testsuite/newlib.locale/locale.exp: New file.
4885 * testsuite/newlib.string/string.exp: New file.
4886 * testsuite/newlib.string/tstring.c: New file.
4887
b9f9f699
JJ
48882002-04-23 Jeff Johnston <jjohnstn@redhat.com>
4889
4890 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
4891 * libc/sys/linux/Makefile.am: Add support for mmap.c.
4892 * libc/sys/linux/Makefile.in: Regenerated.
4893 * libc/sys/linux/mmap.c: New file.
4894 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
4895 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
4896
7394edbb
TF
48972002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
4898
4899 * acinclude.m4 (newlib_cflags): Remove include directories that
4900 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
4901
b9f9f699 49022002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
59be2290
JJ
4903
4904 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
4905 * libc/machine/xscale/memcmp.c: Ditto.
4906 * libc/machine/xscale/memcpy.c: Ditto.
4907 * libc/machine/xscale/memmove.c: Ditto.
4908 * libc/machine/xscale/memset.c: Ditto.
4909 * libc/machine/xscale/strchr.c: Ditto.
4910 * libc/machine/xscale/strcmp.c: Ditto.
4911 * libc/machine/xscale/strcpy.c: Ditto.
4912 * libc/machine/xscale/strlen.c: Ditto.
4913
2dd4c4dc
JJ
49142002-04-19 Alexandre Oliva <aoliva@redhat.com>
4915
4916 * libc/include/sys/config.h: Remove include of <limits.h>.
4917 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
4918 define INT_MAX and LONG_MAX. Use them in tests.
4919
0d844014
JJ
49202002-04-19 Jeff Johnston <jjohnstn@redhat.com>
4921
4922 * configure.host: Add support for powerpc-eabialtivec*.
4923 * libc/include/malloc.h: Add include of <machine/malloc.h>.
4924 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
4925 * libc/include/machine/malloc.h: New file.
4926 * libc/include/machine/stdlib.h: Ditto.
4927 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
4928 * libc/machine/powerpc/Makefile.am: Add conditional objects and
4929 sources based on configuration.
4930 * libc/machine/powerpc/Makefile.in: Regenerated.
4931 * libc/machine/powerpc/configure: Ditto.
4932 * libc/machine/powerpc/configure.in: Add check for
4933 powerpc-eabialtivec* in which case add in additional source files.
4934 * libc/machine/powerpc/setjmp.S: Add altivec support.
4935 * libc/machine/powerpc/vec_calloc.c: New file.
4936 * libc/machine/powerpc/vec_free.c: Ditto.
4937 * libc/machine/powerpc/vec_malloc.c: Ditto.
4938 * libc/machine/powerpc/vec_mallocr.c: Ditto.
4939 * libc/machine/powerpc/vec_realloc.c: Ditto.
4940 * libc/machine/powerpc/machine/malloc.h: Ditto.
4941 * libc/machine/powerpc/machine/stdlib.h: Ditto.
4942 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
4943 with added altivec format specifiers.
4944 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
4945 added altivec format specifiers.
4946
d413aadc
JS
49472002-04-19 Joel Sherrill <joel@OARcorp.com>
4948
4949 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
4950 while autoconf is trying to link main(){}.
4951
27193895
JJ
49522002-04-17 Jeff Johnston <jjohnstn@redhat.com>
4953
4954 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
4955 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
4956
10d00216
JJ
49572002-04-17 Jeff Johnston <jjohnstn@redhat.com>
4958
6b0f808e
JJ
4959 * libc/time/time.tex: Add tzset info.
4960
49612002-04-17 Jeff Johnston <jjohnstn@redhat.com>
4962
4963 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
4964 (strptime): Moved prototype to be within !__STRICT_ANSI__.
4965 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
4966 (tzname): Defined for all platforms.
4967 (daylight, timezone): Defined only for CYGWIN.
4968 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
4969 environment set up.
4970 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
4971 environment variable is set.
4972 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
4973 tzset_r.c.
4974 * libc/time/Makefile.in: Regenerated.
4975 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
4976 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
4977 * libc/time/lcltime_r.c (lcltime_r): Ditto.
4978 * libc/time/local.h: New local header file.
4979 * libc/time/mktime.c (mktime): Add timezone support.
4980 * libc/time/mktm_r.c: New file which is the common engine
4981 for gmtime_r and lcltime_r. This code has timezone support.
4982 * libc/time/strftime.c (strftime): Add %Z timezone support.
4983 * libc/time/tzlock.c: New file containing timezone lock stubs.
4984 * libc/time/tzset.c: New file containing tzset() routine.
4985 * libc/time/tzset_r.c: New file containing _tzset_r and
4986 internal routine for calculating timezone changes for specified year.
4987
49882002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
4989
4990 * configure.in (CRT0_DIR): Set to libc/.
4991 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
4992 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
4993 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
4994 $(CRT1_DIR)/$(CRT1).
4995 * libc/machine/xstormy16/Makefile.in: Regenerated.
4996 * libc/machine/xstormy16/aclocal.m4: Regenerated.
4997 * libc/machine/xstormy16/configure: Regenerated.
4998
49992002-04-13 Alexandre Oliva <aoliva@redhat.com>
5000
5001 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
5002 fails, don't bail out, and try to correct next time.
5003
5004 * libc/include/sys/config.h: Include limits.h.
5005
50062002-04-12 Eric Norum <eric.norum@usask.com>
5007
5008 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
5009 routine to allow autoconf to determine that building executables
5010 for rtems works.
5011 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
5012 (rtems_gxx_mutex_once): Ditto.
5013
50142002-04-09 Tom Rix <trix@redhat.com>
5015
5016 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
5017
50182002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
5019
5020 * libc/include/time.h: Fix strptime declaration.
5021 * libc/time/Makefile.am: Add strptime.c.
5022 * libc/time/Makefile.in: Regenerated.
5023 * libc/time/strptime.c: New file.
5024
50252002-04-08 Jeff Johnston <jjohnstn@redhat.com>
5026
5027 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
5028 siglongjmp prototype, and sigsetjmp macro definition.
5029 * libc/sys/linux/siglongjmp.c: New file.
5030 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
5031 * libc/sys/linux/Makefile.in: Regenerated.
5032
50332002-04-04 Jeff Johnston <jjohnstn@redhat.com>
5034
5035 * Makefile.am: Add support for installing crt1.o if one exists.
5036 * configure.host: Specify crt1.o for linux.
5037 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
5038 * Makefile.in: Regenerated.
5039 * configure: Ditto.
5040 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
5041 Added for non-Cygwin, non-RTEMS configurations.
5042 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
5043 * libc/sys/linux/Makefile.in: Regenerated.
5044 * libc/sys/linux/crt1.c: New empty file to override one defaulted
5045 by gcc. This fixes problem with reconfiguring linux newlib build.
5046 * libc/sys/linux/sysconf.c: New file.
5047
50482002-04-03 Jeff Johnston <jjohnstn@redhat.com>
5049
5050 * configure.host: Add support for machine subdirectory of
5051 sys subdirectory.
5052 * configure.in: Add check for sys machine subdirectory.
5053 * Makefile.am: Ditto.
5054 * configure: Regenerated.
5055 * Makefile.in: Ditto.
5056 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
5057 * libc/sys/linux/sys/syscall.h: Ditto.
5058 * libc/sys/linux/sleep.c: New file.
5059 * libc/sys/linux/socket.c: Ditto.
5060 * libc/sys/linux/sockops.h: Ditto.
5061 * libc/sys/linux/stack.c: Ditto.
5062 * libc/sys/linux/usleep.c: Ditto.
5063 * libc/sys/linux/machine/Makefile.am: Ditto.
5064 * libc/sys/linux/machine/Makefile.in: Ditto.
5065 * libc/sys/linux/machine/aclocal.m4: Ditto.
5066 * libc/sys/linux/machine/configure: Ditto.
5067 * libc/sys/linux/machine/configure.in: Ditto.
5068 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
5069 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
5070 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
5071 * libc/sys/linux/machine/i386/configure: Ditto.
5072 * libc/sys/linux/machine/i386/configure.in: Ditto.
5073 * libc/sys/linux/machine/i386/crt0.c: Ditto.
5074 * libc/sys/linux/machine/i386/sigset.c: Ditto.
5075 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
5076 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
5077 * libc/sys/linux/machine/i386/syscall.h: Ditto.
5078 * libc/sys/linux/sys/select.h: Ditto.
5079 * libc/sys/linux/configure.in: Add support for machine directory.
5080 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
5081 * libc/sys/linux/Makefile.in: Regenerated.
5082 * libc/sys/linux/configure: Ditto.
5083 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
5084 * libc/sys/linux/inode.c: Ditto.
5085 * libc/sys/linux/linux.c: Ditto.
5086 * libc/sys/linux/process.c: Ditto.
5087 * libc/sys/linux/systat.c: Ditto.
5088 * libc/sys/linux/time.c: Ditto.
5089 * libc/sys/linux/wait.c: Ditto.
5090 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
5091 * libc/sys/linux/io.c: Change header plus add readv/writev.
5092 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
5093 use __sigsuspend syscall.
5094 * libc/sys/linux/select.c: Change header plus change select to
5095 use _newselect syscall.
5096 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
5097 used by glibc header files.
5098 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
5099 types.
5100
51012002-04-01 Jeff Johnston <jjohnstn@redhat.com>
5102
5103 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
5104 initializing a struct _reent that has been dynamically allocated.
5105 (_REENT_CHECK_MISC): New macro that checks _misc struct for
5106 _REENT_SMALL and does nothing otherwise.
5107 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
5108 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
5109 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
5110 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
5111 [_REENT_SMALL](struct _misc_reent): New structure containing
5112 miscellaneous reentrant areas needed by newlib.
5113 [_REENT_SMALL](struct _reent): Add _misc pointer.
5114 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
5115 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
5116 and _REENT_STRTOK_LAST macros.
5117 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
5118 and _REENT_MBLEN_STATE macros.
5119 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
5120 and _REENT_MBTOWC_STATE macros.
5121 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
5122 and _REENT_WCTOMB_STATE macros.
5123
51242002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
5125
5126 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
5127
5128Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
5129
5130 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
5131
5132Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
5133
5134 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
5135 Store high part of leading bytes too.
5136
51372002-03-22 Richard Sandiford <rsandifo@redhat.com>
5138
5139 * libm/math/ef_hypot.c: Increase scale factor to 68.
5140
51412002-03-13 Alexandre Oliva <aoliva@redhat.com>
5142
5143 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
5144 error.
5145
51462002-03-12 Jeff Johnston <jjohnstn@redhat.com>
5147
5148 * libc/sys/go32/access.c: Change license to relaxed license
5149 used in identical file throughout newlib/libgloss.
5150
51512002-03-12 Richard Earnshaw <rearnsha@arm.com>
5152
5153 * libc/sys/arm/access.c: New file.
5154 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
5155 * libc/sys/arm/Makefile.in: Regenerate.
5156 * libc/sys/arm/syscalls.c (_stat): New function.
5157
51582002-03-11 Michael Meissner <meissner@redhat.com>
5159
5160 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
5161 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
5162 * libc/machine/mips/Makefile.in: Regenerate.
5163 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
5164 * libc/machine/mips/memset.c: Dito.
5165 * libc/machine/mips/strcmp.c: Dito.
5166 * libc/machine/mips/strlen.c: Dito.
5167 * libc/machine/mips/strncmp.c: Dito.
5168
51692002-03-06 Jeff Johnston <jjohnstn@redhat.com>
5170
5171 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
5172 object so it works for shared library or statici library.
51732002-04-17 Jeff Johnston <jjohnstn@redhat.com>
5174
10d00216
JJ
5175 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
5176 (strptime): Moved prototype to be within !__STRICT_ANSI__.
5177 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
5178 (tzname): Defined for all platforms.
5179 (daylight, timezone): Defined only for CYGWIN.
5180 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
5181 environment set up.
5182 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
5183 environment variable is set.
5184 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
5185 tzset_r.c.
5186 * libc/time/Makefile.in: Regenerated.
5187 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
5188 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
5189 * libc/time/lcltime_r.c (lcltime_r): Ditto.
5190 * libc/time/local.h: New local header file.
5191 * libc/time/mktime.c (mktime): Add timezone support.
5192 * libc/time/mktm_r.c: New file which is the common engine
5193 for gmtime_r and lcltime_r. This code has timezone support.
5194 * libc/time/strftime.c (strftime): Add %Z timezone support.
5195 * libc/time/tzlock.c: New file containing timezone lock stubs.
5196 * libc/time/tzset.c: New file containing tzset() routine.
5197 * libc/time/tzset_r.c: New file containing _tzset_r and
5198 internal routine for calculating timezone changes for specified year.
5199
5f1c13c6
TF
52002002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
5201
5202 * configure.in (CRT0_DIR): Set to libc/.
5203 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
5204 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
5205 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
5206 $(CRT1_DIR)/$(CRT1).
5207 * libc/machine/xstormy16/Makefile.in: Regenerated.
5208 * libc/machine/xstormy16/aclocal.m4: Regenerated.
5209 * libc/machine/xstormy16/configure: Regenerated.
5210
0cc261b1
AO
52112002-04-13 Alexandre Oliva <aoliva@redhat.com>
5212
2f3009bd
AO
5213 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
5214 fails, don't bail out, and try to correct next time.
5215
0cc261b1
AO
5216 * libc/include/sys/config.h: Include limits.h.
5217
26116455
JJ
52182002-04-12 Eric Norum <eric.norum@usask.com>
5219
5220 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
5221 routine to allow autoconf to determine that building executables
5222 for rtems works.
5223 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
5224 (rtems_gxx_mutex_once): Ditto.
5225
4608280d
TR
52262002-04-09 Tom Rix <trix@redhat.com>
5227
5228 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
5229
dea7e25c
JJ
52302002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
5231
5232 * libc/include/time.h: Fix strptime declaration.
5233 * libc/time/Makefile.am: Add strptime.c.
5234 * libc/time/Makefile.in: Regenerated.
5235 * libc/time/strptime.c: New file.
5236
c5ef1e95
JJ
52372002-04-08 Jeff Johnston <jjohnstn@redhat.com>
5238
5239 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
5240 siglongjmp prototype, and sigsetjmp macro definition.
5241 * libc/sys/linux/siglongjmp.c: New file.
5242 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
5243 * libc/sys/linux/Makefile.in: Regenerated.
5244
6e6cd5bd
JJ
52452002-04-04 Jeff Johnston <jjohnstn@redhat.com>
5246
5247 * Makefile.am: Add support for installing crt1.o if one exists.
5248 * configure.host: Specify crt1.o for linux.
5249 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
5250 * Makefile.in: Regenerated.
5251 * configure: Ditto.
5252 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
5253 Added for non-Cygwin, non-RTEMS configurations.
5254 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
5255 * libc/sys/linux/Makefile.in: Regenerated.
5256 * libc/sys/linux/crt1.c: New empty file to override one defaulted
5257 by gcc. This fixes problem with reconfiguring linux newlib build.
5258 * libc/sys/linux/sysconf.c: New file.
5259
fa4a16a1
JJ
52602002-04-03 Jeff Johnston <jjohnstn@redhat.com>
5261
5262 * configure.host: Add support for machine subdirectory of
5263 sys subdirectory.
5264 * configure.in: Add check for sys machine subdirectory.
5265 * Makefile.am: Ditto.
5266 * configure: Regenerated.
5267 * Makefile.in: Ditto.
5268 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
5269 * libc/sys/linux/sys/syscall.h: Ditto.
5270 * libc/sys/linux/sleep.c: New file.
5271 * libc/sys/linux/socket.c: Ditto.
5272 * libc/sys/linux/sockops.h: Ditto.
5273 * libc/sys/linux/stack.c: Ditto.
5274 * libc/sys/linux/usleep.c: Ditto.
5275 * libc/sys/linux/machine/Makefile.am: Ditto.
5276 * libc/sys/linux/machine/Makefile.in: Ditto.
5277 * libc/sys/linux/machine/aclocal.m4: Ditto.
5278 * libc/sys/linux/machine/configure: Ditto.
5279 * libc/sys/linux/machine/configure.in: Ditto.
5280 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
5281 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
5282 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
5283 * libc/sys/linux/machine/i386/configure: Ditto.
5284 * libc/sys/linux/machine/i386/configure.in: Ditto.
5285 * libc/sys/linux/machine/i386/crt0.c: Ditto.
5286 * libc/sys/linux/machine/i386/sigset.c: Ditto.
5287 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
5288 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
5289 * libc/sys/linux/machine/i386/syscall.h: Ditto.
5290 * libc/sys/linux/sys/select.h: Ditto.
5291 * libc/sys/linux/configure.in: Add support for machine directory.
5292 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
5293 * libc/sys/linux/Makefile.in: Regenerated.
5294 * libc/sys/linux/configure: Ditto.
5295 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
5296 * libc/sys/linux/inode.c: Ditto.
5297 * libc/sys/linux/linux.c: Ditto.
5298 * libc/sys/linux/process.c: Ditto.
5299 * libc/sys/linux/systat.c: Ditto.
5300 * libc/sys/linux/time.c: Ditto.
5301 * libc/sys/linux/wait.c: Ditto.
5302 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
5303 * libc/sys/linux/io.c: Change header plus add readv/writev.
5304 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
5305 use __sigsuspend syscall.
5306 * libc/sys/linux/select.c: Change header plus change select to
5307 use _newselect syscall.
5308 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
5309 used by glibc header files.
5310 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
5311 types.
5312
d4dca0e4
JJ
53132002-04-01 Jeff Johnston <jjohnstn@redhat.com>
5314
5315 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
5316 initializing a struct _reent that has been dynamically allocated.
5317 (_REENT_CHECK_MISC): New macro that checks _misc struct for
5318 _REENT_SMALL and does nothing otherwise.
5319 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
5320 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
5321 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
5322 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
5323 [_REENT_SMALL](struct _misc_reent): New structure containing
5324 miscellaneous reentrant areas needed by newlib.
5325 [_REENT_SMALL](struct _reent): Add _misc pointer.
5326 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
5327 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
5328 and _REENT_STRTOK_LAST macros.
5329 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
5330 and _REENT_MBLEN_STATE macros.
5331 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
5332 and _REENT_MBTOWC_STATE macros.
5333 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
5334 and _REENT_WCTOMB_STATE macros.
5335
54a7c6d2
JJ
53362002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
5337
5338 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
5339
c82479b1
CF
5340Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
5341
5342 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
5343
43ecf6e8
JR
5344Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
5345
5346 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
5347 Store high part of leading bytes too.
5348
a485d93f
RS
53492002-03-22 Richard Sandiford <rsandifo@redhat.com>
5350
5351 * libm/math/ef_hypot.c: Increase scale factor to 68.
5352
62a963ee
AO
53532002-03-13 Alexandre Oliva <aoliva@redhat.com>
5354
5355 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
5356 error.
5357
c53d8453
JJ
53582002-03-12 Jeff Johnston <jjohnstn@redhat.com>
5359
5360 * libc/sys/go32/access.c: Change license to relaxed license
5361 used in identical file throughout newlib/libgloss.
5362
d2a246ad
JJ
53632002-03-12 Richard Earnshaw <rearnsha@arm.com>
5364
5365 * libc/sys/arm/access.c: New file.
5366 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
5367 * libc/sys/arm/Makefile.in: Regenerate.
5368 * libc/sys/arm/syscalls.c (_stat): New function.
5369
eabb48d5
MM
53702002-03-11 Michael Meissner <meissner@redhat.com>
5371
5372 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
5373 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
5374 * libc/machine/mips/Makefile.in: Regenerate.
5375 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
5376 * libc/machine/mips/memset.c: Dito.
5377 * libc/machine/mips/strcmp.c: Dito.
5378 * libc/machine/mips/strlen.c: Dito.
5379 * libc/machine/mips/strncmp.c: Dito.
5380
2a606041
JJ
53812002-03-06 Jeff Johnston <jjohnstn@redhat.com>
5382
eabb48d5
MM
5383 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
5384 object so it works for shared library or statici library.
5385 * libc/machine/i386/Makefile.in: Regenerated.
2a606041 5386
55f26f11
JR
5387Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
5388
96bff22c
JR
5389 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
5390 Add memcpy.S, memset.S and strcpy.S.
5391 * libc/machine/sh/Makefile.in: Regenerate.
5392 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
55f26f11 5393 (SHHI, SHLO): Define.
96bff22c
JR
5394 * libc/machine/sh/memset.S: Add code for SH5.
5395 * libc/machine/sh/memset.S: Likewise.
5396 * libc/machine/sh/strcpy.S: Likewise.
55f26f11 5397
afecf2fa
JJ
53982002-02-27 Jeff Johnston <jjohnstn@redhat.com>
5399
5400 * configure.host: Add check for --disable-newlib-io-float
5401 configuration option and add -DNO_FLOATING_POINT to newlib cflags
5402 if appropriate.
5403 * acinclude.m4: Added --disable-newlib-io-float option.
5404 * aclocal.m4: Regenerated.
5405 * configure: Ditto.
5406 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
5407 * libc/*/aclocal.m4 libc/*/configure
5408 * libm/*/aclocal.m4 libm/*/configure: Ditto.
5409 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
5410 if NO_FLOATING_POINT flag is not defined.
5411
c1010a63
JJ
54122002-02-25 Jeff Johnston <jjohnstn@redhat.com>
5413
5414 * libc/include/sys/config.h: Add __extension__ in front of
5415 long long references.
5416
630c657e
CV
54172002-02-23 Corinna Vinschen <corinna@vinschen.de>
5418
5419 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
5420 (_stat): Ditto.
5421
59ee2e20
CV
54222002-02-23 Corinna Vinschen <corinna@vinschen.de>
5423
5424 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
5425 of off_t.
5426
2dd68dc2
NC
54272002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
5428
5429 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
5430 clobbered registers.
5431
55500bf1
TF
54322002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
5433
5434 * configure.host (newlib_cflags): When host is in m68* add
5435 -DCOMPACT_CTYPE.
5436
ba0173f0
JJ
54372002-02-15 Jeff Johnston <jjohnstn@redhat.com>
5438
5439 * libc/include/sys/config.h: Add definitions for
5440 __int16_t, __uint16_t, __int64_t, and __uint64_t.
5441
7b61d0c5
JJ
54422002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
5443
5444 * libc/sys/mmixware/link.c: New.
5445 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
5446 volatile.
5447 * libc/sys/mmixware/times.c (_times): Renamed from times.
5448 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
5449 properly by reading previous contents, not through BinaryReadWrite.
5450 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
5451 * libc/sys/mmixware/Makefile.in: Regenerate.
5452
a505db65
CV
54532002-02-10 Corinna Vinschen <corinna@vinschen.de>
5454
5455 * libc/include/grp.h: Don't declare group functions when compiling
5456 Cygwin.
5457
f3b39c45
CV
54582002-02-09 Corinna Vinschen <corinna@vinschen.de>
5459
5460 * libc/include/grp.h: Include Cygwin specific header.
5461 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
5462 when compiling for Cygwin.
5463 * libc/include/sys/types.h: Don't define off_t, uid_t
5464 and gid_t when compiling for Cygwin.
5465
82b3ac56
MG
54662002-02-08 matthew green <mrg@redhat.com>
5467
5468 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
5469 _REENT_EMERGENCY_SIZE, not sizeof(char *).
5470
9f25eed9
AO
54712002-02-08 Alexandre Oliva <aoliva@redhat.com>
5472
5473 Contribute sh64-elf.
5474 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
5475 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
5476 support in printf.
5477 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
5478 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
5479 any labels.
5480 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
5481 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
5482 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
5483 * libc/machine/sh/configure.in: Rework conditionals.
5484 * libc/machine/sh/Makefile.am: Likewise.
5485 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
5486 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
5487 * configure.host: Match `sh*'.
5488 * libc/include/machine/setjmp.h: Define for SH5.
5489 * libc/machine/sh/configure.in: Detect SH5.
5490 * libc/machine/sh/configure: Rebuilt.
5491 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
5492 * libc/machine/sh/Makefile.in: Rebuilt.
5493 * libc/machine/sh/asm.h: Adjust for SH5.
5494 * libc/machine/sh/setjmp.S: Implement in SHmedia.
5495 * libc/sys/sh/crt0.S: Likewise.
5496 * libc/sys/sh/trap.S: Likewise.
5497
a2a405ae
JJ
54982002-02-07 Jeff Johnston <jjohnstn@redhat.com>
5499
5500 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
5501 (mach_add_obj): Conditionally set to setjmp.o or nothing.
5502 (LIB_SOURCES): Remove $(mach_add_src).
5503 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
5504 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
5505 * libc/machine/i386/Makefile.in: Regenerate.
5506
27478365
JJ
55072002-02-05 Manik Raina <manik@cisco.com>
5508
994fa212 5509 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
27478365
JJ
5510 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
5511 s, p, k, and outstr.
5512 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
5513
815a37f7
JJ
55142002-02-04 Jeff Johnston <jjohnstn@redhat.com>
5515
5516 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
5517 _REENT_CHECK_EMERGENCY macro.
5518
a4139c12
MG
55192002-02-03 matthew green <mrg@redhat.com>
5520
5521 * libc/reent/signgam.c (__signgam): Fix error in previous.
5522
8195aff7
MG
55232002-02-02 matthew green <mrg@redhat.com>
5524
5525 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
5526
5527 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
5528 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
5529 * libc/include/sys/reent.h (struct _reent): Completely new version
5530 for _REENT_SMALL.
5531 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
5532 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
5533 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
5534 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
5535 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
5536 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
5537 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
5538 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
5539 (_REENT_EMERGENCY): Likewise.
5540
5541 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
5542 the start of the real __sFILE, used for stdin, stdout and stderr until
5543 they are setup properly.
5544 (struct __sFILE): Move location of _data in _REENT_SMALL case.
5545 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
5546 allocated stdin, stdout and stderr.
5547 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
5548 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
5549 * libc/stdio/perror.c (_perror_r): Likewise.
5550 * libc/stdio/printf.c (printf, _printf_r): Likewise.
5551 * libc/stdio/putchar.c (_putchar_r): Likewise.
5552 * libc/stdio/puts.c (_puts_r): Likewise.
5553 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
5554 * libc/stdio/vprintf.c (vprintf): Likewise.
5555 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
5556
5557 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
5558
5559 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
5560 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
5561 for _REENT_SMALL.
5562 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
5563 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
5564
5565 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
5566 _REENT_SMALL.
5567 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
5568 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
5569 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
5570 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
5571 * libc/stdlib/rand48.c (__dorand48): Likewise.
5572 * libc/stdlib/seed48.c (_seed48_r): Likewise.
5573 * libc/stdlib/srand48.c (_srand48_r): Likewise.
5574 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
5575 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
5576 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
5577 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
5578 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
5579 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
5580 * libc/stdlib/rand.c (rand): Likewise.
5581
5582 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
5583 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
5584
5585 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
5586 _REENT_MP_FREELIST() and _REENT_MP_P5S.
5587 * libc/include/sys/reent.h (struct _mprec): New structure.
5588
5589 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
5590 _unused_strtok_last.
5591 * libc/string/strtok.c (strtok): Use a local static variable.
5592
5593 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
5594 (_REENT_EMERGENCY_SIZE): Likewise.
5595 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
5596 _REENT_ASCTIME_BUF().
5597 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
5598 _REENT_TM().
5599
5600 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
5601 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
5602 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
5603 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
5604 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
5605 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
5606
9c2e7642
GK
56072002-02-01 Geoffrey Keating <geoffk@redhat.com>
5608
5609 * configure.host (xstormy16): Don't use the generic malloc.
5610 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
5611 * libc/machine/xstormy16/Makefile.in: Regenerate.
5612 * libc/machine/xstormy16/mallocr.c: New file.
5613 * libc/machine/xstormy16/tiny-malloc.c: New file.
5614
4bb6112f
TF
56152002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
5616
5617 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
5618 when _CYGWIN_TYPES_H is not defined.
5619
8d345552
TF
56202002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5621
5622 * libc/include/sys/signal.h: Revert 2002-01-23 change.
5623
bcc49082
TF
56242002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
5625
5626 * libc/include/sys/signal.h: Remove pthread_kill declaration
5627 when __CYGWIN__ is defined.
5628
13baedeb
CF
56292002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
5630
5631 * libc/include/time.h: Add prototype for strptime for Cygwin.
5632
b2db0ebc
NC
56332002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
5634
ebf139fb
NC
5635 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
5636 dst was not word aligned.
5637
b2db0ebc
NC
5638 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
5639 if too much memory is requested.
5640
798c015d
JJ
56412002-01-11 Jeff Johnston <jjohnstn@redhat.com>
5642
5643 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
5644 reads blanks from the input file to break if EOF reached
5645 rather than end processing.
5646
46ad2ef4
JJ
56472002-01-07 Jeff Johnston <jjohnstn@redhat.com>
5648
5649 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
5650
86b06396
JJ
56512002-01-07 Alan Matsuoka <alanm@redhat.com>
5652
5653 * libc/include/machine/ieeefp.h: Configure d10v doubles to
5654 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
5655 libc/include/sys/config.h: Ditto.
5656
423d5064
CV
56572001-12-28 Corinna Vinschen <corinna@vinschen.de>
5658
5659 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
5660
f6eff1c0
GK
56612001-12-22 Geoffrey Keating <geoffk@redhat.com>
5662 Catherine Moore <clm@redhat.com>
5663 Richard Henderson <rth@redhat.com>
5664 Corinna Vinschen <vinschen@redhat.com>
5665
5666 * configure.host: Add support for xstormy16.
5667 * libc/include/machine/ieeefp.h: Add support for xstormy16.
5668 * libc/include/machine/setjmp.h: Add support for xstormy16.
5669 * libc/include/sys/config.h: Add support for xstormy16.
5670 * libc/machine/xstormy16/Makefile.am: New file.
5671 * libc/machine/xstormy16/Makefile.in: New file.
5672 * libc/machine/xstormy16/aclocal.m4: New file.
5673 * libc/machine/xstormy16/configure: New file.
5674 * libc/machine/xstormy16/configure.in: New file.
5675 * libc/machine/xstormy16/setjmp.S: New file.
5676
1f93c55f
TF
56772001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
5678
5679 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
5680 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
5681
13b918be
CV
56822001-12-19 Corinna Vinschen <corinna@vinschen.de>
5683
5684 * libm/machine/Makefile.am: Change rules to create correct lib.a.
5685 * libm/machine/Makefile.in: Regenerated through automake.
5686
08e857b4
TF
56872001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5688
5689 * Makefile.am (DOCDIR): Force to empty string when doc
5690 directory is not present.
5691
60565ed6
TF
56922001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5693
5694 * libc/machine/i386/f_*: Move to libm/machine/i386.
5695
56962001-12-18 Joel Sherrill <joel@OARcorp.com>
5697
5698 * libm/machine/Makefile.am: Add dummy doc stub so
5699 "make info" works.
5700
57012001-12-17 Joel Sherrill <joel@OARcorp.com>
5702
5703 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
5704
fc504135
TF
57052001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
5706
5707 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
5708 $(COMPILE) rather than $(CC).
5709 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
5710 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
5711 $(LIB_COMPILE) change.
5712 (vfiprintf.$(oext)): Likewise.
5713
efeae9a3
CV
57142001-12-17 Corinna Vinschen <vinschen@redhat.de>
5715
5716 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
5717 conditionalized including of getopt stuff.
5718
cdf7120d
TF
57192001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5720
5721 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
5722 compile line.
f85be99c 5723 (vfiprintf.$(oext)): Likewise.
cdf7120d 5724
2e1a7175
TF
57252001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
5726
5727 * Makefile.shared: New file.
5728 * libc/sys/linux/shared.ld: New file.
5729 * libm/machine/*: New files.
5730 * libm/machine/i386/*: New files.
5731 * Makefile.am: Add libtool support. Change math and mathfp
5732 references to variables.
5733 * configure.host: Add variables for libtool support. Add
5734 libm_machine_dir variable.
5735 * configure.in: Add objectlist variables, for libtool
5736 support. Add CC_FOR_BUILD tests.
5737 * libc/Makefile.am: Add libtool support. Change crt0.o
5738 reference to be a variable reference.
5739 * libc/configure.in: Add libtool support. Change sublib
5740 names to be lib${subdir}.la when using libtool.
5741 * libc/ctype/Makefile.am: Add libtool support.
5742 * libc/errno/Makefile.am: Likewise.
5743 * libc/locale/Makefile.am: Likewise.
5744 * libc/machine/Makefile.am: Likewise.
5745 * libc/machine/configure.in: Likewise.
5746 * libc/machine/i386/Makefile.am: Likewise.
5747 * libc/machine/i386/configure.in: Likewise.
5748 * libc/misc/Makefile.am: Likewise.
5749 * libc/posix/Makefile.am: Likewise.
5750 * libc/reent/Makefile.am: Likewise.
5751 * libc/signal/Makefile.am: Likewise.
5752 * libc/stdio/Makefile.am: Likewise.
5753 * libc/stdlib/Makefile.am: Likewise.
5754 * libc/string/Makefile.am: Likewise.
5755 * libc/sys/Makefile.am: Likewise.
5756 * libc/sys/configure.in: Likewise.
5757 * libc/sys/linux/Makefile.am: Add libtool support. Change
5758 awk reference to a variable reference. Change signal.h
5759 reference to a variable reference.
5760 * libc/sys/linux/configure.in: Add libtool support.
5761 * libc/syscalls/Makefile.am: Likewise.
5762 * libc/time/Makefile.am: Likewise.
5763 * libc/unix/Makefile.am: Likewise.
5764 * libm/Makefile.am: Add libtool support. Change math and
5765 mathfp references to variables.
5766 * libm/configure.in: Add libtool support. Add
5767 LIBM_MACHINE_LIB variable.
5768 * libm/common/Makefile.am: Add libtool support.
5769 * libm/math/Makefile.am: Likewise.
5770 * libm/mathfp/Makefile.am: Likewise.
5771 Regenerate all Makefile.in, aclocal.m4, and configure.
5772
b92591a1
JJ
57732001-12-13 Anita Kulkarni <anitak@kpit.com>
5774
5775 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
5776
355b664e
CF
57772001-12-06 John Peacock <jpeacock@rowman.com>
5778
5779 * libc/include/sys/unistd.h: Correct ualarm declaration.
5780
e9853806
NC
57812001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
5782
5783 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
5784 vector before calling the initialisation functions.
5785
a8e091b0
CF
57862001-11-29 Christopher Faylor <cgf@redhat.com>
5787
5788 * libc/include/dirent.h: Protect against multiple inclusion.
5789
ab634123
CF
57902001-11-27 Christopher Faylor <cgf@redhat.com>
5791
5792 * libc/include/sys/types.h: Define useconds_t.
5793 * libc/include/sys/ulimit.h: Declare ualarm.
5794
d37e401e
CF
57952001-11-21 Christopher Faylor <cgf@redhat.com>
5796
5797 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
5798
8ac90051
HPN
57992001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
5800
5801 * libc/sys/mmixware/*: Tweak license header in all source files.
5802
d7ca37e4
CV
58032001-11-12 Corinna Vinschen <vinschen@redhat.com>
5804
5805 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
5806 to here. Rearrange for general inclusion by stdlib.h.
5807 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
5808 isn't defined.
5809 * libc/sys/linux/include/alloca.h: Move to libc/include.
5810
28f8744e
AG
58112001-11-12 Anthony Green <green@redhat.com>
5812
5813 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
5814
4cede8c4
HPN
58152001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
5816
5817 * libc/sys/mmixware/*: Correct spacing in all source files.
5818 * libc/sys/mmixware/syscall.h: Move misplaced file...
5819 * libc/sys/mmixware/sys/syscall.h: ...here.
5820
8be9b48b
JJ
58212001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
5822
5823 * libc/include/machine/ieeefp.h: Add support for mmix target.
5824 * libc/include/machine/setjmp.h: Ditto.
5825 * configure.host: Ditto.
5826 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
5827 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
5828 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
5829 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
5830 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
5831 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
5832 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
5833 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
5834 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
5835 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
5836 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
5837 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
5838 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
5839 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
5840 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
5841 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
5842 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
5843 libc/sys/mmixware/aclocal.m4: Generate.
5844
c7dd4f95
CV
58452001-11-05 Corinna Vinschen <corinna@vinschen.de>
5846
5847 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
5848 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
5849 when __CYGWIN__ is defined.
5850 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
5851 logwtmp().
5852
a6a6f9fe
JJ
58532001-11-01 Arati Dikey <aratidikey@hotmail.com>
5854
5855 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
5856 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
5857 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
5858 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
5859
d0504c35
JJ
58602001-10-24 Christopher Faylor <cgf@redhat.com>
5861
5862 * libc/stdio/fseek.c: Reset pointer to buffer base
5863 when forced to seek outside of current buffer contents.
5864 This prevents the code from erroneously thinking there is
5865 anything in the current buffer.
5866
0280c8c0
GK
58672001-10-22 Geoffrey Keating <geoffk@redhat.com>
5868
5869 * libc/include/math.h: The C++ standard adds the single-precision
5870 versions of the elementary functions.
5871
333d6098
CF
58722001-10-22 Christopher Faylor <cgf@redhat.com>
5873
5874 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
5875 throughout.
5876 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
5877 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
5878 * system.c (_system_r): Ditto.
5879
c7118319
CV
58802001-10-17 Corinna Vinschen <corinna@vinschen.de>
5881
5882 * libc/include/sys/unistd.h: Add prototype for fchdir() when
b4e98df6 5883 __CYGWIN__ or __rtems__ is defined.
c7118319 5884
5665b0e1
JJ
58852001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
5886
5887 * libc/include/stdlib.h: add declarations for
5888 _strtoull_r, _strtoll_r, strtoull, and strtoll.
5889 * libc/stdio/local.h: remove declarations of
5890 __strtoull_r and __strtoll_r.
5891 * libc/stdio/vfscanf.c(__svfscanf_r): call
5892 _strtoull_r instead of __strtoull_r. Ditto
5893 _strtoll_r vs. __strtoll_r.
5894 * libc/stdlib/Makefile.am: add new files to
5895 .c list and .def list
5896 * libc/stdlib/Makefile.in: regenerate
5897 * libc/stdlib/strtoll_r.c: rename __strtoll_r
5898 as _strtoll_r
5899 * libc/stdlib/strtoull_r.c: rename __strtoull_r
5900 as _strtoull_r
5901 * libc/stdlib/strtoull.c: new file
5902 * libc/stdlib/strtoll.c: new file
5903
d2d5eb41
CF
5904Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
5905
5906 * libc/include/process.h: Add getpid() declaration.
5907
448e3c14
NC
59082001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
5909
5910 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
5911 for new style arm/elf ctor/dtor handling.
5912 Minor formatting tidy up.
5913
7a2afbbb
JJ
59142001-09-13 Jeff Johnston <jjohnstn@redhat.com>
5915
5916 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
5917 and strtoull_r.c.
5918 * libc/stdlib/Makefile.in: Regenerated.
5919 * libc/stdlib/strtoll_r.c: New file.
5920 * libc/stdlib/strtoull_r.c: New file.
5921 * libc/stdio/local.h: Add prototypes for long long string
5922 conversion routines.
5923 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
5924 tied to %L integer conversion specifier.
5925
6342caa4
JJ
5926Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
5927
5928 * strftime.c (strftime): Fix "%W" implementation to properly handle
5929 Mondays too.
5930
b2d319cb
JJ
59312001-09-07 Jeff Law <law@redhat.com>
5932
5933 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
5934 __fini with "mov.l" instead of "mov.w".
5935
233823ba
CV
59362001-09-05 Corinna Vinschen <corinna@vinschen.de>
5937
5938 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
5939 and getopt.h.
5940
63c17b54
JJ
59412001-09-04 Jason Merrill <jason_merrill@redhat.com>
5942
5943 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
5944
a3e67ddf
CV
59452001-09-03 Corinna Vinschen <corinna@vinschen.de>
5946
5947 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
5948 field.
5949 (__DIRENT_VERSION): New define.
5950
6d47f33a
CV
59512001-09-03 Corinna Vinschen <corinna@vinschen.de>
5952
5953 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4f79e37e
CV
5954 Shrink __d_reserved accordingly to keep structure size.
5955 (dirfd): Declare external.
6d47f33a 5956
348c5e06
JJ
59572001-08-29 Joel Sherrill <joel@OARcorp.com>
5958
5959 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
5960
59612001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
5962
5963 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
5964 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
5965 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
5966 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
5967 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
5968 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
5969 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
5970 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
5971 Add conditional compilation to avoid HW FPU instructions
5972 when compiled for soft-float.
5973
f29865c5
JJ
59742001-08-29 Jeff Johnston <jjohnstn@redhat.com>
5975
5976 * Makefile.am: Add check for ln failing when creating libg.a
5977 so that cp gets used as a backup.
5978 * Makefile.in: Regenerated.
5979
9e2a4ef8
JJ
59802001-08-29 Jeff Johnston <jjohnstn@redhat.com>
5981
5982 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
5983 No longer include time.h. Add struct __tm to use for
5984 _localtime_buf in the reentrant structure. Add a
5985 _NULL definition to use in initializing the reentrant struct.
5986 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
5987 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
5988 <sys/_types.h>.
5989 * libc/include/sys/unistd.h: Include <sys/_types.h>.
5990 * libc/time/lcltime.c (localtime): Cast the reentrant struct
5991 _localtime_buf to be struct tm *.
5992
1ae900d6
JR
5993Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
5994
5995 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
5996 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
5997 __ctors_end.
5998 * libc/sys/h8300hms/syscalls.c: Include errno.h.
5999 (_unlink): New stub function.
6000
8e26d5b5
CF
6001Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
6002
6003 * libc/include/sys/errno.h: Add a cautionary comment.
6004
e8267664
JJ
60052001-08-21 Jeff Johnston <jjohnstn@redhat.com>
6006
6007 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
6008 for SIZE_SZ so that alignment ends up a minimum of 8.
6009
4acf3edf
CF
6010Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
6011
6012 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
6013 arguments.
6014
6015 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
6016 Cygwin.
6017
52c80be8
JJ
60182001-08-13 Jeff Johnston <jjohnstn@redhat.com>
6019
6020 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
6021 macro constants for mallopt options.
6022 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
6023
a7061f7f
JJ
60242001-08-02 Jeff Johnston <jjohnstn@redhat.com>
6025
6026 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
6027 otherwise default.
6028
0b4bfdd5
AH
60292001-07-12 Aldy Hernandez <aldyh@redhat.com>
6030
6031 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
6032
2b6b730c
NC
60332001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
6034
6035 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
6036 Define for little endian ARMs.
6037
6038 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
6039 __IEEE_BYTES_LITTLE_ENDIAN is defined.
6040
25842b68
JJ
60412001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
6042
6043 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
6044
371b76ef
JJ
60452001-06-11 Egor Duda <deo@logos-m.ru>
6046
6047 * libc/ctype/ctype_.c: When compiled with gcc on platforms
6048 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
6049 initialized memory region. Platform can define COMPACT_CTYPE
6050 to avoid allocation of the additional 128 bytes of data.
6051 Add pointer to _ctype_ array. Always initialize all _ctype_
6052 array elements.
6053
43b44bc5
JL
60542001-06-08 Jonathan Larmour <jlarmour@redhat.com>
6055
6056 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
6057 NULL pointer.
6058
188bc140
NC
60592001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
6060
6061 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
6062
2ce88418
NC
60632001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
6064
6065 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
6066 matching, non-word alignment, and the length is <= 4 but more than
6067 enough to move them over a word boundary.
6068 Add comments explaining what each instruction does.
6069
ca60ed47
CF
6070Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
6071
6072 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
c63e9997 6073 * libc/include/sys/unistd.h: Ditto.
ca60ed47 6074
8b3bcfba
JJ
60752001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
6076
6077 * libc/string/strrchr.c: Use strchr for the speed improvements.
6078
b09e3cf8
JJ
60792001-05-01 Jeff Johnston <jjohnstn@redhat.com>
6080
6081 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
6082 real file systems, let __smakebuf() determine if line buffering
6083 should be used for stdout.
6084
0ca66974
JJ
60852001-04-27 Jeff Johnston <jjohnstn@redhat.com>
6086
6087 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
6088
7cb7017a
JJ
60892001-04-27 Jeff Johnston <jjohnstn@redhat.com>
6090
6091 * libc/include/stdlib.h: Add prototype for _strtod_r.
6092
a874cd21
JJ
60932001-04-24 Charles Wilson <cwilson@ece.gatech.edu
6094
6095 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
6096 * libc/stdio/vprintf.c (_vprintf_r): new function
6097 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
6098 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
6099 _DEFUN, and call _vfprintf_r, not vfprintf.
6100 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
6101 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
6102 _DEFUN, and call _vfprintf_r, not vfprintf.
6103
cb4cc283
CF
61042001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
6105
6106 * libc/include/sys/unistd.h [X_OK]: Use better protection against
6107 Cygwin X_OK definitions in sys/file.h.
6108
8c9df1d5
CF
6109Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
6110
6111 * libc/include/sys/time.h: Define timercmp and other macros for
6112 __CYGWIN__, too.
6113
3ac6f3a7
JJ
61142001-04-20 Jeff Johnston <jjohnstn@redhat.com>
6115
6116 * acinclude.m4: Added --enable-malloc-debugging configure flag.
6117 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
6118 --enable-malloc-debugging selected.
6119 * aclocal.m4 configure: Regenerated.
6120 libm/aclocal.m4 libm/configure: Ditto.
6121 * libc/aclocal.m4 libc/configure: Ditto.
6122 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
6123 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
6124 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
6125 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
6126 * doc/aclocal.m4 doc/configure: Ditto.
6127
52cb9e69
JJ
61282001-04-20 Jeff Johnston <jjohnstn@redhat.com>
6129
6130 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
6131 into one list.
6132 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
6133 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
6134 function prototypes.
6135 (_fscanf_r, _sscanf_r): Ditto.
6136 * libc/include/stdlib.h: Added _strtod_r prototype.
6137 * libc/stdio/Makefile.am: Add new v*scanf functions.
6138 * libc/stdio/Makefile.in: Regenerate.
6139 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
6140 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
6141 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
6142 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
6143 (sscanf): Changed to call __svfscanf_r with _REENT argument.
6144 (_sscanf_r): New routine.
6145 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
6146 with __svfscanf_r prototype.
6147 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
6148 routines.
6149 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
6150 structure as argument as calls reentrant versions of helper functions
6151 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
6152 to _strtol_r and _strtod_r respectively.
6153 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
6154 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
6155 _REENT argument.
6156 * libc/stdio/vscanf.c: New file.
6157 * libc/stdio/vsscanf.c: Ditto.
6158
ee9f39fb
JJ
61592001-04-19 Robert Collins <rbtcollins@hotmail.com>
6160
6161 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
6162 Define daylight to _daylight if it is not defined
6163 Prepare a variable export of timezone based on timezonevariable.
6164 (Cannot be used with the timezone() function.)
6165
273861e3
JJ
61662001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
6167
6168 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
6169 Correct the numerical values.
6170
a25b8414
CF
61712001-04-13 Robert Collins <rbtcollins@hotmail.com>
6172
6173 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
6174
b8a8c59d
CV
6175Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
6176
6177 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
6178 on case insensitve file systems.
6179
74f8cc63
CF
61802001-04-12 Robert Collins <rbtcollins@hotmail.com>
6181
6182 * libc/include/sys/features.h: Add appropriate defines for Cygwin
6183 pthread support.
6184 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
6185 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
6186 types. Include <cygwin/types.h> for the cygwin specific typedefs.
6187
16740220
RS
61882001-04-04 Richard Sandiford <rsandifo@redhat.com>
6189
6190 * libc/include/machine/ieeefp.h: Comment about new configuration
6191 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
6192 * libm/common/fdlib.h: Define new macros for testing floats.
6193 * libm/common/sf_*: Use them.
6194 * libm/math/ef_*: Likewise.
6195 * libm/math/sf_*: Likewise.
6196
0694d8d3
JJ
61972001-03-29 Jeff Johnston <jjohnstn@redhat.com>
6198
6199 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
6200 prolog to by-pass possible assembler error.
6201
4833b38c
JJ
62022001-03-21 Egor Duda <deo@logos-m.ru>
6203
6204 Allow building internal stubs for non-reentrant syscalls
6205 if target provides its own malloc
6206 * libc/reent/reent.c (errno): Move definition here.
6207 * libc/reent/sbrkr.c: From here.
6208
d17d6d42
CF
62092001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
6210
6211 * libc/include/sys/types.h (BSD int typedefs): Guard with
6212 _BSDTYPES_DEFINED rather than _WINSOCK_H.
6213 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
6214 _SYS_TYPES_FD_SET.
6215 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
6216 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
6217
c7ee75cd
CV
6218Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
6219
6220 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
6221 _PC_POSIX_SECURITY constants for Cygwin.
6222
63dc5d80
CV
6223Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
6224
6225 * libc/sys/cygwin/crt0.c: Add copyright hint.
6226 * libc/sys/cygwin/sys/dirent.h: Ditto.
6227 * libc/sys/cygwin/sys/param.h: Ditto.
6228 * libc/sys/cygwin/sys/utime.h: Ditto.
6229 * libc/sys/cygwin/sys/utmp.h: Ditto.
6230
6f637037
AO
62312001-03-13 Alexandre Oliva <aoliva@redhat.com>
6232
6233 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
6234 equivalent to LONGINT.
6235
e69b6f73
JJ
62362001-03-08 Richard Sandiford <rsandifo@redhat.com>
6237
6238 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
6239 jmpbuf on MIPS64 targets.
6240 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
6241
6198dece
CF
6242Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
6243
e69b6f73
JJ
6244 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
6245 declarations.
6198dece 6246
cfc05d96
JJ
6247Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
6248
6249 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
6250 For RTEMS, define to be ssize_t. Default to int if not defined.
6251 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
6252 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
6253 * libc/stdio/local.h (__sread, __swrite): Likewise.
6254 * libc/include/sys/reent.h (_read, _write): Likewise.
6255 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
6256 * libc/syscalls/sysread.c (read): Likewise.
6257 * libc/syscalls/syswrite.c (write): Likewise.
6258
6249353a
JJ
62592001-03-05 Jeff Johnston <jjohnstn@redhat.com>
6260
6261 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
6262
658b5db9
CF
6263Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
6264
6265 * libc/include/sys/stat.h: Use special defines for executable stat bits
6266 when compiling for Cygwin.
6267 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
6268 for Cygwin.
6269
19ca46d5
JJ
62702001-03-02 Jeff Johnston <jjohnstn@redhat.com>
6271
6272 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
6273 of strtok_r is always defined.
6274
b73ed85e
JJ
62752001-03-02 Jeff Johnston <jjohnstn@redhat.com>
6276
6277 * libc/include/machine/ansi.h: New dummy header file.
6278
ee37ede1
JJ
62792001-02-22 Jeff Johnston <jjohnstn@redhat.com>
6280
6281 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
6282 changed the copyright information to allow free modification of the
6283 file with no reference to "copying.dj".
6284 * libc/include/sys/stat-dj.h: Ditto.
6285 * libc/machine/i386/setjmp.S: Ditto.
6286 * libc/sys/h8300hms/sys/file.h: Ditto.
6287 * libc/sys/sysmec/access.c: Ditto.
6288 * libc/sys/sysnecv850/access.c: Ditto.
6289 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
6290 * libc/stdlib/getenv_r.c: Ditto.
6291 * libc/stdlib/putenv_r.c: Ditto.
6292 * libc/stdlib/setenv_r.c: Ditto.
6293 * libc/stdlib/getenv.c: Removed DJ reference since any possible
6294 modifications will now be in the _r version of this file.
6295 * libc/stdlib/putenv.c: Ditto.
6296 * libc/stdlib/setenv.c: Ditto.
6297 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
6298 valid. Added a reference to DJ's web page that contains his address.
6299 * libc/sys/go32/*.s: Removed references to DJ's old address.
6300 * libc/sys/go32/*.c: Ditto.
6301 * libc/sys/go32/*.h: Ditto.
6302 * libc/sys/go32/*.S: Ditto.
6303 * libc/sys/go32/sys/*.h: Ditto.
6304
3a8fc0e4
JJ
63052001-02-21 Jeff Johnston <jjohnstn@redhat.com>
6306
6307 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
6308 HAVE_FCNTL flag check.
6309 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
6310 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
6311
b24ee749
CF
6312Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
6313
6314 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
6315
ab4745dc
JJ
63162001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
6317
6318 * libc/include/stdlib.h: Add declarations of rand48 functions and
6319 their reentrant versions.
6320 * libc/include/sys/reent.h: Move macros from rand48.h. Add
6321 struct _rand48 for shared parameters of rand48 functions.
6322 (struct _reent): Add a variable _r48 of struct _rand48.
6323 (_REENT_INIT): Add _r48 initialization.
6324 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
6325 (CHEWOUT_FILES): Add rand48.def.
6326 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
6327 * libc/stdlib/Makefile.in: Regenerated.
6328 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
6329 NetBSD C library.
6330 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
6331 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
6332 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
6333 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
6334 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
6335 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
6336 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
6337 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
6338 * libc/stdlib/rand48.c (__dorand48): Ditto.
6339 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
6340 parameters into macros referring them in the reentrant structure.
6341
a34c461f
JJ
63422001-02-12 Jeff Johnston <jjohnstn@redhat.com>
6343
6344 * libc/include/sys/stat.h: Add mknod for Cygwin now that
6345 Cygwin definition has correct prototype.
6346
34f31ff2
JJ
63472001-02-08 Jeff Johnston <jjohnstn@redhat.com>
6348
6349 * libc/include/sys/stat.h: Must revert change for mknod
6350 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
6351 prototype.
6352
5336d6de
JJ
63532001-02-08 Jeff Johnston <jjohnstn@redhat.com>
6354
6355 * libc/include/stdio.h: Revert putw prototype.
6356
8915d10a
JJ
63572001-02-08 Edward M. Lee <tailbert@yahoo.com>
6358
6359 * libc/include/grp.h: add prototype for initgroups.
6360 * libc/include/stdio.h: fix prototype for putw.
6361 * libc/include/sys/signal.h: add prototype for killpg.
6362 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
6363 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
6364 vhangup and remove duplicate sysconf prototype.
6365
93ac4487
JJ
63662001-02-07 Jeff Johnston <jjohnstn@redhat.com>
6367
6368 * libc/sys/rtems/sys/types.h: Removed.
6369
31f5feea
JJ
63702001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
6371
6372 * libc/include/locale.h: add LC_MESSAGES definition
6373
b5139f59
AO
63742001-02-01 Alexandre Oliva <aoliva@redhat.com>
6375
6376 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
6377 SYS_get_argN):
6378 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
6379 __setup_argv_and_call_main): New.
6380
e29d8355
JJ
63812001-01-31 Jeff Johnston <jjohnstn@redhat.com>
6382
6383 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
6384 if defined.
6385 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
6386 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
6387 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
6388 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
6389
82ea92f3
CF
6390Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
6391
6392 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
6393 compiling under Cygwin.
6394
3aaa66f8
JJ
63952001-01-29 Jeff Johnston <jjohnstn@redhat.com>
6396
6397 * libc/include/math.h (signgam): Change to errno-like solution
6398 using a function to return the address of the real signgam.
6399 * libc/reent/signgam.c: New file containing __signgam().
6400 * libc/reent/Makefile.am: Added signgam.c to list of files.
6401 * libc/reent/Makefile.in: Regenerated.
6402
610b895a
AO
64032001-01-25 Alexandre Oliva <aoliva@redhat.com>
6404
b0913397
AO
6405 * libc/sys/sh/syscalls.c (_times): New.
6406
610b895a
AO
6407 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
6408 * libc/sys/sh/syscalls.c (_gettimeofday): New.
6409
3643210e
JJ
64102001-01-23 Jeff Johnston <jjohnstn@redhat.com>
6411
6412 * libc/include/math.h (signgam): Regress previous fix as
6413 it does not handle programs with extern int signgam in them.
6414
841081c9
JJ
64152001-01-23 Jeff Johnston <jjohnstn@redhat.com>
6416
6417 * libc/include/math.h (signgam): Changed to a macro refering to
6418 its location in the reentrant structure.
6419
e9cd87b8
JJ
64202001-01-23 Jeff Johnston <jjohnstn@redhat.com>
6421
6422 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
6423 that suppressed . for %.0f, 0.1. Check now looks if there
6424 are padding zeroes (expt) in addition to any digits (ndig) to
6425 print.
6426
a302b48c
JJ
64272001-01-18 Jeff Johnston <jjohnstn@redhat.com>
6428
6429 * libc/sys/arc/Makefile.am: New file.
6430 * libc/sys/arc/Makefile.in: Ditto.
6431 * libc/sys/arc/aclocal.m4: Ditto.
6432 * libc/sys/arc/configure: Ditto.
6433 * libc/sys/arc/configure.in: Ditto.
6434 * libc/sys/arc/crt0.S: Ditto.
6435 * libc/sys/arc/isatty.c: Ditto.
6436 * libc/sys/arc/mem-layout.c: Ditto.
6437 * libc/sys/arc/sbrk.c: Ditto.
6438 * libc/sys/arc/syscalls.c: Ditto.
6439 * libc/sys/arc/sys/syscall.h: Ditto.
6440
d0319c3b
CF
6441Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
6442
6443 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
6444
e45ab890
CF
6445Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
6446
6447 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
6448
1376245a
DD
6449Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
6450
6451 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
6452
92b57543
NC
64532001-01-09 Nick Clifton <nickc@redhat.com>
6454
6455 * configure.host (v859): Remove unsupported compiler options.
6456
7d6d33d4
JJ
6457Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
6458
6459 * src/newlib/configure.host (*-*-rtems*): add printf long long
6460 support for RTEMS.
6461
602f8b5a 64622000-12-19 Graham Stott <grahams@redhat.com>
6286746a
NC
6463
6464 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
6465
9c2b8183
JJ
6466Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
6467
6468 * configure.host: Turn on long double I/O for Cygwin.
6469
804368d3
JJ
6470Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
6471
6472 * MAINTAINERS: Removed Ranjith.
6473 * NEWS: Updated for 1.9.0.
6474 * README: Updated.
6475 * acinclude.m4: Updated to release 1.9.0.
6476 * aclocal.m4 configure
6477 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
6478 libc/machine/aclocal.m4 libc/machine/configure
6479 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
6480 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
6481 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
6482 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
6483 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
6484 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
6485 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
6486 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
6487 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
6488 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
6489 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
6490 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
6491 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
6492 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
6493 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
6494 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
6495 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
6496 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
6497 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
6498 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
6499 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
6500 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
6501 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
6502 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
6503 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
6504 libc/sys/aclocal.m4 libc/sys/configure
6505 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
6506 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
6507 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
6508 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
6509 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
6510 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
6511 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
6512 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
6513 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
6514 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
6515 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
6516 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
6517 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
6518 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
6519 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
6520 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
6521 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
6522 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
6523 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
6524 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
6525 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
6526 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
6527 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
6528 libm/aclocal.m4 libm/configure: Regenerated.
6529
0985d43f
CV
6530Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
6531
6532 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
6533 when __CYGWIN__ is defined.
6534
b6182a09
JJ
65352000-12-13 Jeff Johnston <jjohnstn@redhat.com>
6536
6537 * libc/stdlib/ldtoa.c (_ldcheck): New routine
6538 that categorizes a long double as NaN, Infinity, or other.
6539 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
6540 isinfl and isnanl static routines which were i386-specific. Changed
6541 calls to the two removed routines to a single _ldcheck call.
6542 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
6543
adbbb034
JJ
65442000-12-13 Jeff Johnston <jjohnstn@redhat.com>
6545
6546 * Makefile.am: Fixed install-data-local target to use
6547 $(mkinstalldirs) for the installed header files to ensure
6548 the directories exist before copying.
6549 * Makefile.in: Regenerated.
6550
cbd19336
JJ
65512000-12-12 Jeff Johnston <jjohnstn@redhat.com>
6552
6553 * libc/include/sys/unistd.h: Restored Cygwin _SC
6554 constants and moved new constants appropriately
6555 so Cygwin will build.
6556
8fb37963
JJ
65572000-12-11 Joel Sherrill <joel@OARcorp.com>
6558
6559 * Merge RTEMS specific .h files into main libc/include.
6560 * libc/sys/rtems/include/signal.h: Removed.
6561 * libc/sys/rtems/include/time.h: Removed.
6562 * libc/sys/rtems/sys/features.h: Removed.
6563 * libc/sys/rtems/sys/sched.h: Removed.
6564 * libc/sys/rtems/sys/siginfo.h: Removed.
6565 * libc/sys/rtems/sys/signal.h: Removed.
6566 * libc/sys/rtems/sys/time.h: Removed.
6567 * libc/sys/rtems/sys/times.h: Removed.
6568 definitions for time_t and clock_t since these are
6569 no longer in time.h.
6570 * libc/include/pthread.h: New file.
6571 * libc/include/sys/sched.h: New file.
6572 * libc/include/sys/features.h: New file.
6573 * libc/include/time.h: Removed duplicate definition of clock_t
6574 and time_t, get them from <sys/types.h> instead. Add prototypes
6575 for POSIX clock and timer functionality.
6576 * libc/sys/linux/sys/types.h: Changed to include
6577 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
6578 * libc/include/sys/signal.h: Add more complete set of POSIX
6579 signal functionality including real-time and threaded signals.
6580 * libc/include/sys/types.h: Add clock_t, time_t, struct
6581 timespec, and struct itimerspec. Centralizing these makes
6582 things cleaner. RTEMS uses 64-bit dev_t.
6583 Added numerous primitive definitions
6584 for pthreads including macros, pthread_attr_t,
6585 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
6586 pthread_once_t, and pthread_t.
6587 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
6588 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
6589 Feature flags removed and moved to new file <sys/features.h>.
6590 Full set of POSIX sysconf() constants
6591
2efbc2a7
JJ
65922000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
6593
6594 * configure.host: Added x86 linux target.
6595 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
6596 definitions provided if not already defined.
6597 * libc/sys/linux/crt0.c: New file.
6598 * libc/sys/linux/Makefile.am: Ditto.
6599 * libc/sys/linux/Makefile.in: Ditto.
6600 * libc/sys/linux/aclocal.m4: Ditto.
6601 * libc/sys/linux/brk.c: Ditto.
6602 * libc/sys/linux/configure: Ditto.
6603 * libc/sys/linux/configure.in: Ditto.
6604 * libc/sys/linux/getoptlong.c: Ditto.
6605 * libc/sys/linux/ids.c: Ditto.
6606 * libc/sys/linux/inode.c: Ditto.
6607 * libc/sys/linux/io.c: Ditto.
6608 * libc/sys/linux/linux.c: Ditto.
6609 * libc/sys/linux/process.c: Ditto.
6610 * libc/sys/linux/realpath.c: Ditto.
6611 * libc/sys/linux/select.c: Ditto.
6612 * libc/sys/linux/signal.c: Ditto.
6613 * libc/sys/linux/systat.c: Ditto.
6614 * libc/sys/linux/termios.c: Ditto.
6615 * libc/sys/linux/time.c: Ditto.
6616 * libc/sys/linux/wait.c: Ditto.
6617 * libc/sys/linux/include/alloca.h: Ditto.
6618 * libc/sys/linux/include/getopt.h: Ditto.
6619 * libc/sys/linux/include/stdint.h: Ditto.
6620 * libc/sys/linux/include/unistd.h: Ditto.
6621 * libc/sys/linux/sys/cdefs.h: Ditto.
6622 * libc/sys/linux/sys/dirent.h: Ditto.
6623 * libc/sys/linux/sys/errno.h: Ditto.
6624 * libc/sys/linux/sys/fcntl.h: Ditto.
6625 * libc/sys/linux/sys/file.h: Ditto.
6626 * libc/sys/linux/sys/ioctl.h: Ditto.
6627 * libc/sys/linux/sys/resource.h: Ditto.
6628 * libc/sys/linux/sys/signal.h: Ditto.
6629 * libc/sys/linux/sys/stat.h: Ditto.
6630 * libc/sys/linux/sys/syscall.h: Ditto.
6631 * libc/sys/linux/sys/termios.h: Ditto.
6632 * libc/sys/linux/sys/time.h: Ditto.
6633 * libc/sys/linux/sys/types.h: Ditto.
6634 * libc/sys/linux/sys/utmp.h: Ditto.
6635 * libc/sys/linux/sys/utsname.h: Ditto.
6636 * libc/sys/linux/sys/wait.h: Ditto.
6637
a08c98bb
JJ
66382000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
6639
6640 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
6641 can be a relative path to $(top_srcdir)/install.sh so ensure the
6642 autoconf detected settings are properly passed recursively.
6643 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
6644 properly to subdirectories.
6645 * Makefile.in: Regenerated.
6646
b294082c
JJ
66472000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
6648
6649 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
6650 a floating point register unless really printing a floating
6651 point number.
6652
2005ab6b
JJ
66532000-12-07 Jeff Johnston <jjohnstn@redhat.com>
6654
6655 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
6656 Also removed \r's.
6657 (asctoeg): Replaced alloca call with stack array and malloc
6658 when storage exceeds reasonable limit.
6659 (e53toe): Fixed einfin calls missing ldp parameter.
6660 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
6661
9f6e8f1b
JJ
66622000-12-06 Jeff Johnston <jjohnstn@redhat.com>
6663
2005ab6b 6664
9f6e8f1b
JJ
6665 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
6666
6bdac416
JJ
66672000-12-06 Jeff Johnston <jjohnstn@redhat.com>
6668
6669 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
6670 * libc/stdlib/Makefile.in: Regenerated.
6671 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
6672 * libc/stdio/vfieeefp.h: Added long double bit structures.
6673 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
6674 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
6675 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
6676 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
6677 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
6678 _strtold routines used for conversions between character
6679 and long double.
6680
ec270d31
CV
6681Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
6682
6683 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
6684
db2d9549
JJ
66852000-12-04 Joel Sherrill <joel@OARcorp.com>
6686
6687 * libc/include/machine/time.h: RTEMS systems can configure clock
6688 tick rate so use sysconf() to ask.
6689
6ba54a15
JJ
66902000-12-04 Joel Sherrill <joel@OARcorp.com>
6691
6692 * libc/include/sys/times.h: Add reference to POSIX standard.
6693
8677b819
JJ
66942000-12-04 Joel Sherrill <joel@OARcorp.com>
6695
6696 * libc/include/sys/time.h: Added BSD timer manipulation macros
6697 used by RTEMS code.
6698
1b61a706
JJ
66992000-12-04 Joel Sherrill <joel@OARcorp.com>
6700
6701 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
6702 referenced by code generated by gcc 2.8.1.
6703 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
6704 satisfy gcc.
6705
f5e7c124
JJ
67062000-12-04 Joel Sherrill <joel@OARcorp.com>
6707
6708 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
6709
768abc9c
JJ
67102000-12-04 Joel Sherrill <joel@OARcorp.com>
6711
6712 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
6713
9e5dd5ea
JJ
67142000-12-04 Joel Sherrill <joel@OARcorp.com>
6715
6716 * configure.host (or16, or32): New entries for OpenCores
6717 OpenRisc CPUs.
6718 (*-*-rtems*): Add -DNO_EXEC.
6719
768abc9c 67202000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f
JJ
6721
6722 * libc/include/sys/errno.h: Added comments on many error numbers.
6723 * libc/string/strerror.c: Added some more strings.
6724
b273323f
JJ
67252000-11-30 Jeff Johnston <jjohnstn@redhat.com>
6726
6727 * libc/sys/sh/syscalls.c (_link): New stub.
6728
0ffc3b94
NC
67292000-11-29 Nick Clifton <nickc@redhat.com>
6730
6731 * configure.host: Add xscale target.
6732 * libc/machine/xscale: New directory.
6733 * libc/machine/xscale/Makefile.am: New file.
6734 * libc/machine/xscale/Makefile.in: New file.
6735 * libc/machine/xscale/aclocal.m4: New file.
6736 * libc/machine/xscale/configure: New file.
6737 * libc/machine/xscale/configure.in: New file.
6738 * libc/machine/xscale/memchr.S: New file.
6739 * libc/machine/xscale/memcmp.S: New file.
6740 * libc/machine/xscale/memcpy.S: New file.
6741 * libc/machine/xscale/memmove.S: New file.
6742 * libc/machine/xscale/memset.S: New file.
6743 * libc/machine/xscale/strchr.S: New file.
6744 * libc/machine/xscale/strcmp.S: New file.
6745 * libc/machine/xscale/strcpy.S: New file.
6746 * libc/machine/xscale/strlen.S: New file.
6747
cbbf0f96
CV
6748Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
6749
6750 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
6751 avoid compiler warnings.
6752
73dea790
MM
67532000-11-22 Michael Meissner <meissner@redhat.com>
6754
6755 * libc/posix/execl.c (execl): Don't reference environ directly,
6756 reference it only via a static pointer to avoid problems with some
6757 shared library systems and with different uses of small data where
6758 the user specifies his own version of environ.
6759 * libc/posix/execv.c (execv): Ditto.
6760 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
6761 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
6762 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
6763
6764 * libc/stdlib/getenv.c (environ): Delete unused reference to
6765 environ.
6766
6767 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
6768 colorization.
6769 * libc/stdlib/system.c: Ditto.
6770
08eac2ae
CF
6771Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
6772
6773 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
6774 including windows headers.
6775
5478bf37
JJ
67762000-11-20 Jeff Johnston <jjohnstn@redhat.com>
6777
6778 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
6779 * libc/include/dirent.h: Added definition of MAXNAMLEN if
6780 not defined by sys/dirent.h.
6781 * libc/posix/execvp.c: Added include of dirent.h to get
6782 MAXNAMLEN value which used to be in unistd.h.
6783
3a760728
CV
6784Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
6785
6786 * libc/include/sys/types.h: Change type of i to `size_t' in
6787 FD_ZERO macro to avoid compiler warnings.
6788
86fff69f
CF
6789Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
6790
6791 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
6792 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
6793
ba9e88d2
CV
6794Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
6795
6796 * libc/include/sys/unistd.h: Add defines for sysconf values
6797 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
6798 _SC_AVPHYS_PAGES.
6799
a8018ef3
CF
6800Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
6801
6802 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
6803 declarations for __CYGWIN__.
6804
b944c6f6
GK
68052000-09-19 Geoffrey Keating <geoffk@cygnus.com>
6806
6807 * libc/signal/signal.c (__sigtramp_r): ISO C requires
6808 case labels to be integral constant expressions, so
6809 use an if/else tree instead.
6810 (_raise_r): Likewise.
6811
7f18fcb4
JJ
68122000-09-13 Jeff Johnston <jjohnstn@redhat.com>
6813
6814 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
6815 clipping patch from e-mail reader.
6816
242361df
JJ
68172000-09-13 Will Cohen <wcohen@redhat.com>
6818
6819 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
6820 Added return value 0.
6821 (_longjmp): Allow longjmp to return value of second argument
6822 passed to it.
6823
8a8c59b9
JJ
68242000-09-06 Jeff Johnston <jjohnstn@redhat.com>
6825
6826 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
6827 inline code to prevent having to include another header file.
6828
a385ae75
CF
6829Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
6830
6831 * Makefile.am: Fix space vs. tab problem in install-data-local.
6832 * Makefile.in: Regenerate.
6833
6834Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
6835
6836 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
6837 (_EXPARM): New macro for defining a function parameter.
6838 * libc/include/stdlib.h: Use _EXPARM.
6839 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
6840
a36cd013
JJ
68412000-09-05 Manfred Hollstein <manfredh@redhat.com>
6842
6843 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
6844 required, as documented in the gnu coding standards.
6845 * Makefile.in: Regenerate.
6846
f825dfda
JJ
68472000-09-05 Jeff Johnston <jjohnstn@redhat.com>
6848
6849 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
6850 make O_NDELAY and O_NONBLOCK have the same value.
6851
4ba9aab7
JJ
68522000-08-30 Kazu Hirata <kazu@hxi.com>
6853
6854 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
6855
db7acc38
JJ
68562000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
6857
6858 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
6859 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
6860 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
6861 everywhere else.
6862
44e36af4
GK
68632000-08-30 Geoffrey Keating <geoffk@cygnus.com>
6864
6865 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
6866 * libc/include/string.h: Don't include <sys/types.h>,
6867 as it causes really bad namespace pollution. Don't declare
6868 swab(), it is properly declared in unistd.h.
6869
00a2f168
JJ
68702000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
6871
6872 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
6873 (broken) support for non-existent /etc/passwd field "comment".
6874
6beeb240
JJ
68752000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
6876
6877 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
6878 only if _DIRENT_HAVE_D_NAMLEN is defined.
6879 (alphasort): aligned prototype with
6880 libc/sys/cygwin/sys/dirent.h and simplified function body.
6881 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
6882 long telldir (DIR *) as mentioned in annex B of POSIX.1
6883
ef44da42
JJ
68842000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
6885
6886 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
6887 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
6888 Added __CLI and __STI macros (controlled via
6889 _I386MACH_ALLOW_HW_INTERRUPTS macro).
6890 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
6891 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
6892 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
6893 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
6894 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
6895 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
6896 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
6897 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
6898 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
6899 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
6900 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
6901 for all global entry points.
6902 * libc/machine/i386/setjmp.S: removed code replicated in
6903 libc/machine/i386/i386mach.h and included i386mach.h instead;
6904 Use __CLI and __STI instead of cli and sti.
6905
14d3488d
DD
69062000-08-25 DJ Delorie <dj@redhat.com>
6907
6908 * libc/include/sys/unistd.h (environ): this one isn't from the
6909 DLL, no __IMPORT
6910
c9ca4412
CF
6911Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
6912
6913 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
6914 environ when compiling under cygwin since it is already declared in
6915 unistd.h.
6916
2d5862de
JJ
69172000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
6918
6919 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
6920 like x << y-z to the equivalent x << (y-z).
6921 (d2b): changed if statements with assignment to perform the
6922 assignment prior to the if check.
6923 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
6924 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
6925 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
6926 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
6927 precedence.
6928 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
6929 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
6930 execve.c).
6931 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
6932 precedence.
6933 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
6934 clarify && and || precendence (and to remove pascalism).
6935 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
6936 * libm/math/s_infconst.c: added another pair of braces to all
6937 initializers for __infinity (need three: for __infinity[1] array,
6938 for union __dmath, and for i[2]).
6939
0888fedd
JJ
69402000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
6941
199359f0
JJ
6942 * libc/stdlib/abort.c: changed description: uses "raise" instead of
6943 "getpid" and "kill"; added: uses "write" and "_exit".
6944 Also included unistd.h for "_exit" prototype.
6945 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
6946 reent.h for "_fork_r" and "_wait_r" prototypes.
6947 (do_system): changed extern char *environ[] to POSIX-friendly
6948 extern char **environ.
6949 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
6950 prototypes.
6951 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
6952 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
6953 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
6954 * libc/reent/openr.c: included fcntl.h for "open" prototype.
6955 * libc/reent/signalr.c: included signal.h for "kill" prototype,
6956 unistd.h for "getpid" prototype.
6957 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
6958 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
6959 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
6960 prototype. Also included stdlib.h for "abort", string.h for
6961 "strdup" and "strncmp" prototypes.
6962 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
6963 "strncpy", unistd.h for "read" and "close" prototypes.
6964 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
6965 "strcat" prototypes.
6966
69672000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
6968
0888fedd
JJ
6969 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
6970 used later (ifdef __SCLE)
6971 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
6972 used later (ifdef MB_CAPABLE)
6973 * libc/string/memset.c (memset): removed unused variables "count"
6974 and "unaligned_addr"
6975 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
6976 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
6977 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
6978 and "gid"
6979
a334e5ef
JJ
69802000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
6981
6982 * libc/stdlib/envlock.c: changed documented "__env_lock" and
6983 "__env_unlock" prototype from "void *" or "char *" to
6984 "struct _reent *" to match real function. Also added include
6985 of envlock.h.
6986 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
6987 "__malloc_unlock" prototype from "void *" or "char *" to
6988 "struct _reent *" to match real function.
6989 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
6990 prototypes (for getenv_r.c and setenv_r.c).
6991
644b7f26
DD
69922000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
6993
6994 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
6995 and prototype in cygwin's utmp.h
6996
5bacbf10
JJ
69972000-08-16 Eric Fifer <efifer@sanwaint.com>
6998
6999 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
7000
38a6bf98
NC
70012000-08-09 Nick Clifton <nickc@cygnus.com>
7002
7003 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
7004 epilogue and to allow the functions to be used in a Thumb based
7005 toolchain.
7006
befe0fb3
JJ
70072000-08-08 Jeff Johnston <jjohnstn@redhat.com>
7008
7009 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
7010 so size of 0 results in nothing being written to string.
7011 Also fixed code so that when size is non-zero, there is only
7012 a maximum of size - 1 characters written to the array and
7013 a nul terminator is appended at the end.
7014 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
7015
749d9bcd
DD
70162000-08-01 DJ Delorie <dj@redhat.com>
7017
7018 * libc/include/sys/config.h: define __IMPORT appropriately
7019 * libc/include/ctype.h (_ctype_): use __IMPORT
7020 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
7021 * libc/include/math.h (__mb_cur_max): ditto
7022 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
7023 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
7024 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
7025 * libc/include/unistd.h (environ): ditto
7026
7c110b17
MM
70272000-07-28 Michael Meissner <meissner@redhat.com>
7028
7029 * libc/include/math.h (__infinity): Declare as an array without
7030 bounds to get around small data support. Rewrite Cygwin support
7031 to be more general.
7032 * libm/math/s_infconst.c (__infinity): Ditto.
7033 * libm/mathfp/s_infconst.c (__infinity): Ditto.
7034
bf7be721
CF
7035Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
7036
7037 * libc/include/math.h: Use appropriate dll import linkage for
7038 __infinity under Cygwin.
7039
91a8d90b
DD
70402000-07-13 DJ Delorie <dj@cygnus.com>
7041
7042 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
7043
ba2048d3
JJ
7044Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
7045
7046 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
7047 to argument list for AngelSWI_Reason_GetCmdLine.
7048
4634da64
JJ
7049Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
7050
7051 * configure.host: Add support for AVR target.
7052 * libc/include/machine/ieeefp.h: Likewise.
7053 * libc/include/sys/config.h: Likewise.
7054
b19f72a2
RK
7055Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
7056
7057 * README: Newlib 1.8.2 must be built in a separate directory
7058 than the sources.
7059
a704d94a
JJ
7060Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
7061
7062 * libc/include/sys/reent.h (_rand_next): Added __extension__
7063 qualifier as long long type is not strict ANSI.
7064 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
7065 to long long constant.
7066
b585720b
CV
7067Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
7068
7069 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
7070 `setegid' provided by Cygwin.
7071
01c327ba
CV
7072Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
7073
7074 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
7075 account for Cygwin.
7076
46a43a99
JJ
7077Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
7078
7079 * libc/include/sys/reent.h (_rand_next): Changed to
7080 unsigned long long and moved to end of _reent struct in _new union.
7081 (_REENT_INIT): Changed to move _rand_next initialization.
7082 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
7083 linear congruential algorithm that is used by DJGPP.
7084
a68078cb
RK
7085Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
7086
7087 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
7088 * libc/include/sys/config.h: Define __RAND_MAX.
7089
518882f3
JJ
7090Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
7091
7092 * libc/stdlib/rand_r.c: New algorithm that meets minimal
7093 standard.
7094
d51d968a
CF
7095Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
7096
7097 * libc/include/string.h: Work around problem with strsignal and gdb.
7098
d2dd5765
CF
7099Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
7100
7101 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
7102 * libc/include/malloc.h: Ditto.
7103 * libc/include/process.h: Ditto.
7104 * libc/include/stdio.h: Ditto.
7105 * libc/include/stdlib.h: Ditto.
7106 * libc/include/time.h: Ditto.
7107 * libc/include/machine/setjmp.h: Ditto.
7108 * libc/include/sys/errno.h: Ditto.
7109 * libc/include/sys/signal.h: Ditto.
7110 * libc/include/sys/stat.h: Ditto.
7111 * libc/include/sys/time.h: Ditto.
7112 * libc/include/sys/unistd.h: Ditto.
7113 * libc/include/string.h: Ditto. strsignal should return a const char *.
7114
88870218
JJ
71152000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
7116
7117 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
7118 * libm/common/s_log1p.c (log1p): Likewise.
7119 * libm/common/s_scalbn.c (scalbn): Likewise.
7120 * libm/math/e_log.c: Likewise.
7121 * libm/math/e_asin.c: Likewise.
7122 * libm/math/ef_asin.c: Likewise.
7123 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
7124 * libm/math/e_j1.c (pone, qone): Likewise.
7125 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
7126 * libm/math/ef_j1.c (ponef, qonef): Likewise.
7127 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
7128 * libm/mathfp/e_j1.c (pone, qone): Likewise.
7129 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
7130 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
7131
c4e1aa01
DD
71322000-05-19 DJ Delorie <dj@cygnus.com>
7133
7134 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
7135 (__sread): always read in binary mode
7136 (__swrite): always write in binary mode
7137 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
7138 compatibility issues with different dll versions
7139 * libc/stdio/fopen.c: use __stextmode
7140 * libc/stdio/fdopen.c: ditto
7141 * libc/stdio/freopen.c: ditto
7142 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
7143 * libc/stdio/local.h: declare __stextmode
7144
f4393261
DD
71452000-05-18 DJ Delorie <dj@cygnus.com>
7146
7147 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
7148
2b533fac
JJ
7149Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
7150
7151 * libc/include/ctype.h: Changed tolower and toupper macros
7152 to use __extension__ to prevent pedantic warnings.
7153
75362a76
RK
7154Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
7155
7156 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
7157 structures.
7158
ec463fc7
JW
7159Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
7160
7161 * libc/include/machine/ieeefp.h: Add ia64 support.
7162 * configure.host: Likewise.
7163
f35ceefa
JJ
7164Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
7165
7166 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
7167 month is now padded with space, not zero. This now conforms to
7168 ANSI standard.
7169
b96fca8c
CV
7170Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
7171
7172 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
7173 host or network path") used by cygwin. Add some comments.
7174
49d64538
JJ
7175Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
7176
7177 * libc/include/stdio.h (FILE): define __SCLE for "convert line
7178 endings" for Cygwin.
7179 (__sgetc): convert line endings if needed
7180 (__sputc): ditto
7181 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
7182 * libc/stdio/fopen.c (_fopen_r): ditto
7183 * libc/stdio/freopen.c (freopen): ditto
7184 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
7185 * libc/stdio/fvwrite.c (__sfvwrite): ditto
7186
91fb1e7f
AO
7187Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
7188
7189 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
7190 post-increment when it is worth it, spacewise.
7191
c87be3e4
JJ
7192Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
7193
7194 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
7195 * libc/stdio/findfp.c (std): Added declaration of flags and file.
7196 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
7197 return type.
7198 * libc/stdio/putchar.c (putchar): Added return statement.
7199 * libc/stdio/refill.c (lflush): Added correct parentheses.
7200 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
7201 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
7202 prints long value to use l qualifier.
7203 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
7204 messages and initialized local values: ilim, ilim1, and spec_case.
7205 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
7206 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
7207 * libc/stdlib/mprec.c: Ditto.
7208 * libc/stdlib/setenv_r.c: Ditto.
7209 * libc/stdlib/strtod.c: Ditto.
7210 * libc/stdlib/strtol.c: Ditto.
7211 * libc/stdlib/strtoul.c: Ditto.
7212 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
7213 * libm/common/sf_log1p.c: Ditto.
7214 * libm/common/sf_scalbn.c: Ditto.
7215 * libm/math/ef_log.c: Ditto.
7216
11f5b065
CV
7217Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
7218
7219 * libc/posix/execvp.c (execvp): Check path for
7220 trailing slash.
7221
796e3b20
CV
7222Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
7223
7224 * libc/include/sys/unistd.h: Add prototypes for
7225 fchmod, fchown, lchown.
7226
b489803a
JJ
7227Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
7228
7229 * acinclude.m4: Changed release to 1.8.2.
7230 * aclocal.m4 configure doc/aclocal.m4 doc/configure
7231 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
7232 libc/machine/configure libc/machine/a29k/aclocal.m4
7233 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
7234 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
7235 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
7236 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
7237 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
7238 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
7239 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
7240 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
7241 libc/machine/i386/configure libc/machine/i960/aclocal.m4
7242 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
7243 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
7244 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
7245 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
7246 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
7247 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
7248 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
7249 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
7250 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
7251 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
7252 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
7253 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
7254 libc/machine/v850/configure libc/machine/w65/aclocal.m4
7255 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
7256 libc/machine/z8k/configure libc/sys/aclocal.m4
7257 libc/sys/aclocal.m4 libc/sys/configure
7258 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
7259 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
7260 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
7261 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
7262 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
7263 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
7264 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
7265 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
7266 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
7267 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
7268 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
7269 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
7270 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
7271 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
7272 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
7273 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
7274 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
7275 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
7276 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
7277 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
7278 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
7279 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
7280 libm/aclocal.m4 libm/configure: Regenerated.
7281
79908d67
NC
72822000-03-24 Nick Clifton <nickc@cygnus.com>
7283
7284 * libc/sys/arm/syscalls.c: Fix compile time warnings.
7285 (do_AngelSWI): Add "cc" to list o registers clobbered.
7286
7684ddaf
FN
7287Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
7288
7289 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
7290 information to be clobbered by an Angel C library support syscall.
7291
b8ec20c8
JJ
7292Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
7293
7294 * libc/stdlib/envlock.c: Fixed comment typo.
7295
fae4c299
JJ
7296Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
7297
7298 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
7299 code to update nread as each character is processed instead
7300 of using buffer contents which throw away leading zeroes.
7301
dc98804b
RK
7302Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
7303
7304 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
7305
5ed2f523
JJ
7306Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
7307
7308 * libc/include/string.h: Include <sys/types.h>.
7309
1cf0ee34
AO
7310Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7311
7312 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
7313 with XSH5, not SVID.
7314
e9c94978
JJ
7315Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
7316
7317 * libc/include/string.h: Changed last argument back to ssize_t
7318 to make it compatible with XPG4 definition which is
7319 defined in <unistd.h>. There is a conflict in the SVID 3
7320 and XPG4 definitions and newlib will settle with XPG4.
7321 * libc/string/swab.c: Ditto.
7322
3072163c
JJ
7323Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
7324
7325 * libc/include/string.h: Changed last argument to size_t.
7326 * libc/string/swab.c: Changed last argument to size_t.
7327
f205ea7a
AO
7328Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7329
7330 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
7331 (CHEWOUT_FILES): Added unlinkr.def.
7332 * libc/reent/Makefile.in: Rebuilt.
7333 * libc/sys.tex: Include unlinkr.def.
7334 * libc/reent/linkr.c (_unlink_r): Moved to...
7335 * libc/reent/unlinkr.c: ... new file.
7336
85dd2e5b
AO
7337Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7338
7339 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
7340 (CHEWOUT_FILES): Added swab.def.
7341 * libc/string/Makefile.in: Rebuilt.
7342 * libc/string/string.tex: Include swab.def.
7343 * libc/include/string.h (swab): Declare.
7344 * libc/string/swab.c: New file.
7345
c5053058
AO
7346Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7347
7348 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
7349 (CHEWOUT_FILES): Added getw.def and putw.def.
7350 * libc/stdio/Makefile.in: Rebuilt.
7351 * libc/stdio/stdio.tex: Include getw.def and putw.def.
7352 * libc/stdio/getw.c: New file.
7353 * libc/stdio/putw.c: New file.
7354
dbaf37cf
JJ
7355Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
7356
7357 * libc/stdio/flags.c (__sflags): Added check that mode[1]
7358 is non-null before looking at mode[2].
7359
bc019ef2
RK
7360Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
7361
7362 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
7363 * libm/mathfp/sf_atan.c: Ditto.
7364
7365Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
7366
7367 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
7368
cd641b2d
RK
7369Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
7370
7371 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
7372 _DOUBLE_IS_32BITS.
7373
b0ba0ac2
JJ
7374Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
7375
7376 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
7377 call prior to calling _VFPRINTF_R so reentrant data area is set.
7378 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
7379
8a0efa53
CF
7380Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
7381
7382 * libc/stdio/vfscanf.c (limits.h): #include.
7383 (MAX_LONG_LEN): #define.
7384 (__svfscanf): Handle floating point numbers with arbitrary amounts
7385 of leading zeroes.
7386
73872000-02-15 Nick Clifton <nickc@cygnus.com>
7388
7389 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
7390 zero. Set the blocksize to 1024/
7391
7392Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
7393
7394 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
7395 with line buffering.
7396
7397Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
7398
7399 * acinclude.m4: Changed include directory for winsup headers.
7400 * aclocal.m4 configure libc/aclocal.m4
7401 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
7402 libc/locale/Makefile.in libc/machine/aclocal.m4
7403 libc/machine/configure libc/machine/a29k/aclocal.m4
7404 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
7405 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
7406 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
7407 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
7408 libc/machine/fr30/configure
7409 libc/machine/h8300/aclocal.m4
7410 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
7411 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
7412 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
7413 libc/machine/i386/configure libc/machine/i960/aclocal.m4
7414 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
7415 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
7416 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
7417 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
7418 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
7419 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
7420 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
7421 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
7422 libc/machine/powerpc/configure
7423 libc/machine/sh/aclocal.m4
7424 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
7425 libc/machine/sparc/configure
7426 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
7427 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
7428 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
7429 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
7430 libc/misc/Makefile.in libc/posix/Makefile.in
7431 libc/reent/Makefile.in
7432 libc/signal/Makefile.in
7433 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
7434 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
7435 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
7436 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
7437 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
7438 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
7439 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
7440 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
7441 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
7442 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
7443 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
7444 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
7445 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
7446 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
7447 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
7448 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
7449 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
7450 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
7451 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
7452 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
7453 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
7454 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
7455 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
7456 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
7457 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
7458 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
7459 libm/configure: Regenerated.
7460
7461Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
7462
7463 * libc/stdlib/putenv_r.c (_putenv_r): New file.
7464 * libc/stdlib/strdup_r.c (_strdup_r): New file.
7465 * libc/include/string.h: Added _strdup_r.
7466 * libc/stdlib/putenv.c: Added call to reentrant version.
7467 * libc/stdlib/strdup.c: Ditto.
7468 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
7469 * libc/include/stdlib.h: Ditto.
7470 * libc/stdlib/Makefile.in: Regenerated.
7471 * libc/string/Makefile.in: Regenerated.
7472 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
7473 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
7474 management calls to reentrant versions.
7475 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
7476 * libc/stdlib/wctomb.c: Ditto.
7477 * libc/stdlib/mblen.c: Ditto.
7478 * libc/stdlib/mbstowcs.c: Ditto.
7479 * libc/stdlib/mbtowc.c: Ditto.
7480 * libc/stdlib/getenv.c: Ditto.
7481 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
7482 and _strdup_r.
7483
7484Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
7485
7486 patch from Corinna Vinschen <corinna@vinschen.de>
7487 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
7488
bc019ef2 7489Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
7490
7491 * libm/mathfp/s_atangent.c: Fix exponent calculation.
7492 * libm/mathfp/s_ldexp.c: Ditto.
7493 * libm/mathfp/sf_atangent.c: Ditto.
7494 * libm/mathfp/sf_ldexp.c: Ditto.
7495
7496Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7497
7498 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
7499 * libc/include/locale.h: define NULL to be 0.
7500
7501Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
7502
7503 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
7504 function.
7505
7506Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
7507
7508 * libc/machine/mn10300/setjmp.S: Handle am33.
7509
75101999-11-26 Nick Clifton <nickc@cygnus.com>
7511
7512 * libc/sys/arm/syscalls.c: Add function prototypes.
7513 (stack_ptr): Move declaration before function definitions.
7514
7515Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7516
7517 * NEWS: Updated version information.
7518 * README: Ditto.
7519
7520Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
7521
7522 * libc/machine/i386/strchr.S: Fixed alignment test.
7523
7524Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
7525
7526 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
7527
7528Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
7529
7530 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
7531 ensuring that there is space between the two.
7532
7533Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
7534
7535 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
7536 only.
7537
75381999-10-08 Vadim Egorov <egorovv@1c.ru>
7539
7540 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
7541 section
7542
7543Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
7544
7545 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
7546 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
7547
7548Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
7549 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
7550 per POSIX 1003.1b.
7551 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
7552 per POSIX 1003.1b.
7553
75541999-09-13 DJ Delorie <dj@cygnus.com>
7555
7556 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
7557 also.
7558
7559Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
7560
7561 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
7562 also note BUFSIZ as its size.
7563
7564Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
7565
7566 * configure.host: Corrected feature defines for RTEMS.
7567 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
7568 * libc/include/sys/stat.h: mkfifo() should take const path arg.
7569 * libc/include/sys/unistd.h: pathconf() should take const path arg.
7570 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
7571 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
7572 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
7573 _PC_PRIO_IO, and _PC_SYNC_IO.
7574 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
7575 * libc/machine/m68k/Makefile.in: Regenerated.
7576 * libc/machine/m68k/strcpy.c: New file.
7577 * libc/machine/m68k/strlen.c: New file.
7578 * libc/stdio/tmpnam.c: Always make the returned name usable.
7579 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
7580 * libc/sys/rtems/sys/dirent.h: New file.
7581 * libc/sys/rtems/sys/types.h: Added dev_t.
7582
7583Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
7584
7585 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
7586
7587Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
7588
7589 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
7590 my patch.
7591
7592Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
7593
7594 patch from Jeff Johnston <jjohnstn@cygnus.com>
7595 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
7596 buffer is not in a useful state.
7597
75981999-09-01 Nick Clifton <nickc@cygnus.com>
7599
7600 * libc/sys/arm/syscalls.c (_link): Add stub.
7601
7602Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7603
7604 * ftell.c (ftell): Use actual position within buffer for text mode.
7605 * findfp.c (std): Initialize ptr->_bf._size.
7606
7607Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
7608
7609 * libc/include/sys/unistd.h: Add nice() declaration.
7610
76111999-08-09 Nick Clifton <nickc@cygnus.com>
7612
7613 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
7614 declare as a thumb function so that the disassembler will see the
7615 mode change.
7616
7617Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7618
7619 * libc/reent/reent.tex: Updated list of reentrant functions.
7620
76211999-07-09 Michael Meissner <meissner@cygnus.com>
7622
7623 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
7624
7625Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
7626
7627 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
7628 separate file.
7629 * libc/stdio/snprintf.c: New file.
7630 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
7631 separate file.
7632 * libc/stdio/vsnprintf.c: New file.
7633 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
7634 * libc/stdio/Makefile.in: Regenerated.
7635
7636Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
7637
7638 Patch submitted by Egor Duda <deo@logos-m.ru>:
7639 * libc/include/stdio.h: Add declarations for *nprintf.
7640 * libc/stdio/sprintf.c (snprintf): New function.
7641 (_snprintf_r): New function.
7642 * libc/stdio/vsprintf.c (vsnprintf): New function.
7643 (_vnsprintf_r): New function.
7644
7645Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
7646
7647 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
7648 * libm/Makefile.am (stmp-targetdep): Ditto.
7649 * libc/Makefile.in: Regenerated.
7650 * libm/Makefile.in: Ditto.
7651
7652Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
7653
7654 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
7655 * libm/Makefile.am (stmp-targetdep): Ditto.
7656 * libc/Makefile.in: Regenerated.
7657 * libm/Makefile.in: Ditto.
7658
7659Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
7660
7661 * Makefile.am: Removed dependencies on all-recursive and added "."
7662 to the SUBDIRS list to prevent infinite recursion from occurring.
7663 Also removed any references to EXTRA_DATA.
7664 * libc/Makefile.am: Ditto.
7665 * libc/machine/Makefile.am: Ditto.
7666 * libc/machine/i386/Makefile.am: Ditto.
7667 * libm/Makefile.am: Ditto.
7668 * libc/sys/Makefile.am: Ditto.
7669 * Makefile.in: Regenerated.
7670 * aclocal.m4: Ditto.
7671 * configure: Ditto.
7672 * doc/Makefile.in: Ditto.
7673 * doc/aclocal.m4: Ditto.
7674 * doc/configure: Ditto.
7675 * libc/Makefile.in: Ditto.
7676 * libc/aclocal.m4: Ditto.
7677 * libc/configure: Ditto.
7678 * libc/machine/Makefile.in: Ditto.
7679 * libc/machine/aclocal.m4: Ditto.
7680 * libc/machine/configure: Ditto.
7681 * libc/machine/mn10300/Makefile.in: Ditto.
7682 * libc/machine/mn10300/aclocal.m4: Ditto.
7683 * libc/machine/mn10300/configure: Ditto.
7684 * libc/sys/Makefile.in: Ditto.
7685 * libc/sys/aclocal.m4: Ditto.
7686 * libc/sys/configure: Ditto.
7687 * libm/Makefile.in: Ditto.
7688 * libm/aclocal.m4: Ditto.
7689 * libm/configure: Ditto.
7690
7691Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7692
7693 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
7694
7695Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7696
7697 * libc/include/stdlib.h: Add reentrant routines.
7698 * libc/stdlib/Makefile.am: Add reentrant routines.
7699 * libc/stdlib/Makefile.in: Ditto.
7700 * libc/stdlib/envlock.c: New file.
7701 * libc/stdlib/envlock.h: New file.
7702 * libc/stdlib/getenv.c: Modify to call reentrant routine.
7703 * libc/stdlib/getenv_r.c: New file.
7704 * libc/stdlib/mblen.c: Modify to call reentrant routine.
7705 * libc/stdlib/mblen_r.c: New file.
7706 * libc/stdlib/setenv.c: Modify to call reentrant routine.
7707 * libc/stdlib/setenv_r.c: New file.
7708 * libc/stdlib/stdlib.tex: Add reentrant routines.
7709
7710Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
7711
7712 * libc/include/sys/types.h: Define __MS_types__ whenever
7713 cygwin or win32.
7714
7715Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
7716
7717 * libc/include/machine/ieeefp.h: Always default to little
7718 endian if Windows, regardless of architecture.
7719 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
7720 regardless of architecture.
7721
7722Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
7723
7724 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
7725 _WIN32 isn't defined.
7726
7727Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
7728
7729 * libm/common/s_rint.c (rint): Add volatile qualifier for
7730 intermediate value w.
7731 * libm/common/sf_rint.c (rintf): Ditto.
7732
7733Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
7734
7735 * libc/sys/arm/syscalls.c (remap_handle): Added check to
7736 ensure that std streams are initialized before being referenced.
7737
77381999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
7739
7740 * README: Update reference to newlib@cygnus.com new
7741 newlib@sourceware.cygnus.com address.
7742
7743Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
7744
7745 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
7746 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
7747 defined, even if _WIN32 isn't defined.
7748
7749Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
7750
7751 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
7752
7753Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7754
7755 * libc/include/sys/reent.h: Change Long and ULong to __Long and
7756 __ULong.
7757 * libc/stdlib/dtoa.c: Ditto.
7758 * libc/stdlib/mprec.c: Ditto.
7759 * libc/stdlib/mprec.h: Ditto.
7760 * libc/stdlib/strtod.c: Ditto.
7761
77621999-04-21 Nick Clifton <nickc@cygnus.com>
7763
7764 * configure.host (mcore): Remove mcore machine directory.
7765
77661999-04-18 Nick Clifton <nickc@cygnus.com>
7767
7768 * libc/include/machine/ieeefp.h: Add support for mcore target.
7769 * libc/include/machine/setjmp.h: Add support for mcore target.
7770 * configure.host: Add support for mcore target.
7771
77721999-04-13 Mark Salter <msalter@cygnus.com>
7773
7774 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
7775 * libc/sys/arm/syscalls.c: Added isatty.
7776
7777Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
7778
7779 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
7780 insert zeroes after significant digits.
7781
7782Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
7783
7784 * libc/stdio/vfprintf.c (cvt): Changed floating point
7785 cvt routine to use union used by dtoa to properly determine
7786 if the sign bit is on or not.
7787 * libc/stdio/vfieeefp.h: New file
7788
7789Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
7790
7791 * aclocal.m4: Regenerated.
7792 * configure: Regenerated.
7793
7794Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
7795
7796 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
7797 f_tanf reference.
7798 * libc/machine/i386/Makefile.in: Regenerated.
7799
7800Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
7801
7802 * acinclude.m4: Changed to work with new automake.
7803 * configure: Regenerated.
7804 * libc/machine/i386/aclocal.m4: Regenerated.
7805 * libc/machine/i386/configure: Regenerated.
7806
7807Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
7808
7809 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
7810 for telldir() and seekdir(). Rename unused structure element
7811 for use with these two routines.
7812
7813Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
7814
7815 * libc/time/mktime.c (validate_structure): Multiple fixes to
7816 code to handle cases where input fields are outside valid ranges.
7817 * libc/stdlib/div.c (div): Modified invalid rounding check.
7818 * libc/stdlib/ldiv.c (ldiv): Ditto.
7819
7820Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
7821
7822 * libc/machine/i386/memcpy.S: Performance rewrite.
7823 * libc/machine/i386/memmove.S: Ditto.
7824 * libc/machine/i386/i386mach.h: Added more register definitions.
7825 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
7826 option used.
7827 * libc/include/machine/fastmath.h: Add definitions for x86
7828 fast-math routines.
7829
7830Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7831
7832 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
7833
7834Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
7835
7836 Adjust newlib headers for new Cygwin Win32 API header files:
7837 * libc/include/sys/time.h: Check _WINSOCK_H rather than
7838 _GNU_H_WINDOWS32_SOCKETS.
7839 * libc/include/sys/types.h: Ditto.
7840
7841Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7842
7843 *include/sys/reent.h: Add checks for size of Bigint element Long.
7844 *libc/dtoa.c: Change routines to use generic Long type.
7845 *libc/mprec.c: Change routines to use generic Long type.
7846 *libc/mprec.h: Change routines to use generic Long type.
7847
7848Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
7849
7850 * libc/Makefile.am: Add .def files.
7851 * libc/Makefile.in: Regenerate.
7852 * libc/e_acosh.c: Documentation update.
7853 * libc/e_atanh.c: Documentation update.
7854 * libc/e_hypot.c: Documentation update.
7855 * libc/e_remainder.c: Documentation update.
7856 * libc/er_lgamma.c: Documentation update.
7857 * libc/mathfp.tex: Documentation update.
7858 * libc/s_acos.c: Documentation update.
7859 * libc/s_atan.c: Documentation update.
7860 * libc/s_atan2.c: Documentation update.
7861 * libc/s_cosh.c: Documentation update.
7862 * libc/s_fmod.c: Documentation update.
7863 * libc/s_isnan.c: Documentation update.
7864 * libc/s_log10.c: Documentation update.
7865 * libc/s_pow.c: Documentation update.
7866 * libc/w_jn.c: Documentation update.
7867
7868Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
7869
7870 * aclocal.m4: Regenerate.
7871 * configure: Regenerate.
7872
7873Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
7874
7875 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
7876 to return 1 if user specified return code is 0.
7877 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
7878
7879Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
7880
7881 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
7882 to save the return address. Fixed longjmp to return to the original
7883 calling address of setjmp and to return the user specified return code
7884 rather than default to 1.
7885 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
7886
7887Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
7888
7889 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
7890
78911999-02-10 Nick Clifton <nickc@cygnus.com>
7892
7893 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
7894 volatile so that its assignments will not be discarded.
7895
7896Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
7897
7898 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
7899 be __STRICT_ANSI__ which is generated by compiler.
7900 * libc/include/ctype.h: Ditto.
7901 * libc/include/math.h: Ditto.
7902 * libc/include/stdio.h: Ditto.
7903 * libc/include/stdlib.h: Ditto.
7904 * libc/include/string.h: Ditto.
7905 * libc/include/sys/signal.h: Ditto.
7906
79071999-02-08 Nick Clifton <nickc@cygnus.com>
7908
7909 * configure.host: Add support for StrongARM target.
7910
7911Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
7912
7913 * libc/string/strncpy.c (strncpy): Removed redundant code
7914 that was copying bytes if data unaligned.
7915
79161999-02-02 Brendan Kehoe <brendan@cygnus.com>
7917
7918 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
7919 mbstowcs.def, and wcstombs.def.
7920
7921Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
7922
7923 * libc/include/sys/errno.h: Add Cygwin errno.
7924 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
7925 is specified.
7926
79271999-01-29 Nick Clifton <nickc@cygnus.com>
7928
7929 * libc/sys/arm/syscalls.c: Move C library functions into seperate
7930 file.
7931
7932 * libc/sys/arm/libcfunc.c: New file containing C library functions
7933 from syscalls.c
7934
7935 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
7936 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
7937
7938
79391999-01-27 Michael Meissner <meissner@cygnus.com>
7940
7941 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
7942 type, and cut size in half so that the jmp_buf array is guaranteed
7943 to be aligned on a 64-bit boundary.
7944
7945Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
7946
7947 * libc/string/strings.tex: Added information about
7948 strcasecmp and strncasecmp.
7949 * libc/stdlib/stdlib.tex: Added missing information
7950 about mblen, mbstowcs, and wcstombs.
7951 * libc/string/strchr.c: Changed how mask is built to use
7952 shift operators so register will be used instead of storage.
7953
79541999-01-22 DJ Delorie <dj@cygnus.com>
7955
7956 * libc/include/stdlib.h: don't use dllimport if we're building
7957 newlib, since it's inside cygwin.dll
7958
7959Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
7960
7961 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
7962 _ctype_ under cygwin.
7963
7964Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
7965
7966 * include/stdlib.h: Fix typo from previous checkin.
7967
7968Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
7969
7970 * include/ctype.h: Use __declspec(dllimport) method for exporting
7971 variable from cygwin DLL.
7972 * include/time.h: Ditto.
7973 * sys/errno.h: Ditto.
7974 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
7975 * libc/locale/locale.c: Use __declspec(dllexport) method for
7976 exporting variable from cygwin DLL.
7977
7978Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
7979
7980 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
7981 access of bogus pointer will result in SIGSEGV.
7982
79831999-01-07 Nick Clifton <nickc@cygnus.com>
7984
7985 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
7986 of an underscore prefix to function names.
7987
7988Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
7989
7990 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
7991 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
7992
79931998-12-31 Michael Meissner <meissner@cygnus.com>
7994
7995 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
7996 to `%' if not already defined.
7997
79981998-12-30 Michael Meissner <meissner@cygnus.com>
7999
8000 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
8001 arguments const char *, not char *.
8002 * libc/include/stdio.h (_tempnam_r): Ditto.
8003
8004 * libc/include/sys/reent.h (struct _reent): The _sig_func type
8005 points to a function taking an integer, not void.
8006
8007Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
8008
8009 * configure.host: Add a define for Cygwin builds.
8010 * libc/include/ctype.h: Don't use dll imported variables in newlib.
8011
8012Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
8013
8014 * libc/include/ctype.h: Define _ctype_ as dll imported variable
8015 for use with Cygwin.
8016 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
8017 dll imported variables for use with Cygwin.
8018 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
8019 as a dll imported variable for Cygwin.
8020
8021Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
8022
8023 * libc/include/sys/unistd.h: Add proto for getpass.
8024
8025Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
8026
8027 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
8028 alphasort.
8029
8030Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
8031
8032 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
8033 not posix_path_list_p.
8034
80351998-12-15 Nick Clifton <nickc@cygnus.com>
8036
8037 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
8038 a signed int.
8039
80401998-12-13 Nick Clifton <nickc@cygnus.com>
8041
8042 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
8043
80441998-12-12 Nick Clifton <nickc@cygnus.com>
8045
8046 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
8047 <msalter@cygnus.com>
8048 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
8049 * libc/machine/fr30/Makefile.in: Regenerated.
8050
80511998-12-11 Nick Clifton <nickc@cygnus.com>
8052
8053 * configure.host: Remove use of libc/sys for FR30 port.
8054 * libc/sys/fr30: Remove directory (replaced by libgloss).
8055
80561998-12-10 Ken Raeburn <raeburn@cygnus.com>
8057
8058 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
8059 * libc/string/strncat.c (ALIGNED): Ditto.
8060
8061Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
8062
8063 * libc/include/sys/time.h: include sys/types.h
8064
8065Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
8066
8067 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
8068 comparison found when checking word at a time.
8069
80701998-12-04 Nick Clifton <nickc@cygnus.com>
8071
8072 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
8073
80741998-12-03 Nick Clifton <nickc@cygnus.com>
8075
8076 * libc/sys/fr30/syscalls.c (_times): New function stub.
8077
8078Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
8079
8080 * configure.host (mach_add_setjmp): Replaced mach_add_objs
8081 with mach_add_setjmp flag which indicates if setjmp should
8082 be added to the machine directory objects.
8083 * acinclude.m4: Removed reference to mach_add_objs.
8084 * aclocal.m4: Regenerated.
8085 * Makefile.in: Regenerated.
8086 * configure: Regenerated.
8087 * libc/aclocal.m4: Regenerated.
8088 * libc/Makefile.in: Regenerated.
8089 * libc/configure: Regenerated.
8090 * libc/machine/aclocal.m4: Regenerated.
8091 * libc/machine/Makefile.in: Regenerated.
8092 * libc/machine/configure: Regenerated.
8093 * libc/machine/i386/aclocal.m4: Regenerated.
8094 * libc/machine/i386/Makefile.am: Altered to selectively add
8095 setjmp.S to the src files list.
8096 * libc/machine/i386/Makefile.in: Regenerated.
8097 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
8098 * libc/machine/i386/configure: Regenerated.
8099
81001998-12-02 Nick Clifton <nickc@cygnus.com>
8101
8102 * libc/sys/fr30/crt0.s (_start): Fix function names.
8103
8104 * libc/machine/fr30: New directory
8105 * libc/machine/fr30/Makefile.am: New file.
8106 * libc/machine/fr30/Makefile.in: New generated file.
8107 * libc/machine/fr30/configure.in: New file.
8108 * libc/machine/fr30/configure: New generated file.
8109 * libc/machine/fr30/aclocal.m4: New generated file.
8110 * libc/sys/fr30/Makefile.am: New file.
8111 * libc/sys/fr30/Makefile.in: New generated file.
8112 * libc/sys/fr30/configure.in: New file.
8113 * libc/sys/fr30/configure: New generated file.
8114 * libc/sys/fr30/syscalls.c: New file.
8115
8116Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
8117
8118 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
8119
81201998-12-01 Ken Raeburn <raeburn@cygnus.com>
8121
8122 * libc/time/strftime.c (strftime): Also handle %y for years before
8123 1900.
8124
8125Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
8126
8127 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
8128 UNIX convention. Perform tolower on characters before comparing
8129 them rather than use toupper.
8130 * libc/string/strncasecmp.c (strncasecmp): Ditto.
8131
8132Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
8133
8134 * configure.host: Added using i386 machine directory
8135 for all x86 cross-compiler and configuring
8136 which added object files to use via new "mach_add_objs" variable.
8137 * configure: Regenerated.
8138 * libc/configure: Regenerated.
8139 * libc/Makefile.in: Regenerated.
8140 * libc/aclocal.m4: Regenerated.
8141 * libc/ctype/Makefile.in: Regenerated.
8142 * libc/errno/Makefile.in: Regenerated.
8143 * libc/locale/Makefile.in: Regenerated.
8144 * libc/machine/Makefile.in: Regenerated.
8145 * libc/machine/aclocal.m4: Regenerated.
8146 * libc/machine/configure: Regenerated.
8147 * libc/posix/Makefile.in: Regenerated.
8148 * libc/reent/Makefile.in: Regenerated.
8149 * libc/signal/Makefile.in: Regenerated.
8150 * libc/stdio/Makefile.in: Regenerated.
8151 * libc/stdlib/Makefile.in: Regenerated.
8152 * libc/string/Makefile.in: Regenerated.
8153 * libc/string/memmove.c: Optimized code to use memcpy
8154 logic when performing a non-destructive copy.
8155 * libc/string/strncmp.c: Altered code to allow building
8156 optimized for size or speed.
8157 * libc/syscalls/Makefile.in: Regenerated.
8158 * libc/time/Makefile.in: Regenerated.
8159 * libc/unix/Makefile.in: Regenerated.
8160 * libc/machine/i386/Makefile.am: Added new files and reference
8161 to "mach_add_objs" to indicate optional object files.
8162 * libc/machine/i386/Makefile.in: Regenerated.
8163 * libc/machine/i386/aclocal.m4: Regenerated.
8164 * libc/machine/i386/configure: Regenerated.
8165 * libc/machine/i386/memchr.S: New file that implements
8166 function in Intel assembler.
8167 * libc/machine/i386/memcmp.S: ditto.
8168 * libc/machine/i386/memcpy.S: ditto.
8169 * libc/machine/i386/memmove.S: ditto.
8170 * libc/machine/i386/memset.S: ditto.
8171 * libc/machine/i386/strchr.S: ditto.
8172 * libc/machine/i386/strlen.S: ditto.
8173 * libc/machine/i386/f_atan2.S: New file that implements
8174 fast version of math function to be used by compiler when
8175 --ffast_math compile option is used.
8176 * libc/machine/i386/f_atan2f.S: ditto.
8177 * libc/machine/i386/f_exp.c: ditto.
8178 * libc/machine/i386/f_expf.c: ditto.
8179 * libc/machine/i386/f_frexp.S: ditto.
8180 * libc/machine/i386/f_frexpf.S: ditto.
8181 * libc/machine/i386/f_ldexp.S: ditto.
8182 * libc/machine/i386/f_ldexpf.S: ditto.
8183 * libc/machine/i386/f_log.S: ditto.
8184 * libc/machine/i386/f_logf.S: ditto.
8185 * libc/machine/i386/f_log10.S: ditto.
8186 * libc/machine/i386/f_log10f.S: ditto.
8187 * libc/machine/i386/f_math.h: New file.
8188 * libc/machine/i386/f_pow.c: ditto.
8189 * libc/machine/i386/f_powf.S: ditto.
8190 * libc/machine/i386/f_tan.S: ditto.
8191 * libc/machine/i386/f_tan.S: ditto.
8192 * libc/machine/i386/i386mach.h: New file.
8193
8194Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
8195
8196 patch from Mumit Khan <khan@xraylith.wisc.edu>
8197 * libc/include/stdio.h (tempnam): Add prototype.
8198 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
8199 (tempnam): Adhere to prototype.
8200
8201Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
8202
8203 * Makefile.am: Add default for AR_FLAGS.
8204 * Makefile.in: Regenerate.
8205
8206Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
8207
8208 * libc/include/time.h: move __cplusplus wrapper after includes
8209 * libc/include/sys/time.h: ditto. If Cygwin, include
8210 sys/select.h.
8211 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
8212
82131998-11-23 Ken Raeburn <raeburn@cygnus.com>
8214
8215 * libc/time/strftime.c (strftime): Handle %y after year 2000.
8216
8217Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
8218
8219 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
8220 abnormnal end-of-crt0 marker.
8221
8222Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
8223
8224 * libc/sys/fr30/crt0.s: New file/directory.
8225 * libc/include/machine/setjmp.h: Add FR30 target.
8226 * libc/include/machine/ieeefp.h: Add FR30 target.
8227 * configure.host: Add FR30 target.
8228
8229Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
8230
8231 * libm/math: Files that are duplicated in common directory removed.
8232 * libm/math/fdlibm.h: Removed.
8233 * libm/math/s_cbrt.c: Removed.
8234 * libm/math/s_copysign.c: Removed.
8235 * libm/math/s_expm1.c: Removed.
8236 * libm/math/s_finite.c: Removed.
8237 * libm/math/s_ilogb.c: Removed.
8238 * libm/math/s_infinity.c: Removed.
8239 * libm/math/s_lib_ver.c: Removed.
8240 * libm/math/s_log1p.c: Removed.
8241 * libm/math/s_logb.c: Removed.
8242 * libm/math/s_matherr.c: Removed.
8243 * libm/math/s_modf.c: Removed.
8244 * libm/math/s_nan.c: Removed.
8245 * libm/math/s_nextafter.c: Removed.
8246 * libm/math/s_rint.c: Removed.
8247 * libm/math/s_scalbn.c: Removed.
8248 * libm/math/sf_cbrt.c: Removed.
8249 * libm/math/sf_copysign.c: Removed.
8250 * libm/math/sf_expm1.c: Removed.
8251 * libm/math/sf_finite.c: Removed.
8252 * libm/math/sf_ilogb.c: Removed.
8253 * libm/math/sf_infinity.c: Removed.
8254 * libm/math/sf_log1p.c: Removed.
8255 * libm/math/sf_logb.c: Removed.
8256 * libm/math/sf_modf.c: Removed.
8257 * libm/math/sf_nan.c: Removed.
8258 * libm/math/sf_nextafter.c: Removed.
8259 * libm/math/sf_rint.c: Removed.
8260 * libm/math/sf_scalbn.c: Removed.
8261 * libm/math/Makefile.am: Removed references to deleted files (above).
8262 * libm/math/Makefile.in: Regenerated.
8263 * libm/Makefile.am: Added common directory to math.
8264 * libm/Makefile.in: Regenerated.
8265
8266Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
8267
8268 * libm/mathfp: Add non-ANSI functions.
8269 * libm/mathfp/e_acosh.c acosh(): New file.
8270 * libm/mathfp/e_atanh.c atanh(): New file.
8271 * libm/mathfp/e_hypot.c hypot(): New file.
8272 * libm/mathfp/e_j0.c j0(): New file.
8273 * libm/mathfp/e_j1.c j1(): New file.
8274 * libm/mathfp/e_remainder.c remainder(): New file.
8275 * libm/mathfp/e_scalb.c scalb(): New file.
8276 * libm/mathfp/ef_acosh.c acoshf(): New file.
8277 * libm/mathfp/ef_atanh.c atanhf(): New file.
8278 * libm/mathfp/ef_hypot.c hypotf(): New file.
8279 * libm/mathfp/ef_j0.c j0f(): New file.
8280 * libm/mathfp/ef_j1.c j1f(): New file.
8281 * libm/mathfp/ef_remainder.c remainderf(): New file.
8282 * libm/mathfp/ef_scalb.c scalbf(): New file.
8283 * libm/mathfp/er_gamma.c gamma_r: New file.
8284 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
8285 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
8286 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
8287 * libm/mathfp/w_cabs.c cabs(): New file.
8288 * libm/mathfp/w_drem.c drem(): New file.
8289 * libm/mathfp/w_jn.c jn(): New file.
8290 * libm/mathfp/wf_cabs.c cabsf(): New file.
8291 * libm/mathfp/wf_drem.c dremf(): New file.
8292 * libm/mathfp/wf_jn.c jnf(): New file.
8293
8294Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
8295
8296 * libc/sys/cygwin32: remove directory and contents
8297 * libc/sys/cygwin: and add back, losing the "32".
8298 * configure.host: check for cygwin* instead of cygwin32.
8299 * acinclude.m4: ditto.
8300 * aclocal.m4: regenerate with aclocal
8301 * configure: regenerate with autoconf
8302
8303Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
8304
8305 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
8306 for length
8307
8308Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
8309
8310 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
8311 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
8312 to make rand/srand, strtok, asctime, localtime, w_gamma,
8313 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
8314 time.h to bring in struct tm definition.
8315 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
8316 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
8317 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
8318 instead of static variable.
8319 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
8320 struct reent instead of static variable.
8321 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
8322 struct reent instead of static variable.
8323 * libm/math/Makefile.am: Removed s_signgam.o.
8324 * libm/math/Makefile.in: Regenerated.
8325 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
8326 struct reent instead of global variable 'signgam'.
8327 * libm/math/w_lgamma.c (lgamma): Likewise.
8328 * libm/math/wf_gamma.c (gammaf): Likewise.
8329 * libm/math/wf_lgamma.c (lgammaf): Likewise.
8330 * libm/math/s_signgam.c: Removed.
8331 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
8332 to be const.
8333 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
8334 to be const.
8335 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
8336 libc/include/reent.h.
8337 * libc/reent/Makefile.in: Regenerated.
8338 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
8339 to be const.
8340 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
8341 'JIS_action_table' to be const.
8342 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
8343
8344Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
8345
8346 * acinclude.m4: $with_target_subdir should default to '.'
8347 or confusion results when configuring in same directory as sources.
8348 * Regenerate all aclocal.m4 and configure files.
8349
8350Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
8351
8352 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
8353 can be set by defining MALLOC_ALIGNMENT=16. Also added support
8354 for platforms where sizeof(size_t) < sizeof(long) via
8355 SIZE_T_SMALLER_THAN_LONG macro.
8356
8357Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
8358
8359 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
8360 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
8361 which sets _CLOCKS_PER_SEC_ for selected machines.
8362 * libc/include/machine/time.h: New file.
8363
8364Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
8365
8366 * libc/syscalls/sysexecve.c: New file.
8367 * libc/syscalls/sysgettod.c: New file.
8368 * libc/syscalls/systimes.c: New file.
8369 * libc/syscalls/Makefile.am: Added new objects.
8370 * libc/syscalls/Makefile.in: Regenerated.
8371 * libc/include/_syslist.h (_execve): Moved define in file.
8372 * libc/include/reent.h: Added _execve_r declaration.
8373 * libc/Makefile.in: Regenerated.
8374 * libc/ctype/Makefile.in: Regenerated.
8375 * libc/errno/Makefile.in: Regenerated.
8376 * libc/locale/Makefile.in: Regenerated.
8377 * libc/machine/Makefile.in: Regenerated.
8378 * libc/misc/Makefile.in: Regenerated.
8379 * libc/posix/Makefile.in: Regenerated.
8380 * libc/reent/Makefile.in: Regenerated.
8381 * libc/reent/execr.c (_execve_r): Added _execve_r function.
8382 * libc/signal/Makefile.in: Regenerated.
8383 * libc/stdio/Makefile.in: Regenerated.
8384 * libc/time/Makefile.in: Regenerated.
8385 * libc/unix/Makefile.in: Regenerated.
8386 * libm/mathfp/Makefile.in: Regenerated.
8387
8388Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
8389
8390 * libc/string/Makefile.in: Regenerated.
8391 * libc/string/memchr.c (memchr): Moved code to reduce object size.
8392 * libc/string/memcpy.c (memcpy): Ditto.
8393 * libc/string/memcmp.c (memcmp): Ditto.
8394 * libc/string/memset.c (memset): Ditto.
8395 * libc/string/strchr.c (strchr): Ditto.
8396 * libc/string/strcmp.c (strcmp): Ditto.
8397 * libc/string/strcpy.c (strcpy): Ditto.
8398 * libc/string/strlen.c (strlen): Ditto.
8399
8400Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
8401
8402 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
8403 to generate aclocal.m4.
8404 * libm/Makefile.in: Regenerated.
8405 * libm/aclocal.m4: Regenerated.
8406 * libm/configure: Regenerated.
8407 * libm/math/Makefile.in: Regenerated.
8408 * libm/mathfp/Makefile.in: Regenerated.
8409
84101998-09-25 Mark Salter <msalter@cygnus.com>
8411
8412 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
8413 by adding leading and trailing underscores to symbol names.
8414
8415Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
8416
8417 * Makefile.in: Add default for AR_FLAGS.
8418
8419Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
8420
8421 patch from ian@airs.com (Ian Taylor):
8422 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
8423 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
8424 is needed for detecting the build machine. Required for
8425 cygwin native builds.
8426
8427 * Regenerate all aclocal.m4 and configure files.
8428
8429Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
8430
8431 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
8432 used to start with LC.
8433
8434Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8435
8436 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
8437 (longjmp): Likewise.
8438
8439Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8440
8441 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
8442 the test for small number of bytes.
8443
8444Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
8445
8446 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
8447 math library that uses floating point algorithms instead of the old
8448 libm.
8449 * Makefile.in: Regenerate with automake version 1.3b.
8450 * configure: Rebuild.
8451 * libm/Makefile.in: Regenerate with automake version 1.3b.
8452 * libm/aclocal.m4: Regenerate.
8453 * libm/configure: Rebuild.
8454 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
8455 * libm/acinclude.m4: Define macros for configure.in.
8456 * libm/config.h.in: Generate.
8457 * libm/mathfp/Makefile.am: New file.
8458 * libm/mathfp/Makefile.in: Generate.
8459 * libm/mathfp/s_acos.c (acos): New file.
8460 * libm/mathfp/s_asin.c (asin): New file.
8461 * libm/mathfp/s_asine.c (asine): New file.
8462 * libm/mathfp/s_atan.c (atan): New file.
8463 * libm/mathfp/s_atan2.c (atan2): New file.
8464 * libm/mathfp/s_atangent.c (atangent): New file.
8465 * libm/mathfp/s_ceil.c (ceil): New file.
8466 * libm/mathfp/s_copysign.c (copysign): New file.
8467 * libm/mathfp/s_cos.c (cos): New file.
8468 * libm/mathfp/s_cosh.c (cosh): New file.
8469 * libm/mathfp/s_exp.c (exp): New file.
8470 * libm/mathfp/s_fabs.c (fabs): New file.
8471 * libm/mathfp/s_finite.c (finite): New file.
8472 * libm/mathfp/s_floor.c (floor): New file.
8473 * libm/mathfp/s_fmod.c (fmod): New file.
8474 * libm/mathfp/s_frexp.c (frexp): New file.
8475 * libm/mathfp/s_infconst.c: New file.
8476 * libm/mathfp/s_isinf (isinf).c: New file.
8477 * libm/mathfp/s_isnan.c (isnan): New file.
8478 * libm/mathfp/s_ispos.c (ispos): New file.
8479 * libm/mathfp/s_ldexp.c (ldexp): New file.
8480 * libm/mathfp/s_log.c (log): New file.
8481 * libm/mathfp/s_log10.c (log10): New file.
8482 * libm/mathfp/s_logarithm.c (logarithm): New file.
8483 * libm/mathfp/s_mathcnst.c: New file.
8484 * libm/mathfp/s_modf (modf).c: New file.
8485 * libm/mathfp/s_numtest.c (numtest): New file.
8486 * libm/mathfp/s_pow.c (pow): New file.
8487 * libm/mathfp/s_scalbn.c (scalbn): New file.
8488 * libm/mathfp/s_sin (sin).c: New file.
8489 * libm/mathfp/s_sine.c (sine): New file.
8490 * libm/mathfp/s_sineh.c (sineh): New file.
8491 * libm/mathfp/s_sinf.c (sinf): New file.
8492 * libm/mathfp/s_sinh.c (sinh): New file.
8493 * libm/mathfp/s_sqrt.c (sqrt): New file.
8494 * libm/mathfp/s_tan.c (tan): New file.
8495 * libm/mathfp/s_tanh.c (tanh): New file.
8496 * libm/mathfp/sf_acos.c (acosf): New file.
8497 * libm/mathfp/sf_asin.c (asinf): New file.
8498 * libm/mathfp/sf_asine.c (asinef): New file.
8499 * libm/mathfp/sf_atan.c (atanf): New file.
8500 * libm/mathfp/sf_atan2.c (atan2f): New file.
8501 * libm/mathfp/sf_atangent.c (atangent): New file.
8502 * libm/mathfp/sf_ceil.c (ceilf): New file.
8503 * libm/mathfp/sf_copysign.c (copysignf): New file.
8504 * libm/mathfp/sf_cos.c (cosf): New file.
8505 * libm/mathfp/sf_cosh.c (coshf): New file.
8506 * libm/mathfp/sf_exp.c (expf): New file.
8507 * libm/mathfp/sf_fabs.c (fabsf): New file.
8508 * libm/mathfp/sf_finite.c (finitef): New file.
8509 * libm/mathfp/sf_floor.c (floorf): New file.
8510 * libm/mathfp/sf_fmod.c (fmodf): New file.
8511 * libm/mathfp/sf_frexp.c (frexpf): New file.
8512 * libm/mathfp/sf_isinf.c (isinff): New file.
8513 * libm/mathfp/sf_isnan.c (isnanf): New file.
8514 * libm/mathfp/sf_ispos.c (isposf): New file.
8515 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
8516 * libm/mathfp/sf_log.c (logf): New file.
8517 * libm/mathfp/sf_log10.c (log10f): New file.
8518 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
8519 * libm/mathfp/sf_modf.c (modff): New file.
8520 * libm/mathfp/sf_numtest.c (numtestf): New file.
8521 * libm/mathfp/sf_pow.c (powf): New file.
8522 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
8523 * libm/mathfp/sf_sin.c (sinf): New file.
8524 * libm/mathfp/sf_sine.c (sinef): New file.
8525 * libm/mathfp/sf_sineh.c (sinehf): New file.
8526 * libm/mathfp/sf_sinh.c (sinhf): New file.
8527 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
8528 * libm/mathfp/sf_tan.c (tanf): New file.
8529 * libm/mathfp/sf_tanh.c (tanhf): New file.
8530 * libm/mathfp/zmath.h: New file.
8531
8532Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8533
8534 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
8535 exit if it has been overwritten by pre-fetching in delay slot.
8536
85371998-09-01 Michael Meissner <meissner@cygnus.com>
8538
8539 * Makefile.am (tooldir): Add in host_alias, so that multilib
8540 libraries are installed in the directory the compiler looks in.
8541 * Makefile.in: Regenerate.
8542
8543 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
8544
8545Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
8546
8547 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
8548 ahead of test for number of bytes being moved.
8549
8550Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
8551
8552 * libc/include/sys/unistd.h: Nothing special needed for
8553 _exit under cygwin.
8554
8555Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
8556
8557 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
8558 conform to user label naming conventions.
8559
8560Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
8561
8562 * libc/sys/cygwin32/sys/utime.h: variable names in
8563 protos should start with two leading underscores
8564 * libc/include/string.h: ditto
8565 * libc/include/sys/signal.h: ditto
8566 * libc/include/sys/stat.h: ditto
8567 * libc/include/sys/time.h: ditto
8568 * libc/include/sys/unistd.h: ditto
8569 * libc/include/ctype.h: ditto
8570 * libc/include/stdlib.h: ditto
8571 * libc/include/sys/reent.h: struct _atexit function ptr takes a
8572 void, same with _sig_func.
8573
8574Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
8575
8576 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
8577 for MB_CAPABLE to reduce code size when newlib is not configured
8578 with --enable-newlib-mb.
8579 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
8580 mbtowc_r.o to minimize size.
8581 * libc/stdlib/Makefile.in: Rebuild.
8582
8583Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
8584
8585 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
8586 to -DREENT.
8587 * libc/sys/sparc64/Makefile.in: Rebuild.
8588
8589Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
8590
8591 * Makefile.am (MAKEOVERRIDES): Define.
8592 * Makefile.in: Rebuild.
8593
8594Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
8595
8596 * libc/sys/sparc64/sys/stat.h (stat): Add const.
8597
8598Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
8599
8600 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
8601 newlib_cflags when looking for targ-include.
8602 * */aclocal.m4, */configure: Rebuild.
8603
8604Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
8605
8606 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
8607 to "_end".
8608
8609Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
8610
8611 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
8612 on SPARCs with little-endian data.
8613 * libc/include/machine/ieeefp.h: Ditto.
8614
8615Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
8616
8617 * acinclude.m4: Handle a relative srcdir correctly when setting
8618 newlib_cflags.
8619 * */aclocal.m4, */configure: Rebuild.
8620
8621Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
8622
8623 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
8624 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
8625 * libm/math/wrf_gamma.c (gammaf_r): ditto
8626 * libm/math/wr_lgamma.c (lgamma_r): ditto
8627 * libm/math/wr_gamma.c (gamma_r): ditto
8628 * libm/math/wf_sqrt.c (sqrtf): ditto
8629 * libm/math/wf_sinh.c (sinhf): ditto
8630 * libm/math/wf_scalb.c (scalbf): ditto
8631 * libm/math/wf_remainder.c (remainderf): ditto
8632 * libm/math/wf_pow.c (powf): ditto
8633 * libm/math/wf_log10.c (log10f): ditto
8634 * libm/math/wf_log.c (logf): ditto
8635 * libm/math/wf_lgamma.c (lgammaf): ditto
8636 * libm/math/wf_jn.c (jnf, ynf): ditto
8637 * libm/math/wf_j1.c (j1f, y1f): ditto
8638 * libm/math/wf_j0.c (j0f, y0f): ditto
8639 * libm/math/wf_hypot.c (hypotf): ditto
8640 * libm/math/wf_gamma.c (gammaf): ditto
8641 * libm/math/wf_fmod.c (fmodf): ditto
8642 * libm/math/wf_exp.c (expf): ditto
8643 * libm/math/wf_cosh.c (coshf): ditto
8644 * libm/math/wf_atanh.c (atanhf): ditto
8645 * libm/math/wf_atan2f.c (atan2f): ditto
8646 * libm/math/wf_asin.c (asinf): ditto
8647 * libm/math/wf_acosh.c (acoshf): ditto
8648 * libm/math/wf_acos.c (acosf): ditto
8649 * libm/math/w_sqrt.c (sqrt): ditto
8650 * libm/math/w_sinh.c (sinh): ditto
8651 * libm/math/w_scalb.c (scalb): ditto
8652 * libm/math/w_remainder.c (remainder): ditto
8653 * libm/math/w_pow.c (pow): ditto
8654 * libm/math/w_log10.c (log10): ditto
8655 * libm/math/w_log.c (log): ditto
8656 * libm/math/w_lgamma.c (lgamma): ditto
8657 * libm/math/w_jn.c (jn, yn): ditto
8658 * libm/math/w_j1.c (j1, y1): ditto
8659 * libm/math/w_j0.c (j0, y0): ditto
8660 * libm/math/w_hypot.c (hypot): ditto
8661 * libm/math/w_gamma.c (gamma): ditto
8662 * libm/math/w_fmod.c (fmod): ditto
8663 * libm/math/w_exp.c (exp): ditto
8664 * libm/math/w_cosh.c (cosh): ditto
8665 * libm/math/w_atanh.c (atanh): ditto
8666 * libm/math/w_atan2f.c (atan2): ditto
8667 * libm/math/w_asin.c (asin): ditto
8668 * libm/math/w_acosh.c (acosh): ditto
8669 * libm/math/w_acos.c (acos): ditto
8670
8671Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
8672
8673 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
8674 (fsrc): Add wf_cabs.c and wf_drem.c.
8675 * libm/math/Makefile.in: Rebuild.
8676
8677 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
8678 unused directory variables. Remove duplicate CFLAGS.
8679 * Makefile.in: Rebuild.
8680
8681 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
8682 with $(CC_FOR_BUILD).
8683 (makedoc.o): Likewise.
8684 * doc/Makefile.in: Rebuild.
8685
8686 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
8687 force a definition of COMPILE.
8688 (libfoo_a_SOURCES): Define.
8689 * libc/sys/cygwin32/Makefile.in: Rebuild.
8690 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
8691 force a definition of COMPILE.
8692 (libfoo_a_SOURCES): Define.
8693 * libc/sys/tic80/Makefile.in: Rebuild.
8694
8695Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
8696
8697 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
8698 flag.
8699
8700Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
8701
8702 * Build using autoconf and automake. Added many Makefile.am and
8703 configure.in files, plus generated files. Old configure.in files
8704 and all old Makefile.in files completely replaced. Removed
8705 host/any. Added acinclude.m4 and configure.host.
8706
8707Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
8708
8709 * libc/stdio/vfprintf.c: enable long long support, sometimes.
8710 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
8711
8712Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8713
8714 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
8715 * libc/machine/sh/Makefile.in: Add rules for new files.
8716
8717Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8718
8719 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
8720 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
8721 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
8722
8723Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
8724
8725 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
8726 code is ignored.
8727
8728Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
8729
8730 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
8731 internal static buffer when s is NULL, as prescribed by ANSI.
8732
87331998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
8734
8735 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
8736 removed.
8737 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
8738 libc/stdlib will be used for h8300hms.
8739
8740Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
8741
8742 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
8743 version that can be built either for speed or size.
8744 * libc/machine/mn10300/memset.S (_memset): ditto
8745 * libc/machine/mn10300/memchr.S (_memchr): ditto
8746 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
8747 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
8748 * libc/machine/mn10300/strchr.S (_strchr): ditto
8749 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
8750 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
8751 * libc/machine/mn10300/Makefile.in: Added entries for
8752 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
8753 strcmp.o, strcpy.o, and strlen.o.
8754
8755Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
8756
8757 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
8758 been replaced with libgloss/mn10200.
8759
8760Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
8761
8762 * libc/string/strchr.c (strchr): Make s a constant pointer to
8763 avoid warning.
8764
8765Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
8766
8767 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
8768 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
8769 board SWIs instead of Demon board SWIs).
8770
8771Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
8772
8773 * libc/string/strncat.c (strncat): Make -Os act the same as
8774 PREFER_SIZE_OVER_SPEED being defined.
8775
8776Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
8777
8778 * libc/string/memchr.c (memchr): Make -Os act the same as
8779 PREFER_SIZE_OVER_SPEED being defined.
8780 * libc/string/memcmp.c (memcmp): Ditto.
8781 * libc/string/memcpy.c (memcpy): Ditto.
8782 * libc/string/memset.c (memset): Ditto.
8783 * libc/string/strcat.c (strcat): Ditto.
8784 * libc/string/strchr.c (strchr): Ditto.
8785 * libc/string/strcmp.c (strcmp): Ditto.
8786 * libc/string/strcpy.c (strcpy): Ditto.
8787 * libc/string/strlen.c (strlen): Ditto.
8788 * libc/string/strncat.c (strncat): Ditto.
8789 * libc/string/strncmp.c (strncmp): Ditto.
8790 * libc/string/strncpy.c (strncpy): Ditto.
8791
8792Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
8793
8794 * libc/include/sys/itimer.h: remove
8795 * libc/include/sys/time.h: itimer stuff should be here
8796
8797Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
8798
8799 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
8800 bit instead of comparing to 0 so -0.0 can be printed correctly.
8801
8802Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8803
8804 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
8805
8806Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
8807
8808 * libc/include/sys/unistd.h: fix sync() proto
8809 * libc/include/sys/fcntl.h: remove _close which is already
8810 defined in unistd.h.
8811 * libc/include/sys/time.h: add getitimer proto
8812
8813Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
8814
8815 * libc/string/strchr.c: convert arg to unsigned char
8816 * libc/include/stdlib.h: add protos for random, srandom
8817 * libc/include/sys/stat.h: add lstat proto
8818 * libc/include/sys/time.h: add setitimer proto
8819 * libc/include/sys/unistd.h: add readlink, symlink protos
8820 * libc/include/process.h: instead of including windows.h and using
8821 HANDLEs in sexec protos, just use void *s. Need to include
8822 sys/types.h.
8823
8824Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
8825
8826 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
8827
8828Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
8829
8830 * libc/include/process.h: add secure exec protos
8831
8832Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
8833
8834 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
8835 which are accessed as both doubles and integers.
8836 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
8837 * libc/stdlib/strtod.c (_strtod_r): Likewise.
8838 * libc/stdlib/mprec.h: Add "union double_union" and change
8839 word0/word1 macros to use it.
8840
8841Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
8842
8843 * libc/include/sys/signal.h: add __cplusplus wrapper
8844
8845Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
8846
8847 * libc/include/sys/utime.h: new generic file that gets replaced by
8848 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
8849 function.
8850 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
8851 * libc/include/time.h: remove duplicate utime proto
8852 * libc/include/utime.h: add comment
8853
8854Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
8855
8856 * libc/include/sys/time.h: Add missing include to
8857 allow use of _EXFUN. Remove times function that is
8858 already defined in times.h.
8859
8860Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
8861
8862 * libc/include/time.h: Fix typo in tzset.
8863
8864Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
8865
8866 * libc/include/sys/time.h: add missing Cygwin32 function protos
8867 * libc/include/sys/unistd.h: ditto
8868 * libc/include/time.h: ditto
8869
8870Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
8871
8872 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
8873 FIXME.
8874 * libc/include/sys/types.h: add a new __MS_types__ section
8875 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
8876 __BIT_TYPES_DEFINED__.
8877
8878Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
8879
8880 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
8881 since it overrides the one in libc/include/sys. Also, start
8882 including types.h.
8883
8884Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
8885
8886 * libm/math/Makefile.in: add s_signgam.o to obj list
8887
8888Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
8889
8890 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
8891
8892Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
8893
8894 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
8895 so don't use defines.
8896
8897Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
8898
8899 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
8900
8901Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
8902
8903 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
8904 _current_locale as default locale.
8905
8906Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
8907
8908 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
8909 insufficient space in a chunk.
8910
8911Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
8912
8913 * configure.in (links): Added check for --enable-newlib-mb configure
8914 option which defines the MB_CAPABLE macro.
8915 * libc/locale/locale.c (_setlocale_r): Added support for setting
8916 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
8917 defined.
8918 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
8919 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
8920 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
8921 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
8922 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
8923 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
8924 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
8925 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
8926 * libc/stdlib/Makefile.in: Added new multibyte
8927 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
8928 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
8929 _mbstowcs_r(), and _wcstombs_r().
8930 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
8931 for JIS, SJIS, and EUC-JP characters.
8932 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
8933 MB_CAPABLE defined.
8934 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
8935 MB_CAPABLE defined.
8936 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
8937 MB_CAPABLE defined.
8938 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
8939 if MB_CAPABLE defined.
8940 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
8941 if MB_CAPABLE defined.
8942 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
8943 to the format string processing when MB_CAPABLE.
8944 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
8945 call _mbtowc_r().
8946
8947Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
8948
8949 The following modifications are courtesy of Anthony Thompson,
8950 athompson@cambridge.arm.com:
8951 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
8952 boith RDI and RDP monitors.
8953 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
8954 RDI and RDP monitors.
8955
8956Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
8957
8958 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
8959 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
8960 (_swiopen): Fixed open flags to treat write with append as just append.
8961 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
8962 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
8963
8964Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8965
8966 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
8967 When needing to transfer an initial 2-byte-word, store as
8968 two single bytes.
8969
8970Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8971
8972 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
8973 __SH3E__ .
8974 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
8975 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
8976
8977Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
8978
8979 * configure.in (target_cflags): If --enable-target-optspace, use
8980 -Os to compile newlib rather than -O2. Default to using -Os for
8981 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
8982 used.
8983
8984Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
8985
8986 * libc/include/machine/setjmp.h: change sigsetjmp and
8987 siglongjmp definitions to use an array instead of a struct
8988 for __CYGWIN32__
8989
8990Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
8991
8992 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
8993
8994Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
8995
8996 * libc/string/strxfrm.c: fix to get correct return value
8997
8998Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
8999
9000 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
9001 builds. Make mode change labels global so that they will be seen
9002 by the debugger.
9003
9004Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
9005
9006 * configure.in (links): Do not use ARM debiugging protocols for PE
9007 builds.
9008
9009 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
9010 message.
9011
9012Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
9013
9014 * libc/stdio/findfp.c (__sinit): Made stdout default to
9015 line buffered mode as defined by ANSI.
9016
9017Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
9018
9019 * libc/include/sys/itimer.h: New file.
9020
9021 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
9022
9023Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9024
9025 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
9026 failure.
9027
9028Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
9029
9030 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
9031 insns.
9032
9033Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
9034
9035 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
9036
9037Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
9038
9039 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
9040 support.
9041
9042 * libc/include/machine/setjmp.h: Add D30V support.
9043
9044 * configure.in (d30v-*): Add d30v machine directory.
9045
9046Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
9047
9048 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
9049 been replaced with libgloss/mn10300.
9050
9051Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
9052
9053 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
9054 it is no longer needed.
9055
9056Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
9057
9058 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
9059
9060Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
9061
9062 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
9063 the file when O_APPEND is set, wherever the EOF happens to be at
9064 that time.
9065
9066Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
9067
9068 patch from cgf@bbc.com (Christopher Faylor):
9069 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
9070 convention of closing fp prior to attempting to open the file
9071 argument. This allows correct operation when reopening
9072 stdin/stdout/stderr. Replaces last freopen.c patch.
9073
9074Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
9075
9076 patch from cgf@bbc.com (Christopher Faylor):
9077 * libc/stdio/freopen.c: freopen was not preserving the fd
9078 of the stream being operated on. This confuses programs that
9079 expect that the handles for stdout and stderr will be 1 and 2.
9080
9081Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
9082
9083 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
9084
9085Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
9086
9087 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
9088
9089Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
9090
9091 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
9092 altered to not use a branch. Also added hint that last
9093 bclr in longjmp will likely result in branch.
9094
9095
9096Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
9097
9098 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
9099
9100Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
9101
9102 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
9103 v850 builds.
9104
9105 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
9106
9107Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
9108
9109 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
9110 that loads FR14 to specify offset of 8 rather than 4
9111 so it loads from offset 96 (where setjmp stored it).
9112
9113Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
9114
9115 * libc/machine/sh/memcpy.S: (_memcpy): Update to
9116 latest version supplied by customer.
9117 * libc/machine/sh/memset.S (_memset): Ditto.
9118
9119Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
9120
9121 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
9122 PR14730).
9123
9124Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
9125
9126 * libc/include/string.h: remove redefinition of ffs
9127
9128Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
9129
9130 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
9131 defined
9132
9133Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
9134
9135 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
9136 TI Libraries to link to libc.a
9137
9138Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
9139
9140 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
9141 * libc/include/sys/stat.h (_{,f}stat): Ditto.
9142 * libc/include/sys/wait.h (_wait): Ditto.
9143 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
9144 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
9145
9146Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
9147
9148 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
9149 minded stabs so function name shows up when running the simulator
9150 with -t.
9151 * libc/sys/d10v/{crt0,trap}.S: Ditto.
9152
9153Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
9154
9155 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
9156 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
9157 Use R5 where we used to use R3.
9158
9159Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
9160
9161 * libc/stdlib/getopt.c (getopt): replaced __progname
9162 with nargv[0] to improve portability to imbedded systems.
9163
9164Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
9165
9166 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
9167 patch supplied by Tont.Thompson@arm.com to fix the creation of the
9168 stdout file.
9169
9170Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
9171
9172 * libc/stdio/tmpnam.c (worker): Generate a different file name
9173 each time.
9174
9175 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
9176 fails, try an execlp for sh.
9177
9178 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
9179 option for the winsup include directory.
9180
9181Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
9182
9183 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
9184 debugging interface from Tony.Thompson@arm.com.
9185
9186 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
9187 * libc/sys/arm/swi.h: ditto.
9188
9189Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
9190
9191 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
9192 DIR struct used for readdir hashes.
9193
9194Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
9195
9196 * libc/string/strchr.c: Use "unsigned chars" as necessary.
9197
9198Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
9199
9200 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
9201 integer targets.
9202
9203Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
9204
9205 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
9206 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
9207 * libc/include/malloc.h: Add extern "C" if __cplusplus.
9208 (__malloc_copy): Declare.
9209
9210Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
9211
9212 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
9213 <sys/config.h>.
9214 (POINTER_UINT): Define.
9215 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
9216 (MALLOC_ALIGNMENT): Don't define if already defined.
9217 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
9218 long.
9219
9220Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
9221
9222 * libc/string/memset.c (memset): Fiddle with code so that the long
9223 value being stored is not a stack value. Unroll storing longs 4
9224 times.
9225
9226Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
9227
9228 * Reduce code size for libm modules.
9229 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
9230 and simply move code into sqrt.
9231 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
9232 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
9233 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
9234 * libm/math/wr_gamma.c (gamma_r): Likewise.
9235 * libm/math/wf_sinh.c (sinfh): Likewise.
9236 * libm/math/w_sinh.c (sinh): Likewise.
9237 * libm/math/wf_scalb.c (scalbf): Likewise.
9238 * libm/math/w_scalb.c (scalb): Likewise.
9239 * libm/math/wf_remainder.c (remainderf): Likewise.
9240 * libm/math/w_remainder.c (remainder): Likewise.
9241 * libm/math/wf_pow.c (powf): Likewise.
9242 * libm/math/w_pow.c (pow): Likewise.
9243 * libm/math/wf_log10.c (log10f): Likewise.
9244 * libm/math/w_log10.c (log10): Likewise.
9245 * libm/math/wf_log.c (logf): Likewise.
9246 * libm/math/w_log.c (log): Likewise.
9247 * libm/math/w_lgamma.c (lgamma): Likewise.
9248 * libm/math/wf_lgamma.c (lgammaf): Likewise.
9249 * libm/math/wf_jn.c (jnf): Likewise.
9250 * libm/math/w_jn.c (jn): Likewise.
9251 * libm/math/wf_j1.c (j1f): Likewise.
9252 * libm/math/w_j1.c (j1): Likewise.
9253 * libm/math/wf_j0.c (j0f): Likewise.
9254 * libm/math/w_j0.c (j0): Likewise.
9255 * libm/math/wf_hypot.c (hypotf): Likewise.
9256 * libm/math/w_hypot.c (hypot): Likewise.
9257 * libm/math/wf_gamma.c (gammaf): Likewise.
9258 * libm/math/w_gamma.c (gamma): Likewise.
9259 * libm/math/wf_fmod.c (fmodf): Likewise.
9260 * libm/math/w_fmod.c (fmod): Likewise.
9261 * libm/math/wf_exp.c (expf): Likewise.
9262 * libm/math/w_exp.c (exp): Likewise.
9263 * libm/math/wf_cosh.c (coshf): Likewise.
9264 * libm/math/w_cosh.c (cosh): Likewise.
9265 * libm/math/wf_atanh.c (atanhf): Likewise.
9266 * libm/math/w_atanh.c (atanh): Likewise.
9267 * libm/math/wf_atan2.c (atan2f): Likewise.
9268 * libm/math/w_atan2.c (atan2): Likewise.
9269 * libm/math/wf_asin.c (asinf): Likewise.
9270 * libm/math/w_asin.c (asin): Likewise.
9271 * libm/math/wf_acosh.c (acoshf): Likewise.
9272 * libm/math/w_acosh.c (acosh): Likewise.
9273 * libm/math/wf_acos.c (asocf): Likewise.
9274 * libm/math/w_acos.c (acos): Likewise.
9275 * libm/math/wf_sqrt.c (sqrtf): Likewise.
9276 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
9277 for embedded systems.
9278
9279Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
9280
9281 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
9282 Lea in case of a foreign sbrk.
9283
9284Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
9285
9286 Incorporate Doug Lea's malloc:
9287 * libc/stdlib/mallocr.c: Completely replaced.
9288 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
9289 (realloc): Remove.
9290 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
9291 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
9292 mallopt.
9293 (mallinfo, malloc_stats, mallopt): New functions.
9294 (_mstats_r): Just call _malloc_stats_r.
9295 * libc/stdlib/malign.c: New file.
9296 * libc/stdlib/mlock.c: New file.
9297 * libc/stdlib/msize.c: New file.
9298 * libc/stdlib/mtrim.c: New file.
9299 * libc/stdlib/realloc.c: New file.
9300 * libc/stdlib/valloc.c: New file.
9301 * libc/stdlib/malloc.h: Remove.
9302 * libc/stdlib/callocr.c: Remove.
9303 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
9304 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
9305 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
9306 reallocr.o, valloc.o, vallocr.o.
9307 (CHEWOUT_FILES): Add mlock.def, mstats.def.
9308 (MALLOC_CFLAGS): New variable.
9309 (mallocr.o): New target, build from mallocr.c.
9310 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
9311 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
9312 (msizer.o, malloptr.o): Likewise.
9313 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
9314 (valloc.o): New target.
9315 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
9316 * libc/include/malloc.h: Declare struct mallinfo, and new
9317 routines.
9318 * libc/include/stdlib.h (cfree): Correct declaration.
9319
9320Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
9321
9322 * libc/include/machine/setjmp.h: Add support for Thumb target.
9323
9324 * libc/include/machine/ieeefp.h: Add support for Thumb target.
9325
9326 * configure.in (links): Add support for Thumb target.
9327
9328Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
9329
9330 * libc/sys/arm/setjmp.S: Updated with version from branch.
9331
9332Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
9333
9334 * libc/include/stdio.h: add POSIX-required define L_ctermid
9335 for ctermid
9336
9337Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
9338
9339 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
9340 addition to MISSING_SYSCALL_NAMES.
9341
9342Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9343
9344 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
9345
9346Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
9347
9348 * libc/include/string.h: change strsignal proto to return
9349 a char *. This eliminates compile problems in gdb resulting
9350 from gdb's definition of strsignal in defs.h.
9351
9352Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
9353
9354 * libc/sys/cygwin32/sys/utime.h: new (moved here from
9355 winsup/include) so as not to conflict with the one in
9356 libc/include.
9357 * libc/include/string.h: add protos for strsignal, strtosigno
9358
9359Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
9360
9361 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
9362
9363 * configure.in (d30v-*-*): Add configuration.
9364
9365Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
9366
9367 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
9368 to select which kind of debug monitor is in use for an ARM target.
9369
9370 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
9371 Angel and Demon debug monitors. Part of this code was supplied by
9372 Tony Thompson at ARM: athompso@arm.com.
9373
9374Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
9375
9376 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
9377 semantics when the count is greater than the length of the second
9378 source string.
9379
9380Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
9381
9382 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
9383 * libc/include/sys/unistd.h: add protos for usleep, truncate,
9384 truncate and ftruncate take off_t, not size_t
9385
9386Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
9387
9388 * libc/string/strcat.c (strcat): Add missing comment end.
9389 * libc/string/strncat.c (strncat): Likewise.
9390
9391Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
9392
9393 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
9394 targets.
9395 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
9396 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
9397 defined.
9398 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
9399 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
9400 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
9401
9402Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
9403
9404 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
9405 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
9406
9407Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
9408
9409 * libc/machine/i386/setjmp.S: New file.
9410 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
9411 (OFILES): Add setjmp.o.
9412 (setjmp.o): Add rule for.
9413 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
9414
9415Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
9416 Jeffrey A Law (law@cygnus.com)
9417
9418 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
9419 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
9420 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
9421 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
9422
9423Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
9424
9425 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
9426 rules.
9427
9428 * libc/include/sys/config.h: Use __v850 to select v850
9429 endianness.
9430
9431 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
9432 buffer size.
9433
9434 * libc/include/machine/ieeefp.h: Use __v850 to select v850
9435 endianness.
9436
9437Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
9438
9439 * libc/stdlib/setenv.c: change unsetenv definition to match
9440 style of setenv (with _DEFUN). The string should be a const.
9441 * libc/include/stdlib.h: unsetenv proto should return void.
9442
9443Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
9444
9445 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
9446
9447Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
9448
9449 * libc/stdio/glue.h: remove.
9450 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
9451 * libc/stdio/Makefile.in: remove glue.h dependencies
9452
9453Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
9454
9455 * libc/sys/sysnecv850/crt0.S: Created V850e version.
9456
9457Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
9458
9459 * configure.in (target_cpu): Add `arc'.
9460
9461Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
9462
9463 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
9464 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
9465 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
9466 * newlib/libc/reent/reent.c: Add _wrapup_reent.
9467 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
9468
9469Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
9470
9471 * libc/machine/mips/setjmp.S: Handle mips16 builds.
9472
9473Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
9474
9475 * libc/include/stdio.h (siprintf): Declare.
9476
9477Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
9478
9479 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
9480 TARGET_CFLAGS and NEWLIB_FLAGS.
9481
9482Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
9483
9484 * configure.in (links): Add support for v850ea target.
9485
9486Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
9487
9488 * configure.in (links): Add support for v850e target.
9489
9490Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
9491
9492 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
9493
9494Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
9495
9496 * configure.in (arc-*-*): Add support for.
9497 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
9498
9499Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9500
9501 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
9502
9503Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
9504
9505 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
9506 comparison which accesses invalid memory when the key is
9507 larger than the last member of the array.
9508 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
9509 for CYGWIN32
9510 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
9511
9512Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
9513
9514 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
9515 not _STRICT_ANSI.
9516
9517Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
9518
9519 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
9520 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
9521
9522Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
9523
9524 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
9525 to load/store memory.
9526
9527Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
9528
9529 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
9530 underscores if _WIN32.
9531
9532Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
9533
9534 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
9535 support ifdef _USE_WRITE missed in last change.
9536 From Anders Blomdell <anders.blomdell@control.lth.se>.
9537
9538Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
9539
9540 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
9541 (_tmpnam_r, _tempnam_r): Update.
9542
9543Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
9544
9545 * libc/machine/sparc/setjmp.S: New file.
9546 * libc/machine/sparc/Makefile.in: Add setjmp.
9547 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
9548
9549Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
9550
9551 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
9552
9553Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
9554
9555 From Joel Sherrill <joel@oarcorp.com>.
9556 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
9557
9558 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
9559 * configure.in: Recognize *-*-rtems*.
9560 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
9561 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
9562 time.h,times.h,types.h}: New files.
9563 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
9564
9565Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
9566
9567 patch from sos@prospect.com.ru (Sergey Okhapkin):
9568 * include/sys/wait.h: correct operator precidence bug
9569 in WIFSIGNALED
9570
9571Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
9572
9573 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
9574 with newlib's unsetenv function
9575 * libc/sys/cygwin32/sys: new directory for includes
9576 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
9577 here from winsup/include/sys
9578
9579Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
9580
9581 * libc/include/sys/unistd.h: _exit should only be
9582 labelled noreturn when not __CYGWIN32__
9583 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
9584 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
9585 increment NSIG
9586
9587Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
9588
9589 * libc/include/sys/time.h: Only define timeval and timezone if
9590 _GNU_H_WINDOWS32_SOCKETS is not defined.
9591 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
9592
9593Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
9594
9595 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
9596 * libc/machine/mn10300/setjmp.S: Likewise.
9597
9598 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
9599 the mn10300 (more relaxing opportunities).
9600
9601Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
9602
9603 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
9604 Build libraries with -mstrict-align.
9605
9606Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
9607
9608 * libc/string/strlwr.c: New file.
9609 * libc/string/strupr.c: New file.
9610 * libc/include/string.h: Declare strlwr and strupr.
9611 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
9612 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
9613 (strlwr.o, strupr.o): New targets.
9614 * libc/string/strings.tex: Include strlwr and strupr docs.
9615
9616 * libc/include/sys/types.h: Don't define u_char, et. al., if
9617 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
9618 et. al. Make FD_SETSIZE default 64 rather than 60. Define
9619 _types_fd_set rather than fd_set, and define fd_set as a macro.
9620
9621 * libc/include/malloc.h: New file.
9622
9623 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
9624 strnicmp if they are not already defined.
9625
9626 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
9627 _timezone, _daylight, and _tzname.
9628
9629Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
9630
9631 * configure.in: Sort all configuration tables.
9632
9633 From Joel Sherrill <joel@oarcorp.com>
9634 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
9635
9636Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
9637
9638 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
9639 use int when declaring kill.
9640
9641 * libc/include/sys/timeb.h: New file.
9642
9643Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
9644
9645 * libc/include/sys/time.h: add itimer support for Cygwin32
9646
9647Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
9648
9649 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
9650 out a message that abort was called to stderr.
9651
9652Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
9653
9654 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
9655 so that libio doesn't freak.
9656
9657 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
9658 int.
9659
9660 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
9661 memory sizes, not int.
9662
9663Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
9664
9665 * libm/math/ef_hypot.c: Use long constants where
9666 appropriate.
9667 * libm/math/ef_sqrt.c: Ditto.
9668
9669 * libc/sys/sysmec/times.c(_times): Change to times.
9670
9671 * libc/sys/sysmec/read.c(_read): The third argument is
9672 size_t.
9673 * libc/sys/sysmec/write.c (_write): Ditto.
9674
9675 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
9676 (_lseek): It's off_t for the second argument.
9677
9678Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
9679
9680 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
9681 as well as machine/ieeefp.h.
9682
9683Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
9684
9685 * libc/include/sys/signal.h: add signal protos for winsup
9686 functions (when __CYGWIN32__), include types.h
9687 * libc/include/sys/types.h: Change __go32_types__ internal
9688 define to __MS_types__ since it's used for more than just
9689 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
9690 defined.
9691 * libc/include/sys/unistd.h: add ftruncate proto for
9692 winsup functions (when __CYGWIN32__)
9693
9694Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
9695
9696 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
9697
9698Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
9699
9700 * libc/include/machine/setjmp.h: Add tic80 support.
9701 * libc/machine/tic80/setjmp.S: Likewise.
9702
9703Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
9704
9705 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
9706 link programs from libraries only (such as in the X11
9707 distribution)
9708
9709Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
9710
9711 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
9712 supplied elsewhere in newlib.
9713
9714Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
9715
9716 * Makefile.in (INSTALL): Change install.sh to install-sh.
9717
9718Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
9719
9720 * README: update WWW address for on-line documentation.
9721
9722Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
9723
9724 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
9725 increment NSIG
9726
9727Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
9728
9729 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
9730 mn10300.
9731 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
9732
9733Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
9734
9735 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
9736 * libc/sys/d10v/syscalls.c: Likewise.
9737 * libc/sys/h8300hms/sbrk.c: Likewise.
9738 * libc/sys/h8500hms/syscalls.c: Likewise.
9739 * libc/sys/m88kbug/syscalls.c: Likewise.
9740 * libc/sys/sh/syscalls.c: Likewise.
9741 * libc/sys/sysmec/sbrk.c: Likewise.
9742 * libc/sys/sysnecv850/sbrk.c: Likewise.
9743 * libc/sys/w65/syscalls.c: Likewise.
9744 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
9745
9746Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
9747
9748 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
9749 emulated syscall instead of "trap".
9750
9751Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
9752
9753 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
9754 not trap 0.
9755
9756Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
9757
9758 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
9759
9760Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
9761
9762 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
9763 not "sh".
9764 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
9765 not "d10v".
9766 * libc/sys/tic80/crt0.c: New file for TIc80.
9767 * libc/sys/tic80/Makefile.in: New file for TIc80.
9768 * libc/machine/tic80/Makefile.in: New file for TIc80.
9769
9770Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
9771
9772 * libc/machine/sh/memcpy.S: New file.
9773 * libc/machine/sh/memset.S: New file.
9774 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
9775
9776Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
9777
9778 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
9779 for TIc80.
9780
9781Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
9782
9783 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
9784 the mn10200.
9785
9786Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
9787
9788 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
9789 (patch from andrew@pogo.WV.TEK.COM).
9790
9791Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
9792
9793 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
9794 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
9795
9796Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
9797
9798 * configure.in: Add cases for "tic80" to set machine_dir,
9799 sys_dir, and syscall_dir.
9800
9801Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
9802
9803 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
9804
9805Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
9806
9807 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
9808
9809Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
9810
9811 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
9812 Use proper constant prefix.
9813
9814Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
9815
9816 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
9817 that loses on the mn10200 where ints and pointers are different
9818 sizes.
9819
9820Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
9821
9822 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
9823 target as signal is provided in winsup.
9824
9825Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
9826
9827 * libc/include/sys/process.h: Corrected const definitions
9828 in spawn functions. Added cwait.
9829
9830Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
9831
9832 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
9833 doubles.
9834 * libc/include/sys/config.h: Similarly.
9835
9836Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9837
9838 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
9839 target_cflags.
9840 (i[3456]86-*-sco*): Ditto.
9841
9842 * libc/signal/Makefile.in (OFILES): Add signal.o.
9843 (CFILES): Add signal.c.
9844
9845 * libc/signal/raise.c (_raise_r): Only compile code if
9846 SIGNAL_PROVIDED is defined.
9847
9848 * libc/signal/signal.c: Redo whole file so that it works with
9849 current newlib. Use _kill_r if no signal handler provided.
9850
9851 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
9852 signal stubs.
9853 * libc/sys/sysvnecv70/Makefile.in: Ditto.
9854 * libc/sys/sysnecv850/Makefile.in: Ditto.
9855
9856 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
9857 * libc/sys/sysmec/{raise,signal}.c: Ditto.
9858 * libc/sys/sysvnecv70/signal.s: Ditto.
9859 * libc/sys/sysnecv850/raise.c: Ditto.
9860
9861 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
9862 simulator and debugger can tell the difference between a signal
9863 being raised and an exit system call.
9864
9865 * NEWS: Document software signals being provided.
9866
9867Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9868
9869 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
9870 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
9871 include/sys/config.h.
9872 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
9873 Change from 'inpure_data'.
9874 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
9875 &impure_data, not &inpure_data.
9876
9877 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
9878 and and System V ABI, define so that _impure_ptr lives in the
9879 .sdata section.
9880
9881Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9882
9883 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
9884 nothing if not defined.
9885 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
9886 its attributes.
9887
9888 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
9889
9890Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
9891
9892 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
9893 * libc/sys/sysmec/trap.s: Handle mn10200 too.
9894 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
9895
9896Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
9897
9898 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
9899
9900Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
9901
9902 * libc/include/sys/errno.h: Added net errno's.
9903
9904Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9905
9906 * libc/misc/ffs.c: New file to support ffs function for GCC test
9907 gcc.c-torture/execute/960909-1.c.
9908
9909 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
9910
9911Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
9912
9913 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
9914 * libc/sys/sysmec/trap.S: Likewise.
9915
9916Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
9917
9918 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
9919 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
9920
9921Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
9922
9923 * libc/sys/sysmec/signal.c: Dummy file.
9924 * libc/sys/sysmec/Makefile.in: Build it.
9925
9926Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
9927
9928 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
9929 mips16.
9930
9931Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
9932
9933 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
9934 c-startup and simulator traps.
9935
9936
9937 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
9938 * libc/sys/sysmec/trap0.S: Likewise.
9939
9940Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9941
9942 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
9943 round to double word alignment.
9944 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
9945 byte alignment.
9946
9947 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
9948
9949 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
9950 out of memory.
9951
9952Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
9953
9954 * configure.in: Handle mn10200 and mn10300.
9955 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
9956 * libc/include/sys/config.h: Likewise.
9957 * libc/sys/sysmec: New directory for mec stuff.
9958 * libc/machine/mn10300: New directory for mn10300 stuff.
9959 * libc/machine/mn10200: Similarly for mn10200 stuff.
9960
9961Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
9962
9963 * libc/sys/arm/crt0.S: Use .text, not .section .text.
9964 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
9965
9966 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
9967 (nlink_t): Change type from unsigned int to unsigned short.
9968 (mode_t): Ensure size is 32 bits even if int is 16.
9969 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
9970 (st_spare[123]): Change type from int to long.
9971
9972Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9973
9974 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
9975 byte boundary.
9976
9977 * configure.in (d10v*): Define SMALL_MEMORY.
9978
9979Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9980
9981 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
9982 -mrelocatable-lib and -mno-eabi flags.
9983
9984Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
9985
9986 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
9987 Fix handling of mis-aligned source operand when both the
9988 destination & length are properly aligned.
9989
9990Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
9991
9992 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
9993 times.o, time.o and gettime.o
9994 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
9995 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
9996 SYS_gettimeofday.
9997
9998Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
9999
10000 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
10001 * libc/sys/sysnecv850/access.c: New file.
10002
10003Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
10004
10005 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
10006
10007 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
10008 long.
10009
10010Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
10011
10012 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
10013
10014Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
10015
10016 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
10017 * libc/include/sys/config.h: Add m32r support.
10018
10019Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
10020
10021 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
10022 here.
10023
10024Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
10025
10026 * libc/include/machine/setjmp.h: Add D10v support.
10027
10028Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
10029
10030 * configure.in: Configure the "libc/syscalls" directory for
10031 the v850.
10032
10033 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
10034 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
10035 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
10036 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
10037 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
10038
10039Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
10040
10041 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
10042 stack for args for main and other routines. Zero out args for
10043 main.
10044
10045 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
10046 correctly.
10047
10048Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10049
10050 * libc/stdio/findfp.c (std): Remove extraneous ';' after
10051 function.
10052
10053 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
10054
10055 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
10056 real system calls now.
10057
10058 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
10059 before casting them to int.
10060 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
10061
10062 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
10063 aligning pointer.
10064 * libc/string/memset.c (memset): Ditto.
10065
10066 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
10067 first convert ints to _POINTER_INT to eliminate GCC warning.
10068
10069 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
10070 processing %p.
10071
10072 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
10073 from 65000 if ints are only 16 bits.
10074
10075 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
10076 from 50000 if ints are only 16 bits.
10077
10078 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
10079 int type that is the same size as a pointer.
10080
10081 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
10082 processing %p.
10083 (get_number): Explicitly cast number to long before shifting by 16
10084 or 24, in case ints are short.
10085
10086 * libc/include/sys/config.h (_POINTER_INT): Define as short.
10087
10088Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
10089
10090 * libc/string.h: Added ffs, removed swab.
10091 * libc/sys/errno.h: Added EOPNOTSUPP.
10092 * libc/sys/unistd.h: Added swab.
10093
10094Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
10095
10096 * libc/include/sys/stat.h: Added fchmod.
10097 * libc/include/sys/unistd.h: Added fsync.
10098
10099Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
10100
10101 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
10102 and ECONNRESET (104) for cygwin32.
10103
10104Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
10105
10106 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
10107 do the static destructors.
10108
10109Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
10110
10111 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
10112
10113Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
10114
10115 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
10116 * configure.in: Recognize m32r-*-*.
10117
10118Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
10119
10120 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
10121 __rt_stkovf_split_small): Added default software stack overflow
10122 handlers, which just call SWI_Exit.
10123 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
10124 limit initialisation.
10125
10126Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
10127
10128 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
10129
10130Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
10131
10132 * libc/include/sys/types.h: Added ssize_t definition.
10133
10134Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10135
10136 * libc/machine/d10v/setjmp.S: Use ';' for comments.
10137 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
10138
10139 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
10140 branch around a single ldi instruction.
10141
10142 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
10143 Call exit, instead of just issuing a stop instruction.
10144
10145Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10146
10147 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
10148
10149Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10150
10151 * libc/stdlib/mprec.h: Explicitly declare all large constants as
10152 longs, and then cast them to __uint32_t.
10153
10154 * libc/include/sys/config.h: Protect against multiple inclusions.
10155
10156Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
10157
10158 * configure.in (d10v*): Set syscall_dir.
10159
10160Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
10161
10162 * libc/sys/d10v/crt0.S: Set stack pointer.
10163
10164Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
10165
10166 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
10167 in assembly for efficiency. Change calling convention to allow
10168 long ints to be returned.
10169
10170Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10171
10172 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
10173
10174Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
10175
10176 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
10177 Handle empty entries in $PATH.
10178
10179Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
10180
10181 * libc/machine/d10v/setjmp.S: Make it really work.
10182
10183Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
10184
10185 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
10186 the .stack section.
10187
10188Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
10189
10190 * sys/sysnecv850/sys/file.h: Remove.
10191 * sys/sysnecv850/sys/syscall.h: New file.
10192 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
10193 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
10194 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
10195 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
10196 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
10197 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
10198 * sys/sysnec850/trap.S: New file.
10199 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
10200 syscalls.
10201 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
10202 * sys/sysnec850/sbrk.c: New version.
10203
10204Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
10205
10206 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
10207 as long as r6 is less than r7.
10208
10209Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
10210
10211 * Makefile.in (mostlyclean): Separate from clean target. Don't
10212 remove *.a or targ-include.
10213 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
10214
10215Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10216
10217 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
10218 d10v.
10219 (__SMALL_BITFIELDS): Ditto.
10220
10221 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
10222
10223Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
10224
10225 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
10226 prefix.
10227
10228 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
10229 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
10230 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
10231 * libc/sys/sysnecv850/write.c (write): Likewise.
10232
10233 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
10234 .bss.
10235
10236Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10237
10238 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
10239 appropriately for D10V, depending on -mint16/-mint32.
10240
10241Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
10242
10243 * configure.in: Add cases for D10V.
10244
10245Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10246
10247 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
10248
10249Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
10250
10251 * libc/include/machine/ieeefp.h: Fix typo.
10252
10253Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
10254
10255 * libc/sys/d10v: New directory for D10V stuff.
10256 * libc/include/machine/ieeefp.h: Add D10V defines.
10257
10258Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
10259
10260 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
10261 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
10262 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
10263 * libc/string/strerror.c (strerror): Add them.
10264
10265Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
10266
10267 * libc/sys/sysnecv850: New directory for v850 stuff.
10268
10269 * libc/machine/v850: New directory for v850 stuff.
10270 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
10271
10272 * configure.in: Add support for the v850.
10273
10274 * libc/include/machine/ieeefp.h: Add v850 defines.
10275 * libc/include/machine/setjmp.h: Likewise.
10276 * libc/include/sys/config.h: Add v850 defines.
10277
10278Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
10279
10280 * libc/include/machine/ieeefp.h
10281 * libc/include/machine/setjmp.h
10282 * libc/include/sys/fcntl.h
10283 * libc/include/sys/signal.h
10284 * libc/include/sys/types.h
10285 * libc/stdlib/system.c:
10286 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
10287 API availability, __CYGWIN32__ for cygwin32 environment specific).
10288
10289Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
10290
10291 * libc/include/stdlib.h: add multibyte character functions. Add
10292 __eprintf for assert.
10293
10294Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10295
10296 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
10297 arithmetic or __alignof__ to properly get the alignment, instead
10298 of hardwiring it to 4.
10299
10300Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
10301
10302 * libc/stdio/fseek.c: add fflush call to adjust seek offset
10303 on append stream (fix from NetBSD sources), adjust curoff offset
10304 for ungetc's benefit.
10305 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
10306 * libc/stdio/rewind.c: replace code with up to date NetBSD
10307 code to undo hacks made to work around above problem of not
10308 having fflush call mentioned above
10309
10310Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
10311
10312 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
10313 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
10314 Partially revert last changes. The thread specific errno is set
10315 iff if the underlying syscall fails and the global errno is not
10316 zero.
10317
10318Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
10319
10320 * libc/reent/filer.c: Removed files, all functions have split out
10321 into their own files.
10322 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
10323 New files containing functions formally in filer.c
10324 * libc/reent/Makefile.in: Updated for above change.
10325
10326 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
10327 syscall fails, not if errno is changed.
10328 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
10329 _write_r): Likewise.
10330 * libc/reent/fstatr.c (_fstat_r): Likewise.
10331 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
10332 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
10333 * libc/reent/signalr.c (_kill_r): Likewise.
10334 * libc/reent/statr.c (_stat_r): Likewise.
10335 * libc/reent/timer.c (_gettimeofday_r): Likewise.
10336
10337 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
10338 signalr.c, statr.c, timer.c} (errno): declare extern rather
10339 than as a common.
10340
10341 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
10342 instead of calling vfprintf so that i*printf will not require
10343 floating point support code.
10344
10345Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
10346
10347 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
10348 path delimiter.
10349 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
10350 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
10351
10352Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
10353
10354 * libc/include/signal.h: _sig_func_ptr function takes an int
10355 * libc/include/sys/signal.h: sa_handler function takes an int
10356
10357Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
10358
10359 * libc/include/machine/ieeefp.h: Simplify H8/S support.
10360 * libc/include/sys/config.h: Add missing H8/S conditional.
10361
10362Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
10363
10364 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
10365
10366Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
10367
10368 * libc/include/machine/setjmp.h: Handle H8/S.
10369 * libc/include/machine/ieeefp.h: Likewise.
10370 * libc/include/sys/config.h: Likewise.
10371 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
10372 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
10373 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
10374 * libc/sys/h8300hms/crt0.S: Likewise.
10375
10376Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
10377
10378 * Makefile.in (datadir): Set to $(prefix)/share.
10379 (oldincludedir, docdir): Removed.
10380 * doc/Makefile.in (datadir): Set to $(prefix)/share.
10381 (oldincludedir, docdir): Removed.
10382 * libc/Makefile.in (datadir): Set to $(prefix)/share.
10383 (oldincludedir, docdir): Removed.
10384 * libm/Makefile.in (datadir): Set to $(prefix)/share.
10385 (oldincludedir, docdir): Removed.
10386
10387Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
10388
10389 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
10390 _reent struct.
10391
10392Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
10393
10394 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
10395 fetch current path rules with sysconf and handler posix/win32
10396 appropriately.
10397
10398 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
10399
10400 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
10401 (WAIT_CHILD): Always define.
10402
10403Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
10404
10405 * libc/stdlib/eprintf.c: New file.
10406 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
10407 (eprintf.o): New target.
10408
10409Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
10410
10411 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
10412 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
10413
10414Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
10415
10416 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
10417 NT in PowerPC endianess cases.
10418
10419Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10420
10421 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
10422
10423Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10424
10425 * libc/string/strtok.c: Fix doc typo.
10426
10427Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
10428
10429 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
10430 _next, _scanpoint, _signgam fields.
10431
10432 * libc/include/stdlib.h (rand_r): Added new declaration.
10433 (_rand_r, _srand_r): Removed declarations.
10434 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
10435 have been made obsolete by rand_r.
10436 * libc/stdlib/rand_r.c: New file, rand_r function as specified
10437 by POSIX.1c.
10438
10439 * libc/string/strtok.c: Update documentation to describe
10440 strtok_r().
10441
10442Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
10443
10444 * libc/include/sys/stat.h (stat structure): Use the expanded stat
10445 structure on Solaris, and PowerPC systems even though __svr4__ is
10446 defined.
10447
10448Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
10449
10450 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
10451
10452Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
10453
10454 * host/any: Use ../.. rather than .. to get to the main build
10455 directory. This matches the current layout of the build
10456 directory.
10457
10458Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
10459
10460 * libc/machine/h8300/__main.S: Delete. No longer needed.
10461 * libc/machine/h8300/Makefile.in: Corresponding changes.
10462 * libc/sys/h8300hms/crt1.c: New file.
10463 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
10464 * libc/sys/h8300hms/crt0.s: Call __main.
10465
10466 * libc/sys/h8300hms/crt0.S: Use temporary label names
10467 for branch targets.
10468
10469Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
10470
10471 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
10472
10473Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10474
10475 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
10476 .sdata on the PowerPC so that we can link newlib with code
10477 compiled with -msdata.
10478
10479Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
10480
10481 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
10482
10483Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
10484
10485 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
10486 exception handler to __cygwin_exception_handler.
10487
10488Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
10489
10490 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
10491
10492Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
10493
10494 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
10495 SunOS VPATH.
10496 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
10497 wcstombs.o): Likewise.
10498
10499Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
10500
10501 * libc/stdlib/environ.c (initial_env): New static local.
10502 (environ): Point to `initial_env'.
10503
10504 * libc/include/machine/setjmp.h: Clean up.
10505 (__H8300H__,__PPC__): Define _JBTYPE.
10506 (__arm__): Provide entry for.
10507 (sigjmp_buf): Delete.
10508 (jmp_buf): Use _JBTYPE if defined, otherwise int.
10509
10510Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
10511
10512 * libc/machine/h8300/strcmp.S: Sign extend the result to
10513 32bits so we don't lose with -mint32.
10514
10515Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
10516
10517 * libc/sys/go32/sys/errno.h: New file.
10518 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
10519 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
10520 errno's address (make compatible with rest of newlib).
10521 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
10522 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
10523
10524Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
10525
10526 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
10527 * libc/machine/sparc/Makefile.in: Build them.
10528 * libc/machine/sparc/machine/sparclet.h: New file.
10529
10530Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
10531
10532 * libc/machine/sh/asm.h: New file.
10533 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
10534 support for SH3e's FP registers. Use asm.h.
10535
10536Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
10537
10538 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
10539 as first argument. Call _dtoa_r and pass the reent structure
10540 instead of calling __dtoa.
10541
10542Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
10543
10544 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
10545 the h8300, h8500, and others. Add comments for some rather
10546 dubious code.
10547
10548Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
10549
10550 * Makefile.in (check): Check that testsuite exists before cd.
10551
10552Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10553
10554 * libc/include/string.h (strsep): Correct prototype.
10555
10556Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
10557
10558 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
10559 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
10560 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
10561
10562Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
10563
10564 * libc/posix/{creat.c,isatty.c}: New files.
10565 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
10566
10567 * libc/sys/sparc64/crt0.S (environ): Delete.
10568 (.LHaveBias): Renamed from HaveBias.
10569
10570Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
10571
10572 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
10573 (_morecore_r): Delete SBRK_IS_ALLOC support.
10574
10575Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10576
10577 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
10578 module rather than touch, so we don't get warning messages when
10579 all of the libraries are combined into libc.a.
10580
10581Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
10582
10583 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
10584 crt0.s replaced by version in libgloss.
10585
10586Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
10587
10588 * libc/reent/Makefile.in (OFILES): Add impure.o.
10589 * libc/reent/impure.o: New file, define initial reentrancy struct.
10590 * libc/reent/reent.c: Remove above definition.
10591
10592 * libm/math/sf_asinh.c: Fix typo.
10593
10594 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
10595 srf_ldexp.o.
10596
10597 * libm/libm.texinfo: Change documentation to reflect changes
10598 in reentrancy model.
10599 * libm/math/w_gamma.c: Likewise.
10600
10601Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
10602
10603 * configure.in (*-*-cygwin32): New.
10604 (*-*-win32): Deleted.
10605 * libc/sys/win32 renamed libc/sys/cygwin32.
10606
10607Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10608
10609 * libc/include/sys/file.h: New include file.
10610
10611Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
10612
10613 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
10614
10615Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
10616
10617 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
10618
10619Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10620
10621 * doc/makedoc.c (realloc): Declare at file scope.
10622 (catchar): Not here.
10623
10624Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
10625
10626 * Makefile.in (VERSION): Update to 1.7.0.
10627 * {libc,libm}/Makefile.in (VERSION): Likewise.
10628 * configure.in: Minor clean up of multilib stuff.
10629
10630 From David Johnson <davidj@ICSI.Berkeley.EDU>
10631 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
10632
10633 * libc/stdlib/environ.c: New file.
10634 * libc/stdlib/Makefile.in (OFILES): Build it.
10635 * libc/sys/h8500hms/crt0.c (environ): Deleted.
10636 * libc/sys/m88kbug/crt0.c (environ): Deleted.
10637 * libc/sys/z8ksim/crt0.c (environ): Deleted.
10638 * libc/sys/netware/environ.c: Deleted.
10639
10640Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
10641
10642 * configure.in (links): set sys_dir, posix_dir, syscall_dir
10643
10644Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
10645
10646 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
10647 declaration out to external scope and declare it PTR, not char *.
10648
10649Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
10650
10651 * libc/include/sys/unistd.h (getpagesize): New declaration.
10652 (_SC_PAGESIZE): New definition.
10653 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
10654 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
10655
10656Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
10657
10658 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
10659 addressing. System call returns size, not (last address + 1).
10660
10661Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10662
10663 * libm/math/*.c: Removed _foo_r() reentrancy API.
10664 * libc/include/math.h: Removed _foo_r prototypes and macros.
10665
10666 * libm/math/*.c: On systems with IEEE single precision "doubles"
10667 move foo() -> foof() wrapper code from the files that implement
10668 the standard IEEE double precision functions to the files that
10669 implement IEEE single precision functions. (ie. On those systems
10670 sin is moved from s_sin.c to sf_sin.c). There should eventually
10671 be use of a C extension (like gcc's alias attribute) so that the
10672 wrappers are not needed at all.
10673
10674 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
10675 strict NEC V810 compiler.
10676 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
10677 for same reason.
10678
10679Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10680
10681 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
10682 from NetBSD C library.
10683 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
10684
10685 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
10686 and adapted from implementation I wrote for NetBSD C library.
10687 The difference is __assert doesn't take a format argument,
10688 so that there won't be multiple copies of the same string
10689 constant in the executable if assertions are enabled in
10690 more than one source module.
10691 * libc/include/assert.h (assert): Changed to call __assert.
10692
10693Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10694
10695 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
10696 word1 on systems with 32 bit doubles.
10697 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
10698 so that we can do arithmetic on them.
10699 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
10700 compilers.
10701
10702Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
10703
10704 * libc/sys/arm/crt0.S: Zero bss.
10705
10706Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
10707
10708 * libc/include/unctrl.h: New file.
10709 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
10710 * configure.in (subdirs): Add libc/misc.
10711 * libc/Makefile.in (SUBDIRS): Add misc.
10712 (SUBLIBS): Add misc/lib.a.
10713
10714 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
10715
10716Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
10717
10718 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
10719 (_vfprintf_r): Call CHECK_INIT.
10720
10721Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
10722
10723 * Makefile.in (MULTITOP): Delete.
10724 (MULTISRCTOP, MULTIBUILDTOP): Add.
10725 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
10726 instead of cfg-ml-pos.in.
10727
10728Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
10729
10730 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
10731 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
10732 presence.
10733
10734Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
10735
10736 * libc/string/strtok.c: Include string.h to pick up strtok_r
10737 prototype.
10738
10739Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10740
10741 * libc/string/strtok.c: include <_ansi.h>.
10742 * libc/time/asctime_r.c: `reresult' -> `result'.
10743
10744Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10745
10746 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
10747 in #ifndef _REENT_ONLY ... #endif conditional.
10748
10749 * libc/include/string.h (_strtok_r): Remove declaration.
10750 * libc/include/time.h (_asctime_r): Remove declaration.
10751 * libc/string/strtok.c (_strtok_r): Removed.
10752 * libc/time/asctime.c (_asctime_r): Removed.
10753
10754 * libc/string/Makefile.in (OFILES): Add new object.
10755 * libc/string/strtok_r.c: New file. strtok_r function as
10756 specified by POSIX.1c, adapted from strtok implementation
10757 from NetBSD C library.
10758 * libc/string/strtok.c (strtok): Reimplemented in terms of
10759 strtok_r.
10760
10761 * libc/time/Makefile.in (OFILES): Add new objects.
10762 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
10763 New files, reentrant time functions specified by POSIX.1c.
10764 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
10765 reentrant time functions re-written in terms of reentrant
10766 functions.
10767 * libc/time/lcltime.c: Renamed from localtime.c
10768
10769 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
10770 gmtime_r, and localtime_r.
10771
10772Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
10773
10774 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
10775 * libc/include/sys/unistd.h (getlogin): Revert change of
10776 Oct 19.
10777 * libc/include/sys/signal.h (sigprocmask): Change prototype
10778 so it compiles with c++.
10779
10780Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
10781
10782 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
10783 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
10784 to give some room in case we need to align the jmp_buf.
10785
10786 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
10787 the new ppc-asm.h include file the compiler provides to specify
10788 function prologue/epilogue. Eliminate saves of the xer and ctr
10789 registers, which are volatile. Before starting to save registers,
10790 align to 8 byte boundary.
10791
10792Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
10793
10794 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
10795 referenced by standard libraries.
10796
10797Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
10798
10799 * libc/unix/Makefile.in, libc/string/Makefile.in,
10800 libc/stdio/Makefile.in, libc/reent/Makefile.in,
10801 libc/posix/Makefile.in:
10802 Remove tabs from otherwise empty line. Confuses some
10803 older non-GNU versions of "make".
10804
10805Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
10806
10807 * libc/sys/unistd.h (getlogin): Returns const char *.
10808
10809Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
10810
10811 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
10812 * libc/include/errno.h: Moved into and include...
10813 * libc/include/sys/errno.h: New file.
10814 * libc/include/sys/wait.h: New file.
10815 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
10816 * libc/sys/win32/*: Moved out.
10817 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
10818 * configure.in (i[345]86-*-win32): HAVE_RENAME
10819
10820Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
10821
10822 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
10823 avoid macro expansion for these two names.
10824
10825Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
10826
10827 * libc/machine/h8500/psi.S: r6 renamed to fp.
10828
10829Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
10830
10831 * configure.in (powerpc*): No longer need to define
10832 NO_LONGLONG_POINTERS to supress warnings.
10833
10834Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
10835
10836 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
10837 through PTR instead of directly.
10838
10839 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
10840 non-standard constructor support.
10841
10842Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10843
10844 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
10845 address of the Bigint instead of the address of its _x field,
10846 as the size the result buffer was calculated accordingly.
10847 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
10848
10849 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
10850 from NetBSD C library. No longer special cases division by
10851 zero (which needs to be done by the application anyway), but
10852 it doesn't need to call abs() (or labs()) four times either.
10853
10854 * libc/stdlib/qsort.c: Replaced with implementation from
10855 NetBSD C library.
10856
10857Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10858
10859 * libc/stdio/vfprintf.c: Replaced with implementation from
10860 NetBSD C library (which is derived from the 4.4BSD C library).
10861 * libc/stdio/cvt.c: Removed.
10862 * libc/stdio/Makefile: Updated.
10863
10864Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
10865
10866 * libc/sys/win32/syscalls.c (rename): New.
10867 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
10868
10869Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
10870
10871 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
10872 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
10873
10874 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
10875 (setjmp.o): Delete rule to build setjmp.o.
10876 * libc/sys/sh/setjmp.S: Delete file.
10877
10878Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10879
10880 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
10881 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
10882 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
10883 pow5mult and s2b to identifiers with leading underscores.
10884 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
10885 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
10886
10887Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
10888
10889 * libc/sys/posix/popen.c (sys/types.h): Include.
10890
10891Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
10892
10893 * libc/sys/win32/syscalls.h (fhandler): New struct.
10894 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
10895 (__fhandler_normal): Declare.
10896 (hinfo): New member op_handlers.
10897 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
10898 (__write): Likewise.
10899 (_read, _write, _open, _close, _lseek): Validate fd here.
10900 Move file type specific stuff to foo_normal.
10901 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
10902 New functions.
10903 (__lookup_fhandler): New function.
10904 (__lookup_fhandler_hook, __fhandler_normal): New variables.
10905
10906 From anders.blomdell@control.lth.se (Anders Blomdell)
10907 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
10908 Don't touch standard handles.
10909 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
10910 (_execve): Only create __FD_TABLE__ if necessary.
10911 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
10912
10913Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
10914
10915 * libc/sys/win32/sys/termios.h (FLUSHO): New.
10916 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
10917 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
10918 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
10919 without a handler is received.
10920 * libc/sys/win32/Makefile.in: Remove --nodelete.
10921 * libc/sys/win32/resouce.c (gettimeofday): New.
10922 * libc/sys/win32/syscalls.c (path_to_real_path): New.
10923 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
10924
10925Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
10926
10927 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
10928 Don't append "/*" to search pattern if trailing '/' already there,
10929 append "*".
10930 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
10931 like /'s, convert them to \'s. Handle //<drive>/ path names.
10932 Add space for quoted \'s in arg string. Print translated prog name
10933 and original prog name.
10934 (_execve): Handle parent doing exec a teensy bit better.
10935 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
10936 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
10937 path needs conversion, handle both cases. Delete `const' from result.
10938 (hash_path_name): New function.
10939 (_open): Call it.
10940 (_stat): Likewise. Fill in more fields for directories.
10941 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
10942 (wait_for_any): Fix trace message.
10943 (waitpid): Explicitly test for intpid == 0.
10944
10945 From anders.blomdell@control.lth.se (Anders Blomdell)
10946 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
10947 so `next' is valid.
10948
10949Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
10950
10951 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
10952 complicated.
10953
10954Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10955
10956 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
10957 at all, not just == 1.
10958 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
10959
10960Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10961
10962 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
10963 * libc/sys/win32/include/wintypes.h: include <winnt.h>
10964 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
10965 file.
10966
10967Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
10968
10969 * libc/sys/syscalls.c (getcwd): Fix off by one error.
10970
10971 * libc/sys/signal.c (sleep): Fill it in.
10972 * libc/sys/termios.c (tcflush): Use PurgeComm
10973 (tcsetattr): Set some more of the bits.
10974 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
10975
10976Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
10977
10978 * libc/sys/arm/crt0.S (fp): Initialize to 0.
10979 Conditionally include .idata$3 stuff ifdef __pe__.
10980
10981Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
10982
10983 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
10984 * libc/sys/win32/pipe.c (pipe): Ditto.
10985 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
10986 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
10987 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
10988 (tcgetattr): Contents are new.
10989 * libc/sys/win32/include/winkernel.h (DCB): New.
10990 (GetCommState, SetCommState): New.
10991
10992Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
10993
10994 * libc/sys/arm/crt0.S (_start): Define.
10995
10996Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
10997
10998 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
10999 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
11000
11001 * libc/sys/win32/sysconf.c: New
11002 * libc/sys/win32/sys/winadvapi.h: New
11003 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
11004 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
11005 * libc/sys/win32/pipe.c (pipe): Ditto.
11006 * libc/sys/win32/signal.c (_raise): New.
11007 (_kill): Moved from spawn.c
11008 * libc/sys/win32/spawn.c (kill): Moved to signal.c
11009 * libc/sys/win32/syscalls.c (__read): Use new fields.
11010 (_open): Ditto.
11011 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
11012 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
11013 * libc/include/sys/unistd.h (rmdir): Takes const path.
11014 * libc/include/sys/stat.h (mkdir): Takes const path.
11015 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
11016
11017Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
11018
11019 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
11020
11021 Add support for specifying paths as //<drive>/foo/bar.
11022 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
11023 (__path_to_real_path): Declare.
11024 (PATH_TO_REAL_PATH): New macro.
11025 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
11026 (__path_needs_conversion_p, __path_to_real_path): New functions.
11027 (_open): Fix test for error return from CreateFileA.
11028 Handle new path syntax.
11029 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
11030 * libc/sys/win32/dirsearch.c (opendir): Likewise.
11031
11032Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
11033
11034 * libc/sys/win32/include/*.h: Reorganized
11035 * libc/sys/win32/include/WINREADME: New.
11036 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
11037 * libc/sys/win32/*.c: Fix for new include scheme.
11038 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
11039 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
11040 * libc/sys/win32/passwd.c (*): Fix.
11041 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
11042 (_stat): Get directory owner and permissions right.
11043 * libc/sys/win32/syscalls.h (uinfo): New.
11044 * libc/sys/win32/version.def: Remove leading underscores.
11045
11046Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11047
11048 * libc/sys/win32/key.c: include "include/wincon.h".
11049
11050Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
11051
11052 * libc/sys/win32/{key, stubs}.c: New.
11053 * libc/sys/win32/Makefile: Adjust to cope.
11054 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
11055 (environ_init): Change env names to upper case.
11056 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
11057 * libc/sys/win32/passwd.c (*): Fill in the functions.
11058 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
11059 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
11060 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
11061 (_open): Initialze hmap->execable_p too.
11062 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
11063 (_fstat): Fill in permissions.
11064 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
11065
11066Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
11067
11068 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
11069 if defined.
11070 (cfg-ml-pos.in invocation): Likewise.
11071
11072Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11073
11074 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
11075 s_isnan.o and sf_isnan.o.
11076
11077Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
11078
11079 * All Makefile.in files: added maintainer-clean target as a
11080 synonym for realclean.
11081
11082Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
11083
11084 * libc/include/machine/setjmp.h: Add hppa support.
11085 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
11086 support.
11087 * libc/machine/hppa/Makefile.in: Related changes.
11088
11089Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
11090
11091 * configure.in (machine_dir): Don't set for v810-*-*.
11092
11093Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11094
11095 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
11096 conventions correctly.
11097
11098Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
11099
11100 * libc/stdio/puts.c: Update documentation of return value to match
11101 ANSI standard.
11102
11103Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
11104
11105 Fix file descriptor inheritance.
11106 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
11107 (NOT_OPEN_FD): Fix.
11108 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
11109 close-on-exec flag not set. Initialize child's entire fd table.
11110 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
11111 CHILD_P.
11112 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
11113 if CHILD_P. Initialize entire hmap entry.
11114 (dup): Only create new handle as inheritable if CHILD_P.
11115 (dup2): Likewise. Properly initialize hmap entry.
11116
11117 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
11118 _spawn.
11119 (_exit): Use CHILD_P.
11120 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
11121 (_stat): Likewise.
11122
11123Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11124
11125 * libc/sys/win32/crt0.c (passover): fix up the state table.
11126 * libc/posix/popen.c: Added.
11127 * libc/posix/Makefile.in: compile popen.c.
11128
11129Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
11130
11131 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
11132 h8/500 define _DOUBLE_IS_32BITS.
11133
11134Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
11135
11136 Get vfork/exec/spawn/cwait/wait working again.
11137 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
11138 (procinfo): New member vfork_level.
11139 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
11140 (vfork_init_first): Use GetCurrentProcessId to get pid.
11141 Initialize vfork_level.
11142 (vfork_init): Delete __PID__.
11143 (environ_init): New function. Undo patch of Aug 19, Posix says
11144 environment variables are case sensitive.
11145 (mainCRTStartup): Call it.
11146 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
11147 (my_longjump: Make static.
11148 (_spawn): New argument `h'. Delete setting of __PID__.
11149 Delete local `idx'. Look for chars that need quotes, rather than
11150 ones that don't. Set handle of created process in `h'.
11151 Result is process id if created task.
11152 (allocate_spawn_entry): New function.
11153 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
11154 (_execve): Set __FD_TABLE__ before spawning child.
11155 Scan our fd table when passing fds, not our parent's.
11156 Store handle and pid in procinfo entry.
11157 (vfork0): Ensure strace message always printed.
11158 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
11159 (vfork): Don't clobber result of vfork0.
11160 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
11161 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
11162
11163 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
11164 and `exit_code'.
11165 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
11166 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
11167 adding vfork level to pseudo-pid.
11168 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
11169 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
11170 (_exit): If child, set exit code.
11171 (__vfork_record_death): Only close process handle if valid.
11172 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
11173 didn't exec.
11174 (wait_for_any): Likewise. Start scan after root entry.
11175
11176Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11177
11178 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
11179 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
11180 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
11181 of actual file length.
11182
11183 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
11184 * libc/include/paths.h: _PATH_BSHELL added.
11185 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
11186 and STDERR_FILENO.
11187
11188Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11189
11190 * libc/include/ar.h: Added.
11191 * libc/include/sys/types.h: ino_t goes back to 32-bits.
11192 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
11193 * libc/sys/win32/syscalls.c (_open): compute .namehash based
11194 on filename.
11195 (_fstat): use .namehash for inode number of the fd.
11196
11197Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
11198
11199 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
11200 Change hinfo to __this_procinfo.
11201 * libc/sys/win32/crt0.c: Remove procinfo_list.
11202
11203Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11204
11205 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
11206 win32 environment.
11207
11208Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11209
11210 * libc/sys/win32/include/grp.h: Removed.
11211 * libc/sys/include/grp.h: Added.
11212 * libc/sys/win32/grp.c: Include <grp.h>.
11213
11214Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
11215
11216 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
11217 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
11218 Defined for all but strict ANSI.
11219 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
11220 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
11221 * libc/signal/signal.c (_signal_r): Changed from using
11222 _MAX_SIGNALS to NSIG.
11223 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
11224 __hmap): Deleted.
11225 (__strace, __vfork_next_pid): New.
11226 (__exe_suffix): Default to 1.
11227 (passover, table): Understand quoted arguments.
11228 (vfork_init_first): New.
11229 (vfork_init): Initialize new process structure.
11230 (mainCRTStartup): Pass environ to main.
11231 * exceptions.c (__sig_mask): New
11232 (ehandler3): Ignore signals in mask.
11233 (really_exit): Remove CHILD_P test.
11234 * pipe.c (pipe, dup, dup2): Use new process and file structure.
11235 * resource.c (getrusage): Ditto.
11236 * signal.c (sigprocmask): New.
11237 * spawn.c (*): Rewritten.
11238 * syscalls.c (*): Use new process and file structure.
11239 (find_unused_handle): New.
11240 * syscalls.h (MAX_HANDLES): Deleted.
11241 (hinfo): Removed child_created_p.
11242 (MAX_CHILDREN): Deleted.
11243 (vfork_jmp_info, procinfo): New.
11244 * wait.c (*): Mostly new.
11245 * sys/strace.h (_STRACE_PARANOID): New.
11246 * sys/param.h: New file.
11247
11248Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11249
11250 * libc/include/sys/stat.h: add S_BLKSIZE.
11251 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
11252 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
11253 types under win32.
11254 (mode_t): add a #else to avoid multiple definitons.
11255
11256 * libc/sys/win32/Makefile.in: add grp.c.
11257 * libc/sys/win32/grp.c: include grp.h correctly.
11258 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
11259 of the st structure with real information.
11260 * libc/sys/win32 (dirent): d_ino is of type ino_t.
11261
11262Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
11263
11264 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
11265 and (maybe) sparc64.
11266 (nlink_t): Provide typedef.
11267
11268Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11269
11270 * libc/sys/win32/grp.c: New file.
11271 * libc/sys/win32/include/grp.h: New file.
11272
11273Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11274
11275 * libc/include/machine/ieeefp.h: Added whitespace to make this
11276 file easier to maintain.
11277 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
11278 depending on the value of __LITTLE_ENDIAN__.
11279 On the sh3e, define _DOUBLE_IS_32BITS.
11280
11281Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
11282
11283 * libc/sys/vr4300/syscalls.c: Added missing support
11284 routines. _raise() and getpid().
11285
11286Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
11287
11288 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
11289
11290Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
11291
11292 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
11293 and VR4300 processor.
11294 * libc/sys/vr4300: Add directory.
11295 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
11296 monitor run-time support.
11297
11298Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11299
11300 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
11301 * libc/stdlib/stdlib.tex: Don't include atol.def.
11302
11303Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11304
11305 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
11306
11307Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
11308
11309 * libc/ctype/Makefile.in: Fill in _to* dependencies.
11310
11311Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
11312
11313 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
11314 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
11315 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
11316 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
11317 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
11318
11319Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11320
11321 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
11322
11323Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11324
11325 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
11326 * libc/stdlib/atoff.c: New file.
11327 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
11328 * libc/stdlib/atoi.c (atol): Removed.
11329 * libc/stdlib/atol.c: Removed duplicate documentation.
11330
11331 * libc/include/ctype.h (_tolower, _toupper): Moved inside
11332 #ifndef _STRICT_ANSI conditional.
11333 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
11334 * libc/ctype/_tolower.c: New file.
11335 * libc/ctype/_toupper.c: New file.
11336 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
11337 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
11338 * libc/ctype/toascii.c (_toascii): Removed.
11339
11340Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
11341
11342 * libc/sys/sparc64/sys/types.h: Deleted.
11343
11344Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11345
11346 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
11347 and recognize Windows_95 systems.
11348
11349Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11350
11351 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
11352 and passed fds should be opened in text mode.
11353
11354Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11355
11356 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
11357 in __hmap, set to binary mode by default.
11358
11359Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11360
11361 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
11362 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
11363 vector 34.
11364
11365Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
11366
11367 * Makefile.in (install): Install all libraries found in the
11368 top level. If there's a sys/<type>/include directory,
11369 install those headers into include.
11370
11371 * libc/sys/win32/kernel.def351: Delete
11372 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
11373 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
11374 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
11375 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
11376 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
11377 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
11378 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
11379 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
11380
11381 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
11382 * libc/sys/win32/crt0.c: Force all env names to upper case.
11383 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
11384 * libc/sys/win32/*.c: Headers have moved.
11385 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
11386 __vfork_child_idx is now __vfork_child_ptr.
11387
11388 * posix/execvp (execvp): Don't crash if no PATH envname.
11389
11390Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11391
11392 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
11393 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
11394 through the _freelist instead of through the _reclaim list.
11395 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
11396 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
11397 sources.
11398
11399Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11400
11401 * libc/machine/h8500/setjmp.S: New file.
11402 * libc/include/machine/setjmp.h: Updated for H8/500.
11403
11404Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
11405
11406 * libc/sys/win32/syscalls.c (_open): More stracing.
11407 (_stat): Open the file in O_BINARY.
11408
11409Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11410
11411 * libc/machine/h8300/setjmp.S: New file.
11412 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
11413
11414Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
11415
11416 * libc/sys/win32/crt0.c (__exe_suffix): New global.
11417 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
11418 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
11419 __exe_suffix. Free fd_tab after setting env variable.
11420 (spawnv,_execve): Update.
11421 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
11422 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
11423 (__small_vfprintf): New function.
11424 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
11425 * libc/sys/win32/wait.c (cwait): Validate argument.
11426
11427 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
11428 (process_deletion_queue): Likewise.
11429
11430 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
11431
11432Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
11433
11434 * libc/sys/win32: Copyrights and gratuitous indenting.
11435
11436Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
11437
11438 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
11439 (process_deletion_queue): Likewise.
11440 (__close_all_files): New function.
11441 (_close): Only queue file deletion if really a file.
11442 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
11443 _P_APPEND_EXE.
11444 (_exit): Call __close_all_files.
11445
11446 * libc/stdlib/system.c: #include <errno.h>.
11447 (_system_r): Fix results in -DNO_EXEC case.
11448
11449 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
11450 Reorganize structure.
11451 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
11452 if argument is valid. Save directory name in DIR. malloc space
11453 for dirent struct separately.
11454 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
11455
11456 * libc/include/errno.h (ENAMETOOLONG): Define.
11457 * libc/string/strerror.c (strerror): Reword ENFILE.
11458 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
11459
11460Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
11461
11462 * libc/sys/win32/crt0.c (__progname): New global.
11463 (mainCRTStartup): Support strace=bitmask,filename.
11464 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
11465 * libc/sys/win32/syscalls.c (_write): Print parent trace message
11466 if error.
11467 (getcwd): Handle len too small. Convert '\\' to '/'.
11468 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
11469 Add prototypes for open, creat, fcntl.
11470 (O_APPEND): Change value to conform to Microsoft's value.
11471 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
11472
11473 * libc/stdlib/getopt.c: New file.
11474 * libc/stdlib/Makefile.in: Build it.
11475
11476Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
11477
11478 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
11479 Fix scanning of $PATH.
11480 * libc/posix/exec*.c: Call _execve, not execve.
11481 * libc/posix/execve.c: New file.
11482 * libc/posix/Makefile.in (OFILES): Add execve.o.
11483
11484 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
11485 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
11486 (_STRACE): If level==0, always print. Handle new bit mask scheme.
11487 * libc/sys/win32/crt0.c: Update _STRACE calls.
11488 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
11489
11490 * libc/sys/win32/smallprint.c (rn): Fix digit list.
11491
11492 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
11493 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
11494 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
11495 Print __seterrno trace message first.
11496 (_execve): Renamed from execve.
11497 (vfork): Update __strace usage.
11498 (__vfork_child_pid): Deleted.
11499 (__vfork_children, __vfork_child_idx): New globals.
11500 (_spawnvp): New function.
11501 (spawnvp, spawnv, _execve): Call _spawnvp.
11502 (init_child): Record child in __vfork_children.
11503 (__vfork_get_entry, __vfork_record_death): New functions.
11504 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
11505 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
11506 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
11507 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
11508 (children): New typedef.
11509 (__vfork_children,__vfork_child_idx): Declare.
11510 (__vfork_get_entry,__vfork_record_death): Declare.
11511 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
11512 (waitpid): Handle pid == -1.
11513 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
11514 * configure.in (i386-win32): Add -DNO_FORK.
11515 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
11516 * libc/reent/execr.c (_fork_r): Likewise.
11517 * libc/stdlib/system.c (do_system): New function.
11518 If WIN32, try to get shell path from $SH_PATH, use vfork.
11519 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
11520 otherwise return 0.
11521
11522Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
11523
11524 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
11525 * libc/sys/win32/fcntl.h: Don't include self.
11526 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
11527 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
11528 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
11529 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
11530 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
11531 Correct prototypes.
11532 * libc/sys/win32/strace.c: New file.
11533 * libc/sys/win32/smallprint.c: New file.
11534 * libc/sys/win32/crt0.c (func): Delete.
11535 (mainCRTStartup): Fix alloca usage. Set handles explictly.
11536 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
11537 * libc/sys/win32/exceptions.c: Lint.
11538 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
11539 Clean up handle usage.
11540 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
11541 (open.c): Default file type is text.
11542 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
11543 * libc/sys/win32/advapi32.def: New
11544
11545Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
11546
11547 * configure.in (posix_dir, libc_posix_lib): New variables.
11548 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
11549 (i[345]86-*-win32): Define posix_dir.
11550 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
11551 (if unix_dir): Fix typo.
11552 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
11553 scandir,seekdir,telldir}: New files.
11554 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
11555 from libc/unix.
11556 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
11557 (SUBDIRS): Add posix.
11558 (SUBLIBS): Add $(LIBC_POSIX_LIB).
11559
11560 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
11561 (NSIG): Increase to 21.
11562 * libc/include/sys/unistd.h (pid_t): Move from here,
11563 * libc/include/sys/types.h (pid_t): to here.
11564
11565 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
11566 (__ptrace): Delete.
11567 (hinfo): New members close_exec_p, child_created_p.
11568 (struct exception_list): Define.
11569 (__hmap): Redefine as pointer to table.
11570 (__parent_hmap, __child_hmap): New globals.
11571 (__set_errno, __really_exit): Declare.
11572 (__vfork_child_pid): Declare.
11573 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
11574 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
11575 (__parent_hmap, __child_hmap): New globals.
11576 (__hmap): Redefine as pointer to active map.
11577 (__get_console): New function.
11578 (mainCRTStartup): Change leading '=' in environ vars to '!'.
11579 (env __FD_TABLE__): Watch for this and initialize our fd/handle
11580 mapping table from it if defined.
11581 (argv, envp): Dump if __strace >= 4.
11582 (main): Call here.
11583 * libc/sys/win32/exceptions.c (myp): Redefine.
11584 (__syscalls_b): Delete.
11585 (__stack_trace): New function.
11586 (ehandler3): Update to use _STRACE. Print stack trace.
11587 Call __really_exit instead of exit.
11588 (init_exceptions): Delete args argc,argv. New arg mine.
11589 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
11590 FindFirstFileA, FindNextFileA, GetComputerNameA,
11591 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
11592 * libc/sys/win32/signal.c (signal): Validate arg.
11593 (alarm, sleep): Define as stubs for now.
11594 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
11595 (__syscalls_b, errno): Delete.
11596 (__vfork_child_pid, __vfork_jmp_buf): New globals.
11597 (__seterrno): Handle more errors.
11598 (__sys_printf): Renamed from _ptrace.
11599 (__really_exit): New function.
11600 (queue_file_deletion, process_deletion_queue): New functions.
11601 (__resume_parent): New function.
11602 (_unlink): Handle trying to delete open file.
11603 (__totime_t): Renamed from totime_t.
11604 (setsid, __read, __write): New functions.
11605 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
11606 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
11607 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
11608 * libc/sys/win32/console.c: Update to new definition of __hmap.
11609 * libc/sys/win32/Makefile.in: Build new files.
11610 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
11611 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
11612 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
11613 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
11614
11615Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
11616
11617 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
11618
11619Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11620
11621 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
11622 have been made to the master dtoa.c sources (from netlib.att.com)
11623 since they were integrated into newlib in early 1992. Fixes
11624 problems with storage leaks and handling of numbers with very
11625 negative exponents.
11626
11627Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11628
11629 * Makefile.in (all): set rootpre and srcrootpre before calling
11630 sub-makes.
11631
11632Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
11633
11634 * libc/sys/win32/crt0.c: Change __hmap usage.
11635 * libc/sys/win32/exceptions.c: Use _ptrace call.
11636 * libc/sys/win32/syscalls.c: Use _ptrace call.
11637 (read, write): Cope with DOS style CRLF when in TEXT mode.
11638 * libc/sys/win32/syscalls.h: Declare hinfo struct.
11639 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
11640 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
11641 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
11642 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
11643
11644Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11645
11646 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
11647
11648 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
11649 wrappers for hypot() and remainder() for BSD libm compatibility.
11650 These are public domain implementations written by me for the
11651 NetBSD libm some time ago. Note cabs() is required by ucbtest.
11652 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
11653 (fobj): Added wf_cabs.o and wf_drem.o.
11654
11655Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11656
11657 * libc/sys/h8500hms/misc.c: New file.
11658 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
11659
11660Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11661
11662 * libc/time/localtime.c (localtime): Fix problem with leap year
11663 handling. Stole algorithm from Arthur David Olson's tz code.
11664
11665Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
11666
11667 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
11668
11669 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
11670 (_exit): Use argument.
11671
11672Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
11673
11674 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
11675
11676Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
11677
11678 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
11679
11680Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11681
11682 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
11683 target_cflags.
11684
11685Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
11686
11687 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
11688 ptrace with case insensitivity
11689 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
11690 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
11691 New files.
11692
11693Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
11694
11695 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
11696 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
11697 (all, install, *clean): Use new multilib support.
11698 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
11699
11700Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
11701
11702 * libc/include/sys/signal.h (__WIN32__): New.
11703
11704 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
11705
11706 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
11707 (ulp, b2d): Handle 32 bit doubles.
11708 * libc/stdlib/mprec.h: Handle 32 bit doubles.
11709 * libc/stdlib/strtod.c (_strtod_r): Ditto.
11710
11711Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
11712
11713 from medp@primag.co.uk:
11714 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
11715 dynamically allocated buffers.
11716
11717Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
11718
11719 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
11720 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
11721
11722Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
11723
11724 * configure.in (powerpc): Fix previous fix.
11725
11726Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
11727
11728 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
11729 directories for this target.
11730
11731Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
11732
11733 * configure.in (hppa): Add machine_dir definition.
11734 * libc/machine/hppa: New directory with PA specific implementations
11735 of the basic memory/string functions.
11736
11737Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
11738
11739 * configure.in: Update current PowerPC multilib directories.
11740 Split big and little endian configurations.
11741
11742Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
11743
11744 * configure.in: Add --enable-single-float option to configure to
11745 control use of MIPS single-float directories. Default to yes.
11746
11747 * Makefile.in (all): Don't recurse into multilib directory if it
11748 does not exist.
11749
11750Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11751
11752 * libc/sys/sh/syscalls.c: Fix typo.
11753
11754Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
11755
11756 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
11757 Pass down DLLTOOL.
11758 * libc/include/process.h: Define WAIT_CHILD.
11759 * libc/include/types.h: Get sizes right for win32.
11760 * configure.in (i386-*-pe): Becomes i386-win32.
11761 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
11762 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
11763 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
11764 is defined.
11765
11766Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
11767
11768 * configure.in (i[345]86-*-pe): New target (NT).
11769 * host/any: DLLTOOL new.
11770 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
11771 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
11772 WIN32 (just enough to cross host the comp-tools).
11773
11774Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
11775
11776 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
11777 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
11778
11779Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
11780
11781 * libc/include/machine/ieeefp.h (arm): Change to always be
11782 __IEEE_BIG_ENDIAN (even on little endian ARM's).
11783
11784Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
11785
11786 * libc/sys/crt0.S: Initialze sp, and call exit after main.
11787 * libc/sys/syscalls.c (abort): New.
11788 * configure.in (arm): Define ABORT_PROVIDED.
11789
11790Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11791
11792 * configure.in (powerpc): Define multidirs.
11793
11794Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
11795
11796 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
11797
11798Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
11799
11800 * configure.in (sparclite): Delete target_cflags. Define multidirs.
11801
11802Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
11803
11804 * configure.in, libc/include/machine/ieeefp.h: Modified
11805 for arm:
11806 libc/machine/arm/*, libc/sys/arm/*: New
11807
11808Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11809
11810 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
11811 __powerpc__ when determining endianness.
11812
11813Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11814
11815 * configure.in (m68*): Add multidir for the m68332.
11816
11817 * host/any (CC): Fix typo in last change.
11818
11819Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
11820
11821 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
11822 when determining endianness.
11823 * libc/include/machine/ieeefp.h: Ditto.
11824 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
11825 operands.
11826
11827Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
11828
11829 * libc/include/errno.h (ENOTEMPTY): Define.
11830
11831Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11832
11833 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
11834 target_cflags.
11835
11836 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
11837 and umultiply.o.
11838
11839 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
11840 instead of only when open succeeds. ANSI requires that multiple
11841 calls to tmpnam() result in different files.
11842
11843 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
11844 objects pulled in from /lib/libc.a that must be renamed before
11845 being pulled into newlib. /lib/libc.a's div.o conflicted with
11846 newlib's file with the same name.
11847
11848 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
11849
11850 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
11851 the build tree will only be used if the executables are present
11852 (instead of just the Makefiles).
11853
11854 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
11855 wcstombs): Define.
11856 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
11857 versions of these functions that I orignally wrote for the
11858 NetBSD C library.
11859 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
11860 versions I wrote for NetBSD.
11861
11862Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
11863
11864 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
11865 * libc/sys/sparclite/crt0.s: ditto.
11866
11867Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
11868
11869 * configure.in: Add soft-float for proelf.
11870
11871Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
11872
11873 * libc/stdlib/mprec.h (Bcopy): Copy the right number
11874 of bytes.
11875
11876Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
11877
11878 * Makefile.in (all): Depend on `force'.
11879 * configure.in (syscall_dir): Renamed from fake_sys_dir.
11880 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
11881 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
11882 * libc/Makefile.in: Likewise.
11883 * libc/include/reent.h: Update syscall references.
11884 (_fcntl_r): Add prototype.
11885 * libc/syscalls/*.c #include <reent.h>.
11886 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
11887
11888Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
11889
11890 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
11891 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
11892 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
11893 (time.h, sys/types.h): Always include (even if MSDOS).
11894 (stat): Fix prototype.
11895
11896Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
11897
11898 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
11899
11900Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
11901
11902 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
11903
11904Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
11905
11906 * libc/include/regdef.h: New file.
11907 * libc/machine/mips/machine/regdef.h: New file.
11908
11909Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
11910
11911 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
11912
11913Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
11914
11915 * libc/sys/sh/crt0.S: Pass main's return to exit.
11916 * libc/sys/sh/trap.S: Put errno in the right place.
11917
11918Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
11919
11920 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
11921 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
11922 * libm/math/ef_rem_pio2.c: Likewise.
11923 * libm/math/e_log10.c: Remove unused static one.
11924 * libm/math/ef_log10.c: Likewise.
11925 * libm/math/s_frexp.c: Likewise.
11926 * libm/math/sf_frexp.c: Likewise.
11927
11928Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
11929
11930 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
11931 longjmp.S: Upgraded.
11932 * libc/sys/go32/sys/setjmp.h: Upgraded.
11933 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
11934
11935Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
11936
11937 * configure.in: Add many entries to multidirs for mips targets.
11938
11939Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11940
11941 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
11942 5.2 which fixes bug where jn(-1,x) is three times larger than
11943 the actual answer.
11944 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
11945
11946Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
11947
11948 * libc/sys/w65/sys/syscalls.h: New file
11949 * libc/include/machine/ieeefp.h: W65 support.
11950 * libc/include/sys/config.h: Ditto.
11951 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
11952 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
11953 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
11954
11955Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
11956
11957 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
11958
11959Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
11960
11961 * Makefile.in, configure.in: Remove any references to the old
11962 "stub" dir.
11963
11964Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
11965
11966 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
11967 uses ... in prototype.
11968
11969
11970Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
11971
11972 * libc/sys/a29khif/sys/libconfig.h: Remove.
11973 * libc/sys/go32/sys/libconfig.h: Remove.
11974 * libc/sys/sun4/sys/libconfig.h: Remove.
11975 * libc/sys/sysvi386/sys/libconfig.h: Remove.
11976 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
11977 * libc/sys/sparc64/sys/libconfig.h: Remove.
11978
11979 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
11980 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
11981 * libc/include/math.h: Change all uses of _FLOAT_RET and
11982 _FLOAT_ARG to float.
11983 * libm/test/math.c: Likewise.
11984 * testsuite/libm.sac/math.c: Likewise.
11985 * testsuite/libm.sac/working/math.c: Likewise.
11986
11987Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
11988
11989 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
11990 gcc calls gas with endian option.
11991 * configure.in (sh): Build little endian version too.
11992
11993Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
11994
11995 * configure.in: Configure big and little endian versions for MIPS
11996 targets.
11997
11998Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
11999
12000 * libc/include/limits.h: Deleted.
12001 * libc/include/machine/limits.h: Deleted.
12002
12003Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
12004
12005 * ChangeLog: Remove stub directory. This has all been rewritten
12006 and moved to devo/libgloss.
12007
12008Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
12009
12010 * Makefile.in (dvi): Add to info target, use $@ in sub make.
12011 (docs): Merge into info target.
12012 * libm/Makefile.in (dvi): Add $(srcdir).
12013 * libm/math/Makefile.in (chobjs): Remove underscores from file
12014 names. Texinfo doesn't like them.
12015 (wacos.def, ...): Add explicit targets for all .def files.
12016 * libm/math/math.tex: Remove underscores from @include file names.
12017 * doc/Makefile.in (dvi): Add dummy target.
12018 * testsuite/Makefile.in (dvi): Add dummy target.
12019
12020Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
12021
12022 * Makefile.in (VERSION): Define. For net newlib releases.
12023
12024Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
12025
12026 * README: New file.
12027
12028Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
12029
12030 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
12031
12032Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12033
12034 * libc/stdlib/setenv.c (_findenv): Declare.
12035
12036 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
12037 fcntl to not use _EXFUN, and change string parameters to open and
12038 creat to be ``const char *''.
12039 * libc/sys/sparc64/sys/fcntl.h: Likewise.
12040 * libc/sys/sparc64/creat.c (creat): Make PATH const.
12041 * libc/syscalls/sysopen.c: Include <fcntl.h>.
12042 (open) Make _FILE const.
12043 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
12044 (_creat): Make PATH const.
12045 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
12046 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
12047 * libc/sys/m88kbug/syscalls.c (open): Likewise.
12048 * libc/sys/sh/syscalls.c (_open): Likewise.
12049 * stub/shared/glue.c (open): Make BUF const.
12050 * stub/ex93x/syscalls.c (open): Make FILENAME const.
12051
12052Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
12053
12054 * libc/include/errno.h: Add ENMFILE
12055 * libc/include/sys/config.h: Support Z8000.
12056 * libc/include/sys/signal.h: New signals for go32.
12057 * libc/machine/h8500/psi.S (__addpsir0r0): New function
12058 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
12059 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
12060 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
12061 size is variable, depending upon CHUNK_POWER.
12062 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
12063
12064Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
12065
12066 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
12067
12068Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12069
12070 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
12071
12072Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12073
12074 * configure.in: Change i[34]86 to i[345]86.
12075
12076 * libc/include/math.h: Don't define HUGE_VAL if it is already
12077 defined.
12078
12079Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12080
12081 * testsuite/libm.sac/test_erfc.c: Correct some result values.
12082 * testsuite/libm.sac/test_gammaf.c: Likewise.
12083 * testsuite/libm.sac/test_sin.c: Likewise.
12084 * testsuite/libm.sac/test_tanh.c: Likewise.
12085
12086Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12087
12088 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
12089 already set. Define typedefs __int32_t and __uint32_t.
12090 * libc/include/math.h: Include <machine/ieeefp.h>.
12091 (union __dmath): Use __uint32_t.
12092 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
12093 instead of int and unsigned int.
12094
12095Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12096
12097 Replace the math library with the SunPRO fdlibm package.
12098 * libm/math: Completely changed all files.
12099 * libm/ieeefp: Remove contents and directory.
12100 * libm/Makefile.in (LIBM_FP_LIB): Remove.
12101 (SUBDIRS): Just set to math/lib.a.
12102 * libm/libm.texinfo: Updated for new library.
12103 * libc/include/math.h: Extensive changes for new math library.
12104 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
12105 from _FLOAT_ARG to float.
12106 (maxpowtwo, maxpowtwof): Don't declare.
12107 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
12108 (libm_fp_lib): Removed.
12109 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
12110 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
12111 argument to ${RUNTEST}.
12112 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
12113 (.c.o): New rule.
12114 (RUNTESTFLAGS): Set CC and CFLAGS.
12115 (TESTS): Remove test_log2 and test_log2f.
12116 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
12117 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
12118 _FLOAT_ARG, for single precision argument type.
12119 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
12120 expected failure. Close the input pipe.
12121 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
12122 Correct misspelling of inaccurate.
12123 (test_mok): Use ``inaccurate'', not ``wrong''.
12124 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
12125 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
12126 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
12127 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
12128 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
12129 test_yn.c): Correct many result values. Many are still wrong.
12130
12131 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
12132 just copy the string.
12133 (_gcvt): Always return the buffer.
12134
12135Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
12136
12137 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
12138
12139Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
12140
12141 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
12142 structure.
12143 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
12144 (_reclaim_reent): declare new entry point.
12145 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
12146 functions.
12147
12148 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
12149 ever allocated, so that we can later reclaim them all.
12150 (pow5mult): make reentrant.
12151
12152 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
12153 so that when given NULL as a buffer, return a pointer to static
12154 space in the rent structure. This is not documented behaviour;
12155 it's only to support ecvt and fcvt, which aren't ANSI anyway.
12156 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
12157 therefore become reentrant).
12158
12159 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
12160
12161Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12162
12163 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
12164
12165Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
12166
12167 * Makefile.in: Make link to libg.a after libc.a; this is needed
12168 for the testsuites to build executables when everything comes
12169 from the tree.
12170
12171Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
12172
12173 * libc/Makefile.in: Add a VERSION variable so we can keep track.
12174 * libm/Makefile.in: Add a VERSION variable so we can keep track.
12175
12176Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12177
12178 * libc/include/stdio.h: Use __VALIST, not va_list.
12179
12180Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
12181
12182 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
12183 testsuite/libm.sac/execute.exp:
12184 Replace error proc calls with perror calls.
12185
12186Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
12187
12188 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
12189 * libc/include/time.h: #define NULL as 0L.
12190
12191Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
12192
12193 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
12194 care of it.
12195
12196Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12197
12198 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
12199 not __unix__.
12200
12201Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
12202
12203 * configure.in (TARGET_CFLAGS): Set -O2 as default.
12204 (z8k-*-*): Use syscalls fake sys dir.
12205 * libc/sys/z8k/glue.c: Rename syscalls.
12206 * libc/sys/go32/Makefile.in: Use new routines.
12207 * libc/machine/Makefile.in: Fix typo in ln stuff.
12208
12209Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12210
12211 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
12212 * libc/Makefile.in (crt0.o): Likewise.
12213 * libc/machine/Makefile.in (lib.a): Likewise.
12214 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
12215
12216 All Makefile.in files: Added mostlyclean, realclean and distclean
12217 targets.
12218
12219 * Makefile.in: Don't bother to unexport XTRAFLAGS or
12220 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
12221 the top level Makefile.
12222
12223Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
12224
12225 * libc/sys/sparc64/sys/stat.h: New file.
12226 * libc/sys/sparc64/sys/time.h: New file.
12227 * libc/sys/sparc64/sys/types.h: New file.
12228
12229Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
12230
12231 * stub/ex93x/crt0.s (start): Add code to clear bss.
12232
12233Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
12234
12235 * libc/include/sys/types.h (time_t): Properly protect inside
12236 #ifndef __time_t_defined.
12237
12238 * libc/stdio/fileno.c: New file.
12239 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
12240 (fileno.o): Add dependency.
12241 * libc/include/stdio.h (__sgetc): Rename never to _never.
12242 (fileno macro): Disable, needs to do CHECK_INIT first.
12243
12244Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
12245
12246 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
12247 goal.
12248
12249 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
12250 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
12251 runtest.
12252 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
12253 runtest.
12254
12255Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
12256
12257 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
12258 of the various constants.
12259
12260Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
12261
12262 * libc/include/math.h: #ifndef __math_68881 around things which
12263 conflict with the (gcc-provided) inline functions in
12264 gcc/ginclude/math-68881.h.
12265
12266Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
12267
12268 * libc/include/_syslist.h (_gettimeofday): Define.
12269 (_times): Ditto.
12270 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
12271 (struct tms, timeval, timezone): Declare.
12272 (_gettimeofday_r, _times_r): Declare.
12273 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
12274 #ifdef _CLOCK_T_ surrounding definition of clock_t.
12275 (time_t): Add multiple definition protection, __time_t_defined.
12276 * libc/include/sys/time.h: Don't #include <time.h>.
12277 Always define struct timezone (remove #ifndef _TIME_H_).
12278 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
12279 #ifdef _CLOCK_T_ surrounding definition of clock_t.
12280 * libc/reent/Makefile.in (OFILES): Add timer.o.
12281 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
12282 * libc/reent/timer.c: New file.
12283 * libc/time/clock.c: #include <reent.h>.
12284 (clock): Call _times_r instead of times.
12285 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
12286 HAVE_GET_TIME_OF_DAY.
12287 Add comment regarding supporting OS routine(s) required (for docs).
12288 #include <reent.h>.
12289 (time): Call _gettimeofday_r instead of gettimeofday.
12290 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
12291 * libc/time/ctime.c: Ditto.
12292 * libc/time/strftime.c: Ditto.
12293 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
12294 (TEMPLATE_SFILES_R): Define here. Also define times.
12295 Add times_r.o/times.S dependence.
12296 (time2.c, junk.c): Deleted.
12297 * libc/sys/sparc64/time2.c: Deleted.
12298 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
12299
12300 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
12301 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
12302 * libc/sys/sparc64/junk.c: Deleted.
12303
12304Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
12305
12306 * libc/sys/sparc64/Makefile.in: Add times syscall.
12307 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
12308 be used with and without it. Add comment clarifying Medium/Anywhere
12309 model requirements.
12310 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
12311 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
12312 even if obsolete.
12313
12314Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
12315
12316 * configure.in (target_cflags): Move init.
12317 (sparc64-*-*): Define HAVE_BLKSIZE.
12318
12319Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
12320
12321 * libc/include/sys/_types.h: New file.
12322 * libc/include/reent.h: #include it.
12323 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
12324 MISSING_SYSCALL_NAMES.
12325 Sort syscalls.
12326 * libc/include/_syslist.h: Remove _raise.
12327 * libc/reent/signalr.c: New file.
12328 * libc/reent/Makefile.in: Compile it.
12329 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
12330 Add doc for raise and _raise_r.
12331 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
12332 (raise): Call _raise_r.
12333 (_raise_r): Call _getpid_r and _kill_r.
12334 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
12335 (abort): Loop forever calling raise and _exit.
12336
12337Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12338
12339 * configure.in: Remove extraneous echo.
12340
12341Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
12342
12343 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
12344 collision with unistd.h, and fix for svr4.
12345
12346Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
12347
12348 * libc/stdio/local.h (_llicvt): Declare.
12349 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
12350 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
12351 (_llicvt): Define.
12352 (_sicvt): Fix function header (`value' is short).
12353 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
12354 Add printing of long long's support.
12355 Add printing of 8 byte pointer support.
12356
12357Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
12358
12359 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
12360 stat, chmod): New hooks.
12361 (sbrk): Abort if stack and heap collide.
12362 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
12363 shortcut when given small args.
12364 * libc/machine/sh/setjmp.s: Rewritten.
12365 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
12366 of cmp/str instruction.
12367
12368Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12369
12370 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
12371 and machine_dir powerpc.
12372 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
12373 Add cases for __powerpc__.
12374 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
12375 New files.
12376
12377 * libc/include/stdio.h (_iprintf_r): Declare correctly.
12378
12379Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
12380
12381 * libc/stdlib/callocr.c: New file with _calloc_r in it.
12382 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
12383
12384Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
12385
12386 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
12387 (print_e): More comments to describe args, etc.
12388 "type" arg may now be 'g' or 'G' for %g/G format --> remove
12389 trailing blanks.
12390 (_gcvt): Remove locals decpt, sign, end, p, done.
12391 More comments for print_e invocation.
12392 Pass "type" to print_e as is (g/G).
12393
12394Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
12395
12396 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
12397 stock m68000.
12398
12399Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
12400
12401 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
12402 works with any sized pointer, including ones bigger than ints and
12403 longs.
12404
12405Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
12406
12407 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
12408
12409Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
12410
12411 * libc/include/stdlib.h (_calloc_r): Add prototype.
12412 * libc/machine/h8500/negsi2.c: New file.
12413 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
12414 large unsigned numbers.
12415 * libc/machine/h8500/cmpsi.c: Add cmppsi.
12416 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
12417 works when sizeof(size_t) != sizeof(char *).
12418 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
12419 get play area
12420 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
12421
12422Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
12423
12424 * libc/include/assert.h (assert): Handle -traditional.
12425
12426Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
12427
12428 * Makefile.in: added ; after every "fi" and "done" that wasn't at
12429 the end of a line (ie. anything before a backslash continuation)
12430 so that bash handles them.
12431
12432Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
12433
12434 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
12435 stat to lstat
12436
12437Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
12438
12439 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
12440 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
12441 libc/machine/sh/udivsi3.s: Use new calling convention.
12442
12443Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
12444
12445 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
12446 chmod, access, chdir, chown by making _path const. Also fix _amode
12447 param of access.
12448
12449Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
12450
12451 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
12452 _khif_tmpnam, because it doesn't comply with ANSI but may be
12453 useful anyway. Real tmpnam was already in libc/stdio, and was
12454 colliding with this one (pr 2176.)
12455 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
12456 the wrong idea anyhow.
12457
12458Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
12459
12460 * configure.in: Remove h8300h, we have multilib now.
12461
12462Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
12463
12464 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
12465 functions, to get preference over the ones in libiberty (since we
12466 provide correct declarations in <string.h>.
12467 * libc/string/Makefile.in: add support for strncasecmp,
12468 strcasecmp.
12469
12470Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
12471
12472 * Change netware config not to look for cpu explicitly.
12473
12474Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
12475
12476 * libc/sys/sparc64/{creat.c,junk.c}: New files.
12477 * libc/sys/sparc64/Makefile.in: Add dependencies.
12478
12479Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
12480
12481 * configure.in: Clean up v9 a bit, new "os" aoutv8.
12482
12483Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
12484
12485 * libc/include/sys/reent.h: make structure smaller by allocating
12486 some stuff when needed.
12487 * libc/signal/signal.c: allocate as needed
12488 * libc/stdio/findfp.c,stdio/local.h: ditto
12489 * libc/stdlib/mprec.c: ditto
12490
12491 * libc/time/localtime.c: don't return a dangling stack ptr.
12492
12493Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
12494
12495 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
12496
12497Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12498
12499 * libc/include/stdio.h (__sputc): comment out static inline which
12500 confuses coff toolchains.
12501
12502Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
12503
12504 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
12505 _write.s, getpid.c, kill.c, read.s}:
12506 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
12507 through the syscalls directory.
12508
12509Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
12510
12511 * configure.in: fixed double quote gotcha.
12512
12513Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
12514
12515 * stub/ex931: stub library for sparclite board.
12516 * stub/idp: Renamed from mc68ec. Added contructor table
12517 stuff to linker script.
12518 * stub/mvme135: Renamed from m68kmvme. Added contructor table
12519 stuff to linker script.
12520
12521Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12522
12523 * configure.in: Configure testsuites only if they exist.
12524
12525Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12526
12527 * configure.in: Don't set machine_dir for i386 until there is
12528 something in libc/machine/i386 to compile. For i[34]86-*-netware*
12529 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
12530 CLOCK_PROVIDED and MALLOC_PROVIDED.
12531
12532 * libc/sys/netware: New directory. Contains simplistic and
12533 probably incorrect stubs for NetWare. Should be enough to load
12534 the library.
12535 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
12536 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
12537 stub files.
12538
12539 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
12540 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
12541 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
12542 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
12543
12544Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
12545
12546 * testsuite/Makefile.in: add "docs" dummy target for consistency
12547 with rest of newlib; turn "info" and "install-info" into dummy
12548 targets, since they wouldn't have worked. (Depended on
12549 nonexistent "doc" subdir.)
12550
12551Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
12552
12553 * configure.in: handle mips* instead of mips
12554
12555Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
12556
12557 * libc/include/sys/dirent.h: New file. If it is not overridden by
12558 a version of libc/sys/*/sys/dirent.h, it includes the next
12559 <dirent.h> file in case there is one lurking somewhere.
12560
12561Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12562
12563 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
12564 compliance, namely: Accept a minus sign. Consider a single 0 with
12565 a radix of 0 as being a conversion. Determine overflow correctly.
12566 If an overflow occurs, set *ptr to the end of the number, not the
12567 middle.
12568 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
12569
12570Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
12571
12572 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
12573
12574Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
12575
12576 * Makefile.in (INSTALL): Use $srcrootpre.
12577 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
12578 can't handle it.
12579 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
12580 it.
12581 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
12582 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
12583 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
12584 * libm/math/Makefile.in (matherr.o): Ditto.
12585
12586Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
12587
12588 * configure.in: Build multidirs for z8k.
12589 * libc/include/stdlib.h (_strtoul_r): add prototype.
12590 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
12591 * libc/include/machine/setjmp.h: Add for z8k.
12592 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
12593 * libc/sys/z8ksim/glue.c: tidy up.
12594
12595Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
12596
12597 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
12598 New files. Requires execve system call.
12599 * libc/unix/Makefile.in: Use them.
12600 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
12601 Deleted, moved to libc/unix.
12602 * libc/sys/sparc64/Makefile.in: Remove them.
12603
12604Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
12605
12606 * libc/sys/sparc64/{template.S template_r.S}: New files.
12607 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
12608 from templates.
12609 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
12610 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
12611 umask.S unlink.S wait4.S write.S}: Removed, now built from
12612 templates.
12613
12614Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
12615
12616 * libc/time/time.c: #include <_ansi.h>.
12617
12618Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
12619
12620 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
12621
12622Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12623
12624 * configure.in: match m8* rather than m88k so that m88110 is
12625 recognized as well.
12626
12627Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
12628
12629 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
12630 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
12631 misc.c: New file.
12632
12633 * configure.in: Add multilib support to h8300.
12634
12635Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
12636
12637 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
12638 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
12639 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
12640
12641Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12642
12643 * configure.in: Corrected multidirs for sparc target.
12644
12645Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12646
12647 Support for building newlib multiple times with different
12648 compilation flags.
12649 * configure.in: Only configure doc at top level. Set multidirs
12650 when appropriate for target, unless not at top level. If
12651 multidirs is set, independently configure each subdirectory.
12652 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
12653 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
12654 automagically set by configure.in.
12655 (all): If MULTIDIRS is set, build multiple copies of libraries.
12656 (install): If MULTIDIRS is set, install multiple copies of
12657 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
12658 MULTISUBDIR is set, don't bother to install header files.
12659 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
12660 ${srcrootpre}.
12661 * stub/configure.in: Set MULTISUBDIR appropriately.
12662 * stub/Makefile.in (install): Install in
12663 $(tooldir)/lib/$(MULTISUBDIR).
12664 * All Makefile.in files: Define SRCTOP as well as TOP.
12665
12666Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
12667
12668 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
12669 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
12670
12671Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
12672
12673 * libc/sys/h8300hms/exit.c (_exit): New function.
12674
12675Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12676
12677 * configure.in: recognize m88110.
12678
12679Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12680
12681 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
12682 prototype main and call with args.
12683
12684Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
12685
12686 First real try at system traps for m88k-bug.
12687 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
12688 to real trap calls.
12689 * libc/sys/m88kbug/sys/systraps.h: new file.
12690
12691Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12692
12693 Patches to fix info building when target does not use sys
12694 directory.
12695 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
12696 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
12697 libc/sys.tex.
12698 * libc/sys/Makefile.in (doc): do nothing.
12699
12700Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12701
12702 * libc/Makefile.in (CRT0): new macro.
12703 (all): depend on $(CRT0) rather than crt0.o.
12704
12705 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
12706 do not default crt0, instead, set crt0 and crt0_dir based on
12707 sys_dir and stub_dir.
12708
12709 * Makefile.in (CRT0_DIR): new macro.
12710 (all): depend on $(CRT0) rather than crt0.o which may not exist.
12711 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
12712 $(CRT0).
12713 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
12714
12715Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
12716
12717 * testsuite/lib/libm.exp:
12718 added code to support compiling and linking of tests for
12719 libm.sac (paranoia to be added next) and processing the
12720 pass or failure of the tests.
12721
12722 * testsuite/config/unix-libm.exp:
12723 platform specific proc's for dealing with compiler, linker
12724 and the way we execute and process the test results.
12725
12726 * testsuite/libm.sac/execute.exp:
12727 generic framework for the sac tests. the config and lib
12728 expect code for specific platforms tie it all together.
12729
12730 * testsuite/libm.sac/test_is.c:
12731 changed the output of the test to be consistant with the
12732 other tests. parsing of pass nad fail messages is now fixed.
12733
12734Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
12735
12736 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
12737 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
12738 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
12739 #ifdef __cplusplus, surround by extern ""C { ... }.
12740 * libc/include/assert.h: Do *not* protect assert.h against
12741 multiple inclusion! Also, #undef it before #define, to allow
12742 redefinition.
12743 * libc/include/stdio.h (getlogin, cuserid): Removed. These
12744 should be only in unistd.h.
12745
12746 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
12747 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
12748 ... }.
12749
12750Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
12751
12752 * libc/machine/sparc/Makefile.in: Must create a library, even
12753 if empty.
12754
12755Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12756
12757 * configure.in: set machine_dir for m88k. edit crt0 definition
12758 into makefiles.
12759
12760 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
12761
12762 * libc/Makefile.in (all): also build crt0.o.
12763
12764 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
12765 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
12766 to remove CRT0.
12767
12768 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
12769 (all): reworked to build in place.
12770 (clean): remove lib.a
12771 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
12772
12773 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
12774 (_start): key off edata rather than _start_bss.
12775
12776Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
12777
12778 * libc/include/sys/unistd.h, libc/include/reent.h,
12779 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
12780
12781Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12782
12783 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
12784
12785 * Makefile.in (libc.a): break into two rules, one for libc.a and
12786 one for libc/libc.a. Force subdirs current before rebuilding
12787 library.
12788 (libm.a): break into two rules, one for libm.a and one for
12789 libm/libm.a. Force subdirs current before rebuilding library.
12790
12791 * libc/Makefile.in (SUBLIBS): fix typo.
12792
12793 * libc/sys/Makefile.in (all): force descent into subdirs, then
12794 rebuild library iff out of of date.
12795
12796Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12797
12798 Rework so that library is built and then finished rather than
12799 being built on each invocation of make.
12800
12801 * host/any (machine_dir, sys_dir, signal_dir): these are not
12802 shared and have been moved to their associated Makefile.in's.
12803 (AR_FLAGS): switch to qc which is faster.
12804 * configure.in: no longer assign machine_dir for m88k. set
12805 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
12806 stub_dir set, then add to configdirs. add comment about silly
12807 configuration.
12808 (configdirs): drop stub. It will be added only
12809 when needed.
12810 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
12811 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
12812 stub_lib, crt0): new variables for tailoring lower level
12813 makefiles. Assign accordingly and edit into makefiles.
12814 * libm/Makefile.in: updated copyright.
12815 (TARGETLIB): removed.
12816 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
12817 (SUBDIRS): removed TARGETDEP_DIRS.
12818 (LIBM_FP_LIB, SUBLIBS): new macros.
12819 (all): reworked.
12820 (force): new target to force rebuilds.
12821 (Makefile): call $(SHELL) rather than sh. drop redundant ./
12822 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
12823 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
12824 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
12825 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
12826 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
12827 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
12828 stub/m68kmvme/Makefile.in: updated copyright.
12829 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
12830 (all): reworked. made this the default rule.
12831 (clean): also remove lib.a.
12832 (Makefile): call $(SHELL) rather than sh. drop redundant ./
12833 * stub/Makefile.in: updated copyright.
12834 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
12835 (stub_lib): new macro.
12836 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
12837 RANLIB.
12838 (all): reworked.
12839 (clean, install): assume stub_dir exists.
12840 (Makefile): depend on configure.in. call $(SHELL) rather than
12841 sh. drop redundant ./
12842 * stub/configure.in (stublib): new macro, assign it, edit it into
12843 makefiles.
12844 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
12845 updated copyright.
12846 (all): reworked.
12847 (Makefile): call $(SHELL) rather than sh. drop redundant ./
12848 * libc/Makefile.in (TARGETCRT0): removed.
12849 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
12850 TARGETCRT0.
12851 (SUBDIRS): drop TARGETDEP_DIRS.
12852 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
12853 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
12854 (force): new target to force rebuilds.
12855 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
12856 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
12857 removed.
12858 (clean): assume sys_dir always exists.
12859 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
12860 drop redundant ./
12861 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
12862 libc/locale/Makefile.in, libc/machine/Makefile.in,
12863 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
12864 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
12865 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
12866 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
12867 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
12868 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
12869 libc/signal/Makefile.in, libc/stdio/Makefile.in,
12870 libc/stdlib/Makefile.in, libc/string/Makefile.in,
12871 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
12872 libc/time/Makefile.in, libc/unix/Makefile.in,
12873 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
12874 (TARGETLIB): removed.
12875 (all): reworked.
12876 (clean): also remove lib.a.
12877 (Makefile): call $(SHELL) rather than sh. drop redundant ./
12878 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
12879 new macros.
12880 (SUBDIRS): moved to follow frag inclusion, change stub to
12881 stub_dir.
12882 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
12883 are now set in the libc Makefile.
12884 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
12885 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
12886 TARGETCRT0.
12887 (force): new target to force rebuilds.
12888 * stub/configure.in: determine and set stub_lib for for Makefile.
12889
12890Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
12891
12892 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
12893 crt0.s renamed to crt0.S.
12894 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
12895
12896 * libc/machine/h8300/Makefile.in: Make `all' the default target.
12897 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
12898 h8300h.
12899 * libc/machine/h8300/defines.h: Add macros to handle pointers for
12900 h8300 (16 bits) and h8300h (32 bits).
12901 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
12902 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
12903
12904Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
12905
12906 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
12907 implementation of setjmp and longjmp for the m88k.
12908 * libc/include/machine/setjmp.h: Added __m88000__ case.
12909
12910Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
12911
12912 * configure.in: Recognize h8300h as variant of h8300.
12913
12914Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
12915
12916 * libc/include/sys/unistd.h (read, write): get prototypes right.
12917 (sbrk): New prototype.
12918 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
12919 * libc/stdio/local.h: Include unistd.h.
12920 * libc/machine/h8300/syscalls.c: Names have changed.
12921
12922Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
12923
12924 * configure.in: add sys_dir assignment for m88k-bug.
12925
12926Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
12927
12928 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
12929 a.out or elf.
12930 * libc/sys/sparc64: all *.S files: Use new macros.
12931 * libc/sys/sparc64/isatty.c: New file.
12932 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
12933 functions beyond what newlib provides.
12934
12935Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
12936
12937 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
12938 svr4.
12939
12940Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
12941
12942 * libc/include/machine/ieeefp.h: Add support for h8/300h.
12943
12944Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
12945
12946 * configure.in: add m88k.
12947 * libc/include/machine/ieeefp.h: add case for m88k. Also add
12948 sanity check so no one else need ever chase what I did to find
12949 this.
12950
12951 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
12952
12953Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
12954
12955 * doc/makedoc.c: Include <ctype.h>.
12956
12957Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
12958
12959 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
12960 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
12961 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
12962
12963 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
12964
12965Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
12966
12967 * libc/include/errno.h (ENOSYS): Added.
12968
12969 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
12970
12971Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
12972
12973 * libc/stdio/fflush.c (fflush): Check for reent struct
12974 initialization.
12975 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
12976
12977Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
12978
12979 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
12980 out of dtoa.c so it doesn't pollute the namespace.
12981 * libc/include/_syslist.h: new file -- mappings from _function to
12982 function, for systems where we can't win (by default, all of them,
12983 until we start updating system calls.)
12984 * libc/syscalls: new directory -- stubs for exporting _function
12985 names as unmodified function names.
12986 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
12987 _syslist.h on all platforms by default, but put hooks in for
12988 fake_sys_dir so we can include it when we've renamed the system
12989 calls.
12990 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
12991 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
12992 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
12993 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
12994 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
12995 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
12996 non ANSI functions to call _function.
12997
12998Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
12999
13000 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
13001 when base 16 is specified. Don't accept non-digits if radix > 10.
13002
13003Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
13004
13005 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
13006
13007Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
13008
13009 * libc/include/sys/stat.h: Surround text after #endif with
13010 comments.
13011
13012Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
13013
13014 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
13015 _malloc_r, _realloc_r, and free_r call the corresponding
13016 non-reentrant functions.
13017
13018 * libm/math/modf.c (modf): We now take the address of ipart, so
13019 don't make it a register variable.
13020
13021Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
13022
13023 * libm/math/*: Rename all xxx_r fns to _xxx_r.
13024
13025Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
13026
13027 * libc/libc.texinfo and embedded docn throughout: formatting
13028 improvements, minor rephrasing for clarity, and improved
13029 reentrancy docn.
13030
13031Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
13032
13033 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
13034
13035 * libc/stdio/cvt.c (_licvt): Print the right value on machines
13036 where sizeof(int) != sizeof(long).
13037
13038Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
13039
13040 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
13041 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
13042 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
13043 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
13044 libm/math/matherr.c: changes for better docn formatting (info).
13045
13046 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
13047 libc/reent/reent.tex, libc/signal/signal.tex,
13048 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
13049 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
13050 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
13051 makeinfo node defaulting to get better Info file node structure.
13052 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
13053 Also include a few formerly missing sections (subroutines).
13054
13055 * doc/doc.str: delete fossil expansion for "func"
13056
13057 * default.menu, no-signal.menu: delete.
13058
13059 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
13060 method used to adjust doc for missing "signals" chapter when
13061 signal_dir is empty.
13062
13063Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
13064
13065 * configure.in: added testsuite/libm.sac
13066
13067Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
13068
13069 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
13070 code model).
13071
13072Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
13073
13074 * libm/Makefile.in: Use $(MAKE) rather than make, and define
13075 MAKEOVERRIDES to be empty.
13076
13077Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
13078
13079 * configure.in: Don't build mips-*-* with -msoft-float, since that
13080 makes it incompatible with hard floating point.
13081
13082Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
13083
13084 * Makefile.in: added recursive 'make check'
13085
13086Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
13087
13088 * configure.in: added ./testsuite ./testsuite/libm.paranoia
13089 * ./testsuite/Makefile.in: created
13090 * ./testsuite/libm.paranoia: paranoia tests added
13091
13092Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
13093
13094 * configure.in: For mips-*-* set machine_dir to mips.
13095
13096 * libc/machine/mips: New directory.
13097 * libc/machine/mips/Makefile.in: New file.
13098 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
13099 setjmp and longjmp.
13100 * libc/include/machine/setjmp.h: Added __mips__ case.
13101
13102 * libc/machine/lmips: Removed unused and useless directory.
13103
13104Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
13105
13106 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
13107
13108Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
13109
13110 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
13111 start up).
13112
13113Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
13114
13115 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
13116 SETJMP_H.
13117
13118Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
13119
13120 * libm/test/convert.c: structure member errno -> errno_val.
13121 Must include <errno.h> to use errno, it's a macro now.
13122 * libm/test/math.c: Ditto.
13123 * libm/test/math2.c: Include errno.h.
13124 * libm/test/string.c: Ditto.
13125 * libm/test/test.h: structure member errno -> errno_val.
13126 Remove extern int errno decl.
13127
13128Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
13129
13130 * libc/stdio/Makefile.in: Added dependencies on local header
13131 files.
13132 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
13133 files.
13134
13135Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
13136
13137 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
13138
13139Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
13140
13141 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
13142 Initialize _data.
13143
13144 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
13145 * libc/stdio/local.h: Add prototype for _licvt.
13146
13147 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
13148 instead of malloc,reealloc.
13149
13150 * libc/stdlib/local.h: New file.
13151 * libc/stdlib/efgcvt.c: #include local.h.
13152 (gcvt): Fix call to _gcvt.
13153 * libc/stdlib/ecvtbuf.c: #include local.h.
13154
13155 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
13156 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
13157 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
13158
13159 * libc/stdlib/atexit.c: moved global data to struct _reent.
13160 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
13161
13162 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
13163
13164Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
13165
13166 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
13167 here from ../reent.h.
13168
13169Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
13170
13171 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
13172 should be provided in both libc.a and libm.a.
13173 (libc.a): Depend on targ-include and libm.a. Copy
13174 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
13175 (libm.a): Depend on targ-include.
13176 * configure.in (subdirs): Removed libc/math.
13177
13178Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
13179
13180 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
13181
13182Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
13183
13184 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
13185 sys/reent.h instead of reent.h.
13186 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
13187 headers moved to sys/reent.h.
13188 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
13189 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
13190 __need__MAX_SIGNALS defined.
13191 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
13192 std{in,out,err} refer to new _std{in,out,err} members.
13193
13194Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
13195
13196 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
13197 case.
13198
13199Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
13200
13201 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
13202 rather than whatever macro seterrno() has.
13203
13204Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
13205
13206 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
13207 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
13208
13209 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
13210 __STDC__.
13211
13212 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
13213 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
13214 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
13215
13216 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
13217 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
13218
13219 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
13220 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
13221 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
13222 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
13223 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
13224 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
13225 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
13226 renamed to _xxx_r. struct reent_struct renamed to struct _reent
13227 for ANSI. structure members given leading "_" for ANSI. Use
13228 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
13229
13230 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
13231 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
13232 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
13233 reent_struct renamed to struct _reent for ANSI.
13234 Structure members given leading "_" for ANSI.
13235 _CONST --> const in prototypes.
13236 Use _HAVE_STDC instead of __STDC__.
13237
13238 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
13239 _xxx_r.
13240 struct reent_struct renamed to struct _reent for ANSI.
13241 Structure members given leading "_" for ANSI.
13242
13243 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
13244 _xxx_r.
13245 struct reent_struct renamed to struct _reent for ANSI.
13246
13247 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
13248 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
13249 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
13250 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
13251 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
13252
13253 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
13254 signal.h, stdio.h, stdlib.h, string.h, time.h}:
13255 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
13256 #ifndef _STRICT_ANSI non-ANSI routines.
13257 Reentrant routines renamed from _r_xxx to _xxx_r.
13258 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
13259 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
13260 Clean up namespace (structure members have leading "_").
13261 struct reent_struct renamed to struct _reent for ANSI compliance.
13262 _CONST --> const in function prototypes.
13263
13264 * libc/include/string.h: Add NULL and size_t.
13265
13266 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
13267 unlink, wait, wait4. Reentrant syscall routines close, fork,
13268 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
13269 write.
13270 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
13271 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
13272 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
13273 write.S}: Define reentrant versions.
13274 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
13275 reentrant syscalls.
13276
13277 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
13278
13279 * libc/include/stdlib.h (RAND_MAX): Fix value.
13280
13281Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
13282
13283 * libc/sys/a29khif/_main.c: Removed unnecessary file.
13284 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
13285 VPATH support targets after all: target.
13286
13287 * stub/mvme135/mvme.S: Renamed exceptionhandler to
13288 exceptionHandler, which is what mvme135-stub.c expects.
13289
13290Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
13291
13292 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
13293
13294 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
13295 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
13296 compliant).
13297
13298Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
13299
13300 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
13301 first.
13302 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
13303 _r_write): Ditto.
13304 libc/reent/fstatr.c (_r_fstat): Ditto.
13305 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
13306 libc/reent/sbrkr.c (_r_sbrk): Ditto.
13307 libc/reent/statr.c (_r_stat): Ditto.
13308
13309 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
13310 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
13311 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
13312 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
13313 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
13314 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
13315 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
13316 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
13317 (__swrite): Ditto for _r_lseek, _r_write.
13318 (__sseek): Ditto for _r_lseek.
13319 (__close): Ditto for _r_close.
13320 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
13321
13322 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
13323 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
13324
13325 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
13326 to make reent_struct the first argument (and thus consistent with
13327 the rest of newlib).
13328
13329 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
13330 reference to __STDC__.
13331
13332Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
13333
13334 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
13335 global __cleanup.
13336
13337Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
13338
13339 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
13340 first.
13341 libc/stdio/fclose.c (fclose): Ditto.
13342
13343Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
13344
13345 * Run through indent and rename reentrant routines for ANSI.
13346 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
13347 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
13348 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
13349 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
13350 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
13351 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
13352 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
13353 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
13354 vsprintf.c wbuf.c wsetup.c local.h}
13355
13356 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
13357
13358 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
13359 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
13360 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
13361 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
13362 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
13363 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
13364
13365 * Run through indent.
13366 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
13367 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
13368 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
13369 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
13370 strxfrm.c}
13371
13372 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
13373 localtime.c mktime.c strftime.c time.c}:
13374 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
13375
13376 * Reformatting + renaming (for ANSI, GNU style, consistency).
13377 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
13378 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
13379 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
13380
13381Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
13382
13383 * libc/include/stdio.h (stdin_r): Fix.
13384
13385Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
13386
13387 * Makefile.in: Unexport some variables to keep GNU make from
13388 putting them in the environment and using up needed ARG_MAX space
13389 (a hack is used to let this work with older makes as well).
13390
13391Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
13392
13393 * Makefile.in: Use $(MAKE) rather than make.
13394 (MAKEOVERRIDES): Define to be empty.
13395 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
13396 (libc.a, libm.a): Depend on targ-include.
13397 * host/any (LD): Don't define.
13398 (INCLUDES): Use targ-include.
13399 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
13400 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
13401 * libc/Makefile.in: Use $(MAKE) rather than make.
13402 (MAKEOVERRIDES): Define to be empty.
13403 (FLAGS_TO_PASS): Don't pass LD (it's not used).
13404 (all): Rewrote to be slightly smaller.
13405 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
13406 Define to be empty.
13407 (FLAGS_TO_PASS): Don't pass LD (it's not used).
13408 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
13409
13410Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
13411
13412 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
13413 with errno/errno.c.
13414
13415Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
13416
13417 * Changes for reentrancy.
13418 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
13419 Use ptr->_errno, not errno.
13420 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
13421 libc/stdio/remove.c (remove_r): New function.
13422 libc/stdio/rename.c (rename_r): New function.
13423 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
13424 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
13425 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
13426 reentrant versions of system calls.
13427 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
13428 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
13429 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
13430 libc/stdio/findfp.c: Include <string.h>.
13431 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
13432 "local.h".
13433 libc/stdio/wbuf.c: Include "fvwrite.h"
13434
13435 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
13436 <string.h>.
13437 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
13438 (NULL): Don't define if already defined.
13439 libc/stdlib/system.c: Call reentrant versions of system calls.
13440 (system_r): New function.
13441
13442 * Changes for reentrancy.
13443 libc/include/_ansi.h (_PARAMS): New macro.
13444 libc/include/errno.h: Define errno as a macro that calls __errno.
13445 (__errno_r): New macro for reentrant code.
13446 libc/include/math.h: Include reent.h. Declare many reentrant
13447 functions.
13448 (signgam): Now a macro, not a variable.
13449 (struct exception): Added err field.
13450 libc/include/reent.h: Don't declare __sglue. Added function
13451 declarations.
13452 (struct reent_struct): Moved errno to beginning. Added _signgam.
13453 libc/include/stdio.h, libc/include/stdlib.h: Added function
13454 declarations.
13455
13456 * More reentrancy hacking.
13457 libc/errno/errno.c (__errno): New function.
13458 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
13459 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
13460 files.
13461
13462 * Added many new reentrant functions to libm/math/*.
13463 libm/math/error.c (__matherror): Added reent_struct pointer
13464 argument. Changed all callers.
13465 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
13466 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
13467 libm/math/tan.h: Removed obsolete unused header files.
13468
13469 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
13470
13471 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
13472
13473Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
13474
13475 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
13476 delay slots.
13477
13478Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
13479
13480 * libc/libc.texinfo: comment out reentrancy chapter (duh)
13481
13482Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
13483
13484 * libc/reent/reent.tex: New file. (text from
13485 newlib/libc/libc.texinfo)
13486 * libc/stdio/tmpnam.c: fixed doc typo
13487 * libc/stdlib/rand.c: fixed doc typo
13488
13489Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
13490
13491 * libc/reent/reent.tex: New file. (text from
13492 newlib/libc/libc.texinfo)
13493
13494Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
13495
13496 support for reentrancy
13497 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
13498 new files
13499 * libc/errno/errno.c, libc/include/ieeefp.h,
13500 libc/include/locale.h, libc/include/reent.h,
13501 libc/include/signal.h, libc/include/stdio.h,
13502 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
13503 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
13504 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
13505 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
13506 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
13507 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
13508 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
13509 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
13510 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
13511 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
13512 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
13513 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
13514 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
13515 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
13516 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
13517 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
13518 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
13519 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
13520 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
13521 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
13522 libc/time/strftime.c: modify to provide reentracy.
13523
13524 new routines:
13525 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
13526 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
13527 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
13528 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
13529 mstats_r, realloc_r, localeconv_r, setlocale_r
13530
13531Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
13532
13533 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
13534 libc/include/sys/config.h, libc/include/sys/signal.h,
13535 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
13536 provided macros (such as m68000), use the ansi version
13537 (__m68000__) so that the library can be used with code compiled
13538 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
13539 and sparc.
13540
13541Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
13542
13543 * configure.in (sparc*): Don't set -fsoft-float for sparc
13544 configurations. Do set -fsoft-float for sparclite configurations.
13545
13546Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
13547
13548 * default.menu, no-signal.menu: alternate forms of libc main menu
13549 (in newlib rather than newlib/libc due to configuration restrictions)
13550
13551 * configure.in: select one of the two menus above, link to
13552 libc.menu
13553
13554 * libc/libc.texinfo: include menu from separate file
13555
13556Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
13557
13558 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
13559 (info): Split long shell command in half.
13560 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
13561 sub-makes, just CHEW and TARGETDOC.
13562 (targetdep.tex): Removed now special handling of sys and machine
13563 subdirectories, made obsolete some time ago.
13564 * libc/machine/Makefile.in (doc): Don't pass everything to
13565 sub-make, just CHEW and TARGETDOC.
13566 (Makefile): New target.
13567 * libc/sys/Makefile.in (Makefile): New target.
13568
13569Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
13570
13571 * Makefile.in (here and most subdirectories): Only pass down CHEW
13572 and TARGETDOC when making info, not for other targets.
13573
13574 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
13575 $(AR_FLAGS) rather than $(ARUPDATE).
13576
13577Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
13578
13579 * Try to reduce command line length:
13580 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
13581 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
13582 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
13583 (info): Pass CHEW to other subdirs.
13584
13585Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
13586
13587 * configure.in: add signal_dir, like unix_dir, but by default it
13588 is set to "signal" so that a29khif can turn it off (since a29khif
13589 has raise() as part of machine-specific signal.s.)
13590
13591Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
13592
13593 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
13594 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
13595 correctly.
13596 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
13597 libc/stdio/vfprintf: type lint.
13598 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
13599 initialzation code.
13600 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
13601
13602Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
13603
13604 * stub/mvme135/mvme135-asm.S: new file.
13605 stub/mvme135mvme135-stub.c: moved all assembler routines into
13606 mvme135-asm.S.
13607 stub/mvme135/Makefile.in: build mvme135-stub.o.
13608
13609Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
13610
13611 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
13612 sub-Makefiles instead, to try to avoid line length limitations.
13613
13614Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
13615
13616 * libc/include/unistd.h (read, write): Use void* instead of
13617 char*.
13618
13619Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
13620
13621 * stub/go32/resetpc: sample script to send a reset packet to the
13622 stub
13623
13624 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
13625 DOS environment, which compiles with Turbo C.
13626
13627 * stub/go32/DSER32.LNK: new file, linker commands for serial
13628 remote stub.
13629
13630 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
13631 start up message to identify version; call set_debug_traps.
13632
13633 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
13634 keyboard interaction); call handle_exception() in go_til_stop,
13635 rather than return, so that the remote stub gets control.
13636
13637 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
13638 rename, rather than mv), set flags that work with current Turbo C,
13639 including using the /3 flag; also, add commands to build dser32.
13640
13641 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
13642 default Turbo C installation (\tc rather than \usr)
13643
13644 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
13645 "&..."
13646
13647Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
13648
13649 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
13650
13651Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
13652
13653 * libc/stdio/cvt.c (licvt): new function to convert ints when
13654 sizeof(int) != sizeof(long).
13655
13656 * libc/include/stdio.h: added prototype for iprintf.
13657 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
13658
13659Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
13660
13661 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
13662 __REGISTER_PREFIX__.
13663
13664Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
13665
13666 * libc/sys/m68kbare: moved into stub directory.
13667
13668Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
13669
13670 * configure.in, Makefile.in: created new directory stub, to hold
13671 sample code for specific targets.
13672
13673Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
13674
13675 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
13676 in the unified libc/include/sys/fcntl.h.
13677
13678Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
13679
13680 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
13681 printed .01, not 0.01.
13682
13683Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
13684
13685 * configure.in: compile with -m68000 for m68* targets.
13686
13687Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
13688
13689 * libm/math/remainder.c (remainder): document the svr4 and sunos
13690 references used to construct the function.
13691
13692Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
13693
13694 * libm/math/remainder.c (rint, remainder): fix old typos.
13695 * libm/math/Makefile.in: actually build remainder.c (functions
13696 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
13697 page.)
13698
13699Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
13700
13701 * libc/string/bcopy.c: BSD version works on overlapping strings,
13702 so ours should too.
13703
13704 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
13705 ("SHELL").
13706
13707Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
13708
13709 * Makefile.in (docs): new target.
13710
13711Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
13712
13713 * libc/include/sys/times.h: define clock_t as required by POSIX.
13714 libc/include/time.h: protect clock_t from multiple definitions.
13715
13716Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
13717
13718 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
13719 does not need more than the original three iterations to get
13720 within 1 ulp. (Paranoia tests for rounding to better than that,
13721 but further iterations *don't* help, only more subtle changes
13722 can.)
13723
13724Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
13725
13726 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
13727 were doing nothing useful.
13728
13729Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
13730
13731 * configure.in: define MALLOC_PROVIDED for vxworks targets;
13732 removed sys_dir settings of vxworks68 and vxworks960.
13733 host/any: don't pass -nostdinc to gcc, since newlib no longer
13734 provides all required header files.
13735
13736 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
13737 is not defined; this provides a hook for VxWorks.
13738
13739Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
13740
13741 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
13742 buffer if buf is NULL, don't do it here -- it is already being
13743 done by makebuf elsewhere in stdio.
13744
13745Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
13746
13747 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
13748 that C programs can call functions without using initial
13749 underscores.
13750
13751Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
13752
13753 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
13754
13755Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
13756
13757 * configure.in: set TARGET_CFLAGS for certain CPU types to
13758 -msoft-float.
13759
13760Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
13761
13762 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
13763
13764Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
13765
13766 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
13767 m68k*-unknown-coff.
13768
13769Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
13770
13771 * libc/include/stdio.h: define __need___va_list before including
13772 <stdarg.h>, to avoid defining va_arg, et. al.
13773
13774Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
13775
13776 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
13777 (don't cd to the user's home directory).
13778
13779 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
13780 In general this is the wrong thing to do, but I can't get around
13781 GNU make's insistence on passing command line arguments any other
13782 way.
13783
13784Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
13785
13786 * configure.in: always configure the libc/sys directory, since it
13787 now provides a required documentation file.
13788
13789 * Makefile.in: replaced all instances of $(MAKE) with make. In
13790 general this is the wrong thing to do, but I can't get around GNU
13791 make's insistence on passing command line arguments any other way.
13792
13793Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
13794
13795 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
13796 terminated.
13797
13798 * libc/stdio/local.h: include <stdarg.h> to define va_list.
13799 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
13800
13801 * libc/include/float.h, libc/include/stdarg.h,
13802 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
13803 versions instead.
13804 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
13805 <stdarg.h>, not from <machine/types.h>. Protect definition of
13806 NULL.
13807 libc/include/time.h: get size_t from stddef.h. Protect definition
13808 of NULL.
13809 libc/include/machine/limits.h: override gcc <limits.h> by defining
13810 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
13811 get correct INT_MIN and LONG_LONG values.
13812 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
13813 size_t or va_list at all; they're now gotten from stddef.h
13814 instead.
13815 libc/include/machine/varargs.h: removed; use gcc version instead.
13816 libc/include/sys/types.h: explicitly include <machine/types.h>.
13817
13818 * libm/math/sqrt.h: using the fp-bit routines appears to require
13819 more iterations.
13820
13821 * Makefile.in, host/any: let system include files override machine
13822 include files.
13823
13824Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
13825
13826 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
13827 override _*_T_ definitions defaulted here.
13828
13829Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
13830
13831 * Makefile.in (install): install the include files in
13832 $(tooldir)/include, not $(exec_prefix)/include.
13833
13834Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
13835
13836 * Makefile.in (install): fixed typo, and changed install to not
13837 force rebuild of libc.a and libm.a.
13838
13839Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
13840
13841 * libc/sys/a29khif/*: Changed all .include's to include
13842 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
13843 that they will be installed for the user.
13844
13845 * Makefile.in (all): create targ-include, a directory holding the
13846 machine and system specific header files during the build.
13847 (install): fixed installation of machine and system specific
13848 header files.
13849
13850 * Makefile.in: fixed comment.
13851 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
13852 we can pass $(INCLUDES) to it.
13853
13854Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
13855
13856 * libc/include/sys/param.h: new generic file, which may be
13857 overridden for specific systems.
13858
13859 * libc/include/sys/signal.h: define all ANSI signal names, and
13860 NSIG (which is not ANSI) for a29k.
13861
13862Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
13863
13864 * Makefile.in: don't pass down arguments the lower level makes
13865 will not need.
13866 * libc/Makefile.in: recurse directly, rather than using subdir_do,
13867 in hopes of avoiding argument length limits.
13868 * libm/Makefile.in: recurse directly, rather using subdir_do, in
13869 hopes of avoiding argument length limits.
13870
13871Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
13872
13873 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
13874 mode_t is defined.
13875
13876Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
13877
13878 * Fixed make info and make install-info for newlib, changing most
13879 Makefile.in and several *.tex files. Moved doc directory from
13880 libc to top level.
13881
13882 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
13883 Should be rewritten.
13884
13885 * libc/string/strings.tex: renamed node index to node index
13886 function, so that it does not conflict with the top level index
13887 node.
13888
13889 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
13890
13891Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
13892
13893 * Overhauled general configuration for newlib. Eliminated all
13894 target dependent Makefile fragments. Create libraries in newlib
13895 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
13896 than CROSS_CC, et. al. Broke make docs; will fix later.
13897
13898 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
13899 Should be rewritten.
13900
13901Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
13902
13903 * libc/configure.in: cleaned up somewhat; switch on ${target}
13904 rather than ${target_alias}.
13905 * libm/configure.in: cleaned up somewhat; switch on ${target}
13906 rather than ${target_alias}.
13907
13908 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
13909 * libc/include/ctype.h: marked _ctype_ as _CONST.
13910
13911 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
13912 _CONST.
13913
13914 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
13915 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
13916 libc/stdio/gets.c (gets): removed non-ANSI warning message.
13917 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
13918
13919 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
13920 bigtens, tinytens): marked arrays _CONST.
13921 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
13922 rather than a static variable.
13923
13924 * libc/time/asctime.c (asctime), libc/time/localtime.c
13925 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
13926 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
13927 mname_len, mname): Marked static arrays _CONST.
13928
13929 * libm/math/gamma.h: made local variables non-static.
13930
13931 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
13932 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
13933 _CONST.
13934
13935 * libm/math/constants.c: removed file, because the constants it
13936 defined were never referenced.
13937 libm/math/Makefile.in: removed references to constants.c.
13938 libm/math/mathimpl.h: removed declarations of constants.
13939
13940Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
13941
13942 * libc/include/machine/varargs.h: only call __builtin_saveregs if
13943 it is sensibly defined in libgcc2. Checks preprocessor defines,
13944 which is not a good solution.
13945
13946 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
13947
13948 * libm/frexp.c: handle denormalized numbers as arguments.
13949
13950 * libm/math/Makefile.in: added some dependencies for .c files
13951 which include local .h files.
13952
13953Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
13954
13955 * libc/configure.in: set target_alias for OSE*. Replace
13956 target_makefile_frag if it is blank.
13957
13958 * libc/Makefile.in: make sure everything is passed to subsidiary
13959 makes; create all directories when installing.
13960
13961 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
13962 CROSS_ARUPDATE instead of AR.
13963
13964 * libm/configure.in: set target_alias for OSE*. Replace
13965 target_makefile_frag if it is blank.
13966
13967 * libm/Makefile.in: make sure everything is passed to subsidiary
13968 makes; create all directories when installing.
13969
13970Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
13971
13972 * add following change from libc copy.
13973
13974Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
13975
13976 * libc/libc.texinfo: make copyright disclaimers appear on back of
13977 title page; make format of same slightly less ugly; avoid using
13978 underbars in section headings (avoids nasty texinfo bug in table
13979 of contents).
13980
13981 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
13982 comments only) avoid using underbars in section headings
13983
13984 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
13985 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
13986 changes in comments only): shorten headings ieeefp/infinity.c,
13987 ieeefp/isnan.c: (doc, comments only) more informative headings
13988
13989 * libc/math/bessel.c: (doc, comments only) shorten heading
13990
13991 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
13992 (doc, comments only) shorten headings
13993
13994 * libc/time/localtime.c (doc, comments only): shorten headings
13995
13996 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
13997 isnan
13998 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
13999 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
14000 headings
14001 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
14002 only) more informative headings
14003 * libm/math/bessel.c: (doc, comments only) shorten heading
14004
14005Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
14006
14007 * .../Makefile.in: use CROSS_ARUPDATE consistently.
14008 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
14009 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
14010 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
14011 defined, the one from the .mt file will be correct.
14012 * libc/include/machine, libc/include/sys: created, and populated
14013 with common files from machine/*/machine. ifdefs were used for
14014 most, typically by handling exceptions first and then filling in
14015 defaults. Files with D.J. Delorie copyright #included rather than
14016 copied. Most files in include/sys really were the same in the
14017 original.
14018 * libc/include/...: cleaned up use of _EXFUN.
14019 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
14020 it with double quotes, not angles.
14021
14022Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
14023
14024 * libc/Makefile.in: always create installation directories.
14025
14026Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
14027
14028 * libc/configure.in: handle host properly (using canonical
14029 triples), better error message for the case of target not found
14030
14031Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
14032
14033 * libc/Makefile.in (insincdir): Ensure this directory exists
14034 before attempting installation.
14035
14036Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14037
14038 * libc/stdlib/assert.c: now calls abort like it should
14039 * libc/sys/a29khif: many many patches for 29khif work
14040 * libc/machine/i386: gnulib2 expanded there.
14041
14042Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14043
14044 Added accurate fp conversion routines to stdlib, moved dcvt from
14045 stdio to stdlib and called it ecvtbuf:
14046 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
14047 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
14048 routines
14049 * libc/libc.texinfo: Modifed to include the copyright info from
14050 the mprec files
14051 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
14052 * libc/test/ : many vector which tested for the implementation
14053 defined returns of strange conversion requests have been updated
14054 to relflect the new implementation
14055
14056Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
14057
14058 * libc/libc.texinfo: new chapter on variable arg lists
14059 (stdarg.h/varargs.h)
14060 * libc/libc.texinfo: new title
14061 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
14062 (doc only) shorter headings for better formatting.
14063
14064Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
14065
14066 * libc/libc.texinfo: three more info menu entries
14067 * libc/locale/locale.tex: new chapter
14068 * libc/locale/locale.c: new doc for setlocale, localeconv
14069 * libc/locale/Makefile.in: use new locale doc
14070 * libc/signal/signal.tex: new chapter
14071 * libc/signal/raise.c, libc/signal/signal.c: new doc
14072 * libc/signal/Makefile.in: use new doc
14073 * libc/time/time.tex: new chapter
14074 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
14075 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
14076 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
14077 * libc/time/Makefile.in: use new doc
14078
14079Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14080
14081 * libm/math/log1p.c: split to use the new function way of float
14082 function definition. math/log1p.h deleted
14083 * libm/math/scalb.c: obsolete and deleted
14084 * libm/math/scalbn.c: created from part log1p.c
14085 * libm/math/Makefile.in: know about log1p and scalbn
14086
14087Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
14088
14089 * libc/ctype/isupper.c: revise doc;
14090 libc/ctype/ctype.tex: use doc from isupper.c
14091
14092 * libc/string/bzero.c: new doc
14093
14094Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
14095
14096 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
14097 new doc
14098 * libc/stdlib/Makefile.in: extract new doc
14099 * libc/stdlib/stdlib.tex: use new doc
14100
14101 * libc/string/strerror.c: expanded doc.
14102
14103 * libc/stdio/Makefile.in: extract doc from more files
14104 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
14105 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
14106 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
14107 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
14108 libc/stdio/vsprintf.c: new doc
14109 * libc/stdio/stdio.tex: use new doc
14110
14111Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14112
14113 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
14114 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
14115 finitef functions.
14116 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
14117 time ago.
14118
14119 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
14120 * libc/stdio/setbuf.c: added ansi style definition.
14121 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
14122 buffer if none provided.
14123 * libc/stdio/tmpfile.c: lint
14124 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
14125 rather than using static, also make sure file isn't already
14126 present. Uses P_tmpdir. (tempnam): rewritten to use new
14127 subroutine, and uses P_tmpdir.
14128 * libc/stdio/siprintf.c: created
14129
14130Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14131
14132 Release 1.03 for NEC, major mods. Main differences from release
14133 1.02::
14134
14135 More tests in test/:
14136 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
14137 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
14138 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
14139 get/set mask, get/set sticky and get/set roundtoi. Tests
14140 that setting the bits changes the way arithmetic is done.
14141 * string.c: added test to make sure memcmp does it with unsigned
14142 chars.
14143 * test.c: cleaned up and removed lint.
14144 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
14145 dvec.c: tests for string to value conversions, sprintf, scanf,
14146 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
14147 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
14148 rounding in sprintf too.
14149 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
14150 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
14151 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
14152 and function form.
14153 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
14154 powf
14155
14156 In the library:
14157 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
14158 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
14159 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
14160 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
14161 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
14162 than sprintf.
14163 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
14164 * Method of producting float versions of double functions has
14165 changed, functions will be modified gradually. So far:
14166 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
14167 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
14168 altered
14169 * libc/string/memcmp.c: now uses unsigned chars
14170 * libc/string/bcmp.c, libc/string/strcpy.c,
14171 libc/stsring/strxfrm.c: fixed doc
14172 * libc/sys/sysvnecv70.tex: fix example of sbrk code
14173\f
14174Local Variables:
14175version-control: never
14176End:
This page took 1.60813 seconds and 5 git commands to generate.