]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
* libc/include/stdio.h: Add gcc format attributes to printf and
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
17c0c97d
EB
12007-04-09 Eric Blake <ebb9@byu.net>
2
3 * libc/include/stdio.h: Add gcc format attributes to printf and
4 scanf families.
5
abe43f42 62007-04-09 Joel Schopp <jschopp@austin.ibm.com>
17c0c97d 7
abe43f42
JJ
8 * libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
9 even if the passed in length n is shorter than the source string.
10 This matches both the non-spu specific and the glibc strxfrm
11 behaviour.
12
0efa93c0
KH
132007-04-04 Mark Mitchell <mark@codesourcery.com>
14
15 * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
16 functions registering additional atexit functions.
17
07278e6c
KH
18 * testsuite/lib/flags.exp (newlib_include_flags): Drop
19 -I${newlib_dir}.
20
748c1917 212007-04-04 Patrick Mansfield <patmans@us.ibm.com>
17c0c97d 22
748c1917
JJ
23 * libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
24 prototype.
25 * libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
26 * libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
27 * libc/machine/spu/fclose.c: Ditto.
28 * libc/machine/spu/feof.c: Ditto.
29 * libc/machine/spu/ferror.c: Ditto.
30 * libc/machine/spu/fflush.c: Ditto.
31 * libc/machine/spu/fgetc.c: Ditto.
32 * libc/machine/spu/fgetpos.c: Ditto.
33 * libc/machine/spu/fgets.c: Ditto.
34 * libc/machine/spu/fileno.c: Ditto.
35 * libc/machine/spu/fopen.c: Ditto.
36 * libc/machine/spu/fprintf.c: Ditto.
37 * libc/machine/spu/fputc.c: Ditto.
38 * libc/machine/spu/fputs.c: Ditto.
39 * libc/machine/spu/fread.c: Ditto.
40 * libc/machine/spu/freopen.c: Ditto.
41 * libc/machine/spu/fscanf.c: Ditto.
42 * libc/machine/spu/fseek.c: Ditto.
43 * libc/machine/spu/fsetpos.c: Ditto.
44 * libc/machine/spu/ftell.c: Ditto.
45 * libc/machine/spu/fwrite.c: Ditto.
46 * libc/machine/spu/getc.c: Ditto.
47 * libc/machine/spu/getchar.c: Ditto.
48 * libc/machine/spu/gets.c: Ditto.
49 * libc/machine/spu/perror.c: Ditto.
50 * libc/machine/spu/printf.c: Ditto.
51 * libc/machine/spu/putc.c: Ditto.
52 * libc/machine/spu/putchar.c: Ditto.
53 * libc/machine/spu/puts.c: Ditto.
54 * libc/machine/spu/remove.c: Ditto.
55 * libc/machine/spu/rename.c: Ditto.
56 * libc/machine/spu/rewind.c: Ditto.
57 * libc/machine/spu/scanf.c: Ditto.
58 * libc/machine/spu/setbuf.c: Ditto.
59 * libc/machine/spu/setvbuf.c: Ditto.
60 * libc/machine/spu/snprintf.c: Ditto.
61 * libc/machine/spu/sprintf.c: Ditto.
62 * libc/machine/spu/sscanf.c: Ditto.
63 * libc/machine/spu/tmpfile.c: Ditto.
64 * libc/machine/spu/tmpnam.c: Ditto.
65 * libc/machine/spu/ungetc.c: Ditto.
66 * libc/machine/spu/vfprintf.c: Ditto.
67 * libc/machine/spu/vfscanf.c: Ditto.
68 * libc/machine/spu/vprintf.c: Ditto.
69 * libc/machine/spu/vscanf.c: Ditto.
70 * libc/machine/spu/vsnprintf.c: Ditto.
71 * libc/machine/spu/vsprintf.c: Ditto.
72 * libc/machine/spu/vsscanf.c: Ditto.
73
a706aa2e
JJ
742007-04-04 Jeff Johnston <jjohnstn@redhat.com>
75
76 * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
77
db7aa4b1
JJ
782007-04-04 Eric Blake <ebb9@byu.net>
79
80 * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
81 (asiprintf): Avoid overhead.
82 * libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
83 (asprintf): Avoid overhead.
84 * libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
85 * libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
86 * libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
87 (fiprintf): Avoid overhead.
88 * libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
89 (fprintf): Avoid overhead.
90 * libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
91 (iprintf): Avoid overhead.
92 * libc/stdio/printf.c (_printf_r): Use _DEFUN.
93 (printf): Avoid overhead.
94 * libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
95 * libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
96 * libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
97 * libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
98 * libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
99 * libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
100 * libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
101 * libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
102 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
103 vdiprintf.c.
104 * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
105 (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
106
2c58b5a5
DK
1072007-03-30 Dave Korn <dave.korn@artimi.com>
108
109 * libc/include/stdio.h (_ELIDABLE_INLINE): New macro to conceal
110 conflicting inline semantics between C99 and GNU89.
111 (__sgetc_r): Replace static inline with _ELIDABLE_INLINE to be
112 compatible with -fkeep-inline-functions usage.
113 (__sputc_r): Likewise for consistency even though disabled.
114
519aec5d
NC
1152007-03-29 Nick Clifton <nickc@redhat.com>
116
117 Reflect changes made to generic vfprintf.c:
118 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
119 and add a "struct reent *" argument.
120 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
121 argument and call _VFPRINTF_R instead of VFPRINTF.
122 (_VFPRINTF_R): Add data pointer to call to cantwrite().
123 Fix uses of __sprint() and __sbprintf.
124
1252007-03-20 Nick Clifton <nickc@redhat.com>
126
127 Reflect changes made to generic vfprintf.c:
128 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
129 and add a "struct reent *" argument.
130 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
131 argument and call _VFPRINTF_R instead of VFPRINTF.
132 (_VFPRINTF_R): Add data pointer to call to cantwrite().
133 Fix uses of __sprint() and __sbprintf.
134
443871a6
JJ
1352007-03-16 Charles Wilson <cygwin@...>
136
137 * libc/argz/argz_insert.c: "before" pointer is
138 invalid after *argz realloc. Compute offset
139 between "before" and *argz, and use it after
140 reallocation instead.
141
a167bcd8
JJ
1422007-03-16 Eric Blake <ebb9@byu.net>
143
144 * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
145 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
146
826b5591
JJ
1472007-03-15 Jeff Johnston <jjohnstn@redhat.com>
148
149 * configure.in: Add new --enable-newlib-reent-small option.
150 * configure: Regenerated.
151 * acconfig.h: Add _WANT_REENT_SMALL.
152 * newlib.hin: Regenerated minus PACKAGE macros to add
153 _WANT_REENT_SMALL macro.
154 * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
155 if not already set.
156 * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
157 there is no buffer.
158 * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
159 use reentrant pointer passed in when resetting the file
160 pointer to one of the std streams.
161
14ba5e14
JJ
1622007-03-15 Eric Blake <ebb9@byu.net>
163
164 * libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
165 (__smakebuf): Rename...
166 (__smakebuf_r): to this.
167 * libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
168 * libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
169 allocation, then rename...
170 (__smakebuf_r): ...to this and fix reentrancy.
171 * libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
172 allocation, then rename...
173 (__swsetup_r): ...to this and fix reentrancy.
174 * libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
175 * libc/stdio/refill.c (__srefill_r): Likewise.
176 * libc/stdio/fclose.c (_fclose_r): Likewise.
177 * libc/stdio/fread.c (_fread_r): Likewise.
178 * libc/stdio/freopen.c (_freopen_r): Likewise.
179 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
180 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
181 * libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
182 failed asprintf allocation, and fix reentrancy.
183 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
184 as required by POSIX.
185 * libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
186 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
187 * libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
188
99304ce6
JJ
1892007-03-12 Eric Blake <ebb9@byu.net>
190
191 * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
192 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
193 allocation to caller.
194 * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
195 * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
196 * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
197
d9edc05f
JJ
1982007-02-23 Jeff Johnston <jjohnstn@redhat.com>
199
200 * libm/math/w_pow.c: Fix typo in documentation comment.
201
59673dbb
JJ
2022007-02-21 Patrick Mansfield <patmans@us.ibm.com>
203
204 * libc/reent/timer.c: Removed (split into two new files).
205 * libc/reent/timesr.c: New file for _times_r.
206 * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
207 * reent/Makefile.in: Remove timer.c, add timesr.c and
208 gettimeofdayr.c.
209 * libc/reent/Makefile.am: Regenerate.
210
547c5c61
JJ
2112007-02-20 Patrick Mansfield <patmans@us.ibm.com>
212
213 * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
214
3b7e017e
JJ
2152007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
216
217 * libc/machine/spu/Makefile.am: Add new objects.
218 * libc/machine/spu/Makefile.in: Regenerated.
219 * libc/machine/spu/fiprintf.c: New file. Add implementation of
220 integer-only version.
221 * libc/machine/spu/fiscanf.c: Ditto.
222 * libc/machine/spu/iprintf.c: Ditto.
223 * libc/machine/spu/iscanf.c: Ditto.
224 * libc/machine/spu/siprintf.c: Ditto.
225 * libc/machine/spu/siscanf.c: Ditto.
226 * libc/machine/spu/sniprintf.c: Ditto.
227 * libc/machine/spu/vfiprintf.c: Ditto.
228 * libc/machine/spu/vfiscanf.c: Ditto.
229 * libc/machine/spu/viprintf.c: Ditto.
230 * libc/machine/spu/viscanf.c: Ditto.
231 * libc/machine/spu/vsiprintf.c: Ditto.
232 * libc/machine/spu/vsiscanf.c: Ditto.
233 * libc/machine/spu/vsniprintf.c: Ditto.
234 * libc/machine/spu/fprintf.c: Add support for integer-only
235 version.
236 * libc/machine/spu/fscanf.c: Ditto.
237 * libc/machine/spu/printf.c: Ditto.
238 * libc/machine/spu/scanf.c: Ditto.
239 * libc/machine/spu/snprintf.c: Ditto.
240 * libc/machine/spu/sprintf.c: Ditto.
241 * libc/machine/spu/sscanf.c: Ditto.
242 * libc/machine/spu/vfprintf.c: Ditto.
243 * libc/machine/spu/vfscanf.c: Ditto.
244 * libc/machine/spu/vprintf.c: Ditto.
245 * libc/machine/spu/vscanf.c: Ditto.
246 * libc/machine/spu/vsnprintf.c: Ditto.
247 * libc/machine/spu/vsprintf.c: Ditto.
248 * libc/machine/spu/vsscanf.c: Ditto.
249
960e5d8f
JJ
2502007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
251
252 * libc/include/stdio.h: Add declaration for vsiprintf.
253
958e329d
JJ
2542007-02-14 Patrick Mansfield <patmans@us.ibm.com>
255
256 Add a floating point environment for SPU (cell):
257
258 * configure.host: add libm_machine_dir=spu.
259 * libm/machine/configure: Add spu.
260 * libm/machine/configure.in: regenerated with spu added.
261 * libc/machine/spu/include/fenv.h: New file.
262 * libc/machine/spu/sys/fenv.h: Ditto.
263 * libm/machine/spu/Makefile.am: Ditto.
264 * libm/machine/spu/Makefile.in: Ditto.
265 * libm/machine/spu/aclocal.m4: Ditto.
266 * libm/machine/spu/configure: Ditto.
267 * libm/machine/spu/configure.in: Ditto.
268 * libm/machine/spu/fe_dfl_env.c: Ditto.
269 * libm/machine/spu/feclearexcept.c: Ditto.
270 * libm/machine/spu/fegetenv.c: Ditto.
271 * libm/machine/spu/fegetexceptflag.c: Ditto.
272 * libm/machine/spu/fegetround.c: Ditto.
273 * libm/machine/spu/feholdexcept.c: Ditto.
274 * libm/machine/spu/feraiseexcept.c: Ditto.
275 * libm/machine/spu/fesetenv.c: Ditto.
276 * libm/machine/spu/fesetexceptflag.c: Ditto.
277 * libm/machine/spu/fesetround.c: Ditto.
278 * libm/machine/spu/fetestexcept.c: Ditto.
279 * libm/machine/spu/feupdateenv.c: Ditto.
280 * libm/machine/spu/headers/feclearexcept.h: Ditto.
281 * libm/machine/spu/headers/fefpscr.h: Ditto.
282 * libm/machine/spu/headers/fegetenv.h: Ditto.
283 * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
284 * libm/machine/spu/headers/fegetround.h: Ditto.
285 * libm/machine/spu/headers/feholdexcept.h: Ditto.
286 * libm/machine/spu/headers/feraiseexcept.h: Ditto.
287 * libm/machine/spu/headers/fesetenv.h: Ditto.
288 * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
289 * libm/machine/spu/headers/fesetround.h: Ditto.
290 * libm/machine/spu/headers/fetestexcept.h: Ditto.
291 * libm/machine/spu/headers/feupdateenv.h: Ditto.
292
4f7e59f2
CV
2932007-02-14 Corinna Vinschen <corinna@vinschen.de>
294
295 * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
296 Cygwin.
297
d7e4c7a8
CV
2982007-02-08 Corinna Vinschen <corinna@vinschen.de>
299
300 * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
301 Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
302
0e37a2e6
CV
3032007-02-07 Corinna Vinschen <corinna@vinschen.de>
304
305 * libc/include/sys/features.h: Add definition of all supported
306 _POSIX_xxx values for Cygwin.
307 * libc/include/sys/types.h (pthread_rwlock_t): Omit definition
308 on Cygwin.
309 (pthread_rwlockattr_t): Ditto.
310 * libc/include/sys/unistd.h: Define all _SC_xxx values as
311 required by SUSv3. Unify formatting.
312
6699fabb
JJ
3132007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
314
315 * libc/include/sys/errno.h: Add ECANCELED.
316
22a339e8
JJ
3172007-02-01 Joel Schopp <jschopp@austin.ibm.com>
318 Kazunori Asayama <asayama@sm.sony.co.jp>
319
320 * libc/machine/spu/Makefile.am: Add objects.
321 * libc/machine/spu/Makefile.in: Regenerated.
322 * libc/machine/spu/vsscanf.c: New file. Add a stdio function
323 implementation.
324 * libc/machine/spu/snprintf.c: Ditto.
325 * libc/machine/spu/sprintf.c: Ditto.
326 * libc/machine/spu/sscanf.c: Ditto.
327 * libc/machine/spu/remove.c: Ditto.
328 * libc/machine/spu/rename.c: Ditto.
329 * libc/machine/spu/tmpnam.c: Ditto.
330 * libc/machine/spu/vsnprintf.c: Add initialization routine of
331 stdio stuffs.
332 * libc/machine/spu/vsprintf.c: Ditto.
333
7d592bb1
JJ
3342007-02-01 Joel Schopp <jschopp@austin.ibm.com>
335 Kazunori Asayama <asayama@sm.sony.co.jp>
336
337 * configure.host: Enable SPU specific stdio directory.
338 * libc/machine/spu/Makefile.am: Add objects.
339 * libc/machine/spu/Makefile.in: Regenerated.
340 * libc/machine/spu/c99ppe.h: Add macros and function
341 declarations to initialize SPU specific stdio stuffs.
342 * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
343 specific FILE structures.
344 * libc/machine/spu/perror.c: Add initialization routine of
345 stdio stuffs.
346 * libc/machine/spu/printf.c: Ditto.
347 * libc/machine/spu/putchar.c: Ditto.
348 * libc/machine/spu/puts.c: Ditto.
349 * libc/machine/spu/vprintf.c: Ditto.
350 * libc/machine/spu/clearerr.c: New file. Add a stdio function
351 implementation.
352 * libc/machine/spu/feof.c: Ditto.
353 * libc/machine/spu/ferror.c: Ditto.
354 * libc/machine/spu/fileno.c: Ditto.
355 * libc/machine/spu/fopen.c: Ditto.
356 * libc/machine/spu/fclose.c: Ditto.
357 * libc/machine/spu/freopen.c: Ditto.
358 * libc/machine/spu/fflush.c: Ditto.
359 * libc/machine/spu/fseek.c: Ditto.
360 * libc/machine/spu/ftell.c: Ditto.
361 * libc/machine/spu/rewind.c: Ditto.
362 * libc/machine/spu/fgetpos.c: Ditto.
363 * libc/machine/spu/fsetpos.c: Ditto.
364 * libc/machine/spu/fread.c: Ditto.
365 * libc/machine/spu/fwrite.c: Ditto.
366 * libc/machine/spu/getc.c: Ditto.
367 * libc/machine/spu/getchar.c: Ditto.
368 * libc/machine/spu/gets.c: Ditto.
369 * libc/machine/spu/fgetc.c: Ditto.
370 * libc/machine/spu/fgets.c: Ditto.
371 * libc/machine/spu/ungetc.c: Ditto.
372 * libc/machine/spu/putc.c: Ditto.
373 * libc/machine/spu/fputc.c: Ditto.
374 * libc/machine/spu/fputs.c: Ditto.
375 * libc/machine/spu/vfprintf.c: Ditto.
376 * libc/machine/spu/vfscanf.c: Ditto.
377 * libc/machine/spu/fprintf.c: Ditto.
378 * libc/machine/spu/fscanf.c: Ditto.
379 * libc/machine/spu/scanf.c: Ditto.
380 * libc/machine/spu/vscanf.c: Ditto.
381 * libc/machine/spu/setbuf.c: Ditto.
382 * libc/machine/spu/setvbuf.c: Ditto.
383 * libc/machine/spu/tmpfile.c: Ditto.
384
3852007-02-01 Jeff Johnston <jjohnstn@redhat.com>
386
387 * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
388 * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
17c0c97d 389 around stdio macros that manipulate fields in the normal file
7d592bb1
JJ
390 structure.
391 * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
392 <sys/custom_file.h> to define custom FILE structure.
393 * libc/include/sys/custom_file.h: New default header file
394 that generates error if not overridden when __CUSTOM_FILE_IO__ set.
395 * libc/machine/spu/sys/custom_file.h: New file.
396
0733ae3b
JJ
3972007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>
398
399 * configure.host: Define stdio directory as a variable.
400 * libc/Makefile.am: Define stdio related names
401 as macros.
402 * libc/configure.in: Add detection routine of stdio directory.
403 * libc/Makefile.in: Regenerated.
404 * libc/configure: Ditto.
405 * libc/argz/Makefile.in: Ditto.
406 * libc/ctype/Makefile.in: Ditto.
407 * libc/errno/Makefile.in: Ditto.
408 * libc/iconv/Makefile.in: Ditto.
409 * libc/iconv/ccs/Makefile.in: Ditto.
410 * libc/iconv/ccs/binary/Makefile.in: Ditto.
411 * libc/iconv/ces/Makefile.in: Ditto.
412 * libc/iconv/lib/Makefile.in: Ditto.
413 * libc/locale/Makefile.in: Ditto.
414 * libc/misc/Makefile.in: Ditto.
415 * libc/posix/Makefile.in: Ditto.
416 * libc/reent/Makefile.in: Ditto.
417 * libc/search/Makefile.in: Ditto.
418 * libc/signal/Makefile.in: Ditto.
419 * libc/stdio/Makefile.in: Ditto.
420 * libc/stdio64/Makefile.in: Ditto.
421 * libc/stdlib/Makefile.in: Ditto.
422 * libc/string/Makefile.in: Ditto.
423 * libc/syscalls/Makefile.in: Ditto.
424 * libc/time/Makefile.in: Ditto.
425 * libc/unix/Makefile.in: Ditto.
426
cb7ba0e1
BE
4272007-01-30 Ben Elliston <bje@au.ibm.com>
428
c7cd7849
BE
429 * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
430 fmt member.
431 * libc/machine/spu/printf.c (c99_printf_t): Likewise.
432 (printf): Pass fmt to va_start to suppress a warning.
433
cb7ba0e1
BE
434 * libc/search/hash.c (init_hash): Make `info' parameter const.
435
f89533c1
JJ
4362007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
437
438 * libc/machine/spu/c99ppe.h: Replace vector with __vector.
439 * libc/machine/spu/vec_literal.h: Ditto.
440 * libc/machine/spu/strncmp.c: Ditto.
441
94b91791
JJ
4422007-01-15 Joseph Myers <joseph@codesourcery.com>
443 Kazu Hirata <kazu@codesourcery.com>
444
445 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
446 for E500V1 and E500V2.
447
26190be1
JJ
4482007-01-11 Jeff Johnston <jjohnstn@redhat.com>
449
450 * libm/configure.in: Always configure machine directory.
451 * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
452 unconditionally.
453 * libm/configure: Regenerated.
454 * libm/Makefile.in: Ditto.
455 * libm/*/Makefile.in: Ditto.
456
8e0e8f40
JJ
4572007-01-05 Brian Ford <Brian.Ford@FlightSafety.com>
458
459 * configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
460
9cd4a2de
JJ
4612007-01-02 Ben Elliston <bje@au.ibm.com>
462
463 * doc/makedoc.c: Include <stdlib.h>.
464 (malloc, realloc): Remove extern declarations.
465
a4b11782
JJ
4662005-12-18 Jeff Johnston <jjohnstn@redhat.com>
467
468 * NEWS: Update with 1.15.0 info.
469 * README: Ditto.
470 * acinclude.m4: Change version number to 1.15.0.
17c0c97d 471 * aclocal.m4: Regenerated.
a4b11782
JJ
472 * configure: Ditto.
473 * doc/aclocal.m4: Ditto.
474 * doc/configure: Ditto.
475 * libc/*/aclocal.m4: Ditto.
476 * libc/*/configure: Ditto.
477 * libc/libc.texinfo: Ditto.
478 * libm/*/aclocal.m4: Ditto.
479 * libm/*/configure: Ditto.
480 * libm/libm.texinfo: Ditto.
481 * libc/sys/linux/shared.ld: Add VERS_1.15.
482
def943c1
JJ
4832006-12-18 Kazu Hirata <kazu@codesourcery.com>
484
485 Merge from newlib-csl-20060320-branch:
486 2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
487 Kazu Hirata <kazu@codesourcery.com>
488
489 * configure.host: Recognize fido.
490
17c0c97d 4912006-12-18 Joel Schopp <jschopp@austin.ibm.com>
505ccc75
JJ
492
493 * libc/machine/spu/c99ppe.h: New file
494 * libc/machine/spu/perror.c: New file to override libc/stdio version.
495 * libc/machine/spu/printf.c: New file
496 * libc/machine/spu/putchar.c: New file
497 * libc/machine/spu/puts.c: New file
498 * libc/machine/spu/vprintf.c: New file
499 * libc/machine/spu/vsnprintf.c: New file
500 * libc/machine/spu/vsprintf.c: New file
501 * libc/machine/spu/Makefile.am: Add new targets.
502 * libc/machine/spu/Makefile.in: Regenerated.
503
78b7c6f8
JJ
5042006-12-18 Jeff Johnston <jjohnstn@redhat.com>
505
506 * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
507 * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
508
f5222560
JJ
5092006-12-18 Jeff Johnston <jjohnstn@redhat.com>
510
511 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
512 2.6.5 version of Doug Lea's malloc which is the basis of
513 this code.
514
9b354d7f
JJ
5152006-12-18 Kazunori Asayama <asayama@sm.sony.co.jp>
516
517 * libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
518
4c0b8a07
JJ
5192006-12-14 Jeff Johnston <jjohnstn@redhat.com>
520 Eric Blake <ebb9@byu.net>
521
522 * libc/stdio/fflush.c (fflush): On seekable streams, always flush
523 read but unused data.
524 * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
525 even read streams may have side effects that must happen.
526
dd52bb72
JJ
5272006-12-13 Joel Schopp <jschopp@austin.ibm.com>
528
6a200958
JJ
529 * libc/machine/spu/setjmp.S: Fix to handle registers past 115
530 correctly.
531
5322006-12-13 Joel Schopp <jschopp@austin.ibm.com>
533
534 * libc/include/alloca.h: Add undef alloca to work with xlc.
dd52bb72 535
4e051d91
JJ
5362006-12-12 Joel Schopp <jschopp@austin.ibm.com>
537
17c0c97d 538 * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
6a200958 539 cell spu.
4e051d91 540
489bb390
JJ
5412006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
542
543 * libc/machine/spu/strncpy.c: Add padding.
544
3e2d7a91
JJ
5452006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
546
17c0c97d 547 * testsuite/newlib.string/tstring.c:
3e2d7a91 548
0a2ef998
JJ
5492006-12-01 Kazunori Asayama <asayama@sm.sony.co.jp>
550
551 * libc/machine/spu/strchr.c: Fix mask for misaligned string.
552 * libc/machine/spu/strrchr.c: Ditto.
553
75190a8f
JJ
5542006-11-30 Lev Bishop <lev.bishop@gmail.com>
555
556 * libc/include/math.h: Allow C99 functions/macros to be
557 defined for C++ even when __STRICT_ANSI__.
558
7d794364
JJ
5592006-11-29 Jeff Johnston <jjohnstn@redhat.com>
560
561 * libc/stdio/makebuf.c (__smakebuf): If dealing with
562 an asprintf-family buffer, make the default initial size 64.
563
c4c7f139
JJ
5642006-11-29 Eric Blake <ebb9@byu.net>
565
566 * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
567 asprintf, as well as quadratic realloc behavior.
568
5692006-11-29 Kazunori Asayama <asayama@sm.sony.co.jpi
80c6ead2
JJ
570
571 * libc/machine/spu/memset.c: Fix type of explicit cast.
572 * libc/machine/spu/strncmp.c: Add explicit cast.
573 * libc/machine/spu/strrchr.c: Ditto.
574 * libc/machine/spu/strspn.c: Ditto.
575
9bc5b618
JJ
5762006-11-22 Luca Barbato <lu_zero@gentoo.org>
577
578 * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
579 * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
580 * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
581 * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
582 * libc/machine/spu/strncat.c: Explicit cast.
583 * libc/machine/spu/strncmp.c: Use spu_splats.
584 * libc/machine/spu/strncpy.c: Explicit cast.
585 * libc/machine/spu/strrchr.c: Use spu_splats.
586 * libc/machine/spu/strspn.c: Use spu_splats.
587
52077eb2
JJ
5882006-11-15 Till Straumann <strauman@slac.stanford.edu>
589
590 * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
591
d1a2fe1a
JJ
5922006-11-14 Eric Blake <ebb9@byu.net>
593
594 * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
595 (chclass): ' is a flag. j, t, and z are modifiers.
596
9842c7e4 5972006-11-08 Jie Zhang <jie.zhang@analog.com>
292f8e23
JJ
598
599 * configure.host: Add support for bfin.
600 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
601 * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
602 * libc/machine/bfin/aclocal.m4: Generate.
603 * libc/machine/bfin/configure.in: New.
604 * libc/machine/bfin/configure: Generate.
605 * libc/machine/bfin/Makefile.am: New.
606 * libc/machine/bfin/Makefile.in: Generate.
607 * libc/machine/bfin/setjmp.S: New.
608 * libc/machine/bfin/longjmp.S: New.
609 * libc/machine/configure.in: Add bfin support.
610 * libc/machine/configure: Generate.
611
b1755fe7
CV
6122006-11-07 Corinna Vinschen <corinna@vinschen.de>
613
614 * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
615 (_PC_FILESIZEBITS): Add definition.
616 (_PC_2_SYMLINKS): Ditto.
617 (_PC_SYMLINK_MAX): Ditto.
618
d384d868
JJ
6192006-10-27 Joel Schopp <jschopp@austin.ibm.com>
620
621 * libc/machine/spu/memcpy.c: Override generic function with vectorized
622 version optimized for the cell spu.
623 * libc/machine/spu/memmove.c: Ditto.
624 * libc/machine/spu/memset.c: Ditto.
625 * libc/machine/spu/strcat.c: Ditto.
626 * libc/machine/spu/strchr.c: Ditto.
627 * libc/machine/spu/strcmp.c: Ditto.
628 * libc/machine/spu/strcpy.c: Ditto.
629 * libc/machine/spu/strcspn.c: Ditto.
630 * libc/machine/spu/strlen.c: Ditto.
631 * libc/machine/spu/strncat.c: Ditto.
632 * libc/machine/spu/strncmp.c: Ditto.
633 * libc/machine/spu/strncpy.c: Ditto.
634 * libc/machine/spu/strpbrk.c: Ditto.
635 * libc/machine/spu/strrchr.c: Ditto.
636 * libc/machine/spu/strspn.c: Ditto.
637 * libc/machine/spu/strxfrm.c: Ditto.
17c0c97d 638 * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
d384d868
JJ
639 removing altivec style initializers.
640 * libc/machine/spu/Makefile.am: Add new files to list so they build
641 * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
642
f29fdb2f
JJ
6432006-10-27 Jeff Johnston <jjohnstn@redhat.com>
644
645 * README: Add a brief section on how to regenerate
646 configuration files in newlib.
647
884dc68f
JJ
6482006-10-25 Vladimir Prus <vladimir@codesourcery.com>
649
650 * libc/include/math.h: (exception): Add a comment
651 telling fixincludes that we handle C vs. C++ issue.
652
f8fe93f9
JJ
6532006-10-11 Yang Tse <yangsita@gmail.com>
654
6d441576
CV
655 * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
656 braced-groups.
f8fe93f9 657
d95c5792
CV
6582006-10-11 Corinna Vinschen <corinna@vinschen.de>
659
660 * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
661
e5e148d1
JJ
6622006-09-26 Jeff Johnston <jjohnstn@redhat.com>
663
664 * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
665 for clearerr, feof, or fileno.
17c0c97d
EB
666 * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
667 the dummy std stream scheme to use pointers to const external
e5e148d1
JJ
668 fake files, one for each standard stream.
669 * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
670 argument. For _REENT_SMALL, reset the file pointer if it
671 matches one of the fake std stream pointers.
672 * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
673 argument.
674 * libc/stdio/fclose.c: Ditto.
675 * libc/stdio/feof.c: Ditto.
676 * libc/stdio/ferror.c: Ditto.
677 * libc/stdio/fflush.c: Ditto.
678 * libc/stdio/fgetc.c: Ditto.
679 * libc/stdio/fgets.c: Ditto.
680 * libc/stdio/fileno.c: Ditto.
681 * libc/stdio/findfp.c: Ditto.
682 * libc/stdio/fputc.c: Ditto.
683 * libc/stdio/fputs.c: Ditto.
684 * libc/stdio/fread.c: Ditto.
685 * libc/stdio/freopen.c: Ditto.
686 * libc/stdio/fseek.c: Ditto.
687 * libc/stdio/ftell.c: Ditto.
688 * libc/stdio/fwrite.c: Ditto.
689 * libc/stdio/getc.c: Ditto.
690 * libc/stdio/getdelim.c: Ditto.
691 * libc/stdio/putc.c: Ditto.
692 * libc/stdio/refill.c: Ditto.
693 * libc/stdio/setvbuf.c: Ditto.
694 * libc/stdio/ungetc.c: Ditto.
695 * libc/stdio/vfprintf.c: Ditto.
696 * libc/stdio/vfscanf.c: Ditto.
697 * libc/stdio/wbuf.c: Ditto.: Ditto.
698 * libc/stdio/wsetup.c: Ditto.
699 * libc/stdio64/freopen64.c: Ditto.
700 * libc/stdio64/fseeko64.c: Ditto.
701 * libc/stdio64/ftello64.c: Ditto.
702 * libc/machine/powerpc/vfprintf.c: Ditto.
703 * libc/machine/powerpc/vfscanf.c: Ditto.
704
e83c3d0a
JJ
7052006-09-22 Paul Brook <paul@codesourcery.com>
706
707 * libc/include/sys/reent.h: Define and use __reent_assert.
708
23754b33
JJ
7092006-09-13 Joel Sherrill <joel@oarcorp.com>
710
711 * libc/include/pthread.h: Add pthread barriers,
712 rwlocks, and spinlocks. Change const to
713 _CONST and prefix parameter names with
714 an underscore.
715 * libc/include/sys/types.h: Add id and attribute
716 types for barriers, wrlocks, and spinlocks.
717 * libc/include/sys/features.h: Enable barriers,
718 wrlocks, and spinlocks for RTEMS.
719
ba1bb1b3
JJ
7202006-09-13 Patrick Mansfield <patmans@us.ibm.com>
721
722 * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
723 supposed to be writable.
724 * libm/common/s_lib_ver.c: Ditto.
725
8f9f25da
JJ
7262006-09-12 Paul Brook <paul@codesourcery.com>
727
728 * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
729
0324070e
JJ
7302006-09-07 Masaki Muranaka <monaka@monami-software.com>
731
8f9f25da 732
0324070e
JJ
733 * libc/machine/xstormy16/Makefile.am:
734 Add $(lpfx) prefix to LIBADD objects.
735 lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
736 * libc/machine/xstormy16/Makefile.in: Regenerated.
737
d39002f9
JJ
7382006-09-06 Eric Blake <ebb9@byu.net>
739
740 * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
741 't', and 'z' modifiers.
742
c023e783
KH
7432006-09-01 Kazu Hirata <kazu@codesourcery.com>
744
745 Merge from newlib-csl-20060320-branch:
746 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
747
748 * configure.host: Tell it we have _rename and _system when
749 building m68k-unknown-elf.
750
85974265
JJ
7512006-08-29 Paul Brook <paul@codesourcery.com>
752
753 * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
754
c1f828e5
JJ
7552006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
756
757 * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
758 BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
759 This is needed to build all AVR and H8300 RTEMS multilib variants.
760
b8e05321
JJ
7612006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
762
763 * libc/machine/configure.in: Add configuration for SPU.
764 * libc/machine/configure: Regenerated.
765 * libc/machine/spu/memcpy.c: Include string.h.
766
380d8ec4
JJ
7672006-08-22 Eric Blake <ebb9@byu.net>
768
769 * libc/posix/popen.c (popen): Don't close output end of pipe in
770 child if stdout was closed on entry.
771 [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
772
a0922fcb
CF
7732006-08-19 Ramana Radhakrishnan <ramana.r@gmail.com>
774
775 * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
776 line.
777
84a79403
JJ
7782006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
779
17c0c97d
EB
780 * libc/time/gmtime.c: Correct man page; clock is not a
781 local time and no conversion occurs.
84a79403 782
0d8de89c
JJ
7832006-08-16 Joel Schopp <jschopp@austin.ibm.com>
784
785 * configure.host (newlib_cflags) [spu]: Add special compiler
786 options to reduce size.
787
734e8414
JJ
7882006-08-16 Joel Schopp <jschopp@austin.ibm.com>
789
790 * configure.host: Add spu support.
791 * libc/include/stdint.h: Ditto.
792 * libc/include/machine/ieeefp.h: Ditto.
793 * libc/include/machine/setjmp.h: Ditto.
794 * libc/include/sys/config.h: Ditto.
795 * libc/include/sys/types.h: Ditto.
796 * libc/machine/spu/Makefile.am: New file.
797 * libc/machine/spu/Makefile.in: Ditto.
798 * libc/machine/spu/aclocal.m4: Ditto.
799 * libc/machine/spu/configure: Ditto.
800 * libc/machine/spu/configure.in: Ditto.
801 * libc/machine/spu/memcpy.c: Ditto.
802 * libc/machine/spu/setjmp.S: Ditto.
803
079b45dc
JJ
8042006-08-03 J"orn Rennecke <joern.rennecke@st.com>
805
806 * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
807 properly.
808
2ebf115d
JJ
8092006-08-01 Jeff Johnston <jjohnstn@redhat.com>
810
811 * libc/Makefile.am: Add libc_TEXINFOS dependency on
812 generated .texi files.
813 * libm/Makefile.am: Add libm_TEXINFOS dependency on
814 generated .texi files.
815 * libc/Makefile.in: Regenerated.
816 * libm/Makefile.in: Ditto.
817
a1213494
JJ
8182006-08-01 Thiemo Seufer <ths@mips.com>
819 Nigel Stephens <nigel@mips.com>
820
821 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
822 define this to force _impure_ptr to live in the .sdata section.
823
0a85d87f
JJ
8242006-07-31 Jeff Johnston <jjohnstn@redhat.com>
825
826 * acinclude.m4: Check for readelf tool.
827 * configure.in: Use ${READELF} instead of hard-coding.
828 * Regenerate all aclocal.m4, Makefile.in, and configure files.
829
17c0c97d 8302006-07-31 Jeff Johnston <jjohnstn@redhat.com>
cc023a75
JJ
831
832 * libc/sys/linux/mmap.c: Remove include of sys/mman.h
833 to avoid conflict with newer glibc's revision of mremap.
834
17c0c97d 8352006-07-05 Jeff Johnston <jjohnstn@redhat.com>
b0b92438 836
17c0c97d 837 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
b0b92438
JJ
838 floating-point format support. Also redefine
839 dword0 and dword1 macros.
840 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
841 to prevent setting dword1 which is an rvalue only.
842
17c0c97d 8432006-06-22 Jeff Johnston <jjohnstn@redhat.com>
f489b594
JJ
844
845 * libc/stdlib/Makefile.am: Add new gdtoa routines.
846 * libc/stdlib/Makefile.in: Regenerated.
847 * libc/stdlib/gd_qnan.h: New file.
848 * libc/stdlib/gdtoa-gethex.c: Ditto.
849 * libc/stdlib/gdtoa-hexnan.c: Ditto.
850 * libc/stdlib/gdtoa.h: Ditto.
851 * libc/stdlib/mprec.c: Add new helper routines needed by
852 the new gdtoa code.
853 * libc/stdlib/mprec.h: Integrate some defines and prototypes
854 used by gdtoa routines here.
855 * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
856 which adds C99 support such as nan, inf, and hexadecimal input
857 format.
858
c8956c6f
JJ
8592006-06-15 Corinna Vinschen <corinna@vinschen.de>
860
861 * libc/include/stdio.h (__sgetc_r): Fix typo.
862 * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
863 * libc/stdio/rget.c (__srbuf): Reinstantiate.
864 * libc/stdio/wbuf.c (__swbuf): Ditto.
865
17c0c97d 8662006-06-14 Jeff Johnston <jjohnstn@redhat.com>
4dc0c0c4
JJ
867
868 * libc/include/stdio.h: Add new reentrant I/O prototypes for
17c0c97d 869 read/write functions. Change getc/putc macros to have reentrant underlying
4dc0c0c4
JJ
870 macros/functions. This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
871 * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
872 new reentrant I/O functions/macros for reading/writing.
873 * libc/stdio/fgets.c: Ditto.
874 * libc/stdio/fputc.c: Ditto.
875 * libc/stdio/fputs.c: Ditto.
876 * libc/stdio/fread.c: Ditto.
877 * libc/stdio/fseek.c: Ditto.
878 * libc/stdio64/fseeko64.c: Ditto.
879 * libc/stdio/fwrite.c: Ditto.
880 * libc/stdio/getc.c: Ditto.
881 * libc/stdio/getc_u.c: Ditto.
882 * libc/stdio/getchar.c: Ditto.
883 * libc/stdio/getchar_u.c: Ditto.
884 * libc/stdio/putc.c: Ditto.
885 * libc/stdio/putc_u.c: Ditto.
886 * libc/stdio/putchar.c: Ditto.
887 * libc/stdio/puts.c: Ditto.
888 * libc/stdio/vfprintf.c: Ditto.
889 * libc/stdio/vfscanf.c: Ditto.
890 * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
891 Change all previous callers of __sfvwrite. Set errno to EBADF and
892 set error flag on if attempt is made to write to file that does not
893 allow writing.
894 * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
895 * libc/stdio/local.h: Ditto.
896 * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
897 Set errno to EBADF and the error flag on if attempt is made to
898 read unreadable file. Change all previous callers of __srefill.
899 * libc/stdio/rget.c
900 * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r. Change
901 all previous callers of __swbuf.
902 * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
903 huge value macros are already defined correctly for i386 by <math.h>.
904
c4cac45f
JJ
9052006-06-13 Sandra Loosemore <sandra@codesourcery.com>
906
907 * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
908 Make them do something useful in the ARM_RDI_MONITOR case.
909
b5b6cbd8
JJ
9102006-06-07 Fred Fish <fnf@specifix.com>
911
912 * libc/search/hash_bigkey.c (MIN,MAX): Remove
913 defines that are already supplied by <sys/param.h>.
914
3cc3705c
JJ
9152006-06-07 Fred Fish <fnf@specifix.com>
916
917 * configure.host: Remove references to HAVE_GETTIMEOFDAY.
918
512c2879
JJ
9192006-06-05 Shaun Jackman <sjackman@gmail.com>
920
921 * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
922 usleep.c.
923 * libc/posix/Makefile.in: Regenerate.
924 * libc/posix/sleep.c: New file.
925 * libc/posix/usleep.c: Ditto.
926
6ea486a6
JJ
9272006-06-05 Shaun Jackman <sjackman@gmail.com>
928
9eedc2e6 929 * configure.host (newlib_cflags) [arm, thumb, xscale]: Remove
6ea486a6
JJ
930 -DABORT_PROVIDED flag.
931 * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
932 * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
933
2e7c576a
JJ
9342006-06-05 Jeff Johnston <jjohnstn@redhat.com>
935
936 * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
937 * Makefile.in: Regenerated.
938 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
939 extraneous CFLAGS reference now that CCASFLAGS are being extended
940 properly via multilib.
941 * libc/machine/sh/Makefile.in: Regenerated.
942
3feae7b1
JJ
9432006-06-02 Shaun Jackman <sjackman@gmail.com>
944
945 * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
946 sigismember.
947
f383bda5
JJ
9482006-05-23 Jeff Johnston <jjohnstn@redhat.com>
949
950 * libc/misc/dprintf.c: Removed.
951 * libc/misc/__dprintf.c: Renamed from dprintf.c.
952 * libc/misc/Makefile.am: Changed appropriately for rename.
953 * libc/misc/Makefile.in: Regenerated.
954
8eeee74e
JJ
9552006-05-23 Jeff Johnston <jjohnstn@redhat.com>
956
957 * libc/include/stdio.h: Protect dprintf prototype
958 with #ifndef dprintf so as to not interfere with
959 historical code defining their own dprintf macro.
960
dc7798c6
JJ
9612006-05-18 Jeff Johnston <jjohnstn@redhat.com>
962
963 * libc/include/stdio.h: Add prototypes for fiscanf,
964 iscanf, and siscanf.
965
e1b888df
JR
9662006-05-11 J"orn Rennecke <joern.rennecke@st.com>
967
968 * acinclude.m4 (_NEWLIB_VERSION): Rename to:
969 (DEF_NEWLIB_VERSION).
970 * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
971 * configure: Regenerate.
972
7f32c41d
JJ
9732006-05-09 Jeff Johnston <jjohnstn@redhat.com>
974
975 * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
976 lib_a_SOURCES.
977 * libc/ctype/Makefile.in: Regenerated.
978
bac01fc8
JJ
9792006-05-09 Kazu Hirata <kazu@codesourcery.com>
980
981 * libc/machine/arm/Makefile.am: Fix a typo.
982 * libc/machine/arm/Makefile.in: Regenerated.
983
6c47d5b7
JR
9842006-05-08 J"orn Rennecke <joern.rennecke@st.com>
985
986 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
987 * libc/machine/sh/Makefile.in: Regenerate.
988
7cc7e374
JR
9892006-05-03 J"orn Rennecke <joern.rennecke@st.com>
990
991 * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
992 * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
993
a8b02d46
JJ
9942006-05-02 Jeff Johnston <jjohnstn@redhat.com>
995
996 * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
997 .s.
998 * libc/sys/sysnec810/Makefile.in: Regenerated.
999 * libc/sys/sysnec810/crt0.S: Renamed from .s file.
1000 * libc/sys/sysnec810/io.S: Ditto.
1001 * libc/sys/sysnec810/crt0.s: Renamed to .S file.
1002 * libc/sys/sysnec810/io.s: Ditto.
1003
8f8f1db1
JJ
10042006-05-01 Jeff Johnston <jjohnstn@redhat.com>
1005
1006 * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx). If source file can
1007 be specified instead of object, do so.
1008 * libc/ctype/Makefile.am: Ditto.
1009 * libc/iconv/ccs/Makefile.am: Ditto.
1010 * libc/iconv/ces/Makefile.am: Ditto.
1011 * libc/iconv/lib/Makefile.am: Ditto.
1012 * libc/locale/Makefile.am: Ditto.
1013 * libc/posix/Makefile.am: Ditto.
1014 * libc/reent/Makefile.am: Ditto.
1015 * libc/search/Makefile.am: Ditto.
1016 * libc/stdio/Makefile.am: Ditto.
1017 * libc/stdio64/Makefile.am: Ditto.
1018 * libc/stdlib/Makefile.am: Ditto.
1019 * libc/string/Makefile.am: Ditto.
1020 * libc/syscalls/Makefile.am: Ditto.
1021 * libc/unix/Makefile.am: Ditto.
1022 * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
1023 prefix added automatically. Any specified rules must use $(lpfx) for
1024 object file names.
1025 * libc/machine/arm/Makefile.am: Ditto.
1026 * libc/machine/cris/Makefile.am: Ditto.
1027 * libc/machine/crx/Makefile.am: Ditto.
1028 * libc/machine/d10v/Makefile.am: Ditto.
1029 * libc/machine/d30v/Makefile.am: Ditto.
1030 * libc/machine/fr30/Makefile.am: Ditto.
1031 * libc/machine/frv/Makefile.am: Ditto.
1032 * libc/machine/h8300/Makefile.am: Ditto.
1033 * libc/machine/h8500/Makefile.am: Ditto.
1034 * libc/machine/hppa/Makefile.am: Ditto.
1035 * libc/machine/i386/Makefile.am: Ditto.
1036 * libc/machine/i960/Makefile.am: Ditto.
1037 * libc/machine/iq2000/Makefile.am: Ditto.
1038 * libc/machine/m32c/Makefile.am: Ditto.
1039 * libc/machine/m32r/Makefile.am: Ditto.
1040 * libc/machine/m68hc11/Makefile.am: Ditto.
1041 * libc/machine/m68k/Makefile.am: Ditto.
1042 * libc/machine/m88k/Makefile.am: Ditto.
1043 * libc/machine/mips/Makefile.am: Ditto.
1044 * libc/machine/mn10200/Makefile.am: Ditto.
1045 * libc/machine/mn10300/Makefile.am: Ditto.
1046 * libc/machine/mt/Makefile.am: Ditto.
1047 * libc/machine/necv70/Makefile.am: Ditto.
1048 * libc/machine/powerpc/Makefile.am: Ditto.
1049 * libc/machine/sh/Makefile.am: Ditto.
1050 * libc/machine/sh/Makefile.in: Ditto.
1051 * libc/machine/sparc/Makefile.am: Ditto.
1052 * libc/machine/tic4x/Makefile.am: Ditto.
1053 * libc/machine/tic80/Makefile.am: Ditto.
1054 * libc/machine/v850/Makefile.am: Ditto.
1055 * libc/machine/w65/Makefile.am: Ditto.
1056 * libc/machine/xscale/Makefile.am: Ditto.
1057 * libc/machine/xstormy16/Makefile.am: Ditto.
1058 * libc/machine/z8k/Makefile.am: Ditto.
1059 * libc/sys/a29khif/Makefile.am: Ditto.
1060 * libc/sys/arm/Makefile.am: Ditto.
1061 * libc/sys/d10v/Makefile.am: Ditto.
1062 * libc/sys/h8300hms/Makefile.am: Ditto.
1063 * libc/sys/h8500hms/Makefile.am: Ditto.
1064 * libc/sys/linux/Makefile.am: Ditto.
1065 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
1066 * libc/sys/linux/net/Makefile.am: Ditto.
1067 * libc/sys/linux/stdlib/Makefile.am: Ditto.
1068 * libc/sys/m88kbug/Makefile.am: Ditto.
1069 * libc/sys/mmixware/Makefile.am: Ditto.
1070 * libc/sys/rdos/Makefile.am: Ditto.
1071 * libc/sys/rtems/Makefile.am: Ditto.
1072 * libc/sys/sh/Makefile.am: Ditto.
1073 * libc/sys/sun4/Makefile.am: Ditto.
1074 * libc/sys/sysmec/Makefile.am: Ditto.
1075 * libc/sys/sysnec810/Makefile.am: Ditto.
1076 * libc/sys/sysnecv850/Makefile.am: Ditto.
1077 * libc/sys/sysvi386/Makefile.am: Ditto.
1078 * libc/sys/sysvnecv70/Makefile.am: Ditto.
1079 * libc/sys/tic80/Makefile.am: Ditto.
1080 * libc/sys/w65/Makefile.am: Ditto.
1081 * libc/sys/z8ksim/Makefile.am: Ditto.
1082 * libc/machine/necv70/fastmath.S: Renamed from .s file.
1083 * libc/machine/necv70/setjmp.S: Ditto.
1084 * libc/machine/necv70/fastmath.s: Removed.
1085 * libc/machine/necv70/setjmp.s: Ditto.
1086 * libc/machine/w65/*.S: New files renamed from .s files.
1087 * libc/machine/w65/*.s: Renamed and removed.
1088 * libc/sys/a29khif/*.S: New files renamed from .s files.
1089 * libc/sys/a29khif/*.s: Renamed and removed.
1090 * libc/sys/sysvi386/*.S: New files renamed from .s files.
1091 * libc/sys/sysvi386/*.s: Renamed and removed.
1092 * libc/sys/sysvnecv70/*.S: New files renamed from .s files.
1093 * libc/sys/sysvnecv70/*.s: Renamed and removed.
1094 * libc/*Makefile.in: Regenerated as appropriate.
1095
b34db572
DD
10962006-04-24 DJ Delorie <dj@redhat.com>
1097
1098 * libc/machine/sh/configure.in: Avoid link tests.
1099 * libc/machine/sh/configure: Regenerate.
1100
e163e3e1
JJ
11012006-04-18 Jeff Johnston <jjohnstn@redhat.com>
1102
1103 * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
1104 (sigaddset, sigemptyset): Add return code.
1105
7ad96224
JJ
11062006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
1107
1108 * acinclude.m4: New _NEWLIB_VERSION.
1109 * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
1110 Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
1111 Use new form of AC_INIT_AUTOMAKE.
1112 * configure.in: AC_PREREQ(2.59).
1113 Use autoconf-2.5.x version of AC_INIT.
1114 Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
1115 autoconf-2.13's AC_OUTPUT.
1116 * libm/configure.in: Ditto.
1117 * libm/machine/configure.in: Ditto.
1118 * libm/machine/i386/configure.in: Ditto.
1119 * libc/configure.in: Ditto.
1120 * libc/machine/a29k/configure.in: Ditto.
1121 * libc/machine/arm/configure.in: Ditto.
1122 * libc/machine/configure.in: Ditto.
1123 * libc/machine/mn10300/configure.in: Ditto.
1124 * libc/machine/powerpc/configure.in: Ditto.
1125 * libc/machine/z8k/configure.in: Ditto.
1126 * libc/machine/h8300/configure.in: Ditto.
1127 * libc/machine/mips/configure.in: Ditto.
1128 * libc/machine/crx/configure.in: Ditto.
1129 * libc/machine/m68hc11/configure.in: Ditto.
1130 * libc/machine/h8500/configure.in: Ditto.
1131 * libc/machine/xscale/configure.in: Ditto.
1132 * libc/machine/d10v/configure.in: Ditto.
1133 * libc/machine/fr30/configure.in: Ditto.
1134 * libc/machine/sh/configure.in: Ditto.
1135 * libc/machine/tic80/configure.in: Ditto.
1136 * libc/machine/m32r/configure.in: Ditto.
1137 * libc/machine/xstormy16/configure.in: Ditto.
1138 * libc/machine/i386/configure.in: Ditto.
1139 * libc/machine/d30v/configure.in: Ditto.
1140 * libc/machine/mn10200/configure.in: Ditto.
1141 * libc/machine/frv/configure.in: Ditto.
1142 * libc/machine/mt/configure.in: Ditto.
1143 * libc/machine/i960/configure.in: Ditto.
1144 * libc/machine/v850/configure.in: Ditto.
1145 * libc/machine/necv70/configure.in: Ditto.
1146 * libc/machine/tic4x/configure.in: Ditto.
1147 * libc/machine/cris/configure.in: Ditto.
1148 * libc/machine/m68k/configure.in: Ditto.
1149 * libc/machine/m32c/configure.in: Ditto.
1150 * libc/machine/hppa/configure.in: Ditto.
1151 * libc/machine/w65/configure.in: Ditto.
1152 * libc/machine/iq2000/configure.in: Ditto.
1153 * libc/machine/sparc/configure.in: Ditto.
1154 * libc/machine/m88k/configure.in: Ditto.
1155 * libc/sys/linux/configure.in: Ditto.
1156 * libc/sys/linux/machine/configure.in: Ditto.
1157 * libc/sys/linux/machine/i386/configure.in: Ditto.
1158 * libc/sys/linux/linuxthreads/configure.in: Ditto.
1159 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
1160 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
1161 * libc/sys/arm/configure.in: Ditto.
1162 * libc/sys/configure.in: Ditto.
1163 * libc/sys/decstation/configure.in: Ditto.
1164 * libc/sys/a29khif/configure.in: Ditto.
1165 * libc/sys/sysnecv850/configure.in: Ditto.
1166 * libc/sys/d10v/configure.in: Ditto.
1167 * libc/sys/netware/configure.in: Ditto.
1168 * libc/sys/mmixware/configure.in: Ditto.
1169 * libc/sys/h8500hms/configure.in: Ditto.
1170 * libc/sys/sh/configure.in: Ditto.
1171 * libc/sys/tic80/configure.in: Ditto.
1172 * libc/sys/rdos/configure.in: Ditto.
1173 * libc/sys/sysmec/configure.in: Ditto.
1174 * libc/sys/sysvi386/configure.in: Ditto.
1175 * libc/sys/h8300hms/configure.in: Ditto.
1176 * libc/sys/sparc64/configure.in: Ditto.
1177 * libc/sys/arc/configure.in: Ditto.
1178 * libc/sys/sysnec810/configure.in: Ditto.
1179 * libc/sys/m88kbug/configure.in: Ditto.
1180 * libc/sys/sysvnecv70/configure.in: Ditto.
1181 * libc/sys/z8ksim/configure.in: Ditto.
1182 * libc/sys/rtems/configure.in: Ditto.
1183 * libc/sys/w65/configure.in: Ditto.
1184 * libc/sys/sun4/configure.in: Ditto.
1185 * doc/configure.in: Ditto.
1186 * iconvdata/configure.in: Ditto.
1187 * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
1188
34e66679
JJ
11892006-04-11 Jeff Johnston <jjohnstn@redhat.com>
1190
1191 * acinclude.m4: Properly add square brackets for
1192 AC_DEFUN macros. Rewrite LIB_AC_PROG_CC to remove
1193 macros no longer available. Add LIB_AM_PROG_AS to
1194 remove prereq of AC_PROG_CC. Add LIB_AC_PROG_CC_GNU
1195 macro. Substitute lpfx (library object prefix).
1196 * configure.host: Set lpfx depending on whether
1197 libtool is used or not.
1198 * configure.in: Individually specify libc and libm
1199 to AC_CONFIG_SUBDIRS. Add square bracket quoting as
1200 necessary.
1201 * Makefile.am: Use $(lpfx) to get object names for
1202 math-library functions that should also be in libc.
1203 * libc/machine/configure.in: Use case statement to determine
1204 AC_CONFIG_SUBDIRS statement.
1205 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
1206 * libc/sys/linux/machine/configure.in: Ditto.
1207 * libc/sys/configure.in: Ditto.
1208 * libm/machine/configure.in: Ditto.
1209 * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
1210 * libm/configure.in: Add AM_CONDITIONAL statement
1211 for HAVE_LIBM_MACHINE_DIR.
1212 * libc/machine/a29k/Makefile.am: Modified to work with
1213 latest automake. Change includes setting AM_CCASFLAGS
1214 so building .S files will properly pick up flags used
1215 to build C files.
1216 * libc/machine/arm/Makefile.am: Ditto.
1217 * libc/machine/crx/Makefile.am: Ditto.
1218 * libc/machine/d10v/Makefile.am: Ditto.
1219 * libc/machine/d30v/Makefile.am: Ditto.
1220 * libc/machine/fr30/Makefile.am: Ditto.
1221 * libc/machine/frv/Makefile.am: Ditto.
1222 * libc/machine/h8300/Makefile.am: Ditto.
1223 * libc/machine/h8500/Makefile.am: Ditto.
1224 * libc/machine/hppa/Makefile.am: Ditto.
1225 * libc/machine/i386/Makefile.am: Ditto.
1226 * libc/machine/iq2000/Makefile.am: Ditto.
1227 * libc/machine/m32c/Makefile.am: Ditto.
1228 * libc/machine/m32r/Makefile.am: Ditto.
1229 * libc/machine/m68hc11/Makefile.am: Ditto.
1230 * libc/machine/m68k/Makefile.am: Ditto.
1231 * libc/machine/m88k/Makefile.am: Ditto.
1232 * libc/machine/mips/Makefile.am: Ditto.
1233 * libc/machine/mn10200/Makefile.am: Ditto.
1234 * libc/machine/mn10300/Makefile.am: Ditto.
1235 * libc/machine/mt/Makefile.am: Ditto.
1236 * libc/machine/necv70/Makefile.am: Ditto.
1237 * libc/machine/powerpc/Makefile.am: Ditto.
1238 * libc/machine/sh/Makefile.am: Ditto.
1239 * libc/machine/sparc/Makefile.am: Ditto.
1240 * libc/machine/tic4x/Makefile.am: Ditto.
1241 * libc/machine/tic80/Makefile.am: Ditto.
1242 * libc/machine/v850/Makefile.am: Ditto.
1243 * libc/machine/w65/Makefile.am: Ditto.
1244 * libc/machine/xscale/Makefile.am: Ditto.
1245 * libc/machine/xstormy16/Makefile.am: Ditto.
1246 * libc/machine/z8k/Makefile.am: Ditto.
1247 * libc/sys/a29khif/Makefile.am: Ditto.
1248 * libc/sys/arc/Makefile.am: Ditto.
1249 * libc/sys/arm/Makefile.am: Ditto.
1250 * libc/sys/d10v/Makefile.am: Ditto.
1251 * libc/sys/decstation/Makefile.am: Ditto.
1252 * libc/sys/h8300hms/Makefile.am: Ditto.
1253 * libc/sys/h8500hms/Makefile.am: Ditto.
1254 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
1255 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
1256 * libc/sys/m88kbug/Makefile.am: Ditto.
1257 * libc/sys/mmixware/Makefile.am: Ditto.
1258 * libc/sys/netware/Makefile.am: Ditto.
1259 * libc/sys/rdos/Makefile.am: Ditto.
1260 * libc/sys/rtems/Makefile.am: Ditto.
1261 * libc/sys/sh/Makefile.am: Ditto.
1262 * libc/sys/sparc64/Makefile.am: Ditto.
1263 * libc/sys/sysmec/Makefile.am: Ditto.
1264 * libc/sys/sysnec810/Makefile.am: Ditto.
1265 * libc/sys/sysnecv850/Makefile.am: Ditto.
1266 * libc/sys/sysvi386/Makefile.am: Ditto.
1267 * libc/sys/sysvnecv70/Makefile.am: Ditto.
1268 * libc/sys/tic80/Makefile.am: Ditto.
1269 * libc/sys/w65/Makefile.am: Ditto.
1270 * libc/sys/z8ksim/Makefile.am: Ditto.
1271 * libm/machine/i386/Makefile.am: Ditto.
1272 * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
1273 trap.S so that automake will generate a .S.o suffix rule.
1274 * libc/argz/Makefile.am: Modified to work with
1275 latest automake. Change includes adding lib_a_CFLAGS
1276 so automake doesn't complain about libtool and non-libtool
1277 libraries sharing objects.
1278 * libc/ctype/Makefile.am: Ditto.
1279 * libc/errno/Makefile.am: Ditto.
1280 * libc/iconv/ccs/Makefile.am: Ditto.
1281 * libc/iconv/ces/Makefile.am: Ditto.
1282 * libc/iconv/lib/Makefile.am: Ditto.
1283 * libc/locale/Makefile.am: Ditto.
1284 * libc/misc/Makefile.am: Ditto.
1285 * libc/posix/Makefile.am: Ditto.
1286 * libc/reent/Makefile.am: Ditto.
1287 * libc/search/Makefile.am: Ditto.
1288 * libc/signal/Makefile.am: Ditto.
1289 * libc/stdio/Makefile.am: Ditto.
1290 * libc/stdio64/Makefile.am: Ditto.
1291 * libc/stdlib/Makefile.am: Ditto.
1292 * libc/string/Makefile.am: Ditto.
1293 * libc/sys/linux/Makefile.am: Ditto.
1294 * libc/sys/linux/argp/Makefile.am: Ditto.
1295 * libc/sys/linux/cmath/Makefile.am: Ditto.
1296 * libc/sys/linux/dl/Makefile.am: Ditto.
1297 * libc/sys/linux/iconv/Makefile.am: Ditto.
1298 * libc/sys/linux/intl/Makefile.am: Ditto.
1299 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
1300 * libc/sys/linux/net/Makefile.am: Ditto.
1301 * libc/sys/linux/stdlib/Makefile.am: Ditto.
1302 * libc/syscalls/Makefile.am: Ditto.
1303 * libc/time/Makefile.am: Ditto.
1304 * libc/unix/Makefile.am: Ditto.
1305 * libm/Makefile.am: Ditto.
1306 * libm/common/Makefile.am: Ditto.
1307 * libm/math/Makefile.am: Ditto.
1308 * libm/mathfp/Makefile.am: Ditto.
1309 * Regenerate all aclocal.m4, Makefile.in, and configure files.
1310
b577ecdf
JJ
13112006-04-07 Jeff Johnston <jjohnstn@redhat.com>
1312
1313 * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
1314 anymore. Assume there is a gettimeofday syscall.
1315
ef79d97d
JJ
13162006-03-29 Shaun Jackman <sjackman@gmail.com>
1317
1318 * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
1319 for the declaration of n_long.
1320
15a1b33c
JJ
13212006-03-29 Shaun Jackman <sjackman@gmail.com>
1322
1323 * libc/sys/linux/include/net/if.h: Include sys/socket.h for
1324 struct sockaddr.
1325 (IFF_SMART): Replace this define with IFF_NOTRAILERS.
1326 (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
1327 (IFF_NOTRAILERS): New define.
1328 (struct ifreq): Add ifru_netmask.
1329 (ifr_netmask): New define.
1330
bcc4ff05
JJ
13312006-03-29 Shaun Jackman <sjackman@gmail.com>
1332
1333 * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
1334 match sys/ioctl.h.
1335
8fed3e2e
JJ
13362006-03-29 Shaun Jackman <sjackman@gmail.com>
1337
17c0c97d 1338 * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
8fed3e2e
JJ
1339 linux-newlib libc implementations.
1340
6507c097
JJ
13412006-03-29 Eric Blake <ebb9@byu.net>
1342
1343 * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
1344 * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
1345
fac690be
JJ
13462006-03-29 Jeff Johnston <jjohnstn@redhat.com>
1347
1348 * libc/sys/linux/io.c (__mknod): Fix declaration of
1349 syscall to pass a dev_t as third argument rather than
1350 a pointer to dev_t.
1351
9e443adb
JJ
13522006-03-29 Jeff Johnston <jjohnstn@redhat.com>
1353
1354 * libc/sys/linux/net/name6.c: Fix struct references.
1355
ce93dfe4
MM
13562006-03-22 Mark Mitchell <mark@codesourcery.com>
1357
1358 * configure.host: Allow hosts to set the default
1359 newlib_atexit_dynamic_alloc value.
1360 * configure.in: Likewise.
1361 * configure: Regenerated.
1362
3078fb4f
MM
13632006-03-20 Mark Mitchell <mark@codesourcery.com>
1364
1365 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
1366 * configure.in (--disable-newlib-atexit-dynamic-alloc): New
17c0c97d 1367 option.
3078fb4f
MM
1368 * configure: Regenerated.
1369 * newlib.hin: Regenerated.
1370 * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
1371 if _ATEXIT_DYNAMIC_ALLOC is undefined.
1372 * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
1373 if _ATEXIT_DYNAMIC_ALLOC is undefined.
1374
9d5cff74
JJ
13752006-03-17 Jeff Johnston <jjohnstn@redhat.com>
1376
1377 * libc/sys/linux/linuxthreads/config.h: Remove definition
1378 of UINT32_C.
1379
490cfb83
JJ
13802006-03-15 Jeff Johnston <jjohnstn@redhat.com>
1381
1382 * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
1383 for a string I/O file that isn't using the asprintf family.
1384
ce10f178
JJ
13852006-03-07 Eric Blake <ebb9@byu.net>
1386
1387 * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
1388 filename, allow read-only or write-only FILE atop O_RDWR file
1389 descriptor.
1390 * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
1391
ddf12e6b
JJ
13922006-03-07 Jeff Johnston <jjohnstn@redhat.com>
1393
1394 * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
1395 * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
1396
cb197581
JJ
13972006-03-02 Jeff Johnston <jjohnstn@redhat.com>
1398
1399 * libm/math/math.tex: Fix reference to sisnan.def which
1400 is now in common subdirectory.
1401 * libm/mathfp/mathfp.tex: Ditto.
1402
e48682cf
JJ
14032006-02-27 Jeff Johnston <jjohnstn@redhat.com>
1404
17c0c97d 1405 * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
e48682cf
JJ
1406 s_isnand, and sf_isnanf object files.
1407 * Makefile.in: Regenerated.
1408 * libc/include/ieeefp.h: Undef isnan and isinf to avoid
1409 conflict if <math.h> has previously been included.
1410 * libc/include/math.h
bc88ea65
JJ
1411 * libc/include/math.h: Make isnan and isinf macros to
1412 conform to C99.
1413 (__isinfd, __isinff, __isnand, __isnanf): New functions.
e48682cf
JJ
1414 * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
1415 and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and
17c0c97d 1416 sf_isinf files which have been moved from math/mathfp directories.
e48682cf
JJ
1417 * libm/common/Makefile.in: Regenerated.
1418 * libm/common/s_isinfd.c: New file.
1419 * libm/common/s_isnand.c: Ditto.
1420 * libm/common/sf_isinff.c: Ditto.
1421 * libm/common/sf_isnanf.c: Ditto.
1422 * libm/common/s_isinf.c: Moved from libm/math directory.
1423 * libm/common/s_isnan.c: Ditto.
1424 * libm/common/sf_isinf.c: Ditto.
1425 * libm/common/sf_isnan.c: Ditto.
1426 * libm/math/Makefile.am: Remove isinf and isnan family functions
1427 which have been moved into common directory.
1428 * libm/mathfp/Makefile.am: Ditto.
1429 * libm/math/Makefile.in: Regenerated.
1430 * libm/mathfp/Makefile.in: Ditto.
1431 * libm/math/s_isinf.c: Removed.
1432 * libm/math/s_isnan.c: Ditto.
1433 * libm/math/sf_isinf.c: Ditto.
1434 * libm/math/sf_isnan.c: Ditto.
1435 * libm/mathfp/s_isinf.c: Ditto.
1436 * libm/mathfp/s_isnan.c: Ditto.
1437 * libm/mathfp/sf_isinf.c: Ditto.
1438 * libm/mathfp/sf_isnan.c: Ditto.
1439
99db626d
JJ
14402006-02-20 Jeff Johnston <jjohnstn@redhat.com>
1441
1442 * libc/stdio/fflush.c (fflush): For an fflush on a read-only
1443 stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
1444 * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
1445 seek, turn off the __SNPT no-optimization flag.
1446
49103e2b
JJ
14472006-02-16 Jeff Johnston <jjohnstn@redhat.com>
1448
1449 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
1450 will be defined.
1451 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
1452 <features.h> to preset special flags.
1453
680e0f1f
CV
14542006-02-15 Corinna Vinschen <corinna@vinschen.de>
1455
1456 * libc/include/sys/time.h (struct timeval): Change member types
1457 according to SUSv3.
1458 * libc/include/sys/types.h (useconds_t): Change to unsigned
1459 according to SUSv3.
1460 (suseconds_t): Define type.
1461
d6593503
JJ
14622006-02-13 Jeff Johnston <jjohnstn@redhat.com>
1463 David Carne <davidcarne@gmail.com>
1464
1465 * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
1466 instead of strlen to determine number of bytes to copy.
1467 * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
1468 before looking at storage location.
1469
9bbe6d5d
JJ
14702006-02-07 Paul Brook <paul@codesourcery.com>
1471
1472 * libc/machine/arm/setjmp.S: Add Thumb-2 support.
1473 * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
1474 * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
1475 * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
1476 * libc/sys/arm/trap.S: Disable for Thumb-2.
1477
d968b3c8
JJ
14782006-01-31 Leif Ekblad <leif@rdos.net>
1479
1480 * configure.host: RDOS support added
1481 * libc/include/sys/config.h: Ditto.
1482 * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
1483 * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
1484 * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
1485 * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
1486 * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
1487 * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
1488 * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
1489 * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
1490 * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
1491 * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
1492 * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
1493 * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
1494 * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
1495 * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
1496 * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
1497 * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
1498 * libc/sys/rdos/write.c: Ditto.
1499
3acaaf54
JJ
15002006-01-24 Jeff Johnston <jjohnstn@redhat.com>
1501
1502 * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
1503 so as not to define PACKAGE and VERSION in newlib.h.
1504 * aclocal.m4: Regenerated.
1505 * configure: Ditto.
1506 * newlib.hin: Ditto.
1507
54abc854
JJ
15082006-01-20 Jeff Johnston <jjohnstn@redhat.com>
1509
1510 * acconfig.h: New file to generate newlib.hin from.
1511 * newlib.hin: Regenerated.
1512 * stamp-h.in: Regenerated.
1513 * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
1514 called automatically.
1515 * Makefile.in: Regenerated.
1516 * acinclude.m4: Add proper comment for hack in previous change.
1517 * aclocal.m4 */aclocal.m4: Regenerated.
1518 * configure */configure: Regenerated.
1519
33c9cfbd
JJ
15202006-01-11 Jeff Johnston <jjohnstn@redhat.com>
1521
1522 * acinclude.m4: Add hack to prevent INSTALL in subdirs
1523 from being set to "../".
1524 * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
1525 * aclocal.m4: Regenerated.
1526 * configure: Ditto.
1527 * Makefile.in: Ditto.
1528 * doc/aclocal.m4: Ditto.
1529 * doc/configure: Ditto.
1530 * iconvdata/aclocal.m4: Ditto.
1531 * iconvdata/configure: Ditto.
1532 * libc/*/aclocal.m4: Ditto.
1533 * libc/*/configure: Ditto.
1534 * libc/libc.texinfo: Ditto.
1535 * libm/*/aclocal.m4: Ditto.
1536 * libm/*/configure: Ditto.
1537
dea958bc
JJ
15382006-01-10 Eric Blake <ebb9@byu.net>
1539
1540 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
1541 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
1542
216633f7
JJ
15432006-01-10 Jeff Johnston <jjohnstn@redhat.com>
1544
1545 * libm/mathfp/s_frexp.c: Check for special values on
1546 the original input, not the manipulated output value.
1547 * libm/mathfp/sf_frexp.c: Ditto.
1548 * libm/mathfp/s_atangent.c: Don't use local value branch
1549 when checking for quadrant.
1550 * libm/mathfp/sf_atangent.c: Ditto.
1551
64ae8ab5
JJ
15522006-01-09 Jeff Johnston <jjohnstn@redhat.com>
1553
1554 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
1555 * libc/stdio64/freopen64.c: Ditto.
1556
0da7297e
JJ
15572006-01-09 Eric Blake <ebb9@byu.net>
1558
1559 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
1560 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
1561
a37aaf88
JJ
15622006-01-06 Jeff Johnston <jjohnstn@redhat.com>
1563
1564 * libc/sys/linux/include/getopt.h: Add macros needed by
1565 new version of getopt.c in libc/stdlib.
1566
791c9bda
JJ
15672006-01-04 Gregory Pietsch <gpietsch@comcast.net>
1568
1569 * libc/stdlib/getopt.c: Replaced with version
1570 that adds getopt_long and getopt_long_only support.
1571 * libc/include/getopt.h: New file.
1572
0217078f
JJ
15732005-12-16 Jeff Johnston <jjohnstn@redhat.com>
1574
1575 * NEWS: Update with 1.14.0 info.
1576 * README: Ditto.
1577 * acinclude.m4: Change version number to 1.14.0.
1578 * aclocal.m4: Regenerated.
1579 * configure: Ditto.
1580 * doc/aclocal.m4: Ditto.
1581 * doc/configure: Ditto.
1582 * libc/*/aclocal.m4: Ditto.
1583 * libc/*/configure: Ditto.
1584 * libc/libc.texinfo: Ditto.
1585 * libm/*/aclocal.m4: Ditto.
1586 * libm/*/configure: Ditto.
1587 * libm/libm.texinfo: Ditto.
1588 * libc/sys/linux/shared.ld: Add VERS_1.14.
1589
a4cd7f20
JJ
15902005-12-16 Jeff Johnston <jjohnstn@redhat.com>
1591
1592 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
1593 take a pointer to struct stat64 rather than struct stat.
1594
843e635a
JJ
15952005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
1596
1597 * libc/include/stdint.h: Prefer long over int for int32_t.
1598 Use __have_long32 to set up int32_t.
1599 * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
1600 (Sync with stdint.h).
1601
10cba930
CV
16022005-12-14 Corinna Vinschen <corinna@vinschen.de>
1603
1604 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
1605 typo in O_NDELAY comment.
1606
c8ba5c22
JJ
16072005-12-13 Nathan Sidwell <nathan@codesourcery.com>
1608
1609 * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
1610 * libc/include/machine/setjmp.h (__mt__): Likewise.
1611 * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
1612 * libc/machine/configure.in: Ditto.
1613
74ecef0d
NS
16142005-12-12 Nathan Sidwell <nathan@codesourcery.com>
1615
1616 * configure.host: Replace ms1 arch with mt arch.
1617 * libc/machine/mt: Renamed from ms1 dir.
1618
2a1fc53c
JJ
16192005-12-08 Shaun Jackman <sjackman@gmail.com>
1620
1621 * libc/include/sys/types.h: Remove the ifdef armour around
1622 standard POSIX types.
1623
77e70d34
JJ
16242005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
1625
1626 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
1627 rtems_gxx_key_delete, rtems_gxx_getspecific,
17c0c97d
EB
1628 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
1629 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
77e70d34
JJ
1630 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
1631
b1da33a0
CF
16322005-12-05 Christopher Faylor <cgf@timesys.com>
1633
1634 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
1635 file. Declare unsetenv and _unsetenv_r when not cygwin.
1636
6b1a6ec6
JJ
16372005-11-18 Jeff Johnston <jjohnstn@redhat.com>
1638
1639 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
1640 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
1641
d7d477b7
CF
16422005-11-18 Christopher Faylor <cgf@timesys.com>
1643
1644 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
1645
c1534dbe
CF
16462005-11-18 Christopher Faylor <cgf@timesys.com>
1647
1648 * include/time.h: Remove more cygwin-specific stuff.
1649
d3e81bda
CF
16502005-11-18 Christopher Faylor <cgf@timesys.com>
1651
1652 * include/time.h: Move cygwin declarations to cygwin-specific header.
1653 * include/sys/time.h: Rename cygwin include to "sys_time.h".
1654
1396951b
JJ
16552005-11-17 Jeff Johnston <jjohnstn@redhat.com>
1656
1657 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
1658 in libc/sys/linux/include.
1659 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
1660 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
1661 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
1662 in libc/sys/linux/dl.
1663
37bd11ed
CF
16642005-11-11 Christopher Faylor <cgf@timesys.com>
1665
1666 * libc/include/sys/time.h: For cygwin, use general header rather than
1667 specific "sys/select.h".
1668
b397593c
JJ
16692005-11-08 Tom Walsh <tom@openhardware.net>
1670
1671 * libc/time/tzvars.c: New file.
1672 * libc/time/tzset_r.c: Moved globals into tzvars.c
1673 so other time functions needn't link in __tzset_r and its
1674 dependencies.
1675 * libc/time/Makefile.am: Add the new file.
1676 * libc/time/Makefile.in: Regenerated.
1677
86c6c421
CF
16782005-11-08 Christopher Faylor <cgf@timesys.com>
1679
1680 * libc/include/string.h: Add cygwin-specific function declaration.
1681
ef1206e4
CV
16822005-11-07 Corinna Vinschen <corinna@vinschen.de>
1683
1684 * libc/include/ieeefp.h: Add C++ guards.
1685
15eaca1c
JJ
16862005-11-03 Jeff Johnston <jjohnstn@redhat.com>
1687
1688 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
1689 * libc/unix/getlogin.c: Ditto.
1690 * libc/unix/getpass.c: Ditto.
1691 * libc/unix/getut.c: Ditto.
1692 * libc/unix/ttyname.c: Ditto.
1693
d31a8623
JJ
16942005-11-03 Shaun Jackman <sjackman@gmail.com>
1695
1696 * libc/include/sys/unistd.h (readlink, symlink): Provide these
1697 prototypes by default.
1698 * libc/sys/linux/include/unistd.h (readlink): Remove this
1699 prototype.
1700 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
1701 prototypes.
1702
71ac53ee
JJ
17032005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
1704
1705 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
1706
dc1b6289
JJ
17072005-10-31 Darin Johnson <darin@usa.net>
1708
1709 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
1710 correct for constants.
1711
884c0ff0
JJ
17122005-10-28 Bob Wilson <bob.wilson@acm.org>
1713
1714 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
1715 * libc/stdio/siscanf.c: Likewise.
1716 * libc/stdio/sprintf.c: Likewise.
1717 * libc/stdio/sscanf.c: Likewise.
1718 * libc/stdio/vfprintf.c: Likewise.
1719 * libc/stdio/vfscanf.c: Likewise.
1720 * libc/stdio/viprintf.c: Likewise.
1721 * libc/stdio/viscanf.c: Likewise.
1722
a9c15f6f
JJ
17232005-10-28 Bob Wilson <bob.wilson@acm.org>
1724
1725 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
1726 example to use "_end" symbol instead of "end". Change write example
1727 to use "outbyte" instead of "writechar".
1728
a306ebc9
JJ
17292005-10-28 Bob Wilson <bob.wilson@acm.org>
1730
1731 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
1732 * libc/ctype/islower.c: Likewise.
1733 * libc/ctype/isupper.c: Likewise.
1734 * libc/ctype/iswalnum.c: Likewise.
1735 * libc/ctype/iswalpha.c: Likewise.
1736 * libc/ctype/iswblank.c: Likewise.
1737 * libc/ctype/iswcntrl.c: Likewise.
1738 * libc/ctype/iswdigit.c: Likewise.
1739 * libc/ctype/iswgraph.c: Likewise.
1740 * libc/ctype/iswlower.c: Likewise.
1741 * libc/ctype/iswprint.c: Likewise.
1742 * libc/ctype/iswpunct.c: Likewise.
1743 * libc/ctype/iswspace.c: Likewise.
1744 * libc/ctype/iswupper.c: Likewise.
1745 * libc/ctype/iswxdigit.c: Likewise.
1746 * libc/ctype/tolower.c: Likewise.
1747 * libc/ctype/toupper.c: Likewise.
1748 * libc/ctype/towctrans.c: Likewise.
1749 * libc/ctype/towlower.c: Likewise.
1750 * libc/ctype/towupper.c: Likewise.
1751 * libc/string/strcasecmp.c: Likewise.
1752 * libc/string/strcoll.c: Likewise.
1753 * libc/string/strings.tex: Likewise.
1754 * libc/string/strlwr.c: Likewise.
1755 * libc/string/strncasecmp.c: Likewise.
1756 * libc/string/strupr.c: Likewise.
1757 * libc/string/wcscoll.c: Likewise.
1758 * libc/string/wcslcat.c: Likewise.
1759 * libc/string/wcslcpy.c: Likewise.
1760 * libc/string/wcsnlen.c: Likewise.
1761 * libc/string/wcsstr.c: Likewise.
1762 * libc/string/wcstrings.tex: Likewise.
1763 * libc/string/wmemchr.c: Likewise.
1764 * libc/string/wmemcmp.c: Likewise.
1765 * libc/string/wmemcpy.c: Likewise.
1766 * libc/string/wmemmove.c: Likewise.
17c0c97d 1767 * libc/string/wmemset.c: Likewise.
a306ebc9 1768
239c2bf9
JJ
17692005-10-28 Bob Wilson <bob.wilson@acm.org>
1770
1771 * libc/misc/unctrl.c: Replace FUNCTION description.
1772 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
1773 * libc/stdio/getdelim.c: Fix spelling errors.
1774 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
1775 * libc/stdio/putw.c: Likewise.
1776 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
1777 documentation.
1778 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
1779 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
1780 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
1781 * libc/stdlib/mlock.c: Likewise.
1782 * libc/stdlib/mstats.c: Likewise.
1783 * libc/time/tzlock.c: Likewise.
1784 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
1785 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
1786 and hyphenate "pseudo-random".
1787 * libc/string/bcmp.c: Remove extra blank lines in documentation.
1788 * libc/string/strncat.c: Likewise.
1789 * libc/string/memchr.c: Remove extra ">" character in documentation.
1790 * libc/string/strcspn.c: Use "characters" instead of "chars".
1791 * libc/string/strpbrk.c: Likewise.
1792 * libc/string/strerror_r.c: Capitalize "GNU".
1793 * libc/string/strnlen.c: Likewise.
1794 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
1795 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
1796 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
1797 * libc/string/wcschr.c: Likewise.
1798 * libc/string/wcscmp.c: Likewise.
1799 * libc/string/wcscpy.c: Likewise.
1800 * libc/string/wcscspn.c: Likewise.
1801 * libc/string/wcslen.c: Likewise.
1802 * libc/string/wcsncat.c: Likewise.
1803 * libc/string/wcsncmp.c: Likewise.
1804 * libc/string/wcsncpy.c: Likewise.
1805 * libc/string/wcsnlen.c: Likewise.
1806 * libc/string/wcspbrk.c: Likewise.
1807 * libc/string/wcsrchr.c: Likewise.
1808 * libc/string/wcsspn.c: Likewise.
1809 * libc/string/wmemchr.c: Likewise.
1810 * libc/string/wmemcmp.c: Likewise.
1811 * libc/string/wmemcpy.c: Likewise.
1812 * libc/string/wmemset.c: Likewise.
1813 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
1814 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
1815 * libc/string/wcwidth.c: Likewise.
1816 * libm/common/s_modf.c: Remove extra period from documentation.
1817 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
1818 documentation.
1819 * libm/mathfp/s_isnan.c: Likewise.
1820 * libm/math/s_ldexp.c: Fix punctuation.
1821 * libm/mathfp/s_ldexp.c: Likewise.
1822 * libm/math/w_log.c: Likewise.
1823 * libm/mathfp/s_logarithm.c: Likewise.
1824 * libm/math/w_j0.c: Add spaces to FUNCTION description.
17c0c97d 1825 * libm/mathfp/w_jn.c: Likewise.
239c2bf9 1826
2556eb8d
JJ
18272005-10-26 Shaun Jackman <sjackman@gmail.com>
1828
1829 * libc/posix/scandir.c (scandir): Update the function
1830 prototype to match the header.
1831 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
1832 extraneous #endif.
1833 * libc/sys/linux/sys/lock.h: Do not include
1834 machine/weakalias.h, since it's not used by this file.
1835
c9d71a8d
JJ
18362005-10-26 Jeff Johnston <jjohnstn@redhat.com>
1837
1838 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
1839 directories can override properly.
1840
09968b6d
JJ
18412005-10-20 Jeff Johnston <jjohnstn@redhat.com>
1842
1843 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
1844 gcc is 3.3 or greater, use special gcc builtins.
1845
c70571bd
CV
18462005-10-20 Corinna Vinschen <corinna@vinschen.de>
1847
1848 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
1849
a92822b7
CV
18502005-10-18 Corinna Vinschen <corinna@vinschen.de>
1851
1852 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
1853
d2c2c132
JJ
18542005-10-14 Jeff Johnston <jjohnstn@redhat.com>
1855
1856 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
1857 * libm/common/Makefile.am: Add s_infconst.c support.
1858 * libm/common/Makefile.in: Regenerated.
1859 * libm/common/s_infconst.c: New file with float and
1860 long double infinity support added.
1861 * libm/math/Makefile.am: Remove s_infconst.c support.
1862 * libm/math/Makefile.in: Regenerated.
1863 * libm/math/s_infconst.c: Moved to common directory.
1864 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
1865 * libm/mathfp/Makefile.in: Regenerated.
1866 * libm/mathfp/s_infconst.c: Moved to common directory.
1867
4d57c1ed
JJ
18682005-10-14 Jeff Johnston <jjohnstn@redhat.com>
1869
1870 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
1871 dbgprintf to prevent conflict with new dprintf function.
1872
1012585f
JJ
18732005-10-14 Jeff Johnston <jjohnstn@redhat.com>
1874
1875 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
1876 "nan" processing for systems that have long double support.
1877
e9154015
JJ
18782005-10-14 Jeff Johnston <jjohnstn@redhat.com>
1879
1880 * libc/sys/linux/sys/types.h (int8_t): Add type.
1881
1a869698
JJ
18822005-10-14 Bob Wilson <bob.wilson@acm.org>
1883
1884 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
1885 * libm/common/Makefile.in: Regenerate.
1886 * libm/common/common.tex: Delete file.
1887 * libm/math/math.tex: Include .def files from common/.
1888 * libm/mathfp/mathfp.tex: Likewise.
1889
e0811fb3
JJ
18902005-10-14 Bob Wilson <bob.wilson@acm.org>
1891
1892 * libc/libc.texinfo (Top): Surround this node with @ifnottex
1893 instead of @ifinfo. Update menu to add Introduction and match
1894 SUBDIRS order.
1895 (Introduction): New section.
1896
e63c98c6
JJ
18972005-10-14 Bob Wilson <bob.wilson@acm.org>
1898
1899 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
1900 with "Red Hat newlib C Library".
1901 * libc/sys.tex (Stubs): Likewise.
1902 * libm/math/math.tex (Math): Likewise.
1903 * libm/mathfp/mathfp.tex (Math): Likewise.
1904
339195bf
JJ
19052005-10-11 Shaun Jackman <sjackman@gmail.com>
1906
1907 * libc/include/stdio.h (dprintf): New declaration.
1908 (vdprintf): Ditto.
1909 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
1910 and vdprintf.c.
1911 * libc/stdio/Makefile.in: Regenerate.
1912 * libc/stdio/dprintf.c: New file.
1913 * libc/stdio/vdprintf.c: New file.
1914 * libc/stdio/stdio.tex (dprintf): New entry.
1915
da71e518
JJ
19162005-10-11 David Weatherford <weath@tensilica.com>
1917
1918 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
17c0c97d 1919 Print "inf" and "nan" in lowercase for e/f/g formats and in
da71e518
JJ
1920 uppercase for E/F/G formats.
1921
f011605a
JJ
19222005-10-07 Bob Wilson <bob.wilson@acm.org>
1923
1924 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
1925 to ENOMEM on failure.
1926
bc037f3a
JJ
19272005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
1928
1929 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
1930
c7e20979
JJ
19312005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
1932
1933 * libc/include/stdint.h: Move magic to set __have_long* to the
1934 beginning. Use #if __have* instead of #if defined(__have*).
1935 Minor typo fixes.
1936
58e78add
JJ
19372005-10-04 James E Wilson <wilson@specifix.com>
1938
1939 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
1940 #error.
1941
8afb8202
JJ
19422005-10-03 Jeff Johnston <jjohnstn@redhat.com>
1943
1944 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
1945 incorporate Ralf's change below.
1946
14491fd0
JJ
19472005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
1948
17c0c97d 1949 * libc/include/stdint.h:
14491fd0
JJ
1950 Use __INTMAX_TYPE__ to derive intmax_t.
1951 Use __UINTMAX_TYPE__ to derive uintmax_t.
1952 Fix minor typo.
1953
ee694aea
JJ
19542005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
1955
17c0c97d 1956 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
ee694aea
JJ
1957 handling GCC >= 4.
1958
9f1926f2
JJ
19592005-09-20 Jeff Johnston <jjohnstn@redhat.com>
1960
1961 * libc/sys/linux/include/stdint.h: Update to match functionality
1962 of generic newlib stdint.h.
1963
0ce4fcef
JJ
19642005-09-20 Jeff Johnston <jjohnstn@redhat.com>
1965
1966 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
1967 and do not #undef the macro after it is used. Fix typos.
1968 Also change 64-bit constants to use the __have_long64 and
1969 __have_longlong64 flags to determine if long or long long
1970 constants should be used.
1971 * libc/include/inttypes.h: Include stddef.h to get wchar_t
1972 type defined.
1973
17060817
JJ
19742005-09-20 Shaun Jackman <sjackman@gmail.com>
1975
1976 * libc/include/stdint.h: Fix typo in names of
1977 LEAST macros.
1978
1e1d1d3d
JJ
19792005-09-20 Jeff Johnston <jjohnstn@redhat.com>
1980
1981 * libc/sys/rtems/include/inttypes.h: Moved to...
1982 * libc/include/inttypes.h: ...here.
1983
cddfc170
JJ
19842005-09-19 Jeff Johnston <jjohnstn@redhat.com>
1985
1986 * libc/sys/rtems/include/stdint.h: Moved to...
1987 * libc/include/stdint.h: ...here.
1988
b10ab725
JJ
19892005-09-08 Jeff Johnston <jjohnstn@redhat.com>
1990
1991 * Makefile.am: Add include files under bits sub-directory.
1992 * Makefile.in: Regenerated.
1993 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
1994 actual value of 1 to be compatible with newer glibc headers.
1995 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
1996 glibc headers.
1997 * libc/sys/linux/sys/dirent.h: Ditto.
1998 * libc/sys/linux/argp/argp-xinl.c: Ditto.
1999 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
2000 profile_fixup routines are marked used so they won't be
2001 optimized away.
2002 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
2003 to mark functions as weak.
2004 * libc/sys/linux/dl/dl-open.c: Ditto.
2005 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
2006 rules about lvalues.
2007 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
2008 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
2009 weak_extern macro to mark functions as weak. Instead always
2010 use #pragma weak.
2011 * iconvdata/jis0208.h: Fix to work with gcc4.
2012 * libc/sys/linux/dl/dl-load.c: Ditto.
2013 * libc/sys/linux/dl/dl-reloc.c: Ditto.
2014 * libc/sys/linux/dl/do-rel.h: Ditto.
2015 * libc/sys/linux/dl/dynamic-link.h: Ditto.
2016 * libc/sys/linux/include/ltdl.h: Ditto.
2017 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
2018 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
2019 * libc/sys/linux/net/ns_ntoa.c: Ditto.
2020 * libc/sys/linux/bits/initspin.h: New file.
2021 * libc/sys/linux/bits/libc-lock.h: Ditto.
2022 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
2023 * libc/sys/linux/bits/typesizes.h: Ditto.
2024
7b786e48
JJ
20252005-09-08 Eric Blake <ebb9@byu.net>
2026
2027 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
2028 before is NULL.
2029
32b09d75
JJ
20302005-09-08 Brian Dessent <brian@dessent.net>
2031
2032 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
2033 mantissa.
2034 * s_lrint.c: Ditto.
2035
8f36ef2f
JJ
20362005-09-02 Jeff Johnston <jjohnstn@redhat.com>
2037
2038 * libc/include/stdio.h: Add prototype for viprintf.
2039
cebe43dd
JJ
20402005-09-01 Jeff Johnston <jjohnstn@redhat.com>
2041
2042 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
2043 any positive power results in 0.
2044 * libm/mathfp/sf_pow.c (powf): Ditto.
2045
45c8bb8f
JJ
20462005-08-31 Paul Brook <paul@codesourcery.com>
2047
2048 * configure.host: Set have_crt0 to no for Arm targts when not
2049 providing syscalls. Set sys_dir=arm unconditionally.
2050 Default have_crt0 based on sys_dir.
2051 * configure.in: Use have_crt0.
2052 * libc/configure.in: Ditto.
2053 * libc/sys/configure.in: Ditto.
2054 * configure: Regenerate.
2055 * libc/configure: Regenerate.
2056 * libc/sys/configure: Regenerate.
2057 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
2058 Only build other files when providing syscalls.
2059 * libc/sys/arm/Makefile.in: Regenerate.
2060 * libc/sys/arm/aeabi_atexit.c: New file.
2061
dbeee890
CF
20622005-08-26 Christopher Faylor <cgf@timesys.com>
2063
2064 * libc/include/string.h: Revert previous change.
2065
377d3ea0
CF
20662005-08-25 Christopher Faylor <cgf@timesys.com>
2067
2068 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
2069
4797a77c
JJ
20702005-08-22 Shaun Jackman <sjackman@gmail.com>
2071
2072 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
2073 define _opendir as opendir, _readdir as readdir, and
2074 _closedir as closedir so that the implementations in
2075 libc/posix will be used.
2076
2e73582e
DD
20772005-08-10 DJ Delorie <dj@redhat.com>
2078
2079 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
2080
234cf97f
JJ
20812005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
2082
2083 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
2084 * libm/common/s_max.c: Ditto.
2085 * libm/common/sf_fmin.c: Ditto.
2086 * libm/common/s_min.c: Ditto.
2087
56448afa
JJ
20882005-08-10 DJ Delorie <dj@redhat.com>
2089
2090 * configure.host: Add m32c support.
2091 * libc/include/machine/ieeefp.h: Likewise.
2092 * libc/include/machine/setjmp.h: Likewise.
2093 * libc/include/sys/config.h: Likewise.
2094 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
2095 * libc/machine/m32c/aclocal.m4: New file.
2096 * libc/machine/m32c/configure: Ditto.
2097 * libc/machine/m32c/configure.in: Ditto.
2098 * libc/machine/m32c/Makefile.am: Ditto.
2099 * libc/machine/m32c/Makefile.in: Ditto.
2100 * libc/machine/m32c/setjmp.S: Ditto.
2101
0c5c6c23
JJ
21022005-08-02 Bob Wilson <bob.wilson@acm.org>
2103
56448afa
JJ
2104 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
2105 to the value for 2^126.
0c5c6c23 2106
12499c7a
HPN
21072005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
2108
2109 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
2110 used.
2111
395a327d
JJ
21122005-07-20 Bob Wilson <bob.wilson@acm.org>
2113 Darin Petkov <darin@tensilica.com>
2114
2115 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
2116
108d7dd8
JJ
21172005-07-19 Paul Brook <paul@codesourcery.com>
2118
2119 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
2120
b776efc5
JJ
21212005-07-18 Joseph S. Myers <joseph@codesourcery.com>
2122
2123 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
2124 names after PASS and FAIL which do not depend on source directory
2125 name or on whether test passed or failed.
2126 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
2127
88540e24
JJ
21282005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
2129
2130 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
2131
85d62190 21322005-07-07 Shaun Jackman <sjackman@gmail.com>
b32adfc5 2133
88540e24 2134 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
b32adfc5
JJ
2135 twice for the same directory. _closedir calls free, and freeing
2136 the same pointer twice may cause a crash.
2137
dee9edd9
AH
21382005-07-06 Aldy Hernandez <aldyh@redhat.com>
2139
2140 * configure.host: Added entry for ms1*.
2141 * libc/include/machine/ieeefp.h: Handle ms1.
2142 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
2143 * libc/machine/ms1/aclocal.m4: New.
2144 * libc/machine/ms1/configure: New.
2145 * libc/machine/ms1/configure.in: New.
2146 * libc/machine/ms1/Makefile.am: New.
2147 * libc/machine/ms1/Makefile.in: New.
2148 * libc/machine/ms1/setjmp.S: New.
2149
cec1d3b4
JJ
21502005-07-04 Mark Mitchell <mark@codesourcery.com>
2151
2152 * Makefile.am (site.exp): Set tmpdir.
2153 * Makefile.in: Regenerated.
2154 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
2155 executables in $tmpdir.
2156 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
2157 libgloss version if not running in the build directory.
2158 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
2159 $tmpdir.
2160 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
2161 in $tmpdir.
2162
25d209f1
JJ
21632005-06-28 Dave Korn <dave.korn@artimi.com>
2164
2165 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
2166 and miscalculation caused by fp representation of zero.
2167 * libm/common/sf_lrint.c (lrintf): Likewise.
2168
68cdbb18
JJ
21692005-06-16 Christopher Faylor <cgf@timesys.com>
2170
2171 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
2172 determine characteristics of long double. Use a union instead.
2173 * ldtoa.c (_ldtoa_r): Ditto.
2174 (_ldcheck): Ditto.
2175 (_strtold): Ditto.
2176 (union uconv): New union.
2177
15c04fd1
JJ
21782005-06-03 Jeff Johnston <jjohnstn@redhat.com>
2179
2180 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
2181 instead of memcpy.
2182
cf55bf5e
JJ
21832005-05-12 Jeff Johnston <jjohnstn@redhat.com>
2184
2185 * configure.host (mn10300-*): Add long long I/O support by default.
2186
b6e654c4
JJ
21872005-05-12 Jeff Johnston <jjohnstn@redhat.com>
2188
2189 * libc/sys/linux/getpwuid.c: Removed.
2190 * libc/sys/linux/getpwnam.c: Removed.
2191 * libc/sys/linux/getpwent.c: New file containing logic
2192 from files removed above. This allows overriding of file
2193 in libc/unix.
2194 * libc/sys/linux/Makefile.am: Support changes above.
2195 * libc/sys/linux/Makefile.in: Regenerated.
2196
5456408b
JJ
21972005-04-28 Jeff Johnston <jjohnstn@redhat.com>
2198
2199 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
2200 when checking for multiple flags.
2201
1c74754f
HPN
22022005-04-18 Hans-Peter Nilsson <hp@axis.com>
2203
2204 * configure.host <cris-*-* | crisv32-*-*>: Set
2205 default_newlib_io_long_long="yes".
2206
6e75bff6
JJ
22072005-04-08 Jeff Johnston <jjohnstn@redhat.com>
2208
2209 * libc/include/libgen.h: New file.
2210
22112005-04-08 Shaun Jackman <sjackman@gmail.com>
2212
2213 * libc/unix/Makefile.am: Add support for basename and dirname.
2214 * libc/unix/Makefile.in: Regenerated.
2215 * libc/unix/basename.c: New file.
2216 * libc/unix/dirname.c: New file.
2217
95c136c4
JJ
22182005-04-07 Shaun Jackman <sjackman@gmail.com>
2219
2220 * libc/sys/linux/inode.c (lchown): New function.
2221
9ae26f7e
JJ
22222005-04-07 Shaun Jackman <sjackman@gmail.com>
2223
2224 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
2225 ELIX level is defined.
2226 * libc/unix/Makefile.in: Regenerated.
2227
85da7039
JJ
22282005-04-05 Dave Korn <dave.korn@artimi.com>
2229
2230 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
2231 something that looks like a "NaN", put back the characters processed.
2232
fefc73a0
CV
22332005-04-01 Corinna Vinschen <corinna@vinschen.de>
2234
2235 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
2236
e633fde1
CF
22372005-03-23 Christopher Faylor <cgf@timesys.com>
2238
2239 * configure.host: For cygwin, redefine CC with cygwin include directory
2240 first to mimic the behavior of the top-level configury. Move include
2241 directory out of newlib_cflags.
2242
859c94e8
JJ
22432005-03-22 Jeff Johnston <jjohnstn@redhat.com>
2244
2245 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
17c0c97d 2246 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
859c94e8
JJ
2247 than errno.
2248
7e3fd32b
CF
22492005-03-22 Christopher Faylor <cgf@timesys.com>
2250
2251 * libc/include/machine/_types.h: Make trivial change to comment to
2252 avoid a spurious warning from gcc.
2253
d4eb8920
JJ
22542005-03-21 Nicholas Wourms <nwourms@netscape.net>
2255
2256 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
2257 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
2258 reent.h include.
2259
45030958
JJ
22602005-03-18 Hans-Peter Nilsson <hp@axis.com>
2261 Corinna Vinschen <corinna@vinschen.de>
2262
2263 * libc/include/ctype.h: Remove invalid +1 offset from
2264 ctype macro references to __ctype_ptr.
2265 (_ctype_): Move declaration outside #ifndef __cplusplus.
2266
5c9b5ac7
CV
22672005-03-18 Corinna Vinschen <corinna@vinschen.de>
2268
2269 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
2270 evaluate first parameter only once.
2271 (siglongjmp): Ditto.
2272
dd801fda
JJ
22732005-03-17 Jeff Johnston <jjohnstn@redhat.com>
2274
2275 * configure.in: Add new check to see if compiler supports
2276 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
2277 * configure: Regenerated.
2278 * Makefile.in: Ditto.
2279 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
2280 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
2281 aliasing the _ctype_ array to _ctype_b.
2282 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
2283 _ctype_ as deprecated.
2284
333eabc6
HPN
22852005-03-17 Hans-Peter Nilsson <hp@axis.com>
2286
2287 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
2288 -DCOMPACT_CTYPE.
2289
df5a5b35
JJ
22902005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
2291
2292 * libc/sys/rtems/include/inttypes.h: New file.
2293 * libc/sys/rtems/include/stdint.h: Ditto.
2294
9d385fb0
JJ
22952005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
2296
2297 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
2298
2e7d9bf9
JJ
22992005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
2300
2301 * libc/include/machine/_types.h: New file.
2302 * libc/include/sys/types.h: Do not check for __rtems__
2303 when including <machine/_types.h>. Remove some redundant
2304 declarations now that <machine/_types.h> is included.
2305 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
2306 shared header file.
2307
92a7e06e
JJ
23082005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
2309
2310 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
2311 L qualifier for these long constants.
2312
1139537a
JJ
23132005-02-25 Eric Blake <ebb9@byu.net>
2314
2315 * libc/include/time.h (__tzrule_struct): Make offset long, since
2316 a 16-bit int overflows on a 12-hour offset.
2317 * libc/sys/linux/include/time.h: Ditto.
2318 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
2319 * libc/time/mktm_r.c: Ditto.
2320 * libc/time/gettzinfo.c: Ditto.
2321 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
2322 years. Fix '%z' to use long, not int.
2323
f4fd7b4c
JJ
23242005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
2325
2326 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
2327 manipulate float values in integer form.
2328 * libm/common/sf_round.c: Ditto.
2329
f2f8a9a2
JJ
23302005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
2331
2332 * libc/include/sys/types.h [__rtems__]: Include new
2333 header file machine/_types.h.
2334 * libc/include/machine/types.h: Ditto.
2335 * libc/sys/rtems/machine/_types.h: New file.
2336
39fd43d7
CV
23372005-02-23 Corinna Vinschen <corinna@vinschen.de>
2338
2339 * libc/include/time.h (_timezone): Change to long also for Cygwin.
2340 (timezone): Drop cast from definition.
2341
6b9a74f9
JJ
23422005-02-23 Jeff Johnston <jjohnstn@redhat.com>
2343
2344 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
2345 (__tzrule_type, __tzinfo_type): New types.
2346 (__gettzinfo): New function.
2347 * libc/sys/linux/include/time.h: Ditto.
2348 * libc/time/Makefile.am: Add gettzinfo.c.
2349 * libc/time/Makefile.in: Regenerated.
2350 * libc/time/local.h: Moved __tzrule_type to time.h.
2351 * libc/time/mktime.c: Call __gettzinfo to reference
2352 __tznorth, __tzyear, and __tzrule array.
2353 * libc/time/mktm_r.c: Ditto.
2354 * libc/time/strftime.c: Ditto.
2355 * libc/time/tzset_r.c: Ditto. Also remove definition
2356 of __tzrule which is now in gettzinfo.c. Change _timezone
2357 references to not cast to time_t.
2358 * libc/time/gettzinfo.c: New file.
2359
6015cf9f
CV
23602005-02-23 Corinna Vinschen <corinna@vinschen.de>
2361
2362 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
2363
5e4c05da
CV
23642005-02-22 Corinna Vinschen <corinna@vinschen.de>
2365
2366 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
2367
f1d439fc
JJ
23682005-02-16 Eric Blake <ebb9@byu.net>
2369
2370 * libc/time/time.tex: Improve the documentation.
2371 * libc/time/strftime.c: Improve the documentation.
2372 (iso_year_adjust): New helper function.
2373 (strftime): Simplify '%E' and '%O'. Change '%c' to use
2374 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
2375 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
2376 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
2377 Avoid core dumps on valid inputs (maxsize == 0, or
2378 tim_p->tm_isdst > 1).
2379
18d3a03b
CV
23802005-02-08 Corinna Vinschen <corinna@vinschen.de>
2381
2382 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
2383 members to uid_t and gid_t according to SUSv3.
2384 * libc/include/sys/time.h (utimes): Change second parameter
2385 to const according to SUSv3.
2386
1159e0fd
JJ
23872005-02-07 Antony King <antony.king@st.com>
2388
2389 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
2390 called before _flockfile to prevent lock object use before
2391 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
2392 take a struct _reent * instead of a FILE *.
2393 * libc/stdio/fclose.c (_fclose_r): Ditto.
2394 * libc/stdio/feof.c (feof): Ditto.
2395 * libc/stdio/ferror.c (ferror): Ditto.
2396 * libc/stdio/fflush.c (fflush): Ditto.
2397 * libc/stdio/fgetc.c (fgetc): Ditto.
2398 * libc/stdio/fgets.c (fgets): Ditto.
2399 * libc/stdio/fileno.c (fileno): Ditto.
2400 * libc/stdio/fputc.c (fputc): Ditto.
2401 * libc/stdio/fputs.c (fputs): Ditto.
2402 * libc/stdio/fread.c (fread): Ditto.
2403 * libc/stdio/freopen.c (_freopen_r): Ditto.
2404 * libc/stdio/fseek.c (_fseek_r): Ditto.
2405 * libc/stdio/ftell.c (_ftell_r): Ditto.
2406 * libc/stdio/fwrite.c (fwrite): Ditto.
2407 * libc/stdio/getc.c (getc): Ditto.
2408 * libc/stdio/getdelim.c (__getdelim): Ditto.
2409 * libc/stdio/putc.c (putc): Ditto.
2410 * libc/stdio/setvbuf.c (setvbuf): Ditto.
2411 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
2412 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
2413 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
2414 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
2415 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
2416 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
2417 _reent * instead of a FILE * and so replace incorrect use of
2418 _REENT with argument.
2419 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
2420 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
2421 CHECK_INIT() take a struct _reent * instead of a FILE *.
2422 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
2423 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
2424 * libc/stdio/perror.c (perror): Ditto.
2425 * libc/stdio/printf.c (printf, _printf_r): Ditto.
2426 * libc/stdio/putchar.c (putchar): Ditto.
2427 * libc/stdio/puts.c (puts): Ditto.
2428 * libc/stdio/refill.c (__srefill): Ditto.
2429 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
2430 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
2431 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
2432 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
2433 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
2434 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
2435 * libc/stdio/wbuf.c (__swbuf): Ditto.
2436 * libc/stdio/wsetup.c (__swsetup): Ditto.
2437 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
2438 * libc/stdlib/mstats.c (_mstats_r): Ditto.
2439 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
2440 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
2441 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
2442 to _flockfile and _funlockfile; rely on locking in _ftell_r.
2443 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
2444 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
2445 initialision of _data field in FILE structure.
2446 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
2447
3d915670
JJ
24482005-02-07 Jeff Johnston <jjohnstn@redhat.com>
2449
2450 * libc/stdio/findfp.c (__sinit): Protect with new lock.
2451 (__sinit_lock): New lock.
2452 (__sinit_lock_acquire, __sinit_lock_release): New functions.
2453 * libc/stdio/local.h: Add reference to new __sinit locking
2454 functions.
2455
b59cab1e
JJ
24562005-02-07 Jeff Johnston <jjohnstn@redhat.com>
2457
2458 * libc/include/math.h (isfinite, isnormal, isunordered): Change
2459 input variable names to avoid mixups with nesting macros.
2460
1815fdea
JJ
24612005-01-27 Hans-Peter Nilsson <hp@axis.com>
2462
2463 * configure.host: Add support for cris-*-* and crisv32-*-*.
2464 * libc/include/machine/ieeefp.h: Ditto.
2465 * libc/include/machine/setjmp.h: Ditto.
2466 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
2467 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
2468 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
2469 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
2470 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
2471 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
2472 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
2473 files.
2474
f7d4d41a
JJ
24752005-01-27 Hans-Peter Nilsson <hp@axis.com>
2476
2477 * testsuite/newlib.string/memmove1.c: New test.
2478
1319dec6
JJ
24792005-01-27 Hans-Peter Nilsson <hp@axis.com>
2480
2481 * testsuite/include/check.h: Include stdlib.h.
2482
b45e65b0
JJ
24832005-01-27 Hans-Peter Nilsson <hp@axis.com>
2484
2485 * Makefile.am (stmp-targ-include): Support include header files
2486 from machine directories.
e9743354 2487 (install-data-local): Ditto.
b45e65b0
JJ
2488 * Makefile.in: Regenerate.
2489
dbfa92dd
JJ
24902005-01-24 Jeff Johnston <jjohnstn@redhat.com>
2491
2492 * libc/include/string.h: Remove Linux-specific declaration of
2493 strsignal and add #include <sys/string.h>.
2494 * libc/include/sys/string.h: New file.
2495 * libc/include/sys/linux/sys/string.h: New file with strsignal
2496 declaration deleted above.
2497
6cb0c055
JJ
24982005-01-20 Jeff Johnston <jjohnstn@redhat.com>
2499
2500 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
2501 to POSIX standard for "C" locale. Allow %E and %O modifiers
2502 to be ignored as long as they precede valid specifiers according
2503 to POSIX.
2504
52429807
JJ
25052005-01-19 Shaun Jackman <sjackman@gmail.com>
2506
2507 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
2508 environment variable is set.
2509
f693170a
JJ
25102005-01-19 Shaun Jackman <sjackman@gmail.com>
2511
2512 * tzset_r.c (_tzname): Add a comma.
2513
464d01bf
AH
25142005-01-18 Aldy Hernandez <aldyh@redhat.com>
2515
2516 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
2517 _VFPRINTF_R.
2518
f7a74742 25192005-01-07 Paul Brook <paul@codesourcery.com>
17c0c97d 2520
f7a74742
JJ
2521 * configure.in: Add test for .init_array.
2522 * configure: Regenerate.
2523 * newlib.hin: Add HAVE_INITFINI_ARRAY.
2524 * libc/misc/Makefile.am: Add init.c
2525 * libc/misc/Makefile.in: Regenerate.
2526 * libc/misc/init.c: New file.
2527 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
2528 _init/_fini if they exist.
17c0c97d 2529
8fa6cb9a
JJ
25302005-01-06 Jeff Johnston <jjohnstn@redhat.com>
2531
2532 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
2533 * (strtof): Ditto.
2534 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
2535 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
2536 functions for use by strtod and strtof.
2537 * Makefile.in: Regenerated.
17c0c97d 2538
034a3909 25392005-01-06 Hans-Peter Nilsson <hp@axis.com>
17c0c97d 2540
034a3909
JJ
2541 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
2542 bit-test in combination with NULL test.
17c0c97d 2543
9918ea2d 25442005-01-06 Hans-Peter Nilsson <hp@axis.com>
17c0c97d 2545
9918ea2d 2546 * README: Fix typo of LGPL. Change "license" to "copyright".
17c0c97d 2547
5cc3f592
JJ
25482004-12-17 Jeff Johnston <jjohnstn@redhat.com>
2549
2550 * NEWS: Update with 1.13.0 info.
2551 * README: Ditto.
2552 * acinclude.m4: Change version number to 1.13.0.
2553 * aclocal.m4: Regenerated.
2554 * configure: Ditto.
2555 * doc/aclocal.m4: Ditto.
2556 * doc/configure: Ditto.
2557 * libc/*/aclocal.m4: Ditto.
2558 * libc/*/configure: Ditto.
2559 * libc/libc.texinfo: Ditto.
2560 * libm/*/aclocal.m4: Ditto.
2561 * libm/*/configure: Ditto.
2562 * libm/libm.texinfo: Ditto.
2563 * libc/sys/linux/shared.ld: Add VERS_1.13.
2564
d8ae996c
JJ
25652004-12-17 Christian Groessler <chris@groessler.org>
2566
2567 * libc/machine/z8k/memcmp.S: New file.
2568 * libc/machine/z8k/memcpy.S: Ditto.
2569 * libc/machine/z8k/memmove.S: Ditto.
2570 * libc/machine/z8k/memset.S: Ditto.
2571 * libc/machine/z8k/Makefile.am: Add new files.
2572 * libc/machine/z8k/Makefile.in: Regenerated.
2573 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
2574 part. Implement Z8002 stdcall version.
2575
82673116
JJ
25762004-12-13 Jeff Johnston <jjohnstn@redhat.com>
2577
2578 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
2579 a low-level read if we don't get the full amount of bytes so
2580 EOF or error flags will be set.
2581
0082d4cf
JJ
25822004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
2583
2584 * libc/time/tzset_r (_tzset_r): Properly skip over
2585 '/' when it is detected.
2586
3b54b74f
JJ
25872004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
2588
2589 * libc/time/tzset_r (_tzset_r): Fix loop.
2590
4b30e154
JJ
25912004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
2592
2593 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
2594 m_day.
2595 (__tzcalc_limits): Fix reference to month array to be zero-based.
2596
465eab2e
JJ
25972004-12-07 Jeff Johnston <jjohnstn@redhat.com>
2598
2599 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
2600 and usleep.
2601
a2b1a849
JJ
26022004-12-03 Jeff Johnston <jjohnstn@redhat.com>
2603
2604 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
2605 libgcc dependencies.
2606 (libm_la_LDFLAGS): Ditto.
2607 * Makefile.in: Regenerated.
2608
c80a1731
JJ
26092004-12-03 Shaun Jackman <sjackman@gmail.com>
2610
2611 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
2612 our link to use readlink so as to preserve any relative link created
2613 by install-toollibLIBRARIES.
2614 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
2615
70e9da42
JJ
26162004-12-02 Shaun Jackman <sjackman@gmail.com>
2617
2618 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
2619 time_t before including sys/stat.h, which uses it.
2620 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
2621 <linux/time.h> just prior to definition of __KERNEL__ so as to
2622 allow building on Debian Linux where otherwise, mktime would
2623 be redefined.
2624
a330d85a
JJ
26252004-11-26 Paul Brook <paul@codesourcery.com>
2626
2627 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
17c0c97d 2628
c41a1cb7
JJ
26292004-11-24 Jeff Johnston <jjohnstn@redhat.com>
2630
2631 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
9aa189be 2632 const for value string parameter to match Single Unix and glibc.
c41a1cb7
JJ
2633 * libc/stdlib/putenv.c: Ditto.
2634 * libc/stdlib/putenv_r.c: Ditto.
2635
16ac96ee
JJ
26362004-11-24 Jeff Johnston <jjohnstn@redhat.com>
2637
2638 * libc/stdio/Makefile.am: Fix missing vfscanf.
2639 * libc/stdio/Makefile.in: Regenerated.
17c0c97d 2640
3bf09147 26412004-11-23 Jeff Johnston <jjohnstn@redhat.com>
17c0c97d 2642
3bf09147
JJ
2643 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
2644 do some reordering.
2645 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
2646 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
2647 family functions.
2648 * libc/stdio/Makefile.in: Regenerated.
2649 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
2650 * libc/stdio/iprintf.c: Ditto.
2651 * libc/stdio/local.h (__svfiscanf_r): New prototype.
2652 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
2653 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
2654 * libc/stdio/stdio.tex: Add new functions.
2655 * libc/stdio/vfscanf.c: Split out __sccl function to separate
2656 file and add special name defines so this file can be used
2657 to build vfiscanf.o.
2658 * libc/stdio/asiprintf.c: New file.
2659 * libc/stdio/fiscanf.c: Ditto.
2660 * libc/stdio/iscanf.c: Ditto.
2661 * libc/stdio/sccl.c: Ditto.
2662 * libc/stdio/siscanf.c: Ditto.
2663 * libc/stdio/vasiprintf.c: Ditto.
2664 * libc/stdio/viprintf.c: Ditto.
2665 * libc/stdio/viscanf.c: Ditto.
2666 * libc/stdio/vsiprintf.c: Ditto.
2667 * libc/stdio/vsiscanf.c: Ditto.
2668 * libc/stdio/vsniprintf.c: Ditto.
2669
0f0fcb04 26702004-11-19 Shaun Jackman <sjackman@gmail.com>
17c0c97d 2671
0f0fcb04
JJ
2672 * libc/include/stdio.h: Add sniprintf.
2673 * libc/stdio/Makefile.am: Add sniprintf.c.
2674 * libc/stdio/Makefile.in: Regenerated.
2675 * libc/stdio/sniprintf.c: New file.
2676 * libc/stdio/stdio.tex: Add sniprintf.
17c0c97d 2677
1f8f7e2d
CF
26782004-11-17 Christopher Faylor <cgf@timesys.com>
2679
2680 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
2681 EOF flag if successful.
2682
b08d08c7
CF
26832004-10-28 Christopher Faylor <cgf@timesys.com>
2684
2685 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
334ba104 2686 so that all relevant definitions have been performed for use in the
b08d08c7
CF
2687 include.
2688
65b1964f
JJ
26892004-10-26 Jason Tishler <jason@tishler.net>
2690
2691 * libc/stdio/fread.c (fread): Fix return value for unbuffered
2692 fread.
2693
6382b7e3 26942004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
06b5ef6e
JJ
2695
2696 * libc/include/machine/setjmp.h: Add AVR support.
2697 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
2698
73131c2d 26992004-10-08 Jeff Johnston <jjohnstn@redhat.com>
17c0c97d 2700
73131c2d
JJ
2701 * libc/include/sys/signal.h: If <signal.h> didn't include
2702 this header file, include <signal.h> to account for
2703 applications that take advantage that the two header
2704 files are the same in glibc.
17c0c97d 2705
1185687a
JJ
27062004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
2707
2708 * configure.host: Add support for crx.
2709 * libc/include/machine/ieeefp.h: Ditto.
2710 * libc/include/machine/setjmp.h: Ditto.
2711 * libc/machine/crx/Makefile.am: New file.
2712 * libc/machine/crx/configure.in: Ditto.
2713 * libc/machine/crx/setjmp.S: Ditto.
2714 * libc/machine/crx/getenv.c: Ditto.
2715 * libc/machine/crx/aclocal.m4: Generate.
2716 * libc/machine/crx/configure: Ditto.
2717 * libc/machine/crx/Makefile.in: Ditto.
2718 * libc/machine/crx/sys/asm.h: New file.
2719 * libc/machine/crx/sys/libh.h: Ditto.
2720 * libc/machine/crx/sys/syscall.h: Ditto.
2721
423152ed
JJ
27222004-10-05 Jeff Johnston <jjohnstn@redhat.com>
2723
2724 * Makefile.am (stmp-targ-include): Support sys header files
2725 from machine directories.
2726 * Makefile.in: Regenerated.
2727
3ea9de76
JJ
27282004-10-04 Jeff Johnston <jjohnstn@redhat.com>
2729
2730 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
2731 count skipped zero characters as part of the nread count for %n.
2732 * libc/machine/powerpc/vfscanf.c: Ditto.
2733
2a6e1223
JJ
27342004-09-24 Jeff Johnston <jjohnstn@redhat.com>
2735
2736 * libc/stdio/local.h: Include <stdlib.h>.
2737
d163f2fc
CV
27382004-09-24 Corinna Vinschen <corinna@vinschen.de>
2739
2740 * libc/stdio/fread.c (fread): Include <malloc.h>.
2741
602de582
JJ
27422004-09-22 Jeff Johnston <jjohnstn@redhat.com>
2743
2744 * libc/stdio/fread.c (fread): For non-space-optimized case,
2745 add special code for unbuffered files to use user buffer and
2746 only require one low-level system read.
2747
32e73f4d
ILT
27482004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
2749
2750 * libc/machine/xscale/setjmp.S: New file, copied from
2751 libc/machine/arm/setjmp.S.
2752 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
2753 * libc/machine/xscale/Makefile.in: Regenerate.
2754
ed6859b8
JJ
27552004-09-16 Antony King <antony.king@st.com>
2756
2757 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
2758 with locking API.
17c0c97d 2759 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
ed6859b8
JJ
2760 check for__SSTR in _flags and if set, skip lock request.
2761 (_funlockfile)[!SINGLE_THREAD]: Ditto.
2762 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
2763 not NULL.
2764 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
2765 initialisation of _file to -1 in local FILE.
2766 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
2767 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
2768 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
2769 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
2770 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
2771 _flags in local FILE to prevent locking.
2772 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
2773
7a0f6966
JJ
27742004-09-16 Antony King <antony.king@st.com>
2775
2776 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
2777 and only walk the reentrancy parameter.
2778 (_fwalk_reent): Ditto.
2779 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
2780
c77672c0
JJ
27812004-09-16 Antony King <antony.king@st.com>
2782
2783 * libc/stdio64/freopen64.c: Remove casting of fp lock to
2784 _LOCK_RECURSIVE_T.
2785
5c44c2e5
JJ
27862004-09-16 Antony King <antony.king@st.com>
2787
2788 * libc/time/tzlock.c: Add default stubs that use generic
2789 locking code.
2790
14613e5e
JJ
27912004-09-16 Antony King <antony.king@st.com>
2792
2793 * libc/ctype/ctype.tex: Added missing documentation.
2794 * libc/stdio/stdio.tex Ditto.
2795 * libc/stdlib/stdlib.tex Ditto.
2796 * libc/string/strings.tex Ditto.
2797 * libc/time/time.tex: Ditto.
2798 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
2799
181cb051
JJ
28002004-09-15 Corinna Vinschen <vinschen@redhat.com>
2801
2802 * libc/reent/impure.c (reent_data): Define as alias to impure_data
2803 when building for Cygwin.
2804 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
2805 _global_impure_ptr.
2806
51d4a7ea
JJ
28072004-09-15 Jeff Johnston <jjohnstn@redhat.com>
2808
2809 * configure.host: Reverting 2004-09-14 change as fix has occurred on
2810 Cygwin side.
2811 * configure.in: Ditto.
2812 * libc/configure.in: Ditto.
2813 * libc/sys/configure.in: Ditto.
2814 * configure: Ditto.
2815 * libc/configure: Ditto.
2816 * libc/sys/configure: Ditto.
2817 * libc/include/sys/reent.h: Ditto.
2818 * libc/stdlib/__atexit.c: Ditto.
2819 * libc/stdlib/__call_atexit.c: Ditto.
2820 * libc/stdlib/cxa_atexit.c: Ditto.
2821 * libc/stdlib/cxa_finalize.c: Ditto.
2822 * libc/sys/cygwin/Makefile.am: Removed again.
2823 * libc/sys/cygwin/Makefile.in: Ditto.
2824 * libc/sys/cygwin/aclocal.m4: Ditto.
2825 * libc/sys/cygwin/configure: Ditto.
2826 * libc/sys/cygwin/configure.in: Ditto.
2827 * libc/sys/cygwin/dummy.c: Ditto.
2828 * libc/sys/cygwin/sys/reent.h: Ditto.
2829
98650d2f
JJ
28302004-09-14 Jeff Johnston <jjohnstn@redhat.com>
2831
2832 * configure.host: Add Cygwin sys directory.
2833 * configure.in: Do not set CRT0 for cygwin.
2834 * libc/configure.in: Ditto.
2835 * libc/sys/configure.in: Ditto.
2836 * configure: Regenerated.
2837 * libc/configure: Ditto.
2838 * libc/sys/configure: Ditto.
2839 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
2840 * libc/stdlib/__atexit.c: Keep cxa support protected by new
2841 __REENT_HAS_CXA_SUPPORT flag.
2842 * libc/stdlib/__call_atexit.c: Ditto.
2843 * libc/stdlib/cxa_atexit.c: Ditto.
2844 * libc/stdlib/cxa_finalize.c: Ditto.
2845 * libc/sys/cygwin/Makefile.am: New file.
2846 * libc/sys/cygwin/Makefile.in: Ditto.
2847 * libc/sys/cygwin/aclocal.m4: Ditto.
2848 * libc/sys/cygwin/configure: Ditto.
2849 * libc/sys/cygwin/configure.in: Ditto.
2850 * libc/sys/cygwin/dummy.c: Ditto.
2851 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
2852 version of reent.h.
2853
d4c8e53b
JJ
28542004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
2855
2856 * libc/iconv/iconv.tex: Updated with new content.
2857 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
2858 instead of NLS_DEFAULT_NLSPATH.
2859 * libc/iconv/lib/iconvnls.h: Fix typo.
2860 * libc/include/sys/iconvnls.h: New file.
2861
0c8593cf
JJ
28622004-09-09 Paul Brook <paul@codesourcery.com>
2863
2864 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
2865 and _is_cxa.
2866 (struct _atexit): Add _next when _REENT_SMALL.
2867 (struct _reent): Add _atexit0 when _REENT_SMALL.
2868 (_REENT_INIT_PTR): Adjust.
2869 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
2870 __call_exit.c.
2871 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
2872 * libc/stdlib/Makefile.in: Regenerate.
2873 * libc/stdlib/__atexit.c: New file.
2874 * libc/stdlib/__call_atexit.c: New file.
2875 * libc/stdlib/atexit.h: Remove old definitions. Add new.
2876 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
2877 * libc/stdlib/cxa_atexit.c: New file.
2878 * libc/stdlib/cxa_finalize.c: New file.
2879 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
2880 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
2881 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
2882 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
2883 _on_exit_args_ptr.
2884
c6ed5a85
JJ
28852004-08-23 Jeff Johnston <jjohnstn@redhat.com>
2886
2887 * libc/include/sys/unistd.h (getpass): Change prototype to use
2888 const instead of __const.
2889
721a934c
JJ
28902004-08-16 Nathan Sidwell <nathan@codesourcery.com>
2891
2892 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
2893 #if.
2894
4e53fc28
JJ
28952004-08-12 Jeff Johnston <jjohnstn@redhat.com>
2896
2897 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
2898 on linux systems with glibc 2.3.3 installed.
2899 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
2900 profile_fixup so newlib can build on fc3 system.
17c0c97d 2901
82045f12
AO
29022004-07-30 Alexandre Oliva <aoliva@redhat.com>
2903
2904 Introduce SH2a support.
2905 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
2906 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
2907 __SH2A_SINGLE_ONLY__, too.
2908 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
2909 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
2910 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
2911 2004-02-10 DJ Delorie <dj@redhat.com>
2912 * libc/sys/sh/crt0.S (start_l): Support sh2a.
2913
ad6b1d79
JJ
29142004-07-29 Jeff Johnston <jjohnstn@redhat.com>
2915
2916 * libc/time/strptime.c: Correct full-name of "March" typo.
2917
63b9dcc4
JJ
29182004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
2919
17c0c97d 2920 * configure.host (h8300*-*-*): Default long long printing support.
63b9dcc4 2921
dbfd3394
JJ
29222004-07-16 Jeff Johnston <jjohnstn@redhat.com>
2923
2924 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
2925 calls, if realloc fails, free up buffer as it is no longer
2926 used.
2927
6edb3da9
JJ
29282004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
2929
2930 * libc/iconv/iconv.tex: Updated to represent recent changes.
2931 * libc/iconv/lib/iconv.c: Documentation updated.
2932
578a3560
NC
29332004-07-07 Nick Clifton <nickc@redhat.com>
2934
2935 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
2936 for xStormy16.
2937
2bc257e3
JJ
29382004-07-06 Chris Demetriou <cgd@broadcom.com>
2939
2940 * configure.host (mips*-*-elf*): Default long long printing
2941 support.
2942
75e7ffaa
JJ
29432004-07-05 Jeff Johnston <jjohnstn@redhat.com>
2944
2945 * libc/Makefile.am (libc.dvi): Add target and specify
2946 same dependencies as libc.info.
2947 * libc/Makefile.in: Regenerated.
2948 * libm/Makefile.am (libm.dvi): Add target and specify
2949 same dependencies as libm.info.
2950 * libm/Makefile.in: Regenerated.
2951
76ce12c3
JJ
29522004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
2953
2954 * acinclude.m4: Move --enable-newlib-iconv option back here.
2955 * configure.in: Remove --enable-newlib-iconv option. Don't
2956 tie iconv support to --enable-newlib-mb.
2957 * aclocal.m4: Regenerated.
2958 * configure: Ditto.
2959 * doc/aclocal.m4, doc/configure: Ditto.
2960 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
2961 * libm/*/aclocal.m4: Ditto.
2962 * libm/*/configure: Ditto.
2963 * libc/*/aclocal.m4: Ditto.
2964 * libc/*/configure: Ditto.
2965
660dade3
JJ
29662004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
2967
2968 * acinclude.m4: Move iconv options into configure.in.
2969 * aclocal.m4: Regenerated.
2970 * configure: Ditto.
2971 * configure.in: Add iconv options.
2972 * newlib.hin: Add new iconv encodings and remove deleted ones.
2973 * doc/aclocal.m4: Regenerated.
2974 * doc/configure: Ditto.
2975 * iconvdata/aclocal.m4: Ditto.
2976 * iconvdata/configure: Ditto.
2977 * libc/iconv: Design change. New size-optimized ccs format.
2978 * libc/iconv/AUTHORS: Removed.
2979 * libc/iconv/COPYING: Ditto.
2980 * libc/iconv/README.ORIGINAL: Ditto.
2981 * libc/iconv/README.TODO: Ditto.
2982 * libc/iconv/charset.aliases: Ditto.
2983 * libc/iconv/encoding.aliases: New file.
2984 * libc/iconv/Makefile.am: Updated.
2985 * libc/iconv/Makefile.in: Regenerated.
2986 * libc/iconv/iconv.tex: Updated.
2987 * libc/iconv/ccs/Makefile.am: Ditto.
2988 * libc/iconv/ccs/Makefile.in: Regenerated.
2989 * libc/iconv/ccs/big5.c: Updated.
2990 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
2991 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
2992 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
2993 * libc/iconv/ccs/cp775.c: Ditto.
2994 * libc/iconv/ccs/cp850.c: Ditto.
2995 * libc/iconv/ccs/cp852.c: Ditto.
2996 * libc/iconv/ccs/cp855.c: Ditto.
2997 * libc/iconv/ccs/cp866.c: Ditto.
2998 * libc/iconv/ccs/iso_8859_1.c: Ditto.
2999 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
3000 * libc/iconv/ccs/gb_2312_80.c: Ditto.
3001 * libc/iconv/ccs/iconv_mktbl: Ditto.
3002 * libc/iconv/ccs/jis_x0201.c: Ditto.
3003 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
3004 * libc/iconv/ccs/shift_jis.c: Ditto.
3005 * libc/iconv/ccs/us_ascii.c: Ditto.
3006 * libc/iconv/ccs/ccs.h: New file.
3007 * libc/iconv/ccs/ccsbi.c: Ditto.
3008 * libc/iconv/ccs/ccsbi.h: Ditto.
3009 * libc/iconv/ccs/ccsnames.h: Ditto.
3010 * libc/iconv/ccs/iso_8859_10.c: Ditto.
3011 * libc/iconv/ccs/iso_8859_11.c: Ditto.
3012 * libc/iconv/ccs/iso_8859_13.c: Ditto.
3013 * libc/iconv/ccs/iso_8859_14.c: Ditto.
3014 * libc/iconv/ccs/iso_8859_3.c: Ditto.
3015 * libc/iconv/ccs/iso_8859_6.c: Ditto.
3016 * libc/iconv/ccs/iso_8859_7.c: Ditto.
3017 * libc/iconv/ccs/iso_8859_8.c: Ditto.
3018 * libc/iconv/ccs/iso_8859_9.c: Ditto.
3019 * libc/iconv/ccs/iso_ir_111.c: Ditto.
3020 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
3021 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
3022 * libc/iconv/ccs/koi8_ru.c: Ditto.
3023 * libc/iconv/ccs/koi8_uni.c: Ditto.
3024 * libc/iconv/ccs/mktbl.pl: Ditto.
3025 * libc/iconv/ccs/win_1250.c: Ditto.
3026 * libc/iconv/ccs/win_1251.c: Ditto.
3027 * libc/iconv/ccs/win_1252.c: Ditto.
3028 * libc/iconv/ccs/win_1253.c: Ditto.
3029 * libc/iconv/ccs/win_1254.c: Ditto.
3030 * libc/iconv/ccs/win_1255.c: Ditto.
3031 * libc/iconv/ccs/win_1256.c: Ditto.
3032 * libc/iconv/ccs/win_1257.c: Ditto.
3033 * libc/iconv/ccs/win_1258.c: Ditto.
d68d3538
JJ
3034 * libc/iconv/ccs/iso_8859_15.c: Updated.
3035 * libc/iconv/ccs/iso_8859_2.c: Ditto.
3036 * libc/iconv/ccs/iso_8859_4.c: Ditto.
3037 * libc/iconv/ccs/iso_8859_5.c: Ditto.
3038 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
3039 * libc/iconv/ccs/koi8_r.c: Ditto.
3040 * libc/iconv/ccs/koi8_u.c: Ditto.
3041 * libc/iconv/ccs/ksx1001.c: Ditto.
660dade3
JJ
3042 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
3043 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
3044 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
3045 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
3046 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
3047 * libc/iconv/ccs/binary/Makefile.am: Updated.
3048 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
3049 * libc/iconv/ccs/binary/big5.cct: Updated.
3050 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
3051 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
3052 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
3053 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
3054 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
3055 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
3056 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
3057 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
3058 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
3059 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
3060 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
3061 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
3062 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
3063 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
3064 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
3065 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
3066 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
3067 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
3068 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
3069 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
3070 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
3071 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
3072 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
3073 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
3074 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
3075 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
3076 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
3077 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
3078 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
3079 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
3080 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
3081 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
3082 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
3083 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
3084 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
3085 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
3086 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
3087 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
3088 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
3089 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
3090 * libc/iconv/ces/Makefile.am: Updated.
3091 * libc/iconv/ces/Makefile.in: Regenerated.
3092 * libc/iconv/ces/ucs-2-internal.c: Updated.
3093 * libc/iconv/ces/ucs-4-internal.c: Ditto.
3094 * libc/iconv/ces/utf-16.c: Ditto.
3095 * libc/iconv/ces/utf-8.c: Ditto.
3096 * libc/iconv/ces/cesbi.c: New file.
3097 * libc/iconv/ces/cesbi.h: Ditto.
3098 * libc/iconv/ces/cesdeps.h: Ditto.
3099 * libc/iconv/ces/euc.c: Ditto.
3100 * libc/iconv/ces/mkdeps.pl: Ditto.
3101 * libc/iconv/ces/table-pcs.c: Ditto.
3102 * libc/iconv/ces/table.c: Ditto.
3103 * libc/iconv/ces/ucs-2.c: Ditto.
3104 * libc/iconv/ces/ucs-4.c: Ditto.
3105 * libc/iconv/ces/us-ascii.c: Ditto.
3106 * libc/iconv/ces/euc-jp.c: Removed.
3107 * libc/iconv/ces/euc-kr.c: Ditto.
3108 * libc/iconv/ces/euc-tw.c: Ditto.
3109 * libc/iconv/ces/gb2312.c: Ditto.
3110 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
3111 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
3112 * libc/iconv/lib/Makefile.am: Updated.
3113 * libc/iconv/lib/Makefile.in: Regenerated.
3114 * libc/iconv/lib/endian.h: Updated.
3115 * libc/iconv/lib/iconv.c: Ditto.
3116 * libc/iconv/lib/local.h: Ditto.
3117 * libc/iconv/lib/aliases.c: Removed.
3118 * libc/iconv/lib/bialiasesi.c: Ditto.
3119 * libc/iconv/lib/biccs.c: Ditto.
3120 * libc/iconv/lib/bices.c: Ditto.
3121 * libc/iconv/lib/ccs.c: Ditto.
3122 * libc/iconv/lib/ces.c: Ditto.
3123 * libc/iconv/lib/ces_euc.c: Ditto.
3124 * libc/iconv/lib/ces_iso2022.c: Ditto.
3125 * libc/iconv/lib/ces_table.c: Ditto.
3126 * libc/iconv/lib/converter.c: Ditto.
3127 * libc/iconv/lib/deps.h: Ditto.
d68d3538
JJ
3128 * libc/iconv/lib/loaddata.c: Ditto.
3129 * libc/iconv/lib/aliasesbi.c: New file.
660dade3
JJ
3130 * libc/iconv/lib/aliasesi.c: Ditto.
3131 * libc/iconv/lib/conv.h: Ditto.
3132 * libc/iconv/lib/encnames.h: Ditto.
3133 * libc/iconv/lib/encoding.deps: Ditto.
3134 * libc/iconv/lib/iconvnls.c: Ditto.
3135 * libc/iconv/lib/iconvnls.h: Ditto.
660dade3
JJ
3136 * libc/iconv/lib/nullconv.c: Ditto.
3137 * libc/iconv/lib/ucsconv.c: Ditto.
3138 * libc/iconv/lib/ucsconv.h: Ditto.
3139 * libc/include/iconv.h: Update copyright.
3140 * libc/*/aclocal.m4: Regenerated.
3141 * libc/*/configure: Ditto.
3142 * libm/*/aclocal.m4: Ditto.
3143 * libm/*/configure: Ditto.
3144
9a6831be
AO
31452004-06-22 Alexandre Oliva <aoliva@redhat.com>
3146
eb6a452a
AO
3147 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
3148 instead of typedefing jmp_buf.
3149
9a6831be
AO
3150 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
3151 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
3152 * libc/machine/h8300/defines.h (LEN): New macro.
3153 * libc/machine/h8300/memcpy.S: Add h8sx version.
3154 * libc/machine/h8300/memset.S: Likewise.
3155 * libc/machine/h8300/strcmp.S: Likewise.
3156 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
3157 * libc/machine/h8300/h8sx_strcpy.S: New file.
3158 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
3159 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
3160 __H8300SX__.
3161 * libc/include/machine/setjmp.h: Likewise.
3162 * libc/include/sys/config.h: Likewise.
3163 * libc/machine/h8300/defines.h: Likewise.
3164 * libc/machine/h8300/setjmp.S: Likewise.
3165 * libc/machine/h8300/strcmp.S: Likewise.
3166 * libc/sys/h8300hms/close.S: Likewise.
3167 * libc/sys/h8300hms/fstat.S: Likewise.
3168 * libc/sys/h8300hms/lseek.S: Likewise.
3169 * libc/sys/h8300hms/read.S: Likewise.
3170 * libc/sys/h8300hms/write.S: Likewise.
3171 * libc/sys/h8300hms/crt0.S: Likewise.
3172 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
3173 __H8300SX__ is defined.
3174 * libc/sys/h8300hms/setarch.h: Likewise.
3175
80dba41e
JJ
31762004-06-17 Jeff Johnston <jjohnstn@redhat.com>
3177
3178 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
3179 out change which set _GLOBAL_REENT to _global_impure_ptr until
3180 we understand why Cygwin breaks because of it.
3181
be910599
JJ
31822004-06-14 Jeff Johnston <jjohnstn@redhat.com>
3183
3184 * libc/sys/linux/machine/i386/syscall.h: For now, set up
3185 __syscall_return macro for systems with vsyscall.
3186
d0bd3e6f
JJ
31872004-06-11 Antony King <antony.king@st.com>
3188
3189 * libc/include/sys/_types.h: Include <sys/lock.h> and change
3190 _flock_t to be of type _LOCK_RECURSIVE_T.
3191 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
3192 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
3193 (_global_impure_ptr): New declaration.
3194 (_GLOBAL_REENT): Change to be _global_impure_ptr.
3195 * libc/include/sys/stdio.h: Include <sys/lock.h> and
3196 <sys/reent.h>.
3197 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
3198 (_funlockfile)[!SINGLE_THREAD]: Ditto.
3199 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
3200 * libc/stdio/fclose.c: Remove casting of fp lock to
3201 _LOCK_RECURSIVE_T.
3202 * libc/stdio/findfp.c: Ditto.
3203 * libc/stdio/fopen.c: Ditto.
3204 * libc/stdio/freopen.c: Ditto.
3205 * libc/stdio/vfprintf.c: Ditto.
3206 * libc/stdio64/fopen64.c: Ditto.
3207 * libc/stdlib/envlock.c: Add default stubs that use generic
3208 locking code.
3209 * libc/stdlib/mlock.c: Ditto.
3210
3211 Jeff Johnston <jjohnstn@redhat.com>
3212 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
3213 (_flock_t): Change to be a struct containing a single member
3214 named mutex which is of type __flock_mutex_t.
3215
db7033a9
JJ
32162004-06-09 Jeff Johnston <jjohnstn@redhat.com>
3217
3218 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
3219 from /usr/include/asm/signal.h instead of kernel sources. Also
3220 default max to 32 if not found in header file.
3221 * libc/sys/linux/Makefile.in: Regenerated.
3222 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
3223 systems where __syscall_return is not defined.
3224 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
3225 systems to use syscall() function instead of assembler interrupt.
3226
a170abec
JJ
32272004-06-09 Toralf Lund <toralf@procaptura.com>
3228
3229 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
3230 files from libc/sys/arm to libc/machine/arm.
3231 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
3232 library build support for files moved from libc/sys/arm.
3233 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
3234 references to access and setjmp.
3235 * configure.host: Add checks for newlib_may_supply_syscalls to
3236 determine whether or not to use sys/arm directory and use
3237 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
17c0c97d 3238
8b57e664
JJ
32392004-06-02 Jeff Johnston <jjohnstn@redhat.com>
3240
3241 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
3242 reset digit flags appropriately after we have discovered "0x".
3243 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
3244
3f611058
JJ
32452004-05-27 Jeff Johnston <jjohnstn@redhat.com>
3246
3247 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
3248 from here ...
3249 (_VFPRINTF_R): ... to here so all I/O printf routines
3250 are covered.
3251
bb42a35c
JJ
32522004-05-26 Jeff Johnston <jjohnstn@redhat.com>
3253
3254 * libc/search/hash_buf.c: Protect MAX and MIN macros from
3255 redefinition.
3256 * libc/search/hash.c: Ditto.
3257
227e6ef6
JJ
32582004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3259
3260 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
3261 (_WANT_IO_LONG_LONG): Ditto.
3262 (_WANT_IO_LONG_DOUBLE): Ditto.
3263 * configure.in: Add new configuration options
3264 --enable-newlib-io-long-long and --enable-newlib-io-long-double
3265 which tie to new defines in newlib.hin.
3266 * configure: Regenerated.
3267 * configure.host: Add checks for new configuration options. Also
3268 fix up check for --enable-newlib-io-pos-args so configuration
3269 option will override any default for a given platform.
3270 Remove defining compiler flags for the _WANT_IO* options.
3271 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
3272 instead of looking for old compiler flags.
3273 * libc/stdio/vfscanf.c: Ditto.
3274 * libc/stdio/vfieeefp.h: Ditto.
3275 * libc/machine/powerpc/vfprintf.c: Ditto.
3276 * libc/machine/powerpc/vfscanf.c: Ditto.
3277
9178da95
JJ
32782004-05-25 Jeff Johnston <jjohnstn@redhat.com>
3279
3280 * testsuite/include/check.h: Add include of <stdio.h>.
3281
cf3aae91
CV
32822004-05-17 Corinna Vinschen <corinna@vinschen.de>
3283
3284 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
3285
5b4c8ae2
JJ
32862004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3287
3288 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
3289 of free.
3290
32912004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3292
3293 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
3294 list for reentrant pointer. Call _vfiprintf_r.
3295 * libc/stdio/siprintf.c (_siprintf_r): New function.
3296 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
3297 pointer argument. Change all callers. Call _VFPRINTF_R.
3298 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
3299 prototypes.
3300
631fbe65
JJ
33012004-05-07 Jeff Johnston <jjohnstn@redhat.com>
3302
3303 * libc/include/sys/param.h: Remove endian info and include
3304 <machine/endian.h> instead.
3305 * libc/include/machine/endian.h: New file.
3306 * libc/include/machine/param.h: Ditto.
3307 * libc/machine/arm/machine/endian.h: Ditto.
3308 * libc/machine/arm/machine/param.h: Ditto.
3309 * libc/sys/arm/sys/param.h: Removed.
3310 * libc/sys/sysvi386/sys/param.h: Ditto.
3311 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
3312
1af84bb7
JJ
33132004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3314
3315 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
3316 multibyte functions return failure for %C, %S, %lc, and %ls
3317 format specifiers.
3318
1c63798e
JJ
33192004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3320
3321 * testsuite/include/check.h (CHECK): Add flush of stdout.
3322
20b0251a
JJ
33232004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3324
3325 * libc/include/stdio.h (_ungetc_r): New prototype.
3326 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
3327 (__submore): Add reentrant struct pointer argument.
3328 (ungetc): Change to call _ungetc_r.
3329
6194cf4a
JJ
33302004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3331
3332 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
3333 function pointer argument.
3334 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
3335 to specify function pointer arguments.
3336 (__fwalk, __fwalk_reent): Ditto.
3337
b4ddf489
AH
33382004-04-26 Aldy Hernandez <aldyh@redhat.com>
3339
3340 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
3341 CT_INT case.
3342
f777e3a5
JJ
33432004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3344
3345 * configure.in: Define _MB_CAPABLE if mb supported.
3346 * configure: Regenerated.
3347 * configure.host: Remove manual setting of MB_CAPABLE compiler
3348 flag.
3349 * newlib.hin: Add _MB_CAPABLE flag.
3350 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
3351 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
3352 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
3353 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
3354 * libc/ctype/jp2uc.c: Ditto.
3355 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
3356 * libc/locale/locale.c: Ditto
3357 * libc/machine/powerpc/vfscanf.c: Ditto
3358 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
3359 * libc/stdlib/mblen.c: Ditto
3360 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
3361 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
3362 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
3363 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
3364 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
3365 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
3366 * libc/sys/linux/intl/explodename.c: Ditto
3367 * libc/sys/linux/intl/finddomain.c: Ditto
3368 * libc/sys/linux/intl/l10nflist.c: Ditto
3369 * libc/sys/linux/intl/loadmsgcat.c: Ditto
3370 * libc/sys/linux/intl/localealias.c: Ditto
3371
27c7566c
JJ
33722004-04-23 Jeff Johnston <jjohnstn@redhat.com>
3373
3374 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
3375 (__svfscanf_r): In integer conversions, leave out leading zeroes
3376 which are not part of a base prefix.
3377 Keep track of width truncation to fit into buf, not counting left-out
3378 zeroes against width till the truncation has been compensated for.
3379 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
3380
c00f9719
JJ
33812004-04-23 Jeff Johnston <jjohnstn@redhat.com>
3382
3383 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
3384
05b31577
JJ
33852004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3386
3387 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
3388 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
3389 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
3390 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
3391 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
3392 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
3393 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
3394 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
3395 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
3396 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
3397 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
3398 libc/stdio/getchar.c libc/stdio/getchar_u.c,
3399 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
3400 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
3401 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
3402 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
3403 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
3404 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
3405 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
3406 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
3407 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
3408 libc/stdio/siprintf.c libc/stdio/snprintf.c,
3409 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
3410 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
3411 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
3412 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
3413 libc/stdio/vprintf.c libc/stdio/vscanf.c,
3414 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
3415 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
3416 libc/stdio/wsetup.c: Perform minor formatting changes. Move
3417 copyright notices to top of file, ensure that <_ansi.h> is
3418 included, be consistent with open parentheses, use _DEFUN macro,
3419 include "local.h" where needed, and remove various compiler
3420 warnings.
3421
04e8fca1
JJ
34222004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
3423
3424 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
3425 (__svfscanf_r): In integer conversions, leave out leading zeroes
3426 which are not part of a base prefix.
3427 Keep track of width truncation to fit into buf, not counting left-out
3428 zeroes against width till the truncation has been compensated for.
3429
9090ec74
CV
34302004-04-20 Corinna Vinschen <corinna@vinschen.de>
3431
3432 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
3433
1c17deea
CV
34342004-04-20 Corinna Vinschen <corinna@vinschen.de>
3435
3436 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
3437
54c7940f
CV
34382004-04-10 Corinna Vinschen <corinna@vinschen.de>
3439
3440 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
3441 to SUSv3.
3442
47dcaf56
JJ
34432004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3444
3445 * libc/stdio/fclose.c (_fclose_r): New function.
3446 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
3447 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
3448 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
3449 * libc/include/stdio.h (_fclose_r): New prototype.
3450 * libc/stdio/fopen.c: Fix typo in comment.
3451
34522004-04-08 Jeff Johnston <jjohnstn@redhat.com>
3453
3454 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
3455 to handle _r reentrant functions.
3456
4121d8cf
JJ
34572004-04-08 Eric Christopher <echristo@redhat.com>
3458
3459 * libc/include/machine/setjmp.h: Fix endif locations.
3460
59c9f5f5
JJ
34612004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3462
3463 * libc/time/strptime.c: Add standard includes to avoid
3464 warning messages at compilation time.
3465
38f4f023
JJ
34662004-04-01 Jeff Johnston <jjohnstn@redhat.com>
3467
3468 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
3469 of file.
3470
34712004-03-30 Jeff Johnston <jjohnstn@redhat.com>
ed4c5ece
JJ
3472
3473 * libc/machine/h8300/Makefile.am: Reformat slightly.
3474 * libc/machine/h8300/Makefile.in: Regenerate.
3475
38f4f023 34762004-03-30 Thomas Pfaff <tpfaff@gmx.net>
cacc0d44
JJ
3477
3478 * libc/stdio/findfp.c (__fp_lock_all): Add call to
3479 __sfp_lock_acquire.
17c0c97d 3480 (__fp_unlock_all): Add call to __sfp_lock_release.
cacc0d44 3481
10dcf7e7
JJ
34822004-03-25 Thomas Pfaff <tpfaff@gmx.net>
3483
3484 * libc/stdio/fclose.c (fclose): Protect file pointer list when
3485 releasing a file.
3486 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
3487 fwalk.
3488 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
3489 _flockfile/_funlockfile.
3490 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
3491 to recursive.
3492 Change __lock_acquire/__lock_release calls for __sfp_lock to
3493 __sfp_lock_acquire/__sfp_lock_release throughout.
3494 (std): Make sure that file lock is only initialized once.
3495 (__sfp): Move _file initialization. Initialize file lock.
3496 (__sfp_lock_acquire): New function.
3497 (__sfp_lock_release): Ditto.
3498 (__fp_lock_all): Remove __sfp_lock_acquire call.
3499 (__fp_unlock_all): Remove __sfp_lock_release call.
3500 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
3501 Add calls to _flockfile/_funlockfile. Remove
3502 __lock_init_recursive call.
3503 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
3504 * libc/stdio/fwalk.c (__fwalk): New static function.
3505 (_fwalk): Protect file pointer list. Use __fwalk to walk through
3506 file pointers.
3507 * libc/stdio/local.h: Add defines for
3508 __sfp_lock_acquire/__sfp_lock_release when
3509 single threaded. Add function prototypes otherwise.
3510 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
3511 _flockfile/_funlockfile.
3512 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
3513 Add calls to _flockfile/_funlockfile. Remove
3514 __lock_init_recursive call.
3515 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
17c0c97d 3516 list.
10dcf7e7 3517
ec475b09
JJ
35182004-03-25 Jeff Johnston <jjohnstn@redhat.com>
3519
3520 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
3521 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
3522 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
3523 to be __LOCK_INIT_RECURSIVE.
3524
2c4ef10a
JJ
35252004-03-11 Kazu Hirata <kazu@cs.umass.edu>
3526
3527 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
3528 _exit.c with _exit.S.
3529 * libc/sys/h8300hms/Makefile.in: Regenerate.
3530 * libc/sys/h8300hms/_exit.c: Remove.
3531 * libc/sys/h8300hms/_exit.S: New.
3532
41c3da6a
JJ
35332004-03-09 Thomas Pfaff <tpfaff@gmx.net>
3534
3535 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
3536 Change __sfp_lock to static global.
3537 (__fp_lock): New static function.
3538 (__fp_unlock): Ditto.
3539 (__fp_lock_all): New function.
17c0c97d 3540 (__fp_unlock_all): Ditto.
41c3da6a 3541
0ccf5430
CF
35422004-02-10 Christopher Faylor <cgf@redhat.com>
3543
3544 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
3545 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
3546 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
3547 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
3548
3536f0fb
CF
35492004-02-09 Christopher Faylor <cgf@redhat.com>
3550
3551 * libc/include/time.h (TIMER_RELTIME): New define.
3552
6a6e493a
JJ
35532004-02-09 Jeff Johnston <jjohnstn@redhat.com>
3554
3555 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
3556 * libc/stdlib/Makefile.in: Regenerated.
3557
733309f5
CF
35582004-02-08 Christopher Faylor <cgf@redhat.com>
3559
3560 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
3561 * libc/include/sys/reent.h (__getreent): Protect against possibly being
3562 defined.
3563 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
3564
b4a84c66
JJ
35652004-02-05 Paul Brook <paul@codesourcery.com>
3566
17c0c97d 3567 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
b4a84c66
JJ
3568 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
3569
4669438f
JJ
35702004-02-02 Jeff Johnston <jjohnstn@redhat.com>
3571
3572 * NEWS: Update with 1.12.0 info.
3573 * README: Ditto.
3574 * acinclude.m4: Change version number to 1.12.0.
3575 * aclocal.m4: Regenerated.
3576 * configure: Ditto.
3577 * doc/aclocal.m4: Ditto.
3578 * doc/configure: Ditto.
3579 * libc/*/aclocal.m4: Ditto.
3580 * libc/*/configure: Ditto.
3581 * libc/libc.texinfo: Ditto.
3582 * libm/*/aclocal.m4: Ditto.
3583 * libm/*/configure: Ditto.
3584 * libm/libm.texinfo: Ditto.
3585 * libc/sys/linux/shared.ld: Add VERS_1.12.
3586
94d61fcb
JJ
35872004-02-02 Joel Sherrill <joel@oarcorp.com>
3588
3589 * configure.host: Add support for tic4x.
3590 * libc/include/machine/ieeefp.h: Ditto.
3591 * libc/include/machine/setjmp.h: Ditto.
3592 * libc/machine/tic4x/Makefile.am: New file.
3593 * libc/machine/tic4x/configure.in: Ditto.
3594 * libc/machine/tic4x/setjmp.S: Ditto.
3595 * libc/machine/tic4x/aclocal.m4: Generated.
3596 * libc/machine/tic4x/configure: Ditto.
3597 * libc/machine/tic4x/Makefile.in: Ditto.
3598
c730e0e7
JJ
35992004-01-30 Jeff Johnston <jjohnstn@redhat.com>
3600
3601 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
3602 file chain on the passed in reentrancy struct if it
3603 is _GLOBAL_REENT.
3604
2892ec68
JJ
36052004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3606 Jeff Johnston <jjohnstn@redhat.com>
3607
3608 * libc/iconv/iconv.tex: Updated with more information.
3609
ff41498a
JJ
36102004-01-30 Thomas Pfaff <tpfaff@gmx.net>
3611 Jeff Johnston <jjohnstn@redhat.com>
3612
3613 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
3614 struct for std streams and traverse the global reeentrancy
3615 struct for all other streams.
3616
d5b6c234
JJ
36172004-01-27 Jeff Johnston <jjohnstn@redhat.com>
3618
3619 * libc/stdlib/atexit.c: Protect global atexit list with a
3620 lock when newlib is multithreaded.
3621
01e0a777
JJ
36222004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3623
3624 * configure.in: Add support to generate iconv converter flags
3625 for newlib.h
3626 * newlib.hin: Add iconv converter flags.
3627 * configure: Regenerated.
3628 * libc/Makefile.in: Ditto.
3629 * libc/configure.in: Moved iconv converter parsing logic to
3630 top level newlib configure.in.
3631 * libc/configure: Regenerated.
3632 * libc/iconv/Makefile.in: Ditto.
3633 * libc/iconv/README.TODO
3634 * libc/iconv/charset.aliases: Remove wrong BE aliases for
3635 UCS2/UCS4/UTF8.
3636 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
3637 newlib.h can be used.
3638 * libc/iconv/ces/Makefile.am: Ditto.
3639 * libc/iconv/lib/Makefile.am: Ditto.
3640 * libc/iconv/ccs/Makefile.in: Regenerated.
3641 * libc/iconv/ces/Makefile.in: Ditto.
3642 * libc/iconv/lib/Makefile.in: Ditto.
3643 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
3644 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
3645 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
3646 defined in newlib.h.
3647 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
3648 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
3649 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
3650 * libc/iconv/ccs/cp775.c: Ditto.
3651 * libc/iconv/ccs/cp850.c: Ditto.
3652 * libc/iconv/ccs/cp852.c: Ditto.
3653 * libc/iconv/ccs/cp855.c: Ditto.
3654 * libc/iconv/ccs/cp866.c: Ditto.
3655 * libc/iconv/ccs/gb_2312_80.c: Ditto.
3656 * libc/iconv/ccs/iso_8859_1.c: Ditto.
3657 * libc/iconv/ccs/iso_8859_15.c: Ditto.
3658 * libc/iconv/ccs/iso_8859_2.c: Ditto.
3659 * libc/iconv/ccs/iso_8859_4.c: Ditto.
3660 * libc/iconv/ccs/iso_8859_5.c: Ditto.
3661 * libc/iconv/ccs/jis_x0201.c: Ditto.
3662 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
3663 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
3664 * libc/iconv/ccs/koi8_r.c: Ditto.
3665 * libc/iconv/ccs/koi8_u.c: Ditto.
3666 * libc/iconv/ccs/ksx1001.c: Ditto.
3667 * libc/iconv/ccs/shift_jis.c: Ditto.
3668 * libc/iconv/ccs/us_ascii.c: Ditto.
3669 * libc/iconv/ccs/binary/big5.cct: Newly generated.
3670 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
3671 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
3672 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
3673 * libc/iconv/ccs/binary/cp775.cct: Ditto.
3674 * libc/iconv/ccs/binary/cp850.cct: Ditto.
3675 * libc/iconv/ccs/binary/cp852.cct: Ditto.
3676 * libc/iconv/ccs/binary/cp855.cct: Ditto.
3677 * libc/iconv/ccs/binary/cp866.cct: Ditto.
3678 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
3679 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
3680 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
3681 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
3682 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
3683 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
3684 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
3685 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
3686 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
3687 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
3688 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
3689 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
3690 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
3691 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
3692 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
3693 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
3694 * libc/iconv/ces/euc-kr.c: Ditto.
3695 * libc/iconv/ces/euc-tw.c: Ditto.
3696 * libc/iconv/ces/gb2312.c: Ditto.
3697 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
3698 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
3699 * libc/iconv/ces/ucs-2-internal.c: Ditto.
3700 * libc/iconv/ces/ucs-4-internal.c: Ditto.
3701 * libc/iconv/ces/utf-16.c: Ditto.
3702 * libc/iconv/ces/utf-8.c: Ditto.
3703 * libc/iconv/lib/aliases.c: Ditto.
3704 * libc/iconv/lib/biccs.c: Ditto.
3705 * libc/iconv/lib/bices.c: Ditto.
3706 * libc/iconv/lib/ccs.c: Ditto.
3707 * libc/iconv/lib/ces.c: Ditto.
3708 * libc/iconv/lib/ces_euc.c: Ditto.
3709 * libc/iconv/lib/ces_iso2022.c: Ditto.
3710 * libc/iconv/lib/ces_table.c: Ditto.
3711 * libc/iconv/lib/converter.c: Ditto.
3712 * libc/iconv/lib/deps.h: Ditto.
3713 * libc/iconv/lib/endian.h: Ditto.
3714 * libc/iconv/lib/iconv.c: Ditto.
3715 * libc/iconv/lib/loaddata.c: Ditto.
3716 * libc/iconv/lib/local.h: Include newlib.h.
3717 * libc/argz/Makefile.in: Regenerated.
3718 * libc/ctype/Makefile.in: Ditto.
3719 * libc/errno/Makefile.in: Ditto.
3720 * libc/iconv/ccs/binary/Makefile.in: Ditto.
3721 * libc/locale/Makefile.in: Ditto.
3722 * libc/misc/Makefile.in: Ditto.
3723 * libc/posix/Makefile.in: Ditto.
3724 * libc/reent/Makefile.in: Ditto.
3725 * libc/search/Makefile.in: Ditto.
3726 * libc/signal/Makefile.in: Ditto.
3727 * libc/stdio/Makefile.in: Ditto.
3728 * libc/stdio64/Makefile.in: Ditto.
3729 * libc/stdlib/Makefile.in: Ditto.
3730 * libc/string/Makefile.in: Ditto.
3731 * libc/syscalls/Makefile.in: Ditto.
3732 * libc/time/Makefile.in: Ditto.
3733 * libc/unix/Makefile.in: Ditto.
3734 * testsuite/newlib.iconv/iconv.exp: New file.
3735 * testsuite/newlib.iconv/iconvjp.c: Ditto.
3736 * testsuite/newlib.iconv/iconvnm.c: Ditto.
3737 * testsuite/newlib.iconv/iconvru.c: Ditto.
3738
786ab12c
JJ
37392004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3740
3741 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
3742 (--enable-newlib-builtin-converters): Ditto.
3743 * configure.in: Add code to set _ICONV_ENABLED flag.
3744 Set _MB_LEN_MAX to 1 if not mb enabled.
3745 * configure: Regenerated.
3746 * aclocal.m4: Ditto.
3747 * Makefile.in: Ditto.
3748 * newlib.hin: Add _ICONV_ENABLED flag.
3749 * libc/Makefile.am: Add support for iconv.
3750 * libc/configure.in: Ditto.
3751 * libc/Makefile.in: Regenerated.
3752 * libc/aclocal.m4: Ditto.
3753 * libc/configure: Ditto.
3754 * libc/libc.texinfo: Add iconv documentation.
3755 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
3756 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
3757 libc/iconv/README.TODO, libc/iconv/charset.aliases,
3758 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
3759 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
3760 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
3761 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
3762 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
3763 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
3764 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
3765 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
3766 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
3767 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
3768 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
3769 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
3770 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
3771 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
3772 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
3773 libc/iconv/ccs/binary/big5.cct,
3774 libc/iconv/ccs/binary/cns11643_plane1.cct,
3775 libc/iconv/ccs/binary/cns11643_plane14.cct,
3776 libc/iconv/ccs/binary/cns11643_plane2.cct,
3777 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
3778 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
3779 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
3780 libc/iconv/ccs/binary/iso_8859_1.cct,
3781 libc/iconv/ccs/binary/iso_8859_15.cct,
3782 libc/iconv/ccs/binary/iso_8859_2.cct,
3783 libc/iconv/ccs/binary/iso_8859_4.cct,
3784 libc/iconv/ccs/binary/iso_8859_5.cct,
3785 libc/iconv/ccs/binary/jis_x0201.cct,
3786 libc/iconv/ccs/binary/jis_x0208_1983.cct,
3787 libc/iconv/ccs/binary/jis_x0212_1990.cct,
3788 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
3789 libc/iconv/ccs/binary/ksx1001.cct,
3790 libc/iconv/ccs/binary/shift_jis.cct,
3791 libc/iconv/ccs/binary/us_ascii.cct,
3792 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
3793 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
3794 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
3795 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
3796 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
3797 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
3798 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
3799 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
3800 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
3801 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
3802 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
3803 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
3804 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
3805 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
3806 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
3807 * libc/sys/linux/include/iconv.h: Ditto.
3808 * libc/include/sys/_types.h (_iconv_t): Added.
3809 * doc/aclocal.m4: Regenerated.
3810 * doc/configure: Ditto.
3811 * doc/Makefile.in: Ditto.
3812 * iconvdata/Makefile.in: Ditto.
3813 * iconvdata/aclocal.m4: Ditto.
3814 * iconvdata/configure: Ditto.
3815 * libc/*aclocal.m4: Ditto.
3816 * libc/*Makefile.in: Ditto.
3817 * libc/*configure: Ditto.
3818 * libm/*aclocal.m4: Ditto.
3819 * libm/*Makefile.in: Ditto.
3820 * libm/*configure: Ditto.
3821
ed1a95dc
JJ
38222004-01-22 Thomas Pfaff <tpfaff@gmx.net>
3823
3824 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
17c0c97d 3825 by a lock when newlib is multithreaded.
ed1a95dc 3826
7d4be1ef
JJ
38272004-01-21 Jeff Johnston <jjohnstn@redhat.com>
3828
3829 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
3830 pointer to match C99 spec.
3831 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
3832 dst is NULL. Also fix to not alter src pointer when dst is NULL
3833 and call _mbrtowc_r instead of _mbtowc_r.
3834 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
3835 of _wctomb_r.
3836
403f752c
JJ
38372004-01-19 Thomas Pfaff <tpfaff@gmx.net>
3838
3839 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
3840 * libc/stdio/freopen.c (freopen): Ditto.
3841
85b6d63b
CF
38422004-01-16 Christopher Faylor <cgf@redhat.com>
3843
3844 * libc/stdio/vfprintf.c: Add sys/lock.h include.
3845
4af71a91
JJ
38462004-01-16 Thomas Pfaff <tpfaff@gmx.net>
3847
3848 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
3849 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
3850 Add calls to __lock_init_recursive and __lock_close_recursive
3851 instead.
3852
6a150987
JJ
38532004-01-15 Thomas Pfaff <tpfaff@gmx.net>
3854
3855 * libc/stdio/fclose.c: Include sys/lock.h.
3856 (fclose): Destroy lock when file is closed.
3857 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
3858 member.
3859 * libc/stdio/freopen.c: Include sys/lock.h.
3860 (_freopen_r): Destroy lock when file is closed.
3861 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
3862 _lock member.
3863
c9524c0c
JJ
38642004-01-08 Joel Sherrill <joel@oarcorp.com>
3865
3866 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
3867 Remove warnings.
3868
9f13ccb3
JJ
38692004-01-08 Joel Sherrill <joel@oarcorp.com>
3870
3871 * libc/sys/rtems/sys/queue.h: New file.
3872 * libc/include/sys/signal.h: Reflect renumbering of signals to
3873 fit into 32-bit mask.
3874 * libc/include/sys/unistd.h: Add fdatasync() prototype.
3875 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
3876 required. In particular, add the reentrant variants of libc calls.
3877 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
3878
9488c414
JJ
38792004-01-06 Mark Mitchell <mark@codesourcery.com>
3880
3881 * libc/sys/arm/syscalls.c (unistd.h): Include it.
3882 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
3883 Similarly for stdout and stderr.
3884
5125f919
JJ
38852004-01-06 Jeff Johnston <jjohnstn@redhat.com>
3886
3887 * libc/libc.texinfo: Correct escape character for @ sign
3888 so file will be processed by make info. Update copyright years.
3889 * libm/libm.texinfo: Ditto.
3890
9fc92ceb
JJ
38912003-12-05 Jeff Johnston <jjohnstn@redhat.com>
3892
3893 * libc/include/sys/stat.h: No longer include stat-dj.h.
3894 * libc/include/sys/stat-dj.h: Removed.
3895
25c7dad1
JJ
38962003-12-05 Jeff Johnston <jjohnstn@redhat.com>
3897
3898 * libc/include/wchar.h: Include <sys/reent.h>.
3899
576593dd
CF
39002003-12-05 Christopher Faylor <cgf@redhat.com>
3901
3902 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
3903 when defining _mbrtowc.
3904 * libc/stdlib/mbsinit.c: Ditto.
3905 * libc/stdlib/mbsrtowcs.c: Ditto.
3906 * libc/stdlib/wcrtomb.c: Ditto.
3907 * libc/stdlib/wcsrtombs.c: Ditto.
3908 * libc/stdlib/wctob.c: Ditto.
3909
39102003-12-05 Christopher Faylor <cgf@redhat.com>
3911
3912 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
3913 errors when defining _mbrtowc.
3914 * libc/stdlib/mbsinit.c: Ditto.
3915 * libc/stdlib/mbsrtowcs.c: Ditto.
3916
4c889d62
CF
39172003-12-05 Christopher Faylor <cgf@redhat.com>
3918
3919 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
3920 errors when defining _mbrtowc.
3921
5d109bde
JJ
39222003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3923
3924 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
3925 of mb routines for %lc and %ls support.
3926 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
3927 %ls, and %S support. Remove CYGNUS_NEC markers and
3928 code within.
3929
3aca0888
JJ
39302003-12-04 Jeff Johnston <jjohnstn@redhat.com>
3931
3932 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
3933 _wcrtomb_r, and _wcsrtombs_r.
3934
18dcb167
CV
39352003-12-01 Corinna Vinschen <corinna@vinschen.de>
3936
3937 * libc/include/sys/fcntl.h: Don't define struct flock when on
3938 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
3939
93f8e673
CF
39402003-11-28 Christopher Faylor <cgf@redhat.com>
3941
3942 * libc/include/sys/signal.h: Use system specific signal file when
3943 building on cygwin.
3944
cc2a11e0
JJ
39452003-11-27 Jeff Johnston <jjohnstn@redhat.com>
3946
3947 * libc/include/stdlib.h (_atoi_r): New prototype.
3948 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
3949
83bf7d2f
JJ
39502003-11-27 Jeff Johnston <jjohnstn@redhat.com>
3951
3952 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
3953 * libc/stdlib/atol.c (_atol_r): New reentrant function.
3954 * libc/stdlib/atoll.c (_atoll_r): Ditto.
3955
5d109bde 39562003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6bbb700c
JJ
3957 Jeff Johnston <jjohnstn@redhat.com>
3958
3959 * libc/include/stdlib.h (lldiv_t): New type.
3960 (atoll, llabs, lldiv): New prototypes.
3961 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
3962 * libc/stdlib/stdlib.tex: Ditto.
3963 * libc/stdlib/Makefile.in: Regenerated.
3964 * libc/stdlib/atoll.c: New file.
3965 * libc/stdlib/llabs.c: Ditto.
3966 * libc/stdlib/lldiv.c: Ditto.
3967
0a707c79
JJ
39682003-11-26 Corinna Vinschen <corinna@vinschen.de>
3969
3970 * libc/include/fcntl.h: Declare syscalls only when building newlib.
3971 * libc/include/unistd.h: Ditto.
3972 * libc/include/stat.h: Ditto. Also declare struct stat64.
3973
5d109bde 39742003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6db165c2
JJ
3975
3976 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
3977 specifier to use ch instead of *fmt.
3978
5d109bde 39792003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
759a097e
JJ
3980
3981 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
3982 code within checks for MB_CAPABLE. For non-mb-capable platforms,
3983 use simple byte logic.
3984
4f6149d6
JJ
39852003-11-21 Jeff Johnston <jjohnstn@redhat.com>
3986
3987 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
3988 _strtold routine for processing floats and doubles since it
3989 is not as fast as _strtod_r.
3990
17c0c97d 39912003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
7343eefb 3992
17c0c97d 3993 * libc/machine/h8300/defines.h : Correct pointer register defines
7343eefb 3994 for normal mode.
17c0c97d 3995 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
7343eefb
JJ
3996 for normal mode.
3997 * libc/machine/h8300/reg_memcpy.S : Likewise.
3998 * libc/machine/h8300/reg_memset.S : Likewise.
3999 * libc/machine/h8300/strcmp.S : Likewise.
4000
64cfc6f2
JJ
40012003-11-19 Nicholas Wourms <nwourms@netscape.net>
4002
4003 * configure.host: Enable positional arguments for printf
4004 family for Cygwin.
4005 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
4006 pointer reference for quad_ptr_t.
4007
e1dc8171
JJ
40082003-11-19 Jeff Johnston <jjohnstn@redhat.com>
4009
4010 * libc/stdio/scanf.c: Don't include local.h more than once.
4011
a472290f
JJ
40122003-11-18 Corinna Vinschen <corinna@vinschen.de>
4013
4014 * libc/include/sys/fcntl.h: Declare _open64.
4015 * libc/include/sys/stat.h: Declare _fstat64.
4016 * libc/include/sys/unistd.h: Declare _lseek64.
4017
a2f1155c
CV
40182003-11-17 Corinna Vinschen <corinna@vinschen.de>
4019
4020 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
4021 (setprogname): Ditto.
4022
030441fc
JJ
40232003-11-10 Jeff Johnston <jjohnstn@redhat.com>
4024
4025 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
4026 to use (Ebits + 1) which accounts for the sign-bit.
4027
fe359733
JJ
40282003-11-07 Jeff Johnston <jjohnstn@redhat.com>
4029
17c0c97d 4030 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
fe359733
JJ
4031 x86 build.
4032 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
4033 and set up default flags to pass to aclocal.
4034 * iconvdata/Makefile.in: Regenerated.
4035 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
4036 and getpwuid routines.
4037 * libc/sys/linux/Makefile.in: Regenerated.
4038 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
4039 applications to link with newlib's shared libc library.
4040 * libc/sys/linux/getpwnam.c: Ditto.
4041 * libc/sys/linux/getpwuid.c: Ditto.
4042 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
4043 that were formerly supplied by /usr/include/linux/types.h with
4044 kernel types.
4045 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
4046 test _ELIX_LEVEL macro.
4047
2985521f
JJ
40482003-11-07 Jeff Johnston <jjohnstn@redhat.com>
4049
4050 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
4051 referring to _NO_LONGLONG macro.
4052
dcad6a89
JJ
40532003-11-06 Jeff Johnston <jjohnstn@redhat.com>
4054
4055 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
4056 in LOG() macro so this will compile on gcc 3.4 and up.
4057 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
4058 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
4059 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
4060 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
4061 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
4062 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
4063 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
4064 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
4065 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
4066 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
4067 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
4068 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
4069 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
4070 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
4071 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
4072 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
4073 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
4074 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
4075 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
4076 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
4077 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
4078 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
4079 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
4080 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
4081 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
4082 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
4083 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
4084 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
4085 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
4086 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
4087 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
4088 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
4089 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
4090 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
4091 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
4092 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
4093
d2ffac09 40942003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5d109bde 4095 Artem B. Bityuckiy <abitytsky@softminecorp.com>
d2ffac09
JJ
4096
4097 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
4098 %ls, %S, %lc, and %C format specifiers.
4099 (get_arg): Ditto.
4100 * libc/stdio/sprintf.c: Add documentation regarding new
4101 format specifiers added in vfprintf.c.
4102
da2d1227
JJ
41032003-11-05 Jeff Johnston <jjohnstn@redhat.com>
4104
4105 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
4106 to make code work as specified in standard.
4107
3ef05bac
JJ
41082003-10-23 Jeff Johnston <jjohnstn@redhat.com>
4109
4110 * configure.in: Use absolute newlib basedir when forming
4111 CC_FOR_NEWLIB include options.
4112 * configure: Regenerated.
4113
5d109bde 41142003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4340b63b
JJ
4115
4116 * libc/string/wcsnlen.c: New file.
4117 * libc/include/wchar.h: Add wcsnlen prototype.
4118 * libc/string/Makefile.am: Add wcsnlen support.
4119 * libc/string/Makefile.in: Regenerated.
4120 * libc/string/wcstrings.tex: Add wcsnlen documentation.
4121
63a823f8
RS
41222003-10-22 Richard Sandiford <rsandifo@redhat.com>
4123
4124 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
4125
76a7df52
JJ
41262003-10-20 Bob Wilson <bob.wilson@acm.org>
4127
4128 * libc/locale/locale.c: Use double quotes in code.
4129 * libc/locale/locale.tex: Likewise.
4130 * libc/libc.texinfo: Hyphenate "floating-point".
4131 * libc/machine/necv70/necv70.tex: Likewise.
4132 * libc/stdio/sprintf.c: Likewise.
4133 * libc/stdio/sscanf.c: Likewise.
4134 * libc/stdlib/atof.c: Likewise.
4135 * libc/stdlib/ldtoa.c: Fix comment typo.
4136 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
4137 * libc/stdlib/ldiv.c: Likewise.
4138 * libm/common/s_expm1.c: Likewise.
4139 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
4140 * libm/common/s_infinity: Hyphenate "double- and single-precision".
4141 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
4142 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
4143 and "floating-point".
4144 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
4145 * libm/math/e_pow.c: Fix comment typo.
4146 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
4147 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
4148 * libm/math/s_atan.c: Likewise.
4149 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
4150 * libm/math/s_isnan.c: Hyphenate "single-precision" and
4151 "floating-point". Use "nonzero".
4152 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
4153 * libm/math/w_acos.c: Likewise.
4154 * libm/math/w_acosh.c: Likewise.
4155 * libm/math/w_asin.c: Likewise.
4156 * libm/math/w_atan2.c: Likewise.
4157 * libm/math/w_atanh.c: Likewise.
4158 * libm/math/w_cosh.c: Likewise.
4159 * libm/math/w_exp.c: Likewise.
4160 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
4161 version of 2^x in the description.
4162 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
4163 * libm/math/w_gamma.c: Likewise.
4164 * libm/math/w_hypot.c: Likewise.
4165 * libm/math/w_j0.c: Likewise.
4166 * libm/math/w_sinh.c: Likewise.
4167 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
4168 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
4169 "floating-point".
4170 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
4171 * libm/mathfp/e_atanh.c: Likewise.
4172 * libm/mathfp/e_hypot.c: Likewise.
4173 * libm/mathfp/er_lgamma.c: Likewise.
4174 * libm/mathfp/s_acos.c: Likewise.
4175 * libm/mathfp/s_asine.c: Likewise.
4176 * libm/mathfp/s_asinh.c: Likewise.
4177 * libm/mathfp/s_atan.c: Likewise.
4178 * libm/mathfp/s_atan2.c: Likewise.
4179 * libm/mathfp/s_atangent.c: Likewise.
4180 * libm/mathfp/s_cosh.c: Likewise.
4181 * libm/mathfp/s_exp.c: Likewise.
4182 * libm/mathfp/s_fmod.c: Likewise.
4183 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
4184 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
4185 "floating-point". Use "nonzero".
4186 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
4187 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
4188 * libm/mathfp/s_sineh.c: Likewise.
4189 * libm/mathfp/w_jn.c: Likewise.
4190
b11926e7
JJ
41912003-10-15 Alexandre Oliva <aoliva@redhat.com>
4192
4193 * Makefile.am: Add $(MAKE) comments to multido and multiclean
4194 lines, to enable parallel make.
4195 * Makefile.in: Rebuilt.
4196
31271d5c
CF
41972003-10-14 Christopher Faylor <cgf@redhat.com>
4198
4199 * libc/time/clock.c: Clarify documentation of return value when no
4200 measurement is available.
4201
bc707cbd
JJ
42022003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
4203
4204 * libm/configure.in: Check libm_machine_dir, not machine_dir.
4205 * libm/configure: Regenerate.
4206 * libm/Makefile.in: Ditto.
4207
f4b10605
JR
42082003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
4209
4210 * libc/machine/sh/strncpy.S: New file.
4211 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
4212 * libc/machine/sh/Makefile.in: Regenerate.
4213
ce044d8f
JW
42142003-09-11 James E Wilson <wilson@specifixinc.com>
4215
4216 * MAINTAINERS: Update my e-mail address.
4217
080ef411
CV
42182003-09-10 Corinna Vinschen <corinna@vinschen.de>
4219
4220 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
4221
3a767b69
JJ
42222003-09-09 Jeff Johnston <jjohnstn@redhat.com>
4223
080ef411
CV
4224 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
4225 prototype.
4226 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
4227 _simdldcheck(). Also add unsigned cast for index variable in
4228 for loop using sizeof operators.
4229 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
4230 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
4231 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
4232 plus fix shift calculation for determining if there is a
4233 carry from word2.
3a767b69 4234
84154fcc
CV
42352003-09-09 Corinna Vinschen <corinna@vinschen.de>
4236
4237 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
4238 setgroupent for Cygwin.
4239
f1b15058
JJ
42402003-09-05 Jeff Johnston <jjohnstn@redhat.com>
4241
4242 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
4243 is different for _REENT_SMALL than when using regular reent
4244 struct.
4245
cf88c20f 42462003-09-05 Ben Elliston <bje@wasabisystems.com>
0a8fd4dc 4247
b73263e4
BE
4248 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
4249 modern versions of GCC issue a warning.
4250
0a8fd4dc
BE
4251 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
4252 after continuation characters that induces a warning from modern
4253 versions of GCC.
4254
10a32423
BE
42552003-09-04 Ben Elliston <bje@wasabisystems.com>
4256
4257 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
4258 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
4259
ed027a53
JJ
42602003-09-02 Thomas Pfaff <tpfaff@gmx.net>
4261
4262 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
4263 * libc/stdlib/exit.c : Ditto.
4264 * libc/stdlib/on_exit.c: Ditto.
4265
880fa247
JJ
42662003-08-27 Corinna Vinschen <corinna@vinschen.de>
4267
4268 * libc/include/reent.h: Define stat64 as __stat64 when
4269 compiling newlib for Cygwin.
4270
54c1d7ea
JJ
42712003-08-26 Jeff Johnston <jjohnstn@redhat.com>
4272
4273 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
4274 __stat64 when compiling newlib.
4275
0eca0750
JJ
42762003-08-26 Jeff Johnston <jjohnstn@redhat.com>
4277
4278 * libc/include/stdio.h: Allow the io64 function prototypes for
4279 Cygwin when compiling newlib.
4280 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
4281 to expose the Cygwin struct __stat64 type.
4282 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
4283 pointer.
4284 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
4285
9d4aef19
CF
42862003-08-23 Christopher Faylor <cgf@redhat.com>
4287
4288 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
4289 definition to fseeko64.
4290
9fc9e1c9
JJ
42912003-08-22 Jeff Johnston <jjohnstn@redhat.com>
4292
4293 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
4294 * libc/stdio: Globally remove/replace all references to fp->_data.
4295 Replace with _REENT or _GLOBAL_REENT where appropriate.
4296 * libc/stdio/asprintf.c: Ditto.
4297 * libc/stdio/fclose.c: Ditto.
4298 * libc/stdio/fvwrite.c: Ditto.
4299 * libc/stdio/makebuf.c: Ditto.
4300 * libc/stdio/refill.c: Ditto.
4301 * libc/stdio/local.h: Ditto.
4302 * libc/stdio/setvbuf.c: Ditto.
4303 * libc/stdio/sscanf.c: Ditto.
4304 * libc/stdio/stdio.c: Ditto.
4305 * libc/stdio/ungetc.c: Ditto.
4306 * libc/stdio/vfscanf.c: Ditto.
4307 * libc/stdio/vsscanf.c: Ditto.
4308 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
4309 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
4310 * libc/stdio/vsnprintf.c: Ditto.
4311 * libc/stdio/vsprintf.c: Ditto.
4312 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
4313 instead of _REENT to walk file list.
4314 * libc/stdio/fflush.c: Ditto.
4315 * libc/stdio/fgetpos.c: Add reentrant version and have regular
4316 version call reentrant version with _REENT argument.
4317 * libc/stdio/fsetpos.c: Ditto.
4318 * libc/stdio/fseek.c: Ditto.
4319 * libc/stdio/fseeko.c: Ditto.
4320 * libc/stdio/ftell.c: Ditto.
4321 * libc/stdio/ftello.c: Ditto.
4322 * libc/stdio/freopen.c: Ditto.
4323 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
4324 new files to chain. Also use _GLOBAL_REENT pointer for
4325 cleaning up.
4326 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
4327 * libc/stdio/siprintf.c: Ditto.
4328 * libc/stdio/iprintf.c: Ditto.
4329 * libc/stdio/fprintf.c: Ditto.
4330 * libc/stdio/printf.c: Ditto.
4331 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
4332 * libc/stdio/sprintf.c: Ditto.
4333 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
4334 * libc/stdio/rewind.c: Call _fseek_r directly.
4335 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
4336 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
4337 data pointer.
4338 (get_arg): Add extra struct _reent pointer argument.
4339 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
4340 to fp->_data.
4341 * libc/stdio64/fopen64.c: Ditto.
4342 * libc/stdio64/freopen64.c: Ditto.
4343 * libc/stdio64/fsetpos64.c: Ditto.
4344 * libc/stdio64/ftello64.c: Ditto.
4345 * libc/stdio64/local64.h: Ditto.
4346 * libc/stdio64/stdio64.c: Ditto.
4347 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
4348 _fstat64_r for the meantime.
4349
8f021114
JJ
43502003-08-19 Jeff Johnston <jjohnstn@redhat.com>
4351
4352 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
4353 overflow detection.
17c0c97d 4354
db979bb4 43552003-08-13 Aldy Hernandez <aldyh@redhat.com>
17c0c97d 4356
db979bb4
JJ
4357 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
4358 extern "C".
4359
6efbdc7d
JJ
43602003-08-13 Jeff Johnston <jjohnstn@redhat.com>
4361
4362 * libc/include/math.h: Add prototypes for __signbitf and
4363 __signbitd.
4364
e895fc20
JJ
43652003-07-31 Jeff Johnston <jjohnstn@redhat.com>
4366
4367 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
4368 correct type of conversion when dealing with EUCJP or SJIS.
4369 * libc/ctype/iswblank.c: Ditto.
4370 * libc/ctype/iswcntrl.c: Ditto.
4371 * libc/ctype/iswprint.c: Ditto.
4372 * libc/ctype/iswpunct.c: Ditto.
4373 * libc/ctype/iswspace.c: Ditto.
4374 * libc/ctype/towlower.c: Ditto.
4375 * libc/ctype/towupper.c: Ditto.
4376
0302dfe5
NC
43772003-07-31 Nick Clifton <nickc@redhat.com>
4378
4379 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
4380 before calling main, in case it saves its argument registers.
4381 Remove reference to deleted v850ea port.
4382 * configure.host: Remove reference to deleted v850ea port.
4383 Do not use -mv850 when building for v850e target. This
4384 prevents the ctbp system register from being initialised.
4385
42de5592
JJ
43862003-07-29 Honda Hiroki <hhonda@ipflex.com>
4387
4388 * libc/stdio/vfprintf.c: Set output size to 1 when
4389 we have %f format with precision 0 and # flag not specified.
4390
e5de27b6
AO
43912003-07-29 Alexandre Oliva <aoliva@redhat.com>
4392
4393 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
4394 .am33_2.
4395
3c98a593
CF
43962003-07-25 Christopher Faylor <cgf@redhat.com>
4397
4398 * libc/stdio64/fdopen64.c: Include sys/lock.h.
4399
e222bf67
CF
44002003-07-25 Christopher Faylor <cgf@redhat.com>
4401
4402 * configure.host: Find cygwin include directory, when appropriate.
4403
03536757
CF
44042003-07-24 Christopher Faylor <cgf@redhat.com>
4405
4406 * libc/stdio64/fdopen64.c: New file.
4407 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
4408 * libc/stdio64/Makefile.in: Regenerate.
4409 * libc/include/stdio.h (fdopen64): Define.
4410 * libc/include/stdio.h (_fdopen64_r): Ditto.
4411
18072a4f
AO
44122003-07-10 Alexandre Oliva <aoliva@redhat.com>
4413
4414 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
4415 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
4416 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
4417 restore callee-saved FP registers.
4418
e0bec12f
JR
44192003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
4420
4421 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
4422 for __sh__.
4423 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
4424 truncate.c.
4425 * libc/sys/sh/Makefile.in: Regenerate.
4426 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
4427 * libc/sys/sh/ftruncate.c: New file.
4428 * libc/sys/sh/truncate.c: Likewise.
4429
03d65dd9
AO
44302003-07-09 Alexandre Oliva <aoliva@redhat.com>
4431
4432 * libc/include/math.h (nan, nanf): Update prototype to C99.
4433 * libm/common/s_nan.c (nan): Likewise.
4434 * libm/common/s_nanf.c (nanf, nan): Likewise.
4435 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
4436
74aa9d7d
JJ
44372003-07-07 Jeff Johnston <jjohnstn@redhat.com>
4438
4439 * libc/include/stdbool.h: Removed as this is defined by gcc.
4440
0a447ef3
JJ
44412003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
4442
4443 * libc/include/stdbool.h: New header file defined by C99.
4444
282eff9a
JJ
44452003-07-02 Jeff Johnston <jjohnstn@redhat.com>
4446
4447 * libc/include/sys/types.h (int8_t): Make signed.
4448
4e989b11
JJ
44492003-07-02 Jeff Johnston <jjohnstn@redhat.com>
4450
4451 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
4452
07b40cf8
JJ
44532003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
4454
4455 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
4456 on if we actually created the shared memory file exclusively.
4457
7daa7891
JJ
44582003-06-27 Joe Vornehm <joev@mitre.org>
4459
4460 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
4461 comparisons to account for unsigned internal value w.
4462
51fa7562
JJ
44632003-06-26 Jeff Johnston <jjohnstn@redhat.com>
4464
4465 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
4466 wrbuf for a non-creating open.
4467
b8f7ea5c
JJ
44682003-06-24 Kazu Hirata <kazu@cs.umass.edu>
4469
4470 * libc/machine/h8300/setarch.h: New.
4471 * libc/machine/h8300/memcpy.S: Use it.
4472 * libc/machine/h8300/memset.S: Likewise.
4473 * libc/machine/h8300/reg_memcpy.S: Likewise.
4474 * libc/machine/h8300/reg_memset.S: Likewise.
4475 * libc/machine/h8300/setjmp.S: Likewise.
4476 * libc/machine/h8300/strcmp.S: Likewise.
4477
6d7ea52a
RS
44782003-06-24 Richard Sandiford <rsandifo@redhat.com>
4479
4480 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
4481 to atexit().
4482
5a74f2aa
JJ
44832003-06-20 Jeff Johnston <jjohnstn@redhat.com>
4484
4485 * configure.host (iq2000): Add tabs.
4486
8266e478
JJ
44872003-06-20 Jeff Johnston <jjohnstn@redhat.com>
4488
4489 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
4490 to handle latest on_exit change.
4491 * libc/sys/linux/Makefile.am: Remove special compilation
4492 for malloc.c and mcheck.c.
4493 * libc/sys/linux/Makefile.in: Regenerated.
4494 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
4495 after including <features.h>.
4496 * libc/sys/linux/mcheck.c: Ditto.
4497 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
4498 for <features.h>.
4499 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
4500 add -DNOT_IN_libc to C flags.
4501 * libc/sys/linux/intl/Makefile.in: Regenerated.
4502 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
4503 * libc/sys/linux/linuxthreads/semaphore.h: Include
4504 <bits/pthreadtypes.h>.
4505 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
4506 including <features.h>.
4507 * libc/sys/linux/sys/lock.h: Ditto.
4508
0efe117b
NC
45092003-06-11 Nick Clifton <nickc@redhat.com>
4510
4511 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
4512 _on_exit_args_ptr.
4513
bfdfd7e6
AG
45142003-06-10 Stan Cox <scox@redhat.com>
4515 Anthony Green <green@redhat.com>
17c0c97d 4516
bfdfd7e6
AG
4517 * configure.host: Add iq2000 support.
4518 * newlib/libc/include/machine/ieeefp.h: Ditto.
4519 * newlib/libc/include/machine/setjmp.h: Ditto.
4520 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
4521 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
4522 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
4523 libc/machine/iq2000/Makefile.in: New files.
4524
d9e4104b
RS
45252003-06-10 Richard Sandiford <rsandifo@redhat.com>
4526
4527 * libc/sys/h8300hms/setarch.h: New file.
4528 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
4529 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
4530 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
4531 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
4532
729d1ff9
JJ
45332003-06-06 Jeff Johnston <jjohnstn@redhat.com>
4534
4535 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
4536 definition.
4537 * libc/argz/argz_add_sep.c: Ditto.
4538 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
4539 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
4540 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
4541 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
4542 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
4543 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
4544 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
4545 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
4546 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
4547 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
4548 * libc/posix/execl.c libc/posix/execle.c: Ditto.
4549 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
4550 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
4551 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
4552 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
4553 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
4554 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
4555 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
4556 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
4557 * libc/search/twalk.c libc/signal/signal.c: Ditto.
4558
75d7d177 45592003-06-05 Nick Clifton <nickc@redhat.com>
17c0c97d 4560
75d7d177
NC
4561 * libc/include/sys/reent.h (struct _on_exit_args): New
4562 structure containing fields used by the on_exit() function.
4563 (struct _atexit): Include struct _on_exit_args. For
4564 _REENT_SMALL do his via a pointer that is initialised when
4565 needed.
4566 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
4567 structure, if one has been allocated.
4568 * libc/stdlib/atexit.c (atexit): Update indirection to
4569 _fntypes field.
4570 * libc/stdlib/on_exit.c (on_exit): Indirect via the
4571 _on_exit_args structure. For _REENT_SMALL, allocate a
4572 structure if one does not exist.
4573 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
4574 structure.
4575
2129f283
JJ
45762003-06-04 Jeff Johnston <jjohnstn@redhat.com>
4577
4578 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
4579 * libc/sys/linux/net/Makefile.in: Regenerated.
4580
bf3bcac2
JJ
45812003-06-03 Jeff Johnston <jjohnstn@redhat.com>
4582
4583 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
4584 * libc/reent/fcntlr.c: Ditto.
4585 * libc/reent/fstat64r.c: Ditto.
4586 * libc/reent/linkr.c: Ditto.
4587 * libc/reent/lseek64r.c: Ditto.
4588 * libc/reent/lseekr.c: Ditto.
4589 * libc/reent/openr.c: Ditto.
4590 * libc/reent/readr.c: Ditto.
4591 * libc/reent/reent.c: Ditto.
4592 * libc/reent/sbrkr.c: Ditto.
4593 * libc/reent/signalr.c: Ditto.
4594 * libc/reent/signgam.c: Ditto.
4595 * libc/reent/statr.c: Ditto.
4596 * libc/reent/timer.c: Ditto.
4597 * libc/reent/unlinkr.c: Ditto.
4598 * libc/reent/writer.c: Ditto.
4599 * libc/syscalls/sysclose.c: Ditto.
4600 * libc/syscalls/sysexecve.c: Ditto.
4601 * libc/syscalls/sysfcntl.c: Ditto.
4602 * libc/syscalls/sysfork.c: Ditto.
4603 * libc/syscalls/sysfstat.c: Ditto.
4604 * libc/syscalls/sysgetpid.c: Ditto.
4605 * libc/syscalls/sysgettod.c: Ditto.
4606 * libc/syscalls/syskill.c: Ditto.
4607 * libc/syscalls/syslink.c: Ditto.
4608 * libc/syscalls/syslseek.c: Ditto.
4609 * libc/syscalls/sysopen.c: Ditto.
4610 * libc/syscalls/sysread.c: Ditto.
4611 * libc/syscalls/syssbrk.c: Ditto.
4612 * libc/syscalls/sysstat.c: Ditto.
4613 * libc/syscalls/systimes.c: Ditto.
4614 * libc/syscalls/sysunlink.c: Ditto.
4615 * libc/syscalls/syswait.c: Ditto.
4616 * libc/syscalls/syswrite.c: Ditto.
4617
702ceb23
JJ
46182003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
4619
4620 * libc/time/tzset_r.c: Change local variables that are
4621 set via sscanf using the %h format specifier to be unsigned short
4622 instead of int.
4623
102861c9
JJ
46242003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
4625
4626 * configure.host: Allow i[34567]86 variant.
4627 * configure.in: Likewise.
4628 * README: Likewise to the docs.
4629 * configure: Regenerated.
4630 * Makefile.in: Ditto.
4631
b359e82c
JJ
46322003-05-28 Jeff Johnston <jjohnstn@redhat.com>
4633 Tom Fitzsimmons <fitzsim@redhat.com>
4634
4635 * configure.in: Add iconvdata support for x86 linux.
4636 * configure: Regenerated.
17c0c97d 4637 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
b359e82c
JJ
4638 library, iconv, and linuxthreads support.
4639 * libc/sys/linux/configure.in: Ditto.
4640 * libc/sys/linux/Makefile.in: Regenerated.
4641 * libc/sys/linux/configure: Ditto.
4642 * iconvdata/EUC-JP.irreversible: New file.
4643 * iconvdata/Makefile.am: Ditto.
4644 * iconvdata/Makefile.in: Ditto.
4645 * iconvdata/SJIS.irreversible: Ditto.
4646 * iconvdata/aclocal.m4: Ditto.
4647 * iconvdata/configure: Ditto.
4648 * iconvdata/configure.in: Ditto.
4649 * iconvdata/dummy.c: Ditto.
4650 * iconvdata/euc-jp.c: Ditto.
4651 * iconvdata/gconv-modules: Ditto.
4652 * iconvdata/jis0201.c: Ditto.
4653 * iconvdata/jis0201.h: Ditto.
4654 * iconvdata/jis0208.c: Ditto.
4655 * iconvdata/jis0208.h: Ditto.
4656 * iconvdata/jis0212.c: Ditto.
4657 * iconvdata/jis0212.h: Ditto.
4658 * iconvdata/sjis.c: Ditto.
4659 * libc/include/errno.h: Protect definition of error_t.
4660 * libc/sys/linux/gethostid.c: New file.
4661 * libc/sys/linux/sethostid.c: Ditto.
4662 * libc/sys/linux/dl/Makefile.am: Ditto.
4663 * libc/sys/linux/dl/Makefile.in: Ditto.
4664 * libc/sys/linux/dl/abi-tag.h: Ditto.
4665 * libc/sys/linux/dl/atomicity.h: Ditto.
4666 * libc/sys/linux/dl/dl-addr.c: Ditto.
4667 * libc/sys/linux/dl/dl-cache.c: Ditto.
4668 * libc/sys/linux/dl/dl-cache.h: Ditto.
4669 * libc/sys/linux/dl/dl-close.c: Ditto.
4670 * libc/sys/linux/dl/dl-debug.c: Ditto.
4671 * libc/sys/linux/dl/dl-deps.c: Ditto.
4672 * libc/sys/linux/dl/dl-dst.h: Ditto.
4673 * libc/sys/linux/dl/dl-error.c: Ditto.
4674 * libc/sys/linux/dl/dl-fini.c: Ditto.
4675 * libc/sys/linux/dl/dl-init.c: Ditto.
4676 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
4677 * libc/sys/linux/dl/dl-libc.c: Ditto.
4678 * libc/sys/linux/dl/dl-librecon.h: Ditto.
4679 * libc/sys/linux/dl/dl-load.c: Ditto.
4680 * libc/sys/linux/dl/dl-lookup.c: Ditto.
4681 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
4682 * libc/sys/linux/dl/dl-minimal.c: Ditto.
4683 * libc/sys/linux/dl/dl-misc.c: Ditto.
4684 * libc/sys/linux/dl/dl-object.c: Ditto.
4685 * libc/sys/linux/dl/dl-open.c: Ditto.
4686 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
4687 * libc/sys/linux/dl/dl-profile.c: Ditto.
4688 * libc/sys/linux/dl/dl-profstub.c: Ditto.
4689 * libc/sys/linux/dl/dl-reloc.c: Ditto.
4690 * libc/sys/linux/dl/dl-runtime.c: Ditto.
4691 * libc/sys/linux/dl/dl-support.c: Ditto.
4692 * libc/sys/linux/dl/dl-sym.c: Ditto.
4693 * libc/sys/linux/dl/dl-version.c: Ditto.
4694 * libc/sys/linux/dl/dlfcn.h: Ditto.
4695 * libc/sys/linux/dl/do-lookup.h: Ditto.
4696 * libc/sys/linux/dl/do-rel.h: Ditto.
4697 * libc/sys/linux/dl/dynamic-link.h: Ditto.
4698 * libc/sys/linux/dl/kernel-features.h: Ditto.
4699 * libc/sys/linux/dl/ldsodefs.h: Ditto.
4700 * libc/sys/linux/dl/libintl.h: Ditto.
4701 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
4702 * libc/sys/linux/dl/unsecvars.h: Ditto.
4703 * libc/sys/linux/iconv/Makefile.am: Ditto.
4704 * libc/sys/linux/iconv/Makefile.in: Ditto.
4705 * libc/sys/linux/iconv/categories.def: Ditto.
4706 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
4707 * libc/sys/linux/iconv/gconv.c: Ditto.
4708 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
4709 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
4710 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
4711 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
4712 * libc/sys/linux/iconv/gconv_close.c: Ditto.
4713 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
4714 * libc/sys/linux/iconv/gconv_db.c: Ditto.
4715 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
4716 * libc/sys/linux/iconv/gconv_int.h: Ditto.
4717 * libc/sys/linux/iconv/gconv_open.c: Ditto.
4718 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
4719 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
4720 * libc/sys/linux/iconv/hash-string.h: Ditto.
4721 * libc/sys/linux/iconv/iconv.c: Ditto.
4722 * libc/sys/linux/iconv/iconv.h: Ditto.
4723 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
4724 * libc/sys/linux/iconv/iconv_close.c: Ditto.
4725 * libc/sys/linux/iconv/iconv_open.c: Ditto.
4726 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
4727 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
4728 * libc/sys/linux/iconv/loadinfo.h: Ditto.
4729 * libc/sys/linux/iconv/localeinfo.h: Ditto.
4730 * libc/sys/linux/iconv/loop.c: Ditto.
4731 * libc/sys/linux/iconv/skeleton.c: Ditto.
4732 * libc/sys/linux/iconv/strtab.c: Ditto.
4733 * libc/sys/linux/include/dl-hash.h: Ditto.
4734 * libc/sys/linux/include/dlfcn.h: Ditto.
4735 * libc/sys/linux/include/fnmatch.h: Ditto.
4736 * libc/sys/linux/include/gconv.h: Ditto.
4737 * libc/sys/linux/include/glob.h: Ditto.
4738 * libc/sys/linux/include/hesiod.h: Ditto.
4739 * libc/sys/linux/include/ifaddrs.h: Ditto.
4740 * libc/sys/linux/include/libc_private.h: Ditto.
4741 * libc/sys/linux/include/link.h: Ditto.
4742 * libc/sys/linux/include/namespace.h: Ditto.
4743 * libc/sys/linux/include/netconfig.h: Ditto.
4744 * libc/sys/linux/include/netdb.h: Ditto.
4745 * libc/sys/linux/include/nsswitch.h: Ditto.
4746 * libc/sys/linux/include/regex.h: Ditto.
4747 * libc/sys/linux/include/resolv.h: Ditto.
4748 * libc/sys/linux/include/rune.h: Ditto.
4749 * libc/sys/linux/include/runetype.h: Ditto.
4750 * libc/sys/linux/include/semaphore.h: Ditto.
4751 * libc/sys/linux/include/setlocale.h: Ditto.
4752 * libc/sys/linux/include/un-namespace.h: Ditto.
4753 * libc/sys/linux/include/wordexp.h: Ditto.
4754 * libc/sys/linux/include/arpa/ftp.h: Ditto.
4755 * libc/sys/linux/include/arpa/inet.h: Ditto.
4756 * libc/sys/linux/include/arpa/nameser.h: Ditto.
4757 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
4758 * libc/sys/linux/include/arpa/telnet.h: Ditto.
4759 * libc/sys/linux/include/arpa/tftp.h: Ditto.
4760 * libc/sys/linux/include/net/bpf.h: Ditto.
4761 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
4762 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
4763 * libc/sys/linux/include/net/bridge.h: Ditto.
4764 * libc/sys/linux/include/net/ethernet.h: Ditto.
4765 * libc/sys/linux/include/net/fddi.h: Ditto.
4766 * libc/sys/linux/include/net/if.h: Ditto.
4767 * libc/sys/linux/include/net/if_arc.h: Ditto.
4768 * libc/sys/linux/include/net/if_arp.h: Ditto.
4769 * libc/sys/linux/include/net/if_atm.h: Ditto.
4770 * libc/sys/linux/include/net/if_dl.h: Ditto.
4771 * libc/sys/linux/include/net/if_gif.h: Ditto.
4772 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
4773 * libc/sys/linux/include/net/if_llc.h: Ditto.
4774 * libc/sys/linux/include/net/if_media.h: Ditto.
4775 * libc/sys/linux/include/net/if_mib.h: Ditto.
4776 * libc/sys/linux/include/net/if_ppp.h: Ditto.
4777 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
4778 * libc/sys/linux/include/net/if_slvar.h: Ditto.
4779 * libc/sys/linux/include/net/if_sppp.h: Ditto.
4780 * libc/sys/linux/include/net/if_stf.h: Ditto.
4781 * libc/sys/linux/include/net/if_tap.h: Ditto.
4782 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
4783 * libc/sys/linux/include/net/if_tun.h: Ditto.
4784 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
4785 * libc/sys/linux/include/net/if_types.h: Ditto.
4786 * libc/sys/linux/include/net/if_var.h: Ditto.
4787 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
4788 * libc/sys/linux/include/net/intrq.h: Ditto.
4789 * libc/sys/linux/include/net/iso88025.h: Ditto.
4790 * libc/sys/linux/include/net/net_osdep.h: Ditto.
4791 * libc/sys/linux/include/net/netisr.h: Ditto.
4792 * libc/sys/linux/include/net/pfil.h: Ditto.
4793 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
4794 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
4795 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
4796 * libc/sys/linux/include/net/radix.h: Ditto.
4797 * libc/sys/linux/include/net/raw_cb.h: Ditto.
4798 * libc/sys/linux/include/net/route.h: Ditto.
4799 * libc/sys/linux/include/net/slcompress.h: Ditto.
4800 * libc/sys/linux/include/net/slip.h: Ditto.
4801 * libc/sys/linux/include/net/zlib.h: Ditto.
4802 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
4803 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
4804 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
4805 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
4806 * libc/sys/linux/include/netinet/igmp.h: Ditto.
4807 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
4808 * libc/sys/linux/include/netinet/in.h: Ditto.
4809 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
4810 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
4811 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
4812 * libc/sys/linux/include/netinet/in_var.h: Ditto.
4813 * libc/sys/linux/include/netinet/ip.h: Ditto.
4814 * libc/sys/linux/include/netinet/ip6.h: Ditto.
4815 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
4816 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
4817 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
4818 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
4819 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
4820 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
4821 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
4822 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
4823 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
4824 * libc/sys/linux/include/netinet/tcp.h: Ditto.
4825 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
4826 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
4827 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
4828 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
4829 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
4830 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
4831 * libc/sys/linux/include/netinet/udp.h: Ditto.
4832 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
4833 * libc/sys/linux/include/netinet6/ah.h: Ditto.
4834 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
4835 * libc/sys/linux/include/netinet6/esp.h: Ditto.
4836 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
4837 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
4838 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
4839 * libc/sys/linux/include/netinet6/in6.h: Ditto.
4840 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
4841 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
4842 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
4843 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
4844 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
4845 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
4846 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
4847 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
4848 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
4849 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
4850 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
4851 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
4852 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
4853 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
4854 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
4855 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
4856 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
4857 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
4858 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
4859 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
4860 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
4861 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
4862 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
4863 * libc/sys/linux/include/netns/idp.h: Ditto.
4864 * libc/sys/linux/include/netns/idp_var.h: Ditto.
4865 * libc/sys/linux/include/netns/ns.h: Ditto.
4866 * libc/sys/linux/include/netns/ns_error.h: Ditto.
4867 * libc/sys/linux/include/netns/ns_if.h: Ditto.
4868 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
4869 * libc/sys/linux/include/netns/sp.h: Ditto.
4870 * libc/sys/linux/include/netns/spidp.h: Ditto.
4871 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
4872 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
4873 * libc/sys/linux/include/netns/spp_var.h: Ditto.
4874 * libc/sys/linux/include/rpc/Makefile: Ditto.
4875 * libc/sys/linux/include/rpc/auth.h: Ditto.
4876 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
4877 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
4878 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
4879 * libc/sys/linux/include/rpc/clnt.h: Ditto.
4880 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
4881 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
4882 * libc/sys/linux/include/rpc/des.h: Ditto.
4883 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
4884 * libc/sys/linux/include/rpc/nettype.h: Ditto.
4885 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
4886 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
4887 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
4888 * libc/sys/linux/include/rpc/raw.h: Ditto.
4889 * libc/sys/linux/include/rpc/rpc.h: Ditto.
4890 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
4891 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
4892 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
4893 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
4894 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
4895 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
4896 * libc/sys/linux/include/rpc/svc.h: Ditto.
4897 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
4898 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
4899 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
4900 * libc/sys/linux/include/rpc/types.h: Ditto.
4901 * libc/sys/linux/include/rpc/xdr.h: Ditto.
4902 * libc/sys/linux/intl/Makefile.am: Ditto.
4903 * libc/sys/linux/intl/Makefile.in: Ditto.
4904 * libc/sys/linux/intl/bindtextdom.c: Ditto.
4905 * libc/sys/linux/intl/catgets.c: Ditto.
4906 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
4907 * libc/sys/linux/intl/config.h: Ditto.
4908 * libc/sys/linux/intl/dcgettext.c: Ditto.
4909 * libc/sys/linux/intl/dcigettext.c: Ditto.
4910 * libc/sys/linux/intl/dcngettext.c: Ditto.
4911 * libc/sys/linux/intl/dgettext.c: Ditto.
4912 * libc/sys/linux/intl/dngettext.c: Ditto.
4913 * libc/sys/linux/intl/explodename.c: Ditto.
4914 * libc/sys/linux/intl/finddomain.c: Ditto.
4915 * libc/sys/linux/intl/gettext.c: Ditto.
4916 * libc/sys/linux/intl/gettext.h: Ditto.
4917 * libc/sys/linux/intl/gettextP.h: Ditto.
4918 * libc/sys/linux/intl/hash-string.h: Ditto.
4919 * libc/sys/linux/intl/l10nflist.c: Ditto.
4920 * libc/sys/linux/intl/loadinfo.h: Ditto.
4921 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
4922 * libc/sys/linux/intl/locale.alias: Ditto.
4923 * libc/sys/linux/intl/localealias.c: Ditto.
4924 * libc/sys/linux/intl/ngettext.c: Ditto.
4925 * libc/sys/linux/intl/open_catalog.c: Ditto.
4926 * libc/sys/linux/intl/plural.c: Ditto.
4927 * libc/sys/linux/intl/plural.y: Ditto.
4928 * libc/sys/linux/intl/stpcpy.c: Ditto.
4929 * libc/sys/linux/intl/textdomain.c: Ditto.
4930 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
4931 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
4932 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
4933 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
4934 * libc/sys/linux/linuxthreads/attr.c: Ditto.
4935 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
4936 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
4937 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
4938 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
4939 * libc/sys/linux/linuxthreads/config.h: Ditto.
4940 * libc/sys/linux/linuxthreads/configure: Ditto.
4941 * libc/sys/linux/linuxthreads/configure.in: Ditto.
4942 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
4943 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
4944 * libc/sys/linux/linuxthreads/events.c: Ditto.
4945 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
4946 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
4947 * libc/sys/linux/linuxthreads/internals.h: Ditto.
4948 * libc/sys/linux/linuxthreads/join.c: Ditto.
4949 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
4950 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
4951 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
4952 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
4953 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
4954 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
4955 * libc/sys/linux/linuxthreads/manager.c: Ditto.
4956 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
4957 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
4958 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
4959 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
4960 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
4961 * libc/sys/linux/linuxthreads/prio.c: Ditto.
4962 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
4963 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
4964 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
4965 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
4966 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
4967 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
4968 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
4969 * libc/sys/linux/linuxthreads/queue.h: Ditto.
4970 * libc/sys/linux/linuxthreads/reent.c: Ditto.
4971 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
4972 * libc/sys/linux/linuxthreads/restart.h: Ditto.
4973 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
4974 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
4975 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
4976 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
4977 * libc/sys/linux/linuxthreads/signals.c: Ditto.
4978 * libc/sys/linux/linuxthreads/specific.c: Ditto.
4979 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
4980 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
4981 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
4982 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
4983 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
4984 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
4985 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
4986 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
4987 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
4988 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
4989 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
4990 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
4991 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
4992 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
4993 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
4994 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
4995 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
4996 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
4997 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
4998 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
4999 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
5000 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
5001 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
5002 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
5003 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
5004 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
5005 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
5006 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
5007 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
5008 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
5009 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
5010 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
5011 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
5012 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
5013 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
5014 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
5015 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
5016 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
5017 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
5018 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
5019 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
5020 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
5021 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
5022 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
5023 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
5024 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
5025 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
5026 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
5027 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
5028 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
5029 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
5030 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
5031 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
5032 * libc/sys/linux/linuxthreads/unload.c: Ditto.
5033 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
5034 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
5035 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
5036 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
5037 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
5038 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
5039 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
5040 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
5041 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
5042 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
5043 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
5044 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
5045 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
5046 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
5047 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
5048 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
5049 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
5050 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
5051 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
5052 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
5053 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
5054 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
5055 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
5056 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
5057 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
5058 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
5059 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
5060 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
5061 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
5062 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
5063 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
5064 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
5065 * libc/sys/linux/net/Makefile.am: Ditto.
5066 * libc/sys/linux/net/Makefile.in: Ditto.
5067 * libc/sys/linux/net/addr2ascii.3: Ditto.
5068 * libc/sys/linux/net/addr2ascii.c: Ditto.
5069 * libc/sys/linux/net/ascii2addr.c: Ditto.
5070 * libc/sys/linux/net/base64.c: Ditto.
5071 * libc/sys/linux/net/bindresvport.c: Ditto.
5072 * libc/sys/linux/net/byteorder.3: Ditto.
5073 * libc/sys/linux/net/ether_addr.c: Ditto.
5074 * libc/sys/linux/net/ethers.3: Ditto.
5075 * libc/sys/linux/net/getaddrinfo.3: Ditto.
5076 * libc/sys/linux/net/getaddrinfo.c: Ditto.
5077 * libc/sys/linux/net/gethostbydns.c: Ditto.
5078 * libc/sys/linux/net/gethostbyht.c: Ditto.
5079 * libc/sys/linux/net/gethostbyname.3: Ditto.
5080 * libc/sys/linux/net/gethostbynis.c: Ditto.
5081 * libc/sys/linux/net/gethostnamadr.c: Ditto.
5082 * libc/sys/linux/net/getifaddrs.3: Ditto.
5083 * libc/sys/linux/net/getifaddrs.c: Ditto.
5084 * libc/sys/linux/net/getipnodebyname.3: Ditto.
5085 * libc/sys/linux/net/getnameinfo.3: Ditto.
5086 * libc/sys/linux/net/getnameinfo.c: Ditto.
5087 * libc/sys/linux/net/getnetbydns.c: Ditto.
5088 * libc/sys/linux/net/getnetbyht.c: Ditto.
5089 * libc/sys/linux/net/getnetbynis.c: Ditto.
5090 * libc/sys/linux/net/getnetent.3: Ditto.
5091 * libc/sys/linux/net/getnetnamadr.c: Ditto.
5092 * libc/sys/linux/net/getproto.c: Ditto.
5093 * libc/sys/linux/net/getprotoent.3: Ditto.
5094 * libc/sys/linux/net/getprotoent.c: Ditto.
5095 * libc/sys/linux/net/getprotoname.c: Ditto.
5096 * libc/sys/linux/net/getservbyname.c: Ditto.
5097 * libc/sys/linux/net/getservbyport.c: Ditto.
5098 * libc/sys/linux/net/getservent.3: Ditto.
5099 * libc/sys/linux/net/getservent.c: Ditto.
5100 * libc/sys/linux/net/herror.c: Ditto.
5101 * libc/sys/linux/net/hesiod.3: Ditto.
5102 * libc/sys/linux/net/hesiod.c: Ditto.
5103 * libc/sys/linux/net/if_indextoname.3: Ditto.
5104 * libc/sys/linux/net/ifname.c: Ditto.
5105 * libc/sys/linux/net/inet.3: Ditto.
5106 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
5107 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
5108 * libc/sys/linux/net/inet_addr.c: Ditto.
5109 * libc/sys/linux/net/inet_lnaof.c: Ditto.
5110 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
5111 * libc/sys/linux/net/inet_net.3: Ditto.
5112 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
5113 * libc/sys/linux/net/inet_net_pton.c: Ditto.
5114 * libc/sys/linux/net/inet_neta.c: Ditto.
5115 * libc/sys/linux/net/inet_netof.c: Ditto.
5116 * libc/sys/linux/net/inet_network.c: Ditto.
5117 * libc/sys/linux/net/inet_ntoa.c: Ditto.
5118 * libc/sys/linux/net/inet_ntop.c: Ditto.
5119 * libc/sys/linux/net/inet_pton.c: Ditto.
5120 * libc/sys/linux/net/innetgr-stub.c: Ditto.
5121 * libc/sys/linux/net/ip6opt.c: Ditto.
5122 * libc/sys/linux/net/iso_addr.3: Ditto.
5123 * libc/sys/linux/net/iso_addr.c: Ditto.
5124 * libc/sys/linux/net/issetugid-stub.c: Ditto.
5125 * libc/sys/linux/net/linkaddr.3: Ditto.
5126 * libc/sys/linux/net/linkaddr.c: Ditto.
5127 * libc/sys/linux/net/map_v4v6.c: Ditto.
5128 * libc/sys/linux/net/name6.c: Ditto.
5129 * libc/sys/linux/net/namespace.h: Ditto.
5130 * libc/sys/linux/net/ns.3: Ditto.
5131 * libc/sys/linux/net/ns_addr.c: Ditto.
5132 * libc/sys/linux/net/ns_name.c: Ditto.
5133 * libc/sys/linux/net/ns_netint.c: Ditto.
5134 * libc/sys/linux/net/ns_ntoa.c: Ditto.
5135 * libc/sys/linux/net/ns_parse.c: Ditto.
5136 * libc/sys/linux/net/ns_print.c: Ditto.
5137 * libc/sys/linux/net/ns_ttl.c: Ditto.
5138 * libc/sys/linux/net/nsap_addr.c: Ditto.
5139 * libc/sys/linux/net/nsdispatch.3: Ditto.
5140 * libc/sys/linux/net/nsdispatch.c: Ditto.
5141 * libc/sys/linux/net/nslexer.c: Ditto.
5142 * libc/sys/linux/net/nslexer.l: Ditto.
5143 * libc/sys/linux/net/nsparser.c: Ditto.
5144 * libc/sys/linux/net/nsparser.h: Ditto.
5145 * libc/sys/linux/net/nsparser.y: Ditto.
5146 * libc/sys/linux/net/rcmd.3: Ditto.
5147 * libc/sys/linux/net/rcmd.c: Ditto.
5148 * libc/sys/linux/net/rcmdsh.3: Ditto.
5149 * libc/sys/linux/net/rcmdsh.c: Ditto.
5150 * libc/sys/linux/net/recv.c: Ditto.
5151 * libc/sys/linux/net/res_comp.c: Ditto.
5152 * libc/sys/linux/net/res_config.h: Ditto.
5153 * libc/sys/linux/net/res_data.c: Ditto.
5154 * libc/sys/linux/net/res_debug.c: Ditto.
5155 * libc/sys/linux/net/res_init.c: Ditto.
5156 * libc/sys/linux/net/res_mkquery.c: Ditto.
5157 * libc/sys/linux/net/res_mkupdate.c: Ditto.
5158 * libc/sys/linux/net/res_query.c: Ditto.
5159 * libc/sys/linux/net/res_send.c: Ditto.
5160 * libc/sys/linux/net/res_update.c: Ditto.
5161 * libc/sys/linux/net/resolver.3: Ditto.
5162 * libc/sys/linux/net/rthdr.c: Ditto.
5163 * libc/sys/linux/net/send.c: Ditto.
5164 * libc/sys/linux/net/un-namespace.h: Ditto.
5165 * libc/sys/linux/net/vars.c: Ditto.
5166 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
5167 * libc/sys/linux/stdlib/Makefile.am: Ditto.
5168 * libc/sys/linux/stdlib/Makefile.in: Ditto.
5169 * libc/sys/linux/stdlib/cclass.h: Ditto.
5170 * libc/sys/linux/stdlib/cname.h: Ditto.
5171 * libc/sys/linux/stdlib/collate.c: Ditto.
5172 * libc/sys/linux/stdlib/collate.h: Ditto.
5173 * libc/sys/linux/stdlib/collcmp.c: Ditto.
5174 * libc/sys/linux/stdlib/engine.c: Ditto.
5175 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
5176 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
5177 * libc/sys/linux/stdlib/glob.3: Ditto.
5178 * libc/sys/linux/stdlib/glob.c: Ditto.
5179 * libc/sys/linux/stdlib/reallocf.c: Ditto.
5180 * libc/sys/linux/stdlib/regcomp.c: Ditto.
5181 * libc/sys/linux/stdlib/regerror.c: Ditto.
5182 * libc/sys/linux/stdlib/regex.3: Ditto.
5183 * libc/sys/linux/stdlib/regex2.h: Ditto.
5184 * libc/sys/linux/stdlib/regexec.c: Ditto.
5185 * libc/sys/linux/stdlib/regfree.c: Ditto.
5186 * libc/sys/linux/stdlib/utils.h: Ditto.
5187 * libc/sys/linux/stdlib/wordexp.c: Ditto.
5188 * libc/sys/linux/stdlib/wordfree.c: Ditto.
5189 * libc/sys/linux/sys/dlfcn.h: Ditto.
5190 * libc/sys/linux/sys/elfclass.h: Ditto.
5191 * libc/sys/linux/sys/event.h: Ditto.
5192 * libc/sys/linux/sys/ioccom.h: Ditto.
5193 * libc/sys/linux/sys/libc-tsd.h: Ditto.
5194 * libc/sys/linux/sys/link.h: Ditto.
5195 * libc/sys/linux/sys/lock.h: Ditto.
5196 * libc/sys/linux/sys/param.h: Ditto.
5197 * libc/sys/linux/sys/socket.h: Ditto.
5198 * libc/sys/linux/sys/sockio.h: Ditto.
5199
17c0c97d 52002003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
82095e79 5201
17c0c97d 5202 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
82095e79
JJ
5203 normal mode
5204 * newlib/libc/machine/h8300/memset.S: Likewise
5205 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
5206 * newlib/lib/machine/h8300/reg_memset.S: Likewise
5207 * newlib/lib/machine/h8300/setjmp.S: Likewise
5208 * newlib/lib/machine/h8300/strcmp.S: Likewise
5209 * newlib/lib/sys/h8300hms/crt0.S: Likewise
5210
8a4b4764
CV
52112003-05-13 Corinna Vinschen <corinna@vinschen.de>
5212
5213 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
5214 * libc/include/stdio.h: Ditto.
5215 * libc/include/sys/config.h: Ditto.
5216 * libc/stdio/mktemp.c: Ditto.
5217
837e070f
CV
52182003-05-13 Corinna Vinschen <corinna@vinschen.de>
5219
5220 * libc/locale/ldpart.c (__part_load_locale): Substitute
5221 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
5222 * libc/search/hash.c (__hash_open): Ditto.
5223 (init_hash): Ditto.
5224 * libc/stdio/fseek.c (fseek): Ditto.
5225 * libc/stdio/makebuf.c (__smakebuf): Ditto.
5226 * libc/stdio/mktemp.c (_gettemp): Ditto.
5227
b47fcdf0
CV
52282003-05-12 Corinna Vinschen <corinna@vinschen.de>
5229
5230 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
5231
11e3a520
CV
52322003-05-12 Corinna Vinschen <corinna@vinschen.de>
5233
5234 * configure.host: Accomodate removing the libc/sys/cygwin dir.
5235 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
5236 if __CYGWIN_USE_BIG_TYPES__ is set.
5237 * libc/search/hash.c (__hash_open): Ditto.
5238 (init_hash): Ditto.
5239 * libc/stdio/fseek.c (fseek): Ditto.
5240 * libc/stdio/makebuf.c (__smakebuf): Ditto.
5241 * libc/stdio/mktemp.c (_gettemp): Ditto.
5242 * libc/sys/cygwin/Makefile.am: Remove.
5243 * libc/sys/cygwin/Makefile.in: Remove.
5244 * libc/sys/cygwin/aclocal.m4: Remove.
5245 * libc/sys/cygwin/configure: Remove.
5246 * libc/sys/cygwin/configure.in: Remove.
5247 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
5248 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
5249 directory.
5250 * libc/sys/cygwin/sys/param.h: Ditto.
5251 * libc/sys/cygwin/sys/utime.h: Ditto.
5252 * libc/sys/cygwin/sys/utmp.h: Ditto.
5253
d1b5e65b
CV
52542003-05-11 Corinna Vinschen <corinna@vinschen.de>
5255
5256 * libc/include/sys/types.h: Don't define key_t for Cygwin.
5257
ec48a953
CF
52582003-05-10 Christopher Faylor <cgf@redhat.com>
5259
5260 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
5261 64 bit inodes.
5262
a3cc5851
CV
52632003-05-09 Corinna Vinschen <corinna@vinschen.de>
5264
5265 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
5266 Include cygwin/config.h instead.
5267
57ff95d3
JJ
52682003-04-16 Jeff Johnston <jjohnstn@redhat.com>
5269
5270 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
5271 all code with #ifdef __SPE__ test.
5272 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
5273
cfd2c7be
CF
52742003-04-15 Chris January <chris@atomice.net>
5275
5276 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
5277 Cygwin.
5278
6f48c0ae
JR
52792003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
5280
5281 * libc/machine/sh/memset.S: Avoid clobbering volatile
5282 objects following a tiny to-be-set array in the same quadword.
5283
8f8d09c0
CV
52842001-04-09 Corinna Vinschen <corinna@vinschen.de>
5285
17c0c97d 5286 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
8f8d09c0
CV
5287 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
5288 * libc/string/Makefile.in: Regenerated.
5289 * libc/string/wcswidth.c: New file.
5290 * libc/string/wcwidth.c: New file.
5291 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
5292
40c3b2d0
JR
5293Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
5294
5295 * libc/machine/sh/memset.S: Fix problem with alloco region
5296 exceeding destination region for length >= 88 bytes, start
5297 & 0x16 == 0, end & 0x1f == 18.
5298
8ae6a3dd
CV
52992001-04-03 Corinna Vinschen <corinna@vinschen.de>
5300
5301 * libc/string/wcscoll.c: Fix comment.
5302
d122b1cc
CV
53032001-04-02 Corinna Vinschen <corinna@vinschen.de>
5304
5305 * libc/include/wchar.h: Add definition for wcscoll.
5306 * libc/string/Makefile.am: Add wcscoll.c.
5307 * libc/string/Makefile.in: Regenerated.
5308 * libc/string/wcscoll.c: New file.
17c0c97d 5309 * libc/string/wcstrings.tex: Add wcscoll.
d122b1cc 5310
31ee99a4
CV
53112003-04-01 Corinna Vinschen <corinna@vinschen.de>
5312
5313 * libc/stdio/sscanf.c: Update flags description.
5314 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
5315 type.
5316 (__svfscanf_r): Add 'hh' and 'll' handling.
5317
d78045ee
CV
53182003-04-01 Corinna Vinschen <corinna@vinschen.de>
5319
5320 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
5321 __d_position member to _off_t.
5322
e6bdc6c5
JJ
53232003-03-20 Jeff Johnston <jjohnstn@redhat.com>
5324
5325 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
5326 count all characters used to create number against maximum width.
5327 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
5328
e65d559e
JJ
53292003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
5330
5331 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
5332 support.
5333 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
5334 flag to support simulator only extensions.
5335
6b3bb52b
JJ
53362003-03-17 Bob Cassels <bcassels@abinitio.com>
5337
17c0c97d 5338 * libc/string/wcschr.c: (wcschr): Look for character first,
6b3bb52b
JJ
5339 then for end of string, so you can do wcschr(x, '\0').
5340
17c0c97d 53412003-03-10 Corinna Vinschen <corinna@vinschen.de>
2a940c1a
CV
5342
5343 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
5344 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
5345 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
5346 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
5347 * libc/stdio/fseeko.c (fseeko): Ditto.
5348 * libc/stdio/ftello.c (ftello): Ditto.
5349 * libc/stdio/stdio.c (__swrite): Ditto.
5350 (__sseek): Ditto.
5351 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
5352 * libc/stdio/fseek.c (fseek): Ditto.
5353 * libc/stdio/fsetpos.c (fsetpos): Ditto.
5354 * libc/stdio/ftell.c (ftell): Ditto.
5355 * libc/stdio/local.h: Declare __sseek using _off_t.
5356
150c2818
CV
53572003-03-09 Corinna Vinschen <corinna@vinschen.de>
5358
5359 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
5360
2c440f9c
CV
53612003-03-09 Corinna Vinschen <corinna@vinschen.de>
5362
5363 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
5364 Cygwin.
5365
f882fd15
CV
53662003-03-09 Corinna Vinschen <corinna@vinschen.de>
5367
5368 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
5369 Cygwin.
5370 * libc/include/sys/stat.h: Ditto.
5371 * libc/include/sys/unistd.h: Ditto.
5372 * libc/sys/cygwin/sys/dirent.h: Ditto.
5373
01d61543
CF
53742003-03-07 Christopher Faylor <cgf@redhat.com>
5375
5376 * libc/include/sys/unistd.h: Guard getopt.h call to force only
5377 declaration of getopt and avoid getopt_long declaration.
5378 * libc/sys/cygwin/include/unistd.h: Remove.
5379
5582abd2
CV
53802003-03-07 Corinna Vinschen <corinna@vinschen.de>
5381
5382 * configure.host: Define stdio64_dir for Cygwin.
5383 * libc/include/stdio.h: Change definition of fpos_t to fulfill
5384 Cygwin 64bit file access requirements.
5385 Drop definition of f*64() functions when compiled for Cygwin.
5386 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
5387 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
5388 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
5389
641da1eb
JJ
53902003-03-07 Jeff Johnston <jjohnstn@redhat.com>
5391
5392 * libc/include/sys/reent.h: Remove extraneous _sig_func
5393 declaration.
5394
53952003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
41a639de
JJ
5396
5397 * libc/sys/h8300hms/Makefile.am: Add support for new files.
5398 * libc/sys/h8300hms/Makefile.in: Regenerated.
5399 * libc/sys/h8300hms/close.S: New file.
5400 * libc/sys/h8300hms/fstat.S: Ditto.
5401 * libc/sys/h8300hms/lseek.S: Ditto.
5402 * libc/sys/h8300hms/open.S: Ditto.
5403 * libc/sys/h8300hms/stat.S: Ditto.
5404 * libc/sys/h8300hms/read.S: New file to replace read.c.
5405 * libc/sys/h8300hms/read.c: Removed.
5406 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
5407 _lseek, _close, _stat, _fstat.
5408 * libc/sys/h8300hms/write.S: New file to replace write.c.
5409 * libc/sys/h8300hms/write.c: Removed.
5410
bac50d6b
NC
54112003-02-20 Nick Clifton <nickc@redhat.com>
5412
5413 * Add support for Cirrus Maverick ARM co-processor:
17c0c97d 5414
bac50d6b
NC
5415 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
5416
5417 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
5418 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
5419
5420 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
5421
5422 * configure.host: set sys_dir, syscall_dir, and
5423 newlib_cflags for ep9312 host.
5424
5425 * configure.host: Restore alpha sorting of entries in case
5426 statements.
5427
12ee7037
JJ
54282003-02-19 Jeff Johnston <jjohnstn@redhat.com>
5429
5430 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
5431
1e810ba0
JJ
54322003-02-18 Christian Groessler <chris@groessler.org>
5433
5434 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
5435 support z8001 segmented mode.
5436
b1ca765e
JJ
54372003-02-18 Earnie Boyd <earnie@users.sf.net>
5438
5439 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
5440 with a NULL value.
5441
51a46b54
CF
54422003-02-10 Christopher Faylor <cgf@redhat.com>
5443
5444 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
5445 Don't define some types under cygwin.
5446
313f1349
JJ
54472003-02-07 Jeff Johnston <jjohnstn@redhat.com>
5448
17c0c97d 5449 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
313f1349
JJ
5450 option to allow disabling of syscalls being supplied in newlib.
5451 * aclocal.m4: Regenerated.
5452 * configure: Ditto.
5453 * configure.host: Add support of new configuration option and add
5454 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
5455 * doc/aclocal.m4: Regenerated.
5456 * doc/configure: Ditto.
5457 * libc/*aclocal.m4: Ditto.
5458 * libc/*configure: Ditto.
5459 * libm/*aclocal.m4: Ditto.
5460 * libm/*configure: Ditto.
5461 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
5462 is disabled.
5463 * libc/sys/arm/Makefile.in: Regenerated.
5464
5017a3da
JJ
54652003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
5466
5467 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
5468 -1 to be sure it cannot later match a valid file fd causing
5469 isatty() to return 1.
5470 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
5471 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
5472 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
5473
ad36f7d1
JJ
54742003-02-03 Jeff Johnston <jjohnstn@redhat.com>
5475
5476 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
17c0c97d
EB
5477 buffer based on the precision, after we have processed the input value
5478 in a local buffer and know its relative magnitude.
ad36f7d1 5479
a74181ee
JJ
54802003-01-31 Michael Snyder <msnyder@redhat.com>
5481
5482 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
5483 into registers r1 and r2, so that the simulator can distinguish
5484 this trap from a breakpoint trap. Copied from libgloss.
5485
b85498d4
JJ
54862003-01-31 Michael Snyder <msnyder@redhat.com>
5487
5488 * libc/sys/h8300hms/crt0.S (_start): Change local label
5489 from .loop to .Loop, so that ld and gdb will ignore it.
5490
4700b829
JJ
54912003-01-29 Jason Tishler <jason@tishler.net>
5492
5493 * libc/include/time.h: Declare nanosleep() under Cygwin.
5494
0127ae40
NC
54952003-01-24 Nick Clifton <nickc@redhat.com>
5496
5497 * Add sh2e support:
5498
5499 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
5500
5501 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
5502 * libc/machine/sh/setjmp.S: Likewise.
5503 * libc/include/machine/ieeefp.h: Likewise.
5504
8bbcd9a1
CV
55052003-01-24 Corinna Vinschen <corinna@vinschen.de>
5506
5507 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
5508 for Cygwin.
5509
b8838e6f 55102003-01-21 Anita Kulkarni <anitak@kpit.com>
17c0c97d 5511
b8838e6f
JJ
5512 * libc/time/difftime.c : Typecast the result to double.
5513
f9e41155
CF
55142003-01-20 Christopher Faylor <cgf@redhat.com>
5515
5516 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
5517
6b5a7988
NC
55182003-01-18 Nick Clifton <nickc@redhat.com>
5519
5520 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
5521 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
5522
c3e92877
JJ
55232003-01-16 Joel Sherrill <joel@OARcorp.com>
5524
5525 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
17c0c97d 5526 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
c3e92877
JJ
5527 constants are defined in each file in the shared versions in
5528 libc/include.
5529 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
5530 autoconf can link programs.
5531 * libc/include/machine/types.h: Explicitly specify signed on
5532 intXX_t types to ensure they are signed.
5533
84510217
CF
55342003-01-14 Christopher Faylor <cgf@redhat.com>
5535
5536 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
5537 extensions.
5538
b3934ab3
RS
55392003-01-08 Richard Sandiford <rsandifo@redhat.com>
5540
5541 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
5542
be9c60e5
JJ
55432003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
5544
5545 * libc/stdio/sprintf.c: fix typo
5546 * libc/stdio/vfprintf.c: fix typo
5547
d4c3a750
JJ
55482003-01-07 Jeff Johnston <jjohnstn@redhat.com>
5549
5550 * configure.host: Support long double I/O for x86-linux.
5551 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
5552 large enough to hold formatted result.
5553 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
5554
b2294aaa
JJ
55552003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
5556
5557 * Makefile.am: Add vasprintf.
5558 * Makefile.in: Regenerated.
5559
ea5e5daf
JJ
55602003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
5561
5562 * asprintf.c (_asprintf_r): insure both declarations
5563 are the same.
5564
5c581eca
CF
55652002-12-28 Christopher Faylor <cgf@redhat.com>
5566
5567 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
5568 than defining getopt directly.
5569
60b0838f
JJ
55702002-12-20 Jeff Johnston <jjohnstn@redhat.com>
5571
5572 * NEWS: Update with 1.11.0 info.
5573 * README: Ditto.
5574 * acinclude.m4: Change version number to 1.11.0.
5575 * aclocal.m4: Regenerated.
5576 * configure: Ditto.
5577 * doc/aclocal.m4: Ditto.
5578 * doc/configure: Ditto.
5579 * libc/*/aclocal.m4: Ditto.
5580 * libc/*/configure: Ditto.
5581 * libc/libc.texinfo: Ditto.
5582 * libm/*/aclocal.m4: Ditto.
5583 * libm/*/configure: Ditto.
5584 * libm/libm.texinfo: Ditto.
5585 * libc/sys/linux/shared.ld: Add VERS_1.11.
5586
10501d57
JJ
55872002-12-20 Jeff Johnston <jjohnstn@redhat.com>
5588
5589 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
5590 Solutions to Red Hat Inc.
5591 * libc/machine/i386/f_atan2f.S: Ditto.
5592 * libc/machine/i386/f_exp.c: Ditto.
5593 * libc/machine/i386/f_expf.c: Ditto.
5594 * libc/machine/i386/f_frexp.S: Ditto.
5595 * libc/machine/i386/f_frexpf.S: Ditto.
5596 * libc/machine/i386/f_ldexp.S: Ditto.
5597 * libc/machine/i386/f_ldexpf.S: Ditto.
5598 * libc/machine/i386/f_log.S: Ditto.
5599 * libc/machine/i386/f_log10.S: Ditto.
5600 * libc/machine/i386/f_log10f.S: Ditto.
5601 * libc/machine/i386/f_logf.S: Ditto.
5602 * libc/machine/i386/f_pow.c: Ditto.
5603 * libc/machine/i386/f_powf.c: Ditto.
5604 * libc/machine/i386/f_tan.S: Ditto.
5605 * libc/machine/i386/f_tanf.S: Ditto.
5606 * libc/machine/i386/memchr.S: Ditto.
5607 * libc/machine/i386/memcmp.S: Ditto.
5608 * libc/machine/i386/memcpy.S: Ditto.
5609 * libc/machine/i386/memmove.S: Ditto.
5610 * libc/machine/i386/memset.S: Ditto.
5611 * libc/machine/i386/strchr.S: Ditto.
5612 * libc/machine/i386/strlen.S: Ditto.
5613 * libm/machine/i386/f_atan2.S: Ditto.
5614 * libm/machine/i386/f_atan2f.S: Ditto.
5615 * libm/machine/i386/f_exp.c: Ditto.
5616 * libm/machine/i386/f_expf.c: Ditto.
5617 * libm/machine/i386/f_frexp.S: Ditto.
5618 * libm/machine/i386/f_frexpf.S: Ditto.
5619 * libm/machine/i386/f_ldexp.S: Ditto.
5620 * libm/machine/i386/f_ldexpf.S: Ditto.
5621 * libm/machine/i386/f_log.S: Ditto.
5622 * libm/machine/i386/f_log10.S: Ditto.
5623 * libm/machine/i386/f_log10f.S: Ditto.
5624 * libm/machine/i386/f_logf.S: Ditto.
5625 * libm/machine/i386/f_pow.c: Ditto.
5626 * libm/machine/i386/f_powf.c: Ditto.
5627 * libm/machine/i386/f_tan.S: Ditto.
5628 * libm/machine/i386/f_tanf.S: Ditto.
5629
9b3f0d16
JJ
56302002-12-20 Jeff Johnston <jjohnstn@redhat.com>
5631
5632 * libc/stdlib/environ.c: Update license to Red Hat.
5633 * libc/machine/hppa/setjmp.S: Ditto.
5634 * libm/test/Makefile.in: Ditto.
5635
d693ad84
JJ
56362002-12-19 Jeff Johnston <jjohnstn@redhat.com>
5637
5638 * configure.host: Remove references to go32.
5639 * libc/sys/go32/*: Removed.
5640
7da92d15
JJ
56412002-12-16 Kazu Hirata <kazu@cs.umass.edu>
5642
5643 * libc/include/sys/config.h: Change setting of INT_MAX
5644 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
5645 __H8300S__. Also consolidate flag settings for these
5646 platforms.
5647
ea01c7f5
JJ
56482002-12-10 Joel Sherrill <joel@OARcorp.com>
5649
5650 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
5651 for i386-rtems targets.
5652
c049dd5a
JJ
56532002-12-06 Jeff Johnston <jjohnstn@redhat.com>
5654
5655 * libc/include/stdlib.h (strtof): New prototype (from C99).
5656 (strtodf): Changed from prototype to macro which redefines
5657 to strtof.
5658 * libc/stdlib/atof.c: Change documentation to refer to strtof
5659 instead of strtodf.
5660 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
5661 strtodf.
5662 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
5663 (strtof): New function.
5664 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
5665 calls strtof.
5666
46a402e0
CF
56672002-11-27 Christopher Faylor <cgf@redhat.com>
5668
5669 * libc/string/memset.c (memset): Fix comment.
5670
b3cc01b0
CF
56712002-11-26 Christopher Faylor <cgf@redhat.com>
5672
5673 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
5674 function.
5675
d90f3dc1
CF
56762002-11-25 Christopher Faylor <cgf@redhat.com>
5677
5678 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
5679 variable, introduced below, everywhere.
5680
f24585c6
KH
56812002-11-25 Kazu Hirata <kazu@cs.umass.edu>
5682
5683 * libc/string/memset.c (memset): Make it safe even if
5684 sizeof (int) = 2.
5685
2955fd76
JJ
56862002-11-22 Joe Buehler <jbuehler@hekimian.com>
5687
5688 * configure.in: Change check for libc/include in ${CC} to
5689 use an intermediate value so as to work with different shells.
5690 * configure: Regenerated.
5691 * Makefile.in: Ditto.
5692
40ce7368
JJ
56932002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
5694
5695 * libc/sys/h8300hms/read.c: Add support for normal mode
5696 architecture.
5697
505746ad
JJ
56982002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
5699
5700 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
5701 code for __H8300H__ and __H8300S__. Also return 32-bit return code
5702 when -mint32 is used.
5703
28ecb2f5
NC
57042002-11-18 Nick Clifton <nickc@redhat.com>
5705
5706 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
5707
665b994e
JJ
57082002-11-14 Jeff Johnston <jjohnstn@redhat.com>
5709
5710 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
5711 only issue one pass/fail message for a compile/link/execute.
5712 * testsuite/newlib.elix/elix.exp: New file.
5713 * testsuite/newlib.elix/tmmap.c: Ditto.
5714
e91ec2e3
CF
57152002-11-06 Christopher Faylor <cgf@redhat.com>
5716
5717 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
5718 * libc/stdlib/mlock.c: Ditto.
5719 * libc/stdlib/msize.c: Ditto.
5720 * libc/stdlib/msize.c: Ditto.
5721 * libc/stdlib/mtrim.c: Ditto.
5722 * libc/stdlib/valloc.c: Ditto.
5723
944772c7
JJ
57242002-11-12 Jeff Johnston <jjohnstn@redhat.com>
5725
5726 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
5727 for inf/nan, make sure that the check ignores the sign bit.
5728
dd7ee147
JJ
57292002-11-07 Joel Sherrill <joel@OARcorp.com>
5730
5731 * libc/sys/rtems/machine: New directory.
5732 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
5733 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
5734 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
5735 targets more BSD like when installed without requiring files to
5736 be overwritten at install point when RTEMS itself is installed.
5737 * Makefile.am: Pick up system dependent machine .h files such as
5738 might be found on a BSD-ish system.
5739 * Makefile.in: Regenerate.
5740 * libc/include/machine/types.h: When on an RTEMS target, define a
17c0c97d 5741 few BSD flavor types.
dd7ee147
JJ
5742
57432002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
503430d8
CF
5744
5745 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
5746
18cd62b7
JJ
57472002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
5748
5749 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
5750 * libc/include/wctype.h: Ditto.
5751
d2888812
JJ
57522002-11-04 Jeff Johnston <jjohnstn@redhat.com>
5753
5754 * libc/include/wchar.h: Add extern "C" specifier if C++.
5755 * libc/include/wctype.h: Ditto.
5756
978ea3cf
JJ
57572002-10-18 Jeff Johnston <jjohnstn@redhat.com>
5758
5759 * testsuite/newlib.wctype/tiswctype.c: New test case.
5760 * testsuite/newlib.wctype/twctrans.c: Ditto.
5761
a42cf80a
JJ
57622002-10-18 Jeff Johnston <jjohnstn@redhat.com>
5763
5764 * libc/sys/linux/machine/i386/include/endian.h: New file.
5765 * libc/sys/linux/machine/i386/include/param.h: Ditto.
5766
c9ccb1f2
JJ
57672002-10-18 Jeff Johnston <jjohnstn@redhat.com>
5768
5769 * libm/machine/i386/aclocal.m4: Regenerated.
5770 * libm/machine/i386/configure: Ditto.
5771
94c5b430
JJ
57722002-10-18 Jeff Johnston <jjohnstn@redhat.com>
5773
5774 * testsuite/include/check.h: New header file to use with
5775 test cases.
5776 * testsuite/lib/newlib.exp: Add testsuite/include directory
5777 to list of header files to use.
5778 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
5779 * testsuite/newlib.wctype/wctype.exp: New file.
5780
ccdae543
RS
57812002-10-11 Graham Stott <graham.stott@btinternet.com>
5782 Richard Sandiford <rsandifo@redhat.com>
f770cf44
RS
5783
5784 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
5785 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
5786 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
5787
73972116
JS
57882002-10-07 Joel Sherrill <joel@OARcorp.com>
5789
5790 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
5791 dummy programs.
5792
89e3fcba
JS
57932002-10-07 Joel Sherrill <joel@OARcorp.com>
5794
5795 * libc/include/pthread.h: Define PTHREAD_CANCELED.
5796
54ec52e4
JS
57972002-10-07 Joel Sherrill <joel@OARcorp.com>
5798
5799 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
5800 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
5801 compile with current GNU tools.
5802
d389acba
JJ
58032002-10-07 Jeff Johnston <jjohnstn@redhat.com>
5804
5805 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
5806 the build library.
5807 * configure.in: Ditto.
5808 * Makefile.in: Regenerated.
5809 * configure: Ditto.
5810 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
5811 for specifying configured libraries/directories.
5812 * libc/sys/linux/configure.in: Ditto.
5813 * libc/sys/linux/Makefile.in: Regenerated.
5814 * libc/sys/linux/configure: Ditto.
5815
af5a221f
JJ
58162002-10-03 Jeff Johnston <jjohnstn@redhat.com>
5817
5818 * libc/include/reent.h: Update documentation at start of file.
5819
59a758bd
JW
58202002-09-27 Jim Wilson <wilson@redhat.com>
5821
5822 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
5823 the ctbp register.
5824
1ed3c86d
JJ
58252002-09-27 Jeff Johnston <jjohnstn@redhat.com>
5826
5827 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
5828 Also convert to EUCJP before using arrays. For values not in
5829 the conversion arrays, return WEOF.
5830 * libc/ctype/jp2uc.h: Change from one array to a number of
5831 arrays to account for the fact that the originating table
5832 is not contiguous for the input values since some are invalid.
5833
6e1dfd2d
JJ
58342002-09-24 Jeff Johnston <jjohnstn@redhat.com>
5835
5836 * libc/time/ctime.c: Fix prototype documentation.
5837
06f1353a
CV
58382002-09-24 Corinna Vinschen <corinna@vinschen.de>
5839
5840 * libc/include/sys/errno.h: Add EOVERFLOW.
5841
1e0e64c9
JJ
58422002-09-20 Jeff Johnston <jjohnstn@redhat.com>
5843
5844 * libc/include/wctype.h: New file.
5845
1525d127
JJ
58462002-09-20 Jeff Johnston <jjohnstn@redhat.com>
5847
5848 * libc/ctype/Makefile.am: Add new files.
5849 * libc/ctype/Makefile.in: Regenerated.
5850 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
5851 and wctrans functions to documentation index.
5852 * libc/ctype/iswalnum.c: New file.
5853 * libc/ctype/iswalpha.c: Ditto.
5854 * libc/ctype/iswblank.c: Ditto.
5855 * libc/ctype/iswcntrl.c: Ditto.
5856 * libc/ctype/iswctype.c: Ditto.
5857 * libc/ctype/iswdigit.c: Ditto.
5858 * libc/ctype/iswgraph.c: Ditto.
5859 * libc/ctype/iswlower.c: Ditto.
5860 * libc/ctype/iswprint.c: Ditto.
5861 * libc/ctype/iswpunct.c: Ditto.
5862 * libc/ctype/iswspace.c: Ditto.
5863 * libc/ctype/iswupper.c: Ditto.
5864 * libc/ctype/iswxdigit.c: Ditto.
5865 * libc/ctype/jp2uc.c: Ditto.
5866 * libc/ctype/jp2uc.h: Ditto.
5867 * libc/ctype/local.h: Ditto.
5868 * libc/ctype/towctrans.c: Ditto.
5869 * libc/ctype/towlower.c: Ditto.
5870 * libc/ctype/towupper.c: Ditto.
5871 * libc/ctype/utf8alpha.h: Ditto.
5872 * libc/ctype/utf8print.h: Ditto.
5873 * libc/ctype/utf8punct.h: Ditto.
5874 * libc/ctype/wctrans.c: Ditto.
5875 * libc/ctype/wctype.c: Ditto.
5876 * libc/locale/locale.c (__lc_ctype): New external array to
5877 replace static lc_ctype array.
5878 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
5879 rather than reentrancy structure's _current_locale field.
5880 * libc/stdlib/wctomb_r.c: Ditto.
5881
da25e61f
JJ
58822002-09-20 Jeff Johnston <jjohnstn@redhat.com>
5883
5884 * configure.host: Minor comment and formatting changes.
5885 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
5886 * libc/Makefile.in: Regenerated.
5887 * libc/include/sys/config.h: Minor format change.
5888
5b9ee539
JJ
58892002-09-19 Jeff Johnston <jjohnstn@redhat.com>
5890
5891 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
5892 statement comment.
5893
50558bf3
JJ
58942002-09-19 Jeff Johnston <jjohnstn@redhat.com>
5895
5896 * libc/posix/opendir.c (opendir): Change code to check
5897 for HAVE_FCNTL before calling fcntl.
5898 * libc/search/hash.c (hash_open): Ditto.
5899 * libc/search/hash_page.c (open_tmp): Ditto.
5900 * libc/reent/Makefile.am: Add fcntlr.c.
5901 * libc/reent/Makefile.in: Regenerated.
5902 * libc/reent/fcntlr.c: New file.
5903 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
5904 instead of _fcntl when HAVE_FCNTL flag is set.
5905 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
5906 to see if _fcntl or _fcntl_r should be called. If flag is not
5907 set, default to ENOSYS stub.
5908
9211a1ad
JJ
59092002-09-16 Jeff Johnston <jjohnstn@redhat.com>
5910
5911 * libc/include/wchar.h (mbstate_t): Change protective flag to
5912 be _MBSTATE_T.
5913 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
5914 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
5915 for Cygwin.
5916 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
5917
a8615092
JJ
59182002-09-11 Jeff Johnston <jjohnstn@redhat.com>
5919
5920 * acinclude.m4 (enable-newlib-mb): Change check to
5921 default newlib_mb variable to empty string rather than "no".
5922 * configure.host: Remove hard-coding of -DMB_CAPABLE for
5923 x86-linux and Cygwin. Add code to check for newlib_mb
5924 being unset in which case set to "yes" for x86-linux and
5925 Cygwin. Change check for newlib_mb being "yes" to allow
5926 for an empty string.
5927 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
5928 * newlib.hin (_MB_LEN_MAX): New define to configure.
5929 * aclocal.m4: Regenerated.
5930 * configure: Ditto.
5931 * libc/include/limits.h: New file.
5932 * libc/sys/linux/include/limits.h: Ditto.
5933 * doc/aclocal.m4 doc/configure libc/aclocal.m4
9e8b8cdb 5934 libc/configure libc/machine/aclocal.m4
a8615092
JJ
5935 libc/machine/configure libc/machine/a29k/aclocal.m4
5936 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
5937 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
5938 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
5939 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
5940 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
5941 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
5942 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
5943 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
5944 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
5945 libc/machine/i386/configure libc/machine/i960/aclocal.m4
5946 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
5947 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
5948 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
5949 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
5950 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
5951 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
5952 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
5953 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
5954 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
5955 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
5956 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
5957 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
5958 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
5959 libc/machine/v850/configure libc/machine/w65/aclocal.m4
5960 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
5961 libc/machine/xscale/configure
5962 libc/machine/xstormy16/aclocal.m4
5963 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
5964 libc/machine/z8k/configure libc/sys/aclocal.m4
5965 libc/sys/configure libc/sys/a29khif/aclocal.m4
5966 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
5967 libc/sys/arc/configure libc/sys/arm/aclocal.m4
5968 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
5969 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
5970 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
5971 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
5972 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
5973 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
5974 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
5975 libc/sys/idt/configure libc/sys/linux/aclocal.m4
9e8b8cdb 5976 libc/sys/linux/configure
a8615092
JJ
5977 libc/sys/linux/machine/aclocal.m4
5978 libc/sys/linux/machine/configure
5979 libc/sys/linux/machine/i386/aclocal.m4
5980 libc/sys/linux/machine/i386/configure
5981 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
5982 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
5983 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
5984 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
5985 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
5986 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
5987 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
5988 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
5989 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
5990 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
5991 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
5992 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
5993 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
5994 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
5995 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
5996 libm/aclocal.m4 libm/configure: Regenerated.
5997
be83844e
JJ
59982002-09-09 Jeff Johnston <jjohnstn@redhat.com>
5999
6000 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
6001 code that clears the .bss section.
6002
9c64d2a7
JJ
60032002-09-09 Jeff Johnston <jjohnstn@redhat.com>
6004
6005 * libc/include/sys/_types.h (_mbstate_t): Changed to use
6006 unsigned char internally.
6007 * libc/sys/linux/sys/_types.h: Ditto.
6008 * libc/include/sys/reent.h
6009 * libc/stdlib/mblen.c (mblen): Use function-specific state
6010 value from default reentrancy structure.
6011 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
6012 _mbtowc_r is less than 0, reset state __count value and
6013 return -1.
6014 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
6015 is NULL, use the function-specific pointer provided in the
6016 default reentrancy structure.
6017 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
6018 If input state pointer is NULL, use function-specific area
6019 provided in reentrancy structure.
6020 * libc/stdlib/mbsrtowcs.c: Ditto.
6021 * libc/stdlib/wcrtomb.c: Ditto.
6022 * libc/stdlib/wcsrtombs.c: Ditto.
6023 * libc/stdlib/mbstowcs.c: Reformat.
6024 * libc/stdlib/wcstombs.c: Ditto.
6025 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
6026 reset the state's __count value and return -1.
6027 * libc/stdlib/mbtowc.c: Ditto.
6028 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
6029 If number of bytes is used up before completing a valid multibyte
6030 character, return -2 and save the state.
6031 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
6032 and change some __count references to __state for clarity.
6033
218b7a56
JJ
60342002-09-06 Jeff Johnston <jjohnstn@redhat.com>
6035
6036 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
6037 is defined by <limits.h>.
6038
c210a6ea
JJ
60392002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
6040
6041 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
6042 defined.
6043
efa077ce
JJ
60442002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
6045
6046 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
6047 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
6048 __WCHAR_MAX__ or 0x7fffffffu.
6049 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
6050 * libc/string/wcsncmp.c: Ditto.
6051
e4b0ebc1
JJ
60522002-09-03 Jeff Johnston <jjohnstn@redhat.com>
6053
6054 * libc/string/wcschr.c: Add include of <stddef.h>.
6055 * libc/string/wcspbrk.c: Ditto.
6056 * libc/string/wcsrchr.c: Ditto.
6057 * libc/string/wcsstr.c: Ditto.
6058
3db40db7
JJ
60592002-09-03 Jeff Johnston <jjohnstn@redhat.com>
6060
6061 * libc/include/sys/_types.h (_flock_t): Added.
6062 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
6063 (__lock_try_acquire_recursive): Ditto.
6064 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
6065 _lock field.
6066 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
6067 field.
6068 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
6069 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
6070 * libc/sys/linux/include/time.h (struct timespec): Moved from
6071 <sys/types.h> and added check for __need_timespec flag so type
6072 can be defined by itself.
6073 * libc/sys/linux/sys/_types.h (_flock_t): New type.
6074 * libc/sys/linux/sys/types.h (struct timespec): Moved to
6075 <time.h>.
6076
cd45f029
TF
60772002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
6078
6079 * libc/sys/linux/argp: New directory.
6080 * libc/sys/linux/getopt.c: New file.
6081 * libc/sys/linux/getopt1.c: New file.
6082 * libc/sys/linux/getoptlong.c: Remove file.
6083 * libc/sys/linux/include/argp.h: New file.
6084 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
6085 based on ELIX level.
6086 (SUBDIRS): Add argp_dir.
6087 (SUBLIBS): Add ARGP_LIB.
6088 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
6089 getopt_long.$(oext).
6090 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
6091
3c689185
JJ
60922002-08-29 Jeff Johnston <jjohnstn@redhat.com>
6093
6094 * libc/libc.texinfo: Add node reference to wide-character strings.
6095 * libc/string/wcstrings.tex: New file.
6096 * libc/string/strtok_r.c: Remove outdated advertising clause.
6097 * libc/string/Makefile.am (doc): Add wide-character string
6098 chapter to documentation.
6099 * libc/string/Makefile.in: Regenerated.
6100
890e7a1d
JJ
61012002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
6102
6103 * libc/include/wchar.h: Define NULL. Define WEOF more general
6104 way. Declare functions in newlib manner.
6105 * libc/stdlib/Makefile.am: Delete wmem*.c
6106 * libc/stdlib/Makefile.in: Regenerated.
6107 * libc/stdlib/wmemchr.c: Delete.
6108 * libc/stdlib/wmemcmp.c: Ditto.
6109 * libc/stdlib/wmemcpy.c: Ditto.
6110 * libc/stdlib/wmemmove.c: Ditto.
6111 * libc/stdlib/wmemset.c: Ditto.
6112 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
6113 * libc/string/Makefile.in: Regenerated.
6114 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
6115 * libc/string/wcschr.c: Ditto.
6116 * libc/string/wcscmp.c: Ditto.
6117 * libc/string/wcscpy.c: Ditto.
6118 * libc/string/wcscspn.c: Ditto.
6119 * libc/string/wcslcat.c: Ditto.
6120 * libc/string/wcslcpy.c: Ditto.
6121 * libc/string/wcslen.c: Ditto.
6122 * libc/string/wcsncat.c: Ditto.
6123 * libc/string/wcsncmp.c: Ditto.
6124 * libc/string/wcsncpy.c: Ditto.
6125 * libc/string/wcspbrk.c: Ditto.
6126 * libc/string/wcsrchr.c: Ditto.
6127 * libc/string/wcsspn.c: Ditto.
6128 * libc/string/wcsstr.c: Ditto.
6129 * libc/string/wmemchr.c: Ditto.
6130 * libc/string/wmemcmp.c: Ditto.
6131 * libc/string/wmemcpy.c: Ditto.
6132 * libc/string/wmemmove.c: Ditto.
6133 * libc/string/wmemset.c: Ditto.
6134
86620e21
JJ
61352002-08-29 Jeff Johnston <jjohnstn@redhat.com>
6136
6137 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
6138 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
6139 and is treated as if "C" was specified.
6140
f3741c27
JJ
61412002-08-28 Jeff Johnston <jjohnstn@redhat.com>
6142
6143 * Makefile.am (install-data-local): Move install of build
6144 newlib.h after installing headers in libc/include so as to
6145 overwrite default newlib.h.
6146 * Makefile.in: Regenerated.
6147
48da61f5
JJ
61482002-08-28 Jeff Johnston <jjohnstn@redhat.com>
6149
6150 * libc/include/newlib.h: New file for tools that use newlib
6151 headers but don't build newlib first (e.g. gcc).
6152
d82a94ac
JJ
61532002-08-28 Jeff Johnston <jjohnstn@redhat.com>
6154
6155 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
6156 * libc/stdlib/wmemcmp.c: Ditto.
6157 * libc/stdlib/wmemcpy.c: Ditto.
6158 * libc/stdlib/wmemmove.c: Ditto.
6159 * libc/stdlib/wmemset.c: Ditto.
6160
7d08241b
JJ
61612002-08-27 Egor Duda <deo@logos-m.ru>
6162
6163 * libc/stdlib/wmemchr.c: New file.
6164 * libc/stdlib/wmemcmp.c: Ditto.
6165 * libc/stdlib/wmemcpy.c: Ditto.
6166 * libc/stdlib/wmemmove.c: Ditto.
6167 * libc/stdlib/wmemset.c: Ditto.
6168 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
6169 * configure.host: Default -DMB_CAPABLE for cygwin.
6170 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
6171 wmemmove() and wmemset(). Add include of <_ansi.h>.
6172 * libc/stdlib/Makefile.in: Regenerate.
6173
8da1639b
JJ
61742002-08-27 Jeff Johnston <jjohnstn@redhat.com>
6175
ff2bf852 6176 * configure.host: Remove _ELIX_LEVEL flag setting.
8da1639b
JJ
6177 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
6178 (install-data-local): Install newlib.h.
6179 * Makefile.in: Regenerated.
6180 * aclocal.m4: Ditto.
6181 * configure: Ditto.
17c0c97d 6182 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
8da1639b
JJ
6183 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
6184 and _NEWLIB_VERSION to fill in newlib.h header file entries.
6185 In AC_OUTPUT statement, unset ac_file so multilib support does
6186 not use last ac_file temporary used in newlib.h configuration.
6187 * libc/include/_ansi.h: Include <newlib.h>.
6188 * newlib.hin: New template file for newlib.h.
6189 * stamp-h.in: New file.
6190
a4421c11
JJ
61912002-08-26 Wu Yongwei <adah@netstd.com>
6192
6193 * time.h (timezonevar): Change "#if" to "#ifdef".
6194
90b65e2d
JJ
61952002-08-26 Jeff Johnston <jjohnstn@redhat.com>
6196
6197 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
6198 * Makefile.in: Regenerated.
6199 * acinclude.m4: Add support for --enable-newlib-elix-level option.
6200 * aclocal.m4: Regenerated.
6201 * configure: Ditto.
6202 * configure.host: Add code to define _ELIX_LEVEL if
6203 --enable-newlib-elix-level option is used.
17c0c97d 6204 * configure.in:
90b65e2d
JJ
6205 * libc/aclocal.m4: Regenerated.
6206 * libc/configure: Ditto.
6207 * libc/argz/Makefile.am: Add EL/IX level checking.
6208 * libc/argz/Makefile.in: Regenerated.
6209 * libc/argz/dummy.c: New file.
6210 * libc/ctype/Makefile.am: Add EL/IX level checking.
6211 * libc/ctype/Makefile.in: Regenerated.
6212 * libc/locale/Makefile.am: Add EL/IX level checking.
6213 * libc/locale/Makefile.in: Regenerated.
6214 * libc/posix/Makefile.am: Add EL/IX level checking.
6215 * libc/posix/Makefile.in: Regenerated.
6216 * libc/posix/telldir.c: Add EL/IX level checking.
6217 * libc/reent/Makefile.am: Ditto.
6218 * libc/reent/fstat64r.c: Ditto.
6219 * libc/reent/lseek64r.c: Ditto.
6220 * libc/reent/open64r.c: Ditto.
6221 * libc/reent/Makefile.in: Regenerated.
6222 * libc/search/Makefile.am: Add EL/IX level checking.
6223 * libc/search/Makefile.in: Regenerated.
6224 * libc/stdio/Makefile.am: Add EL/IX level checking.
6225 * libc/stdio/Makefile.in: Regenerated.
6226 * libc/stdio64/Makefile.am: Add EL/IX level checking.
6227 * libc/stdio64/Makefile.in: Regenerated.
6228 * libc/stdio64/dummy.c: New file.
9b487837 6229 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
90b65e2d
JJ
6230 after first include.
6231 * libc/stdio64/fopen64.c: Ditto.
6232 * libc/stdio64/freopen64.c: Ditto.
6233 * libc/stdio64/fseeko64.c: Ditto.
6234 * libc/stdio64/fsetpos64.c: Ditto.
6235 * libc/stdio64/ftello64.c: Ditto.
6236 * libc/stdio64/tmpfile64.c: Ditto.
6237 * libc/stdlib/Makefile.am: Add EL/IX level checking.
6238 * libc/stdlib/Makefile.in: Regenerated.
6239 * libc/stdlib/mstats.c: Add EL/IX level checking.
6240 * libc/string/Makefile.am: Ditto.
6241 * libc/string/Makefile.in: Regenerated.
6242 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
6243 * libc/sys/linux/Makefile.in: Regenerated.
6244 * libc/sys/linux/aclocal.m4: Ditto.
6245 * libc/sys/linux/configure: Ditto.
6246 * libc/sys/linux/aio.c: Add EL/IX level checking.
6247 * libc/sys/linux/ftok.c: Ditto.
6248 * libc/sys/linux/getdate.c: Ditto.
6249 * libc/sys/linux/ids.c: Ditto.
6250 * libc/sys/linux/inode.c: Ditto.
6251 * libc/sys/linux/io.c: Ditto.
6252 * libc/sys/linux/process.c: Ditto.
6253 * libc/sys/linux/resource.c: Ditto.
6254 * libc/sys/linux/sched.c: Ditto.
6255 * libc/sys/linux/sig.c: Ditto.
6256 * libc/sys/linux/termios.c: Ditto.
6257 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
6258 __libc___waitpid weak aliases.
6259 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
6260 that generate the code for a syscall, but do not create a
6261 weak alias.
6262 * libc/syscalls/Makefile.am: Add EL/IX level checking.
6263 * libc/syscalls/Makefile.in: Regenerated.
6264 * libc/time/tzset_r.c: Change to replace strdup with equivalent
6265 functionality.
6266 * libc/unix/Makefile.am: Add EL/IX level checking.
6267 * libc/unix/Makefile.in: Regenerated.
6268
2e2b268c
CF
62692002-08-26 Christopher Faylor <cgf@redhat.com>
6270
6271 * libc/include/malloc.h: On cygwin, define malloc _r functions as
6272 wrapper macros to standard malloc functions.
6273 * libc/include/stdlib.h: Ditto.
6274 * configure.host: Always define MALLOC_PROVIDED on cygwin.
6275
8d9112f2
TF
62762002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6277
6278 * libc/include/langinfo.h: New file.
6279 * libc/include/wchar.h: Likewise.
6280 * libc/include/sys/syslimits.h: Likewise.
6281 * libc/locale/fix_grouping.c: Likewise.
6282 * libc/locale/ldpart.c: Likewise.
6283 * libc/locale/ldpart.h: Likewise.
6284 * libc/locale/lmessages.c: Likewise.
6285 * libc/locale/lmessages.h: Likewise.
6286 * libc/locale/lmonetary.c: Likewise.
6287 * libc/locale/lmonetary.h: Likewise.
6288 * libc/locale/lnumeric.c: Likewise.
6289 * libc/locale/lnumeric.h: Likewise.
6290 * libc/locale/nl_langinfo.3: Likewise.
6291 * libc/locale/nl_langinfo.c: Likewise.
6292 * libc/locale/timelocal.c: Likewise.
6293 * libc/locale/timelocal.h: Likewise.
6294 * libc/stdlib/btowc.c: Likewise.
6295 * libc/stdlib/mbrlen.c: Likewise.
6296 * libc/stdlib/mbrtowc.c: Likewise.
6297 * libc/stdlib/mbsinit.c: Likewise.
6298 * libc/stdlib/mbsrtowcs.c: Likewise.
6299 * libc/stdlib/wcrtomb.c: Likewise.
6300 * libc/stdlib/wcsrtombs.c: Likewise.
6301 * libc/stdlib/wctob.c: Likewise.
6302 * libc/sys/linux/prof-freq.c: Likewise.
6303 * libc/sys/linux/profile.c: Likewise.
6304 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
6305 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
6306 * libc/include/stdlib.h: Change re-entrant functions to take
6307 mbstate_t pointers.
6308 * libc/include/sys/_types.h: Define _mbstate_t.
6309 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
6310 * libc/include/sys/errno.h (EILSEQ): New error code.
6311 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
6312 structure to use mbstate_t.
6313 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
6314 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
6315 * libc/machine/powerpc/vfscanf.c: Likewise.
6316 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
6317 * libc/stdio/vfprintf.c: Likewise.
6318 * libc/stdio/vfscanf.c: Likewise.
6319 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
6320 * libc/stdlib/mblen.c: Use mbstate_t.
6321 * libc/stdlib/mblen_r.c: Likewise.
6322 * libc/stdlib/mbstowcs.c: Likewise.
6323 * libc/stdlib/mbstowcs_r.c: Likewise.
6324 * libc/stdlib/mbtowc.c: Likewise.
6325 * libc/stdlib/mbtowc_r.c: Likewise.
6326 * libc/stdlib/wcstombs.c: Likewise.
6327 * libc/stdlib/wcstombs_r.c: Likewise.
6328 * libc/stdlib/wctomb_r.c: Likewise.
6329 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
6330 profile.c.
6331 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
6332 dl-procinfo.c.
6333 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
6334 * libc/sys/linux/sys/types.h (off_t): Define type.
6335 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
6336 to C-UTF-8.
6337 * testsuite/newlib.locale/UTF-8.exp: Likewise.
6338
fe47ea33
JJ
63392002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
6340
6341 * libc/stdlib/mallocr.c: #include windows.h on Win32.
6342 (AlignPage): Continue macro on next line.
6343
ada73509
JJ
63442002-08-19 Jeff Johnston <jjohnstn@redhat.com>
6345
6346 * libc/sys/linux/include/pthread.h: New file.
6347
64b5e8f2
JJ
63482002-08-19 Jeff Johnston <jjohnstn@redhat.com>
6349
6350 * libc/include/sys/types.h: Support __need_inttypes macro
17c0c97d 6351 that only sets the __intxx and __uintxx types.
64b5e8f2
JJ
6352 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
6353 to get mprec.h.
6354 * libc/machine/powerpc/Makefile.in: Regenerated.
6355 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
6356 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
6357 redundant fixed-point conversion prototypes.
6358 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
6359 after setting __need_inttypes.
6360
a94b60ce
CF
63612002-08-18 Christopher Faylor <cgf@redhat.com>
6362
6363 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
6364
29e17a86
JJ
63652002-08-17 Jeff Johnston <jjohnstn@redhat.com>
6366
6367 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
6368 _LONG_DOUBLE to double.
6369
936b520f
JJ
63702002-08-17 Jeff Johnston <jjohnstn@redhat.com>
6371
6372 * configure.host: Add powerpc*-*-eabispe* configuration.
6373 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
6374 * libc/machine/powerpc/atosfix32.c: Ditto.
6375 * libc/machine/powerpc/atosfix64.c: Ditto.
6376 * libc/machine/powerpc/atoufix16.c: Ditto.
6377 * libc/machine/powerpc/atoufix32.c: Ditto.
6378 * libc/machine/powerpc/atoufix64.c: Ditto.
6379 * libc/machine/powerpc/fix64.h: Ditto.
6380 * libc/machine/powerpc/simdldtoa.c: Ditto.
6381 * libc/machine/powerpc/strtosfix16.c: Ditto.
6382 * libc/machine/powerpc/strtosfix32.c: Ditto.
6383 * libc/machine/powerpc/strtosfix64.c: Ditto.
6384 * libc/machine/powerpc/strtoufix16.c: Ditto.
6385 * libc/machine/powerpc/strtoufix32.c: Ditto.
6386 * libc/machine/powerpc/strtoufix64.c: Ditto.
6387 * libc/machine/powerpc/ufix64toa.c: Ditto.
6388 * libc/machine/powerpc/configure.in: Add check for
6389 powerpc*-eabispe and add fixed-point conversion functions.
6390 * libc/machine/powerpc/configure: Regenerated.
6391 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
6392 %r and %R format specifiers which handle fixed-point data.
6393 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
6394 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
6395 function prototypes.
6396
ad552766
JJ
63972002-08-17 Jeff Johnston <jjohnstn@redhat.com>
6398
6399 * Makefile.am: Move cmath stuff into libc/sys/linux.
6400 * Makefile.in: Regenerated.
6401 * configure.host: Default -DMB_CAPABLE for x86-linux.
6402 * libc/include/reent.h: Define _sbrk to take signed int argument.
6403 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
17c0c97d
EB
6404 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
6405 make locale name checking more efficient. Also allow "C-ISO-8859-1"
ad552766
JJ
6406 locale for LC_CTYPE and LC_MESSAGES.
6407 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
6408 * libc/sys/linux/brk.c: Change sbrk prototype.
6409 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
6410 include <sys/features.h>.
6411 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
6412 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
6413 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
6414 with a few local additions.
6415 * libc/sys/linux/sys/features.h: New file.
6416 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
6417 to take signed argument.
6418 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
6419 prototypes to take signed size argument.
6420
d3bd3632
TF
64212002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
6422
6423 * libc/sys/linux/cmath: New directory.
6424 * libc/sys/linux/include/cmathcalls.h: New file.
6425 * libc/sys/linux/include/complex.h: New file.
6426 * libc/sys/linux/machine/i386/huge_val.h: New file
6427 * libm/math/w_sincos.c: New file
6428 * libm/math/wf_sincos.c: New file
6429 * libm/mathfp/s_sincos.c: New file
6430 * libm/mathfp/sf_sincos.c: New file
6431 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
6432 * libc/include/math.h: Add sincos and sincosf declarations.
6433 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
6434 (SUBLIBS): Likewise.
6435 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
6436 * libm/math/Makefile.am (src): Add w_sincos.c.
6437 (fsrc): Add wf_sincos.c.
6438 * libm/mathfp/Makefile.am (src): Add s_sincos.c
6439 (fsrc): Add sf_sincos.c.
6440
b3a9676b
JJ
64412002-08-12 Jeff Johnston <jjohnstn@redhat.com>
6442
6443 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
6444 Declare as extern chars and use the address operator to
6445 properly use values set in linker script.
6446
659e7062
JJ
64472002-08-09 Jason Tishler <jason@tishler.net>
6448
6449 * libc/stdlib/mallocr.c: Include <limits.h>.
6450 (request2size): Change macro to do
6451 unsigned long comparisons and avoid signed overflow.
6452 (mALLOc): Add overflow check for the number of bytes to allocate.
6453 (rEALLOc): Ditto.
6454
037240a2
JJ
64552002-08-09 Jeff Johnston <jjohnstn@redhat.com>
6456
6457 * configure.host: Add check for --enable-newlib-io-pos-args
6458 and define WANT_IO_POS_ARGS flag if enabled. Define
6459 the flag by default for x86-linux configurations.
6460 * configure.in: Add support for --enable-newlib-io-pos-args.
6461 * libc/configure.in: Ditto.
6462 * configure: Regenerated.
6463 * libc/configure: Ditto.
6464 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
6465 vfprintf.c and vfiprintf.c.
6466 * libc/stdio/Makefile.in: Regenerated.
6467 * libc/stdio/vfprintf.c: Add positional argument support that
6468 is enabled by compiling with -DWANT_IO_POS_ARGS.
6469
172fda76
RS
64702002-08-07 Richard Sandiford <rsandifo@redhat.com>
6471
6472 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
6473 based on __mips_soft_float rather than __mips64.
6474 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
6475 of both 32-bit and 64-bit code.
6476
4866247e
CF
64772002-08-04 Christopher Faylor <cgf@redhat.com>
6478
6479 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
6480 arguments for popen to match similar functionality in fopen.
6481
b96332ce
CV
64822002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
6483
6484 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
6485
60d99bce
JJ
64862002-07-29 Jeff Johnston <jjohnstn@redhat.com>
6487
17c0c97d 6488 * libc/sys/linux/Makefile.am: Add aio64.c.
60d99bce
JJ
6489 * libc/sys/linux/Makefile.in: Regenerated.
6490 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
6491 * libc/sys/linux/aio64.c: New file.
6492
80a21be0
JJ
64932002-07-26 Jeff Johnston <jjohnstn@redhat.com>
6494
6495 * libc/include/sys/param.h (MAX, MIN): Added macros.
6496 * libc/sys/linux/Makefile.am: Add new files.
6497 * libc/sys/linux/Makefile.in: Regenerated.
6498 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
6499 * libc/sys/linux/inode.c (fchdir): Added syscall.
6500 * libc/sys/linux/ftw.c: New file.
6501 * libc/sys/linux/ftw64.c: Ditto.
6502 * libc/sys/linux/getwd.c: Ditto.
6503 * libc/sys/linux/scandir64.c: Ditto.
6504 * libc/sys/linux/strverscmp.c: Ditto.
6505 * libc/sys/linux/versionsort.c: Ditto.
6506 * libc/sys/linux/versionsort64.c: Ditto.
6507
6b6425cb
JJ
65082002-07-26 Jeff Johnston <jjohnstn@redhat.com>
6509
6510 * libc/string/strings.tex: Fix typo for memccpy.
6511
dc8ac8e6
JJ
65122002-07-25 Jeff Johnston <jjohnstn@redhat.com>
6513
6514 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
6515 * libc/sys/linux/sys/types.h (off64_t): Definition added.
6516
aa0ca6fd
JJ
65172002-07-25 Jeff Johnston <jjohnstn@redhat.com>
6518
6519 * libc/sys/linux/Makefile.am: Add fclean.c.
6520 * libc/sys/linux/Makefile.in: Regenerated.
6521 * libc/sys/linux/fclean.c: New file.
6522
61921945
JJ
65232002-07-25 Jeff Johnston <jjohnstn@redhat.com>
6524
6525 * libc/sys/linux/Makefile.am: Add confstr.c.
6526 * libc/sys/linux/Makefile.in: Regenerated.
6527 * libc/sys/linux/confstr.c: New file.
6528 * libc/sys/linux/confstr.h: Ditto.
6529 * libc/sys/linux/sys/unistd.h: Include <features.h> and
6530 <bits/environments.h>.
6531
3d966a92
JJ
65322002-07-25 Jeff Johnston <jjohnstn@redhat.com>
6533
6534 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
6535 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
6536 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
6537 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
6538 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
6539 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
6540
53b5bff7
JJ
65412002-07-24 Jeff Johnston <jjohnstn@redhat.com>
6542
6543 * libc/sys/linux/Makefile.am: Add new files.
6544 * libc/sys/linux/Makefile.in: Regenerated.
6545 * libc/sys/linux/fstab.c: New file.
6546 * libc/sys/linux/fstatvfs.c: Ditto.
6547 * libc/sys/linux/fstatvfs64.c: Ditto.
6548 * libc/sys/linux/internal_statvfs.c: Ditto.
6549 * libc/sys/linux/mntent.c: Ditto.
6550 * libc/sys/linux/mntent_r.c: Ditto.
6551 * libc/sys/linux/statvfs.c: Ditto.
6552 * libc/sys/linux/statvfs64.c: Ditto.
6553 * libc/sys/linux/include/paths.h: Ditto.
6554 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
6555 with double-underscore weak-aliases.
6556 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
6557
9cef8ef5
JJ
65582002-07-24 Jeff Johnston <jjohnstn@redhat.com>
6559
6560 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
6561 to use _sig_func_ptr type casted constants.
6562 (_sig_func_ptr): Typedef moved to sys/signal.h.
6563 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
6564 For __rtems, use POSIX definition, otherwise default to ANSI.
6565 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
6566
a703e0f2
JJ
65672002-07-24 Stephane Carrez <stcarrez@nerim.fr>
6568
6569 * configure.host: Recognize m6811-elf and m6812-elf targets.
6570 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
6571 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
6572 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
6573 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
6574 according to __INT_MAX__.
6575 (_POINTER_INT): Define to short.
6576 * libc/machine/m68hc11/Makefile.am: New file.
6577 * libc/machine/m68hc11/Makefile.in: New file.
6578 * libc/machine/m68hc11/configure.in: New file.
6579 * libc/machine/m68hc11/configure: New file.
6580 * libc/machine/m68hc11/aclocal.m4: New file.
6581 * libc/machine/m68hc11/setjmp.S: New file.
6582
d254189b
JJ
65832002-07-23 Jeff Johnston <jjohnstn@redhat.com>
6584
6585 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
6586 prototypes.
6587 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
6588 * libc/stdlib/Makefile.in: Regenerated.
6589 * libc/stdlib/strdup.c: Removed.
6590 * libc/stdlib/strdup_r.c: Removed.
6591 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
6592 mempcpy.c, strndup.c, and strndup_r.c.
6593 * libc/string/Makefile.in: Regenerated.
6594 * libc/string/memccpy.c: New file.
6595 * libc/string/mempcpy.c: Ditto.
6596 * libc/string/strndup.c: Ditto.
6597 * libc/string/strndup_r.c: Ditto.
6598 * libc/string/strdup.c: New file moved from stdlib.
6599 * libc/string/strdup_r.c: Ditto.
6600 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
6601
bc100655
JJ
66022002-07-23 Jeff Johnston <jjohnstn@redhat.com>
6603
6604 * libc/include/stdio.h: Move fcloseall prototype within
6605 #ifndef _REENT_ONLY section.
6606 * libc/sys/linux/Makefile.am: Add new files.
6607 * libc/sys/linux/Makefile.in: Regenerated.
6608 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
6609 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
6610 * libc/sys/linux/sys/types.h: Add ino64_t type.
6611 * libc/sys/linux/ctermid.c: New file.
6612 * libc/sys/linux/ttyname_r.c: Ditto.
6613 * libc/sys/linux/readdir64.c: Ditto.
6614
f5f27f07
JJ
66152002-07-22 Jeff Johnston <jjohnstn@redhat.com>
6616
6617 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
6618 * libc/stdio/Makefile.am: Added fcloseall.c support.
6619 * libc/stdio/Makefile.in: Regenerated.
6620 * libc/stdio/fcloseall.c: New file.
6621 * libc/stdio64/Makefile.am: Remove missing .def references.
6622 * libc/stdio64/Makefile.in: Regenerated.
6623
d541ba3e
JJ
66242002-07-22 Jeff Johnston <jjohnstn@redhat.com>
6625
6626 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
6627 * libc/machine/powerpc/times.c: New file.
6628 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
6629 * libc/machine/powerpc/Makefile.in: Regenerated.
6630
66312002-07-22 Aldy Hernandez <aldyh@redhat.com>
e964bca8
JJ
6632
6633 * libc/machine/powerpc/time.c: New file.
6634 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
6635 time.c.
6636 * libc/machine/powerpc/Makefile.in: Regenerated.
6637
5e7d0a55
TF
66382002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6639
6640 * libc/libc.texinfo: Change copyright notices to Red Hat from
6641 Cygnus.
6642 * libm/libm.texinfo: Likewise.
6643 * README: Change docs URL to
6644 http://sources.redhat.com/newlib/docs.html.
6645
504628e7
JJ
66462002-07-19 Jeff Johnston <jjohnstn@redhat.com>
6647
6648 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
6649 * libc/sys/linux/Makefile.in: Regenerated.
6650 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
6651 * libc/sys/linux/io.c: Add ftruncate syscall.
6652 * libc/sys/linux/fpathconf.c: New file.
6653 * libc/sys/linux/pathconf.c: Ditto.
6654 * libc/sys/linux/linux_fsinfo.h: Ditto.
6655 * libc/sys/linux/sys/unistd.h: Ditto.
6656
b155ad9f
JJ
66572002-07-19 Jeff Johnston <jjohnstn@redhat.com>
6658
6659 * libc/stdio64/Makefile.am: Remove missing files.
6660 * libc/stdio64/Makefile.in: Regenerated.
6661
c119e0ab
JJ
66622002-07-19 Jeff Johnston <jjohnstn@redhat.com>
6663
6664 * libc/include/sys/config.h[__i386__][__linux__]: Define
6665 _LARGE64FILE_SOURCE to 1.
6666 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
6667 * libc/sys/linux/Makefile.in: Regenerated.
6668 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
6669 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
6670 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
6671 of <linux/resource.h>.
6672 * libc/sys/linux/getrlimit64.c: New file.
6673 * libc/sys/linux/setrlimit64.c: Ditto.
6674
9b022d6d
TF
66752002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
6676
6677 * libc/argz/argz_replace.c: Include buf_findstr.h.
6678 * libc/argz/buf_findstr.c: Likewise.
6679 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
6680 value to (char *).
6681 * libc/argz/envz_get.c: Likewise.
6682 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
6683 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
6684 * libc/stdlib/getsubopt.3: New file.
6685 * libc/stdlib/getsubopt.c: New file.
6686 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
6687 Change esp to ebp.
6688
dee51391
JJ
66892002-07-17 Jeff Johnston <jjohnstn@redhat.com>
6690
6691 * configure.host(stdio64_dir): New setting that is used to
6692 enable building of new stdio64 directory.
6693 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
6694 large files.
6695 (stmp-stdio64,stdio64.texi): New targets to optionally add in
6696 stdio64 info to info files.
6697 * libc/Makefile.in: Regenerated.
6698 * libc/configure: Ditto.
6699 * libc/configure.in: Add configuration variables that are set
6700 when stdio64 is selected as subdir in configure.host.
6701 * libc/libc.texinfo: Add optional menu item for Stdio64, based
6702 on whether STDIO64 flag is set or not.
6703 * libc/sys.tex: Add optional stdio64 syscalls based on whether
6704 STDIO64 flag is set or not.
6705 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
6706 _r sycall routines.
6707 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
6708 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
6709 (__SL64): New file flag indicating file is opened via fopen64.
6710 * libc/include/sys/_types.h(_off64_t): Added.
6711 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
6712 * libc/include/sys/reent.h(struct __sFILE64): New file structure
6713 for 64-bit offset large file support.
6714 (__FILE): New intermediate type either set to struct __sFILE64 or
6715 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
6716 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
6717 * libc/reent/Makefile.in: Regenerated.
6718 * libc/reent/fstat64r.c: New file.
6719 * libc/reent/lseek64r.c: Ditto.
6720 * libc/reent/open64r.c: Ditto.
6721 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
17c0c97d 6722 based on whether STDIO64 flag is set.
dee51391
JJ
6723 * libc/stdio/stdio.tex: Add blank line.
6724 * libc/stdio64/Makefile.am: New file.
6725 * libc/stdio64/Makefile.in: Ditto.
6726 * libc/stdio64/fgetpos64.c: Ditto.
6727 * libc/stdio64/fopen64.: Ditto.
6728 * libc/stdio64/freopen64.c: Ditto.
6729 * libc/stdio64/fseeko64.c: Ditto.
6730 * libc/stdio64/fsetpos64.c: Ditto.
6731 * libc/stdio64/ftello64.c: Ditto.
6732 * libc/stdio64/local64.h: Ditto.
6733 * libc/stdio64/stdio64.c: Ditto.
6734 * libc/stdio64/stdio64.tex: Ditto.
6735 * libc/stdio64/tmpfile64.c: Ditto.
6736 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
6737 open64.
6738
778876f6
JJ
67392002-07-16 Jeff Johnston <jjohnstn@redhat.com>
6740
6741 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
6742 if LIBC_EXTRA_LIB is present.
6743 * libc/Makefile.in: Regenerated.
6744 * libc/libc.texinfo: Add blank line.
6745 * libc/argz/Makefile.am: Add doc support.
6746 * libc/search/Makefile.am: Ditto.
6747 * libc/argz/Makefile.in: Regenerated.
6748 * libc/search/Makefile.in: Ditto.
6749 * libc/misc/misc.tex: Add ffs function.
6750 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
6751
37981145
JJ
67522002-07-15 Jeff Johnston <jjohnstn@redhat.com>
6753
6754 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
6755 definition that was removed in error.
6756
38b5dc59
JJ
67572002-07-15 Jeff Johnston <jjohnstn@redhat.com>
6758
6759 * libc/include/machine/ieeefp.h: Change to only define
17c0c97d 6760 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
38b5dc59
JJ
6761 __IEEE_LITTLE_ENDIAN must be defined for each platform).
6762 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
6763 remove redundant floating point definitions.
6764
8cb61a96
JJ
67652002-07-15 Jeff Johnston <jjohnstn@redhat.com>
6766
6767 * libc/sys/linux/callocr.c: Fix so code references
6768 calloc.
6769
edba3282
JJ
67702002-07-15 Jeff Johnston <jjohnstn@redhat.com>
6771
6772 * libc/sys/linux/Makefile.am: Add new files.
6773 * libc/sys/linux/Makefile.in: Regenerated.
6774 * libc/sys/linux/bp-sym.h: Moved to include directory.
6775 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
6776 * libc/sys/linux/inode.c: Set _LIBC to 1.
6777 * libc/sys/linux/mq_close.c: Ditto.
6778 * libc/sys/linux/mq_getattr.c: Ditto.
6779 * libc/sys/linux/mq_open.c: Ditto.
6780 * libc/sys/linux/mq_receive.c: Ditto.
6781 * libc/sys/linux/mq_send.c: Ditto.
6782 * libc/sys/linux/mq_setattr.c: Ditto.
6783 * libc/sys/linux/mq_unlink.c: Ditto.
6784 * libc/sys/linux/calloc.c: New file.
6785 * libc/sys/linux/callocr.c: Ditto.
6786 * libc/sys/linux/cfreer.c: Ditto.
6787 * libc/sys/linux/config.h: Ditto.
6788 * libc/sys/linux/free.c: Ditto.
6789 * libc/sys/linux/freer.c: Ditto.
6790 * libc/sys/linux/msize.c: Ditto.
6791 * libc/sys/linux/msizer.c: Ditto.
6792 * libc/sys/linux/mstats.c: Ditto.
6793 * libc/sys/linux/mtrim.c: Ditto.
6794 * libc/sys/linux/mtrimr.c: Ditto.
6795 * libc/sys/linux/pvallocr.c: Ditto.
6796 * libc/sys/linux/realloc.c: Ditto.
6797 * libc/sys/linux/reallocr.c: Ditto.
6798 * libc/sys/linux/thread-m.h: Ditto.
6799 * libc/sys/linux/vallocr.c: Ditto.
6800 * libc/sys/linux/bp-checks.h: Ditto.
6801 * libc/sys/linux/libc-symbols.h: Ditto.
6802 * libc/sys/linux/libc-tsd.h: Ditto.
6803 * libc/sys/linux/libintl.h: Ditto.
6804 * libc/sys/linux/malign.c: Ditto.
6805 * libc/sys/linux/malignr.c: Ditto.
6806 * libc/sys/linux/mallinfor.c: Ditto.
6807 * libc/sys/linux/malloc.c: Ditto.
6808 * libc/sys/linux/mallocr.c: Ditto.
6809 * libc/sys/linux/malloptr.c: Ditto.
6810 * libc/sys/linux/mallstatsr.c: Ditto.
6811 * libc/sys/linux/mcheck.c: Ditto.
6812 * libc/sys/linux/mhooks.h: Ditto.
6813 * libc/sys/linux/include/bp-sym.h: Ditto.
6814 * libc/sys/linux/include/malloc.h: Ditto.
6815 * libc/sys/linux/include/mcheck.h: Ditto.
6816 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
6817 getpagesize.c.
6818 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
6819 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
6820 * libc/sys/linux/machine/i386/getpagesize.c: New file.
6821 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
6822 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
6823 * libc/sys/linux/machine/i386/sysdep.h: New file.
6824 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
6825 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
6826 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
6827
ea20b60a
JJ
68282002-07-12 Jeff Johnston <jjohnstn@redhat.com>
6829
6830 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
6831 instead of <asm/siginfo.h>.
6832 * libc/sys/linux/sys/signal.h: Change to include various linux
6833 <bits/xxx.h> header files, rather than <linux/signal.h> so as
6834 to work with multiple releases of glibc header files.
6835
2fc82912
JJ
68362002-07-11 Chris Demetriou <cgd@broadcom.com>
6837
6838 * testsuite/newlib.search/hsearchtest.c: New file to test
6839 newlib/libc/search.
6840 * testsuite/newlib.search/hsearchtest.exp: Likewise.
6841
4a404e97 68422002-07-10 Florian Schrack <florian.schrack@freenet.de>
2a8b4ea3
JJ
6843
6844 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
6845 a terminal.
6846 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
6847
6aec558e
JJ
68482002-07-08 Jeff Johnston <jjohnstn@redhat.com>
6849
6850 * libc/include/math.h (MAXFLOAT): Added.
6851
e47e6f0e 6852Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
a31df303
JR
6853
6854 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
6855 Make strcmp.S unconditional.
6856 * libc/machine/sh/Makefile.in: Regenerate.
6857 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
6858 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
6859 for SHcompact.
6860
89ffbd66
JJ
68612002-07-04 Jeff Johnston <jjohnstn@redhat.com>
6862
6863 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
6864 define before including <sys/lock.h>.
6865
ae6c4c84
JJ
68662002-07-04 Jeff Johnston <jjohnstn@redhat.com>
6867
6868 * libc/include/utime.h: Add include of <_ansi.h>.
6869 * libc/sys/linux/Makefile.am: Add utimes.c.
6870 * libc/sys/linux/Makefile.in: Regenerated.
6871 * libc/sys/linux/inode.c(__umask): New static routine.
6872 (umask): Written to use __umask and attempt to thread lock.
6873 (getumask): New function written to use __umask and thread lock.
6874 * libc/sys/linux/utimes.c: New file.
6875 * libc/sys/linux/sys/time.h: Fix utimes prototype.
6876 * libc/sys/linux/sys/utime.h: New file.
6877
a6cac46c
TF
68782002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
6879
6880 * libtool.m4: New file.
6881 * libc/sys/linux/process.c: Implement vfork in terms of fork,
6882 rather than as a syscall.
6883
30b2092f
JJ
68842002-07-04 Jeff Johnston <jjohnstn@redhat.com>
6885
6886 * libc/include/stdio.h: Add new prototypes.
6887 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
6888 * libc/stdio/Makefile.in: Regenerated.
6889 * libc/stdio/fseek.c: Add fseeko documentation.
6890 * libc/stdio/ftell.c: Add ftello documentation.
6891 * libc/stdio/fseeko.c: New file.
6892 * libc/stdio/ftello.c: New file.
6893
7501704d
JJ
68942002-07-04 Jeff Johnston <jjohnstn@redhat.com>
6895
6896 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
6897 * libc/stdio/Makefile.in: Regenerated.
6898 * libc/stdio/asprintf.c: New file.
6899 * libc/stdio/vasprintf.c: Ditto.
6900 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
6901 the buffer for asprintf support.
6902 * libc/stdio/sprintf.c: Add asprintf documentation.
6903 * libc/stdio/vfprintf.c: Add vasprintf documentation.
6904 * libc/include/stdio.h: Add new prototypes.
6905
66eee32b
TF
69062002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
6907
6908 * libc/search/hcreate.c: Remove advertising clause from license.
6909 * libc/search/hcreate_r.c: Likewise.
6910
cec4a9f8
JJ
69112002-07-02 Chris Demetriou <cgd@broadcom.com>
6912
6913 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
6914 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
6915 Check that one of them is defined and error out if not.
6916 Add any platforms defined in <machine/ieeefp.h> that are missing.
6917 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
6918 (DB_LITTLE_ENDIAN): New defines.
6919 * libc/search/hash.c: Replace all incorrect checks for
6920 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
6921 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
6922 * libc/search/hash_page.c: Likewise.
6923
2d5eb17e
TF
69242002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
6925
6926 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
6927
c1a3171f
JJ
69282002-06-27 Benjamin Kosnik <bkoz@redhat.com>
6929
6930 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
6931 * libc/include/time.h: Same.
6932 * libc/include/string.h: Same.
6933 * libc/include/stdlib.h: Same.
6934 * libc/include/signal.h: Same.
6935 * libc/include/setjmp.h: Same.
6936 * libc/include/math.h: Same.
6937 * libc/include/locale.h: Same.
6938 * libc/include/ctype.h: Same.
6939 * libc/include/machine/setjmp.h: Same.
6940 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
6941 (_END_STD_C): Add.
6942
533b4e66
JJ
69432002-06-27 Jeff Johnston <jjohnstn@redhat.com>
6944
6945 * libc/include/sys/_types.h: Define _ssize_t as int if int is
6946 32-bits, otherwise define it as long.
6947 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
6948 and define ssize_t as _ssize_t.
6949 * libc/reent/readr.c: Change return type to _ssize_t.
6950 * libc/reent/writer.c: Ditto.
6951 * libc/sys/linux/Makefile.am: Add aio.c.
6952 * libc/sys/linux/Makefile.in: Regenerated.
6953 * libc/sys/linux/aio.c: New file.
6954 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
6955 * libm/common/fdlibm.h: Undef __P before defining it.
6956
c36e6dd7
TF
69572002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
6958
54be629f
TF
6959 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
6960 exponent_is_even_int variable. Handle case where x is
6961 negative, and y is an odd integer.
6962 * libm/mathfp/sf_pow.c (powf): Likewise.
6963
c36e6dd7
TF
6964 * libm/mathfp/er_lgamma.c: Remove __kernel references.
6965 * libm/mathfp/erf_lgamma.c: Likewise.
6966 * libm/mathfp/s_tgamma.c: Likewise.
6967 * libm/mathfp/sf_tgamma.c: Likewise.
6968
baf051ca
JJ
69692002-06-27 Jeff Johnston <jjohnstn@redhat.com>
6970
6971 * libc/sys/linux/Makefile.am: Add new clock routines.
6972 * libc/sys/linux/Makefile.in: Regenerated.
6973 * libc/sys/linux/clock_getres.c: New file.
6974 * libc/sys/linux/clock_gettime.c: Ditto.
6975 * libc/sys/linux/clock_settime.c: Ditto.
6976 * libc/sys/linux/hp-timing.h: Ditto.
6977 * libc/sys/linux/libc-internal.h: Ditto.
6978 * libc/sys/linux/sysconf.c: Fix typo.
6979 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
6980 * libc/sys/linux/machine/hp-timing.h: New file.
6981 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
6982 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
6983 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
6984 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
6985 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
6986 * libc/sys/linux/sys/linux_time.h: New file.
6987 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
6988 replace with <sys/linux_time.h>.
6989
0431ed4e
JR
6990Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
6991
6992 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
6993
fc067ba5
JJ
69942002-06-25 Jeff Johnston <jjohnstn@redhat.com>
6995
6996 * libc/sys/linux/Makefile.am: Consolidate additional items under
6997 ADD_OBJS.
6998 * libc/sys/linux/Makefile.in: Regenerated.
6999
ffddf61e
JJ
70002002-06-25 Jeff Johnston <jjohnstn@redhat.com>
7001
7002 * libc/sys/linux/sethostname.c: New file.
7003 * libc/sys/linux/Makefile.am: Add sethostname.c support.
7004 * libc/sys/linux/Makefile.in: Regenerated.
7005
d5487d3f
TF
70062002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
7007
7008 * libc/search/db_local.h: New file.
7009 * libc/include/db.h: Remove.
7010 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
7011 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
7012 "db_local.h".
7013 * libc/search/hash_bigkey.c: Likewise.
7014 * libc/search/hash_buf.c: Likewise.
7015 * libc/search/hash_func.c: Likewise.
7016 * libc/search/hash_log2.c: Likewise.
7017 * libc/search/hash_page.c: Likewise.
7018
70192002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
e08a6118 7020
1e7ca711 7021 * libc/machine/sh/strlen.S: New file.
e08a6118
JR
7022 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
7023 * libc/machine/sh/Makefile.am: Regenerate.
7024
59c6d6c4
JJ
70252002-06-24 Jeff Johnston <jjohnstn@redhat.com>
7026
7027 * libc/sys/linux/gethostname.c: Change name to __gethostname and
7028 add gethostname alias.
7029
a70486d7
JJ
70302002-06-24 Jeff Johnston <jjohnstn@redhat.com>
7031
7032 * libc/include/math.h: Remove <sys/types.h>.
a5dadf33 7033 (__dmath): Use __ULong instead of __uint32_t.
a70486d7 7034 * libc/include/sys/reent.h: If long or int is not 32-bits,
a5dadf33 7035 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
a70486d7
JJ
7036 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
7037 * libm/common/fdlibm.h: Ditto.
7038
3118725a
TF
70392002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
7040
7041 * libc/include/ndbm.h: Remove.
7042 * libc/search/ndbm.c: Remove.
7043
30a06168
TF
70442002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
7045
7046 * libc/stdio/fseek.c (fseek): Fix braces.
7047
01f5155e
CV
70482002-06-21 Corinna Vinschen <corinna@vinschen.de>
7049
7050 * libc/time/strftime.c (strftime): Add %e format specifier.
7051
930bc96b
TF
70522002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
7053
7054 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
7055 previously defined.
7056
55105f86
JJ
70572002-06-21 Richard Earnshaw (rearnsha@arm.com)
7058
7059 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
7060 (BYTE_ORDER): Define as appropriate for the target.
7061
2e78444a
JJ
70622002-06-21 Jeff Johnston <jjohnstn@redhat.com>
7063
7064 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
7065 to _ssize_t.
7066 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
7067
d427d092
JJ
70682002-06-21 Jeff Johnston <jjohnstn@redhat.com>
7069
7070 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
7071 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
7072 [HAVE_GETDATE](getdate_err): New error code.
7073 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
7074 * libc/stdio/Makefile.in: Regenerated.
7075 * libc/stdio/getdelim.c: New file.
7076 * libc/stdio/getline.c: Ditto.
7077 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
7078 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
7079 * libc/sys/linux/Makefile.in: Regenerated.
7080 * libc/sys/linux/getdate.c: New file.
7081 * libc/sys/linux/getdate_err.c: Ditto.
7082 * libc/sys/linux/ntp_gettime.c: Ditto.
7083 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
7084 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
7085
35728d4f
JJ
70862002-06-21 Jeff Johnston <jjohnstn@redhat.com>
7087
7088 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
7089 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
7090 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
7091 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
7092 * libc/include/sys/param.h: Remove i386 case which is handled
7093 by default case.
7094 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
7095 definitions in case they are already defined.
7096 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
7097 _IEEE_LITTLE_ENDIAN flags.
7098 * libc/include/sys/reent.h: Change __uint32_t references to
7099 use _ULong instead.
7100 (_REENT_GETDATE_REENT_P): New macro.
7101 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
7102 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
7103 * libc/search/hash.h: Add default setting of BYTE_ORDER,
7104 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
7105 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
7106 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
7107 pid_t, off_t, loff_t, caddr_t, and daddr_t type
7108 definitions which are done by subsequent glibc headers.
7109 Add macro definitions to prevent subsequent header files from
7110 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
7111 intptr_t to after glibc definitions of types they are based on.
7112
4a2bfab7
JJ
71132002-06-21 Jeff Johnston <jjohnstn@redhat.com>
7114
7115 * libc/include/errno.h: Protect from multiple inclusion.
7116
f42d18ea
NC
71172002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
7118
7119 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
7120
a7b23a8f
TF
71212002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
7122
7123 * Makefile.am (LIB_OBJECTLISTS): Add
7124 libc/search/objectlist.awk.in.
7125 * libc/Makefile.am (SUBDIRS): Add search.
7126 (SUBLIBS): Add search/libsearch.la.
7127 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
7128 * libc/search: New directory.
7129 * libc/search/Makefile.am: New file.
7130 * libc/search/extern.h: New file.
7131 * libc/search/hash.c: New file.
7132 * libc/search/hash.h: New file.
7133 * libc/search/hash_bigkey.c: New file.
7134 * libc/search/hash_buf.c: New file.
7135 * libc/search/hash_func.c: New file.
7136 * libc/search/hash_log2.c: New file.
7137 * libc/search/hash_page.c: New file.
7138 * libc/search/hcreate.3: New file.
7139 * libc/search/hcreate.c: New file.
a7b23a8f
TF
7140 * libc/search/hcreate_r.c: New file.
7141 * libc/search/ndbm.c: New file.
7142 * libc/search/page.h: New file.
7143 * libc/search/tdelete.c: New file.
7144 * libc/search/tdestroy.c: New file.
7145 * libc/search/tfind.c: New file.
7146 * libc/search/tsearch.3: New file.
7147 * libc/search/tsearch.c: New file.
7148 * libc/search/twalk.c: New file.
7149 * libc/include/db.h: New file.
7150 * libc/include/ndbm.h: New file.
7151 * libc/include/search.h: New file.
7152 * libc/include/sys/queue.h: New file.
7153 * libc/include/sys/cdefs.h: New file.
7154 * libc/include/sys/param.h
7155 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
7156 LITTLE_ENDIAN or BIG_ENDIAN.
7157 * libc/include/sys/errno.h (EFTYPE): New macro.
7158 * libc/search/bsearch.c: Move from libc/stdlib.
7159 * libc/search/qsort.c: Likewise.
7160 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
7161 qsort.c.
7162 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
7163 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
7164
ef467338
JJ
71652002-06-19 Jeff Johnston <jjohnstn@redhat.com>
7166
7167 * libc/sys/linux/Makefile.am: Add support for message queue routines,
7168 ipc routines, and ftok.
7169 * libc/sys/linux/Makefile.in: Regenerated.
7170 * libc/sys/linux/ftok.c: New file.
7171 * libc/sys/linux/ipc.c: Ditto.
7172 * libc/sys/linux/mq_close.c: Ditto.
7173 * libc/sys/linux/mq_getattr.c: Ditto.
7174 * libc/sys/linux/mq_notify.c: Ditto.
7175 * libc/sys/linux/mq_open.c: Ditto.
7176 * libc/sys/linux/mq_receive.c: Ditto.
7177 * libc/sys/linux/mq_send.c: Ditto.
7178 * libc/sys/linux/mq_setattr.c: Ditto.
7179 * libc/sys/linux/mq_unlink.c: Ditto.
7180 * libc/sys/linux/mqlocal.h: Ditto.
7181 * libc/sys/linux/include/mqueue.h: Ditto.
7182 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
7183 __uid_t_defined.
7184
7f55c08c
TF
71852002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
7186
7187 * libm/common/sf_lround.c (round): Change name to: (lround).
7188 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
7189 remquof.
7190
c9ca68d7
TF
71912002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7192
7193 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
7194 procedure.
7195 (newlib_pass_fail): Change to compile and run only one file.
7196 * testsuite/newlib.locale/locale.exp: Use new
7197 newlib_pass_fail_all procedure.
7198 * testsuite/newlib.string/string.exp: Likewise.
7199
4ecedd09
DB
72002002-06-18 Dave Brolley <brolley@redhat.com>
7201
7202 From Catherine Moore, Michael Meissner, Richard Sandiford:
7203 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
7204 (_JBTYPE): Ditto.
7205 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
7206 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
7207 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
7208 * configure.host: Support frv-*-*.
7209 * libc/machine/frv/Makefile.am: New file.
7210 * libc/machine/frv/configure.in: New file.
7211 * libc/machine/frv/setjmp.S: New file.
7212
af1c257a
TF
72132002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7214
7215 * libc/include/ctype.h: Remove isblank macro.
7216
7217 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
7218 * libc/ctype/isblank.c: New file.
7219 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
7220 declaration. Add isblank macro.
7221
4e04fa90
JJ
72222002-06-18 Jeff Johnston <jjohnstn@redhat.com>
7223
7224 * testsuite/newlib.stdlib/atexit.c: New file.
7225 * testsuite/newlib.stdlib/atexit.exp: Ditto.
7226 * testsuite/newlib.string/tstring.c: Change default start size
7227 to something more reasonable for embedded platforms.
7228
b56d7e79
TF
72292002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7230
ece3c72f
TF
7231 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
7232
b56d7e79
TF
7233 * libc/argz: New directory.
7234 * libc/argz/*: New files.
7235 * libc/argz/argz_add.c: New file.
7236 * libc/argz/argz_add_sep.c: New file.
7237 * libc/argz/argz_append.c: New file.
7238 * libc/argz/argz_count.c: New file.
7239 * libc/argz/argz_create.c: New file.
7240 * libc/argz/argz_create_sep.c: New file.
7241 * libc/argz/argz_delete.c: New file.
7242 * libc/argz/argz_extract.c: New file.
7243 * libc/argz/argz_insert.c: New file.
7244 * libc/argz/argz_next.c: New file.
7245 * libc/argz/argz_replace.c: New file.
7246 * libc/argz/argz_stringify.c: New file.
7247 * libc/argz/buf_findstr.c: New file.
7248 * libc/argz/envz_add.c: New file.
7249 * libc/argz/envz_entry.c: New file.
7250 * libc/argz/envz_get.c: New file.
7251 * libc/argz/envz_merge.c: New file.
7252 * libc/argz/envz_remove.c: New file.
7253 * libc/argz/envz_strip.c: New file.
7254 * libc/include/argz.h: New file.
7255 * libc/include/envz.h: New file.
7256 * Makefile.am (LIBC_OBJECTLISTS): Add
7257 libc/argz/objectlist.awk.in.
7258 * libc/Makefile.am (SUBDIRS): Add argz.
7259 (SUBLIBS): Add argz/libargz.la.
7260 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
7261 * libc/include/errno.h: Add error_t typedef.
7262
d062d3dd
JJ
72632002-06-13 Jeff Johnston <jjohnstn@redhat.com>
7264
7265 * libc/include/stdlib.h: Add _Exit prototype.
7266 * libc/stdlib/Makefile.am: Add _Exit.c support.
7267 * libc/stdlib/Makefile.in: Ditto.
7268 * libc/stdlib/_Exit.c: New file.
7269
a47e66ae
JJ
72702002-06-13 Stephen L. Moshier <steve@moshier.net>
7271
7272 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
7273 x is close to -1.0 and y is very large to use ax (absolute value)
7274 instead of x.
7275 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
7276
13f7d71f
JR
7277Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
7278
7279 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
7280 Fix clobbering bytes before destination if src and dst have same
7281 non-zero misalignment.
1f1fb421
JR
7282
7283 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
7284 Fixed bug in writing end of set region.
7285
b2e8018f
CF
72862002-06-10 Christopher Faylor <cgf@redhat.com>
7287
7288 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
7289 spawnve declaration.
7290
0953fe64
TF
72912002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
7292
7293 * libm/common/s_fdim.c: New file.
7294 * libm/common/s_fma.c: Likewise.
7295 * libm/common/s_fmax.c: Likewise.
7296 * libm/common/s_fmin.c: Likewise.
7297 * libm/common/s_fpclassify.c: Likewise.
7298 * libm/common/s_lrint.c: Likewise.
7299 * libm/common/s_lround.c: Likewise.
7300 * libm/common/s_nearbyint.c: Likewise.
7301 * libm/common/s_remquo.c: Likewise.
7302 * libm/common/s_round.c: Likewise.
7303 * libm/common/s_scalbln.c: Likewise.
7304 * libm/common/s_signbit.c: Likewise.
7305 * libm/common/s_trunc.c: Likewise.
7306 * libm/common/sf_fdim.c: Likewise.
7307 * libm/common/sf_fma.c: Likewise.
7308 * libm/common/sf_fmax.c: Likewise.
7309 * libm/common/sf_fmin.c: Likewise.
7310 * libm/common/sf_lrint.c: Likewise.
7311 * libm/common/sf_lround.c: Likewise.
7312 * libm/common/sf_nearbyint.c: Likewise.
7313 * libm/common/sf_remquo.c: Likewise.
7314 * libm/common/sf_round.c: Likewise.
7315 * libm/common/sf_scalbln.c: Likewise.
7316 * libm/common/sf_trunc.c: Likewise.
7317 * libm/math/w_exp2.c: Likewise.
7318 * libm/math/w_tgamma.c: Likewise.
7319 * libm/math/wf_exp2.c: Likewise.
7320 * libm/math/wf_tgamma.c: Likewise.
7321 * libm/mathfp/s_exp2.c: Likewise.
7322 * libm/mathfp/s_tgamma.c: Likewise.
7323 * libm/mathfp/sf_exp2.c: Likewise.
7324 * libm/mathfp/sf_tgamma.c: Likewise.
7325 * libm/math/er_gamma.c: Fix return value.
7326 * libm/math/erf_gamma.c: Likewise.
7327 * libm/mathfp/er_gamma.c: Likewise.
7328 * libm/mathfp/erf_gamma.c: Likewise.
7329 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
7330 declarations and macros.
7331 Regenerated all Makefile.in, aclocal.m4 and configure files to
7332 use new libtool macros in top-level libtool.m4
7333
39e65e01
JJ
73342002-06-05 Jeff Johnston <jjohnstn@redhat.com>
7335
7336 * libc/include/string.h[__linux__]: Add strsignal prototype.
7337 * libc/include/sys/lock.h: New file with default locking support.
7338 * libc/include/sys/reent.h: Add signal buffer support for strsignal
7339 and psignal.
7340 * libc/posix/Makefile.am: Add support for readdir_r.c.
7341 * libc/posix/Makefile.in: Regenerated.
7342 * libc/posix/closedir.c: Add locking support and hash table cleanup.
7343 * libc/posix/opendir.c: Add lock support.
7344 * libc/posix/readdir.c: Ditto.
7345 * libc/posix/rewinddir.c: Ditto.
7346 * libc/posix/scandir.c: Ditto.
7347 * libc/posix/seekdir.c: Ditto.
7348 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
7349 clean up leftover hash table entries.
7350 * libc/posix/readdir_r.c: New file.
7351 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
7352 * libc/sys/linux/Makefile.in: Regenerated.
7353 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
7354 * libc/sys/linux/sys/signal.h: Add psignal prototype.
7355 * libc/sys/linux/psignal.c: New file.
7356 * libc/sys/linux/strsignal.c: Ditto.
7357
cc890e89
CV
73582002-06-03 Corinna Vinschen <corinna@vinschen.de>
7359
7360 * libc/include/sys/types.h: Don't define dev_t when compiling for
7361 Cygwin.
7362
ea55e3f7
JJ
73632002-05-31 Jeff Johnston <jjohnstn@redhat.com>
7364
7365 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
7366 make siglist.inc dependent on sig.c instead of signal.c.
7367 * libc/sys/linux/Makefile.in: Regenerated.
7368 * libc/sys/linux/sig.c: Rename from signal.c and change code to
17c0c97d 7369 use NSIG instead of _NSIG.
ea55e3f7
JJ
7370 * libc/sys/linux/sigaction.c: New file.
7371 * libc/sys/linux/signal.c: Changed to be linux signal() function
7372 so as to override regular newlib default signal.c.
ea55e3f7
JJ
7373 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
7374 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
7375 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
7376 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
7377 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
7378 default linux sigset_t typedef by defining it equal to __sigset_t.
7379 * libc/unix/sigset.c: Add check so code isn't compiled on systems
7380 with a sigset_t that isn't implemented with a single int.
7381
9d362914
JJ
73822002-05-30 Jeff Johnston <jjohnstn@redhat.com>
7383
7384 * libc/sys/linux/Makefile.am: Add support for new files.
7385 * libc/sys/linux/Makefile.in: Regenerated.
7386 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
7387 * libc/sys/linux/signal.c: Change to use real-time syscalls for
7388 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
7389 it is in a separate file now.
7390 * libc/sys/linux/machine/i386/Makefile.am
7391 * libc/sys/linux/machine/i386/Makefile.in
7392 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
7393 * libc/sys/linux/sigaction.c: New file.
7394 * libc/sys/linux/sigqueue.c: Ditto.
7395 * libc/sys/linux/sigwait.c: Ditto.
7396 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
7397 * libc/sys/linux/kernel_sigaction.h: Ditto.
7398
b1f07180
JJ
73992002-05-28 Jeff Johnston <jjohnstn@redhat.com>
7400
7401 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
7402 tcsendbrk.c.
7403 * libc/sys/linux/Makefile.in: Regenerated.
7404 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
7405 tcgetpgrp(), and tcsetpgrp() functions.
7406 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
7407 to get __MAX_BAUD rate.
7408 * libc/sys/linux/machine/i386/include/termios.h: New file.
7409 * libc/include/machine/termios.h: Ditto.
7410 * libc/sys/linux/cfspeed.c: Ditto.
7411 * libc/sys/linux/tcsendbrk.c: Ditto.
7412
d29587b4
JJ
74132002-05-24 Jeff Johnston <jjohnstn@redhat.com>
7414
7415 * libc/include/string.h: Add strnlen and strerror_r prototypes.
7416 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
7417 * libc/string/Makefile.in: Regenerated.
7418 * libc/string/strerror_r.c: New file.
7419 * libc/string/strnlen.c: New file.
7420 * libc/sys/linux/Makefile.am: Add rename.c.
7421 * libc/sys/linux/Makefile.in: Regenerated.
7422 * libc/sys/linux/rename.c: New file to override default rename.
7423
9a292385
TF
74242002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
7425
7426 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
7427 * libc/sys/linux/sys/time.h: Add conversion macros.
7428 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
7429 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
7430 * libc/sys/linux/gethostname.c: New file.
7431 * libc/sys/linux/seteuid.c: New file.
7432 * libc/sys/linux/sysctl.c: New file.
17c0c97d 7433
7a364eb3
JJ
74342002-05-23 Jeff Johnston <jjohnstn@redhat.com>
7435
7436 * libc/string/Makefile.am: Add support for strsep.c.
7437 * libc/string/Makefile.in: Regenerated.
7438 * libc/string/strsep.c: New file.
7439 * libc/string/strtok.c: Change to call __strtok_r service routine.
7440 * libc/string/strtok_r.c: Add __strtok_r routine which takes
7441 additional flag parameter regarding whether to skip leading delimeters.
7442 Change strtok_r to call __strtok_r.
7443
164ee5b0
JJ
74442002-05-23 Gareth Pearce <tilps@hotmail.com>
7445
7446 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
7447 * libc/stdio/Makefile.in: Regenerated.
7448 * libc/stdio/setbuffer.c: New file.
7449 * libc/stdio/setlinebuf.c: New file.
7450
f6b2b567
JJ
74512002-05-23 Jeff Johnston <jjohnstn@redhat.com>
7452
7453 * libc/sys/linux/Makefile.am: Add resource.c.
7454 * libc/sys/linux/Makefile.in: Regenerated.
7455 * libc/sys/linux/resource.c: New file.
7456 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
7457 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
7458 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
7459 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
7460 are now found in libc/sys/linux/resource.c.
7461
afe56517
JJ
74622002-05-23 Jeff Johnston <jjohnstn@redhat.com>
7463
7464 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
7465 to use void * pointers and comply with Single Unix spec.
7466 * libc/string/bcmp.c: Change to use void * instead of char *.
7467 * libc/string/bcopy.c: Ditto.
7468 * libc/string/bzero.c: Ditto.
7469
7736feb2
JJ
74702002-05-22 Jeff Johnston <jjohnstn@redhat.com>
7471
7472 * libc/sys/linux/shm_open.c: New file.
7473 * libc/sys/linux/shm_unlink.c: Ditto.
7474 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
7475 shm_unlink.c.
7476 * libc/sys/linux/Makefile.in: Regenerated.
7477 * libc/sys/linux/sys/types.h: Add some additional checks to see
7478 if clock_t or time_t is already defined.
7479
19f111bd
JJ
74802002-05-22 Jeff Johnston <jjohnstn@redhat.com>
7481
7482 * Makefile.am: Don't pass $toollibdir down directly in
7483 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
7484 Pass it under the name: top_toollibdir.
7485 * Makefile.in: Regenerated.
7486
c811b1ee
CV
74872002-05-22 Corinna Vinschen <vinschen@redhat.com>
7488
7489 * libc/include/sys/types.h: Revert previous patch.
7490
2b43ad33
CV
74912002-05-22 Corinna Vinschen <vinschen@redhat.com>
7492
7493 * libc/include/sys/types.h: Include cygwin/types.h always under
7494 Cygwin, not only if _POSIX_THREADS is defined.
7495
dd671cde
TF
74962002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
7497
7498 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
7499
5e2cbfb6
JJ
75002002-05-17 Jeff Johnston <jjohnstn@redhat.com>
7501
7502 * Makefile.am: Copy and install headers from sys/machine/include
7503 directory. Also pass $toollibdir to lower-level directories.
7504 * Makefile.in: Regenerated.
17c0c97d 7505 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
5e2cbfb6
JJ
7506 stderr to use _REENT macro instead of _impure_ptr directly.
7507 * libc/include/sys/config.h[__i386__][__linux__]: Define
7508 __DYNAMIC_REENT__.
17c0c97d 7509 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
5e2cbfb6
JJ
7510 call to __getreent() function if !__SINGLE_THREAD__ and
7511 __DYNAMIC_REENT__ is set.
7512 * libc/reent/Makefile.am: Add support for getreent.c.
7513 * libc/reent/Makefile.in: Regenerated.
7514 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
7515 * libc/sys/linux/Makefile.am: Add support for new files.
7516 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
7517 * libc/sys/linux/Makefile.in: Regenerated.
7518 * libc/sys/linux/configure: Ditto.
7519 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
7520 __close, __read, __write, __poll, __open, __lseek, __fcntl from
7521 their __libc_ counterparts.
7522 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
7523 and weak-alias to regular names.
7524 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
7525 to pread64 and __pread64.
7526 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
7527 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
7528 weak-alias to pwrite64.
7529 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
7530 __libc_sched_getscheduler, __libc_sched_get_priority_max,
7531 __libc_sched_get_priority_min, and __libc_sched_setschedule to
17c0c97d 7532 name with __ instead of __libc_.
5e2cbfb6
JJ
7533 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
7534 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
7535 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
7536 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
7537 to raise.
7538 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
7539 __libc_send to __send.
7540 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
7541 __gettimeofday.
7542 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
7543 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
7544 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
7545 type and typedef __jmp_buf to jmp_buf.
7546 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
7547 setjmp.S.
7548 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
7549 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
7550 section.
7551 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
7552 prefix for function macros and then use weak_alias() to regular names.
7553 * libc/sys/linux/machine/i386/syscall.h: Ditto.
7554 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
7555 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
7556 to be flockfile() and funlockfile() respectively.
7557 * libc/sys/linux/sys/types.h
7558 * libc/reent/getreent.c: New file.
7559 * libc/sys/linux/flockfile.c: Ditto.
7560 * libc/sys/linux/funlockfile.c: Ditto.
7561 * libc/sys/linux/getreent.c: Ditto.
7562 * libc/sys/linux/pread.c: Ditto.
7563 * libc/sys/linux/pwrite.c: Ditto.
7564 * libc/sys/linux/raise.c: Ditto.
7565 * libc/sys/linux/system.c: Ditto.
7566 * libc/sys/linux/tcdrain.c: Ditto.
7567 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
7568 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
7569 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
7570 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
7571 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
7572
7fc85bd1
TF
75732002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
7574
7575 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
7576 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
7577 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
7578 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
7579
6935231f 7580Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
d7a2f413
JR
7581
7582 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6935231f
JR
7583 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
7584 exit point.
d7a2f413 7585
3a6cb01b
TF
75862002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
7587
a68fa571
TF
7588 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
7589 options when testing natively on i[3456]86-*-linux.
7590
3a6cb01b
TF
7591 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
7592 only one pass or fail per test file. Trim \r's from output
7593 values received from test programs. Remove support for named
7594 tests.
7595 * testsuite/newlib.locale/UTF-8.exp: Update to support new
7596 newlib_check_output behaviour.
7597 * testsuite/newlib.locale/UTF-8.c: Likewise.
7598
dc824ef7
JJ
75992002-05-15 Jeff Johnston <jjohnstn@redhat.com>
7600
7601 * libc/include/stdlib.h: Add on_exit prototype.
7602 * libc/include/sys/reent.h (struct _atexit): Add argument array
7603 and bits to track type of exit routine to support both on_exit
7604 and atexit.
7605 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
7606 by default and change the setting of the atexit structure.
7607 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
7608 * libc/stdlib/on_exit.c: New file.
7609 * libc/stdlib/Makefile.am: Add support for on_exit.
7610 * libc/stdlib/Makefile.in: Regenerated.
7611 * libc/stdlib/atexit.c: Change to initialize types field.
7612 * libc/stdlib/exit.c: Change to look at types field for each
7613 exit routine and either call an atexit-style or an on_exit-style
7614 routine accordingly.
7615
48d91b4a
JJ
76162002-05-13 Jeff Johnston <jjohnstn@redhat.com>
7617
7618 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
7619 allow v specifier with n or L specifiers. For vector c format,
7620 move tmp declaration to the top.
7621
024739eb
JJ
76222002-05-13 Jeff Johnston <jjohnstn@redhat.com>
7623
7624 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
7625 the original format specifier when looping for vectors to compensate
7626 for any changes made in vector %g format processing.
7627 Also add syntax checking for various invalid scenarios
7628 involving vector format extensions.
7629 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
7630 return code setting for vector formats. Also treat vector
7631 separator mismatch as a match error instead of an input error.
7632 Perform some syntax checking for vector formats.
7633
7d2ce898
TF
76342002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
7635
7636 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
7637 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
7638 * libc/string/strlcat.c: New file.
7639 * libc/string/strlcpy.c: New file.
7640
809b6ce7
JJ
76412002-05-10 Jeff Johnston <jjohnstn@redhat.com>
7642
7643 * libc/string/strchr.c: Fix comment typo.
7644
76490806
TF
76452002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
7646
0c048a9a
TF
7647 * acinclude.m4: Add support for --enable-newlib-multithread.
7648 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
7649 --enable-newlib-multithread=no.
7650
76490806
TF
7651 * libc/stdio/getc_u.c: New file.
7652 * libc/stdio/getchar_u.c: New file.
7653 * libc/stdio/putc_u.c: New file.
7654 * libc/stdio/putchar_u.c: New file.
7655 * libc/include/stdio.h: Add declarations for getc_unlocked,
7656 getchar_unlocked, putc_unlocked and putchar_unlocked.
7657 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
7658 (CHEWOUT_FILES): Add new files' .def's.
7659 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
7660
96bff22c
JR
7661Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
7662
7663 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
7664 Also handle as single quad word when destination ends at last
7665 byte of first quad word. Fix byte selection in single quad code.
7666
e71372fa
TF
76672002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
7668
7669 * libc/include/sys/stdio.h: New file.
7670 * libc/sys/linux/sys/stdio.h: New file.
7671 * libc/include/stdio.h: Add declarations for flockfile,
7672 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
7673 * libc/stdio/clearerr.c: Add file locking.
7674 * libc/stdio/fclose.c: Likewise.
7675 * libc/stdio/feof.c: Likewise.
7676 * libc/stdio/ferror.c: Likewise.
7677 * libc/stdio/fflush.c: Likewise.
7678 * libc/stdio/fgetc.c: Likewise.
7679 * libc/stdio/fgetpos.c: Likewise.
7680 * libc/stdio/fgets.c: Likewise.
7681 * libc/stdio/fileno.c: Likewise.
7682 * libc/stdio/fputc.c: Likewise.
7683 * libc/stdio/fputs.c: Likewise.
7684 * libc/stdio/fread.c: Likewise.
7685 * libc/stdio/freopen.c: Likewise.
7686 * libc/stdio/fseek.c: Likewise.
7687 * libc/stdio/ftell.c: Likewise.
7688 * libc/stdio/fwrite.c: Likewise.
7689 * libc/stdio/getc.c: Likewise.
7690 * libc/stdio/putc.c: Likewise.
7691 * libc/stdio/setvbuf.c: Likewise.
7692 * libc/stdio/ungetc.c: Likewise.
7693 * libc/stdio/vfprintf.c: Likewise.
7694
a03790e4
JJ
76952002-05-06 Jeff Johnston <jjohnstn@redhat.com>
7696
60b2107c
TF
7697 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
7698 support for 'p' format. Fix code to print bytes for vector
7699 integer formats that do not specify 'h' or 'l'.
7700 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
7701 for 'p' specifier. Fix code to scan 16 bytes for vector integer
7702 formats that do not specify 'h' or 'l'.
7703
7704 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
7705
9c7d6a9d
TF
77062002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
7707
7708 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
7709 (_sbrk): Add cast of return value.
7710
c33c3635
JJ
77112002-05-06 Jeff Johnston <jjohnstn@redhat.com>
7712
7713 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
7714 (_REENT_L64A_BUF): New macro for accessing area.
7715 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
7716 * libc/stdlib/Makefile.in: Regenerated.
7717 * libc/stdlib/a64l.c: New file.
7718 * libc/stdlib/l64a.c: New file.
7719
f78e59a8
JJ
77202002-05-06 Jeff Johnston <jjohnstn@redhat.com>
7721
7722 * libc/unix/pread.c: Fix typo for _pread_r.
7723 * libc/unix/pwrite.c: Fix type for _pwrite_r.
7724 * libc/sys/linux/pread64.c: Fix typo for read syscall.
7725 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
7726
4b3f6588
CF
77272002-05-03 Christopher Faylor <cgf@redhat.com>
7728
7729 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
7730
e911832c
TF
77312002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
7732
7733 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
7734
0d0fdc8d
CF
77352002-05-01 Christopher Faylor <cgf@redhat.com>
7736
7737 * utmp.h: Define more UNIX constants.
7738
1e997c56
TF
77392002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
7740
0717f01c
TF
7741 * Makefile.am: Add support for checking multilibs.
7742
09841445
TF
7743 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
7744 (SUBDEFS): Add LIBC_EXTRA_DEF.
7745 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
7746 (LIBC_EXTRA_DEF): Likewise.
7747 (extra_dir): Likewise.
7748 * libc/machine/xscale/machine: New directory.
7749 * libc/machine/xscale/machine/profile.h: New file.
7750
1e997c56
TF
7751 * Makefile.am (site.exp): Remove newlib_cflags. Add
7752 multibuildtop.
7753 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
7754 * testsuite/lib/flags.exp: New file.
7755 * testsuite/lib/newlib.exp: Load flags.exp.
7756 (newlib_target_compile): Remove libgloss directory references.
7757 (newlib_init): Remove newlib_cflags references.
7758
4cf4f010
TF
77592002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
7760
f6bdb6f9
TF
7761 * testsuite/lib/newlib.exp (newlib_target_compile): Change
7762 method of finding libgloss_target_dir.
7763
4cf4f010
TF
7764 * Makefile.am (site.exp): Change host_alias, host_triplet,
7765 target_alias, target_triplet to refer to gcc's host and target
7766 variables (newlib's build and host variables).
7767 * testsuite/lib/newlib.exp (newlib_init): Change build
7768 references to host references, host references to target
7769 references to reflect Makefile.am changes.
7770 (newlib_target_compile): Likewise.
7771 (newlib_finish): Likewise.
7772
83096ae8
JJ
77732002-04-29 Jeff Johnston <jjohnstn@redhat.com>
7774
7775 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
7776
822afa53
JL
77772002-04-29 Jonathan Larmour <jlarmour@redhat.com>
7778
7779 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
7780 (_system): New function. Ditto.
7781 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
7782 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
7783 targets.
7784
29798f0d
JJ
77852002-04-29 Jeff Johnston <jjohnstn@redhat.com>
7786
7787 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
7788 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
7789 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
7790 * libc/sys/linux/Makefile.in: Regenerated.
7791 * libc/unix/Makefile.in: Ditto.
7792 * libc/sys/linux/pread64.c: New file.
7793 * libc/sys/linux/pwrite64.c: Ditto.
7794 * libc/unix/pread.c: Ditto.
7795 * libc/unix/pwrite.c: Ditto.
7796
557856bd
JJ
77972002-04-26 Jeff Johnston <jjohnstn@redhat.com>
7798
7799 * libc/sys/linux/Makefile.am: Add io64.c.
7800 * libc/sys/linux/Makefile.in: Regenerated.
7801 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
17c0c97d 7802 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
557856bd
JJ
7803 * libc/sys/linux/io64.c: New file.
7804
7b2b12d5
JJ
78052002-04-26 Jeff Johnston <jjohnstn@redhat.com>
7806
7807 * configure.in (CC_FOR_NEWLIB): New variable that
7808 bases on $(CC) and adds targ-include and libc/include as
7809 -isystem directives if they are not already part of $(CC).
7810 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
7811 $(CC_FOR_NEWLIB).
7812 * configure: Regenerated.
7813 * Makefile.in: Ditto.
7814
c62adacc
JJ
78152002-04-25 Jeff Johnston <jjohnstn@redhat.com>
7816
7817 * libc/sys/linux/Makefile.am: Add support for sched.c.
7818 * libc/sys/linux/Makefile.in: Regenerated.
7819 * libc/sys/linux/sched.c: New file.
7820 * libc/sys/linux/sys/types.h: Add struct timespec.
7821
217ad4a0
TF
78222002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
7823
7824 * configure.in (CC_FOR_BUILD): Set to gcc whether
7825 cross-compiling or not.
7826 (CC): Add -isystem's for targ-include and libc/include when they
7827 do not already appear in CC.
7828
eaa75b70
TF
78292002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
7830
7831 * Makefile.am (check-DEJAGNU): New target.
7832 (site.exp): Likewise.
7833 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
7834 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
7835 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
7836 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
7837 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
7838 * testsuite: New directory.
7839 * testsuite/config: Likewise.
7840 * testsuite/lib: Likewise.
7841 * testsuite/newlib.locale: Likewise.
7842 * testsuite/newlib.string: Likewise.
7843 * testsuite/config/default.exp: New file.
7844 * testsuite/lib/checkoutput.exp: New file.
7845 * testsuite/lib/newlib.exp: New file.
7846 * testsuite/lib/passfail.exp: New file.
7847 * testsuite/newlib.locale/UTF-8.c: New file.
7848 * testsuite/newlib.locale/UTF-8.exp: New file.
7849 * testsuite/newlib.locale/locale.exp: New file.
7850 * testsuite/newlib.string/string.exp: New file.
7851 * testsuite/newlib.string/tstring.c: New file.
7852
b9f9f699
JJ
78532002-04-23 Jeff Johnston <jjohnstn@redhat.com>
7854
7855 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
7856 * libc/sys/linux/Makefile.am: Add support for mmap.c.
7857 * libc/sys/linux/Makefile.in: Regenerated.
7858 * libc/sys/linux/mmap.c: New file.
7859 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
7860 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
7861
7394edbb
TF
78622002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7863
7864 * acinclude.m4 (newlib_cflags): Remove include directories that
7865 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
7866
b9f9f699 78672002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
59be2290
JJ
7868
7869 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
7870 * libc/machine/xscale/memcmp.c: Ditto.
7871 * libc/machine/xscale/memcpy.c: Ditto.
7872 * libc/machine/xscale/memmove.c: Ditto.
7873 * libc/machine/xscale/memset.c: Ditto.
7874 * libc/machine/xscale/strchr.c: Ditto.
7875 * libc/machine/xscale/strcmp.c: Ditto.
7876 * libc/machine/xscale/strcpy.c: Ditto.
7877 * libc/machine/xscale/strlen.c: Ditto.
7878
2dd4c4dc
JJ
78792002-04-19 Alexandre Oliva <aoliva@redhat.com>
7880
7881 * libc/include/sys/config.h: Remove include of <limits.h>.
7882 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
7883 define INT_MAX and LONG_MAX. Use them in tests.
7884
0d844014
JJ
78852002-04-19 Jeff Johnston <jjohnstn@redhat.com>
7886
7887 * configure.host: Add support for powerpc-eabialtivec*.
7888 * libc/include/malloc.h: Add include of <machine/malloc.h>.
7889 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
7890 * libc/include/machine/malloc.h: New file.
7891 * libc/include/machine/stdlib.h: Ditto.
7892 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
7893 * libc/machine/powerpc/Makefile.am: Add conditional objects and
7894 sources based on configuration.
7895 * libc/machine/powerpc/Makefile.in: Regenerated.
7896 * libc/machine/powerpc/configure: Ditto.
7897 * libc/machine/powerpc/configure.in: Add check for
7898 powerpc-eabialtivec* in which case add in additional source files.
7899 * libc/machine/powerpc/setjmp.S: Add altivec support.
7900 * libc/machine/powerpc/vec_calloc.c: New file.
7901 * libc/machine/powerpc/vec_free.c: Ditto.
7902 * libc/machine/powerpc/vec_malloc.c: Ditto.
7903 * libc/machine/powerpc/vec_mallocr.c: Ditto.
7904 * libc/machine/powerpc/vec_realloc.c: Ditto.
7905 * libc/machine/powerpc/machine/malloc.h: Ditto.
7906 * libc/machine/powerpc/machine/stdlib.h: Ditto.
7907 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
7908 with added altivec format specifiers.
7909 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
7910 added altivec format specifiers.
7911
d413aadc
JS
79122002-04-19 Joel Sherrill <joel@OARcorp.com>
7913
7914 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
7915 while autoconf is trying to link main(){}.
7916
27193895
JJ
79172002-04-17 Jeff Johnston <jjohnstn@redhat.com>
7918
7919 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
7920 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
7921
10d00216
JJ
79222002-04-17 Jeff Johnston <jjohnstn@redhat.com>
7923
6b0f808e
JJ
7924 * libc/time/time.tex: Add tzset info.
7925
79262002-04-17 Jeff Johnston <jjohnstn@redhat.com>
7927
7928 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
7929 (strptime): Moved prototype to be within !__STRICT_ANSI__.
7930 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
7931 (tzname): Defined for all platforms.
7932 (daylight, timezone): Defined only for CYGWIN.
7933 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
7934 environment set up.
7935 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
7936 environment variable is set.
7937 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
7938 tzset_r.c.
7939 * libc/time/Makefile.in: Regenerated.
7940 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
7941 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
7942 * libc/time/lcltime_r.c (lcltime_r): Ditto.
7943 * libc/time/local.h: New local header file.
7944 * libc/time/mktime.c (mktime): Add timezone support.
7945 * libc/time/mktm_r.c: New file which is the common engine
7946 for gmtime_r and lcltime_r. This code has timezone support.
7947 * libc/time/strftime.c (strftime): Add %Z timezone support.
7948 * libc/time/tzlock.c: New file containing timezone lock stubs.
7949 * libc/time/tzset.c: New file containing tzset() routine.
7950 * libc/time/tzset_r.c: New file containing _tzset_r and
7951 internal routine for calculating timezone changes for specified year.
7952
79532002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
7954
7955 * configure.in (CRT0_DIR): Set to libc/.
7956 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
7957 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
7958 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
7959 $(CRT1_DIR)/$(CRT1).
7960 * libc/machine/xstormy16/Makefile.in: Regenerated.
7961 * libc/machine/xstormy16/aclocal.m4: Regenerated.
7962 * libc/machine/xstormy16/configure: Regenerated.
7963
79642002-04-13 Alexandre Oliva <aoliva@redhat.com>
7965
7966 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
7967 fails, don't bail out, and try to correct next time.
7968
7969 * libc/include/sys/config.h: Include limits.h.
7970
79712002-04-12 Eric Norum <eric.norum@usask.com>
7972
7973 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
7974 routine to allow autoconf to determine that building executables
7975 for rtems works.
7976 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
7977 (rtems_gxx_mutex_once): Ditto.
7978
79792002-04-09 Tom Rix <trix@redhat.com>
7980
7981 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
7982
79832002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
7984
7985 * libc/include/time.h: Fix strptime declaration.
7986 * libc/time/Makefile.am: Add strptime.c.
7987 * libc/time/Makefile.in: Regenerated.
7988 * libc/time/strptime.c: New file.
7989
79902002-04-08 Jeff Johnston <jjohnstn@redhat.com>
7991
7992 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
7993 siglongjmp prototype, and sigsetjmp macro definition.
7994 * libc/sys/linux/siglongjmp.c: New file.
7995 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
7996 * libc/sys/linux/Makefile.in: Regenerated.
7997
79982002-04-04 Jeff Johnston <jjohnstn@redhat.com>
7999
8000 * Makefile.am: Add support for installing crt1.o if one exists.
8001 * configure.host: Specify crt1.o for linux.
8002 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
8003 * Makefile.in: Regenerated.
8004 * configure: Ditto.
8005 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
8006 Added for non-Cygwin, non-RTEMS configurations.
8007 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
8008 * libc/sys/linux/Makefile.in: Regenerated.
8009 * libc/sys/linux/crt1.c: New empty file to override one defaulted
8010 by gcc. This fixes problem with reconfiguring linux newlib build.
8011 * libc/sys/linux/sysconf.c: New file.
8012
80132002-04-03 Jeff Johnston <jjohnstn@redhat.com>
8014
8015 * configure.host: Add support for machine subdirectory of
8016 sys subdirectory.
8017 * configure.in: Add check for sys machine subdirectory.
8018 * Makefile.am: Ditto.
8019 * configure: Regenerated.
8020 * Makefile.in: Ditto.
8021 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
8022 * libc/sys/linux/sys/syscall.h: Ditto.
8023 * libc/sys/linux/sleep.c: New file.
8024 * libc/sys/linux/socket.c: Ditto.
8025 * libc/sys/linux/sockops.h: Ditto.
8026 * libc/sys/linux/stack.c: Ditto.
8027 * libc/sys/linux/usleep.c: Ditto.
8028 * libc/sys/linux/machine/Makefile.am: Ditto.
8029 * libc/sys/linux/machine/Makefile.in: Ditto.
8030 * libc/sys/linux/machine/aclocal.m4: Ditto.
8031 * libc/sys/linux/machine/configure: Ditto.
8032 * libc/sys/linux/machine/configure.in: Ditto.
8033 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
8034 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
8035 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
8036 * libc/sys/linux/machine/i386/configure: Ditto.
8037 * libc/sys/linux/machine/i386/configure.in: Ditto.
8038 * libc/sys/linux/machine/i386/crt0.c: Ditto.
8039 * libc/sys/linux/machine/i386/sigset.c: Ditto.
8040 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
8041 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
8042 * libc/sys/linux/machine/i386/syscall.h: Ditto.
8043 * libc/sys/linux/sys/select.h: Ditto.
8044 * libc/sys/linux/configure.in: Add support for machine directory.
8045 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
8046 * libc/sys/linux/Makefile.in: Regenerated.
8047 * libc/sys/linux/configure: Ditto.
8048 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
8049 * libc/sys/linux/inode.c: Ditto.
8050 * libc/sys/linux/linux.c: Ditto.
8051 * libc/sys/linux/process.c: Ditto.
8052 * libc/sys/linux/systat.c: Ditto.
8053 * libc/sys/linux/time.c: Ditto.
8054 * libc/sys/linux/wait.c: Ditto.
8055 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
8056 * libc/sys/linux/io.c: Change header plus add readv/writev.
8057 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
8058 use __sigsuspend syscall.
8059 * libc/sys/linux/select.c: Change header plus change select to
8060 use _newselect syscall.
8061 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
8062 used by glibc header files.
8063 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
8064 types.
8065
80662002-04-01 Jeff Johnston <jjohnstn@redhat.com>
8067
8068 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
8069 initializing a struct _reent that has been dynamically allocated.
8070 (_REENT_CHECK_MISC): New macro that checks _misc struct for
8071 _REENT_SMALL and does nothing otherwise.
8072 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
8073 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
8074 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
8075 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
8076 [_REENT_SMALL](struct _misc_reent): New structure containing
8077 miscellaneous reentrant areas needed by newlib.
8078 [_REENT_SMALL](struct _reent): Add _misc pointer.
8079 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
8080 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
8081 and _REENT_STRTOK_LAST macros.
8082 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
8083 and _REENT_MBLEN_STATE macros.
8084 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
8085 and _REENT_MBTOWC_STATE macros.
8086 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
8087 and _REENT_WCTOMB_STATE macros.
8088
80892002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
8090
8091 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
8092
8093Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
8094
8095 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
8096
8097Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
8098
8099 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
8100 Store high part of leading bytes too.
8101
81022002-03-22 Richard Sandiford <rsandifo@redhat.com>
8103
8104 * libm/math/ef_hypot.c: Increase scale factor to 68.
8105
81062002-03-13 Alexandre Oliva <aoliva@redhat.com>
8107
8108 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
8109 error.
8110
81112002-03-12 Jeff Johnston <jjohnstn@redhat.com>
8112
8113 * libc/sys/go32/access.c: Change license to relaxed license
8114 used in identical file throughout newlib/libgloss.
8115
81162002-03-12 Richard Earnshaw <rearnsha@arm.com>
8117
8118 * libc/sys/arm/access.c: New file.
8119 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
8120 * libc/sys/arm/Makefile.in: Regenerate.
8121 * libc/sys/arm/syscalls.c (_stat): New function.
8122
81232002-03-11 Michael Meissner <meissner@redhat.com>
8124
8125 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
8126 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
8127 * libc/machine/mips/Makefile.in: Regenerate.
8128 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
8129 * libc/machine/mips/memset.c: Dito.
8130 * libc/machine/mips/strcmp.c: Dito.
8131 * libc/machine/mips/strlen.c: Dito.
8132 * libc/machine/mips/strncmp.c: Dito.
8133
81342002-03-06 Jeff Johnston <jjohnstn@redhat.com>
8135
8136 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
8137 object so it works for shared library or statici library.
81382002-04-17 Jeff Johnston <jjohnstn@redhat.com>
8139
10d00216
JJ
8140 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
8141 (strptime): Moved prototype to be within !__STRICT_ANSI__.
8142 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
8143 (tzname): Defined for all platforms.
8144 (daylight, timezone): Defined only for CYGWIN.
8145 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
8146 environment set up.
8147 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
8148 environment variable is set.
8149 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
8150 tzset_r.c.
8151 * libc/time/Makefile.in: Regenerated.
8152 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
8153 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
8154 * libc/time/lcltime_r.c (lcltime_r): Ditto.
8155 * libc/time/local.h: New local header file.
8156 * libc/time/mktime.c (mktime): Add timezone support.
8157 * libc/time/mktm_r.c: New file which is the common engine
8158 for gmtime_r and lcltime_r. This code has timezone support.
8159 * libc/time/strftime.c (strftime): Add %Z timezone support.
8160 * libc/time/tzlock.c: New file containing timezone lock stubs.
8161 * libc/time/tzset.c: New file containing tzset() routine.
8162 * libc/time/tzset_r.c: New file containing _tzset_r and
8163 internal routine for calculating timezone changes for specified year.
8164
5f1c13c6
TF
81652002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
8166
8167 * configure.in (CRT0_DIR): Set to libc/.
8168 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
8169 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
8170 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
8171 $(CRT1_DIR)/$(CRT1).
8172 * libc/machine/xstormy16/Makefile.in: Regenerated.
8173 * libc/machine/xstormy16/aclocal.m4: Regenerated.
8174 * libc/machine/xstormy16/configure: Regenerated.
8175
0cc261b1
AO
81762002-04-13 Alexandre Oliva <aoliva@redhat.com>
8177
2f3009bd
AO
8178 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
8179 fails, don't bail out, and try to correct next time.
8180
0cc261b1
AO
8181 * libc/include/sys/config.h: Include limits.h.
8182
26116455
JJ
81832002-04-12 Eric Norum <eric.norum@usask.com>
8184
8185 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
8186 routine to allow autoconf to determine that building executables
8187 for rtems works.
8188 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
8189 (rtems_gxx_mutex_once): Ditto.
8190
4608280d
TR
81912002-04-09 Tom Rix <trix@redhat.com>
8192
8193 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
8194
dea7e25c
JJ
81952002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
8196
8197 * libc/include/time.h: Fix strptime declaration.
8198 * libc/time/Makefile.am: Add strptime.c.
8199 * libc/time/Makefile.in: Regenerated.
8200 * libc/time/strptime.c: New file.
8201
c5ef1e95
JJ
82022002-04-08 Jeff Johnston <jjohnstn@redhat.com>
8203
8204 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
8205 siglongjmp prototype, and sigsetjmp macro definition.
8206 * libc/sys/linux/siglongjmp.c: New file.
8207 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
8208 * libc/sys/linux/Makefile.in: Regenerated.
8209
6e6cd5bd
JJ
82102002-04-04 Jeff Johnston <jjohnstn@redhat.com>
8211
8212 * Makefile.am: Add support for installing crt1.o if one exists.
8213 * configure.host: Specify crt1.o for linux.
8214 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
8215 * Makefile.in: Regenerated.
8216 * configure: Ditto.
8217 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
8218 Added for non-Cygwin, non-RTEMS configurations.
8219 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
8220 * libc/sys/linux/Makefile.in: Regenerated.
8221 * libc/sys/linux/crt1.c: New empty file to override one defaulted
8222 by gcc. This fixes problem with reconfiguring linux newlib build.
8223 * libc/sys/linux/sysconf.c: New file.
8224
fa4a16a1
JJ
82252002-04-03 Jeff Johnston <jjohnstn@redhat.com>
8226
8227 * configure.host: Add support for machine subdirectory of
8228 sys subdirectory.
8229 * configure.in: Add check for sys machine subdirectory.
8230 * Makefile.am: Ditto.
8231 * configure: Regenerated.
8232 * Makefile.in: Ditto.
8233 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
8234 * libc/sys/linux/sys/syscall.h: Ditto.
8235 * libc/sys/linux/sleep.c: New file.
8236 * libc/sys/linux/socket.c: Ditto.
8237 * libc/sys/linux/sockops.h: Ditto.
8238 * libc/sys/linux/stack.c: Ditto.
8239 * libc/sys/linux/usleep.c: Ditto.
8240 * libc/sys/linux/machine/Makefile.am: Ditto.
8241 * libc/sys/linux/machine/Makefile.in: Ditto.
8242 * libc/sys/linux/machine/aclocal.m4: Ditto.
8243 * libc/sys/linux/machine/configure: Ditto.
8244 * libc/sys/linux/machine/configure.in: Ditto.
8245 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
8246 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
8247 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
8248 * libc/sys/linux/machine/i386/configure: Ditto.
8249 * libc/sys/linux/machine/i386/configure.in: Ditto.
8250 * libc/sys/linux/machine/i386/crt0.c: Ditto.
8251 * libc/sys/linux/machine/i386/sigset.c: Ditto.
8252 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
8253 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
8254 * libc/sys/linux/machine/i386/syscall.h: Ditto.
8255 * libc/sys/linux/sys/select.h: Ditto.
8256 * libc/sys/linux/configure.in: Add support for machine directory.
8257 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
8258 * libc/sys/linux/Makefile.in: Regenerated.
8259 * libc/sys/linux/configure: Ditto.
8260 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
8261 * libc/sys/linux/inode.c: Ditto.
8262 * libc/sys/linux/linux.c: Ditto.
8263 * libc/sys/linux/process.c: Ditto.
8264 * libc/sys/linux/systat.c: Ditto.
8265 * libc/sys/linux/time.c: Ditto.
8266 * libc/sys/linux/wait.c: Ditto.
8267 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
8268 * libc/sys/linux/io.c: Change header plus add readv/writev.
8269 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
8270 use __sigsuspend syscall.
8271 * libc/sys/linux/select.c: Change header plus change select to
8272 use _newselect syscall.
8273 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
8274 used by glibc header files.
8275 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
8276 types.
8277
d4dca0e4
JJ
82782002-04-01 Jeff Johnston <jjohnstn@redhat.com>
8279
8280 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
8281 initializing a struct _reent that has been dynamically allocated.
8282 (_REENT_CHECK_MISC): New macro that checks _misc struct for
8283 _REENT_SMALL and does nothing otherwise.
8284 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
8285 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
8286 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
8287 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
8288 [_REENT_SMALL](struct _misc_reent): New structure containing
8289 miscellaneous reentrant areas needed by newlib.
8290 [_REENT_SMALL](struct _reent): Add _misc pointer.
8291 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
8292 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
8293 and _REENT_STRTOK_LAST macros.
8294 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
8295 and _REENT_MBLEN_STATE macros.
8296 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
8297 and _REENT_MBTOWC_STATE macros.
8298 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
8299 and _REENT_WCTOMB_STATE macros.
8300
54a7c6d2
JJ
83012002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
8302
8303 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
8304
c82479b1
CF
8305Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
8306
8307 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
8308
43ecf6e8
JR
8309Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
8310
8311 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
8312 Store high part of leading bytes too.
8313
a485d93f
RS
83142002-03-22 Richard Sandiford <rsandifo@redhat.com>
8315
8316 * libm/math/ef_hypot.c: Increase scale factor to 68.
8317
62a963ee
AO
83182002-03-13 Alexandre Oliva <aoliva@redhat.com>
8319
8320 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
8321 error.
8322
c53d8453
JJ
83232002-03-12 Jeff Johnston <jjohnstn@redhat.com>
8324
8325 * libc/sys/go32/access.c: Change license to relaxed license
8326 used in identical file throughout newlib/libgloss.
8327
d2a246ad
JJ
83282002-03-12 Richard Earnshaw <rearnsha@arm.com>
8329
8330 * libc/sys/arm/access.c: New file.
8331 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
8332 * libc/sys/arm/Makefile.in: Regenerate.
8333 * libc/sys/arm/syscalls.c (_stat): New function.
8334
eabb48d5
MM
83352002-03-11 Michael Meissner <meissner@redhat.com>
8336
8337 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
8338 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
8339 * libc/machine/mips/Makefile.in: Regenerate.
8340 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
8341 * libc/machine/mips/memset.c: Dito.
8342 * libc/machine/mips/strcmp.c: Dito.
8343 * libc/machine/mips/strlen.c: Dito.
8344 * libc/machine/mips/strncmp.c: Dito.
8345
2a606041
JJ
83462002-03-06 Jeff Johnston <jjohnstn@redhat.com>
8347
eabb48d5
MM
8348 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
8349 object so it works for shared library or statici library.
8350 * libc/machine/i386/Makefile.in: Regenerated.
2a606041 8351
55f26f11
JR
8352Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
8353
96bff22c
JR
8354 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
8355 Add memcpy.S, memset.S and strcpy.S.
8356 * libc/machine/sh/Makefile.in: Regenerate.
8357 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
55f26f11 8358 (SHHI, SHLO): Define.
96bff22c
JR
8359 * libc/machine/sh/memset.S: Add code for SH5.
8360 * libc/machine/sh/memset.S: Likewise.
8361 * libc/machine/sh/strcpy.S: Likewise.
55f26f11 8362
afecf2fa
JJ
83632002-02-27 Jeff Johnston <jjohnstn@redhat.com>
8364
8365 * configure.host: Add check for --disable-newlib-io-float
8366 configuration option and add -DNO_FLOATING_POINT to newlib cflags
8367 if appropriate.
8368 * acinclude.m4: Added --disable-newlib-io-float option.
8369 * aclocal.m4: Regenerated.
8370 * configure: Ditto.
8371 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
17c0c97d 8372 * libc/*/aclocal.m4 libc/*/configure
afecf2fa
JJ
8373 * libm/*/aclocal.m4 libm/*/configure: Ditto.
8374 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
8375 if NO_FLOATING_POINT flag is not defined.
8376
c1010a63
JJ
83772002-02-25 Jeff Johnston <jjohnstn@redhat.com>
8378
8379 * libc/include/sys/config.h: Add __extension__ in front of
8380 long long references.
8381
630c657e
CV
83822002-02-23 Corinna Vinschen <corinna@vinschen.de>
8383
8384 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
8385 (_stat): Ditto.
8386
59ee2e20
CV
83872002-02-23 Corinna Vinschen <corinna@vinschen.de>
8388
8389 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
8390 of off_t.
8391
2dd68dc2
NC
83922002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
8393
8394 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
8395 clobbered registers.
8396
55500bf1
TF
83972002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
8398
8399 * configure.host (newlib_cflags): When host is in m68* add
8400 -DCOMPACT_CTYPE.
8401
ba0173f0
JJ
84022002-02-15 Jeff Johnston <jjohnstn@redhat.com>
8403
8404 * libc/include/sys/config.h: Add definitions for
8405 __int16_t, __uint16_t, __int64_t, and __uint64_t.
8406
7b61d0c5
JJ
84072002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
8408
8409 * libc/sys/mmixware/link.c: New.
8410 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
8411 volatile.
8412 * libc/sys/mmixware/times.c (_times): Renamed from times.
8413 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
8414 properly by reading previous contents, not through BinaryReadWrite.
8415 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
8416 * libc/sys/mmixware/Makefile.in: Regenerate.
8417
a505db65
CV
84182002-02-10 Corinna Vinschen <corinna@vinschen.de>
8419
8420 * libc/include/grp.h: Don't declare group functions when compiling
8421 Cygwin.
8422
f3b39c45
CV
84232002-02-09 Corinna Vinschen <corinna@vinschen.de>
8424
8425 * libc/include/grp.h: Include Cygwin specific header.
8426 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
8427 when compiling for Cygwin.
8428 * libc/include/sys/types.h: Don't define off_t, uid_t
8429 and gid_t when compiling for Cygwin.
8430
82b3ac56
MG
84312002-02-08 matthew green <mrg@redhat.com>
8432
8433 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
8434 _REENT_EMERGENCY_SIZE, not sizeof(char *).
8435
9f25eed9
AO
84362002-02-08 Alexandre Oliva <aoliva@redhat.com>
8437
8438 Contribute sh64-elf.
8439 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
8440 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
8441 support in printf.
8442 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
8443 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
8444 any labels.
8445 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
8446 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
8447 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
8448 * libc/machine/sh/configure.in: Rework conditionals.
8449 * libc/machine/sh/Makefile.am: Likewise.
8450 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
8451 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
8452 * configure.host: Match `sh*'.
8453 * libc/include/machine/setjmp.h: Define for SH5.
8454 * libc/machine/sh/configure.in: Detect SH5.
8455 * libc/machine/sh/configure: Rebuilt.
8456 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
8457 * libc/machine/sh/Makefile.in: Rebuilt.
8458 * libc/machine/sh/asm.h: Adjust for SH5.
8459 * libc/machine/sh/setjmp.S: Implement in SHmedia.
8460 * libc/sys/sh/crt0.S: Likewise.
8461 * libc/sys/sh/trap.S: Likewise.
8462
a2a405ae
JJ
84632002-02-07 Jeff Johnston <jjohnstn@redhat.com>
8464
8465 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
8466 (mach_add_obj): Conditionally set to setjmp.o or nothing.
8467 (LIB_SOURCES): Remove $(mach_add_src).
8468 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
8469 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
8470 * libc/machine/i386/Makefile.in: Regenerate.
8471
27478365
JJ
84722002-02-05 Manik Raina <manik@cisco.com>
8473
994fa212 8474 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
27478365
JJ
8475 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
8476 s, p, k, and outstr.
8477 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
8478
815a37f7
JJ
84792002-02-04 Jeff Johnston <jjohnstn@redhat.com>
8480
8481 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
8482 _REENT_CHECK_EMERGENCY macro.
8483
a4139c12
MG
84842002-02-03 matthew green <mrg@redhat.com>
8485
8486 * libc/reent/signgam.c (__signgam): Fix error in previous.
8487
8195aff7
MG
84882002-02-02 matthew green <mrg@redhat.com>
8489
8490 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
8491
8492 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
8493 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
8494 * libc/include/sys/reent.h (struct _reent): Completely new version
8495 for _REENT_SMALL.
8496 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
8497 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
8498 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
8499 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
8500 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
8501 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
8502 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
8503 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
8504 (_REENT_EMERGENCY): Likewise.
8505
8506 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
8507 the start of the real __sFILE, used for stdin, stdout and stderr until
8508 they are setup properly.
8509 (struct __sFILE): Move location of _data in _REENT_SMALL case.
8510 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
8511 allocated stdin, stdout and stderr.
8512 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
8513 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
8514 * libc/stdio/perror.c (_perror_r): Likewise.
8515 * libc/stdio/printf.c (printf, _printf_r): Likewise.
8516 * libc/stdio/putchar.c (_putchar_r): Likewise.
8517 * libc/stdio/puts.c (_puts_r): Likewise.
8518 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
8519 * libc/stdio/vprintf.c (vprintf): Likewise.
8520 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
8521
8522 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
8523
8524 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
8525 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
8526 for _REENT_SMALL.
8527 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
8528 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
8529
8530 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
8531 _REENT_SMALL.
8532 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
8533 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
8534 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
8535 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
8536 * libc/stdlib/rand48.c (__dorand48): Likewise.
8537 * libc/stdlib/seed48.c (_seed48_r): Likewise.
8538 * libc/stdlib/srand48.c (_srand48_r): Likewise.
8539 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
8540 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
8541 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
8542 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
8543 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
8544 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
8545 * libc/stdlib/rand.c (rand): Likewise.
8546
8547 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
8548 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
8549
8550 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
8551 _REENT_MP_FREELIST() and _REENT_MP_P5S.
8552 * libc/include/sys/reent.h (struct _mprec): New structure.
8553
8554 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
8555 _unused_strtok_last.
8556 * libc/string/strtok.c (strtok): Use a local static variable.
8557
8558 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
8559 (_REENT_EMERGENCY_SIZE): Likewise.
8560 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
8561 _REENT_ASCTIME_BUF().
8562 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
8563 _REENT_TM().
8564
8565 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
8566 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
8567 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
8568 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
8569 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
8570 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
8571
9c2e7642
GK
85722002-02-01 Geoffrey Keating <geoffk@redhat.com>
8573
8574 * configure.host (xstormy16): Don't use the generic malloc.
8575 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
8576 * libc/machine/xstormy16/Makefile.in: Regenerate.
8577 * libc/machine/xstormy16/mallocr.c: New file.
8578 * libc/machine/xstormy16/tiny-malloc.c: New file.
8579
4bb6112f
TF
85802002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
8581
8582 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
8583 when _CYGWIN_TYPES_H is not defined.
8584
8d345552
TF
85852002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8586
8587 * libc/include/sys/signal.h: Revert 2002-01-23 change.
8588
bcc49082
TF
85892002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
8590
8591 * libc/include/sys/signal.h: Remove pthread_kill declaration
8592 when __CYGWIN__ is defined.
8593
13baedeb
CF
85942002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
8595
8596 * libc/include/time.h: Add prototype for strptime for Cygwin.
8597
b2db0ebc
NC
85982002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
8599
ebf139fb
NC
8600 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
8601 dst was not word aligned.
8602
b2db0ebc
NC
8603 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
8604 if too much memory is requested.
8605
798c015d
JJ
86062002-01-11 Jeff Johnston <jjohnstn@redhat.com>
8607
8608 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
8609 reads blanks from the input file to break if EOF reached
8610 rather than end processing.
8611
46ad2ef4
JJ
86122002-01-07 Jeff Johnston <jjohnstn@redhat.com>
8613
8614 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
8615
86b06396
JJ
86162002-01-07 Alan Matsuoka <alanm@redhat.com>
8617
8618 * libc/include/machine/ieeefp.h: Configure d10v doubles to
8619 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
8620 libc/include/sys/config.h: Ditto.
8621
423d5064
CV
86222001-12-28 Corinna Vinschen <corinna@vinschen.de>
8623
8624 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
8625
f6eff1c0
GK
86262001-12-22 Geoffrey Keating <geoffk@redhat.com>
8627 Catherine Moore <clm@redhat.com>
8628 Richard Henderson <rth@redhat.com>
8629 Corinna Vinschen <vinschen@redhat.com>
8630
8631 * configure.host: Add support for xstormy16.
8632 * libc/include/machine/ieeefp.h: Add support for xstormy16.
8633 * libc/include/machine/setjmp.h: Add support for xstormy16.
8634 * libc/include/sys/config.h: Add support for xstormy16.
8635 * libc/machine/xstormy16/Makefile.am: New file.
8636 * libc/machine/xstormy16/Makefile.in: New file.
8637 * libc/machine/xstormy16/aclocal.m4: New file.
8638 * libc/machine/xstormy16/configure: New file.
8639 * libc/machine/xstormy16/configure.in: New file.
8640 * libc/machine/xstormy16/setjmp.S: New file.
8641
1f93c55f
TF
86422001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
8643
8644 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
8645 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
8646
13b918be
CV
86472001-12-19 Corinna Vinschen <corinna@vinschen.de>
8648
8649 * libm/machine/Makefile.am: Change rules to create correct lib.a.
8650 * libm/machine/Makefile.in: Regenerated through automake.
8651
08e857b4
TF
86522001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8653
8654 * Makefile.am (DOCDIR): Force to empty string when doc
8655 directory is not present.
8656
60565ed6
TF
86572001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8658
8659 * libc/machine/i386/f_*: Move to libm/machine/i386.
8660
86612001-12-18 Joel Sherrill <joel@OARcorp.com>
8662
8663 * libm/machine/Makefile.am: Add dummy doc stub so
8664 "make info" works.
8665
86662001-12-17 Joel Sherrill <joel@OARcorp.com>
8667
8668 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
8669
fc504135
TF
86702001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
8671
8672 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
8673 $(COMPILE) rather than $(CC).
8674 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
8675 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
8676 $(LIB_COMPILE) change.
8677 (vfiprintf.$(oext)): Likewise.
8678
efeae9a3
CV
86792001-12-17 Corinna Vinschen <vinschen@redhat.de>
8680
8681 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
8682 conditionalized including of getopt stuff.
8683
cdf7120d
TF
86842001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8685
8686 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
8687 compile line.
f85be99c 8688 (vfiprintf.$(oext)): Likewise.
cdf7120d 8689
2e1a7175
TF
86902001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
8691
8692 * Makefile.shared: New file.
8693 * libc/sys/linux/shared.ld: New file.
8694 * libm/machine/*: New files.
8695 * libm/machine/i386/*: New files.
8696 * Makefile.am: Add libtool support. Change math and mathfp
8697 references to variables.
8698 * configure.host: Add variables for libtool support. Add
8699 libm_machine_dir variable.
8700 * configure.in: Add objectlist variables, for libtool
8701 support. Add CC_FOR_BUILD tests.
8702 * libc/Makefile.am: Add libtool support. Change crt0.o
8703 reference to be a variable reference.
8704 * libc/configure.in: Add libtool support. Change sublib
8705 names to be lib${subdir}.la when using libtool.
8706 * libc/ctype/Makefile.am: Add libtool support.
8707 * libc/errno/Makefile.am: Likewise.
8708 * libc/locale/Makefile.am: Likewise.
8709 * libc/machine/Makefile.am: Likewise.
8710 * libc/machine/configure.in: Likewise.
8711 * libc/machine/i386/Makefile.am: Likewise.
8712 * libc/machine/i386/configure.in: Likewise.
8713 * libc/misc/Makefile.am: Likewise.
8714 * libc/posix/Makefile.am: Likewise.
8715 * libc/reent/Makefile.am: Likewise.
8716 * libc/signal/Makefile.am: Likewise.
8717 * libc/stdio/Makefile.am: Likewise.
8718 * libc/stdlib/Makefile.am: Likewise.
8719 * libc/string/Makefile.am: Likewise.
8720 * libc/sys/Makefile.am: Likewise.
8721 * libc/sys/configure.in: Likewise.
8722 * libc/sys/linux/Makefile.am: Add libtool support. Change
8723 awk reference to a variable reference. Change signal.h
8724 reference to a variable reference.
8725 * libc/sys/linux/configure.in: Add libtool support.
8726 * libc/syscalls/Makefile.am: Likewise.
8727 * libc/time/Makefile.am: Likewise.
8728 * libc/unix/Makefile.am: Likewise.
8729 * libm/Makefile.am: Add libtool support. Change math and
8730 mathfp references to variables.
8731 * libm/configure.in: Add libtool support. Add
8732 LIBM_MACHINE_LIB variable.
8733 * libm/common/Makefile.am: Add libtool support.
8734 * libm/math/Makefile.am: Likewise.
8735 * libm/mathfp/Makefile.am: Likewise.
8736 Regenerate all Makefile.in, aclocal.m4, and configure.
8737
b92591a1
JJ
87382001-12-13 Anita Kulkarni <anitak@kpit.com>
8739
8740 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
8741
355b664e
CF
87422001-12-06 John Peacock <jpeacock@rowman.com>
8743
8744 * libc/include/sys/unistd.h: Correct ualarm declaration.
8745
e9853806
NC
87462001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
8747
8748 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
8749 vector before calling the initialisation functions.
8750
a8e091b0
CF
87512001-11-29 Christopher Faylor <cgf@redhat.com>
8752
8753 * libc/include/dirent.h: Protect against multiple inclusion.
8754
ab634123
CF
87552001-11-27 Christopher Faylor <cgf@redhat.com>
8756
8757 * libc/include/sys/types.h: Define useconds_t.
8758 * libc/include/sys/ulimit.h: Declare ualarm.
8759
d37e401e
CF
87602001-11-21 Christopher Faylor <cgf@redhat.com>
8761
8762 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
8763
8ac90051
HPN
87642001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
8765
8766 * libc/sys/mmixware/*: Tweak license header in all source files.
8767
d7ca37e4
CV
87682001-11-12 Corinna Vinschen <vinschen@redhat.com>
8769
8770 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
8771 to here. Rearrange for general inclusion by stdlib.h.
8772 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
8773 isn't defined.
8774 * libc/sys/linux/include/alloca.h: Move to libc/include.
8775
28f8744e
AG
87762001-11-12 Anthony Green <green@redhat.com>
8777
8778 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
8779
4cede8c4
HPN
87802001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
8781
8782 * libc/sys/mmixware/*: Correct spacing in all source files.
8783 * libc/sys/mmixware/syscall.h: Move misplaced file...
8784 * libc/sys/mmixware/sys/syscall.h: ...here.
8785
8be9b48b
JJ
87862001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
8787
8788 * libc/include/machine/ieeefp.h: Add support for mmix target.
8789 * libc/include/machine/setjmp.h: Ditto.
8790 * configure.host: Ditto.
8791 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
8792 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
8793 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
8794 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
8795 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
8796 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
8797 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
8798 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
8799 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
8800 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
8801 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
8802 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
8803 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
8804 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
8805 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
8806 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
8807 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
8808 libc/sys/mmixware/aclocal.m4: Generate.
8809
c7dd4f95
CV
88102001-11-05 Corinna Vinschen <corinna@vinschen.de>
8811
8812 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
8813 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
8814 when __CYGWIN__ is defined.
8815 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
8816 logwtmp().
8817
a6a6f9fe
JJ
88182001-11-01 Arati Dikey <aratidikey@hotmail.com>
8819
8820 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
8821 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
8822 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
8823 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
8824
d0504c35
JJ
88252001-10-24 Christopher Faylor <cgf@redhat.com>
8826
8827 * libc/stdio/fseek.c: Reset pointer to buffer base
8828 when forced to seek outside of current buffer contents.
8829 This prevents the code from erroneously thinking there is
8830 anything in the current buffer.
8831
0280c8c0
GK
88322001-10-22 Geoffrey Keating <geoffk@redhat.com>
8833
8834 * libc/include/math.h: The C++ standard adds the single-precision
8835 versions of the elementary functions.
8836
333d6098
CF
88372001-10-22 Christopher Faylor <cgf@redhat.com>
8838
8839 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
8840 throughout.
8841 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
8842 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
8843 * system.c (_system_r): Ditto.
8844
c7118319
CV
88452001-10-17 Corinna Vinschen <corinna@vinschen.de>
8846
8847 * libc/include/sys/unistd.h: Add prototype for fchdir() when
b4e98df6 8848 __CYGWIN__ or __rtems__ is defined.
c7118319 8849
5665b0e1
JJ
88502001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
8851
8852 * libc/include/stdlib.h: add declarations for
8853 _strtoull_r, _strtoll_r, strtoull, and strtoll.
8854 * libc/stdio/local.h: remove declarations of
8855 __strtoull_r and __strtoll_r.
8856 * libc/stdio/vfscanf.c(__svfscanf_r): call
8857 _strtoull_r instead of __strtoull_r. Ditto
8858 _strtoll_r vs. __strtoll_r.
8859 * libc/stdlib/Makefile.am: add new files to
8860 .c list and .def list
8861 * libc/stdlib/Makefile.in: regenerate
8862 * libc/stdlib/strtoll_r.c: rename __strtoll_r
8863 as _strtoll_r
8864 * libc/stdlib/strtoull_r.c: rename __strtoull_r
8865 as _strtoull_r
8866 * libc/stdlib/strtoull.c: new file
8867 * libc/stdlib/strtoll.c: new file
8868
d2d5eb41
CF
8869Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
8870
8871 * libc/include/process.h: Add getpid() declaration.
8872
448e3c14
NC
88732001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
8874
8875 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
8876 for new style arm/elf ctor/dtor handling.
8877 Minor formatting tidy up.
8878
7a2afbbb
JJ
88792001-09-13 Jeff Johnston <jjohnstn@redhat.com>
8880
8881 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
8882 and strtoull_r.c.
8883 * libc/stdlib/Makefile.in: Regenerated.
8884 * libc/stdlib/strtoll_r.c: New file.
8885 * libc/stdlib/strtoull_r.c: New file.
8886 * libc/stdio/local.h: Add prototypes for long long string
8887 conversion routines.
8888 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
8889 tied to %L integer conversion specifier.
8890
6342caa4
JJ
8891Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
8892
8893 * strftime.c (strftime): Fix "%W" implementation to properly handle
8894 Mondays too.
8895
b2d319cb
JJ
88962001-09-07 Jeff Law <law@redhat.com>
8897
8898 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
8899 __fini with "mov.l" instead of "mov.w".
8900
233823ba
CV
89012001-09-05 Corinna Vinschen <corinna@vinschen.de>
8902
8903 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
8904 and getopt.h.
8905
63c17b54
JJ
89062001-09-04 Jason Merrill <jason_merrill@redhat.com>
8907
8908 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
8909
a3e67ddf
CV
89102001-09-03 Corinna Vinschen <corinna@vinschen.de>
8911
8912 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
8913 field.
8914 (__DIRENT_VERSION): New define.
8915
6d47f33a
CV
89162001-09-03 Corinna Vinschen <corinna@vinschen.de>
8917
8918 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4f79e37e
CV
8919 Shrink __d_reserved accordingly to keep structure size.
8920 (dirfd): Declare external.
6d47f33a 8921
348c5e06
JJ
89222001-08-29 Joel Sherrill <joel@OARcorp.com>
8923
8924 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
8925
89262001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
8927
8928 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
8929 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
8930 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
8931 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
8932 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
8933 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
8934 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
8935 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
8936 Add conditional compilation to avoid HW FPU instructions
8937 when compiled for soft-float.
8938
f29865c5
JJ
89392001-08-29 Jeff Johnston <jjohnstn@redhat.com>
8940
8941 * Makefile.am: Add check for ln failing when creating libg.a
8942 so that cp gets used as a backup.
8943 * Makefile.in: Regenerated.
8944
9e2a4ef8
JJ
89452001-08-29 Jeff Johnston <jjohnstn@redhat.com>
8946
8947 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
8948 No longer include time.h. Add struct __tm to use for
8949 _localtime_buf in the reentrant structure. Add a
8950 _NULL definition to use in initializing the reentrant struct.
8951 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
8952 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
8953 <sys/_types.h>.
8954 * libc/include/sys/unistd.h: Include <sys/_types.h>.
8955 * libc/time/lcltime.c (localtime): Cast the reentrant struct
8956 _localtime_buf to be struct tm *.
8957
1ae900d6
JR
8958Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
8959
8960 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
8961 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
8962 __ctors_end.
8963 * libc/sys/h8300hms/syscalls.c: Include errno.h.
8964 (_unlink): New stub function.
8965
8e26d5b5
CF
8966Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
8967
8968 * libc/include/sys/errno.h: Add a cautionary comment.
8969
e8267664
JJ
89702001-08-21 Jeff Johnston <jjohnstn@redhat.com>
8971
8972 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
8973 for SIZE_SZ so that alignment ends up a minimum of 8.
8974
4acf3edf
CF
8975Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
8976
8977 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
8978 arguments.
8979
8980 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
8981 Cygwin.
8982
52c80be8
JJ
89832001-08-13 Jeff Johnston <jjohnstn@redhat.com>
8984
8985 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
8986 macro constants for mallopt options.
8987 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
8988
a7061f7f
JJ
89892001-08-02 Jeff Johnston <jjohnstn@redhat.com>
8990
8991 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
8992 otherwise default.
8993
0b4bfdd5
AH
89942001-07-12 Aldy Hernandez <aldyh@redhat.com>
8995
8996 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
8997
2b6b730c
NC
89982001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
8999
9000 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
9001 Define for little endian ARMs.
9002
9003 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
9004 __IEEE_BYTES_LITTLE_ENDIAN is defined.
9005
25842b68
JJ
90062001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
9007
9008 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
9009
371b76ef
JJ
90102001-06-11 Egor Duda <deo@logos-m.ru>
9011
9012 * libc/ctype/ctype_.c: When compiled with gcc on platforms
9013 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
9014 initialized memory region. Platform can define COMPACT_CTYPE
9015 to avoid allocation of the additional 128 bytes of data.
9016 Add pointer to _ctype_ array. Always initialize all _ctype_
9017 array elements.
9018
43b44bc5
JL
90192001-06-08 Jonathan Larmour <jlarmour@redhat.com>
9020
9021 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
9022 NULL pointer.
9023
188bc140
NC
90242001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
9025
9026 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
9027
2ce88418
NC
90282001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
9029
9030 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
9031 matching, non-word alignment, and the length is <= 4 but more than
9032 enough to move them over a word boundary.
9033 Add comments explaining what each instruction does.
9034
ca60ed47
CF
9035Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
9036
9037 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
c63e9997 9038 * libc/include/sys/unistd.h: Ditto.
ca60ed47 9039
8b3bcfba
JJ
90402001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
9041
9042 * libc/string/strrchr.c: Use strchr for the speed improvements.
9043
b09e3cf8
JJ
90442001-05-01 Jeff Johnston <jjohnstn@redhat.com>
9045
9046 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
9047 real file systems, let __smakebuf() determine if line buffering
9048 should be used for stdout.
9049
0ca66974
JJ
90502001-04-27 Jeff Johnston <jjohnstn@redhat.com>
9051
9052 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
9053
7cb7017a
JJ
90542001-04-27 Jeff Johnston <jjohnstn@redhat.com>
9055
9056 * libc/include/stdlib.h: Add prototype for _strtod_r.
9057
a874cd21
JJ
90582001-04-24 Charles Wilson <cwilson@ece.gatech.edu
9059
9060 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
9061 * libc/stdio/vprintf.c (_vprintf_r): new function
9062 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
9063 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
9064 _DEFUN, and call _vfprintf_r, not vfprintf.
9065 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
9066 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
9067 _DEFUN, and call _vfprintf_r, not vfprintf.
9068
cb4cc283 90692001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
17c0c97d 9070
cb4cc283
CF
9071 * libc/include/sys/unistd.h [X_OK]: Use better protection against
9072 Cygwin X_OK definitions in sys/file.h.
9073
8c9df1d5
CF
9074Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
9075
9076 * libc/include/sys/time.h: Define timercmp and other macros for
9077 __CYGWIN__, too.
9078
3ac6f3a7 90792001-04-20 Jeff Johnston <jjohnstn@redhat.com>
17c0c97d 9080
3ac6f3a7
JJ
9081 * acinclude.m4: Added --enable-malloc-debugging configure flag.
9082 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
9083 --enable-malloc-debugging selected.
9084 * aclocal.m4 configure: Regenerated.
9085 libm/aclocal.m4 libm/configure: Ditto.
9086 * libc/aclocal.m4 libc/configure: Ditto.
9087 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
9088 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
9089 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
9090 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
9091 * doc/aclocal.m4 doc/configure: Ditto.
9092
52cb9e69
JJ
90932001-04-20 Jeff Johnston <jjohnstn@redhat.com>
9094
9095 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
9096 into one list.
9097 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
9098 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
9099 function prototypes.
9100 (_fscanf_r, _sscanf_r): Ditto.
9101 * libc/include/stdlib.h: Added _strtod_r prototype.
9102 * libc/stdio/Makefile.am: Add new v*scanf functions.
9103 * libc/stdio/Makefile.in: Regenerate.
9104 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
9105 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
9106 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
9107 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
9108 (sscanf): Changed to call __svfscanf_r with _REENT argument.
9109 (_sscanf_r): New routine.
9110 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
9111 with __svfscanf_r prototype.
9112 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
9113 routines.
9114 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
9115 structure as argument as calls reentrant versions of helper functions
9116 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
9117 to _strtol_r and _strtod_r respectively.
9118 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
9119 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
9120 _REENT argument.
9121 * libc/stdio/vscanf.c: New file.
9122 * libc/stdio/vsscanf.c: Ditto.
9123
ee9f39fb
JJ
91242001-04-19 Robert Collins <rbtcollins@hotmail.com>
9125
9126 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
9127 Define daylight to _daylight if it is not defined
17c0c97d 9128 Prepare a variable export of timezone based on timezonevariable.
ee9f39fb
JJ
9129 (Cannot be used with the timezone() function.)
9130
273861e3
JJ
91312001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
9132
9133 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
9134 Correct the numerical values.
9135
a25b8414
CF
91362001-04-13 Robert Collins <rbtcollins@hotmail.com>
9137
9138 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
9139
b8a8c59d
CV
9140Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
9141
9142 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
9143 on case insensitve file systems.
9144
74f8cc63
CF
91452001-04-12 Robert Collins <rbtcollins@hotmail.com>
9146
9147 * libc/include/sys/features.h: Add appropriate defines for Cygwin
9148 pthread support.
9149 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
9150 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
9151 types. Include <cygwin/types.h> for the cygwin specific typedefs.
9152
16740220
RS
91532001-04-04 Richard Sandiford <rsandifo@redhat.com>
9154
9155 * libc/include/machine/ieeefp.h: Comment about new configuration
9156 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
9157 * libm/common/fdlib.h: Define new macros for testing floats.
9158 * libm/common/sf_*: Use them.
9159 * libm/math/ef_*: Likewise.
9160 * libm/math/sf_*: Likewise.
9161
0694d8d3
JJ
91622001-03-29 Jeff Johnston <jjohnstn@redhat.com>
9163
9164 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
9165 prolog to by-pass possible assembler error.
9166
4833b38c
JJ
91672001-03-21 Egor Duda <deo@logos-m.ru>
9168
9169 Allow building internal stubs for non-reentrant syscalls
9170 if target provides its own malloc
9171 * libc/reent/reent.c (errno): Move definition here.
9172 * libc/reent/sbrkr.c: From here.
9173
d17d6d42
CF
91742001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
9175
9176 * libc/include/sys/types.h (BSD int typedefs): Guard with
9177 _BSDTYPES_DEFINED rather than _WINSOCK_H.
9178 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
9179 _SYS_TYPES_FD_SET.
9180 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
9181 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
9182
c7ee75cd
CV
9183Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
9184
9185 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
9186 _PC_POSIX_SECURITY constants for Cygwin.
9187
63dc5d80
CV
9188Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
9189
9190 * libc/sys/cygwin/crt0.c: Add copyright hint.
9191 * libc/sys/cygwin/sys/dirent.h: Ditto.
9192 * libc/sys/cygwin/sys/param.h: Ditto.
9193 * libc/sys/cygwin/sys/utime.h: Ditto.
9194 * libc/sys/cygwin/sys/utmp.h: Ditto.
9195
6f637037
AO
91962001-03-13 Alexandre Oliva <aoliva@redhat.com>
9197
9198 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
9199 equivalent to LONGINT.
9200
e69b6f73
JJ
92012001-03-08 Richard Sandiford <rsandifo@redhat.com>
9202
9203 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
9204 jmpbuf on MIPS64 targets.
9205 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
9206
6198dece
CF
9207Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
9208
17c0c97d 9209 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
e69b6f73 9210 declarations.
6198dece 9211
cfc05d96
JJ
9212Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
9213
9214 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
9215 For RTEMS, define to be ssize_t. Default to int if not defined.
9216 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
9217 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
9218 * libc/stdio/local.h (__sread, __swrite): Likewise.
9219 * libc/include/sys/reent.h (_read, _write): Likewise.
9220 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
9221 * libc/syscalls/sysread.c (read): Likewise.
9222 * libc/syscalls/syswrite.c (write): Likewise.
9223
6249353a
JJ
92242001-03-05 Jeff Johnston <jjohnstn@redhat.com>
9225
9226 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
9227
658b5db9
CF
9228Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
9229
9230 * libc/include/sys/stat.h: Use special defines for executable stat bits
9231 when compiling for Cygwin.
9232 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
9233 for Cygwin.
9234
19ca46d5
JJ
92352001-03-02 Jeff Johnston <jjohnstn@redhat.com>
9236
9237 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
9238 of strtok_r is always defined.
9239
b73ed85e
JJ
92402001-03-02 Jeff Johnston <jjohnstn@redhat.com>
9241
9242 * libc/include/machine/ansi.h: New dummy header file.
9243
ee37ede1
JJ
92442001-02-22 Jeff Johnston <jjohnstn@redhat.com>
9245
9246 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
9247 changed the copyright information to allow free modification of the
9248 file with no reference to "copying.dj".
9249 * libc/include/sys/stat-dj.h: Ditto.
9250 * libc/machine/i386/setjmp.S: Ditto.
9251 * libc/sys/h8300hms/sys/file.h: Ditto.
9252 * libc/sys/sysmec/access.c: Ditto.
9253 * libc/sys/sysnecv850/access.c: Ditto.
9254 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
9255 * libc/stdlib/getenv_r.c: Ditto.
9256 * libc/stdlib/putenv_r.c: Ditto.
9257 * libc/stdlib/setenv_r.c: Ditto.
9258 * libc/stdlib/getenv.c: Removed DJ reference since any possible
9259 modifications will now be in the _r version of this file.
9260 * libc/stdlib/putenv.c: Ditto.
9261 * libc/stdlib/setenv.c: Ditto.
9262 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
9263 valid. Added a reference to DJ's web page that contains his address.
9264 * libc/sys/go32/*.s: Removed references to DJ's old address.
9265 * libc/sys/go32/*.c: Ditto.
9266 * libc/sys/go32/*.h: Ditto.
9267 * libc/sys/go32/*.S: Ditto.
9268 * libc/sys/go32/sys/*.h: Ditto.
9269
3a8fc0e4
JJ
92702001-02-21 Jeff Johnston <jjohnstn@redhat.com>
9271
9272 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
9273 HAVE_FCNTL flag check.
9274 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
9275 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
9276
b24ee749
CF
9277Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
9278
9279 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
9280
ab4745dc
JJ
92812001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
9282
9283 * libc/include/stdlib.h: Add declarations of rand48 functions and
9284 their reentrant versions.
9285 * libc/include/sys/reent.h: Move macros from rand48.h. Add
9286 struct _rand48 for shared parameters of rand48 functions.
9287 (struct _reent): Add a variable _r48 of struct _rand48.
9288 (_REENT_INIT): Add _r48 initialization.
9289 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
9290 (CHEWOUT_FILES): Add rand48.def.
9291 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
9292 * libc/stdlib/Makefile.in: Regenerated.
9293 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
9294 NetBSD C library.
9295 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
9296 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
9297 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
9298 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
9299 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
9300 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
9301 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
9302 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
9303 * libc/stdlib/rand48.c (__dorand48): Ditto.
9304 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
9305 parameters into macros referring them in the reentrant structure.
9306
a34c461f
JJ
93072001-02-12 Jeff Johnston <jjohnstn@redhat.com>
9308
9309 * libc/include/sys/stat.h: Add mknod for Cygwin now that
9310 Cygwin definition has correct prototype.
9311
34f31ff2
JJ
93122001-02-08 Jeff Johnston <jjohnstn@redhat.com>
9313
9314 * libc/include/sys/stat.h: Must revert change for mknod
9315 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
9316 prototype.
9317
5336d6de
JJ
93182001-02-08 Jeff Johnston <jjohnstn@redhat.com>
9319
9320 * libc/include/stdio.h: Revert putw prototype.
9321
8915d10a
JJ
93222001-02-08 Edward M. Lee <tailbert@yahoo.com>
9323
9324 * libc/include/grp.h: add prototype for initgroups.
9325 * libc/include/stdio.h: fix prototype for putw.
9326 * libc/include/sys/signal.h: add prototype for killpg.
9327 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
9328 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
9329 vhangup and remove duplicate sysconf prototype.
9330
93ac4487
JJ
93312001-02-07 Jeff Johnston <jjohnstn@redhat.com>
9332
9333 * libc/sys/rtems/sys/types.h: Removed.
9334
31f5feea
JJ
93352001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
9336
9337 * libc/include/locale.h: add LC_MESSAGES definition
9338
b5139f59
AO
93392001-02-01 Alexandre Oliva <aoliva@redhat.com>
9340
9341 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
9342 SYS_get_argN):
9343 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
9344 __setup_argv_and_call_main): New.
9345
e29d8355
JJ
93462001-01-31 Jeff Johnston <jjohnstn@redhat.com>
9347
9348 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
9349 if defined.
9350 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
9351 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
9352 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
9353 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
9354
82ea92f3
CF
9355Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
9356
9357 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
9358 compiling under Cygwin.
9359
3aaa66f8
JJ
93602001-01-29 Jeff Johnston <jjohnstn@redhat.com>
9361
9362 * libc/include/math.h (signgam): Change to errno-like solution
9363 using a function to return the address of the real signgam.
9364 * libc/reent/signgam.c: New file containing __signgam().
9365 * libc/reent/Makefile.am: Added signgam.c to list of files.
9366 * libc/reent/Makefile.in: Regenerated.
9367
610b895a
AO
93682001-01-25 Alexandre Oliva <aoliva@redhat.com>
9369
b0913397
AO
9370 * libc/sys/sh/syscalls.c (_times): New.
9371
610b895a
AO
9372 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
9373 * libc/sys/sh/syscalls.c (_gettimeofday): New.
9374
3643210e
JJ
93752001-01-23 Jeff Johnston <jjohnstn@redhat.com>
9376
9377 * libc/include/math.h (signgam): Regress previous fix as
9378 it does not handle programs with extern int signgam in them.
9379
841081c9
JJ
93802001-01-23 Jeff Johnston <jjohnstn@redhat.com>
9381
9382 * libc/include/math.h (signgam): Changed to a macro refering to
9383 its location in the reentrant structure.
9384
e9cd87b8
JJ
93852001-01-23 Jeff Johnston <jjohnstn@redhat.com>
9386
9387 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
9388 that suppressed . for %.0f, 0.1. Check now looks if there
9389 are padding zeroes (expt) in addition to any digits (ndig) to
9390 print.
9391
a302b48c
JJ
93922001-01-18 Jeff Johnston <jjohnstn@redhat.com>
9393
9394 * libc/sys/arc/Makefile.am: New file.
9395 * libc/sys/arc/Makefile.in: Ditto.
9396 * libc/sys/arc/aclocal.m4: Ditto.
9397 * libc/sys/arc/configure: Ditto.
9398 * libc/sys/arc/configure.in: Ditto.
9399 * libc/sys/arc/crt0.S: Ditto.
9400 * libc/sys/arc/isatty.c: Ditto.
9401 * libc/sys/arc/mem-layout.c: Ditto.
9402 * libc/sys/arc/sbrk.c: Ditto.
9403 * libc/sys/arc/syscalls.c: Ditto.
9404 * libc/sys/arc/sys/syscall.h: Ditto.
9405
d0319c3b
CF
9406Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
9407
9408 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
9409
e45ab890
CF
9410Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
9411
9412 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
9413
1376245a
DD
9414Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
9415
9416 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
9417
92b57543
NC
94182001-01-09 Nick Clifton <nickc@redhat.com>
9419
9420 * configure.host (v859): Remove unsupported compiler options.
9421
7d6d33d4
JJ
9422Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
9423
9424 * src/newlib/configure.host (*-*-rtems*): add printf long long
9425 support for RTEMS.
9426
602f8b5a 94272000-12-19 Graham Stott <grahams@redhat.com>
6286746a
NC
9428
9429 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
9430
9c2b8183
JJ
9431Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
9432
9433 * configure.host: Turn on long double I/O for Cygwin.
9434
804368d3
JJ
9435Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
9436
9437 * MAINTAINERS: Removed Ranjith.
9438 * NEWS: Updated for 1.9.0.
9439 * README: Updated.
9440 * acinclude.m4: Updated to release 1.9.0.
9441 * aclocal.m4 configure
9442 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
9443 libc/machine/aclocal.m4 libc/machine/configure
9444 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
9445 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
9446 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
9447 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
9448 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
9449 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
9450 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
9451 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
9452 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
9453 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
9454 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
9455 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
9456 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
9457 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
9458 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
9459 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
9460 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
9461 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
9462 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
9463 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
9464 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
9465 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
9466 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
9467 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
9468 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
9469 libc/sys/aclocal.m4 libc/sys/configure
9470 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
9471 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
9472 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
9473 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
9474 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
9475 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
9476 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
9477 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
9478 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
9479 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
9480 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
9481 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
9482 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
9483 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
9484 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
9485 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
9486 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
9487 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
9488 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
9489 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
9490 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
9491 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
9492 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
9493 libm/aclocal.m4 libm/configure: Regenerated.
9494
0985d43f
CV
9495Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
9496
9497 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
9498 when __CYGWIN__ is defined.
9499
b6182a09
JJ
95002000-12-13 Jeff Johnston <jjohnstn@redhat.com>
9501
9502 * libc/stdlib/ldtoa.c (_ldcheck): New routine
9503 that categorizes a long double as NaN, Infinity, or other.
17c0c97d
EB
9504 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
9505 isinfl and isnanl static routines which were i386-specific. Changed
b6182a09
JJ
9506 calls to the two removed routines to a single _ldcheck call.
9507 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
9508
adbbb034
JJ
95092000-12-13 Jeff Johnston <jjohnstn@redhat.com>
9510
9511 * Makefile.am: Fixed install-data-local target to use
9512 $(mkinstalldirs) for the installed header files to ensure
9513 the directories exist before copying.
9514 * Makefile.in: Regenerated.
9515
cbd19336
JJ
95162000-12-12 Jeff Johnston <jjohnstn@redhat.com>
9517
9518 * libc/include/sys/unistd.h: Restored Cygwin _SC
9519 constants and moved new constants appropriately
9520 so Cygwin will build.
9521
8fb37963
JJ
95222000-12-11 Joel Sherrill <joel@OARcorp.com>
9523
9524 * Merge RTEMS specific .h files into main libc/include.
9525 * libc/sys/rtems/include/signal.h: Removed.
9526 * libc/sys/rtems/include/time.h: Removed.
9527 * libc/sys/rtems/sys/features.h: Removed.
9528 * libc/sys/rtems/sys/sched.h: Removed.
9529 * libc/sys/rtems/sys/siginfo.h: Removed.
9530 * libc/sys/rtems/sys/signal.h: Removed.
9531 * libc/sys/rtems/sys/time.h: Removed.
9532 * libc/sys/rtems/sys/times.h: Removed.
9533 definitions for time_t and clock_t since these are
9534 no longer in time.h.
9535 * libc/include/pthread.h: New file.
9536 * libc/include/sys/sched.h: New file.
9537 * libc/include/sys/features.h: New file.
9538 * libc/include/time.h: Removed duplicate definition of clock_t
9539 and time_t, get them from <sys/types.h> instead. Add prototypes
9540 for POSIX clock and timer functionality.
9541 * libc/sys/linux/sys/types.h: Changed to include
9542 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
9543 * libc/include/sys/signal.h: Add more complete set of POSIX
9544 signal functionality including real-time and threaded signals.
9545 * libc/include/sys/types.h: Add clock_t, time_t, struct
17c0c97d 9546 timespec, and struct itimerspec. Centralizing these makes
8fb37963
JJ
9547 things cleaner. RTEMS uses 64-bit dev_t.
9548 Added numerous primitive definitions
9549 for pthreads including macros, pthread_attr_t,
17c0c97d 9550 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
8fb37963
JJ
9551 pthread_once_t, and pthread_t.
9552 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
9553 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
9554 Feature flags removed and moved to new file <sys/features.h>.
9555 Full set of POSIX sysconf() constants
9556
2efbc2a7
JJ
95572000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
9558
9559 * configure.host: Added x86 linux target.
9560 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
9561 definitions provided if not already defined.
9562 * libc/sys/linux/crt0.c: New file.
9563 * libc/sys/linux/Makefile.am: Ditto.
9564 * libc/sys/linux/Makefile.in: Ditto.
9565 * libc/sys/linux/aclocal.m4: Ditto.
9566 * libc/sys/linux/brk.c: Ditto.
9567 * libc/sys/linux/configure: Ditto.
9568 * libc/sys/linux/configure.in: Ditto.
9569 * libc/sys/linux/getoptlong.c: Ditto.
9570 * libc/sys/linux/ids.c: Ditto.
9571 * libc/sys/linux/inode.c: Ditto.
9572 * libc/sys/linux/io.c: Ditto.
9573 * libc/sys/linux/linux.c: Ditto.
9574 * libc/sys/linux/process.c: Ditto.
9575 * libc/sys/linux/realpath.c: Ditto.
9576 * libc/sys/linux/select.c: Ditto.
9577 * libc/sys/linux/signal.c: Ditto.
9578 * libc/sys/linux/systat.c: Ditto.
9579 * libc/sys/linux/termios.c: Ditto.
9580 * libc/sys/linux/time.c: Ditto.
9581 * libc/sys/linux/wait.c: Ditto.
9582 * libc/sys/linux/include/alloca.h: Ditto.
9583 * libc/sys/linux/include/getopt.h: Ditto.
9584 * libc/sys/linux/include/stdint.h: Ditto.
9585 * libc/sys/linux/include/unistd.h: Ditto.
9586 * libc/sys/linux/sys/cdefs.h: Ditto.
9587 * libc/sys/linux/sys/dirent.h: Ditto.
9588 * libc/sys/linux/sys/errno.h: Ditto.
9589 * libc/sys/linux/sys/fcntl.h: Ditto.
9590 * libc/sys/linux/sys/file.h: Ditto.
9591 * libc/sys/linux/sys/ioctl.h: Ditto.
9592 * libc/sys/linux/sys/resource.h: Ditto.
9593 * libc/sys/linux/sys/signal.h: Ditto.
9594 * libc/sys/linux/sys/stat.h: Ditto.
9595 * libc/sys/linux/sys/syscall.h: Ditto.
9596 * libc/sys/linux/sys/termios.h: Ditto.
9597 * libc/sys/linux/sys/time.h: Ditto.
9598 * libc/sys/linux/sys/types.h: Ditto.
9599 * libc/sys/linux/sys/utmp.h: Ditto.
9600 * libc/sys/linux/sys/utsname.h: Ditto.
9601 * libc/sys/linux/sys/wait.h: Ditto.
9602
a08c98bb
JJ
96032000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
9604
17c0c97d 9605 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
a08c98bb
JJ
9606 can be a relative path to $(top_srcdir)/install.sh so ensure the
9607 autoconf detected settings are properly passed recursively.
9608 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
9609 properly to subdirectories.
9610 * Makefile.in: Regenerated.
9611
b294082c
JJ
96122000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
9613
9614 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
9615 a floating point register unless really printing a floating
9616 point number.
9617
2005ab6b
JJ
96182000-12-07 Jeff Johnston <jjohnstn@redhat.com>
9619
9620 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
9621 Also removed \r's.
9622 (asctoeg): Replaced alloca call with stack array and malloc
9623 when storage exceeds reasonable limit.
9624 (e53toe): Fixed einfin calls missing ldp parameter.
9625 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
9626
9f6e8f1b
JJ
96272000-12-06 Jeff Johnston <jjohnstn@redhat.com>
9628
2005ab6b 9629
9f6e8f1b
JJ
9630 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
9631
6bdac416
JJ
96322000-12-06 Jeff Johnston <jjohnstn@redhat.com>
9633
9634 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
9635 * libc/stdlib/Makefile.in: Regenerated.
9636 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
9637 * libc/stdio/vfieeefp.h: Added long double bit structures.
9638 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
9639 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
9640 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
9641 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
9642 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
9643 _strtold routines used for conversions between character
9644 and long double.
9645
ec270d31
CV
9646Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
9647
9648 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
9649
db2d9549
JJ
96502000-12-04 Joel Sherrill <joel@OARcorp.com>
9651
9652 * libc/include/machine/time.h: RTEMS systems can configure clock
9653 tick rate so use sysconf() to ask.
9654
6ba54a15
JJ
96552000-12-04 Joel Sherrill <joel@OARcorp.com>
9656
9657 * libc/include/sys/times.h: Add reference to POSIX standard.
9658
8677b819
JJ
96592000-12-04 Joel Sherrill <joel@OARcorp.com>
9660
9661 * libc/include/sys/time.h: Added BSD timer manipulation macros
9662 used by RTEMS code.
9663
1b61a706
JJ
96642000-12-04 Joel Sherrill <joel@OARcorp.com>
9665
9666 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
9667 referenced by code generated by gcc 2.8.1.
17c0c97d 9668 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
1b61a706
JJ
9669 satisfy gcc.
9670
f5e7c124
JJ
96712000-12-04 Joel Sherrill <joel@OARcorp.com>
9672
9673 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
9674
768abc9c
JJ
96752000-12-04 Joel Sherrill <joel@OARcorp.com>
9676
9677 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
9678
9e5dd5ea
JJ
96792000-12-04 Joel Sherrill <joel@OARcorp.com>
9680
9681 * configure.host (or16, or32): New entries for OpenCores
9682 OpenRisc CPUs.
9683 (*-*-rtems*): Add -DNO_EXEC.
9684
768abc9c 96852000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f
JJ
9686
9687 * libc/include/sys/errno.h: Added comments on many error numbers.
9688 * libc/string/strerror.c: Added some more strings.
9689
b273323f
JJ
96902000-11-30 Jeff Johnston <jjohnstn@redhat.com>
9691
9692 * libc/sys/sh/syscalls.c (_link): New stub.
9693
0ffc3b94
NC
96942000-11-29 Nick Clifton <nickc@redhat.com>
9695
9696 * configure.host: Add xscale target.
9697 * libc/machine/xscale: New directory.
9698 * libc/machine/xscale/Makefile.am: New file.
9699 * libc/machine/xscale/Makefile.in: New file.
9700 * libc/machine/xscale/aclocal.m4: New file.
9701 * libc/machine/xscale/configure: New file.
9702 * libc/machine/xscale/configure.in: New file.
9703 * libc/machine/xscale/memchr.S: New file.
9704 * libc/machine/xscale/memcmp.S: New file.
9705 * libc/machine/xscale/memcpy.S: New file.
9706 * libc/machine/xscale/memmove.S: New file.
9707 * libc/machine/xscale/memset.S: New file.
9708 * libc/machine/xscale/strchr.S: New file.
9709 * libc/machine/xscale/strcmp.S: New file.
9710 * libc/machine/xscale/strcpy.S: New file.
9711 * libc/machine/xscale/strlen.S: New file.
9712
cbbf0f96
CV
9713Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
9714
9715 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
9716 avoid compiler warnings.
9717
73dea790
MM
97182000-11-22 Michael Meissner <meissner@redhat.com>
9719
9720 * libc/posix/execl.c (execl): Don't reference environ directly,
9721 reference it only via a static pointer to avoid problems with some
9722 shared library systems and with different uses of small data where
9723 the user specifies his own version of environ.
9724 * libc/posix/execv.c (execv): Ditto.
9725 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
9726 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
9727 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
9728
9729 * libc/stdlib/getenv.c (environ): Delete unused reference to
9730 environ.
9731
9732 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
9733 colorization.
9734 * libc/stdlib/system.c: Ditto.
9735
08eac2ae
CF
9736Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
9737
9738 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
9739 including windows headers.
9740
5478bf37
JJ
97412000-11-20 Jeff Johnston <jjohnstn@redhat.com>
9742
9743 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
9744 * libc/include/dirent.h: Added definition of MAXNAMLEN if
9745 not defined by sys/dirent.h.
9746 * libc/posix/execvp.c: Added include of dirent.h to get
9747 MAXNAMLEN value which used to be in unistd.h.
9748
3a760728
CV
9749Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
9750
9751 * libc/include/sys/types.h: Change type of i to `size_t' in
9752 FD_ZERO macro to avoid compiler warnings.
9753
86fff69f
CF
9754Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
9755
9756 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
9757 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
9758
ba9e88d2
CV
9759Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
9760
9761 * libc/include/sys/unistd.h: Add defines for sysconf values
9762 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
9763 _SC_AVPHYS_PAGES.
9764
a8018ef3
CF
9765Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
9766
9767 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
9768 declarations for __CYGWIN__.
9769
b944c6f6
GK
97702000-09-19 Geoffrey Keating <geoffk@cygnus.com>
9771
9772 * libc/signal/signal.c (__sigtramp_r): ISO C requires
9773 case labels to be integral constant expressions, so
9774 use an if/else tree instead.
9775 (_raise_r): Likewise.
9776
7f18fcb4
JJ
97772000-09-13 Jeff Johnston <jjohnstn@redhat.com>
9778
9779 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
9780 clipping patch from e-mail reader.
9781
242361df
JJ
97822000-09-13 Will Cohen <wcohen@redhat.com>
9783
9784 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
9785 Added return value 0.
9786 (_longjmp): Allow longjmp to return value of second argument
9787 passed to it.
9788
8a8c59b9
JJ
97892000-09-06 Jeff Johnston <jjohnstn@redhat.com>
9790
9791 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
9792 inline code to prevent having to include another header file.
9793
a385ae75
CF
9794Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
9795
9796 * Makefile.am: Fix space vs. tab problem in install-data-local.
9797 * Makefile.in: Regenerate.
9798
9799Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
9800
9801 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
9802 (_EXPARM): New macro for defining a function parameter.
9803 * libc/include/stdlib.h: Use _EXPARM.
9804 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
9805
a36cd013
JJ
98062000-09-05 Manfred Hollstein <manfredh@redhat.com>
9807
9808 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
9809 required, as documented in the gnu coding standards.
9810 * Makefile.in: Regenerate.
9811
f825dfda
JJ
98122000-09-05 Jeff Johnston <jjohnstn@redhat.com>
9813
9814 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
9815 make O_NDELAY and O_NONBLOCK have the same value.
9816
4ba9aab7
JJ
98172000-08-30 Kazu Hirata <kazu@hxi.com>
9818
9819 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
9820
db7acc38
JJ
98212000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
9822
9823 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
9824 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
9825 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
9826 everywhere else.
9827
44e36af4
GK
98282000-08-30 Geoffrey Keating <geoffk@cygnus.com>
9829
9830 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
9831 * libc/include/string.h: Don't include <sys/types.h>,
9832 as it causes really bad namespace pollution. Don't declare
9833 swab(), it is properly declared in unistd.h.
9834
00a2f168
JJ
98352000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
9836
9837 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
9838 (broken) support for non-existent /etc/passwd field "comment".
9839
6beeb240
JJ
98402000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
9841
9842 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
9843 only if _DIRENT_HAVE_D_NAMLEN is defined.
9844 (alphasort): aligned prototype with
9845 libc/sys/cygwin/sys/dirent.h and simplified function body.
9846 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
9847 long telldir (DIR *) as mentioned in annex B of POSIX.1
9848
ef44da42
JJ
98492000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
9850
9851 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
9852 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
9853 Added __CLI and __STI macros (controlled via
9854 _I386MACH_ALLOW_HW_INTERRUPTS macro).
9855 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
9856 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
9857 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
9858 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
9859 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
9860 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
9861 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
9862 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
9863 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
9864 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
9865 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
9866 for all global entry points.
9867 * libc/machine/i386/setjmp.S: removed code replicated in
9868 libc/machine/i386/i386mach.h and included i386mach.h instead;
9869 Use __CLI and __STI instead of cli and sti.
9870
14d3488d
DD
98712000-08-25 DJ Delorie <dj@redhat.com>
9872
9873 * libc/include/sys/unistd.h (environ): this one isn't from the
9874 DLL, no __IMPORT
9875
c9ca4412
CF
9876Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
9877
9878 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
9879 environ when compiling under cygwin since it is already declared in
9880 unistd.h.
9881
2d5862de
JJ
98822000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
9883
9884 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
9885 like x << y-z to the equivalent x << (y-z).
9886 (d2b): changed if statements with assignment to perform the
9887 assignment prior to the if check.
9888 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
9889 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
9890 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
9891 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
9892 precedence.
9893 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
17c0c97d 9894 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
2d5862de
JJ
9895 execve.c).
9896 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
9897 precedence.
9898 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
9899 clarify && and || precendence (and to remove pascalism).
9900 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
9901 * libm/math/s_infconst.c: added another pair of braces to all
9902 initializers for __infinity (need three: for __infinity[1] array,
9903 for union __dmath, and for i[2]).
9904
0888fedd
JJ
99052000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
9906
199359f0
JJ
9907 * libc/stdlib/abort.c: changed description: uses "raise" instead of
9908 "getpid" and "kill"; added: uses "write" and "_exit".
9909 Also included unistd.h for "_exit" prototype.
9910 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
9911 reent.h for "_fork_r" and "_wait_r" prototypes.
17c0c97d 9912 (do_system): changed extern char *environ[] to POSIX-friendly
199359f0
JJ
9913 extern char **environ.
9914 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
9915 prototypes.
9916 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
9917 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
9918 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
9919 * libc/reent/openr.c: included fcntl.h for "open" prototype.
9920 * libc/reent/signalr.c: included signal.h for "kill" prototype,
9921 unistd.h for "getpid" prototype.
9922 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
9923 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
9924 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
9925 prototype. Also included stdlib.h for "abort", string.h for
9926 "strdup" and "strncmp" prototypes.
9927 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
9928 "strncpy", unistd.h for "read" and "close" prototypes.
9929 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
9930 "strcat" prototypes.
9931
99322000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
9933
0888fedd
JJ
9934 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
9935 used later (ifdef __SCLE)
9936 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
9937 used later (ifdef MB_CAPABLE)
9938 * libc/string/memset.c (memset): removed unused variables "count"
9939 and "unaligned_addr"
9940 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
9941 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
9942 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
9943 and "gid"
9944
a334e5ef
JJ
99452000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
9946
9947 * libc/stdlib/envlock.c: changed documented "__env_lock" and
9948 "__env_unlock" prototype from "void *" or "char *" to
9949 "struct _reent *" to match real function. Also added include
9950 of envlock.h.
9951 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
9952 "__malloc_unlock" prototype from "void *" or "char *" to
9953 "struct _reent *" to match real function.
9954 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
9955 prototypes (for getenv_r.c and setenv_r.c).
9956
644b7f26
DD
99572000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
9958
9959 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
9960 and prototype in cygwin's utmp.h
9961
5bacbf10
JJ
99622000-08-16 Eric Fifer <efifer@sanwaint.com>
9963
9964 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
9965
38a6bf98
NC
99662000-08-09 Nick Clifton <nickc@cygnus.com>
9967
9968 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
9969 epilogue and to allow the functions to be used in a Thumb based
9970 toolchain.
9971
befe0fb3
JJ
99722000-08-08 Jeff Johnston <jjohnstn@redhat.com>
9973
9974 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
9975 so size of 0 results in nothing being written to string.
9976 Also fixed code so that when size is non-zero, there is only
9977 a maximum of size - 1 characters written to the array and
9978 a nul terminator is appended at the end.
9979 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
9980
749d9bcd
DD
99812000-08-01 DJ Delorie <dj@redhat.com>
9982
9983 * libc/include/sys/config.h: define __IMPORT appropriately
9984 * libc/include/ctype.h (_ctype_): use __IMPORT
9985 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
9986 * libc/include/math.h (__mb_cur_max): ditto
9987 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
9988 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
9989 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
9990 * libc/include/unistd.h (environ): ditto
9991
7c110b17
MM
99922000-07-28 Michael Meissner <meissner@redhat.com>
9993
9994 * libc/include/math.h (__infinity): Declare as an array without
9995 bounds to get around small data support. Rewrite Cygwin support
9996 to be more general.
9997 * libm/math/s_infconst.c (__infinity): Ditto.
9998 * libm/mathfp/s_infconst.c (__infinity): Ditto.
9999
bf7be721
CF
10000Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
10001
10002 * libc/include/math.h: Use appropriate dll import linkage for
10003 __infinity under Cygwin.
10004
91a8d90b
DD
100052000-07-13 DJ Delorie <dj@cygnus.com>
10006
10007 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
10008
ba2048d3
JJ
10009Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
10010
10011 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
10012 to argument list for AngelSWI_Reason_GetCmdLine.
10013
4634da64
JJ
10014Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
10015
10016 * configure.host: Add support for AVR target.
10017 * libc/include/machine/ieeefp.h: Likewise.
10018 * libc/include/sys/config.h: Likewise.
10019
b19f72a2
RK
10020Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
10021
10022 * README: Newlib 1.8.2 must be built in a separate directory
10023 than the sources.
10024
a704d94a
JJ
10025Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10026
10027 * libc/include/sys/reent.h (_rand_next): Added __extension__
10028 qualifier as long long type is not strict ANSI.
10029 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
10030 to long long constant.
10031
b585720b
CV
10032Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
10033
10034 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
10035 `setegid' provided by Cygwin.
10036
01c327ba
CV
10037Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
10038
10039 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
10040 account for Cygwin.
10041
46a43a99
JJ
10042Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10043
10044 * libc/include/sys/reent.h (_rand_next): Changed to
10045 unsigned long long and moved to end of _reent struct in _new union.
10046 (_REENT_INIT): Changed to move _rand_next initialization.
10047 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
10048 linear congruential algorithm that is used by DJGPP.
10049
a68078cb
RK
10050Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
10051
10052 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
10053 * libc/include/sys/config.h: Define __RAND_MAX.
10054
518882f3
JJ
10055Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10056
10057 * libc/stdlib/rand_r.c: New algorithm that meets minimal
10058 standard.
10059
d51d968a
CF
10060Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
10061
10062 * libc/include/string.h: Work around problem with strsignal and gdb.
10063
d2dd5765
CF
10064Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
10065
10066 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
10067 * libc/include/malloc.h: Ditto.
10068 * libc/include/process.h: Ditto.
10069 * libc/include/stdio.h: Ditto.
10070 * libc/include/stdlib.h: Ditto.
10071 * libc/include/time.h: Ditto.
10072 * libc/include/machine/setjmp.h: Ditto.
10073 * libc/include/sys/errno.h: Ditto.
10074 * libc/include/sys/signal.h: Ditto.
10075 * libc/include/sys/stat.h: Ditto.
10076 * libc/include/sys/time.h: Ditto.
10077 * libc/include/sys/unistd.h: Ditto.
10078 * libc/include/string.h: Ditto. strsignal should return a const char *.
10079
88870218
JJ
100802000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
10081
10082 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
10083 * libm/common/s_log1p.c (log1p): Likewise.
10084 * libm/common/s_scalbn.c (scalbn): Likewise.
10085 * libm/math/e_log.c: Likewise.
10086 * libm/math/e_asin.c: Likewise.
10087 * libm/math/ef_asin.c: Likewise.
10088 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
10089 * libm/math/e_j1.c (pone, qone): Likewise.
10090 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
10091 * libm/math/ef_j1.c (ponef, qonef): Likewise.
10092 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
10093 * libm/mathfp/e_j1.c (pone, qone): Likewise.
10094 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
10095 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
10096
c4e1aa01
DD
100972000-05-19 DJ Delorie <dj@cygnus.com>
10098
10099 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
10100 (__sread): always read in binary mode
10101 (__swrite): always write in binary mode
10102 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
10103 compatibility issues with different dll versions
10104 * libc/stdio/fopen.c: use __stextmode
10105 * libc/stdio/fdopen.c: ditto
10106 * libc/stdio/freopen.c: ditto
10107 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
10108 * libc/stdio/local.h: declare __stextmode
17c0c97d 10109
f4393261
DD
101102000-05-18 DJ Delorie <dj@cygnus.com>
10111
10112 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
17c0c97d 10113
2b533fac
JJ
10114Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10115
10116 * libc/include/ctype.h: Changed tolower and toupper macros
10117 to use __extension__ to prevent pedantic warnings.
10118
75362a76
RK
10119Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
10120
10121 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
10122 structures.
10123
ec463fc7
JW
10124Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
10125
10126 * libc/include/machine/ieeefp.h: Add ia64 support.
10127 * configure.host: Likewise.
10128
f35ceefa
JJ
10129Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
10130
10131 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
10132 month is now padded with space, not zero. This now conforms to
10133 ANSI standard.
10134
b96fca8c
CV
10135Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
10136
10137 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
10138 host or network path") used by cygwin. Add some comments.
10139
49d64538
JJ
10140Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
10141
10142 * libc/include/stdio.h (FILE): define __SCLE for "convert line
10143 endings" for Cygwin.
10144 (__sgetc): convert line endings if needed
10145 (__sputc): ditto
10146 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
10147 * libc/stdio/fopen.c (_fopen_r): ditto
10148 * libc/stdio/freopen.c (freopen): ditto
10149 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
10150 * libc/stdio/fvwrite.c (__sfvwrite): ditto
10151
91fb1e7f
AO
10152Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
10153
10154 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
10155 post-increment when it is worth it, spacewise.
10156
c87be3e4
JJ
10157Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
10158
10159 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
10160 * libc/stdio/findfp.c (std): Added declaration of flags and file.
17c0c97d 10161 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
c87be3e4
JJ
10162 return type.
10163 * libc/stdio/putchar.c (putchar): Added return statement.
10164 * libc/stdio/refill.c (lflush): Added correct parentheses.
10165 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
17c0c97d 10166 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
c87be3e4
JJ
10167 prints long value to use l qualifier.
10168 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
10169 messages and initialized local values: ilim, ilim1, and spec_case.
10170 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
10171 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
10172 * libc/stdlib/mprec.c: Ditto.
10173 * libc/stdlib/setenv_r.c: Ditto.
10174 * libc/stdlib/strtod.c: Ditto.
10175 * libc/stdlib/strtol.c: Ditto.
10176 * libc/stdlib/strtoul.c: Ditto.
10177 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
10178 * libm/common/sf_log1p.c: Ditto.
10179 * libm/common/sf_scalbn.c: Ditto.
10180 * libm/math/ef_log.c: Ditto.
10181
11f5b065
CV
10182Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
10183
10184 * libc/posix/execvp.c (execvp): Check path for
10185 trailing slash.
10186
796e3b20
CV
10187Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
10188
10189 * libc/include/sys/unistd.h: Add prototypes for
10190 fchmod, fchown, lchown.
10191
b489803a
JJ
10192Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10193
10194 * acinclude.m4: Changed release to 1.8.2.
10195 * aclocal.m4 configure doc/aclocal.m4 doc/configure
10196 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
10197 libc/machine/configure libc/machine/a29k/aclocal.m4
10198 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
10199 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
10200 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
10201 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
10202 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
10203 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
10204 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
10205 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
10206 libc/machine/i386/configure libc/machine/i960/aclocal.m4
10207 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
10208 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
10209 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
10210 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
10211 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
10212 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
10213 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
10214 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
10215 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
10216 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
10217 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
10218 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
10219 libc/machine/v850/configure libc/machine/w65/aclocal.m4
10220 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
10221 libc/machine/z8k/configure libc/sys/aclocal.m4
10222 libc/sys/aclocal.m4 libc/sys/configure
10223 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
10224 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
10225 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
10226 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
10227 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
10228 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
10229 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
10230 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
10231 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
10232 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
10233 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
10234 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
10235 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
10236 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
10237 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
10238 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
10239 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
10240 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
10241 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
10242 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
10243 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
10244 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
10245 libm/aclocal.m4 libm/configure: Regenerated.
10246
79908d67
NC
102472000-03-24 Nick Clifton <nickc@cygnus.com>
10248
10249 * libc/sys/arm/syscalls.c: Fix compile time warnings.
10250 (do_AngelSWI): Add "cc" to list o registers clobbered.
10251
7684ddaf
FN
10252Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
10253
10254 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
17c0c97d 10255 information to be clobbered by an Angel C library support syscall.
7684ddaf 10256
b8ec20c8
JJ
10257Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10258
10259 * libc/stdlib/envlock.c: Fixed comment typo.
10260
fae4c299
JJ
10261Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10262
10263 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
10264 code to update nread as each character is processed instead
10265 of using buffer contents which throw away leading zeroes.
10266
dc98804b
RK
10267Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
10268
10269 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
10270
5ed2f523
JJ
10271Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
10272
10273 * libc/include/string.h: Include <sys/types.h>.
10274
1cf0ee34
AO
10275Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10276
10277 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
10278 with XSH5, not SVID.
10279
e9c94978
JJ
10280Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
10281
10282 * libc/include/string.h: Changed last argument back to ssize_t
17c0c97d 10283 to make it compatible with XPG4 definition which is
e9c94978
JJ
10284 defined in <unistd.h>. There is a conflict in the SVID 3
10285 and XPG4 definitions and newlib will settle with XPG4.
10286 * libc/string/swab.c: Ditto.
10287
3072163c
JJ
10288Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
10289
10290 * libc/include/string.h: Changed last argument to size_t.
10291 * libc/string/swab.c: Changed last argument to size_t.
10292
f205ea7a
AO
10293Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10294
10295 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
10296 (CHEWOUT_FILES): Added unlinkr.def.
10297 * libc/reent/Makefile.in: Rebuilt.
10298 * libc/sys.tex: Include unlinkr.def.
10299 * libc/reent/linkr.c (_unlink_r): Moved to...
10300 * libc/reent/unlinkr.c: ... new file.
10301
85dd2e5b
AO
10302Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10303
10304 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
10305 (CHEWOUT_FILES): Added swab.def.
10306 * libc/string/Makefile.in: Rebuilt.
10307 * libc/string/string.tex: Include swab.def.
10308 * libc/include/string.h (swab): Declare.
10309 * libc/string/swab.c: New file.
10310
c5053058
AO
10311Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10312
10313 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
10314 (CHEWOUT_FILES): Added getw.def and putw.def.
10315 * libc/stdio/Makefile.in: Rebuilt.
10316 * libc/stdio/stdio.tex: Include getw.def and putw.def.
10317 * libc/stdio/getw.c: New file.
10318 * libc/stdio/putw.c: New file.
10319
dbaf37cf
JJ
10320Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
10321
10322 * libc/stdio/flags.c (__sflags): Added check that mode[1]
10323 is non-null before looking at mode[2].
10324
bc019ef2
RK
10325Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
10326
10327 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
10328 * libm/mathfp/sf_atan.c: Ditto.
10329
10330Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
10331
10332 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
10333
cd641b2d
RK
10334Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
10335
10336 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
10337 _DOUBLE_IS_32BITS.
10338
b0ba0ac2
JJ
10339Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
10340
10341 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
10342 call prior to calling _VFPRINTF_R so reentrant data area is set.
10343 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
10344
8a0efa53
CF
10345Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10346
10347 * libc/stdio/vfscanf.c (limits.h): #include.
10348 (MAX_LONG_LEN): #define.
10349 (__svfscanf): Handle floating point numbers with arbitrary amounts
10350 of leading zeroes.
10351
103522000-02-15 Nick Clifton <nickc@cygnus.com>
10353
10354 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
10355 zero. Set the blocksize to 1024/
10356
10357Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
10358
10359 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
10360 with line buffering.
10361
10362Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10363
17c0c97d 10364 * acinclude.m4: Changed include directory for winsup headers.
8a0efa53
CF
10365 * aclocal.m4 configure libc/aclocal.m4
10366 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
10367 libc/locale/Makefile.in libc/machine/aclocal.m4
10368 libc/machine/configure libc/machine/a29k/aclocal.m4
10369 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
10370 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
10371 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
10372 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
10373 libc/machine/fr30/configure
10374 libc/machine/h8300/aclocal.m4
10375 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
10376 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
10377 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
10378 libc/machine/i386/configure libc/machine/i960/aclocal.m4
10379 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
10380 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
10381 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
10382 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
10383 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
10384 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
10385 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
10386 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
17c0c97d 10387 libc/machine/powerpc/configure
8a0efa53
CF
10388 libc/machine/sh/aclocal.m4
10389 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
10390 libc/machine/sparc/configure
10391 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
10392 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
10393 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
10394 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
10395 libc/misc/Makefile.in libc/posix/Makefile.in
17c0c97d 10396 libc/reent/Makefile.in
8a0efa53
CF
10397 libc/signal/Makefile.in
10398 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
10399 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
10400 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
10401 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
10402 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
10403 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
10404 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
10405 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
10406 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
10407 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
10408 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
10409 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
10410 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
10411 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
10412 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
10413 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
10414 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
10415 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
10416 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
10417 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
10418 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
10419 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
10420 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
10421 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
10422 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
10423 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
10424 libm/configure: Regenerated.
10425
10426Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
10427
10428 * libc/stdlib/putenv_r.c (_putenv_r): New file.
10429 * libc/stdlib/strdup_r.c (_strdup_r): New file.
10430 * libc/include/string.h: Added _strdup_r.
17c0c97d 10431 * libc/stdlib/putenv.c: Added call to reentrant version.
8a0efa53
CF
10432 * libc/stdlib/strdup.c: Ditto.
10433 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
10434 * libc/include/stdlib.h: Ditto.
17c0c97d 10435 * libc/stdlib/Makefile.in: Regenerated.
8a0efa53
CF
10436 * libc/string/Makefile.in: Regenerated.
10437 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
10438 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
10439 management calls to reentrant versions.
10440 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
10441 * libc/stdlib/wctomb.c: Ditto.
10442 * libc/stdlib/mblen.c: Ditto.
10443 * libc/stdlib/mbstowcs.c: Ditto.
17c0c97d 10444 * libc/stdlib/mbtowc.c: Ditto.
8a0efa53
CF
10445 * libc/stdlib/getenv.c: Ditto.
10446 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
10447 and _strdup_r.
10448
10449Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
10450
10451 patch from Corinna Vinschen <corinna@vinschen.de>
10452 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
10453
bc019ef2 10454Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
10455
10456 * libm/mathfp/s_atangent.c: Fix exponent calculation.
10457 * libm/mathfp/s_ldexp.c: Ditto.
10458 * libm/mathfp/sf_atangent.c: Ditto.
10459 * libm/mathfp/sf_ldexp.c: Ditto.
10460
10461Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
10462
10463 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
10464 * libc/include/locale.h: define NULL to be 0.
10465
10466Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
10467
10468 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
10469 function.
10470
10471Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
10472
10473 * libc/machine/mn10300/setjmp.S: Handle am33.
10474
104751999-11-26 Nick Clifton <nickc@cygnus.com>
10476
10477 * libc/sys/arm/syscalls.c: Add function prototypes.
10478 (stack_ptr): Move declaration before function definitions.
10479
10480Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
10481
10482 * NEWS: Updated version information.
10483 * README: Ditto.
10484
10485Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
10486
10487 * libc/machine/i386/strchr.S: Fixed alignment test.
10488
10489Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
10490
10491 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
10492
10493Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
10494
10495 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
17c0c97d 10496 ensuring that there is space between the two.
8a0efa53
CF
10497
10498Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
10499
10500 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
10501 only.
10502
105031999-10-08 Vadim Egorov <egorovv@1c.ru>
10504
10505 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
10506 section
10507
10508Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
10509
10510 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
10511 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
10512
10513Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
10514 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
10515 per POSIX 1003.1b.
10516 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
10517 per POSIX 1003.1b.
10518
105191999-09-13 DJ Delorie <dj@cygnus.com>
10520
10521 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
10522 also.
10523
10524Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
10525
10526 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
10527 also note BUFSIZ as its size.
10528
10529Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
10530
10531 * configure.host: Corrected feature defines for RTEMS.
10532 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
10533 * libc/include/sys/stat.h: mkfifo() should take const path arg.
10534 * libc/include/sys/unistd.h: pathconf() should take const path arg.
10535 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
10536 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
10537 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
10538 _PC_PRIO_IO, and _PC_SYNC_IO.
10539 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
10540 * libc/machine/m68k/Makefile.in: Regenerated.
10541 * libc/machine/m68k/strcpy.c: New file.
10542 * libc/machine/m68k/strlen.c: New file.
10543 * libc/stdio/tmpnam.c: Always make the returned name usable.
10544 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
10545 * libc/sys/rtems/sys/dirent.h: New file.
10546 * libc/sys/rtems/sys/types.h: Added dev_t.
10547
10548Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
10549
10550 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
10551
10552Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
10553
10554 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
10555 my patch.
10556
10557Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
10558
10559 patch from Jeff Johnston <jjohnstn@cygnus.com>
10560 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
10561 buffer is not in a useful state.
10562
105631999-09-01 Nick Clifton <nickc@cygnus.com>
10564
10565 * libc/sys/arm/syscalls.c (_link): Add stub.
10566
10567Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10568
10569 * ftell.c (ftell): Use actual position within buffer for text mode.
10570 * findfp.c (std): Initialize ptr->_bf._size.
10571
10572Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
10573
10574 * libc/include/sys/unistd.h: Add nice() declaration.
10575
105761999-08-09 Nick Clifton <nickc@cygnus.com>
10577
10578 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
10579 declare as a thumb function so that the disassembler will see the
10580 mode change.
10581
10582Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
10583
10584 * libc/reent/reent.tex: Updated list of reentrant functions.
10585
105861999-07-09 Michael Meissner <meissner@cygnus.com>
10587
10588 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
17c0c97d 10589
8a0efa53
CF
10590Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
10591
10592 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
10593 separate file.
10594 * libc/stdio/snprintf.c: New file.
10595 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
10596 separate file.
10597 * libc/stdio/vsnprintf.c: New file.
10598 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
10599 * libc/stdio/Makefile.in: Regenerated.
10600
10601Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
10602
10603 Patch submitted by Egor Duda <deo@logos-m.ru>:
10604 * libc/include/stdio.h: Add declarations for *nprintf.
10605 * libc/stdio/sprintf.c (snprintf): New function.
10606 (_snprintf_r): New function.
10607 * libc/stdio/vsprintf.c (vsnprintf): New function.
10608 (_vnsprintf_r): New function.
10609
10610Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
10611
10612 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
10613 * libm/Makefile.am (stmp-targetdep): Ditto.
10614 * libc/Makefile.in: Regenerated.
10615 * libm/Makefile.in: Ditto.
10616
10617Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
10618
10619 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
10620 * libm/Makefile.am (stmp-targetdep): Ditto.
10621 * libc/Makefile.in: Regenerated.
10622 * libm/Makefile.in: Ditto.
10623
10624Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
10625
10626 * Makefile.am: Removed dependencies on all-recursive and added "."
10627 to the SUBDIRS list to prevent infinite recursion from occurring.
10628 Also removed any references to EXTRA_DATA.
10629 * libc/Makefile.am: Ditto.
10630 * libc/machine/Makefile.am: Ditto.
10631 * libc/machine/i386/Makefile.am: Ditto.
10632 * libm/Makefile.am: Ditto.
10633 * libc/sys/Makefile.am: Ditto.
10634 * Makefile.in: Regenerated.
10635 * aclocal.m4: Ditto.
10636 * configure: Ditto.
10637 * doc/Makefile.in: Ditto.
10638 * doc/aclocal.m4: Ditto.
10639 * doc/configure: Ditto.
10640 * libc/Makefile.in: Ditto.
10641 * libc/aclocal.m4: Ditto.
10642 * libc/configure: Ditto.
10643 * libc/machine/Makefile.in: Ditto.
10644 * libc/machine/aclocal.m4: Ditto.
10645 * libc/machine/configure: Ditto.
10646 * libc/machine/mn10300/Makefile.in: Ditto.
10647 * libc/machine/mn10300/aclocal.m4: Ditto.
10648 * libc/machine/mn10300/configure: Ditto.
10649 * libc/sys/Makefile.in: Ditto.
10650 * libc/sys/aclocal.m4: Ditto.
10651 * libc/sys/configure: Ditto.
10652 * libm/Makefile.in: Ditto.
10653 * libm/aclocal.m4: Ditto.
10654 * libm/configure: Ditto.
10655
10656Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
10657
10658 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
10659
10660Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
10661
10662 * libc/include/stdlib.h: Add reentrant routines.
10663 * libc/stdlib/Makefile.am: Add reentrant routines.
10664 * libc/stdlib/Makefile.in: Ditto.
10665 * libc/stdlib/envlock.c: New file.
10666 * libc/stdlib/envlock.h: New file.
10667 * libc/stdlib/getenv.c: Modify to call reentrant routine.
10668 * libc/stdlib/getenv_r.c: New file.
10669 * libc/stdlib/mblen.c: Modify to call reentrant routine.
10670 * libc/stdlib/mblen_r.c: New file.
10671 * libc/stdlib/setenv.c: Modify to call reentrant routine.
10672 * libc/stdlib/setenv_r.c: New file.
10673 * libc/stdlib/stdlib.tex: Add reentrant routines.
10674
10675Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
10676
10677 * libc/include/sys/types.h: Define __MS_types__ whenever
10678 cygwin or win32.
10679
10680Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
10681
10682 * libc/include/machine/ieeefp.h: Always default to little
10683 endian if Windows, regardless of architecture.
10684 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
10685 regardless of architecture.
10686
10687Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
10688
10689 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
10690 _WIN32 isn't defined.
10691
10692Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
10693
10694 * libm/common/s_rint.c (rint): Add volatile qualifier for
10695 intermediate value w.
10696 * libm/common/sf_rint.c (rintf): Ditto.
10697
10698Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
10699
10700 * libc/sys/arm/syscalls.c (remap_handle): Added check to
10701 ensure that std streams are initialized before being referenced.
10702
107031999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
10704
10705 * README: Update reference to newlib@cygnus.com new
10706 newlib@sourceware.cygnus.com address.
10707
10708Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
10709
10710 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
10711 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
10712 defined, even if _WIN32 isn't defined.
10713
10714Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
10715
10716 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
10717
10718Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
10719
10720 * libc/include/sys/reent.h: Change Long and ULong to __Long and
10721 __ULong.
10722 * libc/stdlib/dtoa.c: Ditto.
10723 * libc/stdlib/mprec.c: Ditto.
10724 * libc/stdlib/mprec.h: Ditto.
10725 * libc/stdlib/strtod.c: Ditto.
10726
107271999-04-21 Nick Clifton <nickc@cygnus.com>
10728
10729 * configure.host (mcore): Remove mcore machine directory.
10730
107311999-04-18 Nick Clifton <nickc@cygnus.com>
10732
10733 * libc/include/machine/ieeefp.h: Add support for mcore target.
10734 * libc/include/machine/setjmp.h: Add support for mcore target.
10735 * configure.host: Add support for mcore target.
10736
107371999-04-13 Mark Salter <msalter@cygnus.com>
10738
10739 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
10740 * libc/sys/arm/syscalls.c: Added isatty.
10741
10742Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
10743
10744 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
10745 insert zeroes after significant digits.
10746
10747Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
17c0c97d 10748
8a0efa53
CF
10749 * libc/stdio/vfprintf.c (cvt): Changed floating point
10750 cvt routine to use union used by dtoa to properly determine
10751 if the sign bit is on or not.
10752 * libc/stdio/vfieeefp.h: New file
17c0c97d 10753
8a0efa53
CF
10754Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
10755
10756 * aclocal.m4: Regenerated.
10757 * configure: Regenerated.
10758
10759Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
10760
10761 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
10762 f_tanf reference.
10763 * libc/machine/i386/Makefile.in: Regenerated.
10764
10765Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
10766
10767 * acinclude.m4: Changed to work with new automake.
10768 * configure: Regenerated.
10769 * libc/machine/i386/aclocal.m4: Regenerated.
10770 * libc/machine/i386/configure: Regenerated.
10771
10772Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
10773
10774 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
10775 for telldir() and seekdir(). Rename unused structure element
10776 for use with these two routines.
10777
10778Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
10779
10780 * libc/time/mktime.c (validate_structure): Multiple fixes to
10781 code to handle cases where input fields are outside valid ranges.
10782 * libc/stdlib/div.c (div): Modified invalid rounding check.
10783 * libc/stdlib/ldiv.c (ldiv): Ditto.
10784
10785Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
10786
10787 * libc/machine/i386/memcpy.S: Performance rewrite.
10788 * libc/machine/i386/memmove.S: Ditto.
10789 * libc/machine/i386/i386mach.h: Added more register definitions.
10790 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
10791 option used.
10792 * libc/include/machine/fastmath.h: Add definitions for x86
10793 fast-math routines.
10794
10795Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
10796
10797 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
10798
10799Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
10800
10801 Adjust newlib headers for new Cygwin Win32 API header files:
10802 * libc/include/sys/time.h: Check _WINSOCK_H rather than
10803 _GNU_H_WINDOWS32_SOCKETS.
10804 * libc/include/sys/types.h: Ditto.
10805
10806Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
10807
10808 *include/sys/reent.h: Add checks for size of Bigint element Long.
10809 *libc/dtoa.c: Change routines to use generic Long type.
10810 *libc/mprec.c: Change routines to use generic Long type.
10811 *libc/mprec.h: Change routines to use generic Long type.
10812
10813Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
10814
10815 * libc/Makefile.am: Add .def files.
10816 * libc/Makefile.in: Regenerate.
10817 * libc/e_acosh.c: Documentation update.
10818 * libc/e_atanh.c: Documentation update.
10819 * libc/e_hypot.c: Documentation update.
10820 * libc/e_remainder.c: Documentation update.
10821 * libc/er_lgamma.c: Documentation update.
10822 * libc/mathfp.tex: Documentation update.
10823 * libc/s_acos.c: Documentation update.
10824 * libc/s_atan.c: Documentation update.
10825 * libc/s_atan2.c: Documentation update.
10826 * libc/s_cosh.c: Documentation update.
10827 * libc/s_fmod.c: Documentation update.
10828 * libc/s_isnan.c: Documentation update.
10829 * libc/s_log10.c: Documentation update.
10830 * libc/s_pow.c: Documentation update.
10831 * libc/w_jn.c: Documentation update.
10832
10833Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
10834
10835 * aclocal.m4: Regenerate.
10836 * configure: Regenerate.
10837
10838Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
10839
10840 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
10841 to return 1 if user specified return code is 0.
10842 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
10843
10844Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
10845
10846 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
10847 to save the return address. Fixed longjmp to return to the original
10848 calling address of setjmp and to return the user specified return code
10849 rather than default to 1.
10850 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
10851
10852Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
10853
10854 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
10855
108561999-02-10 Nick Clifton <nickc@cygnus.com>
10857
10858 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
10859 volatile so that its assignments will not be discarded.
10860
10861Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
10862
10863 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
10864 be __STRICT_ANSI__ which is generated by compiler.
10865 * libc/include/ctype.h: Ditto.
10866 * libc/include/math.h: Ditto.
10867 * libc/include/stdio.h: Ditto.
10868 * libc/include/stdlib.h: Ditto.
10869 * libc/include/string.h: Ditto.
10870 * libc/include/sys/signal.h: Ditto.
10871
108721999-02-08 Nick Clifton <nickc@cygnus.com>
10873
10874 * configure.host: Add support for StrongARM target.
10875
10876Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
10877
10878 * libc/string/strncpy.c (strncpy): Removed redundant code
10879 that was copying bytes if data unaligned.
10880
108811999-02-02 Brendan Kehoe <brendan@cygnus.com>
10882
10883 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
10884 mbstowcs.def, and wcstombs.def.
10885
10886Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
10887
10888 * libc/include/sys/errno.h: Add Cygwin errno.
10889 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
10890 is specified.
10891
108921999-01-29 Nick Clifton <nickc@cygnus.com>
10893
10894 * libc/sys/arm/syscalls.c: Move C library functions into seperate
10895 file.
17c0c97d 10896
8a0efa53
CF
10897 * libc/sys/arm/libcfunc.c: New file containing C library functions
10898 from syscalls.c
10899
10900 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
10901 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
10902
10903
109041999-01-27 Michael Meissner <meissner@cygnus.com>
10905
10906 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
10907 type, and cut size in half so that the jmp_buf array is guaranteed
10908 to be aligned on a 64-bit boundary.
10909
10910Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
10911
10912 * libc/string/strings.tex: Added information about
10913 strcasecmp and strncasecmp.
10914 * libc/stdlib/stdlib.tex: Added missing information
10915 about mblen, mbstowcs, and wcstombs.
10916 * libc/string/strchr.c: Changed how mask is built to use
10917 shift operators so register will be used instead of storage.
10918
109191999-01-22 DJ Delorie <dj@cygnus.com>
10920
10921 * libc/include/stdlib.h: don't use dllimport if we're building
10922 newlib, since it's inside cygwin.dll
10923
10924Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
10925
10926 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
10927 _ctype_ under cygwin.
10928
10929Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
10930
10931 * include/stdlib.h: Fix typo from previous checkin.
10932
10933Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
10934
10935 * include/ctype.h: Use __declspec(dllimport) method for exporting
10936 variable from cygwin DLL.
10937 * include/time.h: Ditto.
10938 * sys/errno.h: Ditto.
10939 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
10940 * libc/locale/locale.c: Use __declspec(dllexport) method for
10941 exporting variable from cygwin DLL.
10942
10943Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
10944
10945 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
10946 access of bogus pointer will result in SIGSEGV.
10947
109481999-01-07 Nick Clifton <nickc@cygnus.com>
10949
10950 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
10951 of an underscore prefix to function names.
10952
10953Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
10954
10955 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
10956 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
10957
109581998-12-31 Michael Meissner <meissner@cygnus.com>
10959
10960 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
10961 to `%' if not already defined.
10962
109631998-12-30 Michael Meissner <meissner@cygnus.com>
10964
10965 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
10966 arguments const char *, not char *.
10967 * libc/include/stdio.h (_tempnam_r): Ditto.
10968
10969 * libc/include/sys/reent.h (struct _reent): The _sig_func type
10970 points to a function taking an integer, not void.
10971
10972Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
10973
10974 * configure.host: Add a define for Cygwin builds.
10975 * libc/include/ctype.h: Don't use dll imported variables in newlib.
10976
10977Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
10978
10979 * libc/include/ctype.h: Define _ctype_ as dll imported variable
10980 for use with Cygwin.
10981 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
10982 dll imported variables for use with Cygwin.
10983 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
10984 as a dll imported variable for Cygwin.
10985
10986Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
10987
10988 * libc/include/sys/unistd.h: Add proto for getpass.
10989
10990Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
10991
10992 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
10993 alphasort.
10994
10995Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
10996
10997 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
10998 not posix_path_list_p.
10999
110001998-12-15 Nick Clifton <nickc@cygnus.com>
11001
11002 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
11003 a signed int.
11004
110051998-12-13 Nick Clifton <nickc@cygnus.com>
11006
11007 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
11008
110091998-12-12 Nick Clifton <nickc@cygnus.com>
11010
11011 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
11012 <msalter@cygnus.com>
11013 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
11014 * libc/machine/fr30/Makefile.in: Regenerated.
11015
110161998-12-11 Nick Clifton <nickc@cygnus.com>
11017
11018 * configure.host: Remove use of libc/sys for FR30 port.
11019 * libc/sys/fr30: Remove directory (replaced by libgloss).
11020
110211998-12-10 Ken Raeburn <raeburn@cygnus.com>
11022
11023 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
11024 * libc/string/strncat.c (ALIGNED): Ditto.
11025
11026Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
11027
11028 * libc/include/sys/time.h: include sys/types.h
11029
11030Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
11031
11032 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
11033 comparison found when checking word at a time.
11034
110351998-12-04 Nick Clifton <nickc@cygnus.com>
11036
11037 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
11038
110391998-12-03 Nick Clifton <nickc@cygnus.com>
11040
11041 * libc/sys/fr30/syscalls.c (_times): New function stub.
11042
11043Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
11044
11045 * configure.host (mach_add_setjmp): Replaced mach_add_objs
11046 with mach_add_setjmp flag which indicates if setjmp should
11047 be added to the machine directory objects.
11048 * acinclude.m4: Removed reference to mach_add_objs.
11049 * aclocal.m4: Regenerated.
11050 * Makefile.in: Regenerated.
11051 * configure: Regenerated.
11052 * libc/aclocal.m4: Regenerated.
11053 * libc/Makefile.in: Regenerated.
11054 * libc/configure: Regenerated.
11055 * libc/machine/aclocal.m4: Regenerated.
11056 * libc/machine/Makefile.in: Regenerated.
11057 * libc/machine/configure: Regenerated.
11058 * libc/machine/i386/aclocal.m4: Regenerated.
11059 * libc/machine/i386/Makefile.am: Altered to selectively add
11060 setjmp.S to the src files list.
11061 * libc/machine/i386/Makefile.in: Regenerated.
11062 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
11063 * libc/machine/i386/configure: Regenerated.
11064
110651998-12-02 Nick Clifton <nickc@cygnus.com>
11066
11067 * libc/sys/fr30/crt0.s (_start): Fix function names.
11068
11069 * libc/machine/fr30: New directory
11070 * libc/machine/fr30/Makefile.am: New file.
11071 * libc/machine/fr30/Makefile.in: New generated file.
11072 * libc/machine/fr30/configure.in: New file.
11073 * libc/machine/fr30/configure: New generated file.
11074 * libc/machine/fr30/aclocal.m4: New generated file.
11075 * libc/sys/fr30/Makefile.am: New file.
11076 * libc/sys/fr30/Makefile.in: New generated file.
11077 * libc/sys/fr30/configure.in: New file.
11078 * libc/sys/fr30/configure: New generated file.
11079 * libc/sys/fr30/syscalls.c: New file.
11080
11081Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
11082
11083 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
11084
110851998-12-01 Ken Raeburn <raeburn@cygnus.com>
11086
11087 * libc/time/strftime.c (strftime): Also handle %y for years before
11088 1900.
11089
11090Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
11091
11092 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
11093 UNIX convention. Perform tolower on characters before comparing
11094 them rather than use toupper.
11095 * libc/string/strncasecmp.c (strncasecmp): Ditto.
11096
11097Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
17c0c97d 11098
8a0efa53
CF
11099 * configure.host: Added using i386 machine directory
11100 for all x86 cross-compiler and configuring
11101 which added object files to use via new "mach_add_objs" variable.
11102 * configure: Regenerated.
11103 * libc/configure: Regenerated.
11104 * libc/Makefile.in: Regenerated.
11105 * libc/aclocal.m4: Regenerated.
11106 * libc/ctype/Makefile.in: Regenerated.
11107 * libc/errno/Makefile.in: Regenerated.
11108 * libc/locale/Makefile.in: Regenerated.
11109 * libc/machine/Makefile.in: Regenerated.
11110 * libc/machine/aclocal.m4: Regenerated.
11111 * libc/machine/configure: Regenerated.
11112 * libc/posix/Makefile.in: Regenerated.
11113 * libc/reent/Makefile.in: Regenerated.
11114 * libc/signal/Makefile.in: Regenerated.
11115 * libc/stdio/Makefile.in: Regenerated.
11116 * libc/stdlib/Makefile.in: Regenerated.
11117 * libc/string/Makefile.in: Regenerated.
11118 * libc/string/memmove.c: Optimized code to use memcpy
11119 logic when performing a non-destructive copy.
11120 * libc/string/strncmp.c: Altered code to allow building
11121 optimized for size or speed.
11122 * libc/syscalls/Makefile.in: Regenerated.
11123 * libc/time/Makefile.in: Regenerated.
11124 * libc/unix/Makefile.in: Regenerated.
11125 * libc/machine/i386/Makefile.am: Added new files and reference
11126 to "mach_add_objs" to indicate optional object files.
11127 * libc/machine/i386/Makefile.in: Regenerated.
11128 * libc/machine/i386/aclocal.m4: Regenerated.
11129 * libc/machine/i386/configure: Regenerated.
11130 * libc/machine/i386/memchr.S: New file that implements
11131 function in Intel assembler.
11132 * libc/machine/i386/memcmp.S: ditto.
11133 * libc/machine/i386/memcpy.S: ditto.
11134 * libc/machine/i386/memmove.S: ditto.
11135 * libc/machine/i386/memset.S: ditto.
11136 * libc/machine/i386/strchr.S: ditto.
11137 * libc/machine/i386/strlen.S: ditto.
11138 * libc/machine/i386/f_atan2.S: New file that implements
11139 fast version of math function to be used by compiler when
11140 --ffast_math compile option is used.
11141 * libc/machine/i386/f_atan2f.S: ditto.
11142 * libc/machine/i386/f_exp.c: ditto.
11143 * libc/machine/i386/f_expf.c: ditto.
11144 * libc/machine/i386/f_frexp.S: ditto.
11145 * libc/machine/i386/f_frexpf.S: ditto.
11146 * libc/machine/i386/f_ldexp.S: ditto.
11147 * libc/machine/i386/f_ldexpf.S: ditto.
11148 * libc/machine/i386/f_log.S: ditto.
11149 * libc/machine/i386/f_logf.S: ditto.
11150 * libc/machine/i386/f_log10.S: ditto.
11151 * libc/machine/i386/f_log10f.S: ditto.
11152 * libc/machine/i386/f_math.h: New file.
11153 * libc/machine/i386/f_pow.c: ditto.
11154 * libc/machine/i386/f_powf.S: ditto.
11155 * libc/machine/i386/f_tan.S: ditto.
11156 * libc/machine/i386/f_tan.S: ditto.
11157 * libc/machine/i386/i386mach.h: New file.
11158
11159Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
11160
11161 patch from Mumit Khan <khan@xraylith.wisc.edu>
11162 * libc/include/stdio.h (tempnam): Add prototype.
11163 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
11164 (tempnam): Adhere to prototype.
11165
11166Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
11167
11168 * Makefile.am: Add default for AR_FLAGS.
11169 * Makefile.in: Regenerate.
11170
11171Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
11172
11173 * libc/include/time.h: move __cplusplus wrapper after includes
11174 * libc/include/sys/time.h: ditto. If Cygwin, include
11175 sys/select.h.
11176 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
11177
111781998-11-23 Ken Raeburn <raeburn@cygnus.com>
11179
11180 * libc/time/strftime.c (strftime): Handle %y after year 2000.
11181
11182Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
11183
11184 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
11185 abnormnal end-of-crt0 marker.
11186
11187Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
11188
11189 * libc/sys/fr30/crt0.s: New file/directory.
11190 * libc/include/machine/setjmp.h: Add FR30 target.
11191 * libc/include/machine/ieeefp.h: Add FR30 target.
11192 * configure.host: Add FR30 target.
11193
11194Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
11195
11196 * libm/math: Files that are duplicated in common directory removed.
11197 * libm/math/fdlibm.h: Removed.
11198 * libm/math/s_cbrt.c: Removed.
11199 * libm/math/s_copysign.c: Removed.
11200 * libm/math/s_expm1.c: Removed.
11201 * libm/math/s_finite.c: Removed.
11202 * libm/math/s_ilogb.c: Removed.
11203 * libm/math/s_infinity.c: Removed.
11204 * libm/math/s_lib_ver.c: Removed.
11205 * libm/math/s_log1p.c: Removed.
11206 * libm/math/s_logb.c: Removed.
11207 * libm/math/s_matherr.c: Removed.
11208 * libm/math/s_modf.c: Removed.
11209 * libm/math/s_nan.c: Removed.
11210 * libm/math/s_nextafter.c: Removed.
11211 * libm/math/s_rint.c: Removed.
11212 * libm/math/s_scalbn.c: Removed.
11213 * libm/math/sf_cbrt.c: Removed.
11214 * libm/math/sf_copysign.c: Removed.
11215 * libm/math/sf_expm1.c: Removed.
11216 * libm/math/sf_finite.c: Removed.
11217 * libm/math/sf_ilogb.c: Removed.
11218 * libm/math/sf_infinity.c: Removed.
11219 * libm/math/sf_log1p.c: Removed.
11220 * libm/math/sf_logb.c: Removed.
11221 * libm/math/sf_modf.c: Removed.
11222 * libm/math/sf_nan.c: Removed.
11223 * libm/math/sf_nextafter.c: Removed.
11224 * libm/math/sf_rint.c: Removed.
11225 * libm/math/sf_scalbn.c: Removed.
11226 * libm/math/Makefile.am: Removed references to deleted files (above).
11227 * libm/math/Makefile.in: Regenerated.
11228 * libm/Makefile.am: Added common directory to math.
11229 * libm/Makefile.in: Regenerated.
11230
11231Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
11232
11233 * libm/mathfp: Add non-ANSI functions.
11234 * libm/mathfp/e_acosh.c acosh(): New file.
11235 * libm/mathfp/e_atanh.c atanh(): New file.
11236 * libm/mathfp/e_hypot.c hypot(): New file.
11237 * libm/mathfp/e_j0.c j0(): New file.
11238 * libm/mathfp/e_j1.c j1(): New file.
11239 * libm/mathfp/e_remainder.c remainder(): New file.
11240 * libm/mathfp/e_scalb.c scalb(): New file.
11241 * libm/mathfp/ef_acosh.c acoshf(): New file.
11242 * libm/mathfp/ef_atanh.c atanhf(): New file.
11243 * libm/mathfp/ef_hypot.c hypotf(): New file.
11244 * libm/mathfp/ef_j0.c j0f(): New file.
11245 * libm/mathfp/ef_j1.c j1f(): New file.
11246 * libm/mathfp/ef_remainder.c remainderf(): New file.
11247 * libm/mathfp/ef_scalb.c scalbf(): New file.
11248 * libm/mathfp/er_gamma.c gamma_r: New file.
11249 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
11250 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
11251 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
11252 * libm/mathfp/w_cabs.c cabs(): New file.
11253 * libm/mathfp/w_drem.c drem(): New file.
11254 * libm/mathfp/w_jn.c jn(): New file.
11255 * libm/mathfp/wf_cabs.c cabsf(): New file.
11256 * libm/mathfp/wf_drem.c dremf(): New file.
11257 * libm/mathfp/wf_jn.c jnf(): New file.
11258
11259Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
11260
11261 * libc/sys/cygwin32: remove directory and contents
11262 * libc/sys/cygwin: and add back, losing the "32".
11263 * configure.host: check for cygwin* instead of cygwin32.
11264 * acinclude.m4: ditto.
11265 * aclocal.m4: regenerate with aclocal
11266 * configure: regenerate with autoconf
11267
11268Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
11269
11270 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
11271 for length
11272
11273Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
11274
11275 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
11276 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
11277 to make rand/srand, strtok, asctime, localtime, w_gamma,
11278 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
11279 time.h to bring in struct tm definition.
11280 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
11281 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
11282 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
11283 instead of static variable.
11284 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
11285 struct reent instead of static variable.
11286 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
11287 struct reent instead of static variable.
11288 * libm/math/Makefile.am: Removed s_signgam.o.
11289 * libm/math/Makefile.in: Regenerated.
11290 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
11291 struct reent instead of global variable 'signgam'.
11292 * libm/math/w_lgamma.c (lgamma): Likewise.
11293 * libm/math/wf_gamma.c (gammaf): Likewise.
11294 * libm/math/wf_lgamma.c (lgammaf): Likewise.
11295 * libm/math/s_signgam.c: Removed.
11296 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
11297 to be const.
11298 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
11299 to be const.
11300 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
11301 libc/include/reent.h.
11302 * libc/reent/Makefile.in: Regenerated.
11303 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
11304 to be const.
11305 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
11306 'JIS_action_table' to be const.
11307 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
11308
11309Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
11310
11311 * acinclude.m4: $with_target_subdir should default to '.'
11312 or confusion results when configuring in same directory as sources.
11313 * Regenerate all aclocal.m4 and configure files.
11314
11315Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
11316
11317 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
11318 can be set by defining MALLOC_ALIGNMENT=16. Also added support
11319 for platforms where sizeof(size_t) < sizeof(long) via
11320 SIZE_T_SMALLER_THAN_LONG macro.
17c0c97d 11321
8a0efa53
CF
11322Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
11323
11324 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
11325 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
11326 which sets _CLOCKS_PER_SEC_ for selected machines.
11327 * libc/include/machine/time.h: New file.
11328
11329Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
11330
11331 * libc/syscalls/sysexecve.c: New file.
11332 * libc/syscalls/sysgettod.c: New file.
11333 * libc/syscalls/systimes.c: New file.
11334 * libc/syscalls/Makefile.am: Added new objects.
11335 * libc/syscalls/Makefile.in: Regenerated.
11336 * libc/include/_syslist.h (_execve): Moved define in file.
11337 * libc/include/reent.h: Added _execve_r declaration.
11338 * libc/Makefile.in: Regenerated.
11339 * libc/ctype/Makefile.in: Regenerated.
11340 * libc/errno/Makefile.in: Regenerated.
11341 * libc/locale/Makefile.in: Regenerated.
11342 * libc/machine/Makefile.in: Regenerated.
11343 * libc/misc/Makefile.in: Regenerated.
11344 * libc/posix/Makefile.in: Regenerated.
11345 * libc/reent/Makefile.in: Regenerated.
11346 * libc/reent/execr.c (_execve_r): Added _execve_r function.
11347 * libc/signal/Makefile.in: Regenerated.
11348 * libc/stdio/Makefile.in: Regenerated.
11349 * libc/time/Makefile.in: Regenerated.
11350 * libc/unix/Makefile.in: Regenerated.
11351 * libm/mathfp/Makefile.in: Regenerated.
11352
11353Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
11354
11355 * libc/string/Makefile.in: Regenerated.
11356 * libc/string/memchr.c (memchr): Moved code to reduce object size.
11357 * libc/string/memcpy.c (memcpy): Ditto.
11358 * libc/string/memcmp.c (memcmp): Ditto.
11359 * libc/string/memset.c (memset): Ditto.
11360 * libc/string/strchr.c (strchr): Ditto.
11361 * libc/string/strcmp.c (strcmp): Ditto.
11362 * libc/string/strcpy.c (strcpy): Ditto.
11363 * libc/string/strlen.c (strlen): Ditto.
11364
11365Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
11366
11367 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
11368 to generate aclocal.m4.
11369 * libm/Makefile.in: Regenerated.
11370 * libm/aclocal.m4: Regenerated.
11371 * libm/configure: Regenerated.
11372 * libm/math/Makefile.in: Regenerated.
11373 * libm/mathfp/Makefile.in: Regenerated.
11374
113751998-09-25 Mark Salter <msalter@cygnus.com>
11376
11377 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
11378 by adding leading and trailing underscores to symbol names.
11379
11380Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
11381
11382 * Makefile.in: Add default for AR_FLAGS.
11383
11384Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
11385
11386 patch from ian@airs.com (Ian Taylor):
11387 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
11388 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
11389 is needed for detecting the build machine. Required for
11390 cygwin native builds.
11391
11392 * Regenerate all aclocal.m4 and configure files.
11393
11394Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
11395
11396 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
11397 used to start with LC.
11398
11399Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11400
11401 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
11402 (longjmp): Likewise.
11403
11404Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11405
11406 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
11407 the test for small number of bytes.
11408
11409Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
11410
11411 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
11412 math library that uses floating point algorithms instead of the old
11413 libm.
11414 * Makefile.in: Regenerate with automake version 1.3b.
11415 * configure: Rebuild.
11416 * libm/Makefile.in: Regenerate with automake version 1.3b.
11417 * libm/aclocal.m4: Regenerate.
11418 * libm/configure: Rebuild.
11419 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
11420 * libm/acinclude.m4: Define macros for configure.in.
11421 * libm/config.h.in: Generate.
11422 * libm/mathfp/Makefile.am: New file.
11423 * libm/mathfp/Makefile.in: Generate.
11424 * libm/mathfp/s_acos.c (acos): New file.
11425 * libm/mathfp/s_asin.c (asin): New file.
11426 * libm/mathfp/s_asine.c (asine): New file.
11427 * libm/mathfp/s_atan.c (atan): New file.
11428 * libm/mathfp/s_atan2.c (atan2): New file.
11429 * libm/mathfp/s_atangent.c (atangent): New file.
11430 * libm/mathfp/s_ceil.c (ceil): New file.
11431 * libm/mathfp/s_copysign.c (copysign): New file.
11432 * libm/mathfp/s_cos.c (cos): New file.
11433 * libm/mathfp/s_cosh.c (cosh): New file.
11434 * libm/mathfp/s_exp.c (exp): New file.
11435 * libm/mathfp/s_fabs.c (fabs): New file.
11436 * libm/mathfp/s_finite.c (finite): New file.
11437 * libm/mathfp/s_floor.c (floor): New file.
11438 * libm/mathfp/s_fmod.c (fmod): New file.
11439 * libm/mathfp/s_frexp.c (frexp): New file.
11440 * libm/mathfp/s_infconst.c: New file.
11441 * libm/mathfp/s_isinf (isinf).c: New file.
11442 * libm/mathfp/s_isnan.c (isnan): New file.
11443 * libm/mathfp/s_ispos.c (ispos): New file.
11444 * libm/mathfp/s_ldexp.c (ldexp): New file.
11445 * libm/mathfp/s_log.c (log): New file.
11446 * libm/mathfp/s_log10.c (log10): New file.
11447 * libm/mathfp/s_logarithm.c (logarithm): New file.
11448 * libm/mathfp/s_mathcnst.c: New file.
11449 * libm/mathfp/s_modf (modf).c: New file.
11450 * libm/mathfp/s_numtest.c (numtest): New file.
11451 * libm/mathfp/s_pow.c (pow): New file.
11452 * libm/mathfp/s_scalbn.c (scalbn): New file.
11453 * libm/mathfp/s_sin (sin).c: New file.
11454 * libm/mathfp/s_sine.c (sine): New file.
11455 * libm/mathfp/s_sineh.c (sineh): New file.
11456 * libm/mathfp/s_sinf.c (sinf): New file.
11457 * libm/mathfp/s_sinh.c (sinh): New file.
11458 * libm/mathfp/s_sqrt.c (sqrt): New file.
11459 * libm/mathfp/s_tan.c (tan): New file.
11460 * libm/mathfp/s_tanh.c (tanh): New file.
11461 * libm/mathfp/sf_acos.c (acosf): New file.
11462 * libm/mathfp/sf_asin.c (asinf): New file.
11463 * libm/mathfp/sf_asine.c (asinef): New file.
11464 * libm/mathfp/sf_atan.c (atanf): New file.
11465 * libm/mathfp/sf_atan2.c (atan2f): New file.
11466 * libm/mathfp/sf_atangent.c (atangent): New file.
11467 * libm/mathfp/sf_ceil.c (ceilf): New file.
11468 * libm/mathfp/sf_copysign.c (copysignf): New file.
11469 * libm/mathfp/sf_cos.c (cosf): New file.
11470 * libm/mathfp/sf_cosh.c (coshf): New file.
11471 * libm/mathfp/sf_exp.c (expf): New file.
11472 * libm/mathfp/sf_fabs.c (fabsf): New file.
11473 * libm/mathfp/sf_finite.c (finitef): New file.
11474 * libm/mathfp/sf_floor.c (floorf): New file.
11475 * libm/mathfp/sf_fmod.c (fmodf): New file.
11476 * libm/mathfp/sf_frexp.c (frexpf): New file.
11477 * libm/mathfp/sf_isinf.c (isinff): New file.
11478 * libm/mathfp/sf_isnan.c (isnanf): New file.
11479 * libm/mathfp/sf_ispos.c (isposf): New file.
11480 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
11481 * libm/mathfp/sf_log.c (logf): New file.
11482 * libm/mathfp/sf_log10.c (log10f): New file.
11483 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
11484 * libm/mathfp/sf_modf.c (modff): New file.
11485 * libm/mathfp/sf_numtest.c (numtestf): New file.
11486 * libm/mathfp/sf_pow.c (powf): New file.
11487 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
11488 * libm/mathfp/sf_sin.c (sinf): New file.
11489 * libm/mathfp/sf_sine.c (sinef): New file.
11490 * libm/mathfp/sf_sineh.c (sinehf): New file.
11491 * libm/mathfp/sf_sinh.c (sinhf): New file.
11492 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
11493 * libm/mathfp/sf_tan.c (tanf): New file.
11494 * libm/mathfp/sf_tanh.c (tanhf): New file.
11495 * libm/mathfp/zmath.h: New file.
11496
11497Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11498
11499 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
11500 exit if it has been overwritten by pre-fetching in delay slot.
11501
115021998-09-01 Michael Meissner <meissner@cygnus.com>
11503
11504 * Makefile.am (tooldir): Add in host_alias, so that multilib
11505 libraries are installed in the directory the compiler looks in.
11506 * Makefile.in: Regenerate.
11507
11508 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
11509
11510Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
11511
11512 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
11513 ahead of test for number of bytes being moved.
11514
11515Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
11516
11517 * libc/include/sys/unistd.h: Nothing special needed for
11518 _exit under cygwin.
11519
11520Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
11521
11522 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
17c0c97d 11523 conform to user label naming conventions.
8a0efa53
CF
11524
11525Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
11526
11527 * libc/sys/cygwin32/sys/utime.h: variable names in
11528 protos should start with two leading underscores
11529 * libc/include/string.h: ditto
11530 * libc/include/sys/signal.h: ditto
11531 * libc/include/sys/stat.h: ditto
11532 * libc/include/sys/time.h: ditto
11533 * libc/include/sys/unistd.h: ditto
11534 * libc/include/ctype.h: ditto
11535 * libc/include/stdlib.h: ditto
11536 * libc/include/sys/reent.h: struct _atexit function ptr takes a
11537 void, same with _sig_func.
11538
11539Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
11540
11541 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
11542 for MB_CAPABLE to reduce code size when newlib is not configured
11543 with --enable-newlib-mb.
11544 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
17c0c97d 11545 mbtowc_r.o to minimize size.
8a0efa53 11546 * libc/stdlib/Makefile.in: Rebuild.
17c0c97d 11547
8a0efa53
CF
11548Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
11549
11550 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
11551 to -DREENT.
11552 * libc/sys/sparc64/Makefile.in: Rebuild.
17c0c97d 11553
8a0efa53
CF
11554Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
11555
11556 * Makefile.am (MAKEOVERRIDES): Define.
11557 * Makefile.in: Rebuild.
11558
11559Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
11560
11561 * libc/sys/sparc64/sys/stat.h (stat): Add const.
11562
11563Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
11564
11565 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
11566 newlib_cflags when looking for targ-include.
11567 * */aclocal.m4, */configure: Rebuild.
11568
11569Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
11570
11571 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
11572 to "_end".
11573
11574Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
11575
11576 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
11577 on SPARCs with little-endian data.
11578 * libc/include/machine/ieeefp.h: Ditto.
11579
11580Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
11581
11582 * acinclude.m4: Handle a relative srcdir correctly when setting
11583 newlib_cflags.
11584 * */aclocal.m4, */configure: Rebuild.
11585
11586Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
11587
11588 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
17c0c97d
EB
11589 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
11590 * libm/math/wrf_gamma.c (gammaf_r): ditto
11591 * libm/math/wr_lgamma.c (lgamma_r): ditto
11592 * libm/math/wr_gamma.c (gamma_r): ditto
11593 * libm/math/wf_sqrt.c (sqrtf): ditto
11594 * libm/math/wf_sinh.c (sinhf): ditto
11595 * libm/math/wf_scalb.c (scalbf): ditto
11596 * libm/math/wf_remainder.c (remainderf): ditto
11597 * libm/math/wf_pow.c (powf): ditto
11598 * libm/math/wf_log10.c (log10f): ditto
11599 * libm/math/wf_log.c (logf): ditto
11600 * libm/math/wf_lgamma.c (lgammaf): ditto
11601 * libm/math/wf_jn.c (jnf, ynf): ditto
11602 * libm/math/wf_j1.c (j1f, y1f): ditto
11603 * libm/math/wf_j0.c (j0f, y0f): ditto
11604 * libm/math/wf_hypot.c (hypotf): ditto
11605 * libm/math/wf_gamma.c (gammaf): ditto
11606 * libm/math/wf_fmod.c (fmodf): ditto
11607 * libm/math/wf_exp.c (expf): ditto
11608 * libm/math/wf_cosh.c (coshf): ditto
11609 * libm/math/wf_atanh.c (atanhf): ditto
11610 * libm/math/wf_atan2f.c (atan2f): ditto
11611 * libm/math/wf_asin.c (asinf): ditto
11612 * libm/math/wf_acosh.c (acoshf): ditto
11613 * libm/math/wf_acos.c (acosf): ditto
11614 * libm/math/w_sqrt.c (sqrt): ditto
11615 * libm/math/w_sinh.c (sinh): ditto
11616 * libm/math/w_scalb.c (scalb): ditto
11617 * libm/math/w_remainder.c (remainder): ditto
11618 * libm/math/w_pow.c (pow): ditto
11619 * libm/math/w_log10.c (log10): ditto
11620 * libm/math/w_log.c (log): ditto
11621 * libm/math/w_lgamma.c (lgamma): ditto
11622 * libm/math/w_jn.c (jn, yn): ditto
11623 * libm/math/w_j1.c (j1, y1): ditto
11624 * libm/math/w_j0.c (j0, y0): ditto
11625 * libm/math/w_hypot.c (hypot): ditto
11626 * libm/math/w_gamma.c (gamma): ditto
11627 * libm/math/w_fmod.c (fmod): ditto
11628 * libm/math/w_exp.c (exp): ditto
11629 * libm/math/w_cosh.c (cosh): ditto
11630 * libm/math/w_atanh.c (atanh): ditto
11631 * libm/math/w_atan2f.c (atan2): ditto
11632 * libm/math/w_asin.c (asin): ditto
11633 * libm/math/w_acosh.c (acosh): ditto
11634 * libm/math/w_acos.c (acos): ditto
8a0efa53
CF
11635
11636Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
11637
11638 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
11639 (fsrc): Add wf_cabs.c and wf_drem.c.
11640 * libm/math/Makefile.in: Rebuild.
11641
11642 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
11643 unused directory variables. Remove duplicate CFLAGS.
11644 * Makefile.in: Rebuild.
11645
11646 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
11647 with $(CC_FOR_BUILD).
11648 (makedoc.o): Likewise.
11649 * doc/Makefile.in: Rebuild.
11650
11651 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
11652 force a definition of COMPILE.
11653 (libfoo_a_SOURCES): Define.
11654 * libc/sys/cygwin32/Makefile.in: Rebuild.
11655 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
11656 force a definition of COMPILE.
11657 (libfoo_a_SOURCES): Define.
11658 * libc/sys/tic80/Makefile.in: Rebuild.
11659
11660Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
11661
11662 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
11663 flag.
11664
11665Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
11666
11667 * Build using autoconf and automake. Added many Makefile.am and
11668 configure.in files, plus generated files. Old configure.in files
11669 and all old Makefile.in files completely replaced. Removed
11670 host/any. Added acinclude.m4 and configure.host.
11671
11672Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
11673
11674 * libc/stdio/vfprintf.c: enable long long support, sometimes.
11675 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
11676
11677Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11678
11679 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
11680 * libc/machine/sh/Makefile.in: Add rules for new files.
11681
11682Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11683
11684 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
11685 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
11686 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
11687
11688Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
11689
11690 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
11691 code is ignored.
11692
11693Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
11694
11695 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
11696 internal static buffer when s is NULL, as prescribed by ANSI.
11697
116981998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
11699
11700 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
11701 removed.
11702 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
11703 libc/stdlib will be used for h8300hms.
17c0c97d 11704
8a0efa53
CF
11705Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
11706
11707 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
11708 version that can be built either for speed or size.
11709 * libc/machine/mn10300/memset.S (_memset): ditto
11710 * libc/machine/mn10300/memchr.S (_memchr): ditto
11711 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
11712 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
11713 * libc/machine/mn10300/strchr.S (_strchr): ditto
11714 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
11715 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
11716 * libc/machine/mn10300/Makefile.in: Added entries for
17c0c97d 11717 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
8a0efa53
CF
11718 strcmp.o, strcpy.o, and strlen.o.
11719
11720Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
11721
11722 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
11723 been replaced with libgloss/mn10200.
11724
11725Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
11726
11727 * libc/string/strchr.c (strchr): Make s a constant pointer to
11728 avoid warning.
11729
11730Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
11731
11732 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
11733 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
11734 board SWIs instead of Demon board SWIs).
11735
11736Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
11737
11738 * libc/string/strncat.c (strncat): Make -Os act the same as
11739 PREFER_SIZE_OVER_SPEED being defined.
11740
11741Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
11742
11743 * libc/string/memchr.c (memchr): Make -Os act the same as
11744 PREFER_SIZE_OVER_SPEED being defined.
11745 * libc/string/memcmp.c (memcmp): Ditto.
11746 * libc/string/memcpy.c (memcpy): Ditto.
11747 * libc/string/memset.c (memset): Ditto.
11748 * libc/string/strcat.c (strcat): Ditto.
11749 * libc/string/strchr.c (strchr): Ditto.
11750 * libc/string/strcmp.c (strcmp): Ditto.
11751 * libc/string/strcpy.c (strcpy): Ditto.
11752 * libc/string/strlen.c (strlen): Ditto.
11753 * libc/string/strncat.c (strncat): Ditto.
11754 * libc/string/strncmp.c (strncmp): Ditto.
11755 * libc/string/strncpy.c (strncpy): Ditto.
11756
11757Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
11758
11759 * libc/include/sys/itimer.h: remove
11760 * libc/include/sys/time.h: itimer stuff should be here
11761
11762Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
11763
11764 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
11765 bit instead of comparing to 0 so -0.0 can be printed correctly.
11766
11767Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11768
11769 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
11770
11771Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
11772
11773 * libc/include/sys/unistd.h: fix sync() proto
11774 * libc/include/sys/fcntl.h: remove _close which is already
11775 defined in unistd.h.
11776 * libc/include/sys/time.h: add getitimer proto
11777
11778Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
11779
11780 * libc/string/strchr.c: convert arg to unsigned char
11781 * libc/include/stdlib.h: add protos for random, srandom
11782 * libc/include/sys/stat.h: add lstat proto
11783 * libc/include/sys/time.h: add setitimer proto
11784 * libc/include/sys/unistd.h: add readlink, symlink protos
11785 * libc/include/process.h: instead of including windows.h and using
11786 HANDLEs in sexec protos, just use void *s. Need to include
11787 sys/types.h.
11788
11789Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
11790
11791 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
11792
11793Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
11794
11795 * libc/include/process.h: add secure exec protos
11796
11797Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
11798
11799 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
11800 which are accessed as both doubles and integers.
11801 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
11802 * libc/stdlib/strtod.c (_strtod_r): Likewise.
11803 * libc/stdlib/mprec.h: Add "union double_union" and change
11804 word0/word1 macros to use it.
11805
11806Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
11807
11808 * libc/include/sys/signal.h: add __cplusplus wrapper
11809
11810Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
11811
11812 * libc/include/sys/utime.h: new generic file that gets replaced by
11813 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
11814 function.
11815 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
11816 * libc/include/time.h: remove duplicate utime proto
11817 * libc/include/utime.h: add comment
11818
11819Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
11820
11821 * libc/include/sys/time.h: Add missing include to
11822 allow use of _EXFUN. Remove times function that is
11823 already defined in times.h.
11824
11825Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
11826
11827 * libc/include/time.h: Fix typo in tzset.
11828
11829Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
11830
11831 * libc/include/sys/time.h: add missing Cygwin32 function protos
11832 * libc/include/sys/unistd.h: ditto
11833 * libc/include/time.h: ditto
11834
11835Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
11836
11837 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
11838 FIXME.
11839 * libc/include/sys/types.h: add a new __MS_types__ section
11840 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
11841 __BIT_TYPES_DEFINED__.
11842
11843Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
11844
11845 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
11846 since it overrides the one in libc/include/sys. Also, start
11847 including types.h.
11848
11849Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
11850
11851 * libm/math/Makefile.in: add s_signgam.o to obj list
11852
11853Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
11854
11855 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
11856
11857Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
11858
11859 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
11860 so don't use defines.
11861
11862Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
11863
11864 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
11865
11866Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
11867
11868 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
17c0c97d 11869 _current_locale as default locale.
8a0efa53
CF
11870
11871Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
11872
11873 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
17c0c97d 11874 insufficient space in a chunk.
8a0efa53
CF
11875
11876Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
11877
11878 * configure.in (links): Added check for --enable-newlib-mb configure
11879 option which defines the MB_CAPABLE macro.
11880 * libc/locale/locale.c (_setlocale_r): Added support for setting
11881 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
11882 defined.
11883 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
11884 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
11885 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
11886 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
11887 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
17c0c97d 11888 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
8a0efa53
CF
11889 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
11890 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
11891 * libc/stdlib/Makefile.in: Added new multibyte
11892 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
11893 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
11894 _mbstowcs_r(), and _wcstombs_r().
11895 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
11896 for JIS, SJIS, and EUC-JP characters.
11897 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
17c0c97d 11898 MB_CAPABLE defined.
8a0efa53
CF
11899 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
11900 MB_CAPABLE defined.
11901 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
11902 MB_CAPABLE defined.
11903 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
11904 if MB_CAPABLE defined.
11905 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
11906 if MB_CAPABLE defined.
11907 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
11908 to the format string processing when MB_CAPABLE.
11909 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
11910 call _mbtowc_r().
11911
11912Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
11913
11914 The following modifications are courtesy of Anthony Thompson,
11915 athompson@cambridge.arm.com:
11916 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
11917 boith RDI and RDP monitors.
11918 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
11919 RDI and RDP monitors.
11920
11921Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
11922
11923 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
11924 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
11925 (_swiopen): Fixed open flags to treat write with append as just append.
11926 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
11927 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
11928
11929Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11930
11931 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
11932 When needing to transfer an initial 2-byte-word, store as
11933 two single bytes.
11934
11935Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11936
11937 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
11938 __SH3E__ .
11939 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
11940 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
11941
11942Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
11943
11944 * configure.in (target_cflags): If --enable-target-optspace, use
11945 -Os to compile newlib rather than -O2. Default to using -Os for
11946 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
11947 used.
11948
11949Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
11950
11951 * libc/include/machine/setjmp.h: change sigsetjmp and
11952 siglongjmp definitions to use an array instead of a struct
11953 for __CYGWIN32__
11954
11955Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
11956
11957 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
11958
11959Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
11960
11961 * libc/string/strxfrm.c: fix to get correct return value
11962
11963Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
11964
11965 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
11966 builds. Make mode change labels global so that they will be seen
11967 by the debugger.
11968
11969Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
11970
11971 * configure.in (links): Do not use ARM debiugging protocols for PE
11972 builds.
11973
11974 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
17c0c97d 11975 message.
8a0efa53
CF
11976
11977Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
11978
11979 * libc/stdio/findfp.c (__sinit): Made stdout default to
11980 line buffered mode as defined by ANSI.
11981
11982Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
11983
11984 * libc/include/sys/itimer.h: New file.
11985
11986 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
11987
11988Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11989
11990 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
11991 failure.
11992
11993Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
11994
11995 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
11996 insns.
11997
11998Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
11999
12000 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
12001
12002Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
12003
12004 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
12005 support.
12006
12007 * libc/include/machine/setjmp.h: Add D30V support.
12008
12009 * configure.in (d30v-*): Add d30v machine directory.
12010
12011Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
12012
12013 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
12014 been replaced with libgloss/mn10300.
12015
12016Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
12017
12018 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
12019 it is no longer needed.
12020
12021Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
12022
12023 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
12024
12025Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
12026
12027 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
12028 the file when O_APPEND is set, wherever the EOF happens to be at
17c0c97d 12029 that time.
8a0efa53
CF
12030
12031Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
17c0c97d 12032
8a0efa53
CF
12033 patch from cgf@bbc.com (Christopher Faylor):
12034 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
12035 convention of closing fp prior to attempting to open the file
12036 argument. This allows correct operation when reopening
12037 stdin/stdout/stderr. Replaces last freopen.c patch.
12038
12039Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
12040
12041 patch from cgf@bbc.com (Christopher Faylor):
12042 * libc/stdio/freopen.c: freopen was not preserving the fd
12043 of the stream being operated on. This confuses programs that
12044 expect that the handles for stdout and stderr will be 1 and 2.
12045
12046Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
12047
12048 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
12049
12050Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
12051
12052 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
12053
12054Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
12055
12056 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
12057 altered to not use a branch. Also added hint that last
12058 bclr in longjmp will likely result in branch.
17c0c97d 12059
8a0efa53
CF
12060
12061Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
12062
12063 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
12064
12065Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
12066
12067 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
12068 v850 builds.
12069
17c0c97d 12070 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
8a0efa53
CF
12071
12072Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
12073
12074 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
12075 that loads FR14 to specify offset of 8 rather than 4
12076 so it loads from offset 96 (where setjmp stored it).
12077
12078Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
12079
12080 * libc/machine/sh/memcpy.S: (_memcpy): Update to
12081 latest version supplied by customer.
12082 * libc/machine/sh/memset.S (_memset): Ditto.
12083
12084Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
12085
12086 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
17c0c97d 12087 PR14730).
8a0efa53
CF
12088
12089Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
12090
12091 * libc/include/string.h: remove redefinition of ffs
12092
12093Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
12094
12095 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
12096 defined
12097
12098Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
12099
12100 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
17c0c97d
EB
12101 TI Libraries to link to libc.a
12102
8a0efa53
CF
12103Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
12104
12105 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
12106 * libc/include/sys/stat.h (_{,f}stat): Ditto.
12107 * libc/include/sys/wait.h (_wait): Ditto.
12108 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
12109 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
12110
12111Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
12112
12113 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
12114 minded stabs so function name shows up when running the simulator
12115 with -t.
12116 * libc/sys/d10v/{crt0,trap}.S: Ditto.
12117
12118Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
12119
17c0c97d 12120 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
8a0efa53
CF
12121 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
12122 Use R5 where we used to use R3.
17c0c97d 12123
8a0efa53
CF
12124Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
12125
12126 * libc/stdlib/getopt.c (getopt): replaced __progname
12127 with nargv[0] to improve portability to imbedded systems.
12128
12129Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
12130
12131 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
12132 patch supplied by Tont.Thompson@arm.com to fix the creation of the
12133 stdout file.
12134
12135Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
12136
12137 * libc/stdio/tmpnam.c (worker): Generate a different file name
12138 each time.
12139
12140 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
12141 fails, try an execlp for sh.
12142
12143 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
12144 option for the winsup include directory.
12145
12146Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
12147
12148 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
12149 debugging interface from Tony.Thompson@arm.com.
17c0c97d 12150
8a0efa53
CF
12151 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
12152 * libc/sys/arm/swi.h: ditto.
12153
12154Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
12155
12156 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
12157 DIR struct used for readdir hashes.
12158
12159Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
12160
12161 * libc/string/strchr.c: Use "unsigned chars" as necessary.
12162
12163Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
12164
12165 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
12166 integer targets.
12167
12168Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
12169
12170 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
12171 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
12172 * libc/include/malloc.h: Add extern "C" if __cplusplus.
12173 (__malloc_copy): Declare.
12174
12175Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
12176
12177 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
12178 <sys/config.h>.
12179 (POINTER_UINT): Define.
12180 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
12181 (MALLOC_ALIGNMENT): Don't define if already defined.
12182 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
12183 long.
12184
12185Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
12186
12187 * libc/string/memset.c (memset): Fiddle with code so that the long
12188 value being stored is not a stack value. Unroll storing longs 4
12189 times.
12190
12191Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
12192
12193 * Reduce code size for libm modules.
12194 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
12195 and simply move code into sqrt.
12196 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
12197 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
12198 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
12199 * libm/math/wr_gamma.c (gamma_r): Likewise.
12200 * libm/math/wf_sinh.c (sinfh): Likewise.
12201 * libm/math/w_sinh.c (sinh): Likewise.
12202 * libm/math/wf_scalb.c (scalbf): Likewise.
12203 * libm/math/w_scalb.c (scalb): Likewise.
12204 * libm/math/wf_remainder.c (remainderf): Likewise.
12205 * libm/math/w_remainder.c (remainder): Likewise.
12206 * libm/math/wf_pow.c (powf): Likewise.
12207 * libm/math/w_pow.c (pow): Likewise.
12208 * libm/math/wf_log10.c (log10f): Likewise.
12209 * libm/math/w_log10.c (log10): Likewise.
12210 * libm/math/wf_log.c (logf): Likewise.
12211 * libm/math/w_log.c (log): Likewise.
12212 * libm/math/w_lgamma.c (lgamma): Likewise.
12213 * libm/math/wf_lgamma.c (lgammaf): Likewise.
12214 * libm/math/wf_jn.c (jnf): Likewise.
12215 * libm/math/w_jn.c (jn): Likewise.
12216 * libm/math/wf_j1.c (j1f): Likewise.
12217 * libm/math/w_j1.c (j1): Likewise.
12218 * libm/math/wf_j0.c (j0f): Likewise.
12219 * libm/math/w_j0.c (j0): Likewise.
12220 * libm/math/wf_hypot.c (hypotf): Likewise.
12221 * libm/math/w_hypot.c (hypot): Likewise.
12222 * libm/math/wf_gamma.c (gammaf): Likewise.
12223 * libm/math/w_gamma.c (gamma): Likewise.
12224 * libm/math/wf_fmod.c (fmodf): Likewise.
12225 * libm/math/w_fmod.c (fmod): Likewise.
12226 * libm/math/wf_exp.c (expf): Likewise.
12227 * libm/math/w_exp.c (exp): Likewise.
12228 * libm/math/wf_cosh.c (coshf): Likewise.
12229 * libm/math/w_cosh.c (cosh): Likewise.
12230 * libm/math/wf_atanh.c (atanhf): Likewise.
12231 * libm/math/w_atanh.c (atanh): Likewise.
12232 * libm/math/wf_atan2.c (atan2f): Likewise.
12233 * libm/math/w_atan2.c (atan2): Likewise.
12234 * libm/math/wf_asin.c (asinf): Likewise.
12235 * libm/math/w_asin.c (asin): Likewise.
12236 * libm/math/wf_acosh.c (acoshf): Likewise.
12237 * libm/math/w_acosh.c (acosh): Likewise.
12238 * libm/math/wf_acos.c (asocf): Likewise.
12239 * libm/math/w_acos.c (acos): Likewise.
12240 * libm/math/wf_sqrt.c (sqrtf): Likewise.
12241 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
12242 for embedded systems.
12243
12244Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
12245
12246 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
12247 Lea in case of a foreign sbrk.
12248
12249Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
12250
12251 Incorporate Doug Lea's malloc:
12252 * libc/stdlib/mallocr.c: Completely replaced.
12253 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
12254 (realloc): Remove.
12255 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
12256 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
12257 mallopt.
12258 (mallinfo, malloc_stats, mallopt): New functions.
12259 (_mstats_r): Just call _malloc_stats_r.
12260 * libc/stdlib/malign.c: New file.
12261 * libc/stdlib/mlock.c: New file.
12262 * libc/stdlib/msize.c: New file.
12263 * libc/stdlib/mtrim.c: New file.
12264 * libc/stdlib/realloc.c: New file.
12265 * libc/stdlib/valloc.c: New file.
12266 * libc/stdlib/malloc.h: Remove.
12267 * libc/stdlib/callocr.c: Remove.
12268 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
12269 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
12270 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
12271 reallocr.o, valloc.o, vallocr.o.
12272 (CHEWOUT_FILES): Add mlock.def, mstats.def.
12273 (MALLOC_CFLAGS): New variable.
12274 (mallocr.o): New target, build from mallocr.c.
12275 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
12276 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
12277 (msizer.o, malloptr.o): Likewise.
12278 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
12279 (valloc.o): New target.
12280 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
12281 * libc/include/malloc.h: Declare struct mallinfo, and new
12282 routines.
12283 * libc/include/stdlib.h (cfree): Correct declaration.
12284
12285Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
12286
12287 * libc/include/machine/setjmp.h: Add support for Thumb target.
12288
12289 * libc/include/machine/ieeefp.h: Add support for Thumb target.
12290
12291 * configure.in (links): Add support for Thumb target.
12292
12293Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
12294
12295 * libc/sys/arm/setjmp.S: Updated with version from branch.
12296
12297Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
12298
12299 * libc/include/stdio.h: add POSIX-required define L_ctermid
12300 for ctermid
12301
12302Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
12303
12304 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
12305 addition to MISSING_SYSCALL_NAMES.
12306
12307Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
12308
12309 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
12310
12311Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
12312
12313 * libc/include/string.h: change strsignal proto to return
12314 a char *. This eliminates compile problems in gdb resulting
12315 from gdb's definition of strsignal in defs.h.
12316
12317Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
12318
12319 * libc/sys/cygwin32/sys/utime.h: new (moved here from
12320 winsup/include) so as not to conflict with the one in
12321 libc/include.
12322 * libc/include/string.h: add protos for strsignal, strtosigno
12323
12324Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
12325
12326 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
12327
12328 * configure.in (d30v-*-*): Add configuration.
12329
12330Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
12331
12332 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
12333 to select which kind of debug monitor is in use for an ARM target.
12334
12335 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
12336 Angel and Demon debug monitors. Part of this code was supplied by
12337 Tony Thompson at ARM: athompso@arm.com.
12338
12339Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
12340
12341 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
12342 semantics when the count is greater than the length of the second
12343 source string.
12344
12345Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
12346
12347 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
12348 * libc/include/sys/unistd.h: add protos for usleep, truncate,
12349 truncate and ftruncate take off_t, not size_t
12350
12351Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
12352
12353 * libc/string/strcat.c (strcat): Add missing comment end.
12354 * libc/string/strncat.c (strncat): Likewise.
12355
12356Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
12357
12358 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
17c0c97d
EB
12359 targets.
12360 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
8a0efa53 12361 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
17c0c97d 12362 defined.
8a0efa53
CF
12363 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
12364 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
12365 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
12366
12367Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
12368
12369 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
12370 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
12371
12372Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
12373
12374 * libc/machine/i386/setjmp.S: New file.
12375 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
12376 (OFILES): Add setjmp.o.
12377 (setjmp.o): Add rule for.
12378 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
12379
12380Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
12381 Jeffrey A Law (law@cygnus.com)
12382
12383 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
12384 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
12385 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
12386 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
12387
12388Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
12389
12390 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
17c0c97d 12391 rules.
8a0efa53
CF
12392
12393 * libc/include/sys/config.h: Use __v850 to select v850
17c0c97d 12394 endianness.
8a0efa53
CF
12395
12396 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
12397 buffer size.
12398
12399 * libc/include/machine/ieeefp.h: Use __v850 to select v850
17c0c97d 12400 endianness.
8a0efa53
CF
12401
12402Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
12403
12404 * libc/stdlib/setenv.c: change unsetenv definition to match
12405 style of setenv (with _DEFUN). The string should be a const.
12406 * libc/include/stdlib.h: unsetenv proto should return void.
12407
12408Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
12409
12410 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
12411
12412Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
12413
12414 * libc/stdio/glue.h: remove.
12415 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
12416 * libc/stdio/Makefile.in: remove glue.h dependencies
12417
12418Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
12419
12420 * libc/sys/sysnecv850/crt0.S: Created V850e version.
17c0c97d 12421
8a0efa53
CF
12422Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
12423
12424 * configure.in (target_cpu): Add `arc'.
12425
12426Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
12427
17c0c97d 12428 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
8a0efa53
CF
12429 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
12430 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
12431 * newlib/libc/reent/reent.c: Add _wrapup_reent.
12432 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
12433
12434Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
12435
12436 * libc/machine/mips/setjmp.S: Handle mips16 builds.
12437
12438Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
12439
12440 * libc/include/stdio.h (siprintf): Declare.
12441
12442Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
12443
12444 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
12445 TARGET_CFLAGS and NEWLIB_FLAGS.
12446
12447Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
12448
12449 * configure.in (links): Add support for v850ea target.
12450
12451Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
12452
12453 * configure.in (links): Add support for v850e target.
12454
12455Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
12456
12457 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
12458
12459Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
12460
12461 * configure.in (arc-*-*): Add support for.
12462 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
12463
12464Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
12465
12466 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
12467
12468Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
12469
12470 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
12471 comparison which accesses invalid memory when the key is
12472 larger than the last member of the array.
12473 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
12474 for CYGWIN32
12475 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
12476
12477Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
12478
12479 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
12480 not _STRICT_ANSI.
12481
12482Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
12483
12484 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
12485 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
12486
12487Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
12488
12489 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
12490 to load/store memory.
12491
12492Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
12493
12494 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
12495 underscores if _WIN32.
12496
12497Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
12498
12499 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
12500 support ifdef _USE_WRITE missed in last change.
12501 From Anders Blomdell <anders.blomdell@control.lth.se>.
12502
12503Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
12504
12505 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
12506 (_tmpnam_r, _tempnam_r): Update.
12507
12508Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
12509
12510 * libc/machine/sparc/setjmp.S: New file.
12511 * libc/machine/sparc/Makefile.in: Add setjmp.
12512 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
12513
12514Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
12515
12516 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
12517
12518Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
12519
12520 From Joel Sherrill <joel@oarcorp.com>.
12521 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
12522
12523 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
12524 * configure.in: Recognize *-*-rtems*.
12525 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
12526 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
12527 time.h,times.h,types.h}: New files.
12528 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
12529
12530Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
12531
12532 patch from sos@prospect.com.ru (Sergey Okhapkin):
12533 * include/sys/wait.h: correct operator precidence bug
12534 in WIFSIGNALED
12535
12536Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
12537
12538 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
12539 with newlib's unsetenv function
12540 * libc/sys/cygwin32/sys: new directory for includes
12541 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
12542 here from winsup/include/sys
12543
12544Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
12545
12546 * libc/include/sys/unistd.h: _exit should only be
12547 labelled noreturn when not __CYGWIN32__
12548 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
12549 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
12550 increment NSIG
12551
12552Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
12553
12554 * libc/include/sys/time.h: Only define timeval and timezone if
12555 _GNU_H_WINDOWS32_SOCKETS is not defined.
12556 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
12557
12558Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
12559
12560 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
12561 * libc/machine/mn10300/setjmp.S: Likewise.
12562
12563 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
12564 the mn10300 (more relaxing opportunities).
12565
12566Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
12567
12568 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
12569 Build libraries with -mstrict-align.
12570
12571Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
12572
12573 * libc/string/strlwr.c: New file.
12574 * libc/string/strupr.c: New file.
12575 * libc/include/string.h: Declare strlwr and strupr.
12576 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
12577 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
12578 (strlwr.o, strupr.o): New targets.
12579 * libc/string/strings.tex: Include strlwr and strupr docs.
12580
12581 * libc/include/sys/types.h: Don't define u_char, et. al., if
12582 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
12583 et. al. Make FD_SETSIZE default 64 rather than 60. Define
12584 _types_fd_set rather than fd_set, and define fd_set as a macro.
12585
12586 * libc/include/malloc.h: New file.
12587
12588 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
12589 strnicmp if they are not already defined.
12590
12591 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
12592 _timezone, _daylight, and _tzname.
12593
12594Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
12595
12596 * configure.in: Sort all configuration tables.
12597
12598 From Joel Sherrill <joel@oarcorp.com>
12599 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
12600
12601Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
12602
12603 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
12604 use int when declaring kill.
12605
12606 * libc/include/sys/timeb.h: New file.
12607
12608Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
12609
12610 * libc/include/sys/time.h: add itimer support for Cygwin32
12611
12612Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
12613
12614 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
12615 out a message that abort was called to stderr.
12616
12617Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
12618
12619 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
12620 so that libio doesn't freak.
12621
12622 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
12623 int.
12624
12625 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
12626 memory sizes, not int.
12627
12628Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
12629
12630 * libm/math/ef_hypot.c: Use long constants where
17c0c97d 12631 appropriate.
8a0efa53
CF
12632 * libm/math/ef_sqrt.c: Ditto.
12633
12634 * libc/sys/sysmec/times.c(_times): Change to times.
12635
12636 * libc/sys/sysmec/read.c(_read): The third argument is
12637 size_t.
12638 * libc/sys/sysmec/write.c (_write): Ditto.
12639
12640 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
12641 (_lseek): It's off_t for the second argument.
12642
12643Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
12644
12645 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
12646 as well as machine/ieeefp.h.
12647
12648Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
12649
12650 * libc/include/sys/signal.h: add signal protos for winsup
12651 functions (when __CYGWIN32__), include types.h
12652 * libc/include/sys/types.h: Change __go32_types__ internal
12653 define to __MS_types__ since it's used for more than just
12654 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
12655 defined.
12656 * libc/include/sys/unistd.h: add ftruncate proto for
12657 winsup functions (when __CYGWIN32__)
12658
12659Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
12660
12661 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
12662
12663Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
12664
12665 * libc/include/machine/setjmp.h: Add tic80 support.
12666 * libc/machine/tic80/setjmp.S: Likewise.
12667
12668Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
12669
12670 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
12671 link programs from libraries only (such as in the X11
12672 distribution)
12673
12674Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
12675
12676 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
12677 supplied elsewhere in newlib.
12678
12679Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
12680
12681 * Makefile.in (INSTALL): Change install.sh to install-sh.
12682
12683Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
12684
12685 * README: update WWW address for on-line documentation.
12686
12687Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
12688
12689 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
12690 increment NSIG
12691
12692Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
12693
12694 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
12695 mn10300.
12696 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
12697
12698Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
12699
12700 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
12701 * libc/sys/d10v/syscalls.c: Likewise.
12702 * libc/sys/h8300hms/sbrk.c: Likewise.
12703 * libc/sys/h8500hms/syscalls.c: Likewise.
12704 * libc/sys/m88kbug/syscalls.c: Likewise.
12705 * libc/sys/sh/syscalls.c: Likewise.
12706 * libc/sys/sysmec/sbrk.c: Likewise.
12707 * libc/sys/sysnecv850/sbrk.c: Likewise.
12708 * libc/sys/w65/syscalls.c: Likewise.
12709 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
12710
12711Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
12712
12713 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
12714 emulated syscall instead of "trap".
12715
12716Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
12717
12718 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
12719 not trap 0.
12720
12721Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
12722
12723 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
12724
12725Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
12726
12727 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
12728 not "sh".
12729 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
12730 not "d10v".
12731 * libc/sys/tic80/crt0.c: New file for TIc80.
12732 * libc/sys/tic80/Makefile.in: New file for TIc80.
12733 * libc/machine/tic80/Makefile.in: New file for TIc80.
12734
12735Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
12736
12737 * libc/machine/sh/memcpy.S: New file.
12738 * libc/machine/sh/memset.S: New file.
12739 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
12740
12741Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
12742
12743 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
12744 for TIc80.
12745
12746Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
12747
12748 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
12749 the mn10200.
12750
12751Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
12752
12753 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
12754 (patch from andrew@pogo.WV.TEK.COM).
12755
12756Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
12757
12758 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
12759 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
12760
12761Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
12762
12763 * configure.in: Add cases for "tic80" to set machine_dir,
12764 sys_dir, and syscall_dir.
12765
12766Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
12767
12768 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
12769
12770Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
12771
12772 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
12773
12774Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
12775
12776 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
12777 Use proper constant prefix.
12778
12779Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
12780
12781 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
12782 that loses on the mn10200 where ints and pointers are different
12783 sizes.
12784
12785Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
12786
12787 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
12788 target as signal is provided in winsup.
12789
12790Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
12791
12792 * libc/include/sys/process.h: Corrected const definitions
12793 in spawn functions. Added cwait.
12794
12795Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
12796
12797 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
12798 doubles.
12799 * libc/include/sys/config.h: Similarly.
12800
12801Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12802
12803 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
12804 target_cflags.
12805 (i[3456]86-*-sco*): Ditto.
12806
12807 * libc/signal/Makefile.in (OFILES): Add signal.o.
12808 (CFILES): Add signal.c.
12809
12810 * libc/signal/raise.c (_raise_r): Only compile code if
12811 SIGNAL_PROVIDED is defined.
12812
12813 * libc/signal/signal.c: Redo whole file so that it works with
12814 current newlib. Use _kill_r if no signal handler provided.
12815
12816 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
12817 signal stubs.
12818 * libc/sys/sysvnecv70/Makefile.in: Ditto.
12819 * libc/sys/sysnecv850/Makefile.in: Ditto.
12820
12821 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
12822 * libc/sys/sysmec/{raise,signal}.c: Ditto.
12823 * libc/sys/sysvnecv70/signal.s: Ditto.
12824 * libc/sys/sysnecv850/raise.c: Ditto.
12825
12826 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
12827 simulator and debugger can tell the difference between a signal
12828 being raised and an exit system call.
12829
12830 * NEWS: Document software signals being provided.
12831
12832Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12833
12834 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
12835 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
12836 include/sys/config.h.
12837 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
12838 Change from 'inpure_data'.
12839 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
12840 &impure_data, not &inpure_data.
12841
12842 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
12843 and and System V ABI, define so that _impure_ptr lives in the
12844 .sdata section.
12845
12846Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12847
12848 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
12849 nothing if not defined.
12850 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
12851 its attributes.
12852
17c0c97d 12853 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
8a0efa53
CF
12854
12855Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
12856
12857 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
12858 * libc/sys/sysmec/trap.s: Handle mn10200 too.
12859 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
12860
12861Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
12862
12863 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
12864
12865Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
12866
12867 * libc/include/sys/errno.h: Added net errno's.
12868
12869Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12870
12871 * libc/misc/ffs.c: New file to support ffs function for GCC test
12872 gcc.c-torture/execute/960909-1.c.
12873
12874 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
12875
12876Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
12877
12878 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
12879 * libc/sys/sysmec/trap.S: Likewise.
12880
12881Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
12882
12883 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
12884 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
12885
12886Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
12887
12888 * libc/sys/sysmec/signal.c: Dummy file.
12889 * libc/sys/sysmec/Makefile.in: Build it.
12890
12891Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
12892
12893 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
12894 mips16.
12895
12896Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
12897
12898 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
12899 c-startup and simulator traps.
12900
12901
12902 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
12903 * libc/sys/sysmec/trap0.S: Likewise.
12904
12905Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12906
12907 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
12908 round to double word alignment.
12909 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
12910 byte alignment.
12911
12912 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
12913
12914 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
12915 out of memory.
12916
12917Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
12918
12919 * configure.in: Handle mn10200 and mn10300.
12920 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
12921 * libc/include/sys/config.h: Likewise.
12922 * libc/sys/sysmec: New directory for mec stuff.
12923 * libc/machine/mn10300: New directory for mn10300 stuff.
12924 * libc/machine/mn10200: Similarly for mn10200 stuff.
12925
12926Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
12927
12928 * libc/sys/arm/crt0.S: Use .text, not .section .text.
12929 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
12930
12931 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
12932 (nlink_t): Change type from unsigned int to unsigned short.
12933 (mode_t): Ensure size is 32 bits even if int is 16.
12934 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
12935 (st_spare[123]): Change type from int to long.
12936
12937Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12938
12939 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
12940 byte boundary.
12941
12942 * configure.in (d10v*): Define SMALL_MEMORY.
12943
12944Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12945
12946 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
12947 -mrelocatable-lib and -mno-eabi flags.
12948
12949Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
12950
12951 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
12952 Fix handling of mis-aligned source operand when both the
12953 destination & length are properly aligned.
17c0c97d 12954
8a0efa53
CF
12955Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
12956
12957 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
12958 times.o, time.o and gettime.o
12959 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
12960 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
12961 SYS_gettimeofday.
12962
12963Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
12964
12965 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
12966 * libc/sys/sysnecv850/access.c: New file.
12967
12968Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
12969
12970 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
12971
12972 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
12973 long.
12974
12975Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
12976
12977 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
12978
12979Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
12980
12981 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
12982 * libc/include/sys/config.h: Add m32r support.
12983
12984Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
12985
12986 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
12987 here.
12988
12989Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
12990
12991 * libc/include/machine/setjmp.h: Add D10v support.
12992
12993Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
12994
12995 * configure.in: Configure the "libc/syscalls" directory for
12996 the v850.
12997
12998 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
12999 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
13000 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
13001 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
13002 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
13003
13004Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
13005
13006 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
13007 stack for args for main and other routines. Zero out args for
13008 main.
13009
13010 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
13011 correctly.
13012
13013Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13014
13015 * libc/stdio/findfp.c (std): Remove extraneous ';' after
13016 function.
13017
13018 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
13019
13020 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
13021 real system calls now.
13022
13023 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
13024 before casting them to int.
13025 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
13026
13027 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
13028 aligning pointer.
13029 * libc/string/memset.c (memset): Ditto.
17c0c97d 13030
8a0efa53
CF
13031 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
13032 first convert ints to _POINTER_INT to eliminate GCC warning.
13033
13034 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
13035 processing %p.
13036
13037 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
13038 from 65000 if ints are only 16 bits.
13039
13040 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
13041 from 50000 if ints are only 16 bits.
13042
13043 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
13044 int type that is the same size as a pointer.
13045
13046 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
13047 processing %p.
13048 (get_number): Explicitly cast number to long before shifting by 16
13049 or 24, in case ints are short.
13050
13051 * libc/include/sys/config.h (_POINTER_INT): Define as short.
13052
13053Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
13054
13055 * libc/string.h: Added ffs, removed swab.
13056 * libc/sys/errno.h: Added EOPNOTSUPP.
13057 * libc/sys/unistd.h: Added swab.
13058
13059Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
13060
13061 * libc/include/sys/stat.h: Added fchmod.
13062 * libc/include/sys/unistd.h: Added fsync.
13063
13064Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
13065
13066 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
13067 and ECONNRESET (104) for cygwin32.
13068
13069Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
13070
13071 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
13072 do the static destructors.
17c0c97d 13073
8a0efa53
CF
13074Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
13075
13076 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
13077
13078Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
13079
13080 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
13081 * configure.in: Recognize m32r-*-*.
13082
13083Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
13084
13085 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
17c0c97d
EB
13086 __rt_stkovf_split_small): Added default software stack overflow
13087 handlers, which just call SWI_Exit.
8a0efa53 13088 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
17c0c97d 13089 limit initialisation.
8a0efa53
CF
13090
13091Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
13092
13093 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
13094
13095Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
13096
13097 * libc/include/sys/types.h: Added ssize_t definition.
17c0c97d 13098
8a0efa53
CF
13099Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13100
13101 * libc/machine/d10v/setjmp.S: Use ';' for comments.
13102 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
13103
13104 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
13105 branch around a single ldi instruction.
13106
13107 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
13108 Call exit, instead of just issuing a stop instruction.
13109
13110Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13111
13112 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
13113
13114Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13115
13116 * libc/stdlib/mprec.h: Explicitly declare all large constants as
13117 longs, and then cast them to __uint32_t.
13118
13119 * libc/include/sys/config.h: Protect against multiple inclusions.
13120
13121Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
13122
13123 * configure.in (d10v*): Set syscall_dir.
13124
13125Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
13126
13127 * libc/sys/d10v/crt0.S: Set stack pointer.
13128
13129Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
13130
13131 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
13132 in assembly for efficiency. Change calling convention to allow
13133 long ints to be returned.
13134
13135Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13136
13137 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
13138
13139Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
13140
13141 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
13142 Handle empty entries in $PATH.
13143
13144Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
13145
13146 * libc/machine/d10v/setjmp.S: Make it really work.
13147
13148Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
13149
13150 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
13151 the .stack section.
13152
13153Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
13154
13155 * sys/sysnecv850/sys/file.h: Remove.
13156 * sys/sysnecv850/sys/syscall.h: New file.
13157 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
13158 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
13159 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
13160 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
13161 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
13162 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
13163 * sys/sysnec850/trap.S: New file.
13164 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
13165 syscalls.
13166 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
13167 * sys/sysnec850/sbrk.c: New version.
13168
13169Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
13170
13171 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
13172 as long as r6 is less than r7.
13173
13174Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
13175
13176 * Makefile.in (mostlyclean): Separate from clean target. Don't
13177 remove *.a or targ-include.
13178 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
13179
13180Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13181
13182 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
13183 d10v.
13184 (__SMALL_BITFIELDS): Ditto.
13185
13186 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
13187
13188Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
13189
13190 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
13191 prefix.
13192
13193 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
13194 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
13195 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
13196 * libc/sys/sysnecv850/write.c (write): Likewise.
13197
13198 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
13199 .bss.
13200
13201Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13202
13203 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
13204 appropriately for D10V, depending on -mint16/-mint32.
13205
13206Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
13207
13208 * configure.in: Add cases for D10V.
13209
13210Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13211
13212 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
13213
13214Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
13215
13216 * libc/include/machine/ieeefp.h: Fix typo.
13217
13218Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
13219
13220 * libc/sys/d10v: New directory for D10V stuff.
13221 * libc/include/machine/ieeefp.h: Add D10V defines.
13222
13223Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
13224
13225 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
13226 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
13227 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
13228 * libc/string/strerror.c (strerror): Add them.
13229
13230Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
13231
13232 * libc/sys/sysnecv850: New directory for v850 stuff.
13233
13234 * libc/machine/v850: New directory for v850 stuff.
13235 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
13236
13237 * configure.in: Add support for the v850.
13238
13239 * libc/include/machine/ieeefp.h: Add v850 defines.
13240 * libc/include/machine/setjmp.h: Likewise.
13241 * libc/include/sys/config.h: Add v850 defines.
13242
13243Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
13244
13245 * libc/include/machine/ieeefp.h
13246 * libc/include/machine/setjmp.h
13247 * libc/include/sys/fcntl.h
13248 * libc/include/sys/signal.h
13249 * libc/include/sys/types.h
13250 * libc/stdlib/system.c:
13251 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
13252 API availability, __CYGWIN32__ for cygwin32 environment specific).
13253
13254Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
13255
13256 * libc/include/stdlib.h: add multibyte character functions. Add
13257 __eprintf for assert.
13258
13259Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13260
13261 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
13262 arithmetic or __alignof__ to properly get the alignment, instead
13263 of hardwiring it to 4.
13264
13265Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
13266
13267 * libc/stdio/fseek.c: add fflush call to adjust seek offset
13268 on append stream (fix from NetBSD sources), adjust curoff offset
13269 for ungetc's benefit.
13270 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
13271 * libc/stdio/rewind.c: replace code with up to date NetBSD
13272 code to undo hacks made to work around above problem of not
13273 having fflush call mentioned above
13274
13275Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
13276
13277 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
17c0c97d
EB
13278 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
13279 Partially revert last changes. The thread specific errno is set
13280 iff if the underlying syscall fails and the global errno is not
13281 zero.
8a0efa53
CF
13282
13283Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
13284
13285 * libc/reent/filer.c: Removed files, all functions have split out
17c0c97d
EB
13286 into their own files.
13287 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
8a0efa53
CF
13288 New files containing functions formally in filer.c
13289 * libc/reent/Makefile.in: Updated for above change.
13290
13291 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
17c0c97d
EB
13292 syscall fails, not if errno is changed.
13293 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
8a0efa53
CF
13294 _write_r): Likewise.
13295 * libc/reent/fstatr.c (_fstat_r): Likewise.
13296 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
13297 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
13298 * libc/reent/signalr.c (_kill_r): Likewise.
13299 * libc/reent/statr.c (_stat_r): Likewise.
13300 * libc/reent/timer.c (_gettimeofday_r): Likewise.
13301
13302 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
17c0c97d 13303 signalr.c, statr.c, timer.c} (errno): declare extern rather
8a0efa53
CF
13304 than as a common.
13305
13306 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
17c0c97d
EB
13307 instead of calling vfprintf so that i*printf will not require
13308 floating point support code.
13309
8a0efa53
CF
13310Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
13311
13312 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
13313 path delimiter.
13314 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
13315 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
13316
13317Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
13318
13319 * libc/include/signal.h: _sig_func_ptr function takes an int
13320 * libc/include/sys/signal.h: sa_handler function takes an int
13321
13322Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
13323
13324 * libc/include/machine/ieeefp.h: Simplify H8/S support.
13325 * libc/include/sys/config.h: Add missing H8/S conditional.
13326
13327Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
13328
13329 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
13330
13331Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
13332
13333 * libc/include/machine/setjmp.h: Handle H8/S.
13334 * libc/include/machine/ieeefp.h: Likewise.
13335 * libc/include/sys/config.h: Likewise.
13336 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
13337 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
13338 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
13339 * libc/sys/h8300hms/crt0.S: Likewise.
13340
13341Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
13342
13343 * Makefile.in (datadir): Set to $(prefix)/share.
13344 (oldincludedir, docdir): Removed.
13345 * doc/Makefile.in (datadir): Set to $(prefix)/share.
13346 (oldincludedir, docdir): Removed.
13347 * libc/Makefile.in (datadir): Set to $(prefix)/share.
13348 (oldincludedir, docdir): Removed.
13349 * libm/Makefile.in (datadir): Set to $(prefix)/share.
13350 (oldincludedir, docdir): Removed.
13351
13352Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
13353
13354 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
13355 _reent struct.
13356
13357Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
13358
13359 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
13360 fetch current path rules with sysconf and handler posix/win32
13361 appropriately.
13362
13363 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
13364
13365 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
13366 (WAIT_CHILD): Always define.
13367
13368Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
13369
13370 * libc/stdlib/eprintf.c: New file.
13371 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
13372 (eprintf.o): New target.
13373
13374Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
13375
13376 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
13377 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
13378
13379Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
13380
13381 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
13382 NT in PowerPC endianess cases.
13383
13384Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13385
13386 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
13387
13388Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13389
13390 * libc/string/strtok.c: Fix doc typo.
13391
13392Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
13393
13394 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
17c0c97d 13395 _next, _scanpoint, _signgam fields.
8a0efa53
CF
13396
13397 * libc/include/stdlib.h (rand_r): Added new declaration.
13398 (_rand_r, _srand_r): Removed declarations.
13399 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
17c0c97d 13400 have been made obsolete by rand_r.
8a0efa53 13401 * libc/stdlib/rand_r.c: New file, rand_r function as specified
17c0c97d
EB
13402 by POSIX.1c.
13403
8a0efa53 13404 * libc/string/strtok.c: Update documentation to describe
17c0c97d 13405 strtok_r().
8a0efa53
CF
13406
13407Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
13408
13409 * libc/include/sys/stat.h (stat structure): Use the expanded stat
13410 structure on Solaris, and PowerPC systems even though __svr4__ is
13411 defined.
13412
13413Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
13414
13415 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
13416
13417Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
13418
13419 * host/any: Use ../.. rather than .. to get to the main build
17c0c97d
EB
13420 directory. This matches the current layout of the build
13421 directory.
8a0efa53
CF
13422
13423Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
13424
13425 * libc/machine/h8300/__main.S: Delete. No longer needed.
13426 * libc/machine/h8300/Makefile.in: Corresponding changes.
13427 * libc/sys/h8300hms/crt1.c: New file.
13428 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
13429 * libc/sys/h8300hms/crt0.s: Call __main.
13430
13431 * libc/sys/h8300hms/crt0.S: Use temporary label names
13432 for branch targets.
13433
13434Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
13435
13436 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
13437
13438Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13439
13440 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
13441 .sdata on the PowerPC so that we can link newlib with code
13442 compiled with -msdata.
13443
13444Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
13445
13446 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
13447
13448Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
13449
13450 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
13451 exception handler to __cygwin_exception_handler.
13452
13453Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
13454
13455 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
13456
13457Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
13458
13459 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
13460 SunOS VPATH.
13461 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
13462 wcstombs.o): Likewise.
13463
13464Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
13465
13466 * libc/stdlib/environ.c (initial_env): New static local.
13467 (environ): Point to `initial_env'.
13468
13469 * libc/include/machine/setjmp.h: Clean up.
13470 (__H8300H__,__PPC__): Define _JBTYPE.
13471 (__arm__): Provide entry for.
13472 (sigjmp_buf): Delete.
13473 (jmp_buf): Use _JBTYPE if defined, otherwise int.
13474
13475Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
13476
13477 * libc/machine/h8300/strcmp.S: Sign extend the result to
13478 32bits so we don't lose with -mint32.
13479
13480Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
13481
13482 * libc/sys/go32/sys/errno.h: New file.
13483 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
13484 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
13485 errno's address (make compatible with rest of newlib).
13486 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
13487 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
13488
13489Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
13490
13491 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
13492 * libc/machine/sparc/Makefile.in: Build them.
13493 * libc/machine/sparc/machine/sparclet.h: New file.
13494
13495Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
13496
13497 * libc/machine/sh/asm.h: New file.
13498 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
17c0c97d 13499 support for SH3e's FP registers. Use asm.h.
8a0efa53
CF
13500
13501Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
13502
13503 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
13504 as first argument. Call _dtoa_r and pass the reent structure
13505 instead of calling __dtoa.
13506
13507Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
13508
13509 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
13510 the h8300, h8500, and others. Add comments for some rather
13511 dubious code.
13512
13513Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
13514
13515 * Makefile.in (check): Check that testsuite exists before cd.
13516
13517Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13518
13519 * libc/include/string.h (strsep): Correct prototype.
13520
13521Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
13522
13523 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
13524 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
13525 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
13526
13527Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
13528
13529 * libc/posix/{creat.c,isatty.c}: New files.
13530 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
13531
13532 * libc/sys/sparc64/crt0.S (environ): Delete.
13533 (.LHaveBias): Renamed from HaveBias.
13534
13535Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
13536
13537 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
13538 (_morecore_r): Delete SBRK_IS_ALLOC support.
13539
13540Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13541
13542 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
13543 module rather than touch, so we don't get warning messages when
13544 all of the libraries are combined into libc.a.
13545
13546Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
13547
13548 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
13549 crt0.s replaced by version in libgloss.
13550
13551Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
13552
13553 * libc/reent/Makefile.in (OFILES): Add impure.o.
13554 * libc/reent/impure.o: New file, define initial reentrancy struct.
13555 * libc/reent/reent.c: Remove above definition.
13556
13557 * libm/math/sf_asinh.c: Fix typo.
13558
13559 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
17c0c97d
EB
13560 srf_ldexp.o.
13561
8a0efa53
CF
13562 * libm/libm.texinfo: Change documentation to reflect changes
13563 in reentrancy model.
13564 * libm/math/w_gamma.c: Likewise.
13565
13566Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
13567
13568 * configure.in (*-*-cygwin32): New.
13569 (*-*-win32): Deleted.
13570 * libc/sys/win32 renamed libc/sys/cygwin32.
13571
13572Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13573
13574 * libc/include/sys/file.h: New include file.
13575
13576Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
13577
13578 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
13579
13580Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
13581
13582 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
13583
13584Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13585
13586 * doc/makedoc.c (realloc): Declare at file scope.
13587 (catchar): Not here.
13588
13589Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
13590
13591 * Makefile.in (VERSION): Update to 1.7.0.
13592 * {libc,libm}/Makefile.in (VERSION): Likewise.
13593 * configure.in: Minor clean up of multilib stuff.
13594
13595 From David Johnson <davidj@ICSI.Berkeley.EDU>
13596 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
13597
13598 * libc/stdlib/environ.c: New file.
13599 * libc/stdlib/Makefile.in (OFILES): Build it.
13600 * libc/sys/h8500hms/crt0.c (environ): Deleted.
13601 * libc/sys/m88kbug/crt0.c (environ): Deleted.
13602 * libc/sys/z8ksim/crt0.c (environ): Deleted.
13603 * libc/sys/netware/environ.c: Deleted.
13604
13605Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
13606
13607 * configure.in (links): set sys_dir, posix_dir, syscall_dir
13608
13609Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
13610
13611 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
13612 declaration out to external scope and declare it PTR, not char *.
13613
13614Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
13615
13616 * libc/include/sys/unistd.h (getpagesize): New declaration.
13617 (_SC_PAGESIZE): New definition.
13618 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
13619 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
13620
13621Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
13622
13623 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
17c0c97d 13624 addressing. System call returns size, not (last address + 1).
8a0efa53
CF
13625
13626Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13627
13628 * libm/math/*.c: Removed _foo_r() reentrancy API.
13629 * libc/include/math.h: Removed _foo_r prototypes and macros.
13630
17c0c97d 13631 * libm/math/*.c: On systems with IEEE single precision "doubles"
8a0efa53 13632 move foo() -> foof() wrapper code from the files that implement
17c0c97d 13633 the standard IEEE double precision functions to the files that
8a0efa53
CF
13634 implement IEEE single precision functions. (ie. On those systems
13635 sin is moved from s_sin.c to sf_sin.c). There should eventually
13636 be use of a C extension (like gcc's alias attribute) so that the
13637 wrappers are not needed at all.
13638
13639 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
17c0c97d 13640 strict NEC V810 compiler.
8a0efa53 13641 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
17c0c97d 13642 for same reason.
8a0efa53
CF
13643
13644Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13645
13646 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
17c0c97d 13647 from NetBSD C library.
8a0efa53
CF
13648 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
13649
17c0c97d 13650 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
8a0efa53
CF
13651 and adapted from implementation I wrote for NetBSD C library.
13652 The difference is __assert doesn't take a format argument,
13653 so that there won't be multiple copies of the same string
13654 constant in the executable if assertions are enabled in
17c0c97d 13655 more than one source module.
8a0efa53
CF
13656 * libc/include/assert.h (assert): Changed to call __assert.
13657
13658Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13659
13660 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
13661 word1 on systems with 32 bit doubles.
13662 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
13663 so that we can do arithmetic on them.
13664 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
17c0c97d
EB
13665 compilers.
13666
8a0efa53
CF
13667Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
13668
13669 * libc/sys/arm/crt0.S: Zero bss.
13670
13671Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
13672
13673 * libc/include/unctrl.h: New file.
13674 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
13675 * configure.in (subdirs): Add libc/misc.
13676 * libc/Makefile.in (SUBDIRS): Add misc.
13677 (SUBLIBS): Add misc/lib.a.
13678
13679 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
13680
13681Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
13682
13683 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
13684 (_vfprintf_r): Call CHECK_INIT.
13685
13686Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
13687
13688 * Makefile.in (MULTITOP): Delete.
13689 (MULTISRCTOP, MULTIBUILDTOP): Add.
13690 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
13691 instead of cfg-ml-pos.in.
13692
13693Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
13694
13695 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
13696 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
17c0c97d 13697 presence.
8a0efa53
CF
13698
13699Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
13700
13701 * libc/string/strtok.c: Include string.h to pick up strtok_r
13702 prototype.
13703
13704Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13705
13706 * libc/string/strtok.c: include <_ansi.h>.
13707 * libc/time/asctime_r.c: `reresult' -> `result'.
13708
13709Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13710
13711 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
13712 in #ifndef _REENT_ONLY ... #endif conditional.
13713
13714 * libc/include/string.h (_strtok_r): Remove declaration.
13715 * libc/include/time.h (_asctime_r): Remove declaration.
13716 * libc/string/strtok.c (_strtok_r): Removed.
13717 * libc/time/asctime.c (_asctime_r): Removed.
13718
13719 * libc/string/Makefile.in (OFILES): Add new object.
13720 * libc/string/strtok_r.c: New file. strtok_r function as
17c0c97d 13721 specified by POSIX.1c, adapted from strtok implementation
8a0efa53 13722 from NetBSD C library.
17c0c97d 13723 * libc/string/strtok.c (strtok): Reimplemented in terms of
8a0efa53
CF
13724 strtok_r.
13725
13726 * libc/time/Makefile.in (OFILES): Add new objects.
13727 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
13728 New files, reentrant time functions specified by POSIX.1c.
13729 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
17c0c97d 13730 reentrant time functions re-written in terms of reentrant
8a0efa53
CF
13731 functions.
13732 * libc/time/lcltime.c: Renamed from localtime.c
13733
13734 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
13735 gmtime_r, and localtime_r.
13736
13737Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
13738
13739 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
13740 * libc/include/sys/unistd.h (getlogin): Revert change of
13741 Oct 19.
13742 * libc/include/sys/signal.h (sigprocmask): Change prototype
13743 so it compiles with c++.
13744
13745Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
13746
13747 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
13748 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
13749 to give some room in case we need to align the jmp_buf.
17c0c97d 13750
8a0efa53
CF
13751 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
13752 the new ppc-asm.h include file the compiler provides to specify
13753 function prologue/epilogue. Eliminate saves of the xer and ctr
13754 registers, which are volatile. Before starting to save registers,
13755 align to 8 byte boundary.
13756
13757Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
13758
13759 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
17c0c97d 13760 referenced by standard libraries.
8a0efa53
CF
13761
13762Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
17c0c97d 13763
8a0efa53
CF
13764 * libc/unix/Makefile.in, libc/string/Makefile.in,
13765 libc/stdio/Makefile.in, libc/reent/Makefile.in,
13766 libc/posix/Makefile.in:
13767 Remove tabs from otherwise empty line. Confuses some
13768 older non-GNU versions of "make".
13769
13770Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
13771
13772 * libc/sys/unistd.h (getlogin): Returns const char *.
13773
13774Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
13775
13776 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
13777 * libc/include/errno.h: Moved into and include...
13778 * libc/include/sys/errno.h: New file.
13779 * libc/include/sys/wait.h: New file.
13780 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
13781 * libc/sys/win32/*: Moved out.
13782 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
13783 * configure.in (i[345]86-*-win32): HAVE_RENAME
13784
13785Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
13786
13787 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
13788 avoid macro expansion for these two names.
13789
13790Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
13791
13792 * libc/machine/h8500/psi.S: r6 renamed to fp.
13793
13794Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
13795
13796 * configure.in (powerpc*): No longer need to define
13797 NO_LONGLONG_POINTERS to supress warnings.
13798
13799Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
13800
13801 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
13802 through PTR instead of directly.
13803
13804 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
13805 non-standard constructor support.
13806
13807Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13808
13809 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
17c0c97d
EB
13810 address of the Bigint instead of the address of its _x field,
13811 as the size the result buffer was calculated accordingly.
8a0efa53
CF
13812 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
13813
13814 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
17c0c97d 13815 from NetBSD C library. No longer special cases division by
8a0efa53
CF
13816 zero (which needs to be done by the application anyway), but
13817 it doesn't need to call abs() (or labs()) four times either.
17c0c97d
EB
13818
13819 * libc/stdlib/qsort.c: Replaced with implementation from
8a0efa53
CF
13820 NetBSD C library.
13821
13822Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13823
13824 * libc/stdio/vfprintf.c: Replaced with implementation from
13825 NetBSD C library (which is derived from the 4.4BSD C library).
13826 * libc/stdio/cvt.c: Removed.
13827 * libc/stdio/Makefile: Updated.
17c0c97d 13828
8a0efa53
CF
13829Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
13830
13831 * libc/sys/win32/syscalls.c (rename): New.
13832 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
13833
13834Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
13835
13836 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
13837 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
13838
13839 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
13840 (setjmp.o): Delete rule to build setjmp.o.
13841 * libc/sys/sh/setjmp.S: Delete file.
13842
13843Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13844
13845 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
13846 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
13847 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
17c0c97d 13848 pow5mult and s2b to identifiers with leading underscores.
8a0efa53
CF
13849 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
13850 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
13851
13852Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
13853
13854 * libc/sys/posix/popen.c (sys/types.h): Include.
13855
13856Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
13857
13858 * libc/sys/win32/syscalls.h (fhandler): New struct.
13859 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
13860 (__fhandler_normal): Declare.
13861 (hinfo): New member op_handlers.
13862 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
13863 (__write): Likewise.
13864 (_read, _write, _open, _close, _lseek): Validate fd here.
13865 Move file type specific stuff to foo_normal.
13866 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
13867 New functions.
13868 (__lookup_fhandler): New function.
13869 (__lookup_fhandler_hook, __fhandler_normal): New variables.
13870
13871 From anders.blomdell@control.lth.se (Anders Blomdell)
13872 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
13873 Don't touch standard handles.
13874 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
13875 (_execve): Only create __FD_TABLE__ if necessary.
13876 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
13877
13878Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
13879
13880 * libc/sys/win32/sys/termios.h (FLUSHO): New.
13881 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
13882 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
13883 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
13884 without a handler is received.
13885 * libc/sys/win32/Makefile.in: Remove --nodelete.
13886 * libc/sys/win32/resouce.c (gettimeofday): New.
13887 * libc/sys/win32/syscalls.c (path_to_real_path): New.
13888 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
13889
13890Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
13891
13892 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
13893 Don't append "/*" to search pattern if trailing '/' already there,
13894 append "*".
13895 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
13896 like /'s, convert them to \'s. Handle //<drive>/ path names.
13897 Add space for quoted \'s in arg string. Print translated prog name
13898 and original prog name.
13899 (_execve): Handle parent doing exec a teensy bit better.
13900 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
13901 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
13902 path needs conversion, handle both cases. Delete `const' from result.
13903 (hash_path_name): New function.
13904 (_open): Call it.
13905 (_stat): Likewise. Fill in more fields for directories.
13906 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
13907 (wait_for_any): Fix trace message.
13908 (waitpid): Explicitly test for intpid == 0.
13909
13910 From anders.blomdell@control.lth.se (Anders Blomdell)
13911 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
13912 so `next' is valid.
13913
13914Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
13915
13916 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
13917 complicated.
13918
13919Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13920
13921 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
13922 at all, not just == 1.
13923 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
13924
13925Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13926
13927 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
13928 * libc/sys/win32/include/wintypes.h: include <winnt.h>
13929 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
13930 file.
13931
13932Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
13933
13934 * libc/sys/syscalls.c (getcwd): Fix off by one error.
13935
13936 * libc/sys/signal.c (sleep): Fill it in.
13937 * libc/sys/termios.c (tcflush): Use PurgeComm
13938 (tcsetattr): Set some more of the bits.
13939 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
13940
13941Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
13942
13943 * libc/sys/arm/crt0.S (fp): Initialize to 0.
13944 Conditionally include .idata$3 stuff ifdef __pe__.
13945
13946Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
13947
13948 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
13949 * libc/sys/win32/pipe.c (pipe): Ditto.
13950 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
13951 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
13952 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
13953 (tcgetattr): Contents are new.
13954 * libc/sys/win32/include/winkernel.h (DCB): New.
13955 (GetCommState, SetCommState): New.
13956
13957Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
13958
13959 * libc/sys/arm/crt0.S (_start): Define.
13960
13961Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
13962
13963 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
13964 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
13965
13966 * libc/sys/win32/sysconf.c: New
13967 * libc/sys/win32/sys/winadvapi.h: New
13968 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
13969 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
13970 * libc/sys/win32/pipe.c (pipe): Ditto.
13971 * libc/sys/win32/signal.c (_raise): New.
13972 (_kill): Moved from spawn.c
13973 * libc/sys/win32/spawn.c (kill): Moved to signal.c
13974 * libc/sys/win32/syscalls.c (__read): Use new fields.
13975 (_open): Ditto.
13976 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
13977 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
13978 * libc/include/sys/unistd.h (rmdir): Takes const path.
13979 * libc/include/sys/stat.h (mkdir): Takes const path.
13980 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
13981
13982Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
13983
13984 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
13985
13986 Add support for specifying paths as //<drive>/foo/bar.
13987 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
13988 (__path_to_real_path): Declare.
13989 (PATH_TO_REAL_PATH): New macro.
13990 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
13991 (__path_needs_conversion_p, __path_to_real_path): New functions.
13992 (_open): Fix test for error return from CreateFileA.
13993 Handle new path syntax.
13994 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
13995 * libc/sys/win32/dirsearch.c (opendir): Likewise.
13996
13997Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
13998
13999 * libc/sys/win32/include/*.h: Reorganized
14000 * libc/sys/win32/include/WINREADME: New.
14001 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
14002 * libc/sys/win32/*.c: Fix for new include scheme.
14003 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
14004 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
14005 * libc/sys/win32/passwd.c (*): Fix.
14006 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
14007 (_stat): Get directory owner and permissions right.
14008 * libc/sys/win32/syscalls.h (uinfo): New.
14009 * libc/sys/win32/version.def: Remove leading underscores.
14010
14011Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14012
14013 * libc/sys/win32/key.c: include "include/wincon.h".
14014
14015Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
14016
14017 * libc/sys/win32/{key, stubs}.c: New.
14018 * libc/sys/win32/Makefile: Adjust to cope.
14019 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
14020 (environ_init): Change env names to upper case.
14021 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
14022 * libc/sys/win32/passwd.c (*): Fill in the functions.
14023 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
14024 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
14025 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
14026 (_open): Initialze hmap->execable_p too.
14027 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
14028 (_fstat): Fill in permissions.
14029 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
14030
14031Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
14032
14033 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
14034 if defined.
14035 (cfg-ml-pos.in invocation): Likewise.
14036
14037Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14038
14039 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
14040 s_isnan.o and sf_isnan.o.
14041
14042Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
14043
14044 * All Makefile.in files: added maintainer-clean target as a
14045 synonym for realclean.
14046
14047Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
14048
14049 * libc/include/machine/setjmp.h: Add hppa support.
14050 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
14051 support.
14052 * libc/machine/hppa/Makefile.in: Related changes.
14053
14054Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
14055
14056 * configure.in (machine_dir): Don't set for v810-*-*.
14057
14058Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14059
14060 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
14061 conventions correctly.
14062
14063Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
14064
14065 * libc/stdio/puts.c: Update documentation of return value to match
14066 ANSI standard.
14067
14068Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
14069
14070 Fix file descriptor inheritance.
14071 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
14072 (NOT_OPEN_FD): Fix.
14073 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
14074 close-on-exec flag not set. Initialize child's entire fd table.
14075 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
14076 CHILD_P.
14077 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
14078 if CHILD_P. Initialize entire hmap entry.
14079 (dup): Only create new handle as inheritable if CHILD_P.
14080 (dup2): Likewise. Properly initialize hmap entry.
14081
14082 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
14083 _spawn.
14084 (_exit): Use CHILD_P.
14085 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
14086 (_stat): Likewise.
14087
14088Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14089
14090 * libc/sys/win32/crt0.c (passover): fix up the state table.
14091 * libc/posix/popen.c: Added.
14092 * libc/posix/Makefile.in: compile popen.c.
17c0c97d 14093
8a0efa53
CF
14094Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
14095
14096 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
14097 h8/500 define _DOUBLE_IS_32BITS.
14098
14099Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
14100
14101 Get vfork/exec/spawn/cwait/wait working again.
14102 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
14103 (procinfo): New member vfork_level.
14104 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
14105 (vfork_init_first): Use GetCurrentProcessId to get pid.
14106 Initialize vfork_level.
14107 (vfork_init): Delete __PID__.
14108 (environ_init): New function. Undo patch of Aug 19, Posix says
14109 environment variables are case sensitive.
14110 (mainCRTStartup): Call it.
14111 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
14112 (my_longjump: Make static.
14113 (_spawn): New argument `h'. Delete setting of __PID__.
14114 Delete local `idx'. Look for chars that need quotes, rather than
14115 ones that don't. Set handle of created process in `h'.
14116 Result is process id if created task.
14117 (allocate_spawn_entry): New function.
14118 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
14119 (_execve): Set __FD_TABLE__ before spawning child.
14120 Scan our fd table when passing fds, not our parent's.
14121 Store handle and pid in procinfo entry.
14122 (vfork0): Ensure strace message always printed.
14123 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
14124 (vfork): Don't clobber result of vfork0.
14125 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
14126 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
14127
14128 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
14129 and `exit_code'.
14130 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
14131 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
17c0c97d 14132 adding vfork level to pseudo-pid.
8a0efa53
CF
14133 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
14134 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
14135 (_exit): If child, set exit code.
14136 (__vfork_record_death): Only close process handle if valid.
14137 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
14138 didn't exec.
14139 (wait_for_any): Likewise. Start scan after root entry.
14140
14141Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14142
14143 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
14144 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
14145 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
14146 of actual file length.
14147
14148 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
14149 * libc/include/paths.h: _PATH_BSHELL added.
14150 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
14151 and STDERR_FILENO.
14152
14153Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14154
14155 * libc/include/ar.h: Added.
14156 * libc/include/sys/types.h: ino_t goes back to 32-bits.
14157 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
14158 * libc/sys/win32/syscalls.c (_open): compute .namehash based
14159 on filename.
14160 (_fstat): use .namehash for inode number of the fd.
14161
14162Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
14163
14164 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
14165 Change hinfo to __this_procinfo.
14166 * libc/sys/win32/crt0.c: Remove procinfo_list.
14167
14168Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14169
14170 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
14171 win32 environment.
14172
14173Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14174
14175 * libc/sys/win32/include/grp.h: Removed.
14176 * libc/sys/include/grp.h: Added.
14177 * libc/sys/win32/grp.c: Include <grp.h>.
14178
14179Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
14180
14181 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
14182 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
14183 Defined for all but strict ANSI.
14184 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
14185 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
14186 * libc/signal/signal.c (_signal_r): Changed from using
17c0c97d 14187 _MAX_SIGNALS to NSIG.
8a0efa53
CF
14188 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
14189 __hmap): Deleted.
14190 (__strace, __vfork_next_pid): New.
14191 (__exe_suffix): Default to 1.
14192 (passover, table): Understand quoted arguments.
14193 (vfork_init_first): New.
14194 (vfork_init): Initialize new process structure.
14195 (mainCRTStartup): Pass environ to main.
14196 * exceptions.c (__sig_mask): New
14197 (ehandler3): Ignore signals in mask.
14198 (really_exit): Remove CHILD_P test.
14199 * pipe.c (pipe, dup, dup2): Use new process and file structure.
14200 * resource.c (getrusage): Ditto.
14201 * signal.c (sigprocmask): New.
14202 * spawn.c (*): Rewritten.
14203 * syscalls.c (*): Use new process and file structure.
14204 (find_unused_handle): New.
14205 * syscalls.h (MAX_HANDLES): Deleted.
14206 (hinfo): Removed child_created_p.
14207 (MAX_CHILDREN): Deleted.
14208 (vfork_jmp_info, procinfo): New.
14209 * wait.c (*): Mostly new.
14210 * sys/strace.h (_STRACE_PARANOID): New.
14211 * sys/param.h: New file.
14212
14213Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14214
14215 * libc/include/sys/stat.h: add S_BLKSIZE.
14216 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
14217 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
14218 types under win32.
14219 (mode_t): add a #else to avoid multiple definitons.
14220
14221 * libc/sys/win32/Makefile.in: add grp.c.
14222 * libc/sys/win32/grp.c: include grp.h correctly.
14223 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
14224 of the st structure with real information.
14225 * libc/sys/win32 (dirent): d_ino is of type ino_t.
14226
14227Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
14228
14229 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
14230 and (maybe) sparc64.
14231 (nlink_t): Provide typedef.
14232
14233Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14234
14235 * libc/sys/win32/grp.c: New file.
14236 * libc/sys/win32/include/grp.h: New file.
14237
14238Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14239
14240 * libc/include/machine/ieeefp.h: Added whitespace to make this
14241 file easier to maintain.
14242 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
14243 depending on the value of __LITTLE_ENDIAN__.
14244 On the sh3e, define _DOUBLE_IS_32BITS.
17c0c97d 14245
8a0efa53
CF
14246Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
14247
14248 * libc/sys/vr4300/syscalls.c: Added missing support
17c0c97d 14249 routines. _raise() and getpid().
8a0efa53
CF
14250
14251Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
14252
14253 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
14254
14255Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
14256
14257 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
14258 and VR4300 processor.
14259 * libc/sys/vr4300: Add directory.
14260 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
17c0c97d 14261 monitor run-time support.
8a0efa53
CF
14262
14263Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14264
14265 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
14266 * libc/stdlib/stdlib.tex: Don't include atol.def.
14267
14268Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14269
14270 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
14271
14272Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
14273
14274 * libc/ctype/Makefile.in: Fill in _to* dependencies.
14275
14276Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
14277
14278 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
14279 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
14280 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
14281 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
14282 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
14283
14284Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14285
14286 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
14287
14288Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14289
14290 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
14291 * libc/stdlib/atoff.c: New file.
14292 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
14293 * libc/stdlib/atoi.c (atol): Removed.
14294 * libc/stdlib/atol.c: Removed duplicate documentation.
14295
14296 * libc/include/ctype.h (_tolower, _toupper): Moved inside
14297 #ifndef _STRICT_ANSI conditional.
14298 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
14299 * libc/ctype/_tolower.c: New file.
14300 * libc/ctype/_toupper.c: New file.
14301 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
14302 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
14303 * libc/ctype/toascii.c (_toascii): Removed.
14304
14305Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
14306
14307 * libc/sys/sparc64/sys/types.h: Deleted.
14308
14309Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14310
14311 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
14312 and recognize Windows_95 systems.
14313
14314Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14315
14316 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
14317 and passed fds should be opened in text mode.
14318
14319Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14320
14321 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
14322 in __hmap, set to binary mode by default.
14323
14324Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14325
14326 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
14327 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
14328 vector 34.
14329
14330Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
14331
14332 * Makefile.in (install): Install all libraries found in the
14333 top level. If there's a sys/<type>/include directory,
14334 install those headers into include.
14335
14336 * libc/sys/win32/kernel.def351: Delete
14337 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
14338 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
14339 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
14340 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
14341 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
14342 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
14343 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
14344 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
14345
14346 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
14347 * libc/sys/win32/crt0.c: Force all env names to upper case.
14348 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
14349 * libc/sys/win32/*.c: Headers have moved.
14350 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
14351 __vfork_child_idx is now __vfork_child_ptr.
14352
14353 * posix/execvp (execvp): Don't crash if no PATH envname.
14354
14355Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14356
14357 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
14358 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
14359 through the _freelist instead of through the _reclaim list.
14360 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
14361 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
14362 sources.
14363
14364Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14365
14366 * libc/machine/h8500/setjmp.S: New file.
14367 * libc/include/machine/setjmp.h: Updated for H8/500.
14368
14369Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
14370
14371 * libc/sys/win32/syscalls.c (_open): More stracing.
14372 (_stat): Open the file in O_BINARY.
14373
14374Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14375
14376 * libc/machine/h8300/setjmp.S: New file.
14377 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
14378
14379Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
14380
14381 * libc/sys/win32/crt0.c (__exe_suffix): New global.
14382 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
14383 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
14384 __exe_suffix. Free fd_tab after setting env variable.
14385 (spawnv,_execve): Update.
14386 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
14387 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
14388 (__small_vfprintf): New function.
14389 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
14390 * libc/sys/win32/wait.c (cwait): Validate argument.
14391
14392 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
14393 (process_deletion_queue): Likewise.
14394
14395 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
14396
14397Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
14398
14399 * libc/sys/win32: Copyrights and gratuitous indenting.
14400
14401Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
14402
14403 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
14404 (process_deletion_queue): Likewise.
14405 (__close_all_files): New function.
14406 (_close): Only queue file deletion if really a file.
14407 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
14408 _P_APPEND_EXE.
14409 (_exit): Call __close_all_files.
14410
14411 * libc/stdlib/system.c: #include <errno.h>.
14412 (_system_r): Fix results in -DNO_EXEC case.
14413
14414 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
14415 Reorganize structure.
14416 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
14417 if argument is valid. Save directory name in DIR. malloc space
14418 for dirent struct separately.
14419 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
14420
14421 * libc/include/errno.h (ENAMETOOLONG): Define.
14422 * libc/string/strerror.c (strerror): Reword ENFILE.
14423 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
14424
14425Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
14426
14427 * libc/sys/win32/crt0.c (__progname): New global.
14428 (mainCRTStartup): Support strace=bitmask,filename.
14429 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
14430 * libc/sys/win32/syscalls.c (_write): Print parent trace message
14431 if error.
14432 (getcwd): Handle len too small. Convert '\\' to '/'.
14433 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
14434 Add prototypes for open, creat, fcntl.
14435 (O_APPEND): Change value to conform to Microsoft's value.
14436 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
14437
14438 * libc/stdlib/getopt.c: New file.
14439 * libc/stdlib/Makefile.in: Build it.
14440
14441Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
14442
14443 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
14444 Fix scanning of $PATH.
14445 * libc/posix/exec*.c: Call _execve, not execve.
14446 * libc/posix/execve.c: New file.
14447 * libc/posix/Makefile.in (OFILES): Add execve.o.
14448
14449 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
14450 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
14451 (_STRACE): If level==0, always print. Handle new bit mask scheme.
14452 * libc/sys/win32/crt0.c: Update _STRACE calls.
14453 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
14454
14455 * libc/sys/win32/smallprint.c (rn): Fix digit list.
14456
14457 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
14458 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
14459 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
14460 Print __seterrno trace message first.
14461 (_execve): Renamed from execve.
14462 (vfork): Update __strace usage.
14463 (__vfork_child_pid): Deleted.
14464 (__vfork_children, __vfork_child_idx): New globals.
14465 (_spawnvp): New function.
14466 (spawnvp, spawnv, _execve): Call _spawnvp.
14467 (init_child): Record child in __vfork_children.
14468 (__vfork_get_entry, __vfork_record_death): New functions.
14469 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
14470 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
14471 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
14472 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
14473 (children): New typedef.
14474 (__vfork_children,__vfork_child_idx): Declare.
14475 (__vfork_get_entry,__vfork_record_death): Declare.
14476 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
14477 (waitpid): Handle pid == -1.
14478 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
14479 * configure.in (i386-win32): Add -DNO_FORK.
14480 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
14481 * libc/reent/execr.c (_fork_r): Likewise.
14482 * libc/stdlib/system.c (do_system): New function.
14483 If WIN32, try to get shell path from $SH_PATH, use vfork.
14484 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
14485 otherwise return 0.
14486
14487Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
14488
14489 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
14490 * libc/sys/win32/fcntl.h: Don't include self.
14491 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
14492 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
14493 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
14494 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
14495 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
14496 Correct prototypes.
14497 * libc/sys/win32/strace.c: New file.
14498 * libc/sys/win32/smallprint.c: New file.
14499 * libc/sys/win32/crt0.c (func): Delete.
14500 (mainCRTStartup): Fix alloca usage. Set handles explictly.
14501 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
14502 * libc/sys/win32/exceptions.c: Lint.
14503 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
14504 Clean up handle usage.
14505 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
14506 (open.c): Default file type is text.
14507 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
17c0c97d 14508 * libc/sys/win32/advapi32.def: New
8a0efa53
CF
14509
14510Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
14511
14512 * configure.in (posix_dir, libc_posix_lib): New variables.
14513 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
14514 (i[345]86-*-win32): Define posix_dir.
14515 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
14516 (if unix_dir): Fix typo.
14517 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
14518 scandir,seekdir,telldir}: New files.
14519 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
14520 from libc/unix.
14521 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
14522 (SUBDIRS): Add posix.
14523 (SUBLIBS): Add $(LIBC_POSIX_LIB).
14524
14525 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
14526 (NSIG): Increase to 21.
14527 * libc/include/sys/unistd.h (pid_t): Move from here,
14528 * libc/include/sys/types.h (pid_t): to here.
14529
14530 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
14531 (__ptrace): Delete.
14532 (hinfo): New members close_exec_p, child_created_p.
14533 (struct exception_list): Define.
14534 (__hmap): Redefine as pointer to table.
14535 (__parent_hmap, __child_hmap): New globals.
14536 (__set_errno, __really_exit): Declare.
14537 (__vfork_child_pid): Declare.
14538 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
14539 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
14540 (__parent_hmap, __child_hmap): New globals.
14541 (__hmap): Redefine as pointer to active map.
14542 (__get_console): New function.
14543 (mainCRTStartup): Change leading '=' in environ vars to '!'.
14544 (env __FD_TABLE__): Watch for this and initialize our fd/handle
14545 mapping table from it if defined.
14546 (argv, envp): Dump if __strace >= 4.
14547 (main): Call here.
14548 * libc/sys/win32/exceptions.c (myp): Redefine.
14549 (__syscalls_b): Delete.
14550 (__stack_trace): New function.
14551 (ehandler3): Update to use _STRACE. Print stack trace.
14552 Call __really_exit instead of exit.
14553 (init_exceptions): Delete args argc,argv. New arg mine.
14554 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
14555 FindFirstFileA, FindNextFileA, GetComputerNameA,
14556 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
14557 * libc/sys/win32/signal.c (signal): Validate arg.
14558 (alarm, sleep): Define as stubs for now.
14559 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
14560 (__syscalls_b, errno): Delete.
14561 (__vfork_child_pid, __vfork_jmp_buf): New globals.
14562 (__seterrno): Handle more errors.
14563 (__sys_printf): Renamed from _ptrace.
14564 (__really_exit): New function.
14565 (queue_file_deletion, process_deletion_queue): New functions.
14566 (__resume_parent): New function.
14567 (_unlink): Handle trying to delete open file.
14568 (__totime_t): Renamed from totime_t.
14569 (setsid, __read, __write): New functions.
14570 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
14571 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
14572 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
14573 * libc/sys/win32/console.c: Update to new definition of __hmap.
14574 * libc/sys/win32/Makefile.in: Build new files.
14575 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
14576 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
14577 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
14578 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
14579
14580Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
14581
14582 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
14583
14584Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14585
14586 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
14587 have been made to the master dtoa.c sources (from netlib.att.com)
14588 since they were integrated into newlib in early 1992. Fixes
14589 problems with storage leaks and handling of numbers with very
14590 negative exponents.
17c0c97d 14591
8a0efa53
CF
14592Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14593
14594 * Makefile.in (all): set rootpre and srcrootpre before calling
14595 sub-makes.
14596
14597Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
14598
14599 * libc/sys/win32/crt0.c: Change __hmap usage.
14600 * libc/sys/win32/exceptions.c: Use _ptrace call.
14601 * libc/sys/win32/syscalls.c: Use _ptrace call.
14602 (read, write): Cope with DOS style CRLF when in TEXT mode.
14603 * libc/sys/win32/syscalls.h: Declare hinfo struct.
14604 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
14605 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
14606 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
14607 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
14608
14609Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14610
14611 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
14612
14613 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
14614 wrappers for hypot() and remainder() for BSD libm compatibility.
14615 These are public domain implementations written by me for the
14616 NetBSD libm some time ago. Note cabs() is required by ucbtest.
14617 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
14618 (fobj): Added wf_cabs.o and wf_drem.o.
14619
14620Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14621
14622 * libc/sys/h8500hms/misc.c: New file.
14623 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
14624
14625Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14626
14627 * libc/time/localtime.c (localtime): Fix problem with leap year
14628 handling. Stole algorithm from Arthur David Olson's tz code.
17c0c97d 14629
8a0efa53
CF
14630Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
14631
14632 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
14633
14634 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
14635 (_exit): Use argument.
14636
14637Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
14638
14639 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
14640
14641Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
14642
14643 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
14644
14645Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14646
14647 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
14648 target_cflags.
14649
14650Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
14651
14652 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
14653 ptrace with case insensitivity
14654 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
17c0c97d 14655 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
8a0efa53
CF
14656 New files.
14657
14658Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
14659
14660 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
14661 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
14662 (all, install, *clean): Use new multilib support.
14663 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
14664
14665Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
14666
14667 * libc/include/sys/signal.h (__WIN32__): New.
14668
14669 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
14670
14671 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
14672 (ulp, b2d): Handle 32 bit doubles.
14673 * libc/stdlib/mprec.h: Handle 32 bit doubles.
14674 * libc/stdlib/strtod.c (_strtod_r): Ditto.
14675
14676Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
14677
14678 from medp@primag.co.uk:
14679 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
14680 dynamically allocated buffers.
14681
14682Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
14683
14684 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
14685 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
14686
14687Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
14688
14689 * configure.in (powerpc): Fix previous fix.
14690
14691Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
14692
14693 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
14694 directories for this target.
14695
14696Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
14697
14698 * configure.in (hppa): Add machine_dir definition.
14699 * libc/machine/hppa: New directory with PA specific implementations
14700 of the basic memory/string functions.
14701
14702Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
14703
14704 * configure.in: Update current PowerPC multilib directories.
14705 Split big and little endian configurations.
14706
14707Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
14708
14709 * configure.in: Add --enable-single-float option to configure to
14710 control use of MIPS single-float directories. Default to yes.
14711
14712 * Makefile.in (all): Don't recurse into multilib directory if it
14713 does not exist.
14714
14715Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14716
14717 * libc/sys/sh/syscalls.c: Fix typo.
14718
14719Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
14720
14721 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
14722 Pass down DLLTOOL.
14723 * libc/include/process.h: Define WAIT_CHILD.
14724 * libc/include/types.h: Get sizes right for win32.
14725 * configure.in (i386-*-pe): Becomes i386-win32.
14726 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
14727 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
14728 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
14729 is defined.
14730
14731Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
14732
14733 * configure.in (i[345]86-*-pe): New target (NT).
14734 * host/any: DLLTOOL new.
14735 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
14736 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
14737 WIN32 (just enough to cross host the comp-tools).
14738
14739Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
14740
14741 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
14742 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
14743
14744Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
14745
14746 * libc/include/machine/ieeefp.h (arm): Change to always be
14747 __IEEE_BIG_ENDIAN (even on little endian ARM's).
14748
14749Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
14750
14751 * libc/sys/crt0.S: Initialze sp, and call exit after main.
14752 * libc/sys/syscalls.c (abort): New.
14753 * configure.in (arm): Define ABORT_PROVIDED.
14754
14755Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14756
14757 * configure.in (powerpc): Define multidirs.
14758
14759Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
14760
14761 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
14762
14763Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
14764
14765 * configure.in (sparclite): Delete target_cflags. Define multidirs.
14766
14767Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
14768
14769 * configure.in, libc/include/machine/ieeefp.h: Modified
14770 for arm:
14771 libc/machine/arm/*, libc/sys/arm/*: New
14772
14773Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14774
14775 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
14776 __powerpc__ when determining endianness.
14777
14778Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14779
14780 * configure.in (m68*): Add multidir for the m68332.
14781
14782 * host/any (CC): Fix typo in last change.
14783
14784Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
14785
14786 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
14787 when determining endianness.
14788 * libc/include/machine/ieeefp.h: Ditto.
14789 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
14790 operands.
14791
14792Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
14793
14794 * libc/include/errno.h (ENOTEMPTY): Define.
14795
14796Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14797
14798 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
14799 target_cflags.
14800
14801 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
14802 and umultiply.o.
14803
14804 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
14805 instead of only when open succeeds. ANSI requires that multiple
14806 calls to tmpnam() result in different files.
14807
14808 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
14809 objects pulled in from /lib/libc.a that must be renamed before
14810 being pulled into newlib. /lib/libc.a's div.o conflicted with
14811 newlib's file with the same name.
14812
14813 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
14814
14815 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
14816 the build tree will only be used if the executables are present
14817 (instead of just the Makefiles).
14818
14819 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
14820 wcstombs): Define.
14821 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
14822 versions of these functions that I orignally wrote for the
14823 NetBSD C library.
14824 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
14825 versions I wrote for NetBSD.
14826
14827Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
14828
14829 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
14830 * libc/sys/sparclite/crt0.s: ditto.
14831
14832Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
14833
14834 * configure.in: Add soft-float for proelf.
14835
14836Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
14837
14838 * libc/stdlib/mprec.h (Bcopy): Copy the right number
14839 of bytes.
14840
14841Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
14842
14843 * Makefile.in (all): Depend on `force'.
14844 * configure.in (syscall_dir): Renamed from fake_sys_dir.
14845 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
14846 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
14847 * libc/Makefile.in: Likewise.
14848 * libc/include/reent.h: Update syscall references.
14849 (_fcntl_r): Add prototype.
14850 * libc/syscalls/*.c #include <reent.h>.
14851 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
14852
14853Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
14854
14855 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
14856 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
14857 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
14858 (time.h, sys/types.h): Always include (even if MSDOS).
14859 (stat): Fix prototype.
14860
14861Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
14862
14863 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
14864
14865Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
14866
14867 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
14868
14869Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
14870
14871 * libc/include/regdef.h: New file.
14872 * libc/machine/mips/machine/regdef.h: New file.
14873
14874Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
14875
14876 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
14877
14878Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
14879
14880 * libc/sys/sh/crt0.S: Pass main's return to exit.
14881 * libc/sys/sh/trap.S: Put errno in the right place.
14882
14883Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
14884
14885 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
14886 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
14887 * libm/math/ef_rem_pio2.c: Likewise.
14888 * libm/math/e_log10.c: Remove unused static one.
14889 * libm/math/ef_log10.c: Likewise.
14890 * libm/math/s_frexp.c: Likewise.
14891 * libm/math/sf_frexp.c: Likewise.
14892
14893Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
14894
14895 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
14896 longjmp.S: Upgraded.
14897 * libc/sys/go32/sys/setjmp.h: Upgraded.
14898 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
14899
14900Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
14901
14902 * configure.in: Add many entries to multidirs for mips targets.
14903
14904Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14905
14906 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
14907 5.2 which fixes bug where jn(-1,x) is three times larger than
14908 the actual answer.
14909 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
14910
14911Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
14912
14913 * libc/sys/w65/sys/syscalls.h: New file
14914 * libc/include/machine/ieeefp.h: W65 support.
14915 * libc/include/sys/config.h: Ditto.
14916 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
14917 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
14918 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
14919
14920Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
14921
14922 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
14923
14924Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
14925
14926 * Makefile.in, configure.in: Remove any references to the old
14927 "stub" dir.
14928
14929Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
14930
14931 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
14932 uses ... in prototype.
14933
14934
14935Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
14936
14937 * libc/sys/a29khif/sys/libconfig.h: Remove.
14938 * libc/sys/go32/sys/libconfig.h: Remove.
14939 * libc/sys/sun4/sys/libconfig.h: Remove.
14940 * libc/sys/sysvi386/sys/libconfig.h: Remove.
14941 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
14942 * libc/sys/sparc64/sys/libconfig.h: Remove.
14943
14944 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
14945 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
14946 * libc/include/math.h: Change all uses of _FLOAT_RET and
14947 _FLOAT_ARG to float.
14948 * libm/test/math.c: Likewise.
14949 * testsuite/libm.sac/math.c: Likewise.
14950 * testsuite/libm.sac/working/math.c: Likewise.
14951
14952Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
14953
14954 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
14955 gcc calls gas with endian option.
14956 * configure.in (sh): Build little endian version too.
14957
14958Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
14959
14960 * configure.in: Configure big and little endian versions for MIPS
14961 targets.
14962
14963Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
14964
14965 * libc/include/limits.h: Deleted.
14966 * libc/include/machine/limits.h: Deleted.
14967
14968Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
14969
14970 * ChangeLog: Remove stub directory. This has all been rewritten
14971 and moved to devo/libgloss.
14972
14973Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
14974
14975 * Makefile.in (dvi): Add to info target, use $@ in sub make.
14976 (docs): Merge into info target.
14977 * libm/Makefile.in (dvi): Add $(srcdir).
14978 * libm/math/Makefile.in (chobjs): Remove underscores from file
14979 names. Texinfo doesn't like them.
14980 (wacos.def, ...): Add explicit targets for all .def files.
14981 * libm/math/math.tex: Remove underscores from @include file names.
14982 * doc/Makefile.in (dvi): Add dummy target.
14983 * testsuite/Makefile.in (dvi): Add dummy target.
14984
14985Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
14986
14987 * Makefile.in (VERSION): Define. For net newlib releases.
14988
14989Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
14990
14991 * README: New file.
14992
14993Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
14994
14995 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
14996
14997Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
14998
14999 * libc/stdlib/setenv.c (_findenv): Declare.
15000
15001 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
15002 fcntl to not use _EXFUN, and change string parameters to open and
15003 creat to be ``const char *''.
15004 * libc/sys/sparc64/sys/fcntl.h: Likewise.
15005 * libc/sys/sparc64/creat.c (creat): Make PATH const.
15006 * libc/syscalls/sysopen.c: Include <fcntl.h>.
15007 (open) Make _FILE const.
15008 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
15009 (_creat): Make PATH const.
15010 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
15011 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
15012 * libc/sys/m88kbug/syscalls.c (open): Likewise.
15013 * libc/sys/sh/syscalls.c (_open): Likewise.
15014 * stub/shared/glue.c (open): Make BUF const.
15015 * stub/ex93x/syscalls.c (open): Make FILENAME const.
15016
15017Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
15018
15019 * libc/include/errno.h: Add ENMFILE
15020 * libc/include/sys/config.h: Support Z8000.
15021 * libc/include/sys/signal.h: New signals for go32.
15022 * libc/machine/h8500/psi.S (__addpsir0r0): New function
15023 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
15024 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
15025 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
15026 size is variable, depending upon CHUNK_POWER.
15027 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
15028
15029Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
15030
15031 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
15032
15033Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15034
15035 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
15036
15037Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15038
15039 * configure.in: Change i[34]86 to i[345]86.
15040
15041 * libc/include/math.h: Don't define HUGE_VAL if it is already
15042 defined.
15043
15044Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15045
15046 * testsuite/libm.sac/test_erfc.c: Correct some result values.
15047 * testsuite/libm.sac/test_gammaf.c: Likewise.
15048 * testsuite/libm.sac/test_sin.c: Likewise.
15049 * testsuite/libm.sac/test_tanh.c: Likewise.
15050
15051Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15052
15053 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
15054 already set. Define typedefs __int32_t and __uint32_t.
15055 * libc/include/math.h: Include <machine/ieeefp.h>.
15056 (union __dmath): Use __uint32_t.
15057 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
15058 instead of int and unsigned int.
15059
15060Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15061
15062 Replace the math library with the SunPRO fdlibm package.
15063 * libm/math: Completely changed all files.
15064 * libm/ieeefp: Remove contents and directory.
15065 * libm/Makefile.in (LIBM_FP_LIB): Remove.
15066 (SUBDIRS): Just set to math/lib.a.
15067 * libm/libm.texinfo: Updated for new library.
15068 * libc/include/math.h: Extensive changes for new math library.
15069 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
15070 from _FLOAT_ARG to float.
15071 (maxpowtwo, maxpowtwof): Don't declare.
15072 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
15073 (libm_fp_lib): Removed.
15074 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
15075 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
15076 argument to ${RUNTEST}.
15077 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
15078 (.c.o): New rule.
15079 (RUNTESTFLAGS): Set CC and CFLAGS.
15080 (TESTS): Remove test_log2 and test_log2f.
15081 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
15082 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
15083 _FLOAT_ARG, for single precision argument type.
15084 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
15085 expected failure. Close the input pipe.
15086 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
15087 Correct misspelling of inaccurate.
15088 (test_mok): Use ``inaccurate'', not ``wrong''.
15089 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
15090 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
15091 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
15092 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
15093 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
15094 test_yn.c): Correct many result values. Many are still wrong.
15095
15096 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
15097 just copy the string.
15098 (_gcvt): Always return the buffer.
15099
15100Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
15101
15102 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
15103
15104Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
15105
15106 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
15107 structure.
15108 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
15109 (_reclaim_reent): declare new entry point.
15110 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
15111 functions.
15112
15113 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
15114 ever allocated, so that we can later reclaim them all.
15115 (pow5mult): make reentrant.
15116
15117 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
15118 so that when given NULL as a buffer, return a pointer to static
15119 space in the rent structure. This is not documented behaviour;
15120 it's only to support ecvt and fcvt, which aren't ANSI anyway.
15121 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
15122 therefore become reentrant).
17c0c97d 15123
8a0efa53
CF
15124 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
15125
15126Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15127
15128 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
15129
15130Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
15131
15132 * Makefile.in: Make link to libg.a after libc.a; this is needed
15133 for the testsuites to build executables when everything comes
15134 from the tree.
15135
15136Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
15137
15138 * libc/Makefile.in: Add a VERSION variable so we can keep track.
15139 * libm/Makefile.in: Add a VERSION variable so we can keep track.
15140
15141Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15142
15143 * libc/include/stdio.h: Use __VALIST, not va_list.
15144
15145Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
15146
15147 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
15148 testsuite/libm.sac/execute.exp:
15149 Replace error proc calls with perror calls.
15150
15151Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
15152
15153 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
15154 * libc/include/time.h: #define NULL as 0L.
15155
15156Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
15157
15158 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
15159 care of it.
15160
15161Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15162
15163 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
15164 not __unix__.
15165
15166Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
15167
15168 * configure.in (TARGET_CFLAGS): Set -O2 as default.
15169 (z8k-*-*): Use syscalls fake sys dir.
15170 * libc/sys/z8k/glue.c: Rename syscalls.
15171 * libc/sys/go32/Makefile.in: Use new routines.
15172 * libc/machine/Makefile.in: Fix typo in ln stuff.
15173
15174Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15175
15176 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
15177 * libc/Makefile.in (crt0.o): Likewise.
15178 * libc/machine/Makefile.in (lib.a): Likewise.
15179 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
15180
15181 All Makefile.in files: Added mostlyclean, realclean and distclean
15182 targets.
15183
15184 * Makefile.in: Don't bother to unexport XTRAFLAGS or
15185 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
15186 the top level Makefile.
15187
15188Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
15189
15190 * libc/sys/sparc64/sys/stat.h: New file.
15191 * libc/sys/sparc64/sys/time.h: New file.
15192 * libc/sys/sparc64/sys/types.h: New file.
15193
15194Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
15195
15196 * stub/ex93x/crt0.s (start): Add code to clear bss.
15197
15198Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
15199
15200 * libc/include/sys/types.h (time_t): Properly protect inside
15201 #ifndef __time_t_defined.
15202
15203 * libc/stdio/fileno.c: New file.
15204 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
15205 (fileno.o): Add dependency.
15206 * libc/include/stdio.h (__sgetc): Rename never to _never.
15207 (fileno macro): Disable, needs to do CHECK_INIT first.
15208
15209Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
15210
15211 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
15212 goal.
15213
15214 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
15215 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
15216 runtest.
15217 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
15218 runtest.
15219
15220Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
15221
15222 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
15223 of the various constants.
15224
15225Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
15226
15227 * libc/include/math.h: #ifndef __math_68881 around things which
15228 conflict with the (gcc-provided) inline functions in
15229 gcc/ginclude/math-68881.h.
15230
15231Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
15232
15233 * libc/include/_syslist.h (_gettimeofday): Define.
15234 (_times): Ditto.
15235 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
15236 (struct tms, timeval, timezone): Declare.
15237 (_gettimeofday_r, _times_r): Declare.
15238 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
15239 #ifdef _CLOCK_T_ surrounding definition of clock_t.
15240 (time_t): Add multiple definition protection, __time_t_defined.
15241 * libc/include/sys/time.h: Don't #include <time.h>.
15242 Always define struct timezone (remove #ifndef _TIME_H_).
15243 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
15244 #ifdef _CLOCK_T_ surrounding definition of clock_t.
15245 * libc/reent/Makefile.in (OFILES): Add timer.o.
15246 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
15247 * libc/reent/timer.c: New file.
15248 * libc/time/clock.c: #include <reent.h>.
15249 (clock): Call _times_r instead of times.
15250 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
15251 HAVE_GET_TIME_OF_DAY.
15252 Add comment regarding supporting OS routine(s) required (for docs).
15253 #include <reent.h>.
15254 (time): Call _gettimeofday_r instead of gettimeofday.
15255 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
15256 * libc/time/ctime.c: Ditto.
15257 * libc/time/strftime.c: Ditto.
15258 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
15259 (TEMPLATE_SFILES_R): Define here. Also define times.
15260 Add times_r.o/times.S dependence.
15261 (time2.c, junk.c): Deleted.
15262 * libc/sys/sparc64/time2.c: Deleted.
15263 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
15264
15265 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
15266 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
15267 * libc/sys/sparc64/junk.c: Deleted.
15268
15269Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
15270
15271 * libc/sys/sparc64/Makefile.in: Add times syscall.
15272 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
15273 be used with and without it. Add comment clarifying Medium/Anywhere
15274 model requirements.
15275 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
15276 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
15277 even if obsolete.
15278
15279Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
15280
15281 * configure.in (target_cflags): Move init.
15282 (sparc64-*-*): Define HAVE_BLKSIZE.
15283
15284Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
15285
15286 * libc/include/sys/_types.h: New file.
15287 * libc/include/reent.h: #include it.
15288 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
15289 MISSING_SYSCALL_NAMES.
15290 Sort syscalls.
15291 * libc/include/_syslist.h: Remove _raise.
15292 * libc/reent/signalr.c: New file.
15293 * libc/reent/Makefile.in: Compile it.
15294 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
15295 Add doc for raise and _raise_r.
15296 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
15297 (raise): Call _raise_r.
15298 (_raise_r): Call _getpid_r and _kill_r.
15299 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
15300 (abort): Loop forever calling raise and _exit.
15301
15302Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15303
15304 * configure.in: Remove extraneous echo.
15305
15306Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
15307
15308 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
15309 collision with unistd.h, and fix for svr4.
15310
15311Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
15312
15313 * libc/stdio/local.h (_llicvt): Declare.
15314 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
15315 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
15316 (_llicvt): Define.
15317 (_sicvt): Fix function header (`value' is short).
15318 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
15319 Add printing of long long's support.
15320 Add printing of 8 byte pointer support.
15321
15322Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
15323
15324 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
17c0c97d 15325 stat, chmod): New hooks.
8a0efa53
CF
15326 (sbrk): Abort if stack and heap collide.
15327 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
15328 shortcut when given small args.
15329 * libc/machine/sh/setjmp.s: Rewritten.
15330 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
15331 of cmp/str instruction.
15332
15333Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15334
15335 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
15336 and machine_dir powerpc.
15337 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
15338 Add cases for __powerpc__.
15339 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
15340 New files.
15341
15342 * libc/include/stdio.h (_iprintf_r): Declare correctly.
15343
15344Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
15345
15346 * libc/stdlib/callocr.c: New file with _calloc_r in it.
15347 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
15348
15349Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
15350
15351 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
15352 (print_e): More comments to describe args, etc.
15353 "type" arg may now be 'g' or 'G' for %g/G format --> remove
15354 trailing blanks.
15355 (_gcvt): Remove locals decpt, sign, end, p, done.
15356 More comments for print_e invocation.
15357 Pass "type" to print_e as is (g/G).
15358
15359Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
15360
15361 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
17c0c97d 15362 stock m68000.
8a0efa53
CF
15363
15364Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
15365
15366 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
15367 works with any sized pointer, including ones bigger than ints and
15368 longs.
15369
15370Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
15371
15372 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
15373
15374Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
15375
15376 * libc/include/stdlib.h (_calloc_r): Add prototype.
15377 * libc/machine/h8500/negsi2.c: New file.
15378 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
15379 large unsigned numbers.
15380 * libc/machine/h8500/cmpsi.c: Add cmppsi.
15381 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
15382 works when sizeof(size_t) != sizeof(char *).
15383 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
15384 get play area
15385 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
15386
15387Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
15388
15389 * libc/include/assert.h (assert): Handle -traditional.
15390
15391Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
15392
15393 * Makefile.in: added ; after every "fi" and "done" that wasn't at
15394 the end of a line (ie. anything before a backslash continuation)
15395 so that bash handles them.
15396
15397Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
15398
15399 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
15400 stat to lstat
15401
15402Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
15403
15404 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
15405 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
15406 libc/machine/sh/udivsi3.s: Use new calling convention.
15407
15408Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
15409
15410 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
15411 chmod, access, chdir, chown by making _path const. Also fix _amode
15412 param of access.
15413
15414Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
15415
15416 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
15417 _khif_tmpnam, because it doesn't comply with ANSI but may be
15418 useful anyway. Real tmpnam was already in libc/stdio, and was
17c0c97d 15419 colliding with this one (pr 2176.)
8a0efa53
CF
15420 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
15421 the wrong idea anyhow.
15422
15423Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
15424
15425 * configure.in: Remove h8300h, we have multilib now.
15426
15427Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
15428
15429 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
15430 functions, to get preference over the ones in libiberty (since we
15431 provide correct declarations in <string.h>.
15432 * libc/string/Makefile.in: add support for strncasecmp,
15433 strcasecmp.
15434
15435Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
15436
15437 * Change netware config not to look for cpu explicitly.
15438
15439Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
15440
15441 * libc/sys/sparc64/{creat.c,junk.c}: New files.
15442 * libc/sys/sparc64/Makefile.in: Add dependencies.
15443
15444Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
15445
15446 * configure.in: Clean up v9 a bit, new "os" aoutv8.
15447
15448Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
15449
15450 * libc/include/sys/reent.h: make structure smaller by allocating
15451 some stuff when needed.
15452 * libc/signal/signal.c: allocate as needed
15453 * libc/stdio/findfp.c,stdio/local.h: ditto
15454 * libc/stdlib/mprec.c: ditto
15455
15456 * libc/time/localtime.c: don't return a dangling stack ptr.
15457
15458Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
15459
15460 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
15461
15462Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
15463
15464 * libc/include/stdio.h (__sputc): comment out static inline which
15465 confuses coff toolchains.
15466
15467Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
15468
15469 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
15470 _write.s, getpid.c, kill.c, read.s}:
15471 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
15472 through the syscalls directory.
15473
15474Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
15475
15476 * configure.in: fixed double quote gotcha.
15477
15478Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
15479
15480 * stub/ex931: stub library for sparclite board.
15481 * stub/idp: Renamed from mc68ec. Added contructor table
15482 stuff to linker script.
15483 * stub/mvme135: Renamed from m68kmvme. Added contructor table
15484 stuff to linker script.
15485
15486Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
15487
15488 * configure.in: Configure testsuites only if they exist.
15489
15490Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15491
15492 * configure.in: Don't set machine_dir for i386 until there is
15493 something in libc/machine/i386 to compile. For i[34]86-*-netware*
15494 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
15495 CLOCK_PROVIDED and MALLOC_PROVIDED.
15496
15497 * libc/sys/netware: New directory. Contains simplistic and
15498 probably incorrect stubs for NetWare. Should be enough to load
15499 the library.
15500 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
15501 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
15502 stub files.
15503
15504 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
15505 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
15506 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
15507 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
15508
15509Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
15510
15511 * testsuite/Makefile.in: add "docs" dummy target for consistency
15512 with rest of newlib; turn "info" and "install-info" into dummy
15513 targets, since they wouldn't have worked. (Depended on
15514 nonexistent "doc" subdir.)
15515
15516Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
15517
15518 * configure.in: handle mips* instead of mips
15519
15520Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
15521
15522 * libc/include/sys/dirent.h: New file. If it is not overridden by
15523 a version of libc/sys/*/sys/dirent.h, it includes the next
15524 <dirent.h> file in case there is one lurking somewhere.
15525
15526Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15527
15528 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
15529 compliance, namely: Accept a minus sign. Consider a single 0 with
15530 a radix of 0 as being a conversion. Determine overflow correctly.
15531 If an overflow occurs, set *ptr to the end of the number, not the
15532 middle.
15533 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
15534
15535Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
15536
15537 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
15538
15539Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
15540
15541 * Makefile.in (INSTALL): Use $srcrootpre.
15542 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
15543 can't handle it.
15544 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
15545 it.
15546 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
15547 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
15548 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
15549 * libm/math/Makefile.in (matherr.o): Ditto.
15550
15551Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
15552
15553 * configure.in: Build multidirs for z8k.
15554 * libc/include/stdlib.h (_strtoul_r): add prototype.
15555 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
15556 * libc/include/machine/setjmp.h: Add for z8k.
15557 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
15558 * libc/sys/z8ksim/glue.c: tidy up.
15559
15560Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
15561
15562 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
15563 New files. Requires execve system call.
15564 * libc/unix/Makefile.in: Use them.
15565 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
15566 Deleted, moved to libc/unix.
15567 * libc/sys/sparc64/Makefile.in: Remove them.
15568
15569Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
15570
15571 * libc/sys/sparc64/{template.S template_r.S}: New files.
15572 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
15573 from templates.
15574 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
15575 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
15576 umask.S unlink.S wait4.S write.S}: Removed, now built from
15577 templates.
15578
15579Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
15580
15581 * libc/time/time.c: #include <_ansi.h>.
15582
15583Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
15584
15585 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
15586
15587Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
15588
15589 * configure.in: match m8* rather than m88k so that m88110 is
15590 recognized as well.
15591
15592Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
15593
15594 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
15595 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
15596 misc.c: New file.
15597
15598 * configure.in: Add multilib support to h8300.
15599
15600Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
15601
15602 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
15603 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
15604 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
15605
15606Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15607
15608 * configure.in: Corrected multidirs for sparc target.
15609
15610Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15611
15612 Support for building newlib multiple times with different
15613 compilation flags.
15614 * configure.in: Only configure doc at top level. Set multidirs
15615 when appropriate for target, unless not at top level. If
15616 multidirs is set, independently configure each subdirectory.
15617 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
15618 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
15619 automagically set by configure.in.
15620 (all): If MULTIDIRS is set, build multiple copies of libraries.
15621 (install): If MULTIDIRS is set, install multiple copies of
15622 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
15623 MULTISUBDIR is set, don't bother to install header files.
15624 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
15625 ${srcrootpre}.
15626 * stub/configure.in: Set MULTISUBDIR appropriately.
15627 * stub/Makefile.in (install): Install in
15628 $(tooldir)/lib/$(MULTISUBDIR).
15629 * All Makefile.in files: Define SRCTOP as well as TOP.
15630
15631Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
15632
15633 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
15634 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
15635
15636Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
15637
15638 * libc/sys/h8300hms/exit.c (_exit): New function.
15639
15640Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
15641
15642 * configure.in: recognize m88110.
15643
15644Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
15645
15646 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
15647 prototype main and call with args.
15648
15649Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
15650
15651 First real try at system traps for m88k-bug.
15652 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
15653 to real trap calls.
15654 * libc/sys/m88kbug/sys/systraps.h: new file.
15655
15656Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
15657
15658 Patches to fix info building when target does not use sys
15659 directory.
15660 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
15661 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
15662 libc/sys.tex.
15663 * libc/sys/Makefile.in (doc): do nothing.
15664
15665Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
15666
15667 * libc/Makefile.in (CRT0): new macro.
15668 (all): depend on $(CRT0) rather than crt0.o.
15669
15670 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
15671 do not default crt0, instead, set crt0 and crt0_dir based on
15672 sys_dir and stub_dir.
15673
15674 * Makefile.in (CRT0_DIR): new macro.
15675 (all): depend on $(CRT0) rather than crt0.o which may not exist.
15676 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
15677 $(CRT0).
15678 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
15679
15680Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
15681
17c0c97d
EB
15682 * testsuite/lib/libm.exp:
15683 added code to support compiling and linking of tests for
15684 libm.sac (paranoia to be added next) and processing the
8a0efa53
CF
15685 pass or failure of the tests.
15686
15687 * testsuite/config/unix-libm.exp:
15688 platform specific proc's for dealing with compiler, linker
15689 and the way we execute and process the test results.
15690
15691 * testsuite/libm.sac/execute.exp:
17c0c97d 15692 generic framework for the sac tests. the config and lib
8a0efa53
CF
15693 expect code for specific platforms tie it all together.
15694
15695 * testsuite/libm.sac/test_is.c:
15696 changed the output of the test to be consistant with the
15697 other tests. parsing of pass nad fail messages is now fixed.
15698
15699Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
15700
15701 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
15702 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
15703 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
15704 #ifdef __cplusplus, surround by extern ""C { ... }.
15705 * libc/include/assert.h: Do *not* protect assert.h against
15706 multiple inclusion! Also, #undef it before #define, to allow
15707 redefinition.
15708 * libc/include/stdio.h (getlogin, cuserid): Removed. These
15709 should be only in unistd.h.
15710
15711 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
15712 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
15713 ... }.
15714
15715Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
15716
15717 * libc/machine/sparc/Makefile.in: Must create a library, even
15718 if empty.
15719
15720Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
15721
15722 * configure.in: set machine_dir for m88k. edit crt0 definition
15723 into makefiles.
15724
15725 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
15726
15727 * libc/Makefile.in (all): also build crt0.o.
15728
15729 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
15730 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
15731 to remove CRT0.
15732
15733 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
15734 (all): reworked to build in place.
15735 (clean): remove lib.a
15736 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
15737
15738 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
15739 (_start): key off edata rather than _start_bss.
15740
15741Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
15742
15743 * libc/include/sys/unistd.h, libc/include/reent.h,
15744 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
15745
15746Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
15747
15748 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
15749
15750 * Makefile.in (libc.a): break into two rules, one for libc.a and
15751 one for libc/libc.a. Force subdirs current before rebuilding
15752 library.
15753 (libm.a): break into two rules, one for libm.a and one for
15754 libm/libm.a. Force subdirs current before rebuilding library.
15755
15756 * libc/Makefile.in (SUBLIBS): fix typo.
15757
15758 * libc/sys/Makefile.in (all): force descent into subdirs, then
15759 rebuild library iff out of of date.
15760
15761Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
15762
15763 Rework so that library is built and then finished rather than
15764 being built on each invocation of make.
15765
15766 * host/any (machine_dir, sys_dir, signal_dir): these are not
15767 shared and have been moved to their associated Makefile.in's.
15768 (AR_FLAGS): switch to qc which is faster.
15769 * configure.in: no longer assign machine_dir for m88k. set
15770 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
15771 stub_dir set, then add to configdirs. add comment about silly
15772 configuration.
15773 (configdirs): drop stub. It will be added only
15774 when needed.
15775 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
15776 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
15777 stub_lib, crt0): new variables for tailoring lower level
15778 makefiles. Assign accordingly and edit into makefiles.
15779 * libm/Makefile.in: updated copyright.
15780 (TARGETLIB): removed.
15781 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
15782 (SUBDIRS): removed TARGETDEP_DIRS.
15783 (LIBM_FP_LIB, SUBLIBS): new macros.
15784 (all): reworked.
15785 (force): new target to force rebuilds.
15786 (Makefile): call $(SHELL) rather than sh. drop redundant ./
15787 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
15788 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
15789 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
15790 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
15791 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
15792 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
15793 stub/m68kmvme/Makefile.in: updated copyright.
15794 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
15795 (all): reworked. made this the default rule.
15796 (clean): also remove lib.a.
15797 (Makefile): call $(SHELL) rather than sh. drop redundant ./
15798 * stub/Makefile.in: updated copyright.
15799 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
15800 (stub_lib): new macro.
15801 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
15802 RANLIB.
15803 (all): reworked.
15804 (clean, install): assume stub_dir exists.
15805 (Makefile): depend on configure.in. call $(SHELL) rather than
15806 sh. drop redundant ./
15807 * stub/configure.in (stublib): new macro, assign it, edit it into
15808 makefiles.
15809 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
15810 updated copyright.
15811 (all): reworked.
15812 (Makefile): call $(SHELL) rather than sh. drop redundant ./
15813 * libc/Makefile.in (TARGETCRT0): removed.
15814 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
15815 TARGETCRT0.
15816 (SUBDIRS): drop TARGETDEP_DIRS.
15817 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
15818 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
15819 (force): new target to force rebuilds.
15820 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
15821 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
15822 removed.
15823 (clean): assume sys_dir always exists.
15824 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
15825 drop redundant ./
15826 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
15827 libc/locale/Makefile.in, libc/machine/Makefile.in,
15828 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
15829 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
15830 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
15831 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
15832 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
15833 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
15834 libc/signal/Makefile.in, libc/stdio/Makefile.in,
15835 libc/stdlib/Makefile.in, libc/string/Makefile.in,
15836 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
15837 libc/time/Makefile.in, libc/unix/Makefile.in,
15838 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
15839 (TARGETLIB): removed.
15840 (all): reworked.
15841 (clean): also remove lib.a.
15842 (Makefile): call $(SHELL) rather than sh. drop redundant ./
15843 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
15844 new macros.
15845 (SUBDIRS): moved to follow frag inclusion, change stub to
15846 stub_dir.
15847 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
15848 are now set in the libc Makefile.
15849 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
15850 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
15851 TARGETCRT0.
15852 (force): new target to force rebuilds.
15853 * stub/configure.in: determine and set stub_lib for for Makefile.
15854
15855Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
15856
15857 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
15858 crt0.s renamed to crt0.S.
15859 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
15860
15861 * libc/machine/h8300/Makefile.in: Make `all' the default target.
15862 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
15863 h8300h.
15864 * libc/machine/h8300/defines.h: Add macros to handle pointers for
15865 h8300 (16 bits) and h8300h (32 bits).
15866 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
15867 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
15868
15869Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
15870
15871 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
15872 implementation of setjmp and longjmp for the m88k.
15873 * libc/include/machine/setjmp.h: Added __m88000__ case.
15874
15875Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
15876
15877 * configure.in: Recognize h8300h as variant of h8300.
15878
15879Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
15880
15881 * libc/include/sys/unistd.h (read, write): get prototypes right.
15882 (sbrk): New prototype.
15883 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
15884 * libc/stdio/local.h: Include unistd.h.
15885 * libc/machine/h8300/syscalls.c: Names have changed.
15886
15887Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
15888
15889 * configure.in: add sys_dir assignment for m88k-bug.
15890
15891Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
15892
15893 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
15894 a.out or elf.
15895 * libc/sys/sparc64: all *.S files: Use new macros.
15896 * libc/sys/sparc64/isatty.c: New file.
15897 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
15898 functions beyond what newlib provides.
15899
15900Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
15901
15902 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
15903 svr4.
15904
15905Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
15906
15907 * libc/include/machine/ieeefp.h: Add support for h8/300h.
15908
15909Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
15910
15911 * configure.in: add m88k.
15912 * libc/include/machine/ieeefp.h: add case for m88k. Also add
15913 sanity check so no one else need ever chase what I did to find
15914 this.
15915
15916 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
15917
15918Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
15919
15920 * doc/makedoc.c: Include <ctype.h>.
15921
15922Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
15923
15924 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
15925 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
15926 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
15927
15928 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
15929
15930Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
15931
15932 * libc/include/errno.h (ENOSYS): Added.
15933
15934 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
15935
15936Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
15937
15938 * libc/stdio/fflush.c (fflush): Check for reent struct
15939 initialization.
15940 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
15941
15942Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
15943
15944 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
15945 out of dtoa.c so it doesn't pollute the namespace.
15946 * libc/include/_syslist.h: new file -- mappings from _function to
15947 function, for systems where we can't win (by default, all of them,
15948 until we start updating system calls.)
15949 * libc/syscalls: new directory -- stubs for exporting _function
15950 names as unmodified function names.
15951 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
15952 _syslist.h on all platforms by default, but put hooks in for
15953 fake_sys_dir so we can include it when we've renamed the system
15954 calls.
15955 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
15956 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
15957 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
15958 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
15959 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
15960 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
15961 non ANSI functions to call _function.
15962
15963Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
15964
15965 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
15966 when base 16 is specified. Don't accept non-digits if radix > 10.
15967
15968Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
15969
15970 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
15971
15972Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
15973
15974 * libc/include/sys/stat.h: Surround text after #endif with
15975 comments.
15976
15977Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
15978
15979 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
15980 _malloc_r, _realloc_r, and free_r call the corresponding
15981 non-reentrant functions.
15982
15983 * libm/math/modf.c (modf): We now take the address of ipart, so
15984 don't make it a register variable.
15985
15986Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
15987
15988 * libm/math/*: Rename all xxx_r fns to _xxx_r.
15989
15990Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
15991
15992 * libc/libc.texinfo and embedded docn throughout: formatting
15993 improvements, minor rephrasing for clarity, and improved
15994 reentrancy docn.
15995
15996Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
15997
15998 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
15999
16000 * libc/stdio/cvt.c (_licvt): Print the right value on machines
16001 where sizeof(int) != sizeof(long).
16002
16003Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
16004
16005 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
16006 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
16007 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
16008 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
16009 libm/math/matherr.c: changes for better docn formatting (info).
16010
16011 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
16012 libc/reent/reent.tex, libc/signal/signal.tex,
16013 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
16014 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
16015 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
16016 makeinfo node defaulting to get better Info file node structure.
16017 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
16018 Also include a few formerly missing sections (subroutines).
16019
16020 * doc/doc.str: delete fossil expansion for "func"
16021
16022 * default.menu, no-signal.menu: delete.
16023
16024 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
17c0c97d 16025 method used to adjust doc for missing "signals" chapter when
8a0efa53
CF
16026 signal_dir is empty.
16027
16028Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
16029
16030 * configure.in: added testsuite/libm.sac
16031
16032Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
16033
16034 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
16035 code model).
16036
16037Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
16038
16039 * libm/Makefile.in: Use $(MAKE) rather than make, and define
16040 MAKEOVERRIDES to be empty.
16041
16042Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
16043
16044 * configure.in: Don't build mips-*-* with -msoft-float, since that
16045 makes it incompatible with hard floating point.
16046
16047Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
16048
16049 * Makefile.in: added recursive 'make check'
16050
16051Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
16052
16053 * configure.in: added ./testsuite ./testsuite/libm.paranoia
16054 * ./testsuite/Makefile.in: created
16055 * ./testsuite/libm.paranoia: paranoia tests added
16056
16057Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
16058
16059 * configure.in: For mips-*-* set machine_dir to mips.
16060
16061 * libc/machine/mips: New directory.
16062 * libc/machine/mips/Makefile.in: New file.
16063 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
16064 setjmp and longjmp.
16065 * libc/include/machine/setjmp.h: Added __mips__ case.
16066
16067 * libc/machine/lmips: Removed unused and useless directory.
16068
16069Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
16070
16071 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
16072
16073Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
16074
16075 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
16076 start up).
16077
16078Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
16079
16080 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
16081 SETJMP_H.
16082
16083Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
16084
16085 * libm/test/convert.c: structure member errno -> errno_val.
16086 Must include <errno.h> to use errno, it's a macro now.
16087 * libm/test/math.c: Ditto.
16088 * libm/test/math2.c: Include errno.h.
16089 * libm/test/string.c: Ditto.
16090 * libm/test/test.h: structure member errno -> errno_val.
16091 Remove extern int errno decl.
16092
16093Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
16094
16095 * libc/stdio/Makefile.in: Added dependencies on local header
16096 files.
16097 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
16098 files.
16099
16100Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
16101
16102 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
16103
16104Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
16105
16106 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
16107 Initialize _data.
16108
16109 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
16110 * libc/stdio/local.h: Add prototype for _licvt.
16111
16112 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
16113 instead of malloc,reealloc.
16114
16115 * libc/stdlib/local.h: New file.
16116 * libc/stdlib/efgcvt.c: #include local.h.
16117 (gcvt): Fix call to _gcvt.
16118 * libc/stdlib/ecvtbuf.c: #include local.h.
16119
16120 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
16121 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
16122 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
16123
16124 * libc/stdlib/atexit.c: moved global data to struct _reent.
16125 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
16126
16127 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
16128
16129Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
16130
16131 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
16132 here from ../reent.h.
16133
16134Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
16135
16136 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
16137 should be provided in both libc.a and libm.a.
16138 (libc.a): Depend on targ-include and libm.a. Copy
16139 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
16140 (libm.a): Depend on targ-include.
16141 * configure.in (subdirs): Removed libc/math.
16142
16143Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
16144
16145 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
16146
16147Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
16148
16149 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
16150 sys/reent.h instead of reent.h.
16151 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
17c0c97d 16152 headers moved to sys/reent.h.
8a0efa53
CF
16153 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
16154 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
16155 __need__MAX_SIGNALS defined.
16156 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
16157 std{in,out,err} refer to new _std{in,out,err} members.
16158
16159Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
16160
16161 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
16162 case.
16163
16164Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
16165
16166 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
16167 rather than whatever macro seterrno() has.
16168
16169Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
16170
16171 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
16172 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
16173
16174 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
16175 __STDC__.
16176
16177 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
16178 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
16179 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
16180
16181 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
16182 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
16183
16184 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
16185 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
16186 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
16187 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
16188 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
16189 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
16190 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
16191 renamed to _xxx_r. struct reent_struct renamed to struct _reent
16192 for ANSI. structure members given leading "_" for ANSI. Use
16193 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
16194
16195 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
16196 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
16197 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
16198 reent_struct renamed to struct _reent for ANSI.
16199 Structure members given leading "_" for ANSI.
16200 _CONST --> const in prototypes.
16201 Use _HAVE_STDC instead of __STDC__.
16202
16203 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
16204 _xxx_r.
16205 struct reent_struct renamed to struct _reent for ANSI.
16206 Structure members given leading "_" for ANSI.
16207
16208 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
16209 _xxx_r.
16210 struct reent_struct renamed to struct _reent for ANSI.
16211
16212 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
16213 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
16214 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
16215 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
16216 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
16217
16218 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
16219 signal.h, stdio.h, stdlib.h, string.h, time.h}:
16220 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
16221 #ifndef _STRICT_ANSI non-ANSI routines.
16222 Reentrant routines renamed from _r_xxx to _xxx_r.
16223 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
16224 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
16225 Clean up namespace (structure members have leading "_").
16226 struct reent_struct renamed to struct _reent for ANSI compliance.
16227 _CONST --> const in function prototypes.
16228
16229 * libc/include/string.h: Add NULL and size_t.
16230
16231 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
16232 unlink, wait, wait4. Reentrant syscall routines close, fork,
16233 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
16234 write.
16235 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
16236 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
16237 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
16238 write.S}: Define reentrant versions.
16239 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
16240 reentrant syscalls.
16241
16242 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
16243
16244 * libc/include/stdlib.h (RAND_MAX): Fix value.
16245
16246Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
16247
16248 * libc/sys/a29khif/_main.c: Removed unnecessary file.
16249 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
16250 VPATH support targets after all: target.
16251
16252 * stub/mvme135/mvme.S: Renamed exceptionhandler to
16253 exceptionHandler, which is what mvme135-stub.c expects.
16254
16255Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
16256
16257 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
16258
16259 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
16260 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
16261 compliant).
16262
16263Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
16264
16265 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
16266 first.
16267 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
16268 _r_write): Ditto.
16269 libc/reent/fstatr.c (_r_fstat): Ditto.
16270 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
16271 libc/reent/sbrkr.c (_r_sbrk): Ditto.
16272 libc/reent/statr.c (_r_stat): Ditto.
16273
16274 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
16275 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
16276 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
16277 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
16278 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
16279 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
16280 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
16281 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
16282 (__swrite): Ditto for _r_lseek, _r_write.
16283 (__sseek): Ditto for _r_lseek.
16284 (__close): Ditto for _r_close.
16285 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
16286
16287 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
16288 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
16289
16290 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
16291 to make reent_struct the first argument (and thus consistent with
16292 the rest of newlib).
16293
16294 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
16295 reference to __STDC__.
16296
16297Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
16298
16299 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
16300 global __cleanup.
16301
16302Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
16303
16304 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
16305 first.
16306 libc/stdio/fclose.c (fclose): Ditto.
16307
16308Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
16309
16310 * Run through indent and rename reentrant routines for ANSI.
16311 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
16312 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
16313 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
16314 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
16315 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
16316 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
16317 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
16318 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
16319 vsprintf.c wbuf.c wsetup.c local.h}
16320
16321 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
16322
16323 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
16324 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
16325 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
16326 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
16327 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
16328 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
16329
16330 * Run through indent.
16331 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
16332 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
16333 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
16334 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
16335 strxfrm.c}
16336
16337 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
16338 localtime.c mktime.c strftime.c time.c}:
16339 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
16340
16341 * Reformatting + renaming (for ANSI, GNU style, consistency).
16342 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
16343 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
16344 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
16345
16346Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
16347
16348 * libc/include/stdio.h (stdin_r): Fix.
16349
16350Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
16351
16352 * Makefile.in: Unexport some variables to keep GNU make from
16353 putting them in the environment and using up needed ARG_MAX space
16354 (a hack is used to let this work with older makes as well).
16355
16356Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
16357
16358 * Makefile.in: Use $(MAKE) rather than make.
16359 (MAKEOVERRIDES): Define to be empty.
16360 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
16361 (libc.a, libm.a): Depend on targ-include.
16362 * host/any (LD): Don't define.
17c0c97d 16363 (INCLUDES): Use targ-include.
8a0efa53
CF
16364 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
16365 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
16366 * libc/Makefile.in: Use $(MAKE) rather than make.
16367 (MAKEOVERRIDES): Define to be empty.
16368 (FLAGS_TO_PASS): Don't pass LD (it's not used).
16369 (all): Rewrote to be slightly smaller.
16370 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
16371 Define to be empty.
16372 (FLAGS_TO_PASS): Don't pass LD (it's not used).
16373 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
16374
16375Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
16376
16377 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
16378 with errno/errno.c.
16379
16380Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
16381
16382 * Changes for reentrancy.
16383 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
16384 Use ptr->_errno, not errno.
16385 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
16386 libc/stdio/remove.c (remove_r): New function.
16387 libc/stdio/rename.c (rename_r): New function.
16388 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
16389 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
16390 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
16391 reentrant versions of system calls.
16392 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
16393 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
16394 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
16395 libc/stdio/findfp.c: Include <string.h>.
16396 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
16397 "local.h".
16398 libc/stdio/wbuf.c: Include "fvwrite.h"
16399
16400 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
16401 <string.h>.
16402 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
16403 (NULL): Don't define if already defined.
16404 libc/stdlib/system.c: Call reentrant versions of system calls.
16405 (system_r): New function.
16406
16407 * Changes for reentrancy.
16408 libc/include/_ansi.h (_PARAMS): New macro.
16409 libc/include/errno.h: Define errno as a macro that calls __errno.
16410 (__errno_r): New macro for reentrant code.
16411 libc/include/math.h: Include reent.h. Declare many reentrant
16412 functions.
16413 (signgam): Now a macro, not a variable.
16414 (struct exception): Added err field.
16415 libc/include/reent.h: Don't declare __sglue. Added function
16416 declarations.
16417 (struct reent_struct): Moved errno to beginning. Added _signgam.
16418 libc/include/stdio.h, libc/include/stdlib.h: Added function
16419 declarations.
16420
16421 * More reentrancy hacking.
16422 libc/errno/errno.c (__errno): New function.
16423 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
16424 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
16425 files.
17c0c97d 16426
8a0efa53
CF
16427 * Added many new reentrant functions to libm/math/*.
16428 libm/math/error.c (__matherror): Added reent_struct pointer
16429 argument. Changed all callers.
16430 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
16431 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
16432 libm/math/tan.h: Removed obsolete unused header files.
16433
16434 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
16435
16436 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
16437
16438Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
16439
16440 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
16441 delay slots.
16442
16443Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
16444
16445 * libc/libc.texinfo: comment out reentrancy chapter (duh)
16446
16447Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
16448
16449 * libc/reent/reent.tex: New file. (text from
16450 newlib/libc/libc.texinfo)
16451 * libc/stdio/tmpnam.c: fixed doc typo
16452 * libc/stdlib/rand.c: fixed doc typo
16453
16454Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
16455
16456 * libc/reent/reent.tex: New file. (text from
16457 newlib/libc/libc.texinfo)
16458
16459Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
16460
16461 support for reentrancy
16462 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
16463 new files
16464 * libc/errno/errno.c, libc/include/ieeefp.h,
16465 libc/include/locale.h, libc/include/reent.h,
16466 libc/include/signal.h, libc/include/stdio.h,
16467 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
16468 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
16469 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
16470 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
16471 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
16472 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
16473 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
16474 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
16475 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
16476 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
16477 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
16478 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
16479 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
16480 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
16481 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
16482 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
16483 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
16484 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
16485 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
16486 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
16487 libc/time/strftime.c: modify to provide reentracy.
16488
16489 new routines:
16490 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
16491 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
16492 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
16493 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
16494 mstats_r, realloc_r, localeconv_r, setlocale_r
16495
16496Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
16497
16498 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
16499 libc/include/sys/config.h, libc/include/sys/signal.h,
16500 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
16501 provided macros (such as m68000), use the ansi version
16502 (__m68000__) so that the library can be used with code compiled
16503 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
16504 and sparc.
16505
16506Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
16507
16508 * configure.in (sparc*): Don't set -fsoft-float for sparc
16509 configurations. Do set -fsoft-float for sparclite configurations.
16510
16511Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
16512
16513 * default.menu, no-signal.menu: alternate forms of libc main menu
16514 (in newlib rather than newlib/libc due to configuration restrictions)
16515
16516 * configure.in: select one of the two menus above, link to
16517 libc.menu
16518
16519 * libc/libc.texinfo: include menu from separate file
16520
16521Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
16522
16523 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
16524 (info): Split long shell command in half.
17c0c97d
EB
16525 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
16526 sub-makes, just CHEW and TARGETDOC.
8a0efa53
CF
16527 (targetdep.tex): Removed now special handling of sys and machine
16528 subdirectories, made obsolete some time ago.
16529 * libc/machine/Makefile.in (doc): Don't pass everything to
16530 sub-make, just CHEW and TARGETDOC.
16531 (Makefile): New target.
16532 * libc/sys/Makefile.in (Makefile): New target.
16533
16534Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
16535
16536 * Makefile.in (here and most subdirectories): Only pass down CHEW
16537 and TARGETDOC when making info, not for other targets.
16538
16539 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
16540 $(AR_FLAGS) rather than $(ARUPDATE).
16541
16542Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
16543
16544 * Try to reduce command line length:
16545 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
16546 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
16547 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
16548 (info): Pass CHEW to other subdirs.
16549
16550Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
16551
16552 * configure.in: add signal_dir, like unix_dir, but by default it
16553 is set to "signal" so that a29khif can turn it off (since a29khif
16554 has raise() as part of machine-specific signal.s.)
16555
16556Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
16557
16558 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
16559 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
16560 correctly.
16561 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
16562 libc/stdio/vfprintf: type lint.
16563 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
16564 initialzation code.
16565 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
16566
16567Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
16568
16569 * stub/mvme135/mvme135-asm.S: new file.
16570 stub/mvme135mvme135-stub.c: moved all assembler routines into
16571 mvme135-asm.S.
16572 stub/mvme135/Makefile.in: build mvme135-stub.o.
16573
16574Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
16575
16576 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
16577 sub-Makefiles instead, to try to avoid line length limitations.
16578
16579Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
16580
16581 * libc/include/unistd.h (read, write): Use void* instead of
16582 char*.
16583
16584Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
16585
16586 * stub/go32/resetpc: sample script to send a reset packet to the
16587 stub
16588
16589 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
16590 DOS environment, which compiles with Turbo C.
16591
16592 * stub/go32/DSER32.LNK: new file, linker commands for serial
16593 remote stub.
16594
16595 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
16596 start up message to identify version; call set_debug_traps.
16597
16598 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
16599 keyboard interaction); call handle_exception() in go_til_stop,
16600 rather than return, so that the remote stub gets control.
16601
16602 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
16603 rename, rather than mv), set flags that work with current Turbo C,
16604 including using the /3 flag; also, add commands to build dser32.
16605
16606 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
16607 default Turbo C installation (\tc rather than \usr)
16608
16609 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
16610 "&..."
16611
16612Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
16613
16614 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
16615
16616Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
16617
16618 * libc/stdio/cvt.c (licvt): new function to convert ints when
16619 sizeof(int) != sizeof(long).
16620
16621 * libc/include/stdio.h: added prototype for iprintf.
16622 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
16623
16624Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
16625
16626 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
16627 __REGISTER_PREFIX__.
16628
16629Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
16630
16631 * libc/sys/m68kbare: moved into stub directory.
16632
16633Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
16634
16635 * configure.in, Makefile.in: created new directory stub, to hold
16636 sample code for specific targets.
16637
16638Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
16639
16640 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
16641 in the unified libc/include/sys/fcntl.h.
16642
16643Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
16644
16645 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
16646 printed .01, not 0.01.
16647
16648Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
16649
16650 * configure.in: compile with -m68000 for m68* targets.
16651
16652Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
16653
16654 * libm/math/remainder.c (remainder): document the svr4 and sunos
16655 references used to construct the function.
16656
16657Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
16658
16659 * libm/math/remainder.c (rint, remainder): fix old typos.
16660 * libm/math/Makefile.in: actually build remainder.c (functions
16661 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
16662 page.)
16663
16664Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
16665
16666 * libc/string/bcopy.c: BSD version works on overlapping strings,
16667 so ours should too.
16668
16669 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
16670 ("SHELL").
16671
16672Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
16673
16674 * Makefile.in (docs): new target.
16675
16676Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
16677
16678 * libc/include/sys/times.h: define clock_t as required by POSIX.
16679 libc/include/time.h: protect clock_t from multiple definitions.
16680
16681Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
16682
16683 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
16684 does not need more than the original three iterations to get
16685 within 1 ulp. (Paranoia tests for rounding to better than that,
16686 but further iterations *don't* help, only more subtle changes
16687 can.)
16688
16689Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
16690
16691 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
16692 were doing nothing useful.
16693
16694Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
16695
16696 * configure.in: define MALLOC_PROVIDED for vxworks targets;
16697 removed sys_dir settings of vxworks68 and vxworks960.
16698 host/any: don't pass -nostdinc to gcc, since newlib no longer
16699 provides all required header files.
16700
16701 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
16702 is not defined; this provides a hook for VxWorks.
16703
16704Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
16705
16706 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
16707 buffer if buf is NULL, don't do it here -- it is already being
16708 done by makebuf elsewhere in stdio.
16709
16710Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
16711
16712 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
16713 that C programs can call functions without using initial
16714 underscores.
16715
16716Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
16717
16718 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
16719
16720Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
16721
16722 * configure.in: set TARGET_CFLAGS for certain CPU types to
16723 -msoft-float.
16724
16725Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
16726
16727 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
16728
16729Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
16730
16731 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
16732 m68k*-unknown-coff.
16733
16734Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
16735
16736 * libc/include/stdio.h: define __need___va_list before including
16737 <stdarg.h>, to avoid defining va_arg, et. al.
16738
16739Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
16740
16741 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
16742 (don't cd to the user's home directory).
16743
16744 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
16745 In general this is the wrong thing to do, but I can't get around
16746 GNU make's insistence on passing command line arguments any other
16747 way.
16748
16749Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
16750
16751 * configure.in: always configure the libc/sys directory, since it
16752 now provides a required documentation file.
16753
16754 * Makefile.in: replaced all instances of $(MAKE) with make. In
16755 general this is the wrong thing to do, but I can't get around GNU
16756 make's insistence on passing command line arguments any other way.
16757
16758Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
16759
16760 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
16761 terminated.
16762
16763 * libc/stdio/local.h: include <stdarg.h> to define va_list.
16764 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
16765
16766 * libc/include/float.h, libc/include/stdarg.h,
16767 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
16768 versions instead.
16769 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
16770 <stdarg.h>, not from <machine/types.h>. Protect definition of
16771 NULL.
16772 libc/include/time.h: get size_t from stddef.h. Protect definition
16773 of NULL.
16774 libc/include/machine/limits.h: override gcc <limits.h> by defining
16775 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
16776 get correct INT_MIN and LONG_LONG values.
16777 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
16778 size_t or va_list at all; they're now gotten from stddef.h
16779 instead.
16780 libc/include/machine/varargs.h: removed; use gcc version instead.
16781 libc/include/sys/types.h: explicitly include <machine/types.h>.
16782
16783 * libm/math/sqrt.h: using the fp-bit routines appears to require
16784 more iterations.
16785
16786 * Makefile.in, host/any: let system include files override machine
16787 include files.
16788
16789Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
16790
16791 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
16792 override _*_T_ definitions defaulted here.
16793
16794Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
16795
16796 * Makefile.in (install): install the include files in
16797 $(tooldir)/include, not $(exec_prefix)/include.
16798
16799Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
16800
16801 * Makefile.in (install): fixed typo, and changed install to not
16802 force rebuild of libc.a and libm.a.
16803
16804Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
16805
16806 * libc/sys/a29khif/*: Changed all .include's to include
16807 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
16808 that they will be installed for the user.
16809
16810 * Makefile.in (all): create targ-include, a directory holding the
16811 machine and system specific header files during the build.
16812 (install): fixed installation of machine and system specific
16813 header files.
16814
16815 * Makefile.in: fixed comment.
16816 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
16817 we can pass $(INCLUDES) to it.
16818
16819Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
16820
16821 * libc/include/sys/param.h: new generic file, which may be
16822 overridden for specific systems.
16823
16824 * libc/include/sys/signal.h: define all ANSI signal names, and
16825 NSIG (which is not ANSI) for a29k.
16826
16827Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
16828
16829 * Makefile.in: don't pass down arguments the lower level makes
16830 will not need.
16831 * libc/Makefile.in: recurse directly, rather than using subdir_do,
16832 in hopes of avoiding argument length limits.
16833 * libm/Makefile.in: recurse directly, rather using subdir_do, in
16834 hopes of avoiding argument length limits.
16835
16836Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
16837
16838 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
16839 mode_t is defined.
16840
16841Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
16842
16843 * Fixed make info and make install-info for newlib, changing most
16844 Makefile.in and several *.tex files. Moved doc directory from
16845 libc to top level.
16846
16847 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
16848 Should be rewritten.
16849
16850 * libc/string/strings.tex: renamed node index to node index
16851 function, so that it does not conflict with the top level index
16852 node.
16853
16854 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
16855
16856Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
16857
16858 * Overhauled general configuration for newlib. Eliminated all
16859 target dependent Makefile fragments. Create libraries in newlib
16860 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
16861 than CROSS_CC, et. al. Broke make docs; will fix later.
16862
16863 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
16864 Should be rewritten.
16865
16866Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
16867
16868 * libc/configure.in: cleaned up somewhat; switch on ${target}
16869 rather than ${target_alias}.
17c0c97d 16870 * libm/configure.in: cleaned up somewhat; switch on ${target}
8a0efa53
CF
16871 rather than ${target_alias}.
16872
16873 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
16874 * libc/include/ctype.h: marked _ctype_ as _CONST.
16875
16876 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
16877 _CONST.
16878
16879 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
16880 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
16881 libc/stdio/gets.c (gets): removed non-ANSI warning message.
16882 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
16883
16884 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
16885 bigtens, tinytens): marked arrays _CONST.
16886 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
16887 rather than a static variable.
16888
16889 * libc/time/asctime.c (asctime), libc/time/localtime.c
16890 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
16891 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
16892 mname_len, mname): Marked static arrays _CONST.
16893
16894 * libm/math/gamma.h: made local variables non-static.
16895
16896 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
16897 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
16898 _CONST.
16899
16900 * libm/math/constants.c: removed file, because the constants it
16901 defined were never referenced.
16902 libm/math/Makefile.in: removed references to constants.c.
16903 libm/math/mathimpl.h: removed declarations of constants.
16904
16905Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
16906
16907 * libc/include/machine/varargs.h: only call __builtin_saveregs if
16908 it is sensibly defined in libgcc2. Checks preprocessor defines,
16909 which is not a good solution.
16910
16911 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
16912
16913 * libm/frexp.c: handle denormalized numbers as arguments.
16914
16915 * libm/math/Makefile.in: added some dependencies for .c files
16916 which include local .h files.
16917
16918Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
16919
16920 * libc/configure.in: set target_alias for OSE*. Replace
16921 target_makefile_frag if it is blank.
16922
16923 * libc/Makefile.in: make sure everything is passed to subsidiary
16924 makes; create all directories when installing.
16925
16926 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
16927 CROSS_ARUPDATE instead of AR.
16928
16929 * libm/configure.in: set target_alias for OSE*. Replace
16930 target_makefile_frag if it is blank.
16931
16932 * libm/Makefile.in: make sure everything is passed to subsidiary
16933 makes; create all directories when installing.
16934
16935Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
16936
16937 * add following change from libc copy.
16938
16939Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
16940
16941 * libc/libc.texinfo: make copyright disclaimers appear on back of
16942 title page; make format of same slightly less ugly; avoid using
16943 underbars in section headings (avoids nasty texinfo bug in table
16944 of contents).
16945
16946 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
16947 comments only) avoid using underbars in section headings
16948
16949 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
16950 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
16951 changes in comments only): shorten headings ieeefp/infinity.c,
16952 ieeefp/isnan.c: (doc, comments only) more informative headings
16953
16954 * libc/math/bessel.c: (doc, comments only) shorten heading
16955
16956 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
16957 (doc, comments only) shorten headings
16958
16959 * libc/time/localtime.c (doc, comments only): shorten headings
16960
16961 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
16962 isnan
16963 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
16964 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
16965 headings
16966 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
16967 only) more informative headings
16968 * libm/math/bessel.c: (doc, comments only) shorten heading
16969
16970Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
16971
16972 * .../Makefile.in: use CROSS_ARUPDATE consistently.
16973 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
16974 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
16975 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
16976 defined, the one from the .mt file will be correct.
16977 * libc/include/machine, libc/include/sys: created, and populated
16978 with common files from machine/*/machine. ifdefs were used for
16979 most, typically by handling exceptions first and then filling in
16980 defaults. Files with D.J. Delorie copyright #included rather than
16981 copied. Most files in include/sys really were the same in the
16982 original.
16983 * libc/include/...: cleaned up use of _EXFUN.
16984 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
16985 it with double quotes, not angles.
16986
16987Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
16988
16989 * libc/Makefile.in: always create installation directories.
16990
16991Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
16992
16993 * libc/configure.in: handle host properly (using canonical
16994 triples), better error message for the case of target not found
16995
16996Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
16997
16998 * libc/Makefile.in (insincdir): Ensure this directory exists
16999 before attempting installation.
17000
17001Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17002
17003 * libc/stdlib/assert.c: now calls abort like it should
17004 * libc/sys/a29khif: many many patches for 29khif work
17005 * libc/machine/i386: gnulib2 expanded there.
17006
17007Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17008
17009 Added accurate fp conversion routines to stdlib, moved dcvt from
17010 stdio to stdlib and called it ecvtbuf:
17011 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
17012 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
17013 routines
17014 * libc/libc.texinfo: Modifed to include the copyright info from
17015 the mprec files
17016 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
17017 * libc/test/ : many vector which tested for the implementation
17018 defined returns of strange conversion requests have been updated
17019 to relflect the new implementation
17020
17021Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17022
17023 * libc/libc.texinfo: new chapter on variable arg lists
17024 (stdarg.h/varargs.h)
17025 * libc/libc.texinfo: new title
17026 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
17027 (doc only) shorter headings for better formatting.
17028
17029Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17030
17031 * libc/libc.texinfo: three more info menu entries
17032 * libc/locale/locale.tex: new chapter
17033 * libc/locale/locale.c: new doc for setlocale, localeconv
17034 * libc/locale/Makefile.in: use new locale doc
17035 * libc/signal/signal.tex: new chapter
17036 * libc/signal/raise.c, libc/signal/signal.c: new doc
17037 * libc/signal/Makefile.in: use new doc
17038 * libc/time/time.tex: new chapter
17039 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
17040 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
17041 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
17042 * libc/time/Makefile.in: use new doc
17043
17044Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17045
17046 * libm/math/log1p.c: split to use the new function way of float
17047 function definition. math/log1p.h deleted
17048 * libm/math/scalb.c: obsolete and deleted
17049 * libm/math/scalbn.c: created from part log1p.c
17050 * libm/math/Makefile.in: know about log1p and scalbn
17051
17052Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17053
17054 * libc/ctype/isupper.c: revise doc;
17055 libc/ctype/ctype.tex: use doc from isupper.c
17056
17057 * libc/string/bzero.c: new doc
17058
17059Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17060
17061 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
17062 new doc
17063 * libc/stdlib/Makefile.in: extract new doc
17064 * libc/stdlib/stdlib.tex: use new doc
17065
17066 * libc/string/strerror.c: expanded doc.
17067
17068 * libc/stdio/Makefile.in: extract doc from more files
17069 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
17070 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
17071 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
17072 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
17073 libc/stdio/vsprintf.c: new doc
17074 * libc/stdio/stdio.tex: use new doc
17075
17076Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17077
17078 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
17079 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
17080 finitef functions.
17081 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
17082 time ago.
17083
17084 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
17085 * libc/stdio/setbuf.c: added ansi style definition.
17086 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
17087 buffer if none provided.
17088 * libc/stdio/tmpfile.c: lint
17089 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
17090 rather than using static, also make sure file isn't already
17091 present. Uses P_tmpdir. (tempnam): rewritten to use new
17092 subroutine, and uses P_tmpdir.
17093 * libc/stdio/siprintf.c: created
17094
17095Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17096
17097 Release 1.03 for NEC, major mods. Main differences from release
17098 1.02::
17099
17100 More tests in test/:
17101 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
17102 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
17103 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
17104 get/set mask, get/set sticky and get/set roundtoi. Tests
17105 that setting the bits changes the way arithmetic is done.
17106 * string.c: added test to make sure memcmp does it with unsigned
17107 chars.
17108 * test.c: cleaned up and removed lint.
17109 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
17110 dvec.c: tests for string to value conversions, sprintf, scanf,
17111 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
17112 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
17113 rounding in sprintf too.
17114 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
17115 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
17116 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
17117 and function form.
17118 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
17119 powf
17120
17121 In the library:
17122 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
17123 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
17124 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
17125 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
17126 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
17127 than sprintf.
17c0c97d 17128 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
8a0efa53
CF
17129 * Method of producting float versions of double functions has
17130 changed, functions will be modified gradually. So far:
17131 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
17132 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
17133 altered
17134 * libc/string/memcmp.c: now uses unsigned chars
17135 * libc/string/bcmp.c, libc/string/strcpy.c,
17136 libc/stsring/strxfrm.c: fixed doc
17137 * libc/sys/sysvnecv70.tex: fix example of sbrk code
17138\f
17139Local Variables:
17140version-control: never
17141End:
This page took 2.204364 seconds and 5 git commands to generate.