]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
2008-03-27 Patrick Mansfield <patmans@us.ibm.com>
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
1d4a4944
JJ
12008-04-01 Patrick Mansfield <patmans@us.ibm.com>
2
3 * libc/machine/spu/Makefile.am: Add assert.c.
4 * libc/machine/spu/Makefile.in: Regenerate.
5 * libc/machine/spu/assert.c: New file.
6
3ab380aa
JJ
72008-03-27 Patrick Mansfield <patmans@us.ibm.com>
8
9 * libc/include/reent.h: Define _func_r functions in this file to
10 func if REENTRANT_SYSCALLS_PROVIDED and MISSING_SYSCALL_NAMES are
11 defined.
12
4af0c5e8
CV
132008-03-27 Corinna Vinschen <corinna@vinschen.de>
14
15 * libc/include/sys/unistd.h: Declare lockf(2) and define lockf
16 constants when building for Cygwin.
17
88348faf
JJ
182008-03-11 Jeff Johnston <jjohnstn@redhat.com>
19
d84985f7 20 * libc/stdio/rgetc.c (__srget_r): Invoke CHECK_INIT to ensure
88348faf
JJ
21 stdin gets resolved properly before refilling.
22
c6228428
JJ
232008-03-07 Jeff Johnston <jjohnstn@redhat.com>
24
25 * libc/include/getopt.h: Hide newlib extensions under
26 the __need_getopt_newlib flag.
27 * libc/stdlib/getopt.c: #define __need_getopt_newlib before including
28 getopt.h. Put entire code under !HAVE_GETOPT to support platforms
29 with their own getopt implementation.
30 * configure.host: Specify HAVE_GETOPT for x86-linux.
31
0382d267
JJ
322008-03-07 Jeff Johnston <jjohnstn@redhat.com>
33
34 * libc/include/sys/reent.h(_REENT_SMALL_CHECK_INIT): Specify
35 this macro completely instead of referring to CHECK_STD_INIT which
36 is only found in libc/stdio/local.h.
37 * libc/stdio/dprintf.c: Add include of local.h.
38 * libc/stdio/vdprintf.c: Ditto.
39 * libc/stdio/vdiprintf.c: Ditto.
40
beb0ab64
EB
412008-03-04 Eric Blake <ebb9@byu.net>
42
43 Fix strtod("nan()", ptr).
44 * libc/stdlib/gdtoa-hexnan.c (hexnan): When the optional
45 n-char-sequence is omitted, still parse the ().
46
9ae00e9e
EB
472008-03-03 Eric Blake <ebb9@byu.net>
48
49 Fix ftell bug after ungetc.
50 * libc/stdio/ftell.c (_ftell_r): Don't flush ungetc buffer on
51 ftell.
52 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
53 * libc/stdio/fflush.c (_fflush_r): Clear unget buffer when
54 repositioning underlying fd offset.
55
be62101c
JJ
562008-03-02 Jeff Johnston <jjohnstn@redhat.com>
57
58 * libc/include/getopt.h (no_argument): Added for glibc compatibility.
59 (required_argument, optional_argument): Ditto.
60
76ff710c
JJ
612008-02-29 Gregory Pietsch <gpietsch@comcast.net>
62
63 * libc/stdlib/getopt.c (getopt_internal): Rewrite to accept
64 data area so as to support reentrant calls. Change all callers
65 to fill in data area with global values and restore any changes
66 to the global values after call.
67 (__getopt_r, __getopt_long_r, __getopt_long_only_r): New routines
68 to support reentrancy that add a data area argument.
69 * libc/include/getopt.h: Add new _r routines and provide macros
70 so they can be called with using double-underscores.
71
7a44c13e
EB
722008-02-21 Eric Blake <ebb9@byu.net>
73
74 Fix strtod("-0x", NULL).
75 * libc/stdlib/strtod.c (_strtod_r): Fall back to 0 if hex parse
76 fails.
77
de20111e
JJ
782008-02-12 Jeff Johnston <jjohnstn@redhat.com>
79
80 * libc/machine/powerpc/vfprintf.c (_VFPRINTF_R): Prepare
81 for user specifying --disable-newlib-io-long-long on configure.
82 Call _fflush_r instead of fflush. For _mbtowc_r, pass the
83 reentrant pointer passed in rather than _REENT.
84
f46f40b5
JJ
852008-02-12 Peter Rosin <peda@lysator.liu.se>
86
87 * libc/stdlib/getopt.c (getopt_internal): Handle optional
88 arguments better for long options and short options not
89 appearing as the first option in a sequence.
90
74d928bf
JJ
912008-02-11 Patrick Mansfield <patmans@us.ibm.com>
92
93 * libc/machine/spu/straddr.h: New file, supplies _straddr.
94 * libc/machine/spu/strcat.c: Use _straddr and _strcpy.
95 * libc/machine/spu/strcpy.c: Use _strcpy.
96 * libc/machine/spu/strcpy.h: Supply _strcpy for optimized SPU
97 str[n]cpy and str[n]cat.
98 * libc/machine/spu/strncat.c: Use _straddr and _strcpy.
99 * libc/machine/spu/strncpy.c: Use _strcpy.
7a44c13e 100
9b924fc3
JJ
1012008-02-11 Patrick Mansfield <patmans@us.ibm.com>
102
103 * libc/machine/spu/strlen.c: Remove the len variable and unneeded
104 calculation of its value.
7a44c13e 105
77ec26b0
HPN
1062008-01-25 Hans-Peter Nilsson <hp@bitrange.com>
107
108 * libc/sys/mmixware/isatty.c (_isatty): Renamed from isatty.
109 Make ISO C.
110
226f5a32
DD
1112008-01-21 DJ Delorie <dj@redhat.com>
112
113 * libc/sys/sh/syscalls.c (_isatty): New.
114
cece11c5
JJ
1152008-01-21 Neal H. Walfield <neal@gnu.org>
116
117 * Makefile.am (crt1.o): Use correct source.
118 * Makefile.in: Regenerated.
119
dc26a86f
EB
1202008-01-15 Eric Blake <ebb9@byu.net>
121
122 * libc/string/Makefile.am (ELIX_2_SOURCES): Fix definition.
123 * libc/string/Makefile: Regenerate.
124
12df8a5b
CV
1252008-01-15 Corinna Vinschen <corinna@vinschen.de>
126
127 * libc/include/machine/setjmp.h (__SIGMASK_FUNC): Define as
128 pthread_sigmask or sigprocmask depending on _POSIX_THREADS.
129 (sigsetjmp): Use __SIGMASK_FUNC.
130 (siglongjmp): Ditto.
131 (_setjmp): Define as macro.
132 (_longjmp): Ditto.
133
40617efc
EB
1342008-01-11 Eric Blake <ebb9@byu.net>
135
136 Make strstr and strcasestr O(n), not O(n^2); add memmem.
137 * libc/string/str-two-way.h: New file.
138 * libc/string/memmem.c (memmem): New file.
139 * libc/include/string.h (memmem): Declare for all platforms.
140 * libc/string/strstr.c (strstr): Provide O(n) implementation when
141 not optimizing for space.
142 * libc/string/strcasestr.c (strcasestr): Likewise.
143 * libc/string/Makefile.am (ELIX_SOURCES): Rename to...
144 (ELIX_2_SOURCES): ...this.
145 (ELIX_4_SOURCES): New category, for memmem.
146 (lib_a_SOURCES, libstring_la_SOURCES): Build new file.
147 (CHEWOUT_FILES): Build documentation for memmem.
148 * libc/string/strings.tex: Include new docs.
149
ceb32a18
JJ
1502008-01-08 Jeff Johnston <jjohnstn@redhat.com>
151
152 * libc/machine/m68k/memcpy.S: Remove % from register references
153 as this is already handled by m68kasm.h.
154 * libc/machine/m68k/memset.S: Ditto.
155
a3211370
JJ
1562008-01-07 Jeff Johnston <jjohnstn@redhat.com>
157
158 * libc/machine/m68k/m68kasm.h: New file.
159 * libc/machine/m68k/setjmp.S: Remove common definitions and
160 place in m68kasm.h. Include "m68kasm.h".
161 * libc/machine/m68k/memcpy.S: Include "m68kasm.h" and use
162 SYM() macro when referencing function name.
163 * libc/machine/m68k/memset.S: Ditto.
164
a639937a
JJ
1652008-01-03 Jeff Johnston <jjohnstn@redhat.com>
166
167 Make isatty syscall handling consistent with other newlib syscalls.
168
169 * libc/include/_syslist.h: Add _isatty.
170 * libc/include/reent.h: Add _isatty_r.
171 * libc/include/sys/unistd.h: Add _isatty.
172 * libc/posix/Makefile.am: Add new _isatty.c file.
173 * libc/posix/Makefile.in: Regenerated.
174 * libc/posix/_isatty.c: New file.
175 * libc/posix/isatty.c: Changed to call _isatty().
176 * libc/reent/Makefile.am: Add new isattyr.c file.
177 * libc/reent/Makefile.in: Regenerated.
178 * libc/reent/isattyr.c: New file.
179 * libc/stdio/freopen.c: Changed to call _isatty_r().
180 * libc/stdio/makebuf.c: Ditto.
181 * libc/sys/a29khif/_isatty.S: Change isatty to _isatty.
182 * libc/sys/arc/isatty.c: Ditto.
183 * libc/sys/arm/syscalls.c: Ditto.
184 * libc/sys/d10v/syscalls.c: Ditto.
185 * libc/sys/h8300hms/syscalls.c: Ditto.
186 * libc/sys/h8500hms/syscalls.c: Ditto.
187 * libc/sys/linux/Makefile.am: Add new isatty.c file.
188 * libc/sys/linux/Makefile.in: Regenerated.
189 * libc/sys/linux/isatty.c: New file.
190 * libc/syscalls/Makefile.am: Add new sysisatty.c file.
191 * libc/syscalls/Makefile.in: Regenerated.
192 * libc/syscalls/sysisatty.c: New file.
193
7c8bd7a0
JJ
1942008-01-02 Jeff Johnston <jjohnstn@redhat.com>
195
196 * libc/syscalls/sysclose.c: Always call reentrant version of the
197 underlying syscall since one is guaranteed to exist in libc/reent.
198 * libc/syscalls/sysexecve.c: Ditto.
199 * libc/syscalls/sysfcntl.c: Ditto.
200 * libc/syscalls/sysfork.c: Ditto.
201 * libc/syscalls/sysfstat.c: Ditto.
202 * libc/syscalls/sysgetpid.c: Ditto.
203 * libc/syscalls/sysgettod.c: Ditto.
204 * libc/syscalls/syskill.c: Ditto.
205 * libc/syscalls/syslink.c: Ditto.
206 * libc/syscalls/syslseek.c: Ditto.
207 * libc/syscalls/sysopen.c: Ditto.
208 * libc/syscalls/sysread.c: Ditto.
209 * libc/syscalls/syssbrk.c: Ditto.
210 * libc/syscalls/sysstat.c: Ditto.
211 * libc/syscalls/systimes.c: Ditto.
212 * libc/syscalls/sysunlink.c: Ditto.
213 * libc/syscalls/syswait.c: Ditto.
214 * libc/syscalls/syswrite.c: Ditto.
215
26b84293
JJ
2162007-12-19 Jeff Johnston <jjohnstn@redhat.com>
217
7a44c13e
EB
218 * NEWS: Update with 1.16.0 info.
219 * README: Ditto.
220 * acinclude.m4: Change version number to 1.16.0.
221 * aclocal.m4: Regenerated.
222 * configure: Ditto.
223 * doc/aclocal.m4: Ditto.
224 * doc/configure: Ditto.
225 * libc/*/aclocal.m4: Ditto.
226 * libc/*/configure: Ditto.
227 * libc/libc.texinfo: Ditto.
228 * libm/*/aclocal.m4: Ditto.
229 * libm/*/configure: Ditto.
230 * libm/libm.texinfo: Ditto.
231 * libc/sys/linux/shared.ld: Add VERS_1.16.
26b84293 232
6af69de3
JJ
2332007-12-19 Jeff Johnston <jjohnstn@redhat.com>
234
235 * libc/string/strcasestr.c: Remove id macro.
236 * libc/sys/linux/linuxthreads/attr.c: Fix up sched_priority
237 field reference to be __sched_priority.
238 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
239 * libc/sys/linux/linuxthreads/manager.c: Ditto.
240 * libc/sys/linux/stdlib/collate.c: Remove id macro.
241 * libc/sys/linux/stdlib/collcmp.c: Ditto.
242 * libc/sys/linux/stdlib/engine.c: Ditto.
243 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
244 * libc/sys/linux/stdlib/glob.c: Ditto.
245 * libc/sys/linux/stdlib/reallocf.c: Ditto.
246 * libc/sys/linux/stdlib/regcomp.c: Ditto.
247 * libc/sys/linux/stdlib/regerror.c: Ditto.
248 * libc/sys/linux/stdlib/regexec.c: Ditto.
249 * libc/sys/linux/stdlib/regfree.c: Ditto.
250 * libc/sys/linux/sys/cdefs.h: Replace with latest version.
251 * libc/sys/linux/include/argp.h: Ditto.
252 * libc/sys/linux/sys/libc-lock.h: New file.
253 * libc/sys/linux/sys/stdint.h: Ditto.
254 * libc/sys/linux/include/sched.h: New file.
255
3cc8a378
JJ
2562007-12-19 Dave Korn <dave.korn@artimi.com>
257 Jeff Johnston <jjohnstn@redhhat.com>
258
259 * libc/include/_ansi.h: Add _LONG_LONG definition.
260 * libc/include/math.h (llrint, llrintf, rintl, lrintl, llrintl): Add
261 prototypes.
262 * libc/machine/i386/machine/fastmath.h: Add support for new i386
263 fast math versions of rint, lrint, and llrint family functions.
264 * libm/machine/i386/Makefile.am: Add new files.
265 * libm/machine/i386/Makefile.in: Regenerated.
266 * libm/machine/i386/f_llrint.c, libm/machine/i386/f_lrint.c,
267 libm/machine/i386/f_rint.c, libm/machine/i386/f_llrintf.c,
268 libm/machine/i386/f_lrintf.c, libm/machine/i386/f_rintf.c,
269 libm/machine/i386/f_llrintl.c, libm/machine/i386/f_lrintl.c,
270 libm/machine/i386/f_rintl.c: New files with fast math implementations.
271
41e94f24
JJ
2722007-12-19 Jeff Johnston <jjohnstn@redhat.com>
273
274 * libc/include/sys/features.h: Add checks for C90 compilers using
275 -ansi.
276
ac26b727
CV
2772007-12-19 Corinna Vinschen <corinna@vinschen.de>
278
279 * libc/include/wchar.h: Add prototypes for wcpcpy and wcpncpy.
280 * libc/string/Makefile.am (ELIX_SOURCES): Add wcpcpy.c and
281 wcpncpy.c.
282 (CHEWOUT_FILES): Add wcpcpy.def and wcpncpy.def.
283 * libc/string/Makefile.in: Regenerate.
284 * libc/string/wcpcpy.c: New file.
285 * libc/string/wcpncpy.c: New file.
286 * libc/string/wcstrings.tex: Add wcpcpy and wcpncpy.
287
478df8bb
CV
2882007-12-19 Corinna Vinschen <corinna@vinschen.de>
289
290 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use correct pointer in call to
291 _wcsrtombs_r.
292
60bef55d
JJ
2932007-11-19 Nick Clifton <nickc@redhat.com>
294
295 * libc/machine/mn10300/Makefile.am (CCASFLAGS): Add -Wa,--gdwarf-2.
296 * libc/machine/mn10300/Makefile.in: Regenerate.
297 * libc/machine/mn10300/memchar.S: Remove redundant labels. Add
298 .debug_frame section.
299 * libc/machine/mn10300/memcmp.S: Likewise.
300 * libc/machine/mn10300/memcpy.S: Likewise.
301 * libc/machine/mn10300/memset.S: Likewise.
302 * libc/machine/mn10300/strchr.S: Likewise.
303 * libc/machine/mn10300/strcmp.S: Likewise.
304 * libc/machine/mn10300/strcpy.S: Likewise.
305 * libc/machine/mn10300/strlen.S: Likewise.
306
3072007-11-15 Jeff Johnston <jjohnstn@redhat.com>
308
309 * libc/include/sys/_default_fcntl.h: New header file that
310 is the default version of sys/fcntl.h.
311 * libc/include/sys/fcntl.h: Changed to simply include
312 sys/_default_fcntl.h.
313 * libc/sys/arm/sys/fcntl.h: New file that includes
314 sys/_default_fcntl.h and defines O_BINARY.
315
478df8bb 3162007-11-08 Corinna Vinschen <corinna@vinschen.de>
815774e8
CV
317
318 * libc/include/sys/unistd.h: Remove Cygwin definition of MAXPATHLEN.
319
7b4cad4a
DB
3202007-11-07 Dave Brolley <brolley@redhat.com>
321
322 * libc/machine/configure: Regenerated to pick up mep-elf changes.
40617efc 323
7b4cad4a
DB
324 * Contribute mep-elf from Red Hat
325 2006-10-27 DJ Delorie <dj@redhat.com>
326
327 * libc/include/machine/setjmp.h: Add MeP support.
328
329 2003-04-17 DJ Delorie <dj@redhat.com>
330
331 * configure.host (mep-*-*): Support "long long" type.
332
333 2001-06-06 DJ Delorie <dj@redhat.com>
334
335 * libc/include/machine/ieeefp.h (mep): Support little endian too.
336
337 2001-05-14 DJ Delorie <dj@redhat.com>
338
339 * configure.host: Add mep's machine_dir.
340 * libc/include/setjmp.h: Add mep support.
341 * libc/machine/mep: New.
342 * libc/machine/mep/setjmp.S: New, support mep's setjmp/longjmp.
343
344 2001-05-04 DJ Delorie <dj@redhat.com>
345
346 * configure.host: Add mep.
347 * libc/include/machine/ieeefp.h: Ditto.
348
69bfb481
DD
3492007-10-31 DJ Delorie <dj@redhat.com>
350
351 * libc/signal/signal.c (_raise_r): Don't attempt to initialize the
352 signal table, just use a default, in case initialization cause
353 recursion.
354
2a3a02a6
JJ
3552007-10-23 Jeff Johnston <jjohnstn@redhat.com>
356
357 * libc/stdlib/wcstombs_r.c: Add SUSV2 support for calculating
358 size if output buffer is NULL.
359
70317d85
JJ
3602007-10-17 Jeff Johnston <jjohnstn@redhat.com>
361
362 * libm/mathfp/s_logarithm.c: Fix error introduced by previous
363 fix when handling negative input values. Make function
364 consistent with math directory and glibc version such that
365 inf and nan values return inf and nan respectively with no
366 errno setting.
367 * libm/mathfp/sf_logarithm.c: Ditto.
368 * libm/math/w_log.c: Set errno to ERANGE when input is 0.0.
369 * libm/math/wf_log.c: Ditto.
370 * libm/math/w_log10.c: Ditto.
371 * libm/math/wf_log10.c: Ditto.
372
923f9573
JJ
3732007-10-17 Jeff Johnston <jjohnstn@redhat.com>
374
375 * libm/mathfp/s_logarithm.c: Fix case where input is 0 to
376 return -inf.
377 * libm/mathfp/sf_logarithm.c: Ditto.
378
8b630840
JJ
3792007-10-17 Jeff Johnston <jjohnstn@redhat.com>
380
381 * libc/machine/i386/machine/fastmath.h: New file.
382
c99e78b8
EB
3832007-10-13 Eric Blake <ebb9@byu.net>
384
385 * libc/stdio/vfprintf.c (_VFPRINTF_R) [__OPTIMIZE_SIZE__]:
386 Correctly nest else within conditionals.
387 Reported by Artur Lipowski.
388
97f0a0ec
NC
3892007-10-09 Nick Clifton <nickc@redhat.com>
390
391 * libc/sys/linux/dl/do-lookup.h (FCT): Support symbols with
392 the STT_COMMON type.
393
b7bc4ccc
BE
3942007-10-09 Ben Elliston <bje@au.ibm.com>
395
396 * libm/machine/spu/headers/acosd2.h: Include spu_intrinsics.h
397 before simdmath.h to get a definition for `vector'.
398 * libm/machine/spu/headers/asind2.h: Likewise.
399
1671fbe1
JJ
4002007-09-28 Patrick Mansfield <patmans@us.ibm.com>
401
402 * libm/machine/spu/headers/dom_chkd_less_than.h: New file.
403 * libm/machine/spu/headers/dom_chkd_negone_one.h: Ditto.
404 * libm/machine/spu/headers/dom_chkf_less_than.h: Ditto.
405 * libm/machine/spu/headers/dom_chkf_negone_one.h: Ditto.
406 * libm/machine/spu/headers/acos.h: Add domain check.
407 * libm/machine/spu/headers/acosf.h: Ditto.
408 * libm/machine/spu/headers/acosh.h: Ditto.
409 * libm/machine/spu/headers/acoshf.h: Ditto.
410 * libm/machine/spu/headers/asin.h: Ditto.
411 * libm/machine/spu/headers/asinf.h: Ditto.
412 * libm/machine/spu/headers/atanh.h: Ditto.
413 * libm/machine/spu/headers/atanhf.h: Ditto.
414 * libm/machine/spu/headers/fmod.h: Ditto.
415 * libm/machine/spu/headers/fmodf.h: Ditto.
416 * libm/machine/spu/headers/log.h: Ditto.
417 * libm/machine/spu/headers/log10.h: Ditto.
418 * libm/machine/spu/headers/log1p.h: Ditto.
419 * libm/machine/spu/headers/log1pf.h: Ditto.
420 * libm/machine/spu/headers/log2.h: Ditto.
421 * libm/machine/spu/headers/log2f.h: Ditto.
422 * libm/machine/spu/headers/sqrt.h: Ditto.
423 * libm/machine/spu/headers/sqrtf.h: Ditto.
424 * libm/machine/spu/headers/tgamma.h: Ditto.
425 * libm/machine/spu/headers/tgammaf.h: Ditto.
426
e30a7b84
JJ
4272007-09-28 Patrick Mansfield <patmans@us.ibm.com>
428
429 * libm/machine/spu/Makefile.am: Add new C files.
430 * libm/machine/spu/Makefile.in: Regenerate.
431 * libm/machine/spu/headers/acos.h: New file.
432 * libm/machine/spu/headers/acosd2.h: Ditto.
433 * libm/machine/spu/headers/acosf.h: Ditto.
434 * libm/machine/spu/headers/acosf4.h: Ditto.
435 * libm/machine/spu/headers/acosh.h: Ditto.
436 * libm/machine/spu/headers/acoshd2.h: Ditto.
437 * libm/machine/spu/headers/acoshf.h: Ditto.
438 * libm/machine/spu/headers/acoshf4.h: Ditto.
439 * libm/machine/spu/headers/asin.h: Ditto.
440 * libm/machine/spu/headers/asind2.h: Ditto.
441 * libm/machine/spu/headers/asinf.h: Ditto.
442 * libm/machine/spu/headers/asinf4.h: Ditto.
443 * libm/machine/spu/headers/asinh.h: Ditto.
444 * libm/machine/spu/headers/asinhd2.h: Ditto.
445 * libm/machine/spu/headers/asinhf.h: Ditto.
446 * libm/machine/spu/headers/asinhf4.h: Ditto.
447 * libm/machine/spu/headers/atan.h: Ditto.
448 * libm/machine/spu/headers/atan2.h: Ditto.
449 * libm/machine/spu/headers/atan2d2.h: Ditto.
450 * libm/machine/spu/headers/atan2f.h: Ditto.
451 * libm/machine/spu/headers/atan2f4.h: Ditto.
452 * libm/machine/spu/headers/atand2.h: Ditto.
453 * libm/machine/spu/headers/atanf4.h: Ditto.
454 * libm/machine/spu/headers/atanh.h: Ditto.
455 * libm/machine/spu/headers/atanhd2.h: Ditto.
456 * libm/machine/spu/headers/atanhf.h: Ditto.
457 * libm/machine/spu/headers/atanhf4.h: Ditto.
458 * libm/machine/spu/headers/cos.h: Ditto.
459 * libm/machine/spu/headers/cos_sin.h: Ditto.
460 * libm/machine/spu/headers/cosd2.h: Ditto.
461 * libm/machine/spu/headers/cosf.h: Ditto.
462 * libm/machine/spu/headers/cosf4.h: Ditto.
463 * libm/machine/spu/headers/cosh.h: Ditto.
464 * libm/machine/spu/headers/coshd2.h: Ditto.
465 * libm/machine/spu/headers/coshf.h: Ditto.
466 * libm/machine/spu/headers/coshf4.h: Ditto.
467 * libm/machine/spu/headers/divd2.h: Ditto.
468 * libm/machine/spu/headers/divf4.h: Ditto.
469 * libm/machine/spu/headers/erf.h: Ditto.
470 * libm/machine/spu/headers/erf_utils.h: Ditto.
471 * libm/machine/spu/headers/erfc.h: Ditto.
472 * libm/machine/spu/headers/erfcd2.h: Ditto.
473 * libm/machine/spu/headers/erfcf.h: Ditto.
474 * libm/machine/spu/headers/erfcf4.h: Ditto.
475 * libm/machine/spu/headers/erfd2.h: Ditto.
476 * libm/machine/spu/headers/erff.h: Ditto.
477 * libm/machine/spu/headers/erff4.h: Ditto.
478 * libm/machine/spu/headers/exp.h: Ditto.
479 * libm/machine/spu/headers/exp2.h: Ditto.
480 * libm/machine/spu/headers/exp2d2.h: Ditto.
481 * libm/machine/spu/headers/exp2f4.h: Ditto.
482 * libm/machine/spu/headers/expd2.h: Ditto.
483 * libm/machine/spu/headers/expf4.h: Ditto.
484 * libm/machine/spu/headers/expm1.h: Ditto.
485 * libm/machine/spu/headers/expm1d2.h: Ditto.
486 * libm/machine/spu/headers/expm1f.h: Ditto.
487 * libm/machine/spu/headers/expm1f4.h: Ditto.
488 * libm/machine/spu/headers/floord2.h: Ditto.
489 * libm/machine/spu/headers/floorf4.h: Ditto.
490 * libm/machine/spu/headers/hypot.h: Ditto.
491 * libm/machine/spu/headers/hypotd2.h: Ditto.
492 * libm/machine/spu/headers/hypotf.h: Ditto.
493 * libm/machine/spu/headers/hypotf4.h: Ditto.
494 * libm/machine/spu/headers/isnan.h: Ditto.
495 * libm/machine/spu/headers/isnand2.h: Ditto.
496 * libm/machine/spu/headers/isnanf.h: Ditto.
497 * libm/machine/spu/headers/isnanf4.h: Ditto.
498 * libm/machine/spu/headers/ldexpd2.h: Ditto.
499 * libm/machine/spu/headers/ldexpf4.h: Ditto.
500 * libm/machine/spu/headers/lgamma.h: Ditto.
501 * libm/machine/spu/headers/lgammad2.h: Ditto.
502 * libm/machine/spu/headers/lgammaf.h: Ditto.
503 * libm/machine/spu/headers/lgammaf4.h: Ditto.
504 * libm/machine/spu/headers/log.h: Ditto.
505 * libm/machine/spu/headers/log10.h: Ditto.
506 * libm/machine/spu/headers/log10d2.h: Ditto.
507 * libm/machine/spu/headers/log1p.h: Ditto.
508 * libm/machine/spu/headers/log1pd2.h: Ditto.
509 * libm/machine/spu/headers/log1pf.h: Ditto.
510 * libm/machine/spu/headers/log1pf4.h: Ditto.
511 * libm/machine/spu/headers/log2.h: Ditto.
512 * libm/machine/spu/headers/log2d2.h: Ditto.
513 * libm/machine/spu/headers/log2f4.h: Ditto.
514 * libm/machine/spu/headers/logbf.h: Ditto.
515 * libm/machine/spu/headers/logbf4.h: Ditto.
516 * libm/machine/spu/headers/logd2.h: Ditto.
517 * libm/machine/spu/headers/logf4.h: Ditto.
518 * libm/machine/spu/headers/nearbyintf.h: Ditto.
519 * libm/machine/spu/headers/nearbyintf4.h: Ditto.
520 * libm/machine/spu/headers/nextafter.h: Ditto.
521 * libm/machine/spu/headers/nextafterd2.h: Ditto.
522 * libm/machine/spu/headers/nextafterf.h: Ditto.
523 * libm/machine/spu/headers/nextafterf4.h: Ditto.
524 * libm/machine/spu/headers/pow.h: Ditto.
525 * libm/machine/spu/headers/powd2.h: Ditto.
526 * libm/machine/spu/headers/powf.h: Ditto.
527 * libm/machine/spu/headers/powf4.h: Ditto.
528 * libm/machine/spu/headers/recipd2.h: Ditto.
529 * libm/machine/spu/headers/recipf4.h: Ditto.
530 * libm/machine/spu/headers/rintf.h: Ditto.
531 * libm/machine/spu/headers/rintf4.h: Ditto.
532 * libm/machine/spu/headers/scalbnf4.h: Ditto.
533 * libm/machine/spu/headers/signbit.h: Ditto.
534 * libm/machine/spu/headers/signbitd2.h: Ditto.
535 * libm/machine/spu/headers/simdmath.h: Ditto.
536 * libm/machine/spu/headers/sin.h: Ditto.
537 * libm/machine/spu/headers/sincos.h: Ditto.
538 * libm/machine/spu/headers/sincosd2.h: Ditto.
539 * libm/machine/spu/headers/sincosf.h: Ditto.
540 * libm/machine/spu/headers/sincosf4.h: Ditto.
541 * libm/machine/spu/headers/sind2.h: Ditto.
542 * libm/machine/spu/headers/sinf.h: Ditto.
543 * libm/machine/spu/headers/sinf4.h: Ditto.
544 * libm/machine/spu/headers/sinh.h: Ditto.
545 * libm/machine/spu/headers/sinhd2.h: Ditto.
546 * libm/machine/spu/headers/sinhf.h: Ditto.
547 * libm/machine/spu/headers/sinhf4.h: Ditto.
548 * libm/machine/spu/headers/sqrtd2.h: Ditto.
549 * libm/machine/spu/headers/sqrtf.h: Ditto.
550 * libm/machine/spu/headers/sqrtf4.h: Ditto.
551 * libm/machine/spu/headers/tan.h: Ditto.
552 * libm/machine/spu/headers/tand2.h: Ditto.
553 * libm/machine/spu/headers/tanf.h: Ditto.
554 * libm/machine/spu/headers/tanf4.h: Ditto.
555 * libm/machine/spu/headers/tanh.h: Ditto.
556 * libm/machine/spu/headers/tanhd2.h: Ditto.
557 * libm/machine/spu/headers/tanhf.h: Ditto.
558 * libm/machine/spu/headers/tanhf4.h: Ditto.
559 * libm/machine/spu/headers/tgamma.h: Ditto.
560 * libm/machine/spu/headers/tgammad2.h: Ditto.
561 * libm/machine/spu/headers/tgammaf.h: Ditto.
562 * libm/machine/spu/headers/tgammaf4.h: Ditto.
563 * libm/machine/spu/headers/truncd2.h: Ditto.
564 * libm/machine/spu/headers/truncf4.h: Ditto.
565 * libm/machine/spu/log2.c: Ditto.
566 * libm/machine/spu/s_asinh.c: Ditto.
567 * libm/machine/spu/s_atan.c: Ditto.
568 * libm/machine/spu/s_cos.c: Ditto.
569 * libm/machine/spu/s_erf.c: Ditto.
570 * libm/machine/spu/s_expm1.c: Ditto.
571 * libm/machine/spu/s_isnan.c: Ditto.
572 * libm/machine/spu/s_log1p.c: Ditto.
573 * libm/machine/spu/s_nextafter.c: Ditto.
574 * libm/machine/spu/s_sin.c: Ditto.
575 * libm/machine/spu/s_tan.c: Ditto.
576 * libm/machine/spu/s_tanh.c: Ditto.
577 * libm/machine/spu/sf_asinh.c: Ditto.
578 * libm/machine/spu/sf_cos.c: Ditto.
579 * libm/machine/spu/sf_erf.c: Ditto.
580 * libm/machine/spu/sf_expm1.c: Ditto.
581 * libm/machine/spu/sf_log1p.c: Ditto.
582 * libm/machine/spu/sf_logb.c: Ditto.
583 * libm/machine/spu/sf_nearbyint.c: Ditto.
584 * libm/machine/spu/sf_nextafter.c: Ditto.
585 * libm/machine/spu/sf_rint.c: Ditto.
586 * libm/machine/spu/sf_sin.c: Ditto.
587 * libm/machine/spu/sf_tan.c: Ditto.
588 * libm/machine/spu/sf_tanh.c: Ditto.
589 * libm/machine/spu/w_acos.c: Ditto.
590 * libm/machine/spu/w_acosh.c: Ditto.
591 * libm/machine/spu/w_asin.c: Ditto.
592 * libm/machine/spu/w_atan2.c: Ditto.
593 * libm/machine/spu/w_atanh.c: Ditto.
594 * libm/machine/spu/w_cosh.c: Ditto.
595 * libm/machine/spu/w_exp.c: Ditto.
596 * libm/machine/spu/w_exp2.c: Ditto.
597 * libm/machine/spu/w_hypot.c: Ditto.
598 * libm/machine/spu/w_lgamma.c: Ditto.
599 * libm/machine/spu/w_log.c: Ditto.
600 * libm/machine/spu/w_log10.c: Ditto.
601 * libm/machine/spu/w_pow.c: Ditto.
602 * libm/machine/spu/w_sincos.c: Ditto.
603 * libm/machine/spu/w_sinh.c: Ditto.
604 * libm/machine/spu/w_tgamma.c: Ditto.
605 * libm/machine/spu/wf_acos.c: Ditto.
606 * libm/machine/spu/wf_acosh.c: Ditto.
607 * libm/machine/spu/wf_asin.c: Ditto.
608 * libm/machine/spu/wf_atan2.c: Ditto.
609 * libm/machine/spu/wf_atanh.c: Ditto.
610 * libm/machine/spu/wf_cosh.c: Ditto.
611 * libm/machine/spu/wf_hypot.c: Ditto.
612 * libm/machine/spu/wf_lgamma.c: Ditto.
613 * libm/machine/spu/wf_pow.c: Ditto.
614 * libm/machine/spu/wf_sincos.c: Ditto.
615 * libm/machine/spu/wf_sinh.c: Ditto.
616 * libm/machine/spu/wf_sqrt.c: Ditto.
617 * libm/machine/spu/wf_tgamma.c: Ditto.
618
505ea714
JJ
6192007-09-28 Patrick Mansfield <patmans@us.ibm.com>
620
621 * configure.host: Define _POSIX_MODE to match the existing vector
622 math code, as we don't support the matherr callout.
623 * libm/machine/spu/Makefile.am: New file.
624 * libm/machine/spu/Makefile.in: Auto-generated.
625 * libm/machine/spu/headers/atanf.h: New file.
626 * libm/machine/spu/headers/cbrt.h: Ditto.
627 * libm/machine/spu/headers/cbrtf.h: Ditto.
628 * libm/machine/spu/headers/ceil.h: Ditto.
629 * libm/machine/spu/headers/ceilf.h: Ditto.
630 * libm/machine/spu/headers/copysign.h: Ditto.
631 * libm/machine/spu/headers/copysignf.h: Ditto.
632 * libm/machine/spu/headers/exp2f.h: Ditto.
633 * libm/machine/spu/headers/expf.h: Ditto.
634 * libm/machine/spu/headers/fabs.h: Ditto.
635 * libm/machine/spu/headers/fabsf.h: Ditto.
636 * libm/machine/spu/headers/fdim.h: Ditto.
637 * libm/machine/spu/headers/fdimf.h: Ditto.
638 * libm/machine/spu/headers/floor.h: Ditto.
639 * libm/machine/spu/headers/floorf.h: Ditto.
640 * libm/machine/spu/headers/fma.h: Ditto.
641 * libm/machine/spu/headers/fmaf.h: Ditto.
642 * libm/machine/spu/headers/fmax.h: Ditto.
643 * libm/machine/spu/headers/fmaxf.h: Ditto.
644 * libm/machine/spu/headers/fmin.h: Ditto.
645 * libm/machine/spu/headers/fminf.h: Ditto.
646 * libm/machine/spu/headers/fmod.h: Ditto.
647 * libm/machine/spu/headers/fmodf.h: Ditto.
648 * libm/machine/spu/headers/frexp.h: Ditto.
649 * libm/machine/spu/headers/frexpf.h: Ditto.
650 * libm/machine/spu/headers/ilogb.h: Ditto.
651 * libm/machine/spu/headers/ilogbf.h: Ditto.
652 * libm/machine/spu/headers/ldexp.h: Ditto.
653 * libm/machine/spu/headers/ldexpf.h: Ditto.
654 * libm/machine/spu/headers/llrint.h: Ditto.
655 * libm/machine/spu/headers/llrintf.h: Ditto.
656 * libm/machine/spu/headers/llround.h: Ditto.
657 * libm/machine/spu/headers/llroundf.h: Ditto.
658 * libm/machine/spu/headers/log10f.h: Ditto.
659 * libm/machine/spu/headers/log2f.h: Ditto.
660 * libm/machine/spu/headers/logf.h: Ditto.
661 * libm/machine/spu/headers/lrint.h: Ditto.
662 * libm/machine/spu/headers/lrintf.h: Ditto.
663 * libm/machine/spu/headers/lround.h: Ditto.
664 * libm/machine/spu/headers/lroundf.h: Ditto.
665 * libm/machine/spu/headers/nearbyint.h: Ditto.
666 * libm/machine/spu/headers/remainder.h: Ditto.
667 * libm/machine/spu/headers/remainderf.h: Ditto.
668 * libm/machine/spu/headers/remquo.h: Ditto.
669 * libm/machine/spu/headers/remquof.h: Ditto.
670 * libm/machine/spu/headers/rint.h: Ditto.
671 * libm/machine/spu/headers/round.h: Ditto.
672 * libm/machine/spu/headers/roundf.h: Ditto.
673 * libm/machine/spu/headers/scalbn.h: Ditto.
674 * libm/machine/spu/headers/scalbnf.h: Ditto.
675 * libm/machine/spu/headers/sqrt.h: Ditto.
676 * libm/machine/spu/headers/trunc.h: Ditto.
677 * libm/machine/spu/headers/truncf.h: Ditto.
678 * libm/machine/spu/headers/vec_literal.h: Ditto.
679 * libm/machine/spu/llrint.c: Ditto.
680 * libm/machine/spu/llrintf.c: Ditto.
681 * libm/machine/spu/llround.c: Ditto.
682 * libm/machine/spu/llroundf.c: Ditto.
683 * libm/machine/spu/log2f.c: Ditto.
684 * libm/machine/spu/s_cbrt.c: Ditto.
685 * libm/machine/spu/s_ceil.c: Ditto.
686 * libm/machine/spu/s_copysign.c: Ditto.
687 * libm/machine/spu/s_fabs.c: Ditto.
688 * libm/machine/spu/s_fdim.c: Ditto.
689 * libm/machine/spu/s_floor.c: Ditto.
690 * libm/machine/spu/s_fma.c: Ditto.
691 * libm/machine/spu/s_fmax.c: Ditto.
692 * libm/machine/spu/s_fmin.c: Ditto.
693 * libm/machine/spu/s_frexp.c: Ditto.
694 * libm/machine/spu/s_ilogb.c: Ditto.
695 * libm/machine/spu/s_ldexp.c: Ditto.
696 * libm/machine/spu/s_lrint.c: Ditto.
697 * libm/machine/spu/s_lround.c: Ditto.
698 * libm/machine/spu/s_nearbyint.c: Ditto.
699 * libm/machine/spu/s_remquo.c: Ditto.
700 * libm/machine/spu/s_rint.c: Ditto.
701 * libm/machine/spu/s_round.c: Ditto.
702 * libm/machine/spu/s_scalbn.c: Ditto.
703 * libm/machine/spu/s_trunc.c: Ditto.
704 * libm/machine/spu/sf_atan.c: Ditto.
705 * libm/machine/spu/sf_cbrt.c: Ditto.
706 * libm/machine/spu/sf_ceil.c: Ditto.
707 * libm/machine/spu/sf_copysign.c: Ditto.
708 * libm/machine/spu/sf_fabs.c: Ditto.
709 * libm/machine/spu/sf_fdim.c: Ditto.
710 * libm/machine/spu/sf_floor.c: Ditto.
711 * libm/machine/spu/sf_fma.c: Ditto.
712 * libm/machine/spu/sf_fmax.c: Ditto.
713 * libm/machine/spu/sf_fmin.c: Ditto.
714 * libm/machine/spu/sf_frexp.c: Ditto.
715 * libm/machine/spu/sf_ilogb.c: Ditto.
716 * libm/machine/spu/sf_ldexp.c: Ditto.
717 * libm/machine/spu/sf_lrint.c: Ditto.
718 * libm/machine/spu/sf_lround.c: Ditto.
719 * libm/machine/spu/sf_remquo.c: Ditto.
720 * libm/machine/spu/sf_round.c: Ditto.
721 * libm/machine/spu/sf_scalbn.c: Ditto.
722 * libm/machine/spu/sf_trunc.c: Ditto.
723 * libm/machine/spu/w_fmod.c: Ditto.
724 * libm/machine/spu/w_remainder.c: Ditto.
725 * libm/machine/spu/w_sqrt.c: Ditto.
726 * libm/machine/spu/wf_exp.c: Ditto.
727 * libm/machine/spu/wf_exp2.c: Ditto.
728 * libm/machine/spu/wf_fmod.c: Ditto.
729 * libm/machine/spu/wf_log.c: Ditto.
730 * libm/machine/spu/wf_log10.c: Ditto.
731 * libm/machine/spu/wf_remainder.c: Ditto.
c99e78b8 732
364faf91
JJ
7332007-09-21 Patrick Mansfield <patmans@us.ibm.com>
734
735 * libc/machine/spu/sys/uio.h: New file for readv and writev use.
736
2f3d28fc
JJ
7372007-09-21 Patrick Mansfield <patmans@us.ibm.com>
738
739 * libc/include/sched.h: New file, just include sys/sched.h.
740 * libc/machine/spu/sys/sched.h: New file, has just sched_yield
741 prototype.
742 * libc/machine/spu/sys/utime.h: New file, has utime prototype and
743 struct utimbuf definition.
744
63fbe1fd
JJ
7452007-09-21 Patrick Mansfield <patmans@us.ibm.com>
746
747 * libc/machine/spu/sys/dirent.h: New file, add prototypes and SPU
748 specific struct and typedef.
749
7502007-09-18 Patrick Mansfield <patmans@us.ibm.com>
cebf33e4
JJ
751
752 * libc/include/sys/types.h: Use __dev_t, __uid_t, and __gid_t to
753 typedef dev_t, gid_t, and uid_t.
754 * libc/include/sys/_types.h: Move previous dev_t, uid_t and gid_t
755 types.h code to here, but typedef __dev_t, __uid_t, and __gid_t instead.
756 Change to lower case for all __foo_t_defined names.
757 * libc/machine/spu/machine/_types.h: Add SPU specific __dev_t,
758 __uid_t, and __gid_t making them all four bytes. Change to lower case
759 for all __foo_t_defined names.
760
3908c985
JJ
7612007-09-18 Jeff Johnston <jjohnstn@redhat.com>
762
763 * libc/reent/renamer.c: New file.
764 * libc/reent/Makefile.am: Add new file.
765 * libc/reent/Makefile.in: Regenerated.
766 * libc/stdio/rename.c: Break out _rename_r code into reent/renamer.c
767 and add check for rename syscall.
768
ba21046d
EB
7692007-09-17 Eric Blake <ebb9@byu.net>
770
771 Obey POSIX on printf("%.s", (char*)NULL).
772 * libc/stdio/vfprintf.c (_VFPRINTF_R): Take precision into account
773 for %s on NULL. Skip NULL check when optimizing for size.
774
e5ae7230
JJ
7752007-09-07 Jeff Johnston <jjohnstn@redhat.com>
776
777 * libc/include/sys/_types.h: Protect all types with flag
778 checks to allow definition in machine/_types.h.
779
36fe6da6
JJ
7802007-09-07 Jeff Johnston <jjohnstn@redhat.com>
781
782 * libc/sys/linux/sys/_types.h: Add _fpos_t and _fpos64_t
783 definitions in light of the previous change.
784
7852007-09-07 Patrick Mansfield <patmans@us.ibm.com>
dde22334
JJ
786
787 * libc/include/machine/_default_types.h: New file, contains what
788 was previously in libc/include/machine/_types.h.
789 * libc/include/machine/_types.h: Now only includes
790 machine/_default_types.h.
791 * libc/include/sys/reent.h: Remove _fpos_t and _fpos64_t.
792 * libc/include/sys/_types.h: Move _fpos_t and _fpos64_t to here,
793 with conditional declarations.
794 * libc/machine/spu/machine/_types.h: New file, add SPU specific
795 typedefs for _fpos_t and _fpos64_t.
796
78e66fb9
JJ
7972007-09-07 Jeff Johnston <jjohnstn@redhat.com>
798
799 * libc/include/math.h (_M_LOG2E): Replace with..
800 (_M_LOG2_E): New macro.
801 (log2, log2f, M_LOG2_E): Use _M_LOG2_E.
802
345c1595
BD
8032007-09-06 Brian Dessent <brian@dessent.net>
804
805 * libc/reent/getreent.c: Allow for case where __getreent is
806 defined as a macro.
807
6494ee83
JJ
8082007-09-06 Jeff Johnston <jjohnstn@redhat.com>
809
810 * libc/include/math.h (_M_LOG2E): New log2 of e macro.
811 (log2): Use _M_LOG2E instead of M_LOG2E.
812 (log2f): Ditto.
813 (M_LOG2E): Define to be _M_LOG2E.
814
86a934d2
JJ
8152007-09-04 Kazunori Asayama <asayama@sm.sony.co.jp>
816
817 * libm/math/wf_tgamma.c: Add missing include.
818
6ddf8bef
JJ
8192007-08-31 Antony King <antony.king@st.com>
820
ba21046d 821 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS}: Define IEEE_Arith
6ddf8bef
JJ
822 bits and redefine associated dword0 macro (rvalue issue).
823 * libc/stdio/vfieeefp.h: Ditto.
ba21046d
EB
824 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
825 to prevent setting dword1 which is an rvalue only.
6ddf8bef 826
d4a27886
JJ
8272007-08-28 Hans Kester <hans.kester@ellips.nl>
828
829 * configure.host: Added support for x86_64.
830 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for x86_64.
831 * libc/include/machine/setjmp.h: Define _JBTYPE and _JBLEN for x86_64.
832 * libc/machine/x86_64/aclocal.m4: Generated.
833 * libc/machine/x86_64/configure.in: New.
834 * libc/machine/x86_64/configure: Generated.
835 * libc/machine/x86_64/Makefile.am: New.
836 * libc/machine/x86_64/Makefile.in: Generated.
837 * libc/machine/x86_64/setjmp.S: New.
838 * libc/machine/x86_64/memcpy.S: New.
839 * libc/machine/x86_64/memset.S: New.
840 * libc/machine/configure.in: Added support for x86_64.
841 * libc/machine/configure: Regenerated.
842
309faeb5
JJ
8432007-08-24 Jeff Johnston <jjohnstn@redhat.com>
844
845 * libm/common/sf_lround.c (lroundf): Cast sizeof calculation
846 to int before comparing it to a signed int value.
847
8d44415e
HPN
8482007-08-24 Hans-Peter Nilsson <hp@axis.com>
849
850 * libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
851 (EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP):
852 Define.
853
e6e56f7c
JJ
8542007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
855
856 Reduce the memory consumption of variable argument functions
857 for SPU (cell):
858 * libc/machine/spu/Makefile.am: Replace printf/scanf family C sources
859 to assembler sources.
860 * libc/machine/spu/Makefile.in: Regenerated.
861 * libc/machine/spu/stdio.c: Add __check_init function wrapping
862 CHECK_INIT macro to use from assembler routines.
863 * libc/machine/spu/c99ppe.h: Add definitions for assembler code.
864 * libc/machine/spu/fiprintf.S: New file.
865 * libc/machine/spu/fiscanf.S: Ditto.
866 * libc/machine/spu/fprintf.S: Ditto.
867 * libc/machine/spu/fscanf.S: Ditto.
868 * libc/machine/spu/iprintf.S: Ditto.
869 * libc/machine/spu/iscanf.S: Ditto.
870 * libc/machine/spu/printf.S: Ditto.
871 * libc/machine/spu/scanf.S: Ditto.
872 * libc/machine/spu/siprintf.S: Ditto.
873 * libc/machine/spu/siscanf.S: Ditto.
874 * libc/machine/spu/sniprintf.S: Ditto.
875 * libc/machine/spu/snprintf.S: Ditto.
876 * libc/machine/spu/sprintf.S: Ditto.
877 * libc/machine/spu/sscanf.S: Ditto.
878 * libc/machine/spu/stack_reg_va.S: Ditto.
879 * libc/machine/spu/syscall.def: Ditto. (for maintenance)
880 * libc/machine/spu/mk_syscalls: Ditto. (for maintenance)
881 * libc/machine/spu/fiprintf.c: Removed. (Replaced by .S)
882 * libc/machine/spu/fiscanf.c: Ditto.
883 * libc/machine/spu/fprintf.c: Ditto.
884 * libc/machine/spu/fscanf.c: Ditto.
885 * libc/machine/spu/iprintf.c: Ditto.
886 * libc/machine/spu/iscanf.c: Ditto.
887 * libc/machine/spu/printf.c: Ditto.
888 * libc/machine/spu/scanf.c: Ditto.
889 * libc/machine/spu/siprintf.c: Ditto.
890 * libc/machine/spu/siscanf.c: Ditto.
891 * libc/machine/spu/sniprintf.c: Ditto.
892 * libc/machine/spu/snprintf.c: Ditto.
893 * libc/machine/spu/sprintf.c: Ditto.
894 * libc/machine/spu/sscanf.c: Ditto.
895
90c6084b
JJ
8962007-08-03 Ralf Corsepius <ralf.corsepius@rtems.org>
897
898 * libc/include/tar.h: New.
899
8fb88162
JJ
9002007-08-03 Jeff Johnston <jjohnstn@redhat.com>
901
902 * libc/sys/linux/intl/Makefile.am: Change stpcpy reference to
903 lcl_stpcpy to avoid conflict with new stpcpy.c in libc/string.
904 * libc/sys/linux/intl/Makefile.in: Regenerated.
905 * libc/sys/linux/intl/stpcpy.c: Renamed to...
906 * libc/sys/linux/intl/lcl_stpcpy.c: ..this.
907
6ddcdb9d
EB
9082007-08-02 Eric Blake <ebb9@byu.net>
909
910 Implement fmemopen and open_memstream.
911 * libc/stdio/fmemopen.c (_fmemopen_r, fmemopen): New file.
912 * libc/stdio/open_memstream.c (_open_memstream_r, open_memstream):
913 New file.
914 * libc/stdio/fopencookie.c (fcwriter): Minor optimization.
915 * libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x
916 functions together.
917 (fmemopen, open_memstream): Declare new functions.
918 * libc/stdio/stdio.tex: Document them.
919 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Add
920 fmemopen and open_memstream.
921 * libc/stdio/Makefile.in: Regenerate.
922
f7c978d5
EB
9232007-07-31 Eric Blake <ebb9@byu.net>
924
925 More POSIX stream corner cases.
926 * libc/stdio/findfp.c (__sinit): Open stderr read/write.
927 * libc/stdio/fdopen.c (_fdopen_r): Set O_APPEND on fd when
928 requested.
929 * libc/stdio64/fdopen64.c (_fdopen64_r): Likewise.
930
391b530a
EB
9312007-07-18 Eric Blake <ebb9@byu.net>
932
933 Fix 'make info'.
934 * libc/stdio/stdio.tex: Add missing include.
935 * libc/stdio/vfprintf.c: Use expected node name.
936 * libc/stdio/vfscanf.c: Likewise.
937 * libc/stdio/sscanf.c: Likewise.
938 * libc/stdio/sprintf.c: Likewise.
939 * libc/stdio/siscanf.c: Likewise.
940 * libc/stdio/siprintf.c: Likewise.
941 * libc/stdio/fopencookie.c: Quote raw {}.
942 Reported by DJ Delorie.
943
88c88881
EB
9442007-07-13 Eric Blake <ebb9@byu.net>
945
08146e5a
EB
946 Fix fflush issues.
947 * libc/stdio/fflush.c (_fflush_r): New function.
948 (fflush): Fix reentrancy and large offset behavior.
949 * libc/include/stdio.h (_fflush_r): Add prototype.
950 * libc/stdio/fclose.c (_fclose_r): All fflush callers changed.
951 * libc/stdio/freopen.c (_freopen_r): Likewise.
952 * libc/stdio/fseek.c (_fseek_r): Likewise.
953 * libc/stdio/ftell.c (_ftell_r): Likewise.
954 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
955 * libc/stdio/refill.c (__srefill_r): Likewise.
956 * libc/stdio/setvbuf.c (setvbuf): Likewise.
957 * libc/stdio/ungetc.c (_ungetc_r): Likewise.
958 * libc/stdio/vfprintf.c (__sbprintf): Likewise.
959 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
960 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
961 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise. Defer to
962 32-bit version if not large file.
963 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
964 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.
965
88c88881
EB
966 Documentation updates.
967 * libc/stdio/ungetc.c: Document ungetc.
968 * libc/stdio/Makefile.am (CHEWOUT_FILES): Sort, match current list
969 of files with documentation.
970 * libc/stdio/Makefile.in: Regenerate.
971 * libc/stdio/stdio.tex: Sort and update stdio documentation index.
972
c4ccbcce
JJ
9732007-07-11 Jeff Johnston <jjohnstn@redhat.com>
974
975 * libc/include/math.h: Fix so C99 functions/macros are accessible
976 when -std=c99 is used when compiling and not when using C89.
977
dec27025
CV
9782007-07-06 Corinna Vinschen <corinna@vinschen.de>
979
980 * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul,
981 wcstoull, _wcstol_r, _wcstoll_r, _wcstoul_r and _wcstoull_r.
982 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstol.c and wcstoul.c.
983 (EXTENDED_SOURCES): Add wcstoll.c, wcstoll_r.c, wcstoull.c and
984 wcstoull_r.c.
985 (CHEWOUT_FILES): Add .def files accordingly.
986 * libc/stdlib/Makefile.in: Regenerate.
987 * libc/stdlib/stdlib.tex: Add documentation links for above functions.
988 * libc/stdlib/strtoll.c: Fix portability note.
989 * libc/stdlib/strtoull.c: Ditto.
990 * libc/stdlib/wcstol.c: New file.
991 * libc/stdlib/wcstoll.c: New file.
992 * libc/stdlib/wcstoll_r.c: New file.
993 * libc/stdlib/wcstoul.c: New file.
994 * libc/stdlib/wcstoull.c: New file.
995 * libc/stdlib/wcstoull_r.c: New file.
996
0be2bc94
JJ
9972007-07-06 Jeff Johnston <jjohnstn@redhat.com>
998
999 * libc/include/sys/time.h (gettimeofday): Change to proper
1000 prototype where second parameter is void *.
1001 * libc/reent/gettimeofdayr.c (_gettimeofday_r): Change prototype
1002 accordingly.
1003 * libc/include/reent.h: Fix prototype for _gettimeofday_r.
1004 * libc/sys/arm/syscalls.c: Fix gettimeofday function signature.
1005 * libc/sys/rdos/gettod.c: Ditto.
1006 * libc/sys/sh/syscalls.c: Ditto.
1007 * libc/time/time.c (time): Change call to _gettimeofday_r
1008 to pass NULL as 2nd argument.
1009
ba9af2d7
JJ
10102007-07-06 Jeff Johnston <jjohnstn@redhat.com>
1011
1012 * libc/sys/linux/intl/dcigettext.c: Define HAVE_STPCPY.
1013 * libc/sys/linux/intl/l10nflist.c: Ditto.
1014
a3721512
CV
10152007-07-04 Corinna Vinschen <corinna@vinschen.de>
1016
1017 * libc/include/wchar.h: Add prototype for wcsxfrm.
1018 * libc/string/Makefile.am (GENERAL_SOURCES): Add wcsxfrm.c.
1019 (CHEWOUT_FILES): Add wcsxfrm.def.
1020 * libc/string/Makefile.in: Regenerate.
1021 * libc/string/wcsxfrm.c: New file.
1022 * libc/string/wcstrings.tex: Add wcsxfrm.
1023
5d8b97a6
CV
10242007-06-28 Corinna Vinschen <corinna@vinschen.de>
1025
1026 * libc/include/string.h: Add prototypes for stpcpy and stpncpy.
1027 * libc/string/Makefile.am (ELIX_SOURCES): Add stpcpy.c and
1028 stpncpy.c.
1029 (CHEWOUT_FILES): Add stpcpy.def and stpncpy.def.
1030 * libc/string/Makefile.in: Regenerate.
1031 * libc/string/stpcpy.c: New file.
1032 * libc/string/stpncpy.c: New file.
1033 * libc/string/strings.tex: Add stpcpy and stpncpy.
1034
3473e6bd
EB
10352007-06-27 Eric Blake <ebb9@byu.net>
1036
1037 Support __func__ in assert, as required by C99.
1038 * libc/stdlib/assert.c (__assert_func): New function.
1039 (__assert): Use __assert_func.
1040 * libc/include/assert.h (assert) [!NDEBUG]: Use __assert_func when
1041 possible.
1042
be977229
JJ
10432007-06-20 Patrick Mansfield <patmans@us.ibm.com>
1044
1045 * libc/machine/spu/perror.c: Pass errno as the second argument to
1046 the assist call.
1047
d360ef18
JJ
10482007-06-20 Patrick Mansfield <patmans@us.ibm.com>
1049
1050 * libc/include/sys/unistd.h[__SPU__]: Add lockf prototype and related
1051 defines; expose ftruncate, truncate and sync prototypes.
1052
f75c7518
JJ
10532007-06-20 Patrick Mansfield <patmans@us.ibm.com>
1054
1055 * libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible.
3473e6bd 1056 * libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes
f75c7518
JJ
1057 visible.
1058
438b07b0
JJ
10592007-06-15 Patrick Mansfield <patmans@us.ibm.com>
1060
1061 * libc/machine/spu/Makefile.am: Remove mktemp.c, it was left in
1062 from a dropped patch.
1063 * libc/machine/spu/Makefile.in: Regenerate.
1064
c33ff785
JJ
10652007-06-13 Patrick Mansfield <patmans@us.ibm.com>
1066
1067 * libc/machine/spu/creat.c: New file copied from libc/posix/creat.c,
3473e6bd 1068 it just calls open with appropriate arguments.
c33ff785
JJ
1069 * libc/machine/spu/Makefile.am: Add creat.c.
1070 * libc/machine/spu/Makefile.in: Regenerate.
1071
ae473bdc
JJ
10722007-06-13 Jeff Johnston <jjohnstn@redhat.com>
1073
1074 * libc/machine/spu/Makefile.am: Re-add back setjmp.S which
1075 I accidentally dropped.
1076 * libc/machine/spu/Makefile.in: Regenerated.
1077
a8b08518
JJ
10782007-06-13 Patrick Mansfield <patmans@us.ibm.com>
1079
1080 * libc/include/sys/features.h: Define _POSIX_TIMERS for spu.
1081 * libc/include/sys/unistd.h: Change usleep prototype to Posix
1082 form and move outside of OS flag checks.
1083 * libc/machine/spu/Makefile.am: Add sleep and usleep.
1084 * libc/machine/spu/Makefile.in: Regenerate.
1085 * libc/machine/spu/sleep.c: Copy libc/posix/sleep.c.
1086 * libc/machine/spu/usleep.c: Copy libc/posix/usleep.c.
1087
f4cd2a1d
CV
10882007-06-11 Corinna Vinschen <corinna@vinschen.de>
1089
1090 * libc/include/sys/unistd.h: Declare confstr for Cygwin.
1091 Define confstr constants for Cygwin. Add comment.
1092
32f67ec6
HPN
10932007-06-10 Hans-Peter Nilsson <hp@bitrange.com>
1094
1095 * libc/sys/mmixware/access.c (access): Do not try to use a magic
1096 file-handle and a direct syscall, just use _open.
1097 * libc/sys/mmixware/sys/syscall.h (TMPFNO): Remove this magic
1098 file-handle.
1099
1100 * libc/sys/mmixware/_exit.c (_exit): Update comment about
1101 passing on the exit value.
1102
6fb37475
JJ
11032007-06-08 Jeff Johnston <jjohnstn@redhat.com>
1104
1105 * libc/string/strcasestr.c: New file.
1106 * libc/include/string.h: Add strcasestr.
1107 * libc/string/strings.tex: Add strcasestr.
1108 * libc/string/Makefile.am: Ditto.
1109 * libc/string/Makefile.in: Regenerated.
1110
1eeaeab8
JJ
11112007-06-06 Christian Groessler <chris@groessler.org>
1112
1113 * libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
1114 rnd is done after the last local variable declaration.
1115
11162007-06-06 Jeff Johnston <jjohnstn@redhat.com>
1117
1118 * libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.
1119
a5da131d
JJ
11202007-06-05 Christian Groessler <chris@groessler.org>
1121
3473e6bd 1122 * libc/argz/argz_insert.c (argz_insert): Move delta variable
a874abaf 1123 declaration to top of function in keeping with C89 standard.
a5da131d 1124
17c61d6a
EB
11252007-06-04 Eric Blake <ebb9@byu.net>
1126
1127 Implement funopen, fopencookie.
1128 * libc/include/sys/reent.h (struct __sFILE, struct __sFILE64):
1129 Switch to reentrant callbacks.
1130 * libc/include/stdio.h (funopen): Fix declaration.
1131 (fopencookie): Declare.
1132 * libc/stdio/local.h (__sread, __swrite, __sseek, __sclose)
1133 (__sseek64, __swrite64): Fix prototypes.
1134 [__SCLE]: Pull in setmode declaration.
1135 * libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix
1136 reentrancy.
1137 * libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete.
1138 (__sseek64, __swrite64): Fix reentrancy.
1139 * libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
1140 reentrancy.
1141 * libc/stdio/ftell.c (_ftell_r): Likewise.
1142 * libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+".
1143 * libc/stdio/fclose.c (_fclose_r): Fix reentrancy.
1144 * libc/stdio/freopen.c (_freopen_r): Likewise.
1145 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
1146 * libc/stdio/refill.c (__srefill_r): Likewise.
1147 * libc/stdio/siscanf.c (eofread): Likewise.
1148 * libc/stdio/sscanf.c (eofread): Likewise.
1149 * libc/stdio/vsiscanf.c (eofread1): Likewise.
1150 * libc/stdio/vsscanf.c (eofread1): Likewise.
1151 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
1152 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
1153 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
1154 * libc/stdio/fflush.c (fflush): Improve reentrancy, although more
1155 could be fixed.
1156 * libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file.
1157 * libc/stdio/funopen.c (_funopen_r, funopen): New file.
1158 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build
1159 new files.
1160 * libc/stdio/Makefile.in: Regenerate.
1161
b2064783
EB
11622007-05-29 Eric Blake <ebb9@byu.net>
1163
1164 Avoid more compiler warnings.
1165 * libc/stdlib/btowc.c: Add missing header.
1166 * libc/stdlib/getopt.c (getopt_internal): Initialize variable.
1167 * libc/stdlib/system.c (do_system) [__CYGWIN__]: Add declaration.
1168 * libc/stdlib/wctob.c: Add missing header.
1169 * libc/string/strcpy.c (strcpy): Avoid warnings.
1170 * libc/string/strrchr.c (strrchr): Likewise.
1171
76a2ee78
CV
11722007-05-29 Corinna Vinschen <corinna@vinschen.de>
1173
1174 * libc/argz/argz_add_sep.c (argz_add_sep): Handle empty string
1175 argument.
1176 * libc/argz/argz_append.c (argz_append): Handle empty buf argument.
1177 * libc/argz/argz_create_sep.c (argz_create_sep): Return (NULL, 0)
1178 on empty input strings.
1179 * libc/argz/argz_extract.c (argz_extract): Check argz_len before
1180 looping through argz.
1181 * libc/argz/argz_stringify.c (argz_stringify): Ditto.
1182
75acf0bb
EB
11832007-05-27 Brian Dessent <brian@dessent.net>
1184
1185 * libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
1186 handling %p.
1187
f5c58e9a
EB
11882007-05-25 Eric Blake <ebb9@byu.net>
1189
1190 * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
1191
d9a1ecc0 11922007-05-24 Steve Ellcey <sje@cup.hp.com>
f5c58e9a 1193 Charles Wilson <libtool@cwilson.fastmail.fm>
d9a1ecc0
SE
1194
1195 * libtool.m4: removed
1196 * configure.in: invoke _LD_DECL_SED before conditionally initializing
1197 libtool. Move AC_PROG_AWK outside conditional.
1198 * libc/sys/linux/configure.in: Ditto.
1199 * libc/sys/linux/linuxthreads/configure.in: Ditto.
1200 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
1201 * libc/sys/linux/machine/i386/configure.in: Ditto.
1202
1203 * iconvdata/configure.in: invoke _LD_DECL_SED before conditionally
1204 initializing libtool.
1205 * libc/configure.in: Ditto.
1206 * libc/machine/configure.in: Ditto.
1207 * libc/machine/i386/configure.in: Ditto.
1208 * libc/sys/configure.in: Ditto.
1209 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
1210 * libc/sys/linux/machine/configure.in: Ditto.
1211 * libm/configure.in: Ditto.
1212 * libm/machine/configure.in: Ditto.
1213
1214 * Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
1215 * doc/Makefile.am: Ditto.
1216 * iconvdata/Makefile.am: Ditto.
1217 * libc/Makefile.am: Ditto.
1218 * libc/machine/Makefile.am: Ditto.
1219 * libc/machine/a29k/Makefile.am: Ditto.
1220 * libc/machine/arm/Makefile.am: Ditto.
1221 * libc/machine/bfin/Makefile.am: Ditto.
1222 * libc/machine/cris/Makefile.am: Ditto.
1223 * libc/machine/crx/Makefile.am: Ditto.
1224 * libc/machine/d10v/Makefile.am: Ditto.
1225 * libc/machine/d30v/Makefile.am: Ditto.
1226 * libc/machine/fr30/Makefile.am: Ditto.
1227 * libc/machine/frv/Makefile.am: Ditto.
1228 * libc/machine/h8300/Makefile.am: Ditto.
1229 * libc/machine/h8500/Makefile.am: Ditto.
1230 * libc/machine/hppa/Makefile.am: Ditto.
1231 * libc/machine/i386/Makefile.am: Ditto.
1232 * libc/machine/i960/Makefile.am: Ditto.
1233 * libc/machine/iq2000/Makefile.am: Ditto.
1234 * libc/machine/m32c/Makefile.am: Ditto.
1235 * libc/machine/m32r/Makefile.am: Ditto.
1236 * libc/machine/m68hc11/Makefile.am: Ditto.
1237 * libc/machine/m68k/Makefile.am: Ditto.
1238 * libc/machine/m88k/Makefile.am: Ditto.
1239 * libc/machine/mips/Makefile.am: Ditto.
1240 * libc/machine/mn10200/Makefile.am: Ditto.
1241 * libc/machine/mn10300/Makefile.am: Ditto.
1242 * libc/machine/mt/Makefile.am: Ditto.
1243 * libc/machine/necv70/Makefile.am: Ditto.
1244 * libc/machine/powerpc/Makefile.am: Ditto.
1245 * libc/machine/sh/Makefile.am: Ditto.
1246 * libc/machine/sparc/Makefile.am: Ditto.
1247 * libc/machine/spu/Makefile.am: Ditto.
1248 * libc/machine/tic4x/Makefile.am: Ditto.
1249 * libc/machine/tic80/Makefile.am: Ditto.
1250 * libc/machine/v850/Makefile.am: Ditto.
1251 * libc/machine/w65/Makefile.am: Ditto.
1252 * libc/machine/xscale/Makefile.am: Ditto.
1253 * libc/machine/xstormy16/Makefile.am: Ditto.
1254 * libc/machine/z8k/Makefile.am: Ditto.
1255 * libc/sys/Makefile.am: Ditto.
1256 * libc/sys/a29khif/Makefile.am: Ditto.
1257 * libc/sys/arc/Makefile.am: Ditto.
1258 * libc/sys/arm/Makefile.am: Ditto.
1259 * libc/sys/d10v/Makefile.am: Ditto.
1260 * libc/sys/decstation/Makefile.am: Ditto.
1261 * libc/sys/h8300hms/Makefile.am: Ditto.
1262 * libc/sys/h8500hms/Makefile.am: Ditto.
1263 * libc/sys/linux/Makefile.am: Ditto.
1264 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
1265 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
1266 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
1267 * libc/sys/linux/machine/Makefile.am: Ditto.
1268 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
1269 * libc/sys/m88kbug/Makefile.am: Ditto.
1270 * libc/sys/mmixware/Makefile.am: Ditto.
1271 * libc/sys/netware/Makefile.am: Ditto.
1272 * libc/sys/rdos/Makefile.am: Ditto.
1273 * libc/sys/rtems/Makefile.am: Ditto.
1274 * libc/sys/sh/Makefile.am: Ditto.
1275 * libc/sys/sparc64/Makefile.am: Ditto.
1276 * libc/sys/sun4/Makefile.am: Ditto.
1277 * libc/sys/sysmec/Makefile.am: Ditto.
1278 * libc/sys/sysnec810/Makefile.am: Ditto.
1279 * libc/sys/sysnecv850/Makefile.am: Ditto.
1280 * libc/sys/sysvi386/Makefile.am: Ditto.
1281 * libc/sys/sysvnecv70/Makefile.am: Ditto.
1282 * libc/sys/tic80/Makefile.am: Ditto.
1283 * libc/sys/w65/Makefile.am: Ditto.
1284 * libc/sys/z8ksim/Makefile.am: Ditto.
1285 * libm/Makefile.am: Ditto.
1286 * libm/machine/Makefile.am: Ditto.
1287 * libm/machine/i386/Makefile.am: Ditto.
1288 * libm/machine/spu/Makefile.am: Ditto.
1289
1290 * aclocal.m4: Regenerate.
1291 * iconvdata/aclocal.m4: Regenerate.
1292 * libc/aclocal.m4: Regenerate.
1293 * libc/machine/aclocal.m4: Regenerate.
1294 * libc/machine/i386/aclocal.m4: Regenerate.
1295 * libc/sys/aclocal.m4: Regenerate.
1296 * libc/sys/linux/aclocal.m4: Regenerate.
1297 * libc/sys/linux/linuxthreads/aclocal.m4: Regenerate.
1298 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Regenerate.
1299 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Regenerate.
1300 * libc/sys/linux/machine/aclocal.m4: Regenerate.
1301 * libc/sys/linux/machine/i386/aclocal.m4: Regenerate.
1302 * libm/aclocal.m4: Regenerate.
1303 * libm/machine/aclocal.m4: Regenerate.
1304 * libm/machine/i386/aclocal.m4: Regenerate.
1305
1306 * Makefile.in: Regenerate.
1307 * doc/Makefile.in: Regenerate.
1308 * iconvdata/Makefile.in: Regenerate.
1309 * libc/Makefile.in: Regenerate.
1310 * libc/argz/Makefile.in: Regenerate.
1311 * libc/ctype/Makefile.in: Regenerate.
1312 * libc/errno/Makefile.in: Regenerate.
1313 * libc/iconv/Makefile.in: Regenerate.
1314 * libc/iconv/ccs/Makefile.in: Regenerate.
1315 * libc/iconv/ccs/binary/Makefile.in: Regenerate.
1316 * libc/iconv/ces/Makefile.in: Regenerate.
1317 * libc/iconv/lib/Makefile.in: Regenerate.
1318 * libc/locale/Makefile.in: Regenerate.
1319 * libc/machine/Makefile.in: Regenerate.
1320 * libc/machine/a29k/Makefile.in: Regenerate.
1321 * libc/machine/arm/Makefile.in: Regenerate.
1322 * libc/machine/bfin/Makefile.in: Regenerate.
1323 * libc/machine/cris/Makefile.in: Regenerate.
1324 * libc/machine/crx/Makefile.in: Regenerate.
1325 * libc/machine/d10v/Makefile.in: Regenerate.
1326 * libc/machine/d30v/Makefile.in: Regenerate.
1327 * libc/machine/fr30/Makefile.in: Regenerate.
1328 * libc/machine/frv/Makefile.in: Regenerate.
1329 * libc/machine/h8300/Makefile.in: Regenerate.
1330 * libc/machine/h8500/Makefile.in: Regenerate.
1331 * libc/machine/hppa/Makefile.in: Regenerate.
1332 * libc/machine/i386/Makefile.in: Regenerate.
1333 * libc/machine/i960/Makefile.in: Regenerate.
1334 * libc/machine/iq2000/Makefile.in: Regenerate.
1335 * libc/machine/m32c/Makefile.in: Regenerate.
1336 * libc/machine/m32r/Makefile.in: Regenerate.
1337 * libc/machine/m68hc11/Makefile.in: Regenerate.
1338 * libc/machine/m68k/Makefile.in: Regenerate.
1339 * libc/machine/m88k/Makefile.in: Regenerate.
1340 * libc/machine/mips/Makefile.in: Regenerate.
1341 * libc/machine/mn10200/Makefile.in: Regenerate.
1342 * libc/machine/mn10300/Makefile.in: Regenerate.
1343 * libc/machine/mt/Makefile.in: Regenerate.
1344 * libc/machine/necv70/Makefile.in: Regenerate.
1345 * libc/machine/powerpc/Makefile.in: Regenerate.
1346 * libc/machine/sh/Makefile.in: Regenerate.
1347 * libc/machine/sparc/Makefile.in: Regenerate.
1348 * libc/machine/spu/Makefile.in: Regenerate.
1349 * libc/machine/tic4x/Makefile.in: Regenerate.
1350 * libc/machine/tic80/Makefile.in: Regenerate.
1351 * libc/machine/v850/Makefile.in: Regenerate.
1352 * libc/machine/w65/Makefile.in: Regenerate.
1353 * libc/machine/xscale/Makefile.in: Regenerate.
1354 * libc/machine/xstormy16/Makefile.in: Regenerate.
1355 * libc/machine/z8k/Makefile.in: Regenerate.
1356 * libc/misc/Makefile.in: Regenerate.
1357 * libc/posix/Makefile.in: Regenerate.
1358 * libc/reent/Makefile.in: Regenerate.
1359 * libc/search/Makefile.in: Regenerate.
1360 * libc/signal/Makefile.in: Regenerate.
1361 * libc/stdio/Makefile.in: Regenerate.
1362 * libc/stdio64/Makefile.in: Regenerate.
1363 * libc/stdlib/Makefile.in: Regenerate.
1364 * libc/string/Makefile.in: Regenerate.
1365 * libc/sys/Makefile.in: Regenerate.
1366 * libc/sys/a29khif/Makefile.in: Regenerate.
1367 * libc/sys/arc/Makefile.in: Regenerate.
1368 * libc/sys/arm/Makefile.in: Regenerate.
1369 * libc/sys/d10v/Makefile.in: Regenerate.
1370 * libc/sys/decstation/Makefile.in: Regenerate.
1371 * libc/sys/h8300hms/Makefile.in: Regenerate.
1372 * libc/sys/h8500hms/Makefile.in: Regenerate.
1373 * libc/sys/linux/Makefile.in: Regenerate.
1374 * libc/sys/linux/argp/Makefile.in: Regenerate.
1375 * libc/sys/linux/cmath/Makefile.in: Regenerate.
1376 * libc/sys/linux/dl/Makefile.in: Regenerate.
1377 * libc/sys/linux/iconv/Makefile.in: Regenerate.
1378 * libc/sys/linux/intl/Makefile.in: Regenerate.
1379 * libc/sys/linux/linuxthreads/Makefile.in: Regenerate.
1380 * libc/sys/linux/linuxthreads/machine/Makefile.in: Regenerate.
1381 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerate.
1382 * libc/sys/linux/machine/Makefile.in: Regenerate.
1383 * libc/sys/linux/machine/i386/Makefile.in: Regenerate.
1384 * libc/sys/linux/net/Makefile.in: Regenerate.
1385 * libc/sys/linux/stdlib/Makefile.in: Regenerate.
1386 * libc/sys/m88kbug/Makefile.in: Regenerate.
1387 * libc/sys/mmixware/Makefile.in: Regenerate.
1388 * libc/sys/netware/Makefile.in: Regenerate.
1389 * libc/sys/rdos/Makefile.in: Regenerate.
1390 * libc/sys/rtems/Makefile.in: Regenerate.
1391 * libc/sys/sh/Makefile.in: Regenerate.
1392 * libc/sys/sparc64/Makefile.in: Regenerate.
1393 * libc/sys/sun4/Makefile.in: Regenerate.
1394 * libc/sys/sysmec/Makefile.in: Regenerate.
1395 * libc/sys/sysnec810/Makefile.in: Regenerate.
1396 * libc/sys/sysnecv850/Makefile.in: Regenerate.
1397 * libc/sys/sysvi386/Makefile.in: Regenerate.
1398 * libc/sys/sysvnecv70/Makefile.in: Regenerate.
1399 * libc/sys/tic80/Makefile.in: Regenerate.
1400 * libc/sys/w65/Makefile.in: Regenerate.
1401 * libc/sys/z8ksim/Makefile.in: Regenerate.
1402 * libc/syscalls/Makefile.in: Regenerate.
1403 * libc/time/Makefile.in: Regenerate.
1404 * libc/unix/Makefile.in: Regenerate.
1405 * libm/Makefile.in: Regenerate.
1406 * libm/common/Makefile.in: Regenerate.
1407 * libm/machine/Makefile.in: Regenerate.
1408 * libm/machine/i386/Makefile.in: Regenerate.
1409 * libm/machine/spu/Makefile.in: Regenerate.
1410 * libm/math/Makefile.in: Regenerate.
1411 * libm/mathfp/Makefile.in: Regenerate.
1412
1413 * configure: Regenerate.
1414 * iconvdata/configure: Regenerate.
1415 * libc/configure: Regenerate.
1416 * libc/machine/configure: Regenerate.
1417 * libc/machine/i386/configure: Regenerate.
1418 * libc/sys/configure: Regenerate.
1419 * libc/sys/linux/configure: Regenerate.
1420 * libc/sys/linux/linuxthreads/configure: Regenerate.
1421 * libc/sys/linux/linuxthreads/machine/configure: Regenerate.
1422 * libc/sys/linux/linuxthreads/machine/i386/configure: Regenerate.
1423 * libc/sys/linux/machine/configure: Regenerate.
1424 * libc/sys/linux/machine/i386/configure: Regenerate.
1425 * libm/configure: Regenerate.
1426 * libm/machine/configure: Regenerate.
1427 * libm/machine/i386/configure: Regenerate.
1428
aa5341f9
EB
14292007-05-23 Eric Blake <ebb9@byu.net>
1430
1431 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
1432 sizeof(void*) is 8 but sizeof(long) is 4.
1433 * libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise. Fix %i scanning
1434 of "-0x". Support "-nan" and "inf" for %e. Audit usage of ungetc
1435 to fix reentrancy and bug on encoding error in multibyte locales.
1436 Always return EOF on read error.
1437
4a9880e0
JJ
14382007-05-23 Patrick Mansfield <patmans@us.ibm.com>
1439
1440 * libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
1441 prototype.
1442 * libc/machine/spu/fclose.c: Use the __send_to_ppe return value
1443 instead of the slot 0 value, remove any now unused variables, and
1444 for some cases, now store the result in an int vs int*.
1445 * libc/machine/spu/feof.c: Ditto.
1446 * libc/machine/spu/ferror.c: Ditto.
1447 * libc/machine/spu/fflush.c: Ditto.
1448 * libc/machine/spu/fgetc.c: Ditto.
1449 * libc/machine/spu/fgetpos.c: Ditto.
1450 * libc/machine/spu/fgets.c: Ditto.
1451 * libc/machine/spu/fileno.c: Ditto.
1452 * libc/machine/spu/fopen.c: Ditto.
1453 * libc/machine/spu/fprintf.c: Ditto.
1454 * libc/machine/spu/fputc.c: Ditto.
1455 * libc/machine/spu/fputs.c: Ditto.
1456 * libc/machine/spu/fread.c: Ditto.
1457 * libc/machine/spu/freopen.c: Ditto.
1458 * libc/machine/spu/fscanf.c: Ditto.
1459 * libc/machine/spu/fseek.c: Ditto.
1460 * libc/machine/spu/fsetpos.c: Ditto.
1461 * libc/machine/spu/ftell.c: Ditto.
1462 * libc/machine/spu/fwrite.c: Ditto.
1463 * libc/machine/spu/getc.c: Ditto.
1464 * libc/machine/spu/getchar.c: Ditto.
1465 * libc/machine/spu/gets.c: Ditto.
1466 * libc/machine/spu/printf.c: Ditto.
1467 * libc/machine/spu/putc.c: Ditto.
1468 * libc/machine/spu/putchar.c: Ditto.
1469 * libc/machine/spu/puts.c: Ditto.
1470 * libc/machine/spu/remove.c: Ditto.
1471 * libc/machine/spu/rename.c: Ditto.
1472 * libc/machine/spu/scanf.c: Ditto.
1473 * libc/machine/spu/setvbuf.c: Ditto.
1474 * libc/machine/spu/snprintf.c: Ditto.
1475 * libc/machine/spu/sprintf.c: Ditto.
1476 * libc/machine/spu/sscanf.c: Ditto.
1477 * libc/machine/spu/tmpfile.c: Ditto.
1478 * libc/machine/spu/tmpnam.c: Ditto.
1479 * libc/machine/spu/ungetc.c: Ditto.
1480 * libc/machine/spu/vfprintf.c: Ditto.
1481 * libc/machine/spu/vfscanf.c: Ditto.
1482 * libc/machine/spu/vprintf.c: Ditto.
1483 * libc/machine/spu/vscanf.c: Ditto.
1484 * libc/machine/spu/vsnprintf.c: Ditto.
1485 * libc/machine/spu/vsprintf.c: Ditto.
1486 * libc/machine/spu/vsscanf.c: Ditto.
1487
9a3ec862
EB
14882007-05-23 Eric Blake <ebb9@byu.net>
1489
1490 * libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
1491 Avoid warning when !FLOATING_POINT.
1492 * libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS
1493 slightly.
1494
d48670ed
CV
14952007-05-23 Corinna Vinschen <vinschen@redhat.com>
1496
1497 * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
1498 to zero.
1499 * libc/include/argz.h: Guard against multiple inclusion. Guard for
1500 use with C++.
1501
8aab2bc2
EB
15022007-05-18 Eric Blake <ebb9@byu.net>
1503
1504 * libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
1505 compilers.
1506 * libc/stdio/vfscanf.c: Likewise.
1507
b2250c70
JJ
15082007-05-17 Cary R. <cygcary <at> yahoo.com>
1509
1510 * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
1511 (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
1512 * libm/math/wf_atan2.c: Ditto.
1513
8aab2bc2 15142007-05-17 Yaakov Selkowitz <yselkowitz <at> users.sourceforge.net>
e0500490
JJ
1515
1516 * libm/common/Makefile.am: Add support for exp10, exp10f,
1517 pow10, and pow10f functions.
1518 * libm/common/Makefile.in: Regenerated.
1519 * libm/common/s_pow10.c: New file.
1520 * libm/common/sf_pow10.c: Ditto.
1521 * libm/common/s_exp10.c: Ditto.
1522 * libm/common/sf_exp10.c: Ditto.
1523 * libc/include/math.h [!pow10]: New pow10 prototype.
1524 [!pow10f]: New pow10f prototype.
1525 [!exp10]: New exp10 prototype.
1526 [!exp10f]: New exp10f prototype.
1527
487e9075
EB
15282007-05-17 Charles Wilson <cygwin@...>
1529
1530 * stdio/tmpfile.c: Include <sys/stat.h>.
1531 * stdio64/tmpfile64.c: Ditto.
1532
f6560775
EB
15332007-05-16 Eric Blake <ebb9@byu.net>
1534
d009633d
EB
1535 Close security hole in tmpfile.
1536 * libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
1537 generation and opening the fd.
1538 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.
1539
895d76fe
EB
1540 * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
1541 (MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
1542 required by POSIX.
1543 * libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
1544 avoid clash with <math.h>.
1545
f6560775
EB
1546 * libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
1547 * libc/search/hash.c (__hash_open): Likewise.
1548
34507ce0
EB
15492007-05-14 Eric Blake <ebb9@byu.net>
1550
1551 Reduce stack size of *printf.
1552 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
1553 in %f. Avoid malloc when possible for %S.
1554 (BUF): Improve stack locality by using smaller size.
1555 (MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
1556 (exponent): Use smaller stack size.
1557
b8a37af9
EB
15582007-05-11 Eric Blake <ebb9@byu.net>
1559
0962fe91
EB
1560 Minimize printf/scanf size on platforms that don't need C99.
1561 * acconfig.h (_WANT_IO_C99_FORMATS): New macro.
1562 * newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
1563 * configure.in (newlib-io-c99-formats): New configure option.
1564 (_WANT_IO_C99_FORMATS): Define appropriately.
1565 * configure.host (*-linux*, cygwin): Default c99-formats to yes.
1566 * libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
1567 Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
1568 * libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
1569 Likewise.
1570 * configure: Regenerate.
1571
b8a37af9
EB
1572 * libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
1573 (get_arg): Support '%a' and '%A'.
1574
81274c67
EB
15752007-05-09 Eric Blake <ebb9@byu.net>
1576
1577 Allow zero size with non-null buf in *asnprintf.
1578 * libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
1579 user's buf.
1580 * libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
1581 * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
1582 * libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.
1583
38ed4e51
EB
15842007-05-07 Charles Wilson <cygwin@...>
1585
1586 * libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
1587
b9db5292
EB
15882007-05-03 Eric Blake <ebb9@byu.net>
1589
1590 Add support for asnprintf, and improve *printf documentation.
1591 * libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
1592 (ELIX_2_SOURCES): ...to this.
1593 (ELIX_4_SOURCES): Add new variable. Build asnprintf.
1594 (GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
1595 (CHEWOUT_FILES): Include diprintf in documentation.
1596 * libc/stdio/Makefile.in: Regenerate.
1597 * libc/stdio/diprintf.c: Improve documentation.
1598 * libc/stdio/dprintf.c: Likewise.
1599 * libc/stdio/siprintf.c: Likewise.
1600 * libc/stdio/sprintf.c: Likewise.
1601 * libc/stdio/vfprintf.c: Likewise.
1602 * libc/stdio/viprintf.c: Likewise.
1603 * libc/stdio/vsniprintf.c: Consolidate documentation.
1604 * libc/stdio/asiprintf.c: Refer to documentation.
1605 * libc/stdio/asprintf.c: Likewise.
1606 * libc/stdio/fiprintf.c: Likewise.
1607 * libc/stdio/fprintf.c: Likewise.
1608 * libc/stdio/iprintf.c: Likewise.
1609 * libc/stdio/printf.c: Likewise.
1610 * libc/stdio/sniprintf.c: Likewise.
1611 * libc/stdio/vdiprintf.c: Likewise.
1612 * libc/stdio/vdprintf.c: Likewise.
1613 * libc/stdio/vsiprintf.c: Likewise.
1614 * libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
1615 * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
1616 * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
1617 * libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
1618 file.
1619 * libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
1620 * libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
1621 typical case.
1622 * libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
1623 * libc/include/stdio.h: Add prototypes for new functions; sort
1624 existing functions.
1625
fb3937fa
KH
16262007-05-03 Kazu Hirata <kazu@codesourcery.com>
1627
1628 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
1629 and memset.S.
1630 * libc/machine/m68k/Makefile.in: Regenerate.
1631 * libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
1632 * libc/machine/m68k/memset.S: Likewise.
1633
b4f09558
EB
16342007-05-01 Eric Blake <ebb9@byu.net>
1635
1636 * libc/stdio64/local64.h: Delete, move contents to...
1637 * libc/stdio/local.h: ...here.
1638 * libc/stdio64/fdopen64.c: Update includes.
1639 * libc/stdio64/fopen64.c: Likewise.
1640 * libc/stdio64/freopen64.c: Likewise.
1641 * libc/stdio64/fseeko64.c: Likewise.
1642 * libc/stdio64/ftello64.c: Likewise.
1643 * libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
1644 and stderr with 64-bit offset.
1645 * libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
1646 * libc/stdio/makebuf.c (__smakebuf_r): Likewise.
1647 * libc/stdio/mktemp.c (_gettemp): Likewise.
1648
2babeb3d
JJ
16492007-05-01 Cary R. <cygcary <at> yahoo.com>
1650
1651 * libm/math/e_pow.c: Fix to be consistent with glibc with regards
1652 to treatment of NaN and +-inf arguments.
1653 * libm/math/ef_pow.c: Ditto.
1654 * libm/math/w_pow.c: Ditto.
1655 * libm/math/wf_pow.c: Ditto.
1656 * libm/math/w_acos.c: Fix domain errors to return NaN.
1657 * libm/math/w_asin.c: Ditto.
1658 * libm/math/wf_acos.c: Ditto.
1659 * libm/math/wf_asin.c: Ditto.
1660 * libm/math/w_log.c: Fix to return NaN for negative number inputs.
1661 * libm/math/wf_log.c: Ditto.
1662 * libm/math/wf_log10.c: Ditto.
1663 * libm/math/w_log10.c: Ditto.
1664
643aff87
JJ
16652007-04-27 Jeff Johnston <jjohnstn@redhat.com>
1666
1667 * libc/machine/m68k/Makefile.am: Temporarily remove
1668 memcpy.S and memset.S until logic can be confirmed for
1669 !(__mcoldfile__) case.
1670 * libc/machine/m68k/Makefile.in: Regenerated.
1671
9e5957de
JJ
16722007-04-27 Kazu Hirata <kazu@codesourcery.com>
1673
1674 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
1675 and memset.S.
1676 * libc/machine/m68k/Makefile.in: Regenerate.
1677 * libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.
1678
976e9d28
JJ
16792007-04-26 Patrick Mansfield <patmans@us.ibm.com>
1680
1681 * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
1682 overridden via machine/ieeefp.h.
1683 * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
1684 macros for isnan and related macros.
1685 * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
1686 overridden via machine/ieeefp.h.
1687 * libm/machine/spu/Makefile.am: Add new files.
1688 * libm/machine/spu/Makefile.in: Autogenerate with new files.
1689 * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
1690 * libm/machine/spu/sf_finite.c: Add SPU specific finitef.
1691 * libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
1692 * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
1693 * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
1694 * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
1695 * libm/machine/spu/sf_nan.c: Add SPU specific nanf.
1696
34450bd5
JJ
16972007-04-25 Jeff Johnston <jjohnstn@redhat.com>
1698
1699 * libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
1700 * libm/common/sf_fpclassify.c: ...here. New file.
1701 * libm/common/Makefile.am: Add sf_fpclassify.c.
1702 * libm/common/Makefile.in: Regenerated.
1703
42cd3e6c
JJ
17042007-04-25 Patrick Mansfield <patmans@us.ibm.com>
1705
1706 * libc/machine/spu/sys/errno.h: New file, so spu errno values match
1707 ppu linux values. This file is a copy of the cris/sys/errno.h plus
1708 a few changes (see spu errno.h comments).
1709
8b366086
JJ
17102007-04-25 Eric Blake <ebb9@byu.net>
1711
1712 * libc/stdio/vfprintf.c (get_arg): Support %1$lc. Simplify types
1713 that promote to int.
1714
245240b5
JJ
17152007-04-25 Patrick Mansfield <patmans@us.ibm.com>
1716
b4f09558 1717 * libm/machine/spu/headers/feholdexcept.h: Use *envp not env so
245240b5
JJ
1718 we clear the proper bits in the fpscr, and don't set some random ones.
1719
68f2517f
EB
17202007-04-24 Eric Blake <ebb9@byu.net>
1721
5866c023
EB
1722 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
1723 or NaN with %05f.
1724
27e5e9ab
EB
1725 * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
1726 _MB_CAPABLE.
1727
68f2517f
EB
1728 * libc/include/limits.h (NL_ARGMAX): Define a default value.
1729 * libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
1730 NL_ARGMAX, if present.
1731
17322007-04-23 Brian Dessent <brian@dessent.net>
1733
1734 * libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
1735 has been specified with types 'f', 'F', 'g', or 'G', ensure the
1736 trailing decimal is printed.
1737
714d0b7a
JJ
17382007-04-23 Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
1739
1740 * confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
1741 file. Override Autoconf-2.59's version of these macros with
1742 fixed handling of multiple adjacent whitespace in arguments.
1743 * aclocal.m4: Regenerated forcefully.
1744 * configure: Ditto.
1745 * Makefile.in: Ditto.
1746 * libc/*Makefile.in: Ditto.
1747 * libc/*aclocal.m4: Ditto.
1748 * libc/*configure: Ditto.
1749 * libm/*Makefile.in: Ditto.
1750 * libm/*aclocal.m4: Ditto.
1751 * libm/*configure: Ditto.
1752
8aebc414
JJ
17532007-04-23 Jeff Johnston <jjohnstn@redhat.com>
1754
1755 * libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
1756 * libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
1757 and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
1758 * libc/sys/arc/Makefile.in: Regenerated.
1759
fb5750bf
JJ
17602007-04-17 Brian Dessent <brian@dessent.net>
1761
1762 * libc/stdio/sscanf.c: Update documentation comments.
1763 * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
1764
ba3ccd63
EB
17652007-04-12 Eric Blake <ebb9@byu.net>
1766
1767 * libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
1768 (chclass): Recognize 'F', 'X', 'n', and not 'W'.
1769 (get_arg): Handle %1$F, %1$n.
1770
503e2d1c
EB
17712007-04-10 Eric Blake <ebb9@byu.net>
1772
1773 * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
1774 CFLAGS=-O0.
1775
17c0c97d
EB
17762007-04-09 Eric Blake <ebb9@byu.net>
1777
1778 * libc/include/stdio.h: Add gcc format attributes to printf and
1779 scanf families.
1780
abe43f42 17812007-04-09 Joel Schopp <jschopp@austin.ibm.com>
17c0c97d 1782
abe43f42
JJ
1783 * libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
1784 even if the passed in length n is shorter than the source string.
1785 This matches both the non-spu specific and the glibc strxfrm
1786 behaviour.
1787
0efa93c0
KH
17882007-04-04 Mark Mitchell <mark@codesourcery.com>
1789
1790 * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
1791 functions registering additional atexit functions.
1792
07278e6c
KH
1793 * testsuite/lib/flags.exp (newlib_include_flags): Drop
1794 -I${newlib_dir}.
1795
748c1917 17962007-04-04 Patrick Mansfield <patmans@us.ibm.com>
17c0c97d 1797
748c1917
JJ
1798 * libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
1799 prototype.
1800 * libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
1801 * libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
1802 * libc/machine/spu/fclose.c: Ditto.
1803 * libc/machine/spu/feof.c: Ditto.
1804 * libc/machine/spu/ferror.c: Ditto.
1805 * libc/machine/spu/fflush.c: Ditto.
1806 * libc/machine/spu/fgetc.c: Ditto.
1807 * libc/machine/spu/fgetpos.c: Ditto.
1808 * libc/machine/spu/fgets.c: Ditto.
1809 * libc/machine/spu/fileno.c: Ditto.
1810 * libc/machine/spu/fopen.c: Ditto.
1811 * libc/machine/spu/fprintf.c: Ditto.
1812 * libc/machine/spu/fputc.c: Ditto.
1813 * libc/machine/spu/fputs.c: Ditto.
1814 * libc/machine/spu/fread.c: Ditto.
1815 * libc/machine/spu/freopen.c: Ditto.
1816 * libc/machine/spu/fscanf.c: Ditto.
1817 * libc/machine/spu/fseek.c: Ditto.
1818 * libc/machine/spu/fsetpos.c: Ditto.
1819 * libc/machine/spu/ftell.c: Ditto.
1820 * libc/machine/spu/fwrite.c: Ditto.
1821 * libc/machine/spu/getc.c: Ditto.
1822 * libc/machine/spu/getchar.c: Ditto.
1823 * libc/machine/spu/gets.c: Ditto.
1824 * libc/machine/spu/perror.c: Ditto.
1825 * libc/machine/spu/printf.c: Ditto.
1826 * libc/machine/spu/putc.c: Ditto.
1827 * libc/machine/spu/putchar.c: Ditto.
1828 * libc/machine/spu/puts.c: Ditto.
1829 * libc/machine/spu/remove.c: Ditto.
1830 * libc/machine/spu/rename.c: Ditto.
1831 * libc/machine/spu/rewind.c: Ditto.
1832 * libc/machine/spu/scanf.c: Ditto.
1833 * libc/machine/spu/setbuf.c: Ditto.
1834 * libc/machine/spu/setvbuf.c: Ditto.
1835 * libc/machine/spu/snprintf.c: Ditto.
1836 * libc/machine/spu/sprintf.c: Ditto.
1837 * libc/machine/spu/sscanf.c: Ditto.
1838 * libc/machine/spu/tmpfile.c: Ditto.
1839 * libc/machine/spu/tmpnam.c: Ditto.
1840 * libc/machine/spu/ungetc.c: Ditto.
1841 * libc/machine/spu/vfprintf.c: Ditto.
1842 * libc/machine/spu/vfscanf.c: Ditto.
1843 * libc/machine/spu/vprintf.c: Ditto.
1844 * libc/machine/spu/vscanf.c: Ditto.
1845 * libc/machine/spu/vsnprintf.c: Ditto.
1846 * libc/machine/spu/vsprintf.c: Ditto.
1847 * libc/machine/spu/vsscanf.c: Ditto.
1848
a706aa2e
JJ
18492007-04-04 Jeff Johnston <jjohnstn@redhat.com>
1850
1851 * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
1852
db7aa4b1
JJ
18532007-04-04 Eric Blake <ebb9@byu.net>
1854
1855 * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
1856 (asiprintf): Avoid overhead.
1857 * libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
1858 (asprintf): Avoid overhead.
1859 * libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
1860 * libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
1861 * libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
1862 (fiprintf): Avoid overhead.
1863 * libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
1864 (fprintf): Avoid overhead.
1865 * libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
1866 (iprintf): Avoid overhead.
1867 * libc/stdio/printf.c (_printf_r): Use _DEFUN.
1868 (printf): Avoid overhead.
1869 * libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
1870 * libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
1871 * libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
1872 * libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
1873 * libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
1874 * libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
1875 * libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
1876 * libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
1877 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
1878 vdiprintf.c.
1879 * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
1880 (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
1881
2c58b5a5
DK
18822007-03-30 Dave Korn <dave.korn@artimi.com>
1883
1884 * libc/include/stdio.h (_ELIDABLE_INLINE): New macro to conceal
1885 conflicting inline semantics between C99 and GNU89.
1886 (__sgetc_r): Replace static inline with _ELIDABLE_INLINE to be
1887 compatible with -fkeep-inline-functions usage.
1888 (__sputc_r): Likewise for consistency even though disabled.
1889
519aec5d
NC
18902007-03-29 Nick Clifton <nickc@redhat.com>
1891
1892 Reflect changes made to generic vfprintf.c:
1893 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
1894 and add a "struct reent *" argument.
1895 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
1896 argument and call _VFPRINTF_R instead of VFPRINTF.
1897 (_VFPRINTF_R): Add data pointer to call to cantwrite().
1898 Fix uses of __sprint() and __sbprintf.
1899
19002007-03-20 Nick Clifton <nickc@redhat.com>
1901
1902 Reflect changes made to generic vfprintf.c:
1903 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
1904 and add a "struct reent *" argument.
1905 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
1906 argument and call _VFPRINTF_R instead of VFPRINTF.
1907 (_VFPRINTF_R): Add data pointer to call to cantwrite().
1908 Fix uses of __sprint() and __sbprintf.
1909
443871a6
JJ
19102007-03-16 Charles Wilson <cygwin@...>
1911
1912 * libc/argz/argz_insert.c: "before" pointer is
1913 invalid after *argz realloc. Compute offset
1914 between "before" and *argz, and use it after
1915 reallocation instead.
1916
a167bcd8
JJ
19172007-03-16 Eric Blake <ebb9@byu.net>
1918
1919 * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
1920 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
1921
826b5591
JJ
19222007-03-15 Jeff Johnston <jjohnstn@redhat.com>
1923
1924 * configure.in: Add new --enable-newlib-reent-small option.
1925 * configure: Regenerated.
1926 * acconfig.h: Add _WANT_REENT_SMALL.
1927 * newlib.hin: Regenerated minus PACKAGE macros to add
1928 _WANT_REENT_SMALL macro.
1929 * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
1930 if not already set.
1931 * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
1932 there is no buffer.
1933 * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
1934 use reentrant pointer passed in when resetting the file
1935 pointer to one of the std streams.
1936
14ba5e14
JJ
19372007-03-15 Eric Blake <ebb9@byu.net>
1938
1939 * libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
1940 (__smakebuf): Rename...
1941 (__smakebuf_r): to this.
1942 * libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
1943 * libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
1944 allocation, then rename...
1945 (__smakebuf_r): ...to this and fix reentrancy.
1946 * libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
1947 allocation, then rename...
1948 (__swsetup_r): ...to this and fix reentrancy.
1949 * libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
1950 * libc/stdio/refill.c (__srefill_r): Likewise.
1951 * libc/stdio/fclose.c (_fclose_r): Likewise.
1952 * libc/stdio/fread.c (_fread_r): Likewise.
1953 * libc/stdio/freopen.c (_freopen_r): Likewise.
1954 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
1955 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
1956 * libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
1957 failed asprintf allocation, and fix reentrancy.
1958 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
1959 as required by POSIX.
1960 * libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
1961 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
1962 * libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
1963
99304ce6
JJ
19642007-03-12 Eric Blake <ebb9@byu.net>
1965
1966 * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
1967 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
1968 allocation to caller.
1969 * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
1970 * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
1971 * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
1972
d9edc05f
JJ
19732007-02-23 Jeff Johnston <jjohnstn@redhat.com>
1974
1975 * libm/math/w_pow.c: Fix typo in documentation comment.
1976
59673dbb
JJ
19772007-02-21 Patrick Mansfield <patmans@us.ibm.com>
1978
1979 * libc/reent/timer.c: Removed (split into two new files).
1980 * libc/reent/timesr.c: New file for _times_r.
1981 * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
1982 * reent/Makefile.in: Remove timer.c, add timesr.c and
1983 gettimeofdayr.c.
1984 * libc/reent/Makefile.am: Regenerate.
1985
547c5c61
JJ
19862007-02-20 Patrick Mansfield <patmans@us.ibm.com>
1987
1988 * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
1989
3b7e017e
JJ
19902007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
1991
1992 * libc/machine/spu/Makefile.am: Add new objects.
1993 * libc/machine/spu/Makefile.in: Regenerated.
1994 * libc/machine/spu/fiprintf.c: New file. Add implementation of
1995 integer-only version.
1996 * libc/machine/spu/fiscanf.c: Ditto.
1997 * libc/machine/spu/iprintf.c: Ditto.
1998 * libc/machine/spu/iscanf.c: Ditto.
1999 * libc/machine/spu/siprintf.c: Ditto.
2000 * libc/machine/spu/siscanf.c: Ditto.
2001 * libc/machine/spu/sniprintf.c: Ditto.
2002 * libc/machine/spu/vfiprintf.c: Ditto.
2003 * libc/machine/spu/vfiscanf.c: Ditto.
2004 * libc/machine/spu/viprintf.c: Ditto.
2005 * libc/machine/spu/viscanf.c: Ditto.
2006 * libc/machine/spu/vsiprintf.c: Ditto.
2007 * libc/machine/spu/vsiscanf.c: Ditto.
2008 * libc/machine/spu/vsniprintf.c: Ditto.
2009 * libc/machine/spu/fprintf.c: Add support for integer-only
2010 version.
2011 * libc/machine/spu/fscanf.c: Ditto.
2012 * libc/machine/spu/printf.c: Ditto.
2013 * libc/machine/spu/scanf.c: Ditto.
2014 * libc/machine/spu/snprintf.c: Ditto.
2015 * libc/machine/spu/sprintf.c: Ditto.
2016 * libc/machine/spu/sscanf.c: Ditto.
2017 * libc/machine/spu/vfprintf.c: Ditto.
2018 * libc/machine/spu/vfscanf.c: Ditto.
2019 * libc/machine/spu/vprintf.c: Ditto.
2020 * libc/machine/spu/vscanf.c: Ditto.
2021 * libc/machine/spu/vsnprintf.c: Ditto.
2022 * libc/machine/spu/vsprintf.c: Ditto.
2023 * libc/machine/spu/vsscanf.c: Ditto.
2024
960e5d8f
JJ
20252007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
2026
2027 * libc/include/stdio.h: Add declaration for vsiprintf.
2028
958e329d
JJ
20292007-02-14 Patrick Mansfield <patmans@us.ibm.com>
2030
2031 Add a floating point environment for SPU (cell):
2032
2033 * configure.host: add libm_machine_dir=spu.
2034 * libm/machine/configure: Add spu.
2035 * libm/machine/configure.in: regenerated with spu added.
2036 * libc/machine/spu/include/fenv.h: New file.
2037 * libc/machine/spu/sys/fenv.h: Ditto.
2038 * libm/machine/spu/Makefile.am: Ditto.
2039 * libm/machine/spu/Makefile.in: Ditto.
2040 * libm/machine/spu/aclocal.m4: Ditto.
2041 * libm/machine/spu/configure: Ditto.
2042 * libm/machine/spu/configure.in: Ditto.
2043 * libm/machine/spu/fe_dfl_env.c: Ditto.
2044 * libm/machine/spu/feclearexcept.c: Ditto.
2045 * libm/machine/spu/fegetenv.c: Ditto.
2046 * libm/machine/spu/fegetexceptflag.c: Ditto.
2047 * libm/machine/spu/fegetround.c: Ditto.
2048 * libm/machine/spu/feholdexcept.c: Ditto.
2049 * libm/machine/spu/feraiseexcept.c: Ditto.
2050 * libm/machine/spu/fesetenv.c: Ditto.
2051 * libm/machine/spu/fesetexceptflag.c: Ditto.
2052 * libm/machine/spu/fesetround.c: Ditto.
2053 * libm/machine/spu/fetestexcept.c: Ditto.
2054 * libm/machine/spu/feupdateenv.c: Ditto.
2055 * libm/machine/spu/headers/feclearexcept.h: Ditto.
2056 * libm/machine/spu/headers/fefpscr.h: Ditto.
2057 * libm/machine/spu/headers/fegetenv.h: Ditto.
2058 * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
2059 * libm/machine/spu/headers/fegetround.h: Ditto.
2060 * libm/machine/spu/headers/feholdexcept.h: Ditto.
2061 * libm/machine/spu/headers/feraiseexcept.h: Ditto.
2062 * libm/machine/spu/headers/fesetenv.h: Ditto.
2063 * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
2064 * libm/machine/spu/headers/fesetround.h: Ditto.
2065 * libm/machine/spu/headers/fetestexcept.h: Ditto.
2066 * libm/machine/spu/headers/feupdateenv.h: Ditto.
2067
4f7e59f2
CV
20682007-02-14 Corinna Vinschen <corinna@vinschen.de>
2069
2070 * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
2071 Cygwin.
2072
d7e4c7a8
CV
20732007-02-08 Corinna Vinschen <corinna@vinschen.de>
2074
2075 * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
2076 Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
2077
0e37a2e6
CV
20782007-02-07 Corinna Vinschen <corinna@vinschen.de>
2079
2080 * libc/include/sys/features.h: Add definition of all supported
2081 _POSIX_xxx values for Cygwin.
2082 * libc/include/sys/types.h (pthread_rwlock_t): Omit definition
2083 on Cygwin.
2084 (pthread_rwlockattr_t): Ditto.
2085 * libc/include/sys/unistd.h: Define all _SC_xxx values as
2086 required by SUSv3. Unify formatting.
2087
6699fabb
JJ
20882007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
2089
2090 * libc/include/sys/errno.h: Add ECANCELED.
2091
22a339e8 20922007-02-01 Joel Schopp <jschopp@austin.ibm.com>
ba3ccd63 2093 Kazunori Asayama <asayama@sm.sony.co.jp>
22a339e8
JJ
2094
2095 * libc/machine/spu/Makefile.am: Add objects.
2096 * libc/machine/spu/Makefile.in: Regenerated.
2097 * libc/machine/spu/vsscanf.c: New file. Add a stdio function
2098 implementation.
2099 * libc/machine/spu/snprintf.c: Ditto.
2100 * libc/machine/spu/sprintf.c: Ditto.
2101 * libc/machine/spu/sscanf.c: Ditto.
2102 * libc/machine/spu/remove.c: Ditto.
2103 * libc/machine/spu/rename.c: Ditto.
2104 * libc/machine/spu/tmpnam.c: Ditto.
2105 * libc/machine/spu/vsnprintf.c: Add initialization routine of
2106 stdio stuffs.
2107 * libc/machine/spu/vsprintf.c: Ditto.
2108
7d592bb1 21092007-02-01 Joel Schopp <jschopp@austin.ibm.com>
ba3ccd63 2110 Kazunori Asayama <asayama@sm.sony.co.jp>
7d592bb1
JJ
2111
2112 * configure.host: Enable SPU specific stdio directory.
2113 * libc/machine/spu/Makefile.am: Add objects.
2114 * libc/machine/spu/Makefile.in: Regenerated.
2115 * libc/machine/spu/c99ppe.h: Add macros and function
2116 declarations to initialize SPU specific stdio stuffs.
2117 * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
2118 specific FILE structures.
2119 * libc/machine/spu/perror.c: Add initialization routine of
2120 stdio stuffs.
2121 * libc/machine/spu/printf.c: Ditto.
2122 * libc/machine/spu/putchar.c: Ditto.
2123 * libc/machine/spu/puts.c: Ditto.
2124 * libc/machine/spu/vprintf.c: Ditto.
2125 * libc/machine/spu/clearerr.c: New file. Add a stdio function
2126 implementation.
2127 * libc/machine/spu/feof.c: Ditto.
2128 * libc/machine/spu/ferror.c: Ditto.
2129 * libc/machine/spu/fileno.c: Ditto.
2130 * libc/machine/spu/fopen.c: Ditto.
2131 * libc/machine/spu/fclose.c: Ditto.
2132 * libc/machine/spu/freopen.c: Ditto.
2133 * libc/machine/spu/fflush.c: Ditto.
2134 * libc/machine/spu/fseek.c: Ditto.
2135 * libc/machine/spu/ftell.c: Ditto.
2136 * libc/machine/spu/rewind.c: Ditto.
2137 * libc/machine/spu/fgetpos.c: Ditto.
2138 * libc/machine/spu/fsetpos.c: Ditto.
2139 * libc/machine/spu/fread.c: Ditto.
2140 * libc/machine/spu/fwrite.c: Ditto.
2141 * libc/machine/spu/getc.c: Ditto.
2142 * libc/machine/spu/getchar.c: Ditto.
2143 * libc/machine/spu/gets.c: Ditto.
2144 * libc/machine/spu/fgetc.c: Ditto.
2145 * libc/machine/spu/fgets.c: Ditto.
2146 * libc/machine/spu/ungetc.c: Ditto.
2147 * libc/machine/spu/putc.c: Ditto.
2148 * libc/machine/spu/fputc.c: Ditto.
2149 * libc/machine/spu/fputs.c: Ditto.
2150 * libc/machine/spu/vfprintf.c: Ditto.
2151 * libc/machine/spu/vfscanf.c: Ditto.
2152 * libc/machine/spu/fprintf.c: Ditto.
2153 * libc/machine/spu/fscanf.c: Ditto.
2154 * libc/machine/spu/scanf.c: Ditto.
2155 * libc/machine/spu/vscanf.c: Ditto.
2156 * libc/machine/spu/setbuf.c: Ditto.
2157 * libc/machine/spu/setvbuf.c: Ditto.
2158 * libc/machine/spu/tmpfile.c: Ditto.
2159
21602007-02-01 Jeff Johnston <jjohnstn@redhat.com>
2161
2162 * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
2163 * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
17c0c97d 2164 around stdio macros that manipulate fields in the normal file
7d592bb1
JJ
2165 structure.
2166 * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
2167 <sys/custom_file.h> to define custom FILE structure.
2168 * libc/include/sys/custom_file.h: New default header file
2169 that generates error if not overridden when __CUSTOM_FILE_IO__ set.
2170 * libc/machine/spu/sys/custom_file.h: New file.
2171
0733ae3b
JJ
21722007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>
2173
2174 * configure.host: Define stdio directory as a variable.
2175 * libc/Makefile.am: Define stdio related names
2176 as macros.
2177 * libc/configure.in: Add detection routine of stdio directory.
2178 * libc/Makefile.in: Regenerated.
2179 * libc/configure: Ditto.
2180 * libc/argz/Makefile.in: Ditto.
2181 * libc/ctype/Makefile.in: Ditto.
2182 * libc/errno/Makefile.in: Ditto.
2183 * libc/iconv/Makefile.in: Ditto.
2184 * libc/iconv/ccs/Makefile.in: Ditto.
2185 * libc/iconv/ccs/binary/Makefile.in: Ditto.
2186 * libc/iconv/ces/Makefile.in: Ditto.
2187 * libc/iconv/lib/Makefile.in: Ditto.
2188 * libc/locale/Makefile.in: Ditto.
2189 * libc/misc/Makefile.in: Ditto.
2190 * libc/posix/Makefile.in: Ditto.
2191 * libc/reent/Makefile.in: Ditto.
2192 * libc/search/Makefile.in: Ditto.
2193 * libc/signal/Makefile.in: Ditto.
2194 * libc/stdio/Makefile.in: Ditto.
2195 * libc/stdio64/Makefile.in: Ditto.
2196 * libc/stdlib/Makefile.in: Ditto.
2197 * libc/string/Makefile.in: Ditto.
2198 * libc/syscalls/Makefile.in: Ditto.
2199 * libc/time/Makefile.in: Ditto.
2200 * libc/unix/Makefile.in: Ditto.
2201
cb7ba0e1
BE
22022007-01-30 Ben Elliston <bje@au.ibm.com>
2203
c7cd7849
BE
2204 * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
2205 fmt member.
2206 * libc/machine/spu/printf.c (c99_printf_t): Likewise.
2207 (printf): Pass fmt to va_start to suppress a warning.
2208
cb7ba0e1
BE
2209 * libc/search/hash.c (init_hash): Make `info' parameter const.
2210
f89533c1
JJ
22112007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
2212
2213 * libc/machine/spu/c99ppe.h: Replace vector with __vector.
2214 * libc/machine/spu/vec_literal.h: Ditto.
2215 * libc/machine/spu/strncmp.c: Ditto.
2216
94b91791
JJ
22172007-01-15 Joseph Myers <joseph@codesourcery.com>
2218 Kazu Hirata <kazu@codesourcery.com>
2219
2220 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
2221 for E500V1 and E500V2.
2222
26190be1
JJ
22232007-01-11 Jeff Johnston <jjohnstn@redhat.com>
2224
2225 * libm/configure.in: Always configure machine directory.
2226 * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
2227 unconditionally.
2228 * libm/configure: Regenerated.
2229 * libm/Makefile.in: Ditto.
2230 * libm/*/Makefile.in: Ditto.
2231
8e0e8f40
JJ
22322007-01-05 Brian Ford <Brian.Ford@FlightSafety.com>
2233
2234 * configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
2235
9cd4a2de
JJ
22362007-01-02 Ben Elliston <bje@au.ibm.com>
2237
ba3ccd63
EB
2238 * doc/makedoc.c: Include <stdlib.h>.
2239 (malloc, realloc): Remove extern declarations.
9cd4a2de 2240
5fdec53f 22412006-12-18 Jeff Johnston <jjohnstn@redhat.com>
a4b11782 2242
ba3ccd63
EB
2243 * NEWS: Update with 1.15.0 info.
2244 * README: Ditto.
2245 * acinclude.m4: Change version number to 1.15.0.
2246 * aclocal.m4: Regenerated.
2247 * configure: Ditto.
2248 * doc/aclocal.m4: Ditto.
2249 * doc/configure: Ditto.
2250 * libc/*/aclocal.m4: Ditto.
2251 * libc/*/configure: Ditto.
2252 * libc/libc.texinfo: Ditto.
2253 * libm/*/aclocal.m4: Ditto.
2254 * libm/*/configure: Ditto.
2255 * libm/libm.texinfo: Ditto.
2256 * libc/sys/linux/shared.ld: Add VERS_1.15.
a4b11782 2257
def943c1
JJ
22582006-12-18 Kazu Hirata <kazu@codesourcery.com>
2259
2260 Merge from newlib-csl-20060320-branch:
2261 2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
2262 Kazu Hirata <kazu@codesourcery.com>
2263
2264 * configure.host: Recognize fido.
2265
17c0c97d 22662006-12-18 Joel Schopp <jschopp@austin.ibm.com>
505ccc75 2267
ba3ccd63
EB
2268 * libc/machine/spu/c99ppe.h: New file
2269 * libc/machine/spu/perror.c: New file to override libc/stdio version.
2270 * libc/machine/spu/printf.c: New file
2271 * libc/machine/spu/putchar.c: New file
2272 * libc/machine/spu/puts.c: New file
2273 * libc/machine/spu/vprintf.c: New file
2274 * libc/machine/spu/vsnprintf.c: New file
2275 * libc/machine/spu/vsprintf.c: New file
2276 * libc/machine/spu/Makefile.am: Add new targets.
2277 * libc/machine/spu/Makefile.in: Regenerated.
505ccc75 2278
78b7c6f8
JJ
22792006-12-18 Jeff Johnston <jjohnstn@redhat.com>
2280
ba3ccd63
EB
2281 * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
2282 * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
78b7c6f8 2283
f5222560
JJ
22842006-12-18 Jeff Johnston <jjohnstn@redhat.com>
2285
2286 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
2287 2.6.5 version of Doug Lea's malloc which is the basis of
2288 this code.
2289
9b354d7f
JJ
22902006-12-18 Kazunori Asayama <asayama@sm.sony.co.jp>
2291
2292 * libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
2293
4c0b8a07 22942006-12-14 Jeff Johnston <jjohnstn@redhat.com>
ba3ccd63 2295 Eric Blake <ebb9@byu.net>
4c0b8a07 2296
ba3ccd63
EB
2297 * libc/stdio/fflush.c (fflush): On seekable streams, always flush
2298 read but unused data.
2299 * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
2300 even read streams may have side effects that must happen.
4c0b8a07 2301
dd52bb72
JJ
23022006-12-13 Joel Schopp <jschopp@austin.ibm.com>
2303
ba3ccd63 2304 * libc/machine/spu/setjmp.S: Fix to handle registers past 115
6a200958
JJ
2305 correctly.
2306
23072006-12-13 Joel Schopp <jschopp@austin.ibm.com>
2308
ba3ccd63 2309 * libc/include/alloca.h: Add undef alloca to work with xlc.
dd52bb72 2310
4e051d91
JJ
23112006-12-12 Joel Schopp <jschopp@austin.ibm.com>
2312
ba3ccd63 2313 * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
6a200958 2314 cell spu.
4e051d91 2315
489bb390
JJ
23162006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
2317
2318 * libc/machine/spu/strncpy.c: Add padding.
2319
3e2d7a91
JJ
23202006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
2321
17c0c97d 2322 * testsuite/newlib.string/tstring.c:
3e2d7a91 2323
0a2ef998
JJ
23242006-12-01 Kazunori Asayama <asayama@sm.sony.co.jp>
2325
2326 * libc/machine/spu/strchr.c: Fix mask for misaligned string.
2327 * libc/machine/spu/strrchr.c: Ditto.
2328
75190a8f
JJ
23292006-11-30 Lev Bishop <lev.bishop@gmail.com>
2330
2331 * libc/include/math.h: Allow C99 functions/macros to be
2332 defined for C++ even when __STRICT_ANSI__.
2333
7d794364
JJ
23342006-11-29 Jeff Johnston <jjohnstn@redhat.com>
2335
2336 * libc/stdio/makebuf.c (__smakebuf): If dealing with
2337 an asprintf-family buffer, make the default initial size 64.
2338
c4c7f139
JJ
23392006-11-29 Eric Blake <ebb9@byu.net>
2340
2341 * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
2342 asprintf, as well as quadratic realloc behavior.
2343
23442006-11-29 Kazunori Asayama <asayama@sm.sony.co.jpi
80c6ead2
JJ
2345
2346 * libc/machine/spu/memset.c: Fix type of explicit cast.
2347 * libc/machine/spu/strncmp.c: Add explicit cast.
2348 * libc/machine/spu/strrchr.c: Ditto.
2349 * libc/machine/spu/strspn.c: Ditto.
2350
9bc5b618
JJ
23512006-11-22 Luca Barbato <lu_zero@gentoo.org>
2352
2353 * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
2354 * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
2355 * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
2356 * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
2357 * libc/machine/spu/strncat.c: Explicit cast.
2358 * libc/machine/spu/strncmp.c: Use spu_splats.
2359 * libc/machine/spu/strncpy.c: Explicit cast.
2360 * libc/machine/spu/strrchr.c: Use spu_splats.
2361 * libc/machine/spu/strspn.c: Use spu_splats.
2362
52077eb2
JJ
23632006-11-15 Till Straumann <strauman@slac.stanford.edu>
2364
2365 * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
2366
d1a2fe1a
JJ
23672006-11-14 Eric Blake <ebb9@byu.net>
2368
2369 * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
2370 (chclass): ' is a flag. j, t, and z are modifiers.
2371
9842c7e4 23722006-11-08 Jie Zhang <jie.zhang@analog.com>
292f8e23
JJ
2373
2374 * configure.host: Add support for bfin.
2375 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
2376 * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
2377 * libc/machine/bfin/aclocal.m4: Generate.
2378 * libc/machine/bfin/configure.in: New.
2379 * libc/machine/bfin/configure: Generate.
2380 * libc/machine/bfin/Makefile.am: New.
2381 * libc/machine/bfin/Makefile.in: Generate.
2382 * libc/machine/bfin/setjmp.S: New.
2383 * libc/machine/bfin/longjmp.S: New.
2384 * libc/machine/configure.in: Add bfin support.
2385 * libc/machine/configure: Generate.
2386
b1755fe7
CV
23872006-11-07 Corinna Vinschen <corinna@vinschen.de>
2388
2389 * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
2390 (_PC_FILESIZEBITS): Add definition.
2391 (_PC_2_SYMLINKS): Ditto.
2392 (_PC_SYMLINK_MAX): Ditto.
2393
d384d868
JJ
23942006-10-27 Joel Schopp <jschopp@austin.ibm.com>
2395
2396 * libc/machine/spu/memcpy.c: Override generic function with vectorized
2397 version optimized for the cell spu.
2398 * libc/machine/spu/memmove.c: Ditto.
2399 * libc/machine/spu/memset.c: Ditto.
2400 * libc/machine/spu/strcat.c: Ditto.
2401 * libc/machine/spu/strchr.c: Ditto.
2402 * libc/machine/spu/strcmp.c: Ditto.
2403 * libc/machine/spu/strcpy.c: Ditto.
2404 * libc/machine/spu/strcspn.c: Ditto.
2405 * libc/machine/spu/strlen.c: Ditto.
2406 * libc/machine/spu/strncat.c: Ditto.
2407 * libc/machine/spu/strncmp.c: Ditto.
2408 * libc/machine/spu/strncpy.c: Ditto.
2409 * libc/machine/spu/strpbrk.c: Ditto.
2410 * libc/machine/spu/strrchr.c: Ditto.
2411 * libc/machine/spu/strspn.c: Ditto.
2412 * libc/machine/spu/strxfrm.c: Ditto.
17c0c97d 2413 * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
d384d868
JJ
2414 removing altivec style initializers.
2415 * libc/machine/spu/Makefile.am: Add new files to list so they build
2416 * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
2417
f29fdb2f
JJ
24182006-10-27 Jeff Johnston <jjohnstn@redhat.com>
2419
2420 * README: Add a brief section on how to regenerate
2421 configuration files in newlib.
2422
884dc68f
JJ
24232006-10-25 Vladimir Prus <vladimir@codesourcery.com>
2424
2425 * libc/include/math.h: (exception): Add a comment
2426 telling fixincludes that we handle C vs. C++ issue.
2427
f8fe93f9
JJ
24282006-10-11 Yang Tse <yangsita@gmail.com>
2429
6d441576
CV
2430 * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
2431 braced-groups.
f8fe93f9 2432
d95c5792
CV
24332006-10-11 Corinna Vinschen <corinna@vinschen.de>
2434
2435 * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
2436
e5e148d1
JJ
24372006-09-26 Jeff Johnston <jjohnstn@redhat.com>
2438
2439 * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
2440 for clearerr, feof, or fileno.
17c0c97d
EB
2441 * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
2442 the dummy std stream scheme to use pointers to const external
e5e148d1
JJ
2443 fake files, one for each standard stream.
2444 * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
2445 argument. For _REENT_SMALL, reset the file pointer if it
2446 matches one of the fake std stream pointers.
2447 * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
2448 argument.
2449 * libc/stdio/fclose.c: Ditto.
2450 * libc/stdio/feof.c: Ditto.
2451 * libc/stdio/ferror.c: Ditto.
2452 * libc/stdio/fflush.c: Ditto.
2453 * libc/stdio/fgetc.c: Ditto.
2454 * libc/stdio/fgets.c: Ditto.
2455 * libc/stdio/fileno.c: Ditto.
2456 * libc/stdio/findfp.c: Ditto.
2457 * libc/stdio/fputc.c: Ditto.
2458 * libc/stdio/fputs.c: Ditto.
2459 * libc/stdio/fread.c: Ditto.
2460 * libc/stdio/freopen.c: Ditto.
2461 * libc/stdio/fseek.c: Ditto.
2462 * libc/stdio/ftell.c: Ditto.
2463 * libc/stdio/fwrite.c: Ditto.
2464 * libc/stdio/getc.c: Ditto.
2465 * libc/stdio/getdelim.c: Ditto.
2466 * libc/stdio/putc.c: Ditto.
2467 * libc/stdio/refill.c: Ditto.
2468 * libc/stdio/setvbuf.c: Ditto.
2469 * libc/stdio/ungetc.c: Ditto.
2470 * libc/stdio/vfprintf.c: Ditto.
2471 * libc/stdio/vfscanf.c: Ditto.
2472 * libc/stdio/wbuf.c: Ditto.: Ditto.
2473 * libc/stdio/wsetup.c: Ditto.
2474 * libc/stdio64/freopen64.c: Ditto.
2475 * libc/stdio64/fseeko64.c: Ditto.
2476 * libc/stdio64/ftello64.c: Ditto.
2477 * libc/machine/powerpc/vfprintf.c: Ditto.
2478 * libc/machine/powerpc/vfscanf.c: Ditto.
2479
e83c3d0a
JJ
24802006-09-22 Paul Brook <paul@codesourcery.com>
2481
2482 * libc/include/sys/reent.h: Define and use __reent_assert.
2483
23754b33
JJ
24842006-09-13 Joel Sherrill <joel@oarcorp.com>
2485
2486 * libc/include/pthread.h: Add pthread barriers,
2487 rwlocks, and spinlocks. Change const to
2488 _CONST and prefix parameter names with
2489 an underscore.
2490 * libc/include/sys/types.h: Add id and attribute
2491 types for barriers, wrlocks, and spinlocks.
2492 * libc/include/sys/features.h: Enable barriers,
2493 wrlocks, and spinlocks for RTEMS.
2494
ba1bb1b3
JJ
24952006-09-13 Patrick Mansfield <patmans@us.ibm.com>
2496
2497 * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
2498 supposed to be writable.
2499 * libm/common/s_lib_ver.c: Ditto.
2500
8f9f25da
JJ
25012006-09-12 Paul Brook <paul@codesourcery.com>
2502
2503 * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
2504
0324070e
JJ
25052006-09-07 Masaki Muranaka <monaka@monami-software.com>
2506
8f9f25da 2507
0324070e
JJ
2508 * libc/machine/xstormy16/Makefile.am:
2509 Add $(lpfx) prefix to LIBADD objects.
2510 lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
2511 * libc/machine/xstormy16/Makefile.in: Regenerated.
2512
d39002f9
JJ
25132006-09-06 Eric Blake <ebb9@byu.net>
2514
2515 * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
2516 't', and 'z' modifiers.
2517
c023e783
KH
25182006-09-01 Kazu Hirata <kazu@codesourcery.com>
2519
2520 Merge from newlib-csl-20060320-branch:
2521 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
2522
2523 * configure.host: Tell it we have _rename and _system when
2524 building m68k-unknown-elf.
2525
85974265
JJ
25262006-08-29 Paul Brook <paul@codesourcery.com>
2527
2528 * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
2529
c1f828e5
JJ
25302006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
2531
2532 * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
2533 BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
2534 This is needed to build all AVR and H8300 RTEMS multilib variants.
2535
b8e05321
JJ
25362006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
2537
2538 * libc/machine/configure.in: Add configuration for SPU.
2539 * libc/machine/configure: Regenerated.
2540 * libc/machine/spu/memcpy.c: Include string.h.
2541
380d8ec4
JJ
25422006-08-22 Eric Blake <ebb9@byu.net>
2543
2544 * libc/posix/popen.c (popen): Don't close output end of pipe in
2545 child if stdout was closed on entry.
2546 [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
2547
a0922fcb
CF
25482006-08-19 Ramana Radhakrishnan <ramana.r@gmail.com>
2549
2550 * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
2551 line.
2552
84a79403
JJ
25532006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
2554
17c0c97d
EB
2555 * libc/time/gmtime.c: Correct man page; clock is not a
2556 local time and no conversion occurs.
84a79403 2557
0d8de89c
JJ
25582006-08-16 Joel Schopp <jschopp@austin.ibm.com>
2559
ba3ccd63
EB
2560 * configure.host (newlib_cflags) [spu]: Add special compiler
2561 options to reduce size.
0d8de89c 2562
734e8414
JJ
25632006-08-16 Joel Schopp <jschopp@austin.ibm.com>
2564
2565 * configure.host: Add spu support.
2566 * libc/include/stdint.h: Ditto.
2567 * libc/include/machine/ieeefp.h: Ditto.
2568 * libc/include/machine/setjmp.h: Ditto.
2569 * libc/include/sys/config.h: Ditto.
2570 * libc/include/sys/types.h: Ditto.
2571 * libc/machine/spu/Makefile.am: New file.
2572 * libc/machine/spu/Makefile.in: Ditto.
2573 * libc/machine/spu/aclocal.m4: Ditto.
2574 * libc/machine/spu/configure: Ditto.
2575 * libc/machine/spu/configure.in: Ditto.
2576 * libc/machine/spu/memcpy.c: Ditto.
2577 * libc/machine/spu/setjmp.S: Ditto.
2578
079b45dc
JJ
25792006-08-03 J"orn Rennecke <joern.rennecke@st.com>
2580
2581 * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
2582 properly.
2583
2ebf115d
JJ
25842006-08-01 Jeff Johnston <jjohnstn@redhat.com>
2585
2586 * libc/Makefile.am: Add libc_TEXINFOS dependency on
2587 generated .texi files.
2588 * libm/Makefile.am: Add libm_TEXINFOS dependency on
2589 generated .texi files.
2590 * libc/Makefile.in: Regenerated.
2591 * libm/Makefile.in: Ditto.
2592
a1213494 25932006-08-01 Thiemo Seufer <ths@mips.com>
ba3ccd63 2594 Nigel Stephens <nigel@mips.com>
a1213494
JJ
2595
2596 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
2597 define this to force _impure_ptr to live in the .sdata section.
2598
0a85d87f
JJ
25992006-07-31 Jeff Johnston <jjohnstn@redhat.com>
2600
2601 * acinclude.m4: Check for readelf tool.
2602 * configure.in: Use ${READELF} instead of hard-coding.
2603 * Regenerate all aclocal.m4, Makefile.in, and configure files.
2604
17c0c97d 26052006-07-31 Jeff Johnston <jjohnstn@redhat.com>
cc023a75
JJ
2606
2607 * libc/sys/linux/mmap.c: Remove include of sys/mman.h
2608 to avoid conflict with newer glibc's revision of mremap.
2609
17c0c97d 26102006-07-05 Jeff Johnston <jjohnstn@redhat.com>
b0b92438 2611
17c0c97d 2612 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
b0b92438
JJ
2613 floating-point format support. Also redefine
2614 dword0 and dword1 macros.
2615 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
2616 to prevent setting dword1 which is an rvalue only.
2617
17c0c97d 26182006-06-22 Jeff Johnston <jjohnstn@redhat.com>
f489b594
JJ
2619
2620 * libc/stdlib/Makefile.am: Add new gdtoa routines.
2621 * libc/stdlib/Makefile.in: Regenerated.
2622 * libc/stdlib/gd_qnan.h: New file.
2623 * libc/stdlib/gdtoa-gethex.c: Ditto.
2624 * libc/stdlib/gdtoa-hexnan.c: Ditto.
2625 * libc/stdlib/gdtoa.h: Ditto.
2626 * libc/stdlib/mprec.c: Add new helper routines needed by
2627 the new gdtoa code.
2628 * libc/stdlib/mprec.h: Integrate some defines and prototypes
2629 used by gdtoa routines here.
2630 * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
2631 which adds C99 support such as nan, inf, and hexadecimal input
2632 format.
2633
c8956c6f
JJ
26342006-06-15 Corinna Vinschen <corinna@vinschen.de>
2635
2636 * libc/include/stdio.h (__sgetc_r): Fix typo.
2637 * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
2638 * libc/stdio/rget.c (__srbuf): Reinstantiate.
2639 * libc/stdio/wbuf.c (__swbuf): Ditto.
2640
17c0c97d 26412006-06-14 Jeff Johnston <jjohnstn@redhat.com>
4dc0c0c4
JJ
2642
2643 * libc/include/stdio.h: Add new reentrant I/O prototypes for
17c0c97d 2644 read/write functions. Change getc/putc macros to have reentrant underlying
4dc0c0c4
JJ
2645 macros/functions. This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
2646 * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
2647 new reentrant I/O functions/macros for reading/writing.
2648 * libc/stdio/fgets.c: Ditto.
2649 * libc/stdio/fputc.c: Ditto.
2650 * libc/stdio/fputs.c: Ditto.
2651 * libc/stdio/fread.c: Ditto.
2652 * libc/stdio/fseek.c: Ditto.
2653 * libc/stdio64/fseeko64.c: Ditto.
2654 * libc/stdio/fwrite.c: Ditto.
2655 * libc/stdio/getc.c: Ditto.
2656 * libc/stdio/getc_u.c: Ditto.
2657 * libc/stdio/getchar.c: Ditto.
2658 * libc/stdio/getchar_u.c: Ditto.
2659 * libc/stdio/putc.c: Ditto.
2660 * libc/stdio/putc_u.c: Ditto.
2661 * libc/stdio/putchar.c: Ditto.
2662 * libc/stdio/puts.c: Ditto.
2663 * libc/stdio/vfprintf.c: Ditto.
2664 * libc/stdio/vfscanf.c: Ditto.
2665 * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
2666 Change all previous callers of __sfvwrite. Set errno to EBADF and
2667 set error flag on if attempt is made to write to file that does not
2668 allow writing.
2669 * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
2670 * libc/stdio/local.h: Ditto.
2671 * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
2672 Set errno to EBADF and the error flag on if attempt is made to
2673 read unreadable file. Change all previous callers of __srefill.
2674 * libc/stdio/rget.c
2675 * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r. Change
2676 all previous callers of __swbuf.
2677 * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
2678 huge value macros are already defined correctly for i386 by <math.h>.
2679
c4cac45f
JJ
26802006-06-13 Sandra Loosemore <sandra@codesourcery.com>
2681
2682 * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
2683 Make them do something useful in the ARM_RDI_MONITOR case.
2684
b5b6cbd8
JJ
26852006-06-07 Fred Fish <fnf@specifix.com>
2686
2687 * libc/search/hash_bigkey.c (MIN,MAX): Remove
2688 defines that are already supplied by <sys/param.h>.
2689
3cc3705c
JJ
26902006-06-07 Fred Fish <fnf@specifix.com>
2691
2692 * configure.host: Remove references to HAVE_GETTIMEOFDAY.
2693
512c2879
JJ
26942006-06-05 Shaun Jackman <sjackman@gmail.com>
2695
2696 * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
2697 usleep.c.
2698 * libc/posix/Makefile.in: Regenerate.
2699 * libc/posix/sleep.c: New file.
2700 * libc/posix/usleep.c: Ditto.
2701
6ea486a6
JJ
27022006-06-05 Shaun Jackman <sjackman@gmail.com>
2703
9eedc2e6 2704 * configure.host (newlib_cflags) [arm, thumb, xscale]: Remove
6ea486a6
JJ
2705 -DABORT_PROVIDED flag.
2706 * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
2707 * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
2708
2e7c576a
JJ
27092006-06-05 Jeff Johnston <jjohnstn@redhat.com>
2710
2711 * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
2712 * Makefile.in: Regenerated.
2713 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
2714 extraneous CFLAGS reference now that CCASFLAGS are being extended
2715 properly via multilib.
2716 * libc/machine/sh/Makefile.in: Regenerated.
2717
3feae7b1
JJ
27182006-06-02 Shaun Jackman <sjackman@gmail.com>
2719
2720 * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
2721 sigismember.
2722
f383bda5
JJ
27232006-05-23 Jeff Johnston <jjohnstn@redhat.com>
2724
2725 * libc/misc/dprintf.c: Removed.
2726 * libc/misc/__dprintf.c: Renamed from dprintf.c.
2727 * libc/misc/Makefile.am: Changed appropriately for rename.
2728 * libc/misc/Makefile.in: Regenerated.
2729
8eeee74e
JJ
27302006-05-23 Jeff Johnston <jjohnstn@redhat.com>
2731
2732 * libc/include/stdio.h: Protect dprintf prototype
2733 with #ifndef dprintf so as to not interfere with
2734 historical code defining their own dprintf macro.
2735
dc7798c6
JJ
27362006-05-18 Jeff Johnston <jjohnstn@redhat.com>
2737
2738 * libc/include/stdio.h: Add prototypes for fiscanf,
2739 iscanf, and siscanf.
2740
e1b888df
JR
27412006-05-11 J"orn Rennecke <joern.rennecke@st.com>
2742
2743 * acinclude.m4 (_NEWLIB_VERSION): Rename to:
2744 (DEF_NEWLIB_VERSION).
2745 * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
2746 * configure: Regenerate.
2747
7f32c41d
JJ
27482006-05-09 Jeff Johnston <jjohnstn@redhat.com>
2749
2750 * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
2751 lib_a_SOURCES.
2752 * libc/ctype/Makefile.in: Regenerated.
2753
bac01fc8
JJ
27542006-05-09 Kazu Hirata <kazu@codesourcery.com>
2755
2756 * libc/machine/arm/Makefile.am: Fix a typo.
2757 * libc/machine/arm/Makefile.in: Regenerated.
2758
6c47d5b7
JR
27592006-05-08 J"orn Rennecke <joern.rennecke@st.com>
2760
2761 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
2762 * libc/machine/sh/Makefile.in: Regenerate.
2763
7cc7e374
JR
27642006-05-03 J"orn Rennecke <joern.rennecke@st.com>
2765
2766 * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
2767 * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
2768
a8b02d46
JJ
27692006-05-02 Jeff Johnston <jjohnstn@redhat.com>
2770
2771 * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
2772 .s.
2773 * libc/sys/sysnec810/Makefile.in: Regenerated.
2774 * libc/sys/sysnec810/crt0.S: Renamed from .s file.
2775 * libc/sys/sysnec810/io.S: Ditto.
2776 * libc/sys/sysnec810/crt0.s: Renamed to .S file.
2777 * libc/sys/sysnec810/io.s: Ditto.
2778
8f8f1db1
JJ
27792006-05-01 Jeff Johnston <jjohnstn@redhat.com>
2780
2781 * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx). If source file can
2782 be specified instead of object, do so.
2783 * libc/ctype/Makefile.am: Ditto.
2784 * libc/iconv/ccs/Makefile.am: Ditto.
2785 * libc/iconv/ces/Makefile.am: Ditto.
2786 * libc/iconv/lib/Makefile.am: Ditto.
2787 * libc/locale/Makefile.am: Ditto.
2788 * libc/posix/Makefile.am: Ditto.
2789 * libc/reent/Makefile.am: Ditto.
2790 * libc/search/Makefile.am: Ditto.
2791 * libc/stdio/Makefile.am: Ditto.
2792 * libc/stdio64/Makefile.am: Ditto.
2793 * libc/stdlib/Makefile.am: Ditto.
2794 * libc/string/Makefile.am: Ditto.
2795 * libc/syscalls/Makefile.am: Ditto.
2796 * libc/unix/Makefile.am: Ditto.
2797 * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
2798 prefix added automatically. Any specified rules must use $(lpfx) for
2799 object file names.
2800 * libc/machine/arm/Makefile.am: Ditto.
2801 * libc/machine/cris/Makefile.am: Ditto.
2802 * libc/machine/crx/Makefile.am: Ditto.
2803 * libc/machine/d10v/Makefile.am: Ditto.
2804 * libc/machine/d30v/Makefile.am: Ditto.
2805 * libc/machine/fr30/Makefile.am: Ditto.
2806 * libc/machine/frv/Makefile.am: Ditto.
2807 * libc/machine/h8300/Makefile.am: Ditto.
2808 * libc/machine/h8500/Makefile.am: Ditto.
2809 * libc/machine/hppa/Makefile.am: Ditto.
2810 * libc/machine/i386/Makefile.am: Ditto.
2811 * libc/machine/i960/Makefile.am: Ditto.
2812 * libc/machine/iq2000/Makefile.am: Ditto.
2813 * libc/machine/m32c/Makefile.am: Ditto.
2814 * libc/machine/m32r/Makefile.am: Ditto.
2815 * libc/machine/m68hc11/Makefile.am: Ditto.
2816 * libc/machine/m68k/Makefile.am: Ditto.
2817 * libc/machine/m88k/Makefile.am: Ditto.
2818 * libc/machine/mips/Makefile.am: Ditto.
2819 * libc/machine/mn10200/Makefile.am: Ditto.
2820 * libc/machine/mn10300/Makefile.am: Ditto.
2821 * libc/machine/mt/Makefile.am: Ditto.
2822 * libc/machine/necv70/Makefile.am: Ditto.
2823 * libc/machine/powerpc/Makefile.am: Ditto.
2824 * libc/machine/sh/Makefile.am: Ditto.
2825 * libc/machine/sh/Makefile.in: Ditto.
2826 * libc/machine/sparc/Makefile.am: Ditto.
2827 * libc/machine/tic4x/Makefile.am: Ditto.
2828 * libc/machine/tic80/Makefile.am: Ditto.
2829 * libc/machine/v850/Makefile.am: Ditto.
2830 * libc/machine/w65/Makefile.am: Ditto.
2831 * libc/machine/xscale/Makefile.am: Ditto.
2832 * libc/machine/xstormy16/Makefile.am: Ditto.
2833 * libc/machine/z8k/Makefile.am: Ditto.
2834 * libc/sys/a29khif/Makefile.am: Ditto.
2835 * libc/sys/arm/Makefile.am: Ditto.
2836 * libc/sys/d10v/Makefile.am: Ditto.
2837 * libc/sys/h8300hms/Makefile.am: Ditto.
2838 * libc/sys/h8500hms/Makefile.am: Ditto.
2839 * libc/sys/linux/Makefile.am: Ditto.
2840 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2841 * libc/sys/linux/net/Makefile.am: Ditto.
2842 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2843 * libc/sys/m88kbug/Makefile.am: Ditto.
2844 * libc/sys/mmixware/Makefile.am: Ditto.
2845 * libc/sys/rdos/Makefile.am: Ditto.
2846 * libc/sys/rtems/Makefile.am: Ditto.
2847 * libc/sys/sh/Makefile.am: Ditto.
2848 * libc/sys/sun4/Makefile.am: Ditto.
2849 * libc/sys/sysmec/Makefile.am: Ditto.
2850 * libc/sys/sysnec810/Makefile.am: Ditto.
2851 * libc/sys/sysnecv850/Makefile.am: Ditto.
2852 * libc/sys/sysvi386/Makefile.am: Ditto.
2853 * libc/sys/sysvnecv70/Makefile.am: Ditto.
2854 * libc/sys/tic80/Makefile.am: Ditto.
2855 * libc/sys/w65/Makefile.am: Ditto.
2856 * libc/sys/z8ksim/Makefile.am: Ditto.
2857 * libc/machine/necv70/fastmath.S: Renamed from .s file.
2858 * libc/machine/necv70/setjmp.S: Ditto.
2859 * libc/machine/necv70/fastmath.s: Removed.
2860 * libc/machine/necv70/setjmp.s: Ditto.
2861 * libc/machine/w65/*.S: New files renamed from .s files.
2862 * libc/machine/w65/*.s: Renamed and removed.
2863 * libc/sys/a29khif/*.S: New files renamed from .s files.
2864 * libc/sys/a29khif/*.s: Renamed and removed.
2865 * libc/sys/sysvi386/*.S: New files renamed from .s files.
2866 * libc/sys/sysvi386/*.s: Renamed and removed.
2867 * libc/sys/sysvnecv70/*.S: New files renamed from .s files.
2868 * libc/sys/sysvnecv70/*.s: Renamed and removed.
2869 * libc/*Makefile.in: Regenerated as appropriate.
2870
b34db572
DD
28712006-04-24 DJ Delorie <dj@redhat.com>
2872
2873 * libc/machine/sh/configure.in: Avoid link tests.
2874 * libc/machine/sh/configure: Regenerate.
2875
e163e3e1
JJ
28762006-04-18 Jeff Johnston <jjohnstn@redhat.com>
2877
2878 * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
2879 (sigaddset, sigemptyset): Add return code.
2880
7ad96224
JJ
28812006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
2882
ba3ccd63
EB
2883 * acinclude.m4: New _NEWLIB_VERSION.
2884 * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
2885 Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
2886 Use new form of AC_INIT_AUTOMAKE.
2887 * configure.in: AC_PREREQ(2.59).
2888 Use autoconf-2.5.x version of AC_INIT.
2889 Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
2890 autoconf-2.13's AC_OUTPUT.
2891 * libm/configure.in: Ditto.
2892 * libm/machine/configure.in: Ditto.
2893 * libm/machine/i386/configure.in: Ditto.
2894 * libc/configure.in: Ditto.
2895 * libc/machine/a29k/configure.in: Ditto.
2896 * libc/machine/arm/configure.in: Ditto.
2897 * libc/machine/configure.in: Ditto.
2898 * libc/machine/mn10300/configure.in: Ditto.
2899 * libc/machine/powerpc/configure.in: Ditto.
2900 * libc/machine/z8k/configure.in: Ditto.
2901 * libc/machine/h8300/configure.in: Ditto.
2902 * libc/machine/mips/configure.in: Ditto.
2903 * libc/machine/crx/configure.in: Ditto.
2904 * libc/machine/m68hc11/configure.in: Ditto.
2905 * libc/machine/h8500/configure.in: Ditto.
2906 * libc/machine/xscale/configure.in: Ditto.
2907 * libc/machine/d10v/configure.in: Ditto.
2908 * libc/machine/fr30/configure.in: Ditto.
2909 * libc/machine/sh/configure.in: Ditto.
2910 * libc/machine/tic80/configure.in: Ditto.
2911 * libc/machine/m32r/configure.in: Ditto.
2912 * libc/machine/xstormy16/configure.in: Ditto.
2913 * libc/machine/i386/configure.in: Ditto.
2914 * libc/machine/d30v/configure.in: Ditto.
2915 * libc/machine/mn10200/configure.in: Ditto.
2916 * libc/machine/frv/configure.in: Ditto.
2917 * libc/machine/mt/configure.in: Ditto.
2918 * libc/machine/i960/configure.in: Ditto.
2919 * libc/machine/v850/configure.in: Ditto.
2920 * libc/machine/necv70/configure.in: Ditto.
2921 * libc/machine/tic4x/configure.in: Ditto.
2922 * libc/machine/cris/configure.in: Ditto.
2923 * libc/machine/m68k/configure.in: Ditto.
2924 * libc/machine/m32c/configure.in: Ditto.
2925 * libc/machine/hppa/configure.in: Ditto.
2926 * libc/machine/w65/configure.in: Ditto.
2927 * libc/machine/iq2000/configure.in: Ditto.
2928 * libc/machine/sparc/configure.in: Ditto.
2929 * libc/machine/m88k/configure.in: Ditto.
2930 * libc/sys/linux/configure.in: Ditto.
2931 * libc/sys/linux/machine/configure.in: Ditto.
2932 * libc/sys/linux/machine/i386/configure.in: Ditto.
2933 * libc/sys/linux/linuxthreads/configure.in: Ditto.
2934 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2935 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
2936 * libc/sys/arm/configure.in: Ditto.
2937 * libc/sys/configure.in: Ditto.
2938 * libc/sys/decstation/configure.in: Ditto.
2939 * libc/sys/a29khif/configure.in: Ditto.
2940 * libc/sys/sysnecv850/configure.in: Ditto.
2941 * libc/sys/d10v/configure.in: Ditto.
2942 * libc/sys/netware/configure.in: Ditto.
2943 * libc/sys/mmixware/configure.in: Ditto.
2944 * libc/sys/h8500hms/configure.in: Ditto.
2945 * libc/sys/sh/configure.in: Ditto.
2946 * libc/sys/tic80/configure.in: Ditto.
2947 * libc/sys/rdos/configure.in: Ditto.
2948 * libc/sys/sysmec/configure.in: Ditto.
2949 * libc/sys/sysvi386/configure.in: Ditto.
2950 * libc/sys/h8300hms/configure.in: Ditto.
2951 * libc/sys/sparc64/configure.in: Ditto.
2952 * libc/sys/arc/configure.in: Ditto.
2953 * libc/sys/sysnec810/configure.in: Ditto.
2954 * libc/sys/m88kbug/configure.in: Ditto.
2955 * libc/sys/sysvnecv70/configure.in: Ditto.
2956 * libc/sys/z8ksim/configure.in: Ditto.
2957 * libc/sys/rtems/configure.in: Ditto.
2958 * libc/sys/w65/configure.in: Ditto.
2959 * libc/sys/sun4/configure.in: Ditto.
2960 * doc/configure.in: Ditto.
2961 * iconvdata/configure.in: Ditto.
2962 * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
7ad96224 2963
34e66679
JJ
29642006-04-11 Jeff Johnston <jjohnstn@redhat.com>
2965
2966 * acinclude.m4: Properly add square brackets for
2967 AC_DEFUN macros. Rewrite LIB_AC_PROG_CC to remove
2968 macros no longer available. Add LIB_AM_PROG_AS to
2969 remove prereq of AC_PROG_CC. Add LIB_AC_PROG_CC_GNU
2970 macro. Substitute lpfx (library object prefix).
2971 * configure.host: Set lpfx depending on whether
2972 libtool is used or not.
2973 * configure.in: Individually specify libc and libm
2974 to AC_CONFIG_SUBDIRS. Add square bracket quoting as
2975 necessary.
2976 * Makefile.am: Use $(lpfx) to get object names for
2977 math-library functions that should also be in libc.
2978 * libc/machine/configure.in: Use case statement to determine
2979 AC_CONFIG_SUBDIRS statement.
2980 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2981 * libc/sys/linux/machine/configure.in: Ditto.
2982 * libc/sys/configure.in: Ditto.
2983 * libm/machine/configure.in: Ditto.
2984 * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
2985 * libm/configure.in: Add AM_CONDITIONAL statement
2986 for HAVE_LIBM_MACHINE_DIR.
2987 * libc/machine/a29k/Makefile.am: Modified to work with
2988 latest automake. Change includes setting AM_CCASFLAGS
2989 so building .S files will properly pick up flags used
2990 to build C files.
2991 * libc/machine/arm/Makefile.am: Ditto.
2992 * libc/machine/crx/Makefile.am: Ditto.
2993 * libc/machine/d10v/Makefile.am: Ditto.
2994 * libc/machine/d30v/Makefile.am: Ditto.
2995 * libc/machine/fr30/Makefile.am: Ditto.
2996 * libc/machine/frv/Makefile.am: Ditto.
2997 * libc/machine/h8300/Makefile.am: Ditto.
2998 * libc/machine/h8500/Makefile.am: Ditto.
2999 * libc/machine/hppa/Makefile.am: Ditto.
3000 * libc/machine/i386/Makefile.am: Ditto.
3001 * libc/machine/iq2000/Makefile.am: Ditto.
3002 * libc/machine/m32c/Makefile.am: Ditto.
3003 * libc/machine/m32r/Makefile.am: Ditto.
3004 * libc/machine/m68hc11/Makefile.am: Ditto.
3005 * libc/machine/m68k/Makefile.am: Ditto.
3006 * libc/machine/m88k/Makefile.am: Ditto.
3007 * libc/machine/mips/Makefile.am: Ditto.
3008 * libc/machine/mn10200/Makefile.am: Ditto.
3009 * libc/machine/mn10300/Makefile.am: Ditto.
3010 * libc/machine/mt/Makefile.am: Ditto.
3011 * libc/machine/necv70/Makefile.am: Ditto.
3012 * libc/machine/powerpc/Makefile.am: Ditto.
3013 * libc/machine/sh/Makefile.am: Ditto.
3014 * libc/machine/sparc/Makefile.am: Ditto.
3015 * libc/machine/tic4x/Makefile.am: Ditto.
3016 * libc/machine/tic80/Makefile.am: Ditto.
3017 * libc/machine/v850/Makefile.am: Ditto.
3018 * libc/machine/w65/Makefile.am: Ditto.
3019 * libc/machine/xscale/Makefile.am: Ditto.
3020 * libc/machine/xstormy16/Makefile.am: Ditto.
3021 * libc/machine/z8k/Makefile.am: Ditto.
3022 * libc/sys/a29khif/Makefile.am: Ditto.
3023 * libc/sys/arc/Makefile.am: Ditto.
3024 * libc/sys/arm/Makefile.am: Ditto.
3025 * libc/sys/d10v/Makefile.am: Ditto.
3026 * libc/sys/decstation/Makefile.am: Ditto.
3027 * libc/sys/h8300hms/Makefile.am: Ditto.
3028 * libc/sys/h8500hms/Makefile.am: Ditto.
3029 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
3030 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
3031 * libc/sys/m88kbug/Makefile.am: Ditto.
3032 * libc/sys/mmixware/Makefile.am: Ditto.
3033 * libc/sys/netware/Makefile.am: Ditto.
3034 * libc/sys/rdos/Makefile.am: Ditto.
3035 * libc/sys/rtems/Makefile.am: Ditto.
3036 * libc/sys/sh/Makefile.am: Ditto.
3037 * libc/sys/sparc64/Makefile.am: Ditto.
3038 * libc/sys/sysmec/Makefile.am: Ditto.
3039 * libc/sys/sysnec810/Makefile.am: Ditto.
3040 * libc/sys/sysnecv850/Makefile.am: Ditto.
3041 * libc/sys/sysvi386/Makefile.am: Ditto.
3042 * libc/sys/sysvnecv70/Makefile.am: Ditto.
3043 * libc/sys/tic80/Makefile.am: Ditto.
3044 * libc/sys/w65/Makefile.am: Ditto.
3045 * libc/sys/z8ksim/Makefile.am: Ditto.
3046 * libm/machine/i386/Makefile.am: Ditto.
3047 * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
3048 trap.S so that automake will generate a .S.o suffix rule.
3049 * libc/argz/Makefile.am: Modified to work with
3050 latest automake. Change includes adding lib_a_CFLAGS
3051 so automake doesn't complain about libtool and non-libtool
3052 libraries sharing objects.
3053 * libc/ctype/Makefile.am: Ditto.
3054 * libc/errno/Makefile.am: Ditto.
3055 * libc/iconv/ccs/Makefile.am: Ditto.
3056 * libc/iconv/ces/Makefile.am: Ditto.
3057 * libc/iconv/lib/Makefile.am: Ditto.
3058 * libc/locale/Makefile.am: Ditto.
3059 * libc/misc/Makefile.am: Ditto.
3060 * libc/posix/Makefile.am: Ditto.
3061 * libc/reent/Makefile.am: Ditto.
3062 * libc/search/Makefile.am: Ditto.
3063 * libc/signal/Makefile.am: Ditto.
3064 * libc/stdio/Makefile.am: Ditto.
3065 * libc/stdio64/Makefile.am: Ditto.
3066 * libc/stdlib/Makefile.am: Ditto.
3067 * libc/string/Makefile.am: Ditto.
3068 * libc/sys/linux/Makefile.am: Ditto.
3069 * libc/sys/linux/argp/Makefile.am: Ditto.
3070 * libc/sys/linux/cmath/Makefile.am: Ditto.
3071 * libc/sys/linux/dl/Makefile.am: Ditto.
3072 * libc/sys/linux/iconv/Makefile.am: Ditto.
3073 * libc/sys/linux/intl/Makefile.am: Ditto.
3074 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
3075 * libc/sys/linux/net/Makefile.am: Ditto.
3076 * libc/sys/linux/stdlib/Makefile.am: Ditto.
3077 * libc/syscalls/Makefile.am: Ditto.
3078 * libc/time/Makefile.am: Ditto.
3079 * libc/unix/Makefile.am: Ditto.
3080 * libm/Makefile.am: Ditto.
3081 * libm/common/Makefile.am: Ditto.
3082 * libm/math/Makefile.am: Ditto.
3083 * libm/mathfp/Makefile.am: Ditto.
3084 * Regenerate all aclocal.m4, Makefile.in, and configure files.
3085
b577ecdf
JJ
30862006-04-07 Jeff Johnston <jjohnstn@redhat.com>
3087
3088 * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
3089 anymore. Assume there is a gettimeofday syscall.
3090
ef79d97d
JJ
30912006-03-29 Shaun Jackman <sjackman@gmail.com>
3092
3093 * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
3094 for the declaration of n_long.
3095
15a1b33c
JJ
30962006-03-29 Shaun Jackman <sjackman@gmail.com>
3097
3098 * libc/sys/linux/include/net/if.h: Include sys/socket.h for
3099 struct sockaddr.
3100 (IFF_SMART): Replace this define with IFF_NOTRAILERS.
3101 (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
3102 (IFF_NOTRAILERS): New define.
3103 (struct ifreq): Add ifru_netmask.
3104 (ifr_netmask): New define.
3105
bcc4ff05
JJ
31062006-03-29 Shaun Jackman <sjackman@gmail.com>
3107
3108 * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
3109 match sys/ioctl.h.
3110
8fed3e2e
JJ
31112006-03-29 Shaun Jackman <sjackman@gmail.com>
3112
17c0c97d 3113 * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
8fed3e2e
JJ
3114 linux-newlib libc implementations.
3115
6507c097
JJ
31162006-03-29 Eric Blake <ebb9@byu.net>
3117
3118 * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
3119 * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
3120
fac690be
JJ
31212006-03-29 Jeff Johnston <jjohnstn@redhat.com>
3122
3123 * libc/sys/linux/io.c (__mknod): Fix declaration of
3124 syscall to pass a dev_t as third argument rather than
3125 a pointer to dev_t.
3126
9e443adb
JJ
31272006-03-29 Jeff Johnston <jjohnstn@redhat.com>
3128
3129 * libc/sys/linux/net/name6.c: Fix struct references.
3130
ce93dfe4
MM
31312006-03-22 Mark Mitchell <mark@codesourcery.com>
3132
3133 * configure.host: Allow hosts to set the default
3134 newlib_atexit_dynamic_alloc value.
3135 * configure.in: Likewise.
3136 * configure: Regenerated.
3137
3078fb4f
MM
31382006-03-20 Mark Mitchell <mark@codesourcery.com>
3139
3140 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
3141 * configure.in (--disable-newlib-atexit-dynamic-alloc): New
17c0c97d 3142 option.
3078fb4f
MM
3143 * configure: Regenerated.
3144 * newlib.hin: Regenerated.
3145 * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
3146 if _ATEXIT_DYNAMIC_ALLOC is undefined.
3147 * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
3148 if _ATEXIT_DYNAMIC_ALLOC is undefined.
3149
9d5cff74
JJ
31502006-03-17 Jeff Johnston <jjohnstn@redhat.com>
3151
3152 * libc/sys/linux/linuxthreads/config.h: Remove definition
3153 of UINT32_C.
3154
490cfb83
JJ
31552006-03-15 Jeff Johnston <jjohnstn@redhat.com>
3156
3157 * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
3158 for a string I/O file that isn't using the asprintf family.
3159
ce10f178
JJ
31602006-03-07 Eric Blake <ebb9@byu.net>
3161
3162 * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
3163 filename, allow read-only or write-only FILE atop O_RDWR file
3164 descriptor.
3165 * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
3166
ddf12e6b
JJ
31672006-03-07 Jeff Johnston <jjohnstn@redhat.com>
3168
3169 * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
3170 * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
3171
cb197581
JJ
31722006-03-02 Jeff Johnston <jjohnstn@redhat.com>
3173
3174 * libm/math/math.tex: Fix reference to sisnan.def which
3175 is now in common subdirectory.
3176 * libm/mathfp/mathfp.tex: Ditto.
3177
e48682cf
JJ
31782006-02-27 Jeff Johnston <jjohnstn@redhat.com>
3179
17c0c97d 3180 * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
e48682cf
JJ
3181 s_isnand, and sf_isnanf object files.
3182 * Makefile.in: Regenerated.
3183 * libc/include/ieeefp.h: Undef isnan and isinf to avoid
3184 conflict if <math.h> has previously been included.
3185 * libc/include/math.h
bc88ea65
JJ
3186 * libc/include/math.h: Make isnan and isinf macros to
3187 conform to C99.
3188 (__isinfd, __isinff, __isnand, __isnanf): New functions.
e48682cf
JJ
3189 * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
3190 and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and
17c0c97d 3191 sf_isinf files which have been moved from math/mathfp directories.
e48682cf
JJ
3192 * libm/common/Makefile.in: Regenerated.
3193 * libm/common/s_isinfd.c: New file.
3194 * libm/common/s_isnand.c: Ditto.
3195 * libm/common/sf_isinff.c: Ditto.
3196 * libm/common/sf_isnanf.c: Ditto.
3197 * libm/common/s_isinf.c: Moved from libm/math directory.
3198 * libm/common/s_isnan.c: Ditto.
3199 * libm/common/sf_isinf.c: Ditto.
3200 * libm/common/sf_isnan.c: Ditto.
3201 * libm/math/Makefile.am: Remove isinf and isnan family functions
3202 which have been moved into common directory.
3203 * libm/mathfp/Makefile.am: Ditto.
3204 * libm/math/Makefile.in: Regenerated.
3205 * libm/mathfp/Makefile.in: Ditto.
3206 * libm/math/s_isinf.c: Removed.
3207 * libm/math/s_isnan.c: Ditto.
3208 * libm/math/sf_isinf.c: Ditto.
3209 * libm/math/sf_isnan.c: Ditto.
3210 * libm/mathfp/s_isinf.c: Ditto.
3211 * libm/mathfp/s_isnan.c: Ditto.
3212 * libm/mathfp/sf_isinf.c: Ditto.
3213 * libm/mathfp/sf_isnan.c: Ditto.
3214
99db626d
JJ
32152006-02-20 Jeff Johnston <jjohnstn@redhat.com>
3216
3217 * libc/stdio/fflush.c (fflush): For an fflush on a read-only
3218 stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
3219 * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
3220 seek, turn off the __SNPT no-optimization flag.
3221
49103e2b
JJ
32222006-02-16 Jeff Johnston <jjohnstn@redhat.com>
3223
3224 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
3225 will be defined.
3226 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
3227 <features.h> to preset special flags.
3228
680e0f1f
CV
32292006-02-15 Corinna Vinschen <corinna@vinschen.de>
3230
3231 * libc/include/sys/time.h (struct timeval): Change member types
3232 according to SUSv3.
3233 * libc/include/sys/types.h (useconds_t): Change to unsigned
3234 according to SUSv3.
3235 (suseconds_t): Define type.
3236
d6593503
JJ
32372006-02-13 Jeff Johnston <jjohnstn@redhat.com>
3238 David Carne <davidcarne@gmail.com>
3239
3240 * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
3241 instead of strlen to determine number of bytes to copy.
3242 * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
3243 before looking at storage location.
3244
9bbe6d5d
JJ
32452006-02-07 Paul Brook <paul@codesourcery.com>
3246
3247 * libc/machine/arm/setjmp.S: Add Thumb-2 support.
3248 * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
3249 * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
3250 * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
3251 * libc/sys/arm/trap.S: Disable for Thumb-2.
3252
d968b3c8
JJ
32532006-01-31 Leif Ekblad <leif@rdos.net>
3254
3255 * configure.host: RDOS support added
3256 * libc/include/sys/config.h: Ditto.
3257 * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
3258 * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
3259 * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
3260 * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
3261 * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
3262 * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
3263 * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
3264 * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
3265 * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
3266 * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
3267 * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
3268 * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
3269 * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
3270 * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
3271 * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
3272 * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
3273 * libc/sys/rdos/write.c: Ditto.
3274
3acaaf54
JJ
32752006-01-24 Jeff Johnston <jjohnstn@redhat.com>
3276
3277 * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
3278 so as not to define PACKAGE and VERSION in newlib.h.
3279 * aclocal.m4: Regenerated.
3280 * configure: Ditto.
3281 * newlib.hin: Ditto.
3282
54abc854
JJ
32832006-01-20 Jeff Johnston <jjohnstn@redhat.com>
3284
3285 * acconfig.h: New file to generate newlib.hin from.
3286 * newlib.hin: Regenerated.
3287 * stamp-h.in: Regenerated.
3288 * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
3289 called automatically.
3290 * Makefile.in: Regenerated.
3291 * acinclude.m4: Add proper comment for hack in previous change.
3292 * aclocal.m4 */aclocal.m4: Regenerated.
3293 * configure */configure: Regenerated.
3294
33c9cfbd
JJ
32952006-01-11 Jeff Johnston <jjohnstn@redhat.com>
3296
3297 * acinclude.m4: Add hack to prevent INSTALL in subdirs
3298 from being set to "../".
3299 * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
3300 * aclocal.m4: Regenerated.
3301 * configure: Ditto.
3302 * Makefile.in: Ditto.
3303 * doc/aclocal.m4: Ditto.
3304 * doc/configure: Ditto.
3305 * iconvdata/aclocal.m4: Ditto.
3306 * iconvdata/configure: Ditto.
3307 * libc/*/aclocal.m4: Ditto.
3308 * libc/*/configure: Ditto.
3309 * libc/libc.texinfo: Ditto.
3310 * libm/*/aclocal.m4: Ditto.
3311 * libm/*/configure: Ditto.
3312
dea958bc
JJ
33132006-01-10 Eric Blake <ebb9@byu.net>
3314
3315 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
3316 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
3317
216633f7
JJ
33182006-01-10 Jeff Johnston <jjohnstn@redhat.com>
3319
3320 * libm/mathfp/s_frexp.c: Check for special values on
3321 the original input, not the manipulated output value.
3322 * libm/mathfp/sf_frexp.c: Ditto.
3323 * libm/mathfp/s_atangent.c: Don't use local value branch
3324 when checking for quadrant.
3325 * libm/mathfp/sf_atangent.c: Ditto.
3326
64ae8ab5
JJ
33272006-01-09 Jeff Johnston <jjohnstn@redhat.com>
3328
3329 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
3330 * libc/stdio64/freopen64.c: Ditto.
3331
0da7297e
JJ
33322006-01-09 Eric Blake <ebb9@byu.net>
3333
3334 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
3335 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
3336
a37aaf88
JJ
33372006-01-06 Jeff Johnston <jjohnstn@redhat.com>
3338
3339 * libc/sys/linux/include/getopt.h: Add macros needed by
3340 new version of getopt.c in libc/stdlib.
3341
791c9bda
JJ
33422006-01-04 Gregory Pietsch <gpietsch@comcast.net>
3343
3344 * libc/stdlib/getopt.c: Replaced with version
3345 that adds getopt_long and getopt_long_only support.
3346 * libc/include/getopt.h: New file.
3347
0217078f
JJ
33482005-12-16 Jeff Johnston <jjohnstn@redhat.com>
3349
3350 * NEWS: Update with 1.14.0 info.
3351 * README: Ditto.
3352 * acinclude.m4: Change version number to 1.14.0.
3353 * aclocal.m4: Regenerated.
3354 * configure: Ditto.
3355 * doc/aclocal.m4: Ditto.
3356 * doc/configure: Ditto.
3357 * libc/*/aclocal.m4: Ditto.
3358 * libc/*/configure: Ditto.
3359 * libc/libc.texinfo: Ditto.
3360 * libm/*/aclocal.m4: Ditto.
3361 * libm/*/configure: Ditto.
3362 * libm/libm.texinfo: Ditto.
3363 * libc/sys/linux/shared.ld: Add VERS_1.14.
3364
a4cd7f20
JJ
33652005-12-16 Jeff Johnston <jjohnstn@redhat.com>
3366
3367 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
3368 take a pointer to struct stat64 rather than struct stat.
3369
843e635a
JJ
33702005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
3371
3372 * libc/include/stdint.h: Prefer long over int for int32_t.
3373 Use __have_long32 to set up int32_t.
3374 * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
3375 (Sync with stdint.h).
3376
10cba930
CV
33772005-12-14 Corinna Vinschen <corinna@vinschen.de>
3378
3379 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
3380 typo in O_NDELAY comment.
3381
c8ba5c22
JJ
33822005-12-13 Nathan Sidwell <nathan@codesourcery.com>
3383
3384 * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
3385 * libc/include/machine/setjmp.h (__mt__): Likewise.
3386 * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
3387 * libc/machine/configure.in: Ditto.
3388
74ecef0d
NS
33892005-12-12 Nathan Sidwell <nathan@codesourcery.com>
3390
3391 * configure.host: Replace ms1 arch with mt arch.
3392 * libc/machine/mt: Renamed from ms1 dir.
3393
2a1fc53c
JJ
33942005-12-08 Shaun Jackman <sjackman@gmail.com>
3395
3396 * libc/include/sys/types.h: Remove the ifdef armour around
3397 standard POSIX types.
3398
77e70d34
JJ
33992005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
3400
3401 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
3402 rtems_gxx_key_delete, rtems_gxx_getspecific,
17c0c97d
EB
3403 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
3404 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
77e70d34
JJ
3405 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
3406
b1da33a0
CF
34072005-12-05 Christopher Faylor <cgf@timesys.com>
3408
3409 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
3410 file. Declare unsetenv and _unsetenv_r when not cygwin.
3411
6b1a6ec6
JJ
34122005-11-18 Jeff Johnston <jjohnstn@redhat.com>
3413
3414 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
3415 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
3416
d7d477b7
CF
34172005-11-18 Christopher Faylor <cgf@timesys.com>
3418
3419 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
3420
c1534dbe
CF
34212005-11-18 Christopher Faylor <cgf@timesys.com>
3422
3423 * include/time.h: Remove more cygwin-specific stuff.
3424
d3e81bda
CF
34252005-11-18 Christopher Faylor <cgf@timesys.com>
3426
3427 * include/time.h: Move cygwin declarations to cygwin-specific header.
3428 * include/sys/time.h: Rename cygwin include to "sys_time.h".
3429
1396951b
JJ
34302005-11-17 Jeff Johnston <jjohnstn@redhat.com>
3431
3432 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
3433 in libc/sys/linux/include.
3434 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
3435 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
3436 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
3437 in libc/sys/linux/dl.
3438
37bd11ed
CF
34392005-11-11 Christopher Faylor <cgf@timesys.com>
3440
3441 * libc/include/sys/time.h: For cygwin, use general header rather than
3442 specific "sys/select.h".
3443
b397593c
JJ
34442005-11-08 Tom Walsh <tom@openhardware.net>
3445
3446 * libc/time/tzvars.c: New file.
3447 * libc/time/tzset_r.c: Moved globals into tzvars.c
3448 so other time functions needn't link in __tzset_r and its
3449 dependencies.
3450 * libc/time/Makefile.am: Add the new file.
3451 * libc/time/Makefile.in: Regenerated.
3452
86c6c421
CF
34532005-11-08 Christopher Faylor <cgf@timesys.com>
3454
3455 * libc/include/string.h: Add cygwin-specific function declaration.
3456
ef1206e4
CV
34572005-11-07 Corinna Vinschen <corinna@vinschen.de>
3458
3459 * libc/include/ieeefp.h: Add C++ guards.
3460
15eaca1c
JJ
34612005-11-03 Jeff Johnston <jjohnstn@redhat.com>
3462
3463 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
3464 * libc/unix/getlogin.c: Ditto.
3465 * libc/unix/getpass.c: Ditto.
3466 * libc/unix/getut.c: Ditto.
3467 * libc/unix/ttyname.c: Ditto.
3468
d31a8623
JJ
34692005-11-03 Shaun Jackman <sjackman@gmail.com>
3470
3471 * libc/include/sys/unistd.h (readlink, symlink): Provide these
3472 prototypes by default.
3473 * libc/sys/linux/include/unistd.h (readlink): Remove this
3474 prototype.
3475 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
3476 prototypes.
3477
71ac53ee
JJ
34782005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
3479
3480 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
3481
dc1b6289
JJ
34822005-10-31 Darin Johnson <darin@usa.net>
3483
3484 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
3485 correct for constants.
3486
884c0ff0
JJ
34872005-10-28 Bob Wilson <bob.wilson@acm.org>
3488
3489 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
3490 * libc/stdio/siscanf.c: Likewise.
3491 * libc/stdio/sprintf.c: Likewise.
3492 * libc/stdio/sscanf.c: Likewise.
3493 * libc/stdio/vfprintf.c: Likewise.
3494 * libc/stdio/vfscanf.c: Likewise.
3495 * libc/stdio/viprintf.c: Likewise.
3496 * libc/stdio/viscanf.c: Likewise.
3497
a9c15f6f
JJ
34982005-10-28 Bob Wilson <bob.wilson@acm.org>
3499
3500 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
3501 example to use "_end" symbol instead of "end". Change write example
3502 to use "outbyte" instead of "writechar".
3503
a306ebc9
JJ
35042005-10-28 Bob Wilson <bob.wilson@acm.org>
3505
3506 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
3507 * libc/ctype/islower.c: Likewise.
3508 * libc/ctype/isupper.c: Likewise.
3509 * libc/ctype/iswalnum.c: Likewise.
3510 * libc/ctype/iswalpha.c: Likewise.
3511 * libc/ctype/iswblank.c: Likewise.
3512 * libc/ctype/iswcntrl.c: Likewise.
3513 * libc/ctype/iswdigit.c: Likewise.
3514 * libc/ctype/iswgraph.c: Likewise.
3515 * libc/ctype/iswlower.c: Likewise.
3516 * libc/ctype/iswprint.c: Likewise.
3517 * libc/ctype/iswpunct.c: Likewise.
3518 * libc/ctype/iswspace.c: Likewise.
3519 * libc/ctype/iswupper.c: Likewise.
3520 * libc/ctype/iswxdigit.c: Likewise.
3521 * libc/ctype/tolower.c: Likewise.
3522 * libc/ctype/toupper.c: Likewise.
3523 * libc/ctype/towctrans.c: Likewise.
3524 * libc/ctype/towlower.c: Likewise.
3525 * libc/ctype/towupper.c: Likewise.
3526 * libc/string/strcasecmp.c: Likewise.
3527 * libc/string/strcoll.c: Likewise.
3528 * libc/string/strings.tex: Likewise.
3529 * libc/string/strlwr.c: Likewise.
3530 * libc/string/strncasecmp.c: Likewise.
3531 * libc/string/strupr.c: Likewise.
3532 * libc/string/wcscoll.c: Likewise.
3533 * libc/string/wcslcat.c: Likewise.
3534 * libc/string/wcslcpy.c: Likewise.
3535 * libc/string/wcsnlen.c: Likewise.
3536 * libc/string/wcsstr.c: Likewise.
3537 * libc/string/wcstrings.tex: Likewise.
3538 * libc/string/wmemchr.c: Likewise.
3539 * libc/string/wmemcmp.c: Likewise.
3540 * libc/string/wmemcpy.c: Likewise.
3541 * libc/string/wmemmove.c: Likewise.
17c0c97d 3542 * libc/string/wmemset.c: Likewise.
a306ebc9 3543
239c2bf9
JJ
35442005-10-28 Bob Wilson <bob.wilson@acm.org>
3545
3546 * libc/misc/unctrl.c: Replace FUNCTION description.
3547 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
3548 * libc/stdio/getdelim.c: Fix spelling errors.
3549 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
3550 * libc/stdio/putw.c: Likewise.
3551 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
ba3ccd63 3552 documentation.
239c2bf9
JJ
3553 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
3554 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
3555 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
3556 * libc/stdlib/mlock.c: Likewise.
3557 * libc/stdlib/mstats.c: Likewise.
3558 * libc/time/tzlock.c: Likewise.
3559 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
3560 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
ba3ccd63 3561 and hyphenate "pseudo-random".
239c2bf9
JJ
3562 * libc/string/bcmp.c: Remove extra blank lines in documentation.
3563 * libc/string/strncat.c: Likewise.
3564 * libc/string/memchr.c: Remove extra ">" character in documentation.
3565 * libc/string/strcspn.c: Use "characters" instead of "chars".
3566 * libc/string/strpbrk.c: Likewise.
3567 * libc/string/strerror_r.c: Capitalize "GNU".
3568 * libc/string/strnlen.c: Likewise.
3569 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
ba3ccd63 3570 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
239c2bf9
JJ
3571 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
3572 * libc/string/wcschr.c: Likewise.
3573 * libc/string/wcscmp.c: Likewise.
3574 * libc/string/wcscpy.c: Likewise.
3575 * libc/string/wcscspn.c: Likewise.
3576 * libc/string/wcslen.c: Likewise.
3577 * libc/string/wcsncat.c: Likewise.
3578 * libc/string/wcsncmp.c: Likewise.
3579 * libc/string/wcsncpy.c: Likewise.
3580 * libc/string/wcsnlen.c: Likewise.
3581 * libc/string/wcspbrk.c: Likewise.
3582 * libc/string/wcsrchr.c: Likewise.
3583 * libc/string/wcsspn.c: Likewise.
3584 * libc/string/wmemchr.c: Likewise.
3585 * libc/string/wmemcmp.c: Likewise.
3586 * libc/string/wmemcpy.c: Likewise.
3587 * libc/string/wmemset.c: Likewise.
3588 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
3589 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
3590 * libc/string/wcwidth.c: Likewise.
3591 * libm/common/s_modf.c: Remove extra period from documentation.
3592 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
ba3ccd63 3593 documentation.
239c2bf9
JJ
3594 * libm/mathfp/s_isnan.c: Likewise.
3595 * libm/math/s_ldexp.c: Fix punctuation.
3596 * libm/mathfp/s_ldexp.c: Likewise.
3597 * libm/math/w_log.c: Likewise.
3598 * libm/mathfp/s_logarithm.c: Likewise.
3599 * libm/math/w_j0.c: Add spaces to FUNCTION description.
17c0c97d 3600 * libm/mathfp/w_jn.c: Likewise.
239c2bf9 3601
2556eb8d
JJ
36022005-10-26 Shaun Jackman <sjackman@gmail.com>
3603
3604 * libc/posix/scandir.c (scandir): Update the function
3605 prototype to match the header.
3606 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
3607 extraneous #endif.
3608 * libc/sys/linux/sys/lock.h: Do not include
3609 machine/weakalias.h, since it's not used by this file.
3610
c9d71a8d
JJ
36112005-10-26 Jeff Johnston <jjohnstn@redhat.com>
3612
3613 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
3614 directories can override properly.
3615
09968b6d
JJ
36162005-10-20 Jeff Johnston <jjohnstn@redhat.com>
3617
3618 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
3619 gcc is 3.3 or greater, use special gcc builtins.
3620
c70571bd
CV
36212005-10-20 Corinna Vinschen <corinna@vinschen.de>
3622
3623 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
3624
a92822b7
CV
36252005-10-18 Corinna Vinschen <corinna@vinschen.de>
3626
3627 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
3628
d2c2c132
JJ
36292005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3630
3631 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
3632 * libm/common/Makefile.am: Add s_infconst.c support.
3633 * libm/common/Makefile.in: Regenerated.
3634 * libm/common/s_infconst.c: New file with float and
3635 long double infinity support added.
3636 * libm/math/Makefile.am: Remove s_infconst.c support.
3637 * libm/math/Makefile.in: Regenerated.
3638 * libm/math/s_infconst.c: Moved to common directory.
3639 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
3640 * libm/mathfp/Makefile.in: Regenerated.
3641 * libm/mathfp/s_infconst.c: Moved to common directory.
3642
4d57c1ed
JJ
36432005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3644
3645 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
3646 dbgprintf to prevent conflict with new dprintf function.
3647
1012585f
JJ
36482005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3649
3650 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
3651 "nan" processing for systems that have long double support.
3652
e9154015
JJ
36532005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3654
3655 * libc/sys/linux/sys/types.h (int8_t): Add type.
3656
1a869698
JJ
36572005-10-14 Bob Wilson <bob.wilson@acm.org>
3658
ba3ccd63
EB
3659 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
3660 * libm/common/Makefile.in: Regenerate.
3661 * libm/common/common.tex: Delete file.
3662 * libm/math/math.tex: Include .def files from common/.
3663 * libm/mathfp/mathfp.tex: Likewise.
1a869698 3664
e0811fb3
JJ
36652005-10-14 Bob Wilson <bob.wilson@acm.org>
3666
3667 * libc/libc.texinfo (Top): Surround this node with @ifnottex
3668 instead of @ifinfo. Update menu to add Introduction and match
3669 SUBDIRS order.
ba3ccd63 3670 (Introduction): New section.
e0811fb3 3671
e63c98c6
JJ
36722005-10-14 Bob Wilson <bob.wilson@acm.org>
3673
ba3ccd63
EB
3674 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
3675 with "Red Hat newlib C Library".
3676 * libc/sys.tex (Stubs): Likewise.
3677 * libm/math/math.tex (Math): Likewise.
3678 * libm/mathfp/mathfp.tex (Math): Likewise.
e63c98c6 3679
339195bf
JJ
36802005-10-11 Shaun Jackman <sjackman@gmail.com>
3681
3682 * libc/include/stdio.h (dprintf): New declaration.
3683 (vdprintf): Ditto.
3684 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
3685 and vdprintf.c.
3686 * libc/stdio/Makefile.in: Regenerate.
3687 * libc/stdio/dprintf.c: New file.
3688 * libc/stdio/vdprintf.c: New file.
3689 * libc/stdio/stdio.tex (dprintf): New entry.
3690
da71e518
JJ
36912005-10-11 David Weatherford <weath@tensilica.com>
3692
3693 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
17c0c97d 3694 Print "inf" and "nan" in lowercase for e/f/g formats and in
da71e518
JJ
3695 uppercase for E/F/G formats.
3696
f011605a
JJ
36972005-10-07 Bob Wilson <bob.wilson@acm.org>
3698
3699 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
3700 to ENOMEM on failure.
3701
bc037f3a
JJ
37022005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
3703
3704 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
3705
c7e20979
JJ
37062005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
3707
3708 * libc/include/stdint.h: Move magic to set __have_long* to the
3709 beginning. Use #if __have* instead of #if defined(__have*).
3710 Minor typo fixes.
3711
58e78add
JJ
37122005-10-04 James E Wilson <wilson@specifix.com>
3713
3714 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
3715 #error.
3716
8afb8202
JJ
37172005-10-03 Jeff Johnston <jjohnstn@redhat.com>
3718
3719 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
3720 incorporate Ralf's change below.
3721
14491fd0
JJ
37222005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
3723
17c0c97d 3724 * libc/include/stdint.h:
14491fd0
JJ
3725 Use __INTMAX_TYPE__ to derive intmax_t.
3726 Use __UINTMAX_TYPE__ to derive uintmax_t.
3727 Fix minor typo.
3728
ee694aea
JJ
37292005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
3730
17c0c97d 3731 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
ee694aea
JJ
3732 handling GCC >= 4.
3733
9f1926f2
JJ
37342005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3735
3736 * libc/sys/linux/include/stdint.h: Update to match functionality
3737 of generic newlib stdint.h.
3738
0ce4fcef
JJ
37392005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3740
3741 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
3742 and do not #undef the macro after it is used. Fix typos.
3743 Also change 64-bit constants to use the __have_long64 and
3744 __have_longlong64 flags to determine if long or long long
3745 constants should be used.
3746 * libc/include/inttypes.h: Include stddef.h to get wchar_t
3747 type defined.
3748
17060817
JJ
37492005-09-20 Shaun Jackman <sjackman@gmail.com>
3750
3751 * libc/include/stdint.h: Fix typo in names of
3752 LEAST macros.
3753
1e1d1d3d
JJ
37542005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3755
3756 * libc/sys/rtems/include/inttypes.h: Moved to...
3757 * libc/include/inttypes.h: ...here.
3758
cddfc170
JJ
37592005-09-19 Jeff Johnston <jjohnstn@redhat.com>
3760
3761 * libc/sys/rtems/include/stdint.h: Moved to...
3762 * libc/include/stdint.h: ...here.
3763
b10ab725
JJ
37642005-09-08 Jeff Johnston <jjohnstn@redhat.com>
3765
3766 * Makefile.am: Add include files under bits sub-directory.
3767 * Makefile.in: Regenerated.
3768 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
3769 actual value of 1 to be compatible with newer glibc headers.
3770 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
3771 glibc headers.
3772 * libc/sys/linux/sys/dirent.h: Ditto.
3773 * libc/sys/linux/argp/argp-xinl.c: Ditto.
3774 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
3775 profile_fixup routines are marked used so they won't be
3776 optimized away.
3777 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
3778 to mark functions as weak.
3779 * libc/sys/linux/dl/dl-open.c: Ditto.
3780 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
3781 rules about lvalues.
3782 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
3783 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
3784 weak_extern macro to mark functions as weak. Instead always
3785 use #pragma weak.
3786 * iconvdata/jis0208.h: Fix to work with gcc4.
3787 * libc/sys/linux/dl/dl-load.c: Ditto.
3788 * libc/sys/linux/dl/dl-reloc.c: Ditto.
3789 * libc/sys/linux/dl/do-rel.h: Ditto.
3790 * libc/sys/linux/dl/dynamic-link.h: Ditto.
3791 * libc/sys/linux/include/ltdl.h: Ditto.
3792 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
3793 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
3794 * libc/sys/linux/net/ns_ntoa.c: Ditto.
3795 * libc/sys/linux/bits/initspin.h: New file.
3796 * libc/sys/linux/bits/libc-lock.h: Ditto.
3797 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
3798 * libc/sys/linux/bits/typesizes.h: Ditto.
3799
7b786e48
JJ
38002005-09-08 Eric Blake <ebb9@byu.net>
3801
3802 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
3803 before is NULL.
3804
32b09d75
JJ
38052005-09-08 Brian Dessent <brian@dessent.net>
3806
3807 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
3808 mantissa.
3809 * s_lrint.c: Ditto.
3810
8f36ef2f
JJ
38112005-09-02 Jeff Johnston <jjohnstn@redhat.com>
3812
3813 * libc/include/stdio.h: Add prototype for viprintf.
3814
cebe43dd
JJ
38152005-09-01 Jeff Johnston <jjohnstn@redhat.com>
3816
3817 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
3818 any positive power results in 0.
3819 * libm/mathfp/sf_pow.c (powf): Ditto.
3820
45c8bb8f
JJ
38212005-08-31 Paul Brook <paul@codesourcery.com>
3822
3823 * configure.host: Set have_crt0 to no for Arm targts when not
3824 providing syscalls. Set sys_dir=arm unconditionally.
3825 Default have_crt0 based on sys_dir.
3826 * configure.in: Use have_crt0.
3827 * libc/configure.in: Ditto.
3828 * libc/sys/configure.in: Ditto.
3829 * configure: Regenerate.
3830 * libc/configure: Regenerate.
3831 * libc/sys/configure: Regenerate.
3832 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
3833 Only build other files when providing syscalls.
3834 * libc/sys/arm/Makefile.in: Regenerate.
3835 * libc/sys/arm/aeabi_atexit.c: New file.
3836
dbeee890
CF
38372005-08-26 Christopher Faylor <cgf@timesys.com>
3838
3839 * libc/include/string.h: Revert previous change.
3840
377d3ea0
CF
38412005-08-25 Christopher Faylor <cgf@timesys.com>
3842
3843 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
3844
4797a77c
JJ
38452005-08-22 Shaun Jackman <sjackman@gmail.com>
3846
3847 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
3848 define _opendir as opendir, _readdir as readdir, and
3849 _closedir as closedir so that the implementations in
3850 libc/posix will be used.
3851
2e73582e
DD
38522005-08-10 DJ Delorie <dj@redhat.com>
3853
3854 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
3855
234cf97f
JJ
38562005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
3857
3858 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
3859 * libm/common/s_max.c: Ditto.
3860 * libm/common/sf_fmin.c: Ditto.
3861 * libm/common/s_min.c: Ditto.
3862
56448afa
JJ
38632005-08-10 DJ Delorie <dj@redhat.com>
3864
3865 * configure.host: Add m32c support.
3866 * libc/include/machine/ieeefp.h: Likewise.
3867 * libc/include/machine/setjmp.h: Likewise.
3868 * libc/include/sys/config.h: Likewise.
3869 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
3870 * libc/machine/m32c/aclocal.m4: New file.
3871 * libc/machine/m32c/configure: Ditto.
3872 * libc/machine/m32c/configure.in: Ditto.
3873 * libc/machine/m32c/Makefile.am: Ditto.
3874 * libc/machine/m32c/Makefile.in: Ditto.
3875 * libc/machine/m32c/setjmp.S: Ditto.
3876
0c5c6c23
JJ
38772005-08-02 Bob Wilson <bob.wilson@acm.org>
3878
ba3ccd63
EB
3879 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
3880 to the value for 2^126.
0c5c6c23 3881
12499c7a
HPN
38822005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
3883
3884 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
3885 used.
3886
395a327d 38872005-07-20 Bob Wilson <bob.wilson@acm.org>
ba3ccd63 3888 Darin Petkov <darin@tensilica.com>
395a327d
JJ
3889
3890 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
3891
108d7dd8
JJ
38922005-07-19 Paul Brook <paul@codesourcery.com>
3893
3894 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
3895
b776efc5
JJ
38962005-07-18 Joseph S. Myers <joseph@codesourcery.com>
3897
3898 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
3899 names after PASS and FAIL which do not depend on source directory
3900 name or on whether test passed or failed.
3901 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
3902
88540e24
JJ
39032005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
3904
3905 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
3906
85d62190 39072005-07-07 Shaun Jackman <sjackman@gmail.com>
b32adfc5 3908
88540e24 3909 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
b32adfc5
JJ
3910 twice for the same directory. _closedir calls free, and freeing
3911 the same pointer twice may cause a crash.
3912
dee9edd9
AH
39132005-07-06 Aldy Hernandez <aldyh@redhat.com>
3914
ba3ccd63
EB
3915 * configure.host: Added entry for ms1*.
3916 * libc/include/machine/ieeefp.h: Handle ms1.
3917 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
3918 * libc/machine/ms1/aclocal.m4: New.
3919 * libc/machine/ms1/configure: New.
3920 * libc/machine/ms1/configure.in: New.
3921 * libc/machine/ms1/Makefile.am: New.
3922 * libc/machine/ms1/Makefile.in: New.
3923 * libc/machine/ms1/setjmp.S: New.
dee9edd9 3924
cec1d3b4
JJ
39252005-07-04 Mark Mitchell <mark@codesourcery.com>
3926
3927 * Makefile.am (site.exp): Set tmpdir.
3928 * Makefile.in: Regenerated.
3929 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
3930 executables in $tmpdir.
3931 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
3932 libgloss version if not running in the build directory.
3933 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
3934 $tmpdir.
3935 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
3936 in $tmpdir.
3937
25d209f1
JJ
39382005-06-28 Dave Korn <dave.korn@artimi.com>
3939
3940 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
3941 and miscalculation caused by fp representation of zero.
3942 * libm/common/sf_lrint.c (lrintf): Likewise.
3943
68cdbb18
JJ
39442005-06-16 Christopher Faylor <cgf@timesys.com>
3945
3946 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
3947 determine characteristics of long double. Use a union instead.
3948 * ldtoa.c (_ldtoa_r): Ditto.
3949 (_ldcheck): Ditto.
3950 (_strtold): Ditto.
3951 (union uconv): New union.
3952
15c04fd1
JJ
39532005-06-03 Jeff Johnston <jjohnstn@redhat.com>
3954
3955 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
3956 instead of memcpy.
3957
cf55bf5e
JJ
39582005-05-12 Jeff Johnston <jjohnstn@redhat.com>
3959
3960 * configure.host (mn10300-*): Add long long I/O support by default.
3961
b6e654c4
JJ
39622005-05-12 Jeff Johnston <jjohnstn@redhat.com>
3963
3964 * libc/sys/linux/getpwuid.c: Removed.
3965 * libc/sys/linux/getpwnam.c: Removed.
3966 * libc/sys/linux/getpwent.c: New file containing logic
3967 from files removed above. This allows overriding of file
3968 in libc/unix.
3969 * libc/sys/linux/Makefile.am: Support changes above.
3970 * libc/sys/linux/Makefile.in: Regenerated.
3971
5456408b
JJ
39722005-04-28 Jeff Johnston <jjohnstn@redhat.com>
3973
3974 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
3975 when checking for multiple flags.
3976
1c74754f
HPN
39772005-04-18 Hans-Peter Nilsson <hp@axis.com>
3978
3979 * configure.host <cris-*-* | crisv32-*-*>: Set
ba3ccd63 3980 default_newlib_io_long_long="yes".
1c74754f 3981
6e75bff6
JJ
39822005-04-08 Jeff Johnston <jjohnstn@redhat.com>
3983
3984 * libc/include/libgen.h: New file.
3985
39862005-04-08 Shaun Jackman <sjackman@gmail.com>
3987
3988 * libc/unix/Makefile.am: Add support for basename and dirname.
3989 * libc/unix/Makefile.in: Regenerated.
3990 * libc/unix/basename.c: New file.
3991 * libc/unix/dirname.c: New file.
3992
95c136c4
JJ
39932005-04-07 Shaun Jackman <sjackman@gmail.com>
3994
3995 * libc/sys/linux/inode.c (lchown): New function.
3996
9ae26f7e
JJ
39972005-04-07 Shaun Jackman <sjackman@gmail.com>
3998
3999 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
4000 ELIX level is defined.
4001 * libc/unix/Makefile.in: Regenerated.
4002
85da7039
JJ
40032005-04-05 Dave Korn <dave.korn@artimi.com>
4004
4005 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
4006 something that looks like a "NaN", put back the characters processed.
4007
fefc73a0
CV
40082005-04-01 Corinna Vinschen <corinna@vinschen.de>
4009
4010 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
4011
e633fde1
CF
40122005-03-23 Christopher Faylor <cgf@timesys.com>
4013
4014 * configure.host: For cygwin, redefine CC with cygwin include directory
4015 first to mimic the behavior of the top-level configury. Move include
4016 directory out of newlib_cflags.
4017
859c94e8
JJ
40182005-03-22 Jeff Johnston <jjohnstn@redhat.com>
4019
4020 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
17c0c97d 4021 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
859c94e8
JJ
4022 than errno.
4023
7e3fd32b
CF
40242005-03-22 Christopher Faylor <cgf@timesys.com>
4025
4026 * libc/include/machine/_types.h: Make trivial change to comment to
4027 avoid a spurious warning from gcc.
4028
d4eb8920
JJ
40292005-03-21 Nicholas Wourms <nwourms@netscape.net>
4030
4031 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
4032 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
4033 reent.h include.
4034
45030958 40352005-03-18 Hans-Peter Nilsson <hp@axis.com>
ba3ccd63 4036 Corinna Vinschen <corinna@vinschen.de>
45030958 4037
ba3ccd63
EB
4038 * libc/include/ctype.h: Remove invalid +1 offset from
4039 ctype macro references to __ctype_ptr.
4040 (_ctype_): Move declaration outside #ifndef __cplusplus.
45030958 4041
5c9b5ac7
CV
40422005-03-18 Corinna Vinschen <corinna@vinschen.de>
4043
4044 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
4045 evaluate first parameter only once.
4046 (siglongjmp): Ditto.
4047
dd801fda
JJ
40482005-03-17 Jeff Johnston <jjohnstn@redhat.com>
4049
4050 * configure.in: Add new check to see if compiler supports
4051 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
4052 * configure: Regenerated.
4053 * Makefile.in: Ditto.
4054 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
4055 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
4056 aliasing the _ctype_ array to _ctype_b.
4057 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
4058 _ctype_ as deprecated.
4059
333eabc6
HPN
40602005-03-17 Hans-Peter Nilsson <hp@axis.com>
4061
4062 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
4063 -DCOMPACT_CTYPE.
4064
df5a5b35
JJ
40652005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
4066
4067 * libc/sys/rtems/include/inttypes.h: New file.
4068 * libc/sys/rtems/include/stdint.h: Ditto.
4069
9d385fb0
JJ
40702005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
4071
4072 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
4073
2e7d9bf9
JJ
40742005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
4075
4076 * libc/include/machine/_types.h: New file.
4077 * libc/include/sys/types.h: Do not check for __rtems__
4078 when including <machine/_types.h>. Remove some redundant
4079 declarations now that <machine/_types.h> is included.
4080 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
4081 shared header file.
4082
92a7e06e
JJ
40832005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
4084
4085 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
4086 L qualifier for these long constants.
4087
1139537a
JJ
40882005-02-25 Eric Blake <ebb9@byu.net>
4089
4090 * libc/include/time.h (__tzrule_struct): Make offset long, since
4091 a 16-bit int overflows on a 12-hour offset.
4092 * libc/sys/linux/include/time.h: Ditto.
4093 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
4094 * libc/time/mktm_r.c: Ditto.
4095 * libc/time/gettzinfo.c: Ditto.
4096 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
4097 years. Fix '%z' to use long, not int.
4098
f4fd7b4c
JJ
40992005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
4100
4101 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
4102 manipulate float values in integer form.
4103 * libm/common/sf_round.c: Ditto.
4104
f2f8a9a2
JJ
41052005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
4106
4107 * libc/include/sys/types.h [__rtems__]: Include new
4108 header file machine/_types.h.
4109 * libc/include/machine/types.h: Ditto.
4110 * libc/sys/rtems/machine/_types.h: New file.
4111
39fd43d7
CV
41122005-02-23 Corinna Vinschen <corinna@vinschen.de>
4113
4114 * libc/include/time.h (_timezone): Change to long also for Cygwin.
4115 (timezone): Drop cast from definition.
4116
6b9a74f9
JJ
41172005-02-23 Jeff Johnston <jjohnstn@redhat.com>
4118
4119 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
4120 (__tzrule_type, __tzinfo_type): New types.
4121 (__gettzinfo): New function.
4122 * libc/sys/linux/include/time.h: Ditto.
4123 * libc/time/Makefile.am: Add gettzinfo.c.
4124 * libc/time/Makefile.in: Regenerated.
4125 * libc/time/local.h: Moved __tzrule_type to time.h.
4126 * libc/time/mktime.c: Call __gettzinfo to reference
4127 __tznorth, __tzyear, and __tzrule array.
4128 * libc/time/mktm_r.c: Ditto.
4129 * libc/time/strftime.c: Ditto.
4130 * libc/time/tzset_r.c: Ditto. Also remove definition
4131 of __tzrule which is now in gettzinfo.c. Change _timezone
4132 references to not cast to time_t.
4133 * libc/time/gettzinfo.c: New file.
4134
6015cf9f
CV
41352005-02-23 Corinna Vinschen <corinna@vinschen.de>
4136
4137 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
4138
5e4c05da
CV
41392005-02-22 Corinna Vinschen <corinna@vinschen.de>
4140
4141 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
4142
f1d439fc
JJ
41432005-02-16 Eric Blake <ebb9@byu.net>
4144
4145 * libc/time/time.tex: Improve the documentation.
4146 * libc/time/strftime.c: Improve the documentation.
4147 (iso_year_adjust): New helper function.
4148 (strftime): Simplify '%E' and '%O'. Change '%c' to use
4149 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
4150 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
4151 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
4152 Avoid core dumps on valid inputs (maxsize == 0, or
4153 tim_p->tm_isdst > 1).
4154
18d3a03b
CV
41552005-02-08 Corinna Vinschen <corinna@vinschen.de>
4156
4157 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
4158 members to uid_t and gid_t according to SUSv3.
4159 * libc/include/sys/time.h (utimes): Change second parameter
4160 to const according to SUSv3.
4161
1159e0fd
JJ
41622005-02-07 Antony King <antony.king@st.com>
4163
4164 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
4165 called before _flockfile to prevent lock object use before
4166 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
4167 take a struct _reent * instead of a FILE *.
4168 * libc/stdio/fclose.c (_fclose_r): Ditto.
4169 * libc/stdio/feof.c (feof): Ditto.
4170 * libc/stdio/ferror.c (ferror): Ditto.
4171 * libc/stdio/fflush.c (fflush): Ditto.
4172 * libc/stdio/fgetc.c (fgetc): Ditto.
4173 * libc/stdio/fgets.c (fgets): Ditto.
4174 * libc/stdio/fileno.c (fileno): Ditto.
4175 * libc/stdio/fputc.c (fputc): Ditto.
4176 * libc/stdio/fputs.c (fputs): Ditto.
4177 * libc/stdio/fread.c (fread): Ditto.
4178 * libc/stdio/freopen.c (_freopen_r): Ditto.
4179 * libc/stdio/fseek.c (_fseek_r): Ditto.
4180 * libc/stdio/ftell.c (_ftell_r): Ditto.
4181 * libc/stdio/fwrite.c (fwrite): Ditto.
4182 * libc/stdio/getc.c (getc): Ditto.
4183 * libc/stdio/getdelim.c (__getdelim): Ditto.
4184 * libc/stdio/putc.c (putc): Ditto.
4185 * libc/stdio/setvbuf.c (setvbuf): Ditto.
4186 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
4187 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
4188 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
4189 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
4190 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
4191 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
4192 _reent * instead of a FILE * and so replace incorrect use of
4193 _REENT with argument.
4194 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
4195 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
4196 CHECK_INIT() take a struct _reent * instead of a FILE *.
4197 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
4198 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
4199 * libc/stdio/perror.c (perror): Ditto.
4200 * libc/stdio/printf.c (printf, _printf_r): Ditto.
4201 * libc/stdio/putchar.c (putchar): Ditto.
4202 * libc/stdio/puts.c (puts): Ditto.
4203 * libc/stdio/refill.c (__srefill): Ditto.
4204 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
4205 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
4206 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
4207 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
4208 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
4209 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
4210 * libc/stdio/wbuf.c (__swbuf): Ditto.
4211 * libc/stdio/wsetup.c (__swsetup): Ditto.
4212 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
4213 * libc/stdlib/mstats.c (_mstats_r): Ditto.
4214 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
4215 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
4216 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
4217 to _flockfile and _funlockfile; rely on locking in _ftell_r.
4218 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
4219 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
4220 initialision of _data field in FILE structure.
4221 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
4222
3d915670
JJ
42232005-02-07 Jeff Johnston <jjohnstn@redhat.com>
4224
4225 * libc/stdio/findfp.c (__sinit): Protect with new lock.
4226 (__sinit_lock): New lock.
4227 (__sinit_lock_acquire, __sinit_lock_release): New functions.
4228 * libc/stdio/local.h: Add reference to new __sinit locking
4229 functions.
4230
b59cab1e
JJ
42312005-02-07 Jeff Johnston <jjohnstn@redhat.com>
4232
4233 * libc/include/math.h (isfinite, isnormal, isunordered): Change
4234 input variable names to avoid mixups with nesting macros.
4235
1815fdea
JJ
42362005-01-27 Hans-Peter Nilsson <hp@axis.com>
4237
4238 * configure.host: Add support for cris-*-* and crisv32-*-*.
4239 * libc/include/machine/ieeefp.h: Ditto.
4240 * libc/include/machine/setjmp.h: Ditto.
4241 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
4242 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
4243 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
4244 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
4245 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
4246 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
4247 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
4248 files.
4249
f7d4d41a
JJ
42502005-01-27 Hans-Peter Nilsson <hp@axis.com>
4251
4252 * testsuite/newlib.string/memmove1.c: New test.
4253
1319dec6
JJ
42542005-01-27 Hans-Peter Nilsson <hp@axis.com>
4255
4256 * testsuite/include/check.h: Include stdlib.h.
4257
b45e65b0
JJ
42582005-01-27 Hans-Peter Nilsson <hp@axis.com>
4259
4260 * Makefile.am (stmp-targ-include): Support include header files
4261 from machine directories.
e9743354 4262 (install-data-local): Ditto.
b45e65b0
JJ
4263 * Makefile.in: Regenerate.
4264
dbfa92dd
JJ
42652005-01-24 Jeff Johnston <jjohnstn@redhat.com>
4266
4267 * libc/include/string.h: Remove Linux-specific declaration of
4268 strsignal and add #include <sys/string.h>.
4269 * libc/include/sys/string.h: New file.
4270 * libc/include/sys/linux/sys/string.h: New file with strsignal
4271 declaration deleted above.
4272
6cb0c055
JJ
42732005-01-20 Jeff Johnston <jjohnstn@redhat.com>
4274
4275 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
4276 to POSIX standard for "C" locale. Allow %E and %O modifiers
4277 to be ignored as long as they precede valid specifiers according
4278 to POSIX.
4279
52429807
JJ
42802005-01-19 Shaun Jackman <sjackman@gmail.com>
4281
4282 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
4283 environment variable is set.
4284
f693170a
JJ
42852005-01-19 Shaun Jackman <sjackman@gmail.com>
4286
ba3ccd63 4287 * tzset_r.c (_tzname): Add a comma.
f693170a 4288
464d01bf
AH
42892005-01-18 Aldy Hernandez <aldyh@redhat.com>
4290
4291 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
4292 _VFPRINTF_R.
4293
f7a74742 42942005-01-07 Paul Brook <paul@codesourcery.com>
17c0c97d 4295
f7a74742
JJ
4296 * configure.in: Add test for .init_array.
4297 * configure: Regenerate.
4298 * newlib.hin: Add HAVE_INITFINI_ARRAY.
4299 * libc/misc/Makefile.am: Add init.c
4300 * libc/misc/Makefile.in: Regenerate.
4301 * libc/misc/init.c: New file.
4302 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
4303 _init/_fini if they exist.
17c0c97d 4304
8fa6cb9a
JJ
43052005-01-06 Jeff Johnston <jjohnstn@redhat.com>
4306
4307 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
4308 * (strtof): Ditto.
4309 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
4310 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
4311 functions for use by strtod and strtof.
4312 * Makefile.in: Regenerated.
17c0c97d 4313
034a3909 43142005-01-06 Hans-Peter Nilsson <hp@axis.com>
17c0c97d 4315
034a3909
JJ
4316 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
4317 bit-test in combination with NULL test.
17c0c97d 4318
9918ea2d 43192005-01-06 Hans-Peter Nilsson <hp@axis.com>
17c0c97d 4320
ba3ccd63 4321 * README: Fix typo of LGPL. Change "license" to "copyright".
17c0c97d 4322
5cc3f592
JJ
43232004-12-17 Jeff Johnston <jjohnstn@redhat.com>
4324
4325 * NEWS: Update with 1.13.0 info.
4326 * README: Ditto.
4327 * acinclude.m4: Change version number to 1.13.0.
4328 * aclocal.m4: Regenerated.
4329 * configure: Ditto.
4330 * doc/aclocal.m4: Ditto.
4331 * doc/configure: Ditto.
4332 * libc/*/aclocal.m4: Ditto.
4333 * libc/*/configure: Ditto.
4334 * libc/libc.texinfo: Ditto.
4335 * libm/*/aclocal.m4: Ditto.
4336 * libm/*/configure: Ditto.
4337 * libm/libm.texinfo: Ditto.
4338 * libc/sys/linux/shared.ld: Add VERS_1.13.
4339
d8ae996c
JJ
43402004-12-17 Christian Groessler <chris@groessler.org>
4341
4342 * libc/machine/z8k/memcmp.S: New file.
4343 * libc/machine/z8k/memcpy.S: Ditto.
4344 * libc/machine/z8k/memmove.S: Ditto.
4345 * libc/machine/z8k/memset.S: Ditto.
4346 * libc/machine/z8k/Makefile.am: Add new files.
4347 * libc/machine/z8k/Makefile.in: Regenerated.
4348 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
4349 part. Implement Z8002 stdcall version.
4350
82673116
JJ
43512004-12-13 Jeff Johnston <jjohnstn@redhat.com>
4352
4353 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
4354 a low-level read if we don't get the full amount of bytes so
4355 EOF or error flags will be set.
4356
0082d4cf
JJ
43572004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
4358
4359 * libc/time/tzset_r (_tzset_r): Properly skip over
4360 '/' when it is detected.
4361
3b54b74f
JJ
43622004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
4363
4364 * libc/time/tzset_r (_tzset_r): Fix loop.
4365
4b30e154
JJ
43662004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
4367
4368 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
4369 m_day.
4370 (__tzcalc_limits): Fix reference to month array to be zero-based.
4371
465eab2e
JJ
43722004-12-07 Jeff Johnston <jjohnstn@redhat.com>
4373
4374 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
4375 and usleep.
4376
a2b1a849
JJ
43772004-12-03 Jeff Johnston <jjohnstn@redhat.com>
4378
4379 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
4380 libgcc dependencies.
4381 (libm_la_LDFLAGS): Ditto.
4382 * Makefile.in: Regenerated.
4383
c80a1731
JJ
43842004-12-03 Shaun Jackman <sjackman@gmail.com>
4385
4386 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
4387 our link to use readlink so as to preserve any relative link created
4388 by install-toollibLIBRARIES.
4389 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
4390
70e9da42
JJ
43912004-12-02 Shaun Jackman <sjackman@gmail.com>
4392
4393 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
4394 time_t before including sys/stat.h, which uses it.
4395 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
4396 <linux/time.h> just prior to definition of __KERNEL__ so as to
4397 allow building on Debian Linux where otherwise, mktime would
4398 be redefined.
4399
a330d85a
JJ
44002004-11-26 Paul Brook <paul@codesourcery.com>
4401
4402 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
17c0c97d 4403
c41a1cb7
JJ
44042004-11-24 Jeff Johnston <jjohnstn@redhat.com>
4405
4406 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
9aa189be 4407 const for value string parameter to match Single Unix and glibc.
c41a1cb7
JJ
4408 * libc/stdlib/putenv.c: Ditto.
4409 * libc/stdlib/putenv_r.c: Ditto.
4410
16ac96ee
JJ
44112004-11-24 Jeff Johnston <jjohnstn@redhat.com>
4412
4413 * libc/stdio/Makefile.am: Fix missing vfscanf.
4414 * libc/stdio/Makefile.in: Regenerated.
17c0c97d 4415
3bf09147 44162004-11-23 Jeff Johnston <jjohnstn@redhat.com>
17c0c97d 4417
3bf09147
JJ
4418 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
4419 do some reordering.
4420 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
4421 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
4422 family functions.
4423 * libc/stdio/Makefile.in: Regenerated.
4424 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
4425 * libc/stdio/iprintf.c: Ditto.
4426 * libc/stdio/local.h (__svfiscanf_r): New prototype.
4427 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
4428 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
4429 * libc/stdio/stdio.tex: Add new functions.
4430 * libc/stdio/vfscanf.c: Split out __sccl function to separate
4431 file and add special name defines so this file can be used
4432 to build vfiscanf.o.
4433 * libc/stdio/asiprintf.c: New file.
4434 * libc/stdio/fiscanf.c: Ditto.
4435 * libc/stdio/iscanf.c: Ditto.
4436 * libc/stdio/sccl.c: Ditto.
4437 * libc/stdio/siscanf.c: Ditto.
4438 * libc/stdio/vasiprintf.c: Ditto.
4439 * libc/stdio/viprintf.c: Ditto.
4440 * libc/stdio/viscanf.c: Ditto.
4441 * libc/stdio/vsiprintf.c: Ditto.
4442 * libc/stdio/vsiscanf.c: Ditto.
4443 * libc/stdio/vsniprintf.c: Ditto.
4444
0f0fcb04 44452004-11-19 Shaun Jackman <sjackman@gmail.com>
17c0c97d 4446
ba3ccd63
EB
4447 * libc/include/stdio.h: Add sniprintf.
4448 * libc/stdio/Makefile.am: Add sniprintf.c.
4449 * libc/stdio/Makefile.in: Regenerated.
4450 * libc/stdio/sniprintf.c: New file.
4451 * libc/stdio/stdio.tex: Add sniprintf.
17c0c97d 4452
1f8f7e2d
CF
44532004-11-17 Christopher Faylor <cgf@timesys.com>
4454
4455 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
4456 EOF flag if successful.
4457
b08d08c7
CF
44582004-10-28 Christopher Faylor <cgf@timesys.com>
4459
4460 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
334ba104 4461 so that all relevant definitions have been performed for use in the
b08d08c7
CF
4462 include.
4463
65b1964f
JJ
44642004-10-26 Jason Tishler <jason@tishler.net>
4465
4466 * libc/stdio/fread.c (fread): Fix return value for unbuffered
4467 fread.
4468
6382b7e3 44692004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
06b5ef6e
JJ
4470
4471 * libc/include/machine/setjmp.h: Add AVR support.
4472 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
4473
73131c2d 44742004-10-08 Jeff Johnston <jjohnstn@redhat.com>
17c0c97d 4475
ba3ccd63
EB
4476 * libc/include/sys/signal.h: If <signal.h> didn't include
4477 this header file, include <signal.h> to account for
4478 applications that take advantage that the two header
4479 files are the same in glibc.
17c0c97d 4480
1185687a
JJ
44812004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
4482
ba3ccd63
EB
4483 * configure.host: Add support for crx.
4484 * libc/include/machine/ieeefp.h: Ditto.
4485 * libc/include/machine/setjmp.h: Ditto.
4486 * libc/machine/crx/Makefile.am: New file.
4487 * libc/machine/crx/configure.in: Ditto.
4488 * libc/machine/crx/setjmp.S: Ditto.
4489 * libc/machine/crx/getenv.c: Ditto.
4490 * libc/machine/crx/aclocal.m4: Generate.
4491 * libc/machine/crx/configure: Ditto.
4492 * libc/machine/crx/Makefile.in: Ditto.
4493 * libc/machine/crx/sys/asm.h: New file.
4494 * libc/machine/crx/sys/libh.h: Ditto.
4495 * libc/machine/crx/sys/syscall.h: Ditto.
1185687a 4496
423152ed
JJ
44972004-10-05 Jeff Johnston <jjohnstn@redhat.com>
4498
4499 * Makefile.am (stmp-targ-include): Support sys header files
4500 from machine directories.
4501 * Makefile.in: Regenerated.
4502
3ea9de76
JJ
45032004-10-04 Jeff Johnston <jjohnstn@redhat.com>
4504
4505 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
4506 count skipped zero characters as part of the nread count for %n.
4507 * libc/machine/powerpc/vfscanf.c: Ditto.
4508
2a6e1223
JJ
45092004-09-24 Jeff Johnston <jjohnstn@redhat.com>
4510
4511 * libc/stdio/local.h: Include <stdlib.h>.
4512
d163f2fc
CV
45132004-09-24 Corinna Vinschen <corinna@vinschen.de>
4514
4515 * libc/stdio/fread.c (fread): Include <malloc.h>.
4516
602de582
JJ
45172004-09-22 Jeff Johnston <jjohnstn@redhat.com>
4518
4519 * libc/stdio/fread.c (fread): For non-space-optimized case,
4520 add special code for unbuffered files to use user buffer and
4521 only require one low-level system read.
4522
32e73f4d
ILT
45232004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
4524
4525 * libc/machine/xscale/setjmp.S: New file, copied from
4526 libc/machine/arm/setjmp.S.
4527 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
4528 * libc/machine/xscale/Makefile.in: Regenerate.
4529
ed6859b8
JJ
45302004-09-16 Antony King <antony.king@st.com>
4531
4532 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
4533 with locking API.
17c0c97d 4534 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
ed6859b8
JJ
4535 check for__SSTR in _flags and if set, skip lock request.
4536 (_funlockfile)[!SINGLE_THREAD]: Ditto.
4537 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
4538 not NULL.
4539 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
4540 initialisation of _file to -1 in local FILE.
4541 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
4542 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
4543 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
4544 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
4545 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
4546 _flags in local FILE to prevent locking.
4547 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
4548
7a0f6966
JJ
45492004-09-16 Antony King <antony.king@st.com>
4550
4551 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
4552 and only walk the reentrancy parameter.
4553 (_fwalk_reent): Ditto.
4554 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
4555
c77672c0
JJ
45562004-09-16 Antony King <antony.king@st.com>
4557
4558 * libc/stdio64/freopen64.c: Remove casting of fp lock to
4559 _LOCK_RECURSIVE_T.
4560
5c44c2e5
JJ
45612004-09-16 Antony King <antony.king@st.com>
4562
4563 * libc/time/tzlock.c: Add default stubs that use generic
4564 locking code.
4565
14613e5e
JJ
45662004-09-16 Antony King <antony.king@st.com>
4567
4568 * libc/ctype/ctype.tex: Added missing documentation.
4569 * libc/stdio/stdio.tex Ditto.
4570 * libc/stdlib/stdlib.tex Ditto.
4571 * libc/string/strings.tex Ditto.
4572 * libc/time/time.tex: Ditto.
4573 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
4574
181cb051
JJ
45752004-09-15 Corinna Vinschen <vinschen@redhat.com>
4576
4577 * libc/reent/impure.c (reent_data): Define as alias to impure_data
4578 when building for Cygwin.
4579 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
4580 _global_impure_ptr.
4581
51d4a7ea
JJ
45822004-09-15 Jeff Johnston <jjohnstn@redhat.com>
4583
4584 * configure.host: Reverting 2004-09-14 change as fix has occurred on
4585 Cygwin side.
4586 * configure.in: Ditto.
4587 * libc/configure.in: Ditto.
4588 * libc/sys/configure.in: Ditto.
4589 * configure: Ditto.
4590 * libc/configure: Ditto.
4591 * libc/sys/configure: Ditto.
4592 * libc/include/sys/reent.h: Ditto.
4593 * libc/stdlib/__atexit.c: Ditto.
4594 * libc/stdlib/__call_atexit.c: Ditto.
4595 * libc/stdlib/cxa_atexit.c: Ditto.
4596 * libc/stdlib/cxa_finalize.c: Ditto.
4597 * libc/sys/cygwin/Makefile.am: Removed again.
4598 * libc/sys/cygwin/Makefile.in: Ditto.
4599 * libc/sys/cygwin/aclocal.m4: Ditto.
4600 * libc/sys/cygwin/configure: Ditto.
4601 * libc/sys/cygwin/configure.in: Ditto.
4602 * libc/sys/cygwin/dummy.c: Ditto.
4603 * libc/sys/cygwin/sys/reent.h: Ditto.
4604
98650d2f
JJ
46052004-09-14 Jeff Johnston <jjohnstn@redhat.com>
4606
4607 * configure.host: Add Cygwin sys directory.
4608 * configure.in: Do not set CRT0 for cygwin.
4609 * libc/configure.in: Ditto.
4610 * libc/sys/configure.in: Ditto.
4611 * configure: Regenerated.
4612 * libc/configure: Ditto.
4613 * libc/sys/configure: Ditto.
4614 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
4615 * libc/stdlib/__atexit.c: Keep cxa support protected by new
4616 __REENT_HAS_CXA_SUPPORT flag.
4617 * libc/stdlib/__call_atexit.c: Ditto.
4618 * libc/stdlib/cxa_atexit.c: Ditto.
4619 * libc/stdlib/cxa_finalize.c: Ditto.
4620 * libc/sys/cygwin/Makefile.am: New file.
4621 * libc/sys/cygwin/Makefile.in: Ditto.
4622 * libc/sys/cygwin/aclocal.m4: Ditto.
4623 * libc/sys/cygwin/configure: Ditto.
4624 * libc/sys/cygwin/configure.in: Ditto.
4625 * libc/sys/cygwin/dummy.c: Ditto.
4626 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
4627 version of reent.h.
4628
d4c8e53b
JJ
46292004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4630
4631 * libc/iconv/iconv.tex: Updated with new content.
4632 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
4633 instead of NLS_DEFAULT_NLSPATH.
4634 * libc/iconv/lib/iconvnls.h: Fix typo.
4635 * libc/include/sys/iconvnls.h: New file.
4636
0c8593cf
JJ
46372004-09-09 Paul Brook <paul@codesourcery.com>
4638
4639 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
4640 and _is_cxa.
4641 (struct _atexit): Add _next when _REENT_SMALL.
4642 (struct _reent): Add _atexit0 when _REENT_SMALL.
4643 (_REENT_INIT_PTR): Adjust.
4644 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
4645 __call_exit.c.
4646 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
4647 * libc/stdlib/Makefile.in: Regenerate.
4648 * libc/stdlib/__atexit.c: New file.
4649 * libc/stdlib/__call_atexit.c: New file.
4650 * libc/stdlib/atexit.h: Remove old definitions. Add new.
4651 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
4652 * libc/stdlib/cxa_atexit.c: New file.
4653 * libc/stdlib/cxa_finalize.c: New file.
4654 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
4655 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
4656 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
4657 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
4658 _on_exit_args_ptr.
4659
c6ed5a85
JJ
46602004-08-23 Jeff Johnston <jjohnstn@redhat.com>
4661
4662 * libc/include/sys/unistd.h (getpass): Change prototype to use
4663 const instead of __const.
4664
721a934c
JJ
46652004-08-16 Nathan Sidwell <nathan@codesourcery.com>
4666
4667 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
4668 #if.
4669
4e53fc28
JJ
46702004-08-12 Jeff Johnston <jjohnstn@redhat.com>
4671
4672 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
4673 on linux systems with glibc 2.3.3 installed.
4674 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
4675 profile_fixup so newlib can build on fc3 system.
17c0c97d 4676
82045f12
AO
46772004-07-30 Alexandre Oliva <aoliva@redhat.com>
4678
4679 Introduce SH2a support.
4680 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
4681 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
4682 __SH2A_SINGLE_ONLY__, too.
4683 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
4684 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
4685 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
4686 2004-02-10 DJ Delorie <dj@redhat.com>
4687 * libc/sys/sh/crt0.S (start_l): Support sh2a.
4688
ad6b1d79
JJ
46892004-07-29 Jeff Johnston <jjohnstn@redhat.com>
4690
4691 * libc/time/strptime.c: Correct full-name of "March" typo.
4692
63b9dcc4
JJ
46932004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
4694
17c0c97d 4695 * configure.host (h8300*-*-*): Default long long printing support.
63b9dcc4 4696
dbfd3394
JJ
46972004-07-16 Jeff Johnston <jjohnstn@redhat.com>
4698
4699 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
4700 calls, if realloc fails, free up buffer as it is no longer
4701 used.
4702
6edb3da9
JJ
47032004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4704
4705 * libc/iconv/iconv.tex: Updated to represent recent changes.
4706 * libc/iconv/lib/iconv.c: Documentation updated.
4707
578a3560
NC
47082004-07-07 Nick Clifton <nickc@redhat.com>
4709
4710 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
4711 for xStormy16.
4712
2bc257e3
JJ
47132004-07-06 Chris Demetriou <cgd@broadcom.com>
4714
4715 * configure.host (mips*-*-elf*): Default long long printing
4716 support.
4717
75e7ffaa
JJ
47182004-07-05 Jeff Johnston <jjohnstn@redhat.com>
4719
4720 * libc/Makefile.am (libc.dvi): Add target and specify
4721 same dependencies as libc.info.
4722 * libc/Makefile.in: Regenerated.
4723 * libm/Makefile.am (libm.dvi): Add target and specify
4724 same dependencies as libm.info.
4725 * libm/Makefile.in: Regenerated.
4726
76ce12c3
JJ
47272004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4728
4729 * acinclude.m4: Move --enable-newlib-iconv option back here.
4730 * configure.in: Remove --enable-newlib-iconv option. Don't
4731 tie iconv support to --enable-newlib-mb.
4732 * aclocal.m4: Regenerated.
4733 * configure: Ditto.
4734 * doc/aclocal.m4, doc/configure: Ditto.
4735 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
4736 * libm/*/aclocal.m4: Ditto.
4737 * libm/*/configure: Ditto.
4738 * libc/*/aclocal.m4: Ditto.
4739 * libc/*/configure: Ditto.
4740
660dade3
JJ
47412004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4742
4743 * acinclude.m4: Move iconv options into configure.in.
4744 * aclocal.m4: Regenerated.
4745 * configure: Ditto.
4746 * configure.in: Add iconv options.
4747 * newlib.hin: Add new iconv encodings and remove deleted ones.
4748 * doc/aclocal.m4: Regenerated.
4749 * doc/configure: Ditto.
4750 * iconvdata/aclocal.m4: Ditto.
4751 * iconvdata/configure: Ditto.
4752 * libc/iconv: Design change. New size-optimized ccs format.
4753 * libc/iconv/AUTHORS: Removed.
4754 * libc/iconv/COPYING: Ditto.
4755 * libc/iconv/README.ORIGINAL: Ditto.
4756 * libc/iconv/README.TODO: Ditto.
4757 * libc/iconv/charset.aliases: Ditto.
4758 * libc/iconv/encoding.aliases: New file.
4759 * libc/iconv/Makefile.am: Updated.
4760 * libc/iconv/Makefile.in: Regenerated.
4761 * libc/iconv/iconv.tex: Updated.
4762 * libc/iconv/ccs/Makefile.am: Ditto.
4763 * libc/iconv/ccs/Makefile.in: Regenerated.
4764 * libc/iconv/ccs/big5.c: Updated.
4765 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
4766 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
4767 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
4768 * libc/iconv/ccs/cp775.c: Ditto.
4769 * libc/iconv/ccs/cp850.c: Ditto.
4770 * libc/iconv/ccs/cp852.c: Ditto.
4771 * libc/iconv/ccs/cp855.c: Ditto.
4772 * libc/iconv/ccs/cp866.c: Ditto.
4773 * libc/iconv/ccs/iso_8859_1.c: Ditto.
4774 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
4775 * libc/iconv/ccs/gb_2312_80.c: Ditto.
4776 * libc/iconv/ccs/iconv_mktbl: Ditto.
4777 * libc/iconv/ccs/jis_x0201.c: Ditto.
4778 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
4779 * libc/iconv/ccs/shift_jis.c: Ditto.
4780 * libc/iconv/ccs/us_ascii.c: Ditto.
4781 * libc/iconv/ccs/ccs.h: New file.
4782 * libc/iconv/ccs/ccsbi.c: Ditto.
4783 * libc/iconv/ccs/ccsbi.h: Ditto.
4784 * libc/iconv/ccs/ccsnames.h: Ditto.
4785 * libc/iconv/ccs/iso_8859_10.c: Ditto.
4786 * libc/iconv/ccs/iso_8859_11.c: Ditto.
4787 * libc/iconv/ccs/iso_8859_13.c: Ditto.
4788 * libc/iconv/ccs/iso_8859_14.c: Ditto.
4789 * libc/iconv/ccs/iso_8859_3.c: Ditto.
4790 * libc/iconv/ccs/iso_8859_6.c: Ditto.
4791 * libc/iconv/ccs/iso_8859_7.c: Ditto.
4792 * libc/iconv/ccs/iso_8859_8.c: Ditto.
4793 * libc/iconv/ccs/iso_8859_9.c: Ditto.
4794 * libc/iconv/ccs/iso_ir_111.c: Ditto.
4795 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
4796 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
4797 * libc/iconv/ccs/koi8_ru.c: Ditto.
4798 * libc/iconv/ccs/koi8_uni.c: Ditto.
4799 * libc/iconv/ccs/mktbl.pl: Ditto.
4800 * libc/iconv/ccs/win_1250.c: Ditto.
4801 * libc/iconv/ccs/win_1251.c: Ditto.
4802 * libc/iconv/ccs/win_1252.c: Ditto.
4803 * libc/iconv/ccs/win_1253.c: Ditto.
4804 * libc/iconv/ccs/win_1254.c: Ditto.
4805 * libc/iconv/ccs/win_1255.c: Ditto.
4806 * libc/iconv/ccs/win_1256.c: Ditto.
4807 * libc/iconv/ccs/win_1257.c: Ditto.
4808 * libc/iconv/ccs/win_1258.c: Ditto.
d68d3538
JJ
4809 * libc/iconv/ccs/iso_8859_15.c: Updated.
4810 * libc/iconv/ccs/iso_8859_2.c: Ditto.
4811 * libc/iconv/ccs/iso_8859_4.c: Ditto.
4812 * libc/iconv/ccs/iso_8859_5.c: Ditto.
4813 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
4814 * libc/iconv/ccs/koi8_r.c: Ditto.
4815 * libc/iconv/ccs/koi8_u.c: Ditto.
4816 * libc/iconv/ccs/ksx1001.c: Ditto.
660dade3
JJ
4817 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
4818 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
4819 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
4820 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
4821 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
4822 * libc/iconv/ccs/binary/Makefile.am: Updated.
4823 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
4824 * libc/iconv/ccs/binary/big5.cct: Updated.
4825 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
4826 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
4827 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
4828 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
4829 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
4830 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
4831 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
4832 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
4833 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
4834 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
4835 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
4836 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
4837 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
4838 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
4839 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
4840 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
4841 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
4842 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
4843 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
4844 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
4845 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
4846 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
4847 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
4848 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
4849 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
4850 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
4851 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
4852 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
4853 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
4854 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
4855 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
4856 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
4857 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
4858 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
4859 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
4860 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
4861 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
4862 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
4863 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
4864 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
4865 * libc/iconv/ces/Makefile.am: Updated.
4866 * libc/iconv/ces/Makefile.in: Regenerated.
4867 * libc/iconv/ces/ucs-2-internal.c: Updated.
4868 * libc/iconv/ces/ucs-4-internal.c: Ditto.
4869 * libc/iconv/ces/utf-16.c: Ditto.
4870 * libc/iconv/ces/utf-8.c: Ditto.
4871 * libc/iconv/ces/cesbi.c: New file.
4872 * libc/iconv/ces/cesbi.h: Ditto.
4873 * libc/iconv/ces/cesdeps.h: Ditto.
4874 * libc/iconv/ces/euc.c: Ditto.
4875 * libc/iconv/ces/mkdeps.pl: Ditto.
4876 * libc/iconv/ces/table-pcs.c: Ditto.
4877 * libc/iconv/ces/table.c: Ditto.
4878 * libc/iconv/ces/ucs-2.c: Ditto.
4879 * libc/iconv/ces/ucs-4.c: Ditto.
4880 * libc/iconv/ces/us-ascii.c: Ditto.
4881 * libc/iconv/ces/euc-jp.c: Removed.
4882 * libc/iconv/ces/euc-kr.c: Ditto.
4883 * libc/iconv/ces/euc-tw.c: Ditto.
4884 * libc/iconv/ces/gb2312.c: Ditto.
4885 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
4886 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
4887 * libc/iconv/lib/Makefile.am: Updated.
4888 * libc/iconv/lib/Makefile.in: Regenerated.
4889 * libc/iconv/lib/endian.h: Updated.
4890 * libc/iconv/lib/iconv.c: Ditto.
4891 * libc/iconv/lib/local.h: Ditto.
4892 * libc/iconv/lib/aliases.c: Removed.
4893 * libc/iconv/lib/bialiasesi.c: Ditto.
4894 * libc/iconv/lib/biccs.c: Ditto.
4895 * libc/iconv/lib/bices.c: Ditto.
4896 * libc/iconv/lib/ccs.c: Ditto.
4897 * libc/iconv/lib/ces.c: Ditto.
4898 * libc/iconv/lib/ces_euc.c: Ditto.
4899 * libc/iconv/lib/ces_iso2022.c: Ditto.
4900 * libc/iconv/lib/ces_table.c: Ditto.
4901 * libc/iconv/lib/converter.c: Ditto.
4902 * libc/iconv/lib/deps.h: Ditto.
d68d3538
JJ
4903 * libc/iconv/lib/loaddata.c: Ditto.
4904 * libc/iconv/lib/aliasesbi.c: New file.
660dade3
JJ
4905 * libc/iconv/lib/aliasesi.c: Ditto.
4906 * libc/iconv/lib/conv.h: Ditto.
4907 * libc/iconv/lib/encnames.h: Ditto.
4908 * libc/iconv/lib/encoding.deps: Ditto.
4909 * libc/iconv/lib/iconvnls.c: Ditto.
4910 * libc/iconv/lib/iconvnls.h: Ditto.
660dade3
JJ
4911 * libc/iconv/lib/nullconv.c: Ditto.
4912 * libc/iconv/lib/ucsconv.c: Ditto.
4913 * libc/iconv/lib/ucsconv.h: Ditto.
4914 * libc/include/iconv.h: Update copyright.
4915 * libc/*/aclocal.m4: Regenerated.
4916 * libc/*/configure: Ditto.
4917 * libm/*/aclocal.m4: Ditto.
4918 * libm/*/configure: Ditto.
4919
9a6831be
AO
49202004-06-22 Alexandre Oliva <aoliva@redhat.com>
4921
eb6a452a
AO
4922 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
4923 instead of typedefing jmp_buf.
4924
9a6831be
AO
4925 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
4926 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
4927 * libc/machine/h8300/defines.h (LEN): New macro.
4928 * libc/machine/h8300/memcpy.S: Add h8sx version.
4929 * libc/machine/h8300/memset.S: Likewise.
4930 * libc/machine/h8300/strcmp.S: Likewise.
4931 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
4932 * libc/machine/h8300/h8sx_strcpy.S: New file.
4933 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
4934 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
4935 __H8300SX__.
4936 * libc/include/machine/setjmp.h: Likewise.
4937 * libc/include/sys/config.h: Likewise.
4938 * libc/machine/h8300/defines.h: Likewise.
4939 * libc/machine/h8300/setjmp.S: Likewise.
4940 * libc/machine/h8300/strcmp.S: Likewise.
4941 * libc/sys/h8300hms/close.S: Likewise.
4942 * libc/sys/h8300hms/fstat.S: Likewise.
4943 * libc/sys/h8300hms/lseek.S: Likewise.
4944 * libc/sys/h8300hms/read.S: Likewise.
4945 * libc/sys/h8300hms/write.S: Likewise.
4946 * libc/sys/h8300hms/crt0.S: Likewise.
4947 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
4948 __H8300SX__ is defined.
4949 * libc/sys/h8300hms/setarch.h: Likewise.
4950
80dba41e
JJ
49512004-06-17 Jeff Johnston <jjohnstn@redhat.com>
4952
4953 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
4954 out change which set _GLOBAL_REENT to _global_impure_ptr until
4955 we understand why Cygwin breaks because of it.
4956
be910599
JJ
49572004-06-14 Jeff Johnston <jjohnstn@redhat.com>
4958
4959 * libc/sys/linux/machine/i386/syscall.h: For now, set up
4960 __syscall_return macro for systems with vsyscall.
4961
d0bd3e6f
JJ
49622004-06-11 Antony King <antony.king@st.com>
4963
4964 * libc/include/sys/_types.h: Include <sys/lock.h> and change
4965 _flock_t to be of type _LOCK_RECURSIVE_T.
4966 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
4967 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
4968 (_global_impure_ptr): New declaration.
4969 (_GLOBAL_REENT): Change to be _global_impure_ptr.
4970 * libc/include/sys/stdio.h: Include <sys/lock.h> and
4971 <sys/reent.h>.
4972 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
4973 (_funlockfile)[!SINGLE_THREAD]: Ditto.
4974 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
4975 * libc/stdio/fclose.c: Remove casting of fp lock to
4976 _LOCK_RECURSIVE_T.
4977 * libc/stdio/findfp.c: Ditto.
4978 * libc/stdio/fopen.c: Ditto.
4979 * libc/stdio/freopen.c: Ditto.
4980 * libc/stdio/vfprintf.c: Ditto.
4981 * libc/stdio64/fopen64.c: Ditto.
4982 * libc/stdlib/envlock.c: Add default stubs that use generic
4983 locking code.
4984 * libc/stdlib/mlock.c: Ditto.
4985
4986 Jeff Johnston <jjohnstn@redhat.com>
4987 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
4988 (_flock_t): Change to be a struct containing a single member
4989 named mutex which is of type __flock_mutex_t.
4990
db7033a9
JJ
49912004-06-09 Jeff Johnston <jjohnstn@redhat.com>
4992
4993 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
4994 from /usr/include/asm/signal.h instead of kernel sources. Also
4995 default max to 32 if not found in header file.
4996 * libc/sys/linux/Makefile.in: Regenerated.
4997 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
4998 systems where __syscall_return is not defined.
4999 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
5000 systems to use syscall() function instead of assembler interrupt.
5001
a170abec
JJ
50022004-06-09 Toralf Lund <toralf@procaptura.com>
5003
5004 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
5005 files from libc/sys/arm to libc/machine/arm.
5006 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
5007 library build support for files moved from libc/sys/arm.
5008 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
5009 references to access and setjmp.
5010 * configure.host: Add checks for newlib_may_supply_syscalls to
5011 determine whether or not to use sys/arm directory and use
5012 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
17c0c97d 5013
8b57e664
JJ
50142004-06-02 Jeff Johnston <jjohnstn@redhat.com>
5015
5016 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
5017 reset digit flags appropriately after we have discovered "0x".
5018 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
5019
3f611058
JJ
50202004-05-27 Jeff Johnston <jjohnstn@redhat.com>
5021
5022 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
5023 from here ...
5024 (_VFPRINTF_R): ... to here so all I/O printf routines
5025 are covered.
5026
bb42a35c
JJ
50272004-05-26 Jeff Johnston <jjohnstn@redhat.com>
5028
5029 * libc/search/hash_buf.c: Protect MAX and MIN macros from
5030 redefinition.
5031 * libc/search/hash.c: Ditto.
5032
227e6ef6
JJ
50332004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5034
5035 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
5036 (_WANT_IO_LONG_LONG): Ditto.
5037 (_WANT_IO_LONG_DOUBLE): Ditto.
5038 * configure.in: Add new configuration options
5039 --enable-newlib-io-long-long and --enable-newlib-io-long-double
5040 which tie to new defines in newlib.hin.
5041 * configure: Regenerated.
5042 * configure.host: Add checks for new configuration options. Also
5043 fix up check for --enable-newlib-io-pos-args so configuration
5044 option will override any default for a given platform.
5045 Remove defining compiler flags for the _WANT_IO* options.
5046 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
5047 instead of looking for old compiler flags.
5048 * libc/stdio/vfscanf.c: Ditto.
5049 * libc/stdio/vfieeefp.h: Ditto.
5050 * libc/machine/powerpc/vfprintf.c: Ditto.
5051 * libc/machine/powerpc/vfscanf.c: Ditto.
5052
9178da95
JJ
50532004-05-25 Jeff Johnston <jjohnstn@redhat.com>
5054
5055 * testsuite/include/check.h: Add include of <stdio.h>.
5056
cf3aae91
CV
50572004-05-17 Corinna Vinschen <corinna@vinschen.de>
5058
5059 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
5060
5b4c8ae2
JJ
50612004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5062
5063 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
5064 of free.
5065
50662004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5067
5068 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
5069 list for reentrant pointer. Call _vfiprintf_r.
5070 * libc/stdio/siprintf.c (_siprintf_r): New function.
5071 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
5072 pointer argument. Change all callers. Call _VFPRINTF_R.
5073 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
5074 prototypes.
5075
631fbe65
JJ
50762004-05-07 Jeff Johnston <jjohnstn@redhat.com>
5077
5078 * libc/include/sys/param.h: Remove endian info and include
5079 <machine/endian.h> instead.
5080 * libc/include/machine/endian.h: New file.
5081 * libc/include/machine/param.h: Ditto.
5082 * libc/machine/arm/machine/endian.h: Ditto.
5083 * libc/machine/arm/machine/param.h: Ditto.
5084 * libc/sys/arm/sys/param.h: Removed.
5085 * libc/sys/sysvi386/sys/param.h: Ditto.
5086 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
5087
1af84bb7
JJ
50882004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5089
5090 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
5091 multibyte functions return failure for %C, %S, %lc, and %ls
5092 format specifiers.
5093
1c63798e
JJ
50942004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5095
5096 * testsuite/include/check.h (CHECK): Add flush of stdout.
5097
20b0251a
JJ
50982004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5099
5100 * libc/include/stdio.h (_ungetc_r): New prototype.
5101 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
5102 (__submore): Add reentrant struct pointer argument.
5103 (ungetc): Change to call _ungetc_r.
5104
6194cf4a
JJ
51052004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5106
5107 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
5108 function pointer argument.
5109 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
5110 to specify function pointer arguments.
5111 (__fwalk, __fwalk_reent): Ditto.
5112
b4ddf489
AH
51132004-04-26 Aldy Hernandez <aldyh@redhat.com>
5114
ba3ccd63
EB
5115 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
5116 CT_INT case.
b4ddf489 5117
f777e3a5
JJ
51182004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5119
5120 * configure.in: Define _MB_CAPABLE if mb supported.
5121 * configure: Regenerated.
5122 * configure.host: Remove manual setting of MB_CAPABLE compiler
5123 flag.
5124 * newlib.hin: Add _MB_CAPABLE flag.
5125 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
5126 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
5127 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
5128 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
5129 * libc/ctype/jp2uc.c: Ditto.
5130 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
5131 * libc/locale/locale.c: Ditto
5132 * libc/machine/powerpc/vfscanf.c: Ditto
5133 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
5134 * libc/stdlib/mblen.c: Ditto
5135 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
5136 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
5137 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
5138 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
5139 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
5140 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
5141 * libc/sys/linux/intl/explodename.c: Ditto
5142 * libc/sys/linux/intl/finddomain.c: Ditto
5143 * libc/sys/linux/intl/l10nflist.c: Ditto
5144 * libc/sys/linux/intl/loadmsgcat.c: Ditto
5145 * libc/sys/linux/intl/localealias.c: Ditto
5146
27c7566c
JJ
51472004-04-23 Jeff Johnston <jjohnstn@redhat.com>
5148
5149 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
5150 (__svfscanf_r): In integer conversions, leave out leading zeroes
5151 which are not part of a base prefix.
5152 Keep track of width truncation to fit into buf, not counting left-out
5153 zeroes against width till the truncation has been compensated for.
5154 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
5155
c00f9719
JJ
51562004-04-23 Jeff Johnston <jjohnstn@redhat.com>
5157
5158 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
5159
05b31577
JJ
51602004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5161
5162 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
5163 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
5164 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
5165 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
5166 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
5167 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
5168 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
5169 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
5170 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
5171 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
5172 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
5173 libc/stdio/getchar.c libc/stdio/getchar_u.c,
5174 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
5175 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
5176 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
5177 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
5178 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
5179 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
5180 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
5181 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
5182 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
5183 libc/stdio/siprintf.c libc/stdio/snprintf.c,
5184 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
5185 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
5186 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
5187 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
5188 libc/stdio/vprintf.c libc/stdio/vscanf.c,
5189 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
5190 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
5191 libc/stdio/wsetup.c: Perform minor formatting changes. Move
5192 copyright notices to top of file, ensure that <_ansi.h> is
5193 included, be consistent with open parentheses, use _DEFUN macro,
5194 include "local.h" where needed, and remove various compiler
5195 warnings.
5196
04e8fca1
JJ
51972004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
5198
5199 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
5200 (__svfscanf_r): In integer conversions, leave out leading zeroes
5201 which are not part of a base prefix.
5202 Keep track of width truncation to fit into buf, not counting left-out
5203 zeroes against width till the truncation has been compensated for.
5204
9090ec74
CV
52052004-04-20 Corinna Vinschen <corinna@vinschen.de>
5206
5207 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
5208
1c17deea
CV
52092004-04-20 Corinna Vinschen <corinna@vinschen.de>
5210
5211 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
5212
54c7940f
CV
52132004-04-10 Corinna Vinschen <corinna@vinschen.de>
5214
5215 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
5216 to SUSv3.
5217
47dcaf56
JJ
52182004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5219
5220 * libc/stdio/fclose.c (_fclose_r): New function.
5221 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
5222 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
5223 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
5224 * libc/include/stdio.h (_fclose_r): New prototype.
5225 * libc/stdio/fopen.c: Fix typo in comment.
5226
52272004-04-08 Jeff Johnston <jjohnstn@redhat.com>
5228
5229 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
5230 to handle _r reentrant functions.
5231
4121d8cf
JJ
52322004-04-08 Eric Christopher <echristo@redhat.com>
5233
5234 * libc/include/machine/setjmp.h: Fix endif locations.
5235
59c9f5f5
JJ
52362004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5237
5238 * libc/time/strptime.c: Add standard includes to avoid
5239 warning messages at compilation time.
5240
38f4f023
JJ
52412004-04-01 Jeff Johnston <jjohnstn@redhat.com>
5242
5243 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
5244 of file.
5245
52462004-03-30 Jeff Johnston <jjohnstn@redhat.com>
ed4c5ece
JJ
5247
5248 * libc/machine/h8300/Makefile.am: Reformat slightly.
5249 * libc/machine/h8300/Makefile.in: Regenerate.
5250
38f4f023 52512004-03-30 Thomas Pfaff <tpfaff@gmx.net>
cacc0d44
JJ
5252
5253 * libc/stdio/findfp.c (__fp_lock_all): Add call to
5254 __sfp_lock_acquire.
17c0c97d 5255 (__fp_unlock_all): Add call to __sfp_lock_release.
cacc0d44 5256
10dcf7e7
JJ
52572004-03-25 Thomas Pfaff <tpfaff@gmx.net>
5258
5259 * libc/stdio/fclose.c (fclose): Protect file pointer list when
5260 releasing a file.
5261 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
5262 fwalk.
5263 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
5264 _flockfile/_funlockfile.
5265 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
5266 to recursive.
5267 Change __lock_acquire/__lock_release calls for __sfp_lock to
5268 __sfp_lock_acquire/__sfp_lock_release throughout.
5269 (std): Make sure that file lock is only initialized once.
5270 (__sfp): Move _file initialization. Initialize file lock.
5271 (__sfp_lock_acquire): New function.
5272 (__sfp_lock_release): Ditto.
5273 (__fp_lock_all): Remove __sfp_lock_acquire call.
5274 (__fp_unlock_all): Remove __sfp_lock_release call.
5275 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
5276 Add calls to _flockfile/_funlockfile. Remove
5277 __lock_init_recursive call.
5278 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
5279 * libc/stdio/fwalk.c (__fwalk): New static function.
5280 (_fwalk): Protect file pointer list. Use __fwalk to walk through
5281 file pointers.
5282 * libc/stdio/local.h: Add defines for
5283 __sfp_lock_acquire/__sfp_lock_release when
5284 single threaded. Add function prototypes otherwise.
5285 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
5286 _flockfile/_funlockfile.
5287 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
5288 Add calls to _flockfile/_funlockfile. Remove
5289 __lock_init_recursive call.
5290 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
17c0c97d 5291 list.
10dcf7e7 5292
ec475b09
JJ
52932004-03-25 Jeff Johnston <jjohnstn@redhat.com>
5294
5295 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
5296 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
5297 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
5298 to be __LOCK_INIT_RECURSIVE.
5299
2c4ef10a
JJ
53002004-03-11 Kazu Hirata <kazu@cs.umass.edu>
5301
5302 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
5303 _exit.c with _exit.S.
5304 * libc/sys/h8300hms/Makefile.in: Regenerate.
5305 * libc/sys/h8300hms/_exit.c: Remove.
5306 * libc/sys/h8300hms/_exit.S: New.
5307
41c3da6a
JJ
53082004-03-09 Thomas Pfaff <tpfaff@gmx.net>
5309
5310 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
5311 Change __sfp_lock to static global.
5312 (__fp_lock): New static function.
5313 (__fp_unlock): Ditto.
5314 (__fp_lock_all): New function.
17c0c97d 5315 (__fp_unlock_all): Ditto.
41c3da6a 5316
0ccf5430
CF
53172004-02-10 Christopher Faylor <cgf@redhat.com>
5318
5319 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
5320 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
5321 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
5322 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
5323
3536f0fb
CF
53242004-02-09 Christopher Faylor <cgf@redhat.com>
5325
5326 * libc/include/time.h (TIMER_RELTIME): New define.
5327
6a6e493a
JJ
53282004-02-09 Jeff Johnston <jjohnstn@redhat.com>
5329
5330 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
5331 * libc/stdlib/Makefile.in: Regenerated.
5332
733309f5
CF
53332004-02-08 Christopher Faylor <cgf@redhat.com>
5334
5335 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
5336 * libc/include/sys/reent.h (__getreent): Protect against possibly being
5337 defined.
5338 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
5339
b4a84c66
JJ
53402004-02-05 Paul Brook <paul@codesourcery.com>
5341
17c0c97d 5342 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
b4a84c66
JJ
5343 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
5344
4669438f
JJ
53452004-02-02 Jeff Johnston <jjohnstn@redhat.com>
5346
5347 * NEWS: Update with 1.12.0 info.
5348 * README: Ditto.
5349 * acinclude.m4: Change version number to 1.12.0.
5350 * aclocal.m4: Regenerated.
5351 * configure: Ditto.
5352 * doc/aclocal.m4: Ditto.
5353 * doc/configure: Ditto.
5354 * libc/*/aclocal.m4: Ditto.
5355 * libc/*/configure: Ditto.
5356 * libc/libc.texinfo: Ditto.
5357 * libm/*/aclocal.m4: Ditto.
5358 * libm/*/configure: Ditto.
5359 * libm/libm.texinfo: Ditto.
5360 * libc/sys/linux/shared.ld: Add VERS_1.12.
5361
94d61fcb
JJ
53622004-02-02 Joel Sherrill <joel@oarcorp.com>
5363
5364 * configure.host: Add support for tic4x.
5365 * libc/include/machine/ieeefp.h: Ditto.
5366 * libc/include/machine/setjmp.h: Ditto.
5367 * libc/machine/tic4x/Makefile.am: New file.
5368 * libc/machine/tic4x/configure.in: Ditto.
5369 * libc/machine/tic4x/setjmp.S: Ditto.
5370 * libc/machine/tic4x/aclocal.m4: Generated.
5371 * libc/machine/tic4x/configure: Ditto.
5372 * libc/machine/tic4x/Makefile.in: Ditto.
5373
c730e0e7
JJ
53742004-01-30 Jeff Johnston <jjohnstn@redhat.com>
5375
5376 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
5377 file chain on the passed in reentrancy struct if it
5378 is _GLOBAL_REENT.
5379
2892ec68 53802004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
ba3ccd63 5381 Jeff Johnston <jjohnstn@redhat.com>
2892ec68
JJ
5382
5383 * libc/iconv/iconv.tex: Updated with more information.
5384
ff41498a 53852004-01-30 Thomas Pfaff <tpfaff@gmx.net>
ba3ccd63 5386 Jeff Johnston <jjohnstn@redhat.com>
ff41498a
JJ
5387
5388 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
5389 struct for std streams and traverse the global reeentrancy
5390 struct for all other streams.
5391
d5b6c234
JJ
53922004-01-27 Jeff Johnston <jjohnstn@redhat.com>
5393
5394 * libc/stdlib/atexit.c: Protect global atexit list with a
5395 lock when newlib is multithreaded.
5396
01e0a777
JJ
53972004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5398
5399 * configure.in: Add support to generate iconv converter flags
5400 for newlib.h
5401 * newlib.hin: Add iconv converter flags.
5402 * configure: Regenerated.
5403 * libc/Makefile.in: Ditto.
5404 * libc/configure.in: Moved iconv converter parsing logic to
5405 top level newlib configure.in.
5406 * libc/configure: Regenerated.
5407 * libc/iconv/Makefile.in: Ditto.
5408 * libc/iconv/README.TODO
5409 * libc/iconv/charset.aliases: Remove wrong BE aliases for
5410 UCS2/UCS4/UTF8.
5411 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
5412 newlib.h can be used.
5413 * libc/iconv/ces/Makefile.am: Ditto.
5414 * libc/iconv/lib/Makefile.am: Ditto.
5415 * libc/iconv/ccs/Makefile.in: Regenerated.
5416 * libc/iconv/ces/Makefile.in: Ditto.
5417 * libc/iconv/lib/Makefile.in: Ditto.
5418 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
5419 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
5420 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
5421 defined in newlib.h.
5422 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
5423 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
5424 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
5425 * libc/iconv/ccs/cp775.c: Ditto.
5426 * libc/iconv/ccs/cp850.c: Ditto.
5427 * libc/iconv/ccs/cp852.c: Ditto.
5428 * libc/iconv/ccs/cp855.c: Ditto.
5429 * libc/iconv/ccs/cp866.c: Ditto.
5430 * libc/iconv/ccs/gb_2312_80.c: Ditto.
5431 * libc/iconv/ccs/iso_8859_1.c: Ditto.
5432 * libc/iconv/ccs/iso_8859_15.c: Ditto.
5433 * libc/iconv/ccs/iso_8859_2.c: Ditto.
5434 * libc/iconv/ccs/iso_8859_4.c: Ditto.
5435 * libc/iconv/ccs/iso_8859_5.c: Ditto.
5436 * libc/iconv/ccs/jis_x0201.c: Ditto.
5437 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
5438 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
5439 * libc/iconv/ccs/koi8_r.c: Ditto.
5440 * libc/iconv/ccs/koi8_u.c: Ditto.
5441 * libc/iconv/ccs/ksx1001.c: Ditto.
5442 * libc/iconv/ccs/shift_jis.c: Ditto.
5443 * libc/iconv/ccs/us_ascii.c: Ditto.
5444 * libc/iconv/ccs/binary/big5.cct: Newly generated.
5445 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
5446 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
5447 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
5448 * libc/iconv/ccs/binary/cp775.cct: Ditto.
5449 * libc/iconv/ccs/binary/cp850.cct: Ditto.
5450 * libc/iconv/ccs/binary/cp852.cct: Ditto.
5451 * libc/iconv/ccs/binary/cp855.cct: Ditto.
5452 * libc/iconv/ccs/binary/cp866.cct: Ditto.
5453 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
5454 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
5455 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
5456 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
5457 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
5458 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
5459 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
5460 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
5461 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
5462 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
5463 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
5464 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
5465 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
5466 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
5467 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
5468 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
5469 * libc/iconv/ces/euc-kr.c: Ditto.
5470 * libc/iconv/ces/euc-tw.c: Ditto.
5471 * libc/iconv/ces/gb2312.c: Ditto.
5472 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
5473 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
5474 * libc/iconv/ces/ucs-2-internal.c: Ditto.
5475 * libc/iconv/ces/ucs-4-internal.c: Ditto.
5476 * libc/iconv/ces/utf-16.c: Ditto.
5477 * libc/iconv/ces/utf-8.c: Ditto.
5478 * libc/iconv/lib/aliases.c: Ditto.
5479 * libc/iconv/lib/biccs.c: Ditto.
5480 * libc/iconv/lib/bices.c: Ditto.
5481 * libc/iconv/lib/ccs.c: Ditto.
5482 * libc/iconv/lib/ces.c: Ditto.
5483 * libc/iconv/lib/ces_euc.c: Ditto.
5484 * libc/iconv/lib/ces_iso2022.c: Ditto.
5485 * libc/iconv/lib/ces_table.c: Ditto.
5486 * libc/iconv/lib/converter.c: Ditto.
5487 * libc/iconv/lib/deps.h: Ditto.
5488 * libc/iconv/lib/endian.h: Ditto.
5489 * libc/iconv/lib/iconv.c: Ditto.
5490 * libc/iconv/lib/loaddata.c: Ditto.
5491 * libc/iconv/lib/local.h: Include newlib.h.
5492 * libc/argz/Makefile.in: Regenerated.
5493 * libc/ctype/Makefile.in: Ditto.
5494 * libc/errno/Makefile.in: Ditto.
5495 * libc/iconv/ccs/binary/Makefile.in: Ditto.
5496 * libc/locale/Makefile.in: Ditto.
5497 * libc/misc/Makefile.in: Ditto.
5498 * libc/posix/Makefile.in: Ditto.
5499 * libc/reent/Makefile.in: Ditto.
5500 * libc/search/Makefile.in: Ditto.
5501 * libc/signal/Makefile.in: Ditto.
5502 * libc/stdio/Makefile.in: Ditto.
5503 * libc/stdio64/Makefile.in: Ditto.
5504 * libc/stdlib/Makefile.in: Ditto.
5505 * libc/string/Makefile.in: Ditto.
5506 * libc/syscalls/Makefile.in: Ditto.
5507 * libc/time/Makefile.in: Ditto.
5508 * libc/unix/Makefile.in: Ditto.
5509 * testsuite/newlib.iconv/iconv.exp: New file.
5510 * testsuite/newlib.iconv/iconvjp.c: Ditto.
5511 * testsuite/newlib.iconv/iconvnm.c: Ditto.
5512 * testsuite/newlib.iconv/iconvru.c: Ditto.
5513
786ab12c
JJ
55142004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5515
5516 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
5517 (--enable-newlib-builtin-converters): Ditto.
5518 * configure.in: Add code to set _ICONV_ENABLED flag.
5519 Set _MB_LEN_MAX to 1 if not mb enabled.
5520 * configure: Regenerated.
5521 * aclocal.m4: Ditto.
5522 * Makefile.in: Ditto.
5523 * newlib.hin: Add _ICONV_ENABLED flag.
5524 * libc/Makefile.am: Add support for iconv.
5525 * libc/configure.in: Ditto.
5526 * libc/Makefile.in: Regenerated.
5527 * libc/aclocal.m4: Ditto.
5528 * libc/configure: Ditto.
5529 * libc/libc.texinfo: Add iconv documentation.
5530 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
5531 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
5532 libc/iconv/README.TODO, libc/iconv/charset.aliases,
5533 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
5534 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
5535 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
5536 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
5537 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
5538 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
5539 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
5540 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
5541 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
5542 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
5543 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
5544 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
5545 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
5546 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
5547 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
5548 libc/iconv/ccs/binary/big5.cct,
5549 libc/iconv/ccs/binary/cns11643_plane1.cct,
5550 libc/iconv/ccs/binary/cns11643_plane14.cct,
5551 libc/iconv/ccs/binary/cns11643_plane2.cct,
5552 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
5553 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
5554 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
5555 libc/iconv/ccs/binary/iso_8859_1.cct,
5556 libc/iconv/ccs/binary/iso_8859_15.cct,
5557 libc/iconv/ccs/binary/iso_8859_2.cct,
5558 libc/iconv/ccs/binary/iso_8859_4.cct,
5559 libc/iconv/ccs/binary/iso_8859_5.cct,
5560 libc/iconv/ccs/binary/jis_x0201.cct,
5561 libc/iconv/ccs/binary/jis_x0208_1983.cct,
5562 libc/iconv/ccs/binary/jis_x0212_1990.cct,
5563 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
5564 libc/iconv/ccs/binary/ksx1001.cct,
5565 libc/iconv/ccs/binary/shift_jis.cct,
5566 libc/iconv/ccs/binary/us_ascii.cct,
5567 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
5568 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
5569 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
5570 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
5571 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
5572 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
5573 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
5574 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
5575 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
5576 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
5577 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
5578 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
5579 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
5580 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
5581 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
5582 * libc/sys/linux/include/iconv.h: Ditto.
5583 * libc/include/sys/_types.h (_iconv_t): Added.
5584 * doc/aclocal.m4: Regenerated.
5585 * doc/configure: Ditto.
5586 * doc/Makefile.in: Ditto.
5587 * iconvdata/Makefile.in: Ditto.
5588 * iconvdata/aclocal.m4: Ditto.
5589 * iconvdata/configure: Ditto.
5590 * libc/*aclocal.m4: Ditto.
5591 * libc/*Makefile.in: Ditto.
5592 * libc/*configure: Ditto.
5593 * libm/*aclocal.m4: Ditto.
5594 * libm/*Makefile.in: Ditto.
5595 * libm/*configure: Ditto.
5596
ed1a95dc
JJ
55972004-01-22 Thomas Pfaff <tpfaff@gmx.net>
5598
5599 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
17c0c97d 5600 by a lock when newlib is multithreaded.
ed1a95dc 5601
7d4be1ef
JJ
56022004-01-21 Jeff Johnston <jjohnstn@redhat.com>
5603
5604 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
5605 pointer to match C99 spec.
5606 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
5607 dst is NULL. Also fix to not alter src pointer when dst is NULL
5608 and call _mbrtowc_r instead of _mbtowc_r.
5609 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
5610 of _wctomb_r.
5611
403f752c
JJ
56122004-01-19 Thomas Pfaff <tpfaff@gmx.net>
5613
5614 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
5615 * libc/stdio/freopen.c (freopen): Ditto.
5616
85b6d63b
CF
56172004-01-16 Christopher Faylor <cgf@redhat.com>
5618
5619 * libc/stdio/vfprintf.c: Add sys/lock.h include.
5620
4af71a91
JJ
56212004-01-16 Thomas Pfaff <tpfaff@gmx.net>
5622
5623 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
5624 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
5625 Add calls to __lock_init_recursive and __lock_close_recursive
5626 instead.
5627
6a150987
JJ
56282004-01-15 Thomas Pfaff <tpfaff@gmx.net>
5629
5630 * libc/stdio/fclose.c: Include sys/lock.h.
5631 (fclose): Destroy lock when file is closed.
5632 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
5633 member.
5634 * libc/stdio/freopen.c: Include sys/lock.h.
5635 (_freopen_r): Destroy lock when file is closed.
5636 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
5637 _lock member.
5638
c9524c0c
JJ
56392004-01-08 Joel Sherrill <joel@oarcorp.com>
5640
ba3ccd63
EB
5641 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
5642 Remove warnings.
c9524c0c 5643
9f13ccb3
JJ
56442004-01-08 Joel Sherrill <joel@oarcorp.com>
5645
ba3ccd63
EB
5646 * libc/sys/rtems/sys/queue.h: New file.
5647 * libc/include/sys/signal.h: Reflect renumbering of signals to
5648 fit into 32-bit mask.
5649 * libc/include/sys/unistd.h: Add fdatasync() prototype.
5650 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
5651 required. In particular, add the reentrant variants of libc calls.
5652 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
9f13ccb3 5653
9488c414
JJ
56542004-01-06 Mark Mitchell <mark@codesourcery.com>
5655
5656 * libc/sys/arm/syscalls.c (unistd.h): Include it.
5657 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
5658 Similarly for stdout and stderr.
5659
5125f919
JJ
56602004-01-06 Jeff Johnston <jjohnstn@redhat.com>
5661
5662 * libc/libc.texinfo: Correct escape character for @ sign
5663 so file will be processed by make info. Update copyright years.
5664 * libm/libm.texinfo: Ditto.
5665
9fc92ceb
JJ
56662003-12-05 Jeff Johnston <jjohnstn@redhat.com>
5667
5668 * libc/include/sys/stat.h: No longer include stat-dj.h.
5669 * libc/include/sys/stat-dj.h: Removed.
5670
25c7dad1
JJ
56712003-12-05 Jeff Johnston <jjohnstn@redhat.com>
5672
5673 * libc/include/wchar.h: Include <sys/reent.h>.
5674
576593dd
CF
56752003-12-05 Christopher Faylor <cgf@redhat.com>
5676
5677 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
5678 when defining _mbrtowc.
5679 * libc/stdlib/mbsinit.c: Ditto.
5680 * libc/stdlib/mbsrtowcs.c: Ditto.
5681 * libc/stdlib/wcrtomb.c: Ditto.
5682 * libc/stdlib/wcsrtombs.c: Ditto.
5683 * libc/stdlib/wctob.c: Ditto.
5684
56852003-12-05 Christopher Faylor <cgf@redhat.com>
5686
5687 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
5688 errors when defining _mbrtowc.
5689 * libc/stdlib/mbsinit.c: Ditto.
5690 * libc/stdlib/mbsrtowcs.c: Ditto.
5691
4c889d62
CF
56922003-12-05 Christopher Faylor <cgf@redhat.com>
5693
5694 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
5695 errors when defining _mbrtowc.
5696
5d109bde
JJ
56972003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5698
5699 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
5700 of mb routines for %lc and %ls support.
5701 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
5702 %ls, and %S support. Remove CYGNUS_NEC markers and
5703 code within.
5704
3aca0888
JJ
57052003-12-04 Jeff Johnston <jjohnstn@redhat.com>
5706
5707 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
5708 _wcrtomb_r, and _wcsrtombs_r.
5709
18dcb167
CV
57102003-12-01 Corinna Vinschen <corinna@vinschen.de>
5711
5712 * libc/include/sys/fcntl.h: Don't define struct flock when on
5713 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
5714
93f8e673
CF
57152003-11-28 Christopher Faylor <cgf@redhat.com>
5716
5717 * libc/include/sys/signal.h: Use system specific signal file when
5718 building on cygwin.
5719
cc2a11e0
JJ
57202003-11-27 Jeff Johnston <jjohnstn@redhat.com>
5721
5722 * libc/include/stdlib.h (_atoi_r): New prototype.
5723 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
5724
83bf7d2f
JJ
57252003-11-27 Jeff Johnston <jjohnstn@redhat.com>
5726
5727 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
5728 * libc/stdlib/atol.c (_atol_r): New reentrant function.
5729 * libc/stdlib/atoll.c (_atoll_r): Ditto.
5730
5d109bde 57312003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6bbb700c
JJ
5732 Jeff Johnston <jjohnstn@redhat.com>
5733
5734 * libc/include/stdlib.h (lldiv_t): New type.
5735 (atoll, llabs, lldiv): New prototypes.
5736 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
5737 * libc/stdlib/stdlib.tex: Ditto.
5738 * libc/stdlib/Makefile.in: Regenerated.
5739 * libc/stdlib/atoll.c: New file.
5740 * libc/stdlib/llabs.c: Ditto.
5741 * libc/stdlib/lldiv.c: Ditto.
5742
0a707c79
JJ
57432003-11-26 Corinna Vinschen <corinna@vinschen.de>
5744
5745 * libc/include/fcntl.h: Declare syscalls only when building newlib.
5746 * libc/include/unistd.h: Ditto.
5747 * libc/include/stat.h: Ditto. Also declare struct stat64.
5748
5d109bde 57492003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6db165c2
JJ
5750
5751 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
5752 specifier to use ch instead of *fmt.
5753
5d109bde 57542003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
759a097e
JJ
5755
5756 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
5757 code within checks for MB_CAPABLE. For non-mb-capable platforms,
5758 use simple byte logic.
5759
4f6149d6
JJ
57602003-11-21 Jeff Johnston <jjohnstn@redhat.com>
5761
5762 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
5763 _strtold routine for processing floats and doubles since it
5764 is not as fast as _strtod_r.
5765
17c0c97d 57662003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
7343eefb 5767
17c0c97d 5768 * libc/machine/h8300/defines.h : Correct pointer register defines
7343eefb 5769 for normal mode.
17c0c97d 5770 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
7343eefb
JJ
5771 for normal mode.
5772 * libc/machine/h8300/reg_memcpy.S : Likewise.
5773 * libc/machine/h8300/reg_memset.S : Likewise.
5774 * libc/machine/h8300/strcmp.S : Likewise.
5775
64cfc6f2
JJ
57762003-11-19 Nicholas Wourms <nwourms@netscape.net>
5777
5778 * configure.host: Enable positional arguments for printf
5779 family for Cygwin.
5780 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
5781 pointer reference for quad_ptr_t.
5782
e1dc8171
JJ
57832003-11-19 Jeff Johnston <jjohnstn@redhat.com>
5784
5785 * libc/stdio/scanf.c: Don't include local.h more than once.
5786
a472290f
JJ
57872003-11-18 Corinna Vinschen <corinna@vinschen.de>
5788
5789 * libc/include/sys/fcntl.h: Declare _open64.
5790 * libc/include/sys/stat.h: Declare _fstat64.
5791 * libc/include/sys/unistd.h: Declare _lseek64.
5792
a2f1155c
CV
57932003-11-17 Corinna Vinschen <corinna@vinschen.de>
5794
5795 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
5796 (setprogname): Ditto.
5797
030441fc
JJ
57982003-11-10 Jeff Johnston <jjohnstn@redhat.com>
5799
5800 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
5801 to use (Ebits + 1) which accounts for the sign-bit.
5802
fe359733
JJ
58032003-11-07 Jeff Johnston <jjohnstn@redhat.com>
5804
17c0c97d 5805 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
fe359733
JJ
5806 x86 build.
5807 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
5808 and set up default flags to pass to aclocal.
5809 * iconvdata/Makefile.in: Regenerated.
5810 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
5811 and getpwuid routines.
5812 * libc/sys/linux/Makefile.in: Regenerated.
5813 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
5814 applications to link with newlib's shared libc library.
5815 * libc/sys/linux/getpwnam.c: Ditto.
5816 * libc/sys/linux/getpwuid.c: Ditto.
5817 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
5818 that were formerly supplied by /usr/include/linux/types.h with
5819 kernel types.
5820 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
5821 test _ELIX_LEVEL macro.
5822
2985521f
JJ
58232003-11-07 Jeff Johnston <jjohnstn@redhat.com>
5824
5825 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
5826 referring to _NO_LONGLONG macro.
5827
dcad6a89
JJ
58282003-11-06 Jeff Johnston <jjohnstn@redhat.com>
5829
5830 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
5831 in LOG() macro so this will compile on gcc 3.4 and up.
5832 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
5833 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
5834 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
5835 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
5836 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
5837 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
5838 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
5839 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
5840 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
5841 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
5842 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
5843 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
5844 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
5845 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
5846 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
5847 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
5848 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
5849 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
5850 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
5851 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
5852 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
5853 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
5854 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
5855 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
5856 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
5857 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
5858 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
5859 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
5860 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
5861 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
5862 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
5863 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
5864 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
5865 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
5866 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
5867 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
5868
d2ffac09 58692003-11-05 Jeff Johnston <jjohnstn@redhat.com>
ba3ccd63 5870 Artem B. Bityuckiy <abitytsky@softminecorp.com>
d2ffac09
JJ
5871
5872 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
5873 %ls, %S, %lc, and %C format specifiers.
5874 (get_arg): Ditto.
5875 * libc/stdio/sprintf.c: Add documentation regarding new
5876 format specifiers added in vfprintf.c.
5877
da2d1227
JJ
58782003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5879
5880 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
5881 to make code work as specified in standard.
5882
3ef05bac
JJ
58832003-10-23 Jeff Johnston <jjohnstn@redhat.com>
5884
5885 * configure.in: Use absolute newlib basedir when forming
5886 CC_FOR_NEWLIB include options.
5887 * configure: Regenerated.
5888
5d109bde 58892003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4340b63b
JJ
5890
5891 * libc/string/wcsnlen.c: New file.
5892 * libc/include/wchar.h: Add wcsnlen prototype.
5893 * libc/string/Makefile.am: Add wcsnlen support.
5894 * libc/string/Makefile.in: Regenerated.
5895 * libc/string/wcstrings.tex: Add wcsnlen documentation.
5896
63a823f8
RS
58972003-10-22 Richard Sandiford <rsandifo@redhat.com>
5898
5899 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
5900
76a7df52
JJ
59012003-10-20 Bob Wilson <bob.wilson@acm.org>
5902
5903 * libc/locale/locale.c: Use double quotes in code.
5904 * libc/locale/locale.tex: Likewise.
5905 * libc/libc.texinfo: Hyphenate "floating-point".
5906 * libc/machine/necv70/necv70.tex: Likewise.
5907 * libc/stdio/sprintf.c: Likewise.
5908 * libc/stdio/sscanf.c: Likewise.
5909 * libc/stdlib/atof.c: Likewise.
5910 * libc/stdlib/ldtoa.c: Fix comment typo.
5911 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
5912 * libc/stdlib/ldiv.c: Likewise.
5913 * libm/common/s_expm1.c: Likewise.
5914 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
5915 * libm/common/s_infinity: Hyphenate "double- and single-precision".
5916 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
5917 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
5918 and "floating-point".
5919 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
5920 * libm/math/e_pow.c: Fix comment typo.
5921 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
5922 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
5923 * libm/math/s_atan.c: Likewise.
5924 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
5925 * libm/math/s_isnan.c: Hyphenate "single-precision" and
5926 "floating-point". Use "nonzero".
5927 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
5928 * libm/math/w_acos.c: Likewise.
5929 * libm/math/w_acosh.c: Likewise.
5930 * libm/math/w_asin.c: Likewise.
5931 * libm/math/w_atan2.c: Likewise.
5932 * libm/math/w_atanh.c: Likewise.
5933 * libm/math/w_cosh.c: Likewise.
5934 * libm/math/w_exp.c: Likewise.
5935 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
5936 version of 2^x in the description.
5937 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
5938 * libm/math/w_gamma.c: Likewise.
5939 * libm/math/w_hypot.c: Likewise.
5940 * libm/math/w_j0.c: Likewise.
5941 * libm/math/w_sinh.c: Likewise.
5942 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
5943 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
5944 "floating-point".
5945 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
5946 * libm/mathfp/e_atanh.c: Likewise.
5947 * libm/mathfp/e_hypot.c: Likewise.
5948 * libm/mathfp/er_lgamma.c: Likewise.
5949 * libm/mathfp/s_acos.c: Likewise.
5950 * libm/mathfp/s_asine.c: Likewise.
5951 * libm/mathfp/s_asinh.c: Likewise.
5952 * libm/mathfp/s_atan.c: Likewise.
5953 * libm/mathfp/s_atan2.c: Likewise.
5954 * libm/mathfp/s_atangent.c: Likewise.
5955 * libm/mathfp/s_cosh.c: Likewise.
5956 * libm/mathfp/s_exp.c: Likewise.
5957 * libm/mathfp/s_fmod.c: Likewise.
5958 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
5959 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
5960 "floating-point". Use "nonzero".
5961 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
5962 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
5963 * libm/mathfp/s_sineh.c: Likewise.
5964 * libm/mathfp/w_jn.c: Likewise.
5965
b11926e7
JJ
59662003-10-15 Alexandre Oliva <aoliva@redhat.com>
5967
5968 * Makefile.am: Add $(MAKE) comments to multido and multiclean
5969 lines, to enable parallel make.
5970 * Makefile.in: Rebuilt.
5971
31271d5c
CF
59722003-10-14 Christopher Faylor <cgf@redhat.com>
5973
5974 * libc/time/clock.c: Clarify documentation of return value when no
5975 measurement is available.
5976
bc707cbd
JJ
59772003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
5978
5979 * libm/configure.in: Check libm_machine_dir, not machine_dir.
5980 * libm/configure: Regenerate.
5981 * libm/Makefile.in: Ditto.
5982
f4b10605
JR
59832003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
5984
5985 * libc/machine/sh/strncpy.S: New file.
5986 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
5987 * libc/machine/sh/Makefile.in: Regenerate.
5988
ce044d8f
JW
59892003-09-11 James E Wilson <wilson@specifixinc.com>
5990
5991 * MAINTAINERS: Update my e-mail address.
5992
080ef411
CV
59932003-09-10 Corinna Vinschen <corinna@vinschen.de>
5994
5995 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
5996
3a767b69
JJ
59972003-09-09 Jeff Johnston <jjohnstn@redhat.com>
5998
080ef411
CV
5999 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
6000 prototype.
6001 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
6002 _simdldcheck(). Also add unsigned cast for index variable in
6003 for loop using sizeof operators.
6004 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
6005 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
6006 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
6007 plus fix shift calculation for determining if there is a
6008 carry from word2.
3a767b69 6009
84154fcc
CV
60102003-09-09 Corinna Vinschen <corinna@vinschen.de>
6011
6012 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
6013 setgroupent for Cygwin.
6014
f1b15058
JJ
60152003-09-05 Jeff Johnston <jjohnstn@redhat.com>
6016
6017 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
6018 is different for _REENT_SMALL than when using regular reent
6019 struct.
6020
cf88c20f 60212003-09-05 Ben Elliston <bje@wasabisystems.com>
0a8fd4dc 6022
b73263e4
BE
6023 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
6024 modern versions of GCC issue a warning.
6025
0a8fd4dc
BE
6026 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
6027 after continuation characters that induces a warning from modern
6028 versions of GCC.
6029
10a32423
BE
60302003-09-04 Ben Elliston <bje@wasabisystems.com>
6031
6032 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
6033 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
6034
ed027a53
JJ
60352003-09-02 Thomas Pfaff <tpfaff@gmx.net>
6036
6037 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
6038 * libc/stdlib/exit.c : Ditto.
6039 * libc/stdlib/on_exit.c: Ditto.
6040
880fa247
JJ
60412003-08-27 Corinna Vinschen <corinna@vinschen.de>
6042
6043 * libc/include/reent.h: Define stat64 as __stat64 when
6044 compiling newlib for Cygwin.
6045
54c1d7ea
JJ
60462003-08-26 Jeff Johnston <jjohnstn@redhat.com>
6047
6048 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
6049 __stat64 when compiling newlib.
6050
0eca0750
JJ
60512003-08-26 Jeff Johnston <jjohnstn@redhat.com>
6052
6053 * libc/include/stdio.h: Allow the io64 function prototypes for
6054 Cygwin when compiling newlib.
6055 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
6056 to expose the Cygwin struct __stat64 type.
6057 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
6058 pointer.
6059 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
6060
9d4aef19
CF
60612003-08-23 Christopher Faylor <cgf@redhat.com>
6062
6063 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
6064 definition to fseeko64.
6065
9fc9e1c9
JJ
60662003-08-22 Jeff Johnston <jjohnstn@redhat.com>
6067
6068 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
6069 * libc/stdio: Globally remove/replace all references to fp->_data.
6070 Replace with _REENT or _GLOBAL_REENT where appropriate.
6071 * libc/stdio/asprintf.c: Ditto.
6072 * libc/stdio/fclose.c: Ditto.
6073 * libc/stdio/fvwrite.c: Ditto.
6074 * libc/stdio/makebuf.c: Ditto.
6075 * libc/stdio/refill.c: Ditto.
6076 * libc/stdio/local.h: Ditto.
6077 * libc/stdio/setvbuf.c: Ditto.
6078 * libc/stdio/sscanf.c: Ditto.
6079 * libc/stdio/stdio.c: Ditto.
6080 * libc/stdio/ungetc.c: Ditto.
6081 * libc/stdio/vfscanf.c: Ditto.
6082 * libc/stdio/vsscanf.c: Ditto.
6083 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
6084 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
6085 * libc/stdio/vsnprintf.c: Ditto.
6086 * libc/stdio/vsprintf.c: Ditto.
6087 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
6088 instead of _REENT to walk file list.
6089 * libc/stdio/fflush.c: Ditto.
6090 * libc/stdio/fgetpos.c: Add reentrant version and have regular
6091 version call reentrant version with _REENT argument.
6092 * libc/stdio/fsetpos.c: Ditto.
6093 * libc/stdio/fseek.c: Ditto.
6094 * libc/stdio/fseeko.c: Ditto.
6095 * libc/stdio/ftell.c: Ditto.
6096 * libc/stdio/ftello.c: Ditto.
6097 * libc/stdio/freopen.c: Ditto.
6098 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
6099 new files to chain. Also use _GLOBAL_REENT pointer for
6100 cleaning up.
6101 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
6102 * libc/stdio/siprintf.c: Ditto.
6103 * libc/stdio/iprintf.c: Ditto.
6104 * libc/stdio/fprintf.c: Ditto.
6105 * libc/stdio/printf.c: Ditto.
6106 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
6107 * libc/stdio/sprintf.c: Ditto.
6108 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
6109 * libc/stdio/rewind.c: Call _fseek_r directly.
6110 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
6111 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
6112 data pointer.
6113 (get_arg): Add extra struct _reent pointer argument.
6114 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
6115 to fp->_data.
6116 * libc/stdio64/fopen64.c: Ditto.
6117 * libc/stdio64/freopen64.c: Ditto.
6118 * libc/stdio64/fsetpos64.c: Ditto.
6119 * libc/stdio64/ftello64.c: Ditto.
6120 * libc/stdio64/local64.h: Ditto.
6121 * libc/stdio64/stdio64.c: Ditto.
6122 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
6123 _fstat64_r for the meantime.
6124
8f021114
JJ
61252003-08-19 Jeff Johnston <jjohnstn@redhat.com>
6126
6127 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
6128 overflow detection.
17c0c97d 6129
db979bb4 61302003-08-13 Aldy Hernandez <aldyh@redhat.com>
17c0c97d 6131
db979bb4
JJ
6132 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
6133 extern "C".
6134
6efbdc7d
JJ
61352003-08-13 Jeff Johnston <jjohnstn@redhat.com>
6136
6137 * libc/include/math.h: Add prototypes for __signbitf and
6138 __signbitd.
6139
e895fc20
JJ
61402003-07-31 Jeff Johnston <jjohnstn@redhat.com>
6141
6142 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
6143 correct type of conversion when dealing with EUCJP or SJIS.
6144 * libc/ctype/iswblank.c: Ditto.
6145 * libc/ctype/iswcntrl.c: Ditto.
6146 * libc/ctype/iswprint.c: Ditto.
6147 * libc/ctype/iswpunct.c: Ditto.
6148 * libc/ctype/iswspace.c: Ditto.
6149 * libc/ctype/towlower.c: Ditto.
6150 * libc/ctype/towupper.c: Ditto.
6151
0302dfe5
NC
61522003-07-31 Nick Clifton <nickc@redhat.com>
6153
6154 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
6155 before calling main, in case it saves its argument registers.
ba3ccd63
EB
6156 Remove reference to deleted v850ea port.
6157 * configure.host: Remove reference to deleted v850ea port.
6158 Do not use -mv850 when building for v850e target. This
0302dfe5
NC
6159 prevents the ctbp system register from being initialised.
6160
42de5592
JJ
61612003-07-29 Honda Hiroki <hhonda@ipflex.com>
6162
6163 * libc/stdio/vfprintf.c: Set output size to 1 when
6164 we have %f format with precision 0 and # flag not specified.
6165
e5de27b6
AO
61662003-07-29 Alexandre Oliva <aoliva@redhat.com>
6167
6168 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
6169 .am33_2.
6170
3c98a593
CF
61712003-07-25 Christopher Faylor <cgf@redhat.com>
6172
6173 * libc/stdio64/fdopen64.c: Include sys/lock.h.
6174
e222bf67
CF
61752003-07-25 Christopher Faylor <cgf@redhat.com>
6176
6177 * configure.host: Find cygwin include directory, when appropriate.
6178
03536757
CF
61792003-07-24 Christopher Faylor <cgf@redhat.com>
6180
6181 * libc/stdio64/fdopen64.c: New file.
6182 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
6183 * libc/stdio64/Makefile.in: Regenerate.
6184 * libc/include/stdio.h (fdopen64): Define.
6185 * libc/include/stdio.h (_fdopen64_r): Ditto.
6186
18072a4f
AO
61872003-07-10 Alexandre Oliva <aoliva@redhat.com>
6188
6189 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
6190 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
6191 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
6192 restore callee-saved FP registers.
6193
e0bec12f
JR
61942003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
6195
6196 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
6197 for __sh__.
6198 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
6199 truncate.c.
6200 * libc/sys/sh/Makefile.in: Regenerate.
6201 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
6202 * libc/sys/sh/ftruncate.c: New file.
6203 * libc/sys/sh/truncate.c: Likewise.
6204
03d65dd9
AO
62052003-07-09 Alexandre Oliva <aoliva@redhat.com>
6206
6207 * libc/include/math.h (nan, nanf): Update prototype to C99.
6208 * libm/common/s_nan.c (nan): Likewise.
6209 * libm/common/s_nanf.c (nanf, nan): Likewise.
6210 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
6211
74aa9d7d
JJ
62122003-07-07 Jeff Johnston <jjohnstn@redhat.com>
6213
6214 * libc/include/stdbool.h: Removed as this is defined by gcc.
6215
0a447ef3
JJ
62162003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
6217
6218 * libc/include/stdbool.h: New header file defined by C99.
6219
282eff9a
JJ
62202003-07-02 Jeff Johnston <jjohnstn@redhat.com>
6221
6222 * libc/include/sys/types.h (int8_t): Make signed.
6223
4e989b11
JJ
62242003-07-02 Jeff Johnston <jjohnstn@redhat.com>
6225
6226 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
6227
07b40cf8
JJ
62282003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
6229
6230 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
6231 on if we actually created the shared memory file exclusively.
6232
7daa7891
JJ
62332003-06-27 Joe Vornehm <joev@mitre.org>
6234
6235 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
6236 comparisons to account for unsigned internal value w.
6237
51fa7562
JJ
62382003-06-26 Jeff Johnston <jjohnstn@redhat.com>
6239
6240 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
6241 wrbuf for a non-creating open.
6242
b8f7ea5c
JJ
62432003-06-24 Kazu Hirata <kazu@cs.umass.edu>
6244
6245 * libc/machine/h8300/setarch.h: New.
6246 * libc/machine/h8300/memcpy.S: Use it.
6247 * libc/machine/h8300/memset.S: Likewise.
6248 * libc/machine/h8300/reg_memcpy.S: Likewise.
6249 * libc/machine/h8300/reg_memset.S: Likewise.
6250 * libc/machine/h8300/setjmp.S: Likewise.
6251 * libc/machine/h8300/strcmp.S: Likewise.
6252
6d7ea52a
RS
62532003-06-24 Richard Sandiford <rsandifo@redhat.com>
6254
6255 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
6256 to atexit().
6257
5a74f2aa
JJ
62582003-06-20 Jeff Johnston <jjohnstn@redhat.com>
6259
6260 * configure.host (iq2000): Add tabs.
6261
8266e478
JJ
62622003-06-20 Jeff Johnston <jjohnstn@redhat.com>
6263
6264 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
6265 to handle latest on_exit change.
6266 * libc/sys/linux/Makefile.am: Remove special compilation
6267 for malloc.c and mcheck.c.
6268 * libc/sys/linux/Makefile.in: Regenerated.
6269 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
6270 after including <features.h>.
6271 * libc/sys/linux/mcheck.c: Ditto.
6272 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
6273 for <features.h>.
6274 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
6275 add -DNOT_IN_libc to C flags.
6276 * libc/sys/linux/intl/Makefile.in: Regenerated.
6277 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
6278 * libc/sys/linux/linuxthreads/semaphore.h: Include
6279 <bits/pthreadtypes.h>.
6280 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
6281 including <features.h>.
6282 * libc/sys/linux/sys/lock.h: Ditto.
6283
0efe117b
NC
62842003-06-11 Nick Clifton <nickc@redhat.com>
6285
6286 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
6287 _on_exit_args_ptr.
6288
bfdfd7e6 62892003-06-10 Stan Cox <scox@redhat.com>
ba3ccd63 6290 Anthony Green <green@redhat.com>
17c0c97d 6291
bfdfd7e6
AG
6292 * configure.host: Add iq2000 support.
6293 * newlib/libc/include/machine/ieeefp.h: Ditto.
6294 * newlib/libc/include/machine/setjmp.h: Ditto.
6295 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
6296 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
6297 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
6298 libc/machine/iq2000/Makefile.in: New files.
6299
d9e4104b
RS
63002003-06-10 Richard Sandiford <rsandifo@redhat.com>
6301
6302 * libc/sys/h8300hms/setarch.h: New file.
6303 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
6304 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
6305 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
6306 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
6307
729d1ff9
JJ
63082003-06-06 Jeff Johnston <jjohnstn@redhat.com>
6309
ba3ccd63
EB
6310 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
6311 definition.
6312 * libc/argz/argz_add_sep.c: Ditto.
6313 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
6314 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
6315 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
6316 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
6317 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
6318 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
6319 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
6320 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
6321 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
6322 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
6323 * libc/posix/execl.c libc/posix/execle.c: Ditto.
6324 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
6325 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
6326 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
6327 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
6328 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
6329 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
6330 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
6331 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
6332 * libc/search/twalk.c libc/signal/signal.c: Ditto.
729d1ff9 6333
75d7d177 63342003-06-05 Nick Clifton <nickc@redhat.com>
17c0c97d 6335
75d7d177
NC
6336 * libc/include/sys/reent.h (struct _on_exit_args): New
6337 structure containing fields used by the on_exit() function.
ba3ccd63 6338 (struct _atexit): Include struct _on_exit_args. For
75d7d177
NC
6339 _REENT_SMALL do his via a pointer that is initialised when
6340 needed.
ba3ccd63 6341 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
75d7d177 6342 structure, if one has been allocated.
ba3ccd63 6343 * libc/stdlib/atexit.c (atexit): Update indirection to
75d7d177 6344 _fntypes field.
ba3ccd63 6345 * libc/stdlib/on_exit.c (on_exit): Indirect via the
75d7d177
NC
6346 _on_exit_args structure. For _REENT_SMALL, allocate a
6347 structure if one does not exist.
ba3ccd63 6348 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
75d7d177
NC
6349 structure.
6350
2129f283
JJ
63512003-06-04 Jeff Johnston <jjohnstn@redhat.com>
6352
6353 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
6354 * libc/sys/linux/net/Makefile.in: Regenerated.
6355
bf3bcac2
JJ
63562003-06-03 Jeff Johnston <jjohnstn@redhat.com>
6357
6358 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
6359 * libc/reent/fcntlr.c: Ditto.
6360 * libc/reent/fstat64r.c: Ditto.
6361 * libc/reent/linkr.c: Ditto.
6362 * libc/reent/lseek64r.c: Ditto.
6363 * libc/reent/lseekr.c: Ditto.
6364 * libc/reent/openr.c: Ditto.
6365 * libc/reent/readr.c: Ditto.
6366 * libc/reent/reent.c: Ditto.
6367 * libc/reent/sbrkr.c: Ditto.
6368 * libc/reent/signalr.c: Ditto.
6369 * libc/reent/signgam.c: Ditto.
6370 * libc/reent/statr.c: Ditto.
6371 * libc/reent/timer.c: Ditto.
6372 * libc/reent/unlinkr.c: Ditto.
6373 * libc/reent/writer.c: Ditto.
6374 * libc/syscalls/sysclose.c: Ditto.
6375 * libc/syscalls/sysexecve.c: Ditto.
6376 * libc/syscalls/sysfcntl.c: Ditto.
6377 * libc/syscalls/sysfork.c: Ditto.
6378 * libc/syscalls/sysfstat.c: Ditto.
6379 * libc/syscalls/sysgetpid.c: Ditto.
6380 * libc/syscalls/sysgettod.c: Ditto.
6381 * libc/syscalls/syskill.c: Ditto.
6382 * libc/syscalls/syslink.c: Ditto.
6383 * libc/syscalls/syslseek.c: Ditto.
6384 * libc/syscalls/sysopen.c: Ditto.
6385 * libc/syscalls/sysread.c: Ditto.
6386 * libc/syscalls/syssbrk.c: Ditto.
6387 * libc/syscalls/sysstat.c: Ditto.
6388 * libc/syscalls/systimes.c: Ditto.
6389 * libc/syscalls/sysunlink.c: Ditto.
6390 * libc/syscalls/syswait.c: Ditto.
6391 * libc/syscalls/syswrite.c: Ditto.
6392
702ceb23
JJ
63932003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
6394
6395 * libc/time/tzset_r.c: Change local variables that are
6396 set via sscanf using the %h format specifier to be unsigned short
6397 instead of int.
6398
102861c9
JJ
63992003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
6400
6401 * configure.host: Allow i[34567]86 variant.
6402 * configure.in: Likewise.
6403 * README: Likewise to the docs.
6404 * configure: Regenerated.
6405 * Makefile.in: Ditto.
6406
b359e82c
JJ
64072003-05-28 Jeff Johnston <jjohnstn@redhat.com>
6408 Tom Fitzsimmons <fitzsim@redhat.com>
6409
6410 * configure.in: Add iconvdata support for x86 linux.
6411 * configure: Regenerated.
17c0c97d 6412 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
b359e82c
JJ
6413 library, iconv, and linuxthreads support.
6414 * libc/sys/linux/configure.in: Ditto.
6415 * libc/sys/linux/Makefile.in: Regenerated.
6416 * libc/sys/linux/configure: Ditto.
6417 * iconvdata/EUC-JP.irreversible: New file.
6418 * iconvdata/Makefile.am: Ditto.
6419 * iconvdata/Makefile.in: Ditto.
6420 * iconvdata/SJIS.irreversible: Ditto.
6421 * iconvdata/aclocal.m4: Ditto.
6422 * iconvdata/configure: Ditto.
6423 * iconvdata/configure.in: Ditto.
6424 * iconvdata/dummy.c: Ditto.
6425 * iconvdata/euc-jp.c: Ditto.
6426 * iconvdata/gconv-modules: Ditto.
6427 * iconvdata/jis0201.c: Ditto.
6428 * iconvdata/jis0201.h: Ditto.
6429 * iconvdata/jis0208.c: Ditto.
6430 * iconvdata/jis0208.h: Ditto.
6431 * iconvdata/jis0212.c: Ditto.
6432 * iconvdata/jis0212.h: Ditto.
6433 * iconvdata/sjis.c: Ditto.
6434 * libc/include/errno.h: Protect definition of error_t.
6435 * libc/sys/linux/gethostid.c: New file.
6436 * libc/sys/linux/sethostid.c: Ditto.
6437 * libc/sys/linux/dl/Makefile.am: Ditto.
6438 * libc/sys/linux/dl/Makefile.in: Ditto.
6439 * libc/sys/linux/dl/abi-tag.h: Ditto.
6440 * libc/sys/linux/dl/atomicity.h: Ditto.
6441 * libc/sys/linux/dl/dl-addr.c: Ditto.
6442 * libc/sys/linux/dl/dl-cache.c: Ditto.
6443 * libc/sys/linux/dl/dl-cache.h: Ditto.
6444 * libc/sys/linux/dl/dl-close.c: Ditto.
6445 * libc/sys/linux/dl/dl-debug.c: Ditto.
6446 * libc/sys/linux/dl/dl-deps.c: Ditto.
6447 * libc/sys/linux/dl/dl-dst.h: Ditto.
6448 * libc/sys/linux/dl/dl-error.c: Ditto.
6449 * libc/sys/linux/dl/dl-fini.c: Ditto.
6450 * libc/sys/linux/dl/dl-init.c: Ditto.
6451 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
6452 * libc/sys/linux/dl/dl-libc.c: Ditto.
6453 * libc/sys/linux/dl/dl-librecon.h: Ditto.
6454 * libc/sys/linux/dl/dl-load.c: Ditto.
6455 * libc/sys/linux/dl/dl-lookup.c: Ditto.
6456 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
6457 * libc/sys/linux/dl/dl-minimal.c: Ditto.
6458 * libc/sys/linux/dl/dl-misc.c: Ditto.
6459 * libc/sys/linux/dl/dl-object.c: Ditto.
6460 * libc/sys/linux/dl/dl-open.c: Ditto.
6461 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
6462 * libc/sys/linux/dl/dl-profile.c: Ditto.
6463 * libc/sys/linux/dl/dl-profstub.c: Ditto.
6464 * libc/sys/linux/dl/dl-reloc.c: Ditto.
6465 * libc/sys/linux/dl/dl-runtime.c: Ditto.
6466 * libc/sys/linux/dl/dl-support.c: Ditto.
6467 * libc/sys/linux/dl/dl-sym.c: Ditto.
6468 * libc/sys/linux/dl/dl-version.c: Ditto.
6469 * libc/sys/linux/dl/dlfcn.h: Ditto.
6470 * libc/sys/linux/dl/do-lookup.h: Ditto.
6471 * libc/sys/linux/dl/do-rel.h: Ditto.
6472 * libc/sys/linux/dl/dynamic-link.h: Ditto.
6473 * libc/sys/linux/dl/kernel-features.h: Ditto.
6474 * libc/sys/linux/dl/ldsodefs.h: Ditto.
6475 * libc/sys/linux/dl/libintl.h: Ditto.
6476 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
6477 * libc/sys/linux/dl/unsecvars.h: Ditto.
6478 * libc/sys/linux/iconv/Makefile.am: Ditto.
6479 * libc/sys/linux/iconv/Makefile.in: Ditto.
6480 * libc/sys/linux/iconv/categories.def: Ditto.
6481 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
6482 * libc/sys/linux/iconv/gconv.c: Ditto.
6483 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
6484 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
6485 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
6486 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
6487 * libc/sys/linux/iconv/gconv_close.c: Ditto.
6488 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
6489 * libc/sys/linux/iconv/gconv_db.c: Ditto.
6490 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
6491 * libc/sys/linux/iconv/gconv_int.h: Ditto.
6492 * libc/sys/linux/iconv/gconv_open.c: Ditto.
6493 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
6494 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
6495 * libc/sys/linux/iconv/hash-string.h: Ditto.
6496 * libc/sys/linux/iconv/iconv.c: Ditto.
6497 * libc/sys/linux/iconv/iconv.h: Ditto.
6498 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
6499 * libc/sys/linux/iconv/iconv_close.c: Ditto.
6500 * libc/sys/linux/iconv/iconv_open.c: Ditto.
6501 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
6502 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
6503 * libc/sys/linux/iconv/loadinfo.h: Ditto.
6504 * libc/sys/linux/iconv/localeinfo.h: Ditto.
6505 * libc/sys/linux/iconv/loop.c: Ditto.
6506 * libc/sys/linux/iconv/skeleton.c: Ditto.
6507 * libc/sys/linux/iconv/strtab.c: Ditto.
6508 * libc/sys/linux/include/dl-hash.h: Ditto.
6509 * libc/sys/linux/include/dlfcn.h: Ditto.
6510 * libc/sys/linux/include/fnmatch.h: Ditto.
6511 * libc/sys/linux/include/gconv.h: Ditto.
6512 * libc/sys/linux/include/glob.h: Ditto.
6513 * libc/sys/linux/include/hesiod.h: Ditto.
6514 * libc/sys/linux/include/ifaddrs.h: Ditto.
6515 * libc/sys/linux/include/libc_private.h: Ditto.
6516 * libc/sys/linux/include/link.h: Ditto.
6517 * libc/sys/linux/include/namespace.h: Ditto.
6518 * libc/sys/linux/include/netconfig.h: Ditto.
6519 * libc/sys/linux/include/netdb.h: Ditto.
6520 * libc/sys/linux/include/nsswitch.h: Ditto.
6521 * libc/sys/linux/include/regex.h: Ditto.
6522 * libc/sys/linux/include/resolv.h: Ditto.
6523 * libc/sys/linux/include/rune.h: Ditto.
6524 * libc/sys/linux/include/runetype.h: Ditto.
6525 * libc/sys/linux/include/semaphore.h: Ditto.
6526 * libc/sys/linux/include/setlocale.h: Ditto.
6527 * libc/sys/linux/include/un-namespace.h: Ditto.
6528 * libc/sys/linux/include/wordexp.h: Ditto.
6529 * libc/sys/linux/include/arpa/ftp.h: Ditto.
6530 * libc/sys/linux/include/arpa/inet.h: Ditto.
6531 * libc/sys/linux/include/arpa/nameser.h: Ditto.
6532 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
6533 * libc/sys/linux/include/arpa/telnet.h: Ditto.
6534 * libc/sys/linux/include/arpa/tftp.h: Ditto.
6535 * libc/sys/linux/include/net/bpf.h: Ditto.
6536 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
6537 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
6538 * libc/sys/linux/include/net/bridge.h: Ditto.
6539 * libc/sys/linux/include/net/ethernet.h: Ditto.
6540 * libc/sys/linux/include/net/fddi.h: Ditto.
6541 * libc/sys/linux/include/net/if.h: Ditto.
6542 * libc/sys/linux/include/net/if_arc.h: Ditto.
6543 * libc/sys/linux/include/net/if_arp.h: Ditto.
6544 * libc/sys/linux/include/net/if_atm.h: Ditto.
6545 * libc/sys/linux/include/net/if_dl.h: Ditto.
6546 * libc/sys/linux/include/net/if_gif.h: Ditto.
6547 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
6548 * libc/sys/linux/include/net/if_llc.h: Ditto.
6549 * libc/sys/linux/include/net/if_media.h: Ditto.
6550 * libc/sys/linux/include/net/if_mib.h: Ditto.
6551 * libc/sys/linux/include/net/if_ppp.h: Ditto.
6552 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
6553 * libc/sys/linux/include/net/if_slvar.h: Ditto.
6554 * libc/sys/linux/include/net/if_sppp.h: Ditto.
6555 * libc/sys/linux/include/net/if_stf.h: Ditto.
6556 * libc/sys/linux/include/net/if_tap.h: Ditto.
6557 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
6558 * libc/sys/linux/include/net/if_tun.h: Ditto.
6559 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
6560 * libc/sys/linux/include/net/if_types.h: Ditto.
6561 * libc/sys/linux/include/net/if_var.h: Ditto.
6562 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
6563 * libc/sys/linux/include/net/intrq.h: Ditto.
6564 * libc/sys/linux/include/net/iso88025.h: Ditto.
6565 * libc/sys/linux/include/net/net_osdep.h: Ditto.
6566 * libc/sys/linux/include/net/netisr.h: Ditto.
6567 * libc/sys/linux/include/net/pfil.h: Ditto.
6568 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
6569 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
6570 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
6571 * libc/sys/linux/include/net/radix.h: Ditto.
6572 * libc/sys/linux/include/net/raw_cb.h: Ditto.
6573 * libc/sys/linux/include/net/route.h: Ditto.
6574 * libc/sys/linux/include/net/slcompress.h: Ditto.
6575 * libc/sys/linux/include/net/slip.h: Ditto.
6576 * libc/sys/linux/include/net/zlib.h: Ditto.
6577 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
6578 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
6579 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
6580 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
6581 * libc/sys/linux/include/netinet/igmp.h: Ditto.
6582 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
6583 * libc/sys/linux/include/netinet/in.h: Ditto.
6584 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
6585 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
6586 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
6587 * libc/sys/linux/include/netinet/in_var.h: Ditto.
6588 * libc/sys/linux/include/netinet/ip.h: Ditto.
6589 * libc/sys/linux/include/netinet/ip6.h: Ditto.
6590 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
6591 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
6592 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
6593 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
6594 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
6595 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
6596 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
6597 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
6598 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
6599 * libc/sys/linux/include/netinet/tcp.h: Ditto.
6600 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
6601 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
6602 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
6603 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
6604 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
6605 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
6606 * libc/sys/linux/include/netinet/udp.h: Ditto.
6607 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
6608 * libc/sys/linux/include/netinet6/ah.h: Ditto.
6609 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
6610 * libc/sys/linux/include/netinet6/esp.h: Ditto.
6611 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
6612 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
6613 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
6614 * libc/sys/linux/include/netinet6/in6.h: Ditto.
6615 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
6616 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
6617 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
6618 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
6619 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
6620 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
6621 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
6622 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
6623 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
6624 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
6625 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
6626 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
6627 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
6628 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
6629 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
6630 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
6631 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
6632 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
6633 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
6634 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
6635 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
6636 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
6637 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
6638 * libc/sys/linux/include/netns/idp.h: Ditto.
6639 * libc/sys/linux/include/netns/idp_var.h: Ditto.
6640 * libc/sys/linux/include/netns/ns.h: Ditto.
6641 * libc/sys/linux/include/netns/ns_error.h: Ditto.
6642 * libc/sys/linux/include/netns/ns_if.h: Ditto.
6643 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
6644 * libc/sys/linux/include/netns/sp.h: Ditto.
6645 * libc/sys/linux/include/netns/spidp.h: Ditto.
6646 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
6647 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
6648 * libc/sys/linux/include/netns/spp_var.h: Ditto.
6649 * libc/sys/linux/include/rpc/Makefile: Ditto.
6650 * libc/sys/linux/include/rpc/auth.h: Ditto.
6651 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
6652 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
6653 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
6654 * libc/sys/linux/include/rpc/clnt.h: Ditto.
6655 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
6656 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
6657 * libc/sys/linux/include/rpc/des.h: Ditto.
6658 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
6659 * libc/sys/linux/include/rpc/nettype.h: Ditto.
6660 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
6661 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
6662 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
6663 * libc/sys/linux/include/rpc/raw.h: Ditto.
6664 * libc/sys/linux/include/rpc/rpc.h: Ditto.
6665 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
6666 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
6667 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
6668 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
6669 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
6670 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
6671 * libc/sys/linux/include/rpc/svc.h: Ditto.
6672 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
6673 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
6674 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
6675 * libc/sys/linux/include/rpc/types.h: Ditto.
6676 * libc/sys/linux/include/rpc/xdr.h: Ditto.
6677 * libc/sys/linux/intl/Makefile.am: Ditto.
6678 * libc/sys/linux/intl/Makefile.in: Ditto.
6679 * libc/sys/linux/intl/bindtextdom.c: Ditto.
6680 * libc/sys/linux/intl/catgets.c: Ditto.
6681 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
6682 * libc/sys/linux/intl/config.h: Ditto.
6683 * libc/sys/linux/intl/dcgettext.c: Ditto.
6684 * libc/sys/linux/intl/dcigettext.c: Ditto.
6685 * libc/sys/linux/intl/dcngettext.c: Ditto.
6686 * libc/sys/linux/intl/dgettext.c: Ditto.
6687 * libc/sys/linux/intl/dngettext.c: Ditto.
6688 * libc/sys/linux/intl/explodename.c: Ditto.
6689 * libc/sys/linux/intl/finddomain.c: Ditto.
6690 * libc/sys/linux/intl/gettext.c: Ditto.
6691 * libc/sys/linux/intl/gettext.h: Ditto.
6692 * libc/sys/linux/intl/gettextP.h: Ditto.
6693 * libc/sys/linux/intl/hash-string.h: Ditto.
6694 * libc/sys/linux/intl/l10nflist.c: Ditto.
6695 * libc/sys/linux/intl/loadinfo.h: Ditto.
6696 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
6697 * libc/sys/linux/intl/locale.alias: Ditto.
6698 * libc/sys/linux/intl/localealias.c: Ditto.
6699 * libc/sys/linux/intl/ngettext.c: Ditto.
6700 * libc/sys/linux/intl/open_catalog.c: Ditto.
6701 * libc/sys/linux/intl/plural.c: Ditto.
6702 * libc/sys/linux/intl/plural.y: Ditto.
6703 * libc/sys/linux/intl/stpcpy.c: Ditto.
6704 * libc/sys/linux/intl/textdomain.c: Ditto.
6705 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
6706 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
6707 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
6708 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
6709 * libc/sys/linux/linuxthreads/attr.c: Ditto.
6710 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
6711 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
6712 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
6713 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
6714 * libc/sys/linux/linuxthreads/config.h: Ditto.
6715 * libc/sys/linux/linuxthreads/configure: Ditto.
6716 * libc/sys/linux/linuxthreads/configure.in: Ditto.
6717 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
6718 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
6719 * libc/sys/linux/linuxthreads/events.c: Ditto.
6720 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
6721 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
6722 * libc/sys/linux/linuxthreads/internals.h: Ditto.
6723 * libc/sys/linux/linuxthreads/join.c: Ditto.
6724 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
6725 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
6726 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
6727 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
6728 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
6729 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
6730 * libc/sys/linux/linuxthreads/manager.c: Ditto.
6731 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
6732 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
6733 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
6734 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
6735 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
6736 * libc/sys/linux/linuxthreads/prio.c: Ditto.
6737 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
6738 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
6739 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
6740 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
6741 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
6742 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
6743 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
6744 * libc/sys/linux/linuxthreads/queue.h: Ditto.
6745 * libc/sys/linux/linuxthreads/reent.c: Ditto.
6746 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
6747 * libc/sys/linux/linuxthreads/restart.h: Ditto.
6748 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
6749 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
6750 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
6751 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
6752 * libc/sys/linux/linuxthreads/signals.c: Ditto.
6753 * libc/sys/linux/linuxthreads/specific.c: Ditto.
6754 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
6755 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
6756 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
6757 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
6758 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
6759 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
6760 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
6761 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
6762 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
6763 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
6764 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
6765 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
6766 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
6767 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
6768 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
6769 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
6770 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
6771 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
6772 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
6773 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
6774 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
6775 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
6776 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
6777 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
6778 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
6779 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
6780 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
6781 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
6782 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
6783 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
6784 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
6785 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
6786 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
6787 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
6788 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
6789 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
6790 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
6791 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
6792 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
6793 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
6794 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
6795 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
6796 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
6797 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
6798 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
6799 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
6800 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
6801 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
6802 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
6803 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
6804 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
6805 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
6806 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
6807 * libc/sys/linux/linuxthreads/unload.c: Ditto.
6808 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
6809 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
6810 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
6811 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
6812 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
6813 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
6814 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
6815 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
6816 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
6817 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
6818 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
6819 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
6820 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
6821 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
6822 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
6823 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
6824 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
6825 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
6826 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
6827 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
6828 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
6829 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
6830 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
6831 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
6832 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
6833 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
6834 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
6835 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
6836 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
6837 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
6838 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
6839 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
6840 * libc/sys/linux/net/Makefile.am: Ditto.
6841 * libc/sys/linux/net/Makefile.in: Ditto.
6842 * libc/sys/linux/net/addr2ascii.3: Ditto.
6843 * libc/sys/linux/net/addr2ascii.c: Ditto.
6844 * libc/sys/linux/net/ascii2addr.c: Ditto.
6845 * libc/sys/linux/net/base64.c: Ditto.
6846 * libc/sys/linux/net/bindresvport.c: Ditto.
6847 * libc/sys/linux/net/byteorder.3: Ditto.
6848 * libc/sys/linux/net/ether_addr.c: Ditto.
6849 * libc/sys/linux/net/ethers.3: Ditto.
6850 * libc/sys/linux/net/getaddrinfo.3: Ditto.
6851 * libc/sys/linux/net/getaddrinfo.c: Ditto.
6852 * libc/sys/linux/net/gethostbydns.c: Ditto.
6853 * libc/sys/linux/net/gethostbyht.c: Ditto.
6854 * libc/sys/linux/net/gethostbyname.3: Ditto.
6855 * libc/sys/linux/net/gethostbynis.c: Ditto.
6856 * libc/sys/linux/net/gethostnamadr.c: Ditto.
6857 * libc/sys/linux/net/getifaddrs.3: Ditto.
6858 * libc/sys/linux/net/getifaddrs.c: Ditto.
6859 * libc/sys/linux/net/getipnodebyname.3: Ditto.
6860 * libc/sys/linux/net/getnameinfo.3: Ditto.
6861 * libc/sys/linux/net/getnameinfo.c: Ditto.
6862 * libc/sys/linux/net/getnetbydns.c: Ditto.
6863 * libc/sys/linux/net/getnetbyht.c: Ditto.
6864 * libc/sys/linux/net/getnetbynis.c: Ditto.
6865 * libc/sys/linux/net/getnetent.3: Ditto.
6866 * libc/sys/linux/net/getnetnamadr.c: Ditto.
6867 * libc/sys/linux/net/getproto.c: Ditto.
6868 * libc/sys/linux/net/getprotoent.3: Ditto.
6869 * libc/sys/linux/net/getprotoent.c: Ditto.
6870 * libc/sys/linux/net/getprotoname.c: Ditto.
6871 * libc/sys/linux/net/getservbyname.c: Ditto.
6872 * libc/sys/linux/net/getservbyport.c: Ditto.
6873 * libc/sys/linux/net/getservent.3: Ditto.
6874 * libc/sys/linux/net/getservent.c: Ditto.
6875 * libc/sys/linux/net/herror.c: Ditto.
6876 * libc/sys/linux/net/hesiod.3: Ditto.
6877 * libc/sys/linux/net/hesiod.c: Ditto.
6878 * libc/sys/linux/net/if_indextoname.3: Ditto.
6879 * libc/sys/linux/net/ifname.c: Ditto.
6880 * libc/sys/linux/net/inet.3: Ditto.
6881 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
6882 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
6883 * libc/sys/linux/net/inet_addr.c: Ditto.
6884 * libc/sys/linux/net/inet_lnaof.c: Ditto.
6885 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
6886 * libc/sys/linux/net/inet_net.3: Ditto.
6887 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
6888 * libc/sys/linux/net/inet_net_pton.c: Ditto.
6889 * libc/sys/linux/net/inet_neta.c: Ditto.
6890 * libc/sys/linux/net/inet_netof.c: Ditto.
6891 * libc/sys/linux/net/inet_network.c: Ditto.
6892 * libc/sys/linux/net/inet_ntoa.c: Ditto.
6893 * libc/sys/linux/net/inet_ntop.c: Ditto.
6894 * libc/sys/linux/net/inet_pton.c: Ditto.
6895 * libc/sys/linux/net/innetgr-stub.c: Ditto.
6896 * libc/sys/linux/net/ip6opt.c: Ditto.
6897 * libc/sys/linux/net/iso_addr.3: Ditto.
6898 * libc/sys/linux/net/iso_addr.c: Ditto.
6899 * libc/sys/linux/net/issetugid-stub.c: Ditto.
6900 * libc/sys/linux/net/linkaddr.3: Ditto.
6901 * libc/sys/linux/net/linkaddr.c: Ditto.
6902 * libc/sys/linux/net/map_v4v6.c: Ditto.
6903 * libc/sys/linux/net/name6.c: Ditto.
6904 * libc/sys/linux/net/namespace.h: Ditto.
6905 * libc/sys/linux/net/ns.3: Ditto.
6906 * libc/sys/linux/net/ns_addr.c: Ditto.
6907 * libc/sys/linux/net/ns_name.c: Ditto.
6908 * libc/sys/linux/net/ns_netint.c: Ditto.
6909 * libc/sys/linux/net/ns_ntoa.c: Ditto.
6910 * libc/sys/linux/net/ns_parse.c: Ditto.
6911 * libc/sys/linux/net/ns_print.c: Ditto.
6912 * libc/sys/linux/net/ns_ttl.c: Ditto.
6913 * libc/sys/linux/net/nsap_addr.c: Ditto.
6914 * libc/sys/linux/net/nsdispatch.3: Ditto.
6915 * libc/sys/linux/net/nsdispatch.c: Ditto.
6916 * libc/sys/linux/net/nslexer.c: Ditto.
6917 * libc/sys/linux/net/nslexer.l: Ditto.
6918 * libc/sys/linux/net/nsparser.c: Ditto.
6919 * libc/sys/linux/net/nsparser.h: Ditto.
6920 * libc/sys/linux/net/nsparser.y: Ditto.
6921 * libc/sys/linux/net/rcmd.3: Ditto.
6922 * libc/sys/linux/net/rcmd.c: Ditto.
6923 * libc/sys/linux/net/rcmdsh.3: Ditto.
6924 * libc/sys/linux/net/rcmdsh.c: Ditto.
6925 * libc/sys/linux/net/recv.c: Ditto.
6926 * libc/sys/linux/net/res_comp.c: Ditto.
6927 * libc/sys/linux/net/res_config.h: Ditto.
6928 * libc/sys/linux/net/res_data.c: Ditto.
6929 * libc/sys/linux/net/res_debug.c: Ditto.
6930 * libc/sys/linux/net/res_init.c: Ditto.
6931 * libc/sys/linux/net/res_mkquery.c: Ditto.
6932 * libc/sys/linux/net/res_mkupdate.c: Ditto.
6933 * libc/sys/linux/net/res_query.c: Ditto.
6934 * libc/sys/linux/net/res_send.c: Ditto.
6935 * libc/sys/linux/net/res_update.c: Ditto.
6936 * libc/sys/linux/net/resolver.3: Ditto.
6937 * libc/sys/linux/net/rthdr.c: Ditto.
6938 * libc/sys/linux/net/send.c: Ditto.
6939 * libc/sys/linux/net/un-namespace.h: Ditto.
6940 * libc/sys/linux/net/vars.c: Ditto.
6941 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
6942 * libc/sys/linux/stdlib/Makefile.am: Ditto.
6943 * libc/sys/linux/stdlib/Makefile.in: Ditto.
6944 * libc/sys/linux/stdlib/cclass.h: Ditto.
6945 * libc/sys/linux/stdlib/cname.h: Ditto.
6946 * libc/sys/linux/stdlib/collate.c: Ditto.
6947 * libc/sys/linux/stdlib/collate.h: Ditto.
6948 * libc/sys/linux/stdlib/collcmp.c: Ditto.
6949 * libc/sys/linux/stdlib/engine.c: Ditto.
6950 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
6951 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
6952 * libc/sys/linux/stdlib/glob.3: Ditto.
6953 * libc/sys/linux/stdlib/glob.c: Ditto.
6954 * libc/sys/linux/stdlib/reallocf.c: Ditto.
6955 * libc/sys/linux/stdlib/regcomp.c: Ditto.
6956 * libc/sys/linux/stdlib/regerror.c: Ditto.
6957 * libc/sys/linux/stdlib/regex.3: Ditto.
6958 * libc/sys/linux/stdlib/regex2.h: Ditto.
6959 * libc/sys/linux/stdlib/regexec.c: Ditto.
6960 * libc/sys/linux/stdlib/regfree.c: Ditto.
6961 * libc/sys/linux/stdlib/utils.h: Ditto.
6962 * libc/sys/linux/stdlib/wordexp.c: Ditto.
6963 * libc/sys/linux/stdlib/wordfree.c: Ditto.
6964 * libc/sys/linux/sys/dlfcn.h: Ditto.
6965 * libc/sys/linux/sys/elfclass.h: Ditto.
6966 * libc/sys/linux/sys/event.h: Ditto.
6967 * libc/sys/linux/sys/ioccom.h: Ditto.
6968 * libc/sys/linux/sys/libc-tsd.h: Ditto.
6969 * libc/sys/linux/sys/link.h: Ditto.
6970 * libc/sys/linux/sys/lock.h: Ditto.
6971 * libc/sys/linux/sys/param.h: Ditto.
6972 * libc/sys/linux/sys/socket.h: Ditto.
6973 * libc/sys/linux/sys/sockio.h: Ditto.
6974
17c0c97d 69752003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
82095e79 6976
17c0c97d 6977 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
82095e79
JJ
6978 normal mode
6979 * newlib/libc/machine/h8300/memset.S: Likewise
6980 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
6981 * newlib/lib/machine/h8300/reg_memset.S: Likewise
6982 * newlib/lib/machine/h8300/setjmp.S: Likewise
6983 * newlib/lib/machine/h8300/strcmp.S: Likewise
6984 * newlib/lib/sys/h8300hms/crt0.S: Likewise
6985
8a4b4764
CV
69862003-05-13 Corinna Vinschen <corinna@vinschen.de>
6987
6988 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
6989 * libc/include/stdio.h: Ditto.
6990 * libc/include/sys/config.h: Ditto.
6991 * libc/stdio/mktemp.c: Ditto.
6992
837e070f
CV
69932003-05-13 Corinna Vinschen <corinna@vinschen.de>
6994
6995 * libc/locale/ldpart.c (__part_load_locale): Substitute
6996 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
6997 * libc/search/hash.c (__hash_open): Ditto.
6998 (init_hash): Ditto.
6999 * libc/stdio/fseek.c (fseek): Ditto.
7000 * libc/stdio/makebuf.c (__smakebuf): Ditto.
7001 * libc/stdio/mktemp.c (_gettemp): Ditto.
7002
b47fcdf0
CV
70032003-05-12 Corinna Vinschen <corinna@vinschen.de>
7004
7005 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
7006
11e3a520
CV
70072003-05-12 Corinna Vinschen <corinna@vinschen.de>
7008
7009 * configure.host: Accomodate removing the libc/sys/cygwin dir.
7010 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
7011 if __CYGWIN_USE_BIG_TYPES__ is set.
7012 * libc/search/hash.c (__hash_open): Ditto.
7013 (init_hash): Ditto.
7014 * libc/stdio/fseek.c (fseek): Ditto.
7015 * libc/stdio/makebuf.c (__smakebuf): Ditto.
7016 * libc/stdio/mktemp.c (_gettemp): Ditto.
7017 * libc/sys/cygwin/Makefile.am: Remove.
7018 * libc/sys/cygwin/Makefile.in: Remove.
7019 * libc/sys/cygwin/aclocal.m4: Remove.
7020 * libc/sys/cygwin/configure: Remove.
7021 * libc/sys/cygwin/configure.in: Remove.
7022 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
7023 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
7024 directory.
7025 * libc/sys/cygwin/sys/param.h: Ditto.
7026 * libc/sys/cygwin/sys/utime.h: Ditto.
7027 * libc/sys/cygwin/sys/utmp.h: Ditto.
7028
d1b5e65b
CV
70292003-05-11 Corinna Vinschen <corinna@vinschen.de>
7030
7031 * libc/include/sys/types.h: Don't define key_t for Cygwin.
7032
ec48a953
CF
70332003-05-10 Christopher Faylor <cgf@redhat.com>
7034
7035 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
7036 64 bit inodes.
7037
a3cc5851
CV
70382003-05-09 Corinna Vinschen <corinna@vinschen.de>
7039
7040 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
7041 Include cygwin/config.h instead.
7042
57ff95d3
JJ
70432003-04-16 Jeff Johnston <jjohnstn@redhat.com>
7044
7045 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
7046 all code with #ifdef __SPE__ test.
7047 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
7048
cfd2c7be
CF
70492003-04-15 Chris January <chris@atomice.net>
7050
7051 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
7052 Cygwin.
7053
6f48c0ae
JR
70542003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
7055
7056 * libc/machine/sh/memset.S: Avoid clobbering volatile
7057 objects following a tiny to-be-set array in the same quadword.
7058
8f8d09c0
CV
70592001-04-09 Corinna Vinschen <corinna@vinschen.de>
7060
17c0c97d 7061 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
8f8d09c0
CV
7062 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
7063 * libc/string/Makefile.in: Regenerated.
7064 * libc/string/wcswidth.c: New file.
7065 * libc/string/wcwidth.c: New file.
7066 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
7067
40c3b2d0
JR
7068Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
7069
7070 * libc/machine/sh/memset.S: Fix problem with alloco region
7071 exceeding destination region for length >= 88 bytes, start
7072 & 0x16 == 0, end & 0x1f == 18.
7073
8ae6a3dd
CV
70742001-04-03 Corinna Vinschen <corinna@vinschen.de>
7075
7076 * libc/string/wcscoll.c: Fix comment.
7077
d122b1cc
CV
70782001-04-02 Corinna Vinschen <corinna@vinschen.de>
7079
7080 * libc/include/wchar.h: Add definition for wcscoll.
7081 * libc/string/Makefile.am: Add wcscoll.c.
7082 * libc/string/Makefile.in: Regenerated.
7083 * libc/string/wcscoll.c: New file.
17c0c97d 7084 * libc/string/wcstrings.tex: Add wcscoll.
d122b1cc 7085
31ee99a4
CV
70862003-04-01 Corinna Vinschen <corinna@vinschen.de>
7087
7088 * libc/stdio/sscanf.c: Update flags description.
7089 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
7090 type.
7091 (__svfscanf_r): Add 'hh' and 'll' handling.
7092
d78045ee
CV
70932003-04-01 Corinna Vinschen <corinna@vinschen.de>
7094
7095 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
7096 __d_position member to _off_t.
7097
e6bdc6c5
JJ
70982003-03-20 Jeff Johnston <jjohnstn@redhat.com>
7099
7100 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
7101 count all characters used to create number against maximum width.
7102 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
7103
e65d559e
JJ
71042003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
7105
7106 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
7107 support.
7108 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
7109 flag to support simulator only extensions.
7110
6b3bb52b
JJ
71112003-03-17 Bob Cassels <bcassels@abinitio.com>
7112
ba3ccd63 7113 * libc/string/wcschr.c: (wcschr): Look for character first,
6b3bb52b
JJ
7114 then for end of string, so you can do wcschr(x, '\0').
7115
17c0c97d 71162003-03-10 Corinna Vinschen <corinna@vinschen.de>
2a940c1a
CV
7117
7118 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
7119 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
7120 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
7121 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
7122 * libc/stdio/fseeko.c (fseeko): Ditto.
7123 * libc/stdio/ftello.c (ftello): Ditto.
7124 * libc/stdio/stdio.c (__swrite): Ditto.
7125 (__sseek): Ditto.
7126 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
7127 * libc/stdio/fseek.c (fseek): Ditto.
7128 * libc/stdio/fsetpos.c (fsetpos): Ditto.
7129 * libc/stdio/ftell.c (ftell): Ditto.
7130 * libc/stdio/local.h: Declare __sseek using _off_t.
7131
150c2818
CV
71322003-03-09 Corinna Vinschen <corinna@vinschen.de>
7133
7134 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
7135
2c440f9c
CV
71362003-03-09 Corinna Vinschen <corinna@vinschen.de>
7137
7138 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
7139 Cygwin.
7140
f882fd15
CV
71412003-03-09 Corinna Vinschen <corinna@vinschen.de>
7142
7143 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
7144 Cygwin.
7145 * libc/include/sys/stat.h: Ditto.
7146 * libc/include/sys/unistd.h: Ditto.
7147 * libc/sys/cygwin/sys/dirent.h: Ditto.
7148
01d61543
CF
71492003-03-07 Christopher Faylor <cgf@redhat.com>
7150
7151 * libc/include/sys/unistd.h: Guard getopt.h call to force only
7152 declaration of getopt and avoid getopt_long declaration.
7153 * libc/sys/cygwin/include/unistd.h: Remove.
7154
5582abd2
CV
71552003-03-07 Corinna Vinschen <corinna@vinschen.de>
7156
7157 * configure.host: Define stdio64_dir for Cygwin.
7158 * libc/include/stdio.h: Change definition of fpos_t to fulfill
7159 Cygwin 64bit file access requirements.
7160 Drop definition of f*64() functions when compiled for Cygwin.
7161 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
7162 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
7163 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
7164
641da1eb
JJ
71652003-03-07 Jeff Johnston <jjohnstn@redhat.com>
7166
7167 * libc/include/sys/reent.h: Remove extraneous _sig_func
7168 declaration.
7169
71702003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
41a639de
JJ
7171
7172 * libc/sys/h8300hms/Makefile.am: Add support for new files.
7173 * libc/sys/h8300hms/Makefile.in: Regenerated.
7174 * libc/sys/h8300hms/close.S: New file.
7175 * libc/sys/h8300hms/fstat.S: Ditto.
7176 * libc/sys/h8300hms/lseek.S: Ditto.
7177 * libc/sys/h8300hms/open.S: Ditto.
7178 * libc/sys/h8300hms/stat.S: Ditto.
7179 * libc/sys/h8300hms/read.S: New file to replace read.c.
7180 * libc/sys/h8300hms/read.c: Removed.
7181 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
7182 _lseek, _close, _stat, _fstat.
7183 * libc/sys/h8300hms/write.S: New file to replace write.c.
7184 * libc/sys/h8300hms/write.c: Removed.
7185
bac50d6b
NC
71862003-02-20 Nick Clifton <nickc@redhat.com>
7187
7188 * Add support for Cirrus Maverick ARM co-processor:
17c0c97d 7189
bac50d6b
NC
7190 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
7191
7192 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
7193 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
7194
7195 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
7196
7197 * configure.host: set sys_dir, syscall_dir, and
7198 newlib_cflags for ep9312 host.
7199
ba3ccd63 7200 * configure.host: Restore alpha sorting of entries in case
bac50d6b
NC
7201 statements.
7202
12ee7037
JJ
72032003-02-19 Jeff Johnston <jjohnstn@redhat.com>
7204
ba3ccd63 7205 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
12ee7037 7206
1e810ba0
JJ
72072003-02-18 Christian Groessler <chris@groessler.org>
7208
7209 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
7210 support z8001 segmented mode.
7211
b1ca765e
JJ
72122003-02-18 Earnie Boyd <earnie@users.sf.net>
7213
7214 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
7215 with a NULL value.
7216
51a46b54
CF
72172003-02-10 Christopher Faylor <cgf@redhat.com>
7218
7219 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
7220 Don't define some types under cygwin.
7221
313f1349
JJ
72222003-02-07 Jeff Johnston <jjohnstn@redhat.com>
7223
17c0c97d 7224 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
313f1349
JJ
7225 option to allow disabling of syscalls being supplied in newlib.
7226 * aclocal.m4: Regenerated.
7227 * configure: Ditto.
7228 * configure.host: Add support of new configuration option and add
7229 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
7230 * doc/aclocal.m4: Regenerated.
7231 * doc/configure: Ditto.
7232 * libc/*aclocal.m4: Ditto.
7233 * libc/*configure: Ditto.
7234 * libm/*aclocal.m4: Ditto.
7235 * libm/*configure: Ditto.
7236 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
7237 is disabled.
7238 * libc/sys/arm/Makefile.in: Regenerated.
7239
5017a3da
JJ
72402003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
7241
7242 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
7243 -1 to be sure it cannot later match a valid file fd causing
7244 isatty() to return 1.
7245 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
7246 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
7247 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
7248
ad36f7d1
JJ
72492003-02-03 Jeff Johnston <jjohnstn@redhat.com>
7250
7251 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
17c0c97d
EB
7252 buffer based on the precision, after we have processed the input value
7253 in a local buffer and know its relative magnitude.
ad36f7d1 7254
a74181ee
JJ
72552003-01-31 Michael Snyder <msnyder@redhat.com>
7256
7257 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
7258 into registers r1 and r2, so that the simulator can distinguish
7259 this trap from a breakpoint trap. Copied from libgloss.
7260
b85498d4
JJ
72612003-01-31 Michael Snyder <msnyder@redhat.com>
7262
7263 * libc/sys/h8300hms/crt0.S (_start): Change local label
7264 from .loop to .Loop, so that ld and gdb will ignore it.
7265
4700b829
JJ
72662003-01-29 Jason Tishler <jason@tishler.net>
7267
7268 * libc/include/time.h: Declare nanosleep() under Cygwin.
7269
0127ae40
NC
72702003-01-24 Nick Clifton <nickc@redhat.com>
7271
7272 * Add sh2e support:
7273
7274 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
7275
7276 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
7277 * libc/machine/sh/setjmp.S: Likewise.
7278 * libc/include/machine/ieeefp.h: Likewise.
7279
8bbcd9a1
CV
72802003-01-24 Corinna Vinschen <corinna@vinschen.de>
7281
7282 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
7283 for Cygwin.
7284
b8838e6f 72852003-01-21 Anita Kulkarni <anitak@kpit.com>
17c0c97d 7286
b8838e6f
JJ
7287 * libc/time/difftime.c : Typecast the result to double.
7288
f9e41155
CF
72892003-01-20 Christopher Faylor <cgf@redhat.com>
7290
7291 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
7292
6b5a7988
NC
72932003-01-18 Nick Clifton <nickc@redhat.com>
7294
7295 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
7296 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
7297
c3e92877
JJ
72982003-01-16 Joel Sherrill <joel@OARcorp.com>
7299
ba3ccd63
EB
7300 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
7301 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
7302 constants are defined in each file in the shared versions in
7303 libc/include.
7304 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
7305 autoconf can link programs.
7306 * libc/include/machine/types.h: Explicitly specify signed on
7307 intXX_t types to ensure they are signed.
c3e92877 7308
84510217
CF
73092003-01-14 Christopher Faylor <cgf@redhat.com>
7310
7311 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
7312 extensions.
7313
b3934ab3
RS
73142003-01-08 Richard Sandiford <rsandifo@redhat.com>
7315
7316 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
7317
be9c60e5
JJ
73182003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
7319
7320 * libc/stdio/sprintf.c: fix typo
7321 * libc/stdio/vfprintf.c: fix typo
7322
d4c3a750
JJ
73232003-01-07 Jeff Johnston <jjohnstn@redhat.com>
7324
7325 * configure.host: Support long double I/O for x86-linux.
7326 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
7327 large enough to hold formatted result.
7328 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
7329
b2294aaa
JJ
73302003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
7331
7332 * Makefile.am: Add vasprintf.
7333 * Makefile.in: Regenerated.
7334
ea5e5daf
JJ
73352003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
7336
7337 * asprintf.c (_asprintf_r): insure both declarations
7338 are the same.
7339
5c581eca
CF
73402002-12-28 Christopher Faylor <cgf@redhat.com>
7341
7342 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
7343 than defining getopt directly.
7344
60b0838f
JJ
73452002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7346
7347 * NEWS: Update with 1.11.0 info.
7348 * README: Ditto.
7349 * acinclude.m4: Change version number to 1.11.0.
7350 * aclocal.m4: Regenerated.
7351 * configure: Ditto.
7352 * doc/aclocal.m4: Ditto.
7353 * doc/configure: Ditto.
7354 * libc/*/aclocal.m4: Ditto.
7355 * libc/*/configure: Ditto.
7356 * libc/libc.texinfo: Ditto.
7357 * libm/*/aclocal.m4: Ditto.
7358 * libm/*/configure: Ditto.
7359 * libm/libm.texinfo: Ditto.
7360 * libc/sys/linux/shared.ld: Add VERS_1.11.
7361
10501d57
JJ
73622002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7363
7364 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
7365 Solutions to Red Hat Inc.
7366 * libc/machine/i386/f_atan2f.S: Ditto.
7367 * libc/machine/i386/f_exp.c: Ditto.
7368 * libc/machine/i386/f_expf.c: Ditto.
7369 * libc/machine/i386/f_frexp.S: Ditto.
7370 * libc/machine/i386/f_frexpf.S: Ditto.
7371 * libc/machine/i386/f_ldexp.S: Ditto.
7372 * libc/machine/i386/f_ldexpf.S: Ditto.
7373 * libc/machine/i386/f_log.S: Ditto.
7374 * libc/machine/i386/f_log10.S: Ditto.
7375 * libc/machine/i386/f_log10f.S: Ditto.
7376 * libc/machine/i386/f_logf.S: Ditto.
7377 * libc/machine/i386/f_pow.c: Ditto.
7378 * libc/machine/i386/f_powf.c: Ditto.
7379 * libc/machine/i386/f_tan.S: Ditto.
7380 * libc/machine/i386/f_tanf.S: Ditto.
7381 * libc/machine/i386/memchr.S: Ditto.
7382 * libc/machine/i386/memcmp.S: Ditto.
7383 * libc/machine/i386/memcpy.S: Ditto.
7384 * libc/machine/i386/memmove.S: Ditto.
7385 * libc/machine/i386/memset.S: Ditto.
7386 * libc/machine/i386/strchr.S: Ditto.
7387 * libc/machine/i386/strlen.S: Ditto.
7388 * libm/machine/i386/f_atan2.S: Ditto.
7389 * libm/machine/i386/f_atan2f.S: Ditto.
7390 * libm/machine/i386/f_exp.c: Ditto.
7391 * libm/machine/i386/f_expf.c: Ditto.
7392 * libm/machine/i386/f_frexp.S: Ditto.
7393 * libm/machine/i386/f_frexpf.S: Ditto.
7394 * libm/machine/i386/f_ldexp.S: Ditto.
7395 * libm/machine/i386/f_ldexpf.S: Ditto.
7396 * libm/machine/i386/f_log.S: Ditto.
7397 * libm/machine/i386/f_log10.S: Ditto.
7398 * libm/machine/i386/f_log10f.S: Ditto.
7399 * libm/machine/i386/f_logf.S: Ditto.
7400 * libm/machine/i386/f_pow.c: Ditto.
7401 * libm/machine/i386/f_powf.c: Ditto.
7402 * libm/machine/i386/f_tan.S: Ditto.
7403 * libm/machine/i386/f_tanf.S: Ditto.
7404
9b3f0d16
JJ
74052002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7406
7407 * libc/stdlib/environ.c: Update license to Red Hat.
7408 * libc/machine/hppa/setjmp.S: Ditto.
7409 * libm/test/Makefile.in: Ditto.
7410
d693ad84
JJ
74112002-12-19 Jeff Johnston <jjohnstn@redhat.com>
7412
7413 * configure.host: Remove references to go32.
7414 * libc/sys/go32/*: Removed.
7415
7da92d15
JJ
74162002-12-16 Kazu Hirata <kazu@cs.umass.edu>
7417
7418 * libc/include/sys/config.h: Change setting of INT_MAX
7419 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
7420 __H8300S__. Also consolidate flag settings for these
7421 platforms.
7422
ea01c7f5
JJ
74232002-12-10 Joel Sherrill <joel@OARcorp.com>
7424
7425 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
7426 for i386-rtems targets.
7427
c049dd5a
JJ
74282002-12-06 Jeff Johnston <jjohnstn@redhat.com>
7429
7430 * libc/include/stdlib.h (strtof): New prototype (from C99).
7431 (strtodf): Changed from prototype to macro which redefines
7432 to strtof.
7433 * libc/stdlib/atof.c: Change documentation to refer to strtof
7434 instead of strtodf.
7435 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
7436 strtodf.
7437 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
7438 (strtof): New function.
7439 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
7440 calls strtof.
7441
46a402e0
CF
74422002-11-27 Christopher Faylor <cgf@redhat.com>
7443
7444 * libc/string/memset.c (memset): Fix comment.
7445
b3cc01b0
CF
74462002-11-26 Christopher Faylor <cgf@redhat.com>
7447
7448 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
7449 function.
7450
d90f3dc1
CF
74512002-11-25 Christopher Faylor <cgf@redhat.com>
7452
7453 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
7454 variable, introduced below, everywhere.
7455
f24585c6
KH
74562002-11-25 Kazu Hirata <kazu@cs.umass.edu>
7457
7458 * libc/string/memset.c (memset): Make it safe even if
7459 sizeof (int) = 2.
7460
2955fd76
JJ
74612002-11-22 Joe Buehler <jbuehler@hekimian.com>
7462
7463 * configure.in: Change check for libc/include in ${CC} to
7464 use an intermediate value so as to work with different shells.
7465 * configure: Regenerated.
7466 * Makefile.in: Ditto.
7467
40ce7368
JJ
74682002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
7469
7470 * libc/sys/h8300hms/read.c: Add support for normal mode
7471 architecture.
7472
505746ad
JJ
74732002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
7474
7475 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
7476 code for __H8300H__ and __H8300S__. Also return 32-bit return code
7477 when -mint32 is used.
7478
28ecb2f5
NC
74792002-11-18 Nick Clifton <nickc@redhat.com>
7480
7481 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
7482
665b994e
JJ
74832002-11-14 Jeff Johnston <jjohnstn@redhat.com>
7484
ba3ccd63
EB
7485 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
7486 only issue one pass/fail message for a compile/link/execute.
7487 * testsuite/newlib.elix/elix.exp: New file.
7488 * testsuite/newlib.elix/tmmap.c: Ditto.
665b994e 7489
e91ec2e3
CF
74902002-11-06 Christopher Faylor <cgf@redhat.com>
7491
7492 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
7493 * libc/stdlib/mlock.c: Ditto.
7494 * libc/stdlib/msize.c: Ditto.
7495 * libc/stdlib/msize.c: Ditto.
7496 * libc/stdlib/mtrim.c: Ditto.
7497 * libc/stdlib/valloc.c: Ditto.
7498
944772c7
JJ
74992002-11-12 Jeff Johnston <jjohnstn@redhat.com>
7500
ba3ccd63
EB
7501 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
7502 for inf/nan, make sure that the check ignores the sign bit.
944772c7 7503
dd7ee147
JJ
75042002-11-07 Joel Sherrill <joel@OARcorp.com>
7505
ba3ccd63
EB
7506 * libc/sys/rtems/machine: New directory.
7507 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
7508 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
7509 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
7510 targets more BSD like when installed without requiring files to
7511 be overwritten at install point when RTEMS itself is installed.
7512 * Makefile.am: Pick up system dependent machine .h files such as
7513 might be found on a BSD-ish system.
7514 * Makefile.in: Regenerate.
7515 * libc/include/machine/types.h: When on an RTEMS target, define a
7516 few BSD flavor types.
dd7ee147
JJ
7517
75182002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
503430d8
CF
7519
7520 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
7521
18cd62b7
JJ
75222002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7523
ba3ccd63
EB
7524 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
7525 * libc/include/wctype.h: Ditto.
18cd62b7 7526
d2888812
JJ
75272002-11-04 Jeff Johnston <jjohnstn@redhat.com>
7528
ba3ccd63
EB
7529 * libc/include/wchar.h: Add extern "C" specifier if C++.
7530 * libc/include/wctype.h: Ditto.
d2888812 7531
978ea3cf
JJ
75322002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7533
ba3ccd63
EB
7534 * testsuite/newlib.wctype/tiswctype.c: New test case.
7535 * testsuite/newlib.wctype/twctrans.c: Ditto.
978ea3cf 7536
a42cf80a
JJ
75372002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7538
ba3ccd63
EB
7539 * libc/sys/linux/machine/i386/include/endian.h: New file.
7540 * libc/sys/linux/machine/i386/include/param.h: Ditto.
a42cf80a 7541
c9ccb1f2
JJ
75422002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7543
7544 * libm/machine/i386/aclocal.m4: Regenerated.
7545 * libm/machine/i386/configure: Ditto.
7546
94c5b430
JJ
75472002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7548
ba3ccd63
EB
7549 * testsuite/include/check.h: New header file to use with
7550 test cases.
7551 * testsuite/lib/newlib.exp: Add testsuite/include directory
7552 to list of header files to use.
7553 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
7554 * testsuite/newlib.wctype/wctype.exp: New file.
94c5b430 7555
ccdae543
RS
75562002-10-11 Graham Stott <graham.stott@btinternet.com>
7557 Richard Sandiford <rsandifo@redhat.com>
f770cf44
RS
7558
7559 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
7560 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
7561 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
7562
73972116
JS
75632002-10-07 Joel Sherrill <joel@OARcorp.com>
7564
7565 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
7566 dummy programs.
7567
89e3fcba
JS
75682002-10-07 Joel Sherrill <joel@OARcorp.com>
7569
7570 * libc/include/pthread.h: Define PTHREAD_CANCELED.
7571
54ec52e4
JS
75722002-10-07 Joel Sherrill <joel@OARcorp.com>
7573
7574 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
7575 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
7576 compile with current GNU tools.
7577
d389acba
JJ
75782002-10-07 Jeff Johnston <jjohnstn@redhat.com>
7579
7580 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
7581 the build library.
7582 * configure.in: Ditto.
7583 * Makefile.in: Regenerated.
7584 * configure: Ditto.
7585 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
7586 for specifying configured libraries/directories.
7587 * libc/sys/linux/configure.in: Ditto.
7588 * libc/sys/linux/Makefile.in: Regenerated.
7589 * libc/sys/linux/configure: Ditto.
7590
af5a221f
JJ
75912002-10-03 Jeff Johnston <jjohnstn@redhat.com>
7592
7593 * libc/include/reent.h: Update documentation at start of file.
7594
59a758bd
JW
75952002-09-27 Jim Wilson <wilson@redhat.com>
7596
7597 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
7598 the ctbp register.
7599
1ed3c86d
JJ
76002002-09-27 Jeff Johnston <jjohnstn@redhat.com>
7601
7602 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
7603 Also convert to EUCJP before using arrays. For values not in
7604 the conversion arrays, return WEOF.
7605 * libc/ctype/jp2uc.h: Change from one array to a number of
7606 arrays to account for the fact that the originating table
7607 is not contiguous for the input values since some are invalid.
7608
6e1dfd2d
JJ
76092002-09-24 Jeff Johnston <jjohnstn@redhat.com>
7610
7611 * libc/time/ctime.c: Fix prototype documentation.
7612
06f1353a
CV
76132002-09-24 Corinna Vinschen <corinna@vinschen.de>
7614
7615 * libc/include/sys/errno.h: Add EOVERFLOW.
7616
1e0e64c9
JJ
76172002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7618
7619 * libc/include/wctype.h: New file.
7620
1525d127
JJ
76212002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7622
ba3ccd63
EB
7623 * libc/ctype/Makefile.am: Add new files.
7624 * libc/ctype/Makefile.in: Regenerated.
7625 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
7626 and wctrans functions to documentation index.
7627 * libc/ctype/iswalnum.c: New file.
7628 * libc/ctype/iswalpha.c: Ditto.
7629 * libc/ctype/iswblank.c: Ditto.
7630 * libc/ctype/iswcntrl.c: Ditto.
7631 * libc/ctype/iswctype.c: Ditto.
7632 * libc/ctype/iswdigit.c: Ditto.
7633 * libc/ctype/iswgraph.c: Ditto.
7634 * libc/ctype/iswlower.c: Ditto.
7635 * libc/ctype/iswprint.c: Ditto.
7636 * libc/ctype/iswpunct.c: Ditto.
7637 * libc/ctype/iswspace.c: Ditto.
7638 * libc/ctype/iswupper.c: Ditto.
7639 * libc/ctype/iswxdigit.c: Ditto.
7640 * libc/ctype/jp2uc.c: Ditto.
7641 * libc/ctype/jp2uc.h: Ditto.
7642 * libc/ctype/local.h: Ditto.
7643 * libc/ctype/towctrans.c: Ditto.
7644 * libc/ctype/towlower.c: Ditto.
7645 * libc/ctype/towupper.c: Ditto.
7646 * libc/ctype/utf8alpha.h: Ditto.
7647 * libc/ctype/utf8print.h: Ditto.
7648 * libc/ctype/utf8punct.h: Ditto.
7649 * libc/ctype/wctrans.c: Ditto.
7650 * libc/ctype/wctype.c: Ditto.
7651 * libc/locale/locale.c (__lc_ctype): New external array to
7652 replace static lc_ctype array.
7653 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
7654 rather than reentrancy structure's _current_locale field.
7655 * libc/stdlib/wctomb_r.c: Ditto.
1525d127 7656
da25e61f
JJ
76572002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7658
7659 * configure.host: Minor comment and formatting changes.
7660 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
7661 * libc/Makefile.in: Regenerated.
7662 * libc/include/sys/config.h: Minor format change.
7663
5b9ee539
JJ
76642002-09-19 Jeff Johnston <jjohnstn@redhat.com>
7665
7666 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
7667 statement comment.
7668
50558bf3
JJ
76692002-09-19 Jeff Johnston <jjohnstn@redhat.com>
7670
7671 * libc/posix/opendir.c (opendir): Change code to check
7672 for HAVE_FCNTL before calling fcntl.
7673 * libc/search/hash.c (hash_open): Ditto.
7674 * libc/search/hash_page.c (open_tmp): Ditto.
7675 * libc/reent/Makefile.am: Add fcntlr.c.
7676 * libc/reent/Makefile.in: Regenerated.
7677 * libc/reent/fcntlr.c: New file.
7678 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
7679 instead of _fcntl when HAVE_FCNTL flag is set.
7680 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
7681 to see if _fcntl or _fcntl_r should be called. If flag is not
7682 set, default to ENOSYS stub.
7683
9211a1ad
JJ
76842002-09-16 Jeff Johnston <jjohnstn@redhat.com>
7685
7686 * libc/include/wchar.h (mbstate_t): Change protective flag to
7687 be _MBSTATE_T.
7688 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
7689 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
7690 for Cygwin.
7691 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
7692
a8615092
JJ
76932002-09-11 Jeff Johnston <jjohnstn@redhat.com>
7694
ba3ccd63
EB
7695 * acinclude.m4 (enable-newlib-mb): Change check to
7696 default newlib_mb variable to empty string rather than "no".
7697 * configure.host: Remove hard-coding of -DMB_CAPABLE for
7698 x86-linux and Cygwin. Add code to check for newlib_mb
7699 being unset in which case set to "yes" for x86-linux and
7700 Cygwin. Change check for newlib_mb being "yes" to allow
7701 for an empty string.
7702 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
7703 * newlib.hin (_MB_LEN_MAX): New define to configure.
7704 * aclocal.m4: Regenerated.
7705 * configure: Ditto.
7706 * libc/include/limits.h: New file.
7707 * libc/sys/linux/include/limits.h: Ditto.
7708 * doc/aclocal.m4 doc/configure libc/aclocal.m4
7709 libc/configure libc/machine/aclocal.m4
7710 libc/machine/configure libc/machine/a29k/aclocal.m4
7711 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
7712 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
7713 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
7714 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
7715 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
7716 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
7717 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
7718 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
7719 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
7720 libc/machine/i386/configure libc/machine/i960/aclocal.m4
7721 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
7722 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
7723 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
7724 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
7725 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
7726 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
7727 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
7728 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
7729 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
7730 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
7731 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
7732 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
7733 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
7734 libc/machine/v850/configure libc/machine/w65/aclocal.m4
7735 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
7736 libc/machine/xscale/configure
7737 libc/machine/xstormy16/aclocal.m4
7738 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
7739 libc/machine/z8k/configure libc/sys/aclocal.m4
7740 libc/sys/configure libc/sys/a29khif/aclocal.m4
7741 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
7742 libc/sys/arc/configure libc/sys/arm/aclocal.m4
7743 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
7744 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
7745 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
7746 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
7747 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
7748 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
7749 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
7750 libc/sys/idt/configure libc/sys/linux/aclocal.m4
7751 libc/sys/linux/configure
7752 libc/sys/linux/machine/aclocal.m4
7753 libc/sys/linux/machine/configure
7754 libc/sys/linux/machine/i386/aclocal.m4
7755 libc/sys/linux/machine/i386/configure
7756 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
7757 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
7758 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
7759 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
7760 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
7761 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
7762 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
7763 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
7764 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
7765 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
7766 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
7767 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
7768 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
7769 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
7770 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
7771 libm/aclocal.m4 libm/configure: Regenerated.
a8615092 7772
be83844e
JJ
77732002-09-09 Jeff Johnston <jjohnstn@redhat.com>
7774
ba3ccd63
EB
7775 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
7776 code that clears the .bss section.
be83844e 7777
9c64d2a7
JJ
77782002-09-09 Jeff Johnston <jjohnstn@redhat.com>
7779
ba3ccd63
EB
7780 * libc/include/sys/_types.h (_mbstate_t): Changed to use
7781 unsigned char internally.
7782 * libc/sys/linux/sys/_types.h: Ditto.
7783 * libc/include/sys/reent.h
7784 * libc/stdlib/mblen.c (mblen): Use function-specific state
7785 value from default reentrancy structure.
7786 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
7787 _mbtowc_r is less than 0, reset state __count value and
7788 return -1.
7789 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
7790 is NULL, use the function-specific pointer provided in the
7791 default reentrancy structure.
7792 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
7793 If input state pointer is NULL, use function-specific area
7794 provided in reentrancy structure.
7795 * libc/stdlib/mbsrtowcs.c: Ditto.
7796 * libc/stdlib/wcrtomb.c: Ditto.
7797 * libc/stdlib/wcsrtombs.c: Ditto.
7798 * libc/stdlib/mbstowcs.c: Reformat.
7799 * libc/stdlib/wcstombs.c: Ditto.
7800 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
7801 reset the state's __count value and return -1.
7802 * libc/stdlib/mbtowc.c: Ditto.
7803 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
7804 If number of bytes is used up before completing a valid multibyte
7805 character, return -2 and save the state.
7806 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
7807 and change some __count references to __state for clarity.
9c64d2a7 7808
218b7a56
JJ
78092002-09-06 Jeff Johnston <jjohnstn@redhat.com>
7810
7811 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
7812 is defined by <limits.h>.
7813
c210a6ea
JJ
78142002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7815
7816 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
7817 defined.
7818
efa077ce
JJ
78192002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7820
ba3ccd63
EB
7821 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
7822 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
7823 __WCHAR_MAX__ or 0x7fffffffu.
7824 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
7825 * libc/string/wcsncmp.c: Ditto.
efa077ce 7826
e4b0ebc1
JJ
78272002-09-03 Jeff Johnston <jjohnstn@redhat.com>
7828
7829 * libc/string/wcschr.c: Add include of <stddef.h>.
7830 * libc/string/wcspbrk.c: Ditto.
7831 * libc/string/wcsrchr.c: Ditto.
7832 * libc/string/wcsstr.c: Ditto.
7833
3db40db7
JJ
78342002-09-03 Jeff Johnston <jjohnstn@redhat.com>
7835
ba3ccd63
EB
7836 * libc/include/sys/_types.h (_flock_t): Added.
7837 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
7838 (__lock_try_acquire_recursive): Ditto.
7839 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
7840 _lock field.
7841 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
7842 field.
7843 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
7844 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
7845 * libc/sys/linux/include/time.h (struct timespec): Moved from
7846 <sys/types.h> and added check for __need_timespec flag so type
7847 can be defined by itself.
7848 * libc/sys/linux/sys/_types.h (_flock_t): New type.
7849 * libc/sys/linux/sys/types.h (struct timespec): Moved to
7850 <time.h>.
3db40db7 7851
cd45f029
TF
78522002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
7853
7854 * libc/sys/linux/argp: New directory.
7855 * libc/sys/linux/getopt.c: New file.
7856 * libc/sys/linux/getopt1.c: New file.
7857 * libc/sys/linux/getoptlong.c: Remove file.
7858 * libc/sys/linux/include/argp.h: New file.
7859 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
7860 based on ELIX level.
7861 (SUBDIRS): Add argp_dir.
7862 (SUBLIBS): Add ARGP_LIB.
7863 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
7864 getopt_long.$(oext).
7865 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
7866
3c689185
JJ
78672002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7868
ba3ccd63
EB
7869 * libc/libc.texinfo: Add node reference to wide-character strings.
7870 * libc/string/wcstrings.tex: New file.
3c689185 7871 * libc/string/strtok_r.c: Remove outdated advertising clause.
ba3ccd63
EB
7872 * libc/string/Makefile.am (doc): Add wide-character string
7873 chapter to documentation.
7874 * libc/string/Makefile.in: Regenerated.
3c689185 7875
890e7a1d
JJ
78762002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7877
ba3ccd63
EB
7878 * libc/include/wchar.h: Define NULL. Define WEOF more general
7879 way. Declare functions in newlib manner.
7880 * libc/stdlib/Makefile.am: Delete wmem*.c
7881 * libc/stdlib/Makefile.in: Regenerated.
7882 * libc/stdlib/wmemchr.c: Delete.
7883 * libc/stdlib/wmemcmp.c: Ditto.
7884 * libc/stdlib/wmemcpy.c: Ditto.
7885 * libc/stdlib/wmemmove.c: Ditto.
7886 * libc/stdlib/wmemset.c: Ditto.
7887 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
7888 * libc/string/Makefile.in: Regenerated.
7889 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
7890 * libc/string/wcschr.c: Ditto.
7891 * libc/string/wcscmp.c: Ditto.
7892 * libc/string/wcscpy.c: Ditto.
7893 * libc/string/wcscspn.c: Ditto.
7894 * libc/string/wcslcat.c: Ditto.
7895 * libc/string/wcslcpy.c: Ditto.
7896 * libc/string/wcslen.c: Ditto.
7897 * libc/string/wcsncat.c: Ditto.
7898 * libc/string/wcsncmp.c: Ditto.
7899 * libc/string/wcsncpy.c: Ditto.
7900 * libc/string/wcspbrk.c: Ditto.
7901 * libc/string/wcsrchr.c: Ditto.
7902 * libc/string/wcsspn.c: Ditto.
7903 * libc/string/wcsstr.c: Ditto.
7904 * libc/string/wmemchr.c: Ditto.
7905 * libc/string/wmemcmp.c: Ditto.
7906 * libc/string/wmemcpy.c: Ditto.
7907 * libc/string/wmemmove.c: Ditto.
7908 * libc/string/wmemset.c: Ditto.
890e7a1d 7909
86620e21
JJ
79102002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7911
ba3ccd63
EB
7912 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
7913 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
7914 and is treated as if "C" was specified.
86620e21 7915
f3741c27
JJ
79162002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7917
ba3ccd63
EB
7918 * Makefile.am (install-data-local): Move install of build
7919 newlib.h after installing headers in libc/include so as to
7920 overwrite default newlib.h.
7921 * Makefile.in: Regenerated.
f3741c27 7922
48da61f5
JJ
79232002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7924
ba3ccd63
EB
7925 * libc/include/newlib.h: New file for tools that use newlib
7926 headers but don't build newlib first (e.g. gcc).
48da61f5 7927
d82a94ac
JJ
79282002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7929
7930 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
7931 * libc/stdlib/wmemcmp.c: Ditto.
7932 * libc/stdlib/wmemcpy.c: Ditto.
7933 * libc/stdlib/wmemmove.c: Ditto.
7934 * libc/stdlib/wmemset.c: Ditto.
7935
7d08241b
JJ
79362002-08-27 Egor Duda <deo@logos-m.ru>
7937
7938 * libc/stdlib/wmemchr.c: New file.
7939 * libc/stdlib/wmemcmp.c: Ditto.
7940 * libc/stdlib/wmemcpy.c: Ditto.
7941 * libc/stdlib/wmemmove.c: Ditto.
7942 * libc/stdlib/wmemset.c: Ditto.
7943 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
7944 * configure.host: Default -DMB_CAPABLE for cygwin.
7945 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
7946 wmemmove() and wmemset(). Add include of <_ansi.h>.
7947 * libc/stdlib/Makefile.in: Regenerate.
7948
8da1639b
JJ
79492002-08-27 Jeff Johnston <jjohnstn@redhat.com>
7950
ff2bf852 7951 * configure.host: Remove _ELIX_LEVEL flag setting.
8da1639b
JJ
7952 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
7953 (install-data-local): Install newlib.h.
7954 * Makefile.in: Regenerated.
7955 * aclocal.m4: Ditto.
7956 * configure: Ditto.
17c0c97d 7957 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
8da1639b
JJ
7958 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
7959 and _NEWLIB_VERSION to fill in newlib.h header file entries.
7960 In AC_OUTPUT statement, unset ac_file so multilib support does
7961 not use last ac_file temporary used in newlib.h configuration.
7962 * libc/include/_ansi.h: Include <newlib.h>.
7963 * newlib.hin: New template file for newlib.h.
7964 * stamp-h.in: New file.
7965
a4421c11
JJ
79662002-08-26 Wu Yongwei <adah@netstd.com>
7967
ba3ccd63 7968 * time.h (timezonevar): Change "#if" to "#ifdef".
a4421c11 7969
90b65e2d
JJ
79702002-08-26 Jeff Johnston <jjohnstn@redhat.com>
7971
7972 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
7973 * Makefile.in: Regenerated.
7974 * acinclude.m4: Add support for --enable-newlib-elix-level option.
7975 * aclocal.m4: Regenerated.
7976 * configure: Ditto.
7977 * configure.host: Add code to define _ELIX_LEVEL if
7978 --enable-newlib-elix-level option is used.
17c0c97d 7979 * configure.in:
90b65e2d
JJ
7980 * libc/aclocal.m4: Regenerated.
7981 * libc/configure: Ditto.
7982 * libc/argz/Makefile.am: Add EL/IX level checking.
7983 * libc/argz/Makefile.in: Regenerated.
7984 * libc/argz/dummy.c: New file.
7985 * libc/ctype/Makefile.am: Add EL/IX level checking.
7986 * libc/ctype/Makefile.in: Regenerated.
7987 * libc/locale/Makefile.am: Add EL/IX level checking.
7988 * libc/locale/Makefile.in: Regenerated.
7989 * libc/posix/Makefile.am: Add EL/IX level checking.
7990 * libc/posix/Makefile.in: Regenerated.
7991 * libc/posix/telldir.c: Add EL/IX level checking.
7992 * libc/reent/Makefile.am: Ditto.
7993 * libc/reent/fstat64r.c: Ditto.
7994 * libc/reent/lseek64r.c: Ditto.
7995 * libc/reent/open64r.c: Ditto.
7996 * libc/reent/Makefile.in: Regenerated.
7997 * libc/search/Makefile.am: Add EL/IX level checking.
7998 * libc/search/Makefile.in: Regenerated.
7999 * libc/stdio/Makefile.am: Add EL/IX level checking.
8000 * libc/stdio/Makefile.in: Regenerated.
8001 * libc/stdio64/Makefile.am: Add EL/IX level checking.
8002 * libc/stdio64/Makefile.in: Regenerated.
8003 * libc/stdio64/dummy.c: New file.
9b487837 8004 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
90b65e2d
JJ
8005 after first include.
8006 * libc/stdio64/fopen64.c: Ditto.
8007 * libc/stdio64/freopen64.c: Ditto.
8008 * libc/stdio64/fseeko64.c: Ditto.
8009 * libc/stdio64/fsetpos64.c: Ditto.
8010 * libc/stdio64/ftello64.c: Ditto.
8011 * libc/stdio64/tmpfile64.c: Ditto.
8012 * libc/stdlib/Makefile.am: Add EL/IX level checking.
8013 * libc/stdlib/Makefile.in: Regenerated.
8014 * libc/stdlib/mstats.c: Add EL/IX level checking.
8015 * libc/string/Makefile.am: Ditto.
8016 * libc/string/Makefile.in: Regenerated.
8017 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
8018 * libc/sys/linux/Makefile.in: Regenerated.
8019 * libc/sys/linux/aclocal.m4: Ditto.
8020 * libc/sys/linux/configure: Ditto.
8021 * libc/sys/linux/aio.c: Add EL/IX level checking.
8022 * libc/sys/linux/ftok.c: Ditto.
8023 * libc/sys/linux/getdate.c: Ditto.
8024 * libc/sys/linux/ids.c: Ditto.
8025 * libc/sys/linux/inode.c: Ditto.
8026 * libc/sys/linux/io.c: Ditto.
8027 * libc/sys/linux/process.c: Ditto.
8028 * libc/sys/linux/resource.c: Ditto.
8029 * libc/sys/linux/sched.c: Ditto.
8030 * libc/sys/linux/sig.c: Ditto.
8031 * libc/sys/linux/termios.c: Ditto.
8032 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
8033 __libc___waitpid weak aliases.
8034 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
8035 that generate the code for a syscall, but do not create a
8036 weak alias.
8037 * libc/syscalls/Makefile.am: Add EL/IX level checking.
8038 * libc/syscalls/Makefile.in: Regenerated.
8039 * libc/time/tzset_r.c: Change to replace strdup with equivalent
8040 functionality.
8041 * libc/unix/Makefile.am: Add EL/IX level checking.
8042 * libc/unix/Makefile.in: Regenerated.
8043
2e2b268c
CF
80442002-08-26 Christopher Faylor <cgf@redhat.com>
8045
8046 * libc/include/malloc.h: On cygwin, define malloc _r functions as
8047 wrapper macros to standard malloc functions.
8048 * libc/include/stdlib.h: Ditto.
8049 * configure.host: Always define MALLOC_PROVIDED on cygwin.
8050
8d9112f2
TF
80512002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
8052
8053 * libc/include/langinfo.h: New file.
8054 * libc/include/wchar.h: Likewise.
8055 * libc/include/sys/syslimits.h: Likewise.
8056 * libc/locale/fix_grouping.c: Likewise.
8057 * libc/locale/ldpart.c: Likewise.
8058 * libc/locale/ldpart.h: Likewise.
8059 * libc/locale/lmessages.c: Likewise.
8060 * libc/locale/lmessages.h: Likewise.
8061 * libc/locale/lmonetary.c: Likewise.
8062 * libc/locale/lmonetary.h: Likewise.
8063 * libc/locale/lnumeric.c: Likewise.
8064 * libc/locale/lnumeric.h: Likewise.
8065 * libc/locale/nl_langinfo.3: Likewise.
8066 * libc/locale/nl_langinfo.c: Likewise.
8067 * libc/locale/timelocal.c: Likewise.
8068 * libc/locale/timelocal.h: Likewise.
8069 * libc/stdlib/btowc.c: Likewise.
8070 * libc/stdlib/mbrlen.c: Likewise.
8071 * libc/stdlib/mbrtowc.c: Likewise.
8072 * libc/stdlib/mbsinit.c: Likewise.
8073 * libc/stdlib/mbsrtowcs.c: Likewise.
8074 * libc/stdlib/wcrtomb.c: Likewise.
8075 * libc/stdlib/wcsrtombs.c: Likewise.
8076 * libc/stdlib/wctob.c: Likewise.
8077 * libc/sys/linux/prof-freq.c: Likewise.
8078 * libc/sys/linux/profile.c: Likewise.
8079 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
8080 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
8081 * libc/include/stdlib.h: Change re-entrant functions to take
8082 mbstate_t pointers.
8083 * libc/include/sys/_types.h: Define _mbstate_t.
8084 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
8085 * libc/include/sys/errno.h (EILSEQ): New error code.
8086 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
8087 structure to use mbstate_t.
8088 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
8089 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
8090 * libc/machine/powerpc/vfscanf.c: Likewise.
8091 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
8092 * libc/stdio/vfprintf.c: Likewise.
8093 * libc/stdio/vfscanf.c: Likewise.
8094 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
8095 * libc/stdlib/mblen.c: Use mbstate_t.
8096 * libc/stdlib/mblen_r.c: Likewise.
8097 * libc/stdlib/mbstowcs.c: Likewise.
8098 * libc/stdlib/mbstowcs_r.c: Likewise.
8099 * libc/stdlib/mbtowc.c: Likewise.
8100 * libc/stdlib/mbtowc_r.c: Likewise.
8101 * libc/stdlib/wcstombs.c: Likewise.
8102 * libc/stdlib/wcstombs_r.c: Likewise.
8103 * libc/stdlib/wctomb_r.c: Likewise.
8104 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
8105 profile.c.
8106 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
8107 dl-procinfo.c.
8108 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
8109 * libc/sys/linux/sys/types.h (off_t): Define type.
8110 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
8111 to C-UTF-8.
8112 * testsuite/newlib.locale/UTF-8.exp: Likewise.
8113
fe47ea33
JJ
81142002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
8115
ba3ccd63
EB
8116 * libc/stdlib/mallocr.c: #include windows.h on Win32.
8117 (AlignPage): Continue macro on next line.
fe47ea33 8118
ada73509
JJ
81192002-08-19 Jeff Johnston <jjohnstn@redhat.com>
8120
8121 * libc/sys/linux/include/pthread.h: New file.
8122
64b5e8f2
JJ
81232002-08-19 Jeff Johnston <jjohnstn@redhat.com>
8124
8125 * libc/include/sys/types.h: Support __need_inttypes macro
17c0c97d 8126 that only sets the __intxx and __uintxx types.
64b5e8f2
JJ
8127 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
8128 to get mprec.h.
8129 * libc/machine/powerpc/Makefile.in: Regenerated.
8130 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
8131 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
8132 redundant fixed-point conversion prototypes.
8133 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
8134 after setting __need_inttypes.
8135
a94b60ce
CF
81362002-08-18 Christopher Faylor <cgf@redhat.com>
8137
8138 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
8139
29e17a86
JJ
81402002-08-17 Jeff Johnston <jjohnstn@redhat.com>
8141
ba3ccd63
EB
8142 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
8143 _LONG_DOUBLE to double.
29e17a86 8144
936b520f
JJ
81452002-08-17 Jeff Johnston <jjohnstn@redhat.com>
8146
8147 * configure.host: Add powerpc*-*-eabispe* configuration.
8148 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
8149 * libc/machine/powerpc/atosfix32.c: Ditto.
8150 * libc/machine/powerpc/atosfix64.c: Ditto.
8151 * libc/machine/powerpc/atoufix16.c: Ditto.
8152 * libc/machine/powerpc/atoufix32.c: Ditto.
8153 * libc/machine/powerpc/atoufix64.c: Ditto.
8154 * libc/machine/powerpc/fix64.h: Ditto.
8155 * libc/machine/powerpc/simdldtoa.c: Ditto.
8156 * libc/machine/powerpc/strtosfix16.c: Ditto.
8157 * libc/machine/powerpc/strtosfix32.c: Ditto.
8158 * libc/machine/powerpc/strtosfix64.c: Ditto.
8159 * libc/machine/powerpc/strtoufix16.c: Ditto.
8160 * libc/machine/powerpc/strtoufix32.c: Ditto.
8161 * libc/machine/powerpc/strtoufix64.c: Ditto.
8162 * libc/machine/powerpc/ufix64toa.c: Ditto.
8163 * libc/machine/powerpc/configure.in: Add check for
8164 powerpc*-eabispe and add fixed-point conversion functions.
8165 * libc/machine/powerpc/configure: Regenerated.
8166 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
8167 %r and %R format specifiers which handle fixed-point data.
8168 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
8169 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
8170 function prototypes.
8171
ad552766
JJ
81722002-08-17 Jeff Johnston <jjohnstn@redhat.com>
8173
8174 * Makefile.am: Move cmath stuff into libc/sys/linux.
8175 * Makefile.in: Regenerated.
8176 * configure.host: Default -DMB_CAPABLE for x86-linux.
8177 * libc/include/reent.h: Define _sbrk to take signed int argument.
8178 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
17c0c97d
EB
8179 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
8180 make locale name checking more efficient. Also allow "C-ISO-8859-1"
ad552766
JJ
8181 locale for LC_CTYPE and LC_MESSAGES.
8182 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
8183 * libc/sys/linux/brk.c: Change sbrk prototype.
8184 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
8185 include <sys/features.h>.
8186 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
8187 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
8188 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
8189 with a few local additions.
8190 * libc/sys/linux/sys/features.h: New file.
8191 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
8192 to take signed argument.
8193 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
8194 prototypes to take signed size argument.
8195
d3bd3632
TF
81962002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
8197
8198 * libc/sys/linux/cmath: New directory.
8199 * libc/sys/linux/include/cmathcalls.h: New file.
8200 * libc/sys/linux/include/complex.h: New file.
8201 * libc/sys/linux/machine/i386/huge_val.h: New file
8202 * libm/math/w_sincos.c: New file
8203 * libm/math/wf_sincos.c: New file
8204 * libm/mathfp/s_sincos.c: New file
8205 * libm/mathfp/sf_sincos.c: New file
8206 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
8207 * libc/include/math.h: Add sincos and sincosf declarations.
8208 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
8209 (SUBLIBS): Likewise.
8210 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
8211 * libm/math/Makefile.am (src): Add w_sincos.c.
8212 (fsrc): Add wf_sincos.c.
8213 * libm/mathfp/Makefile.am (src): Add s_sincos.c
8214 (fsrc): Add sf_sincos.c.
8215
b3a9676b
JJ
82162002-08-12 Jeff Johnston <jjohnstn@redhat.com>
8217
8218 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
8219 Declare as extern chars and use the address operator to
8220 properly use values set in linker script.
8221
659e7062
JJ
82222002-08-09 Jason Tishler <jason@tishler.net>
8223
8224 * libc/stdlib/mallocr.c: Include <limits.h>.
8225 (request2size): Change macro to do
8226 unsigned long comparisons and avoid signed overflow.
8227 (mALLOc): Add overflow check for the number of bytes to allocate.
8228 (rEALLOc): Ditto.
8229
037240a2
JJ
82302002-08-09 Jeff Johnston <jjohnstn@redhat.com>
8231
8232 * configure.host: Add check for --enable-newlib-io-pos-args
8233 and define WANT_IO_POS_ARGS flag if enabled. Define
8234 the flag by default for x86-linux configurations.
8235 * configure.in: Add support for --enable-newlib-io-pos-args.
8236 * libc/configure.in: Ditto.
8237 * configure: Regenerated.
8238 * libc/configure: Ditto.
8239 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
8240 vfprintf.c and vfiprintf.c.
8241 * libc/stdio/Makefile.in: Regenerated.
8242 * libc/stdio/vfprintf.c: Add positional argument support that
8243 is enabled by compiling with -DWANT_IO_POS_ARGS.
8244
172fda76
RS
82452002-08-07 Richard Sandiford <rsandifo@redhat.com>
8246
8247 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
8248 based on __mips_soft_float rather than __mips64.
8249 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
8250 of both 32-bit and 64-bit code.
8251
4866247e
CF
82522002-08-04 Christopher Faylor <cgf@redhat.com>
8253
8254 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
8255 arguments for popen to match similar functionality in fopen.
8256
b96332ce
CV
82572002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
8258
8259 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
8260
60d99bce
JJ
82612002-07-29 Jeff Johnston <jjohnstn@redhat.com>
8262
ba3ccd63
EB
8263 * libc/sys/linux/Makefile.am: Add aio64.c.
8264 * libc/sys/linux/Makefile.in: Regenerated.
8265 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
8266 * libc/sys/linux/aio64.c: New file.
60d99bce 8267
80a21be0
JJ
82682002-07-26 Jeff Johnston <jjohnstn@redhat.com>
8269
8270 * libc/include/sys/param.h (MAX, MIN): Added macros.
8271 * libc/sys/linux/Makefile.am: Add new files.
8272 * libc/sys/linux/Makefile.in: Regenerated.
8273 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
8274 * libc/sys/linux/inode.c (fchdir): Added syscall.
8275 * libc/sys/linux/ftw.c: New file.
8276 * libc/sys/linux/ftw64.c: Ditto.
8277 * libc/sys/linux/getwd.c: Ditto.
8278 * libc/sys/linux/scandir64.c: Ditto.
8279 * libc/sys/linux/strverscmp.c: Ditto.
8280 * libc/sys/linux/versionsort.c: Ditto.
8281 * libc/sys/linux/versionsort64.c: Ditto.
8282
6b6425cb
JJ
82832002-07-26 Jeff Johnston <jjohnstn@redhat.com>
8284
8285 * libc/string/strings.tex: Fix typo for memccpy.
8286
dc8ac8e6
JJ
82872002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8288
8289 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
8290 * libc/sys/linux/sys/types.h (off64_t): Definition added.
8291
aa0ca6fd
JJ
82922002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8293
8294 * libc/sys/linux/Makefile.am: Add fclean.c.
8295 * libc/sys/linux/Makefile.in: Regenerated.
8296 * libc/sys/linux/fclean.c: New file.
8297
61921945
JJ
82982002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8299
8300 * libc/sys/linux/Makefile.am: Add confstr.c.
8301 * libc/sys/linux/Makefile.in: Regenerated.
8302 * libc/sys/linux/confstr.c: New file.
8303 * libc/sys/linux/confstr.h: Ditto.
8304 * libc/sys/linux/sys/unistd.h: Include <features.h> and
8305 <bits/environments.h>.
8306
3d966a92
JJ
83072002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8308
8309 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
8310 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
8311 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
8312 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
8313 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
8314 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
8315
53b5bff7
JJ
83162002-07-24 Jeff Johnston <jjohnstn@redhat.com>
8317
8318 * libc/sys/linux/Makefile.am: Add new files.
8319 * libc/sys/linux/Makefile.in: Regenerated.
8320 * libc/sys/linux/fstab.c: New file.
8321 * libc/sys/linux/fstatvfs.c: Ditto.
8322 * libc/sys/linux/fstatvfs64.c: Ditto.
8323 * libc/sys/linux/internal_statvfs.c: Ditto.
8324 * libc/sys/linux/mntent.c: Ditto.
8325 * libc/sys/linux/mntent_r.c: Ditto.
8326 * libc/sys/linux/statvfs.c: Ditto.
8327 * libc/sys/linux/statvfs64.c: Ditto.
8328 * libc/sys/linux/include/paths.h: Ditto.
8329 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
8330 with double-underscore weak-aliases.
8331 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
8332
9cef8ef5
JJ
83332002-07-24 Jeff Johnston <jjohnstn@redhat.com>
8334
8335 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
8336 to use _sig_func_ptr type casted constants.
8337 (_sig_func_ptr): Typedef moved to sys/signal.h.
8338 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
8339 For __rtems, use POSIX definition, otherwise default to ANSI.
8340 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
8341
a703e0f2
JJ
83422002-07-24 Stephane Carrez <stcarrez@nerim.fr>
8343
ba3ccd63
EB
8344 * configure.host: Recognize m6811-elf and m6812-elf targets.
8345 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
8346 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
8347 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
8348 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
8349 according to __INT_MAX__.
8350 (_POINTER_INT): Define to short.
8351 * libc/machine/m68hc11/Makefile.am: New file.
8352 * libc/machine/m68hc11/Makefile.in: New file.
8353 * libc/machine/m68hc11/configure.in: New file.
8354 * libc/machine/m68hc11/configure: New file.
8355 * libc/machine/m68hc11/aclocal.m4: New file.
8356 * libc/machine/m68hc11/setjmp.S: New file.
a703e0f2 8357
d254189b
JJ
83582002-07-23 Jeff Johnston <jjohnstn@redhat.com>
8359
8360 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
8361 prototypes.
8362 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
8363 * libc/stdlib/Makefile.in: Regenerated.
8364 * libc/stdlib/strdup.c: Removed.
8365 * libc/stdlib/strdup_r.c: Removed.
8366 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
8367 mempcpy.c, strndup.c, and strndup_r.c.
8368 * libc/string/Makefile.in: Regenerated.
8369 * libc/string/memccpy.c: New file.
8370 * libc/string/mempcpy.c: Ditto.
8371 * libc/string/strndup.c: Ditto.
8372 * libc/string/strndup_r.c: Ditto.
8373 * libc/string/strdup.c: New file moved from stdlib.
8374 * libc/string/strdup_r.c: Ditto.
8375 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
8376
bc100655
JJ
83772002-07-23 Jeff Johnston <jjohnstn@redhat.com>
8378
ba3ccd63
EB
8379 * libc/include/stdio.h: Move fcloseall prototype within
8380 #ifndef _REENT_ONLY section.
8381 * libc/sys/linux/Makefile.am: Add new files.
8382 * libc/sys/linux/Makefile.in: Regenerated.
8383 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
8384 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
bc100655 8385 * libc/sys/linux/sys/types.h: Add ino64_t type.
ba3ccd63
EB
8386 * libc/sys/linux/ctermid.c: New file.
8387 * libc/sys/linux/ttyname_r.c: Ditto.
bc100655
JJ
8388 * libc/sys/linux/readdir64.c: Ditto.
8389
f5f27f07
JJ
83902002-07-22 Jeff Johnston <jjohnstn@redhat.com>
8391
8392 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
8393 * libc/stdio/Makefile.am: Added fcloseall.c support.
8394 * libc/stdio/Makefile.in: Regenerated.
8395 * libc/stdio/fcloseall.c: New file.
8396 * libc/stdio64/Makefile.am: Remove missing .def references.
8397 * libc/stdio64/Makefile.in: Regenerated.
8398
d541ba3e
JJ
83992002-07-22 Jeff Johnston <jjohnstn@redhat.com>
8400
8401 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
8402 * libc/machine/powerpc/times.c: New file.
8403 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
8404 * libc/machine/powerpc/Makefile.in: Regenerated.
8405
84062002-07-22 Aldy Hernandez <aldyh@redhat.com>
e964bca8 8407
ba3ccd63
EB
8408 * libc/machine/powerpc/time.c: New file.
8409 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
8410 time.c.
e964bca8
JJ
8411 * libc/machine/powerpc/Makefile.in: Regenerated.
8412
5e7d0a55
TF
84132002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
8414
8415 * libc/libc.texinfo: Change copyright notices to Red Hat from
8416 Cygnus.
8417 * libm/libm.texinfo: Likewise.
8418 * README: Change docs URL to
8419 http://sources.redhat.com/newlib/docs.html.
8420
504628e7
JJ
84212002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8422
ba3ccd63
EB
8423 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
8424 * libc/sys/linux/Makefile.in: Regenerated.
8425 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
8426 * libc/sys/linux/io.c: Add ftruncate syscall.
8427 * libc/sys/linux/fpathconf.c: New file.
8428 * libc/sys/linux/pathconf.c: Ditto.
504628e7 8429 * libc/sys/linux/linux_fsinfo.h: Ditto.
ba3ccd63 8430 * libc/sys/linux/sys/unistd.h: Ditto.
504628e7 8431
b155ad9f
JJ
84322002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8433
8434 * libc/stdio64/Makefile.am: Remove missing files.
8435 * libc/stdio64/Makefile.in: Regenerated.
8436
c119e0ab
JJ
84372002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8438
ba3ccd63
EB
8439 * libc/include/sys/config.h[__i386__][__linux__]: Define
8440 _LARGE64FILE_SOURCE to 1.
8441 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
8442 * libc/sys/linux/Makefile.in: Regenerated.
8443 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
8444 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
8445 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
8446 of <linux/resource.h>.
8447 * libc/sys/linux/getrlimit64.c: New file.
8448 * libc/sys/linux/setrlimit64.c: Ditto.
c119e0ab 8449
9b022d6d
TF
84502002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
8451
8452 * libc/argz/argz_replace.c: Include buf_findstr.h.
8453 * libc/argz/buf_findstr.c: Likewise.
8454 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
8455 value to (char *).
8456 * libc/argz/envz_get.c: Likewise.
8457 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
8458 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
8459 * libc/stdlib/getsubopt.3: New file.
8460 * libc/stdlib/getsubopt.c: New file.
8461 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
8462 Change esp to ebp.
8463
dee51391
JJ
84642002-07-17 Jeff Johnston <jjohnstn@redhat.com>
8465
8466 * configure.host(stdio64_dir): New setting that is used to
8467 enable building of new stdio64 directory.
8468 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
8469 large files.
8470 (stmp-stdio64,stdio64.texi): New targets to optionally add in
8471 stdio64 info to info files.
8472 * libc/Makefile.in: Regenerated.
8473 * libc/configure: Ditto.
8474 * libc/configure.in: Add configuration variables that are set
8475 when stdio64 is selected as subdir in configure.host.
8476 * libc/libc.texinfo: Add optional menu item for Stdio64, based
8477 on whether STDIO64 flag is set or not.
8478 * libc/sys.tex: Add optional stdio64 syscalls based on whether
8479 STDIO64 flag is set or not.
8480 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
8481 _r sycall routines.
8482 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
8483 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
8484 (__SL64): New file flag indicating file is opened via fopen64.
8485 * libc/include/sys/_types.h(_off64_t): Added.
8486 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
8487 * libc/include/sys/reent.h(struct __sFILE64): New file structure
8488 for 64-bit offset large file support.
8489 (__FILE): New intermediate type either set to struct __sFILE64 or
8490 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
8491 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
8492 * libc/reent/Makefile.in: Regenerated.
8493 * libc/reent/fstat64r.c: New file.
8494 * libc/reent/lseek64r.c: Ditto.
8495 * libc/reent/open64r.c: Ditto.
8496 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
17c0c97d 8497 based on whether STDIO64 flag is set.
dee51391
JJ
8498 * libc/stdio/stdio.tex: Add blank line.
8499 * libc/stdio64/Makefile.am: New file.
8500 * libc/stdio64/Makefile.in: Ditto.
8501 * libc/stdio64/fgetpos64.c: Ditto.
8502 * libc/stdio64/fopen64.: Ditto.
8503 * libc/stdio64/freopen64.c: Ditto.
8504 * libc/stdio64/fseeko64.c: Ditto.
8505 * libc/stdio64/fsetpos64.c: Ditto.
8506 * libc/stdio64/ftello64.c: Ditto.
8507 * libc/stdio64/local64.h: Ditto.
8508 * libc/stdio64/stdio64.c: Ditto.
8509 * libc/stdio64/stdio64.tex: Ditto.
8510 * libc/stdio64/tmpfile64.c: Ditto.
8511 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
8512 open64.
8513
778876f6
JJ
85142002-07-16 Jeff Johnston <jjohnstn@redhat.com>
8515
ba3ccd63
EB
8516 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
8517 if LIBC_EXTRA_LIB is present.
8518 * libc/Makefile.in: Regenerated.
778876f6 8519 * libc/libc.texinfo: Add blank line.
ba3ccd63
EB
8520 * libc/argz/Makefile.am: Add doc support.
8521 * libc/search/Makefile.am: Ditto.
8522 * libc/argz/Makefile.in: Regenerated.
8523 * libc/search/Makefile.in: Ditto.
8524 * libc/misc/misc.tex: Add ffs function.
8525 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
778876f6 8526
37981145
JJ
85272002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8528
8529 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
8530 definition that was removed in error.
8531
38b5dc59
JJ
85322002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8533
8534 * libc/include/machine/ieeefp.h: Change to only define
17c0c97d 8535 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
38b5dc59
JJ
8536 __IEEE_LITTLE_ENDIAN must be defined for each platform).
8537 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
8538 remove redundant floating point definitions.
8539
8cb61a96
JJ
85402002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8541
ba3ccd63
EB
8542 * libc/sys/linux/callocr.c: Fix so code references
8543 calloc.
8cb61a96 8544
edba3282
JJ
85452002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8546
ba3ccd63
EB
8547 * libc/sys/linux/Makefile.am: Add new files.
8548 * libc/sys/linux/Makefile.in: Regenerated.
8549 * libc/sys/linux/bp-sym.h: Moved to include directory.
8550 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
8551 * libc/sys/linux/inode.c: Set _LIBC to 1.
8552 * libc/sys/linux/mq_close.c: Ditto.
8553 * libc/sys/linux/mq_getattr.c: Ditto.
8554 * libc/sys/linux/mq_open.c: Ditto.
8555 * libc/sys/linux/mq_receive.c: Ditto.
8556 * libc/sys/linux/mq_send.c: Ditto.
8557 * libc/sys/linux/mq_setattr.c: Ditto.
8558 * libc/sys/linux/mq_unlink.c: Ditto.
8559 * libc/sys/linux/calloc.c: New file.
8560 * libc/sys/linux/callocr.c: Ditto.
8561 * libc/sys/linux/cfreer.c: Ditto.
8562 * libc/sys/linux/config.h: Ditto.
8563 * libc/sys/linux/free.c: Ditto.
8564 * libc/sys/linux/freer.c: Ditto.
8565 * libc/sys/linux/msize.c: Ditto.
8566 * libc/sys/linux/msizer.c: Ditto.
8567 * libc/sys/linux/mstats.c: Ditto.
8568 * libc/sys/linux/mtrim.c: Ditto.
8569 * libc/sys/linux/mtrimr.c: Ditto.
8570 * libc/sys/linux/pvallocr.c: Ditto.
8571 * libc/sys/linux/realloc.c: Ditto.
8572 * libc/sys/linux/reallocr.c: Ditto.
8573 * libc/sys/linux/thread-m.h: Ditto.
8574 * libc/sys/linux/vallocr.c: Ditto.
8575 * libc/sys/linux/bp-checks.h: Ditto.
8576 * libc/sys/linux/libc-symbols.h: Ditto.
8577 * libc/sys/linux/libc-tsd.h: Ditto.
8578 * libc/sys/linux/libintl.h: Ditto.
8579 * libc/sys/linux/malign.c: Ditto.
8580 * libc/sys/linux/malignr.c: Ditto.
8581 * libc/sys/linux/mallinfor.c: Ditto.
8582 * libc/sys/linux/malloc.c: Ditto.
8583 * libc/sys/linux/mallocr.c: Ditto.
8584 * libc/sys/linux/malloptr.c: Ditto.
8585 * libc/sys/linux/mallstatsr.c: Ditto.
8586 * libc/sys/linux/mcheck.c: Ditto.
8587 * libc/sys/linux/mhooks.h: Ditto.
8588 * libc/sys/linux/include/bp-sym.h: Ditto.
8589 * libc/sys/linux/include/malloc.h: Ditto.
8590 * libc/sys/linux/include/mcheck.h: Ditto.
8591 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
8592 getpagesize.c.
8593 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
8594 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
8595 * libc/sys/linux/machine/i386/getpagesize.c: New file.
8596 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
8597 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8598 * libc/sys/linux/machine/i386/sysdep.h: New file.
8599 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
8600 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
8601 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
edba3282 8602
ea20b60a
JJ
86032002-07-12 Jeff Johnston <jjohnstn@redhat.com>
8604
8605 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
8606 instead of <asm/siginfo.h>.
8607 * libc/sys/linux/sys/signal.h: Change to include various linux
8608 <bits/xxx.h> header files, rather than <linux/signal.h> so as
8609 to work with multiple releases of glibc header files.
8610
2fc82912
JJ
86112002-07-11 Chris Demetriou <cgd@broadcom.com>
8612
ba3ccd63
EB
8613 * testsuite/newlib.search/hsearchtest.c: New file to test
8614 newlib/libc/search.
8615 * testsuite/newlib.search/hsearchtest.exp: Likewise.
2fc82912 8616
4a404e97 86172002-07-10 Florian Schrack <florian.schrack@freenet.de>
2a8b4ea3
JJ
8618
8619 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
8620 a terminal.
8621 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
8622
6aec558e
JJ
86232002-07-08 Jeff Johnston <jjohnstn@redhat.com>
8624
ba3ccd63 8625 * libc/include/math.h (MAXFLOAT): Added.
6aec558e 8626
e47e6f0e 8627Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
a31df303
JR
8628
8629 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
8630 Make strcmp.S unconditional.
8631 * libc/machine/sh/Makefile.in: Regenerate.
8632 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
8633 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
8634 for SHcompact.
8635
89ffbd66
JJ
86362002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8637
8638 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
8639 define before including <sys/lock.h>.
8640
ae6c4c84
JJ
86412002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8642
8643 * libc/include/utime.h: Add include of <_ansi.h>.
8644 * libc/sys/linux/Makefile.am: Add utimes.c.
8645 * libc/sys/linux/Makefile.in: Regenerated.
8646 * libc/sys/linux/inode.c(__umask): New static routine.
8647 (umask): Written to use __umask and attempt to thread lock.
8648 (getumask): New function written to use __umask and thread lock.
8649 * libc/sys/linux/utimes.c: New file.
8650 * libc/sys/linux/sys/time.h: Fix utimes prototype.
8651 * libc/sys/linux/sys/utime.h: New file.
8652
a6cac46c
TF
86532002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
8654
8655 * libtool.m4: New file.
8656 * libc/sys/linux/process.c: Implement vfork in terms of fork,
8657 rather than as a syscall.
8658
30b2092f
JJ
86592002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8660
8661 * libc/include/stdio.h: Add new prototypes.
8662 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
8663 * libc/stdio/Makefile.in: Regenerated.
8664 * libc/stdio/fseek.c: Add fseeko documentation.
8665 * libc/stdio/ftell.c: Add ftello documentation.
8666 * libc/stdio/fseeko.c: New file.
8667 * libc/stdio/ftello.c: New file.
8668
7501704d
JJ
86692002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8670
ba3ccd63
EB
8671 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
8672 * libc/stdio/Makefile.in: Regenerated.
8673 * libc/stdio/asprintf.c: New file.
8674 * libc/stdio/vasprintf.c: Ditto.
8675 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
8676 the buffer for asprintf support.
8677 * libc/stdio/sprintf.c: Add asprintf documentation.
8678 * libc/stdio/vfprintf.c: Add vasprintf documentation.
8679 * libc/include/stdio.h: Add new prototypes.
7501704d 8680
66eee32b
TF
86812002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
8682
8683 * libc/search/hcreate.c: Remove advertising clause from license.
8684 * libc/search/hcreate_r.c: Likewise.
8685
cec4a9f8
JJ
86862002-07-02 Chris Demetriou <cgd@broadcom.com>
8687
ba3ccd63
EB
8688 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
8689 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
8690 Check that one of them is defined and error out if not.
cec4a9f8 8691 Add any platforms defined in <machine/ieeefp.h> that are missing.
ba3ccd63
EB
8692 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
8693 (DB_LITTLE_ENDIAN): New defines.
8694 * libc/search/hash.c: Replace all incorrect checks for
8695 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
8696 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
8697 * libc/search/hash_page.c: Likewise.
cec4a9f8 8698
2d5eb17e
TF
86992002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
8700
8701 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
8702
c1a3171f
JJ
87032002-06-27 Benjamin Kosnik <bkoz@redhat.com>
8704
ba3ccd63
EB
8705 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
8706 * libc/include/time.h: Same.
8707 * libc/include/string.h: Same.
8708 * libc/include/stdlib.h: Same.
8709 * libc/include/signal.h: Same.
8710 * libc/include/setjmp.h: Same.
8711 * libc/include/math.h: Same.
8712 * libc/include/locale.h: Same.
8713 * libc/include/ctype.h: Same.
8714 * libc/include/machine/setjmp.h: Same.
8715 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
8716 (_END_STD_C): Add.
c1a3171f 8717
533b4e66
JJ
87182002-06-27 Jeff Johnston <jjohnstn@redhat.com>
8719
ba3ccd63
EB
8720 * libc/include/sys/_types.h: Define _ssize_t as int if int is
8721 32-bits, otherwise define it as long.
8722 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
8723 and define ssize_t as _ssize_t.
8724 * libc/reent/readr.c: Change return type to _ssize_t.
8725 * libc/reent/writer.c: Ditto.
8726 * libc/sys/linux/Makefile.am: Add aio.c.
8727 * libc/sys/linux/Makefile.in: Regenerated.
8728 * libc/sys/linux/aio.c: New file.
8729 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
8730 * libm/common/fdlibm.h: Undef __P before defining it.
533b4e66 8731
c36e6dd7
TF
87322002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
8733
54be629f
TF
8734 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
8735 exponent_is_even_int variable. Handle case where x is
8736 negative, and y is an odd integer.
8737 * libm/mathfp/sf_pow.c (powf): Likewise.
8738
c36e6dd7
TF
8739 * libm/mathfp/er_lgamma.c: Remove __kernel references.
8740 * libm/mathfp/erf_lgamma.c: Likewise.
8741 * libm/mathfp/s_tgamma.c: Likewise.
8742 * libm/mathfp/sf_tgamma.c: Likewise.
8743
baf051ca
JJ
87442002-06-27 Jeff Johnston <jjohnstn@redhat.com>
8745
ba3ccd63
EB
8746 * libc/sys/linux/Makefile.am: Add new clock routines.
8747 * libc/sys/linux/Makefile.in: Regenerated.
8748 * libc/sys/linux/clock_getres.c: New file.
8749 * libc/sys/linux/clock_gettime.c: Ditto.
8750 * libc/sys/linux/clock_settime.c: Ditto.
8751 * libc/sys/linux/hp-timing.h: Ditto.
8752 * libc/sys/linux/libc-internal.h: Ditto.
8753 * libc/sys/linux/sysconf.c: Fix typo.
8754 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
8755 * libc/sys/linux/machine/hp-timing.h: New file.
8756 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
8757 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8758 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
8759 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
8760 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
8761 * libc/sys/linux/sys/linux_time.h: New file.
8762 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
8763 replace with <sys/linux_time.h>.
baf051ca 8764
0431ed4e
JR
8765Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
8766
8767 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
8768
fc067ba5
JJ
87692002-06-25 Jeff Johnston <jjohnstn@redhat.com>
8770
ba3ccd63
EB
8771 * libc/sys/linux/Makefile.am: Consolidate additional items under
8772 ADD_OBJS.
8773 * libc/sys/linux/Makefile.in: Regenerated.
fc067ba5 8774
ffddf61e
JJ
87752002-06-25 Jeff Johnston <jjohnstn@redhat.com>
8776
ba3ccd63
EB
8777 * libc/sys/linux/sethostname.c: New file.
8778 * libc/sys/linux/Makefile.am: Add sethostname.c support.
8779 * libc/sys/linux/Makefile.in: Regenerated.
ffddf61e 8780
d5487d3f
TF
87812002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8782
8783 * libc/search/db_local.h: New file.
8784 * libc/include/db.h: Remove.
8785 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
8786 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
8787 "db_local.h".
8788 * libc/search/hash_bigkey.c: Likewise.
8789 * libc/search/hash_buf.c: Likewise.
8790 * libc/search/hash_func.c: Likewise.
8791 * libc/search/hash_log2.c: Likewise.
8792 * libc/search/hash_page.c: Likewise.
8793
87942002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
e08a6118 8795
1e7ca711 8796 * libc/machine/sh/strlen.S: New file.
e08a6118
JR
8797 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
8798 * libc/machine/sh/Makefile.am: Regenerate.
8799
59c6d6c4
JJ
88002002-06-24 Jeff Johnston <jjohnstn@redhat.com>
8801
ba3ccd63
EB
8802 * libc/sys/linux/gethostname.c: Change name to __gethostname and
8803 add gethostname alias.
59c6d6c4 8804
a70486d7
JJ
88052002-06-24 Jeff Johnston <jjohnstn@redhat.com>
8806
8807 * libc/include/math.h: Remove <sys/types.h>.
a5dadf33 8808 (__dmath): Use __ULong instead of __uint32_t.
a70486d7 8809 * libc/include/sys/reent.h: If long or int is not 32-bits,
a5dadf33 8810 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
a70486d7
JJ
8811 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
8812 * libm/common/fdlibm.h: Ditto.
8813
3118725a
TF
88142002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8815
8816 * libc/include/ndbm.h: Remove.
8817 * libc/search/ndbm.c: Remove.
8818
30a06168
TF
88192002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
8820
8821 * libc/stdio/fseek.c (fseek): Fix braces.
8822
01f5155e
CV
88232002-06-21 Corinna Vinschen <corinna@vinschen.de>
8824
8825 * libc/time/strftime.c (strftime): Add %e format specifier.
8826
930bc96b
TF
88272002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8828
8829 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
8830 previously defined.
8831
55105f86
JJ
88322002-06-21 Richard Earnshaw (rearnsha@arm.com)
8833
ba3ccd63
EB
8834 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
8835 (BYTE_ORDER): Define as appropriate for the target.
55105f86 8836
2e78444a
JJ
88372002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8838
8839 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
8840 to _ssize_t.
8841 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
8842
d427d092
JJ
88432002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8844
8845 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
8846 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
8847 [HAVE_GETDATE](getdate_err): New error code.
8848 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
8849 * libc/stdio/Makefile.in: Regenerated.
8850 * libc/stdio/getdelim.c: New file.
8851 * libc/stdio/getline.c: Ditto.
8852 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
8853 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
8854 * libc/sys/linux/Makefile.in: Regenerated.
8855 * libc/sys/linux/getdate.c: New file.
8856 * libc/sys/linux/getdate_err.c: Ditto.
8857 * libc/sys/linux/ntp_gettime.c: Ditto.
8858 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
8859 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
8860
35728d4f
JJ
88612002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8862
8863 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
8864 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
8865 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
8866 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
8867 * libc/include/sys/param.h: Remove i386 case which is handled
8868 by default case.
8869 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
8870 definitions in case they are already defined.
8871 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
8872 _IEEE_LITTLE_ENDIAN flags.
8873 * libc/include/sys/reent.h: Change __uint32_t references to
8874 use _ULong instead.
8875 (_REENT_GETDATE_REENT_P): New macro.
8876 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
8877 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
8878 * libc/search/hash.h: Add default setting of BYTE_ORDER,
8879 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
8880 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
8881 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
8882 pid_t, off_t, loff_t, caddr_t, and daddr_t type
8883 definitions which are done by subsequent glibc headers.
8884 Add macro definitions to prevent subsequent header files from
8885 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
8886 intptr_t to after glibc definitions of types they are based on.
8887
4a2bfab7
JJ
88882002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8889
8890 * libc/include/errno.h: Protect from multiple inclusion.
8891
f42d18ea
NC
88922002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
8893
8894 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
8895
a7b23a8f
TF
88962002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
8897
8898 * Makefile.am (LIB_OBJECTLISTS): Add
8899 libc/search/objectlist.awk.in.
8900 * libc/Makefile.am (SUBDIRS): Add search.
8901 (SUBLIBS): Add search/libsearch.la.
8902 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
8903 * libc/search: New directory.
8904 * libc/search/Makefile.am: New file.
8905 * libc/search/extern.h: New file.
8906 * libc/search/hash.c: New file.
8907 * libc/search/hash.h: New file.
8908 * libc/search/hash_bigkey.c: New file.
8909 * libc/search/hash_buf.c: New file.
8910 * libc/search/hash_func.c: New file.
8911 * libc/search/hash_log2.c: New file.
8912 * libc/search/hash_page.c: New file.
8913 * libc/search/hcreate.3: New file.
8914 * libc/search/hcreate.c: New file.
a7b23a8f
TF
8915 * libc/search/hcreate_r.c: New file.
8916 * libc/search/ndbm.c: New file.
8917 * libc/search/page.h: New file.
8918 * libc/search/tdelete.c: New file.
8919 * libc/search/tdestroy.c: New file.
8920 * libc/search/tfind.c: New file.
8921 * libc/search/tsearch.3: New file.
8922 * libc/search/tsearch.c: New file.
8923 * libc/search/twalk.c: New file.
8924 * libc/include/db.h: New file.
8925 * libc/include/ndbm.h: New file.
8926 * libc/include/search.h: New file.
8927 * libc/include/sys/queue.h: New file.
8928 * libc/include/sys/cdefs.h: New file.
8929 * libc/include/sys/param.h
8930 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
8931 LITTLE_ENDIAN or BIG_ENDIAN.
8932 * libc/include/sys/errno.h (EFTYPE): New macro.
8933 * libc/search/bsearch.c: Move from libc/stdlib.
8934 * libc/search/qsort.c: Likewise.
8935 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
8936 qsort.c.
8937 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
8938 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
8939
ef467338
JJ
89402002-06-19 Jeff Johnston <jjohnstn@redhat.com>
8941
ba3ccd63
EB
8942 * libc/sys/linux/Makefile.am: Add support for message queue routines,
8943 ipc routines, and ftok.
8944 * libc/sys/linux/Makefile.in: Regenerated.
8945 * libc/sys/linux/ftok.c: New file.
8946 * libc/sys/linux/ipc.c: Ditto.
8947 * libc/sys/linux/mq_close.c: Ditto.
8948 * libc/sys/linux/mq_getattr.c: Ditto.
8949 * libc/sys/linux/mq_notify.c: Ditto.
8950 * libc/sys/linux/mq_open.c: Ditto.
8951 * libc/sys/linux/mq_receive.c: Ditto.
8952 * libc/sys/linux/mq_send.c: Ditto.
8953 * libc/sys/linux/mq_setattr.c: Ditto.
8954 * libc/sys/linux/mq_unlink.c: Ditto.
8955 * libc/sys/linux/mqlocal.h: Ditto.
8956 * libc/sys/linux/include/mqueue.h: Ditto.
8957 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
8958 __uid_t_defined.
ef467338 8959
7f55c08c
TF
89602002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
8961
8962 * libm/common/sf_lround.c (round): Change name to: (lround).
8963 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
8964 remquof.
8965
c9ca68d7
TF
89662002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8967
8968 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
8969 procedure.
8970 (newlib_pass_fail): Change to compile and run only one file.
8971 * testsuite/newlib.locale/locale.exp: Use new
8972 newlib_pass_fail_all procedure.
8973 * testsuite/newlib.string/string.exp: Likewise.
8974
4ecedd09
DB
89752002-06-18 Dave Brolley <brolley@redhat.com>
8976
8977 From Catherine Moore, Michael Meissner, Richard Sandiford:
8978 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
8979 (_JBTYPE): Ditto.
8980 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
8981 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
8982 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
8983 * configure.host: Support frv-*-*.
8984 * libc/machine/frv/Makefile.am: New file.
8985 * libc/machine/frv/configure.in: New file.
8986 * libc/machine/frv/setjmp.S: New file.
8987
af1c257a
TF
89882002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8989
8990 * libc/include/ctype.h: Remove isblank macro.
8991
8992 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
8993 * libc/ctype/isblank.c: New file.
8994 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
8995 declaration. Add isblank macro.
8996
4e04fa90
JJ
89972002-06-18 Jeff Johnston <jjohnstn@redhat.com>
8998
ba3ccd63
EB
8999 * testsuite/newlib.stdlib/atexit.c: New file.
9000 * testsuite/newlib.stdlib/atexit.exp: Ditto.
9001 * testsuite/newlib.string/tstring.c: Change default start size
9002 to something more reasonable for embedded platforms.
4e04fa90 9003
b56d7e79
TF
90042002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
9005
ece3c72f
TF
9006 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
9007
b56d7e79
TF
9008 * libc/argz: New directory.
9009 * libc/argz/*: New files.
9010 * libc/argz/argz_add.c: New file.
9011 * libc/argz/argz_add_sep.c: New file.
9012 * libc/argz/argz_append.c: New file.
9013 * libc/argz/argz_count.c: New file.
9014 * libc/argz/argz_create.c: New file.
9015 * libc/argz/argz_create_sep.c: New file.
9016 * libc/argz/argz_delete.c: New file.
9017 * libc/argz/argz_extract.c: New file.
9018 * libc/argz/argz_insert.c: New file.
9019 * libc/argz/argz_next.c: New file.
9020 * libc/argz/argz_replace.c: New file.
9021 * libc/argz/argz_stringify.c: New file.
9022 * libc/argz/buf_findstr.c: New file.
9023 * libc/argz/envz_add.c: New file.
9024 * libc/argz/envz_entry.c: New file.
9025 * libc/argz/envz_get.c: New file.
9026 * libc/argz/envz_merge.c: New file.
9027 * libc/argz/envz_remove.c: New file.
9028 * libc/argz/envz_strip.c: New file.
9029 * libc/include/argz.h: New file.
9030 * libc/include/envz.h: New file.
9031 * Makefile.am (LIBC_OBJECTLISTS): Add
9032 libc/argz/objectlist.awk.in.
9033 * libc/Makefile.am (SUBDIRS): Add argz.
9034 (SUBLIBS): Add argz/libargz.la.
9035 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
9036 * libc/include/errno.h: Add error_t typedef.
9037
d062d3dd
JJ
90382002-06-13 Jeff Johnston <jjohnstn@redhat.com>
9039
9040 * libc/include/stdlib.h: Add _Exit prototype.
9041 * libc/stdlib/Makefile.am: Add _Exit.c support.
9042 * libc/stdlib/Makefile.in: Ditto.
9043 * libc/stdlib/_Exit.c: New file.
9044
a47e66ae
JJ
90452002-06-13 Stephen L. Moshier <steve@moshier.net>
9046
9047 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
9048 x is close to -1.0 and y is very large to use ax (absolute value)
9049 instead of x.
9050 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
9051
13f7d71f
JR
9052Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
9053
9054 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
9055 Fix clobbering bytes before destination if src and dst have same
9056 non-zero misalignment.
1f1fb421
JR
9057
9058 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
9059 Fixed bug in writing end of set region.
9060
b2e8018f
CF
90612002-06-10 Christopher Faylor <cgf@redhat.com>
9062
9063 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
9064 spawnve declaration.
9065
0953fe64
TF
90662002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
9067
9068 * libm/common/s_fdim.c: New file.
9069 * libm/common/s_fma.c: Likewise.
9070 * libm/common/s_fmax.c: Likewise.
9071 * libm/common/s_fmin.c: Likewise.
9072 * libm/common/s_fpclassify.c: Likewise.
9073 * libm/common/s_lrint.c: Likewise.
9074 * libm/common/s_lround.c: Likewise.
9075 * libm/common/s_nearbyint.c: Likewise.
9076 * libm/common/s_remquo.c: Likewise.
9077 * libm/common/s_round.c: Likewise.
9078 * libm/common/s_scalbln.c: Likewise.
9079 * libm/common/s_signbit.c: Likewise.
9080 * libm/common/s_trunc.c: Likewise.
9081 * libm/common/sf_fdim.c: Likewise.
9082 * libm/common/sf_fma.c: Likewise.
9083 * libm/common/sf_fmax.c: Likewise.
9084 * libm/common/sf_fmin.c: Likewise.
9085 * libm/common/sf_lrint.c: Likewise.
9086 * libm/common/sf_lround.c: Likewise.
9087 * libm/common/sf_nearbyint.c: Likewise.
9088 * libm/common/sf_remquo.c: Likewise.
9089 * libm/common/sf_round.c: Likewise.
9090 * libm/common/sf_scalbln.c: Likewise.
9091 * libm/common/sf_trunc.c: Likewise.
9092 * libm/math/w_exp2.c: Likewise.
9093 * libm/math/w_tgamma.c: Likewise.
9094 * libm/math/wf_exp2.c: Likewise.
9095 * libm/math/wf_tgamma.c: Likewise.
9096 * libm/mathfp/s_exp2.c: Likewise.
9097 * libm/mathfp/s_tgamma.c: Likewise.
9098 * libm/mathfp/sf_exp2.c: Likewise.
9099 * libm/mathfp/sf_tgamma.c: Likewise.
9100 * libm/math/er_gamma.c: Fix return value.
9101 * libm/math/erf_gamma.c: Likewise.
9102 * libm/mathfp/er_gamma.c: Likewise.
9103 * libm/mathfp/erf_gamma.c: Likewise.
9104 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
9105 declarations and macros.
9106 Regenerated all Makefile.in, aclocal.m4 and configure files to
9107 use new libtool macros in top-level libtool.m4
9108
39e65e01
JJ
91092002-06-05 Jeff Johnston <jjohnstn@redhat.com>
9110
ba3ccd63
EB
9111 * libc/include/string.h[__linux__]: Add strsignal prototype.
9112 * libc/include/sys/lock.h: New file with default locking support.
9113 * libc/include/sys/reent.h: Add signal buffer support for strsignal
9114 and psignal.
9115 * libc/posix/Makefile.am: Add support for readdir_r.c.
9116 * libc/posix/Makefile.in: Regenerated.
9117 * libc/posix/closedir.c: Add locking support and hash table cleanup.
9118 * libc/posix/opendir.c: Add lock support.
9119 * libc/posix/readdir.c: Ditto.
9120 * libc/posix/rewinddir.c: Ditto.
9121 * libc/posix/scandir.c: Ditto.
9122 * libc/posix/seekdir.c: Ditto.
9123 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
9124 clean up leftover hash table entries.
9125 * libc/posix/readdir_r.c: New file.
9126 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
9127 * libc/sys/linux/Makefile.in: Regenerated.
9128 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
9129 * libc/sys/linux/sys/signal.h: Add psignal prototype.
9130 * libc/sys/linux/psignal.c: New file.
9131 * libc/sys/linux/strsignal.c: Ditto.
39e65e01 9132
cc890e89
CV
91332002-06-03 Corinna Vinschen <corinna@vinschen.de>
9134
9135 * libc/include/sys/types.h: Don't define dev_t when compiling for
9136 Cygwin.
9137
ea55e3f7
JJ
91382002-05-31 Jeff Johnston <jjohnstn@redhat.com>
9139
ba3ccd63
EB
9140 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
9141 make siglist.inc dependent on sig.c instead of signal.c.
9142 * libc/sys/linux/Makefile.in: Regenerated.
9143 * libc/sys/linux/sig.c: Rename from signal.c and change code to
9144 use NSIG instead of _NSIG.
9145 * libc/sys/linux/sigaction.c: New file.
9146 * libc/sys/linux/signal.c: Changed to be linux signal() function
9147 so as to override regular newlib default signal.c.
9148 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
9149 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9150 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
9151 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
9152 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
9153 default linux sigset_t typedef by defining it equal to __sigset_t.
9154 * libc/unix/sigset.c: Add check so code isn't compiled on systems
9155 with a sigset_t that isn't implemented with a single int.
ea55e3f7 9156
9d362914
JJ
91572002-05-30 Jeff Johnston <jjohnstn@redhat.com>
9158
ba3ccd63
EB
9159 * libc/sys/linux/Makefile.am: Add support for new files.
9160 * libc/sys/linux/Makefile.in: Regenerated.
9161 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
9162 * libc/sys/linux/signal.c: Change to use real-time syscalls for
9163 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
9164 it is in a separate file now.
9165 * libc/sys/linux/machine/i386/Makefile.am
9166 * libc/sys/linux/machine/i386/Makefile.in
9167 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
9168 * libc/sys/linux/sigaction.c: New file.
9169 * libc/sys/linux/sigqueue.c: Ditto.
9170 * libc/sys/linux/sigwait.c: Ditto.
9171 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
9172 * libc/sys/linux/kernel_sigaction.h: Ditto.
9d362914 9173
b1f07180
JJ
91742002-05-28 Jeff Johnston <jjohnstn@redhat.com>
9175
ba3ccd63
EB
9176 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
9177 tcsendbrk.c.
9178 * libc/sys/linux/Makefile.in: Regenerated.
9179 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
9180 tcgetpgrp(), and tcsetpgrp() functions.
9181 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
9182 to get __MAX_BAUD rate.
9183 * libc/sys/linux/machine/i386/include/termios.h: New file.
9184 * libc/include/machine/termios.h: Ditto.
9185 * libc/sys/linux/cfspeed.c: Ditto.
9186 * libc/sys/linux/tcsendbrk.c: Ditto.
b1f07180 9187
d29587b4
JJ
91882002-05-24 Jeff Johnston <jjohnstn@redhat.com>
9189
ba3ccd63
EB
9190 * libc/include/string.h: Add strnlen and strerror_r prototypes.
9191 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
9192 * libc/string/Makefile.in: Regenerated.
9193 * libc/string/strerror_r.c: New file.
9194 * libc/string/strnlen.c: New file.
9195 * libc/sys/linux/Makefile.am: Add rename.c.
9196 * libc/sys/linux/Makefile.in: Regenerated.
9197 * libc/sys/linux/rename.c: New file to override default rename.
d29587b4 9198
9a292385
TF
91992002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9200
9201 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
9202 * libc/sys/linux/sys/time.h: Add conversion macros.
9203 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
9204 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
9205 * libc/sys/linux/gethostname.c: New file.
9206 * libc/sys/linux/seteuid.c: New file.
9207 * libc/sys/linux/sysctl.c: New file.
17c0c97d 9208
7a364eb3
JJ
92092002-05-23 Jeff Johnston <jjohnstn@redhat.com>
9210
ba3ccd63
EB
9211 * libc/string/Makefile.am: Add support for strsep.c.
9212 * libc/string/Makefile.in: Regenerated.
9213 * libc/string/strsep.c: New file.
9214 * libc/string/strtok.c: Change to call __strtok_r service routine.
9215 * libc/string/strtok_r.c: Add __strtok_r routine which takes
9216 additional flag parameter regarding whether to skip leading delimeters.
9217 Change strtok_r to call __strtok_r.
7a364eb3 9218
164ee5b0
JJ
92192002-05-23 Gareth Pearce <tilps@hotmail.com>
9220
ba3ccd63
EB
9221 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
9222 * libc/stdio/Makefile.in: Regenerated.
9223 * libc/stdio/setbuffer.c: New file.
9224 * libc/stdio/setlinebuf.c: New file.
164ee5b0 9225
f6b2b567
JJ
92262002-05-23 Jeff Johnston <jjohnstn@redhat.com>
9227
ba3ccd63
EB
9228 * libc/sys/linux/Makefile.am: Add resource.c.
9229 * libc/sys/linux/Makefile.in: Regenerated.
9230 * libc/sys/linux/resource.c: New file.
9231 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
9232 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
9233 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9234 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
9235 are now found in libc/sys/linux/resource.c.
f6b2b567 9236
afe56517
JJ
92372002-05-23 Jeff Johnston <jjohnstn@redhat.com>
9238
ba3ccd63
EB
9239 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
9240 to use void * pointers and comply with Single Unix spec.
9241 * libc/string/bcmp.c: Change to use void * instead of char *.
9242 * libc/string/bcopy.c: Ditto.
9243 * libc/string/bzero.c: Ditto.
afe56517 9244
7736feb2
JJ
92452002-05-22 Jeff Johnston <jjohnstn@redhat.com>
9246
9247 * libc/sys/linux/shm_open.c: New file.
9248 * libc/sys/linux/shm_unlink.c: Ditto.
9249 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
9250 shm_unlink.c.
9251 * libc/sys/linux/Makefile.in: Regenerated.
9252 * libc/sys/linux/sys/types.h: Add some additional checks to see
9253 if clock_t or time_t is already defined.
9254
19f111bd
JJ
92552002-05-22 Jeff Johnston <jjohnstn@redhat.com>
9256
ba3ccd63
EB
9257 * Makefile.am: Don't pass $toollibdir down directly in
9258 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
9259 Pass it under the name: top_toollibdir.
9260 * Makefile.in: Regenerated.
19f111bd 9261
c811b1ee
CV
92622002-05-22 Corinna Vinschen <vinschen@redhat.com>
9263
9264 * libc/include/sys/types.h: Revert previous patch.
9265
2b43ad33
CV
92662002-05-22 Corinna Vinschen <vinschen@redhat.com>
9267
9268 * libc/include/sys/types.h: Include cygwin/types.h always under
9269 Cygwin, not only if _POSIX_THREADS is defined.
9270
dd671cde
TF
92712002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
9272
9273 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
9274
5e2cbfb6
JJ
92752002-05-17 Jeff Johnston <jjohnstn@redhat.com>
9276
9277 * Makefile.am: Copy and install headers from sys/machine/include
9278 directory. Also pass $toollibdir to lower-level directories.
9279 * Makefile.in: Regenerated.
17c0c97d 9280 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
5e2cbfb6
JJ
9281 stderr to use _REENT macro instead of _impure_ptr directly.
9282 * libc/include/sys/config.h[__i386__][__linux__]: Define
9283 __DYNAMIC_REENT__.
17c0c97d 9284 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
5e2cbfb6
JJ
9285 call to __getreent() function if !__SINGLE_THREAD__ and
9286 __DYNAMIC_REENT__ is set.
9287 * libc/reent/Makefile.am: Add support for getreent.c.
9288 * libc/reent/Makefile.in: Regenerated.
9289 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
9290 * libc/sys/linux/Makefile.am: Add support for new files.
9291 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
9292 * libc/sys/linux/Makefile.in: Regenerated.
9293 * libc/sys/linux/configure: Ditto.
9294 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
9295 __close, __read, __write, __poll, __open, __lseek, __fcntl from
9296 their __libc_ counterparts.
9297 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
9298 and weak-alias to regular names.
9299 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
9300 to pread64 and __pread64.
9301 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
9302 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
9303 weak-alias to pwrite64.
9304 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
9305 __libc_sched_getscheduler, __libc_sched_get_priority_max,
9306 __libc_sched_get_priority_min, and __libc_sched_setschedule to
17c0c97d 9307 name with __ instead of __libc_.
5e2cbfb6
JJ
9308 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
9309 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
9310 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
9311 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
9312 to raise.
9313 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
9314 __libc_send to __send.
9315 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
9316 __gettimeofday.
9317 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
9318 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
9319 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
9320 type and typedef __jmp_buf to jmp_buf.
9321 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
9322 setjmp.S.
9323 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9324 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
9325 section.
9326 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
9327 prefix for function macros and then use weak_alias() to regular names.
9328 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9329 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
9330 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
9331 to be flockfile() and funlockfile() respectively.
9332 * libc/sys/linux/sys/types.h
9333 * libc/reent/getreent.c: New file.
9334 * libc/sys/linux/flockfile.c: Ditto.
9335 * libc/sys/linux/funlockfile.c: Ditto.
9336 * libc/sys/linux/getreent.c: Ditto.
9337 * libc/sys/linux/pread.c: Ditto.
9338 * libc/sys/linux/pwrite.c: Ditto.
9339 * libc/sys/linux/raise.c: Ditto.
9340 * libc/sys/linux/system.c: Ditto.
9341 * libc/sys/linux/tcdrain.c: Ditto.
9342 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
9343 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
9344 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
9345 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
9346 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
9347
7fc85bd1
TF
93482002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
9349
9350 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
9351 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
9352 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
9353 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
9354
6935231f 9355Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
d7a2f413
JR
9356
9357 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6935231f
JR
9358 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
9359 exit point.
d7a2f413 9360
3a6cb01b
TF
93612002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
9362
a68fa571
TF
9363 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
9364 options when testing natively on i[3456]86-*-linux.
9365
3a6cb01b
TF
9366 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
9367 only one pass or fail per test file. Trim \r's from output
9368 values received from test programs. Remove support for named
9369 tests.
9370 * testsuite/newlib.locale/UTF-8.exp: Update to support new
9371 newlib_check_output behaviour.
9372 * testsuite/newlib.locale/UTF-8.c: Likewise.
9373
dc824ef7
JJ
93742002-05-15 Jeff Johnston <jjohnstn@redhat.com>
9375
ba3ccd63
EB
9376 * libc/include/stdlib.h: Add on_exit prototype.
9377 * libc/include/sys/reent.h (struct _atexit): Add argument array
9378 and bits to track type of exit routine to support both on_exit
9379 and atexit.
9380 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
9381 by default and change the setting of the atexit structure.
9382 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
9383 * libc/stdlib/on_exit.c: New file.
9384 * libc/stdlib/Makefile.am: Add support for on_exit.
9385 * libc/stdlib/Makefile.in: Regenerated.
9386 * libc/stdlib/atexit.c: Change to initialize types field.
9387 * libc/stdlib/exit.c: Change to look at types field for each
9388 exit routine and either call an atexit-style or an on_exit-style
9389 routine accordingly.
dc824ef7 9390
48d91b4a
JJ
93912002-05-13 Jeff Johnston <jjohnstn@redhat.com>
9392
ba3ccd63
EB
9393 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
9394 allow v specifier with n or L specifiers. For vector c format,
9395 move tmp declaration to the top.
48d91b4a 9396
024739eb
JJ
93972002-05-13 Jeff Johnston <jjohnstn@redhat.com>
9398
ba3ccd63
EB
9399 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
9400 the original format specifier when looping for vectors to compensate
9401 for any changes made in vector %g format processing.
9402 Also add syntax checking for various invalid scenarios
9403 involving vector format extensions.
9404 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
9405 return code setting for vector formats. Also treat vector
9406 separator mismatch as a match error instead of an input error.
9407 Perform some syntax checking for vector formats.
024739eb 9408
7d2ce898
TF
94092002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9410
9411 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
9412 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
9413 * libc/string/strlcat.c: New file.
9414 * libc/string/strlcpy.c: New file.
9415
809b6ce7
JJ
94162002-05-10 Jeff Johnston <jjohnstn@redhat.com>
9417
9418 * libc/string/strchr.c: Fix comment typo.
9419
76490806
TF
94202002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
9421
0c048a9a
TF
9422 * acinclude.m4: Add support for --enable-newlib-multithread.
9423 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
9424 --enable-newlib-multithread=no.
9425
76490806
TF
9426 * libc/stdio/getc_u.c: New file.
9427 * libc/stdio/getchar_u.c: New file.
9428 * libc/stdio/putc_u.c: New file.
9429 * libc/stdio/putchar_u.c: New file.
9430 * libc/include/stdio.h: Add declarations for getc_unlocked,
9431 getchar_unlocked, putc_unlocked and putchar_unlocked.
9432 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
9433 (CHEWOUT_FILES): Add new files' .def's.
9434 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
9435
96bff22c
JR
9436Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
9437
9438 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
9439 Also handle as single quad word when destination ends at last
9440 byte of first quad word. Fix byte selection in single quad code.
9441
e71372fa
TF
94422002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
9443
9444 * libc/include/sys/stdio.h: New file.
9445 * libc/sys/linux/sys/stdio.h: New file.
9446 * libc/include/stdio.h: Add declarations for flockfile,
9447 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
9448 * libc/stdio/clearerr.c: Add file locking.
9449 * libc/stdio/fclose.c: Likewise.
9450 * libc/stdio/feof.c: Likewise.
9451 * libc/stdio/ferror.c: Likewise.
9452 * libc/stdio/fflush.c: Likewise.
9453 * libc/stdio/fgetc.c: Likewise.
9454 * libc/stdio/fgetpos.c: Likewise.
9455 * libc/stdio/fgets.c: Likewise.
9456 * libc/stdio/fileno.c: Likewise.
9457 * libc/stdio/fputc.c: Likewise.
9458 * libc/stdio/fputs.c: Likewise.
9459 * libc/stdio/fread.c: Likewise.
9460 * libc/stdio/freopen.c: Likewise.
9461 * libc/stdio/fseek.c: Likewise.
9462 * libc/stdio/ftell.c: Likewise.
9463 * libc/stdio/fwrite.c: Likewise.
9464 * libc/stdio/getc.c: Likewise.
9465 * libc/stdio/putc.c: Likewise.
9466 * libc/stdio/setvbuf.c: Likewise.
9467 * libc/stdio/ungetc.c: Likewise.
9468 * libc/stdio/vfprintf.c: Likewise.
9469
a03790e4
JJ
94702002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9471
60b2107c
TF
9472 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
9473 support for 'p' format. Fix code to print bytes for vector
9474 integer formats that do not specify 'h' or 'l'.
9475 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
9476 for 'p' specifier. Fix code to scan 16 bytes for vector integer
9477 formats that do not specify 'h' or 'l'.
9478
9479 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
9480
9c7d6a9d
TF
94812002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
9482
9483 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
9484 (_sbrk): Add cast of return value.
9485
c33c3635
JJ
94862002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9487
9488 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
9489 (_REENT_L64A_BUF): New macro for accessing area.
9490 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
9491 * libc/stdlib/Makefile.in: Regenerated.
9492 * libc/stdlib/a64l.c: New file.
9493 * libc/stdlib/l64a.c: New file.
9494
f78e59a8
JJ
94952002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9496
ba3ccd63
EB
9497 * libc/unix/pread.c: Fix typo for _pread_r.
9498 * libc/unix/pwrite.c: Fix type for _pwrite_r.
9499 * libc/sys/linux/pread64.c: Fix typo for read syscall.
9500 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
f78e59a8 9501
4b3f6588
CF
95022002-05-03 Christopher Faylor <cgf@redhat.com>
9503
9504 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
9505
e911832c
TF
95062002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
9507
9508 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
9509
0d0fdc8d
CF
95102002-05-01 Christopher Faylor <cgf@redhat.com>
9511
9512 * utmp.h: Define more UNIX constants.
9513
1e997c56
TF
95142002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
9515
0717f01c
TF
9516 * Makefile.am: Add support for checking multilibs.
9517
09841445
TF
9518 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
9519 (SUBDEFS): Add LIBC_EXTRA_DEF.
9520 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
9521 (LIBC_EXTRA_DEF): Likewise.
9522 (extra_dir): Likewise.
9523 * libc/machine/xscale/machine: New directory.
9524 * libc/machine/xscale/machine/profile.h: New file.
9525
1e997c56
TF
9526 * Makefile.am (site.exp): Remove newlib_cflags. Add
9527 multibuildtop.
9528 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
9529 * testsuite/lib/flags.exp: New file.
9530 * testsuite/lib/newlib.exp: Load flags.exp.
9531 (newlib_target_compile): Remove libgloss directory references.
9532 (newlib_init): Remove newlib_cflags references.
9533
4cf4f010
TF
95342002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
9535
f6bdb6f9
TF
9536 * testsuite/lib/newlib.exp (newlib_target_compile): Change
9537 method of finding libgloss_target_dir.
9538
4cf4f010
TF
9539 * Makefile.am (site.exp): Change host_alias, host_triplet,
9540 target_alias, target_triplet to refer to gcc's host and target
9541 variables (newlib's build and host variables).
9542 * testsuite/lib/newlib.exp (newlib_init): Change build
9543 references to host references, host references to target
9544 references to reflect Makefile.am changes.
9545 (newlib_target_compile): Likewise.
9546 (newlib_finish): Likewise.
9547
83096ae8
JJ
95482002-04-29 Jeff Johnston <jjohnstn@redhat.com>
9549
9550 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
9551
822afa53
JL
95522002-04-29 Jonathan Larmour <jlarmour@redhat.com>
9553
9554 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
9555 (_system): New function. Ditto.
9556 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
9557 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
9558 targets.
9559
29798f0d
JJ
95602002-04-29 Jeff Johnston <jjohnstn@redhat.com>
9561
ba3ccd63
EB
9562 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
9563 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
9564 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
9565 * libc/sys/linux/Makefile.in: Regenerated.
9566 * libc/unix/Makefile.in: Ditto.
9567 * libc/sys/linux/pread64.c: New file.
9568 * libc/sys/linux/pwrite64.c: Ditto.
9569 * libc/unix/pread.c: Ditto.
9570 * libc/unix/pwrite.c: Ditto.
29798f0d 9571
557856bd
JJ
95722002-04-26 Jeff Johnston <jjohnstn@redhat.com>
9573
9574 * libc/sys/linux/Makefile.am: Add io64.c.
9575 * libc/sys/linux/Makefile.in: Regenerated.
9576 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
17c0c97d 9577 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
557856bd
JJ
9578 * libc/sys/linux/io64.c: New file.
9579
7b2b12d5
JJ
95802002-04-26 Jeff Johnston <jjohnstn@redhat.com>
9581
9582 * configure.in (CC_FOR_NEWLIB): New variable that
9583 bases on $(CC) and adds targ-include and libc/include as
9584 -isystem directives if they are not already part of $(CC).
9585 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
9586 $(CC_FOR_NEWLIB).
9587 * configure: Regenerated.
9588 * Makefile.in: Ditto.
9589
c62adacc
JJ
95902002-04-25 Jeff Johnston <jjohnstn@redhat.com>
9591
9592 * libc/sys/linux/Makefile.am: Add support for sched.c.
9593 * libc/sys/linux/Makefile.in: Regenerated.
9594 * libc/sys/linux/sched.c: New file.
9595 * libc/sys/linux/sys/types.h: Add struct timespec.
9596
217ad4a0
TF
95972002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
9598
9599 * configure.in (CC_FOR_BUILD): Set to gcc whether
9600 cross-compiling or not.
9601 (CC): Add -isystem's for targ-include and libc/include when they
9602 do not already appear in CC.
9603
eaa75b70
TF
96042002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9605
9606 * Makefile.am (check-DEJAGNU): New target.
9607 (site.exp): Likewise.
9608 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
9609 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
9610 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
9611 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
9612 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
9613 * testsuite: New directory.
9614 * testsuite/config: Likewise.
9615 * testsuite/lib: Likewise.
9616 * testsuite/newlib.locale: Likewise.
9617 * testsuite/newlib.string: Likewise.
9618 * testsuite/config/default.exp: New file.
9619 * testsuite/lib/checkoutput.exp: New file.
9620 * testsuite/lib/newlib.exp: New file.
9621 * testsuite/lib/passfail.exp: New file.
9622 * testsuite/newlib.locale/UTF-8.c: New file.
9623 * testsuite/newlib.locale/UTF-8.exp: New file.
9624 * testsuite/newlib.locale/locale.exp: New file.
9625 * testsuite/newlib.string/string.exp: New file.
9626 * testsuite/newlib.string/tstring.c: New file.
9627
b9f9f699
JJ
96282002-04-23 Jeff Johnston <jjohnstn@redhat.com>
9629
ba3ccd63
EB
9630 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
9631 * libc/sys/linux/Makefile.am: Add support for mmap.c.
9632 * libc/sys/linux/Makefile.in: Regenerated.
9633 * libc/sys/linux/mmap.c: New file.
9634 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
9635 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
b9f9f699 9636
7394edbb
TF
96372002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
9638
9639 * acinclude.m4 (newlib_cflags): Remove include directories that
9640 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
9641
b9f9f699 96422002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
59be2290
JJ
9643
9644 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
9645 * libc/machine/xscale/memcmp.c: Ditto.
9646 * libc/machine/xscale/memcpy.c: Ditto.
9647 * libc/machine/xscale/memmove.c: Ditto.
9648 * libc/machine/xscale/memset.c: Ditto.
9649 * libc/machine/xscale/strchr.c: Ditto.
9650 * libc/machine/xscale/strcmp.c: Ditto.
9651 * libc/machine/xscale/strcpy.c: Ditto.
9652 * libc/machine/xscale/strlen.c: Ditto.
9653
2dd4c4dc
JJ
96542002-04-19 Alexandre Oliva <aoliva@redhat.com>
9655
ba3ccd63
EB
9656 * libc/include/sys/config.h: Remove include of <limits.h>.
9657 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
9658 define INT_MAX and LONG_MAX. Use them in tests.
2dd4c4dc 9659
0d844014
JJ
96602002-04-19 Jeff Johnston <jjohnstn@redhat.com>
9661
9662 * configure.host: Add support for powerpc-eabialtivec*.
9663 * libc/include/malloc.h: Add include of <machine/malloc.h>.
9664 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
9665 * libc/include/machine/malloc.h: New file.
9666 * libc/include/machine/stdlib.h: Ditto.
9667 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
9668 * libc/machine/powerpc/Makefile.am: Add conditional objects and
9669 sources based on configuration.
9670 * libc/machine/powerpc/Makefile.in: Regenerated.
9671 * libc/machine/powerpc/configure: Ditto.
9672 * libc/machine/powerpc/configure.in: Add check for
9673 powerpc-eabialtivec* in which case add in additional source files.
9674 * libc/machine/powerpc/setjmp.S: Add altivec support.
9675 * libc/machine/powerpc/vec_calloc.c: New file.
9676 * libc/machine/powerpc/vec_free.c: Ditto.
9677 * libc/machine/powerpc/vec_malloc.c: Ditto.
9678 * libc/machine/powerpc/vec_mallocr.c: Ditto.
9679 * libc/machine/powerpc/vec_realloc.c: Ditto.
9680 * libc/machine/powerpc/machine/malloc.h: Ditto.
9681 * libc/machine/powerpc/machine/stdlib.h: Ditto.
9682 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
9683 with added altivec format specifiers.
9684 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
9685 added altivec format specifiers.
9686
d413aadc
JS
96872002-04-19 Joel Sherrill <joel@OARcorp.com>
9688
9689 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
9690 while autoconf is trying to link main(){}.
9691
27193895
JJ
96922002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9693
ba3ccd63
EB
9694 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
9695 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
27193895 9696
10d00216
JJ
96972002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9698
6b0f808e
JJ
9699 * libc/time/time.tex: Add tzset info.
9700
97012002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9702
9703 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
9704 (strptime): Moved prototype to be within !__STRICT_ANSI__.
9705 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
9706 (tzname): Defined for all platforms.
9707 (daylight, timezone): Defined only for CYGWIN.
9708 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
9709 environment set up.
9710 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
9711 environment variable is set.
9712 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
9713 tzset_r.c.
9714 * libc/time/Makefile.in: Regenerated.
9715 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
9716 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
9717 * libc/time/lcltime_r.c (lcltime_r): Ditto.
9718 * libc/time/local.h: New local header file.
9719 * libc/time/mktime.c (mktime): Add timezone support.
9720 * libc/time/mktm_r.c: New file which is the common engine
9721 for gmtime_r and lcltime_r. This code has timezone support.
9722 * libc/time/strftime.c (strftime): Add %Z timezone support.
9723 * libc/time/tzlock.c: New file containing timezone lock stubs.
9724 * libc/time/tzset.c: New file containing tzset() routine.
9725 * libc/time/tzset_r.c: New file containing _tzset_r and
9726 internal routine for calculating timezone changes for specified year.
9727
97282002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9729
9730 * configure.in (CRT0_DIR): Set to libc/.
9731 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
9732 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
9733 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
9734 $(CRT1_DIR)/$(CRT1).
9735 * libc/machine/xstormy16/Makefile.in: Regenerated.
9736 * libc/machine/xstormy16/aclocal.m4: Regenerated.
9737 * libc/machine/xstormy16/configure: Regenerated.
9738
97392002-04-13 Alexandre Oliva <aoliva@redhat.com>
9740
9741 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
9742 fails, don't bail out, and try to correct next time.
9743
9744 * libc/include/sys/config.h: Include limits.h.
9745
97462002-04-12 Eric Norum <eric.norum@usask.com>
9747
9748 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
9749 routine to allow autoconf to determine that building executables
9750 for rtems works.
9751 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
9752 (rtems_gxx_mutex_once): Ditto.
9753
97542002-04-09 Tom Rix <trix@redhat.com>
9755
9756 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
9757
97582002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9759
ba3ccd63
EB
9760 * libc/include/time.h: Fix strptime declaration.
9761 * libc/time/Makefile.am: Add strptime.c.
6b0f808e 9762 * libc/time/Makefile.in: Regenerated.
ba3ccd63 9763 * libc/time/strptime.c: New file.
6b0f808e
JJ
9764
97652002-04-08 Jeff Johnston <jjohnstn@redhat.com>
9766
9767 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
9768 siglongjmp prototype, and sigsetjmp macro definition.
9769 * libc/sys/linux/siglongjmp.c: New file.
9770 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
9771 * libc/sys/linux/Makefile.in: Regenerated.
9772
97732002-04-04 Jeff Johnston <jjohnstn@redhat.com>
9774
9775 * Makefile.am: Add support for installing crt1.o if one exists.
9776 * configure.host: Specify crt1.o for linux.
9777 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
9778 * Makefile.in: Regenerated.
9779 * configure: Ditto.
9780 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
9781 Added for non-Cygwin, non-RTEMS configurations.
9782 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
9783 * libc/sys/linux/Makefile.in: Regenerated.
9784 * libc/sys/linux/crt1.c: New empty file to override one defaulted
9785 by gcc. This fixes problem with reconfiguring linux newlib build.
9786 * libc/sys/linux/sysconf.c: New file.
9787
97882002-04-03 Jeff Johnston <jjohnstn@redhat.com>
9789
9790 * configure.host: Add support for machine subdirectory of
9791 sys subdirectory.
9792 * configure.in: Add check for sys machine subdirectory.
9793 * Makefile.am: Ditto.
9794 * configure: Regenerated.
9795 * Makefile.in: Ditto.
9796 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
9797 * libc/sys/linux/sys/syscall.h: Ditto.
9798 * libc/sys/linux/sleep.c: New file.
9799 * libc/sys/linux/socket.c: Ditto.
9800 * libc/sys/linux/sockops.h: Ditto.
9801 * libc/sys/linux/stack.c: Ditto.
9802 * libc/sys/linux/usleep.c: Ditto.
9803 * libc/sys/linux/machine/Makefile.am: Ditto.
9804 * libc/sys/linux/machine/Makefile.in: Ditto.
9805 * libc/sys/linux/machine/aclocal.m4: Ditto.
9806 * libc/sys/linux/machine/configure: Ditto.
9807 * libc/sys/linux/machine/configure.in: Ditto.
9808 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
9809 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
9810 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
9811 * libc/sys/linux/machine/i386/configure: Ditto.
9812 * libc/sys/linux/machine/i386/configure.in: Ditto.
9813 * libc/sys/linux/machine/i386/crt0.c: Ditto.
9814 * libc/sys/linux/machine/i386/sigset.c: Ditto.
9815 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
9816 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
9817 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9818 * libc/sys/linux/sys/select.h: Ditto.
9819 * libc/sys/linux/configure.in: Add support for machine directory.
9820 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
9821 * libc/sys/linux/Makefile.in: Regenerated.
9822 * libc/sys/linux/configure: Ditto.
9823 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
9824 * libc/sys/linux/inode.c: Ditto.
9825 * libc/sys/linux/linux.c: Ditto.
9826 * libc/sys/linux/process.c: Ditto.
9827 * libc/sys/linux/systat.c: Ditto.
9828 * libc/sys/linux/time.c: Ditto.
9829 * libc/sys/linux/wait.c: Ditto.
9830 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
9831 * libc/sys/linux/io.c: Change header plus add readv/writev.
9832 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
9833 use __sigsuspend syscall.
9834 * libc/sys/linux/select.c: Change header plus change select to
9835 use _newselect syscall.
9836 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
9837 used by glibc header files.
9838 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
9839 types.
9840
98412002-04-01 Jeff Johnston <jjohnstn@redhat.com>
9842
9843 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
9844 initializing a struct _reent that has been dynamically allocated.
9845 (_REENT_CHECK_MISC): New macro that checks _misc struct for
9846 _REENT_SMALL and does nothing otherwise.
9847 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
9848 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
9849 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
9850 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
9851 [_REENT_SMALL](struct _misc_reent): New structure containing
9852 miscellaneous reentrant areas needed by newlib.
9853 [_REENT_SMALL](struct _reent): Add _misc pointer.
9854 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
9855 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
9856 and _REENT_STRTOK_LAST macros.
9857 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
9858 and _REENT_MBLEN_STATE macros.
9859 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
9860 and _REENT_MBTOWC_STATE macros.
9861 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
9862 and _REENT_WCTOMB_STATE macros.
9863
98642002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
9865
9866 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
9867
9868Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
9869
9870 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
9871
9872Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
9873
9874 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
9875 Store high part of leading bytes too.
9876
98772002-03-22 Richard Sandiford <rsandifo@redhat.com>
9878
9879 * libm/math/ef_hypot.c: Increase scale factor to 68.
9880
98812002-03-13 Alexandre Oliva <aoliva@redhat.com>
9882
9883 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
9884 error.
9885
98862002-03-12 Jeff Johnston <jjohnstn@redhat.com>
9887
ba3ccd63
EB
9888 * libc/sys/go32/access.c: Change license to relaxed license
9889 used in identical file throughout newlib/libgloss.
6b0f808e
JJ
9890
98912002-03-12 Richard Earnshaw <rearnsha@arm.com>
9892
9893 * libc/sys/arm/access.c: New file.
9894 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
9895 * libc/sys/arm/Makefile.in: Regenerate.
9896 * libc/sys/arm/syscalls.c (_stat): New function.
9897
98982002-03-11 Michael Meissner <meissner@redhat.com>
9899
9900 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
9901 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
9902 * libc/machine/mips/Makefile.in: Regenerate.
9903 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
9904 * libc/machine/mips/memset.c: Dito.
9905 * libc/machine/mips/strcmp.c: Dito.
9906 * libc/machine/mips/strlen.c: Dito.
9907 * libc/machine/mips/strncmp.c: Dito.
9908
99092002-03-06 Jeff Johnston <jjohnstn@redhat.com>
9910
9911 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
9912 object so it works for shared library or statici library.
99132002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9914
10d00216
JJ
9915 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
9916 (strptime): Moved prototype to be within !__STRICT_ANSI__.
9917 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
9918 (tzname): Defined for all platforms.
9919 (daylight, timezone): Defined only for CYGWIN.
9920 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
9921 environment set up.
9922 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
9923 environment variable is set.
9924 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
9925 tzset_r.c.
9926 * libc/time/Makefile.in: Regenerated.
9927 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
9928 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
9929 * libc/time/lcltime_r.c (lcltime_r): Ditto.
9930 * libc/time/local.h: New local header file.
9931 * libc/time/mktime.c (mktime): Add timezone support.
9932 * libc/time/mktm_r.c: New file which is the common engine
9933 for gmtime_r and lcltime_r. This code has timezone support.
9934 * libc/time/strftime.c (strftime): Add %Z timezone support.
9935 * libc/time/tzlock.c: New file containing timezone lock stubs.
9936 * libc/time/tzset.c: New file containing tzset() routine.
9937 * libc/time/tzset_r.c: New file containing _tzset_r and
9938 internal routine for calculating timezone changes for specified year.
9939
5f1c13c6
TF
99402002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9941
9942 * configure.in (CRT0_DIR): Set to libc/.
9943 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
9944 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
9945 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
9946 $(CRT1_DIR)/$(CRT1).
9947 * libc/machine/xstormy16/Makefile.in: Regenerated.
9948 * libc/machine/xstormy16/aclocal.m4: Regenerated.
9949 * libc/machine/xstormy16/configure: Regenerated.
9950
0cc261b1
AO
99512002-04-13 Alexandre Oliva <aoliva@redhat.com>
9952
2f3009bd
AO
9953 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
9954 fails, don't bail out, and try to correct next time.
9955
0cc261b1
AO
9956 * libc/include/sys/config.h: Include limits.h.
9957
26116455
JJ
99582002-04-12 Eric Norum <eric.norum@usask.com>
9959
9960 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
9961 routine to allow autoconf to determine that building executables
9962 for rtems works.
9963 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
9964 (rtems_gxx_mutex_once): Ditto.
9965
4608280d
TR
99662002-04-09 Tom Rix <trix@redhat.com>
9967
9968 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
9969
dea7e25c
JJ
99702002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9971
ba3ccd63
EB
9972 * libc/include/time.h: Fix strptime declaration.
9973 * libc/time/Makefile.am: Add strptime.c.
dea7e25c 9974 * libc/time/Makefile.in: Regenerated.
ba3ccd63 9975 * libc/time/strptime.c: New file.
dea7e25c 9976
c5ef1e95
JJ
99772002-04-08 Jeff Johnston <jjohnstn@redhat.com>
9978
9979 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
9980 siglongjmp prototype, and sigsetjmp macro definition.
9981 * libc/sys/linux/siglongjmp.c: New file.
9982 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
9983 * libc/sys/linux/Makefile.in: Regenerated.
9984
6e6cd5bd
JJ
99852002-04-04 Jeff Johnston <jjohnstn@redhat.com>
9986
9987 * Makefile.am: Add support for installing crt1.o if one exists.
9988 * configure.host: Specify crt1.o for linux.
9989 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
9990 * Makefile.in: Regenerated.
9991 * configure: Ditto.
9992 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
9993 Added for non-Cygwin, non-RTEMS configurations.
9994 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
9995 * libc/sys/linux/Makefile.in: Regenerated.
9996 * libc/sys/linux/crt1.c: New empty file to override one defaulted
9997 by gcc. This fixes problem with reconfiguring linux newlib build.
9998 * libc/sys/linux/sysconf.c: New file.
9999
fa4a16a1
JJ
100002002-04-03 Jeff Johnston <jjohnstn@redhat.com>
10001
10002 * configure.host: Add support for machine subdirectory of
10003 sys subdirectory.
10004 * configure.in: Add check for sys machine subdirectory.
10005 * Makefile.am: Ditto.
10006 * configure: Regenerated.
10007 * Makefile.in: Ditto.
10008 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
10009 * libc/sys/linux/sys/syscall.h: Ditto.
10010 * libc/sys/linux/sleep.c: New file.
10011 * libc/sys/linux/socket.c: Ditto.
10012 * libc/sys/linux/sockops.h: Ditto.
10013 * libc/sys/linux/stack.c: Ditto.
10014 * libc/sys/linux/usleep.c: Ditto.
10015 * libc/sys/linux/machine/Makefile.am: Ditto.
10016 * libc/sys/linux/machine/Makefile.in: Ditto.
10017 * libc/sys/linux/machine/aclocal.m4: Ditto.
10018 * libc/sys/linux/machine/configure: Ditto.
10019 * libc/sys/linux/machine/configure.in: Ditto.
10020 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
10021 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
10022 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
10023 * libc/sys/linux/machine/i386/configure: Ditto.
10024 * libc/sys/linux/machine/i386/configure.in: Ditto.
10025 * libc/sys/linux/machine/i386/crt0.c: Ditto.
10026 * libc/sys/linux/machine/i386/sigset.c: Ditto.
10027 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
10028 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
10029 * libc/sys/linux/machine/i386/syscall.h: Ditto.
10030 * libc/sys/linux/sys/select.h: Ditto.
10031 * libc/sys/linux/configure.in: Add support for machine directory.
10032 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
10033 * libc/sys/linux/Makefile.in: Regenerated.
10034 * libc/sys/linux/configure: Ditto.
10035 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
10036 * libc/sys/linux/inode.c: Ditto.
10037 * libc/sys/linux/linux.c: Ditto.
10038 * libc/sys/linux/process.c: Ditto.
10039 * libc/sys/linux/systat.c: Ditto.
10040 * libc/sys/linux/time.c: Ditto.
10041 * libc/sys/linux/wait.c: Ditto.
10042 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
10043 * libc/sys/linux/io.c: Change header plus add readv/writev.
10044 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
10045 use __sigsuspend syscall.
10046 * libc/sys/linux/select.c: Change header plus change select to
10047 use _newselect syscall.
10048 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
10049 used by glibc header files.
10050 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
10051 types.
10052
d4dca0e4
JJ
100532002-04-01 Jeff Johnston <jjohnstn@redhat.com>
10054
10055 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
10056 initializing a struct _reent that has been dynamically allocated.
10057 (_REENT_CHECK_MISC): New macro that checks _misc struct for
10058 _REENT_SMALL and does nothing otherwise.
10059 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
10060 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
10061 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
10062 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
10063 [_REENT_SMALL](struct _misc_reent): New structure containing
10064 miscellaneous reentrant areas needed by newlib.
10065 [_REENT_SMALL](struct _reent): Add _misc pointer.
10066 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
10067 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
10068 and _REENT_STRTOK_LAST macros.
10069 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
10070 and _REENT_MBLEN_STATE macros.
10071 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
10072 and _REENT_MBTOWC_STATE macros.
10073 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
10074 and _REENT_WCTOMB_STATE macros.
10075
54a7c6d2
JJ
100762002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
10077
10078 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
10079
c82479b1
CF
10080Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
10081
10082 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
10083
43ecf6e8
JR
10084Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
10085
10086 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
10087 Store high part of leading bytes too.
10088
a485d93f
RS
100892002-03-22 Richard Sandiford <rsandifo@redhat.com>
10090
10091 * libm/math/ef_hypot.c: Increase scale factor to 68.
10092
62a963ee
AO
100932002-03-13 Alexandre Oliva <aoliva@redhat.com>
10094
10095 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
10096 error.
10097
c53d8453
JJ
100982002-03-12 Jeff Johnston <jjohnstn@redhat.com>
10099
ba3ccd63
EB
10100 * libc/sys/go32/access.c: Change license to relaxed license
10101 used in identical file throughout newlib/libgloss.
c53d8453 10102
d2a246ad
JJ
101032002-03-12 Richard Earnshaw <rearnsha@arm.com>
10104
10105 * libc/sys/arm/access.c: New file.
10106 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
10107 * libc/sys/arm/Makefile.in: Regenerate.
10108 * libc/sys/arm/syscalls.c (_stat): New function.
10109
eabb48d5
MM
101102002-03-11 Michael Meissner <meissner@redhat.com>
10111
10112 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
10113 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
10114 * libc/machine/mips/Makefile.in: Regenerate.
10115 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
10116 * libc/machine/mips/memset.c: Dito.
10117 * libc/machine/mips/strcmp.c: Dito.
10118 * libc/machine/mips/strlen.c: Dito.
10119 * libc/machine/mips/strncmp.c: Dito.
10120
2a606041
JJ
101212002-03-06 Jeff Johnston <jjohnstn@redhat.com>
10122
eabb48d5
MM
10123 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
10124 object so it works for shared library or statici library.
10125 * libc/machine/i386/Makefile.in: Regenerated.
2a606041 10126
55f26f11
JR
10127Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
10128
96bff22c
JR
10129 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
10130 Add memcpy.S, memset.S and strcpy.S.
10131 * libc/machine/sh/Makefile.in: Regenerate.
10132 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
55f26f11 10133 (SHHI, SHLO): Define.
96bff22c
JR
10134 * libc/machine/sh/memset.S: Add code for SH5.
10135 * libc/machine/sh/memset.S: Likewise.
10136 * libc/machine/sh/strcpy.S: Likewise.
55f26f11 10137
afecf2fa
JJ
101382002-02-27 Jeff Johnston <jjohnstn@redhat.com>
10139
10140 * configure.host: Add check for --disable-newlib-io-float
10141 configuration option and add -DNO_FLOATING_POINT to newlib cflags
10142 if appropriate.
10143 * acinclude.m4: Added --disable-newlib-io-float option.
10144 * aclocal.m4: Regenerated.
10145 * configure: Ditto.
10146 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
17c0c97d 10147 * libc/*/aclocal.m4 libc/*/configure
afecf2fa
JJ
10148 * libm/*/aclocal.m4 libm/*/configure: Ditto.
10149 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
10150 if NO_FLOATING_POINT flag is not defined.
10151
c1010a63
JJ
101522002-02-25 Jeff Johnston <jjohnstn@redhat.com>
10153
10154 * libc/include/sys/config.h: Add __extension__ in front of
10155 long long references.
10156
630c657e
CV
101572002-02-23 Corinna Vinschen <corinna@vinschen.de>
10158
10159 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
10160 (_stat): Ditto.
10161
59ee2e20
CV
101622002-02-23 Corinna Vinschen <corinna@vinschen.de>
10163
10164 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
10165 of off_t.
10166
2dd68dc2
NC
101672002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
10168
10169 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
10170 clobbered registers.
10171
55500bf1
TF
101722002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
10173
10174 * configure.host (newlib_cflags): When host is in m68* add
10175 -DCOMPACT_CTYPE.
10176
ba0173f0
JJ
101772002-02-15 Jeff Johnston <jjohnstn@redhat.com>
10178
ba3ccd63
EB
10179 * libc/include/sys/config.h: Add definitions for
10180 __int16_t, __uint16_t, __int64_t, and __uint64_t.
ba0173f0 10181
7b61d0c5
JJ
101822002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
10183
ba3ccd63
EB
10184 * libc/sys/mmixware/link.c: New.
10185 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
10186 volatile.
10187 * libc/sys/mmixware/times.c (_times): Renamed from times.
10188 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
10189 properly by reading previous contents, not through BinaryReadWrite.
10190 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
10191 * libc/sys/mmixware/Makefile.in: Regenerate.
7b61d0c5 10192
a505db65
CV
101932002-02-10 Corinna Vinschen <corinna@vinschen.de>
10194
10195 * libc/include/grp.h: Don't declare group functions when compiling
10196 Cygwin.
10197
f3b39c45
CV
101982002-02-09 Corinna Vinschen <corinna@vinschen.de>
10199
10200 * libc/include/grp.h: Include Cygwin specific header.
10201 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
10202 when compiling for Cygwin.
10203 * libc/include/sys/types.h: Don't define off_t, uid_t
10204 and gid_t when compiling for Cygwin.
10205
82b3ac56
MG
102062002-02-08 matthew green <mrg@redhat.com>
10207
10208 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
10209 _REENT_EMERGENCY_SIZE, not sizeof(char *).
10210
9f25eed9
AO
102112002-02-08 Alexandre Oliva <aoliva@redhat.com>
10212
10213 Contribute sh64-elf.
10214 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
10215 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
10216 support in printf.
10217 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
10218 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
10219 any labels.
10220 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
10221 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
10222 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
10223 * libc/machine/sh/configure.in: Rework conditionals.
10224 * libc/machine/sh/Makefile.am: Likewise.
10225 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
10226 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
10227 * configure.host: Match `sh*'.
10228 * libc/include/machine/setjmp.h: Define for SH5.
10229 * libc/machine/sh/configure.in: Detect SH5.
10230 * libc/machine/sh/configure: Rebuilt.
10231 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
10232 * libc/machine/sh/Makefile.in: Rebuilt.
10233 * libc/machine/sh/asm.h: Adjust for SH5.
10234 * libc/machine/sh/setjmp.S: Implement in SHmedia.
10235 * libc/sys/sh/crt0.S: Likewise.
10236 * libc/sys/sh/trap.S: Likewise.
10237
a2a405ae
JJ
102382002-02-07 Jeff Johnston <jjohnstn@redhat.com>
10239
10240 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
10241 (mach_add_obj): Conditionally set to setjmp.o or nothing.
10242 (LIB_SOURCES): Remove $(mach_add_src).
10243 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
10244 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
10245 * libc/machine/i386/Makefile.in: Regenerate.
10246
27478365
JJ
102472002-02-05 Manik Raina <manik@cisco.com>
10248
994fa212 10249 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
27478365
JJ
10250 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
10251 s, p, k, and outstr.
10252 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
10253
815a37f7
JJ
102542002-02-04 Jeff Johnston <jjohnstn@redhat.com>
10255
10256 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
10257 _REENT_CHECK_EMERGENCY macro.
10258
a4139c12
MG
102592002-02-03 matthew green <mrg@redhat.com>
10260
10261 * libc/reent/signgam.c (__signgam): Fix error in previous.
10262
8195aff7
MG
102632002-02-02 matthew green <mrg@redhat.com>
10264
10265 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
10266
10267 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
10268 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
10269 * libc/include/sys/reent.h (struct _reent): Completely new version
10270 for _REENT_SMALL.
10271 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
10272 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
10273 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
10274 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
10275 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
10276 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
10277 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
10278 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
10279 (_REENT_EMERGENCY): Likewise.
10280
10281 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
10282 the start of the real __sFILE, used for stdin, stdout and stderr until
10283 they are setup properly.
10284 (struct __sFILE): Move location of _data in _REENT_SMALL case.
10285 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
10286 allocated stdin, stdout and stderr.
10287 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
10288 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
10289 * libc/stdio/perror.c (_perror_r): Likewise.
10290 * libc/stdio/printf.c (printf, _printf_r): Likewise.
10291 * libc/stdio/putchar.c (_putchar_r): Likewise.
10292 * libc/stdio/puts.c (_puts_r): Likewise.
10293 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
10294 * libc/stdio/vprintf.c (vprintf): Likewise.
10295 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
10296
10297 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
10298
10299 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
10300 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
10301 for _REENT_SMALL.
10302 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
10303 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
10304
10305 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
10306 _REENT_SMALL.
10307 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
10308 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
10309 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
10310 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
10311 * libc/stdlib/rand48.c (__dorand48): Likewise.
10312 * libc/stdlib/seed48.c (_seed48_r): Likewise.
10313 * libc/stdlib/srand48.c (_srand48_r): Likewise.
10314 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
10315 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
10316 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
10317 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
10318 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
10319 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
10320 * libc/stdlib/rand.c (rand): Likewise.
10321
10322 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
10323 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
10324
10325 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
10326 _REENT_MP_FREELIST() and _REENT_MP_P5S.
10327 * libc/include/sys/reent.h (struct _mprec): New structure.
10328
10329 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
10330 _unused_strtok_last.
10331 * libc/string/strtok.c (strtok): Use a local static variable.
10332
10333 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
10334 (_REENT_EMERGENCY_SIZE): Likewise.
10335 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
10336 _REENT_ASCTIME_BUF().
10337 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
10338 _REENT_TM().
10339
10340 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
10341 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
10342 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
10343 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
10344 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
10345 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
10346
9c2e7642
GK
103472002-02-01 Geoffrey Keating <geoffk@redhat.com>
10348
10349 * configure.host (xstormy16): Don't use the generic malloc.
10350 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
10351 * libc/machine/xstormy16/Makefile.in: Regenerate.
10352 * libc/machine/xstormy16/mallocr.c: New file.
10353 * libc/machine/xstormy16/tiny-malloc.c: New file.
10354
4bb6112f
TF
103552002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
10356
10357 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
10358 when _CYGWIN_TYPES_H is not defined.
10359
8d345552
TF
103602002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
10361
10362 * libc/include/sys/signal.h: Revert 2002-01-23 change.
10363
bcc49082
TF
103642002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
10365
10366 * libc/include/sys/signal.h: Remove pthread_kill declaration
10367 when __CYGWIN__ is defined.
10368
13baedeb
CF
103692002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
10370
10371 * libc/include/time.h: Add prototype for strptime for Cygwin.
10372
b2db0ebc
NC
103732002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
10374
ebf139fb
NC
10375 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
10376 dst was not word aligned.
10377
b2db0ebc
NC
10378 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
10379 if too much memory is requested.
10380
798c015d
JJ
103812002-01-11 Jeff Johnston <jjohnstn@redhat.com>
10382
10383 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
10384 reads blanks from the input file to break if EOF reached
10385 rather than end processing.
10386
46ad2ef4
JJ
103872002-01-07 Jeff Johnston <jjohnstn@redhat.com>
10388
10389 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
10390
86b06396
JJ
103912002-01-07 Alan Matsuoka <alanm@redhat.com>
10392
ba3ccd63
EB
10393 * libc/include/machine/ieeefp.h: Configure d10v doubles to
10394 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
10395 libc/include/sys/config.h: Ditto.
86b06396 10396
423d5064
CV
103972001-12-28 Corinna Vinschen <corinna@vinschen.de>
10398
10399 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
10400
f6eff1c0
GK
104012001-12-22 Geoffrey Keating <geoffk@redhat.com>
10402 Catherine Moore <clm@redhat.com>
10403 Richard Henderson <rth@redhat.com>
10404 Corinna Vinschen <vinschen@redhat.com>
10405
10406 * configure.host: Add support for xstormy16.
10407 * libc/include/machine/ieeefp.h: Add support for xstormy16.
10408 * libc/include/machine/setjmp.h: Add support for xstormy16.
10409 * libc/include/sys/config.h: Add support for xstormy16.
10410 * libc/machine/xstormy16/Makefile.am: New file.
10411 * libc/machine/xstormy16/Makefile.in: New file.
10412 * libc/machine/xstormy16/aclocal.m4: New file.
10413 * libc/machine/xstormy16/configure: New file.
10414 * libc/machine/xstormy16/configure.in: New file.
10415 * libc/machine/xstormy16/setjmp.S: New file.
10416
1f93c55f
TF
104172001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
10418
10419 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
10420 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
10421
13b918be
CV
104222001-12-19 Corinna Vinschen <corinna@vinschen.de>
10423
10424 * libm/machine/Makefile.am: Change rules to create correct lib.a.
10425 * libm/machine/Makefile.in: Regenerated through automake.
10426
08e857b4
TF
104272001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
10428
10429 * Makefile.am (DOCDIR): Force to empty string when doc
10430 directory is not present.
10431
60565ed6
TF
104322001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
10433
10434 * libc/machine/i386/f_*: Move to libm/machine/i386.
10435
104362001-12-18 Joel Sherrill <joel@OARcorp.com>
10437
10438 * libm/machine/Makefile.am: Add dummy doc stub so
10439 "make info" works.
10440
104412001-12-17 Joel Sherrill <joel@OARcorp.com>
10442
10443 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
10444
fc504135
TF
104452001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
10446
10447 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
10448 $(COMPILE) rather than $(CC).
10449 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
10450 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
10451 $(LIB_COMPILE) change.
10452 (vfiprintf.$(oext)): Likewise.
10453
efeae9a3
CV
104542001-12-17 Corinna Vinschen <vinschen@redhat.de>
10455
10456 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
10457 conditionalized including of getopt stuff.
10458
cdf7120d
TF
104592001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
10460
10461 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
10462 compile line.
f85be99c 10463 (vfiprintf.$(oext)): Likewise.
cdf7120d 10464
2e1a7175
TF
104652001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10466
10467 * Makefile.shared: New file.
10468 * libc/sys/linux/shared.ld: New file.
10469 * libm/machine/*: New files.
10470 * libm/machine/i386/*: New files.
10471 * Makefile.am: Add libtool support. Change math and mathfp
10472 references to variables.
10473 * configure.host: Add variables for libtool support. Add
10474 libm_machine_dir variable.
10475 * configure.in: Add objectlist variables, for libtool
10476 support. Add CC_FOR_BUILD tests.
10477 * libc/Makefile.am: Add libtool support. Change crt0.o
10478 reference to be a variable reference.
10479 * libc/configure.in: Add libtool support. Change sublib
10480 names to be lib${subdir}.la when using libtool.
10481 * libc/ctype/Makefile.am: Add libtool support.
10482 * libc/errno/Makefile.am: Likewise.
10483 * libc/locale/Makefile.am: Likewise.
10484 * libc/machine/Makefile.am: Likewise.
10485 * libc/machine/configure.in: Likewise.
10486 * libc/machine/i386/Makefile.am: Likewise.
10487 * libc/machine/i386/configure.in: Likewise.
10488 * libc/misc/Makefile.am: Likewise.
10489 * libc/posix/Makefile.am: Likewise.
10490 * libc/reent/Makefile.am: Likewise.
10491 * libc/signal/Makefile.am: Likewise.
10492 * libc/stdio/Makefile.am: Likewise.
10493 * libc/stdlib/Makefile.am: Likewise.
10494 * libc/string/Makefile.am: Likewise.
10495 * libc/sys/Makefile.am: Likewise.
10496 * libc/sys/configure.in: Likewise.
10497 * libc/sys/linux/Makefile.am: Add libtool support. Change
10498 awk reference to a variable reference. Change signal.h
10499 reference to a variable reference.
10500 * libc/sys/linux/configure.in: Add libtool support.
10501 * libc/syscalls/Makefile.am: Likewise.
10502 * libc/time/Makefile.am: Likewise.
10503 * libc/unix/Makefile.am: Likewise.
10504 * libm/Makefile.am: Add libtool support. Change math and
10505 mathfp references to variables.
10506 * libm/configure.in: Add libtool support. Add
10507 LIBM_MACHINE_LIB variable.
10508 * libm/common/Makefile.am: Add libtool support.
10509 * libm/math/Makefile.am: Likewise.
10510 * libm/mathfp/Makefile.am: Likewise.
10511 Regenerate all Makefile.in, aclocal.m4, and configure.
10512
b92591a1
JJ
105132001-12-13 Anita Kulkarni <anitak@kpit.com>
10514
ba3ccd63 10515 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
b92591a1 10516
355b664e
CF
105172001-12-06 John Peacock <jpeacock@rowman.com>
10518
10519 * libc/include/sys/unistd.h: Correct ualarm declaration.
10520
e9853806
NC
105212001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
10522
10523 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
10524 vector before calling the initialisation functions.
10525
a8e091b0
CF
105262001-11-29 Christopher Faylor <cgf@redhat.com>
10527
10528 * libc/include/dirent.h: Protect against multiple inclusion.
10529
ab634123
CF
105302001-11-27 Christopher Faylor <cgf@redhat.com>
10531
10532 * libc/include/sys/types.h: Define useconds_t.
10533 * libc/include/sys/ulimit.h: Declare ualarm.
10534
d37e401e
CF
105352001-11-21 Christopher Faylor <cgf@redhat.com>
10536
10537 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
10538
8ac90051
HPN
105392001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
10540
10541 * libc/sys/mmixware/*: Tweak license header in all source files.
10542
d7ca37e4
CV
105432001-11-12 Corinna Vinschen <vinschen@redhat.com>
10544
10545 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
10546 to here. Rearrange for general inclusion by stdlib.h.
10547 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
10548 isn't defined.
10549 * libc/sys/linux/include/alloca.h: Move to libc/include.
10550
28f8744e
AG
105512001-11-12 Anthony Green <green@redhat.com>
10552
10553 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
10554
4cede8c4
HPN
105552001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
10556
10557 * libc/sys/mmixware/*: Correct spacing in all source files.
10558 * libc/sys/mmixware/syscall.h: Move misplaced file...
10559 * libc/sys/mmixware/sys/syscall.h: ...here.
10560
8be9b48b
JJ
105612001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
10562
ba3ccd63
EB
10563 * libc/include/machine/ieeefp.h: Add support for mmix target.
10564 * libc/include/machine/setjmp.h: Ditto.
10565 * configure.host: Ditto.
10566 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
10567 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
10568 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
10569 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
10570 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
10571 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
10572 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
10573 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
10574 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
10575 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
10576 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
10577 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
10578 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
10579 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
10580 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
10581 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
10582 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
10583 libc/sys/mmixware/aclocal.m4: Generate.
8be9b48b 10584
c7dd4f95
CV
105852001-11-05 Corinna Vinschen <corinna@vinschen.de>
10586
10587 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
10588 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
10589 when __CYGWIN__ is defined.
10590 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
10591 logwtmp().
10592
a6a6f9fe
JJ
105932001-11-01 Arati Dikey <aratidikey@hotmail.com>
10594
10595 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
10596 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
10597 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
10598 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
10599
d0504c35
JJ
106002001-10-24 Christopher Faylor <cgf@redhat.com>
10601
10602 * libc/stdio/fseek.c: Reset pointer to buffer base
10603 when forced to seek outside of current buffer contents.
10604 This prevents the code from erroneously thinking there is
10605 anything in the current buffer.
10606
0280c8c0
GK
106072001-10-22 Geoffrey Keating <geoffk@redhat.com>
10608
10609 * libc/include/math.h: The C++ standard adds the single-precision
10610 versions of the elementary functions.
10611
333d6098
CF
106122001-10-22 Christopher Faylor <cgf@redhat.com>
10613
10614 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
10615 throughout.
10616 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
10617 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
10618 * system.c (_system_r): Ditto.
10619
c7118319
CV
106202001-10-17 Corinna Vinschen <corinna@vinschen.de>
10621
10622 * libc/include/sys/unistd.h: Add prototype for fchdir() when
b4e98df6 10623 __CYGWIN__ or __rtems__ is defined.
c7118319 10624
5665b0e1
JJ
106252001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
10626
ba3ccd63
EB
10627 * libc/include/stdlib.h: add declarations for
10628 _strtoull_r, _strtoll_r, strtoull, and strtoll.
10629 * libc/stdio/local.h: remove declarations of
10630 __strtoull_r and __strtoll_r.
10631 * libc/stdio/vfscanf.c(__svfscanf_r): call
10632 _strtoull_r instead of __strtoull_r. Ditto
10633 _strtoll_r vs. __strtoll_r.
10634 * libc/stdlib/Makefile.am: add new files to
10635 .c list and .def list
10636 * libc/stdlib/Makefile.in: regenerate
10637 * libc/stdlib/strtoll_r.c: rename __strtoll_r
10638 as _strtoll_r
10639 * libc/stdlib/strtoull_r.c: rename __strtoull_r
10640 as _strtoull_r
10641 * libc/stdlib/strtoull.c: new file
10642 * libc/stdlib/strtoll.c: new file
5665b0e1 10643
d2d5eb41
CF
10644Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
10645
10646 * libc/include/process.h: Add getpid() declaration.
10647
448e3c14
NC
106482001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
10649
10650 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
10651 for new style arm/elf ctor/dtor handling.
10652 Minor formatting tidy up.
10653
7a2afbbb
JJ
106542001-09-13 Jeff Johnston <jjohnstn@redhat.com>
10655
10656 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
10657 and strtoull_r.c.
10658 * libc/stdlib/Makefile.in: Regenerated.
10659 * libc/stdlib/strtoll_r.c: New file.
10660 * libc/stdlib/strtoull_r.c: New file.
10661 * libc/stdio/local.h: Add prototypes for long long string
10662 conversion routines.
10663 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
10664 tied to %L integer conversion specifier.
10665
6342caa4
JJ
10666Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
10667
ba3ccd63
EB
10668 * strftime.c (strftime): Fix "%W" implementation to properly handle
10669 Mondays too.
6342caa4 10670
b2d319cb
JJ
106712001-09-07 Jeff Law <law@redhat.com>
10672
ba3ccd63
EB
10673 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
10674 __fini with "mov.l" instead of "mov.w".
b2d319cb 10675
233823ba
CV
106762001-09-05 Corinna Vinschen <corinna@vinschen.de>
10677
10678 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
10679 and getopt.h.
10680
63c17b54
JJ
106812001-09-04 Jason Merrill <jason_merrill@redhat.com>
10682
10683 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
10684
a3e67ddf
CV
106852001-09-03 Corinna Vinschen <corinna@vinschen.de>
10686
10687 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
10688 field.
10689 (__DIRENT_VERSION): New define.
10690
6d47f33a
CV
106912001-09-03 Corinna Vinschen <corinna@vinschen.de>
10692
10693 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4f79e37e
CV
10694 Shrink __d_reserved accordingly to keep structure size.
10695 (dirfd): Declare external.
6d47f33a 10696
348c5e06
JJ
106972001-08-29 Joel Sherrill <joel@OARcorp.com>
10698
10699 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
10700
107012001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
10702
10703 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
10704 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
10705 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
10706 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
10707 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
10708 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
10709 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
10710 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
10711 Add conditional compilation to avoid HW FPU instructions
10712 when compiled for soft-float.
10713
f29865c5
JJ
107142001-08-29 Jeff Johnston <jjohnstn@redhat.com>
10715
10716 * Makefile.am: Add check for ln failing when creating libg.a
10717 so that cp gets used as a backup.
10718 * Makefile.in: Regenerated.
10719
9e2a4ef8
JJ
107202001-08-29 Jeff Johnston <jjohnstn@redhat.com>
10721
10722 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
10723 No longer include time.h. Add struct __tm to use for
10724 _localtime_buf in the reentrant structure. Add a
10725 _NULL definition to use in initializing the reentrant struct.
10726 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
10727 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
10728 <sys/_types.h>.
10729 * libc/include/sys/unistd.h: Include <sys/_types.h>.
10730 * libc/time/lcltime.c (localtime): Cast the reentrant struct
10731 _localtime_buf to be struct tm *.
10732
1ae900d6
JR
10733Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
10734
10735 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
10736 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
10737 __ctors_end.
10738 * libc/sys/h8300hms/syscalls.c: Include errno.h.
10739 (_unlink): New stub function.
10740
8e26d5b5
CF
10741Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
10742
10743 * libc/include/sys/errno.h: Add a cautionary comment.
10744
e8267664
JJ
107452001-08-21 Jeff Johnston <jjohnstn@redhat.com>
10746
10747 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
10748 for SIZE_SZ so that alignment ends up a minimum of 8.
10749
4acf3edf
CF
10750Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
10751
10752 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
10753 arguments.
10754
10755 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
10756 Cygwin.
10757
52c80be8
JJ
107582001-08-13 Jeff Johnston <jjohnstn@redhat.com>
10759
10760 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
10761 macro constants for mallopt options.
10762 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
10763
a7061f7f
JJ
107642001-08-02 Jeff Johnston <jjohnstn@redhat.com>
10765
10766 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
10767 otherwise default.
10768
0b4bfdd5
AH
107692001-07-12 Aldy Hernandez <aldyh@redhat.com>
10770
ba3ccd63 10771 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
0b4bfdd5 10772
2b6b730c
NC
107732001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
10774
10775 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
10776 Define for little endian ARMs.
10777
10778 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
10779 __IEEE_BYTES_LITTLE_ENDIAN is defined.
10780
25842b68
JJ
107812001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
10782
ba3ccd63 10783 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
25842b68 10784
371b76ef
JJ
107852001-06-11 Egor Duda <deo@logos-m.ru>
10786
ba3ccd63
EB
10787 * libc/ctype/ctype_.c: When compiled with gcc on platforms
10788 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
10789 initialized memory region. Platform can define COMPACT_CTYPE
10790 to avoid allocation of the additional 128 bytes of data.
10791 Add pointer to _ctype_ array. Always initialize all _ctype_
10792 array elements.
371b76ef 10793
43b44bc5
JL
107942001-06-08 Jonathan Larmour <jlarmour@redhat.com>
10795
10796 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
10797 NULL pointer.
10798
188bc140
NC
107992001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
10800
10801 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
10802
2ce88418
NC
108032001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
10804
10805 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
10806 matching, non-word alignment, and the length is <= 4 but more than
10807 enough to move them over a word boundary.
10808 Add comments explaining what each instruction does.
10809
ca60ed47
CF
10810Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
10811
10812 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
c63e9997 10813 * libc/include/sys/unistd.h: Ditto.
ca60ed47 10814
8b3bcfba
JJ
108152001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
10816
ba3ccd63 10817 * libc/string/strrchr.c: Use strchr for the speed improvements.
8b3bcfba 10818
b09e3cf8
JJ
108192001-05-01 Jeff Johnston <jjohnstn@redhat.com>
10820
10821 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
10822 real file systems, let __smakebuf() determine if line buffering
10823 should be used for stdout.
10824
0ca66974
JJ
108252001-04-27 Jeff Johnston <jjohnstn@redhat.com>
10826
10827 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
10828
7cb7017a
JJ
108292001-04-27 Jeff Johnston <jjohnstn@redhat.com>
10830
10831 * libc/include/stdlib.h: Add prototype for _strtod_r.
10832
a874cd21
JJ
108332001-04-24 Charles Wilson <cwilson@ece.gatech.edu
10834
ba3ccd63
EB
10835 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
10836 * libc/stdio/vprintf.c (_vprintf_r): new function
10837 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
10838 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
10839 _DEFUN, and call _vfprintf_r, not vfprintf.
10840 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
10841 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
10842 _DEFUN, and call _vfprintf_r, not vfprintf.
a874cd21 10843
cb4cc283 108442001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
17c0c97d 10845
cb4cc283
CF
10846 * libc/include/sys/unistd.h [X_OK]: Use better protection against
10847 Cygwin X_OK definitions in sys/file.h.
10848
8c9df1d5
CF
10849Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
10850
10851 * libc/include/sys/time.h: Define timercmp and other macros for
10852 __CYGWIN__, too.
10853
3ac6f3a7 108542001-04-20 Jeff Johnston <jjohnstn@redhat.com>
17c0c97d 10855
3ac6f3a7
JJ
10856 * acinclude.m4: Added --enable-malloc-debugging configure flag.
10857 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
10858 --enable-malloc-debugging selected.
10859 * aclocal.m4 configure: Regenerated.
10860 libm/aclocal.m4 libm/configure: Ditto.
10861 * libc/aclocal.m4 libc/configure: Ditto.
10862 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
10863 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
10864 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
10865 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
10866 * doc/aclocal.m4 doc/configure: Ditto.
10867
52cb9e69
JJ
108682001-04-20 Jeff Johnston <jjohnstn@redhat.com>
10869
10870 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
10871 into one list.
10872 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
10873 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
10874 function prototypes.
10875 (_fscanf_r, _sscanf_r): Ditto.
10876 * libc/include/stdlib.h: Added _strtod_r prototype.
10877 * libc/stdio/Makefile.am: Add new v*scanf functions.
10878 * libc/stdio/Makefile.in: Regenerate.
10879 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
10880 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
10881 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
10882 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
10883 (sscanf): Changed to call __svfscanf_r with _REENT argument.
10884 (_sscanf_r): New routine.
10885 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
10886 with __svfscanf_r prototype.
10887 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
10888 routines.
10889 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
10890 structure as argument as calls reentrant versions of helper functions
10891 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
10892 to _strtol_r and _strtod_r respectively.
10893 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
10894 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
10895 _REENT argument.
10896 * libc/stdio/vscanf.c: New file.
10897 * libc/stdio/vsscanf.c: Ditto.
10898
ee9f39fb
JJ
108992001-04-19 Robert Collins <rbtcollins@hotmail.com>
10900
10901 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
10902 Define daylight to _daylight if it is not defined
17c0c97d 10903 Prepare a variable export of timezone based on timezonevariable.
ee9f39fb
JJ
10904 (Cannot be used with the timezone() function.)
10905
273861e3
JJ
109062001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
10907
ba3ccd63
EB
10908 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
10909 Correct the numerical values.
273861e3 10910
a25b8414
CF
109112001-04-13 Robert Collins <rbtcollins@hotmail.com>
10912
10913 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
10914
b8a8c59d
CV
10915Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
10916
10917 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
10918 on case insensitve file systems.
10919
74f8cc63
CF
109202001-04-12 Robert Collins <rbtcollins@hotmail.com>
10921
10922 * libc/include/sys/features.h: Add appropriate defines for Cygwin
10923 pthread support.
10924 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
10925 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
10926 types. Include <cygwin/types.h> for the cygwin specific typedefs.
10927
16740220
RS
109282001-04-04 Richard Sandiford <rsandifo@redhat.com>
10929
10930 * libc/include/machine/ieeefp.h: Comment about new configuration
10931 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
10932 * libm/common/fdlib.h: Define new macros for testing floats.
10933 * libm/common/sf_*: Use them.
10934 * libm/math/ef_*: Likewise.
10935 * libm/math/sf_*: Likewise.
10936
0694d8d3
JJ
109372001-03-29 Jeff Johnston <jjohnstn@redhat.com>
10938
10939 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
10940 prolog to by-pass possible assembler error.
10941
4833b38c
JJ
109422001-03-21 Egor Duda <deo@logos-m.ru>
10943
ba3ccd63
EB
10944 Allow building internal stubs for non-reentrant syscalls
10945 if target provides its own malloc
10946 * libc/reent/reent.c (errno): Move definition here.
10947 * libc/reent/sbrkr.c: From here.
4833b38c 10948
d17d6d42
CF
109492001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
10950
10951 * libc/include/sys/types.h (BSD int typedefs): Guard with
10952 _BSDTYPES_DEFINED rather than _WINSOCK_H.
10953 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
10954 _SYS_TYPES_FD_SET.
10955 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
10956 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
10957
c7ee75cd
CV
10958Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
10959
10960 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
10961 _PC_POSIX_SECURITY constants for Cygwin.
10962
63dc5d80
CV
10963Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
10964
10965 * libc/sys/cygwin/crt0.c: Add copyright hint.
10966 * libc/sys/cygwin/sys/dirent.h: Ditto.
10967 * libc/sys/cygwin/sys/param.h: Ditto.
10968 * libc/sys/cygwin/sys/utime.h: Ditto.
10969 * libc/sys/cygwin/sys/utmp.h: Ditto.
10970
6f637037
AO
109712001-03-13 Alexandre Oliva <aoliva@redhat.com>
10972
10973 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
10974 equivalent to LONGINT.
10975
e69b6f73
JJ
109762001-03-08 Richard Sandiford <rsandifo@redhat.com>
10977
ba3ccd63
EB
10978 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
10979 jmpbuf on MIPS64 targets.
10980 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
e69b6f73 10981
6198dece
CF
10982Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
10983
17c0c97d 10984 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
ba3ccd63 10985 declarations.
6198dece 10986
cfc05d96
JJ
10987Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
10988
ba3ccd63
EB
10989 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
10990 For RTEMS, define to be ssize_t. Default to int if not defined.
10991 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
10992 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
10993 * libc/stdio/local.h (__sread, __swrite): Likewise.
10994 * libc/include/sys/reent.h (_read, _write): Likewise.
10995 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
10996 * libc/syscalls/sysread.c (read): Likewise.
10997 * libc/syscalls/syswrite.c (write): Likewise.
cfc05d96 10998
6249353a
JJ
109992001-03-05 Jeff Johnston <jjohnstn@redhat.com>
11000
ba3ccd63 11001 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
6249353a 11002
658b5db9
CF
11003Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
11004
11005 * libc/include/sys/stat.h: Use special defines for executable stat bits
11006 when compiling for Cygwin.
11007 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
11008 for Cygwin.
11009
19ca46d5
JJ
110102001-03-02 Jeff Johnston <jjohnstn@redhat.com>
11011
11012 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
11013 of strtok_r is always defined.
11014
b73ed85e
JJ
110152001-03-02 Jeff Johnston <jjohnstn@redhat.com>
11016
11017 * libc/include/machine/ansi.h: New dummy header file.
11018
ee37ede1
JJ
110192001-02-22 Jeff Johnston <jjohnstn@redhat.com>
11020
11021 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
11022 changed the copyright information to allow free modification of the
11023 file with no reference to "copying.dj".
11024 * libc/include/sys/stat-dj.h: Ditto.
11025 * libc/machine/i386/setjmp.S: Ditto.
11026 * libc/sys/h8300hms/sys/file.h: Ditto.
11027 * libc/sys/sysmec/access.c: Ditto.
11028 * libc/sys/sysnecv850/access.c: Ditto.
11029 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
11030 * libc/stdlib/getenv_r.c: Ditto.
11031 * libc/stdlib/putenv_r.c: Ditto.
11032 * libc/stdlib/setenv_r.c: Ditto.
11033 * libc/stdlib/getenv.c: Removed DJ reference since any possible
11034 modifications will now be in the _r version of this file.
11035 * libc/stdlib/putenv.c: Ditto.
11036 * libc/stdlib/setenv.c: Ditto.
11037 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
11038 valid. Added a reference to DJ's web page that contains his address.
11039 * libc/sys/go32/*.s: Removed references to DJ's old address.
11040 * libc/sys/go32/*.c: Ditto.
11041 * libc/sys/go32/*.h: Ditto.
11042 * libc/sys/go32/*.S: Ditto.
11043 * libc/sys/go32/sys/*.h: Ditto.
11044
3a8fc0e4
JJ
110452001-02-21 Jeff Johnston <jjohnstn@redhat.com>
11046
11047 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
11048 HAVE_FCNTL flag check.
11049 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
11050 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
11051
b24ee749
CF
11052Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
11053
11054 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
11055
ab4745dc
JJ
110562001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
11057
ba3ccd63
EB
11058 * libc/include/stdlib.h: Add declarations of rand48 functions and
11059 their reentrant versions.
11060 * libc/include/sys/reent.h: Move macros from rand48.h. Add
11061 struct _rand48 for shared parameters of rand48 functions.
11062 (struct _reent): Add a variable _r48 of struct _rand48.
11063 (_REENT_INIT): Add _r48 initialization.
11064 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
11065 (CHEWOUT_FILES): Add rand48.def.
11066 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
11067 * libc/stdlib/Makefile.in: Regenerated.
11068 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
11069 NetBSD C library.
11070 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
11071 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
11072 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
11073 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
11074 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
11075 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
11076 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
11077 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
11078 * libc/stdlib/rand48.c (__dorand48): Ditto.
11079 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
11080 parameters into macros referring them in the reentrant structure.
ab4745dc 11081
a34c461f
JJ
110822001-02-12 Jeff Johnston <jjohnstn@redhat.com>
11083
11084 * libc/include/sys/stat.h: Add mknod for Cygwin now that
11085 Cygwin definition has correct prototype.
11086
34f31ff2
JJ
110872001-02-08 Jeff Johnston <jjohnstn@redhat.com>
11088
11089 * libc/include/sys/stat.h: Must revert change for mknod
11090 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
11091 prototype.
11092
5336d6de
JJ
110932001-02-08 Jeff Johnston <jjohnstn@redhat.com>
11094
11095 * libc/include/stdio.h: Revert putw prototype.
11096
8915d10a
JJ
110972001-02-08 Edward M. Lee <tailbert@yahoo.com>
11098
ba3ccd63
EB
11099 * libc/include/grp.h: add prototype for initgroups.
11100 * libc/include/stdio.h: fix prototype for putw.
11101 * libc/include/sys/signal.h: add prototype for killpg.
11102 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
11103 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
8915d10a
JJ
11104 vhangup and remove duplicate sysconf prototype.
11105
93ac4487
JJ
111062001-02-07 Jeff Johnston <jjohnstn@redhat.com>
11107
11108 * libc/sys/rtems/sys/types.h: Removed.
11109
31f5feea
JJ
111102001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
11111
ba3ccd63 11112 * libc/include/locale.h: add LC_MESSAGES definition
31f5feea 11113
b5139f59
AO
111142001-02-01 Alexandre Oliva <aoliva@redhat.com>
11115
11116 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
11117 SYS_get_argN):
11118 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
11119 __setup_argv_and_call_main): New.
11120
e29d8355
JJ
111212001-01-31 Jeff Johnston <jjohnstn@redhat.com>
11122
11123 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
11124 if defined.
11125 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
11126 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
11127 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
11128 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
11129
82ea92f3
CF
11130Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
11131
11132 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
11133 compiling under Cygwin.
11134
3aaa66f8
JJ
111352001-01-29 Jeff Johnston <jjohnstn@redhat.com>
11136
11137 * libc/include/math.h (signgam): Change to errno-like solution
11138 using a function to return the address of the real signgam.
11139 * libc/reent/signgam.c: New file containing __signgam().
11140 * libc/reent/Makefile.am: Added signgam.c to list of files.
11141 * libc/reent/Makefile.in: Regenerated.
11142
610b895a
AO
111432001-01-25 Alexandre Oliva <aoliva@redhat.com>
11144
b0913397
AO
11145 * libc/sys/sh/syscalls.c (_times): New.
11146
610b895a
AO
11147 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
11148 * libc/sys/sh/syscalls.c (_gettimeofday): New.
11149
3643210e
JJ
111502001-01-23 Jeff Johnston <jjohnstn@redhat.com>
11151
11152 * libc/include/math.h (signgam): Regress previous fix as
11153 it does not handle programs with extern int signgam in them.
11154
841081c9
JJ
111552001-01-23 Jeff Johnston <jjohnstn@redhat.com>
11156
11157 * libc/include/math.h (signgam): Changed to a macro refering to
11158 its location in the reentrant structure.
11159
e9cd87b8
JJ
111602001-01-23 Jeff Johnston <jjohnstn@redhat.com>
11161
11162 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
11163 that suppressed . for %.0f, 0.1. Check now looks if there
11164 are padding zeroes (expt) in addition to any digits (ndig) to
11165 print.
11166
a302b48c
JJ
111672001-01-18 Jeff Johnston <jjohnstn@redhat.com>
11168
11169 * libc/sys/arc/Makefile.am: New file.
11170 * libc/sys/arc/Makefile.in: Ditto.
11171 * libc/sys/arc/aclocal.m4: Ditto.
11172 * libc/sys/arc/configure: Ditto.
11173 * libc/sys/arc/configure.in: Ditto.
11174 * libc/sys/arc/crt0.S: Ditto.
11175 * libc/sys/arc/isatty.c: Ditto.
11176 * libc/sys/arc/mem-layout.c: Ditto.
11177 * libc/sys/arc/sbrk.c: Ditto.
11178 * libc/sys/arc/syscalls.c: Ditto.
11179 * libc/sys/arc/sys/syscall.h: Ditto.
11180
d0319c3b
CF
11181Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
11182
11183 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
11184
e45ab890
CF
11185Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
11186
11187 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
11188
1376245a
DD
11189Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
11190
11191 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
11192
92b57543
NC
111932001-01-09 Nick Clifton <nickc@redhat.com>
11194
11195 * configure.host (v859): Remove unsupported compiler options.
11196
7d6d33d4
JJ
11197Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
11198
11199 * src/newlib/configure.host (*-*-rtems*): add printf long long
11200 support for RTEMS.
11201
602f8b5a 112022000-12-19 Graham Stott <grahams@redhat.com>
6286746a 11203
ba3ccd63 11204 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
6286746a 11205
9c2b8183
JJ
11206Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
11207
11208 * configure.host: Turn on long double I/O for Cygwin.
11209
804368d3
JJ
11210Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
11211
11212 * MAINTAINERS: Removed Ranjith.
11213 * NEWS: Updated for 1.9.0.
11214 * README: Updated.
11215 * acinclude.m4: Updated to release 1.9.0.
11216 * aclocal.m4 configure
11217 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
11218 libc/machine/aclocal.m4 libc/machine/configure
11219 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
11220 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
11221 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
11222 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
11223 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
11224 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
11225 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
11226 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
11227 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
11228 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
11229 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
11230 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
11231 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
11232 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
11233 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
11234 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
11235 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
11236 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
11237 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
11238 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
11239 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
11240 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
11241 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
11242 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
11243 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
11244 libc/sys/aclocal.m4 libc/sys/configure
11245 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11246 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
11247 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
11248 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11249 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11250 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11251 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11252 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11253 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
11254 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11255 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11256 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11257 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
11258 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
11259 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
11260 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
11261 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
11262 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
11263 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
11264 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
11265 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
11266 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
11267 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
11268 libm/aclocal.m4 libm/configure: Regenerated.
11269
0985d43f
CV
11270Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11271
11272 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
11273 when __CYGWIN__ is defined.
11274
b6182a09
JJ
112752000-12-13 Jeff Johnston <jjohnstn@redhat.com>
11276
11277 * libc/stdlib/ldtoa.c (_ldcheck): New routine
11278 that categorizes a long double as NaN, Infinity, or other.
17c0c97d
EB
11279 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
11280 isinfl and isnanl static routines which were i386-specific. Changed
b6182a09
JJ
11281 calls to the two removed routines to a single _ldcheck call.
11282 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
11283
adbbb034
JJ
112842000-12-13 Jeff Johnston <jjohnstn@redhat.com>
11285
11286 * Makefile.am: Fixed install-data-local target to use
11287 $(mkinstalldirs) for the installed header files to ensure
11288 the directories exist before copying.
11289 * Makefile.in: Regenerated.
11290
cbd19336
JJ
112912000-12-12 Jeff Johnston <jjohnstn@redhat.com>
11292
11293 * libc/include/sys/unistd.h: Restored Cygwin _SC
11294 constants and moved new constants appropriately
11295 so Cygwin will build.
11296
8fb37963
JJ
112972000-12-11 Joel Sherrill <joel@OARcorp.com>
11298
ba3ccd63
EB
11299 * Merge RTEMS specific .h files into main libc/include.
11300 * libc/sys/rtems/include/signal.h: Removed.
11301 * libc/sys/rtems/include/time.h: Removed.
11302 * libc/sys/rtems/sys/features.h: Removed.
11303 * libc/sys/rtems/sys/sched.h: Removed.
11304 * libc/sys/rtems/sys/siginfo.h: Removed.
11305 * libc/sys/rtems/sys/signal.h: Removed.
11306 * libc/sys/rtems/sys/time.h: Removed.
11307 * libc/sys/rtems/sys/times.h: Removed.
8fb37963
JJ
11308 definitions for time_t and clock_t since these are
11309 no longer in time.h.
ba3ccd63
EB
11310 * libc/include/pthread.h: New file.
11311 * libc/include/sys/sched.h: New file.
11312 * libc/include/sys/features.h: New file.
11313 * libc/include/time.h: Removed duplicate definition of clock_t
11314 and time_t, get them from <sys/types.h> instead. Add prototypes
11315 for POSIX clock and timer functionality.
8fb37963 11316 * libc/sys/linux/sys/types.h: Changed to include
ba3ccd63
EB
11317 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
11318 * libc/include/sys/signal.h: Add more complete set of POSIX
11319 signal functionality including real-time and threaded signals.
11320 * libc/include/sys/types.h: Add clock_t, time_t, struct
17c0c97d 11321 timespec, and struct itimerspec. Centralizing these makes
8fb37963 11322 things cleaner. RTEMS uses 64-bit dev_t.
ba3ccd63
EB
11323 Added numerous primitive definitions
11324 for pthreads including macros, pthread_attr_t,
17c0c97d 11325 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
8fb37963 11326 pthread_once_t, and pthread_t.
ba3ccd63
EB
11327 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
11328 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
11329 Feature flags removed and moved to new file <sys/features.h>.
11330 Full set of POSIX sysconf() constants
8fb37963 11331
2efbc2a7
JJ
113322000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
11333
11334 * configure.host: Added x86 linux target.
11335 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
11336 definitions provided if not already defined.
11337 * libc/sys/linux/crt0.c: New file.
11338 * libc/sys/linux/Makefile.am: Ditto.
11339 * libc/sys/linux/Makefile.in: Ditto.
11340 * libc/sys/linux/aclocal.m4: Ditto.
11341 * libc/sys/linux/brk.c: Ditto.
11342 * libc/sys/linux/configure: Ditto.
11343 * libc/sys/linux/configure.in: Ditto.
11344 * libc/sys/linux/getoptlong.c: Ditto.
11345 * libc/sys/linux/ids.c: Ditto.
11346 * libc/sys/linux/inode.c: Ditto.
11347 * libc/sys/linux/io.c: Ditto.
11348 * libc/sys/linux/linux.c: Ditto.
11349 * libc/sys/linux/process.c: Ditto.
11350 * libc/sys/linux/realpath.c: Ditto.
11351 * libc/sys/linux/select.c: Ditto.
11352 * libc/sys/linux/signal.c: Ditto.
11353 * libc/sys/linux/systat.c: Ditto.
11354 * libc/sys/linux/termios.c: Ditto.
11355 * libc/sys/linux/time.c: Ditto.
11356 * libc/sys/linux/wait.c: Ditto.
11357 * libc/sys/linux/include/alloca.h: Ditto.
11358 * libc/sys/linux/include/getopt.h: Ditto.
11359 * libc/sys/linux/include/stdint.h: Ditto.
11360 * libc/sys/linux/include/unistd.h: Ditto.
11361 * libc/sys/linux/sys/cdefs.h: Ditto.
11362 * libc/sys/linux/sys/dirent.h: Ditto.
11363 * libc/sys/linux/sys/errno.h: Ditto.
11364 * libc/sys/linux/sys/fcntl.h: Ditto.
11365 * libc/sys/linux/sys/file.h: Ditto.
11366 * libc/sys/linux/sys/ioctl.h: Ditto.
11367 * libc/sys/linux/sys/resource.h: Ditto.
11368 * libc/sys/linux/sys/signal.h: Ditto.
11369 * libc/sys/linux/sys/stat.h: Ditto.
11370 * libc/sys/linux/sys/syscall.h: Ditto.
11371 * libc/sys/linux/sys/termios.h: Ditto.
11372 * libc/sys/linux/sys/time.h: Ditto.
11373 * libc/sys/linux/sys/types.h: Ditto.
11374 * libc/sys/linux/sys/utmp.h: Ditto.
11375 * libc/sys/linux/sys/utsname.h: Ditto.
11376 * libc/sys/linux/sys/wait.h: Ditto.
11377
a08c98bb
JJ
113782000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
11379
ba3ccd63
EB
11380 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
11381 can be a relative path to $(top_srcdir)/install.sh so ensure the
11382 autoconf detected settings are properly passed recursively.
11383 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
11384 properly to subdirectories.
a08c98bb
JJ
11385 * Makefile.in: Regenerated.
11386
b294082c
JJ
113872000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
11388
ba3ccd63
EB
11389 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
11390 a floating point register unless really printing a floating
11391 point number.
b294082c 11392
2005ab6b
JJ
113932000-12-07 Jeff Johnston <jjohnstn@redhat.com>
11394
11395 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
11396 Also removed \r's.
11397 (asctoeg): Replaced alloca call with stack array and malloc
11398 when storage exceeds reasonable limit.
11399 (e53toe): Fixed einfin calls missing ldp parameter.
11400 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
11401
9f6e8f1b
JJ
114022000-12-06 Jeff Johnston <jjohnstn@redhat.com>
11403
2005ab6b 11404
9f6e8f1b
JJ
11405 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
11406
6bdac416
JJ
114072000-12-06 Jeff Johnston <jjohnstn@redhat.com>
11408
11409 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
11410 * libc/stdlib/Makefile.in: Regenerated.
11411 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
11412 * libc/stdio/vfieeefp.h: Added long double bit structures.
11413 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
11414 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
11415 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
11416 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
11417 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
11418 _strtold routines used for conversions between character
11419 and long double.
11420
ec270d31
CV
11421Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11422
11423 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
11424
db2d9549
JJ
114252000-12-04 Joel Sherrill <joel@OARcorp.com>
11426
ba3ccd63 11427 * libc/include/machine/time.h: RTEMS systems can configure clock
db2d9549
JJ
11428 tick rate so use sysconf() to ask.
11429
6ba54a15
JJ
114302000-12-04 Joel Sherrill <joel@OARcorp.com>
11431
ba3ccd63 11432 * libc/include/sys/times.h: Add reference to POSIX standard.
6ba54a15 11433
8677b819
JJ
114342000-12-04 Joel Sherrill <joel@OARcorp.com>
11435
ba3ccd63
EB
11436 * libc/include/sys/time.h: Added BSD timer manipulation macros
11437 used by RTEMS code.
8677b819 11438
1b61a706
JJ
114392000-12-04 Joel Sherrill <joel@OARcorp.com>
11440
ba3ccd63
EB
11441 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
11442 referenced by code generated by gcc 2.8.1.
11443 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
1b61a706
JJ
11444 satisfy gcc.
11445
f5e7c124
JJ
114462000-12-04 Joel Sherrill <joel@OARcorp.com>
11447
ba3ccd63 11448 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
f5e7c124 11449
768abc9c
JJ
114502000-12-04 Joel Sherrill <joel@OARcorp.com>
11451
ba3ccd63 11452 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
768abc9c 11453
9e5dd5ea
JJ
114542000-12-04 Joel Sherrill <joel@OARcorp.com>
11455
ba3ccd63 11456 * configure.host (or16, or32): New entries for OpenCores
9e5dd5ea 11457 OpenRisc CPUs.
ba3ccd63 11458 (*-*-rtems*): Add -DNO_EXEC.
9e5dd5ea 11459
768abc9c 114602000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f 11461
ba3ccd63
EB
11462 * libc/include/sys/errno.h: Added comments on many error numbers.
11463 * libc/string/strerror.c: Added some more strings.
7713fb6f 11464
b273323f
JJ
114652000-11-30 Jeff Johnston <jjohnstn@redhat.com>
11466
11467 * libc/sys/sh/syscalls.c (_link): New stub.
11468
0ffc3b94
NC
114692000-11-29 Nick Clifton <nickc@redhat.com>
11470
11471 * configure.host: Add xscale target.
11472 * libc/machine/xscale: New directory.
11473 * libc/machine/xscale/Makefile.am: New file.
11474 * libc/machine/xscale/Makefile.in: New file.
11475 * libc/machine/xscale/aclocal.m4: New file.
11476 * libc/machine/xscale/configure: New file.
11477 * libc/machine/xscale/configure.in: New file.
11478 * libc/machine/xscale/memchr.S: New file.
11479 * libc/machine/xscale/memcmp.S: New file.
11480 * libc/machine/xscale/memcpy.S: New file.
11481 * libc/machine/xscale/memmove.S: New file.
11482 * libc/machine/xscale/memset.S: New file.
11483 * libc/machine/xscale/strchr.S: New file.
11484 * libc/machine/xscale/strcmp.S: New file.
11485 * libc/machine/xscale/strcpy.S: New file.
11486 * libc/machine/xscale/strlen.S: New file.
11487
cbbf0f96
CV
11488Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11489
11490 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
11491 avoid compiler warnings.
11492
73dea790
MM
114932000-11-22 Michael Meissner <meissner@redhat.com>
11494
11495 * libc/posix/execl.c (execl): Don't reference environ directly,
11496 reference it only via a static pointer to avoid problems with some
11497 shared library systems and with different uses of small data where
11498 the user specifies his own version of environ.
11499 * libc/posix/execv.c (execv): Ditto.
11500 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
11501 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
11502 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
11503
11504 * libc/stdlib/getenv.c (environ): Delete unused reference to
11505 environ.
11506
11507 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
11508 colorization.
11509 * libc/stdlib/system.c: Ditto.
11510
08eac2ae
CF
11511Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
11512
11513 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
11514 including windows headers.
11515
5478bf37
JJ
115162000-11-20 Jeff Johnston <jjohnstn@redhat.com>
11517
11518 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
11519 * libc/include/dirent.h: Added definition of MAXNAMLEN if
11520 not defined by sys/dirent.h.
11521 * libc/posix/execvp.c: Added include of dirent.h to get
11522 MAXNAMLEN value which used to be in unistd.h.
11523
3a760728
CV
11524Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11525
11526 * libc/include/sys/types.h: Change type of i to `size_t' in
11527 FD_ZERO macro to avoid compiler warnings.
11528
86fff69f
CF
11529Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
11530
11531 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
11532 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
11533
ba9e88d2
CV
11534Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11535
11536 * libc/include/sys/unistd.h: Add defines for sysconf values
11537 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
11538 _SC_AVPHYS_PAGES.
11539
a8018ef3
CF
11540Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
11541
11542 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
11543 declarations for __CYGWIN__.
11544
b944c6f6
GK
115452000-09-19 Geoffrey Keating <geoffk@cygnus.com>
11546
11547 * libc/signal/signal.c (__sigtramp_r): ISO C requires
11548 case labels to be integral constant expressions, so
11549 use an if/else tree instead.
11550 (_raise_r): Likewise.
11551
7f18fcb4
JJ
115522000-09-13 Jeff Johnston <jjohnstn@redhat.com>
11553
11554 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
11555 clipping patch from e-mail reader.
11556
242361df
JJ
115572000-09-13 Will Cohen <wcohen@redhat.com>
11558
11559 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
11560 Added return value 0.
11561 (_longjmp): Allow longjmp to return value of second argument
11562 passed to it.
11563
8a8c59b9
JJ
115642000-09-06 Jeff Johnston <jjohnstn@redhat.com>
11565
ba3ccd63
EB
11566 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
11567 inline code to prevent having to include another header file.
8a8c59b9 11568
a385ae75
CF
11569Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
11570
11571 * Makefile.am: Fix space vs. tab problem in install-data-local.
11572 * Makefile.in: Regenerate.
11573
11574Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
11575
11576 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
11577 (_EXPARM): New macro for defining a function parameter.
11578 * libc/include/stdlib.h: Use _EXPARM.
11579 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
11580
a36cd013
JJ
115812000-09-05 Manfred Hollstein <manfredh@redhat.com>
11582
ba3ccd63
EB
11583 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
11584 required, as documented in the gnu coding standards.
11585 * Makefile.in: Regenerate.
a36cd013 11586
f825dfda
JJ
115872000-09-05 Jeff Johnston <jjohnstn@redhat.com>
11588
11589 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
11590 make O_NDELAY and O_NONBLOCK have the same value.
11591
4ba9aab7
JJ
115922000-08-30 Kazu Hirata <kazu@hxi.com>
11593
ba3ccd63 11594 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
4ba9aab7 11595
db7acc38
JJ
115962000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
11597
ba3ccd63
EB
11598 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
11599 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
11600 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
11601 everywhere else.
db7acc38 11602
44e36af4
GK
116032000-08-30 Geoffrey Keating <geoffk@cygnus.com>
11604
11605 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
11606 * libc/include/string.h: Don't include <sys/types.h>,
11607 as it causes really bad namespace pollution. Don't declare
11608 swab(), it is properly declared in unistd.h.
11609
00a2f168
JJ
116102000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
11611
ba3ccd63
EB
11612 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
11613 (broken) support for non-existent /etc/passwd field "comment".
00a2f168 11614
6beeb240
JJ
116152000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
11616
ba3ccd63
EB
11617 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
11618 only if _DIRENT_HAVE_D_NAMLEN is defined.
11619 (alphasort): aligned prototype with
11620 libc/sys/cygwin/sys/dirent.h and simplified function body.
11621 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
11622 long telldir (DIR *) as mentioned in annex B of POSIX.1
6beeb240 11623
ef44da42
JJ
116242000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
11625
ba3ccd63
EB
11626 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
11627 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
11628 Added __CLI and __STI macros (controlled via
11629 _I386MACH_ALLOW_HW_INTERRUPTS macro).
11630 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
11631 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
11632 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
11633 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
11634 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
11635 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
11636 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
11637 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
11638 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
11639 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
11640 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
11641 for all global entry points.
11642 * libc/machine/i386/setjmp.S: removed code replicated in
11643 libc/machine/i386/i386mach.h and included i386mach.h instead;
11644 Use __CLI and __STI instead of cli and sti.
ef44da42 11645
14d3488d
DD
116462000-08-25 DJ Delorie <dj@redhat.com>
11647
11648 * libc/include/sys/unistd.h (environ): this one isn't from the
11649 DLL, no __IMPORT
11650
c9ca4412
CF
11651Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
11652
11653 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
11654 environ when compiling under cygwin since it is already declared in
11655 unistd.h.
11656
2d5862de
JJ
116572000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11658
11659 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
11660 like x << y-z to the equivalent x << (y-z).
11661 (d2b): changed if statements with assignment to perform the
11662 assignment prior to the if check.
11663 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
11664 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
11665 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
11666 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
11667 precedence.
11668 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
17c0c97d 11669 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
2d5862de
JJ
11670 execve.c).
11671 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
11672 precedence.
11673 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
11674 clarify && and || precendence (and to remove pascalism).
11675 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
11676 * libm/math/s_infconst.c: added another pair of braces to all
11677 initializers for __infinity (need three: for __infinity[1] array,
11678 for union __dmath, and for i[2]).
11679
0888fedd
JJ
116802000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11681
199359f0
JJ
11682 * libc/stdlib/abort.c: changed description: uses "raise" instead of
11683 "getpid" and "kill"; added: uses "write" and "_exit".
11684 Also included unistd.h for "_exit" prototype.
11685 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
11686 reent.h for "_fork_r" and "_wait_r" prototypes.
17c0c97d 11687 (do_system): changed extern char *environ[] to POSIX-friendly
199359f0
JJ
11688 extern char **environ.
11689 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
11690 prototypes.
11691 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
11692 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
11693 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
11694 * libc/reent/openr.c: included fcntl.h for "open" prototype.
11695 * libc/reent/signalr.c: included signal.h for "kill" prototype,
11696 unistd.h for "getpid" prototype.
11697 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
11698 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
11699 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
11700 prototype. Also included stdlib.h for "abort", string.h for
11701 "strdup" and "strncmp" prototypes.
11702 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
11703 "strncpy", unistd.h for "read" and "close" prototypes.
11704 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
11705 "strcat" prototypes.
11706
117072000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
11708
0888fedd
JJ
11709 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
11710 used later (ifdef __SCLE)
11711 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
11712 used later (ifdef MB_CAPABLE)
11713 * libc/string/memset.c (memset): removed unused variables "count"
11714 and "unaligned_addr"
11715 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
11716 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
11717 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
11718 and "gid"
11719
a334e5ef
JJ
117202000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11721
ba3ccd63
EB
11722 * libc/stdlib/envlock.c: changed documented "__env_lock" and
11723 "__env_unlock" prototype from "void *" or "char *" to
11724 "struct _reent *" to match real function. Also added include
a334e5ef 11725 of envlock.h.
ba3ccd63
EB
11726 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
11727 "__malloc_unlock" prototype from "void *" or "char *" to
11728 "struct _reent *" to match real function.
11729 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
11730 prototypes (for getenv_r.c and setenv_r.c).
a334e5ef 11731
644b7f26
DD
117322000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
11733
11734 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
11735 and prototype in cygwin's utmp.h
11736
5bacbf10
JJ
117372000-08-16 Eric Fifer <efifer@sanwaint.com>
11738
ba3ccd63 11739 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
5bacbf10 11740
38a6bf98
NC
117412000-08-09 Nick Clifton <nickc@cygnus.com>
11742
11743 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
11744 epilogue and to allow the functions to be used in a Thumb based
11745 toolchain.
11746
befe0fb3
JJ
117472000-08-08 Jeff Johnston <jjohnstn@redhat.com>
11748
11749 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
11750 so size of 0 results in nothing being written to string.
11751 Also fixed code so that when size is non-zero, there is only
11752 a maximum of size - 1 characters written to the array and
11753 a nul terminator is appended at the end.
11754 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
11755
749d9bcd
DD
117562000-08-01 DJ Delorie <dj@redhat.com>
11757
11758 * libc/include/sys/config.h: define __IMPORT appropriately
11759 * libc/include/ctype.h (_ctype_): use __IMPORT
11760 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
11761 * libc/include/math.h (__mb_cur_max): ditto
11762 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
11763 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
11764 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
11765 * libc/include/unistd.h (environ): ditto
11766
7c110b17
MM
117672000-07-28 Michael Meissner <meissner@redhat.com>
11768
11769 * libc/include/math.h (__infinity): Declare as an array without
11770 bounds to get around small data support. Rewrite Cygwin support
11771 to be more general.
11772 * libm/math/s_infconst.c (__infinity): Ditto.
11773 * libm/mathfp/s_infconst.c (__infinity): Ditto.
11774
bf7be721
CF
11775Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
11776
11777 * libc/include/math.h: Use appropriate dll import linkage for
11778 __infinity under Cygwin.
11779
91a8d90b
DD
117802000-07-13 DJ Delorie <dj@cygnus.com>
11781
11782 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
11783
ba2048d3
JJ
11784Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
11785
11786 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
11787 to argument list for AngelSWI_Reason_GetCmdLine.
11788
4634da64
JJ
11789Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
11790
11791 * configure.host: Add support for AVR target.
11792 * libc/include/machine/ieeefp.h: Likewise.
11793 * libc/include/sys/config.h: Likewise.
11794
b19f72a2
RK
11795Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
11796
11797 * README: Newlib 1.8.2 must be built in a separate directory
11798 than the sources.
11799
a704d94a
JJ
11800Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11801
ba3ccd63
EB
11802 * libc/include/sys/reent.h (_rand_next): Added __extension__
11803 qualifier as long long type is not strict ANSI.
11804 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
11805 to long long constant.
a704d94a 11806
b585720b
CV
11807Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
11808
ba3ccd63
EB
11809 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
11810 `setegid' provided by Cygwin.
b585720b 11811
01c327ba
CV
11812Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
11813
ba3ccd63
EB
11814 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
11815 account for Cygwin.
01c327ba 11816
46a43a99
JJ
11817Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11818
ba3ccd63
EB
11819 * libc/include/sys/reent.h (_rand_next): Changed to
11820 unsigned long long and moved to end of _reent struct in _new union.
11821 (_REENT_INIT): Changed to move _rand_next initialization.
11822 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
11823 linear congruential algorithm that is used by DJGPP.
46a43a99 11824
a68078cb
RK
11825Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
11826
11827 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
11828 * libc/include/sys/config.h: Define __RAND_MAX.
11829
518882f3
JJ
11830Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11831
ba3ccd63
EB
11832 * libc/stdlib/rand_r.c: New algorithm that meets minimal
11833 standard.
518882f3 11834
d51d968a
CF
11835Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
11836
11837 * libc/include/string.h: Work around problem with strsignal and gdb.
11838
d2dd5765
CF
11839Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
11840
11841 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
11842 * libc/include/malloc.h: Ditto.
11843 * libc/include/process.h: Ditto.
11844 * libc/include/stdio.h: Ditto.
11845 * libc/include/stdlib.h: Ditto.
11846 * libc/include/time.h: Ditto.
11847 * libc/include/machine/setjmp.h: Ditto.
11848 * libc/include/sys/errno.h: Ditto.
11849 * libc/include/sys/signal.h: Ditto.
11850 * libc/include/sys/stat.h: Ditto.
11851 * libc/include/sys/time.h: Ditto.
11852 * libc/include/sys/unistd.h: Ditto.
11853 * libc/include/string.h: Ditto. strsignal should return a const char *.
11854
88870218
JJ
118552000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
11856
11857 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
11858 * libm/common/s_log1p.c (log1p): Likewise.
11859 * libm/common/s_scalbn.c (scalbn): Likewise.
11860 * libm/math/e_log.c: Likewise.
11861 * libm/math/e_asin.c: Likewise.
11862 * libm/math/ef_asin.c: Likewise.
11863 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
11864 * libm/math/e_j1.c (pone, qone): Likewise.
11865 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
11866 * libm/math/ef_j1.c (ponef, qonef): Likewise.
11867 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
11868 * libm/mathfp/e_j1.c (pone, qone): Likewise.
11869 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
11870 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
11871
c4e1aa01
DD
118722000-05-19 DJ Delorie <dj@cygnus.com>
11873
11874 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
11875 (__sread): always read in binary mode
11876 (__swrite): always write in binary mode
11877 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
11878 compatibility issues with different dll versions
11879 * libc/stdio/fopen.c: use __stextmode
11880 * libc/stdio/fdopen.c: ditto
11881 * libc/stdio/freopen.c: ditto
11882 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
11883 * libc/stdio/local.h: declare __stextmode
17c0c97d 11884
f4393261
DD
118852000-05-18 DJ Delorie <dj@cygnus.com>
11886
11887 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
17c0c97d 11888
2b533fac
JJ
11889Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11890
11891 * libc/include/ctype.h: Changed tolower and toupper macros
11892 to use __extension__ to prevent pedantic warnings.
11893
75362a76
RK
11894Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
11895
11896 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
11897 structures.
11898
ec463fc7
JW
11899Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
11900
11901 * libc/include/machine/ieeefp.h: Add ia64 support.
11902 * configure.host: Likewise.
11903
f35ceefa
JJ
11904Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
11905
ba3ccd63
EB
11906 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
11907 month is now padded with space, not zero. This now conforms to
f35ceefa
JJ
11908 ANSI standard.
11909
b96fca8c
CV
11910Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
11911
ba3ccd63
EB
11912 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
11913 host or network path") used by cygwin. Add some comments.
b96fca8c 11914
49d64538
JJ
11915Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
11916
11917 * libc/include/stdio.h (FILE): define __SCLE for "convert line
11918 endings" for Cygwin.
11919 (__sgetc): convert line endings if needed
11920 (__sputc): ditto
11921 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
11922 * libc/stdio/fopen.c (_fopen_r): ditto
11923 * libc/stdio/freopen.c (freopen): ditto
11924 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
11925 * libc/stdio/fvwrite.c (__sfvwrite): ditto
11926
91fb1e7f
AO
11927Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
11928
11929 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
11930 post-increment when it is worth it, spacewise.
11931
c87be3e4
JJ
11932Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
11933
11934 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
11935 * libc/stdio/findfp.c (std): Added declaration of flags and file.
17c0c97d 11936 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
c87be3e4
JJ
11937 return type.
11938 * libc/stdio/putchar.c (putchar): Added return statement.
11939 * libc/stdio/refill.c (lflush): Added correct parentheses.
11940 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
17c0c97d 11941 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
c87be3e4
JJ
11942 prints long value to use l qualifier.
11943 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
11944 messages and initialized local values: ilim, ilim1, and spec_case.
11945 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
11946 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
11947 * libc/stdlib/mprec.c: Ditto.
11948 * libc/stdlib/setenv_r.c: Ditto.
11949 * libc/stdlib/strtod.c: Ditto.
11950 * libc/stdlib/strtol.c: Ditto.
11951 * libc/stdlib/strtoul.c: Ditto.
11952 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
11953 * libm/common/sf_log1p.c: Ditto.
11954 * libm/common/sf_scalbn.c: Ditto.
11955 * libm/math/ef_log.c: Ditto.
11956
11f5b065
CV
11957Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
11958
ba3ccd63
EB
11959 * libc/posix/execvp.c (execvp): Check path for
11960 trailing slash.
11f5b065 11961
796e3b20
CV
11962Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
11963
ba3ccd63
EB
11964 * libc/include/sys/unistd.h: Add prototypes for
11965 fchmod, fchown, lchown.
796e3b20 11966
b489803a
JJ
11967Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11968
11969 * acinclude.m4: Changed release to 1.8.2.
11970 * aclocal.m4 configure doc/aclocal.m4 doc/configure
11971 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
11972 libc/machine/configure libc/machine/a29k/aclocal.m4
11973 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
11974 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
11975 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
11976 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
11977 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
11978 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
11979 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
11980 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
11981 libc/machine/i386/configure libc/machine/i960/aclocal.m4
11982 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
11983 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
11984 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
11985 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
11986 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
11987 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
11988 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
11989 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
11990 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
11991 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
11992 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
11993 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
11994 libc/machine/v850/configure libc/machine/w65/aclocal.m4
11995 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
11996 libc/machine/z8k/configure libc/sys/aclocal.m4
11997 libc/sys/aclocal.m4 libc/sys/configure
11998 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11999 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
12000 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
12001 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
12002 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
12003 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
12004 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
12005 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
12006 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
12007 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
12008 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
12009 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
12010 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
12011 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
12012 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
12013 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
12014 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
12015 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
12016 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
12017 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
12018 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
12019 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
12020 libm/aclocal.m4 libm/configure: Regenerated.
12021
79908d67
NC
120222000-03-24 Nick Clifton <nickc@cygnus.com>
12023
12024 * libc/sys/arm/syscalls.c: Fix compile time warnings.
12025 (do_AngelSWI): Add "cc" to list o registers clobbered.
12026
7684ddaf
FN
12027Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
12028
12029 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
17c0c97d 12030 information to be clobbered by an Angel C library support syscall.
7684ddaf 12031
b8ec20c8
JJ
12032Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12033
12034 * libc/stdlib/envlock.c: Fixed comment typo.
12035
fae4c299
JJ
12036Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12037
12038 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
12039 code to update nread as each character is processed instead
12040 of using buffer contents which throw away leading zeroes.
12041
dc98804b
RK
12042Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
12043
ba3ccd63 12044 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
dc98804b 12045
5ed2f523
JJ
12046Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
12047
12048 * libc/include/string.h: Include <sys/types.h>.
12049
1cf0ee34
AO
12050Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12051
12052 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
12053 with XSH5, not SVID.
12054
e9c94978
JJ
12055Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
12056
ba3ccd63 12057 * libc/include/string.h: Changed last argument back to ssize_t
17c0c97d 12058 to make it compatible with XPG4 definition which is
e9c94978
JJ
12059 defined in <unistd.h>. There is a conflict in the SVID 3
12060 and XPG4 definitions and newlib will settle with XPG4.
ba3ccd63 12061 * libc/string/swab.c: Ditto.
e9c94978 12062
3072163c
JJ
12063Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
12064
ba3ccd63
EB
12065 * libc/include/string.h: Changed last argument to size_t.
12066 * libc/string/swab.c: Changed last argument to size_t.
3072163c 12067
f205ea7a
AO
12068Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12069
12070 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
12071 (CHEWOUT_FILES): Added unlinkr.def.
12072 * libc/reent/Makefile.in: Rebuilt.
12073 * libc/sys.tex: Include unlinkr.def.
12074 * libc/reent/linkr.c (_unlink_r): Moved to...
12075 * libc/reent/unlinkr.c: ... new file.
12076
85dd2e5b
AO
12077Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12078
12079 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
12080 (CHEWOUT_FILES): Added swab.def.
12081 * libc/string/Makefile.in: Rebuilt.
12082 * libc/string/string.tex: Include swab.def.
12083 * libc/include/string.h (swab): Declare.
12084 * libc/string/swab.c: New file.
12085
c5053058
AO
12086Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12087
12088 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
12089 (CHEWOUT_FILES): Added getw.def and putw.def.
12090 * libc/stdio/Makefile.in: Rebuilt.
12091 * libc/stdio/stdio.tex: Include getw.def and putw.def.
12092 * libc/stdio/getw.c: New file.
12093 * libc/stdio/putw.c: New file.
12094
dbaf37cf
JJ
12095Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
12096
12097 * libc/stdio/flags.c (__sflags): Added check that mode[1]
12098 is non-null before looking at mode[2].
12099
bc019ef2
RK
12100Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
12101
12102 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
12103 * libm/mathfp/sf_atan.c: Ditto.
12104
12105Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
12106
12107 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
12108
cd641b2d
RK
12109Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
12110
12111 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
12112 _DOUBLE_IS_32BITS.
12113
b0ba0ac2
JJ
12114Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
12115
12116 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
12117 call prior to calling _VFPRINTF_R so reentrant data area is set.
12118 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
12119
8a0efa53
CF
12120Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
12121
12122 * libc/stdio/vfscanf.c (limits.h): #include.
12123 (MAX_LONG_LEN): #define.
12124 (__svfscanf): Handle floating point numbers with arbitrary amounts
12125 of leading zeroes.
12126
121272000-02-15 Nick Clifton <nickc@cygnus.com>
12128
12129 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
12130 zero. Set the blocksize to 1024/
12131
12132Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
12133
12134 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
12135 with line buffering.
12136
12137Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12138
17c0c97d 12139 * acinclude.m4: Changed include directory for winsup headers.
8a0efa53
CF
12140 * aclocal.m4 configure libc/aclocal.m4
12141 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
12142 libc/locale/Makefile.in libc/machine/aclocal.m4
12143 libc/machine/configure libc/machine/a29k/aclocal.m4
12144 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
12145 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
12146 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
12147 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
12148 libc/machine/fr30/configure
12149 libc/machine/h8300/aclocal.m4
12150 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
12151 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
12152 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
12153 libc/machine/i386/configure libc/machine/i960/aclocal.m4
12154 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
12155 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
12156 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
12157 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
12158 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
12159 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
12160 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
12161 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
17c0c97d 12162 libc/machine/powerpc/configure
8a0efa53
CF
12163 libc/machine/sh/aclocal.m4
12164 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
12165 libc/machine/sparc/configure
12166 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
12167 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
12168 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
12169 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
12170 libc/misc/Makefile.in libc/posix/Makefile.in
17c0c97d 12171 libc/reent/Makefile.in
8a0efa53
CF
12172 libc/signal/Makefile.in
12173 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
12174 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
12175 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
12176 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
12177 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
12178 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
12179 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
12180 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
12181 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
12182 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
12183 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
12184 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
12185 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
12186 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
12187 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
12188 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
12189 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
12190 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
12191 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
12192 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
12193 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
12194 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
12195 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
12196 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
12197 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
12198 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
12199 libm/configure: Regenerated.
12200
12201Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
12202
12203 * libc/stdlib/putenv_r.c (_putenv_r): New file.
12204 * libc/stdlib/strdup_r.c (_strdup_r): New file.
12205 * libc/include/string.h: Added _strdup_r.
17c0c97d 12206 * libc/stdlib/putenv.c: Added call to reentrant version.
8a0efa53
CF
12207 * libc/stdlib/strdup.c: Ditto.
12208 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
12209 * libc/include/stdlib.h: Ditto.
17c0c97d 12210 * libc/stdlib/Makefile.in: Regenerated.
8a0efa53
CF
12211 * libc/string/Makefile.in: Regenerated.
12212 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
12213 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
12214 management calls to reentrant versions.
12215 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
12216 * libc/stdlib/wctomb.c: Ditto.
12217 * libc/stdlib/mblen.c: Ditto.
12218 * libc/stdlib/mbstowcs.c: Ditto.
17c0c97d 12219 * libc/stdlib/mbtowc.c: Ditto.
8a0efa53
CF
12220 * libc/stdlib/getenv.c: Ditto.
12221 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
12222 and _strdup_r.
12223
12224Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
12225
12226 patch from Corinna Vinschen <corinna@vinschen.de>
12227 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
12228
bc019ef2 12229Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
12230
12231 * libm/mathfp/s_atangent.c: Fix exponent calculation.
12232 * libm/mathfp/s_ldexp.c: Ditto.
12233 * libm/mathfp/sf_atangent.c: Ditto.
12234 * libm/mathfp/sf_ldexp.c: Ditto.
12235
12236Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12237
12238 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
12239 * libc/include/locale.h: define NULL to be 0.
12240
12241Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
12242
12243 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
12244 function.
12245
12246Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
12247
12248 * libc/machine/mn10300/setjmp.S: Handle am33.
12249
122501999-11-26 Nick Clifton <nickc@cygnus.com>
12251
12252 * libc/sys/arm/syscalls.c: Add function prototypes.
12253 (stack_ptr): Move declaration before function definitions.
12254
12255Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12256
12257 * NEWS: Updated version information.
12258 * README: Ditto.
12259
12260Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
12261
12262 * libc/machine/i386/strchr.S: Fixed alignment test.
12263
12264Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
12265
12266 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
12267
12268Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
12269
12270 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
17c0c97d 12271 ensuring that there is space between the two.
8a0efa53
CF
12272
12273Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
12274
12275 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
12276 only.
12277
122781999-10-08 Vadim Egorov <egorovv@1c.ru>
12279
12280 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
12281 section
12282
12283Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
12284
12285 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
12286 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
12287
12288Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
12289 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
12290 per POSIX 1003.1b.
12291 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
12292 per POSIX 1003.1b.
12293
122941999-09-13 DJ Delorie <dj@cygnus.com>
12295
12296 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
12297 also.
12298
12299Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
12300
12301 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
12302 also note BUFSIZ as its size.
12303
12304Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
12305
12306 * configure.host: Corrected feature defines for RTEMS.
12307 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
12308 * libc/include/sys/stat.h: mkfifo() should take const path arg.
12309 * libc/include/sys/unistd.h: pathconf() should take const path arg.
12310 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
12311 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
12312 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
12313 _PC_PRIO_IO, and _PC_SYNC_IO.
12314 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
12315 * libc/machine/m68k/Makefile.in: Regenerated.
12316 * libc/machine/m68k/strcpy.c: New file.
12317 * libc/machine/m68k/strlen.c: New file.
12318 * libc/stdio/tmpnam.c: Always make the returned name usable.
12319 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
12320 * libc/sys/rtems/sys/dirent.h: New file.
12321 * libc/sys/rtems/sys/types.h: Added dev_t.
12322
12323Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
12324
12325 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
12326
12327Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
12328
12329 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
12330 my patch.
12331
12332Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
12333
12334 patch from Jeff Johnston <jjohnstn@cygnus.com>
12335 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
12336 buffer is not in a useful state.
12337
123381999-09-01 Nick Clifton <nickc@cygnus.com>
12339
12340 * libc/sys/arm/syscalls.c (_link): Add stub.
12341
12342Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12343
12344 * ftell.c (ftell): Use actual position within buffer for text mode.
12345 * findfp.c (std): Initialize ptr->_bf._size.
12346
12347Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
12348
12349 * libc/include/sys/unistd.h: Add nice() declaration.
12350
123511999-08-09 Nick Clifton <nickc@cygnus.com>
12352
12353 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
12354 declare as a thumb function so that the disassembler will see the
12355 mode change.
12356
12357Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12358
12359 * libc/reent/reent.tex: Updated list of reentrant functions.
12360
123611999-07-09 Michael Meissner <meissner@cygnus.com>
12362
12363 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
17c0c97d 12364
8a0efa53
CF
12365Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
12366
12367 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
12368 separate file.
12369 * libc/stdio/snprintf.c: New file.
12370 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
12371 separate file.
12372 * libc/stdio/vsnprintf.c: New file.
12373 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
12374 * libc/stdio/Makefile.in: Regenerated.
12375
12376Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
12377
12378 Patch submitted by Egor Duda <deo@logos-m.ru>:
12379 * libc/include/stdio.h: Add declarations for *nprintf.
12380 * libc/stdio/sprintf.c (snprintf): New function.
12381 (_snprintf_r): New function.
12382 * libc/stdio/vsprintf.c (vsnprintf): New function.
12383 (_vnsprintf_r): New function.
12384
12385Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12386
12387 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
12388 * libm/Makefile.am (stmp-targetdep): Ditto.
12389 * libc/Makefile.in: Regenerated.
12390 * libm/Makefile.in: Ditto.
12391
12392Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12393
12394 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
12395 * libm/Makefile.am (stmp-targetdep): Ditto.
12396 * libc/Makefile.in: Regenerated.
12397 * libm/Makefile.in: Ditto.
12398
12399Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
12400
12401 * Makefile.am: Removed dependencies on all-recursive and added "."
12402 to the SUBDIRS list to prevent infinite recursion from occurring.
12403 Also removed any references to EXTRA_DATA.
12404 * libc/Makefile.am: Ditto.
12405 * libc/machine/Makefile.am: Ditto.
12406 * libc/machine/i386/Makefile.am: Ditto.
12407 * libm/Makefile.am: Ditto.
12408 * libc/sys/Makefile.am: Ditto.
12409 * Makefile.in: Regenerated.
12410 * aclocal.m4: Ditto.
12411 * configure: Ditto.
12412 * doc/Makefile.in: Ditto.
12413 * doc/aclocal.m4: Ditto.
12414 * doc/configure: Ditto.
12415 * libc/Makefile.in: Ditto.
12416 * libc/aclocal.m4: Ditto.
12417 * libc/configure: Ditto.
12418 * libc/machine/Makefile.in: Ditto.
12419 * libc/machine/aclocal.m4: Ditto.
12420 * libc/machine/configure: Ditto.
12421 * libc/machine/mn10300/Makefile.in: Ditto.
12422 * libc/machine/mn10300/aclocal.m4: Ditto.
12423 * libc/machine/mn10300/configure: Ditto.
12424 * libc/sys/Makefile.in: Ditto.
12425 * libc/sys/aclocal.m4: Ditto.
12426 * libc/sys/configure: Ditto.
12427 * libm/Makefile.in: Ditto.
12428 * libm/aclocal.m4: Ditto.
12429 * libm/configure: Ditto.
12430
12431Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12432
12433 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
12434
12435Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12436
12437 * libc/include/stdlib.h: Add reentrant routines.
12438 * libc/stdlib/Makefile.am: Add reentrant routines.
12439 * libc/stdlib/Makefile.in: Ditto.
12440 * libc/stdlib/envlock.c: New file.
12441 * libc/stdlib/envlock.h: New file.
12442 * libc/stdlib/getenv.c: Modify to call reentrant routine.
12443 * libc/stdlib/getenv_r.c: New file.
12444 * libc/stdlib/mblen.c: Modify to call reentrant routine.
12445 * libc/stdlib/mblen_r.c: New file.
12446 * libc/stdlib/setenv.c: Modify to call reentrant routine.
12447 * libc/stdlib/setenv_r.c: New file.
12448 * libc/stdlib/stdlib.tex: Add reentrant routines.
12449
12450Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
12451
12452 * libc/include/sys/types.h: Define __MS_types__ whenever
12453 cygwin or win32.
12454
12455Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
12456
12457 * libc/include/machine/ieeefp.h: Always default to little
12458 endian if Windows, regardless of architecture.
12459 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
12460 regardless of architecture.
12461
12462Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
12463
12464 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
12465 _WIN32 isn't defined.
12466
12467Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
12468
12469 * libm/common/s_rint.c (rint): Add volatile qualifier for
12470 intermediate value w.
12471 * libm/common/sf_rint.c (rintf): Ditto.
12472
12473Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12474
12475 * libc/sys/arm/syscalls.c (remap_handle): Added check to
12476 ensure that std streams are initialized before being referenced.
12477
124781999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
12479
12480 * README: Update reference to newlib@cygnus.com new
12481 newlib@sourceware.cygnus.com address.
12482
12483Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
12484
12485 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
12486 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
12487 defined, even if _WIN32 isn't defined.
12488
12489Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
12490
12491 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
12492
12493Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12494
12495 * libc/include/sys/reent.h: Change Long and ULong to __Long and
12496 __ULong.
12497 * libc/stdlib/dtoa.c: Ditto.
12498 * libc/stdlib/mprec.c: Ditto.
12499 * libc/stdlib/mprec.h: Ditto.
12500 * libc/stdlib/strtod.c: Ditto.
12501
125021999-04-21 Nick Clifton <nickc@cygnus.com>
12503
12504 * configure.host (mcore): Remove mcore machine directory.
12505
125061999-04-18 Nick Clifton <nickc@cygnus.com>
12507
12508 * libc/include/machine/ieeefp.h: Add support for mcore target.
12509 * libc/include/machine/setjmp.h: Add support for mcore target.
12510 * configure.host: Add support for mcore target.
12511
125121999-04-13 Mark Salter <msalter@cygnus.com>
12513
12514 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
12515 * libc/sys/arm/syscalls.c: Added isatty.
12516
12517Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12518
12519 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
12520 insert zeroes after significant digits.
12521
12522Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
17c0c97d 12523
8a0efa53
CF
12524 * libc/stdio/vfprintf.c (cvt): Changed floating point
12525 cvt routine to use union used by dtoa to properly determine
12526 if the sign bit is on or not.
12527 * libc/stdio/vfieeefp.h: New file
17c0c97d 12528
8a0efa53
CF
12529Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12530
12531 * aclocal.m4: Regenerated.
12532 * configure: Regenerated.
12533
12534Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12535
12536 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
12537 f_tanf reference.
12538 * libc/machine/i386/Makefile.in: Regenerated.
12539
12540Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
12541
12542 * acinclude.m4: Changed to work with new automake.
12543 * configure: Regenerated.
12544 * libc/machine/i386/aclocal.m4: Regenerated.
12545 * libc/machine/i386/configure: Regenerated.
12546
12547Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
12548
12549 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
12550 for telldir() and seekdir(). Rename unused structure element
12551 for use with these two routines.
12552
12553Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
12554
12555 * libc/time/mktime.c (validate_structure): Multiple fixes to
12556 code to handle cases where input fields are outside valid ranges.
12557 * libc/stdlib/div.c (div): Modified invalid rounding check.
12558 * libc/stdlib/ldiv.c (ldiv): Ditto.
12559
12560Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
12561
12562 * libc/machine/i386/memcpy.S: Performance rewrite.
12563 * libc/machine/i386/memmove.S: Ditto.
12564 * libc/machine/i386/i386mach.h: Added more register definitions.
12565 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
12566 option used.
12567 * libc/include/machine/fastmath.h: Add definitions for x86
12568 fast-math routines.
12569
12570Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12571
12572 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
12573
12574Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
12575
12576 Adjust newlib headers for new Cygwin Win32 API header files:
12577 * libc/include/sys/time.h: Check _WINSOCK_H rather than
12578 _GNU_H_WINDOWS32_SOCKETS.
12579 * libc/include/sys/types.h: Ditto.
12580
12581Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12582
12583 *include/sys/reent.h: Add checks for size of Bigint element Long.
12584 *libc/dtoa.c: Change routines to use generic Long type.
12585 *libc/mprec.c: Change routines to use generic Long type.
12586 *libc/mprec.h: Change routines to use generic Long type.
12587
12588Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
12589
12590 * libc/Makefile.am: Add .def files.
12591 * libc/Makefile.in: Regenerate.
12592 * libc/e_acosh.c: Documentation update.
12593 * libc/e_atanh.c: Documentation update.
12594 * libc/e_hypot.c: Documentation update.
12595 * libc/e_remainder.c: Documentation update.
12596 * libc/er_lgamma.c: Documentation update.
12597 * libc/mathfp.tex: Documentation update.
12598 * libc/s_acos.c: Documentation update.
12599 * libc/s_atan.c: Documentation update.
12600 * libc/s_atan2.c: Documentation update.
12601 * libc/s_cosh.c: Documentation update.
12602 * libc/s_fmod.c: Documentation update.
12603 * libc/s_isnan.c: Documentation update.
12604 * libc/s_log10.c: Documentation update.
12605 * libc/s_pow.c: Documentation update.
12606 * libc/w_jn.c: Documentation update.
12607
12608Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
12609
12610 * aclocal.m4: Regenerate.
12611 * configure: Regenerate.
12612
12613Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
12614
ba3ccd63
EB
12615 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
12616 to return 1 if user specified return code is 0.
12617 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
8a0efa53
CF
12618
12619Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
12620
12621 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
12622 to save the return address. Fixed longjmp to return to the original
12623 calling address of setjmp and to return the user specified return code
12624 rather than default to 1.
12625 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
12626
12627Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
12628
12629 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
12630
126311999-02-10 Nick Clifton <nickc@cygnus.com>
12632
12633 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
12634 volatile so that its assignments will not be discarded.
12635
12636Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
12637
12638 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
12639 be __STRICT_ANSI__ which is generated by compiler.
12640 * libc/include/ctype.h: Ditto.
12641 * libc/include/math.h: Ditto.
12642 * libc/include/stdio.h: Ditto.
12643 * libc/include/stdlib.h: Ditto.
12644 * libc/include/string.h: Ditto.
12645 * libc/include/sys/signal.h: Ditto.
12646
126471999-02-08 Nick Clifton <nickc@cygnus.com>
12648
12649 * configure.host: Add support for StrongARM target.
12650
12651Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
12652
12653 * libc/string/strncpy.c (strncpy): Removed redundant code
12654 that was copying bytes if data unaligned.
12655
126561999-02-02 Brendan Kehoe <brendan@cygnus.com>
12657
12658 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
12659 mbstowcs.def, and wcstombs.def.
12660
12661Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
12662
12663 * libc/include/sys/errno.h: Add Cygwin errno.
12664 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
12665 is specified.
12666
126671999-01-29 Nick Clifton <nickc@cygnus.com>
12668
12669 * libc/sys/arm/syscalls.c: Move C library functions into seperate
12670 file.
17c0c97d 12671
8a0efa53
CF
12672 * libc/sys/arm/libcfunc.c: New file containing C library functions
12673 from syscalls.c
12674
12675 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
12676 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
12677
12678
126791999-01-27 Michael Meissner <meissner@cygnus.com>
12680
12681 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
12682 type, and cut size in half so that the jmp_buf array is guaranteed
12683 to be aligned on a 64-bit boundary.
12684
12685Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
12686
12687 * libc/string/strings.tex: Added information about
12688 strcasecmp and strncasecmp.
12689 * libc/stdlib/stdlib.tex: Added missing information
12690 about mblen, mbstowcs, and wcstombs.
12691 * libc/string/strchr.c: Changed how mask is built to use
12692 shift operators so register will be used instead of storage.
12693
126941999-01-22 DJ Delorie <dj@cygnus.com>
12695
12696 * libc/include/stdlib.h: don't use dllimport if we're building
12697 newlib, since it's inside cygwin.dll
12698
12699Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
12700
12701 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
12702 _ctype_ under cygwin.
12703
12704Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
12705
12706 * include/stdlib.h: Fix typo from previous checkin.
12707
12708Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
12709
12710 * include/ctype.h: Use __declspec(dllimport) method for exporting
12711 variable from cygwin DLL.
12712 * include/time.h: Ditto.
12713 * sys/errno.h: Ditto.
12714 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
12715 * libc/locale/locale.c: Use __declspec(dllexport) method for
12716 exporting variable from cygwin DLL.
12717
12718Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
12719
12720 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
12721 access of bogus pointer will result in SIGSEGV.
12722
127231999-01-07 Nick Clifton <nickc@cygnus.com>
12724
12725 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
12726 of an underscore prefix to function names.
12727
12728Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
12729
12730 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
12731 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
12732
127331998-12-31 Michael Meissner <meissner@cygnus.com>
12734
12735 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
12736 to `%' if not already defined.
12737
127381998-12-30 Michael Meissner <meissner@cygnus.com>
12739
12740 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
12741 arguments const char *, not char *.
12742 * libc/include/stdio.h (_tempnam_r): Ditto.
12743
12744 * libc/include/sys/reent.h (struct _reent): The _sig_func type
12745 points to a function taking an integer, not void.
12746
12747Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
12748
12749 * configure.host: Add a define for Cygwin builds.
12750 * libc/include/ctype.h: Don't use dll imported variables in newlib.
12751
12752Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
12753
12754 * libc/include/ctype.h: Define _ctype_ as dll imported variable
12755 for use with Cygwin.
12756 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
12757 dll imported variables for use with Cygwin.
12758 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
12759 as a dll imported variable for Cygwin.
12760
12761Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
12762
12763 * libc/include/sys/unistd.h: Add proto for getpass.
12764
12765Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
12766
12767 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
12768 alphasort.
12769
12770Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
12771
12772 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
12773 not posix_path_list_p.
12774
127751998-12-15 Nick Clifton <nickc@cygnus.com>
12776
12777 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
12778 a signed int.
12779
127801998-12-13 Nick Clifton <nickc@cygnus.com>
12781
12782 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
12783
127841998-12-12 Nick Clifton <nickc@cygnus.com>
12785
12786 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
12787 <msalter@cygnus.com>
12788 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
12789 * libc/machine/fr30/Makefile.in: Regenerated.
12790
127911998-12-11 Nick Clifton <nickc@cygnus.com>
12792
12793 * configure.host: Remove use of libc/sys for FR30 port.
12794 * libc/sys/fr30: Remove directory (replaced by libgloss).
12795
127961998-12-10 Ken Raeburn <raeburn@cygnus.com>
12797
12798 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
12799 * libc/string/strncat.c (ALIGNED): Ditto.
12800
12801Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
12802
12803 * libc/include/sys/time.h: include sys/types.h
12804
12805Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
12806
12807 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
12808 comparison found when checking word at a time.
12809
128101998-12-04 Nick Clifton <nickc@cygnus.com>
12811
12812 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
12813
128141998-12-03 Nick Clifton <nickc@cygnus.com>
12815
12816 * libc/sys/fr30/syscalls.c (_times): New function stub.
12817
12818Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
12819
12820 * configure.host (mach_add_setjmp): Replaced mach_add_objs
12821 with mach_add_setjmp flag which indicates if setjmp should
12822 be added to the machine directory objects.
12823 * acinclude.m4: Removed reference to mach_add_objs.
12824 * aclocal.m4: Regenerated.
12825 * Makefile.in: Regenerated.
12826 * configure: Regenerated.
12827 * libc/aclocal.m4: Regenerated.
12828 * libc/Makefile.in: Regenerated.
12829 * libc/configure: Regenerated.
12830 * libc/machine/aclocal.m4: Regenerated.
12831 * libc/machine/Makefile.in: Regenerated.
12832 * libc/machine/configure: Regenerated.
12833 * libc/machine/i386/aclocal.m4: Regenerated.
12834 * libc/machine/i386/Makefile.am: Altered to selectively add
12835 setjmp.S to the src files list.
12836 * libc/machine/i386/Makefile.in: Regenerated.
12837 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
12838 * libc/machine/i386/configure: Regenerated.
12839
128401998-12-02 Nick Clifton <nickc@cygnus.com>
12841
12842 * libc/sys/fr30/crt0.s (_start): Fix function names.
12843
12844 * libc/machine/fr30: New directory
12845 * libc/machine/fr30/Makefile.am: New file.
12846 * libc/machine/fr30/Makefile.in: New generated file.
12847 * libc/machine/fr30/configure.in: New file.
12848 * libc/machine/fr30/configure: New generated file.
12849 * libc/machine/fr30/aclocal.m4: New generated file.
12850 * libc/sys/fr30/Makefile.am: New file.
12851 * libc/sys/fr30/Makefile.in: New generated file.
12852 * libc/sys/fr30/configure.in: New file.
12853 * libc/sys/fr30/configure: New generated file.
12854 * libc/sys/fr30/syscalls.c: New file.
12855
12856Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
12857
12858 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
12859
128601998-12-01 Ken Raeburn <raeburn@cygnus.com>
12861
12862 * libc/time/strftime.c (strftime): Also handle %y for years before
12863 1900.
12864
12865Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
12866
12867 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
12868 UNIX convention. Perform tolower on characters before comparing
12869 them rather than use toupper.
12870 * libc/string/strncasecmp.c (strncasecmp): Ditto.
12871
12872Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
17c0c97d 12873
8a0efa53
CF
12874 * configure.host: Added using i386 machine directory
12875 for all x86 cross-compiler and configuring
12876 which added object files to use via new "mach_add_objs" variable.
12877 * configure: Regenerated.
12878 * libc/configure: Regenerated.
12879 * libc/Makefile.in: Regenerated.
12880 * libc/aclocal.m4: Regenerated.
12881 * libc/ctype/Makefile.in: Regenerated.
12882 * libc/errno/Makefile.in: Regenerated.
12883 * libc/locale/Makefile.in: Regenerated.
12884 * libc/machine/Makefile.in: Regenerated.
12885 * libc/machine/aclocal.m4: Regenerated.
12886 * libc/machine/configure: Regenerated.
12887 * libc/posix/Makefile.in: Regenerated.
12888 * libc/reent/Makefile.in: Regenerated.
12889 * libc/signal/Makefile.in: Regenerated.
12890 * libc/stdio/Makefile.in: Regenerated.
12891 * libc/stdlib/Makefile.in: Regenerated.
12892 * libc/string/Makefile.in: Regenerated.
12893 * libc/string/memmove.c: Optimized code to use memcpy
12894 logic when performing a non-destructive copy.
12895 * libc/string/strncmp.c: Altered code to allow building
12896 optimized for size or speed.
12897 * libc/syscalls/Makefile.in: Regenerated.
12898 * libc/time/Makefile.in: Regenerated.
12899 * libc/unix/Makefile.in: Regenerated.
12900 * libc/machine/i386/Makefile.am: Added new files and reference
12901 to "mach_add_objs" to indicate optional object files.
12902 * libc/machine/i386/Makefile.in: Regenerated.
12903 * libc/machine/i386/aclocal.m4: Regenerated.
12904 * libc/machine/i386/configure: Regenerated.
12905 * libc/machine/i386/memchr.S: New file that implements
12906 function in Intel assembler.
12907 * libc/machine/i386/memcmp.S: ditto.
12908 * libc/machine/i386/memcpy.S: ditto.
12909 * libc/machine/i386/memmove.S: ditto.
12910 * libc/machine/i386/memset.S: ditto.
12911 * libc/machine/i386/strchr.S: ditto.
12912 * libc/machine/i386/strlen.S: ditto.
12913 * libc/machine/i386/f_atan2.S: New file that implements
12914 fast version of math function to be used by compiler when
12915 --ffast_math compile option is used.
12916 * libc/machine/i386/f_atan2f.S: ditto.
12917 * libc/machine/i386/f_exp.c: ditto.
12918 * libc/machine/i386/f_expf.c: ditto.
12919 * libc/machine/i386/f_frexp.S: ditto.
12920 * libc/machine/i386/f_frexpf.S: ditto.
12921 * libc/machine/i386/f_ldexp.S: ditto.
12922 * libc/machine/i386/f_ldexpf.S: ditto.
12923 * libc/machine/i386/f_log.S: ditto.
12924 * libc/machine/i386/f_logf.S: ditto.
12925 * libc/machine/i386/f_log10.S: ditto.
12926 * libc/machine/i386/f_log10f.S: ditto.
12927 * libc/machine/i386/f_math.h: New file.
12928 * libc/machine/i386/f_pow.c: ditto.
12929 * libc/machine/i386/f_powf.S: ditto.
12930 * libc/machine/i386/f_tan.S: ditto.
12931 * libc/machine/i386/f_tan.S: ditto.
12932 * libc/machine/i386/i386mach.h: New file.
12933
12934Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
12935
12936 patch from Mumit Khan <khan@xraylith.wisc.edu>
12937 * libc/include/stdio.h (tempnam): Add prototype.
12938 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
12939 (tempnam): Adhere to prototype.
12940
12941Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
12942
12943 * Makefile.am: Add default for AR_FLAGS.
12944 * Makefile.in: Regenerate.
12945
12946Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
12947
12948 * libc/include/time.h: move __cplusplus wrapper after includes
12949 * libc/include/sys/time.h: ditto. If Cygwin, include
12950 sys/select.h.
12951 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
12952
129531998-11-23 Ken Raeburn <raeburn@cygnus.com>
12954
12955 * libc/time/strftime.c (strftime): Handle %y after year 2000.
12956
12957Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
12958
12959 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
12960 abnormnal end-of-crt0 marker.
12961
12962Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
12963
12964 * libc/sys/fr30/crt0.s: New file/directory.
12965 * libc/include/machine/setjmp.h: Add FR30 target.
12966 * libc/include/machine/ieeefp.h: Add FR30 target.
12967 * configure.host: Add FR30 target.
12968
12969Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12970
ba3ccd63
EB
12971 * libm/math: Files that are duplicated in common directory removed.
12972 * libm/math/fdlibm.h: Removed.
12973 * libm/math/s_cbrt.c: Removed.
12974 * libm/math/s_copysign.c: Removed.
12975 * libm/math/s_expm1.c: Removed.
12976 * libm/math/s_finite.c: Removed.
12977 * libm/math/s_ilogb.c: Removed.
12978 * libm/math/s_infinity.c: Removed.
12979 * libm/math/s_lib_ver.c: Removed.
12980 * libm/math/s_log1p.c: Removed.
12981 * libm/math/s_logb.c: Removed.
12982 * libm/math/s_matherr.c: Removed.
12983 * libm/math/s_modf.c: Removed.
12984 * libm/math/s_nan.c: Removed.
12985 * libm/math/s_nextafter.c: Removed.
12986 * libm/math/s_rint.c: Removed.
12987 * libm/math/s_scalbn.c: Removed.
12988 * libm/math/sf_cbrt.c: Removed.
12989 * libm/math/sf_copysign.c: Removed.
12990 * libm/math/sf_expm1.c: Removed.
12991 * libm/math/sf_finite.c: Removed.
12992 * libm/math/sf_ilogb.c: Removed.
12993 * libm/math/sf_infinity.c: Removed.
12994 * libm/math/sf_log1p.c: Removed.
12995 * libm/math/sf_logb.c: Removed.
12996 * libm/math/sf_modf.c: Removed.
12997 * libm/math/sf_nan.c: Removed.
12998 * libm/math/sf_nextafter.c: Removed.
12999 * libm/math/sf_rint.c: Removed.
13000 * libm/math/sf_scalbn.c: Removed.
13001 * libm/math/Makefile.am: Removed references to deleted files (above).
13002 * libm/math/Makefile.in: Regenerated.
13003 * libm/Makefile.am: Added common directory to math.
13004 * libm/Makefile.in: Regenerated.
8a0efa53
CF
13005
13006Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
13007
ba3ccd63
EB
13008 * libm/mathfp: Add non-ANSI functions.
13009 * libm/mathfp/e_acosh.c acosh(): New file.
13010 * libm/mathfp/e_atanh.c atanh(): New file.
13011 * libm/mathfp/e_hypot.c hypot(): New file.
13012 * libm/mathfp/e_j0.c j0(): New file.
13013 * libm/mathfp/e_j1.c j1(): New file.
13014 * libm/mathfp/e_remainder.c remainder(): New file.
13015 * libm/mathfp/e_scalb.c scalb(): New file.
13016 * libm/mathfp/ef_acosh.c acoshf(): New file.
13017 * libm/mathfp/ef_atanh.c atanhf(): New file.
13018 * libm/mathfp/ef_hypot.c hypotf(): New file.
13019 * libm/mathfp/ef_j0.c j0f(): New file.
13020 * libm/mathfp/ef_j1.c j1f(): New file.
13021 * libm/mathfp/ef_remainder.c remainderf(): New file.
13022 * libm/mathfp/ef_scalb.c scalbf(): New file.
13023 * libm/mathfp/er_gamma.c gamma_r: New file.
13024 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
13025 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
13026 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
13027 * libm/mathfp/w_cabs.c cabs(): New file.
13028 * libm/mathfp/w_drem.c drem(): New file.
13029 * libm/mathfp/w_jn.c jn(): New file.
13030 * libm/mathfp/wf_cabs.c cabsf(): New file.
13031 * libm/mathfp/wf_drem.c dremf(): New file.
13032 * libm/mathfp/wf_jn.c jnf(): New file.
8a0efa53
CF
13033
13034Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
13035
13036 * libc/sys/cygwin32: remove directory and contents
13037 * libc/sys/cygwin: and add back, losing the "32".
13038 * configure.host: check for cygwin* instead of cygwin32.
13039 * acinclude.m4: ditto.
13040 * aclocal.m4: regenerate with aclocal
13041 * configure: regenerate with autoconf
13042
13043Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
13044
13045 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
13046 for length
13047
13048Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13049
13050 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
13051 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
13052 to make rand/srand, strtok, asctime, localtime, w_gamma,
13053 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
13054 time.h to bring in struct tm definition.
13055 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
13056 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
13057 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
13058 instead of static variable.
13059 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
13060 struct reent instead of static variable.
13061 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
13062 struct reent instead of static variable.
13063 * libm/math/Makefile.am: Removed s_signgam.o.
13064 * libm/math/Makefile.in: Regenerated.
13065 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
13066 struct reent instead of global variable 'signgam'.
13067 * libm/math/w_lgamma.c (lgamma): Likewise.
13068 * libm/math/wf_gamma.c (gammaf): Likewise.
13069 * libm/math/wf_lgamma.c (lgammaf): Likewise.
13070 * libm/math/s_signgam.c: Removed.
13071 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
13072 to be const.
13073 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
13074 to be const.
13075 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
13076 libc/include/reent.h.
13077 * libc/reent/Makefile.in: Regenerated.
13078 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
13079 to be const.
13080 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
13081 'JIS_action_table' to be const.
13082 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
13083
13084Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
13085
13086 * acinclude.m4: $with_target_subdir should default to '.'
13087 or confusion results when configuring in same directory as sources.
13088 * Regenerate all aclocal.m4 and configure files.
13089
13090Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
13091
13092 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
13093 can be set by defining MALLOC_ALIGNMENT=16. Also added support
13094 for platforms where sizeof(size_t) < sizeof(long) via
13095 SIZE_T_SMALLER_THAN_LONG macro.
17c0c97d 13096
8a0efa53
CF
13097Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
13098
13099 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
13100 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
13101 which sets _CLOCKS_PER_SEC_ for selected machines.
13102 * libc/include/machine/time.h: New file.
13103
13104Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13105
13106 * libc/syscalls/sysexecve.c: New file.
13107 * libc/syscalls/sysgettod.c: New file.
13108 * libc/syscalls/systimes.c: New file.
13109 * libc/syscalls/Makefile.am: Added new objects.
13110 * libc/syscalls/Makefile.in: Regenerated.
13111 * libc/include/_syslist.h (_execve): Moved define in file.
13112 * libc/include/reent.h: Added _execve_r declaration.
13113 * libc/Makefile.in: Regenerated.
13114 * libc/ctype/Makefile.in: Regenerated.
13115 * libc/errno/Makefile.in: Regenerated.
13116 * libc/locale/Makefile.in: Regenerated.
13117 * libc/machine/Makefile.in: Regenerated.
13118 * libc/misc/Makefile.in: Regenerated.
13119 * libc/posix/Makefile.in: Regenerated.
13120 * libc/reent/Makefile.in: Regenerated.
13121 * libc/reent/execr.c (_execve_r): Added _execve_r function.
13122 * libc/signal/Makefile.in: Regenerated.
13123 * libc/stdio/Makefile.in: Regenerated.
13124 * libc/time/Makefile.in: Regenerated.
13125 * libc/unix/Makefile.in: Regenerated.
13126 * libm/mathfp/Makefile.in: Regenerated.
13127
13128Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13129
13130 * libc/string/Makefile.in: Regenerated.
13131 * libc/string/memchr.c (memchr): Moved code to reduce object size.
13132 * libc/string/memcpy.c (memcpy): Ditto.
13133 * libc/string/memcmp.c (memcmp): Ditto.
13134 * libc/string/memset.c (memset): Ditto.
13135 * libc/string/strchr.c (strchr): Ditto.
13136 * libc/string/strcmp.c (strcmp): Ditto.
13137 * libc/string/strcpy.c (strcpy): Ditto.
13138 * libc/string/strlen.c (strlen): Ditto.
13139
13140Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13141
13142 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
13143 to generate aclocal.m4.
13144 * libm/Makefile.in: Regenerated.
13145 * libm/aclocal.m4: Regenerated.
13146 * libm/configure: Regenerated.
13147 * libm/math/Makefile.in: Regenerated.
13148 * libm/mathfp/Makefile.in: Regenerated.
13149
131501998-09-25 Mark Salter <msalter@cygnus.com>
13151
13152 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
13153 by adding leading and trailing underscores to symbol names.
13154
13155Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
13156
13157 * Makefile.in: Add default for AR_FLAGS.
13158
13159Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
13160
13161 patch from ian@airs.com (Ian Taylor):
13162 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
13163 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
13164 is needed for detecting the build machine. Required for
13165 cygwin native builds.
13166
13167 * Regenerate all aclocal.m4 and configure files.
13168
13169Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
13170
13171 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
13172 used to start with LC.
13173
13174Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13175
13176 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
13177 (longjmp): Likewise.
13178
13179Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13180
13181 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
13182 the test for small number of bytes.
13183
13184Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
13185
13186 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
13187 math library that uses floating point algorithms instead of the old
13188 libm.
13189 * Makefile.in: Regenerate with automake version 1.3b.
13190 * configure: Rebuild.
13191 * libm/Makefile.in: Regenerate with automake version 1.3b.
13192 * libm/aclocal.m4: Regenerate.
13193 * libm/configure: Rebuild.
13194 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
13195 * libm/acinclude.m4: Define macros for configure.in.
13196 * libm/config.h.in: Generate.
13197 * libm/mathfp/Makefile.am: New file.
13198 * libm/mathfp/Makefile.in: Generate.
13199 * libm/mathfp/s_acos.c (acos): New file.
13200 * libm/mathfp/s_asin.c (asin): New file.
13201 * libm/mathfp/s_asine.c (asine): New file.
13202 * libm/mathfp/s_atan.c (atan): New file.
13203 * libm/mathfp/s_atan2.c (atan2): New file.
13204 * libm/mathfp/s_atangent.c (atangent): New file.
13205 * libm/mathfp/s_ceil.c (ceil): New file.
13206 * libm/mathfp/s_copysign.c (copysign): New file.
13207 * libm/mathfp/s_cos.c (cos): New file.
13208 * libm/mathfp/s_cosh.c (cosh): New file.
13209 * libm/mathfp/s_exp.c (exp): New file.
13210 * libm/mathfp/s_fabs.c (fabs): New file.
13211 * libm/mathfp/s_finite.c (finite): New file.
13212 * libm/mathfp/s_floor.c (floor): New file.
13213 * libm/mathfp/s_fmod.c (fmod): New file.
13214 * libm/mathfp/s_frexp.c (frexp): New file.
13215 * libm/mathfp/s_infconst.c: New file.
13216 * libm/mathfp/s_isinf (isinf).c: New file.
13217 * libm/mathfp/s_isnan.c (isnan): New file.
13218 * libm/mathfp/s_ispos.c (ispos): New file.
13219 * libm/mathfp/s_ldexp.c (ldexp): New file.
13220 * libm/mathfp/s_log.c (log): New file.
13221 * libm/mathfp/s_log10.c (log10): New file.
13222 * libm/mathfp/s_logarithm.c (logarithm): New file.
13223 * libm/mathfp/s_mathcnst.c: New file.
13224 * libm/mathfp/s_modf (modf).c: New file.
13225 * libm/mathfp/s_numtest.c (numtest): New file.
13226 * libm/mathfp/s_pow.c (pow): New file.
13227 * libm/mathfp/s_scalbn.c (scalbn): New file.
13228 * libm/mathfp/s_sin (sin).c: New file.
13229 * libm/mathfp/s_sine.c (sine): New file.
13230 * libm/mathfp/s_sineh.c (sineh): New file.
13231 * libm/mathfp/s_sinf.c (sinf): New file.
13232 * libm/mathfp/s_sinh.c (sinh): New file.
13233 * libm/mathfp/s_sqrt.c (sqrt): New file.
13234 * libm/mathfp/s_tan.c (tan): New file.
13235 * libm/mathfp/s_tanh.c (tanh): New file.
13236 * libm/mathfp/sf_acos.c (acosf): New file.
13237 * libm/mathfp/sf_asin.c (asinf): New file.
13238 * libm/mathfp/sf_asine.c (asinef): New file.
13239 * libm/mathfp/sf_atan.c (atanf): New file.
13240 * libm/mathfp/sf_atan2.c (atan2f): New file.
13241 * libm/mathfp/sf_atangent.c (atangent): New file.
13242 * libm/mathfp/sf_ceil.c (ceilf): New file.
13243 * libm/mathfp/sf_copysign.c (copysignf): New file.
13244 * libm/mathfp/sf_cos.c (cosf): New file.
13245 * libm/mathfp/sf_cosh.c (coshf): New file.
13246 * libm/mathfp/sf_exp.c (expf): New file.
13247 * libm/mathfp/sf_fabs.c (fabsf): New file.
13248 * libm/mathfp/sf_finite.c (finitef): New file.
13249 * libm/mathfp/sf_floor.c (floorf): New file.
13250 * libm/mathfp/sf_fmod.c (fmodf): New file.
13251 * libm/mathfp/sf_frexp.c (frexpf): New file.
13252 * libm/mathfp/sf_isinf.c (isinff): New file.
13253 * libm/mathfp/sf_isnan.c (isnanf): New file.
13254 * libm/mathfp/sf_ispos.c (isposf): New file.
13255 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
13256 * libm/mathfp/sf_log.c (logf): New file.
13257 * libm/mathfp/sf_log10.c (log10f): New file.
13258 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
13259 * libm/mathfp/sf_modf.c (modff): New file.
13260 * libm/mathfp/sf_numtest.c (numtestf): New file.
13261 * libm/mathfp/sf_pow.c (powf): New file.
13262 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
13263 * libm/mathfp/sf_sin.c (sinf): New file.
13264 * libm/mathfp/sf_sine.c (sinef): New file.
13265 * libm/mathfp/sf_sineh.c (sinehf): New file.
13266 * libm/mathfp/sf_sinh.c (sinhf): New file.
13267 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
13268 * libm/mathfp/sf_tan.c (tanf): New file.
13269 * libm/mathfp/sf_tanh.c (tanhf): New file.
13270 * libm/mathfp/zmath.h: New file.
13271
13272Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13273
13274 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
13275 exit if it has been overwritten by pre-fetching in delay slot.
13276
132771998-09-01 Michael Meissner <meissner@cygnus.com>
13278
13279 * Makefile.am (tooldir): Add in host_alias, so that multilib
13280 libraries are installed in the directory the compiler looks in.
13281 * Makefile.in: Regenerate.
13282
13283 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
13284
13285Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
13286
13287 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
13288 ahead of test for number of bytes being moved.
13289
13290Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
13291
13292 * libc/include/sys/unistd.h: Nothing special needed for
13293 _exit under cygwin.
13294
13295Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
13296
13297 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
17c0c97d 13298 conform to user label naming conventions.
8a0efa53
CF
13299
13300Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
13301
13302 * libc/sys/cygwin32/sys/utime.h: variable names in
13303 protos should start with two leading underscores
13304 * libc/include/string.h: ditto
13305 * libc/include/sys/signal.h: ditto
13306 * libc/include/sys/stat.h: ditto
13307 * libc/include/sys/time.h: ditto
13308 * libc/include/sys/unistd.h: ditto
13309 * libc/include/ctype.h: ditto
13310 * libc/include/stdlib.h: ditto
13311 * libc/include/sys/reent.h: struct _atexit function ptr takes a
13312 void, same with _sig_func.
13313
13314Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
13315
13316 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
13317 for MB_CAPABLE to reduce code size when newlib is not configured
13318 with --enable-newlib-mb.
13319 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
17c0c97d 13320 mbtowc_r.o to minimize size.
8a0efa53 13321 * libc/stdlib/Makefile.in: Rebuild.
17c0c97d 13322
8a0efa53
CF
13323Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
13324
13325 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
13326 to -DREENT.
13327 * libc/sys/sparc64/Makefile.in: Rebuild.
17c0c97d 13328
8a0efa53
CF
13329Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
13330
13331 * Makefile.am (MAKEOVERRIDES): Define.
13332 * Makefile.in: Rebuild.
13333
13334Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
13335
13336 * libc/sys/sparc64/sys/stat.h (stat): Add const.
13337
13338Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
13339
13340 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
13341 newlib_cflags when looking for targ-include.
13342 * */aclocal.m4, */configure: Rebuild.
13343
13344Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
13345
ba3ccd63
EB
13346 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
13347 to "_end".
8a0efa53
CF
13348
13349Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
13350
13351 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
13352 on SPARCs with little-endian data.
13353 * libc/include/machine/ieeefp.h: Ditto.
13354
13355Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
13356
13357 * acinclude.m4: Handle a relative srcdir correctly when setting
13358 newlib_cflags.
13359 * */aclocal.m4, */configure: Rebuild.
13360
13361Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
13362
13363 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
17c0c97d
EB
13364 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
13365 * libm/math/wrf_gamma.c (gammaf_r): ditto
13366 * libm/math/wr_lgamma.c (lgamma_r): ditto
13367 * libm/math/wr_gamma.c (gamma_r): ditto
13368 * libm/math/wf_sqrt.c (sqrtf): ditto
13369 * libm/math/wf_sinh.c (sinhf): ditto
13370 * libm/math/wf_scalb.c (scalbf): ditto
13371 * libm/math/wf_remainder.c (remainderf): ditto
13372 * libm/math/wf_pow.c (powf): ditto
13373 * libm/math/wf_log10.c (log10f): ditto
13374 * libm/math/wf_log.c (logf): ditto
13375 * libm/math/wf_lgamma.c (lgammaf): ditto
13376 * libm/math/wf_jn.c (jnf, ynf): ditto
13377 * libm/math/wf_j1.c (j1f, y1f): ditto
13378 * libm/math/wf_j0.c (j0f, y0f): ditto
13379 * libm/math/wf_hypot.c (hypotf): ditto
13380 * libm/math/wf_gamma.c (gammaf): ditto
13381 * libm/math/wf_fmod.c (fmodf): ditto
13382 * libm/math/wf_exp.c (expf): ditto
13383 * libm/math/wf_cosh.c (coshf): ditto
13384 * libm/math/wf_atanh.c (atanhf): ditto
13385 * libm/math/wf_atan2f.c (atan2f): ditto
13386 * libm/math/wf_asin.c (asinf): ditto
13387 * libm/math/wf_acosh.c (acoshf): ditto
13388 * libm/math/wf_acos.c (acosf): ditto
13389 * libm/math/w_sqrt.c (sqrt): ditto
13390 * libm/math/w_sinh.c (sinh): ditto
13391 * libm/math/w_scalb.c (scalb): ditto
13392 * libm/math/w_remainder.c (remainder): ditto
13393 * libm/math/w_pow.c (pow): ditto
13394 * libm/math/w_log10.c (log10): ditto
13395 * libm/math/w_log.c (log): ditto
13396 * libm/math/w_lgamma.c (lgamma): ditto
13397 * libm/math/w_jn.c (jn, yn): ditto
13398 * libm/math/w_j1.c (j1, y1): ditto
13399 * libm/math/w_j0.c (j0, y0): ditto
13400 * libm/math/w_hypot.c (hypot): ditto
13401 * libm/math/w_gamma.c (gamma): ditto
13402 * libm/math/w_fmod.c (fmod): ditto
13403 * libm/math/w_exp.c (exp): ditto
13404 * libm/math/w_cosh.c (cosh): ditto
13405 * libm/math/w_atanh.c (atanh): ditto
13406 * libm/math/w_atan2f.c (atan2): ditto
13407 * libm/math/w_asin.c (asin): ditto
13408 * libm/math/w_acosh.c (acosh): ditto
13409 * libm/math/w_acos.c (acos): ditto
8a0efa53
CF
13410
13411Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
13412
13413 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
13414 (fsrc): Add wf_cabs.c and wf_drem.c.
13415 * libm/math/Makefile.in: Rebuild.
13416
13417 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
13418 unused directory variables. Remove duplicate CFLAGS.
13419 * Makefile.in: Rebuild.
13420
13421 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
13422 with $(CC_FOR_BUILD).
13423 (makedoc.o): Likewise.
13424 * doc/Makefile.in: Rebuild.
13425
13426 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
13427 force a definition of COMPILE.
13428 (libfoo_a_SOURCES): Define.
13429 * libc/sys/cygwin32/Makefile.in: Rebuild.
13430 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
13431 force a definition of COMPILE.
13432 (libfoo_a_SOURCES): Define.
13433 * libc/sys/tic80/Makefile.in: Rebuild.
13434
13435Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
13436
13437 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
13438 flag.
13439
13440Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
13441
13442 * Build using autoconf and automake. Added many Makefile.am and
13443 configure.in files, plus generated files. Old configure.in files
13444 and all old Makefile.in files completely replaced. Removed
13445 host/any. Added acinclude.m4 and configure.host.
13446
13447Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
13448
13449 * libc/stdio/vfprintf.c: enable long long support, sometimes.
13450 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
13451
13452Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13453
13454 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
13455 * libc/machine/sh/Makefile.in: Add rules for new files.
13456
13457Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13458
13459 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
13460 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
13461 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
13462
13463Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
13464
13465 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
13466 code is ignored.
13467
13468Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
13469
13470 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
13471 internal static buffer when s is NULL, as prescribed by ANSI.
13472
134731998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
13474
13475 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
13476 removed.
13477 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
13478 libc/stdlib will be used for h8300hms.
17c0c97d 13479
8a0efa53
CF
13480Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13481
13482 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
13483 version that can be built either for speed or size.
13484 * libc/machine/mn10300/memset.S (_memset): ditto
13485 * libc/machine/mn10300/memchr.S (_memchr): ditto
13486 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
13487 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
13488 * libc/machine/mn10300/strchr.S (_strchr): ditto
13489 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
13490 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
13491 * libc/machine/mn10300/Makefile.in: Added entries for
17c0c97d 13492 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
8a0efa53
CF
13493 strcmp.o, strcpy.o, and strlen.o.
13494
13495Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
13496
13497 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
13498 been replaced with libgloss/mn10200.
13499
13500Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
13501
13502 * libc/string/strchr.c (strchr): Make s a constant pointer to
13503 avoid warning.
13504
13505Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
13506
13507 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
13508 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
13509 board SWIs instead of Demon board SWIs).
13510
13511Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
13512
13513 * libc/string/strncat.c (strncat): Make -Os act the same as
13514 PREFER_SIZE_OVER_SPEED being defined.
13515
13516Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
13517
13518 * libc/string/memchr.c (memchr): Make -Os act the same as
13519 PREFER_SIZE_OVER_SPEED being defined.
13520 * libc/string/memcmp.c (memcmp): Ditto.
13521 * libc/string/memcpy.c (memcpy): Ditto.
13522 * libc/string/memset.c (memset): Ditto.
13523 * libc/string/strcat.c (strcat): Ditto.
13524 * libc/string/strchr.c (strchr): Ditto.
13525 * libc/string/strcmp.c (strcmp): Ditto.
13526 * libc/string/strcpy.c (strcpy): Ditto.
13527 * libc/string/strlen.c (strlen): Ditto.
13528 * libc/string/strncat.c (strncat): Ditto.
13529 * libc/string/strncmp.c (strncmp): Ditto.
13530 * libc/string/strncpy.c (strncpy): Ditto.
13531
13532Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
13533
13534 * libc/include/sys/itimer.h: remove
13535 * libc/include/sys/time.h: itimer stuff should be here
13536
13537Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
13538
13539 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
13540 bit instead of comparing to 0 so -0.0 can be printed correctly.
13541
13542Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13543
13544 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
13545
13546Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
13547
13548 * libc/include/sys/unistd.h: fix sync() proto
13549 * libc/include/sys/fcntl.h: remove _close which is already
13550 defined in unistd.h.
13551 * libc/include/sys/time.h: add getitimer proto
13552
13553Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
13554
13555 * libc/string/strchr.c: convert arg to unsigned char
13556 * libc/include/stdlib.h: add protos for random, srandom
13557 * libc/include/sys/stat.h: add lstat proto
13558 * libc/include/sys/time.h: add setitimer proto
13559 * libc/include/sys/unistd.h: add readlink, symlink protos
13560 * libc/include/process.h: instead of including windows.h and using
13561 HANDLEs in sexec protos, just use void *s. Need to include
13562 sys/types.h.
13563
13564Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
13565
13566 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
13567
13568Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
13569
13570 * libc/include/process.h: add secure exec protos
13571
13572Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
13573
13574 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
13575 which are accessed as both doubles and integers.
13576 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
13577 * libc/stdlib/strtod.c (_strtod_r): Likewise.
13578 * libc/stdlib/mprec.h: Add "union double_union" and change
13579 word0/word1 macros to use it.
13580
13581Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
13582
13583 * libc/include/sys/signal.h: add __cplusplus wrapper
13584
13585Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
13586
13587 * libc/include/sys/utime.h: new generic file that gets replaced by
13588 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
13589 function.
13590 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
13591 * libc/include/time.h: remove duplicate utime proto
13592 * libc/include/utime.h: add comment
13593
13594Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
13595
13596 * libc/include/sys/time.h: Add missing include to
13597 allow use of _EXFUN. Remove times function that is
13598 already defined in times.h.
13599
13600Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
13601
13602 * libc/include/time.h: Fix typo in tzset.
13603
13604Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
13605
13606 * libc/include/sys/time.h: add missing Cygwin32 function protos
13607 * libc/include/sys/unistd.h: ditto
13608 * libc/include/time.h: ditto
13609
13610Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
13611
13612 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
13613 FIXME.
13614 * libc/include/sys/types.h: add a new __MS_types__ section
13615 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
13616 __BIT_TYPES_DEFINED__.
13617
13618Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
13619
13620 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
13621 since it overrides the one in libc/include/sys. Also, start
13622 including types.h.
13623
13624Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
13625
13626 * libm/math/Makefile.in: add s_signgam.o to obj list
13627
13628Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
13629
13630 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
13631
13632Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
13633
13634 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
13635 so don't use defines.
13636
13637Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
13638
13639 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
13640
13641Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
13642
13643 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
17c0c97d 13644 _current_locale as default locale.
8a0efa53
CF
13645
13646Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
13647
13648 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
17c0c97d 13649 insufficient space in a chunk.
8a0efa53
CF
13650
13651Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
13652
13653 * configure.in (links): Added check for --enable-newlib-mb configure
13654 option which defines the MB_CAPABLE macro.
13655 * libc/locale/locale.c (_setlocale_r): Added support for setting
13656 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
13657 defined.
13658 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
13659 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
13660 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
13661 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
13662 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
17c0c97d 13663 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
8a0efa53
CF
13664 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
13665 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
13666 * libc/stdlib/Makefile.in: Added new multibyte
13667 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
13668 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
13669 _mbstowcs_r(), and _wcstombs_r().
13670 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
13671 for JIS, SJIS, and EUC-JP characters.
13672 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
17c0c97d 13673 MB_CAPABLE defined.
8a0efa53
CF
13674 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
13675 MB_CAPABLE defined.
13676 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
13677 MB_CAPABLE defined.
13678 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
13679 if MB_CAPABLE defined.
13680 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
13681 if MB_CAPABLE defined.
13682 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
13683 to the format string processing when MB_CAPABLE.
13684 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
13685 call _mbtowc_r().
13686
13687Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
13688
13689 The following modifications are courtesy of Anthony Thompson,
13690 athompson@cambridge.arm.com:
13691 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
13692 boith RDI and RDP monitors.
13693 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
13694 RDI and RDP monitors.
13695
13696Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
13697
13698 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
13699 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
13700 (_swiopen): Fixed open flags to treat write with append as just append.
13701 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
13702 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
13703
13704Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13705
13706 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
13707 When needing to transfer an initial 2-byte-word, store as
13708 two single bytes.
13709
13710Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13711
13712 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
13713 __SH3E__ .
13714 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
13715 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
13716
13717Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
13718
13719 * configure.in (target_cflags): If --enable-target-optspace, use
13720 -Os to compile newlib rather than -O2. Default to using -Os for
13721 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
13722 used.
13723
13724Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
13725
ba3ccd63
EB
13726 * libc/include/machine/setjmp.h: change sigsetjmp and
13727 siglongjmp definitions to use an array instead of a struct
13728 for __CYGWIN32__
8a0efa53
CF
13729
13730Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
13731
13732 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
13733
13734Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
13735
13736 * libc/string/strxfrm.c: fix to get correct return value
13737
13738Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
13739
13740 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
13741 builds. Make mode change labels global so that they will be seen
13742 by the debugger.
13743
13744Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
13745
13746 * configure.in (links): Do not use ARM debiugging protocols for PE
13747 builds.
13748
13749 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
17c0c97d 13750 message.
8a0efa53
CF
13751
13752Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13753
13754 * libc/stdio/findfp.c (__sinit): Made stdout default to
13755 line buffered mode as defined by ANSI.
13756
13757Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
13758
13759 * libc/include/sys/itimer.h: New file.
13760
13761 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
13762
13763Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13764
13765 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
13766 failure.
13767
13768Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
13769
13770 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
13771 insns.
13772
13773Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
13774
13775 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
13776
13777Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
13778
13779 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
13780 support.
13781
13782 * libc/include/machine/setjmp.h: Add D30V support.
13783
13784 * configure.in (d30v-*): Add d30v machine directory.
13785
13786Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
13787
13788 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
13789 been replaced with libgloss/mn10300.
13790
13791Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
13792
13793 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
13794 it is no longer needed.
13795
13796Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
13797
ba3ccd63 13798 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
8a0efa53
CF
13799
13800Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
13801
13802 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
ba3ccd63 13803 the file when O_APPEND is set, wherever the EOF happens to be at
17c0c97d 13804 that time.
8a0efa53
CF
13805
13806Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
17c0c97d 13807
8a0efa53
CF
13808 patch from cgf@bbc.com (Christopher Faylor):
13809 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
13810 convention of closing fp prior to attempting to open the file
13811 argument. This allows correct operation when reopening
13812 stdin/stdout/stderr. Replaces last freopen.c patch.
13813
13814Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
13815
ba3ccd63
EB
13816 patch from cgf@bbc.com (Christopher Faylor):
13817 * libc/stdio/freopen.c: freopen was not preserving the fd
13818 of the stream being operated on. This confuses programs that
13819 expect that the handles for stdout and stderr will be 1 and 2.
8a0efa53
CF
13820
13821Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
13822
13823 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
13824
13825Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
13826
13827 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
13828
13829Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
13830
13831 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
13832 altered to not use a branch. Also added hint that last
13833 bclr in longjmp will likely result in branch.
17c0c97d 13834
8a0efa53
CF
13835
13836Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
13837
ba3ccd63 13838 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
8a0efa53
CF
13839
13840Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
13841
13842 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
13843 v850 builds.
13844
17c0c97d 13845 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
8a0efa53
CF
13846
13847Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
13848
13849 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
13850 that loads FR14 to specify offset of 8 rather than 4
13851 so it loads from offset 96 (where setjmp stored it).
13852
13853Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13854
13855 * libc/machine/sh/memcpy.S: (_memcpy): Update to
13856 latest version supplied by customer.
13857 * libc/machine/sh/memset.S (_memset): Ditto.
13858
13859Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
13860
13861 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
17c0c97d 13862 PR14730).
8a0efa53
CF
13863
13864Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
13865
ba3ccd63 13866 * libc/include/string.h: remove redefinition of ffs
8a0efa53
CF
13867
13868Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
13869
ba3ccd63 13870 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
8a0efa53
CF
13871 defined
13872
13873Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13874
13875 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
17c0c97d
EB
13876 TI Libraries to link to libc.a
13877
8a0efa53
CF
13878Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
13879
13880 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
13881 * libc/include/sys/stat.h (_{,f}stat): Ditto.
13882 * libc/include/sys/wait.h (_wait): Ditto.
13883 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
13884 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
13885
13886Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
13887
13888 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
13889 minded stabs so function name shows up when running the simulator
13890 with -t.
13891 * libc/sys/d10v/{crt0,trap}.S: Ditto.
13892
13893Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
13894
17c0c97d 13895 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
8a0efa53
CF
13896 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
13897 Use R5 where we used to use R3.
17c0c97d 13898
8a0efa53
CF
13899Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
13900
13901 * libc/stdlib/getopt.c (getopt): replaced __progname
13902 with nargv[0] to improve portability to imbedded systems.
13903
13904Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
13905
13906 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
13907 patch supplied by Tont.Thompson@arm.com to fix the creation of the
13908 stdout file.
13909
13910Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
13911
13912 * libc/stdio/tmpnam.c (worker): Generate a different file name
13913 each time.
13914
13915 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
13916 fails, try an execlp for sh.
13917
13918 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
13919 option for the winsup include directory.
13920
13921Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
13922
13923 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
13924 debugging interface from Tony.Thompson@arm.com.
17c0c97d 13925
8a0efa53
CF
13926 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
13927 * libc/sys/arm/swi.h: ditto.
13928
13929Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
13930
13931 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
13932 DIR struct used for readdir hashes.
13933
13934Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
13935
13936 * libc/string/strchr.c: Use "unsigned chars" as necessary.
13937
13938Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
13939
13940 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
13941 integer targets.
13942
13943Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
13944
13945 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
13946 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
13947 * libc/include/malloc.h: Add extern "C" if __cplusplus.
13948 (__malloc_copy): Declare.
13949
13950Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
13951
13952 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
13953 <sys/config.h>.
13954 (POINTER_UINT): Define.
13955 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
13956 (MALLOC_ALIGNMENT): Don't define if already defined.
13957 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
13958 long.
13959
13960Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
13961
13962 * libc/string/memset.c (memset): Fiddle with code so that the long
13963 value being stored is not a stack value. Unroll storing longs 4
13964 times.
13965
13966Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
13967
13968 * Reduce code size for libm modules.
13969 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
13970 and simply move code into sqrt.
13971 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
13972 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
13973 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
13974 * libm/math/wr_gamma.c (gamma_r): Likewise.
13975 * libm/math/wf_sinh.c (sinfh): Likewise.
13976 * libm/math/w_sinh.c (sinh): Likewise.
13977 * libm/math/wf_scalb.c (scalbf): Likewise.
13978 * libm/math/w_scalb.c (scalb): Likewise.
13979 * libm/math/wf_remainder.c (remainderf): Likewise.
13980 * libm/math/w_remainder.c (remainder): Likewise.
13981 * libm/math/wf_pow.c (powf): Likewise.
13982 * libm/math/w_pow.c (pow): Likewise.
13983 * libm/math/wf_log10.c (log10f): Likewise.
13984 * libm/math/w_log10.c (log10): Likewise.
13985 * libm/math/wf_log.c (logf): Likewise.
13986 * libm/math/w_log.c (log): Likewise.
13987 * libm/math/w_lgamma.c (lgamma): Likewise.
13988 * libm/math/wf_lgamma.c (lgammaf): Likewise.
13989 * libm/math/wf_jn.c (jnf): Likewise.
13990 * libm/math/w_jn.c (jn): Likewise.
13991 * libm/math/wf_j1.c (j1f): Likewise.
13992 * libm/math/w_j1.c (j1): Likewise.
13993 * libm/math/wf_j0.c (j0f): Likewise.
13994 * libm/math/w_j0.c (j0): Likewise.
13995 * libm/math/wf_hypot.c (hypotf): Likewise.
13996 * libm/math/w_hypot.c (hypot): Likewise.
13997 * libm/math/wf_gamma.c (gammaf): Likewise.
13998 * libm/math/w_gamma.c (gamma): Likewise.
13999 * libm/math/wf_fmod.c (fmodf): Likewise.
14000 * libm/math/w_fmod.c (fmod): Likewise.
14001 * libm/math/wf_exp.c (expf): Likewise.
14002 * libm/math/w_exp.c (exp): Likewise.
14003 * libm/math/wf_cosh.c (coshf): Likewise.
14004 * libm/math/w_cosh.c (cosh): Likewise.
14005 * libm/math/wf_atanh.c (atanhf): Likewise.
14006 * libm/math/w_atanh.c (atanh): Likewise.
14007 * libm/math/wf_atan2.c (atan2f): Likewise.
14008 * libm/math/w_atan2.c (atan2): Likewise.
14009 * libm/math/wf_asin.c (asinf): Likewise.
14010 * libm/math/w_asin.c (asin): Likewise.
14011 * libm/math/wf_acosh.c (acoshf): Likewise.
14012 * libm/math/w_acosh.c (acosh): Likewise.
14013 * libm/math/wf_acos.c (asocf): Likewise.
14014 * libm/math/w_acos.c (acos): Likewise.
14015 * libm/math/wf_sqrt.c (sqrtf): Likewise.
14016 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
14017 for embedded systems.
14018
14019Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
14020
14021 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
14022 Lea in case of a foreign sbrk.
14023
14024Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
14025
14026 Incorporate Doug Lea's malloc:
14027 * libc/stdlib/mallocr.c: Completely replaced.
14028 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
14029 (realloc): Remove.
14030 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
14031 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
14032 mallopt.
14033 (mallinfo, malloc_stats, mallopt): New functions.
14034 (_mstats_r): Just call _malloc_stats_r.
14035 * libc/stdlib/malign.c: New file.
14036 * libc/stdlib/mlock.c: New file.
14037 * libc/stdlib/msize.c: New file.
14038 * libc/stdlib/mtrim.c: New file.
14039 * libc/stdlib/realloc.c: New file.
14040 * libc/stdlib/valloc.c: New file.
14041 * libc/stdlib/malloc.h: Remove.
14042 * libc/stdlib/callocr.c: Remove.
14043 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
14044 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
14045 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
14046 reallocr.o, valloc.o, vallocr.o.
14047 (CHEWOUT_FILES): Add mlock.def, mstats.def.
14048 (MALLOC_CFLAGS): New variable.
14049 (mallocr.o): New target, build from mallocr.c.
14050 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
14051 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
14052 (msizer.o, malloptr.o): Likewise.
14053 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
14054 (valloc.o): New target.
14055 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
14056 * libc/include/malloc.h: Declare struct mallinfo, and new
14057 routines.
14058 * libc/include/stdlib.h (cfree): Correct declaration.
14059
14060Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
14061
14062 * libc/include/machine/setjmp.h: Add support for Thumb target.
14063
14064 * libc/include/machine/ieeefp.h: Add support for Thumb target.
14065
14066 * configure.in (links): Add support for Thumb target.
14067
14068Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
14069
14070 * libc/sys/arm/setjmp.S: Updated with version from branch.
14071
14072Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
14073
14074 * libc/include/stdio.h: add POSIX-required define L_ctermid
14075 for ctermid
14076
14077Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
14078
14079 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
14080 addition to MISSING_SYSCALL_NAMES.
14081
14082Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
14083
14084 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
14085
14086Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
14087
ba3ccd63
EB
14088 * libc/include/string.h: change strsignal proto to return
14089 a char *. This eliminates compile problems in gdb resulting
14090 from gdb's definition of strsignal in defs.h.
8a0efa53
CF
14091
14092Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
14093
ba3ccd63
EB
14094 * libc/sys/cygwin32/sys/utime.h: new (moved here from
14095 winsup/include) so as not to conflict with the one in
14096 libc/include.
8a0efa53
CF
14097 * libc/include/string.h: add protos for strsignal, strtosigno
14098
14099Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
14100
14101 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
14102
14103 * configure.in (d30v-*-*): Add configuration.
14104
14105Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
14106
14107 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
14108 to select which kind of debug monitor is in use for an ARM target.
14109
14110 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
14111 Angel and Demon debug monitors. Part of this code was supplied by
14112 Tony Thompson at ARM: athompso@arm.com.
14113
14114Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
14115
14116 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
14117 semantics when the count is greater than the length of the second
14118 source string.
14119
14120Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
14121
14122 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
14123 * libc/include/sys/unistd.h: add protos for usleep, truncate,
14124 truncate and ftruncate take off_t, not size_t
14125
14126Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
14127
14128 * libc/string/strcat.c (strcat): Add missing comment end.
14129 * libc/string/strncat.c (strncat): Likewise.
14130
14131Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
14132
14133 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
17c0c97d
EB
14134 targets.
14135 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
8a0efa53 14136 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
17c0c97d 14137 defined.
8a0efa53
CF
14138 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
14139 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
14140 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
14141
14142Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
14143
14144 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
14145 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
14146
14147Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
14148
14149 * libc/machine/i386/setjmp.S: New file.
14150 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
14151 (OFILES): Add setjmp.o.
14152 (setjmp.o): Add rule for.
14153 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
14154
14155Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
14156 Jeffrey A Law (law@cygnus.com)
14157
14158 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
14159 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
14160 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
14161 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
14162
14163Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
14164
14165 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
17c0c97d 14166 rules.
8a0efa53
CF
14167
14168 * libc/include/sys/config.h: Use __v850 to select v850
17c0c97d 14169 endianness.
8a0efa53
CF
14170
14171 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
14172 buffer size.
14173
14174 * libc/include/machine/ieeefp.h: Use __v850 to select v850
17c0c97d 14175 endianness.
8a0efa53
CF
14176
14177Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
14178
14179 * libc/stdlib/setenv.c: change unsetenv definition to match
14180 style of setenv (with _DEFUN). The string should be a const.
14181 * libc/include/stdlib.h: unsetenv proto should return void.
14182
14183Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
14184
14185 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
14186
14187Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
14188
14189 * libc/stdio/glue.h: remove.
14190 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
14191 * libc/stdio/Makefile.in: remove glue.h dependencies
14192
14193Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
14194
14195 * libc/sys/sysnecv850/crt0.S: Created V850e version.
17c0c97d 14196
8a0efa53
CF
14197Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
14198
14199 * configure.in (target_cpu): Add `arc'.
14200
14201Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
14202
17c0c97d 14203 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
8a0efa53
CF
14204 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
14205 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
14206 * newlib/libc/reent/reent.c: Add _wrapup_reent.
14207 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
14208
14209Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
14210
14211 * libc/machine/mips/setjmp.S: Handle mips16 builds.
14212
14213Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
14214
14215 * libc/include/stdio.h (siprintf): Declare.
14216
14217Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
14218
14219 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
14220 TARGET_CFLAGS and NEWLIB_FLAGS.
14221
14222Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
14223
14224 * configure.in (links): Add support for v850ea target.
14225
14226Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
14227
14228 * configure.in (links): Add support for v850e target.
14229
14230Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
14231
14232 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
14233
14234Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
14235
14236 * configure.in (arc-*-*): Add support for.
14237 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
14238
14239Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
14240
14241 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
14242
14243Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
14244
14245 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
14246 comparison which accesses invalid memory when the key is
14247 larger than the last member of the array.
14248 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
14249 for CYGWIN32
14250 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
14251
14252Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
14253
14254 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
14255 not _STRICT_ANSI.
14256
14257Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
14258
14259 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
14260 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
14261
14262Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
14263
14264 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
14265 to load/store memory.
14266
14267Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
14268
14269 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
14270 underscores if _WIN32.
14271
14272Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
14273
14274 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
14275 support ifdef _USE_WRITE missed in last change.
14276 From Anders Blomdell <anders.blomdell@control.lth.se>.
14277
14278Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
14279
14280 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
14281 (_tmpnam_r, _tempnam_r): Update.
14282
14283Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
14284
14285 * libc/machine/sparc/setjmp.S: New file.
14286 * libc/machine/sparc/Makefile.in: Add setjmp.
14287 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
14288
14289Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
14290
14291 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
14292
14293Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
14294
14295 From Joel Sherrill <joel@oarcorp.com>.
14296 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
14297
14298 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
14299 * configure.in: Recognize *-*-rtems*.
14300 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
14301 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
14302 time.h,times.h,types.h}: New files.
14303 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
14304
14305Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
14306
14307 patch from sos@prospect.com.ru (Sergey Okhapkin):
ba3ccd63
EB
14308 * include/sys/wait.h: correct operator precidence bug
14309 in WIFSIGNALED
8a0efa53
CF
14310
14311Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
14312
14313 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
14314 with newlib's unsetenv function
14315 * libc/sys/cygwin32/sys: new directory for includes
14316 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
14317 here from winsup/include/sys
14318
14319Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
14320
14321 * libc/include/sys/unistd.h: _exit should only be
14322 labelled noreturn when not __CYGWIN32__
14323 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
14324 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
14325 increment NSIG
14326
14327Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
14328
14329 * libc/include/sys/time.h: Only define timeval and timezone if
14330 _GNU_H_WINDOWS32_SOCKETS is not defined.
14331 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
14332
14333Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
14334
14335 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
14336 * libc/machine/mn10300/setjmp.S: Likewise.
14337
14338 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
14339 the mn10300 (more relaxing opportunities).
14340
14341Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
14342
14343 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
14344 Build libraries with -mstrict-align.
14345
14346Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
14347
14348 * libc/string/strlwr.c: New file.
14349 * libc/string/strupr.c: New file.
14350 * libc/include/string.h: Declare strlwr and strupr.
14351 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
14352 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
14353 (strlwr.o, strupr.o): New targets.
14354 * libc/string/strings.tex: Include strlwr and strupr docs.
14355
14356 * libc/include/sys/types.h: Don't define u_char, et. al., if
14357 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
14358 et. al. Make FD_SETSIZE default 64 rather than 60. Define
14359 _types_fd_set rather than fd_set, and define fd_set as a macro.
14360
14361 * libc/include/malloc.h: New file.
14362
14363 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
14364 strnicmp if they are not already defined.
14365
14366 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
14367 _timezone, _daylight, and _tzname.
14368
14369Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
14370
14371 * configure.in: Sort all configuration tables.
14372
14373 From Joel Sherrill <joel@oarcorp.com>
14374 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
14375
14376Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
14377
14378 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
14379 use int when declaring kill.
14380
14381 * libc/include/sys/timeb.h: New file.
14382
14383Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
14384
14385 * libc/include/sys/time.h: add itimer support for Cygwin32
14386
14387Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
14388
14389 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
14390 out a message that abort was called to stderr.
14391
14392Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
14393
14394 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
14395 so that libio doesn't freak.
14396
14397 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
14398 int.
14399
14400 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
14401 memory sizes, not int.
14402
14403Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
14404
14405 * libm/math/ef_hypot.c: Use long constants where
17c0c97d 14406 appropriate.
8a0efa53
CF
14407 * libm/math/ef_sqrt.c: Ditto.
14408
14409 * libc/sys/sysmec/times.c(_times): Change to times.
14410
14411 * libc/sys/sysmec/read.c(_read): The third argument is
14412 size_t.
14413 * libc/sys/sysmec/write.c (_write): Ditto.
14414
14415 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
14416 (_lseek): It's off_t for the second argument.
14417
14418Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
14419
14420 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
14421 as well as machine/ieeefp.h.
14422
14423Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
14424
14425 * libc/include/sys/signal.h: add signal protos for winsup
14426 functions (when __CYGWIN32__), include types.h
14427 * libc/include/sys/types.h: Change __go32_types__ internal
14428 define to __MS_types__ since it's used for more than just
14429 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
14430 defined.
14431 * libc/include/sys/unistd.h: add ftruncate proto for
14432 winsup functions (when __CYGWIN32__)
14433
14434Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
14435
14436 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
14437
14438Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
14439
14440 * libc/include/machine/setjmp.h: Add tic80 support.
14441 * libc/machine/tic80/setjmp.S: Likewise.
14442
14443Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
14444
ba3ccd63
EB
14445 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
14446 link programs from libraries only (such as in the X11
14447 distribution)
8a0efa53
CF
14448
14449Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
14450
14451 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
14452 supplied elsewhere in newlib.
14453
14454Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
14455
14456 * Makefile.in (INSTALL): Change install.sh to install-sh.
14457
14458Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
14459
14460 * README: update WWW address for on-line documentation.
14461
14462Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
14463
14464 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
14465 increment NSIG
14466
14467Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
14468
14469 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
14470 mn10300.
14471 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
14472
14473Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
14474
14475 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
14476 * libc/sys/d10v/syscalls.c: Likewise.
14477 * libc/sys/h8300hms/sbrk.c: Likewise.
14478 * libc/sys/h8500hms/syscalls.c: Likewise.
14479 * libc/sys/m88kbug/syscalls.c: Likewise.
14480 * libc/sys/sh/syscalls.c: Likewise.
14481 * libc/sys/sysmec/sbrk.c: Likewise.
14482 * libc/sys/sysnecv850/sbrk.c: Likewise.
14483 * libc/sys/w65/syscalls.c: Likewise.
14484 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
14485
14486Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
14487
14488 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
14489 emulated syscall instead of "trap".
14490
14491Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
14492
14493 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
14494 not trap 0.
14495
14496Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
14497
14498 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
14499
14500Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
14501
14502 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
14503 not "sh".
14504 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
14505 not "d10v".
14506 * libc/sys/tic80/crt0.c: New file for TIc80.
14507 * libc/sys/tic80/Makefile.in: New file for TIc80.
14508 * libc/machine/tic80/Makefile.in: New file for TIc80.
14509
14510Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
14511
14512 * libc/machine/sh/memcpy.S: New file.
14513 * libc/machine/sh/memset.S: New file.
14514 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
14515
14516Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
14517
14518 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
14519 for TIc80.
14520
14521Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
14522
14523 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
14524 the mn10200.
14525
14526Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
14527
14528 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
14529 (patch from andrew@pogo.WV.TEK.COM).
14530
14531Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
14532
14533 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
14534 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
14535
14536Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
14537
14538 * configure.in: Add cases for "tic80" to set machine_dir,
14539 sys_dir, and syscall_dir.
14540
14541Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
14542
14543 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
14544
14545Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
14546
14547 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
14548
14549Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
14550
14551 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
14552 Use proper constant prefix.
14553
14554Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
14555
14556 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
14557 that loses on the mn10200 where ints and pointers are different
14558 sizes.
14559
14560Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
14561
14562 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
14563 target as signal is provided in winsup.
14564
14565Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
14566
14567 * libc/include/sys/process.h: Corrected const definitions
14568 in spawn functions. Added cwait.
14569
14570Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
14571
14572 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
14573 doubles.
14574 * libc/include/sys/config.h: Similarly.
14575
14576Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14577
14578 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
14579 target_cflags.
14580 (i[3456]86-*-sco*): Ditto.
14581
14582 * libc/signal/Makefile.in (OFILES): Add signal.o.
14583 (CFILES): Add signal.c.
14584
14585 * libc/signal/raise.c (_raise_r): Only compile code if
14586 SIGNAL_PROVIDED is defined.
14587
14588 * libc/signal/signal.c: Redo whole file so that it works with
14589 current newlib. Use _kill_r if no signal handler provided.
14590
14591 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
14592 signal stubs.
14593 * libc/sys/sysvnecv70/Makefile.in: Ditto.
14594 * libc/sys/sysnecv850/Makefile.in: Ditto.
14595
14596 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
14597 * libc/sys/sysmec/{raise,signal}.c: Ditto.
14598 * libc/sys/sysvnecv70/signal.s: Ditto.
14599 * libc/sys/sysnecv850/raise.c: Ditto.
14600
14601 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
14602 simulator and debugger can tell the difference between a signal
14603 being raised and an exit system call.
14604
14605 * NEWS: Document software signals being provided.
14606
14607Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14608
14609 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
14610 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
14611 include/sys/config.h.
14612 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
14613 Change from 'inpure_data'.
14614 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
14615 &impure_data, not &inpure_data.
14616
14617 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
14618 and and System V ABI, define so that _impure_ptr lives in the
14619 .sdata section.
14620
14621Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14622
14623 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
14624 nothing if not defined.
14625 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
14626 its attributes.
14627
17c0c97d 14628 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
8a0efa53
CF
14629
14630Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
14631
14632 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
14633 * libc/sys/sysmec/trap.s: Handle mn10200 too.
14634 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
14635
14636Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
14637
14638 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
14639
14640Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
14641
ba3ccd63 14642 * libc/include/sys/errno.h: Added net errno's.
8a0efa53
CF
14643
14644Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14645
14646 * libc/misc/ffs.c: New file to support ffs function for GCC test
14647 gcc.c-torture/execute/960909-1.c.
14648
14649 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
14650
14651Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
14652
14653 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
14654 * libc/sys/sysmec/trap.S: Likewise.
14655
14656Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
14657
14658 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
14659 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
14660
14661Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
14662
14663 * libc/sys/sysmec/signal.c: Dummy file.
14664 * libc/sys/sysmec/Makefile.in: Build it.
14665
14666Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
14667
14668 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
14669 mips16.
14670
14671Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
14672
14673 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
14674 c-startup and simulator traps.
14675
14676
14677 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
14678 * libc/sys/sysmec/trap0.S: Likewise.
14679
14680Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14681
14682 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
14683 round to double word alignment.
14684 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
14685 byte alignment.
14686
14687 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
14688
14689 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
14690 out of memory.
14691
14692Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
14693
14694 * configure.in: Handle mn10200 and mn10300.
14695 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
14696 * libc/include/sys/config.h: Likewise.
14697 * libc/sys/sysmec: New directory for mec stuff.
14698 * libc/machine/mn10300: New directory for mn10300 stuff.
14699 * libc/machine/mn10200: Similarly for mn10200 stuff.
14700
14701Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
14702
14703 * libc/sys/arm/crt0.S: Use .text, not .section .text.
14704 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
14705
14706 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
14707 (nlink_t): Change type from unsigned int to unsigned short.
14708 (mode_t): Ensure size is 32 bits even if int is 16.
14709 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
14710 (st_spare[123]): Change type from int to long.
14711
14712Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14713
14714 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
14715 byte boundary.
14716
14717 * configure.in (d10v*): Define SMALL_MEMORY.
14718
14719Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14720
14721 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
14722 -mrelocatable-lib and -mno-eabi flags.
14723
14724Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
14725
14726 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
14727 Fix handling of mis-aligned source operand when both the
14728 destination & length are properly aligned.
17c0c97d 14729
8a0efa53
CF
14730Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
14731
14732 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
14733 times.o, time.o and gettime.o
14734 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
14735 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
14736 SYS_gettimeofday.
14737
14738Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
14739
14740 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
14741 * libc/sys/sysnecv850/access.c: New file.
14742
14743Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
14744
14745 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
14746
14747 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
14748 long.
14749
14750Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
14751
14752 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
14753
14754Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
14755
14756 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
14757 * libc/include/sys/config.h: Add m32r support.
14758
14759Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
14760
14761 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
14762 here.
14763
14764Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
14765
14766 * libc/include/machine/setjmp.h: Add D10v support.
14767
14768Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
14769
14770 * configure.in: Configure the "libc/syscalls" directory for
14771 the v850.
14772
14773 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
14774 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
14775 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
14776 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
14777 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
14778
14779Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
14780
14781 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
14782 stack for args for main and other routines. Zero out args for
14783 main.
14784
14785 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
14786 correctly.
14787
14788Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14789
14790 * libc/stdio/findfp.c (std): Remove extraneous ';' after
14791 function.
14792
14793 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
14794
14795 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
14796 real system calls now.
14797
14798 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
14799 before casting them to int.
14800 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
14801
14802 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
14803 aligning pointer.
14804 * libc/string/memset.c (memset): Ditto.
17c0c97d 14805
8a0efa53
CF
14806 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
14807 first convert ints to _POINTER_INT to eliminate GCC warning.
14808
14809 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
14810 processing %p.
14811
14812 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
14813 from 65000 if ints are only 16 bits.
14814
14815 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
14816 from 50000 if ints are only 16 bits.
14817
14818 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
14819 int type that is the same size as a pointer.
14820
14821 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
14822 processing %p.
14823 (get_number): Explicitly cast number to long before shifting by 16
14824 or 24, in case ints are short.
14825
14826 * libc/include/sys/config.h (_POINTER_INT): Define as short.
14827
14828Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
14829
14830 * libc/string.h: Added ffs, removed swab.
14831 * libc/sys/errno.h: Added EOPNOTSUPP.
14832 * libc/sys/unistd.h: Added swab.
14833
14834Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
14835
14836 * libc/include/sys/stat.h: Added fchmod.
14837 * libc/include/sys/unistd.h: Added fsync.
14838
14839Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
14840
14841 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
14842 and ECONNRESET (104) for cygwin32.
14843
14844Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
14845
ba3ccd63
EB
14846 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
14847 do the static destructors.
17c0c97d 14848
8a0efa53
CF
14849Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
14850
14851 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
14852
14853Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
14854
14855 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
14856 * configure.in: Recognize m32r-*-*.
14857
14858Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
14859
14860 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
17c0c97d
EB
14861 __rt_stkovf_split_small): Added default software stack overflow
14862 handlers, which just call SWI_Exit.
8a0efa53 14863 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
17c0c97d 14864 limit initialisation.
8a0efa53
CF
14865
14866Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
14867
14868 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
14869
14870Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
14871
14872 * libc/include/sys/types.h: Added ssize_t definition.
17c0c97d 14873
8a0efa53
CF
14874Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14875
14876 * libc/machine/d10v/setjmp.S: Use ';' for comments.
14877 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
14878
14879 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
14880 branch around a single ldi instruction.
14881
14882 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
14883 Call exit, instead of just issuing a stop instruction.
14884
14885Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14886
14887 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
14888
14889Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14890
14891 * libc/stdlib/mprec.h: Explicitly declare all large constants as
14892 longs, and then cast them to __uint32_t.
14893
14894 * libc/include/sys/config.h: Protect against multiple inclusions.
14895
14896Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
14897
14898 * configure.in (d10v*): Set syscall_dir.
14899
14900Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
14901
14902 * libc/sys/d10v/crt0.S: Set stack pointer.
14903
14904Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
14905
14906 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
14907 in assembly for efficiency. Change calling convention to allow
14908 long ints to be returned.
14909
14910Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14911
14912 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
14913
14914Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
14915
14916 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
14917 Handle empty entries in $PATH.
14918
14919Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
14920
14921 * libc/machine/d10v/setjmp.S: Make it really work.
14922
14923Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
14924
14925 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
14926 the .stack section.
14927
14928Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
14929
14930 * sys/sysnecv850/sys/file.h: Remove.
14931 * sys/sysnecv850/sys/syscall.h: New file.
14932 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
14933 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
14934 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
14935 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
14936 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
14937 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
14938 * sys/sysnec850/trap.S: New file.
14939 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
14940 syscalls.
14941 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
14942 * sys/sysnec850/sbrk.c: New version.
14943
14944Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
14945
14946 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
14947 as long as r6 is less than r7.
14948
14949Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
14950
14951 * Makefile.in (mostlyclean): Separate from clean target. Don't
14952 remove *.a or targ-include.
14953 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
14954
14955Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14956
14957 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
14958 d10v.
14959 (__SMALL_BITFIELDS): Ditto.
14960
14961 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
14962
14963Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
14964
14965 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
14966 prefix.
14967
14968 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
14969 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
14970 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
14971 * libc/sys/sysnecv850/write.c (write): Likewise.
14972
14973 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
14974 .bss.
14975
14976Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14977
14978 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
14979 appropriately for D10V, depending on -mint16/-mint32.
14980
14981Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
14982
14983 * configure.in: Add cases for D10V.
14984
14985Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14986
14987 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
14988
14989Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
14990
14991 * libc/include/machine/ieeefp.h: Fix typo.
14992
14993Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
14994
14995 * libc/sys/d10v: New directory for D10V stuff.
14996 * libc/include/machine/ieeefp.h: Add D10V defines.
14997
14998Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
14999
15000 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
15001 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
15002 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
15003 * libc/string/strerror.c (strerror): Add them.
15004
15005Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
15006
15007 * libc/sys/sysnecv850: New directory for v850 stuff.
15008
15009 * libc/machine/v850: New directory for v850 stuff.
15010 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
15011
15012 * configure.in: Add support for the v850.
15013
15014 * libc/include/machine/ieeefp.h: Add v850 defines.
15015 * libc/include/machine/setjmp.h: Likewise.
15016 * libc/include/sys/config.h: Add v850 defines.
15017
15018Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
15019
15020 * libc/include/machine/ieeefp.h
15021 * libc/include/machine/setjmp.h
15022 * libc/include/sys/fcntl.h
15023 * libc/include/sys/signal.h
15024 * libc/include/sys/types.h
15025 * libc/stdlib/system.c:
15026 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
15027 API availability, __CYGWIN32__ for cygwin32 environment specific).
15028
15029Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
15030
ba3ccd63
EB
15031 * libc/include/stdlib.h: add multibyte character functions. Add
15032 __eprintf for assert.
8a0efa53
CF
15033
15034Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15035
15036 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
15037 arithmetic or __alignof__ to properly get the alignment, instead
15038 of hardwiring it to 4.
15039
15040Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
15041
15042 * libc/stdio/fseek.c: add fflush call to adjust seek offset
15043 on append stream (fix from NetBSD sources), adjust curoff offset
15044 for ungetc's benefit.
15045 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
15046 * libc/stdio/rewind.c: replace code with up to date NetBSD
15047 code to undo hacks made to work around above problem of not
15048 having fflush call mentioned above
15049
15050Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15051
15052 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
17c0c97d
EB
15053 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
15054 Partially revert last changes. The thread specific errno is set
15055 iff if the underlying syscall fails and the global errno is not
15056 zero.
8a0efa53
CF
15057
15058Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15059
15060 * libc/reent/filer.c: Removed files, all functions have split out
17c0c97d
EB
15061 into their own files.
15062 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
8a0efa53
CF
15063 New files containing functions formally in filer.c
15064 * libc/reent/Makefile.in: Updated for above change.
15065
15066 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
17c0c97d
EB
15067 syscall fails, not if errno is changed.
15068 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
8a0efa53
CF
15069 _write_r): Likewise.
15070 * libc/reent/fstatr.c (_fstat_r): Likewise.
15071 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
15072 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
15073 * libc/reent/signalr.c (_kill_r): Likewise.
15074 * libc/reent/statr.c (_stat_r): Likewise.
15075 * libc/reent/timer.c (_gettimeofday_r): Likewise.
15076
15077 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
17c0c97d 15078 signalr.c, statr.c, timer.c} (errno): declare extern rather
8a0efa53
CF
15079 than as a common.
15080
15081 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
17c0c97d
EB
15082 instead of calling vfprintf so that i*printf will not require
15083 floating point support code.
15084
8a0efa53
CF
15085Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
15086
15087 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
15088 path delimiter.
15089 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
15090 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
15091
15092Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
15093
15094 * libc/include/signal.h: _sig_func_ptr function takes an int
15095 * libc/include/sys/signal.h: sa_handler function takes an int
15096
15097Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
15098
15099 * libc/include/machine/ieeefp.h: Simplify H8/S support.
15100 * libc/include/sys/config.h: Add missing H8/S conditional.
15101
15102Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
15103
15104 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
15105
15106Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
15107
15108 * libc/include/machine/setjmp.h: Handle H8/S.
15109 * libc/include/machine/ieeefp.h: Likewise.
15110 * libc/include/sys/config.h: Likewise.
15111 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
15112 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
15113 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
15114 * libc/sys/h8300hms/crt0.S: Likewise.
15115
15116Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
15117
ba3ccd63 15118 * Makefile.in (datadir): Set to $(prefix)/share.
8a0efa53 15119 (oldincludedir, docdir): Removed.
ba3ccd63 15120 * doc/Makefile.in (datadir): Set to $(prefix)/share.
8a0efa53 15121 (oldincludedir, docdir): Removed.
ba3ccd63 15122 * libc/Makefile.in (datadir): Set to $(prefix)/share.
8a0efa53 15123 (oldincludedir, docdir): Removed.
ba3ccd63 15124 * libm/Makefile.in (datadir): Set to $(prefix)/share.
8a0efa53
CF
15125 (oldincludedir, docdir): Removed.
15126
15127Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
15128
15129 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
15130 _reent struct.
15131
15132Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
15133
15134 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
15135 fetch current path rules with sysconf and handler posix/win32
15136 appropriately.
15137
15138 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
15139
15140 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
15141 (WAIT_CHILD): Always define.
15142
15143Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
15144
15145 * libc/stdlib/eprintf.c: New file.
15146 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
15147 (eprintf.o): New target.
15148
15149Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
15150
15151 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
15152 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
15153
15154Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
15155
15156 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
15157 NT in PowerPC endianess cases.
15158
15159Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15160
15161 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
15162
15163Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15164
15165 * libc/string/strtok.c: Fix doc typo.
15166
15167Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15168
15169 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
17c0c97d 15170 _next, _scanpoint, _signgam fields.
8a0efa53
CF
15171
15172 * libc/include/stdlib.h (rand_r): Added new declaration.
15173 (_rand_r, _srand_r): Removed declarations.
15174 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
17c0c97d 15175 have been made obsolete by rand_r.
8a0efa53 15176 * libc/stdlib/rand_r.c: New file, rand_r function as specified
17c0c97d
EB
15177 by POSIX.1c.
15178
8a0efa53 15179 * libc/string/strtok.c: Update documentation to describe
17c0c97d 15180 strtok_r().
8a0efa53
CF
15181
15182Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
15183
15184 * libc/include/sys/stat.h (stat structure): Use the expanded stat
15185 structure on Solaris, and PowerPC systems even though __svr4__ is
15186 defined.
15187
15188Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
15189
15190 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
15191
15192Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
15193
15194 * host/any: Use ../.. rather than .. to get to the main build
17c0c97d
EB
15195 directory. This matches the current layout of the build
15196 directory.
8a0efa53
CF
15197
15198Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
15199
15200 * libc/machine/h8300/__main.S: Delete. No longer needed.
15201 * libc/machine/h8300/Makefile.in: Corresponding changes.
15202 * libc/sys/h8300hms/crt1.c: New file.
15203 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
15204 * libc/sys/h8300hms/crt0.s: Call __main.
15205
15206 * libc/sys/h8300hms/crt0.S: Use temporary label names
15207 for branch targets.
15208
15209Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
15210
15211 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
15212
15213Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15214
15215 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
15216 .sdata on the PowerPC so that we can link newlib with code
15217 compiled with -msdata.
15218
15219Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
15220
15221 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
15222
15223Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
15224
15225 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
15226 exception handler to __cygwin_exception_handler.
15227
15228Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
15229
15230 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
15231
15232Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
15233
15234 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
15235 SunOS VPATH.
15236 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
15237 wcstombs.o): Likewise.
15238
15239Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
15240
15241 * libc/stdlib/environ.c (initial_env): New static local.
15242 (environ): Point to `initial_env'.
15243
15244 * libc/include/machine/setjmp.h: Clean up.
15245 (__H8300H__,__PPC__): Define _JBTYPE.
15246 (__arm__): Provide entry for.
15247 (sigjmp_buf): Delete.
15248 (jmp_buf): Use _JBTYPE if defined, otherwise int.
15249
15250Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
15251
15252 * libc/machine/h8300/strcmp.S: Sign extend the result to
15253 32bits so we don't lose with -mint32.
15254
15255Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
15256
15257 * libc/sys/go32/sys/errno.h: New file.
15258 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
15259 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
15260 errno's address (make compatible with rest of newlib).
15261 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
15262 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
15263
15264Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
15265
15266 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
15267 * libc/machine/sparc/Makefile.in: Build them.
15268 * libc/machine/sparc/machine/sparclet.h: New file.
15269
15270Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15271
15272 * libc/machine/sh/asm.h: New file.
15273 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
17c0c97d 15274 support for SH3e's FP registers. Use asm.h.
8a0efa53
CF
15275
15276Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
15277
15278 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
15279 as first argument. Call _dtoa_r and pass the reent structure
15280 instead of calling __dtoa.
15281
15282Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
15283
15284 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
15285 the h8300, h8500, and others. Add comments for some rather
15286 dubious code.
15287
15288Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
15289
15290 * Makefile.in (check): Check that testsuite exists before cd.
15291
15292Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15293
15294 * libc/include/string.h (strsep): Correct prototype.
15295
15296Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
15297
15298 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
15299 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
15300 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
15301
15302Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
15303
15304 * libc/posix/{creat.c,isatty.c}: New files.
15305 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
15306
15307 * libc/sys/sparc64/crt0.S (environ): Delete.
15308 (.LHaveBias): Renamed from HaveBias.
15309
15310Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
15311
15312 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
15313 (_morecore_r): Delete SBRK_IS_ALLOC support.
15314
15315Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15316
15317 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
15318 module rather than touch, so we don't get warning messages when
15319 all of the libraries are combined into libc.a.
15320
15321Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
15322
15323 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
15324 crt0.s replaced by version in libgloss.
15325
15326Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15327
15328 * libc/reent/Makefile.in (OFILES): Add impure.o.
15329 * libc/reent/impure.o: New file, define initial reentrancy struct.
15330 * libc/reent/reent.c: Remove above definition.
15331
15332 * libm/math/sf_asinh.c: Fix typo.
15333
15334 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
17c0c97d
EB
15335 srf_ldexp.o.
15336
8a0efa53
CF
15337 * libm/libm.texinfo: Change documentation to reflect changes
15338 in reentrancy model.
15339 * libm/math/w_gamma.c: Likewise.
15340
15341Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
15342
15343 * configure.in (*-*-cygwin32): New.
15344 (*-*-win32): Deleted.
15345 * libc/sys/win32 renamed libc/sys/cygwin32.
15346
15347Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15348
15349 * libc/include/sys/file.h: New include file.
15350
15351Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
15352
15353 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
15354
15355Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
15356
15357 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
15358
15359Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15360
15361 * doc/makedoc.c (realloc): Declare at file scope.
15362 (catchar): Not here.
15363
15364Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
15365
15366 * Makefile.in (VERSION): Update to 1.7.0.
15367 * {libc,libm}/Makefile.in (VERSION): Likewise.
15368 * configure.in: Minor clean up of multilib stuff.
15369
15370 From David Johnson <davidj@ICSI.Berkeley.EDU>
15371 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
15372
15373 * libc/stdlib/environ.c: New file.
15374 * libc/stdlib/Makefile.in (OFILES): Build it.
15375 * libc/sys/h8500hms/crt0.c (environ): Deleted.
15376 * libc/sys/m88kbug/crt0.c (environ): Deleted.
15377 * libc/sys/z8ksim/crt0.c (environ): Deleted.
15378 * libc/sys/netware/environ.c: Deleted.
15379
15380Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
15381
15382 * configure.in (links): set sys_dir, posix_dir, syscall_dir
15383
15384Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
15385
15386 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
15387 declaration out to external scope and declare it PTR, not char *.
15388
15389Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
15390
15391 * libc/include/sys/unistd.h (getpagesize): New declaration.
15392 (_SC_PAGESIZE): New definition.
15393 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
15394 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
15395
15396Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
15397
15398 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
17c0c97d 15399 addressing. System call returns size, not (last address + 1).
8a0efa53
CF
15400
15401Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15402
15403 * libm/math/*.c: Removed _foo_r() reentrancy API.
15404 * libc/include/math.h: Removed _foo_r prototypes and macros.
15405
17c0c97d 15406 * libm/math/*.c: On systems with IEEE single precision "doubles"
8a0efa53 15407 move foo() -> foof() wrapper code from the files that implement
17c0c97d 15408 the standard IEEE double precision functions to the files that
8a0efa53
CF
15409 implement IEEE single precision functions. (ie. On those systems
15410 sin is moved from s_sin.c to sf_sin.c). There should eventually
15411 be use of a C extension (like gcc's alias attribute) so that the
15412 wrappers are not needed at all.
15413
15414 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
17c0c97d 15415 strict NEC V810 compiler.
8a0efa53 15416 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
17c0c97d 15417 for same reason.
8a0efa53
CF
15418
15419Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15420
15421 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
17c0c97d 15422 from NetBSD C library.
8a0efa53
CF
15423 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
15424
17c0c97d 15425 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
8a0efa53
CF
15426 and adapted from implementation I wrote for NetBSD C library.
15427 The difference is __assert doesn't take a format argument,
15428 so that there won't be multiple copies of the same string
15429 constant in the executable if assertions are enabled in
17c0c97d 15430 more than one source module.
8a0efa53
CF
15431 * libc/include/assert.h (assert): Changed to call __assert.
15432
15433Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15434
15435 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
15436 word1 on systems with 32 bit doubles.
15437 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
15438 so that we can do arithmetic on them.
15439 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
17c0c97d
EB
15440 compilers.
15441
8a0efa53
CF
15442Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
15443
15444 * libc/sys/arm/crt0.S: Zero bss.
15445
15446Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
15447
15448 * libc/include/unctrl.h: New file.
15449 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
15450 * configure.in (subdirs): Add libc/misc.
15451 * libc/Makefile.in (SUBDIRS): Add misc.
15452 (SUBLIBS): Add misc/lib.a.
15453
15454 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
15455
15456Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
15457
15458 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
15459 (_vfprintf_r): Call CHECK_INIT.
15460
15461Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
15462
15463 * Makefile.in (MULTITOP): Delete.
15464 (MULTISRCTOP, MULTIBUILDTOP): Add.
15465 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
15466 instead of cfg-ml-pos.in.
15467
15468Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
15469
15470 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
15471 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
17c0c97d 15472 presence.
8a0efa53
CF
15473
15474Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15475
15476 * libc/string/strtok.c: Include string.h to pick up strtok_r
15477 prototype.
15478
15479Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15480
15481 * libc/string/strtok.c: include <_ansi.h>.
15482 * libc/time/asctime_r.c: `reresult' -> `result'.
15483
15484Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15485
15486 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
15487 in #ifndef _REENT_ONLY ... #endif conditional.
15488
15489 * libc/include/string.h (_strtok_r): Remove declaration.
15490 * libc/include/time.h (_asctime_r): Remove declaration.
15491 * libc/string/strtok.c (_strtok_r): Removed.
15492 * libc/time/asctime.c (_asctime_r): Removed.
15493
15494 * libc/string/Makefile.in (OFILES): Add new object.
15495 * libc/string/strtok_r.c: New file. strtok_r function as
17c0c97d 15496 specified by POSIX.1c, adapted from strtok implementation
8a0efa53 15497 from NetBSD C library.
17c0c97d 15498 * libc/string/strtok.c (strtok): Reimplemented in terms of
8a0efa53
CF
15499 strtok_r.
15500
15501 * libc/time/Makefile.in (OFILES): Add new objects.
15502 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
15503 New files, reentrant time functions specified by POSIX.1c.
15504 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
17c0c97d 15505 reentrant time functions re-written in terms of reentrant
8a0efa53
CF
15506 functions.
15507 * libc/time/lcltime.c: Renamed from localtime.c
15508
15509 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
15510 gmtime_r, and localtime_r.
15511
15512Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
15513
15514 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
15515 * libc/include/sys/unistd.h (getlogin): Revert change of
15516 Oct 19.
15517 * libc/include/sys/signal.h (sigprocmask): Change prototype
15518 so it compiles with c++.
15519
15520Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
15521
15522 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
15523 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
15524 to give some room in case we need to align the jmp_buf.
17c0c97d 15525
8a0efa53
CF
15526 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
15527 the new ppc-asm.h include file the compiler provides to specify
15528 function prologue/epilogue. Eliminate saves of the xer and ctr
15529 registers, which are volatile. Before starting to save registers,
15530 align to 8 byte boundary.
15531
15532Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
15533
15534 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
17c0c97d 15535 referenced by standard libraries.
8a0efa53
CF
15536
15537Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
17c0c97d 15538
8a0efa53
CF
15539 * libc/unix/Makefile.in, libc/string/Makefile.in,
15540 libc/stdio/Makefile.in, libc/reent/Makefile.in,
15541 libc/posix/Makefile.in:
15542 Remove tabs from otherwise empty line. Confuses some
15543 older non-GNU versions of "make".
15544
15545Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
15546
15547 * libc/sys/unistd.h (getlogin): Returns const char *.
15548
15549Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
15550
15551 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
15552 * libc/include/errno.h: Moved into and include...
15553 * libc/include/sys/errno.h: New file.
15554 * libc/include/sys/wait.h: New file.
15555 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
15556 * libc/sys/win32/*: Moved out.
15557 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
15558 * configure.in (i[345]86-*-win32): HAVE_RENAME
15559
15560Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
15561
15562 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
15563 avoid macro expansion for these two names.
15564
15565Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
15566
15567 * libc/machine/h8500/psi.S: r6 renamed to fp.
15568
15569Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
15570
15571 * configure.in (powerpc*): No longer need to define
15572 NO_LONGLONG_POINTERS to supress warnings.
15573
15574Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15575
15576 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
15577 through PTR instead of directly.
15578
15579 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
15580 non-standard constructor support.
15581
15582Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15583
15584 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
17c0c97d
EB
15585 address of the Bigint instead of the address of its _x field,
15586 as the size the result buffer was calculated accordingly.
8a0efa53
CF
15587 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
15588
15589 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
17c0c97d 15590 from NetBSD C library. No longer special cases division by
8a0efa53
CF
15591 zero (which needs to be done by the application anyway), but
15592 it doesn't need to call abs() (or labs()) four times either.
17c0c97d
EB
15593
15594 * libc/stdlib/qsort.c: Replaced with implementation from
8a0efa53
CF
15595 NetBSD C library.
15596
15597Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15598
15599 * libc/stdio/vfprintf.c: Replaced with implementation from
ba3ccd63 15600 NetBSD C library (which is derived from the 4.4BSD C library).
8a0efa53
CF
15601 * libc/stdio/cvt.c: Removed.
15602 * libc/stdio/Makefile: Updated.
17c0c97d 15603
8a0efa53
CF
15604Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
15605
15606 * libc/sys/win32/syscalls.c (rename): New.
15607 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
15608
15609Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15610
15611 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
15612 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
15613
15614 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
15615 (setjmp.o): Delete rule to build setjmp.o.
15616 * libc/sys/sh/setjmp.S: Delete file.
15617
15618Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15619
15620 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
15621 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
15622 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
17c0c97d 15623 pow5mult and s2b to identifiers with leading underscores.
8a0efa53
CF
15624 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
15625 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
15626
15627Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
15628
15629 * libc/sys/posix/popen.c (sys/types.h): Include.
15630
15631Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
15632
15633 * libc/sys/win32/syscalls.h (fhandler): New struct.
15634 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
15635 (__fhandler_normal): Declare.
15636 (hinfo): New member op_handlers.
15637 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
15638 (__write): Likewise.
15639 (_read, _write, _open, _close, _lseek): Validate fd here.
15640 Move file type specific stuff to foo_normal.
15641 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
15642 New functions.
15643 (__lookup_fhandler): New function.
15644 (__lookup_fhandler_hook, __fhandler_normal): New variables.
15645
15646 From anders.blomdell@control.lth.se (Anders Blomdell)
15647 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
15648 Don't touch standard handles.
15649 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
15650 (_execve): Only create __FD_TABLE__ if necessary.
15651 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
15652
15653Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
15654
15655 * libc/sys/win32/sys/termios.h (FLUSHO): New.
15656 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
15657 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
15658 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
15659 without a handler is received.
15660 * libc/sys/win32/Makefile.in: Remove --nodelete.
15661 * libc/sys/win32/resouce.c (gettimeofday): New.
15662 * libc/sys/win32/syscalls.c (path_to_real_path): New.
15663 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
15664
15665Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
15666
15667 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
15668 Don't append "/*" to search pattern if trailing '/' already there,
15669 append "*".
15670 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
15671 like /'s, convert them to \'s. Handle //<drive>/ path names.
15672 Add space for quoted \'s in arg string. Print translated prog name
15673 and original prog name.
15674 (_execve): Handle parent doing exec a teensy bit better.
15675 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
15676 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
15677 path needs conversion, handle both cases. Delete `const' from result.
15678 (hash_path_name): New function.
15679 (_open): Call it.
15680 (_stat): Likewise. Fill in more fields for directories.
15681 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
15682 (wait_for_any): Fix trace message.
15683 (waitpid): Explicitly test for intpid == 0.
15684
15685 From anders.blomdell@control.lth.se (Anders Blomdell)
15686 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
15687 so `next' is valid.
15688
15689Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
15690
15691 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
15692 complicated.
15693
15694Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15695
ba3ccd63
EB
15696 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
15697 at all, not just == 1.
15698 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
8a0efa53
CF
15699
15700Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15701
ba3ccd63
EB
15702 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
15703 * libc/sys/win32/include/wintypes.h: include <winnt.h>
15704 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
15705 file.
8a0efa53
CF
15706
15707Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
15708
15709 * libc/sys/syscalls.c (getcwd): Fix off by one error.
15710
15711 * libc/sys/signal.c (sleep): Fill it in.
15712 * libc/sys/termios.c (tcflush): Use PurgeComm
15713 (tcsetattr): Set some more of the bits.
15714 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
15715
15716Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
15717
15718 * libc/sys/arm/crt0.S (fp): Initialize to 0.
15719 Conditionally include .idata$3 stuff ifdef __pe__.
15720
15721Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
15722
15723 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
15724 * libc/sys/win32/pipe.c (pipe): Ditto.
15725 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
15726 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
15727 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
15728 (tcgetattr): Contents are new.
15729 * libc/sys/win32/include/winkernel.h (DCB): New.
15730 (GetCommState, SetCommState): New.
15731
15732Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
15733
15734 * libc/sys/arm/crt0.S (_start): Define.
15735
15736Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
15737
15738 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
15739 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
15740
15741 * libc/sys/win32/sysconf.c: New
15742 * libc/sys/win32/sys/winadvapi.h: New
15743 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
15744 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
15745 * libc/sys/win32/pipe.c (pipe): Ditto.
15746 * libc/sys/win32/signal.c (_raise): New.
15747 (_kill): Moved from spawn.c
15748 * libc/sys/win32/spawn.c (kill): Moved to signal.c
15749 * libc/sys/win32/syscalls.c (__read): Use new fields.
15750 (_open): Ditto.
15751 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
15752 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
15753 * libc/include/sys/unistd.h (rmdir): Takes const path.
15754 * libc/include/sys/stat.h (mkdir): Takes const path.
15755 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
15756
15757Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
15758
15759 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
15760
15761 Add support for specifying paths as //<drive>/foo/bar.
15762 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
15763 (__path_to_real_path): Declare.
15764 (PATH_TO_REAL_PATH): New macro.
15765 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
15766 (__path_needs_conversion_p, __path_to_real_path): New functions.
15767 (_open): Fix test for error return from CreateFileA.
15768 Handle new path syntax.
15769 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
15770 * libc/sys/win32/dirsearch.c (opendir): Likewise.
15771
15772Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
15773
15774 * libc/sys/win32/include/*.h: Reorganized
15775 * libc/sys/win32/include/WINREADME: New.
15776 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
15777 * libc/sys/win32/*.c: Fix for new include scheme.
15778 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
15779 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
15780 * libc/sys/win32/passwd.c (*): Fix.
15781 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
15782 (_stat): Get directory owner and permissions right.
15783 * libc/sys/win32/syscalls.h (uinfo): New.
15784 * libc/sys/win32/version.def: Remove leading underscores.
15785
15786Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15787
15788 * libc/sys/win32/key.c: include "include/wincon.h".
15789
15790Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
15791
15792 * libc/sys/win32/{key, stubs}.c: New.
15793 * libc/sys/win32/Makefile: Adjust to cope.
15794 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
15795 (environ_init): Change env names to upper case.
15796 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
15797 * libc/sys/win32/passwd.c (*): Fill in the functions.
15798 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
15799 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
15800 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
15801 (_open): Initialze hmap->execable_p too.
15802 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
15803 (_fstat): Fill in permissions.
15804 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
15805
15806Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
15807
15808 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
15809 if defined.
15810 (cfg-ml-pos.in invocation): Likewise.
15811
15812Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15813
15814 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
15815 s_isnan.o and sf_isnan.o.
15816
15817Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
15818
15819 * All Makefile.in files: added maintainer-clean target as a
15820 synonym for realclean.
15821
15822Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
15823
15824 * libc/include/machine/setjmp.h: Add hppa support.
15825 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
15826 support.
15827 * libc/machine/hppa/Makefile.in: Related changes.
15828
15829Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
15830
15831 * configure.in (machine_dir): Don't set for v810-*-*.
15832
15833Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15834
15835 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
15836 conventions correctly.
15837
15838Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
15839
15840 * libc/stdio/puts.c: Update documentation of return value to match
15841 ANSI standard.
15842
15843Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
15844
15845 Fix file descriptor inheritance.
15846 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
15847 (NOT_OPEN_FD): Fix.
15848 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
15849 close-on-exec flag not set. Initialize child's entire fd table.
15850 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
15851 CHILD_P.
15852 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
15853 if CHILD_P. Initialize entire hmap entry.
15854 (dup): Only create new handle as inheritable if CHILD_P.
15855 (dup2): Likewise. Properly initialize hmap entry.
15856
15857 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
15858 _spawn.
15859 (_exit): Use CHILD_P.
15860 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
15861 (_stat): Likewise.
15862
15863Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15864
15865 * libc/sys/win32/crt0.c (passover): fix up the state table.
15866 * libc/posix/popen.c: Added.
15867 * libc/posix/Makefile.in: compile popen.c.
17c0c97d 15868
8a0efa53
CF
15869Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
15870
15871 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
15872 h8/500 define _DOUBLE_IS_32BITS.
15873
15874Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
15875
15876 Get vfork/exec/spawn/cwait/wait working again.
15877 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
15878 (procinfo): New member vfork_level.
15879 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
15880 (vfork_init_first): Use GetCurrentProcessId to get pid.
15881 Initialize vfork_level.
15882 (vfork_init): Delete __PID__.
15883 (environ_init): New function. Undo patch of Aug 19, Posix says
15884 environment variables are case sensitive.
15885 (mainCRTStartup): Call it.
15886 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
15887 (my_longjump: Make static.
15888 (_spawn): New argument `h'. Delete setting of __PID__.
15889 Delete local `idx'. Look for chars that need quotes, rather than
15890 ones that don't. Set handle of created process in `h'.
15891 Result is process id if created task.
15892 (allocate_spawn_entry): New function.
15893 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
15894 (_execve): Set __FD_TABLE__ before spawning child.
15895 Scan our fd table when passing fds, not our parent's.
15896 Store handle and pid in procinfo entry.
15897 (vfork0): Ensure strace message always printed.
15898 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
15899 (vfork): Don't clobber result of vfork0.
15900 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
15901 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
15902
15903 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
15904 and `exit_code'.
15905 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
15906 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
17c0c97d 15907 adding vfork level to pseudo-pid.
8a0efa53
CF
15908 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
15909 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
15910 (_exit): If child, set exit code.
15911 (__vfork_record_death): Only close process handle if valid.
15912 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
15913 didn't exec.
15914 (wait_for_any): Likewise. Start scan after root entry.
15915
15916Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15917
15918 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
15919 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
15920 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
15921 of actual file length.
15922
15923 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
15924 * libc/include/paths.h: _PATH_BSHELL added.
15925 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
15926 and STDERR_FILENO.
15927
15928Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15929
15930 * libc/include/ar.h: Added.
15931 * libc/include/sys/types.h: ino_t goes back to 32-bits.
15932 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
15933 * libc/sys/win32/syscalls.c (_open): compute .namehash based
15934 on filename.
15935 (_fstat): use .namehash for inode number of the fd.
15936
15937Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
15938
15939 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
15940 Change hinfo to __this_procinfo.
15941 * libc/sys/win32/crt0.c: Remove procinfo_list.
15942
15943Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15944
15945 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
15946 win32 environment.
15947
15948Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15949
15950 * libc/sys/win32/include/grp.h: Removed.
15951 * libc/sys/include/grp.h: Added.
15952 * libc/sys/win32/grp.c: Include <grp.h>.
15953
15954Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
15955
15956 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
15957 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
15958 Defined for all but strict ANSI.
15959 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
15960 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
15961 * libc/signal/signal.c (_signal_r): Changed from using
17c0c97d 15962 _MAX_SIGNALS to NSIG.
8a0efa53
CF
15963 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
15964 __hmap): Deleted.
15965 (__strace, __vfork_next_pid): New.
15966 (__exe_suffix): Default to 1.
15967 (passover, table): Understand quoted arguments.
15968 (vfork_init_first): New.
15969 (vfork_init): Initialize new process structure.
15970 (mainCRTStartup): Pass environ to main.
15971 * exceptions.c (__sig_mask): New
15972 (ehandler3): Ignore signals in mask.
15973 (really_exit): Remove CHILD_P test.
15974 * pipe.c (pipe, dup, dup2): Use new process and file structure.
15975 * resource.c (getrusage): Ditto.
15976 * signal.c (sigprocmask): New.
15977 * spawn.c (*): Rewritten.
15978 * syscalls.c (*): Use new process and file structure.
15979 (find_unused_handle): New.
15980 * syscalls.h (MAX_HANDLES): Deleted.
15981 (hinfo): Removed child_created_p.
15982 (MAX_CHILDREN): Deleted.
15983 (vfork_jmp_info, procinfo): New.
15984 * wait.c (*): Mostly new.
15985 * sys/strace.h (_STRACE_PARANOID): New.
15986 * sys/param.h: New file.
15987
15988Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15989
ba3ccd63
EB
15990 * libc/include/sys/stat.h: add S_BLKSIZE.
15991 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
15992 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
15993 types under win32.
15994 (mode_t): add a #else to avoid multiple definitons.
8a0efa53 15995
ba3ccd63
EB
15996 * libc/sys/win32/Makefile.in: add grp.c.
15997 * libc/sys/win32/grp.c: include grp.h correctly.
15998 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
15999 of the st structure with real information.
16000 * libc/sys/win32 (dirent): d_ino is of type ino_t.
8a0efa53
CF
16001
16002Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
16003
16004 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
16005 and (maybe) sparc64.
16006 (nlink_t): Provide typedef.
16007
16008Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16009
16010 * libc/sys/win32/grp.c: New file.
16011 * libc/sys/win32/include/grp.h: New file.
16012
16013Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16014
16015 * libc/include/machine/ieeefp.h: Added whitespace to make this
16016 file easier to maintain.
16017 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
16018 depending on the value of __LITTLE_ENDIAN__.
16019 On the sh3e, define _DOUBLE_IS_32BITS.
17c0c97d 16020
8a0efa53
CF
16021Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
16022
16023 * libc/sys/vr4300/syscalls.c: Added missing support
17c0c97d 16024 routines. _raise() and getpid().
8a0efa53
CF
16025
16026Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
16027
16028 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
16029
16030Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
16031
16032 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
ba3ccd63 16033 and VR4300 processor.
8a0efa53
CF
16034 * libc/sys/vr4300: Add directory.
16035 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
17c0c97d 16036 monitor run-time support.
8a0efa53
CF
16037
16038Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16039
16040 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
16041 * libc/stdlib/stdlib.tex: Don't include atol.def.
16042
16043Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16044
16045 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
16046
16047Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
16048
16049 * libc/ctype/Makefile.in: Fill in _to* dependencies.
16050
16051Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
16052
16053 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
16054 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
16055 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
16056 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
16057 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
16058
16059Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16060
16061 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
16062
16063Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16064
16065 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
16066 * libc/stdlib/atoff.c: New file.
16067 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
16068 * libc/stdlib/atoi.c (atol): Removed.
16069 * libc/stdlib/atol.c: Removed duplicate documentation.
16070
16071 * libc/include/ctype.h (_tolower, _toupper): Moved inside
16072 #ifndef _STRICT_ANSI conditional.
16073 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
16074 * libc/ctype/_tolower.c: New file.
16075 * libc/ctype/_toupper.c: New file.
16076 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
16077 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
16078 * libc/ctype/toascii.c (_toascii): Removed.
16079
16080Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
16081
16082 * libc/sys/sparc64/sys/types.h: Deleted.
16083
16084Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16085
16086 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
16087 and recognize Windows_95 systems.
16088
16089Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16090
16091 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
16092 and passed fds should be opened in text mode.
16093
16094Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16095
16096 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
16097 in __hmap, set to binary mode by default.
16098
16099Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16100
16101 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
16102 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
16103 vector 34.
16104
16105Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
16106
16107 * Makefile.in (install): Install all libraries found in the
16108 top level. If there's a sys/<type>/include directory,
16109 install those headers into include.
16110
16111 * libc/sys/win32/kernel.def351: Delete
16112 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
16113 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
16114 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
16115 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
16116 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
16117 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
16118 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
16119 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
16120
16121 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
16122 * libc/sys/win32/crt0.c: Force all env names to upper case.
16123 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
16124 * libc/sys/win32/*.c: Headers have moved.
16125 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
16126 __vfork_child_idx is now __vfork_child_ptr.
16127
16128 * posix/execvp (execvp): Don't crash if no PATH envname.
16129
16130Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16131
16132 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
16133 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
16134 through the _freelist instead of through the _reclaim list.
16135 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
16136 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
16137 sources.
16138
16139Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16140
16141 * libc/machine/h8500/setjmp.S: New file.
16142 * libc/include/machine/setjmp.h: Updated for H8/500.
16143
16144Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
16145
16146 * libc/sys/win32/syscalls.c (_open): More stracing.
16147 (_stat): Open the file in O_BINARY.
16148
16149Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16150
16151 * libc/machine/h8300/setjmp.S: New file.
16152 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
16153
16154Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
16155
16156 * libc/sys/win32/crt0.c (__exe_suffix): New global.
16157 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
16158 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
16159 __exe_suffix. Free fd_tab after setting env variable.
16160 (spawnv,_execve): Update.
16161 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
16162 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
16163 (__small_vfprintf): New function.
16164 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
16165 * libc/sys/win32/wait.c (cwait): Validate argument.
16166
16167 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
16168 (process_deletion_queue): Likewise.
16169
16170 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
16171
16172Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
16173
16174 * libc/sys/win32: Copyrights and gratuitous indenting.
16175
16176Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
16177
16178 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
16179 (process_deletion_queue): Likewise.
16180 (__close_all_files): New function.
16181 (_close): Only queue file deletion if really a file.
16182 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
16183 _P_APPEND_EXE.
16184 (_exit): Call __close_all_files.
16185
16186 * libc/stdlib/system.c: #include <errno.h>.
16187 (_system_r): Fix results in -DNO_EXEC case.
16188
16189 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
16190 Reorganize structure.
16191 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
16192 if argument is valid. Save directory name in DIR. malloc space
16193 for dirent struct separately.
16194 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
16195
16196 * libc/include/errno.h (ENAMETOOLONG): Define.
16197 * libc/string/strerror.c (strerror): Reword ENFILE.
16198 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
16199
16200Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
16201
16202 * libc/sys/win32/crt0.c (__progname): New global.
16203 (mainCRTStartup): Support strace=bitmask,filename.
16204 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
16205 * libc/sys/win32/syscalls.c (_write): Print parent trace message
16206 if error.
16207 (getcwd): Handle len too small. Convert '\\' to '/'.
16208 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
16209 Add prototypes for open, creat, fcntl.
16210 (O_APPEND): Change value to conform to Microsoft's value.
16211 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
16212
16213 * libc/stdlib/getopt.c: New file.
16214 * libc/stdlib/Makefile.in: Build it.
16215
16216Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
16217
16218 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
16219 Fix scanning of $PATH.
16220 * libc/posix/exec*.c: Call _execve, not execve.
16221 * libc/posix/execve.c: New file.
16222 * libc/posix/Makefile.in (OFILES): Add execve.o.
16223
16224 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
16225 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
16226 (_STRACE): If level==0, always print. Handle new bit mask scheme.
16227 * libc/sys/win32/crt0.c: Update _STRACE calls.
16228 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
16229
16230 * libc/sys/win32/smallprint.c (rn): Fix digit list.
16231
16232 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
16233 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
16234 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
16235 Print __seterrno trace message first.
16236 (_execve): Renamed from execve.
16237 (vfork): Update __strace usage.
16238 (__vfork_child_pid): Deleted.
16239 (__vfork_children, __vfork_child_idx): New globals.
16240 (_spawnvp): New function.
16241 (spawnvp, spawnv, _execve): Call _spawnvp.
16242 (init_child): Record child in __vfork_children.
16243 (__vfork_get_entry, __vfork_record_death): New functions.
16244 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
16245 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
16246 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
16247 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
16248 (children): New typedef.
16249 (__vfork_children,__vfork_child_idx): Declare.
16250 (__vfork_get_entry,__vfork_record_death): Declare.
16251 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
16252 (waitpid): Handle pid == -1.
16253 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
16254 * configure.in (i386-win32): Add -DNO_FORK.
16255 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
16256 * libc/reent/execr.c (_fork_r): Likewise.
16257 * libc/stdlib/system.c (do_system): New function.
16258 If WIN32, try to get shell path from $SH_PATH, use vfork.
16259 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
16260 otherwise return 0.
16261
16262Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
16263
16264 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
16265 * libc/sys/win32/fcntl.h: Don't include self.
16266 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
16267 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
16268 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
16269 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
16270 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
16271 Correct prototypes.
16272 * libc/sys/win32/strace.c: New file.
16273 * libc/sys/win32/smallprint.c: New file.
16274 * libc/sys/win32/crt0.c (func): Delete.
16275 (mainCRTStartup): Fix alloca usage. Set handles explictly.
16276 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
16277 * libc/sys/win32/exceptions.c: Lint.
16278 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
16279 Clean up handle usage.
16280 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
16281 (open.c): Default file type is text.
16282 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
17c0c97d 16283 * libc/sys/win32/advapi32.def: New
8a0efa53
CF
16284
16285Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
16286
16287 * configure.in (posix_dir, libc_posix_lib): New variables.
16288 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
16289 (i[345]86-*-win32): Define posix_dir.
16290 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
16291 (if unix_dir): Fix typo.
16292 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
16293 scandir,seekdir,telldir}: New files.
16294 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
16295 from libc/unix.
16296 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
16297 (SUBDIRS): Add posix.
16298 (SUBLIBS): Add $(LIBC_POSIX_LIB).
16299
16300 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
16301 (NSIG): Increase to 21.
16302 * libc/include/sys/unistd.h (pid_t): Move from here,
16303 * libc/include/sys/types.h (pid_t): to here.
16304
16305 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
16306 (__ptrace): Delete.
16307 (hinfo): New members close_exec_p, child_created_p.
16308 (struct exception_list): Define.
16309 (__hmap): Redefine as pointer to table.
16310 (__parent_hmap, __child_hmap): New globals.
16311 (__set_errno, __really_exit): Declare.
16312 (__vfork_child_pid): Declare.
16313 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
16314 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
16315 (__parent_hmap, __child_hmap): New globals.
16316 (__hmap): Redefine as pointer to active map.
16317 (__get_console): New function.
16318 (mainCRTStartup): Change leading '=' in environ vars to '!'.
16319 (env __FD_TABLE__): Watch for this and initialize our fd/handle
16320 mapping table from it if defined.
16321 (argv, envp): Dump if __strace >= 4.
16322 (main): Call here.
16323 * libc/sys/win32/exceptions.c (myp): Redefine.
16324 (__syscalls_b): Delete.
16325 (__stack_trace): New function.
16326 (ehandler3): Update to use _STRACE. Print stack trace.
16327 Call __really_exit instead of exit.
16328 (init_exceptions): Delete args argc,argv. New arg mine.
16329 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
16330 FindFirstFileA, FindNextFileA, GetComputerNameA,
16331 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
16332 * libc/sys/win32/signal.c (signal): Validate arg.
16333 (alarm, sleep): Define as stubs for now.
16334 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
16335 (__syscalls_b, errno): Delete.
16336 (__vfork_child_pid, __vfork_jmp_buf): New globals.
16337 (__seterrno): Handle more errors.
16338 (__sys_printf): Renamed from _ptrace.
16339 (__really_exit): New function.
16340 (queue_file_deletion, process_deletion_queue): New functions.
16341 (__resume_parent): New function.
16342 (_unlink): Handle trying to delete open file.
16343 (__totime_t): Renamed from totime_t.
16344 (setsid, __read, __write): New functions.
16345 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
16346 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
16347 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
16348 * libc/sys/win32/console.c: Update to new definition of __hmap.
16349 * libc/sys/win32/Makefile.in: Build new files.
16350 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
16351 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
16352 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
16353 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
16354
16355Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
16356
16357 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
16358
16359Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16360
16361 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
16362 have been made to the master dtoa.c sources (from netlib.att.com)
16363 since they were integrated into newlib in early 1992. Fixes
16364 problems with storage leaks and handling of numbers with very
16365 negative exponents.
17c0c97d 16366
8a0efa53
CF
16367Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16368
16369 * Makefile.in (all): set rootpre and srcrootpre before calling
16370 sub-makes.
16371
16372Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
16373
16374 * libc/sys/win32/crt0.c: Change __hmap usage.
16375 * libc/sys/win32/exceptions.c: Use _ptrace call.
16376 * libc/sys/win32/syscalls.c: Use _ptrace call.
16377 (read, write): Cope with DOS style CRLF when in TEXT mode.
16378 * libc/sys/win32/syscalls.h: Declare hinfo struct.
16379 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
16380 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
16381 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
16382 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
16383
16384Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16385
16386 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
16387
16388 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
16389 wrappers for hypot() and remainder() for BSD libm compatibility.
16390 These are public domain implementations written by me for the
16391 NetBSD libm some time ago. Note cabs() is required by ucbtest.
16392 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
16393 (fobj): Added wf_cabs.o and wf_drem.o.
16394
16395Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16396
16397 * libc/sys/h8500hms/misc.c: New file.
16398 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
16399
16400Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16401
16402 * libc/time/localtime.c (localtime): Fix problem with leap year
16403 handling. Stole algorithm from Arthur David Olson's tz code.
17c0c97d 16404
8a0efa53
CF
16405Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
16406
16407 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
16408
16409 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
16410 (_exit): Use argument.
16411
16412Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
16413
16414 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
16415
16416Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
16417
16418 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
16419
16420Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16421
16422 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
16423 target_cflags.
16424
16425Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
16426
16427 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
16428 ptrace with case insensitivity
16429 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
17c0c97d 16430 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
8a0efa53
CF
16431 New files.
16432
16433Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
16434
16435 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
16436 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
16437 (all, install, *clean): Use new multilib support.
16438 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
16439
16440Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
16441
16442 * libc/include/sys/signal.h (__WIN32__): New.
16443
16444 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
16445
16446 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
16447 (ulp, b2d): Handle 32 bit doubles.
16448 * libc/stdlib/mprec.h: Handle 32 bit doubles.
16449 * libc/stdlib/strtod.c (_strtod_r): Ditto.
16450
16451Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
16452
16453 from medp@primag.co.uk:
16454 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
16455 dynamically allocated buffers.
16456
16457Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
16458
16459 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
16460 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
16461
16462Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16463
16464 * configure.in (powerpc): Fix previous fix.
16465
16466Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16467
16468 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
16469 directories for this target.
16470
16471Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
16472
16473 * configure.in (hppa): Add machine_dir definition.
16474 * libc/machine/hppa: New directory with PA specific implementations
16475 of the basic memory/string functions.
16476
16477Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16478
16479 * configure.in: Update current PowerPC multilib directories.
16480 Split big and little endian configurations.
16481
16482Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
16483
16484 * configure.in: Add --enable-single-float option to configure to
16485 control use of MIPS single-float directories. Default to yes.
16486
16487 * Makefile.in (all): Don't recurse into multilib directory if it
16488 does not exist.
16489
16490Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16491
16492 * libc/sys/sh/syscalls.c: Fix typo.
16493
16494Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
16495
16496 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
16497 Pass down DLLTOOL.
16498 * libc/include/process.h: Define WAIT_CHILD.
16499 * libc/include/types.h: Get sizes right for win32.
16500 * configure.in (i386-*-pe): Becomes i386-win32.
16501 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
16502 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
16503 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
16504 is defined.
16505
16506Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
16507
16508 * configure.in (i[345]86-*-pe): New target (NT).
16509 * host/any: DLLTOOL new.
16510 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
16511 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
16512 WIN32 (just enough to cross host the comp-tools).
16513
16514Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
16515
16516 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
16517 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
16518
16519Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
16520
16521 * libc/include/machine/ieeefp.h (arm): Change to always be
16522 __IEEE_BIG_ENDIAN (even on little endian ARM's).
16523
16524Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
16525
16526 * libc/sys/crt0.S: Initialze sp, and call exit after main.
16527 * libc/sys/syscalls.c (abort): New.
16528 * configure.in (arm): Define ABORT_PROVIDED.
16529
16530Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16531
16532 * configure.in (powerpc): Define multidirs.
16533
16534Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
16535
16536 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
16537
16538Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
16539
16540 * configure.in (sparclite): Delete target_cflags. Define multidirs.
16541
16542Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
16543
16544 * configure.in, libc/include/machine/ieeefp.h: Modified
16545 for arm:
16546 libc/machine/arm/*, libc/sys/arm/*: New
16547
16548Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16549
16550 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
16551 __powerpc__ when determining endianness.
16552
16553Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16554
16555 * configure.in (m68*): Add multidir for the m68332.
16556
16557 * host/any (CC): Fix typo in last change.
16558
16559Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
16560
16561 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
16562 when determining endianness.
16563 * libc/include/machine/ieeefp.h: Ditto.
16564 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
16565 operands.
16566
16567Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
16568
16569 * libc/include/errno.h (ENOTEMPTY): Define.
16570
16571Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16572
16573 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
16574 target_cflags.
16575
16576 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
16577 and umultiply.o.
16578
16579 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
16580 instead of only when open succeeds. ANSI requires that multiple
16581 calls to tmpnam() result in different files.
16582
16583 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
16584 objects pulled in from /lib/libc.a that must be renamed before
16585 being pulled into newlib. /lib/libc.a's div.o conflicted with
16586 newlib's file with the same name.
16587
16588 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
16589
16590 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
16591 the build tree will only be used if the executables are present
16592 (instead of just the Makefiles).
16593
16594 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
16595 wcstombs): Define.
16596 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
16597 versions of these functions that I orignally wrote for the
16598 NetBSD C library.
16599 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
16600 versions I wrote for NetBSD.
16601
16602Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
16603
16604 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
16605 * libc/sys/sparclite/crt0.s: ditto.
16606
16607Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
16608
16609 * configure.in: Add soft-float for proelf.
16610
16611Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
16612
16613 * libc/stdlib/mprec.h (Bcopy): Copy the right number
16614 of bytes.
16615
16616Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
16617
16618 * Makefile.in (all): Depend on `force'.
16619 * configure.in (syscall_dir): Renamed from fake_sys_dir.
16620 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
16621 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
16622 * libc/Makefile.in: Likewise.
16623 * libc/include/reent.h: Update syscall references.
16624 (_fcntl_r): Add prototype.
16625 * libc/syscalls/*.c #include <reent.h>.
16626 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
16627
16628Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
16629
16630 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
16631 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
16632 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
16633 (time.h, sys/types.h): Always include (even if MSDOS).
16634 (stat): Fix prototype.
16635
16636Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
16637
16638 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
16639
16640Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
16641
16642 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
16643
16644Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
16645
16646 * libc/include/regdef.h: New file.
16647 * libc/machine/mips/machine/regdef.h: New file.
16648
16649Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
16650
16651 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
16652
16653Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
16654
16655 * libc/sys/sh/crt0.S: Pass main's return to exit.
16656 * libc/sys/sh/trap.S: Put errno in the right place.
16657
16658Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16659
16660 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
16661 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
16662 * libm/math/ef_rem_pio2.c: Likewise.
16663 * libm/math/e_log10.c: Remove unused static one.
16664 * libm/math/ef_log10.c: Likewise.
16665 * libm/math/s_frexp.c: Likewise.
16666 * libm/math/sf_frexp.c: Likewise.
16667
16668Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
16669
16670 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
16671 longjmp.S: Upgraded.
16672 * libc/sys/go32/sys/setjmp.h: Upgraded.
16673 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
16674
16675Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16676
16677 * configure.in: Add many entries to multidirs for mips targets.
16678
16679Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16680
16681 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
16682 5.2 which fixes bug where jn(-1,x) is three times larger than
16683 the actual answer.
16684 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
16685
16686Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
16687
16688 * libc/sys/w65/sys/syscalls.h: New file
16689 * libc/include/machine/ieeefp.h: W65 support.
16690 * libc/include/sys/config.h: Ditto.
16691 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
16692 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
16693 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
16694
16695Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16696
16697 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
16698
16699Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
16700
16701 * Makefile.in, configure.in: Remove any references to the old
16702 "stub" dir.
16703
16704Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16705
16706 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
16707 uses ... in prototype.
16708
16709
16710Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
16711
16712 * libc/sys/a29khif/sys/libconfig.h: Remove.
16713 * libc/sys/go32/sys/libconfig.h: Remove.
16714 * libc/sys/sun4/sys/libconfig.h: Remove.
16715 * libc/sys/sysvi386/sys/libconfig.h: Remove.
16716 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
16717 * libc/sys/sparc64/sys/libconfig.h: Remove.
16718
16719 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
16720 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
16721 * libc/include/math.h: Change all uses of _FLOAT_RET and
16722 _FLOAT_ARG to float.
16723 * libm/test/math.c: Likewise.
16724 * testsuite/libm.sac/math.c: Likewise.
16725 * testsuite/libm.sac/working/math.c: Likewise.
16726
16727Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
16728
16729 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
16730 gcc calls gas with endian option.
16731 * configure.in (sh): Build little endian version too.
16732
16733Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16734
16735 * configure.in: Configure big and little endian versions for MIPS
16736 targets.
16737
16738Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
16739
16740 * libc/include/limits.h: Deleted.
16741 * libc/include/machine/limits.h: Deleted.
16742
16743Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
16744
16745 * ChangeLog: Remove stub directory. This has all been rewritten
16746 and moved to devo/libgloss.
16747
16748Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16749
16750 * Makefile.in (dvi): Add to info target, use $@ in sub make.
16751 (docs): Merge into info target.
16752 * libm/Makefile.in (dvi): Add $(srcdir).
16753 * libm/math/Makefile.in (chobjs): Remove underscores from file
16754 names. Texinfo doesn't like them.
16755 (wacos.def, ...): Add explicit targets for all .def files.
16756 * libm/math/math.tex: Remove underscores from @include file names.
16757 * doc/Makefile.in (dvi): Add dummy target.
16758 * testsuite/Makefile.in (dvi): Add dummy target.
16759
16760Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
16761
16762 * Makefile.in (VERSION): Define. For net newlib releases.
16763
16764Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
16765
16766 * README: New file.
16767
16768Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
16769
16770 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
16771
16772Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16773
16774 * libc/stdlib/setenv.c (_findenv): Declare.
16775
16776 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
16777 fcntl to not use _EXFUN, and change string parameters to open and
16778 creat to be ``const char *''.
16779 * libc/sys/sparc64/sys/fcntl.h: Likewise.
16780 * libc/sys/sparc64/creat.c (creat): Make PATH const.
16781 * libc/syscalls/sysopen.c: Include <fcntl.h>.
16782 (open) Make _FILE const.
16783 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
16784 (_creat): Make PATH const.
16785 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
16786 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
16787 * libc/sys/m88kbug/syscalls.c (open): Likewise.
16788 * libc/sys/sh/syscalls.c (_open): Likewise.
16789 * stub/shared/glue.c (open): Make BUF const.
16790 * stub/ex93x/syscalls.c (open): Make FILENAME const.
16791
16792Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
16793
16794 * libc/include/errno.h: Add ENMFILE
16795 * libc/include/sys/config.h: Support Z8000.
16796 * libc/include/sys/signal.h: New signals for go32.
16797 * libc/machine/h8500/psi.S (__addpsir0r0): New function
16798 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
16799 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
16800 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
16801 size is variable, depending upon CHUNK_POWER.
16802 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
16803
16804Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
16805
16806 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
16807
16808Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16809
16810 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
16811
16812Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16813
16814 * configure.in: Change i[34]86 to i[345]86.
16815
16816 * libc/include/math.h: Don't define HUGE_VAL if it is already
16817 defined.
16818
16819Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16820
16821 * testsuite/libm.sac/test_erfc.c: Correct some result values.
16822 * testsuite/libm.sac/test_gammaf.c: Likewise.
16823 * testsuite/libm.sac/test_sin.c: Likewise.
16824 * testsuite/libm.sac/test_tanh.c: Likewise.
16825
16826Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16827
16828 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
16829 already set. Define typedefs __int32_t and __uint32_t.
16830 * libc/include/math.h: Include <machine/ieeefp.h>.
16831 (union __dmath): Use __uint32_t.
16832 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
16833 instead of int and unsigned int.
16834
16835Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16836
16837 Replace the math library with the SunPRO fdlibm package.
16838 * libm/math: Completely changed all files.
16839 * libm/ieeefp: Remove contents and directory.
16840 * libm/Makefile.in (LIBM_FP_LIB): Remove.
16841 (SUBDIRS): Just set to math/lib.a.
16842 * libm/libm.texinfo: Updated for new library.
16843 * libc/include/math.h: Extensive changes for new math library.
16844 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
16845 from _FLOAT_ARG to float.
16846 (maxpowtwo, maxpowtwof): Don't declare.
16847 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
16848 (libm_fp_lib): Removed.
16849 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
16850 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
16851 argument to ${RUNTEST}.
16852 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
16853 (.c.o): New rule.
16854 (RUNTESTFLAGS): Set CC and CFLAGS.
16855 (TESTS): Remove test_log2 and test_log2f.
16856 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
16857 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
16858 _FLOAT_ARG, for single precision argument type.
16859 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
16860 expected failure. Close the input pipe.
16861 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
16862 Correct misspelling of inaccurate.
16863 (test_mok): Use ``inaccurate'', not ``wrong''.
16864 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
16865 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
16866 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
16867 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
16868 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
16869 test_yn.c): Correct many result values. Many are still wrong.
16870
16871 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
16872 just copy the string.
16873 (_gcvt): Always return the buffer.
16874
16875Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16876
16877 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
16878
16879Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
16880
16881 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
16882 structure.
16883 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
16884 (_reclaim_reent): declare new entry point.
16885 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
16886 functions.
16887
16888 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
16889 ever allocated, so that we can later reclaim them all.
16890 (pow5mult): make reentrant.
16891
16892 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
16893 so that when given NULL as a buffer, return a pointer to static
16894 space in the rent structure. This is not documented behaviour;
16895 it's only to support ecvt and fcvt, which aren't ANSI anyway.
16896 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
16897 therefore become reentrant).
17c0c97d 16898
8a0efa53
CF
16899 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
16900
16901Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16902
16903 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
16904
16905Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16906
16907 * Makefile.in: Make link to libg.a after libc.a; this is needed
16908 for the testsuites to build executables when everything comes
16909 from the tree.
16910
16911Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
16912
16913 * libc/Makefile.in: Add a VERSION variable so we can keep track.
16914 * libm/Makefile.in: Add a VERSION variable so we can keep track.
16915
16916Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16917
16918 * libc/include/stdio.h: Use __VALIST, not va_list.
16919
16920Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
16921
16922 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
16923 testsuite/libm.sac/execute.exp:
16924 Replace error proc calls with perror calls.
16925
16926Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
16927
16928 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
16929 * libc/include/time.h: #define NULL as 0L.
16930
16931Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
16932
16933 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
16934 care of it.
16935
16936Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16937
16938 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
16939 not __unix__.
16940
16941Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
16942
16943 * configure.in (TARGET_CFLAGS): Set -O2 as default.
16944 (z8k-*-*): Use syscalls fake sys dir.
16945 * libc/sys/z8k/glue.c: Rename syscalls.
16946 * libc/sys/go32/Makefile.in: Use new routines.
16947 * libc/machine/Makefile.in: Fix typo in ln stuff.
16948
16949Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16950
16951 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
16952 * libc/Makefile.in (crt0.o): Likewise.
16953 * libc/machine/Makefile.in (lib.a): Likewise.
16954 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
16955
16956 All Makefile.in files: Added mostlyclean, realclean and distclean
16957 targets.
16958
16959 * Makefile.in: Don't bother to unexport XTRAFLAGS or
16960 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
16961 the top level Makefile.
16962
16963Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
16964
16965 * libc/sys/sparc64/sys/stat.h: New file.
16966 * libc/sys/sparc64/sys/time.h: New file.
16967 * libc/sys/sparc64/sys/types.h: New file.
16968
16969Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
16970
16971 * stub/ex93x/crt0.s (start): Add code to clear bss.
16972
16973Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
16974
16975 * libc/include/sys/types.h (time_t): Properly protect inside
16976 #ifndef __time_t_defined.
16977
16978 * libc/stdio/fileno.c: New file.
16979 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
16980 (fileno.o): Add dependency.
16981 * libc/include/stdio.h (__sgetc): Rename never to _never.
16982 (fileno macro): Disable, needs to do CHECK_INIT first.
16983
16984Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
16985
16986 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
ba3ccd63 16987 goal.
8a0efa53
CF
16988
16989 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
16990 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
16991 runtest.
16992 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
16993 runtest.
16994
16995Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
16996
16997 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
16998 of the various constants.
16999
17000Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
17001
17002 * libc/include/math.h: #ifndef __math_68881 around things which
17003 conflict with the (gcc-provided) inline functions in
17004 gcc/ginclude/math-68881.h.
17005
17006Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
17007
17008 * libc/include/_syslist.h (_gettimeofday): Define.
17009 (_times): Ditto.
17010 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
17011 (struct tms, timeval, timezone): Declare.
17012 (_gettimeofday_r, _times_r): Declare.
17013 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
17014 #ifdef _CLOCK_T_ surrounding definition of clock_t.
17015 (time_t): Add multiple definition protection, __time_t_defined.
17016 * libc/include/sys/time.h: Don't #include <time.h>.
17017 Always define struct timezone (remove #ifndef _TIME_H_).
17018 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
17019 #ifdef _CLOCK_T_ surrounding definition of clock_t.
17020 * libc/reent/Makefile.in (OFILES): Add timer.o.
17021 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
17022 * libc/reent/timer.c: New file.
17023 * libc/time/clock.c: #include <reent.h>.
17024 (clock): Call _times_r instead of times.
17025 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
17026 HAVE_GET_TIME_OF_DAY.
17027 Add comment regarding supporting OS routine(s) required (for docs).
17028 #include <reent.h>.
17029 (time): Call _gettimeofday_r instead of gettimeofday.
17030 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
17031 * libc/time/ctime.c: Ditto.
17032 * libc/time/strftime.c: Ditto.
17033 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
17034 (TEMPLATE_SFILES_R): Define here. Also define times.
17035 Add times_r.o/times.S dependence.
17036 (time2.c, junk.c): Deleted.
17037 * libc/sys/sparc64/time2.c: Deleted.
17038 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
17039
17040 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
17041 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
17042 * libc/sys/sparc64/junk.c: Deleted.
17043
17044Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
17045
17046 * libc/sys/sparc64/Makefile.in: Add times syscall.
17047 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
17048 be used with and without it. Add comment clarifying Medium/Anywhere
17049 model requirements.
17050 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
17051 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
17052 even if obsolete.
17053
17054Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
17055
17056 * configure.in (target_cflags): Move init.
17057 (sparc64-*-*): Define HAVE_BLKSIZE.
17058
17059Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
17060
17061 * libc/include/sys/_types.h: New file.
17062 * libc/include/reent.h: #include it.
17063 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
17064 MISSING_SYSCALL_NAMES.
17065 Sort syscalls.
17066 * libc/include/_syslist.h: Remove _raise.
17067 * libc/reent/signalr.c: New file.
17068 * libc/reent/Makefile.in: Compile it.
17069 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
17070 Add doc for raise and _raise_r.
17071 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
17072 (raise): Call _raise_r.
17073 (_raise_r): Call _getpid_r and _kill_r.
17074 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
17075 (abort): Loop forever calling raise and _exit.
17076
17077Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17078
17079 * configure.in: Remove extraneous echo.
17080
17081Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
17082
17083 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
17084 collision with unistd.h, and fix for svr4.
17085
17086Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
17087
17088 * libc/stdio/local.h (_llicvt): Declare.
17089 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
17090 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
17091 (_llicvt): Define.
17092 (_sicvt): Fix function header (`value' is short).
17093 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
17094 Add printing of long long's support.
17095 Add printing of 8 byte pointer support.
17096
17097Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
17098
17099 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
17c0c97d 17100 stat, chmod): New hooks.
8a0efa53
CF
17101 (sbrk): Abort if stack and heap collide.
17102 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
17103 shortcut when given small args.
17104 * libc/machine/sh/setjmp.s: Rewritten.
17105 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
17106 of cmp/str instruction.
17107
17108Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17109
17110 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
17111 and machine_dir powerpc.
17112 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
17113 Add cases for __powerpc__.
17114 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
17115 New files.
17116
17117 * libc/include/stdio.h (_iprintf_r): Declare correctly.
17118
17119Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
17120
17121 * libc/stdlib/callocr.c: New file with _calloc_r in it.
17122 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
17123
17124Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
17125
17126 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
17127 (print_e): More comments to describe args, etc.
17128 "type" arg may now be 'g' or 'G' for %g/G format --> remove
17129 trailing blanks.
17130 (_gcvt): Remove locals decpt, sign, end, p, done.
17131 More comments for print_e invocation.
17132 Pass "type" to print_e as is (g/G).
17133
17134Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
17135
17136 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
17c0c97d 17137 stock m68000.
8a0efa53
CF
17138
17139Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
17140
17141 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
17142 works with any sized pointer, including ones bigger than ints and
17143 longs.
17144
17145Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
17146
17147 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
17148
17149Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17150
17151 * libc/include/stdlib.h (_calloc_r): Add prototype.
17152 * libc/machine/h8500/negsi2.c: New file.
17153 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
17154 large unsigned numbers.
17155 * libc/machine/h8500/cmpsi.c: Add cmppsi.
17156 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
17157 works when sizeof(size_t) != sizeof(char *).
17158 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
17159 get play area
17160 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
17161
17162Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
17163
17164 * libc/include/assert.h (assert): Handle -traditional.
17165
17166Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
17167
17168 * Makefile.in: added ; after every "fi" and "done" that wasn't at
17169 the end of a line (ie. anything before a backslash continuation)
17170 so that bash handles them.
17171
17172Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
17173
17174 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
ba3ccd63 17175 stat to lstat
8a0efa53
CF
17176
17177Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
17178
17179 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
17180 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
17181 libc/machine/sh/udivsi3.s: Use new calling convention.
17182
17183Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
17184
17185 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
17186 chmod, access, chdir, chown by making _path const. Also fix _amode
17187 param of access.
17188
17189Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
17190
17191 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
17192 _khif_tmpnam, because it doesn't comply with ANSI but may be
17193 useful anyway. Real tmpnam was already in libc/stdio, and was
17c0c97d 17194 colliding with this one (pr 2176.)
8a0efa53
CF
17195 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
17196 the wrong idea anyhow.
17197
17198Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
17199
17200 * configure.in: Remove h8300h, we have multilib now.
17201
17202Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
17203
17204 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
17205 functions, to get preference over the ones in libiberty (since we
17206 provide correct declarations in <string.h>.
17207 * libc/string/Makefile.in: add support for strncasecmp,
17208 strcasecmp.
17209
17210Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
17211
17212 * Change netware config not to look for cpu explicitly.
17213
17214Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
17215
17216 * libc/sys/sparc64/{creat.c,junk.c}: New files.
17217 * libc/sys/sparc64/Makefile.in: Add dependencies.
17218
17219Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
17220
17221 * configure.in: Clean up v9 a bit, new "os" aoutv8.
17222
17223Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
17224
17225 * libc/include/sys/reent.h: make structure smaller by allocating
17226 some stuff when needed.
17227 * libc/signal/signal.c: allocate as needed
17228 * libc/stdio/findfp.c,stdio/local.h: ditto
17229 * libc/stdlib/mprec.c: ditto
17230
17231 * libc/time/localtime.c: don't return a dangling stack ptr.
17232
17233Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
17234
17235 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
17236
17237Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17238
17239 * libc/include/stdio.h (__sputc): comment out static inline which
17240 confuses coff toolchains.
17241
17242Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
17243
17244 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
17245 _write.s, getpid.c, kill.c, read.s}:
17246 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
17247 through the syscalls directory.
17248
17249Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
17250
17251 * configure.in: fixed double quote gotcha.
17252
17253Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
17254
17255 * stub/ex931: stub library for sparclite board.
17256 * stub/idp: Renamed from mc68ec. Added contructor table
17257 stuff to linker script.
17258 * stub/mvme135: Renamed from m68kmvme. Added contructor table
17259 stuff to linker script.
17260
17261Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17262
17263 * configure.in: Configure testsuites only if they exist.
17264
17265Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17266
17267 * configure.in: Don't set machine_dir for i386 until there is
17268 something in libc/machine/i386 to compile. For i[34]86-*-netware*
17269 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
17270 CLOCK_PROVIDED and MALLOC_PROVIDED.
17271
17272 * libc/sys/netware: New directory. Contains simplistic and
17273 probably incorrect stubs for NetWare. Should be enough to load
17274 the library.
17275 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
17276 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
17277 stub files.
17278
17279 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
17280 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
17281 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
17282 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
17283
17284Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
17285
17286 * testsuite/Makefile.in: add "docs" dummy target for consistency
17287 with rest of newlib; turn "info" and "install-info" into dummy
17288 targets, since they wouldn't have worked. (Depended on
17289 nonexistent "doc" subdir.)
17290
17291Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
17292
17293 * configure.in: handle mips* instead of mips
17294
17295Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
17296
17297 * libc/include/sys/dirent.h: New file. If it is not overridden by
17298 a version of libc/sys/*/sys/dirent.h, it includes the next
17299 <dirent.h> file in case there is one lurking somewhere.
17300
17301Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17302
17303 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
17304 compliance, namely: Accept a minus sign. Consider a single 0 with
17305 a radix of 0 as being a conversion. Determine overflow correctly.
17306 If an overflow occurs, set *ptr to the end of the number, not the
17307 middle.
17308 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
17309
17310Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
17311
17312 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
17313
17314Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
17315
17316 * Makefile.in (INSTALL): Use $srcrootpre.
17317 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
17318 can't handle it.
17319 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
17320 it.
17321 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
17322 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
17323 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
17324 * libm/math/Makefile.in (matherr.o): Ditto.
17325
17326Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17327
17328 * configure.in: Build multidirs for z8k.
17329 * libc/include/stdlib.h (_strtoul_r): add prototype.
17330 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
17331 * libc/include/machine/setjmp.h: Add for z8k.
17332 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
17333 * libc/sys/z8ksim/glue.c: tidy up.
17334
17335Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
17336
17337 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
17338 New files. Requires execve system call.
17339 * libc/unix/Makefile.in: Use them.
17340 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
17341 Deleted, moved to libc/unix.
17342 * libc/sys/sparc64/Makefile.in: Remove them.
17343
17344Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
17345
17346 * libc/sys/sparc64/{template.S template_r.S}: New files.
17347 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
17348 from templates.
17349 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
17350 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
17351 umask.S unlink.S wait4.S write.S}: Removed, now built from
17352 templates.
17353
17354Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
17355
17356 * libc/time/time.c: #include <_ansi.h>.
17357
17358Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
17359
17360 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
17361
17362Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17363
17364 * configure.in: match m8* rather than m88k so that m88110 is
17365 recognized as well.
17366
17367Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
17368
17369 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
17370 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
17371 misc.c: New file.
17372
17373 * configure.in: Add multilib support to h8300.
17374
17375Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
17376
17377 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
17378 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
17379 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
17380
17381Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17382
17383 * configure.in: Corrected multidirs for sparc target.
17384
17385Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17386
17387 Support for building newlib multiple times with different
17388 compilation flags.
17389 * configure.in: Only configure doc at top level. Set multidirs
17390 when appropriate for target, unless not at top level. If
17391 multidirs is set, independently configure each subdirectory.
17392 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
17393 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
17394 automagically set by configure.in.
17395 (all): If MULTIDIRS is set, build multiple copies of libraries.
17396 (install): If MULTIDIRS is set, install multiple copies of
17397 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
17398 MULTISUBDIR is set, don't bother to install header files.
17399 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
17400 ${srcrootpre}.
17401 * stub/configure.in: Set MULTISUBDIR appropriately.
17402 * stub/Makefile.in (install): Install in
17403 $(tooldir)/lib/$(MULTISUBDIR).
17404 * All Makefile.in files: Define SRCTOP as well as TOP.
17405
17406Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
17407
17408 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
17409 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
17410
17411Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
17412
17413 * libc/sys/h8300hms/exit.c (_exit): New function.
17414
17415Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17416
17417 * configure.in: recognize m88110.
17418
17419Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17420
17421 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
17422 prototype main and call with args.
17423
17424Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
17425
17426 First real try at system traps for m88k-bug.
17427 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
17428 to real trap calls.
17429 * libc/sys/m88kbug/sys/systraps.h: new file.
17430
17431Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17432
17433 Patches to fix info building when target does not use sys
17434 directory.
17435 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
17436 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
17437 libc/sys.tex.
17438 * libc/sys/Makefile.in (doc): do nothing.
17439
17440Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17441
17442 * libc/Makefile.in (CRT0): new macro.
17443 (all): depend on $(CRT0) rather than crt0.o.
17444
17445 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
17446 do not default crt0, instead, set crt0 and crt0_dir based on
17447 sys_dir and stub_dir.
17448
17449 * Makefile.in (CRT0_DIR): new macro.
17450 (all): depend on $(CRT0) rather than crt0.o which may not exist.
17451 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
17452 $(CRT0).
17453 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
17454
17455Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17456
17c0c97d
EB
17457 * testsuite/lib/libm.exp:
17458 added code to support compiling and linking of tests for
17459 libm.sac (paranoia to be added next) and processing the
8a0efa53
CF
17460 pass or failure of the tests.
17461
17462 * testsuite/config/unix-libm.exp:
17463 platform specific proc's for dealing with compiler, linker
17464 and the way we execute and process the test results.
17465
17466 * testsuite/libm.sac/execute.exp:
17c0c97d 17467 generic framework for the sac tests. the config and lib
8a0efa53
CF
17468 expect code for specific platforms tie it all together.
17469
17470 * testsuite/libm.sac/test_is.c:
17471 changed the output of the test to be consistant with the
17472 other tests. parsing of pass nad fail messages is now fixed.
17473
17474Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
17475
17476 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
17477 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
17478 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
17479 #ifdef __cplusplus, surround by extern ""C { ... }.
17480 * libc/include/assert.h: Do *not* protect assert.h against
17481 multiple inclusion! Also, #undef it before #define, to allow
17482 redefinition.
17483 * libc/include/stdio.h (getlogin, cuserid): Removed. These
17484 should be only in unistd.h.
17485
17486 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
17487 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
17488 ... }.
17489
17490Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
17491
17492 * libc/machine/sparc/Makefile.in: Must create a library, even
17493 if empty.
17494
17495Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17496
17497 * configure.in: set machine_dir for m88k. edit crt0 definition
17498 into makefiles.
17499
17500 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
17501
17502 * libc/Makefile.in (all): also build crt0.o.
17503
17504 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
17505 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
17506 to remove CRT0.
17507
17508 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
17509 (all): reworked to build in place.
17510 (clean): remove lib.a
17511 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
17512
17513 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
17514 (_start): key off edata rather than _start_bss.
17515
17516Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
17517
17518 * libc/include/sys/unistd.h, libc/include/reent.h,
17519 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
17520
17521Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17522
17523 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
17524
17525 * Makefile.in (libc.a): break into two rules, one for libc.a and
17526 one for libc/libc.a. Force subdirs current before rebuilding
17527 library.
17528 (libm.a): break into two rules, one for libm.a and one for
17529 libm/libm.a. Force subdirs current before rebuilding library.
17530
17531 * libc/Makefile.in (SUBLIBS): fix typo.
17532
17533 * libc/sys/Makefile.in (all): force descent into subdirs, then
17534 rebuild library iff out of of date.
17535
17536Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17537
17538 Rework so that library is built and then finished rather than
17539 being built on each invocation of make.
17540
17541 * host/any (machine_dir, sys_dir, signal_dir): these are not
17542 shared and have been moved to their associated Makefile.in's.
17543 (AR_FLAGS): switch to qc which is faster.
17544 * configure.in: no longer assign machine_dir for m88k. set
17545 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
17546 stub_dir set, then add to configdirs. add comment about silly
17547 configuration.
17548 (configdirs): drop stub. It will be added only
17549 when needed.
17550 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
17551 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
17552 stub_lib, crt0): new variables for tailoring lower level
17553 makefiles. Assign accordingly and edit into makefiles.
17554 * libm/Makefile.in: updated copyright.
17555 (TARGETLIB): removed.
17556 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
17557 (SUBDIRS): removed TARGETDEP_DIRS.
17558 (LIBM_FP_LIB, SUBLIBS): new macros.
17559 (all): reworked.
17560 (force): new target to force rebuilds.
17561 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17562 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
17563 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
17564 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
17565 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
17566 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
17567 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
17568 stub/m68kmvme/Makefile.in: updated copyright.
17569 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
17570 (all): reworked. made this the default rule.
17571 (clean): also remove lib.a.
17572 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17573 * stub/Makefile.in: updated copyright.
17574 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
17575 (stub_lib): new macro.
17576 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
17577 RANLIB.
17578 (all): reworked.
17579 (clean, install): assume stub_dir exists.
17580 (Makefile): depend on configure.in. call $(SHELL) rather than
17581 sh. drop redundant ./
17582 * stub/configure.in (stublib): new macro, assign it, edit it into
17583 makefiles.
17584 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
17585 updated copyright.
17586 (all): reworked.
17587 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17588 * libc/Makefile.in (TARGETCRT0): removed.
17589 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
17590 TARGETCRT0.
17591 (SUBDIRS): drop TARGETDEP_DIRS.
17592 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
17593 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
17594 (force): new target to force rebuilds.
17595 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
17596 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
17597 removed.
17598 (clean): assume sys_dir always exists.
17599 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
17600 drop redundant ./
17601 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
17602 libc/locale/Makefile.in, libc/machine/Makefile.in,
17603 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
17604 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
17605 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
17606 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
17607 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
17608 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
17609 libc/signal/Makefile.in, libc/stdio/Makefile.in,
17610 libc/stdlib/Makefile.in, libc/string/Makefile.in,
17611 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
17612 libc/time/Makefile.in, libc/unix/Makefile.in,
17613 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
17614 (TARGETLIB): removed.
17615 (all): reworked.
17616 (clean): also remove lib.a.
17617 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17618 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
17619 new macros.
17620 (SUBDIRS): moved to follow frag inclusion, change stub to
17621 stub_dir.
17622 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
17623 are now set in the libc Makefile.
17624 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
17625 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
17626 TARGETCRT0.
17627 (force): new target to force rebuilds.
17628 * stub/configure.in: determine and set stub_lib for for Makefile.
17629
17630Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
17631
17632 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
17633 crt0.s renamed to crt0.S.
17634 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
17635
17636 * libc/machine/h8300/Makefile.in: Make `all' the default target.
17637 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
17638 h8300h.
17639 * libc/machine/h8300/defines.h: Add macros to handle pointers for
17640 h8300 (16 bits) and h8300h (32 bits).
17641 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
17642 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
17643
17644Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
17645
17646 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
17647 implementation of setjmp and longjmp for the m88k.
17648 * libc/include/machine/setjmp.h: Added __m88000__ case.
17649
17650Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
17651
17652 * configure.in: Recognize h8300h as variant of h8300.
17653
17654Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17655
17656 * libc/include/sys/unistd.h (read, write): get prototypes right.
17657 (sbrk): New prototype.
17658 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
17659 * libc/stdio/local.h: Include unistd.h.
17660 * libc/machine/h8300/syscalls.c: Names have changed.
17661
17662Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
17663
17664 * configure.in: add sys_dir assignment for m88k-bug.
17665
17666Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
17667
17668 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
17669 a.out or elf.
17670 * libc/sys/sparc64: all *.S files: Use new macros.
17671 * libc/sys/sparc64/isatty.c: New file.
17672 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
17673 functions beyond what newlib provides.
17674
17675Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
17676
17677 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
17678 svr4.
17679
17680Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
17681
17682 * libc/include/machine/ieeefp.h: Add support for h8/300h.
17683
17684Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
17685
17686 * configure.in: add m88k.
17687 * libc/include/machine/ieeefp.h: add case for m88k. Also add
17688 sanity check so no one else need ever chase what I did to find
17689 this.
17690
17691 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
17692
17693Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
17694
17695 * doc/makedoc.c: Include <ctype.h>.
17696
17697Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
17698
17699 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17700 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17701 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17702
17703 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
17704
17705Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
17706
17707 * libc/include/errno.h (ENOSYS): Added.
17708
17709 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
17710
17711Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17712
17713 * libc/stdio/fflush.c (fflush): Check for reent struct
17714 initialization.
17715 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
17716
17717Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
17718
17719 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
17720 out of dtoa.c so it doesn't pollute the namespace.
17721 * libc/include/_syslist.h: new file -- mappings from _function to
17722 function, for systems where we can't win (by default, all of them,
17723 until we start updating system calls.)
17724 * libc/syscalls: new directory -- stubs for exporting _function
17725 names as unmodified function names.
17726 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
17727 _syslist.h on all platforms by default, but put hooks in for
17728 fake_sys_dir so we can include it when we've renamed the system
17729 calls.
17730 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
17731 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
17732 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
17733 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
17734 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
17735 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
17736 non ANSI functions to call _function.
17737
17738Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
17739
17740 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
17741 when base 16 is specified. Don't accept non-digits if radix > 10.
17742
17743Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
17744
17745 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
17746
17747Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
17748
17749 * libc/include/sys/stat.h: Surround text after #endif with
17750 comments.
17751
17752Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
17753
17754 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
17755 _malloc_r, _realloc_r, and free_r call the corresponding
17756 non-reentrant functions.
17757
17758 * libm/math/modf.c (modf): We now take the address of ipart, so
17759 don't make it a register variable.
17760
17761Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
17762
17763 * libm/math/*: Rename all xxx_r fns to _xxx_r.
17764
17765Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
17766
17767 * libc/libc.texinfo and embedded docn throughout: formatting
17768 improvements, minor rephrasing for clarity, and improved
17769 reentrancy docn.
17770
17771Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17772
17773 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
17774
17775 * libc/stdio/cvt.c (_licvt): Print the right value on machines
17776 where sizeof(int) != sizeof(long).
17777
17778Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
17779
17780 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
17781 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
17782 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
17783 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
17784 libm/math/matherr.c: changes for better docn formatting (info).
17785
17786 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
17787 libc/reent/reent.tex, libc/signal/signal.tex,
17788 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
17789 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
17790 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
17791 makeinfo node defaulting to get better Info file node structure.
17792 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
17793 Also include a few formerly missing sections (subroutines).
17794
17795 * doc/doc.str: delete fossil expansion for "func"
17796
17797 * default.menu, no-signal.menu: delete.
17798
17799 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
17c0c97d 17800 method used to adjust doc for missing "signals" chapter when
8a0efa53
CF
17801 signal_dir is empty.
17802
17803Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17804
17805 * configure.in: added testsuite/libm.sac
17806
17807Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
17808
17809 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
17810 code model).
17811
17812Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
17813
17814 * libm/Makefile.in: Use $(MAKE) rather than make, and define
17815 MAKEOVERRIDES to be empty.
17816
17817Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
17818
17819 * configure.in: Don't build mips-*-* with -msoft-float, since that
17820 makes it incompatible with hard floating point.
17821
17822Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17823
17824 * Makefile.in: added recursive 'make check'
17825
17826Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17827
17828 * configure.in: added ./testsuite ./testsuite/libm.paranoia
17829 * ./testsuite/Makefile.in: created
17830 * ./testsuite/libm.paranoia: paranoia tests added
17831
17832Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
17833
17834 * configure.in: For mips-*-* set machine_dir to mips.
17835
17836 * libc/machine/mips: New directory.
17837 * libc/machine/mips/Makefile.in: New file.
17838 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
17839 setjmp and longjmp.
17840 * libc/include/machine/setjmp.h: Added __mips__ case.
17841
17842 * libc/machine/lmips: Removed unused and useless directory.
17843
17844Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
17845
17846 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
17847
17848Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
17849
17850 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
17851 start up).
17852
17853Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
17854
17855 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
17856 SETJMP_H.
17857
17858Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
17859
17860 * libm/test/convert.c: structure member errno -> errno_val.
17861 Must include <errno.h> to use errno, it's a macro now.
17862 * libm/test/math.c: Ditto.
17863 * libm/test/math2.c: Include errno.h.
17864 * libm/test/string.c: Ditto.
17865 * libm/test/test.h: structure member errno -> errno_val.
17866 Remove extern int errno decl.
17867
17868Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
17869
17870 * libc/stdio/Makefile.in: Added dependencies on local header
17871 files.
17872 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
17873 files.
17874
17875Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
17876
17877 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
17878
17879Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
17880
17881 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
17882 Initialize _data.
17883
17884 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
17885 * libc/stdio/local.h: Add prototype for _licvt.
17886
17887 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
17888 instead of malloc,reealloc.
17889
17890 * libc/stdlib/local.h: New file.
17891 * libc/stdlib/efgcvt.c: #include local.h.
17892 (gcvt): Fix call to _gcvt.
17893 * libc/stdlib/ecvtbuf.c: #include local.h.
17894
17895 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
17896 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
17897 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
17898
17899 * libc/stdlib/atexit.c: moved global data to struct _reent.
17900 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
17901
17902 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
17903
17904Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
17905
17906 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
17907 here from ../reent.h.
17908
17909Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
17910
17911 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
17912 should be provided in both libc.a and libm.a.
17913 (libc.a): Depend on targ-include and libm.a. Copy
17914 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
17915 (libm.a): Depend on targ-include.
17916 * configure.in (subdirs): Removed libc/math.
17917
17918Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17919
17920 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
17921
17922Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
17923
17924 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
17925 sys/reent.h instead of reent.h.
17926 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
17c0c97d 17927 headers moved to sys/reent.h.
8a0efa53
CF
17928 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
17929 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
17930 __need__MAX_SIGNALS defined.
17931 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
17932 std{in,out,err} refer to new _std{in,out,err} members.
17933
17934Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
17935
17936 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
17937 case.
17938
17939Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
17940
17941 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
17942 rather than whatever macro seterrno() has.
17943
17944Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
17945
17946 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
17947 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17948
17949 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
17950 __STDC__.
17951
17952 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
17953 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
17954 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17955
17956 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
17957 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17958
17959 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
17960 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
17961 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
17962 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
17963 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
17964 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
17965 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
17966 renamed to _xxx_r. struct reent_struct renamed to struct _reent
17967 for ANSI. structure members given leading "_" for ANSI. Use
17968 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
17969
17970 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
17971 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
17972 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
17973 reent_struct renamed to struct _reent for ANSI.
17974 Structure members given leading "_" for ANSI.
17975 _CONST --> const in prototypes.
17976 Use _HAVE_STDC instead of __STDC__.
17977
17978 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
17979 _xxx_r.
17980 struct reent_struct renamed to struct _reent for ANSI.
17981 Structure members given leading "_" for ANSI.
17982
17983 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
17984 _xxx_r.
17985 struct reent_struct renamed to struct _reent for ANSI.
17986
17987 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
17988 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
17989 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
17990 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
17991 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
17992
17993 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
17994 signal.h, stdio.h, stdlib.h, string.h, time.h}:
17995 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
17996 #ifndef _STRICT_ANSI non-ANSI routines.
17997 Reentrant routines renamed from _r_xxx to _xxx_r.
17998 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
17999 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
18000 Clean up namespace (structure members have leading "_").
18001 struct reent_struct renamed to struct _reent for ANSI compliance.
18002 _CONST --> const in function prototypes.
18003
18004 * libc/include/string.h: Add NULL and size_t.
18005
18006 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
18007 unlink, wait, wait4. Reentrant syscall routines close, fork,
18008 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
18009 write.
18010 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
18011 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
18012 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
18013 write.S}: Define reentrant versions.
18014 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
18015 reentrant syscalls.
18016
18017 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
18018
18019 * libc/include/stdlib.h (RAND_MAX): Fix value.
18020
18021Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
18022
18023 * libc/sys/a29khif/_main.c: Removed unnecessary file.
18024 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
18025 VPATH support targets after all: target.
18026
18027 * stub/mvme135/mvme.S: Renamed exceptionhandler to
18028 exceptionHandler, which is what mvme135-stub.c expects.
18029
18030Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
18031
18032 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
18033
18034 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
18035 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
18036 compliant).
18037
18038Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
18039
18040 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
18041 first.
18042 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
18043 _r_write): Ditto.
18044 libc/reent/fstatr.c (_r_fstat): Ditto.
18045 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
18046 libc/reent/sbrkr.c (_r_sbrk): Ditto.
18047 libc/reent/statr.c (_r_stat): Ditto.
18048
18049 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
18050 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
18051 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
18052 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
18053 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
18054 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
18055 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
18056 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
18057 (__swrite): Ditto for _r_lseek, _r_write.
18058 (__sseek): Ditto for _r_lseek.
18059 (__close): Ditto for _r_close.
18060 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
18061
18062 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
18063 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
18064
18065 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
18066 to make reent_struct the first argument (and thus consistent with
18067 the rest of newlib).
18068
18069 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
18070 reference to __STDC__.
18071
18072Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
18073
18074 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
ba3ccd63 18075 global __cleanup.
8a0efa53
CF
18076
18077Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
18078
18079 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
18080 first.
18081 libc/stdio/fclose.c (fclose): Ditto.
18082
18083Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
18084
18085 * Run through indent and rename reentrant routines for ANSI.
18086 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
18087 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
18088 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
18089 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
18090 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
18091 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
18092 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
18093 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
18094 vsprintf.c wbuf.c wsetup.c local.h}
18095
18096 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
18097
18098 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
18099 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
18100 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
18101 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
18102 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
18103 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
18104
18105 * Run through indent.
18106 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
18107 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
18108 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
18109 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
18110 strxfrm.c}
18111
18112 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
18113 localtime.c mktime.c strftime.c time.c}:
18114 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
18115
18116 * Reformatting + renaming (for ANSI, GNU style, consistency).
18117 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
18118 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
18119 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
18120
18121Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
18122
18123 * libc/include/stdio.h (stdin_r): Fix.
18124
18125Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
18126
18127 * Makefile.in: Unexport some variables to keep GNU make from
18128 putting them in the environment and using up needed ARG_MAX space
18129 (a hack is used to let this work with older makes as well).
18130
18131Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
18132
18133 * Makefile.in: Use $(MAKE) rather than make.
18134 (MAKEOVERRIDES): Define to be empty.
18135 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
18136 (libc.a, libm.a): Depend on targ-include.
18137 * host/any (LD): Don't define.
17c0c97d 18138 (INCLUDES): Use targ-include.
8a0efa53
CF
18139 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
18140 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
18141 * libc/Makefile.in: Use $(MAKE) rather than make.
18142 (MAKEOVERRIDES): Define to be empty.
18143 (FLAGS_TO_PASS): Don't pass LD (it's not used).
18144 (all): Rewrote to be slightly smaller.
18145 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
18146 Define to be empty.
18147 (FLAGS_TO_PASS): Don't pass LD (it's not used).
18148 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
18149
18150Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
18151
18152 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
18153 with errno/errno.c.
18154
18155Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
18156
18157 * Changes for reentrancy.
18158 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
18159 Use ptr->_errno, not errno.
18160 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
18161 libc/stdio/remove.c (remove_r): New function.
18162 libc/stdio/rename.c (rename_r): New function.
18163 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
18164 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
18165 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
18166 reentrant versions of system calls.
18167 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
18168 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
18169 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
18170 libc/stdio/findfp.c: Include <string.h>.
18171 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
18172 "local.h".
18173 libc/stdio/wbuf.c: Include "fvwrite.h"
18174
18175 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
18176 <string.h>.
18177 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
18178 (NULL): Don't define if already defined.
18179 libc/stdlib/system.c: Call reentrant versions of system calls.
18180 (system_r): New function.
18181
18182 * Changes for reentrancy.
18183 libc/include/_ansi.h (_PARAMS): New macro.
18184 libc/include/errno.h: Define errno as a macro that calls __errno.
18185 (__errno_r): New macro for reentrant code.
18186 libc/include/math.h: Include reent.h. Declare many reentrant
18187 functions.
18188 (signgam): Now a macro, not a variable.
18189 (struct exception): Added err field.
18190 libc/include/reent.h: Don't declare __sglue. Added function
18191 declarations.
18192 (struct reent_struct): Moved errno to beginning. Added _signgam.
18193 libc/include/stdio.h, libc/include/stdlib.h: Added function
18194 declarations.
18195
18196 * More reentrancy hacking.
18197 libc/errno/errno.c (__errno): New function.
18198 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
18199 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
18200 files.
17c0c97d 18201
8a0efa53
CF
18202 * Added many new reentrant functions to libm/math/*.
18203 libm/math/error.c (__matherror): Added reent_struct pointer
18204 argument. Changed all callers.
18205 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
18206 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
18207 libm/math/tan.h: Removed obsolete unused header files.
18208
18209 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
18210
18211 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
18212
18213Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18214
18215 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
18216 delay slots.
18217
18218Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
18219
ba3ccd63 18220 * libc/libc.texinfo: comment out reentrancy chapter (duh)
8a0efa53
CF
18221
18222Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
18223
ba3ccd63 18224 * libc/reent/reent.tex: New file. (text from
8a0efa53
CF
18225 newlib/libc/libc.texinfo)
18226 * libc/stdio/tmpnam.c: fixed doc typo
18227 * libc/stdlib/rand.c: fixed doc typo
18228
18229Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
18230
ba3ccd63 18231 * libc/reent/reent.tex: New file. (text from
8a0efa53
CF
18232 newlib/libc/libc.texinfo)
18233
18234Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18235
18236 support for reentrancy
18237 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
18238 new files
18239 * libc/errno/errno.c, libc/include/ieeefp.h,
18240 libc/include/locale.h, libc/include/reent.h,
18241 libc/include/signal.h, libc/include/stdio.h,
18242 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
18243 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
18244 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
18245 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
18246 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
18247 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
18248 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
18249 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
18250 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
18251 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
18252 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
18253 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
18254 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
18255 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
18256 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
18257 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
18258 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
18259 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
18260 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
18261 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
18262 libc/time/strftime.c: modify to provide reentracy.
18263
18264 new routines:
18265 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
18266 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
18267 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
18268 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
18269 mstats_r, realloc_r, localeconv_r, setlocale_r
18270
18271Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
18272
18273 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
18274 libc/include/sys/config.h, libc/include/sys/signal.h,
18275 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
18276 provided macros (such as m68000), use the ansi version
18277 (__m68000__) so that the library can be used with code compiled
18278 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
18279 and sparc.
18280
18281Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
18282
18283 * configure.in (sparc*): Don't set -fsoft-float for sparc
18284 configurations. Do set -fsoft-float for sparclite configurations.
18285
18286Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
18287
18288 * default.menu, no-signal.menu: alternate forms of libc main menu
ba3ccd63 18289 (in newlib rather than newlib/libc due to configuration restrictions)
8a0efa53
CF
18290
18291 * configure.in: select one of the two menus above, link to
18292 libc.menu
18293
ba3ccd63 18294 * libc/libc.texinfo: include menu from separate file
8a0efa53
CF
18295
18296Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
18297
18298 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
18299 (info): Split long shell command in half.
17c0c97d
EB
18300 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
18301 sub-makes, just CHEW and TARGETDOC.
8a0efa53
CF
18302 (targetdep.tex): Removed now special handling of sys and machine
18303 subdirectories, made obsolete some time ago.
18304 * libc/machine/Makefile.in (doc): Don't pass everything to
18305 sub-make, just CHEW and TARGETDOC.
18306 (Makefile): New target.
18307 * libc/sys/Makefile.in (Makefile): New target.
18308
18309Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
18310
18311 * Makefile.in (here and most subdirectories): Only pass down CHEW
18312 and TARGETDOC when making info, not for other targets.
18313
18314 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
18315 $(AR_FLAGS) rather than $(ARUPDATE).
18316
18317Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
18318
18319 * Try to reduce command line length:
18320 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
18321 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
18322 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
18323 (info): Pass CHEW to other subdirs.
18324
18325Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
18326
18327 * configure.in: add signal_dir, like unix_dir, but by default it
18328 is set to "signal" so that a29khif can turn it off (since a29khif
18329 has raise() as part of machine-specific signal.s.)
18330
18331Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18332
18333 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
18334 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
18335 correctly.
18336 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
18337 libc/stdio/vfprintf: type lint.
18338 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
18339 initialzation code.
18340 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
18341
18342Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
18343
18344 * stub/mvme135/mvme135-asm.S: new file.
18345 stub/mvme135mvme135-stub.c: moved all assembler routines into
18346 mvme135-asm.S.
18347 stub/mvme135/Makefile.in: build mvme135-stub.o.
18348
18349Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
18350
18351 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
18352 sub-Makefiles instead, to try to avoid line length limitations.
18353
18354Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
18355
18356 * libc/include/unistd.h (read, write): Use void* instead of
18357 char*.
18358
18359Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
18360
18361 * stub/go32/resetpc: sample script to send a reset packet to the
18362 stub
18363
18364 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
18365 DOS environment, which compiles with Turbo C.
18366
18367 * stub/go32/DSER32.LNK: new file, linker commands for serial
ba3ccd63 18368 remote stub.
8a0efa53
CF
18369
18370 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
18371 start up message to identify version; call set_debug_traps.
18372
18373 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
18374 keyboard interaction); call handle_exception() in go_til_stop,
18375 rather than return, so that the remote stub gets control.
18376
18377 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
18378 rename, rather than mv), set flags that work with current Turbo C,
18379 including using the /3 flag; also, add commands to build dser32.
18380
18381 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
18382 default Turbo C installation (\tc rather than \usr)
18383
18384 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
ba3ccd63 18385 "&..."
8a0efa53
CF
18386
18387Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18388
18389 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
18390
18391Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18392
18393 * libc/stdio/cvt.c (licvt): new function to convert ints when
18394 sizeof(int) != sizeof(long).
18395
18396 * libc/include/stdio.h: added prototype for iprintf.
18397 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
18398
18399Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
18400
18401 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
18402 __REGISTER_PREFIX__.
18403
18404Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
18405
18406 * libc/sys/m68kbare: moved into stub directory.
18407
18408Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
18409
18410 * configure.in, Makefile.in: created new directory stub, to hold
18411 sample code for specific targets.
18412
18413Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
18414
18415 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
18416 in the unified libc/include/sys/fcntl.h.
18417
18418Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
18419
18420 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
18421 printed .01, not 0.01.
18422
18423Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
18424
18425 * configure.in: compile with -m68000 for m68* targets.
18426
18427Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
18428
18429 * libm/math/remainder.c (remainder): document the svr4 and sunos
18430 references used to construct the function.
18431
18432Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
18433
18434 * libm/math/remainder.c (rint, remainder): fix old typos.
18435 * libm/math/Makefile.in: actually build remainder.c (functions
18436 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
18437 page.)
18438
18439Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
18440
18441 * libc/string/bcopy.c: BSD version works on overlapping strings,
18442 so ours should too.
18443
18444 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
18445 ("SHELL").
18446
18447Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
18448
18449 * Makefile.in (docs): new target.
18450
18451Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
18452
18453 * libc/include/sys/times.h: define clock_t as required by POSIX.
18454 libc/include/time.h: protect clock_t from multiple definitions.
18455
18456Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18457
18458 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
18459 does not need more than the original three iterations to get
18460 within 1 ulp. (Paranoia tests for rounding to better than that,
18461 but further iterations *don't* help, only more subtle changes
18462 can.)
18463
18464Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
18465
18466 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
18467 were doing nothing useful.
18468
18469Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
18470
18471 * configure.in: define MALLOC_PROVIDED for vxworks targets;
18472 removed sys_dir settings of vxworks68 and vxworks960.
18473 host/any: don't pass -nostdinc to gcc, since newlib no longer
18474 provides all required header files.
18475
18476 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
18477 is not defined; this provides a hook for VxWorks.
18478
18479Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18480
18481 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
18482 buffer if buf is NULL, don't do it here -- it is already being
18483 done by makebuf elsewhere in stdio.
18484
18485Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
18486
18487 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
18488 that C programs can call functions without using initial
18489 underscores.
18490
18491Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
18492
18493 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
18494
18495Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
18496
18497 * configure.in: set TARGET_CFLAGS for certain CPU types to
18498 -msoft-float.
18499
18500Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
18501
18502 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
18503
18504Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
18505
18506 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
18507 m68k*-unknown-coff.
18508
18509Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
18510
18511 * libc/include/stdio.h: define __need___va_list before including
18512 <stdarg.h>, to avoid defining va_arg, et. al.
18513
18514Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
18515
18516 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
18517 (don't cd to the user's home directory).
18518
18519 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
18520 In general this is the wrong thing to do, but I can't get around
18521 GNU make's insistence on passing command line arguments any other
18522 way.
18523
18524Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
18525
18526 * configure.in: always configure the libc/sys directory, since it
18527 now provides a required documentation file.
18528
18529 * Makefile.in: replaced all instances of $(MAKE) with make. In
18530 general this is the wrong thing to do, but I can't get around GNU
18531 make's insistence on passing command line arguments any other way.
18532
18533Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
18534
18535 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
18536 terminated.
18537
18538 * libc/stdio/local.h: include <stdarg.h> to define va_list.
18539 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
18540
18541 * libc/include/float.h, libc/include/stdarg.h,
18542 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
18543 versions instead.
18544 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
18545 <stdarg.h>, not from <machine/types.h>. Protect definition of
18546 NULL.
18547 libc/include/time.h: get size_t from stddef.h. Protect definition
18548 of NULL.
18549 libc/include/machine/limits.h: override gcc <limits.h> by defining
18550 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
18551 get correct INT_MIN and LONG_LONG values.
18552 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
18553 size_t or va_list at all; they're now gotten from stddef.h
18554 instead.
18555 libc/include/machine/varargs.h: removed; use gcc version instead.
18556 libc/include/sys/types.h: explicitly include <machine/types.h>.
18557
18558 * libm/math/sqrt.h: using the fp-bit routines appears to require
18559 more iterations.
18560
18561 * Makefile.in, host/any: let system include files override machine
18562 include files.
18563
18564Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18565
18566 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
18567 override _*_T_ definitions defaulted here.
18568
18569Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
18570
18571 * Makefile.in (install): install the include files in
18572 $(tooldir)/include, not $(exec_prefix)/include.
18573
18574Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
18575
18576 * Makefile.in (install): fixed typo, and changed install to not
18577 force rebuild of libc.a and libm.a.
18578
18579Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
18580
18581 * libc/sys/a29khif/*: Changed all .include's to include
18582 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
18583 that they will be installed for the user.
18584
18585 * Makefile.in (all): create targ-include, a directory holding the
18586 machine and system specific header files during the build.
18587 (install): fixed installation of machine and system specific
18588 header files.
18589
18590 * Makefile.in: fixed comment.
18591 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
18592 we can pass $(INCLUDES) to it.
18593
18594Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
18595
18596 * libc/include/sys/param.h: new generic file, which may be
18597 overridden for specific systems.
18598
18599 * libc/include/sys/signal.h: define all ANSI signal names, and
18600 NSIG (which is not ANSI) for a29k.
18601
18602Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
18603
18604 * Makefile.in: don't pass down arguments the lower level makes
18605 will not need.
18606 * libc/Makefile.in: recurse directly, rather than using subdir_do,
18607 in hopes of avoiding argument length limits.
18608 * libm/Makefile.in: recurse directly, rather using subdir_do, in
18609 hopes of avoiding argument length limits.
18610
18611Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
18612
18613 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
18614 mode_t is defined.
18615
18616Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
18617
18618 * Fixed make info and make install-info for newlib, changing most
18619 Makefile.in and several *.tex files. Moved doc directory from
18620 libc to top level.
18621
18622 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
18623 Should be rewritten.
18624
18625 * libc/string/strings.tex: renamed node index to node index
18626 function, so that it does not conflict with the top level index
18627 node.
18628
18629 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
18630
18631Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
18632
18633 * Overhauled general configuration for newlib. Eliminated all
18634 target dependent Makefile fragments. Create libraries in newlib
18635 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
18636 than CROSS_CC, et. al. Broke make docs; will fix later.
18637
18638 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
18639 Should be rewritten.
18640
18641Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
18642
18643 * libc/configure.in: cleaned up somewhat; switch on ${target}
18644 rather than ${target_alias}.
17c0c97d 18645 * libm/configure.in: cleaned up somewhat; switch on ${target}
8a0efa53
CF
18646 rather than ${target_alias}.
18647
18648 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
18649 * libc/include/ctype.h: marked _ctype_ as _CONST.
18650
18651 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
18652 _CONST.
18653
18654 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
18655 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
18656 libc/stdio/gets.c (gets): removed non-ANSI warning message.
18657 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
18658
18659 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
18660 bigtens, tinytens): marked arrays _CONST.
18661 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
18662 rather than a static variable.
18663
18664 * libc/time/asctime.c (asctime), libc/time/localtime.c
18665 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
18666 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
18667 mname_len, mname): Marked static arrays _CONST.
18668
18669 * libm/math/gamma.h: made local variables non-static.
18670
18671 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
18672 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
18673 _CONST.
18674
18675 * libm/math/constants.c: removed file, because the constants it
18676 defined were never referenced.
18677 libm/math/Makefile.in: removed references to constants.c.
18678 libm/math/mathimpl.h: removed declarations of constants.
18679
18680Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
18681
18682 * libc/include/machine/varargs.h: only call __builtin_saveregs if
18683 it is sensibly defined in libgcc2. Checks preprocessor defines,
18684 which is not a good solution.
18685
18686 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
18687
18688 * libm/frexp.c: handle denormalized numbers as arguments.
18689
18690 * libm/math/Makefile.in: added some dependencies for .c files
18691 which include local .h files.
18692
18693Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
18694
18695 * libc/configure.in: set target_alias for OSE*. Replace
18696 target_makefile_frag if it is blank.
18697
18698 * libc/Makefile.in: make sure everything is passed to subsidiary
18699 makes; create all directories when installing.
18700
18701 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
18702 CROSS_ARUPDATE instead of AR.
18703
18704 * libm/configure.in: set target_alias for OSE*. Replace
18705 target_makefile_frag if it is blank.
18706
18707 * libm/Makefile.in: make sure everything is passed to subsidiary
18708 makes; create all directories when installing.
18709
18710Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
18711
ba3ccd63 18712 * add following change from libc copy.
8a0efa53
CF
18713
18714Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18715
18716 * libc/libc.texinfo: make copyright disclaimers appear on back of
18717 title page; make format of same slightly less ugly; avoid using
18718 underbars in section headings (avoids nasty texinfo bug in table
18719 of contents).
18720
18721 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
18722 comments only) avoid using underbars in section headings
18723
18724 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
18725 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
18726 changes in comments only): shorten headings ieeefp/infinity.c,
18727 ieeefp/isnan.c: (doc, comments only) more informative headings
18728
18729 * libc/math/bessel.c: (doc, comments only) shorten heading
18730
18731 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
18732 (doc, comments only) shorten headings
18733
18734 * libc/time/localtime.c (doc, comments only): shorten headings
18735
18736 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
18737 isnan
18738 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
18739 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
18740 headings
18741 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
18742 only) more informative headings
18743 * libm/math/bessel.c: (doc, comments only) shorten heading
18744
18745Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18746
18747 * .../Makefile.in: use CROSS_ARUPDATE consistently.
18748 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
18749 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
18750 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
18751 defined, the one from the .mt file will be correct.
18752 * libc/include/machine, libc/include/sys: created, and populated
18753 with common files from machine/*/machine. ifdefs were used for
18754 most, typically by handling exceptions first and then filling in
18755 defaults. Files with D.J. Delorie copyright #included rather than
18756 copied. Most files in include/sys really were the same in the
18757 original.
18758 * libc/include/...: cleaned up use of _EXFUN.
18759 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
18760 it with double quotes, not angles.
18761
18762Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
18763
18764 * libc/Makefile.in: always create installation directories.
18765
18766Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
18767
18768 * libc/configure.in: handle host properly (using canonical
18769 triples), better error message for the case of target not found
18770
18771Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
18772
18773 * libc/Makefile.in (insincdir): Ensure this directory exists
18774 before attempting installation.
18775
18776Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18777
18778 * libc/stdlib/assert.c: now calls abort like it should
18779 * libc/sys/a29khif: many many patches for 29khif work
18780 * libc/machine/i386: gnulib2 expanded there.
18781
18782Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18783
ba3ccd63 18784 Added accurate fp conversion routines to stdlib, moved dcvt from
8a0efa53
CF
18785 stdio to stdlib and called it ecvtbuf:
18786 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
18787 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
18788 routines
18789 * libc/libc.texinfo: Modifed to include the copyright info from
18790 the mprec files
18791 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
18792 * libc/test/ : many vector which tested for the implementation
18793 defined returns of strange conversion requests have been updated
18794 to relflect the new implementation
18795
18796Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18797
18798 * libc/libc.texinfo: new chapter on variable arg lists
18799 (stdarg.h/varargs.h)
18800 * libc/libc.texinfo: new title
18801 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
18802 (doc only) shorter headings for better formatting.
18803
18804Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18805
18806 * libc/libc.texinfo: three more info menu entries
18807 * libc/locale/locale.tex: new chapter
18808 * libc/locale/locale.c: new doc for setlocale, localeconv
18809 * libc/locale/Makefile.in: use new locale doc
18810 * libc/signal/signal.tex: new chapter
18811 * libc/signal/raise.c, libc/signal/signal.c: new doc
18812 * libc/signal/Makefile.in: use new doc
18813 * libc/time/time.tex: new chapter
18814 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
18815 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
18816 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
18817 * libc/time/Makefile.in: use new doc
18818
18819Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18820
18821 * libm/math/log1p.c: split to use the new function way of float
18822 function definition. math/log1p.h deleted
18823 * libm/math/scalb.c: obsolete and deleted
18824 * libm/math/scalbn.c: created from part log1p.c
18825 * libm/math/Makefile.in: know about log1p and scalbn
18826
18827Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18828
18829 * libc/ctype/isupper.c: revise doc;
18830 libc/ctype/ctype.tex: use doc from isupper.c
18831
18832 * libc/string/bzero.c: new doc
18833
18834Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18835
18836 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
18837 new doc
18838 * libc/stdlib/Makefile.in: extract new doc
18839 * libc/stdlib/stdlib.tex: use new doc
18840
18841 * libc/string/strerror.c: expanded doc.
18842
18843 * libc/stdio/Makefile.in: extract doc from more files
18844 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
18845 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
18846 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
18847 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
18848 libc/stdio/vsprintf.c: new doc
18849 * libc/stdio/stdio.tex: use new doc
18850
18851Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18852
18853 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
18854 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
18855 finitef functions.
18856 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
18857 time ago.
18858
18859 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
18860 * libc/stdio/setbuf.c: added ansi style definition.
18861 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
18862 buffer if none provided.
18863 * libc/stdio/tmpfile.c: lint
18864 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
18865 rather than using static, also make sure file isn't already
18866 present. Uses P_tmpdir. (tempnam): rewritten to use new
18867 subroutine, and uses P_tmpdir.
18868 * libc/stdio/siprintf.c: created
18869
18870Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18871
18872 Release 1.03 for NEC, major mods. Main differences from release
18873 1.02::
18874
18875 More tests in test/:
18876 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
18877 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
18878 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
18879 get/set mask, get/set sticky and get/set roundtoi. Tests
18880 that setting the bits changes the way arithmetic is done.
18881 * string.c: added test to make sure memcmp does it with unsigned
18882 chars.
18883 * test.c: cleaned up and removed lint.
18884 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
18885 dvec.c: tests for string to value conversions, sprintf, scanf,
18886 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
18887 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
18888 rounding in sprintf too.
18889 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
18890 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
18891 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
18892 and function form.
18893 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
18894 powf
18895
18896 In the library:
18897 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
18898 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
18899 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
18900 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
18901 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
18902 than sprintf.
17c0c97d 18903 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
8a0efa53
CF
18904 * Method of producting float versions of double functions has
18905 changed, functions will be modified gradually. So far:
18906 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
18907 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
18908 altered
18909 * libc/string/memcmp.c: now uses unsigned chars
18910 * libc/string/bcmp.c, libc/string/strcpy.c,
18911 libc/stsring/strxfrm.c: fixed doc
18912 * libc/sys/sysvnecv70.tex: fix example of sbrk code
18913\f
18914Local Variables:
18915version-control: never
18916End:
This page took 2.234178 seconds and 5 git commands to generate.