]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
2008-02-12 Peter Rosin <peda@lysator.liu.se>
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
f46f40b5
JJ
12008-02-12 Peter Rosin <peda@lysator.liu.se>
2
3 * libc/stdlib/getopt.c (getopt_internal): Handle optional
4 arguments better for long options and short options not
5 appearing as the first option in a sequence.
6
74d928bf
JJ
72008-02-11 Patrick Mansfield <patmans@us.ibm.com>
8
9 * libc/machine/spu/straddr.h: New file, supplies _straddr.
10 * libc/machine/spu/strcat.c: Use _straddr and _strcpy.
11 * libc/machine/spu/strcpy.c: Use _strcpy.
12 * libc/machine/spu/strcpy.h: Supply _strcpy for optimized SPU
13 str[n]cpy and str[n]cat.
14 * libc/machine/spu/strncat.c: Use _straddr and _strcpy.
15 * libc/machine/spu/strncpy.c: Use _strcpy.
16
9b924fc3
JJ
172008-02-11 Patrick Mansfield <patmans@us.ibm.com>
18
19 * libc/machine/spu/strlen.c: Remove the len variable and unneeded
20 calculation of its value.
21
77ec26b0
HPN
222008-01-25 Hans-Peter Nilsson <hp@bitrange.com>
23
24 * libc/sys/mmixware/isatty.c (_isatty): Renamed from isatty.
25 Make ISO C.
26
226f5a32
DD
272008-01-21 DJ Delorie <dj@redhat.com>
28
29 * libc/sys/sh/syscalls.c (_isatty): New.
30
cece11c5
JJ
312008-01-21 Neal H. Walfield <neal@gnu.org>
32
33 * Makefile.am (crt1.o): Use correct source.
34 * Makefile.in: Regenerated.
35
dc26a86f
EB
362008-01-15 Eric Blake <ebb9@byu.net>
37
38 * libc/string/Makefile.am (ELIX_2_SOURCES): Fix definition.
39 * libc/string/Makefile: Regenerate.
40
12df8a5b
CV
412008-01-15 Corinna Vinschen <corinna@vinschen.de>
42
43 * libc/include/machine/setjmp.h (__SIGMASK_FUNC): Define as
44 pthread_sigmask or sigprocmask depending on _POSIX_THREADS.
45 (sigsetjmp): Use __SIGMASK_FUNC.
46 (siglongjmp): Ditto.
47 (_setjmp): Define as macro.
48 (_longjmp): Ditto.
49
40617efc
EB
502008-01-11 Eric Blake <ebb9@byu.net>
51
52 Make strstr and strcasestr O(n), not O(n^2); add memmem.
53 * libc/string/str-two-way.h: New file.
54 * libc/string/memmem.c (memmem): New file.
55 * libc/include/string.h (memmem): Declare for all platforms.
56 * libc/string/strstr.c (strstr): Provide O(n) implementation when
57 not optimizing for space.
58 * libc/string/strcasestr.c (strcasestr): Likewise.
59 * libc/string/Makefile.am (ELIX_SOURCES): Rename to...
60 (ELIX_2_SOURCES): ...this.
61 (ELIX_4_SOURCES): New category, for memmem.
62 (lib_a_SOURCES, libstring_la_SOURCES): Build new file.
63 (CHEWOUT_FILES): Build documentation for memmem.
64 * libc/string/strings.tex: Include new docs.
65
ceb32a18
JJ
662008-01-08 Jeff Johnston <jjohnstn@redhat.com>
67
68 * libc/machine/m68k/memcpy.S: Remove % from register references
69 as this is already handled by m68kasm.h.
70 * libc/machine/m68k/memset.S: Ditto.
71
a3211370
JJ
722008-01-07 Jeff Johnston <jjohnstn@redhat.com>
73
74 * libc/machine/m68k/m68kasm.h: New file.
75 * libc/machine/m68k/setjmp.S: Remove common definitions and
76 place in m68kasm.h. Include "m68kasm.h".
77 * libc/machine/m68k/memcpy.S: Include "m68kasm.h" and use
78 SYM() macro when referencing function name.
79 * libc/machine/m68k/memset.S: Ditto.
80
a639937a
JJ
812008-01-03 Jeff Johnston <jjohnstn@redhat.com>
82
83 Make isatty syscall handling consistent with other newlib syscalls.
84
85 * libc/include/_syslist.h: Add _isatty.
86 * libc/include/reent.h: Add _isatty_r.
87 * libc/include/sys/unistd.h: Add _isatty.
88 * libc/posix/Makefile.am: Add new _isatty.c file.
89 * libc/posix/Makefile.in: Regenerated.
90 * libc/posix/_isatty.c: New file.
91 * libc/posix/isatty.c: Changed to call _isatty().
92 * libc/reent/Makefile.am: Add new isattyr.c file.
93 * libc/reent/Makefile.in: Regenerated.
94 * libc/reent/isattyr.c: New file.
95 * libc/stdio/freopen.c: Changed to call _isatty_r().
96 * libc/stdio/makebuf.c: Ditto.
97 * libc/sys/a29khif/_isatty.S: Change isatty to _isatty.
98 * libc/sys/arc/isatty.c: Ditto.
99 * libc/sys/arm/syscalls.c: Ditto.
100 * libc/sys/d10v/syscalls.c: Ditto.
101 * libc/sys/h8300hms/syscalls.c: Ditto.
102 * libc/sys/h8500hms/syscalls.c: Ditto.
103 * libc/sys/linux/Makefile.am: Add new isatty.c file.
104 * libc/sys/linux/Makefile.in: Regenerated.
105 * libc/sys/linux/isatty.c: New file.
106 * libc/syscalls/Makefile.am: Add new sysisatty.c file.
107 * libc/syscalls/Makefile.in: Regenerated.
108 * libc/syscalls/sysisatty.c: New file.
109
7c8bd7a0
JJ
1102008-01-02 Jeff Johnston <jjohnstn@redhat.com>
111
112 * libc/syscalls/sysclose.c: Always call reentrant version of the
113 underlying syscall since one is guaranteed to exist in libc/reent.
114 * libc/syscalls/sysexecve.c: Ditto.
115 * libc/syscalls/sysfcntl.c: Ditto.
116 * libc/syscalls/sysfork.c: Ditto.
117 * libc/syscalls/sysfstat.c: Ditto.
118 * libc/syscalls/sysgetpid.c: Ditto.
119 * libc/syscalls/sysgettod.c: Ditto.
120 * libc/syscalls/syskill.c: Ditto.
121 * libc/syscalls/syslink.c: Ditto.
122 * libc/syscalls/syslseek.c: Ditto.
123 * libc/syscalls/sysopen.c: Ditto.
124 * libc/syscalls/sysread.c: Ditto.
125 * libc/syscalls/syssbrk.c: Ditto.
126 * libc/syscalls/sysstat.c: Ditto.
127 * libc/syscalls/systimes.c: Ditto.
128 * libc/syscalls/sysunlink.c: Ditto.
129 * libc/syscalls/syswait.c: Ditto.
130 * libc/syscalls/syswrite.c: Ditto.
131
26b84293
JJ
1322007-12-19 Jeff Johnston <jjohnstn@redhat.com>
133
134 * NEWS: Update with 1.16.0 info.
135 * README: Ditto.
136 * acinclude.m4: Change version number to 1.16.0.
137 * aclocal.m4: Regenerated.
138 * configure: Ditto.
139 * doc/aclocal.m4: Ditto.
140 * doc/configure: Ditto.
141 * libc/*/aclocal.m4: Ditto.
142 * libc/*/configure: Ditto.
143 * libc/libc.texinfo: Ditto.
144 * libm/*/aclocal.m4: Ditto.
145 * libm/*/configure: Ditto.
146 * libm/libm.texinfo: Ditto.
147 * libc/sys/linux/shared.ld: Add VERS_1.16.
148
6af69de3
JJ
1492007-12-19 Jeff Johnston <jjohnstn@redhat.com>
150
151 * libc/string/strcasestr.c: Remove id macro.
152 * libc/sys/linux/linuxthreads/attr.c: Fix up sched_priority
153 field reference to be __sched_priority.
154 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
155 * libc/sys/linux/linuxthreads/manager.c: Ditto.
156 * libc/sys/linux/stdlib/collate.c: Remove id macro.
157 * libc/sys/linux/stdlib/collcmp.c: Ditto.
158 * libc/sys/linux/stdlib/engine.c: Ditto.
159 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
160 * libc/sys/linux/stdlib/glob.c: Ditto.
161 * libc/sys/linux/stdlib/reallocf.c: Ditto.
162 * libc/sys/linux/stdlib/regcomp.c: Ditto.
163 * libc/sys/linux/stdlib/regerror.c: Ditto.
164 * libc/sys/linux/stdlib/regexec.c: Ditto.
165 * libc/sys/linux/stdlib/regfree.c: Ditto.
166 * libc/sys/linux/sys/cdefs.h: Replace with latest version.
167 * libc/sys/linux/include/argp.h: Ditto.
168 * libc/sys/linux/sys/libc-lock.h: New file.
169 * libc/sys/linux/sys/stdint.h: Ditto.
170 * libc/sys/linux/include/sched.h: New file.
171
3cc8a378
JJ
1722007-12-19 Dave Korn <dave.korn@artimi.com>
173 Jeff Johnston <jjohnstn@redhhat.com>
174
175 * libc/include/_ansi.h: Add _LONG_LONG definition.
176 * libc/include/math.h (llrint, llrintf, rintl, lrintl, llrintl): Add
177 prototypes.
178 * libc/machine/i386/machine/fastmath.h: Add support for new i386
179 fast math versions of rint, lrint, and llrint family functions.
180 * libm/machine/i386/Makefile.am: Add new files.
181 * libm/machine/i386/Makefile.in: Regenerated.
182 * libm/machine/i386/f_llrint.c, libm/machine/i386/f_lrint.c,
183 libm/machine/i386/f_rint.c, libm/machine/i386/f_llrintf.c,
184 libm/machine/i386/f_lrintf.c, libm/machine/i386/f_rintf.c,
185 libm/machine/i386/f_llrintl.c, libm/machine/i386/f_lrintl.c,
186 libm/machine/i386/f_rintl.c: New files with fast math implementations.
187
41e94f24
JJ
1882007-12-19 Jeff Johnston <jjohnstn@redhat.com>
189
190 * libc/include/sys/features.h: Add checks for C90 compilers using
191 -ansi.
192
ac26b727
CV
1932007-12-19 Corinna Vinschen <corinna@vinschen.de>
194
195 * libc/include/wchar.h: Add prototypes for wcpcpy and wcpncpy.
196 * libc/string/Makefile.am (ELIX_SOURCES): Add wcpcpy.c and
197 wcpncpy.c.
198 (CHEWOUT_FILES): Add wcpcpy.def and wcpncpy.def.
199 * libc/string/Makefile.in: Regenerate.
200 * libc/string/wcpcpy.c: New file.
201 * libc/string/wcpncpy.c: New file.
202 * libc/string/wcstrings.tex: Add wcpcpy and wcpncpy.
203
478df8bb
CV
2042007-12-19 Corinna Vinschen <corinna@vinschen.de>
205
206 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use correct pointer in call to
207 _wcsrtombs_r.
208
60bef55d
JJ
2092007-11-19 Nick Clifton <nickc@redhat.com>
210
211 * libc/machine/mn10300/Makefile.am (CCASFLAGS): Add -Wa,--gdwarf-2.
212 * libc/machine/mn10300/Makefile.in: Regenerate.
213 * libc/machine/mn10300/memchar.S: Remove redundant labels. Add
214 .debug_frame section.
215 * libc/machine/mn10300/memcmp.S: Likewise.
216 * libc/machine/mn10300/memcpy.S: Likewise.
217 * libc/machine/mn10300/memset.S: Likewise.
218 * libc/machine/mn10300/strchr.S: Likewise.
219 * libc/machine/mn10300/strcmp.S: Likewise.
220 * libc/machine/mn10300/strcpy.S: Likewise.
221 * libc/machine/mn10300/strlen.S: Likewise.
222
2232007-11-15 Jeff Johnston <jjohnstn@redhat.com>
224
225 * libc/include/sys/_default_fcntl.h: New header file that
226 is the default version of sys/fcntl.h.
227 * libc/include/sys/fcntl.h: Changed to simply include
228 sys/_default_fcntl.h.
229 * libc/sys/arm/sys/fcntl.h: New file that includes
230 sys/_default_fcntl.h and defines O_BINARY.
231
478df8bb 2322007-11-08 Corinna Vinschen <corinna@vinschen.de>
815774e8
CV
233
234 * libc/include/sys/unistd.h: Remove Cygwin definition of MAXPATHLEN.
235
7b4cad4a
DB
2362007-11-07 Dave Brolley <brolley@redhat.com>
237
238 * libc/machine/configure: Regenerated to pick up mep-elf changes.
40617efc 239
7b4cad4a
DB
240 * Contribute mep-elf from Red Hat
241 2006-10-27 DJ Delorie <dj@redhat.com>
242
243 * libc/include/machine/setjmp.h: Add MeP support.
244
245 2003-04-17 DJ Delorie <dj@redhat.com>
246
247 * configure.host (mep-*-*): Support "long long" type.
248
249 2001-06-06 DJ Delorie <dj@redhat.com>
250
251 * libc/include/machine/ieeefp.h (mep): Support little endian too.
252
253 2001-05-14 DJ Delorie <dj@redhat.com>
254
255 * configure.host: Add mep's machine_dir.
256 * libc/include/setjmp.h: Add mep support.
257 * libc/machine/mep: New.
258 * libc/machine/mep/setjmp.S: New, support mep's setjmp/longjmp.
259
260 2001-05-04 DJ Delorie <dj@redhat.com>
261
262 * configure.host: Add mep.
263 * libc/include/machine/ieeefp.h: Ditto.
264
69bfb481
DD
2652007-10-31 DJ Delorie <dj@redhat.com>
266
267 * libc/signal/signal.c (_raise_r): Don't attempt to initialize the
268 signal table, just use a default, in case initialization cause
269 recursion.
270
2a3a02a6
JJ
2712007-10-23 Jeff Johnston <jjohnstn@redhat.com>
272
273 * libc/stdlib/wcstombs_r.c: Add SUSV2 support for calculating
274 size if output buffer is NULL.
275
70317d85
JJ
2762007-10-17 Jeff Johnston <jjohnstn@redhat.com>
277
278 * libm/mathfp/s_logarithm.c: Fix error introduced by previous
279 fix when handling negative input values. Make function
280 consistent with math directory and glibc version such that
281 inf and nan values return inf and nan respectively with no
282 errno setting.
283 * libm/mathfp/sf_logarithm.c: Ditto.
284 * libm/math/w_log.c: Set errno to ERANGE when input is 0.0.
285 * libm/math/wf_log.c: Ditto.
286 * libm/math/w_log10.c: Ditto.
287 * libm/math/wf_log10.c: Ditto.
288
923f9573
JJ
2892007-10-17 Jeff Johnston <jjohnstn@redhat.com>
290
291 * libm/mathfp/s_logarithm.c: Fix case where input is 0 to
292 return -inf.
293 * libm/mathfp/sf_logarithm.c: Ditto.
294
8b630840
JJ
2952007-10-17 Jeff Johnston <jjohnstn@redhat.com>
296
297 * libc/machine/i386/machine/fastmath.h: New file.
298
c99e78b8
EB
2992007-10-13 Eric Blake <ebb9@byu.net>
300
301 * libc/stdio/vfprintf.c (_VFPRINTF_R) [__OPTIMIZE_SIZE__]:
302 Correctly nest else within conditionals.
303 Reported by Artur Lipowski.
304
97f0a0ec
NC
3052007-10-09 Nick Clifton <nickc@redhat.com>
306
307 * libc/sys/linux/dl/do-lookup.h (FCT): Support symbols with
308 the STT_COMMON type.
309
b7bc4ccc
BE
3102007-10-09 Ben Elliston <bje@au.ibm.com>
311
312 * libm/machine/spu/headers/acosd2.h: Include spu_intrinsics.h
313 before simdmath.h to get a definition for `vector'.
314 * libm/machine/spu/headers/asind2.h: Likewise.
315
1671fbe1
JJ
3162007-09-28 Patrick Mansfield <patmans@us.ibm.com>
317
318 * libm/machine/spu/headers/dom_chkd_less_than.h: New file.
319 * libm/machine/spu/headers/dom_chkd_negone_one.h: Ditto.
320 * libm/machine/spu/headers/dom_chkf_less_than.h: Ditto.
321 * libm/machine/spu/headers/dom_chkf_negone_one.h: Ditto.
322 * libm/machine/spu/headers/acos.h: Add domain check.
323 * libm/machine/spu/headers/acosf.h: Ditto.
324 * libm/machine/spu/headers/acosh.h: Ditto.
325 * libm/machine/spu/headers/acoshf.h: Ditto.
326 * libm/machine/spu/headers/asin.h: Ditto.
327 * libm/machine/spu/headers/asinf.h: Ditto.
328 * libm/machine/spu/headers/atanh.h: Ditto.
329 * libm/machine/spu/headers/atanhf.h: Ditto.
330 * libm/machine/spu/headers/fmod.h: Ditto.
331 * libm/machine/spu/headers/fmodf.h: Ditto.
332 * libm/machine/spu/headers/log.h: Ditto.
333 * libm/machine/spu/headers/log10.h: Ditto.
334 * libm/machine/spu/headers/log1p.h: Ditto.
335 * libm/machine/spu/headers/log1pf.h: Ditto.
336 * libm/machine/spu/headers/log2.h: Ditto.
337 * libm/machine/spu/headers/log2f.h: Ditto.
338 * libm/machine/spu/headers/sqrt.h: Ditto.
339 * libm/machine/spu/headers/sqrtf.h: Ditto.
340 * libm/machine/spu/headers/tgamma.h: Ditto.
341 * libm/machine/spu/headers/tgammaf.h: Ditto.
342
e30a7b84
JJ
3432007-09-28 Patrick Mansfield <patmans@us.ibm.com>
344
345 * libm/machine/spu/Makefile.am: Add new C files.
346 * libm/machine/spu/Makefile.in: Regenerate.
347 * libm/machine/spu/headers/acos.h: New file.
348 * libm/machine/spu/headers/acosd2.h: Ditto.
349 * libm/machine/spu/headers/acosf.h: Ditto.
350 * libm/machine/spu/headers/acosf4.h: Ditto.
351 * libm/machine/spu/headers/acosh.h: Ditto.
352 * libm/machine/spu/headers/acoshd2.h: Ditto.
353 * libm/machine/spu/headers/acoshf.h: Ditto.
354 * libm/machine/spu/headers/acoshf4.h: Ditto.
355 * libm/machine/spu/headers/asin.h: Ditto.
356 * libm/machine/spu/headers/asind2.h: Ditto.
357 * libm/machine/spu/headers/asinf.h: Ditto.
358 * libm/machine/spu/headers/asinf4.h: Ditto.
359 * libm/machine/spu/headers/asinh.h: Ditto.
360 * libm/machine/spu/headers/asinhd2.h: Ditto.
361 * libm/machine/spu/headers/asinhf.h: Ditto.
362 * libm/machine/spu/headers/asinhf4.h: Ditto.
363 * libm/machine/spu/headers/atan.h: Ditto.
364 * libm/machine/spu/headers/atan2.h: Ditto.
365 * libm/machine/spu/headers/atan2d2.h: Ditto.
366 * libm/machine/spu/headers/atan2f.h: Ditto.
367 * libm/machine/spu/headers/atan2f4.h: Ditto.
368 * libm/machine/spu/headers/atand2.h: Ditto.
369 * libm/machine/spu/headers/atanf4.h: Ditto.
370 * libm/machine/spu/headers/atanh.h: Ditto.
371 * libm/machine/spu/headers/atanhd2.h: Ditto.
372 * libm/machine/spu/headers/atanhf.h: Ditto.
373 * libm/machine/spu/headers/atanhf4.h: Ditto.
374 * libm/machine/spu/headers/cos.h: Ditto.
375 * libm/machine/spu/headers/cos_sin.h: Ditto.
376 * libm/machine/spu/headers/cosd2.h: Ditto.
377 * libm/machine/spu/headers/cosf.h: Ditto.
378 * libm/machine/spu/headers/cosf4.h: Ditto.
379 * libm/machine/spu/headers/cosh.h: Ditto.
380 * libm/machine/spu/headers/coshd2.h: Ditto.
381 * libm/machine/spu/headers/coshf.h: Ditto.
382 * libm/machine/spu/headers/coshf4.h: Ditto.
383 * libm/machine/spu/headers/divd2.h: Ditto.
384 * libm/machine/spu/headers/divf4.h: Ditto.
385 * libm/machine/spu/headers/erf.h: Ditto.
386 * libm/machine/spu/headers/erf_utils.h: Ditto.
387 * libm/machine/spu/headers/erfc.h: Ditto.
388 * libm/machine/spu/headers/erfcd2.h: Ditto.
389 * libm/machine/spu/headers/erfcf.h: Ditto.
390 * libm/machine/spu/headers/erfcf4.h: Ditto.
391 * libm/machine/spu/headers/erfd2.h: Ditto.
392 * libm/machine/spu/headers/erff.h: Ditto.
393 * libm/machine/spu/headers/erff4.h: Ditto.
394 * libm/machine/spu/headers/exp.h: Ditto.
395 * libm/machine/spu/headers/exp2.h: Ditto.
396 * libm/machine/spu/headers/exp2d2.h: Ditto.
397 * libm/machine/spu/headers/exp2f4.h: Ditto.
398 * libm/machine/spu/headers/expd2.h: Ditto.
399 * libm/machine/spu/headers/expf4.h: Ditto.
400 * libm/machine/spu/headers/expm1.h: Ditto.
401 * libm/machine/spu/headers/expm1d2.h: Ditto.
402 * libm/machine/spu/headers/expm1f.h: Ditto.
403 * libm/machine/spu/headers/expm1f4.h: Ditto.
404 * libm/machine/spu/headers/floord2.h: Ditto.
405 * libm/machine/spu/headers/floorf4.h: Ditto.
406 * libm/machine/spu/headers/hypot.h: Ditto.
407 * libm/machine/spu/headers/hypotd2.h: Ditto.
408 * libm/machine/spu/headers/hypotf.h: Ditto.
409 * libm/machine/spu/headers/hypotf4.h: Ditto.
410 * libm/machine/spu/headers/isnan.h: Ditto.
411 * libm/machine/spu/headers/isnand2.h: Ditto.
412 * libm/machine/spu/headers/isnanf.h: Ditto.
413 * libm/machine/spu/headers/isnanf4.h: Ditto.
414 * libm/machine/spu/headers/ldexpd2.h: Ditto.
415 * libm/machine/spu/headers/ldexpf4.h: Ditto.
416 * libm/machine/spu/headers/lgamma.h: Ditto.
417 * libm/machine/spu/headers/lgammad2.h: Ditto.
418 * libm/machine/spu/headers/lgammaf.h: Ditto.
419 * libm/machine/spu/headers/lgammaf4.h: Ditto.
420 * libm/machine/spu/headers/log.h: Ditto.
421 * libm/machine/spu/headers/log10.h: Ditto.
422 * libm/machine/spu/headers/log10d2.h: Ditto.
423 * libm/machine/spu/headers/log1p.h: Ditto.
424 * libm/machine/spu/headers/log1pd2.h: Ditto.
425 * libm/machine/spu/headers/log1pf.h: Ditto.
426 * libm/machine/spu/headers/log1pf4.h: Ditto.
427 * libm/machine/spu/headers/log2.h: Ditto.
428 * libm/machine/spu/headers/log2d2.h: Ditto.
429 * libm/machine/spu/headers/log2f4.h: Ditto.
430 * libm/machine/spu/headers/logbf.h: Ditto.
431 * libm/machine/spu/headers/logbf4.h: Ditto.
432 * libm/machine/spu/headers/logd2.h: Ditto.
433 * libm/machine/spu/headers/logf4.h: Ditto.
434 * libm/machine/spu/headers/nearbyintf.h: Ditto.
435 * libm/machine/spu/headers/nearbyintf4.h: Ditto.
436 * libm/machine/spu/headers/nextafter.h: Ditto.
437 * libm/machine/spu/headers/nextafterd2.h: Ditto.
438 * libm/machine/spu/headers/nextafterf.h: Ditto.
439 * libm/machine/spu/headers/nextafterf4.h: Ditto.
440 * libm/machine/spu/headers/pow.h: Ditto.
441 * libm/machine/spu/headers/powd2.h: Ditto.
442 * libm/machine/spu/headers/powf.h: Ditto.
443 * libm/machine/spu/headers/powf4.h: Ditto.
444 * libm/machine/spu/headers/recipd2.h: Ditto.
445 * libm/machine/spu/headers/recipf4.h: Ditto.
446 * libm/machine/spu/headers/rintf.h: Ditto.
447 * libm/machine/spu/headers/rintf4.h: Ditto.
448 * libm/machine/spu/headers/scalbnf4.h: Ditto.
449 * libm/machine/spu/headers/signbit.h: Ditto.
450 * libm/machine/spu/headers/signbitd2.h: Ditto.
451 * libm/machine/spu/headers/simdmath.h: Ditto.
452 * libm/machine/spu/headers/sin.h: Ditto.
453 * libm/machine/spu/headers/sincos.h: Ditto.
454 * libm/machine/spu/headers/sincosd2.h: Ditto.
455 * libm/machine/spu/headers/sincosf.h: Ditto.
456 * libm/machine/spu/headers/sincosf4.h: Ditto.
457 * libm/machine/spu/headers/sind2.h: Ditto.
458 * libm/machine/spu/headers/sinf.h: Ditto.
459 * libm/machine/spu/headers/sinf4.h: Ditto.
460 * libm/machine/spu/headers/sinh.h: Ditto.
461 * libm/machine/spu/headers/sinhd2.h: Ditto.
462 * libm/machine/spu/headers/sinhf.h: Ditto.
463 * libm/machine/spu/headers/sinhf4.h: Ditto.
464 * libm/machine/spu/headers/sqrtd2.h: Ditto.
465 * libm/machine/spu/headers/sqrtf.h: Ditto.
466 * libm/machine/spu/headers/sqrtf4.h: Ditto.
467 * libm/machine/spu/headers/tan.h: Ditto.
468 * libm/machine/spu/headers/tand2.h: Ditto.
469 * libm/machine/spu/headers/tanf.h: Ditto.
470 * libm/machine/spu/headers/tanf4.h: Ditto.
471 * libm/machine/spu/headers/tanh.h: Ditto.
472 * libm/machine/spu/headers/tanhd2.h: Ditto.
473 * libm/machine/spu/headers/tanhf.h: Ditto.
474 * libm/machine/spu/headers/tanhf4.h: Ditto.
475 * libm/machine/spu/headers/tgamma.h: Ditto.
476 * libm/machine/spu/headers/tgammad2.h: Ditto.
477 * libm/machine/spu/headers/tgammaf.h: Ditto.
478 * libm/machine/spu/headers/tgammaf4.h: Ditto.
479 * libm/machine/spu/headers/truncd2.h: Ditto.
480 * libm/machine/spu/headers/truncf4.h: Ditto.
481 * libm/machine/spu/log2.c: Ditto.
482 * libm/machine/spu/s_asinh.c: Ditto.
483 * libm/machine/spu/s_atan.c: Ditto.
484 * libm/machine/spu/s_cos.c: Ditto.
485 * libm/machine/spu/s_erf.c: Ditto.
486 * libm/machine/spu/s_expm1.c: Ditto.
487 * libm/machine/spu/s_isnan.c: Ditto.
488 * libm/machine/spu/s_log1p.c: Ditto.
489 * libm/machine/spu/s_nextafter.c: Ditto.
490 * libm/machine/spu/s_sin.c: Ditto.
491 * libm/machine/spu/s_tan.c: Ditto.
492 * libm/machine/spu/s_tanh.c: Ditto.
493 * libm/machine/spu/sf_asinh.c: Ditto.
494 * libm/machine/spu/sf_cos.c: Ditto.
495 * libm/machine/spu/sf_erf.c: Ditto.
496 * libm/machine/spu/sf_expm1.c: Ditto.
497 * libm/machine/spu/sf_log1p.c: Ditto.
498 * libm/machine/spu/sf_logb.c: Ditto.
499 * libm/machine/spu/sf_nearbyint.c: Ditto.
500 * libm/machine/spu/sf_nextafter.c: Ditto.
501 * libm/machine/spu/sf_rint.c: Ditto.
502 * libm/machine/spu/sf_sin.c: Ditto.
503 * libm/machine/spu/sf_tan.c: Ditto.
504 * libm/machine/spu/sf_tanh.c: Ditto.
505 * libm/machine/spu/w_acos.c: Ditto.
506 * libm/machine/spu/w_acosh.c: Ditto.
507 * libm/machine/spu/w_asin.c: Ditto.
508 * libm/machine/spu/w_atan2.c: Ditto.
509 * libm/machine/spu/w_atanh.c: Ditto.
510 * libm/machine/spu/w_cosh.c: Ditto.
511 * libm/machine/spu/w_exp.c: Ditto.
512 * libm/machine/spu/w_exp2.c: Ditto.
513 * libm/machine/spu/w_hypot.c: Ditto.
514 * libm/machine/spu/w_lgamma.c: Ditto.
515 * libm/machine/spu/w_log.c: Ditto.
516 * libm/machine/spu/w_log10.c: Ditto.
517 * libm/machine/spu/w_pow.c: Ditto.
518 * libm/machine/spu/w_sincos.c: Ditto.
519 * libm/machine/spu/w_sinh.c: Ditto.
520 * libm/machine/spu/w_tgamma.c: Ditto.
521 * libm/machine/spu/wf_acos.c: Ditto.
522 * libm/machine/spu/wf_acosh.c: Ditto.
523 * libm/machine/spu/wf_asin.c: Ditto.
524 * libm/machine/spu/wf_atan2.c: Ditto.
525 * libm/machine/spu/wf_atanh.c: Ditto.
526 * libm/machine/spu/wf_cosh.c: Ditto.
527 * libm/machine/spu/wf_hypot.c: Ditto.
528 * libm/machine/spu/wf_lgamma.c: Ditto.
529 * libm/machine/spu/wf_pow.c: Ditto.
530 * libm/machine/spu/wf_sincos.c: Ditto.
531 * libm/machine/spu/wf_sinh.c: Ditto.
532 * libm/machine/spu/wf_sqrt.c: Ditto.
533 * libm/machine/spu/wf_tgamma.c: Ditto.
534
505ea714
JJ
5352007-09-28 Patrick Mansfield <patmans@us.ibm.com>
536
537 * configure.host: Define _POSIX_MODE to match the existing vector
538 math code, as we don't support the matherr callout.
539 * libm/machine/spu/Makefile.am: New file.
540 * libm/machine/spu/Makefile.in: Auto-generated.
541 * libm/machine/spu/headers/atanf.h: New file.
542 * libm/machine/spu/headers/cbrt.h: Ditto.
543 * libm/machine/spu/headers/cbrtf.h: Ditto.
544 * libm/machine/spu/headers/ceil.h: Ditto.
545 * libm/machine/spu/headers/ceilf.h: Ditto.
546 * libm/machine/spu/headers/copysign.h: Ditto.
547 * libm/machine/spu/headers/copysignf.h: Ditto.
548 * libm/machine/spu/headers/exp2f.h: Ditto.
549 * libm/machine/spu/headers/expf.h: Ditto.
550 * libm/machine/spu/headers/fabs.h: Ditto.
551 * libm/machine/spu/headers/fabsf.h: Ditto.
552 * libm/machine/spu/headers/fdim.h: Ditto.
553 * libm/machine/spu/headers/fdimf.h: Ditto.
554 * libm/machine/spu/headers/floor.h: Ditto.
555 * libm/machine/spu/headers/floorf.h: Ditto.
556 * libm/machine/spu/headers/fma.h: Ditto.
557 * libm/machine/spu/headers/fmaf.h: Ditto.
558 * libm/machine/spu/headers/fmax.h: Ditto.
559 * libm/machine/spu/headers/fmaxf.h: Ditto.
560 * libm/machine/spu/headers/fmin.h: Ditto.
561 * libm/machine/spu/headers/fminf.h: Ditto.
562 * libm/machine/spu/headers/fmod.h: Ditto.
563 * libm/machine/spu/headers/fmodf.h: Ditto.
564 * libm/machine/spu/headers/frexp.h: Ditto.
565 * libm/machine/spu/headers/frexpf.h: Ditto.
566 * libm/machine/spu/headers/ilogb.h: Ditto.
567 * libm/machine/spu/headers/ilogbf.h: Ditto.
568 * libm/machine/spu/headers/ldexp.h: Ditto.
569 * libm/machine/spu/headers/ldexpf.h: Ditto.
570 * libm/machine/spu/headers/llrint.h: Ditto.
571 * libm/machine/spu/headers/llrintf.h: Ditto.
572 * libm/machine/spu/headers/llround.h: Ditto.
573 * libm/machine/spu/headers/llroundf.h: Ditto.
574 * libm/machine/spu/headers/log10f.h: Ditto.
575 * libm/machine/spu/headers/log2f.h: Ditto.
576 * libm/machine/spu/headers/logf.h: Ditto.
577 * libm/machine/spu/headers/lrint.h: Ditto.
578 * libm/machine/spu/headers/lrintf.h: Ditto.
579 * libm/machine/spu/headers/lround.h: Ditto.
580 * libm/machine/spu/headers/lroundf.h: Ditto.
581 * libm/machine/spu/headers/nearbyint.h: Ditto.
582 * libm/machine/spu/headers/remainder.h: Ditto.
583 * libm/machine/spu/headers/remainderf.h: Ditto.
584 * libm/machine/spu/headers/remquo.h: Ditto.
585 * libm/machine/spu/headers/remquof.h: Ditto.
586 * libm/machine/spu/headers/rint.h: Ditto.
587 * libm/machine/spu/headers/round.h: Ditto.
588 * libm/machine/spu/headers/roundf.h: Ditto.
589 * libm/machine/spu/headers/scalbn.h: Ditto.
590 * libm/machine/spu/headers/scalbnf.h: Ditto.
591 * libm/machine/spu/headers/sqrt.h: Ditto.
592 * libm/machine/spu/headers/trunc.h: Ditto.
593 * libm/machine/spu/headers/truncf.h: Ditto.
594 * libm/machine/spu/headers/vec_literal.h: Ditto.
595 * libm/machine/spu/llrint.c: Ditto.
596 * libm/machine/spu/llrintf.c: Ditto.
597 * libm/machine/spu/llround.c: Ditto.
598 * libm/machine/spu/llroundf.c: Ditto.
599 * libm/machine/spu/log2f.c: Ditto.
600 * libm/machine/spu/s_cbrt.c: Ditto.
601 * libm/machine/spu/s_ceil.c: Ditto.
602 * libm/machine/spu/s_copysign.c: Ditto.
603 * libm/machine/spu/s_fabs.c: Ditto.
604 * libm/machine/spu/s_fdim.c: Ditto.
605 * libm/machine/spu/s_floor.c: Ditto.
606 * libm/machine/spu/s_fma.c: Ditto.
607 * libm/machine/spu/s_fmax.c: Ditto.
608 * libm/machine/spu/s_fmin.c: Ditto.
609 * libm/machine/spu/s_frexp.c: Ditto.
610 * libm/machine/spu/s_ilogb.c: Ditto.
611 * libm/machine/spu/s_ldexp.c: Ditto.
612 * libm/machine/spu/s_lrint.c: Ditto.
613 * libm/machine/spu/s_lround.c: Ditto.
614 * libm/machine/spu/s_nearbyint.c: Ditto.
615 * libm/machine/spu/s_remquo.c: Ditto.
616 * libm/machine/spu/s_rint.c: Ditto.
617 * libm/machine/spu/s_round.c: Ditto.
618 * libm/machine/spu/s_scalbn.c: Ditto.
619 * libm/machine/spu/s_trunc.c: Ditto.
620 * libm/machine/spu/sf_atan.c: Ditto.
621 * libm/machine/spu/sf_cbrt.c: Ditto.
622 * libm/machine/spu/sf_ceil.c: Ditto.
623 * libm/machine/spu/sf_copysign.c: Ditto.
624 * libm/machine/spu/sf_fabs.c: Ditto.
625 * libm/machine/spu/sf_fdim.c: Ditto.
626 * libm/machine/spu/sf_floor.c: Ditto.
627 * libm/machine/spu/sf_fma.c: Ditto.
628 * libm/machine/spu/sf_fmax.c: Ditto.
629 * libm/machine/spu/sf_fmin.c: Ditto.
630 * libm/machine/spu/sf_frexp.c: Ditto.
631 * libm/machine/spu/sf_ilogb.c: Ditto.
632 * libm/machine/spu/sf_ldexp.c: Ditto.
633 * libm/machine/spu/sf_lrint.c: Ditto.
634 * libm/machine/spu/sf_lround.c: Ditto.
635 * libm/machine/spu/sf_remquo.c: Ditto.
636 * libm/machine/spu/sf_round.c: Ditto.
637 * libm/machine/spu/sf_scalbn.c: Ditto.
638 * libm/machine/spu/sf_trunc.c: Ditto.
639 * libm/machine/spu/w_fmod.c: Ditto.
640 * libm/machine/spu/w_remainder.c: Ditto.
641 * libm/machine/spu/w_sqrt.c: Ditto.
642 * libm/machine/spu/wf_exp.c: Ditto.
643 * libm/machine/spu/wf_exp2.c: Ditto.
644 * libm/machine/spu/wf_fmod.c: Ditto.
645 * libm/machine/spu/wf_log.c: Ditto.
646 * libm/machine/spu/wf_log10.c: Ditto.
647 * libm/machine/spu/wf_remainder.c: Ditto.
c99e78b8 648
364faf91
JJ
6492007-09-21 Patrick Mansfield <patmans@us.ibm.com>
650
651 * libc/machine/spu/sys/uio.h: New file for readv and writev use.
652
2f3d28fc
JJ
6532007-09-21 Patrick Mansfield <patmans@us.ibm.com>
654
655 * libc/include/sched.h: New file, just include sys/sched.h.
656 * libc/machine/spu/sys/sched.h: New file, has just sched_yield
657 prototype.
658 * libc/machine/spu/sys/utime.h: New file, has utime prototype and
659 struct utimbuf definition.
660
63fbe1fd
JJ
6612007-09-21 Patrick Mansfield <patmans@us.ibm.com>
662
663 * libc/machine/spu/sys/dirent.h: New file, add prototypes and SPU
664 specific struct and typedef.
665
6662007-09-18 Patrick Mansfield <patmans@us.ibm.com>
cebf33e4
JJ
667
668 * libc/include/sys/types.h: Use __dev_t, __uid_t, and __gid_t to
669 typedef dev_t, gid_t, and uid_t.
670 * libc/include/sys/_types.h: Move previous dev_t, uid_t and gid_t
671 types.h code to here, but typedef __dev_t, __uid_t, and __gid_t instead.
672 Change to lower case for all __foo_t_defined names.
673 * libc/machine/spu/machine/_types.h: Add SPU specific __dev_t,
674 __uid_t, and __gid_t making them all four bytes. Change to lower case
675 for all __foo_t_defined names.
676
3908c985
JJ
6772007-09-18 Jeff Johnston <jjohnstn@redhat.com>
678
679 * libc/reent/renamer.c: New file.
680 * libc/reent/Makefile.am: Add new file.
681 * libc/reent/Makefile.in: Regenerated.
682 * libc/stdio/rename.c: Break out _rename_r code into reent/renamer.c
683 and add check for rename syscall.
684
ba21046d
EB
6852007-09-17 Eric Blake <ebb9@byu.net>
686
687 Obey POSIX on printf("%.s", (char*)NULL).
688 * libc/stdio/vfprintf.c (_VFPRINTF_R): Take precision into account
689 for %s on NULL. Skip NULL check when optimizing for size.
690
e5ae7230
JJ
6912007-09-07 Jeff Johnston <jjohnstn@redhat.com>
692
693 * libc/include/sys/_types.h: Protect all types with flag
694 checks to allow definition in machine/_types.h.
695
36fe6da6
JJ
6962007-09-07 Jeff Johnston <jjohnstn@redhat.com>
697
698 * libc/sys/linux/sys/_types.h: Add _fpos_t and _fpos64_t
699 definitions in light of the previous change.
700
7012007-09-07 Patrick Mansfield <patmans@us.ibm.com>
dde22334
JJ
702
703 * libc/include/machine/_default_types.h: New file, contains what
704 was previously in libc/include/machine/_types.h.
705 * libc/include/machine/_types.h: Now only includes
706 machine/_default_types.h.
707 * libc/include/sys/reent.h: Remove _fpos_t and _fpos64_t.
708 * libc/include/sys/_types.h: Move _fpos_t and _fpos64_t to here,
709 with conditional declarations.
710 * libc/machine/spu/machine/_types.h: New file, add SPU specific
711 typedefs for _fpos_t and _fpos64_t.
712
78e66fb9
JJ
7132007-09-07 Jeff Johnston <jjohnstn@redhat.com>
714
715 * libc/include/math.h (_M_LOG2E): Replace with..
716 (_M_LOG2_E): New macro.
717 (log2, log2f, M_LOG2_E): Use _M_LOG2_E.
718
345c1595
BD
7192007-09-06 Brian Dessent <brian@dessent.net>
720
721 * libc/reent/getreent.c: Allow for case where __getreent is
722 defined as a macro.
723
6494ee83
JJ
7242007-09-06 Jeff Johnston <jjohnstn@redhat.com>
725
726 * libc/include/math.h (_M_LOG2E): New log2 of e macro.
727 (log2): Use _M_LOG2E instead of M_LOG2E.
728 (log2f): Ditto.
729 (M_LOG2E): Define to be _M_LOG2E.
730
86a934d2
JJ
7312007-09-04 Kazunori Asayama <asayama@sm.sony.co.jp>
732
733 * libm/math/wf_tgamma.c: Add missing include.
734
6ddf8bef
JJ
7352007-08-31 Antony King <antony.king@st.com>
736
ba21046d 737 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS}: Define IEEE_Arith
6ddf8bef
JJ
738 bits and redefine associated dword0 macro (rvalue issue).
739 * libc/stdio/vfieeefp.h: Ditto.
ba21046d
EB
740 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
741 to prevent setting dword1 which is an rvalue only.
6ddf8bef 742
d4a27886
JJ
7432007-08-28 Hans Kester <hans.kester@ellips.nl>
744
745 * configure.host: Added support for x86_64.
746 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for x86_64.
747 * libc/include/machine/setjmp.h: Define _JBTYPE and _JBLEN for x86_64.
748 * libc/machine/x86_64/aclocal.m4: Generated.
749 * libc/machine/x86_64/configure.in: New.
750 * libc/machine/x86_64/configure: Generated.
751 * libc/machine/x86_64/Makefile.am: New.
752 * libc/machine/x86_64/Makefile.in: Generated.
753 * libc/machine/x86_64/setjmp.S: New.
754 * libc/machine/x86_64/memcpy.S: New.
755 * libc/machine/x86_64/memset.S: New.
756 * libc/machine/configure.in: Added support for x86_64.
757 * libc/machine/configure: Regenerated.
758
309faeb5
JJ
7592007-08-24 Jeff Johnston <jjohnstn@redhat.com>
760
761 * libm/common/sf_lround.c (lroundf): Cast sizeof calculation
762 to int before comparing it to a signed int value.
763
8d44415e
HPN
7642007-08-24 Hans-Peter Nilsson <hp@axis.com>
765
766 * libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
767 (EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP):
768 Define.
769
e6e56f7c
JJ
7702007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
771
772 Reduce the memory consumption of variable argument functions
773 for SPU (cell):
774 * libc/machine/spu/Makefile.am: Replace printf/scanf family C sources
775 to assembler sources.
776 * libc/machine/spu/Makefile.in: Regenerated.
777 * libc/machine/spu/stdio.c: Add __check_init function wrapping
778 CHECK_INIT macro to use from assembler routines.
779 * libc/machine/spu/c99ppe.h: Add definitions for assembler code.
780 * libc/machine/spu/fiprintf.S: New file.
781 * libc/machine/spu/fiscanf.S: Ditto.
782 * libc/machine/spu/fprintf.S: Ditto.
783 * libc/machine/spu/fscanf.S: Ditto.
784 * libc/machine/spu/iprintf.S: Ditto.
785 * libc/machine/spu/iscanf.S: Ditto.
786 * libc/machine/spu/printf.S: Ditto.
787 * libc/machine/spu/scanf.S: Ditto.
788 * libc/machine/spu/siprintf.S: Ditto.
789 * libc/machine/spu/siscanf.S: Ditto.
790 * libc/machine/spu/sniprintf.S: Ditto.
791 * libc/machine/spu/snprintf.S: Ditto.
792 * libc/machine/spu/sprintf.S: Ditto.
793 * libc/machine/spu/sscanf.S: Ditto.
794 * libc/machine/spu/stack_reg_va.S: Ditto.
795 * libc/machine/spu/syscall.def: Ditto. (for maintenance)
796 * libc/machine/spu/mk_syscalls: Ditto. (for maintenance)
797 * libc/machine/spu/fiprintf.c: Removed. (Replaced by .S)
798 * libc/machine/spu/fiscanf.c: Ditto.
799 * libc/machine/spu/fprintf.c: Ditto.
800 * libc/machine/spu/fscanf.c: Ditto.
801 * libc/machine/spu/iprintf.c: Ditto.
802 * libc/machine/spu/iscanf.c: Ditto.
803 * libc/machine/spu/printf.c: Ditto.
804 * libc/machine/spu/scanf.c: Ditto.
805 * libc/machine/spu/siprintf.c: Ditto.
806 * libc/machine/spu/siscanf.c: Ditto.
807 * libc/machine/spu/sniprintf.c: Ditto.
808 * libc/machine/spu/snprintf.c: Ditto.
809 * libc/machine/spu/sprintf.c: Ditto.
810 * libc/machine/spu/sscanf.c: Ditto.
811
90c6084b
JJ
8122007-08-03 Ralf Corsepius <ralf.corsepius@rtems.org>
813
814 * libc/include/tar.h: New.
815
8fb88162
JJ
8162007-08-03 Jeff Johnston <jjohnstn@redhat.com>
817
818 * libc/sys/linux/intl/Makefile.am: Change stpcpy reference to
819 lcl_stpcpy to avoid conflict with new stpcpy.c in libc/string.
820 * libc/sys/linux/intl/Makefile.in: Regenerated.
821 * libc/sys/linux/intl/stpcpy.c: Renamed to...
822 * libc/sys/linux/intl/lcl_stpcpy.c: ..this.
823
6ddcdb9d
EB
8242007-08-02 Eric Blake <ebb9@byu.net>
825
826 Implement fmemopen and open_memstream.
827 * libc/stdio/fmemopen.c (_fmemopen_r, fmemopen): New file.
828 * libc/stdio/open_memstream.c (_open_memstream_r, open_memstream):
829 New file.
830 * libc/stdio/fopencookie.c (fcwriter): Minor optimization.
831 * libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x
832 functions together.
833 (fmemopen, open_memstream): Declare new functions.
834 * libc/stdio/stdio.tex: Document them.
835 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Add
836 fmemopen and open_memstream.
837 * libc/stdio/Makefile.in: Regenerate.
838
f7c978d5
EB
8392007-07-31 Eric Blake <ebb9@byu.net>
840
841 More POSIX stream corner cases.
842 * libc/stdio/findfp.c (__sinit): Open stderr read/write.
843 * libc/stdio/fdopen.c (_fdopen_r): Set O_APPEND on fd when
844 requested.
845 * libc/stdio64/fdopen64.c (_fdopen64_r): Likewise.
846
391b530a
EB
8472007-07-18 Eric Blake <ebb9@byu.net>
848
849 Fix 'make info'.
850 * libc/stdio/stdio.tex: Add missing include.
851 * libc/stdio/vfprintf.c: Use expected node name.
852 * libc/stdio/vfscanf.c: Likewise.
853 * libc/stdio/sscanf.c: Likewise.
854 * libc/stdio/sprintf.c: Likewise.
855 * libc/stdio/siscanf.c: Likewise.
856 * libc/stdio/siprintf.c: Likewise.
857 * libc/stdio/fopencookie.c: Quote raw {}.
858 Reported by DJ Delorie.
859
88c88881
EB
8602007-07-13 Eric Blake <ebb9@byu.net>
861
08146e5a
EB
862 Fix fflush issues.
863 * libc/stdio/fflush.c (_fflush_r): New function.
864 (fflush): Fix reentrancy and large offset behavior.
865 * libc/include/stdio.h (_fflush_r): Add prototype.
866 * libc/stdio/fclose.c (_fclose_r): All fflush callers changed.
867 * libc/stdio/freopen.c (_freopen_r): Likewise.
868 * libc/stdio/fseek.c (_fseek_r): Likewise.
869 * libc/stdio/ftell.c (_ftell_r): Likewise.
870 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
871 * libc/stdio/refill.c (__srefill_r): Likewise.
872 * libc/stdio/setvbuf.c (setvbuf): Likewise.
873 * libc/stdio/ungetc.c (_ungetc_r): Likewise.
874 * libc/stdio/vfprintf.c (__sbprintf): Likewise.
875 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
876 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
877 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise. Defer to
878 32-bit version if not large file.
879 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
880 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.
881
88c88881
EB
882 Documentation updates.
883 * libc/stdio/ungetc.c: Document ungetc.
884 * libc/stdio/Makefile.am (CHEWOUT_FILES): Sort, match current list
885 of files with documentation.
886 * libc/stdio/Makefile.in: Regenerate.
887 * libc/stdio/stdio.tex: Sort and update stdio documentation index.
888
c4ccbcce
JJ
8892007-07-11 Jeff Johnston <jjohnstn@redhat.com>
890
891 * libc/include/math.h: Fix so C99 functions/macros are accessible
892 when -std=c99 is used when compiling and not when using C89.
893
dec27025
CV
8942007-07-06 Corinna Vinschen <corinna@vinschen.de>
895
896 * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul,
897 wcstoull, _wcstol_r, _wcstoll_r, _wcstoul_r and _wcstoull_r.
898 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstol.c and wcstoul.c.
899 (EXTENDED_SOURCES): Add wcstoll.c, wcstoll_r.c, wcstoull.c and
900 wcstoull_r.c.
901 (CHEWOUT_FILES): Add .def files accordingly.
902 * libc/stdlib/Makefile.in: Regenerate.
903 * libc/stdlib/stdlib.tex: Add documentation links for above functions.
904 * libc/stdlib/strtoll.c: Fix portability note.
905 * libc/stdlib/strtoull.c: Ditto.
906 * libc/stdlib/wcstol.c: New file.
907 * libc/stdlib/wcstoll.c: New file.
908 * libc/stdlib/wcstoll_r.c: New file.
909 * libc/stdlib/wcstoul.c: New file.
910 * libc/stdlib/wcstoull.c: New file.
911 * libc/stdlib/wcstoull_r.c: New file.
912
0be2bc94
JJ
9132007-07-06 Jeff Johnston <jjohnstn@redhat.com>
914
915 * libc/include/sys/time.h (gettimeofday): Change to proper
916 prototype where second parameter is void *.
917 * libc/reent/gettimeofdayr.c (_gettimeofday_r): Change prototype
918 accordingly.
919 * libc/include/reent.h: Fix prototype for _gettimeofday_r.
920 * libc/sys/arm/syscalls.c: Fix gettimeofday function signature.
921 * libc/sys/rdos/gettod.c: Ditto.
922 * libc/sys/sh/syscalls.c: Ditto.
923 * libc/time/time.c (time): Change call to _gettimeofday_r
924 to pass NULL as 2nd argument.
925
ba9af2d7
JJ
9262007-07-06 Jeff Johnston <jjohnstn@redhat.com>
927
928 * libc/sys/linux/intl/dcigettext.c: Define HAVE_STPCPY.
929 * libc/sys/linux/intl/l10nflist.c: Ditto.
930
a3721512
CV
9312007-07-04 Corinna Vinschen <corinna@vinschen.de>
932
933 * libc/include/wchar.h: Add prototype for wcsxfrm.
934 * libc/string/Makefile.am (GENERAL_SOURCES): Add wcsxfrm.c.
935 (CHEWOUT_FILES): Add wcsxfrm.def.
936 * libc/string/Makefile.in: Regenerate.
937 * libc/string/wcsxfrm.c: New file.
938 * libc/string/wcstrings.tex: Add wcsxfrm.
939
5d8b97a6
CV
9402007-06-28 Corinna Vinschen <corinna@vinschen.de>
941
942 * libc/include/string.h: Add prototypes for stpcpy and stpncpy.
943 * libc/string/Makefile.am (ELIX_SOURCES): Add stpcpy.c and
944 stpncpy.c.
945 (CHEWOUT_FILES): Add stpcpy.def and stpncpy.def.
946 * libc/string/Makefile.in: Regenerate.
947 * libc/string/stpcpy.c: New file.
948 * libc/string/stpncpy.c: New file.
949 * libc/string/strings.tex: Add stpcpy and stpncpy.
950
3473e6bd
EB
9512007-06-27 Eric Blake <ebb9@byu.net>
952
953 Support __func__ in assert, as required by C99.
954 * libc/stdlib/assert.c (__assert_func): New function.
955 (__assert): Use __assert_func.
956 * libc/include/assert.h (assert) [!NDEBUG]: Use __assert_func when
957 possible.
958
be977229
JJ
9592007-06-20 Patrick Mansfield <patmans@us.ibm.com>
960
961 * libc/machine/spu/perror.c: Pass errno as the second argument to
962 the assist call.
963
d360ef18
JJ
9642007-06-20 Patrick Mansfield <patmans@us.ibm.com>
965
966 * libc/include/sys/unistd.h[__SPU__]: Add lockf prototype and related
967 defines; expose ftruncate, truncate and sync prototypes.
968
f75c7518
JJ
9692007-06-20 Patrick Mansfield <patmans@us.ibm.com>
970
971 * libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible.
3473e6bd 972 * libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes
f75c7518
JJ
973 visible.
974
438b07b0
JJ
9752007-06-15 Patrick Mansfield <patmans@us.ibm.com>
976
977 * libc/machine/spu/Makefile.am: Remove mktemp.c, it was left in
978 from a dropped patch.
979 * libc/machine/spu/Makefile.in: Regenerate.
980
c33ff785
JJ
9812007-06-13 Patrick Mansfield <patmans@us.ibm.com>
982
983 * libc/machine/spu/creat.c: New file copied from libc/posix/creat.c,
3473e6bd 984 it just calls open with appropriate arguments.
c33ff785
JJ
985 * libc/machine/spu/Makefile.am: Add creat.c.
986 * libc/machine/spu/Makefile.in: Regenerate.
987
ae473bdc
JJ
9882007-06-13 Jeff Johnston <jjohnstn@redhat.com>
989
990 * libc/machine/spu/Makefile.am: Re-add back setjmp.S which
991 I accidentally dropped.
992 * libc/machine/spu/Makefile.in: Regenerated.
993
a8b08518
JJ
9942007-06-13 Patrick Mansfield <patmans@us.ibm.com>
995
996 * libc/include/sys/features.h: Define _POSIX_TIMERS for spu.
997 * libc/include/sys/unistd.h: Change usleep prototype to Posix
998 form and move outside of OS flag checks.
999 * libc/machine/spu/Makefile.am: Add sleep and usleep.
1000 * libc/machine/spu/Makefile.in: Regenerate.
1001 * libc/machine/spu/sleep.c: Copy libc/posix/sleep.c.
1002 * libc/machine/spu/usleep.c: Copy libc/posix/usleep.c.
1003
f4cd2a1d
CV
10042007-06-11 Corinna Vinschen <corinna@vinschen.de>
1005
1006 * libc/include/sys/unistd.h: Declare confstr for Cygwin.
1007 Define confstr constants for Cygwin. Add comment.
1008
32f67ec6
HPN
10092007-06-10 Hans-Peter Nilsson <hp@bitrange.com>
1010
1011 * libc/sys/mmixware/access.c (access): Do not try to use a magic
1012 file-handle and a direct syscall, just use _open.
1013 * libc/sys/mmixware/sys/syscall.h (TMPFNO): Remove this magic
1014 file-handle.
1015
1016 * libc/sys/mmixware/_exit.c (_exit): Update comment about
1017 passing on the exit value.
1018
6fb37475
JJ
10192007-06-08 Jeff Johnston <jjohnstn@redhat.com>
1020
1021 * libc/string/strcasestr.c: New file.
1022 * libc/include/string.h: Add strcasestr.
1023 * libc/string/strings.tex: Add strcasestr.
1024 * libc/string/Makefile.am: Ditto.
1025 * libc/string/Makefile.in: Regenerated.
1026
1eeaeab8
JJ
10272007-06-06 Christian Groessler <chris@groessler.org>
1028
1029 * libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
1030 rnd is done after the last local variable declaration.
1031
10322007-06-06 Jeff Johnston <jjohnstn@redhat.com>
1033
1034 * libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.
1035
a5da131d
JJ
10362007-06-05 Christian Groessler <chris@groessler.org>
1037
3473e6bd 1038 * libc/argz/argz_insert.c (argz_insert): Move delta variable
a874abaf 1039 declaration to top of function in keeping with C89 standard.
a5da131d 1040
17c61d6a
EB
10412007-06-04 Eric Blake <ebb9@byu.net>
1042
1043 Implement funopen, fopencookie.
1044 * libc/include/sys/reent.h (struct __sFILE, struct __sFILE64):
1045 Switch to reentrant callbacks.
1046 * libc/include/stdio.h (funopen): Fix declaration.
1047 (fopencookie): Declare.
1048 * libc/stdio/local.h (__sread, __swrite, __sseek, __sclose)
1049 (__sseek64, __swrite64): Fix prototypes.
1050 [__SCLE]: Pull in setmode declaration.
1051 * libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix
1052 reentrancy.
1053 * libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete.
1054 (__sseek64, __swrite64): Fix reentrancy.
1055 * libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
1056 reentrancy.
1057 * libc/stdio/ftell.c (_ftell_r): Likewise.
1058 * libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+".
1059 * libc/stdio/fclose.c (_fclose_r): Fix reentrancy.
1060 * libc/stdio/freopen.c (_freopen_r): Likewise.
1061 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
1062 * libc/stdio/refill.c (__srefill_r): Likewise.
1063 * libc/stdio/siscanf.c (eofread): Likewise.
1064 * libc/stdio/sscanf.c (eofread): Likewise.
1065 * libc/stdio/vsiscanf.c (eofread1): Likewise.
1066 * libc/stdio/vsscanf.c (eofread1): Likewise.
1067 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
1068 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
1069 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
1070 * libc/stdio/fflush.c (fflush): Improve reentrancy, although more
1071 could be fixed.
1072 * libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file.
1073 * libc/stdio/funopen.c (_funopen_r, funopen): New file.
1074 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build
1075 new files.
1076 * libc/stdio/Makefile.in: Regenerate.
1077
b2064783
EB
10782007-05-29 Eric Blake <ebb9@byu.net>
1079
1080 Avoid more compiler warnings.
1081 * libc/stdlib/btowc.c: Add missing header.
1082 * libc/stdlib/getopt.c (getopt_internal): Initialize variable.
1083 * libc/stdlib/system.c (do_system) [__CYGWIN__]: Add declaration.
1084 * libc/stdlib/wctob.c: Add missing header.
1085 * libc/string/strcpy.c (strcpy): Avoid warnings.
1086 * libc/string/strrchr.c (strrchr): Likewise.
1087
76a2ee78
CV
10882007-05-29 Corinna Vinschen <corinna@vinschen.de>
1089
1090 * libc/argz/argz_add_sep.c (argz_add_sep): Handle empty string
1091 argument.
1092 * libc/argz/argz_append.c (argz_append): Handle empty buf argument.
1093 * libc/argz/argz_create_sep.c (argz_create_sep): Return (NULL, 0)
1094 on empty input strings.
1095 * libc/argz/argz_extract.c (argz_extract): Check argz_len before
1096 looping through argz.
1097 * libc/argz/argz_stringify.c (argz_stringify): Ditto.
1098
75acf0bb
EB
10992007-05-27 Brian Dessent <brian@dessent.net>
1100
1101 * libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
1102 handling %p.
1103
f5c58e9a
EB
11042007-05-25 Eric Blake <ebb9@byu.net>
1105
1106 * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
1107
d9a1ecc0 11082007-05-24 Steve Ellcey <sje@cup.hp.com>
f5c58e9a 1109 Charles Wilson <libtool@cwilson.fastmail.fm>
d9a1ecc0
SE
1110
1111 * libtool.m4: removed
1112 * configure.in: invoke _LD_DECL_SED before conditionally initializing
1113 libtool. Move AC_PROG_AWK outside conditional.
1114 * libc/sys/linux/configure.in: Ditto.
1115 * libc/sys/linux/linuxthreads/configure.in: Ditto.
1116 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
1117 * libc/sys/linux/machine/i386/configure.in: Ditto.
1118
1119 * iconvdata/configure.in: invoke _LD_DECL_SED before conditionally
1120 initializing libtool.
1121 * libc/configure.in: Ditto.
1122 * libc/machine/configure.in: Ditto.
1123 * libc/machine/i386/configure.in: Ditto.
1124 * libc/sys/configure.in: Ditto.
1125 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
1126 * libc/sys/linux/machine/configure.in: Ditto.
1127 * libm/configure.in: Ditto.
1128 * libm/machine/configure.in: Ditto.
1129
1130 * Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
1131 * doc/Makefile.am: Ditto.
1132 * iconvdata/Makefile.am: Ditto.
1133 * libc/Makefile.am: Ditto.
1134 * libc/machine/Makefile.am: Ditto.
1135 * libc/machine/a29k/Makefile.am: Ditto.
1136 * libc/machine/arm/Makefile.am: Ditto.
1137 * libc/machine/bfin/Makefile.am: Ditto.
1138 * libc/machine/cris/Makefile.am: Ditto.
1139 * libc/machine/crx/Makefile.am: Ditto.
1140 * libc/machine/d10v/Makefile.am: Ditto.
1141 * libc/machine/d30v/Makefile.am: Ditto.
1142 * libc/machine/fr30/Makefile.am: Ditto.
1143 * libc/machine/frv/Makefile.am: Ditto.
1144 * libc/machine/h8300/Makefile.am: Ditto.
1145 * libc/machine/h8500/Makefile.am: Ditto.
1146 * libc/machine/hppa/Makefile.am: Ditto.
1147 * libc/machine/i386/Makefile.am: Ditto.
1148 * libc/machine/i960/Makefile.am: Ditto.
1149 * libc/machine/iq2000/Makefile.am: Ditto.
1150 * libc/machine/m32c/Makefile.am: Ditto.
1151 * libc/machine/m32r/Makefile.am: Ditto.
1152 * libc/machine/m68hc11/Makefile.am: Ditto.
1153 * libc/machine/m68k/Makefile.am: Ditto.
1154 * libc/machine/m88k/Makefile.am: Ditto.
1155 * libc/machine/mips/Makefile.am: Ditto.
1156 * libc/machine/mn10200/Makefile.am: Ditto.
1157 * libc/machine/mn10300/Makefile.am: Ditto.
1158 * libc/machine/mt/Makefile.am: Ditto.
1159 * libc/machine/necv70/Makefile.am: Ditto.
1160 * libc/machine/powerpc/Makefile.am: Ditto.
1161 * libc/machine/sh/Makefile.am: Ditto.
1162 * libc/machine/sparc/Makefile.am: Ditto.
1163 * libc/machine/spu/Makefile.am: Ditto.
1164 * libc/machine/tic4x/Makefile.am: Ditto.
1165 * libc/machine/tic80/Makefile.am: Ditto.
1166 * libc/machine/v850/Makefile.am: Ditto.
1167 * libc/machine/w65/Makefile.am: Ditto.
1168 * libc/machine/xscale/Makefile.am: Ditto.
1169 * libc/machine/xstormy16/Makefile.am: Ditto.
1170 * libc/machine/z8k/Makefile.am: Ditto.
1171 * libc/sys/Makefile.am: Ditto.
1172 * libc/sys/a29khif/Makefile.am: Ditto.
1173 * libc/sys/arc/Makefile.am: Ditto.
1174 * libc/sys/arm/Makefile.am: Ditto.
1175 * libc/sys/d10v/Makefile.am: Ditto.
1176 * libc/sys/decstation/Makefile.am: Ditto.
1177 * libc/sys/h8300hms/Makefile.am: Ditto.
1178 * libc/sys/h8500hms/Makefile.am: Ditto.
1179 * libc/sys/linux/Makefile.am: Ditto.
1180 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
1181 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
1182 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
1183 * libc/sys/linux/machine/Makefile.am: Ditto.
1184 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
1185 * libc/sys/m88kbug/Makefile.am: Ditto.
1186 * libc/sys/mmixware/Makefile.am: Ditto.
1187 * libc/sys/netware/Makefile.am: Ditto.
1188 * libc/sys/rdos/Makefile.am: Ditto.
1189 * libc/sys/rtems/Makefile.am: Ditto.
1190 * libc/sys/sh/Makefile.am: Ditto.
1191 * libc/sys/sparc64/Makefile.am: Ditto.
1192 * libc/sys/sun4/Makefile.am: Ditto.
1193 * libc/sys/sysmec/Makefile.am: Ditto.
1194 * libc/sys/sysnec810/Makefile.am: Ditto.
1195 * libc/sys/sysnecv850/Makefile.am: Ditto.
1196 * libc/sys/sysvi386/Makefile.am: Ditto.
1197 * libc/sys/sysvnecv70/Makefile.am: Ditto.
1198 * libc/sys/tic80/Makefile.am: Ditto.
1199 * libc/sys/w65/Makefile.am: Ditto.
1200 * libc/sys/z8ksim/Makefile.am: Ditto.
1201 * libm/Makefile.am: Ditto.
1202 * libm/machine/Makefile.am: Ditto.
1203 * libm/machine/i386/Makefile.am: Ditto.
1204 * libm/machine/spu/Makefile.am: Ditto.
1205
1206 * aclocal.m4: Regenerate.
1207 * iconvdata/aclocal.m4: Regenerate.
1208 * libc/aclocal.m4: Regenerate.
1209 * libc/machine/aclocal.m4: Regenerate.
1210 * libc/machine/i386/aclocal.m4: Regenerate.
1211 * libc/sys/aclocal.m4: Regenerate.
1212 * libc/sys/linux/aclocal.m4: Regenerate.
1213 * libc/sys/linux/linuxthreads/aclocal.m4: Regenerate.
1214 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Regenerate.
1215 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Regenerate.
1216 * libc/sys/linux/machine/aclocal.m4: Regenerate.
1217 * libc/sys/linux/machine/i386/aclocal.m4: Regenerate.
1218 * libm/aclocal.m4: Regenerate.
1219 * libm/machine/aclocal.m4: Regenerate.
1220 * libm/machine/i386/aclocal.m4: Regenerate.
1221
1222 * Makefile.in: Regenerate.
1223 * doc/Makefile.in: Regenerate.
1224 * iconvdata/Makefile.in: Regenerate.
1225 * libc/Makefile.in: Regenerate.
1226 * libc/argz/Makefile.in: Regenerate.
1227 * libc/ctype/Makefile.in: Regenerate.
1228 * libc/errno/Makefile.in: Regenerate.
1229 * libc/iconv/Makefile.in: Regenerate.
1230 * libc/iconv/ccs/Makefile.in: Regenerate.
1231 * libc/iconv/ccs/binary/Makefile.in: Regenerate.
1232 * libc/iconv/ces/Makefile.in: Regenerate.
1233 * libc/iconv/lib/Makefile.in: Regenerate.
1234 * libc/locale/Makefile.in: Regenerate.
1235 * libc/machine/Makefile.in: Regenerate.
1236 * libc/machine/a29k/Makefile.in: Regenerate.
1237 * libc/machine/arm/Makefile.in: Regenerate.
1238 * libc/machine/bfin/Makefile.in: Regenerate.
1239 * libc/machine/cris/Makefile.in: Regenerate.
1240 * libc/machine/crx/Makefile.in: Regenerate.
1241 * libc/machine/d10v/Makefile.in: Regenerate.
1242 * libc/machine/d30v/Makefile.in: Regenerate.
1243 * libc/machine/fr30/Makefile.in: Regenerate.
1244 * libc/machine/frv/Makefile.in: Regenerate.
1245 * libc/machine/h8300/Makefile.in: Regenerate.
1246 * libc/machine/h8500/Makefile.in: Regenerate.
1247 * libc/machine/hppa/Makefile.in: Regenerate.
1248 * libc/machine/i386/Makefile.in: Regenerate.
1249 * libc/machine/i960/Makefile.in: Regenerate.
1250 * libc/machine/iq2000/Makefile.in: Regenerate.
1251 * libc/machine/m32c/Makefile.in: Regenerate.
1252 * libc/machine/m32r/Makefile.in: Regenerate.
1253 * libc/machine/m68hc11/Makefile.in: Regenerate.
1254 * libc/machine/m68k/Makefile.in: Regenerate.
1255 * libc/machine/m88k/Makefile.in: Regenerate.
1256 * libc/machine/mips/Makefile.in: Regenerate.
1257 * libc/machine/mn10200/Makefile.in: Regenerate.
1258 * libc/machine/mn10300/Makefile.in: Regenerate.
1259 * libc/machine/mt/Makefile.in: Regenerate.
1260 * libc/machine/necv70/Makefile.in: Regenerate.
1261 * libc/machine/powerpc/Makefile.in: Regenerate.
1262 * libc/machine/sh/Makefile.in: Regenerate.
1263 * libc/machine/sparc/Makefile.in: Regenerate.
1264 * libc/machine/spu/Makefile.in: Regenerate.
1265 * libc/machine/tic4x/Makefile.in: Regenerate.
1266 * libc/machine/tic80/Makefile.in: Regenerate.
1267 * libc/machine/v850/Makefile.in: Regenerate.
1268 * libc/machine/w65/Makefile.in: Regenerate.
1269 * libc/machine/xscale/Makefile.in: Regenerate.
1270 * libc/machine/xstormy16/Makefile.in: Regenerate.
1271 * libc/machine/z8k/Makefile.in: Regenerate.
1272 * libc/misc/Makefile.in: Regenerate.
1273 * libc/posix/Makefile.in: Regenerate.
1274 * libc/reent/Makefile.in: Regenerate.
1275 * libc/search/Makefile.in: Regenerate.
1276 * libc/signal/Makefile.in: Regenerate.
1277 * libc/stdio/Makefile.in: Regenerate.
1278 * libc/stdio64/Makefile.in: Regenerate.
1279 * libc/stdlib/Makefile.in: Regenerate.
1280 * libc/string/Makefile.in: Regenerate.
1281 * libc/sys/Makefile.in: Regenerate.
1282 * libc/sys/a29khif/Makefile.in: Regenerate.
1283 * libc/sys/arc/Makefile.in: Regenerate.
1284 * libc/sys/arm/Makefile.in: Regenerate.
1285 * libc/sys/d10v/Makefile.in: Regenerate.
1286 * libc/sys/decstation/Makefile.in: Regenerate.
1287 * libc/sys/h8300hms/Makefile.in: Regenerate.
1288 * libc/sys/h8500hms/Makefile.in: Regenerate.
1289 * libc/sys/linux/Makefile.in: Regenerate.
1290 * libc/sys/linux/argp/Makefile.in: Regenerate.
1291 * libc/sys/linux/cmath/Makefile.in: Regenerate.
1292 * libc/sys/linux/dl/Makefile.in: Regenerate.
1293 * libc/sys/linux/iconv/Makefile.in: Regenerate.
1294 * libc/sys/linux/intl/Makefile.in: Regenerate.
1295 * libc/sys/linux/linuxthreads/Makefile.in: Regenerate.
1296 * libc/sys/linux/linuxthreads/machine/Makefile.in: Regenerate.
1297 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerate.
1298 * libc/sys/linux/machine/Makefile.in: Regenerate.
1299 * libc/sys/linux/machine/i386/Makefile.in: Regenerate.
1300 * libc/sys/linux/net/Makefile.in: Regenerate.
1301 * libc/sys/linux/stdlib/Makefile.in: Regenerate.
1302 * libc/sys/m88kbug/Makefile.in: Regenerate.
1303 * libc/sys/mmixware/Makefile.in: Regenerate.
1304 * libc/sys/netware/Makefile.in: Regenerate.
1305 * libc/sys/rdos/Makefile.in: Regenerate.
1306 * libc/sys/rtems/Makefile.in: Regenerate.
1307 * libc/sys/sh/Makefile.in: Regenerate.
1308 * libc/sys/sparc64/Makefile.in: Regenerate.
1309 * libc/sys/sun4/Makefile.in: Regenerate.
1310 * libc/sys/sysmec/Makefile.in: Regenerate.
1311 * libc/sys/sysnec810/Makefile.in: Regenerate.
1312 * libc/sys/sysnecv850/Makefile.in: Regenerate.
1313 * libc/sys/sysvi386/Makefile.in: Regenerate.
1314 * libc/sys/sysvnecv70/Makefile.in: Regenerate.
1315 * libc/sys/tic80/Makefile.in: Regenerate.
1316 * libc/sys/w65/Makefile.in: Regenerate.
1317 * libc/sys/z8ksim/Makefile.in: Regenerate.
1318 * libc/syscalls/Makefile.in: Regenerate.
1319 * libc/time/Makefile.in: Regenerate.
1320 * libc/unix/Makefile.in: Regenerate.
1321 * libm/Makefile.in: Regenerate.
1322 * libm/common/Makefile.in: Regenerate.
1323 * libm/machine/Makefile.in: Regenerate.
1324 * libm/machine/i386/Makefile.in: Regenerate.
1325 * libm/machine/spu/Makefile.in: Regenerate.
1326 * libm/math/Makefile.in: Regenerate.
1327 * libm/mathfp/Makefile.in: Regenerate.
1328
1329 * configure: Regenerate.
1330 * iconvdata/configure: Regenerate.
1331 * libc/configure: Regenerate.
1332 * libc/machine/configure: Regenerate.
1333 * libc/machine/i386/configure: Regenerate.
1334 * libc/sys/configure: Regenerate.
1335 * libc/sys/linux/configure: Regenerate.
1336 * libc/sys/linux/linuxthreads/configure: Regenerate.
1337 * libc/sys/linux/linuxthreads/machine/configure: Regenerate.
1338 * libc/sys/linux/linuxthreads/machine/i386/configure: Regenerate.
1339 * libc/sys/linux/machine/configure: Regenerate.
1340 * libc/sys/linux/machine/i386/configure: Regenerate.
1341 * libm/configure: Regenerate.
1342 * libm/machine/configure: Regenerate.
1343 * libm/machine/i386/configure: Regenerate.
1344
aa5341f9
EB
13452007-05-23 Eric Blake <ebb9@byu.net>
1346
1347 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
1348 sizeof(void*) is 8 but sizeof(long) is 4.
1349 * libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise. Fix %i scanning
1350 of "-0x". Support "-nan" and "inf" for %e. Audit usage of ungetc
1351 to fix reentrancy and bug on encoding error in multibyte locales.
1352 Always return EOF on read error.
1353
4a9880e0
JJ
13542007-05-23 Patrick Mansfield <patmans@us.ibm.com>
1355
1356 * libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
1357 prototype.
1358 * libc/machine/spu/fclose.c: Use the __send_to_ppe return value
1359 instead of the slot 0 value, remove any now unused variables, and
1360 for some cases, now store the result in an int vs int*.
1361 * libc/machine/spu/feof.c: Ditto.
1362 * libc/machine/spu/ferror.c: Ditto.
1363 * libc/machine/spu/fflush.c: Ditto.
1364 * libc/machine/spu/fgetc.c: Ditto.
1365 * libc/machine/spu/fgetpos.c: Ditto.
1366 * libc/machine/spu/fgets.c: Ditto.
1367 * libc/machine/spu/fileno.c: Ditto.
1368 * libc/machine/spu/fopen.c: Ditto.
1369 * libc/machine/spu/fprintf.c: Ditto.
1370 * libc/machine/spu/fputc.c: Ditto.
1371 * libc/machine/spu/fputs.c: Ditto.
1372 * libc/machine/spu/fread.c: Ditto.
1373 * libc/machine/spu/freopen.c: Ditto.
1374 * libc/machine/spu/fscanf.c: Ditto.
1375 * libc/machine/spu/fseek.c: Ditto.
1376 * libc/machine/spu/fsetpos.c: Ditto.
1377 * libc/machine/spu/ftell.c: Ditto.
1378 * libc/machine/spu/fwrite.c: Ditto.
1379 * libc/machine/spu/getc.c: Ditto.
1380 * libc/machine/spu/getchar.c: Ditto.
1381 * libc/machine/spu/gets.c: Ditto.
1382 * libc/machine/spu/printf.c: Ditto.
1383 * libc/machine/spu/putc.c: Ditto.
1384 * libc/machine/spu/putchar.c: Ditto.
1385 * libc/machine/spu/puts.c: Ditto.
1386 * libc/machine/spu/remove.c: Ditto.
1387 * libc/machine/spu/rename.c: Ditto.
1388 * libc/machine/spu/scanf.c: Ditto.
1389 * libc/machine/spu/setvbuf.c: Ditto.
1390 * libc/machine/spu/snprintf.c: Ditto.
1391 * libc/machine/spu/sprintf.c: Ditto.
1392 * libc/machine/spu/sscanf.c: Ditto.
1393 * libc/machine/spu/tmpfile.c: Ditto.
1394 * libc/machine/spu/tmpnam.c: Ditto.
1395 * libc/machine/spu/ungetc.c: Ditto.
1396 * libc/machine/spu/vfprintf.c: Ditto.
1397 * libc/machine/spu/vfscanf.c: Ditto.
1398 * libc/machine/spu/vprintf.c: Ditto.
1399 * libc/machine/spu/vscanf.c: Ditto.
1400 * libc/machine/spu/vsnprintf.c: Ditto.
1401 * libc/machine/spu/vsprintf.c: Ditto.
1402 * libc/machine/spu/vsscanf.c: Ditto.
1403
9a3ec862
EB
14042007-05-23 Eric Blake <ebb9@byu.net>
1405
1406 * libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
1407 Avoid warning when !FLOATING_POINT.
1408 * libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS
1409 slightly.
1410
d48670ed
CV
14112007-05-23 Corinna Vinschen <vinschen@redhat.com>
1412
1413 * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
1414 to zero.
1415 * libc/include/argz.h: Guard against multiple inclusion. Guard for
1416 use with C++.
1417
8aab2bc2
EB
14182007-05-18 Eric Blake <ebb9@byu.net>
1419
1420 * libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
1421 compilers.
1422 * libc/stdio/vfscanf.c: Likewise.
1423
b2250c70
JJ
14242007-05-17 Cary R. <cygcary <at> yahoo.com>
1425
1426 * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
1427 (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
1428 * libm/math/wf_atan2.c: Ditto.
1429
8aab2bc2 14302007-05-17 Yaakov Selkowitz <yselkowitz <at> users.sourceforge.net>
e0500490
JJ
1431
1432 * libm/common/Makefile.am: Add support for exp10, exp10f,
1433 pow10, and pow10f functions.
1434 * libm/common/Makefile.in: Regenerated.
1435 * libm/common/s_pow10.c: New file.
1436 * libm/common/sf_pow10.c: Ditto.
1437 * libm/common/s_exp10.c: Ditto.
1438 * libm/common/sf_exp10.c: Ditto.
1439 * libc/include/math.h [!pow10]: New pow10 prototype.
1440 [!pow10f]: New pow10f prototype.
1441 [!exp10]: New exp10 prototype.
1442 [!exp10f]: New exp10f prototype.
1443
487e9075
EB
14442007-05-17 Charles Wilson <cygwin@...>
1445
1446 * stdio/tmpfile.c: Include <sys/stat.h>.
1447 * stdio64/tmpfile64.c: Ditto.
1448
f6560775
EB
14492007-05-16 Eric Blake <ebb9@byu.net>
1450
d009633d
EB
1451 Close security hole in tmpfile.
1452 * libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
1453 generation and opening the fd.
1454 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.
1455
895d76fe
EB
1456 * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
1457 (MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
1458 required by POSIX.
1459 * libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
1460 avoid clash with <math.h>.
1461
f6560775
EB
1462 * libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
1463 * libc/search/hash.c (__hash_open): Likewise.
1464
34507ce0
EB
14652007-05-14 Eric Blake <ebb9@byu.net>
1466
1467 Reduce stack size of *printf.
1468 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
1469 in %f. Avoid malloc when possible for %S.
1470 (BUF): Improve stack locality by using smaller size.
1471 (MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
1472 (exponent): Use smaller stack size.
1473
b8a37af9
EB
14742007-05-11 Eric Blake <ebb9@byu.net>
1475
0962fe91
EB
1476 Minimize printf/scanf size on platforms that don't need C99.
1477 * acconfig.h (_WANT_IO_C99_FORMATS): New macro.
1478 * newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
1479 * configure.in (newlib-io-c99-formats): New configure option.
1480 (_WANT_IO_C99_FORMATS): Define appropriately.
1481 * configure.host (*-linux*, cygwin): Default c99-formats to yes.
1482 * libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
1483 Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
1484 * libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
1485 Likewise.
1486 * configure: Regenerate.
1487
b8a37af9
EB
1488 * libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
1489 (get_arg): Support '%a' and '%A'.
1490
81274c67
EB
14912007-05-09 Eric Blake <ebb9@byu.net>
1492
1493 Allow zero size with non-null buf in *asnprintf.
1494 * libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
1495 user's buf.
1496 * libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
1497 * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
1498 * libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.
1499
38ed4e51
EB
15002007-05-07 Charles Wilson <cygwin@...>
1501
1502 * libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
1503
b9db5292
EB
15042007-05-03 Eric Blake <ebb9@byu.net>
1505
1506 Add support for asnprintf, and improve *printf documentation.
1507 * libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
1508 (ELIX_2_SOURCES): ...to this.
1509 (ELIX_4_SOURCES): Add new variable. Build asnprintf.
1510 (GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
1511 (CHEWOUT_FILES): Include diprintf in documentation.
1512 * libc/stdio/Makefile.in: Regenerate.
1513 * libc/stdio/diprintf.c: Improve documentation.
1514 * libc/stdio/dprintf.c: Likewise.
1515 * libc/stdio/siprintf.c: Likewise.
1516 * libc/stdio/sprintf.c: Likewise.
1517 * libc/stdio/vfprintf.c: Likewise.
1518 * libc/stdio/viprintf.c: Likewise.
1519 * libc/stdio/vsniprintf.c: Consolidate documentation.
1520 * libc/stdio/asiprintf.c: Refer to documentation.
1521 * libc/stdio/asprintf.c: Likewise.
1522 * libc/stdio/fiprintf.c: Likewise.
1523 * libc/stdio/fprintf.c: Likewise.
1524 * libc/stdio/iprintf.c: Likewise.
1525 * libc/stdio/printf.c: Likewise.
1526 * libc/stdio/sniprintf.c: Likewise.
1527 * libc/stdio/vdiprintf.c: Likewise.
1528 * libc/stdio/vdprintf.c: Likewise.
1529 * libc/stdio/vsiprintf.c: Likewise.
1530 * libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
1531 * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
1532 * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
1533 * libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
1534 file.
1535 * libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
1536 * libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
1537 typical case.
1538 * libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
1539 * libc/include/stdio.h: Add prototypes for new functions; sort
1540 existing functions.
1541
fb3937fa
KH
15422007-05-03 Kazu Hirata <kazu@codesourcery.com>
1543
1544 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
1545 and memset.S.
1546 * libc/machine/m68k/Makefile.in: Regenerate.
1547 * libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
1548 * libc/machine/m68k/memset.S: Likewise.
1549
b4f09558
EB
15502007-05-01 Eric Blake <ebb9@byu.net>
1551
1552 * libc/stdio64/local64.h: Delete, move contents to...
1553 * libc/stdio/local.h: ...here.
1554 * libc/stdio64/fdopen64.c: Update includes.
1555 * libc/stdio64/fopen64.c: Likewise.
1556 * libc/stdio64/freopen64.c: Likewise.
1557 * libc/stdio64/fseeko64.c: Likewise.
1558 * libc/stdio64/ftello64.c: Likewise.
1559 * libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
1560 and stderr with 64-bit offset.
1561 * libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
1562 * libc/stdio/makebuf.c (__smakebuf_r): Likewise.
1563 * libc/stdio/mktemp.c (_gettemp): Likewise.
1564
2babeb3d
JJ
15652007-05-01 Cary R. <cygcary <at> yahoo.com>
1566
1567 * libm/math/e_pow.c: Fix to be consistent with glibc with regards
1568 to treatment of NaN and +-inf arguments.
1569 * libm/math/ef_pow.c: Ditto.
1570 * libm/math/w_pow.c: Ditto.
1571 * libm/math/wf_pow.c: Ditto.
1572 * libm/math/w_acos.c: Fix domain errors to return NaN.
1573 * libm/math/w_asin.c: Ditto.
1574 * libm/math/wf_acos.c: Ditto.
1575 * libm/math/wf_asin.c: Ditto.
1576 * libm/math/w_log.c: Fix to return NaN for negative number inputs.
1577 * libm/math/wf_log.c: Ditto.
1578 * libm/math/wf_log10.c: Ditto.
1579 * libm/math/w_log10.c: Ditto.
1580
643aff87
JJ
15812007-04-27 Jeff Johnston <jjohnstn@redhat.com>
1582
1583 * libc/machine/m68k/Makefile.am: Temporarily remove
1584 memcpy.S and memset.S until logic can be confirmed for
1585 !(__mcoldfile__) case.
1586 * libc/machine/m68k/Makefile.in: Regenerated.
1587
9e5957de
JJ
15882007-04-27 Kazu Hirata <kazu@codesourcery.com>
1589
1590 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
1591 and memset.S.
1592 * libc/machine/m68k/Makefile.in: Regenerate.
1593 * libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.
1594
976e9d28
JJ
15952007-04-26 Patrick Mansfield <patmans@us.ibm.com>
1596
1597 * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
1598 overridden via machine/ieeefp.h.
1599 * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
1600 macros for isnan and related macros.
1601 * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
1602 overridden via machine/ieeefp.h.
1603 * libm/machine/spu/Makefile.am: Add new files.
1604 * libm/machine/spu/Makefile.in: Autogenerate with new files.
1605 * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
1606 * libm/machine/spu/sf_finite.c: Add SPU specific finitef.
1607 * libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
1608 * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
1609 * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
1610 * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
1611 * libm/machine/spu/sf_nan.c: Add SPU specific nanf.
1612
34450bd5
JJ
16132007-04-25 Jeff Johnston <jjohnstn@redhat.com>
1614
1615 * libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
1616 * libm/common/sf_fpclassify.c: ...here. New file.
1617 * libm/common/Makefile.am: Add sf_fpclassify.c.
1618 * libm/common/Makefile.in: Regenerated.
1619
42cd3e6c
JJ
16202007-04-25 Patrick Mansfield <patmans@us.ibm.com>
1621
1622 * libc/machine/spu/sys/errno.h: New file, so spu errno values match
1623 ppu linux values. This file is a copy of the cris/sys/errno.h plus
1624 a few changes (see spu errno.h comments).
1625
8b366086
JJ
16262007-04-25 Eric Blake <ebb9@byu.net>
1627
1628 * libc/stdio/vfprintf.c (get_arg): Support %1$lc. Simplify types
1629 that promote to int.
1630
245240b5
JJ
16312007-04-25 Patrick Mansfield <patmans@us.ibm.com>
1632
b4f09558 1633 * libm/machine/spu/headers/feholdexcept.h: Use *envp not env so
245240b5
JJ
1634 we clear the proper bits in the fpscr, and don't set some random ones.
1635
68f2517f
EB
16362007-04-24 Eric Blake <ebb9@byu.net>
1637
5866c023
EB
1638 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
1639 or NaN with %05f.
1640
27e5e9ab
EB
1641 * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
1642 _MB_CAPABLE.
1643
68f2517f
EB
1644 * libc/include/limits.h (NL_ARGMAX): Define a default value.
1645 * libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
1646 NL_ARGMAX, if present.
1647
16482007-04-23 Brian Dessent <brian@dessent.net>
1649
1650 * libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
1651 has been specified with types 'f', 'F', 'g', or 'G', ensure the
1652 trailing decimal is printed.
1653
714d0b7a
JJ
16542007-04-23 Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
1655
1656 * confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
1657 file. Override Autoconf-2.59's version of these macros with
1658 fixed handling of multiple adjacent whitespace in arguments.
1659 * aclocal.m4: Regenerated forcefully.
1660 * configure: Ditto.
1661 * Makefile.in: Ditto.
1662 * libc/*Makefile.in: Ditto.
1663 * libc/*aclocal.m4: Ditto.
1664 * libc/*configure: Ditto.
1665 * libm/*Makefile.in: Ditto.
1666 * libm/*aclocal.m4: Ditto.
1667 * libm/*configure: Ditto.
1668
8aebc414
JJ
16692007-04-23 Jeff Johnston <jjohnstn@redhat.com>
1670
1671 * libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
1672 * libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
1673 and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
1674 * libc/sys/arc/Makefile.in: Regenerated.
1675
fb5750bf
JJ
16762007-04-17 Brian Dessent <brian@dessent.net>
1677
1678 * libc/stdio/sscanf.c: Update documentation comments.
1679 * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
1680
ba3ccd63
EB
16812007-04-12 Eric Blake <ebb9@byu.net>
1682
1683 * libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
1684 (chclass): Recognize 'F', 'X', 'n', and not 'W'.
1685 (get_arg): Handle %1$F, %1$n.
1686
503e2d1c
EB
16872007-04-10 Eric Blake <ebb9@byu.net>
1688
1689 * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
1690 CFLAGS=-O0.
1691
17c0c97d
EB
16922007-04-09 Eric Blake <ebb9@byu.net>
1693
1694 * libc/include/stdio.h: Add gcc format attributes to printf and
1695 scanf families.
1696
abe43f42 16972007-04-09 Joel Schopp <jschopp@austin.ibm.com>
17c0c97d 1698
abe43f42
JJ
1699 * libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
1700 even if the passed in length n is shorter than the source string.
1701 This matches both the non-spu specific and the glibc strxfrm
1702 behaviour.
1703
0efa93c0
KH
17042007-04-04 Mark Mitchell <mark@codesourcery.com>
1705
1706 * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
1707 functions registering additional atexit functions.
1708
07278e6c
KH
1709 * testsuite/lib/flags.exp (newlib_include_flags): Drop
1710 -I${newlib_dir}.
1711
748c1917 17122007-04-04 Patrick Mansfield <patmans@us.ibm.com>
17c0c97d 1713
748c1917
JJ
1714 * libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
1715 prototype.
1716 * libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
1717 * libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
1718 * libc/machine/spu/fclose.c: Ditto.
1719 * libc/machine/spu/feof.c: Ditto.
1720 * libc/machine/spu/ferror.c: Ditto.
1721 * libc/machine/spu/fflush.c: Ditto.
1722 * libc/machine/spu/fgetc.c: Ditto.
1723 * libc/machine/spu/fgetpos.c: Ditto.
1724 * libc/machine/spu/fgets.c: Ditto.
1725 * libc/machine/spu/fileno.c: Ditto.
1726 * libc/machine/spu/fopen.c: Ditto.
1727 * libc/machine/spu/fprintf.c: Ditto.
1728 * libc/machine/spu/fputc.c: Ditto.
1729 * libc/machine/spu/fputs.c: Ditto.
1730 * libc/machine/spu/fread.c: Ditto.
1731 * libc/machine/spu/freopen.c: Ditto.
1732 * libc/machine/spu/fscanf.c: Ditto.
1733 * libc/machine/spu/fseek.c: Ditto.
1734 * libc/machine/spu/fsetpos.c: Ditto.
1735 * libc/machine/spu/ftell.c: Ditto.
1736 * libc/machine/spu/fwrite.c: Ditto.
1737 * libc/machine/spu/getc.c: Ditto.
1738 * libc/machine/spu/getchar.c: Ditto.
1739 * libc/machine/spu/gets.c: Ditto.
1740 * libc/machine/spu/perror.c: Ditto.
1741 * libc/machine/spu/printf.c: Ditto.
1742 * libc/machine/spu/putc.c: Ditto.
1743 * libc/machine/spu/putchar.c: Ditto.
1744 * libc/machine/spu/puts.c: Ditto.
1745 * libc/machine/spu/remove.c: Ditto.
1746 * libc/machine/spu/rename.c: Ditto.
1747 * libc/machine/spu/rewind.c: Ditto.
1748 * libc/machine/spu/scanf.c: Ditto.
1749 * libc/machine/spu/setbuf.c: Ditto.
1750 * libc/machine/spu/setvbuf.c: Ditto.
1751 * libc/machine/spu/snprintf.c: Ditto.
1752 * libc/machine/spu/sprintf.c: Ditto.
1753 * libc/machine/spu/sscanf.c: Ditto.
1754 * libc/machine/spu/tmpfile.c: Ditto.
1755 * libc/machine/spu/tmpnam.c: Ditto.
1756 * libc/machine/spu/ungetc.c: Ditto.
1757 * libc/machine/spu/vfprintf.c: Ditto.
1758 * libc/machine/spu/vfscanf.c: Ditto.
1759 * libc/machine/spu/vprintf.c: Ditto.
1760 * libc/machine/spu/vscanf.c: Ditto.
1761 * libc/machine/spu/vsnprintf.c: Ditto.
1762 * libc/machine/spu/vsprintf.c: Ditto.
1763 * libc/machine/spu/vsscanf.c: Ditto.
1764
a706aa2e
JJ
17652007-04-04 Jeff Johnston <jjohnstn@redhat.com>
1766
1767 * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
1768
db7aa4b1
JJ
17692007-04-04 Eric Blake <ebb9@byu.net>
1770
1771 * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
1772 (asiprintf): Avoid overhead.
1773 * libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
1774 (asprintf): Avoid overhead.
1775 * libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
1776 * libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
1777 * libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
1778 (fiprintf): Avoid overhead.
1779 * libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
1780 (fprintf): Avoid overhead.
1781 * libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
1782 (iprintf): Avoid overhead.
1783 * libc/stdio/printf.c (_printf_r): Use _DEFUN.
1784 (printf): Avoid overhead.
1785 * libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
1786 * libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
1787 * libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
1788 * libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
1789 * libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
1790 * libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
1791 * libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
1792 * libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
1793 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
1794 vdiprintf.c.
1795 * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
1796 (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
1797
2c58b5a5
DK
17982007-03-30 Dave Korn <dave.korn@artimi.com>
1799
1800 * libc/include/stdio.h (_ELIDABLE_INLINE): New macro to conceal
1801 conflicting inline semantics between C99 and GNU89.
1802 (__sgetc_r): Replace static inline with _ELIDABLE_INLINE to be
1803 compatible with -fkeep-inline-functions usage.
1804 (__sputc_r): Likewise for consistency even though disabled.
1805
519aec5d
NC
18062007-03-29 Nick Clifton <nickc@redhat.com>
1807
1808 Reflect changes made to generic vfprintf.c:
1809 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
1810 and add a "struct reent *" argument.
1811 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
1812 argument and call _VFPRINTF_R instead of VFPRINTF.
1813 (_VFPRINTF_R): Add data pointer to call to cantwrite().
1814 Fix uses of __sprint() and __sbprintf.
1815
18162007-03-20 Nick Clifton <nickc@redhat.com>
1817
1818 Reflect changes made to generic vfprintf.c:
1819 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
1820 and add a "struct reent *" argument.
1821 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
1822 argument and call _VFPRINTF_R instead of VFPRINTF.
1823 (_VFPRINTF_R): Add data pointer to call to cantwrite().
1824 Fix uses of __sprint() and __sbprintf.
1825
443871a6
JJ
18262007-03-16 Charles Wilson <cygwin@...>
1827
1828 * libc/argz/argz_insert.c: "before" pointer is
1829 invalid after *argz realloc. Compute offset
1830 between "before" and *argz, and use it after
1831 reallocation instead.
1832
a167bcd8
JJ
18332007-03-16 Eric Blake <ebb9@byu.net>
1834
1835 * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
1836 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
1837
826b5591
JJ
18382007-03-15 Jeff Johnston <jjohnstn@redhat.com>
1839
1840 * configure.in: Add new --enable-newlib-reent-small option.
1841 * configure: Regenerated.
1842 * acconfig.h: Add _WANT_REENT_SMALL.
1843 * newlib.hin: Regenerated minus PACKAGE macros to add
1844 _WANT_REENT_SMALL macro.
1845 * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
1846 if not already set.
1847 * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
1848 there is no buffer.
1849 * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
1850 use reentrant pointer passed in when resetting the file
1851 pointer to one of the std streams.
1852
14ba5e14
JJ
18532007-03-15 Eric Blake <ebb9@byu.net>
1854
1855 * libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
1856 (__smakebuf): Rename...
1857 (__smakebuf_r): to this.
1858 * libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
1859 * libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
1860 allocation, then rename...
1861 (__smakebuf_r): ...to this and fix reentrancy.
1862 * libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
1863 allocation, then rename...
1864 (__swsetup_r): ...to this and fix reentrancy.
1865 * libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
1866 * libc/stdio/refill.c (__srefill_r): Likewise.
1867 * libc/stdio/fclose.c (_fclose_r): Likewise.
1868 * libc/stdio/fread.c (_fread_r): Likewise.
1869 * libc/stdio/freopen.c (_freopen_r): Likewise.
1870 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
1871 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
1872 * libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
1873 failed asprintf allocation, and fix reentrancy.
1874 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
1875 as required by POSIX.
1876 * libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
1877 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
1878 * libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
1879
99304ce6
JJ
18802007-03-12 Eric Blake <ebb9@byu.net>
1881
1882 * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
1883 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
1884 allocation to caller.
1885 * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
1886 * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
1887 * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
1888
d9edc05f
JJ
18892007-02-23 Jeff Johnston <jjohnstn@redhat.com>
1890
1891 * libm/math/w_pow.c: Fix typo in documentation comment.
1892
59673dbb
JJ
18932007-02-21 Patrick Mansfield <patmans@us.ibm.com>
1894
1895 * libc/reent/timer.c: Removed (split into two new files).
1896 * libc/reent/timesr.c: New file for _times_r.
1897 * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
1898 * reent/Makefile.in: Remove timer.c, add timesr.c and
1899 gettimeofdayr.c.
1900 * libc/reent/Makefile.am: Regenerate.
1901
547c5c61
JJ
19022007-02-20 Patrick Mansfield <patmans@us.ibm.com>
1903
1904 * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
1905
3b7e017e
JJ
19062007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
1907
1908 * libc/machine/spu/Makefile.am: Add new objects.
1909 * libc/machine/spu/Makefile.in: Regenerated.
1910 * libc/machine/spu/fiprintf.c: New file. Add implementation of
1911 integer-only version.
1912 * libc/machine/spu/fiscanf.c: Ditto.
1913 * libc/machine/spu/iprintf.c: Ditto.
1914 * libc/machine/spu/iscanf.c: Ditto.
1915 * libc/machine/spu/siprintf.c: Ditto.
1916 * libc/machine/spu/siscanf.c: Ditto.
1917 * libc/machine/spu/sniprintf.c: Ditto.
1918 * libc/machine/spu/vfiprintf.c: Ditto.
1919 * libc/machine/spu/vfiscanf.c: Ditto.
1920 * libc/machine/spu/viprintf.c: Ditto.
1921 * libc/machine/spu/viscanf.c: Ditto.
1922 * libc/machine/spu/vsiprintf.c: Ditto.
1923 * libc/machine/spu/vsiscanf.c: Ditto.
1924 * libc/machine/spu/vsniprintf.c: Ditto.
1925 * libc/machine/spu/fprintf.c: Add support for integer-only
1926 version.
1927 * libc/machine/spu/fscanf.c: Ditto.
1928 * libc/machine/spu/printf.c: Ditto.
1929 * libc/machine/spu/scanf.c: Ditto.
1930 * libc/machine/spu/snprintf.c: Ditto.
1931 * libc/machine/spu/sprintf.c: Ditto.
1932 * libc/machine/spu/sscanf.c: Ditto.
1933 * libc/machine/spu/vfprintf.c: Ditto.
1934 * libc/machine/spu/vfscanf.c: Ditto.
1935 * libc/machine/spu/vprintf.c: Ditto.
1936 * libc/machine/spu/vscanf.c: Ditto.
1937 * libc/machine/spu/vsnprintf.c: Ditto.
1938 * libc/machine/spu/vsprintf.c: Ditto.
1939 * libc/machine/spu/vsscanf.c: Ditto.
1940
960e5d8f
JJ
19412007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
1942
1943 * libc/include/stdio.h: Add declaration for vsiprintf.
1944
958e329d
JJ
19452007-02-14 Patrick Mansfield <patmans@us.ibm.com>
1946
1947 Add a floating point environment for SPU (cell):
1948
1949 * configure.host: add libm_machine_dir=spu.
1950 * libm/machine/configure: Add spu.
1951 * libm/machine/configure.in: regenerated with spu added.
1952 * libc/machine/spu/include/fenv.h: New file.
1953 * libc/machine/spu/sys/fenv.h: Ditto.
1954 * libm/machine/spu/Makefile.am: Ditto.
1955 * libm/machine/spu/Makefile.in: Ditto.
1956 * libm/machine/spu/aclocal.m4: Ditto.
1957 * libm/machine/spu/configure: Ditto.
1958 * libm/machine/spu/configure.in: Ditto.
1959 * libm/machine/spu/fe_dfl_env.c: Ditto.
1960 * libm/machine/spu/feclearexcept.c: Ditto.
1961 * libm/machine/spu/fegetenv.c: Ditto.
1962 * libm/machine/spu/fegetexceptflag.c: Ditto.
1963 * libm/machine/spu/fegetround.c: Ditto.
1964 * libm/machine/spu/feholdexcept.c: Ditto.
1965 * libm/machine/spu/feraiseexcept.c: Ditto.
1966 * libm/machine/spu/fesetenv.c: Ditto.
1967 * libm/machine/spu/fesetexceptflag.c: Ditto.
1968 * libm/machine/spu/fesetround.c: Ditto.
1969 * libm/machine/spu/fetestexcept.c: Ditto.
1970 * libm/machine/spu/feupdateenv.c: Ditto.
1971 * libm/machine/spu/headers/feclearexcept.h: Ditto.
1972 * libm/machine/spu/headers/fefpscr.h: Ditto.
1973 * libm/machine/spu/headers/fegetenv.h: Ditto.
1974 * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
1975 * libm/machine/spu/headers/fegetround.h: Ditto.
1976 * libm/machine/spu/headers/feholdexcept.h: Ditto.
1977 * libm/machine/spu/headers/feraiseexcept.h: Ditto.
1978 * libm/machine/spu/headers/fesetenv.h: Ditto.
1979 * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
1980 * libm/machine/spu/headers/fesetround.h: Ditto.
1981 * libm/machine/spu/headers/fetestexcept.h: Ditto.
1982 * libm/machine/spu/headers/feupdateenv.h: Ditto.
1983
4f7e59f2
CV
19842007-02-14 Corinna Vinschen <corinna@vinschen.de>
1985
1986 * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
1987 Cygwin.
1988
d7e4c7a8
CV
19892007-02-08 Corinna Vinschen <corinna@vinschen.de>
1990
1991 * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
1992 Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
1993
0e37a2e6
CV
19942007-02-07 Corinna Vinschen <corinna@vinschen.de>
1995
1996 * libc/include/sys/features.h: Add definition of all supported
1997 _POSIX_xxx values for Cygwin.
1998 * libc/include/sys/types.h (pthread_rwlock_t): Omit definition
1999 on Cygwin.
2000 (pthread_rwlockattr_t): Ditto.
2001 * libc/include/sys/unistd.h: Define all _SC_xxx values as
2002 required by SUSv3. Unify formatting.
2003
6699fabb
JJ
20042007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
2005
2006 * libc/include/sys/errno.h: Add ECANCELED.
2007
22a339e8 20082007-02-01 Joel Schopp <jschopp@austin.ibm.com>
ba3ccd63 2009 Kazunori Asayama <asayama@sm.sony.co.jp>
22a339e8
JJ
2010
2011 * libc/machine/spu/Makefile.am: Add objects.
2012 * libc/machine/spu/Makefile.in: Regenerated.
2013 * libc/machine/spu/vsscanf.c: New file. Add a stdio function
2014 implementation.
2015 * libc/machine/spu/snprintf.c: Ditto.
2016 * libc/machine/spu/sprintf.c: Ditto.
2017 * libc/machine/spu/sscanf.c: Ditto.
2018 * libc/machine/spu/remove.c: Ditto.
2019 * libc/machine/spu/rename.c: Ditto.
2020 * libc/machine/spu/tmpnam.c: Ditto.
2021 * libc/machine/spu/vsnprintf.c: Add initialization routine of
2022 stdio stuffs.
2023 * libc/machine/spu/vsprintf.c: Ditto.
2024
7d592bb1 20252007-02-01 Joel Schopp <jschopp@austin.ibm.com>
ba3ccd63 2026 Kazunori Asayama <asayama@sm.sony.co.jp>
7d592bb1
JJ
2027
2028 * configure.host: Enable SPU specific stdio directory.
2029 * libc/machine/spu/Makefile.am: Add objects.
2030 * libc/machine/spu/Makefile.in: Regenerated.
2031 * libc/machine/spu/c99ppe.h: Add macros and function
2032 declarations to initialize SPU specific stdio stuffs.
2033 * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
2034 specific FILE structures.
2035 * libc/machine/spu/perror.c: Add initialization routine of
2036 stdio stuffs.
2037 * libc/machine/spu/printf.c: Ditto.
2038 * libc/machine/spu/putchar.c: Ditto.
2039 * libc/machine/spu/puts.c: Ditto.
2040 * libc/machine/spu/vprintf.c: Ditto.
2041 * libc/machine/spu/clearerr.c: New file. Add a stdio function
2042 implementation.
2043 * libc/machine/spu/feof.c: Ditto.
2044 * libc/machine/spu/ferror.c: Ditto.
2045 * libc/machine/spu/fileno.c: Ditto.
2046 * libc/machine/spu/fopen.c: Ditto.
2047 * libc/machine/spu/fclose.c: Ditto.
2048 * libc/machine/spu/freopen.c: Ditto.
2049 * libc/machine/spu/fflush.c: Ditto.
2050 * libc/machine/spu/fseek.c: Ditto.
2051 * libc/machine/spu/ftell.c: Ditto.
2052 * libc/machine/spu/rewind.c: Ditto.
2053 * libc/machine/spu/fgetpos.c: Ditto.
2054 * libc/machine/spu/fsetpos.c: Ditto.
2055 * libc/machine/spu/fread.c: Ditto.
2056 * libc/machine/spu/fwrite.c: Ditto.
2057 * libc/machine/spu/getc.c: Ditto.
2058 * libc/machine/spu/getchar.c: Ditto.
2059 * libc/machine/spu/gets.c: Ditto.
2060 * libc/machine/spu/fgetc.c: Ditto.
2061 * libc/machine/spu/fgets.c: Ditto.
2062 * libc/machine/spu/ungetc.c: Ditto.
2063 * libc/machine/spu/putc.c: Ditto.
2064 * libc/machine/spu/fputc.c: Ditto.
2065 * libc/machine/spu/fputs.c: Ditto.
2066 * libc/machine/spu/vfprintf.c: Ditto.
2067 * libc/machine/spu/vfscanf.c: Ditto.
2068 * libc/machine/spu/fprintf.c: Ditto.
2069 * libc/machine/spu/fscanf.c: Ditto.
2070 * libc/machine/spu/scanf.c: Ditto.
2071 * libc/machine/spu/vscanf.c: Ditto.
2072 * libc/machine/spu/setbuf.c: Ditto.
2073 * libc/machine/spu/setvbuf.c: Ditto.
2074 * libc/machine/spu/tmpfile.c: Ditto.
2075
20762007-02-01 Jeff Johnston <jjohnstn@redhat.com>
2077
2078 * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
2079 * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
17c0c97d 2080 around stdio macros that manipulate fields in the normal file
7d592bb1
JJ
2081 structure.
2082 * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
2083 <sys/custom_file.h> to define custom FILE structure.
2084 * libc/include/sys/custom_file.h: New default header file
2085 that generates error if not overridden when __CUSTOM_FILE_IO__ set.
2086 * libc/machine/spu/sys/custom_file.h: New file.
2087
0733ae3b
JJ
20882007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>
2089
2090 * configure.host: Define stdio directory as a variable.
2091 * libc/Makefile.am: Define stdio related names
2092 as macros.
2093 * libc/configure.in: Add detection routine of stdio directory.
2094 * libc/Makefile.in: Regenerated.
2095 * libc/configure: Ditto.
2096 * libc/argz/Makefile.in: Ditto.
2097 * libc/ctype/Makefile.in: Ditto.
2098 * libc/errno/Makefile.in: Ditto.
2099 * libc/iconv/Makefile.in: Ditto.
2100 * libc/iconv/ccs/Makefile.in: Ditto.
2101 * libc/iconv/ccs/binary/Makefile.in: Ditto.
2102 * libc/iconv/ces/Makefile.in: Ditto.
2103 * libc/iconv/lib/Makefile.in: Ditto.
2104 * libc/locale/Makefile.in: Ditto.
2105 * libc/misc/Makefile.in: Ditto.
2106 * libc/posix/Makefile.in: Ditto.
2107 * libc/reent/Makefile.in: Ditto.
2108 * libc/search/Makefile.in: Ditto.
2109 * libc/signal/Makefile.in: Ditto.
2110 * libc/stdio/Makefile.in: Ditto.
2111 * libc/stdio64/Makefile.in: Ditto.
2112 * libc/stdlib/Makefile.in: Ditto.
2113 * libc/string/Makefile.in: Ditto.
2114 * libc/syscalls/Makefile.in: Ditto.
2115 * libc/time/Makefile.in: Ditto.
2116 * libc/unix/Makefile.in: Ditto.
2117
cb7ba0e1
BE
21182007-01-30 Ben Elliston <bje@au.ibm.com>
2119
c7cd7849
BE
2120 * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
2121 fmt member.
2122 * libc/machine/spu/printf.c (c99_printf_t): Likewise.
2123 (printf): Pass fmt to va_start to suppress a warning.
2124
cb7ba0e1
BE
2125 * libc/search/hash.c (init_hash): Make `info' parameter const.
2126
f89533c1
JJ
21272007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
2128
2129 * libc/machine/spu/c99ppe.h: Replace vector with __vector.
2130 * libc/machine/spu/vec_literal.h: Ditto.
2131 * libc/machine/spu/strncmp.c: Ditto.
2132
94b91791
JJ
21332007-01-15 Joseph Myers <joseph@codesourcery.com>
2134 Kazu Hirata <kazu@codesourcery.com>
2135
2136 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
2137 for E500V1 and E500V2.
2138
26190be1
JJ
21392007-01-11 Jeff Johnston <jjohnstn@redhat.com>
2140
2141 * libm/configure.in: Always configure machine directory.
2142 * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
2143 unconditionally.
2144 * libm/configure: Regenerated.
2145 * libm/Makefile.in: Ditto.
2146 * libm/*/Makefile.in: Ditto.
2147
8e0e8f40
JJ
21482007-01-05 Brian Ford <Brian.Ford@FlightSafety.com>
2149
2150 * configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
2151
9cd4a2de
JJ
21522007-01-02 Ben Elliston <bje@au.ibm.com>
2153
ba3ccd63
EB
2154 * doc/makedoc.c: Include <stdlib.h>.
2155 (malloc, realloc): Remove extern declarations.
9cd4a2de 2156
5fdec53f 21572006-12-18 Jeff Johnston <jjohnstn@redhat.com>
a4b11782 2158
ba3ccd63
EB
2159 * NEWS: Update with 1.15.0 info.
2160 * README: Ditto.
2161 * acinclude.m4: Change version number to 1.15.0.
2162 * aclocal.m4: Regenerated.
2163 * configure: Ditto.
2164 * doc/aclocal.m4: Ditto.
2165 * doc/configure: Ditto.
2166 * libc/*/aclocal.m4: Ditto.
2167 * libc/*/configure: Ditto.
2168 * libc/libc.texinfo: Ditto.
2169 * libm/*/aclocal.m4: Ditto.
2170 * libm/*/configure: Ditto.
2171 * libm/libm.texinfo: Ditto.
2172 * libc/sys/linux/shared.ld: Add VERS_1.15.
a4b11782 2173
def943c1
JJ
21742006-12-18 Kazu Hirata <kazu@codesourcery.com>
2175
2176 Merge from newlib-csl-20060320-branch:
2177 2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
2178 Kazu Hirata <kazu@codesourcery.com>
2179
2180 * configure.host: Recognize fido.
2181
17c0c97d 21822006-12-18 Joel Schopp <jschopp@austin.ibm.com>
505ccc75 2183
ba3ccd63
EB
2184 * libc/machine/spu/c99ppe.h: New file
2185 * libc/machine/spu/perror.c: New file to override libc/stdio version.
2186 * libc/machine/spu/printf.c: New file
2187 * libc/machine/spu/putchar.c: New file
2188 * libc/machine/spu/puts.c: New file
2189 * libc/machine/spu/vprintf.c: New file
2190 * libc/machine/spu/vsnprintf.c: New file
2191 * libc/machine/spu/vsprintf.c: New file
2192 * libc/machine/spu/Makefile.am: Add new targets.
2193 * libc/machine/spu/Makefile.in: Regenerated.
505ccc75 2194
78b7c6f8
JJ
21952006-12-18 Jeff Johnston <jjohnstn@redhat.com>
2196
ba3ccd63
EB
2197 * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
2198 * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
78b7c6f8 2199
f5222560
JJ
22002006-12-18 Jeff Johnston <jjohnstn@redhat.com>
2201
2202 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
2203 2.6.5 version of Doug Lea's malloc which is the basis of
2204 this code.
2205
9b354d7f
JJ
22062006-12-18 Kazunori Asayama <asayama@sm.sony.co.jp>
2207
2208 * libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
2209
4c0b8a07 22102006-12-14 Jeff Johnston <jjohnstn@redhat.com>
ba3ccd63 2211 Eric Blake <ebb9@byu.net>
4c0b8a07 2212
ba3ccd63
EB
2213 * libc/stdio/fflush.c (fflush): On seekable streams, always flush
2214 read but unused data.
2215 * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
2216 even read streams may have side effects that must happen.
4c0b8a07 2217
dd52bb72
JJ
22182006-12-13 Joel Schopp <jschopp@austin.ibm.com>
2219
ba3ccd63 2220 * libc/machine/spu/setjmp.S: Fix to handle registers past 115
6a200958
JJ
2221 correctly.
2222
22232006-12-13 Joel Schopp <jschopp@austin.ibm.com>
2224
ba3ccd63 2225 * libc/include/alloca.h: Add undef alloca to work with xlc.
dd52bb72 2226
4e051d91
JJ
22272006-12-12 Joel Schopp <jschopp@austin.ibm.com>
2228
ba3ccd63 2229 * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
6a200958 2230 cell spu.
4e051d91 2231
489bb390
JJ
22322006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
2233
2234 * libc/machine/spu/strncpy.c: Add padding.
2235
3e2d7a91
JJ
22362006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
2237
17c0c97d 2238 * testsuite/newlib.string/tstring.c:
3e2d7a91 2239
0a2ef998
JJ
22402006-12-01 Kazunori Asayama <asayama@sm.sony.co.jp>
2241
2242 * libc/machine/spu/strchr.c: Fix mask for misaligned string.
2243 * libc/machine/spu/strrchr.c: Ditto.
2244
75190a8f
JJ
22452006-11-30 Lev Bishop <lev.bishop@gmail.com>
2246
2247 * libc/include/math.h: Allow C99 functions/macros to be
2248 defined for C++ even when __STRICT_ANSI__.
2249
7d794364
JJ
22502006-11-29 Jeff Johnston <jjohnstn@redhat.com>
2251
2252 * libc/stdio/makebuf.c (__smakebuf): If dealing with
2253 an asprintf-family buffer, make the default initial size 64.
2254
c4c7f139
JJ
22552006-11-29 Eric Blake <ebb9@byu.net>
2256
2257 * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
2258 asprintf, as well as quadratic realloc behavior.
2259
22602006-11-29 Kazunori Asayama <asayama@sm.sony.co.jpi
80c6ead2
JJ
2261
2262 * libc/machine/spu/memset.c: Fix type of explicit cast.
2263 * libc/machine/spu/strncmp.c: Add explicit cast.
2264 * libc/machine/spu/strrchr.c: Ditto.
2265 * libc/machine/spu/strspn.c: Ditto.
2266
9bc5b618
JJ
22672006-11-22 Luca Barbato <lu_zero@gentoo.org>
2268
2269 * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
2270 * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
2271 * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
2272 * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
2273 * libc/machine/spu/strncat.c: Explicit cast.
2274 * libc/machine/spu/strncmp.c: Use spu_splats.
2275 * libc/machine/spu/strncpy.c: Explicit cast.
2276 * libc/machine/spu/strrchr.c: Use spu_splats.
2277 * libc/machine/spu/strspn.c: Use spu_splats.
2278
52077eb2
JJ
22792006-11-15 Till Straumann <strauman@slac.stanford.edu>
2280
2281 * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
2282
d1a2fe1a
JJ
22832006-11-14 Eric Blake <ebb9@byu.net>
2284
2285 * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
2286 (chclass): ' is a flag. j, t, and z are modifiers.
2287
9842c7e4 22882006-11-08 Jie Zhang <jie.zhang@analog.com>
292f8e23
JJ
2289
2290 * configure.host: Add support for bfin.
2291 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
2292 * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
2293 * libc/machine/bfin/aclocal.m4: Generate.
2294 * libc/machine/bfin/configure.in: New.
2295 * libc/machine/bfin/configure: Generate.
2296 * libc/machine/bfin/Makefile.am: New.
2297 * libc/machine/bfin/Makefile.in: Generate.
2298 * libc/machine/bfin/setjmp.S: New.
2299 * libc/machine/bfin/longjmp.S: New.
2300 * libc/machine/configure.in: Add bfin support.
2301 * libc/machine/configure: Generate.
2302
b1755fe7
CV
23032006-11-07 Corinna Vinschen <corinna@vinschen.de>
2304
2305 * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
2306 (_PC_FILESIZEBITS): Add definition.
2307 (_PC_2_SYMLINKS): Ditto.
2308 (_PC_SYMLINK_MAX): Ditto.
2309
d384d868
JJ
23102006-10-27 Joel Schopp <jschopp@austin.ibm.com>
2311
2312 * libc/machine/spu/memcpy.c: Override generic function with vectorized
2313 version optimized for the cell spu.
2314 * libc/machine/spu/memmove.c: Ditto.
2315 * libc/machine/spu/memset.c: Ditto.
2316 * libc/machine/spu/strcat.c: Ditto.
2317 * libc/machine/spu/strchr.c: Ditto.
2318 * libc/machine/spu/strcmp.c: Ditto.
2319 * libc/machine/spu/strcpy.c: Ditto.
2320 * libc/machine/spu/strcspn.c: Ditto.
2321 * libc/machine/spu/strlen.c: Ditto.
2322 * libc/machine/spu/strncat.c: Ditto.
2323 * libc/machine/spu/strncmp.c: Ditto.
2324 * libc/machine/spu/strncpy.c: Ditto.
2325 * libc/machine/spu/strpbrk.c: Ditto.
2326 * libc/machine/spu/strrchr.c: Ditto.
2327 * libc/machine/spu/strspn.c: Ditto.
2328 * libc/machine/spu/strxfrm.c: Ditto.
17c0c97d 2329 * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
d384d868
JJ
2330 removing altivec style initializers.
2331 * libc/machine/spu/Makefile.am: Add new files to list so they build
2332 * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
2333
f29fdb2f
JJ
23342006-10-27 Jeff Johnston <jjohnstn@redhat.com>
2335
2336 * README: Add a brief section on how to regenerate
2337 configuration files in newlib.
2338
884dc68f
JJ
23392006-10-25 Vladimir Prus <vladimir@codesourcery.com>
2340
2341 * libc/include/math.h: (exception): Add a comment
2342 telling fixincludes that we handle C vs. C++ issue.
2343
f8fe93f9
JJ
23442006-10-11 Yang Tse <yangsita@gmail.com>
2345
6d441576
CV
2346 * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
2347 braced-groups.
f8fe93f9 2348
d95c5792
CV
23492006-10-11 Corinna Vinschen <corinna@vinschen.de>
2350
2351 * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
2352
e5e148d1
JJ
23532006-09-26 Jeff Johnston <jjohnstn@redhat.com>
2354
2355 * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
2356 for clearerr, feof, or fileno.
17c0c97d
EB
2357 * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
2358 the dummy std stream scheme to use pointers to const external
e5e148d1
JJ
2359 fake files, one for each standard stream.
2360 * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
2361 argument. For _REENT_SMALL, reset the file pointer if it
2362 matches one of the fake std stream pointers.
2363 * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
2364 argument.
2365 * libc/stdio/fclose.c: Ditto.
2366 * libc/stdio/feof.c: Ditto.
2367 * libc/stdio/ferror.c: Ditto.
2368 * libc/stdio/fflush.c: Ditto.
2369 * libc/stdio/fgetc.c: Ditto.
2370 * libc/stdio/fgets.c: Ditto.
2371 * libc/stdio/fileno.c: Ditto.
2372 * libc/stdio/findfp.c: Ditto.
2373 * libc/stdio/fputc.c: Ditto.
2374 * libc/stdio/fputs.c: Ditto.
2375 * libc/stdio/fread.c: Ditto.
2376 * libc/stdio/freopen.c: Ditto.
2377 * libc/stdio/fseek.c: Ditto.
2378 * libc/stdio/ftell.c: Ditto.
2379 * libc/stdio/fwrite.c: Ditto.
2380 * libc/stdio/getc.c: Ditto.
2381 * libc/stdio/getdelim.c: Ditto.
2382 * libc/stdio/putc.c: Ditto.
2383 * libc/stdio/refill.c: Ditto.
2384 * libc/stdio/setvbuf.c: Ditto.
2385 * libc/stdio/ungetc.c: Ditto.
2386 * libc/stdio/vfprintf.c: Ditto.
2387 * libc/stdio/vfscanf.c: Ditto.
2388 * libc/stdio/wbuf.c: Ditto.: Ditto.
2389 * libc/stdio/wsetup.c: Ditto.
2390 * libc/stdio64/freopen64.c: Ditto.
2391 * libc/stdio64/fseeko64.c: Ditto.
2392 * libc/stdio64/ftello64.c: Ditto.
2393 * libc/machine/powerpc/vfprintf.c: Ditto.
2394 * libc/machine/powerpc/vfscanf.c: Ditto.
2395
e83c3d0a
JJ
23962006-09-22 Paul Brook <paul@codesourcery.com>
2397
2398 * libc/include/sys/reent.h: Define and use __reent_assert.
2399
23754b33
JJ
24002006-09-13 Joel Sherrill <joel@oarcorp.com>
2401
2402 * libc/include/pthread.h: Add pthread barriers,
2403 rwlocks, and spinlocks. Change const to
2404 _CONST and prefix parameter names with
2405 an underscore.
2406 * libc/include/sys/types.h: Add id and attribute
2407 types for barriers, wrlocks, and spinlocks.
2408 * libc/include/sys/features.h: Enable barriers,
2409 wrlocks, and spinlocks for RTEMS.
2410
ba1bb1b3
JJ
24112006-09-13 Patrick Mansfield <patmans@us.ibm.com>
2412
2413 * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
2414 supposed to be writable.
2415 * libm/common/s_lib_ver.c: Ditto.
2416
8f9f25da
JJ
24172006-09-12 Paul Brook <paul@codesourcery.com>
2418
2419 * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
2420
0324070e
JJ
24212006-09-07 Masaki Muranaka <monaka@monami-software.com>
2422
8f9f25da 2423
0324070e
JJ
2424 * libc/machine/xstormy16/Makefile.am:
2425 Add $(lpfx) prefix to LIBADD objects.
2426 lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
2427 * libc/machine/xstormy16/Makefile.in: Regenerated.
2428
d39002f9
JJ
24292006-09-06 Eric Blake <ebb9@byu.net>
2430
2431 * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
2432 't', and 'z' modifiers.
2433
c023e783
KH
24342006-09-01 Kazu Hirata <kazu@codesourcery.com>
2435
2436 Merge from newlib-csl-20060320-branch:
2437 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
2438
2439 * configure.host: Tell it we have _rename and _system when
2440 building m68k-unknown-elf.
2441
85974265
JJ
24422006-08-29 Paul Brook <paul@codesourcery.com>
2443
2444 * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
2445
c1f828e5
JJ
24462006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
2447
2448 * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
2449 BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
2450 This is needed to build all AVR and H8300 RTEMS multilib variants.
2451
b8e05321
JJ
24522006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
2453
2454 * libc/machine/configure.in: Add configuration for SPU.
2455 * libc/machine/configure: Regenerated.
2456 * libc/machine/spu/memcpy.c: Include string.h.
2457
380d8ec4
JJ
24582006-08-22 Eric Blake <ebb9@byu.net>
2459
2460 * libc/posix/popen.c (popen): Don't close output end of pipe in
2461 child if stdout was closed on entry.
2462 [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
2463
a0922fcb
CF
24642006-08-19 Ramana Radhakrishnan <ramana.r@gmail.com>
2465
2466 * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
2467 line.
2468
84a79403
JJ
24692006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
2470
17c0c97d
EB
2471 * libc/time/gmtime.c: Correct man page; clock is not a
2472 local time and no conversion occurs.
84a79403 2473
0d8de89c
JJ
24742006-08-16 Joel Schopp <jschopp@austin.ibm.com>
2475
ba3ccd63
EB
2476 * configure.host (newlib_cflags) [spu]: Add special compiler
2477 options to reduce size.
0d8de89c 2478
734e8414
JJ
24792006-08-16 Joel Schopp <jschopp@austin.ibm.com>
2480
2481 * configure.host: Add spu support.
2482 * libc/include/stdint.h: Ditto.
2483 * libc/include/machine/ieeefp.h: Ditto.
2484 * libc/include/machine/setjmp.h: Ditto.
2485 * libc/include/sys/config.h: Ditto.
2486 * libc/include/sys/types.h: Ditto.
2487 * libc/machine/spu/Makefile.am: New file.
2488 * libc/machine/spu/Makefile.in: Ditto.
2489 * libc/machine/spu/aclocal.m4: Ditto.
2490 * libc/machine/spu/configure: Ditto.
2491 * libc/machine/spu/configure.in: Ditto.
2492 * libc/machine/spu/memcpy.c: Ditto.
2493 * libc/machine/spu/setjmp.S: Ditto.
2494
079b45dc
JJ
24952006-08-03 J"orn Rennecke <joern.rennecke@st.com>
2496
2497 * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
2498 properly.
2499
2ebf115d
JJ
25002006-08-01 Jeff Johnston <jjohnstn@redhat.com>
2501
2502 * libc/Makefile.am: Add libc_TEXINFOS dependency on
2503 generated .texi files.
2504 * libm/Makefile.am: Add libm_TEXINFOS dependency on
2505 generated .texi files.
2506 * libc/Makefile.in: Regenerated.
2507 * libm/Makefile.in: Ditto.
2508
a1213494 25092006-08-01 Thiemo Seufer <ths@mips.com>
ba3ccd63 2510 Nigel Stephens <nigel@mips.com>
a1213494
JJ
2511
2512 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
2513 define this to force _impure_ptr to live in the .sdata section.
2514
0a85d87f
JJ
25152006-07-31 Jeff Johnston <jjohnstn@redhat.com>
2516
2517 * acinclude.m4: Check for readelf tool.
2518 * configure.in: Use ${READELF} instead of hard-coding.
2519 * Regenerate all aclocal.m4, Makefile.in, and configure files.
2520
17c0c97d 25212006-07-31 Jeff Johnston <jjohnstn@redhat.com>
cc023a75
JJ
2522
2523 * libc/sys/linux/mmap.c: Remove include of sys/mman.h
2524 to avoid conflict with newer glibc's revision of mremap.
2525
17c0c97d 25262006-07-05 Jeff Johnston <jjohnstn@redhat.com>
b0b92438 2527
17c0c97d 2528 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
b0b92438
JJ
2529 floating-point format support. Also redefine
2530 dword0 and dword1 macros.
2531 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
2532 to prevent setting dword1 which is an rvalue only.
2533
17c0c97d 25342006-06-22 Jeff Johnston <jjohnstn@redhat.com>
f489b594
JJ
2535
2536 * libc/stdlib/Makefile.am: Add new gdtoa routines.
2537 * libc/stdlib/Makefile.in: Regenerated.
2538 * libc/stdlib/gd_qnan.h: New file.
2539 * libc/stdlib/gdtoa-gethex.c: Ditto.
2540 * libc/stdlib/gdtoa-hexnan.c: Ditto.
2541 * libc/stdlib/gdtoa.h: Ditto.
2542 * libc/stdlib/mprec.c: Add new helper routines needed by
2543 the new gdtoa code.
2544 * libc/stdlib/mprec.h: Integrate some defines and prototypes
2545 used by gdtoa routines here.
2546 * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
2547 which adds C99 support such as nan, inf, and hexadecimal input
2548 format.
2549
c8956c6f
JJ
25502006-06-15 Corinna Vinschen <corinna@vinschen.de>
2551
2552 * libc/include/stdio.h (__sgetc_r): Fix typo.
2553 * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
2554 * libc/stdio/rget.c (__srbuf): Reinstantiate.
2555 * libc/stdio/wbuf.c (__swbuf): Ditto.
2556
17c0c97d 25572006-06-14 Jeff Johnston <jjohnstn@redhat.com>
4dc0c0c4
JJ
2558
2559 * libc/include/stdio.h: Add new reentrant I/O prototypes for
17c0c97d 2560 read/write functions. Change getc/putc macros to have reentrant underlying
4dc0c0c4
JJ
2561 macros/functions. This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
2562 * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
2563 new reentrant I/O functions/macros for reading/writing.
2564 * libc/stdio/fgets.c: Ditto.
2565 * libc/stdio/fputc.c: Ditto.
2566 * libc/stdio/fputs.c: Ditto.
2567 * libc/stdio/fread.c: Ditto.
2568 * libc/stdio/fseek.c: Ditto.
2569 * libc/stdio64/fseeko64.c: Ditto.
2570 * libc/stdio/fwrite.c: Ditto.
2571 * libc/stdio/getc.c: Ditto.
2572 * libc/stdio/getc_u.c: Ditto.
2573 * libc/stdio/getchar.c: Ditto.
2574 * libc/stdio/getchar_u.c: Ditto.
2575 * libc/stdio/putc.c: Ditto.
2576 * libc/stdio/putc_u.c: Ditto.
2577 * libc/stdio/putchar.c: Ditto.
2578 * libc/stdio/puts.c: Ditto.
2579 * libc/stdio/vfprintf.c: Ditto.
2580 * libc/stdio/vfscanf.c: Ditto.
2581 * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
2582 Change all previous callers of __sfvwrite. Set errno to EBADF and
2583 set error flag on if attempt is made to write to file that does not
2584 allow writing.
2585 * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
2586 * libc/stdio/local.h: Ditto.
2587 * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
2588 Set errno to EBADF and the error flag on if attempt is made to
2589 read unreadable file. Change all previous callers of __srefill.
2590 * libc/stdio/rget.c
2591 * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r. Change
2592 all previous callers of __swbuf.
2593 * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
2594 huge value macros are already defined correctly for i386 by <math.h>.
2595
c4cac45f
JJ
25962006-06-13 Sandra Loosemore <sandra@codesourcery.com>
2597
2598 * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
2599 Make them do something useful in the ARM_RDI_MONITOR case.
2600
b5b6cbd8
JJ
26012006-06-07 Fred Fish <fnf@specifix.com>
2602
2603 * libc/search/hash_bigkey.c (MIN,MAX): Remove
2604 defines that are already supplied by <sys/param.h>.
2605
3cc3705c
JJ
26062006-06-07 Fred Fish <fnf@specifix.com>
2607
2608 * configure.host: Remove references to HAVE_GETTIMEOFDAY.
2609
512c2879
JJ
26102006-06-05 Shaun Jackman <sjackman@gmail.com>
2611
2612 * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
2613 usleep.c.
2614 * libc/posix/Makefile.in: Regenerate.
2615 * libc/posix/sleep.c: New file.
2616 * libc/posix/usleep.c: Ditto.
2617
6ea486a6
JJ
26182006-06-05 Shaun Jackman <sjackman@gmail.com>
2619
9eedc2e6 2620 * configure.host (newlib_cflags) [arm, thumb, xscale]: Remove
6ea486a6
JJ
2621 -DABORT_PROVIDED flag.
2622 * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
2623 * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
2624
2e7c576a
JJ
26252006-06-05 Jeff Johnston <jjohnstn@redhat.com>
2626
2627 * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
2628 * Makefile.in: Regenerated.
2629 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
2630 extraneous CFLAGS reference now that CCASFLAGS are being extended
2631 properly via multilib.
2632 * libc/machine/sh/Makefile.in: Regenerated.
2633
3feae7b1
JJ
26342006-06-02 Shaun Jackman <sjackman@gmail.com>
2635
2636 * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
2637 sigismember.
2638
f383bda5
JJ
26392006-05-23 Jeff Johnston <jjohnstn@redhat.com>
2640
2641 * libc/misc/dprintf.c: Removed.
2642 * libc/misc/__dprintf.c: Renamed from dprintf.c.
2643 * libc/misc/Makefile.am: Changed appropriately for rename.
2644 * libc/misc/Makefile.in: Regenerated.
2645
8eeee74e
JJ
26462006-05-23 Jeff Johnston <jjohnstn@redhat.com>
2647
2648 * libc/include/stdio.h: Protect dprintf prototype
2649 with #ifndef dprintf so as to not interfere with
2650 historical code defining their own dprintf macro.
2651
dc7798c6
JJ
26522006-05-18 Jeff Johnston <jjohnstn@redhat.com>
2653
2654 * libc/include/stdio.h: Add prototypes for fiscanf,
2655 iscanf, and siscanf.
2656
e1b888df
JR
26572006-05-11 J"orn Rennecke <joern.rennecke@st.com>
2658
2659 * acinclude.m4 (_NEWLIB_VERSION): Rename to:
2660 (DEF_NEWLIB_VERSION).
2661 * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
2662 * configure: Regenerate.
2663
7f32c41d
JJ
26642006-05-09 Jeff Johnston <jjohnstn@redhat.com>
2665
2666 * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
2667 lib_a_SOURCES.
2668 * libc/ctype/Makefile.in: Regenerated.
2669
bac01fc8
JJ
26702006-05-09 Kazu Hirata <kazu@codesourcery.com>
2671
2672 * libc/machine/arm/Makefile.am: Fix a typo.
2673 * libc/machine/arm/Makefile.in: Regenerated.
2674
6c47d5b7
JR
26752006-05-08 J"orn Rennecke <joern.rennecke@st.com>
2676
2677 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
2678 * libc/machine/sh/Makefile.in: Regenerate.
2679
7cc7e374
JR
26802006-05-03 J"orn Rennecke <joern.rennecke@st.com>
2681
2682 * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
2683 * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
2684
a8b02d46
JJ
26852006-05-02 Jeff Johnston <jjohnstn@redhat.com>
2686
2687 * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
2688 .s.
2689 * libc/sys/sysnec810/Makefile.in: Regenerated.
2690 * libc/sys/sysnec810/crt0.S: Renamed from .s file.
2691 * libc/sys/sysnec810/io.S: Ditto.
2692 * libc/sys/sysnec810/crt0.s: Renamed to .S file.
2693 * libc/sys/sysnec810/io.s: Ditto.
2694
8f8f1db1
JJ
26952006-05-01 Jeff Johnston <jjohnstn@redhat.com>
2696
2697 * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx). If source file can
2698 be specified instead of object, do so.
2699 * libc/ctype/Makefile.am: Ditto.
2700 * libc/iconv/ccs/Makefile.am: Ditto.
2701 * libc/iconv/ces/Makefile.am: Ditto.
2702 * libc/iconv/lib/Makefile.am: Ditto.
2703 * libc/locale/Makefile.am: Ditto.
2704 * libc/posix/Makefile.am: Ditto.
2705 * libc/reent/Makefile.am: Ditto.
2706 * libc/search/Makefile.am: Ditto.
2707 * libc/stdio/Makefile.am: Ditto.
2708 * libc/stdio64/Makefile.am: Ditto.
2709 * libc/stdlib/Makefile.am: Ditto.
2710 * libc/string/Makefile.am: Ditto.
2711 * libc/syscalls/Makefile.am: Ditto.
2712 * libc/unix/Makefile.am: Ditto.
2713 * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
2714 prefix added automatically. Any specified rules must use $(lpfx) for
2715 object file names.
2716 * libc/machine/arm/Makefile.am: Ditto.
2717 * libc/machine/cris/Makefile.am: Ditto.
2718 * libc/machine/crx/Makefile.am: Ditto.
2719 * libc/machine/d10v/Makefile.am: Ditto.
2720 * libc/machine/d30v/Makefile.am: Ditto.
2721 * libc/machine/fr30/Makefile.am: Ditto.
2722 * libc/machine/frv/Makefile.am: Ditto.
2723 * libc/machine/h8300/Makefile.am: Ditto.
2724 * libc/machine/h8500/Makefile.am: Ditto.
2725 * libc/machine/hppa/Makefile.am: Ditto.
2726 * libc/machine/i386/Makefile.am: Ditto.
2727 * libc/machine/i960/Makefile.am: Ditto.
2728 * libc/machine/iq2000/Makefile.am: Ditto.
2729 * libc/machine/m32c/Makefile.am: Ditto.
2730 * libc/machine/m32r/Makefile.am: Ditto.
2731 * libc/machine/m68hc11/Makefile.am: Ditto.
2732 * libc/machine/m68k/Makefile.am: Ditto.
2733 * libc/machine/m88k/Makefile.am: Ditto.
2734 * libc/machine/mips/Makefile.am: Ditto.
2735 * libc/machine/mn10200/Makefile.am: Ditto.
2736 * libc/machine/mn10300/Makefile.am: Ditto.
2737 * libc/machine/mt/Makefile.am: Ditto.
2738 * libc/machine/necv70/Makefile.am: Ditto.
2739 * libc/machine/powerpc/Makefile.am: Ditto.
2740 * libc/machine/sh/Makefile.am: Ditto.
2741 * libc/machine/sh/Makefile.in: Ditto.
2742 * libc/machine/sparc/Makefile.am: Ditto.
2743 * libc/machine/tic4x/Makefile.am: Ditto.
2744 * libc/machine/tic80/Makefile.am: Ditto.
2745 * libc/machine/v850/Makefile.am: Ditto.
2746 * libc/machine/w65/Makefile.am: Ditto.
2747 * libc/machine/xscale/Makefile.am: Ditto.
2748 * libc/machine/xstormy16/Makefile.am: Ditto.
2749 * libc/machine/z8k/Makefile.am: Ditto.
2750 * libc/sys/a29khif/Makefile.am: Ditto.
2751 * libc/sys/arm/Makefile.am: Ditto.
2752 * libc/sys/d10v/Makefile.am: Ditto.
2753 * libc/sys/h8300hms/Makefile.am: Ditto.
2754 * libc/sys/h8500hms/Makefile.am: Ditto.
2755 * libc/sys/linux/Makefile.am: Ditto.
2756 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2757 * libc/sys/linux/net/Makefile.am: Ditto.
2758 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2759 * libc/sys/m88kbug/Makefile.am: Ditto.
2760 * libc/sys/mmixware/Makefile.am: Ditto.
2761 * libc/sys/rdos/Makefile.am: Ditto.
2762 * libc/sys/rtems/Makefile.am: Ditto.
2763 * libc/sys/sh/Makefile.am: Ditto.
2764 * libc/sys/sun4/Makefile.am: Ditto.
2765 * libc/sys/sysmec/Makefile.am: Ditto.
2766 * libc/sys/sysnec810/Makefile.am: Ditto.
2767 * libc/sys/sysnecv850/Makefile.am: Ditto.
2768 * libc/sys/sysvi386/Makefile.am: Ditto.
2769 * libc/sys/sysvnecv70/Makefile.am: Ditto.
2770 * libc/sys/tic80/Makefile.am: Ditto.
2771 * libc/sys/w65/Makefile.am: Ditto.
2772 * libc/sys/z8ksim/Makefile.am: Ditto.
2773 * libc/machine/necv70/fastmath.S: Renamed from .s file.
2774 * libc/machine/necv70/setjmp.S: Ditto.
2775 * libc/machine/necv70/fastmath.s: Removed.
2776 * libc/machine/necv70/setjmp.s: Ditto.
2777 * libc/machine/w65/*.S: New files renamed from .s files.
2778 * libc/machine/w65/*.s: Renamed and removed.
2779 * libc/sys/a29khif/*.S: New files renamed from .s files.
2780 * libc/sys/a29khif/*.s: Renamed and removed.
2781 * libc/sys/sysvi386/*.S: New files renamed from .s files.
2782 * libc/sys/sysvi386/*.s: Renamed and removed.
2783 * libc/sys/sysvnecv70/*.S: New files renamed from .s files.
2784 * libc/sys/sysvnecv70/*.s: Renamed and removed.
2785 * libc/*Makefile.in: Regenerated as appropriate.
2786
b34db572
DD
27872006-04-24 DJ Delorie <dj@redhat.com>
2788
2789 * libc/machine/sh/configure.in: Avoid link tests.
2790 * libc/machine/sh/configure: Regenerate.
2791
e163e3e1
JJ
27922006-04-18 Jeff Johnston <jjohnstn@redhat.com>
2793
2794 * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
2795 (sigaddset, sigemptyset): Add return code.
2796
7ad96224
JJ
27972006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
2798
ba3ccd63
EB
2799 * acinclude.m4: New _NEWLIB_VERSION.
2800 * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
2801 Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
2802 Use new form of AC_INIT_AUTOMAKE.
2803 * configure.in: AC_PREREQ(2.59).
2804 Use autoconf-2.5.x version of AC_INIT.
2805 Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
2806 autoconf-2.13's AC_OUTPUT.
2807 * libm/configure.in: Ditto.
2808 * libm/machine/configure.in: Ditto.
2809 * libm/machine/i386/configure.in: Ditto.
2810 * libc/configure.in: Ditto.
2811 * libc/machine/a29k/configure.in: Ditto.
2812 * libc/machine/arm/configure.in: Ditto.
2813 * libc/machine/configure.in: Ditto.
2814 * libc/machine/mn10300/configure.in: Ditto.
2815 * libc/machine/powerpc/configure.in: Ditto.
2816 * libc/machine/z8k/configure.in: Ditto.
2817 * libc/machine/h8300/configure.in: Ditto.
2818 * libc/machine/mips/configure.in: Ditto.
2819 * libc/machine/crx/configure.in: Ditto.
2820 * libc/machine/m68hc11/configure.in: Ditto.
2821 * libc/machine/h8500/configure.in: Ditto.
2822 * libc/machine/xscale/configure.in: Ditto.
2823 * libc/machine/d10v/configure.in: Ditto.
2824 * libc/machine/fr30/configure.in: Ditto.
2825 * libc/machine/sh/configure.in: Ditto.
2826 * libc/machine/tic80/configure.in: Ditto.
2827 * libc/machine/m32r/configure.in: Ditto.
2828 * libc/machine/xstormy16/configure.in: Ditto.
2829 * libc/machine/i386/configure.in: Ditto.
2830 * libc/machine/d30v/configure.in: Ditto.
2831 * libc/machine/mn10200/configure.in: Ditto.
2832 * libc/machine/frv/configure.in: Ditto.
2833 * libc/machine/mt/configure.in: Ditto.
2834 * libc/machine/i960/configure.in: Ditto.
2835 * libc/machine/v850/configure.in: Ditto.
2836 * libc/machine/necv70/configure.in: Ditto.
2837 * libc/machine/tic4x/configure.in: Ditto.
2838 * libc/machine/cris/configure.in: Ditto.
2839 * libc/machine/m68k/configure.in: Ditto.
2840 * libc/machine/m32c/configure.in: Ditto.
2841 * libc/machine/hppa/configure.in: Ditto.
2842 * libc/machine/w65/configure.in: Ditto.
2843 * libc/machine/iq2000/configure.in: Ditto.
2844 * libc/machine/sparc/configure.in: Ditto.
2845 * libc/machine/m88k/configure.in: Ditto.
2846 * libc/sys/linux/configure.in: Ditto.
2847 * libc/sys/linux/machine/configure.in: Ditto.
2848 * libc/sys/linux/machine/i386/configure.in: Ditto.
2849 * libc/sys/linux/linuxthreads/configure.in: Ditto.
2850 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2851 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
2852 * libc/sys/arm/configure.in: Ditto.
2853 * libc/sys/configure.in: Ditto.
2854 * libc/sys/decstation/configure.in: Ditto.
2855 * libc/sys/a29khif/configure.in: Ditto.
2856 * libc/sys/sysnecv850/configure.in: Ditto.
2857 * libc/sys/d10v/configure.in: Ditto.
2858 * libc/sys/netware/configure.in: Ditto.
2859 * libc/sys/mmixware/configure.in: Ditto.
2860 * libc/sys/h8500hms/configure.in: Ditto.
2861 * libc/sys/sh/configure.in: Ditto.
2862 * libc/sys/tic80/configure.in: Ditto.
2863 * libc/sys/rdos/configure.in: Ditto.
2864 * libc/sys/sysmec/configure.in: Ditto.
2865 * libc/sys/sysvi386/configure.in: Ditto.
2866 * libc/sys/h8300hms/configure.in: Ditto.
2867 * libc/sys/sparc64/configure.in: Ditto.
2868 * libc/sys/arc/configure.in: Ditto.
2869 * libc/sys/sysnec810/configure.in: Ditto.
2870 * libc/sys/m88kbug/configure.in: Ditto.
2871 * libc/sys/sysvnecv70/configure.in: Ditto.
2872 * libc/sys/z8ksim/configure.in: Ditto.
2873 * libc/sys/rtems/configure.in: Ditto.
2874 * libc/sys/w65/configure.in: Ditto.
2875 * libc/sys/sun4/configure.in: Ditto.
2876 * doc/configure.in: Ditto.
2877 * iconvdata/configure.in: Ditto.
2878 * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
7ad96224 2879
34e66679
JJ
28802006-04-11 Jeff Johnston <jjohnstn@redhat.com>
2881
2882 * acinclude.m4: Properly add square brackets for
2883 AC_DEFUN macros. Rewrite LIB_AC_PROG_CC to remove
2884 macros no longer available. Add LIB_AM_PROG_AS to
2885 remove prereq of AC_PROG_CC. Add LIB_AC_PROG_CC_GNU
2886 macro. Substitute lpfx (library object prefix).
2887 * configure.host: Set lpfx depending on whether
2888 libtool is used or not.
2889 * configure.in: Individually specify libc and libm
2890 to AC_CONFIG_SUBDIRS. Add square bracket quoting as
2891 necessary.
2892 * Makefile.am: Use $(lpfx) to get object names for
2893 math-library functions that should also be in libc.
2894 * libc/machine/configure.in: Use case statement to determine
2895 AC_CONFIG_SUBDIRS statement.
2896 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2897 * libc/sys/linux/machine/configure.in: Ditto.
2898 * libc/sys/configure.in: Ditto.
2899 * libm/machine/configure.in: Ditto.
2900 * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
2901 * libm/configure.in: Add AM_CONDITIONAL statement
2902 for HAVE_LIBM_MACHINE_DIR.
2903 * libc/machine/a29k/Makefile.am: Modified to work with
2904 latest automake. Change includes setting AM_CCASFLAGS
2905 so building .S files will properly pick up flags used
2906 to build C files.
2907 * libc/machine/arm/Makefile.am: Ditto.
2908 * libc/machine/crx/Makefile.am: Ditto.
2909 * libc/machine/d10v/Makefile.am: Ditto.
2910 * libc/machine/d30v/Makefile.am: Ditto.
2911 * libc/machine/fr30/Makefile.am: Ditto.
2912 * libc/machine/frv/Makefile.am: Ditto.
2913 * libc/machine/h8300/Makefile.am: Ditto.
2914 * libc/machine/h8500/Makefile.am: Ditto.
2915 * libc/machine/hppa/Makefile.am: Ditto.
2916 * libc/machine/i386/Makefile.am: Ditto.
2917 * libc/machine/iq2000/Makefile.am: Ditto.
2918 * libc/machine/m32c/Makefile.am: Ditto.
2919 * libc/machine/m32r/Makefile.am: Ditto.
2920 * libc/machine/m68hc11/Makefile.am: Ditto.
2921 * libc/machine/m68k/Makefile.am: Ditto.
2922 * libc/machine/m88k/Makefile.am: Ditto.
2923 * libc/machine/mips/Makefile.am: Ditto.
2924 * libc/machine/mn10200/Makefile.am: Ditto.
2925 * libc/machine/mn10300/Makefile.am: Ditto.
2926 * libc/machine/mt/Makefile.am: Ditto.
2927 * libc/machine/necv70/Makefile.am: Ditto.
2928 * libc/machine/powerpc/Makefile.am: Ditto.
2929 * libc/machine/sh/Makefile.am: Ditto.
2930 * libc/machine/sparc/Makefile.am: Ditto.
2931 * libc/machine/tic4x/Makefile.am: Ditto.
2932 * libc/machine/tic80/Makefile.am: Ditto.
2933 * libc/machine/v850/Makefile.am: Ditto.
2934 * libc/machine/w65/Makefile.am: Ditto.
2935 * libc/machine/xscale/Makefile.am: Ditto.
2936 * libc/machine/xstormy16/Makefile.am: Ditto.
2937 * libc/machine/z8k/Makefile.am: Ditto.
2938 * libc/sys/a29khif/Makefile.am: Ditto.
2939 * libc/sys/arc/Makefile.am: Ditto.
2940 * libc/sys/arm/Makefile.am: Ditto.
2941 * libc/sys/d10v/Makefile.am: Ditto.
2942 * libc/sys/decstation/Makefile.am: Ditto.
2943 * libc/sys/h8300hms/Makefile.am: Ditto.
2944 * libc/sys/h8500hms/Makefile.am: Ditto.
2945 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
2946 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
2947 * libc/sys/m88kbug/Makefile.am: Ditto.
2948 * libc/sys/mmixware/Makefile.am: Ditto.
2949 * libc/sys/netware/Makefile.am: Ditto.
2950 * libc/sys/rdos/Makefile.am: Ditto.
2951 * libc/sys/rtems/Makefile.am: Ditto.
2952 * libc/sys/sh/Makefile.am: Ditto.
2953 * libc/sys/sparc64/Makefile.am: Ditto.
2954 * libc/sys/sysmec/Makefile.am: Ditto.
2955 * libc/sys/sysnec810/Makefile.am: Ditto.
2956 * libc/sys/sysnecv850/Makefile.am: Ditto.
2957 * libc/sys/sysvi386/Makefile.am: Ditto.
2958 * libc/sys/sysvnecv70/Makefile.am: Ditto.
2959 * libc/sys/tic80/Makefile.am: Ditto.
2960 * libc/sys/w65/Makefile.am: Ditto.
2961 * libc/sys/z8ksim/Makefile.am: Ditto.
2962 * libm/machine/i386/Makefile.am: Ditto.
2963 * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
2964 trap.S so that automake will generate a .S.o suffix rule.
2965 * libc/argz/Makefile.am: Modified to work with
2966 latest automake. Change includes adding lib_a_CFLAGS
2967 so automake doesn't complain about libtool and non-libtool
2968 libraries sharing objects.
2969 * libc/ctype/Makefile.am: Ditto.
2970 * libc/errno/Makefile.am: Ditto.
2971 * libc/iconv/ccs/Makefile.am: Ditto.
2972 * libc/iconv/ces/Makefile.am: Ditto.
2973 * libc/iconv/lib/Makefile.am: Ditto.
2974 * libc/locale/Makefile.am: Ditto.
2975 * libc/misc/Makefile.am: Ditto.
2976 * libc/posix/Makefile.am: Ditto.
2977 * libc/reent/Makefile.am: Ditto.
2978 * libc/search/Makefile.am: Ditto.
2979 * libc/signal/Makefile.am: Ditto.
2980 * libc/stdio/Makefile.am: Ditto.
2981 * libc/stdio64/Makefile.am: Ditto.
2982 * libc/stdlib/Makefile.am: Ditto.
2983 * libc/string/Makefile.am: Ditto.
2984 * libc/sys/linux/Makefile.am: Ditto.
2985 * libc/sys/linux/argp/Makefile.am: Ditto.
2986 * libc/sys/linux/cmath/Makefile.am: Ditto.
2987 * libc/sys/linux/dl/Makefile.am: Ditto.
2988 * libc/sys/linux/iconv/Makefile.am: Ditto.
2989 * libc/sys/linux/intl/Makefile.am: Ditto.
2990 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2991 * libc/sys/linux/net/Makefile.am: Ditto.
2992 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2993 * libc/syscalls/Makefile.am: Ditto.
2994 * libc/time/Makefile.am: Ditto.
2995 * libc/unix/Makefile.am: Ditto.
2996 * libm/Makefile.am: Ditto.
2997 * libm/common/Makefile.am: Ditto.
2998 * libm/math/Makefile.am: Ditto.
2999 * libm/mathfp/Makefile.am: Ditto.
3000 * Regenerate all aclocal.m4, Makefile.in, and configure files.
3001
b577ecdf
JJ
30022006-04-07 Jeff Johnston <jjohnstn@redhat.com>
3003
3004 * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
3005 anymore. Assume there is a gettimeofday syscall.
3006
ef79d97d
JJ
30072006-03-29 Shaun Jackman <sjackman@gmail.com>
3008
3009 * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
3010 for the declaration of n_long.
3011
15a1b33c
JJ
30122006-03-29 Shaun Jackman <sjackman@gmail.com>
3013
3014 * libc/sys/linux/include/net/if.h: Include sys/socket.h for
3015 struct sockaddr.
3016 (IFF_SMART): Replace this define with IFF_NOTRAILERS.
3017 (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
3018 (IFF_NOTRAILERS): New define.
3019 (struct ifreq): Add ifru_netmask.
3020 (ifr_netmask): New define.
3021
bcc4ff05
JJ
30222006-03-29 Shaun Jackman <sjackman@gmail.com>
3023
3024 * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
3025 match sys/ioctl.h.
3026
8fed3e2e
JJ
30272006-03-29 Shaun Jackman <sjackman@gmail.com>
3028
17c0c97d 3029 * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
8fed3e2e
JJ
3030 linux-newlib libc implementations.
3031
6507c097
JJ
30322006-03-29 Eric Blake <ebb9@byu.net>
3033
3034 * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
3035 * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
3036
fac690be
JJ
30372006-03-29 Jeff Johnston <jjohnstn@redhat.com>
3038
3039 * libc/sys/linux/io.c (__mknod): Fix declaration of
3040 syscall to pass a dev_t as third argument rather than
3041 a pointer to dev_t.
3042
9e443adb
JJ
30432006-03-29 Jeff Johnston <jjohnstn@redhat.com>
3044
3045 * libc/sys/linux/net/name6.c: Fix struct references.
3046
ce93dfe4
MM
30472006-03-22 Mark Mitchell <mark@codesourcery.com>
3048
3049 * configure.host: Allow hosts to set the default
3050 newlib_atexit_dynamic_alloc value.
3051 * configure.in: Likewise.
3052 * configure: Regenerated.
3053
3078fb4f
MM
30542006-03-20 Mark Mitchell <mark@codesourcery.com>
3055
3056 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
3057 * configure.in (--disable-newlib-atexit-dynamic-alloc): New
17c0c97d 3058 option.
3078fb4f
MM
3059 * configure: Regenerated.
3060 * newlib.hin: Regenerated.
3061 * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
3062 if _ATEXIT_DYNAMIC_ALLOC is undefined.
3063 * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
3064 if _ATEXIT_DYNAMIC_ALLOC is undefined.
3065
9d5cff74
JJ
30662006-03-17 Jeff Johnston <jjohnstn@redhat.com>
3067
3068 * libc/sys/linux/linuxthreads/config.h: Remove definition
3069 of UINT32_C.
3070
490cfb83
JJ
30712006-03-15 Jeff Johnston <jjohnstn@redhat.com>
3072
3073 * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
3074 for a string I/O file that isn't using the asprintf family.
3075
ce10f178
JJ
30762006-03-07 Eric Blake <ebb9@byu.net>
3077
3078 * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
3079 filename, allow read-only or write-only FILE atop O_RDWR file
3080 descriptor.
3081 * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
3082
ddf12e6b
JJ
30832006-03-07 Jeff Johnston <jjohnstn@redhat.com>
3084
3085 * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
3086 * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
3087
cb197581
JJ
30882006-03-02 Jeff Johnston <jjohnstn@redhat.com>
3089
3090 * libm/math/math.tex: Fix reference to sisnan.def which
3091 is now in common subdirectory.
3092 * libm/mathfp/mathfp.tex: Ditto.
3093
e48682cf
JJ
30942006-02-27 Jeff Johnston <jjohnstn@redhat.com>
3095
17c0c97d 3096 * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
e48682cf
JJ
3097 s_isnand, and sf_isnanf object files.
3098 * Makefile.in: Regenerated.
3099 * libc/include/ieeefp.h: Undef isnan and isinf to avoid
3100 conflict if <math.h> has previously been included.
3101 * libc/include/math.h
bc88ea65
JJ
3102 * libc/include/math.h: Make isnan and isinf macros to
3103 conform to C99.
3104 (__isinfd, __isinff, __isnand, __isnanf): New functions.
e48682cf
JJ
3105 * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
3106 and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and
17c0c97d 3107 sf_isinf files which have been moved from math/mathfp directories.
e48682cf
JJ
3108 * libm/common/Makefile.in: Regenerated.
3109 * libm/common/s_isinfd.c: New file.
3110 * libm/common/s_isnand.c: Ditto.
3111 * libm/common/sf_isinff.c: Ditto.
3112 * libm/common/sf_isnanf.c: Ditto.
3113 * libm/common/s_isinf.c: Moved from libm/math directory.
3114 * libm/common/s_isnan.c: Ditto.
3115 * libm/common/sf_isinf.c: Ditto.
3116 * libm/common/sf_isnan.c: Ditto.
3117 * libm/math/Makefile.am: Remove isinf and isnan family functions
3118 which have been moved into common directory.
3119 * libm/mathfp/Makefile.am: Ditto.
3120 * libm/math/Makefile.in: Regenerated.
3121 * libm/mathfp/Makefile.in: Ditto.
3122 * libm/math/s_isinf.c: Removed.
3123 * libm/math/s_isnan.c: Ditto.
3124 * libm/math/sf_isinf.c: Ditto.
3125 * libm/math/sf_isnan.c: Ditto.
3126 * libm/mathfp/s_isinf.c: Ditto.
3127 * libm/mathfp/s_isnan.c: Ditto.
3128 * libm/mathfp/sf_isinf.c: Ditto.
3129 * libm/mathfp/sf_isnan.c: Ditto.
3130
99db626d
JJ
31312006-02-20 Jeff Johnston <jjohnstn@redhat.com>
3132
3133 * libc/stdio/fflush.c (fflush): For an fflush on a read-only
3134 stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
3135 * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
3136 seek, turn off the __SNPT no-optimization flag.
3137
49103e2b
JJ
31382006-02-16 Jeff Johnston <jjohnstn@redhat.com>
3139
3140 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
3141 will be defined.
3142 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
3143 <features.h> to preset special flags.
3144
680e0f1f
CV
31452006-02-15 Corinna Vinschen <corinna@vinschen.de>
3146
3147 * libc/include/sys/time.h (struct timeval): Change member types
3148 according to SUSv3.
3149 * libc/include/sys/types.h (useconds_t): Change to unsigned
3150 according to SUSv3.
3151 (suseconds_t): Define type.
3152
d6593503
JJ
31532006-02-13 Jeff Johnston <jjohnstn@redhat.com>
3154 David Carne <davidcarne@gmail.com>
3155
3156 * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
3157 instead of strlen to determine number of bytes to copy.
3158 * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
3159 before looking at storage location.
3160
9bbe6d5d
JJ
31612006-02-07 Paul Brook <paul@codesourcery.com>
3162
3163 * libc/machine/arm/setjmp.S: Add Thumb-2 support.
3164 * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
3165 * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
3166 * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
3167 * libc/sys/arm/trap.S: Disable for Thumb-2.
3168
d968b3c8
JJ
31692006-01-31 Leif Ekblad <leif@rdos.net>
3170
3171 * configure.host: RDOS support added
3172 * libc/include/sys/config.h: Ditto.
3173 * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
3174 * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
3175 * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
3176 * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
3177 * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
3178 * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
3179 * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
3180 * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
3181 * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
3182 * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
3183 * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
3184 * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
3185 * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
3186 * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
3187 * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
3188 * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
3189 * libc/sys/rdos/write.c: Ditto.
3190
3acaaf54
JJ
31912006-01-24 Jeff Johnston <jjohnstn@redhat.com>
3192
3193 * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
3194 so as not to define PACKAGE and VERSION in newlib.h.
3195 * aclocal.m4: Regenerated.
3196 * configure: Ditto.
3197 * newlib.hin: Ditto.
3198
54abc854
JJ
31992006-01-20 Jeff Johnston <jjohnstn@redhat.com>
3200
3201 * acconfig.h: New file to generate newlib.hin from.
3202 * newlib.hin: Regenerated.
3203 * stamp-h.in: Regenerated.
3204 * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
3205 called automatically.
3206 * Makefile.in: Regenerated.
3207 * acinclude.m4: Add proper comment for hack in previous change.
3208 * aclocal.m4 */aclocal.m4: Regenerated.
3209 * configure */configure: Regenerated.
3210
33c9cfbd
JJ
32112006-01-11 Jeff Johnston <jjohnstn@redhat.com>
3212
3213 * acinclude.m4: Add hack to prevent INSTALL in subdirs
3214 from being set to "../".
3215 * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
3216 * aclocal.m4: Regenerated.
3217 * configure: Ditto.
3218 * Makefile.in: Ditto.
3219 * doc/aclocal.m4: Ditto.
3220 * doc/configure: Ditto.
3221 * iconvdata/aclocal.m4: Ditto.
3222 * iconvdata/configure: Ditto.
3223 * libc/*/aclocal.m4: Ditto.
3224 * libc/*/configure: Ditto.
3225 * libc/libc.texinfo: Ditto.
3226 * libm/*/aclocal.m4: Ditto.
3227 * libm/*/configure: Ditto.
3228
dea958bc
JJ
32292006-01-10 Eric Blake <ebb9@byu.net>
3230
3231 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
3232 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
3233
216633f7
JJ
32342006-01-10 Jeff Johnston <jjohnstn@redhat.com>
3235
3236 * libm/mathfp/s_frexp.c: Check for special values on
3237 the original input, not the manipulated output value.
3238 * libm/mathfp/sf_frexp.c: Ditto.
3239 * libm/mathfp/s_atangent.c: Don't use local value branch
3240 when checking for quadrant.
3241 * libm/mathfp/sf_atangent.c: Ditto.
3242
64ae8ab5
JJ
32432006-01-09 Jeff Johnston <jjohnstn@redhat.com>
3244
3245 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
3246 * libc/stdio64/freopen64.c: Ditto.
3247
0da7297e
JJ
32482006-01-09 Eric Blake <ebb9@byu.net>
3249
3250 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
3251 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
3252
a37aaf88
JJ
32532006-01-06 Jeff Johnston <jjohnstn@redhat.com>
3254
3255 * libc/sys/linux/include/getopt.h: Add macros needed by
3256 new version of getopt.c in libc/stdlib.
3257
791c9bda
JJ
32582006-01-04 Gregory Pietsch <gpietsch@comcast.net>
3259
3260 * libc/stdlib/getopt.c: Replaced with version
3261 that adds getopt_long and getopt_long_only support.
3262 * libc/include/getopt.h: New file.
3263
0217078f
JJ
32642005-12-16 Jeff Johnston <jjohnstn@redhat.com>
3265
3266 * NEWS: Update with 1.14.0 info.
3267 * README: Ditto.
3268 * acinclude.m4: Change version number to 1.14.0.
3269 * aclocal.m4: Regenerated.
3270 * configure: Ditto.
3271 * doc/aclocal.m4: Ditto.
3272 * doc/configure: Ditto.
3273 * libc/*/aclocal.m4: Ditto.
3274 * libc/*/configure: Ditto.
3275 * libc/libc.texinfo: Ditto.
3276 * libm/*/aclocal.m4: Ditto.
3277 * libm/*/configure: Ditto.
3278 * libm/libm.texinfo: Ditto.
3279 * libc/sys/linux/shared.ld: Add VERS_1.14.
3280
a4cd7f20
JJ
32812005-12-16 Jeff Johnston <jjohnstn@redhat.com>
3282
3283 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
3284 take a pointer to struct stat64 rather than struct stat.
3285
843e635a
JJ
32862005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
3287
3288 * libc/include/stdint.h: Prefer long over int for int32_t.
3289 Use __have_long32 to set up int32_t.
3290 * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
3291 (Sync with stdint.h).
3292
10cba930
CV
32932005-12-14 Corinna Vinschen <corinna@vinschen.de>
3294
3295 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
3296 typo in O_NDELAY comment.
3297
c8ba5c22
JJ
32982005-12-13 Nathan Sidwell <nathan@codesourcery.com>
3299
3300 * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
3301 * libc/include/machine/setjmp.h (__mt__): Likewise.
3302 * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
3303 * libc/machine/configure.in: Ditto.
3304
74ecef0d
NS
33052005-12-12 Nathan Sidwell <nathan@codesourcery.com>
3306
3307 * configure.host: Replace ms1 arch with mt arch.
3308 * libc/machine/mt: Renamed from ms1 dir.
3309
2a1fc53c
JJ
33102005-12-08 Shaun Jackman <sjackman@gmail.com>
3311
3312 * libc/include/sys/types.h: Remove the ifdef armour around
3313 standard POSIX types.
3314
77e70d34
JJ
33152005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
3316
3317 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
3318 rtems_gxx_key_delete, rtems_gxx_getspecific,
17c0c97d
EB
3319 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
3320 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
77e70d34
JJ
3321 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
3322
b1da33a0
CF
33232005-12-05 Christopher Faylor <cgf@timesys.com>
3324
3325 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
3326 file. Declare unsetenv and _unsetenv_r when not cygwin.
3327
6b1a6ec6
JJ
33282005-11-18 Jeff Johnston <jjohnstn@redhat.com>
3329
3330 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
3331 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
3332
d7d477b7
CF
33332005-11-18 Christopher Faylor <cgf@timesys.com>
3334
3335 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
3336
c1534dbe
CF
33372005-11-18 Christopher Faylor <cgf@timesys.com>
3338
3339 * include/time.h: Remove more cygwin-specific stuff.
3340
d3e81bda
CF
33412005-11-18 Christopher Faylor <cgf@timesys.com>
3342
3343 * include/time.h: Move cygwin declarations to cygwin-specific header.
3344 * include/sys/time.h: Rename cygwin include to "sys_time.h".
3345
1396951b
JJ
33462005-11-17 Jeff Johnston <jjohnstn@redhat.com>
3347
3348 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
3349 in libc/sys/linux/include.
3350 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
3351 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
3352 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
3353 in libc/sys/linux/dl.
3354
37bd11ed
CF
33552005-11-11 Christopher Faylor <cgf@timesys.com>
3356
3357 * libc/include/sys/time.h: For cygwin, use general header rather than
3358 specific "sys/select.h".
3359
b397593c
JJ
33602005-11-08 Tom Walsh <tom@openhardware.net>
3361
3362 * libc/time/tzvars.c: New file.
3363 * libc/time/tzset_r.c: Moved globals into tzvars.c
3364 so other time functions needn't link in __tzset_r and its
3365 dependencies.
3366 * libc/time/Makefile.am: Add the new file.
3367 * libc/time/Makefile.in: Regenerated.
3368
86c6c421
CF
33692005-11-08 Christopher Faylor <cgf@timesys.com>
3370
3371 * libc/include/string.h: Add cygwin-specific function declaration.
3372
ef1206e4
CV
33732005-11-07 Corinna Vinschen <corinna@vinschen.de>
3374
3375 * libc/include/ieeefp.h: Add C++ guards.
3376
15eaca1c
JJ
33772005-11-03 Jeff Johnston <jjohnstn@redhat.com>
3378
3379 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
3380 * libc/unix/getlogin.c: Ditto.
3381 * libc/unix/getpass.c: Ditto.
3382 * libc/unix/getut.c: Ditto.
3383 * libc/unix/ttyname.c: Ditto.
3384
d31a8623
JJ
33852005-11-03 Shaun Jackman <sjackman@gmail.com>
3386
3387 * libc/include/sys/unistd.h (readlink, symlink): Provide these
3388 prototypes by default.
3389 * libc/sys/linux/include/unistd.h (readlink): Remove this
3390 prototype.
3391 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
3392 prototypes.
3393
71ac53ee
JJ
33942005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
3395
3396 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
3397
dc1b6289
JJ
33982005-10-31 Darin Johnson <darin@usa.net>
3399
3400 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
3401 correct for constants.
3402
884c0ff0
JJ
34032005-10-28 Bob Wilson <bob.wilson@acm.org>
3404
3405 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
3406 * libc/stdio/siscanf.c: Likewise.
3407 * libc/stdio/sprintf.c: Likewise.
3408 * libc/stdio/sscanf.c: Likewise.
3409 * libc/stdio/vfprintf.c: Likewise.
3410 * libc/stdio/vfscanf.c: Likewise.
3411 * libc/stdio/viprintf.c: Likewise.
3412 * libc/stdio/viscanf.c: Likewise.
3413
a9c15f6f
JJ
34142005-10-28 Bob Wilson <bob.wilson@acm.org>
3415
3416 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
3417 example to use "_end" symbol instead of "end". Change write example
3418 to use "outbyte" instead of "writechar".
3419
a306ebc9
JJ
34202005-10-28 Bob Wilson <bob.wilson@acm.org>
3421
3422 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
3423 * libc/ctype/islower.c: Likewise.
3424 * libc/ctype/isupper.c: Likewise.
3425 * libc/ctype/iswalnum.c: Likewise.
3426 * libc/ctype/iswalpha.c: Likewise.
3427 * libc/ctype/iswblank.c: Likewise.
3428 * libc/ctype/iswcntrl.c: Likewise.
3429 * libc/ctype/iswdigit.c: Likewise.
3430 * libc/ctype/iswgraph.c: Likewise.
3431 * libc/ctype/iswlower.c: Likewise.
3432 * libc/ctype/iswprint.c: Likewise.
3433 * libc/ctype/iswpunct.c: Likewise.
3434 * libc/ctype/iswspace.c: Likewise.
3435 * libc/ctype/iswupper.c: Likewise.
3436 * libc/ctype/iswxdigit.c: Likewise.
3437 * libc/ctype/tolower.c: Likewise.
3438 * libc/ctype/toupper.c: Likewise.
3439 * libc/ctype/towctrans.c: Likewise.
3440 * libc/ctype/towlower.c: Likewise.
3441 * libc/ctype/towupper.c: Likewise.
3442 * libc/string/strcasecmp.c: Likewise.
3443 * libc/string/strcoll.c: Likewise.
3444 * libc/string/strings.tex: Likewise.
3445 * libc/string/strlwr.c: Likewise.
3446 * libc/string/strncasecmp.c: Likewise.
3447 * libc/string/strupr.c: Likewise.
3448 * libc/string/wcscoll.c: Likewise.
3449 * libc/string/wcslcat.c: Likewise.
3450 * libc/string/wcslcpy.c: Likewise.
3451 * libc/string/wcsnlen.c: Likewise.
3452 * libc/string/wcsstr.c: Likewise.
3453 * libc/string/wcstrings.tex: Likewise.
3454 * libc/string/wmemchr.c: Likewise.
3455 * libc/string/wmemcmp.c: Likewise.
3456 * libc/string/wmemcpy.c: Likewise.
3457 * libc/string/wmemmove.c: Likewise.
17c0c97d 3458 * libc/string/wmemset.c: Likewise.
a306ebc9 3459
239c2bf9
JJ
34602005-10-28 Bob Wilson <bob.wilson@acm.org>
3461
3462 * libc/misc/unctrl.c: Replace FUNCTION description.
3463 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
3464 * libc/stdio/getdelim.c: Fix spelling errors.
3465 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
3466 * libc/stdio/putw.c: Likewise.
3467 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
ba3ccd63 3468 documentation.
239c2bf9
JJ
3469 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
3470 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
3471 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
3472 * libc/stdlib/mlock.c: Likewise.
3473 * libc/stdlib/mstats.c: Likewise.
3474 * libc/time/tzlock.c: Likewise.
3475 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
3476 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
ba3ccd63 3477 and hyphenate "pseudo-random".
239c2bf9
JJ
3478 * libc/string/bcmp.c: Remove extra blank lines in documentation.
3479 * libc/string/strncat.c: Likewise.
3480 * libc/string/memchr.c: Remove extra ">" character in documentation.
3481 * libc/string/strcspn.c: Use "characters" instead of "chars".
3482 * libc/string/strpbrk.c: Likewise.
3483 * libc/string/strerror_r.c: Capitalize "GNU".
3484 * libc/string/strnlen.c: Likewise.
3485 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
ba3ccd63 3486 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
239c2bf9
JJ
3487 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
3488 * libc/string/wcschr.c: Likewise.
3489 * libc/string/wcscmp.c: Likewise.
3490 * libc/string/wcscpy.c: Likewise.
3491 * libc/string/wcscspn.c: Likewise.
3492 * libc/string/wcslen.c: Likewise.
3493 * libc/string/wcsncat.c: Likewise.
3494 * libc/string/wcsncmp.c: Likewise.
3495 * libc/string/wcsncpy.c: Likewise.
3496 * libc/string/wcsnlen.c: Likewise.
3497 * libc/string/wcspbrk.c: Likewise.
3498 * libc/string/wcsrchr.c: Likewise.
3499 * libc/string/wcsspn.c: Likewise.
3500 * libc/string/wmemchr.c: Likewise.
3501 * libc/string/wmemcmp.c: Likewise.
3502 * libc/string/wmemcpy.c: Likewise.
3503 * libc/string/wmemset.c: Likewise.
3504 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
3505 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
3506 * libc/string/wcwidth.c: Likewise.
3507 * libm/common/s_modf.c: Remove extra period from documentation.
3508 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
ba3ccd63 3509 documentation.
239c2bf9
JJ
3510 * libm/mathfp/s_isnan.c: Likewise.
3511 * libm/math/s_ldexp.c: Fix punctuation.
3512 * libm/mathfp/s_ldexp.c: Likewise.
3513 * libm/math/w_log.c: Likewise.
3514 * libm/mathfp/s_logarithm.c: Likewise.
3515 * libm/math/w_j0.c: Add spaces to FUNCTION description.
17c0c97d 3516 * libm/mathfp/w_jn.c: Likewise.
239c2bf9 3517
2556eb8d
JJ
35182005-10-26 Shaun Jackman <sjackman@gmail.com>
3519
3520 * libc/posix/scandir.c (scandir): Update the function
3521 prototype to match the header.
3522 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
3523 extraneous #endif.
3524 * libc/sys/linux/sys/lock.h: Do not include
3525 machine/weakalias.h, since it's not used by this file.
3526
c9d71a8d
JJ
35272005-10-26 Jeff Johnston <jjohnstn@redhat.com>
3528
3529 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
3530 directories can override properly.
3531
09968b6d
JJ
35322005-10-20 Jeff Johnston <jjohnstn@redhat.com>
3533
3534 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
3535 gcc is 3.3 or greater, use special gcc builtins.
3536
c70571bd
CV
35372005-10-20 Corinna Vinschen <corinna@vinschen.de>
3538
3539 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
3540
a92822b7
CV
35412005-10-18 Corinna Vinschen <corinna@vinschen.de>
3542
3543 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
3544
d2c2c132
JJ
35452005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3546
3547 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
3548 * libm/common/Makefile.am: Add s_infconst.c support.
3549 * libm/common/Makefile.in: Regenerated.
3550 * libm/common/s_infconst.c: New file with float and
3551 long double infinity support added.
3552 * libm/math/Makefile.am: Remove s_infconst.c support.
3553 * libm/math/Makefile.in: Regenerated.
3554 * libm/math/s_infconst.c: Moved to common directory.
3555 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
3556 * libm/mathfp/Makefile.in: Regenerated.
3557 * libm/mathfp/s_infconst.c: Moved to common directory.
3558
4d57c1ed
JJ
35592005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3560
3561 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
3562 dbgprintf to prevent conflict with new dprintf function.
3563
1012585f
JJ
35642005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3565
3566 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
3567 "nan" processing for systems that have long double support.
3568
e9154015
JJ
35692005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3570
3571 * libc/sys/linux/sys/types.h (int8_t): Add type.
3572
1a869698
JJ
35732005-10-14 Bob Wilson <bob.wilson@acm.org>
3574
ba3ccd63
EB
3575 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
3576 * libm/common/Makefile.in: Regenerate.
3577 * libm/common/common.tex: Delete file.
3578 * libm/math/math.tex: Include .def files from common/.
3579 * libm/mathfp/mathfp.tex: Likewise.
1a869698 3580
e0811fb3
JJ
35812005-10-14 Bob Wilson <bob.wilson@acm.org>
3582
3583 * libc/libc.texinfo (Top): Surround this node with @ifnottex
3584 instead of @ifinfo. Update menu to add Introduction and match
3585 SUBDIRS order.
ba3ccd63 3586 (Introduction): New section.
e0811fb3 3587
e63c98c6
JJ
35882005-10-14 Bob Wilson <bob.wilson@acm.org>
3589
ba3ccd63
EB
3590 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
3591 with "Red Hat newlib C Library".
3592 * libc/sys.tex (Stubs): Likewise.
3593 * libm/math/math.tex (Math): Likewise.
3594 * libm/mathfp/mathfp.tex (Math): Likewise.
e63c98c6 3595
339195bf
JJ
35962005-10-11 Shaun Jackman <sjackman@gmail.com>
3597
3598 * libc/include/stdio.h (dprintf): New declaration.
3599 (vdprintf): Ditto.
3600 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
3601 and vdprintf.c.
3602 * libc/stdio/Makefile.in: Regenerate.
3603 * libc/stdio/dprintf.c: New file.
3604 * libc/stdio/vdprintf.c: New file.
3605 * libc/stdio/stdio.tex (dprintf): New entry.
3606
da71e518
JJ
36072005-10-11 David Weatherford <weath@tensilica.com>
3608
3609 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
17c0c97d 3610 Print "inf" and "nan" in lowercase for e/f/g formats and in
da71e518
JJ
3611 uppercase for E/F/G formats.
3612
f011605a
JJ
36132005-10-07 Bob Wilson <bob.wilson@acm.org>
3614
3615 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
3616 to ENOMEM on failure.
3617
bc037f3a
JJ
36182005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
3619
3620 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
3621
c7e20979
JJ
36222005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
3623
3624 * libc/include/stdint.h: Move magic to set __have_long* to the
3625 beginning. Use #if __have* instead of #if defined(__have*).
3626 Minor typo fixes.
3627
58e78add
JJ
36282005-10-04 James E Wilson <wilson@specifix.com>
3629
3630 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
3631 #error.
3632
8afb8202
JJ
36332005-10-03 Jeff Johnston <jjohnstn@redhat.com>
3634
3635 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
3636 incorporate Ralf's change below.
3637
14491fd0
JJ
36382005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
3639
17c0c97d 3640 * libc/include/stdint.h:
14491fd0
JJ
3641 Use __INTMAX_TYPE__ to derive intmax_t.
3642 Use __UINTMAX_TYPE__ to derive uintmax_t.
3643 Fix minor typo.
3644
ee694aea
JJ
36452005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
3646
17c0c97d 3647 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
ee694aea
JJ
3648 handling GCC >= 4.
3649
9f1926f2
JJ
36502005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3651
3652 * libc/sys/linux/include/stdint.h: Update to match functionality
3653 of generic newlib stdint.h.
3654
0ce4fcef
JJ
36552005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3656
3657 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
3658 and do not #undef the macro after it is used. Fix typos.
3659 Also change 64-bit constants to use the __have_long64 and
3660 __have_longlong64 flags to determine if long or long long
3661 constants should be used.
3662 * libc/include/inttypes.h: Include stddef.h to get wchar_t
3663 type defined.
3664
17060817
JJ
36652005-09-20 Shaun Jackman <sjackman@gmail.com>
3666
3667 * libc/include/stdint.h: Fix typo in names of
3668 LEAST macros.
3669
1e1d1d3d
JJ
36702005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3671
3672 * libc/sys/rtems/include/inttypes.h: Moved to...
3673 * libc/include/inttypes.h: ...here.
3674
cddfc170
JJ
36752005-09-19 Jeff Johnston <jjohnstn@redhat.com>
3676
3677 * libc/sys/rtems/include/stdint.h: Moved to...
3678 * libc/include/stdint.h: ...here.
3679
b10ab725
JJ
36802005-09-08 Jeff Johnston <jjohnstn@redhat.com>
3681
3682 * Makefile.am: Add include files under bits sub-directory.
3683 * Makefile.in: Regenerated.
3684 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
3685 actual value of 1 to be compatible with newer glibc headers.
3686 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
3687 glibc headers.
3688 * libc/sys/linux/sys/dirent.h: Ditto.
3689 * libc/sys/linux/argp/argp-xinl.c: Ditto.
3690 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
3691 profile_fixup routines are marked used so they won't be
3692 optimized away.
3693 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
3694 to mark functions as weak.
3695 * libc/sys/linux/dl/dl-open.c: Ditto.
3696 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
3697 rules about lvalues.
3698 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
3699 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
3700 weak_extern macro to mark functions as weak. Instead always
3701 use #pragma weak.
3702 * iconvdata/jis0208.h: Fix to work with gcc4.
3703 * libc/sys/linux/dl/dl-load.c: Ditto.
3704 * libc/sys/linux/dl/dl-reloc.c: Ditto.
3705 * libc/sys/linux/dl/do-rel.h: Ditto.
3706 * libc/sys/linux/dl/dynamic-link.h: Ditto.
3707 * libc/sys/linux/include/ltdl.h: Ditto.
3708 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
3709 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
3710 * libc/sys/linux/net/ns_ntoa.c: Ditto.
3711 * libc/sys/linux/bits/initspin.h: New file.
3712 * libc/sys/linux/bits/libc-lock.h: Ditto.
3713 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
3714 * libc/sys/linux/bits/typesizes.h: Ditto.
3715
7b786e48
JJ
37162005-09-08 Eric Blake <ebb9@byu.net>
3717
3718 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
3719 before is NULL.
3720
32b09d75
JJ
37212005-09-08 Brian Dessent <brian@dessent.net>
3722
3723 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
3724 mantissa.
3725 * s_lrint.c: Ditto.
3726
8f36ef2f
JJ
37272005-09-02 Jeff Johnston <jjohnstn@redhat.com>
3728
3729 * libc/include/stdio.h: Add prototype for viprintf.
3730
cebe43dd
JJ
37312005-09-01 Jeff Johnston <jjohnstn@redhat.com>
3732
3733 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
3734 any positive power results in 0.
3735 * libm/mathfp/sf_pow.c (powf): Ditto.
3736
45c8bb8f
JJ
37372005-08-31 Paul Brook <paul@codesourcery.com>
3738
3739 * configure.host: Set have_crt0 to no for Arm targts when not
3740 providing syscalls. Set sys_dir=arm unconditionally.
3741 Default have_crt0 based on sys_dir.
3742 * configure.in: Use have_crt0.
3743 * libc/configure.in: Ditto.
3744 * libc/sys/configure.in: Ditto.
3745 * configure: Regenerate.
3746 * libc/configure: Regenerate.
3747 * libc/sys/configure: Regenerate.
3748 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
3749 Only build other files when providing syscalls.
3750 * libc/sys/arm/Makefile.in: Regenerate.
3751 * libc/sys/arm/aeabi_atexit.c: New file.
3752
dbeee890
CF
37532005-08-26 Christopher Faylor <cgf@timesys.com>
3754
3755 * libc/include/string.h: Revert previous change.
3756
377d3ea0
CF
37572005-08-25 Christopher Faylor <cgf@timesys.com>
3758
3759 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
3760
4797a77c
JJ
37612005-08-22 Shaun Jackman <sjackman@gmail.com>
3762
3763 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
3764 define _opendir as opendir, _readdir as readdir, and
3765 _closedir as closedir so that the implementations in
3766 libc/posix will be used.
3767
2e73582e
DD
37682005-08-10 DJ Delorie <dj@redhat.com>
3769
3770 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
3771
234cf97f
JJ
37722005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
3773
3774 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
3775 * libm/common/s_max.c: Ditto.
3776 * libm/common/sf_fmin.c: Ditto.
3777 * libm/common/s_min.c: Ditto.
3778
56448afa
JJ
37792005-08-10 DJ Delorie <dj@redhat.com>
3780
3781 * configure.host: Add m32c support.
3782 * libc/include/machine/ieeefp.h: Likewise.
3783 * libc/include/machine/setjmp.h: Likewise.
3784 * libc/include/sys/config.h: Likewise.
3785 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
3786 * libc/machine/m32c/aclocal.m4: New file.
3787 * libc/machine/m32c/configure: Ditto.
3788 * libc/machine/m32c/configure.in: Ditto.
3789 * libc/machine/m32c/Makefile.am: Ditto.
3790 * libc/machine/m32c/Makefile.in: Ditto.
3791 * libc/machine/m32c/setjmp.S: Ditto.
3792
0c5c6c23
JJ
37932005-08-02 Bob Wilson <bob.wilson@acm.org>
3794
ba3ccd63
EB
3795 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
3796 to the value for 2^126.
0c5c6c23 3797
12499c7a
HPN
37982005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
3799
3800 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
3801 used.
3802
395a327d 38032005-07-20 Bob Wilson <bob.wilson@acm.org>
ba3ccd63 3804 Darin Petkov <darin@tensilica.com>
395a327d
JJ
3805
3806 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
3807
108d7dd8
JJ
38082005-07-19 Paul Brook <paul@codesourcery.com>
3809
3810 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
3811
b776efc5
JJ
38122005-07-18 Joseph S. Myers <joseph@codesourcery.com>
3813
3814 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
3815 names after PASS and FAIL which do not depend on source directory
3816 name or on whether test passed or failed.
3817 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
3818
88540e24
JJ
38192005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
3820
3821 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
3822
85d62190 38232005-07-07 Shaun Jackman <sjackman@gmail.com>
b32adfc5 3824
88540e24 3825 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
b32adfc5
JJ
3826 twice for the same directory. _closedir calls free, and freeing
3827 the same pointer twice may cause a crash.
3828
dee9edd9
AH
38292005-07-06 Aldy Hernandez <aldyh@redhat.com>
3830
ba3ccd63
EB
3831 * configure.host: Added entry for ms1*.
3832 * libc/include/machine/ieeefp.h: Handle ms1.
3833 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
3834 * libc/machine/ms1/aclocal.m4: New.
3835 * libc/machine/ms1/configure: New.
3836 * libc/machine/ms1/configure.in: New.
3837 * libc/machine/ms1/Makefile.am: New.
3838 * libc/machine/ms1/Makefile.in: New.
3839 * libc/machine/ms1/setjmp.S: New.
dee9edd9 3840
cec1d3b4
JJ
38412005-07-04 Mark Mitchell <mark@codesourcery.com>
3842
3843 * Makefile.am (site.exp): Set tmpdir.
3844 * Makefile.in: Regenerated.
3845 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
3846 executables in $tmpdir.
3847 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
3848 libgloss version if not running in the build directory.
3849 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
3850 $tmpdir.
3851 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
3852 in $tmpdir.
3853
25d209f1
JJ
38542005-06-28 Dave Korn <dave.korn@artimi.com>
3855
3856 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
3857 and miscalculation caused by fp representation of zero.
3858 * libm/common/sf_lrint.c (lrintf): Likewise.
3859
68cdbb18
JJ
38602005-06-16 Christopher Faylor <cgf@timesys.com>
3861
3862 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
3863 determine characteristics of long double. Use a union instead.
3864 * ldtoa.c (_ldtoa_r): Ditto.
3865 (_ldcheck): Ditto.
3866 (_strtold): Ditto.
3867 (union uconv): New union.
3868
15c04fd1
JJ
38692005-06-03 Jeff Johnston <jjohnstn@redhat.com>
3870
3871 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
3872 instead of memcpy.
3873
cf55bf5e
JJ
38742005-05-12 Jeff Johnston <jjohnstn@redhat.com>
3875
3876 * configure.host (mn10300-*): Add long long I/O support by default.
3877
b6e654c4
JJ
38782005-05-12 Jeff Johnston <jjohnstn@redhat.com>
3879
3880 * libc/sys/linux/getpwuid.c: Removed.
3881 * libc/sys/linux/getpwnam.c: Removed.
3882 * libc/sys/linux/getpwent.c: New file containing logic
3883 from files removed above. This allows overriding of file
3884 in libc/unix.
3885 * libc/sys/linux/Makefile.am: Support changes above.
3886 * libc/sys/linux/Makefile.in: Regenerated.
3887
5456408b
JJ
38882005-04-28 Jeff Johnston <jjohnstn@redhat.com>
3889
3890 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
3891 when checking for multiple flags.
3892
1c74754f
HPN
38932005-04-18 Hans-Peter Nilsson <hp@axis.com>
3894
3895 * configure.host <cris-*-* | crisv32-*-*>: Set
ba3ccd63 3896 default_newlib_io_long_long="yes".
1c74754f 3897
6e75bff6
JJ
38982005-04-08 Jeff Johnston <jjohnstn@redhat.com>
3899
3900 * libc/include/libgen.h: New file.
3901
39022005-04-08 Shaun Jackman <sjackman@gmail.com>
3903
3904 * libc/unix/Makefile.am: Add support for basename and dirname.
3905 * libc/unix/Makefile.in: Regenerated.
3906 * libc/unix/basename.c: New file.
3907 * libc/unix/dirname.c: New file.
3908
95c136c4
JJ
39092005-04-07 Shaun Jackman <sjackman@gmail.com>
3910
3911 * libc/sys/linux/inode.c (lchown): New function.
3912
9ae26f7e
JJ
39132005-04-07 Shaun Jackman <sjackman@gmail.com>
3914
3915 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
3916 ELIX level is defined.
3917 * libc/unix/Makefile.in: Regenerated.
3918
85da7039
JJ
39192005-04-05 Dave Korn <dave.korn@artimi.com>
3920
3921 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
3922 something that looks like a "NaN", put back the characters processed.
3923
fefc73a0
CV
39242005-04-01 Corinna Vinschen <corinna@vinschen.de>
3925
3926 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
3927
e633fde1
CF
39282005-03-23 Christopher Faylor <cgf@timesys.com>
3929
3930 * configure.host: For cygwin, redefine CC with cygwin include directory
3931 first to mimic the behavior of the top-level configury. Move include
3932 directory out of newlib_cflags.
3933
859c94e8
JJ
39342005-03-22 Jeff Johnston <jjohnstn@redhat.com>
3935
3936 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
17c0c97d 3937 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
859c94e8
JJ
3938 than errno.
3939
7e3fd32b
CF
39402005-03-22 Christopher Faylor <cgf@timesys.com>
3941
3942 * libc/include/machine/_types.h: Make trivial change to comment to
3943 avoid a spurious warning from gcc.
3944
d4eb8920
JJ
39452005-03-21 Nicholas Wourms <nwourms@netscape.net>
3946
3947 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
3948 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
3949 reent.h include.
3950
45030958 39512005-03-18 Hans-Peter Nilsson <hp@axis.com>
ba3ccd63 3952 Corinna Vinschen <corinna@vinschen.de>
45030958 3953
ba3ccd63
EB
3954 * libc/include/ctype.h: Remove invalid +1 offset from
3955 ctype macro references to __ctype_ptr.
3956 (_ctype_): Move declaration outside #ifndef __cplusplus.
45030958 3957
5c9b5ac7
CV
39582005-03-18 Corinna Vinschen <corinna@vinschen.de>
3959
3960 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
3961 evaluate first parameter only once.
3962 (siglongjmp): Ditto.
3963
dd801fda
JJ
39642005-03-17 Jeff Johnston <jjohnstn@redhat.com>
3965
3966 * configure.in: Add new check to see if compiler supports
3967 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
3968 * configure: Regenerated.
3969 * Makefile.in: Ditto.
3970 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
3971 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
3972 aliasing the _ctype_ array to _ctype_b.
3973 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
3974 _ctype_ as deprecated.
3975
333eabc6
HPN
39762005-03-17 Hans-Peter Nilsson <hp@axis.com>
3977
3978 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
3979 -DCOMPACT_CTYPE.
3980
df5a5b35
JJ
39812005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3982
3983 * libc/sys/rtems/include/inttypes.h: New file.
3984 * libc/sys/rtems/include/stdint.h: Ditto.
3985
9d385fb0
JJ
39862005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3987
3988 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
3989
2e7d9bf9
JJ
39902005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3991
3992 * libc/include/machine/_types.h: New file.
3993 * libc/include/sys/types.h: Do not check for __rtems__
3994 when including <machine/_types.h>. Remove some redundant
3995 declarations now that <machine/_types.h> is included.
3996 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
3997 shared header file.
3998
92a7e06e
JJ
39992005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
4000
4001 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
4002 L qualifier for these long constants.
4003
1139537a
JJ
40042005-02-25 Eric Blake <ebb9@byu.net>
4005
4006 * libc/include/time.h (__tzrule_struct): Make offset long, since
4007 a 16-bit int overflows on a 12-hour offset.
4008 * libc/sys/linux/include/time.h: Ditto.
4009 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
4010 * libc/time/mktm_r.c: Ditto.
4011 * libc/time/gettzinfo.c: Ditto.
4012 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
4013 years. Fix '%z' to use long, not int.
4014
f4fd7b4c
JJ
40152005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
4016
4017 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
4018 manipulate float values in integer form.
4019 * libm/common/sf_round.c: Ditto.
4020
f2f8a9a2
JJ
40212005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
4022
4023 * libc/include/sys/types.h [__rtems__]: Include new
4024 header file machine/_types.h.
4025 * libc/include/machine/types.h: Ditto.
4026 * libc/sys/rtems/machine/_types.h: New file.
4027
39fd43d7
CV
40282005-02-23 Corinna Vinschen <corinna@vinschen.de>
4029
4030 * libc/include/time.h (_timezone): Change to long also for Cygwin.
4031 (timezone): Drop cast from definition.
4032
6b9a74f9
JJ
40332005-02-23 Jeff Johnston <jjohnstn@redhat.com>
4034
4035 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
4036 (__tzrule_type, __tzinfo_type): New types.
4037 (__gettzinfo): New function.
4038 * libc/sys/linux/include/time.h: Ditto.
4039 * libc/time/Makefile.am: Add gettzinfo.c.
4040 * libc/time/Makefile.in: Regenerated.
4041 * libc/time/local.h: Moved __tzrule_type to time.h.
4042 * libc/time/mktime.c: Call __gettzinfo to reference
4043 __tznorth, __tzyear, and __tzrule array.
4044 * libc/time/mktm_r.c: Ditto.
4045 * libc/time/strftime.c: Ditto.
4046 * libc/time/tzset_r.c: Ditto. Also remove definition
4047 of __tzrule which is now in gettzinfo.c. Change _timezone
4048 references to not cast to time_t.
4049 * libc/time/gettzinfo.c: New file.
4050
6015cf9f
CV
40512005-02-23 Corinna Vinschen <corinna@vinschen.de>
4052
4053 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
4054
5e4c05da
CV
40552005-02-22 Corinna Vinschen <corinna@vinschen.de>
4056
4057 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
4058
f1d439fc
JJ
40592005-02-16 Eric Blake <ebb9@byu.net>
4060
4061 * libc/time/time.tex: Improve the documentation.
4062 * libc/time/strftime.c: Improve the documentation.
4063 (iso_year_adjust): New helper function.
4064 (strftime): Simplify '%E' and '%O'. Change '%c' to use
4065 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
4066 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
4067 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
4068 Avoid core dumps on valid inputs (maxsize == 0, or
4069 tim_p->tm_isdst > 1).
4070
18d3a03b
CV
40712005-02-08 Corinna Vinschen <corinna@vinschen.de>
4072
4073 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
4074 members to uid_t and gid_t according to SUSv3.
4075 * libc/include/sys/time.h (utimes): Change second parameter
4076 to const according to SUSv3.
4077
1159e0fd
JJ
40782005-02-07 Antony King <antony.king@st.com>
4079
4080 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
4081 called before _flockfile to prevent lock object use before
4082 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
4083 take a struct _reent * instead of a FILE *.
4084 * libc/stdio/fclose.c (_fclose_r): Ditto.
4085 * libc/stdio/feof.c (feof): Ditto.
4086 * libc/stdio/ferror.c (ferror): Ditto.
4087 * libc/stdio/fflush.c (fflush): Ditto.
4088 * libc/stdio/fgetc.c (fgetc): Ditto.
4089 * libc/stdio/fgets.c (fgets): Ditto.
4090 * libc/stdio/fileno.c (fileno): Ditto.
4091 * libc/stdio/fputc.c (fputc): Ditto.
4092 * libc/stdio/fputs.c (fputs): Ditto.
4093 * libc/stdio/fread.c (fread): Ditto.
4094 * libc/stdio/freopen.c (_freopen_r): Ditto.
4095 * libc/stdio/fseek.c (_fseek_r): Ditto.
4096 * libc/stdio/ftell.c (_ftell_r): Ditto.
4097 * libc/stdio/fwrite.c (fwrite): Ditto.
4098 * libc/stdio/getc.c (getc): Ditto.
4099 * libc/stdio/getdelim.c (__getdelim): Ditto.
4100 * libc/stdio/putc.c (putc): Ditto.
4101 * libc/stdio/setvbuf.c (setvbuf): Ditto.
4102 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
4103 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
4104 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
4105 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
4106 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
4107 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
4108 _reent * instead of a FILE * and so replace incorrect use of
4109 _REENT with argument.
4110 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
4111 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
4112 CHECK_INIT() take a struct _reent * instead of a FILE *.
4113 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
4114 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
4115 * libc/stdio/perror.c (perror): Ditto.
4116 * libc/stdio/printf.c (printf, _printf_r): Ditto.
4117 * libc/stdio/putchar.c (putchar): Ditto.
4118 * libc/stdio/puts.c (puts): Ditto.
4119 * libc/stdio/refill.c (__srefill): Ditto.
4120 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
4121 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
4122 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
4123 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
4124 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
4125 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
4126 * libc/stdio/wbuf.c (__swbuf): Ditto.
4127 * libc/stdio/wsetup.c (__swsetup): Ditto.
4128 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
4129 * libc/stdlib/mstats.c (_mstats_r): Ditto.
4130 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
4131 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
4132 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
4133 to _flockfile and _funlockfile; rely on locking in _ftell_r.
4134 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
4135 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
4136 initialision of _data field in FILE structure.
4137 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
4138
3d915670
JJ
41392005-02-07 Jeff Johnston <jjohnstn@redhat.com>
4140
4141 * libc/stdio/findfp.c (__sinit): Protect with new lock.
4142 (__sinit_lock): New lock.
4143 (__sinit_lock_acquire, __sinit_lock_release): New functions.
4144 * libc/stdio/local.h: Add reference to new __sinit locking
4145 functions.
4146
b59cab1e
JJ
41472005-02-07 Jeff Johnston <jjohnstn@redhat.com>
4148
4149 * libc/include/math.h (isfinite, isnormal, isunordered): Change
4150 input variable names to avoid mixups with nesting macros.
4151
1815fdea
JJ
41522005-01-27 Hans-Peter Nilsson <hp@axis.com>
4153
4154 * configure.host: Add support for cris-*-* and crisv32-*-*.
4155 * libc/include/machine/ieeefp.h: Ditto.
4156 * libc/include/machine/setjmp.h: Ditto.
4157 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
4158 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
4159 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
4160 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
4161 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
4162 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
4163 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
4164 files.
4165
f7d4d41a
JJ
41662005-01-27 Hans-Peter Nilsson <hp@axis.com>
4167
4168 * testsuite/newlib.string/memmove1.c: New test.
4169
1319dec6
JJ
41702005-01-27 Hans-Peter Nilsson <hp@axis.com>
4171
4172 * testsuite/include/check.h: Include stdlib.h.
4173
b45e65b0
JJ
41742005-01-27 Hans-Peter Nilsson <hp@axis.com>
4175
4176 * Makefile.am (stmp-targ-include): Support include header files
4177 from machine directories.
e9743354 4178 (install-data-local): Ditto.
b45e65b0
JJ
4179 * Makefile.in: Regenerate.
4180
dbfa92dd
JJ
41812005-01-24 Jeff Johnston <jjohnstn@redhat.com>
4182
4183 * libc/include/string.h: Remove Linux-specific declaration of
4184 strsignal and add #include <sys/string.h>.
4185 * libc/include/sys/string.h: New file.
4186 * libc/include/sys/linux/sys/string.h: New file with strsignal
4187 declaration deleted above.
4188
6cb0c055
JJ
41892005-01-20 Jeff Johnston <jjohnstn@redhat.com>
4190
4191 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
4192 to POSIX standard for "C" locale. Allow %E and %O modifiers
4193 to be ignored as long as they precede valid specifiers according
4194 to POSIX.
4195
52429807
JJ
41962005-01-19 Shaun Jackman <sjackman@gmail.com>
4197
4198 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
4199 environment variable is set.
4200
f693170a
JJ
42012005-01-19 Shaun Jackman <sjackman@gmail.com>
4202
ba3ccd63 4203 * tzset_r.c (_tzname): Add a comma.
f693170a 4204
464d01bf
AH
42052005-01-18 Aldy Hernandez <aldyh@redhat.com>
4206
4207 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
4208 _VFPRINTF_R.
4209
f7a74742 42102005-01-07 Paul Brook <paul@codesourcery.com>
17c0c97d 4211
f7a74742
JJ
4212 * configure.in: Add test for .init_array.
4213 * configure: Regenerate.
4214 * newlib.hin: Add HAVE_INITFINI_ARRAY.
4215 * libc/misc/Makefile.am: Add init.c
4216 * libc/misc/Makefile.in: Regenerate.
4217 * libc/misc/init.c: New file.
4218 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
4219 _init/_fini if they exist.
17c0c97d 4220
8fa6cb9a
JJ
42212005-01-06 Jeff Johnston <jjohnstn@redhat.com>
4222
4223 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
4224 * (strtof): Ditto.
4225 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
4226 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
4227 functions for use by strtod and strtof.
4228 * Makefile.in: Regenerated.
17c0c97d 4229
034a3909 42302005-01-06 Hans-Peter Nilsson <hp@axis.com>
17c0c97d 4231
034a3909
JJ
4232 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
4233 bit-test in combination with NULL test.
17c0c97d 4234
9918ea2d 42352005-01-06 Hans-Peter Nilsson <hp@axis.com>
17c0c97d 4236
ba3ccd63 4237 * README: Fix typo of LGPL. Change "license" to "copyright".
17c0c97d 4238
5cc3f592
JJ
42392004-12-17 Jeff Johnston <jjohnstn@redhat.com>
4240
4241 * NEWS: Update with 1.13.0 info.
4242 * README: Ditto.
4243 * acinclude.m4: Change version number to 1.13.0.
4244 * aclocal.m4: Regenerated.
4245 * configure: Ditto.
4246 * doc/aclocal.m4: Ditto.
4247 * doc/configure: Ditto.
4248 * libc/*/aclocal.m4: Ditto.
4249 * libc/*/configure: Ditto.
4250 * libc/libc.texinfo: Ditto.
4251 * libm/*/aclocal.m4: Ditto.
4252 * libm/*/configure: Ditto.
4253 * libm/libm.texinfo: Ditto.
4254 * libc/sys/linux/shared.ld: Add VERS_1.13.
4255
d8ae996c
JJ
42562004-12-17 Christian Groessler <chris@groessler.org>
4257
4258 * libc/machine/z8k/memcmp.S: New file.
4259 * libc/machine/z8k/memcpy.S: Ditto.
4260 * libc/machine/z8k/memmove.S: Ditto.
4261 * libc/machine/z8k/memset.S: Ditto.
4262 * libc/machine/z8k/Makefile.am: Add new files.
4263 * libc/machine/z8k/Makefile.in: Regenerated.
4264 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
4265 part. Implement Z8002 stdcall version.
4266
82673116
JJ
42672004-12-13 Jeff Johnston <jjohnstn@redhat.com>
4268
4269 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
4270 a low-level read if we don't get the full amount of bytes so
4271 EOF or error flags will be set.
4272
0082d4cf
JJ
42732004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
4274
4275 * libc/time/tzset_r (_tzset_r): Properly skip over
4276 '/' when it is detected.
4277
3b54b74f
JJ
42782004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
4279
4280 * libc/time/tzset_r (_tzset_r): Fix loop.
4281
4b30e154
JJ
42822004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
4283
4284 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
4285 m_day.
4286 (__tzcalc_limits): Fix reference to month array to be zero-based.
4287
465eab2e
JJ
42882004-12-07 Jeff Johnston <jjohnstn@redhat.com>
4289
4290 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
4291 and usleep.
4292
a2b1a849
JJ
42932004-12-03 Jeff Johnston <jjohnstn@redhat.com>
4294
4295 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
4296 libgcc dependencies.
4297 (libm_la_LDFLAGS): Ditto.
4298 * Makefile.in: Regenerated.
4299
c80a1731
JJ
43002004-12-03 Shaun Jackman <sjackman@gmail.com>
4301
4302 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
4303 our link to use readlink so as to preserve any relative link created
4304 by install-toollibLIBRARIES.
4305 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
4306
70e9da42
JJ
43072004-12-02 Shaun Jackman <sjackman@gmail.com>
4308
4309 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
4310 time_t before including sys/stat.h, which uses it.
4311 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
4312 <linux/time.h> just prior to definition of __KERNEL__ so as to
4313 allow building on Debian Linux where otherwise, mktime would
4314 be redefined.
4315
a330d85a
JJ
43162004-11-26 Paul Brook <paul@codesourcery.com>
4317
4318 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
17c0c97d 4319
c41a1cb7
JJ
43202004-11-24 Jeff Johnston <jjohnstn@redhat.com>
4321
4322 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
9aa189be 4323 const for value string parameter to match Single Unix and glibc.
c41a1cb7
JJ
4324 * libc/stdlib/putenv.c: Ditto.
4325 * libc/stdlib/putenv_r.c: Ditto.
4326
16ac96ee
JJ
43272004-11-24 Jeff Johnston <jjohnstn@redhat.com>
4328
4329 * libc/stdio/Makefile.am: Fix missing vfscanf.
4330 * libc/stdio/Makefile.in: Regenerated.
17c0c97d 4331
3bf09147 43322004-11-23 Jeff Johnston <jjohnstn@redhat.com>
17c0c97d 4333
3bf09147
JJ
4334 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
4335 do some reordering.
4336 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
4337 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
4338 family functions.
4339 * libc/stdio/Makefile.in: Regenerated.
4340 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
4341 * libc/stdio/iprintf.c: Ditto.
4342 * libc/stdio/local.h (__svfiscanf_r): New prototype.
4343 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
4344 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
4345 * libc/stdio/stdio.tex: Add new functions.
4346 * libc/stdio/vfscanf.c: Split out __sccl function to separate
4347 file and add special name defines so this file can be used
4348 to build vfiscanf.o.
4349 * libc/stdio/asiprintf.c: New file.
4350 * libc/stdio/fiscanf.c: Ditto.
4351 * libc/stdio/iscanf.c: Ditto.
4352 * libc/stdio/sccl.c: Ditto.
4353 * libc/stdio/siscanf.c: Ditto.
4354 * libc/stdio/vasiprintf.c: Ditto.
4355 * libc/stdio/viprintf.c: Ditto.
4356 * libc/stdio/viscanf.c: Ditto.
4357 * libc/stdio/vsiprintf.c: Ditto.
4358 * libc/stdio/vsiscanf.c: Ditto.
4359 * libc/stdio/vsniprintf.c: Ditto.
4360
0f0fcb04 43612004-11-19 Shaun Jackman <sjackman@gmail.com>
17c0c97d 4362
ba3ccd63
EB
4363 * libc/include/stdio.h: Add sniprintf.
4364 * libc/stdio/Makefile.am: Add sniprintf.c.
4365 * libc/stdio/Makefile.in: Regenerated.
4366 * libc/stdio/sniprintf.c: New file.
4367 * libc/stdio/stdio.tex: Add sniprintf.
17c0c97d 4368
1f8f7e2d
CF
43692004-11-17 Christopher Faylor <cgf@timesys.com>
4370
4371 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
4372 EOF flag if successful.
4373
b08d08c7
CF
43742004-10-28 Christopher Faylor <cgf@timesys.com>
4375
4376 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
334ba104 4377 so that all relevant definitions have been performed for use in the
b08d08c7
CF
4378 include.
4379
65b1964f
JJ
43802004-10-26 Jason Tishler <jason@tishler.net>
4381
4382 * libc/stdio/fread.c (fread): Fix return value for unbuffered
4383 fread.
4384
6382b7e3 43852004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
06b5ef6e
JJ
4386
4387 * libc/include/machine/setjmp.h: Add AVR support.
4388 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
4389
73131c2d 43902004-10-08 Jeff Johnston <jjohnstn@redhat.com>
17c0c97d 4391
ba3ccd63
EB
4392 * libc/include/sys/signal.h: If <signal.h> didn't include
4393 this header file, include <signal.h> to account for
4394 applications that take advantage that the two header
4395 files are the same in glibc.
17c0c97d 4396
1185687a
JJ
43972004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
4398
ba3ccd63
EB
4399 * configure.host: Add support for crx.
4400 * libc/include/machine/ieeefp.h: Ditto.
4401 * libc/include/machine/setjmp.h: Ditto.
4402 * libc/machine/crx/Makefile.am: New file.
4403 * libc/machine/crx/configure.in: Ditto.
4404 * libc/machine/crx/setjmp.S: Ditto.
4405 * libc/machine/crx/getenv.c: Ditto.
4406 * libc/machine/crx/aclocal.m4: Generate.
4407 * libc/machine/crx/configure: Ditto.
4408 * libc/machine/crx/Makefile.in: Ditto.
4409 * libc/machine/crx/sys/asm.h: New file.
4410 * libc/machine/crx/sys/libh.h: Ditto.
4411 * libc/machine/crx/sys/syscall.h: Ditto.
1185687a 4412
423152ed
JJ
44132004-10-05 Jeff Johnston <jjohnstn@redhat.com>
4414
4415 * Makefile.am (stmp-targ-include): Support sys header files
4416 from machine directories.
4417 * Makefile.in: Regenerated.
4418
3ea9de76
JJ
44192004-10-04 Jeff Johnston <jjohnstn@redhat.com>
4420
4421 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
4422 count skipped zero characters as part of the nread count for %n.
4423 * libc/machine/powerpc/vfscanf.c: Ditto.
4424
2a6e1223
JJ
44252004-09-24 Jeff Johnston <jjohnstn@redhat.com>
4426
4427 * libc/stdio/local.h: Include <stdlib.h>.
4428
d163f2fc
CV
44292004-09-24 Corinna Vinschen <corinna@vinschen.de>
4430
4431 * libc/stdio/fread.c (fread): Include <malloc.h>.
4432
602de582
JJ
44332004-09-22 Jeff Johnston <jjohnstn@redhat.com>
4434
4435 * libc/stdio/fread.c (fread): For non-space-optimized case,
4436 add special code for unbuffered files to use user buffer and
4437 only require one low-level system read.
4438
32e73f4d
ILT
44392004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
4440
4441 * libc/machine/xscale/setjmp.S: New file, copied from
4442 libc/machine/arm/setjmp.S.
4443 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
4444 * libc/machine/xscale/Makefile.in: Regenerate.
4445
ed6859b8
JJ
44462004-09-16 Antony King <antony.king@st.com>
4447
4448 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
4449 with locking API.
17c0c97d 4450 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
ed6859b8
JJ
4451 check for__SSTR in _flags and if set, skip lock request.
4452 (_funlockfile)[!SINGLE_THREAD]: Ditto.
4453 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
4454 not NULL.
4455 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
4456 initialisation of _file to -1 in local FILE.
4457 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
4458 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
4459 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
4460 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
4461 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
4462 _flags in local FILE to prevent locking.
4463 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
4464
7a0f6966
JJ
44652004-09-16 Antony King <antony.king@st.com>
4466
4467 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
4468 and only walk the reentrancy parameter.
4469 (_fwalk_reent): Ditto.
4470 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
4471
c77672c0
JJ
44722004-09-16 Antony King <antony.king@st.com>
4473
4474 * libc/stdio64/freopen64.c: Remove casting of fp lock to
4475 _LOCK_RECURSIVE_T.
4476
5c44c2e5
JJ
44772004-09-16 Antony King <antony.king@st.com>
4478
4479 * libc/time/tzlock.c: Add default stubs that use generic
4480 locking code.
4481
14613e5e
JJ
44822004-09-16 Antony King <antony.king@st.com>
4483
4484 * libc/ctype/ctype.tex: Added missing documentation.
4485 * libc/stdio/stdio.tex Ditto.
4486 * libc/stdlib/stdlib.tex Ditto.
4487 * libc/string/strings.tex Ditto.
4488 * libc/time/time.tex: Ditto.
4489 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
4490
181cb051
JJ
44912004-09-15 Corinna Vinschen <vinschen@redhat.com>
4492
4493 * libc/reent/impure.c (reent_data): Define as alias to impure_data
4494 when building for Cygwin.
4495 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
4496 _global_impure_ptr.
4497
51d4a7ea
JJ
44982004-09-15 Jeff Johnston <jjohnstn@redhat.com>
4499
4500 * configure.host: Reverting 2004-09-14 change as fix has occurred on
4501 Cygwin side.
4502 * configure.in: Ditto.
4503 * libc/configure.in: Ditto.
4504 * libc/sys/configure.in: Ditto.
4505 * configure: Ditto.
4506 * libc/configure: Ditto.
4507 * libc/sys/configure: Ditto.
4508 * libc/include/sys/reent.h: Ditto.
4509 * libc/stdlib/__atexit.c: Ditto.
4510 * libc/stdlib/__call_atexit.c: Ditto.
4511 * libc/stdlib/cxa_atexit.c: Ditto.
4512 * libc/stdlib/cxa_finalize.c: Ditto.
4513 * libc/sys/cygwin/Makefile.am: Removed again.
4514 * libc/sys/cygwin/Makefile.in: Ditto.
4515 * libc/sys/cygwin/aclocal.m4: Ditto.
4516 * libc/sys/cygwin/configure: Ditto.
4517 * libc/sys/cygwin/configure.in: Ditto.
4518 * libc/sys/cygwin/dummy.c: Ditto.
4519 * libc/sys/cygwin/sys/reent.h: Ditto.
4520
98650d2f
JJ
45212004-09-14 Jeff Johnston <jjohnstn@redhat.com>
4522
4523 * configure.host: Add Cygwin sys directory.
4524 * configure.in: Do not set CRT0 for cygwin.
4525 * libc/configure.in: Ditto.
4526 * libc/sys/configure.in: Ditto.
4527 * configure: Regenerated.
4528 * libc/configure: Ditto.
4529 * libc/sys/configure: Ditto.
4530 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
4531 * libc/stdlib/__atexit.c: Keep cxa support protected by new
4532 __REENT_HAS_CXA_SUPPORT flag.
4533 * libc/stdlib/__call_atexit.c: Ditto.
4534 * libc/stdlib/cxa_atexit.c: Ditto.
4535 * libc/stdlib/cxa_finalize.c: Ditto.
4536 * libc/sys/cygwin/Makefile.am: New file.
4537 * libc/sys/cygwin/Makefile.in: Ditto.
4538 * libc/sys/cygwin/aclocal.m4: Ditto.
4539 * libc/sys/cygwin/configure: Ditto.
4540 * libc/sys/cygwin/configure.in: Ditto.
4541 * libc/sys/cygwin/dummy.c: Ditto.
4542 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
4543 version of reent.h.
4544
d4c8e53b
JJ
45452004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4546
4547 * libc/iconv/iconv.tex: Updated with new content.
4548 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
4549 instead of NLS_DEFAULT_NLSPATH.
4550 * libc/iconv/lib/iconvnls.h: Fix typo.
4551 * libc/include/sys/iconvnls.h: New file.
4552
0c8593cf
JJ
45532004-09-09 Paul Brook <paul@codesourcery.com>
4554
4555 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
4556 and _is_cxa.
4557 (struct _atexit): Add _next when _REENT_SMALL.
4558 (struct _reent): Add _atexit0 when _REENT_SMALL.
4559 (_REENT_INIT_PTR): Adjust.
4560 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
4561 __call_exit.c.
4562 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
4563 * libc/stdlib/Makefile.in: Regenerate.
4564 * libc/stdlib/__atexit.c: New file.
4565 * libc/stdlib/__call_atexit.c: New file.
4566 * libc/stdlib/atexit.h: Remove old definitions. Add new.
4567 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
4568 * libc/stdlib/cxa_atexit.c: New file.
4569 * libc/stdlib/cxa_finalize.c: New file.
4570 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
4571 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
4572 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
4573 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
4574 _on_exit_args_ptr.
4575
c6ed5a85
JJ
45762004-08-23 Jeff Johnston <jjohnstn@redhat.com>
4577
4578 * libc/include/sys/unistd.h (getpass): Change prototype to use
4579 const instead of __const.
4580
721a934c
JJ
45812004-08-16 Nathan Sidwell <nathan@codesourcery.com>
4582
4583 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
4584 #if.
4585
4e53fc28
JJ
45862004-08-12 Jeff Johnston <jjohnstn@redhat.com>
4587
4588 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
4589 on linux systems with glibc 2.3.3 installed.
4590 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
4591 profile_fixup so newlib can build on fc3 system.
17c0c97d 4592
82045f12
AO
45932004-07-30 Alexandre Oliva <aoliva@redhat.com>
4594
4595 Introduce SH2a support.
4596 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
4597 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
4598 __SH2A_SINGLE_ONLY__, too.
4599 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
4600 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
4601 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
4602 2004-02-10 DJ Delorie <dj@redhat.com>
4603 * libc/sys/sh/crt0.S (start_l): Support sh2a.
4604
ad6b1d79
JJ
46052004-07-29 Jeff Johnston <jjohnstn@redhat.com>
4606
4607 * libc/time/strptime.c: Correct full-name of "March" typo.
4608
63b9dcc4
JJ
46092004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
4610
17c0c97d 4611 * configure.host (h8300*-*-*): Default long long printing support.
63b9dcc4 4612
dbfd3394
JJ
46132004-07-16 Jeff Johnston <jjohnstn@redhat.com>
4614
4615 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
4616 calls, if realloc fails, free up buffer as it is no longer
4617 used.
4618
6edb3da9
JJ
46192004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4620
4621 * libc/iconv/iconv.tex: Updated to represent recent changes.
4622 * libc/iconv/lib/iconv.c: Documentation updated.
4623
578a3560
NC
46242004-07-07 Nick Clifton <nickc@redhat.com>
4625
4626 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
4627 for xStormy16.
4628
2bc257e3
JJ
46292004-07-06 Chris Demetriou <cgd@broadcom.com>
4630
4631 * configure.host (mips*-*-elf*): Default long long printing
4632 support.
4633
75e7ffaa
JJ
46342004-07-05 Jeff Johnston <jjohnstn@redhat.com>
4635
4636 * libc/Makefile.am (libc.dvi): Add target and specify
4637 same dependencies as libc.info.
4638 * libc/Makefile.in: Regenerated.
4639 * libm/Makefile.am (libm.dvi): Add target and specify
4640 same dependencies as libm.info.
4641 * libm/Makefile.in: Regenerated.
4642
76ce12c3
JJ
46432004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4644
4645 * acinclude.m4: Move --enable-newlib-iconv option back here.
4646 * configure.in: Remove --enable-newlib-iconv option. Don't
4647 tie iconv support to --enable-newlib-mb.
4648 * aclocal.m4: Regenerated.
4649 * configure: Ditto.
4650 * doc/aclocal.m4, doc/configure: Ditto.
4651 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
4652 * libm/*/aclocal.m4: Ditto.
4653 * libm/*/configure: Ditto.
4654 * libc/*/aclocal.m4: Ditto.
4655 * libc/*/configure: Ditto.
4656
660dade3
JJ
46572004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4658
4659 * acinclude.m4: Move iconv options into configure.in.
4660 * aclocal.m4: Regenerated.
4661 * configure: Ditto.
4662 * configure.in: Add iconv options.
4663 * newlib.hin: Add new iconv encodings and remove deleted ones.
4664 * doc/aclocal.m4: Regenerated.
4665 * doc/configure: Ditto.
4666 * iconvdata/aclocal.m4: Ditto.
4667 * iconvdata/configure: Ditto.
4668 * libc/iconv: Design change. New size-optimized ccs format.
4669 * libc/iconv/AUTHORS: Removed.
4670 * libc/iconv/COPYING: Ditto.
4671 * libc/iconv/README.ORIGINAL: Ditto.
4672 * libc/iconv/README.TODO: Ditto.
4673 * libc/iconv/charset.aliases: Ditto.
4674 * libc/iconv/encoding.aliases: New file.
4675 * libc/iconv/Makefile.am: Updated.
4676 * libc/iconv/Makefile.in: Regenerated.
4677 * libc/iconv/iconv.tex: Updated.
4678 * libc/iconv/ccs/Makefile.am: Ditto.
4679 * libc/iconv/ccs/Makefile.in: Regenerated.
4680 * libc/iconv/ccs/big5.c: Updated.
4681 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
4682 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
4683 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
4684 * libc/iconv/ccs/cp775.c: Ditto.
4685 * libc/iconv/ccs/cp850.c: Ditto.
4686 * libc/iconv/ccs/cp852.c: Ditto.
4687 * libc/iconv/ccs/cp855.c: Ditto.
4688 * libc/iconv/ccs/cp866.c: Ditto.
4689 * libc/iconv/ccs/iso_8859_1.c: Ditto.
4690 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
4691 * libc/iconv/ccs/gb_2312_80.c: Ditto.
4692 * libc/iconv/ccs/iconv_mktbl: Ditto.
4693 * libc/iconv/ccs/jis_x0201.c: Ditto.
4694 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
4695 * libc/iconv/ccs/shift_jis.c: Ditto.
4696 * libc/iconv/ccs/us_ascii.c: Ditto.
4697 * libc/iconv/ccs/ccs.h: New file.
4698 * libc/iconv/ccs/ccsbi.c: Ditto.
4699 * libc/iconv/ccs/ccsbi.h: Ditto.
4700 * libc/iconv/ccs/ccsnames.h: Ditto.
4701 * libc/iconv/ccs/iso_8859_10.c: Ditto.
4702 * libc/iconv/ccs/iso_8859_11.c: Ditto.
4703 * libc/iconv/ccs/iso_8859_13.c: Ditto.
4704 * libc/iconv/ccs/iso_8859_14.c: Ditto.
4705 * libc/iconv/ccs/iso_8859_3.c: Ditto.
4706 * libc/iconv/ccs/iso_8859_6.c: Ditto.
4707 * libc/iconv/ccs/iso_8859_7.c: Ditto.
4708 * libc/iconv/ccs/iso_8859_8.c: Ditto.
4709 * libc/iconv/ccs/iso_8859_9.c: Ditto.
4710 * libc/iconv/ccs/iso_ir_111.c: Ditto.
4711 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
4712 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
4713 * libc/iconv/ccs/koi8_ru.c: Ditto.
4714 * libc/iconv/ccs/koi8_uni.c: Ditto.
4715 * libc/iconv/ccs/mktbl.pl: Ditto.
4716 * libc/iconv/ccs/win_1250.c: Ditto.
4717 * libc/iconv/ccs/win_1251.c: Ditto.
4718 * libc/iconv/ccs/win_1252.c: Ditto.
4719 * libc/iconv/ccs/win_1253.c: Ditto.
4720 * libc/iconv/ccs/win_1254.c: Ditto.
4721 * libc/iconv/ccs/win_1255.c: Ditto.
4722 * libc/iconv/ccs/win_1256.c: Ditto.
4723 * libc/iconv/ccs/win_1257.c: Ditto.
4724 * libc/iconv/ccs/win_1258.c: Ditto.
d68d3538
JJ
4725 * libc/iconv/ccs/iso_8859_15.c: Updated.
4726 * libc/iconv/ccs/iso_8859_2.c: Ditto.
4727 * libc/iconv/ccs/iso_8859_4.c: Ditto.
4728 * libc/iconv/ccs/iso_8859_5.c: Ditto.
4729 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
4730 * libc/iconv/ccs/koi8_r.c: Ditto.
4731 * libc/iconv/ccs/koi8_u.c: Ditto.
4732 * libc/iconv/ccs/ksx1001.c: Ditto.
660dade3
JJ
4733 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
4734 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
4735 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
4736 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
4737 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
4738 * libc/iconv/ccs/binary/Makefile.am: Updated.
4739 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
4740 * libc/iconv/ccs/binary/big5.cct: Updated.
4741 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
4742 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
4743 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
4744 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
4745 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
4746 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
4747 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
4748 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
4749 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
4750 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
4751 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
4752 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
4753 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
4754 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
4755 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
4756 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
4757 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
4758 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
4759 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
4760 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
4761 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
4762 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
4763 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
4764 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
4765 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
4766 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
4767 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
4768 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
4769 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
4770 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
4771 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
4772 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
4773 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
4774 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
4775 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
4776 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
4777 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
4778 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
4779 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
4780 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
4781 * libc/iconv/ces/Makefile.am: Updated.
4782 * libc/iconv/ces/Makefile.in: Regenerated.
4783 * libc/iconv/ces/ucs-2-internal.c: Updated.
4784 * libc/iconv/ces/ucs-4-internal.c: Ditto.
4785 * libc/iconv/ces/utf-16.c: Ditto.
4786 * libc/iconv/ces/utf-8.c: Ditto.
4787 * libc/iconv/ces/cesbi.c: New file.
4788 * libc/iconv/ces/cesbi.h: Ditto.
4789 * libc/iconv/ces/cesdeps.h: Ditto.
4790 * libc/iconv/ces/euc.c: Ditto.
4791 * libc/iconv/ces/mkdeps.pl: Ditto.
4792 * libc/iconv/ces/table-pcs.c: Ditto.
4793 * libc/iconv/ces/table.c: Ditto.
4794 * libc/iconv/ces/ucs-2.c: Ditto.
4795 * libc/iconv/ces/ucs-4.c: Ditto.
4796 * libc/iconv/ces/us-ascii.c: Ditto.
4797 * libc/iconv/ces/euc-jp.c: Removed.
4798 * libc/iconv/ces/euc-kr.c: Ditto.
4799 * libc/iconv/ces/euc-tw.c: Ditto.
4800 * libc/iconv/ces/gb2312.c: Ditto.
4801 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
4802 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
4803 * libc/iconv/lib/Makefile.am: Updated.
4804 * libc/iconv/lib/Makefile.in: Regenerated.
4805 * libc/iconv/lib/endian.h: Updated.
4806 * libc/iconv/lib/iconv.c: Ditto.
4807 * libc/iconv/lib/local.h: Ditto.
4808 * libc/iconv/lib/aliases.c: Removed.
4809 * libc/iconv/lib/bialiasesi.c: Ditto.
4810 * libc/iconv/lib/biccs.c: Ditto.
4811 * libc/iconv/lib/bices.c: Ditto.
4812 * libc/iconv/lib/ccs.c: Ditto.
4813 * libc/iconv/lib/ces.c: Ditto.
4814 * libc/iconv/lib/ces_euc.c: Ditto.
4815 * libc/iconv/lib/ces_iso2022.c: Ditto.
4816 * libc/iconv/lib/ces_table.c: Ditto.
4817 * libc/iconv/lib/converter.c: Ditto.
4818 * libc/iconv/lib/deps.h: Ditto.
d68d3538
JJ
4819 * libc/iconv/lib/loaddata.c: Ditto.
4820 * libc/iconv/lib/aliasesbi.c: New file.
660dade3
JJ
4821 * libc/iconv/lib/aliasesi.c: Ditto.
4822 * libc/iconv/lib/conv.h: Ditto.
4823 * libc/iconv/lib/encnames.h: Ditto.
4824 * libc/iconv/lib/encoding.deps: Ditto.
4825 * libc/iconv/lib/iconvnls.c: Ditto.
4826 * libc/iconv/lib/iconvnls.h: Ditto.
660dade3
JJ
4827 * libc/iconv/lib/nullconv.c: Ditto.
4828 * libc/iconv/lib/ucsconv.c: Ditto.
4829 * libc/iconv/lib/ucsconv.h: Ditto.
4830 * libc/include/iconv.h: Update copyright.
4831 * libc/*/aclocal.m4: Regenerated.
4832 * libc/*/configure: Ditto.
4833 * libm/*/aclocal.m4: Ditto.
4834 * libm/*/configure: Ditto.
4835
9a6831be
AO
48362004-06-22 Alexandre Oliva <aoliva@redhat.com>
4837
eb6a452a
AO
4838 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
4839 instead of typedefing jmp_buf.
4840
9a6831be
AO
4841 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
4842 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
4843 * libc/machine/h8300/defines.h (LEN): New macro.
4844 * libc/machine/h8300/memcpy.S: Add h8sx version.
4845 * libc/machine/h8300/memset.S: Likewise.
4846 * libc/machine/h8300/strcmp.S: Likewise.
4847 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
4848 * libc/machine/h8300/h8sx_strcpy.S: New file.
4849 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
4850 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
4851 __H8300SX__.
4852 * libc/include/machine/setjmp.h: Likewise.
4853 * libc/include/sys/config.h: Likewise.
4854 * libc/machine/h8300/defines.h: Likewise.
4855 * libc/machine/h8300/setjmp.S: Likewise.
4856 * libc/machine/h8300/strcmp.S: Likewise.
4857 * libc/sys/h8300hms/close.S: Likewise.
4858 * libc/sys/h8300hms/fstat.S: Likewise.
4859 * libc/sys/h8300hms/lseek.S: Likewise.
4860 * libc/sys/h8300hms/read.S: Likewise.
4861 * libc/sys/h8300hms/write.S: Likewise.
4862 * libc/sys/h8300hms/crt0.S: Likewise.
4863 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
4864 __H8300SX__ is defined.
4865 * libc/sys/h8300hms/setarch.h: Likewise.
4866
80dba41e
JJ
48672004-06-17 Jeff Johnston <jjohnstn@redhat.com>
4868
4869 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
4870 out change which set _GLOBAL_REENT to _global_impure_ptr until
4871 we understand why Cygwin breaks because of it.
4872
be910599
JJ
48732004-06-14 Jeff Johnston <jjohnstn@redhat.com>
4874
4875 * libc/sys/linux/machine/i386/syscall.h: For now, set up
4876 __syscall_return macro for systems with vsyscall.
4877
d0bd3e6f
JJ
48782004-06-11 Antony King <antony.king@st.com>
4879
4880 * libc/include/sys/_types.h: Include <sys/lock.h> and change
4881 _flock_t to be of type _LOCK_RECURSIVE_T.
4882 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
4883 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
4884 (_global_impure_ptr): New declaration.
4885 (_GLOBAL_REENT): Change to be _global_impure_ptr.
4886 * libc/include/sys/stdio.h: Include <sys/lock.h> and
4887 <sys/reent.h>.
4888 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
4889 (_funlockfile)[!SINGLE_THREAD]: Ditto.
4890 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
4891 * libc/stdio/fclose.c: Remove casting of fp lock to
4892 _LOCK_RECURSIVE_T.
4893 * libc/stdio/findfp.c: Ditto.
4894 * libc/stdio/fopen.c: Ditto.
4895 * libc/stdio/freopen.c: Ditto.
4896 * libc/stdio/vfprintf.c: Ditto.
4897 * libc/stdio64/fopen64.c: Ditto.
4898 * libc/stdlib/envlock.c: Add default stubs that use generic
4899 locking code.
4900 * libc/stdlib/mlock.c: Ditto.
4901
4902 Jeff Johnston <jjohnstn@redhat.com>
4903 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
4904 (_flock_t): Change to be a struct containing a single member
4905 named mutex which is of type __flock_mutex_t.
4906
db7033a9
JJ
49072004-06-09 Jeff Johnston <jjohnstn@redhat.com>
4908
4909 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
4910 from /usr/include/asm/signal.h instead of kernel sources. Also
4911 default max to 32 if not found in header file.
4912 * libc/sys/linux/Makefile.in: Regenerated.
4913 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
4914 systems where __syscall_return is not defined.
4915 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
4916 systems to use syscall() function instead of assembler interrupt.
4917
a170abec
JJ
49182004-06-09 Toralf Lund <toralf@procaptura.com>
4919
4920 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
4921 files from libc/sys/arm to libc/machine/arm.
4922 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
4923 library build support for files moved from libc/sys/arm.
4924 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
4925 references to access and setjmp.
4926 * configure.host: Add checks for newlib_may_supply_syscalls to
4927 determine whether or not to use sys/arm directory and use
4928 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
17c0c97d 4929
8b57e664
JJ
49302004-06-02 Jeff Johnston <jjohnstn@redhat.com>
4931
4932 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
4933 reset digit flags appropriately after we have discovered "0x".
4934 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
4935
3f611058
JJ
49362004-05-27 Jeff Johnston <jjohnstn@redhat.com>
4937
4938 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
4939 from here ...
4940 (_VFPRINTF_R): ... to here so all I/O printf routines
4941 are covered.
4942
bb42a35c
JJ
49432004-05-26 Jeff Johnston <jjohnstn@redhat.com>
4944
4945 * libc/search/hash_buf.c: Protect MAX and MIN macros from
4946 redefinition.
4947 * libc/search/hash.c: Ditto.
4948
227e6ef6
JJ
49492004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4950
4951 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
4952 (_WANT_IO_LONG_LONG): Ditto.
4953 (_WANT_IO_LONG_DOUBLE): Ditto.
4954 * configure.in: Add new configuration options
4955 --enable-newlib-io-long-long and --enable-newlib-io-long-double
4956 which tie to new defines in newlib.hin.
4957 * configure: Regenerated.
4958 * configure.host: Add checks for new configuration options. Also
4959 fix up check for --enable-newlib-io-pos-args so configuration
4960 option will override any default for a given platform.
4961 Remove defining compiler flags for the _WANT_IO* options.
4962 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
4963 instead of looking for old compiler flags.
4964 * libc/stdio/vfscanf.c: Ditto.
4965 * libc/stdio/vfieeefp.h: Ditto.
4966 * libc/machine/powerpc/vfprintf.c: Ditto.
4967 * libc/machine/powerpc/vfscanf.c: Ditto.
4968
9178da95
JJ
49692004-05-25 Jeff Johnston <jjohnstn@redhat.com>
4970
4971 * testsuite/include/check.h: Add include of <stdio.h>.
4972
cf3aae91
CV
49732004-05-17 Corinna Vinschen <corinna@vinschen.de>
4974
4975 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
4976
5b4c8ae2
JJ
49772004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4978
4979 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
4980 of free.
4981
49822004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4983
4984 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
4985 list for reentrant pointer. Call _vfiprintf_r.
4986 * libc/stdio/siprintf.c (_siprintf_r): New function.
4987 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
4988 pointer argument. Change all callers. Call _VFPRINTF_R.
4989 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
4990 prototypes.
4991
631fbe65
JJ
49922004-05-07 Jeff Johnston <jjohnstn@redhat.com>
4993
4994 * libc/include/sys/param.h: Remove endian info and include
4995 <machine/endian.h> instead.
4996 * libc/include/machine/endian.h: New file.
4997 * libc/include/machine/param.h: Ditto.
4998 * libc/machine/arm/machine/endian.h: Ditto.
4999 * libc/machine/arm/machine/param.h: Ditto.
5000 * libc/sys/arm/sys/param.h: Removed.
5001 * libc/sys/sysvi386/sys/param.h: Ditto.
5002 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
5003
1af84bb7
JJ
50042004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5005
5006 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
5007 multibyte functions return failure for %C, %S, %lc, and %ls
5008 format specifiers.
5009
1c63798e
JJ
50102004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5011
5012 * testsuite/include/check.h (CHECK): Add flush of stdout.
5013
20b0251a
JJ
50142004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5015
5016 * libc/include/stdio.h (_ungetc_r): New prototype.
5017 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
5018 (__submore): Add reentrant struct pointer argument.
5019 (ungetc): Change to call _ungetc_r.
5020
6194cf4a
JJ
50212004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5022
5023 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
5024 function pointer argument.
5025 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
5026 to specify function pointer arguments.
5027 (__fwalk, __fwalk_reent): Ditto.
5028
b4ddf489
AH
50292004-04-26 Aldy Hernandez <aldyh@redhat.com>
5030
ba3ccd63
EB
5031 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
5032 CT_INT case.
b4ddf489 5033
f777e3a5
JJ
50342004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5035
5036 * configure.in: Define _MB_CAPABLE if mb supported.
5037 * configure: Regenerated.
5038 * configure.host: Remove manual setting of MB_CAPABLE compiler
5039 flag.
5040 * newlib.hin: Add _MB_CAPABLE flag.
5041 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
5042 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
5043 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
5044 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
5045 * libc/ctype/jp2uc.c: Ditto.
5046 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
5047 * libc/locale/locale.c: Ditto
5048 * libc/machine/powerpc/vfscanf.c: Ditto
5049 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
5050 * libc/stdlib/mblen.c: Ditto
5051 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
5052 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
5053 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
5054 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
5055 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
5056 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
5057 * libc/sys/linux/intl/explodename.c: Ditto
5058 * libc/sys/linux/intl/finddomain.c: Ditto
5059 * libc/sys/linux/intl/l10nflist.c: Ditto
5060 * libc/sys/linux/intl/loadmsgcat.c: Ditto
5061 * libc/sys/linux/intl/localealias.c: Ditto
5062
27c7566c
JJ
50632004-04-23 Jeff Johnston <jjohnstn@redhat.com>
5064
5065 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
5066 (__svfscanf_r): In integer conversions, leave out leading zeroes
5067 which are not part of a base prefix.
5068 Keep track of width truncation to fit into buf, not counting left-out
5069 zeroes against width till the truncation has been compensated for.
5070 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
5071
c00f9719
JJ
50722004-04-23 Jeff Johnston <jjohnstn@redhat.com>
5073
5074 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
5075
05b31577
JJ
50762004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5077
5078 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
5079 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
5080 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
5081 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
5082 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
5083 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
5084 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
5085 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
5086 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
5087 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
5088 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
5089 libc/stdio/getchar.c libc/stdio/getchar_u.c,
5090 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
5091 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
5092 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
5093 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
5094 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
5095 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
5096 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
5097 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
5098 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
5099 libc/stdio/siprintf.c libc/stdio/snprintf.c,
5100 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
5101 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
5102 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
5103 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
5104 libc/stdio/vprintf.c libc/stdio/vscanf.c,
5105 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
5106 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
5107 libc/stdio/wsetup.c: Perform minor formatting changes. Move
5108 copyright notices to top of file, ensure that <_ansi.h> is
5109 included, be consistent with open parentheses, use _DEFUN macro,
5110 include "local.h" where needed, and remove various compiler
5111 warnings.
5112
04e8fca1
JJ
51132004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
5114
5115 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
5116 (__svfscanf_r): In integer conversions, leave out leading zeroes
5117 which are not part of a base prefix.
5118 Keep track of width truncation to fit into buf, not counting left-out
5119 zeroes against width till the truncation has been compensated for.
5120
9090ec74
CV
51212004-04-20 Corinna Vinschen <corinna@vinschen.de>
5122
5123 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
5124
1c17deea
CV
51252004-04-20 Corinna Vinschen <corinna@vinschen.de>
5126
5127 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
5128
54c7940f
CV
51292004-04-10 Corinna Vinschen <corinna@vinschen.de>
5130
5131 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
5132 to SUSv3.
5133
47dcaf56
JJ
51342004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5135
5136 * libc/stdio/fclose.c (_fclose_r): New function.
5137 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
5138 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
5139 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
5140 * libc/include/stdio.h (_fclose_r): New prototype.
5141 * libc/stdio/fopen.c: Fix typo in comment.
5142
51432004-04-08 Jeff Johnston <jjohnstn@redhat.com>
5144
5145 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
5146 to handle _r reentrant functions.
5147
4121d8cf
JJ
51482004-04-08 Eric Christopher <echristo@redhat.com>
5149
5150 * libc/include/machine/setjmp.h: Fix endif locations.
5151
59c9f5f5
JJ
51522004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5153
5154 * libc/time/strptime.c: Add standard includes to avoid
5155 warning messages at compilation time.
5156
38f4f023
JJ
51572004-04-01 Jeff Johnston <jjohnstn@redhat.com>
5158
5159 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
5160 of file.
5161
51622004-03-30 Jeff Johnston <jjohnstn@redhat.com>
ed4c5ece
JJ
5163
5164 * libc/machine/h8300/Makefile.am: Reformat slightly.
5165 * libc/machine/h8300/Makefile.in: Regenerate.
5166
38f4f023 51672004-03-30 Thomas Pfaff <tpfaff@gmx.net>
cacc0d44
JJ
5168
5169 * libc/stdio/findfp.c (__fp_lock_all): Add call to
5170 __sfp_lock_acquire.
17c0c97d 5171 (__fp_unlock_all): Add call to __sfp_lock_release.
cacc0d44 5172
10dcf7e7
JJ
51732004-03-25 Thomas Pfaff <tpfaff@gmx.net>
5174
5175 * libc/stdio/fclose.c (fclose): Protect file pointer list when
5176 releasing a file.
5177 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
5178 fwalk.
5179 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
5180 _flockfile/_funlockfile.
5181 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
5182 to recursive.
5183 Change __lock_acquire/__lock_release calls for __sfp_lock to
5184 __sfp_lock_acquire/__sfp_lock_release throughout.
5185 (std): Make sure that file lock is only initialized once.
5186 (__sfp): Move _file initialization. Initialize file lock.
5187 (__sfp_lock_acquire): New function.
5188 (__sfp_lock_release): Ditto.
5189 (__fp_lock_all): Remove __sfp_lock_acquire call.
5190 (__fp_unlock_all): Remove __sfp_lock_release call.
5191 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
5192 Add calls to _flockfile/_funlockfile. Remove
5193 __lock_init_recursive call.
5194 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
5195 * libc/stdio/fwalk.c (__fwalk): New static function.
5196 (_fwalk): Protect file pointer list. Use __fwalk to walk through
5197 file pointers.
5198 * libc/stdio/local.h: Add defines for
5199 __sfp_lock_acquire/__sfp_lock_release when
5200 single threaded. Add function prototypes otherwise.
5201 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
5202 _flockfile/_funlockfile.
5203 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
5204 Add calls to _flockfile/_funlockfile. Remove
5205 __lock_init_recursive call.
5206 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
17c0c97d 5207 list.
10dcf7e7 5208
ec475b09
JJ
52092004-03-25 Jeff Johnston <jjohnstn@redhat.com>
5210
5211 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
5212 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
5213 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
5214 to be __LOCK_INIT_RECURSIVE.
5215
2c4ef10a
JJ
52162004-03-11 Kazu Hirata <kazu@cs.umass.edu>
5217
5218 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
5219 _exit.c with _exit.S.
5220 * libc/sys/h8300hms/Makefile.in: Regenerate.
5221 * libc/sys/h8300hms/_exit.c: Remove.
5222 * libc/sys/h8300hms/_exit.S: New.
5223
41c3da6a
JJ
52242004-03-09 Thomas Pfaff <tpfaff@gmx.net>
5225
5226 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
5227 Change __sfp_lock to static global.
5228 (__fp_lock): New static function.
5229 (__fp_unlock): Ditto.
5230 (__fp_lock_all): New function.
17c0c97d 5231 (__fp_unlock_all): Ditto.
41c3da6a 5232
0ccf5430
CF
52332004-02-10 Christopher Faylor <cgf@redhat.com>
5234
5235 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
5236 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
5237 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
5238 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
5239
3536f0fb
CF
52402004-02-09 Christopher Faylor <cgf@redhat.com>
5241
5242 * libc/include/time.h (TIMER_RELTIME): New define.
5243
6a6e493a
JJ
52442004-02-09 Jeff Johnston <jjohnstn@redhat.com>
5245
5246 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
5247 * libc/stdlib/Makefile.in: Regenerated.
5248
733309f5
CF
52492004-02-08 Christopher Faylor <cgf@redhat.com>
5250
5251 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
5252 * libc/include/sys/reent.h (__getreent): Protect against possibly being
5253 defined.
5254 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
5255
b4a84c66
JJ
52562004-02-05 Paul Brook <paul@codesourcery.com>
5257
17c0c97d 5258 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
b4a84c66
JJ
5259 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
5260
4669438f
JJ
52612004-02-02 Jeff Johnston <jjohnstn@redhat.com>
5262
5263 * NEWS: Update with 1.12.0 info.
5264 * README: Ditto.
5265 * acinclude.m4: Change version number to 1.12.0.
5266 * aclocal.m4: Regenerated.
5267 * configure: Ditto.
5268 * doc/aclocal.m4: Ditto.
5269 * doc/configure: Ditto.
5270 * libc/*/aclocal.m4: Ditto.
5271 * libc/*/configure: Ditto.
5272 * libc/libc.texinfo: Ditto.
5273 * libm/*/aclocal.m4: Ditto.
5274 * libm/*/configure: Ditto.
5275 * libm/libm.texinfo: Ditto.
5276 * libc/sys/linux/shared.ld: Add VERS_1.12.
5277
94d61fcb
JJ
52782004-02-02 Joel Sherrill <joel@oarcorp.com>
5279
5280 * configure.host: Add support for tic4x.
5281 * libc/include/machine/ieeefp.h: Ditto.
5282 * libc/include/machine/setjmp.h: Ditto.
5283 * libc/machine/tic4x/Makefile.am: New file.
5284 * libc/machine/tic4x/configure.in: Ditto.
5285 * libc/machine/tic4x/setjmp.S: Ditto.
5286 * libc/machine/tic4x/aclocal.m4: Generated.
5287 * libc/machine/tic4x/configure: Ditto.
5288 * libc/machine/tic4x/Makefile.in: Ditto.
5289
c730e0e7
JJ
52902004-01-30 Jeff Johnston <jjohnstn@redhat.com>
5291
5292 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
5293 file chain on the passed in reentrancy struct if it
5294 is _GLOBAL_REENT.
5295
2892ec68 52962004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
ba3ccd63 5297 Jeff Johnston <jjohnstn@redhat.com>
2892ec68
JJ
5298
5299 * libc/iconv/iconv.tex: Updated with more information.
5300
ff41498a 53012004-01-30 Thomas Pfaff <tpfaff@gmx.net>
ba3ccd63 5302 Jeff Johnston <jjohnstn@redhat.com>
ff41498a
JJ
5303
5304 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
5305 struct for std streams and traverse the global reeentrancy
5306 struct for all other streams.
5307
d5b6c234
JJ
53082004-01-27 Jeff Johnston <jjohnstn@redhat.com>
5309
5310 * libc/stdlib/atexit.c: Protect global atexit list with a
5311 lock when newlib is multithreaded.
5312
01e0a777
JJ
53132004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5314
5315 * configure.in: Add support to generate iconv converter flags
5316 for newlib.h
5317 * newlib.hin: Add iconv converter flags.
5318 * configure: Regenerated.
5319 * libc/Makefile.in: Ditto.
5320 * libc/configure.in: Moved iconv converter parsing logic to
5321 top level newlib configure.in.
5322 * libc/configure: Regenerated.
5323 * libc/iconv/Makefile.in: Ditto.
5324 * libc/iconv/README.TODO
5325 * libc/iconv/charset.aliases: Remove wrong BE aliases for
5326 UCS2/UCS4/UTF8.
5327 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
5328 newlib.h can be used.
5329 * libc/iconv/ces/Makefile.am: Ditto.
5330 * libc/iconv/lib/Makefile.am: Ditto.
5331 * libc/iconv/ccs/Makefile.in: Regenerated.
5332 * libc/iconv/ces/Makefile.in: Ditto.
5333 * libc/iconv/lib/Makefile.in: Ditto.
5334 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
5335 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
5336 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
5337 defined in newlib.h.
5338 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
5339 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
5340 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
5341 * libc/iconv/ccs/cp775.c: Ditto.
5342 * libc/iconv/ccs/cp850.c: Ditto.
5343 * libc/iconv/ccs/cp852.c: Ditto.
5344 * libc/iconv/ccs/cp855.c: Ditto.
5345 * libc/iconv/ccs/cp866.c: Ditto.
5346 * libc/iconv/ccs/gb_2312_80.c: Ditto.
5347 * libc/iconv/ccs/iso_8859_1.c: Ditto.
5348 * libc/iconv/ccs/iso_8859_15.c: Ditto.
5349 * libc/iconv/ccs/iso_8859_2.c: Ditto.
5350 * libc/iconv/ccs/iso_8859_4.c: Ditto.
5351 * libc/iconv/ccs/iso_8859_5.c: Ditto.
5352 * libc/iconv/ccs/jis_x0201.c: Ditto.
5353 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
5354 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
5355 * libc/iconv/ccs/koi8_r.c: Ditto.
5356 * libc/iconv/ccs/koi8_u.c: Ditto.
5357 * libc/iconv/ccs/ksx1001.c: Ditto.
5358 * libc/iconv/ccs/shift_jis.c: Ditto.
5359 * libc/iconv/ccs/us_ascii.c: Ditto.
5360 * libc/iconv/ccs/binary/big5.cct: Newly generated.
5361 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
5362 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
5363 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
5364 * libc/iconv/ccs/binary/cp775.cct: Ditto.
5365 * libc/iconv/ccs/binary/cp850.cct: Ditto.
5366 * libc/iconv/ccs/binary/cp852.cct: Ditto.
5367 * libc/iconv/ccs/binary/cp855.cct: Ditto.
5368 * libc/iconv/ccs/binary/cp866.cct: Ditto.
5369 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
5370 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
5371 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
5372 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
5373 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
5374 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
5375 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
5376 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
5377 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
5378 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
5379 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
5380 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
5381 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
5382 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
5383 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
5384 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
5385 * libc/iconv/ces/euc-kr.c: Ditto.
5386 * libc/iconv/ces/euc-tw.c: Ditto.
5387 * libc/iconv/ces/gb2312.c: Ditto.
5388 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
5389 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
5390 * libc/iconv/ces/ucs-2-internal.c: Ditto.
5391 * libc/iconv/ces/ucs-4-internal.c: Ditto.
5392 * libc/iconv/ces/utf-16.c: Ditto.
5393 * libc/iconv/ces/utf-8.c: Ditto.
5394 * libc/iconv/lib/aliases.c: Ditto.
5395 * libc/iconv/lib/biccs.c: Ditto.
5396 * libc/iconv/lib/bices.c: Ditto.
5397 * libc/iconv/lib/ccs.c: Ditto.
5398 * libc/iconv/lib/ces.c: Ditto.
5399 * libc/iconv/lib/ces_euc.c: Ditto.
5400 * libc/iconv/lib/ces_iso2022.c: Ditto.
5401 * libc/iconv/lib/ces_table.c: Ditto.
5402 * libc/iconv/lib/converter.c: Ditto.
5403 * libc/iconv/lib/deps.h: Ditto.
5404 * libc/iconv/lib/endian.h: Ditto.
5405 * libc/iconv/lib/iconv.c: Ditto.
5406 * libc/iconv/lib/loaddata.c: Ditto.
5407 * libc/iconv/lib/local.h: Include newlib.h.
5408 * libc/argz/Makefile.in: Regenerated.
5409 * libc/ctype/Makefile.in: Ditto.
5410 * libc/errno/Makefile.in: Ditto.
5411 * libc/iconv/ccs/binary/Makefile.in: Ditto.
5412 * libc/locale/Makefile.in: Ditto.
5413 * libc/misc/Makefile.in: Ditto.
5414 * libc/posix/Makefile.in: Ditto.
5415 * libc/reent/Makefile.in: Ditto.
5416 * libc/search/Makefile.in: Ditto.
5417 * libc/signal/Makefile.in: Ditto.
5418 * libc/stdio/Makefile.in: Ditto.
5419 * libc/stdio64/Makefile.in: Ditto.
5420 * libc/stdlib/Makefile.in: Ditto.
5421 * libc/string/Makefile.in: Ditto.
5422 * libc/syscalls/Makefile.in: Ditto.
5423 * libc/time/Makefile.in: Ditto.
5424 * libc/unix/Makefile.in: Ditto.
5425 * testsuite/newlib.iconv/iconv.exp: New file.
5426 * testsuite/newlib.iconv/iconvjp.c: Ditto.
5427 * testsuite/newlib.iconv/iconvnm.c: Ditto.
5428 * testsuite/newlib.iconv/iconvru.c: Ditto.
5429
786ab12c
JJ
54302004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5431
5432 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
5433 (--enable-newlib-builtin-converters): Ditto.
5434 * configure.in: Add code to set _ICONV_ENABLED flag.
5435 Set _MB_LEN_MAX to 1 if not mb enabled.
5436 * configure: Regenerated.
5437 * aclocal.m4: Ditto.
5438 * Makefile.in: Ditto.
5439 * newlib.hin: Add _ICONV_ENABLED flag.
5440 * libc/Makefile.am: Add support for iconv.
5441 * libc/configure.in: Ditto.
5442 * libc/Makefile.in: Regenerated.
5443 * libc/aclocal.m4: Ditto.
5444 * libc/configure: Ditto.
5445 * libc/libc.texinfo: Add iconv documentation.
5446 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
5447 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
5448 libc/iconv/README.TODO, libc/iconv/charset.aliases,
5449 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
5450 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
5451 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
5452 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
5453 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
5454 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
5455 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
5456 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
5457 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
5458 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
5459 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
5460 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
5461 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
5462 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
5463 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
5464 libc/iconv/ccs/binary/big5.cct,
5465 libc/iconv/ccs/binary/cns11643_plane1.cct,
5466 libc/iconv/ccs/binary/cns11643_plane14.cct,
5467 libc/iconv/ccs/binary/cns11643_plane2.cct,
5468 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
5469 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
5470 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
5471 libc/iconv/ccs/binary/iso_8859_1.cct,
5472 libc/iconv/ccs/binary/iso_8859_15.cct,
5473 libc/iconv/ccs/binary/iso_8859_2.cct,
5474 libc/iconv/ccs/binary/iso_8859_4.cct,
5475 libc/iconv/ccs/binary/iso_8859_5.cct,
5476 libc/iconv/ccs/binary/jis_x0201.cct,
5477 libc/iconv/ccs/binary/jis_x0208_1983.cct,
5478 libc/iconv/ccs/binary/jis_x0212_1990.cct,
5479 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
5480 libc/iconv/ccs/binary/ksx1001.cct,
5481 libc/iconv/ccs/binary/shift_jis.cct,
5482 libc/iconv/ccs/binary/us_ascii.cct,
5483 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
5484 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
5485 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
5486 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
5487 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
5488 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
5489 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
5490 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
5491 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
5492 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
5493 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
5494 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
5495 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
5496 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
5497 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
5498 * libc/sys/linux/include/iconv.h: Ditto.
5499 * libc/include/sys/_types.h (_iconv_t): Added.
5500 * doc/aclocal.m4: Regenerated.
5501 * doc/configure: Ditto.
5502 * doc/Makefile.in: Ditto.
5503 * iconvdata/Makefile.in: Ditto.
5504 * iconvdata/aclocal.m4: Ditto.
5505 * iconvdata/configure: Ditto.
5506 * libc/*aclocal.m4: Ditto.
5507 * libc/*Makefile.in: Ditto.
5508 * libc/*configure: Ditto.
5509 * libm/*aclocal.m4: Ditto.
5510 * libm/*Makefile.in: Ditto.
5511 * libm/*configure: Ditto.
5512
ed1a95dc
JJ
55132004-01-22 Thomas Pfaff <tpfaff@gmx.net>
5514
5515 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
17c0c97d 5516 by a lock when newlib is multithreaded.
ed1a95dc 5517
7d4be1ef
JJ
55182004-01-21 Jeff Johnston <jjohnstn@redhat.com>
5519
5520 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
5521 pointer to match C99 spec.
5522 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
5523 dst is NULL. Also fix to not alter src pointer when dst is NULL
5524 and call _mbrtowc_r instead of _mbtowc_r.
5525 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
5526 of _wctomb_r.
5527
403f752c
JJ
55282004-01-19 Thomas Pfaff <tpfaff@gmx.net>
5529
5530 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
5531 * libc/stdio/freopen.c (freopen): Ditto.
5532
85b6d63b
CF
55332004-01-16 Christopher Faylor <cgf@redhat.com>
5534
5535 * libc/stdio/vfprintf.c: Add sys/lock.h include.
5536
4af71a91
JJ
55372004-01-16 Thomas Pfaff <tpfaff@gmx.net>
5538
5539 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
5540 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
5541 Add calls to __lock_init_recursive and __lock_close_recursive
5542 instead.
5543
6a150987
JJ
55442004-01-15 Thomas Pfaff <tpfaff@gmx.net>
5545
5546 * libc/stdio/fclose.c: Include sys/lock.h.
5547 (fclose): Destroy lock when file is closed.
5548 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
5549 member.
5550 * libc/stdio/freopen.c: Include sys/lock.h.
5551 (_freopen_r): Destroy lock when file is closed.
5552 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
5553 _lock member.
5554
c9524c0c
JJ
55552004-01-08 Joel Sherrill <joel@oarcorp.com>
5556
ba3ccd63
EB
5557 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
5558 Remove warnings.
c9524c0c 5559
9f13ccb3
JJ
55602004-01-08 Joel Sherrill <joel@oarcorp.com>
5561
ba3ccd63
EB
5562 * libc/sys/rtems/sys/queue.h: New file.
5563 * libc/include/sys/signal.h: Reflect renumbering of signals to
5564 fit into 32-bit mask.
5565 * libc/include/sys/unistd.h: Add fdatasync() prototype.
5566 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
5567 required. In particular, add the reentrant variants of libc calls.
5568 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
9f13ccb3 5569
9488c414
JJ
55702004-01-06 Mark Mitchell <mark@codesourcery.com>
5571
5572 * libc/sys/arm/syscalls.c (unistd.h): Include it.
5573 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
5574 Similarly for stdout and stderr.
5575
5125f919
JJ
55762004-01-06 Jeff Johnston <jjohnstn@redhat.com>
5577
5578 * libc/libc.texinfo: Correct escape character for @ sign
5579 so file will be processed by make info. Update copyright years.
5580 * libm/libm.texinfo: Ditto.
5581
9fc92ceb
JJ
55822003-12-05 Jeff Johnston <jjohnstn@redhat.com>
5583
5584 * libc/include/sys/stat.h: No longer include stat-dj.h.
5585 * libc/include/sys/stat-dj.h: Removed.
5586
25c7dad1
JJ
55872003-12-05 Jeff Johnston <jjohnstn@redhat.com>
5588
5589 * libc/include/wchar.h: Include <sys/reent.h>.
5590
576593dd
CF
55912003-12-05 Christopher Faylor <cgf@redhat.com>
5592
5593 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
5594 when defining _mbrtowc.
5595 * libc/stdlib/mbsinit.c: Ditto.
5596 * libc/stdlib/mbsrtowcs.c: Ditto.
5597 * libc/stdlib/wcrtomb.c: Ditto.
5598 * libc/stdlib/wcsrtombs.c: Ditto.
5599 * libc/stdlib/wctob.c: Ditto.
5600
56012003-12-05 Christopher Faylor <cgf@redhat.com>
5602
5603 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
5604 errors when defining _mbrtowc.
5605 * libc/stdlib/mbsinit.c: Ditto.
5606 * libc/stdlib/mbsrtowcs.c: Ditto.
5607
4c889d62
CF
56082003-12-05 Christopher Faylor <cgf@redhat.com>
5609
5610 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
5611 errors when defining _mbrtowc.
5612
5d109bde
JJ
56132003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5614
5615 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
5616 of mb routines for %lc and %ls support.
5617 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
5618 %ls, and %S support. Remove CYGNUS_NEC markers and
5619 code within.
5620
3aca0888
JJ
56212003-12-04 Jeff Johnston <jjohnstn@redhat.com>
5622
5623 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
5624 _wcrtomb_r, and _wcsrtombs_r.
5625
18dcb167
CV
56262003-12-01 Corinna Vinschen <corinna@vinschen.de>
5627
5628 * libc/include/sys/fcntl.h: Don't define struct flock when on
5629 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
5630
93f8e673
CF
56312003-11-28 Christopher Faylor <cgf@redhat.com>
5632
5633 * libc/include/sys/signal.h: Use system specific signal file when
5634 building on cygwin.
5635
cc2a11e0
JJ
56362003-11-27 Jeff Johnston <jjohnstn@redhat.com>
5637
5638 * libc/include/stdlib.h (_atoi_r): New prototype.
5639 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
5640
83bf7d2f
JJ
56412003-11-27 Jeff Johnston <jjohnstn@redhat.com>
5642
5643 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
5644 * libc/stdlib/atol.c (_atol_r): New reentrant function.
5645 * libc/stdlib/atoll.c (_atoll_r): Ditto.
5646
5d109bde 56472003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6bbb700c
JJ
5648 Jeff Johnston <jjohnstn@redhat.com>
5649
5650 * libc/include/stdlib.h (lldiv_t): New type.
5651 (atoll, llabs, lldiv): New prototypes.
5652 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
5653 * libc/stdlib/stdlib.tex: Ditto.
5654 * libc/stdlib/Makefile.in: Regenerated.
5655 * libc/stdlib/atoll.c: New file.
5656 * libc/stdlib/llabs.c: Ditto.
5657 * libc/stdlib/lldiv.c: Ditto.
5658
0a707c79
JJ
56592003-11-26 Corinna Vinschen <corinna@vinschen.de>
5660
5661 * libc/include/fcntl.h: Declare syscalls only when building newlib.
5662 * libc/include/unistd.h: Ditto.
5663 * libc/include/stat.h: Ditto. Also declare struct stat64.
5664
5d109bde 56652003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6db165c2
JJ
5666
5667 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
5668 specifier to use ch instead of *fmt.
5669
5d109bde 56702003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
759a097e
JJ
5671
5672 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
5673 code within checks for MB_CAPABLE. For non-mb-capable platforms,
5674 use simple byte logic.
5675
4f6149d6
JJ
56762003-11-21 Jeff Johnston <jjohnstn@redhat.com>
5677
5678 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
5679 _strtold routine for processing floats and doubles since it
5680 is not as fast as _strtod_r.
5681
17c0c97d 56822003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
7343eefb 5683
17c0c97d 5684 * libc/machine/h8300/defines.h : Correct pointer register defines
7343eefb 5685 for normal mode.
17c0c97d 5686 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
7343eefb
JJ
5687 for normal mode.
5688 * libc/machine/h8300/reg_memcpy.S : Likewise.
5689 * libc/machine/h8300/reg_memset.S : Likewise.
5690 * libc/machine/h8300/strcmp.S : Likewise.
5691
64cfc6f2
JJ
56922003-11-19 Nicholas Wourms <nwourms@netscape.net>
5693
5694 * configure.host: Enable positional arguments for printf
5695 family for Cygwin.
5696 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
5697 pointer reference for quad_ptr_t.
5698
e1dc8171
JJ
56992003-11-19 Jeff Johnston <jjohnstn@redhat.com>
5700
5701 * libc/stdio/scanf.c: Don't include local.h more than once.
5702
a472290f
JJ
57032003-11-18 Corinna Vinschen <corinna@vinschen.de>
5704
5705 * libc/include/sys/fcntl.h: Declare _open64.
5706 * libc/include/sys/stat.h: Declare _fstat64.
5707 * libc/include/sys/unistd.h: Declare _lseek64.
5708
a2f1155c
CV
57092003-11-17 Corinna Vinschen <corinna@vinschen.de>
5710
5711 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
5712 (setprogname): Ditto.
5713
030441fc
JJ
57142003-11-10 Jeff Johnston <jjohnstn@redhat.com>
5715
5716 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
5717 to use (Ebits + 1) which accounts for the sign-bit.
5718
fe359733
JJ
57192003-11-07 Jeff Johnston <jjohnstn@redhat.com>
5720
17c0c97d 5721 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
fe359733
JJ
5722 x86 build.
5723 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
5724 and set up default flags to pass to aclocal.
5725 * iconvdata/Makefile.in: Regenerated.
5726 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
5727 and getpwuid routines.
5728 * libc/sys/linux/Makefile.in: Regenerated.
5729 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
5730 applications to link with newlib's shared libc library.
5731 * libc/sys/linux/getpwnam.c: Ditto.
5732 * libc/sys/linux/getpwuid.c: Ditto.
5733 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
5734 that were formerly supplied by /usr/include/linux/types.h with
5735 kernel types.
5736 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
5737 test _ELIX_LEVEL macro.
5738
2985521f
JJ
57392003-11-07 Jeff Johnston <jjohnstn@redhat.com>
5740
5741 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
5742 referring to _NO_LONGLONG macro.
5743
dcad6a89
JJ
57442003-11-06 Jeff Johnston <jjohnstn@redhat.com>
5745
5746 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
5747 in LOG() macro so this will compile on gcc 3.4 and up.
5748 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
5749 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
5750 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
5751 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
5752 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
5753 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
5754 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
5755 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
5756 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
5757 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
5758 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
5759 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
5760 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
5761 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
5762 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
5763 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
5764 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
5765 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
5766 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
5767 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
5768 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
5769 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
5770 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
5771 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
5772 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
5773 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
5774 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
5775 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
5776 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
5777 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
5778 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
5779 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
5780 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
5781 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
5782 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
5783 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
5784
d2ffac09 57852003-11-05 Jeff Johnston <jjohnstn@redhat.com>
ba3ccd63 5786 Artem B. Bityuckiy <abitytsky@softminecorp.com>
d2ffac09
JJ
5787
5788 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
5789 %ls, %S, %lc, and %C format specifiers.
5790 (get_arg): Ditto.
5791 * libc/stdio/sprintf.c: Add documentation regarding new
5792 format specifiers added in vfprintf.c.
5793
da2d1227
JJ
57942003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5795
5796 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
5797 to make code work as specified in standard.
5798
3ef05bac
JJ
57992003-10-23 Jeff Johnston <jjohnstn@redhat.com>
5800
5801 * configure.in: Use absolute newlib basedir when forming
5802 CC_FOR_NEWLIB include options.
5803 * configure: Regenerated.
5804
5d109bde 58052003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4340b63b
JJ
5806
5807 * libc/string/wcsnlen.c: New file.
5808 * libc/include/wchar.h: Add wcsnlen prototype.
5809 * libc/string/Makefile.am: Add wcsnlen support.
5810 * libc/string/Makefile.in: Regenerated.
5811 * libc/string/wcstrings.tex: Add wcsnlen documentation.
5812
63a823f8
RS
58132003-10-22 Richard Sandiford <rsandifo@redhat.com>
5814
5815 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
5816
76a7df52
JJ
58172003-10-20 Bob Wilson <bob.wilson@acm.org>
5818
5819 * libc/locale/locale.c: Use double quotes in code.
5820 * libc/locale/locale.tex: Likewise.
5821 * libc/libc.texinfo: Hyphenate "floating-point".
5822 * libc/machine/necv70/necv70.tex: Likewise.
5823 * libc/stdio/sprintf.c: Likewise.
5824 * libc/stdio/sscanf.c: Likewise.
5825 * libc/stdlib/atof.c: Likewise.
5826 * libc/stdlib/ldtoa.c: Fix comment typo.
5827 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
5828 * libc/stdlib/ldiv.c: Likewise.
5829 * libm/common/s_expm1.c: Likewise.
5830 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
5831 * libm/common/s_infinity: Hyphenate "double- and single-precision".
5832 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
5833 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
5834 and "floating-point".
5835 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
5836 * libm/math/e_pow.c: Fix comment typo.
5837 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
5838 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
5839 * libm/math/s_atan.c: Likewise.
5840 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
5841 * libm/math/s_isnan.c: Hyphenate "single-precision" and
5842 "floating-point". Use "nonzero".
5843 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
5844 * libm/math/w_acos.c: Likewise.
5845 * libm/math/w_acosh.c: Likewise.
5846 * libm/math/w_asin.c: Likewise.
5847 * libm/math/w_atan2.c: Likewise.
5848 * libm/math/w_atanh.c: Likewise.
5849 * libm/math/w_cosh.c: Likewise.
5850 * libm/math/w_exp.c: Likewise.
5851 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
5852 version of 2^x in the description.
5853 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
5854 * libm/math/w_gamma.c: Likewise.
5855 * libm/math/w_hypot.c: Likewise.
5856 * libm/math/w_j0.c: Likewise.
5857 * libm/math/w_sinh.c: Likewise.
5858 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
5859 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
5860 "floating-point".
5861 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
5862 * libm/mathfp/e_atanh.c: Likewise.
5863 * libm/mathfp/e_hypot.c: Likewise.
5864 * libm/mathfp/er_lgamma.c: Likewise.
5865 * libm/mathfp/s_acos.c: Likewise.
5866 * libm/mathfp/s_asine.c: Likewise.
5867 * libm/mathfp/s_asinh.c: Likewise.
5868 * libm/mathfp/s_atan.c: Likewise.
5869 * libm/mathfp/s_atan2.c: Likewise.
5870 * libm/mathfp/s_atangent.c: Likewise.
5871 * libm/mathfp/s_cosh.c: Likewise.
5872 * libm/mathfp/s_exp.c: Likewise.
5873 * libm/mathfp/s_fmod.c: Likewise.
5874 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
5875 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
5876 "floating-point". Use "nonzero".
5877 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
5878 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
5879 * libm/mathfp/s_sineh.c: Likewise.
5880 * libm/mathfp/w_jn.c: Likewise.
5881
b11926e7
JJ
58822003-10-15 Alexandre Oliva <aoliva@redhat.com>
5883
5884 * Makefile.am: Add $(MAKE) comments to multido and multiclean
5885 lines, to enable parallel make.
5886 * Makefile.in: Rebuilt.
5887
31271d5c
CF
58882003-10-14 Christopher Faylor <cgf@redhat.com>
5889
5890 * libc/time/clock.c: Clarify documentation of return value when no
5891 measurement is available.
5892
bc707cbd
JJ
58932003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
5894
5895 * libm/configure.in: Check libm_machine_dir, not machine_dir.
5896 * libm/configure: Regenerate.
5897 * libm/Makefile.in: Ditto.
5898
f4b10605
JR
58992003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
5900
5901 * libc/machine/sh/strncpy.S: New file.
5902 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
5903 * libc/machine/sh/Makefile.in: Regenerate.
5904
ce044d8f
JW
59052003-09-11 James E Wilson <wilson@specifixinc.com>
5906
5907 * MAINTAINERS: Update my e-mail address.
5908
080ef411
CV
59092003-09-10 Corinna Vinschen <corinna@vinschen.de>
5910
5911 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
5912
3a767b69
JJ
59132003-09-09 Jeff Johnston <jjohnstn@redhat.com>
5914
080ef411
CV
5915 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
5916 prototype.
5917 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
5918 _simdldcheck(). Also add unsigned cast for index variable in
5919 for loop using sizeof operators.
5920 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
5921 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
5922 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
5923 plus fix shift calculation for determining if there is a
5924 carry from word2.
3a767b69 5925
84154fcc
CV
59262003-09-09 Corinna Vinschen <corinna@vinschen.de>
5927
5928 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
5929 setgroupent for Cygwin.
5930
f1b15058
JJ
59312003-09-05 Jeff Johnston <jjohnstn@redhat.com>
5932
5933 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
5934 is different for _REENT_SMALL than when using regular reent
5935 struct.
5936
cf88c20f 59372003-09-05 Ben Elliston <bje@wasabisystems.com>
0a8fd4dc 5938
b73263e4
BE
5939 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
5940 modern versions of GCC issue a warning.
5941
0a8fd4dc
BE
5942 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
5943 after continuation characters that induces a warning from modern
5944 versions of GCC.
5945
10a32423
BE
59462003-09-04 Ben Elliston <bje@wasabisystems.com>
5947
5948 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
5949 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
5950
ed027a53
JJ
59512003-09-02 Thomas Pfaff <tpfaff@gmx.net>
5952
5953 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
5954 * libc/stdlib/exit.c : Ditto.
5955 * libc/stdlib/on_exit.c: Ditto.
5956
880fa247
JJ
59572003-08-27 Corinna Vinschen <corinna@vinschen.de>
5958
5959 * libc/include/reent.h: Define stat64 as __stat64 when
5960 compiling newlib for Cygwin.
5961
54c1d7ea
JJ
59622003-08-26 Jeff Johnston <jjohnstn@redhat.com>
5963
5964 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
5965 __stat64 when compiling newlib.
5966
0eca0750
JJ
59672003-08-26 Jeff Johnston <jjohnstn@redhat.com>
5968
5969 * libc/include/stdio.h: Allow the io64 function prototypes for
5970 Cygwin when compiling newlib.
5971 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
5972 to expose the Cygwin struct __stat64 type.
5973 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
5974 pointer.
5975 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
5976
9d4aef19
CF
59772003-08-23 Christopher Faylor <cgf@redhat.com>
5978
5979 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
5980 definition to fseeko64.
5981
9fc9e1c9
JJ
59822003-08-22 Jeff Johnston <jjohnstn@redhat.com>
5983
5984 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
5985 * libc/stdio: Globally remove/replace all references to fp->_data.
5986 Replace with _REENT or _GLOBAL_REENT where appropriate.
5987 * libc/stdio/asprintf.c: Ditto.
5988 * libc/stdio/fclose.c: Ditto.
5989 * libc/stdio/fvwrite.c: Ditto.
5990 * libc/stdio/makebuf.c: Ditto.
5991 * libc/stdio/refill.c: Ditto.
5992 * libc/stdio/local.h: Ditto.
5993 * libc/stdio/setvbuf.c: Ditto.
5994 * libc/stdio/sscanf.c: Ditto.
5995 * libc/stdio/stdio.c: Ditto.
5996 * libc/stdio/ungetc.c: Ditto.
5997 * libc/stdio/vfscanf.c: Ditto.
5998 * libc/stdio/vsscanf.c: Ditto.
5999 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
6000 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
6001 * libc/stdio/vsnprintf.c: Ditto.
6002 * libc/stdio/vsprintf.c: Ditto.
6003 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
6004 instead of _REENT to walk file list.
6005 * libc/stdio/fflush.c: Ditto.
6006 * libc/stdio/fgetpos.c: Add reentrant version and have regular
6007 version call reentrant version with _REENT argument.
6008 * libc/stdio/fsetpos.c: Ditto.
6009 * libc/stdio/fseek.c: Ditto.
6010 * libc/stdio/fseeko.c: Ditto.
6011 * libc/stdio/ftell.c: Ditto.
6012 * libc/stdio/ftello.c: Ditto.
6013 * libc/stdio/freopen.c: Ditto.
6014 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
6015 new files to chain. Also use _GLOBAL_REENT pointer for
6016 cleaning up.
6017 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
6018 * libc/stdio/siprintf.c: Ditto.
6019 * libc/stdio/iprintf.c: Ditto.
6020 * libc/stdio/fprintf.c: Ditto.
6021 * libc/stdio/printf.c: Ditto.
6022 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
6023 * libc/stdio/sprintf.c: Ditto.
6024 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
6025 * libc/stdio/rewind.c: Call _fseek_r directly.
6026 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
6027 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
6028 data pointer.
6029 (get_arg): Add extra struct _reent pointer argument.
6030 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
6031 to fp->_data.
6032 * libc/stdio64/fopen64.c: Ditto.
6033 * libc/stdio64/freopen64.c: Ditto.
6034 * libc/stdio64/fsetpos64.c: Ditto.
6035 * libc/stdio64/ftello64.c: Ditto.
6036 * libc/stdio64/local64.h: Ditto.
6037 * libc/stdio64/stdio64.c: Ditto.
6038 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
6039 _fstat64_r for the meantime.
6040
8f021114
JJ
60412003-08-19 Jeff Johnston <jjohnstn@redhat.com>
6042
6043 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
6044 overflow detection.
17c0c97d 6045
db979bb4 60462003-08-13 Aldy Hernandez <aldyh@redhat.com>
17c0c97d 6047
db979bb4
JJ
6048 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
6049 extern "C".
6050
6efbdc7d
JJ
60512003-08-13 Jeff Johnston <jjohnstn@redhat.com>
6052
6053 * libc/include/math.h: Add prototypes for __signbitf and
6054 __signbitd.
6055
e895fc20
JJ
60562003-07-31 Jeff Johnston <jjohnstn@redhat.com>
6057
6058 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
6059 correct type of conversion when dealing with EUCJP or SJIS.
6060 * libc/ctype/iswblank.c: Ditto.
6061 * libc/ctype/iswcntrl.c: Ditto.
6062 * libc/ctype/iswprint.c: Ditto.
6063 * libc/ctype/iswpunct.c: Ditto.
6064 * libc/ctype/iswspace.c: Ditto.
6065 * libc/ctype/towlower.c: Ditto.
6066 * libc/ctype/towupper.c: Ditto.
6067
0302dfe5
NC
60682003-07-31 Nick Clifton <nickc@redhat.com>
6069
6070 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
6071 before calling main, in case it saves its argument registers.
ba3ccd63
EB
6072 Remove reference to deleted v850ea port.
6073 * configure.host: Remove reference to deleted v850ea port.
6074 Do not use -mv850 when building for v850e target. This
0302dfe5
NC
6075 prevents the ctbp system register from being initialised.
6076
42de5592
JJ
60772003-07-29 Honda Hiroki <hhonda@ipflex.com>
6078
6079 * libc/stdio/vfprintf.c: Set output size to 1 when
6080 we have %f format with precision 0 and # flag not specified.
6081
e5de27b6
AO
60822003-07-29 Alexandre Oliva <aoliva@redhat.com>
6083
6084 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
6085 .am33_2.
6086
3c98a593
CF
60872003-07-25 Christopher Faylor <cgf@redhat.com>
6088
6089 * libc/stdio64/fdopen64.c: Include sys/lock.h.
6090
e222bf67
CF
60912003-07-25 Christopher Faylor <cgf@redhat.com>
6092
6093 * configure.host: Find cygwin include directory, when appropriate.
6094
03536757
CF
60952003-07-24 Christopher Faylor <cgf@redhat.com>
6096
6097 * libc/stdio64/fdopen64.c: New file.
6098 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
6099 * libc/stdio64/Makefile.in: Regenerate.
6100 * libc/include/stdio.h (fdopen64): Define.
6101 * libc/include/stdio.h (_fdopen64_r): Ditto.
6102
18072a4f
AO
61032003-07-10 Alexandre Oliva <aoliva@redhat.com>
6104
6105 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
6106 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
6107 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
6108 restore callee-saved FP registers.
6109
e0bec12f
JR
61102003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
6111
6112 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
6113 for __sh__.
6114 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
6115 truncate.c.
6116 * libc/sys/sh/Makefile.in: Regenerate.
6117 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
6118 * libc/sys/sh/ftruncate.c: New file.
6119 * libc/sys/sh/truncate.c: Likewise.
6120
03d65dd9
AO
61212003-07-09 Alexandre Oliva <aoliva@redhat.com>
6122
6123 * libc/include/math.h (nan, nanf): Update prototype to C99.
6124 * libm/common/s_nan.c (nan): Likewise.
6125 * libm/common/s_nanf.c (nanf, nan): Likewise.
6126 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
6127
74aa9d7d
JJ
61282003-07-07 Jeff Johnston <jjohnstn@redhat.com>
6129
6130 * libc/include/stdbool.h: Removed as this is defined by gcc.
6131
0a447ef3
JJ
61322003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
6133
6134 * libc/include/stdbool.h: New header file defined by C99.
6135
282eff9a
JJ
61362003-07-02 Jeff Johnston <jjohnstn@redhat.com>
6137
6138 * libc/include/sys/types.h (int8_t): Make signed.
6139
4e989b11
JJ
61402003-07-02 Jeff Johnston <jjohnstn@redhat.com>
6141
6142 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
6143
07b40cf8
JJ
61442003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
6145
6146 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
6147 on if we actually created the shared memory file exclusively.
6148
7daa7891
JJ
61492003-06-27 Joe Vornehm <joev@mitre.org>
6150
6151 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
6152 comparisons to account for unsigned internal value w.
6153
51fa7562
JJ
61542003-06-26 Jeff Johnston <jjohnstn@redhat.com>
6155
6156 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
6157 wrbuf for a non-creating open.
6158
b8f7ea5c
JJ
61592003-06-24 Kazu Hirata <kazu@cs.umass.edu>
6160
6161 * libc/machine/h8300/setarch.h: New.
6162 * libc/machine/h8300/memcpy.S: Use it.
6163 * libc/machine/h8300/memset.S: Likewise.
6164 * libc/machine/h8300/reg_memcpy.S: Likewise.
6165 * libc/machine/h8300/reg_memset.S: Likewise.
6166 * libc/machine/h8300/setjmp.S: Likewise.
6167 * libc/machine/h8300/strcmp.S: Likewise.
6168
6d7ea52a
RS
61692003-06-24 Richard Sandiford <rsandifo@redhat.com>
6170
6171 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
6172 to atexit().
6173
5a74f2aa
JJ
61742003-06-20 Jeff Johnston <jjohnstn@redhat.com>
6175
6176 * configure.host (iq2000): Add tabs.
6177
8266e478
JJ
61782003-06-20 Jeff Johnston <jjohnstn@redhat.com>
6179
6180 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
6181 to handle latest on_exit change.
6182 * libc/sys/linux/Makefile.am: Remove special compilation
6183 for malloc.c and mcheck.c.
6184 * libc/sys/linux/Makefile.in: Regenerated.
6185 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
6186 after including <features.h>.
6187 * libc/sys/linux/mcheck.c: Ditto.
6188 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
6189 for <features.h>.
6190 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
6191 add -DNOT_IN_libc to C flags.
6192 * libc/sys/linux/intl/Makefile.in: Regenerated.
6193 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
6194 * libc/sys/linux/linuxthreads/semaphore.h: Include
6195 <bits/pthreadtypes.h>.
6196 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
6197 including <features.h>.
6198 * libc/sys/linux/sys/lock.h: Ditto.
6199
0efe117b
NC
62002003-06-11 Nick Clifton <nickc@redhat.com>
6201
6202 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
6203 _on_exit_args_ptr.
6204
bfdfd7e6 62052003-06-10 Stan Cox <scox@redhat.com>
ba3ccd63 6206 Anthony Green <green@redhat.com>
17c0c97d 6207
bfdfd7e6
AG
6208 * configure.host: Add iq2000 support.
6209 * newlib/libc/include/machine/ieeefp.h: Ditto.
6210 * newlib/libc/include/machine/setjmp.h: Ditto.
6211 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
6212 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
6213 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
6214 libc/machine/iq2000/Makefile.in: New files.
6215
d9e4104b
RS
62162003-06-10 Richard Sandiford <rsandifo@redhat.com>
6217
6218 * libc/sys/h8300hms/setarch.h: New file.
6219 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
6220 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
6221 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
6222 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
6223
729d1ff9
JJ
62242003-06-06 Jeff Johnston <jjohnstn@redhat.com>
6225
ba3ccd63
EB
6226 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
6227 definition.
6228 * libc/argz/argz_add_sep.c: Ditto.
6229 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
6230 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
6231 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
6232 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
6233 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
6234 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
6235 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
6236 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
6237 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
6238 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
6239 * libc/posix/execl.c libc/posix/execle.c: Ditto.
6240 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
6241 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
6242 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
6243 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
6244 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
6245 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
6246 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
6247 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
6248 * libc/search/twalk.c libc/signal/signal.c: Ditto.
729d1ff9 6249
75d7d177 62502003-06-05 Nick Clifton <nickc@redhat.com>
17c0c97d 6251
75d7d177
NC
6252 * libc/include/sys/reent.h (struct _on_exit_args): New
6253 structure containing fields used by the on_exit() function.
ba3ccd63 6254 (struct _atexit): Include struct _on_exit_args. For
75d7d177
NC
6255 _REENT_SMALL do his via a pointer that is initialised when
6256 needed.
ba3ccd63 6257 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
75d7d177 6258 structure, if one has been allocated.
ba3ccd63 6259 * libc/stdlib/atexit.c (atexit): Update indirection to
75d7d177 6260 _fntypes field.
ba3ccd63 6261 * libc/stdlib/on_exit.c (on_exit): Indirect via the
75d7d177
NC
6262 _on_exit_args structure. For _REENT_SMALL, allocate a
6263 structure if one does not exist.
ba3ccd63 6264 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
75d7d177
NC
6265 structure.
6266
2129f283
JJ
62672003-06-04 Jeff Johnston <jjohnstn@redhat.com>
6268
6269 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
6270 * libc/sys/linux/net/Makefile.in: Regenerated.
6271
bf3bcac2
JJ
62722003-06-03 Jeff Johnston <jjohnstn@redhat.com>
6273
6274 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
6275 * libc/reent/fcntlr.c: Ditto.
6276 * libc/reent/fstat64r.c: Ditto.
6277 * libc/reent/linkr.c: Ditto.
6278 * libc/reent/lseek64r.c: Ditto.
6279 * libc/reent/lseekr.c: Ditto.
6280 * libc/reent/openr.c: Ditto.
6281 * libc/reent/readr.c: Ditto.
6282 * libc/reent/reent.c: Ditto.
6283 * libc/reent/sbrkr.c: Ditto.
6284 * libc/reent/signalr.c: Ditto.
6285 * libc/reent/signgam.c: Ditto.
6286 * libc/reent/statr.c: Ditto.
6287 * libc/reent/timer.c: Ditto.
6288 * libc/reent/unlinkr.c: Ditto.
6289 * libc/reent/writer.c: Ditto.
6290 * libc/syscalls/sysclose.c: Ditto.
6291 * libc/syscalls/sysexecve.c: Ditto.
6292 * libc/syscalls/sysfcntl.c: Ditto.
6293 * libc/syscalls/sysfork.c: Ditto.
6294 * libc/syscalls/sysfstat.c: Ditto.
6295 * libc/syscalls/sysgetpid.c: Ditto.
6296 * libc/syscalls/sysgettod.c: Ditto.
6297 * libc/syscalls/syskill.c: Ditto.
6298 * libc/syscalls/syslink.c: Ditto.
6299 * libc/syscalls/syslseek.c: Ditto.
6300 * libc/syscalls/sysopen.c: Ditto.
6301 * libc/syscalls/sysread.c: Ditto.
6302 * libc/syscalls/syssbrk.c: Ditto.
6303 * libc/syscalls/sysstat.c: Ditto.
6304 * libc/syscalls/systimes.c: Ditto.
6305 * libc/syscalls/sysunlink.c: Ditto.
6306 * libc/syscalls/syswait.c: Ditto.
6307 * libc/syscalls/syswrite.c: Ditto.
6308
702ceb23
JJ
63092003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
6310
6311 * libc/time/tzset_r.c: Change local variables that are
6312 set via sscanf using the %h format specifier to be unsigned short
6313 instead of int.
6314
102861c9
JJ
63152003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
6316
6317 * configure.host: Allow i[34567]86 variant.
6318 * configure.in: Likewise.
6319 * README: Likewise to the docs.
6320 * configure: Regenerated.
6321 * Makefile.in: Ditto.
6322
b359e82c
JJ
63232003-05-28 Jeff Johnston <jjohnstn@redhat.com>
6324 Tom Fitzsimmons <fitzsim@redhat.com>
6325
6326 * configure.in: Add iconvdata support for x86 linux.
6327 * configure: Regenerated.
17c0c97d 6328 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
b359e82c
JJ
6329 library, iconv, and linuxthreads support.
6330 * libc/sys/linux/configure.in: Ditto.
6331 * libc/sys/linux/Makefile.in: Regenerated.
6332 * libc/sys/linux/configure: Ditto.
6333 * iconvdata/EUC-JP.irreversible: New file.
6334 * iconvdata/Makefile.am: Ditto.
6335 * iconvdata/Makefile.in: Ditto.
6336 * iconvdata/SJIS.irreversible: Ditto.
6337 * iconvdata/aclocal.m4: Ditto.
6338 * iconvdata/configure: Ditto.
6339 * iconvdata/configure.in: Ditto.
6340 * iconvdata/dummy.c: Ditto.
6341 * iconvdata/euc-jp.c: Ditto.
6342 * iconvdata/gconv-modules: Ditto.
6343 * iconvdata/jis0201.c: Ditto.
6344 * iconvdata/jis0201.h: Ditto.
6345 * iconvdata/jis0208.c: Ditto.
6346 * iconvdata/jis0208.h: Ditto.
6347 * iconvdata/jis0212.c: Ditto.
6348 * iconvdata/jis0212.h: Ditto.
6349 * iconvdata/sjis.c: Ditto.
6350 * libc/include/errno.h: Protect definition of error_t.
6351 * libc/sys/linux/gethostid.c: New file.
6352 * libc/sys/linux/sethostid.c: Ditto.
6353 * libc/sys/linux/dl/Makefile.am: Ditto.
6354 * libc/sys/linux/dl/Makefile.in: Ditto.
6355 * libc/sys/linux/dl/abi-tag.h: Ditto.
6356 * libc/sys/linux/dl/atomicity.h: Ditto.
6357 * libc/sys/linux/dl/dl-addr.c: Ditto.
6358 * libc/sys/linux/dl/dl-cache.c: Ditto.
6359 * libc/sys/linux/dl/dl-cache.h: Ditto.
6360 * libc/sys/linux/dl/dl-close.c: Ditto.
6361 * libc/sys/linux/dl/dl-debug.c: Ditto.
6362 * libc/sys/linux/dl/dl-deps.c: Ditto.
6363 * libc/sys/linux/dl/dl-dst.h: Ditto.
6364 * libc/sys/linux/dl/dl-error.c: Ditto.
6365 * libc/sys/linux/dl/dl-fini.c: Ditto.
6366 * libc/sys/linux/dl/dl-init.c: Ditto.
6367 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
6368 * libc/sys/linux/dl/dl-libc.c: Ditto.
6369 * libc/sys/linux/dl/dl-librecon.h: Ditto.
6370 * libc/sys/linux/dl/dl-load.c: Ditto.
6371 * libc/sys/linux/dl/dl-lookup.c: Ditto.
6372 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
6373 * libc/sys/linux/dl/dl-minimal.c: Ditto.
6374 * libc/sys/linux/dl/dl-misc.c: Ditto.
6375 * libc/sys/linux/dl/dl-object.c: Ditto.
6376 * libc/sys/linux/dl/dl-open.c: Ditto.
6377 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
6378 * libc/sys/linux/dl/dl-profile.c: Ditto.
6379 * libc/sys/linux/dl/dl-profstub.c: Ditto.
6380 * libc/sys/linux/dl/dl-reloc.c: Ditto.
6381 * libc/sys/linux/dl/dl-runtime.c: Ditto.
6382 * libc/sys/linux/dl/dl-support.c: Ditto.
6383 * libc/sys/linux/dl/dl-sym.c: Ditto.
6384 * libc/sys/linux/dl/dl-version.c: Ditto.
6385 * libc/sys/linux/dl/dlfcn.h: Ditto.
6386 * libc/sys/linux/dl/do-lookup.h: Ditto.
6387 * libc/sys/linux/dl/do-rel.h: Ditto.
6388 * libc/sys/linux/dl/dynamic-link.h: Ditto.
6389 * libc/sys/linux/dl/kernel-features.h: Ditto.
6390 * libc/sys/linux/dl/ldsodefs.h: Ditto.
6391 * libc/sys/linux/dl/libintl.h: Ditto.
6392 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
6393 * libc/sys/linux/dl/unsecvars.h: Ditto.
6394 * libc/sys/linux/iconv/Makefile.am: Ditto.
6395 * libc/sys/linux/iconv/Makefile.in: Ditto.
6396 * libc/sys/linux/iconv/categories.def: Ditto.
6397 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
6398 * libc/sys/linux/iconv/gconv.c: Ditto.
6399 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
6400 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
6401 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
6402 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
6403 * libc/sys/linux/iconv/gconv_close.c: Ditto.
6404 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
6405 * libc/sys/linux/iconv/gconv_db.c: Ditto.
6406 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
6407 * libc/sys/linux/iconv/gconv_int.h: Ditto.
6408 * libc/sys/linux/iconv/gconv_open.c: Ditto.
6409 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
6410 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
6411 * libc/sys/linux/iconv/hash-string.h: Ditto.
6412 * libc/sys/linux/iconv/iconv.c: Ditto.
6413 * libc/sys/linux/iconv/iconv.h: Ditto.
6414 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
6415 * libc/sys/linux/iconv/iconv_close.c: Ditto.
6416 * libc/sys/linux/iconv/iconv_open.c: Ditto.
6417 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
6418 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
6419 * libc/sys/linux/iconv/loadinfo.h: Ditto.
6420 * libc/sys/linux/iconv/localeinfo.h: Ditto.
6421 * libc/sys/linux/iconv/loop.c: Ditto.
6422 * libc/sys/linux/iconv/skeleton.c: Ditto.
6423 * libc/sys/linux/iconv/strtab.c: Ditto.
6424 * libc/sys/linux/include/dl-hash.h: Ditto.
6425 * libc/sys/linux/include/dlfcn.h: Ditto.
6426 * libc/sys/linux/include/fnmatch.h: Ditto.
6427 * libc/sys/linux/include/gconv.h: Ditto.
6428 * libc/sys/linux/include/glob.h: Ditto.
6429 * libc/sys/linux/include/hesiod.h: Ditto.
6430 * libc/sys/linux/include/ifaddrs.h: Ditto.
6431 * libc/sys/linux/include/libc_private.h: Ditto.
6432 * libc/sys/linux/include/link.h: Ditto.
6433 * libc/sys/linux/include/namespace.h: Ditto.
6434 * libc/sys/linux/include/netconfig.h: Ditto.
6435 * libc/sys/linux/include/netdb.h: Ditto.
6436 * libc/sys/linux/include/nsswitch.h: Ditto.
6437 * libc/sys/linux/include/regex.h: Ditto.
6438 * libc/sys/linux/include/resolv.h: Ditto.
6439 * libc/sys/linux/include/rune.h: Ditto.
6440 * libc/sys/linux/include/runetype.h: Ditto.
6441 * libc/sys/linux/include/semaphore.h: Ditto.
6442 * libc/sys/linux/include/setlocale.h: Ditto.
6443 * libc/sys/linux/include/un-namespace.h: Ditto.
6444 * libc/sys/linux/include/wordexp.h: Ditto.
6445 * libc/sys/linux/include/arpa/ftp.h: Ditto.
6446 * libc/sys/linux/include/arpa/inet.h: Ditto.
6447 * libc/sys/linux/include/arpa/nameser.h: Ditto.
6448 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
6449 * libc/sys/linux/include/arpa/telnet.h: Ditto.
6450 * libc/sys/linux/include/arpa/tftp.h: Ditto.
6451 * libc/sys/linux/include/net/bpf.h: Ditto.
6452 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
6453 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
6454 * libc/sys/linux/include/net/bridge.h: Ditto.
6455 * libc/sys/linux/include/net/ethernet.h: Ditto.
6456 * libc/sys/linux/include/net/fddi.h: Ditto.
6457 * libc/sys/linux/include/net/if.h: Ditto.
6458 * libc/sys/linux/include/net/if_arc.h: Ditto.
6459 * libc/sys/linux/include/net/if_arp.h: Ditto.
6460 * libc/sys/linux/include/net/if_atm.h: Ditto.
6461 * libc/sys/linux/include/net/if_dl.h: Ditto.
6462 * libc/sys/linux/include/net/if_gif.h: Ditto.
6463 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
6464 * libc/sys/linux/include/net/if_llc.h: Ditto.
6465 * libc/sys/linux/include/net/if_media.h: Ditto.
6466 * libc/sys/linux/include/net/if_mib.h: Ditto.
6467 * libc/sys/linux/include/net/if_ppp.h: Ditto.
6468 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
6469 * libc/sys/linux/include/net/if_slvar.h: Ditto.
6470 * libc/sys/linux/include/net/if_sppp.h: Ditto.
6471 * libc/sys/linux/include/net/if_stf.h: Ditto.
6472 * libc/sys/linux/include/net/if_tap.h: Ditto.
6473 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
6474 * libc/sys/linux/include/net/if_tun.h: Ditto.
6475 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
6476 * libc/sys/linux/include/net/if_types.h: Ditto.
6477 * libc/sys/linux/include/net/if_var.h: Ditto.
6478 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
6479 * libc/sys/linux/include/net/intrq.h: Ditto.
6480 * libc/sys/linux/include/net/iso88025.h: Ditto.
6481 * libc/sys/linux/include/net/net_osdep.h: Ditto.
6482 * libc/sys/linux/include/net/netisr.h: Ditto.
6483 * libc/sys/linux/include/net/pfil.h: Ditto.
6484 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
6485 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
6486 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
6487 * libc/sys/linux/include/net/radix.h: Ditto.
6488 * libc/sys/linux/include/net/raw_cb.h: Ditto.
6489 * libc/sys/linux/include/net/route.h: Ditto.
6490 * libc/sys/linux/include/net/slcompress.h: Ditto.
6491 * libc/sys/linux/include/net/slip.h: Ditto.
6492 * libc/sys/linux/include/net/zlib.h: Ditto.
6493 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
6494 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
6495 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
6496 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
6497 * libc/sys/linux/include/netinet/igmp.h: Ditto.
6498 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
6499 * libc/sys/linux/include/netinet/in.h: Ditto.
6500 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
6501 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
6502 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
6503 * libc/sys/linux/include/netinet/in_var.h: Ditto.
6504 * libc/sys/linux/include/netinet/ip.h: Ditto.
6505 * libc/sys/linux/include/netinet/ip6.h: Ditto.
6506 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
6507 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
6508 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
6509 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
6510 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
6511 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
6512 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
6513 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
6514 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
6515 * libc/sys/linux/include/netinet/tcp.h: Ditto.
6516 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
6517 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
6518 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
6519 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
6520 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
6521 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
6522 * libc/sys/linux/include/netinet/udp.h: Ditto.
6523 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
6524 * libc/sys/linux/include/netinet6/ah.h: Ditto.
6525 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
6526 * libc/sys/linux/include/netinet6/esp.h: Ditto.
6527 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
6528 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
6529 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
6530 * libc/sys/linux/include/netinet6/in6.h: Ditto.
6531 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
6532 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
6533 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
6534 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
6535 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
6536 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
6537 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
6538 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
6539 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
6540 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
6541 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
6542 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
6543 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
6544 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
6545 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
6546 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
6547 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
6548 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
6549 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
6550 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
6551 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
6552 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
6553 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
6554 * libc/sys/linux/include/netns/idp.h: Ditto.
6555 * libc/sys/linux/include/netns/idp_var.h: Ditto.
6556 * libc/sys/linux/include/netns/ns.h: Ditto.
6557 * libc/sys/linux/include/netns/ns_error.h: Ditto.
6558 * libc/sys/linux/include/netns/ns_if.h: Ditto.
6559 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
6560 * libc/sys/linux/include/netns/sp.h: Ditto.
6561 * libc/sys/linux/include/netns/spidp.h: Ditto.
6562 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
6563 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
6564 * libc/sys/linux/include/netns/spp_var.h: Ditto.
6565 * libc/sys/linux/include/rpc/Makefile: Ditto.
6566 * libc/sys/linux/include/rpc/auth.h: Ditto.
6567 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
6568 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
6569 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
6570 * libc/sys/linux/include/rpc/clnt.h: Ditto.
6571 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
6572 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
6573 * libc/sys/linux/include/rpc/des.h: Ditto.
6574 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
6575 * libc/sys/linux/include/rpc/nettype.h: Ditto.
6576 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
6577 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
6578 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
6579 * libc/sys/linux/include/rpc/raw.h: Ditto.
6580 * libc/sys/linux/include/rpc/rpc.h: Ditto.
6581 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
6582 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
6583 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
6584 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
6585 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
6586 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
6587 * libc/sys/linux/include/rpc/svc.h: Ditto.
6588 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
6589 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
6590 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
6591 * libc/sys/linux/include/rpc/types.h: Ditto.
6592 * libc/sys/linux/include/rpc/xdr.h: Ditto.
6593 * libc/sys/linux/intl/Makefile.am: Ditto.
6594 * libc/sys/linux/intl/Makefile.in: Ditto.
6595 * libc/sys/linux/intl/bindtextdom.c: Ditto.
6596 * libc/sys/linux/intl/catgets.c: Ditto.
6597 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
6598 * libc/sys/linux/intl/config.h: Ditto.
6599 * libc/sys/linux/intl/dcgettext.c: Ditto.
6600 * libc/sys/linux/intl/dcigettext.c: Ditto.
6601 * libc/sys/linux/intl/dcngettext.c: Ditto.
6602 * libc/sys/linux/intl/dgettext.c: Ditto.
6603 * libc/sys/linux/intl/dngettext.c: Ditto.
6604 * libc/sys/linux/intl/explodename.c: Ditto.
6605 * libc/sys/linux/intl/finddomain.c: Ditto.
6606 * libc/sys/linux/intl/gettext.c: Ditto.
6607 * libc/sys/linux/intl/gettext.h: Ditto.
6608 * libc/sys/linux/intl/gettextP.h: Ditto.
6609 * libc/sys/linux/intl/hash-string.h: Ditto.
6610 * libc/sys/linux/intl/l10nflist.c: Ditto.
6611 * libc/sys/linux/intl/loadinfo.h: Ditto.
6612 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
6613 * libc/sys/linux/intl/locale.alias: Ditto.
6614 * libc/sys/linux/intl/localealias.c: Ditto.
6615 * libc/sys/linux/intl/ngettext.c: Ditto.
6616 * libc/sys/linux/intl/open_catalog.c: Ditto.
6617 * libc/sys/linux/intl/plural.c: Ditto.
6618 * libc/sys/linux/intl/plural.y: Ditto.
6619 * libc/sys/linux/intl/stpcpy.c: Ditto.
6620 * libc/sys/linux/intl/textdomain.c: Ditto.
6621 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
6622 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
6623 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
6624 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
6625 * libc/sys/linux/linuxthreads/attr.c: Ditto.
6626 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
6627 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
6628 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
6629 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
6630 * libc/sys/linux/linuxthreads/config.h: Ditto.
6631 * libc/sys/linux/linuxthreads/configure: Ditto.
6632 * libc/sys/linux/linuxthreads/configure.in: Ditto.
6633 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
6634 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
6635 * libc/sys/linux/linuxthreads/events.c: Ditto.
6636 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
6637 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
6638 * libc/sys/linux/linuxthreads/internals.h: Ditto.
6639 * libc/sys/linux/linuxthreads/join.c: Ditto.
6640 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
6641 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
6642 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
6643 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
6644 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
6645 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
6646 * libc/sys/linux/linuxthreads/manager.c: Ditto.
6647 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
6648 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
6649 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
6650 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
6651 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
6652 * libc/sys/linux/linuxthreads/prio.c: Ditto.
6653 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
6654 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
6655 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
6656 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
6657 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
6658 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
6659 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
6660 * libc/sys/linux/linuxthreads/queue.h: Ditto.
6661 * libc/sys/linux/linuxthreads/reent.c: Ditto.
6662 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
6663 * libc/sys/linux/linuxthreads/restart.h: Ditto.
6664 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
6665 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
6666 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
6667 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
6668 * libc/sys/linux/linuxthreads/signals.c: Ditto.
6669 * libc/sys/linux/linuxthreads/specific.c: Ditto.
6670 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
6671 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
6672 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
6673 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
6674 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
6675 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
6676 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
6677 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
6678 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
6679 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
6680 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
6681 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
6682 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
6683 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
6684 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
6685 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
6686 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
6687 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
6688 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
6689 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
6690 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
6691 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
6692 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
6693 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
6694 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
6695 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
6696 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
6697 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
6698 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
6699 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
6700 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
6701 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
6702 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
6703 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
6704 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
6705 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
6706 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
6707 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
6708 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
6709 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
6710 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
6711 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
6712 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
6713 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
6714 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
6715 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
6716 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
6717 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
6718 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
6719 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
6720 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
6721 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
6722 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
6723 * libc/sys/linux/linuxthreads/unload.c: Ditto.
6724 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
6725 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
6726 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
6727 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
6728 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
6729 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
6730 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
6731 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
6732 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
6733 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
6734 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
6735 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
6736 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
6737 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
6738 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
6739 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
6740 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
6741 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
6742 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
6743 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
6744 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
6745 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
6746 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
6747 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
6748 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
6749 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
6750 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
6751 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
6752 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
6753 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
6754 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
6755 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
6756 * libc/sys/linux/net/Makefile.am: Ditto.
6757 * libc/sys/linux/net/Makefile.in: Ditto.
6758 * libc/sys/linux/net/addr2ascii.3: Ditto.
6759 * libc/sys/linux/net/addr2ascii.c: Ditto.
6760 * libc/sys/linux/net/ascii2addr.c: Ditto.
6761 * libc/sys/linux/net/base64.c: Ditto.
6762 * libc/sys/linux/net/bindresvport.c: Ditto.
6763 * libc/sys/linux/net/byteorder.3: Ditto.
6764 * libc/sys/linux/net/ether_addr.c: Ditto.
6765 * libc/sys/linux/net/ethers.3: Ditto.
6766 * libc/sys/linux/net/getaddrinfo.3: Ditto.
6767 * libc/sys/linux/net/getaddrinfo.c: Ditto.
6768 * libc/sys/linux/net/gethostbydns.c: Ditto.
6769 * libc/sys/linux/net/gethostbyht.c: Ditto.
6770 * libc/sys/linux/net/gethostbyname.3: Ditto.
6771 * libc/sys/linux/net/gethostbynis.c: Ditto.
6772 * libc/sys/linux/net/gethostnamadr.c: Ditto.
6773 * libc/sys/linux/net/getifaddrs.3: Ditto.
6774 * libc/sys/linux/net/getifaddrs.c: Ditto.
6775 * libc/sys/linux/net/getipnodebyname.3: Ditto.
6776 * libc/sys/linux/net/getnameinfo.3: Ditto.
6777 * libc/sys/linux/net/getnameinfo.c: Ditto.
6778 * libc/sys/linux/net/getnetbydns.c: Ditto.
6779 * libc/sys/linux/net/getnetbyht.c: Ditto.
6780 * libc/sys/linux/net/getnetbynis.c: Ditto.
6781 * libc/sys/linux/net/getnetent.3: Ditto.
6782 * libc/sys/linux/net/getnetnamadr.c: Ditto.
6783 * libc/sys/linux/net/getproto.c: Ditto.
6784 * libc/sys/linux/net/getprotoent.3: Ditto.
6785 * libc/sys/linux/net/getprotoent.c: Ditto.
6786 * libc/sys/linux/net/getprotoname.c: Ditto.
6787 * libc/sys/linux/net/getservbyname.c: Ditto.
6788 * libc/sys/linux/net/getservbyport.c: Ditto.
6789 * libc/sys/linux/net/getservent.3: Ditto.
6790 * libc/sys/linux/net/getservent.c: Ditto.
6791 * libc/sys/linux/net/herror.c: Ditto.
6792 * libc/sys/linux/net/hesiod.3: Ditto.
6793 * libc/sys/linux/net/hesiod.c: Ditto.
6794 * libc/sys/linux/net/if_indextoname.3: Ditto.
6795 * libc/sys/linux/net/ifname.c: Ditto.
6796 * libc/sys/linux/net/inet.3: Ditto.
6797 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
6798 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
6799 * libc/sys/linux/net/inet_addr.c: Ditto.
6800 * libc/sys/linux/net/inet_lnaof.c: Ditto.
6801 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
6802 * libc/sys/linux/net/inet_net.3: Ditto.
6803 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
6804 * libc/sys/linux/net/inet_net_pton.c: Ditto.
6805 * libc/sys/linux/net/inet_neta.c: Ditto.
6806 * libc/sys/linux/net/inet_netof.c: Ditto.
6807 * libc/sys/linux/net/inet_network.c: Ditto.
6808 * libc/sys/linux/net/inet_ntoa.c: Ditto.
6809 * libc/sys/linux/net/inet_ntop.c: Ditto.
6810 * libc/sys/linux/net/inet_pton.c: Ditto.
6811 * libc/sys/linux/net/innetgr-stub.c: Ditto.
6812 * libc/sys/linux/net/ip6opt.c: Ditto.
6813 * libc/sys/linux/net/iso_addr.3: Ditto.
6814 * libc/sys/linux/net/iso_addr.c: Ditto.
6815 * libc/sys/linux/net/issetugid-stub.c: Ditto.
6816 * libc/sys/linux/net/linkaddr.3: Ditto.
6817 * libc/sys/linux/net/linkaddr.c: Ditto.
6818 * libc/sys/linux/net/map_v4v6.c: Ditto.
6819 * libc/sys/linux/net/name6.c: Ditto.
6820 * libc/sys/linux/net/namespace.h: Ditto.
6821 * libc/sys/linux/net/ns.3: Ditto.
6822 * libc/sys/linux/net/ns_addr.c: Ditto.
6823 * libc/sys/linux/net/ns_name.c: Ditto.
6824 * libc/sys/linux/net/ns_netint.c: Ditto.
6825 * libc/sys/linux/net/ns_ntoa.c: Ditto.
6826 * libc/sys/linux/net/ns_parse.c: Ditto.
6827 * libc/sys/linux/net/ns_print.c: Ditto.
6828 * libc/sys/linux/net/ns_ttl.c: Ditto.
6829 * libc/sys/linux/net/nsap_addr.c: Ditto.
6830 * libc/sys/linux/net/nsdispatch.3: Ditto.
6831 * libc/sys/linux/net/nsdispatch.c: Ditto.
6832 * libc/sys/linux/net/nslexer.c: Ditto.
6833 * libc/sys/linux/net/nslexer.l: Ditto.
6834 * libc/sys/linux/net/nsparser.c: Ditto.
6835 * libc/sys/linux/net/nsparser.h: Ditto.
6836 * libc/sys/linux/net/nsparser.y: Ditto.
6837 * libc/sys/linux/net/rcmd.3: Ditto.
6838 * libc/sys/linux/net/rcmd.c: Ditto.
6839 * libc/sys/linux/net/rcmdsh.3: Ditto.
6840 * libc/sys/linux/net/rcmdsh.c: Ditto.
6841 * libc/sys/linux/net/recv.c: Ditto.
6842 * libc/sys/linux/net/res_comp.c: Ditto.
6843 * libc/sys/linux/net/res_config.h: Ditto.
6844 * libc/sys/linux/net/res_data.c: Ditto.
6845 * libc/sys/linux/net/res_debug.c: Ditto.
6846 * libc/sys/linux/net/res_init.c: Ditto.
6847 * libc/sys/linux/net/res_mkquery.c: Ditto.
6848 * libc/sys/linux/net/res_mkupdate.c: Ditto.
6849 * libc/sys/linux/net/res_query.c: Ditto.
6850 * libc/sys/linux/net/res_send.c: Ditto.
6851 * libc/sys/linux/net/res_update.c: Ditto.
6852 * libc/sys/linux/net/resolver.3: Ditto.
6853 * libc/sys/linux/net/rthdr.c: Ditto.
6854 * libc/sys/linux/net/send.c: Ditto.
6855 * libc/sys/linux/net/un-namespace.h: Ditto.
6856 * libc/sys/linux/net/vars.c: Ditto.
6857 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
6858 * libc/sys/linux/stdlib/Makefile.am: Ditto.
6859 * libc/sys/linux/stdlib/Makefile.in: Ditto.
6860 * libc/sys/linux/stdlib/cclass.h: Ditto.
6861 * libc/sys/linux/stdlib/cname.h: Ditto.
6862 * libc/sys/linux/stdlib/collate.c: Ditto.
6863 * libc/sys/linux/stdlib/collate.h: Ditto.
6864 * libc/sys/linux/stdlib/collcmp.c: Ditto.
6865 * libc/sys/linux/stdlib/engine.c: Ditto.
6866 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
6867 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
6868 * libc/sys/linux/stdlib/glob.3: Ditto.
6869 * libc/sys/linux/stdlib/glob.c: Ditto.
6870 * libc/sys/linux/stdlib/reallocf.c: Ditto.
6871 * libc/sys/linux/stdlib/regcomp.c: Ditto.
6872 * libc/sys/linux/stdlib/regerror.c: Ditto.
6873 * libc/sys/linux/stdlib/regex.3: Ditto.
6874 * libc/sys/linux/stdlib/regex2.h: Ditto.
6875 * libc/sys/linux/stdlib/regexec.c: Ditto.
6876 * libc/sys/linux/stdlib/regfree.c: Ditto.
6877 * libc/sys/linux/stdlib/utils.h: Ditto.
6878 * libc/sys/linux/stdlib/wordexp.c: Ditto.
6879 * libc/sys/linux/stdlib/wordfree.c: Ditto.
6880 * libc/sys/linux/sys/dlfcn.h: Ditto.
6881 * libc/sys/linux/sys/elfclass.h: Ditto.
6882 * libc/sys/linux/sys/event.h: Ditto.
6883 * libc/sys/linux/sys/ioccom.h: Ditto.
6884 * libc/sys/linux/sys/libc-tsd.h: Ditto.
6885 * libc/sys/linux/sys/link.h: Ditto.
6886 * libc/sys/linux/sys/lock.h: Ditto.
6887 * libc/sys/linux/sys/param.h: Ditto.
6888 * libc/sys/linux/sys/socket.h: Ditto.
6889 * libc/sys/linux/sys/sockio.h: Ditto.
6890
17c0c97d 68912003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
82095e79 6892
17c0c97d 6893 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
82095e79
JJ
6894 normal mode
6895 * newlib/libc/machine/h8300/memset.S: Likewise
6896 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
6897 * newlib/lib/machine/h8300/reg_memset.S: Likewise
6898 * newlib/lib/machine/h8300/setjmp.S: Likewise
6899 * newlib/lib/machine/h8300/strcmp.S: Likewise
6900 * newlib/lib/sys/h8300hms/crt0.S: Likewise
6901
8a4b4764
CV
69022003-05-13 Corinna Vinschen <corinna@vinschen.de>
6903
6904 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
6905 * libc/include/stdio.h: Ditto.
6906 * libc/include/sys/config.h: Ditto.
6907 * libc/stdio/mktemp.c: Ditto.
6908
837e070f
CV
69092003-05-13 Corinna Vinschen <corinna@vinschen.de>
6910
6911 * libc/locale/ldpart.c (__part_load_locale): Substitute
6912 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
6913 * libc/search/hash.c (__hash_open): Ditto.
6914 (init_hash): Ditto.
6915 * libc/stdio/fseek.c (fseek): Ditto.
6916 * libc/stdio/makebuf.c (__smakebuf): Ditto.
6917 * libc/stdio/mktemp.c (_gettemp): Ditto.
6918
b47fcdf0
CV
69192003-05-12 Corinna Vinschen <corinna@vinschen.de>
6920
6921 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
6922
11e3a520
CV
69232003-05-12 Corinna Vinschen <corinna@vinschen.de>
6924
6925 * configure.host: Accomodate removing the libc/sys/cygwin dir.
6926 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
6927 if __CYGWIN_USE_BIG_TYPES__ is set.
6928 * libc/search/hash.c (__hash_open): Ditto.
6929 (init_hash): Ditto.
6930 * libc/stdio/fseek.c (fseek): Ditto.
6931 * libc/stdio/makebuf.c (__smakebuf): Ditto.
6932 * libc/stdio/mktemp.c (_gettemp): Ditto.
6933 * libc/sys/cygwin/Makefile.am: Remove.
6934 * libc/sys/cygwin/Makefile.in: Remove.
6935 * libc/sys/cygwin/aclocal.m4: Remove.
6936 * libc/sys/cygwin/configure: Remove.
6937 * libc/sys/cygwin/configure.in: Remove.
6938 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
6939 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
6940 directory.
6941 * libc/sys/cygwin/sys/param.h: Ditto.
6942 * libc/sys/cygwin/sys/utime.h: Ditto.
6943 * libc/sys/cygwin/sys/utmp.h: Ditto.
6944
d1b5e65b
CV
69452003-05-11 Corinna Vinschen <corinna@vinschen.de>
6946
6947 * libc/include/sys/types.h: Don't define key_t for Cygwin.
6948
ec48a953
CF
69492003-05-10 Christopher Faylor <cgf@redhat.com>
6950
6951 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
6952 64 bit inodes.
6953
a3cc5851
CV
69542003-05-09 Corinna Vinschen <corinna@vinschen.de>
6955
6956 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
6957 Include cygwin/config.h instead.
6958
57ff95d3
JJ
69592003-04-16 Jeff Johnston <jjohnstn@redhat.com>
6960
6961 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
6962 all code with #ifdef __SPE__ test.
6963 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
6964
cfd2c7be
CF
69652003-04-15 Chris January <chris@atomice.net>
6966
6967 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
6968 Cygwin.
6969
6f48c0ae
JR
69702003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
6971
6972 * libc/machine/sh/memset.S: Avoid clobbering volatile
6973 objects following a tiny to-be-set array in the same quadword.
6974
8f8d09c0
CV
69752001-04-09 Corinna Vinschen <corinna@vinschen.de>
6976
17c0c97d 6977 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
8f8d09c0
CV
6978 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
6979 * libc/string/Makefile.in: Regenerated.
6980 * libc/string/wcswidth.c: New file.
6981 * libc/string/wcwidth.c: New file.
6982 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
6983
40c3b2d0
JR
6984Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
6985
6986 * libc/machine/sh/memset.S: Fix problem with alloco region
6987 exceeding destination region for length >= 88 bytes, start
6988 & 0x16 == 0, end & 0x1f == 18.
6989
8ae6a3dd
CV
69902001-04-03 Corinna Vinschen <corinna@vinschen.de>
6991
6992 * libc/string/wcscoll.c: Fix comment.
6993
d122b1cc
CV
69942001-04-02 Corinna Vinschen <corinna@vinschen.de>
6995
6996 * libc/include/wchar.h: Add definition for wcscoll.
6997 * libc/string/Makefile.am: Add wcscoll.c.
6998 * libc/string/Makefile.in: Regenerated.
6999 * libc/string/wcscoll.c: New file.
17c0c97d 7000 * libc/string/wcstrings.tex: Add wcscoll.
d122b1cc 7001
31ee99a4
CV
70022003-04-01 Corinna Vinschen <corinna@vinschen.de>
7003
7004 * libc/stdio/sscanf.c: Update flags description.
7005 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
7006 type.
7007 (__svfscanf_r): Add 'hh' and 'll' handling.
7008
d78045ee
CV
70092003-04-01 Corinna Vinschen <corinna@vinschen.de>
7010
7011 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
7012 __d_position member to _off_t.
7013
e6bdc6c5
JJ
70142003-03-20 Jeff Johnston <jjohnstn@redhat.com>
7015
7016 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
7017 count all characters used to create number against maximum width.
7018 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
7019
e65d559e
JJ
70202003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
7021
7022 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
7023 support.
7024 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
7025 flag to support simulator only extensions.
7026
6b3bb52b
JJ
70272003-03-17 Bob Cassels <bcassels@abinitio.com>
7028
ba3ccd63 7029 * libc/string/wcschr.c: (wcschr): Look for character first,
6b3bb52b
JJ
7030 then for end of string, so you can do wcschr(x, '\0').
7031
17c0c97d 70322003-03-10 Corinna Vinschen <corinna@vinschen.de>
2a940c1a
CV
7033
7034 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
7035 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
7036 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
7037 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
7038 * libc/stdio/fseeko.c (fseeko): Ditto.
7039 * libc/stdio/ftello.c (ftello): Ditto.
7040 * libc/stdio/stdio.c (__swrite): Ditto.
7041 (__sseek): Ditto.
7042 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
7043 * libc/stdio/fseek.c (fseek): Ditto.
7044 * libc/stdio/fsetpos.c (fsetpos): Ditto.
7045 * libc/stdio/ftell.c (ftell): Ditto.
7046 * libc/stdio/local.h: Declare __sseek using _off_t.
7047
150c2818
CV
70482003-03-09 Corinna Vinschen <corinna@vinschen.de>
7049
7050 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
7051
2c440f9c
CV
70522003-03-09 Corinna Vinschen <corinna@vinschen.de>
7053
7054 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
7055 Cygwin.
7056
f882fd15
CV
70572003-03-09 Corinna Vinschen <corinna@vinschen.de>
7058
7059 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
7060 Cygwin.
7061 * libc/include/sys/stat.h: Ditto.
7062 * libc/include/sys/unistd.h: Ditto.
7063 * libc/sys/cygwin/sys/dirent.h: Ditto.
7064
01d61543
CF
70652003-03-07 Christopher Faylor <cgf@redhat.com>
7066
7067 * libc/include/sys/unistd.h: Guard getopt.h call to force only
7068 declaration of getopt and avoid getopt_long declaration.
7069 * libc/sys/cygwin/include/unistd.h: Remove.
7070
5582abd2
CV
70712003-03-07 Corinna Vinschen <corinna@vinschen.de>
7072
7073 * configure.host: Define stdio64_dir for Cygwin.
7074 * libc/include/stdio.h: Change definition of fpos_t to fulfill
7075 Cygwin 64bit file access requirements.
7076 Drop definition of f*64() functions when compiled for Cygwin.
7077 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
7078 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
7079 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
7080
641da1eb
JJ
70812003-03-07 Jeff Johnston <jjohnstn@redhat.com>
7082
7083 * libc/include/sys/reent.h: Remove extraneous _sig_func
7084 declaration.
7085
70862003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
41a639de
JJ
7087
7088 * libc/sys/h8300hms/Makefile.am: Add support for new files.
7089 * libc/sys/h8300hms/Makefile.in: Regenerated.
7090 * libc/sys/h8300hms/close.S: New file.
7091 * libc/sys/h8300hms/fstat.S: Ditto.
7092 * libc/sys/h8300hms/lseek.S: Ditto.
7093 * libc/sys/h8300hms/open.S: Ditto.
7094 * libc/sys/h8300hms/stat.S: Ditto.
7095 * libc/sys/h8300hms/read.S: New file to replace read.c.
7096 * libc/sys/h8300hms/read.c: Removed.
7097 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
7098 _lseek, _close, _stat, _fstat.
7099 * libc/sys/h8300hms/write.S: New file to replace write.c.
7100 * libc/sys/h8300hms/write.c: Removed.
7101
bac50d6b
NC
71022003-02-20 Nick Clifton <nickc@redhat.com>
7103
7104 * Add support for Cirrus Maverick ARM co-processor:
17c0c97d 7105
bac50d6b
NC
7106 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
7107
7108 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
7109 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
7110
7111 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
7112
7113 * configure.host: set sys_dir, syscall_dir, and
7114 newlib_cflags for ep9312 host.
7115
ba3ccd63 7116 * configure.host: Restore alpha sorting of entries in case
bac50d6b
NC
7117 statements.
7118
12ee7037
JJ
71192003-02-19 Jeff Johnston <jjohnstn@redhat.com>
7120
ba3ccd63 7121 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
12ee7037 7122
1e810ba0
JJ
71232003-02-18 Christian Groessler <chris@groessler.org>
7124
7125 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
7126 support z8001 segmented mode.
7127
b1ca765e
JJ
71282003-02-18 Earnie Boyd <earnie@users.sf.net>
7129
7130 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
7131 with a NULL value.
7132
51a46b54
CF
71332003-02-10 Christopher Faylor <cgf@redhat.com>
7134
7135 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
7136 Don't define some types under cygwin.
7137
313f1349
JJ
71382003-02-07 Jeff Johnston <jjohnstn@redhat.com>
7139
17c0c97d 7140 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
313f1349
JJ
7141 option to allow disabling of syscalls being supplied in newlib.
7142 * aclocal.m4: Regenerated.
7143 * configure: Ditto.
7144 * configure.host: Add support of new configuration option and add
7145 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
7146 * doc/aclocal.m4: Regenerated.
7147 * doc/configure: Ditto.
7148 * libc/*aclocal.m4: Ditto.
7149 * libc/*configure: Ditto.
7150 * libm/*aclocal.m4: Ditto.
7151 * libm/*configure: Ditto.
7152 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
7153 is disabled.
7154 * libc/sys/arm/Makefile.in: Regenerated.
7155
5017a3da
JJ
71562003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
7157
7158 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
7159 -1 to be sure it cannot later match a valid file fd causing
7160 isatty() to return 1.
7161 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
7162 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
7163 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
7164
ad36f7d1
JJ
71652003-02-03 Jeff Johnston <jjohnstn@redhat.com>
7166
7167 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
17c0c97d
EB
7168 buffer based on the precision, after we have processed the input value
7169 in a local buffer and know its relative magnitude.
ad36f7d1 7170
a74181ee
JJ
71712003-01-31 Michael Snyder <msnyder@redhat.com>
7172
7173 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
7174 into registers r1 and r2, so that the simulator can distinguish
7175 this trap from a breakpoint trap. Copied from libgloss.
7176
b85498d4
JJ
71772003-01-31 Michael Snyder <msnyder@redhat.com>
7178
7179 * libc/sys/h8300hms/crt0.S (_start): Change local label
7180 from .loop to .Loop, so that ld and gdb will ignore it.
7181
4700b829
JJ
71822003-01-29 Jason Tishler <jason@tishler.net>
7183
7184 * libc/include/time.h: Declare nanosleep() under Cygwin.
7185
0127ae40
NC
71862003-01-24 Nick Clifton <nickc@redhat.com>
7187
7188 * Add sh2e support:
7189
7190 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
7191
7192 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
7193 * libc/machine/sh/setjmp.S: Likewise.
7194 * libc/include/machine/ieeefp.h: Likewise.
7195
8bbcd9a1
CV
71962003-01-24 Corinna Vinschen <corinna@vinschen.de>
7197
7198 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
7199 for Cygwin.
7200
b8838e6f 72012003-01-21 Anita Kulkarni <anitak@kpit.com>
17c0c97d 7202
b8838e6f
JJ
7203 * libc/time/difftime.c : Typecast the result to double.
7204
f9e41155
CF
72052003-01-20 Christopher Faylor <cgf@redhat.com>
7206
7207 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
7208
6b5a7988
NC
72092003-01-18 Nick Clifton <nickc@redhat.com>
7210
7211 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
7212 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
7213
c3e92877
JJ
72142003-01-16 Joel Sherrill <joel@OARcorp.com>
7215
ba3ccd63
EB
7216 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
7217 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
7218 constants are defined in each file in the shared versions in
7219 libc/include.
7220 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
7221 autoconf can link programs.
7222 * libc/include/machine/types.h: Explicitly specify signed on
7223 intXX_t types to ensure they are signed.
c3e92877 7224
84510217
CF
72252003-01-14 Christopher Faylor <cgf@redhat.com>
7226
7227 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
7228 extensions.
7229
b3934ab3
RS
72302003-01-08 Richard Sandiford <rsandifo@redhat.com>
7231
7232 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
7233
be9c60e5
JJ
72342003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
7235
7236 * libc/stdio/sprintf.c: fix typo
7237 * libc/stdio/vfprintf.c: fix typo
7238
d4c3a750
JJ
72392003-01-07 Jeff Johnston <jjohnstn@redhat.com>
7240
7241 * configure.host: Support long double I/O for x86-linux.
7242 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
7243 large enough to hold formatted result.
7244 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
7245
b2294aaa
JJ
72462003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
7247
7248 * Makefile.am: Add vasprintf.
7249 * Makefile.in: Regenerated.
7250
ea5e5daf
JJ
72512003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
7252
7253 * asprintf.c (_asprintf_r): insure both declarations
7254 are the same.
7255
5c581eca
CF
72562002-12-28 Christopher Faylor <cgf@redhat.com>
7257
7258 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
7259 than defining getopt directly.
7260
60b0838f
JJ
72612002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7262
7263 * NEWS: Update with 1.11.0 info.
7264 * README: Ditto.
7265 * acinclude.m4: Change version number to 1.11.0.
7266 * aclocal.m4: Regenerated.
7267 * configure: Ditto.
7268 * doc/aclocal.m4: Ditto.
7269 * doc/configure: Ditto.
7270 * libc/*/aclocal.m4: Ditto.
7271 * libc/*/configure: Ditto.
7272 * libc/libc.texinfo: Ditto.
7273 * libm/*/aclocal.m4: Ditto.
7274 * libm/*/configure: Ditto.
7275 * libm/libm.texinfo: Ditto.
7276 * libc/sys/linux/shared.ld: Add VERS_1.11.
7277
10501d57
JJ
72782002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7279
7280 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
7281 Solutions to Red Hat Inc.
7282 * libc/machine/i386/f_atan2f.S: Ditto.
7283 * libc/machine/i386/f_exp.c: Ditto.
7284 * libc/machine/i386/f_expf.c: Ditto.
7285 * libc/machine/i386/f_frexp.S: Ditto.
7286 * libc/machine/i386/f_frexpf.S: Ditto.
7287 * libc/machine/i386/f_ldexp.S: Ditto.
7288 * libc/machine/i386/f_ldexpf.S: Ditto.
7289 * libc/machine/i386/f_log.S: Ditto.
7290 * libc/machine/i386/f_log10.S: Ditto.
7291 * libc/machine/i386/f_log10f.S: Ditto.
7292 * libc/machine/i386/f_logf.S: Ditto.
7293 * libc/machine/i386/f_pow.c: Ditto.
7294 * libc/machine/i386/f_powf.c: Ditto.
7295 * libc/machine/i386/f_tan.S: Ditto.
7296 * libc/machine/i386/f_tanf.S: Ditto.
7297 * libc/machine/i386/memchr.S: Ditto.
7298 * libc/machine/i386/memcmp.S: Ditto.
7299 * libc/machine/i386/memcpy.S: Ditto.
7300 * libc/machine/i386/memmove.S: Ditto.
7301 * libc/machine/i386/memset.S: Ditto.
7302 * libc/machine/i386/strchr.S: Ditto.
7303 * libc/machine/i386/strlen.S: Ditto.
7304 * libm/machine/i386/f_atan2.S: Ditto.
7305 * libm/machine/i386/f_atan2f.S: Ditto.
7306 * libm/machine/i386/f_exp.c: Ditto.
7307 * libm/machine/i386/f_expf.c: Ditto.
7308 * libm/machine/i386/f_frexp.S: Ditto.
7309 * libm/machine/i386/f_frexpf.S: Ditto.
7310 * libm/machine/i386/f_ldexp.S: Ditto.
7311 * libm/machine/i386/f_ldexpf.S: Ditto.
7312 * libm/machine/i386/f_log.S: Ditto.
7313 * libm/machine/i386/f_log10.S: Ditto.
7314 * libm/machine/i386/f_log10f.S: Ditto.
7315 * libm/machine/i386/f_logf.S: Ditto.
7316 * libm/machine/i386/f_pow.c: Ditto.
7317 * libm/machine/i386/f_powf.c: Ditto.
7318 * libm/machine/i386/f_tan.S: Ditto.
7319 * libm/machine/i386/f_tanf.S: Ditto.
7320
9b3f0d16
JJ
73212002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7322
7323 * libc/stdlib/environ.c: Update license to Red Hat.
7324 * libc/machine/hppa/setjmp.S: Ditto.
7325 * libm/test/Makefile.in: Ditto.
7326
d693ad84
JJ
73272002-12-19 Jeff Johnston <jjohnstn@redhat.com>
7328
7329 * configure.host: Remove references to go32.
7330 * libc/sys/go32/*: Removed.
7331
7da92d15
JJ
73322002-12-16 Kazu Hirata <kazu@cs.umass.edu>
7333
7334 * libc/include/sys/config.h: Change setting of INT_MAX
7335 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
7336 __H8300S__. Also consolidate flag settings for these
7337 platforms.
7338
ea01c7f5
JJ
73392002-12-10 Joel Sherrill <joel@OARcorp.com>
7340
7341 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
7342 for i386-rtems targets.
7343
c049dd5a
JJ
73442002-12-06 Jeff Johnston <jjohnstn@redhat.com>
7345
7346 * libc/include/stdlib.h (strtof): New prototype (from C99).
7347 (strtodf): Changed from prototype to macro which redefines
7348 to strtof.
7349 * libc/stdlib/atof.c: Change documentation to refer to strtof
7350 instead of strtodf.
7351 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
7352 strtodf.
7353 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
7354 (strtof): New function.
7355 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
7356 calls strtof.
7357
46a402e0
CF
73582002-11-27 Christopher Faylor <cgf@redhat.com>
7359
7360 * libc/string/memset.c (memset): Fix comment.
7361
b3cc01b0
CF
73622002-11-26 Christopher Faylor <cgf@redhat.com>
7363
7364 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
7365 function.
7366
d90f3dc1
CF
73672002-11-25 Christopher Faylor <cgf@redhat.com>
7368
7369 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
7370 variable, introduced below, everywhere.
7371
f24585c6
KH
73722002-11-25 Kazu Hirata <kazu@cs.umass.edu>
7373
7374 * libc/string/memset.c (memset): Make it safe even if
7375 sizeof (int) = 2.
7376
2955fd76
JJ
73772002-11-22 Joe Buehler <jbuehler@hekimian.com>
7378
7379 * configure.in: Change check for libc/include in ${CC} to
7380 use an intermediate value so as to work with different shells.
7381 * configure: Regenerated.
7382 * Makefile.in: Ditto.
7383
40ce7368
JJ
73842002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
7385
7386 * libc/sys/h8300hms/read.c: Add support for normal mode
7387 architecture.
7388
505746ad
JJ
73892002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
7390
7391 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
7392 code for __H8300H__ and __H8300S__. Also return 32-bit return code
7393 when -mint32 is used.
7394
28ecb2f5
NC
73952002-11-18 Nick Clifton <nickc@redhat.com>
7396
7397 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
7398
665b994e
JJ
73992002-11-14 Jeff Johnston <jjohnstn@redhat.com>
7400
ba3ccd63
EB
7401 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
7402 only issue one pass/fail message for a compile/link/execute.
7403 * testsuite/newlib.elix/elix.exp: New file.
7404 * testsuite/newlib.elix/tmmap.c: Ditto.
665b994e 7405
e91ec2e3
CF
74062002-11-06 Christopher Faylor <cgf@redhat.com>
7407
7408 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
7409 * libc/stdlib/mlock.c: Ditto.
7410 * libc/stdlib/msize.c: Ditto.
7411 * libc/stdlib/msize.c: Ditto.
7412 * libc/stdlib/mtrim.c: Ditto.
7413 * libc/stdlib/valloc.c: Ditto.
7414
944772c7
JJ
74152002-11-12 Jeff Johnston <jjohnstn@redhat.com>
7416
ba3ccd63
EB
7417 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
7418 for inf/nan, make sure that the check ignores the sign bit.
944772c7 7419
dd7ee147
JJ
74202002-11-07 Joel Sherrill <joel@OARcorp.com>
7421
ba3ccd63
EB
7422 * libc/sys/rtems/machine: New directory.
7423 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
7424 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
7425 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
7426 targets more BSD like when installed without requiring files to
7427 be overwritten at install point when RTEMS itself is installed.
7428 * Makefile.am: Pick up system dependent machine .h files such as
7429 might be found on a BSD-ish system.
7430 * Makefile.in: Regenerate.
7431 * libc/include/machine/types.h: When on an RTEMS target, define a
7432 few BSD flavor types.
dd7ee147
JJ
7433
74342002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
503430d8
CF
7435
7436 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
7437
18cd62b7
JJ
74382002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7439
ba3ccd63
EB
7440 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
7441 * libc/include/wctype.h: Ditto.
18cd62b7 7442
d2888812
JJ
74432002-11-04 Jeff Johnston <jjohnstn@redhat.com>
7444
ba3ccd63
EB
7445 * libc/include/wchar.h: Add extern "C" specifier if C++.
7446 * libc/include/wctype.h: Ditto.
d2888812 7447
978ea3cf
JJ
74482002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7449
ba3ccd63
EB
7450 * testsuite/newlib.wctype/tiswctype.c: New test case.
7451 * testsuite/newlib.wctype/twctrans.c: Ditto.
978ea3cf 7452
a42cf80a
JJ
74532002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7454
ba3ccd63
EB
7455 * libc/sys/linux/machine/i386/include/endian.h: New file.
7456 * libc/sys/linux/machine/i386/include/param.h: Ditto.
a42cf80a 7457
c9ccb1f2
JJ
74582002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7459
7460 * libm/machine/i386/aclocal.m4: Regenerated.
7461 * libm/machine/i386/configure: Ditto.
7462
94c5b430
JJ
74632002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7464
ba3ccd63
EB
7465 * testsuite/include/check.h: New header file to use with
7466 test cases.
7467 * testsuite/lib/newlib.exp: Add testsuite/include directory
7468 to list of header files to use.
7469 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
7470 * testsuite/newlib.wctype/wctype.exp: New file.
94c5b430 7471
ccdae543
RS
74722002-10-11 Graham Stott <graham.stott@btinternet.com>
7473 Richard Sandiford <rsandifo@redhat.com>
f770cf44
RS
7474
7475 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
7476 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
7477 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
7478
73972116
JS
74792002-10-07 Joel Sherrill <joel@OARcorp.com>
7480
7481 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
7482 dummy programs.
7483
89e3fcba
JS
74842002-10-07 Joel Sherrill <joel@OARcorp.com>
7485
7486 * libc/include/pthread.h: Define PTHREAD_CANCELED.
7487
54ec52e4
JS
74882002-10-07 Joel Sherrill <joel@OARcorp.com>
7489
7490 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
7491 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
7492 compile with current GNU tools.
7493
d389acba
JJ
74942002-10-07 Jeff Johnston <jjohnstn@redhat.com>
7495
7496 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
7497 the build library.
7498 * configure.in: Ditto.
7499 * Makefile.in: Regenerated.
7500 * configure: Ditto.
7501 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
7502 for specifying configured libraries/directories.
7503 * libc/sys/linux/configure.in: Ditto.
7504 * libc/sys/linux/Makefile.in: Regenerated.
7505 * libc/sys/linux/configure: Ditto.
7506
af5a221f
JJ
75072002-10-03 Jeff Johnston <jjohnstn@redhat.com>
7508
7509 * libc/include/reent.h: Update documentation at start of file.
7510
59a758bd
JW
75112002-09-27 Jim Wilson <wilson@redhat.com>
7512
7513 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
7514 the ctbp register.
7515
1ed3c86d
JJ
75162002-09-27 Jeff Johnston <jjohnstn@redhat.com>
7517
7518 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
7519 Also convert to EUCJP before using arrays. For values not in
7520 the conversion arrays, return WEOF.
7521 * libc/ctype/jp2uc.h: Change from one array to a number of
7522 arrays to account for the fact that the originating table
7523 is not contiguous for the input values since some are invalid.
7524
6e1dfd2d
JJ
75252002-09-24 Jeff Johnston <jjohnstn@redhat.com>
7526
7527 * libc/time/ctime.c: Fix prototype documentation.
7528
06f1353a
CV
75292002-09-24 Corinna Vinschen <corinna@vinschen.de>
7530
7531 * libc/include/sys/errno.h: Add EOVERFLOW.
7532
1e0e64c9
JJ
75332002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7534
7535 * libc/include/wctype.h: New file.
7536
1525d127
JJ
75372002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7538
ba3ccd63
EB
7539 * libc/ctype/Makefile.am: Add new files.
7540 * libc/ctype/Makefile.in: Regenerated.
7541 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
7542 and wctrans functions to documentation index.
7543 * libc/ctype/iswalnum.c: New file.
7544 * libc/ctype/iswalpha.c: Ditto.
7545 * libc/ctype/iswblank.c: Ditto.
7546 * libc/ctype/iswcntrl.c: Ditto.
7547 * libc/ctype/iswctype.c: Ditto.
7548 * libc/ctype/iswdigit.c: Ditto.
7549 * libc/ctype/iswgraph.c: Ditto.
7550 * libc/ctype/iswlower.c: Ditto.
7551 * libc/ctype/iswprint.c: Ditto.
7552 * libc/ctype/iswpunct.c: Ditto.
7553 * libc/ctype/iswspace.c: Ditto.
7554 * libc/ctype/iswupper.c: Ditto.
7555 * libc/ctype/iswxdigit.c: Ditto.
7556 * libc/ctype/jp2uc.c: Ditto.
7557 * libc/ctype/jp2uc.h: Ditto.
7558 * libc/ctype/local.h: Ditto.
7559 * libc/ctype/towctrans.c: Ditto.
7560 * libc/ctype/towlower.c: Ditto.
7561 * libc/ctype/towupper.c: Ditto.
7562 * libc/ctype/utf8alpha.h: Ditto.
7563 * libc/ctype/utf8print.h: Ditto.
7564 * libc/ctype/utf8punct.h: Ditto.
7565 * libc/ctype/wctrans.c: Ditto.
7566 * libc/ctype/wctype.c: Ditto.
7567 * libc/locale/locale.c (__lc_ctype): New external array to
7568 replace static lc_ctype array.
7569 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
7570 rather than reentrancy structure's _current_locale field.
7571 * libc/stdlib/wctomb_r.c: Ditto.
1525d127 7572
da25e61f
JJ
75732002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7574
7575 * configure.host: Minor comment and formatting changes.
7576 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
7577 * libc/Makefile.in: Regenerated.
7578 * libc/include/sys/config.h: Minor format change.
7579
5b9ee539
JJ
75802002-09-19 Jeff Johnston <jjohnstn@redhat.com>
7581
7582 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
7583 statement comment.
7584
50558bf3
JJ
75852002-09-19 Jeff Johnston <jjohnstn@redhat.com>
7586
7587 * libc/posix/opendir.c (opendir): Change code to check
7588 for HAVE_FCNTL before calling fcntl.
7589 * libc/search/hash.c (hash_open): Ditto.
7590 * libc/search/hash_page.c (open_tmp): Ditto.
7591 * libc/reent/Makefile.am: Add fcntlr.c.
7592 * libc/reent/Makefile.in: Regenerated.
7593 * libc/reent/fcntlr.c: New file.
7594 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
7595 instead of _fcntl when HAVE_FCNTL flag is set.
7596 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
7597 to see if _fcntl or _fcntl_r should be called. If flag is not
7598 set, default to ENOSYS stub.
7599
9211a1ad
JJ
76002002-09-16 Jeff Johnston <jjohnstn@redhat.com>
7601
7602 * libc/include/wchar.h (mbstate_t): Change protective flag to
7603 be _MBSTATE_T.
7604 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
7605 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
7606 for Cygwin.
7607 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
7608
a8615092
JJ
76092002-09-11 Jeff Johnston <jjohnstn@redhat.com>
7610
ba3ccd63
EB
7611 * acinclude.m4 (enable-newlib-mb): Change check to
7612 default newlib_mb variable to empty string rather than "no".
7613 * configure.host: Remove hard-coding of -DMB_CAPABLE for
7614 x86-linux and Cygwin. Add code to check for newlib_mb
7615 being unset in which case set to "yes" for x86-linux and
7616 Cygwin. Change check for newlib_mb being "yes" to allow
7617 for an empty string.
7618 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
7619 * newlib.hin (_MB_LEN_MAX): New define to configure.
7620 * aclocal.m4: Regenerated.
7621 * configure: Ditto.
7622 * libc/include/limits.h: New file.
7623 * libc/sys/linux/include/limits.h: Ditto.
7624 * doc/aclocal.m4 doc/configure libc/aclocal.m4
7625 libc/configure libc/machine/aclocal.m4
7626 libc/machine/configure libc/machine/a29k/aclocal.m4
7627 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
7628 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
7629 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
7630 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
7631 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
7632 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
7633 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
7634 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
7635 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
7636 libc/machine/i386/configure libc/machine/i960/aclocal.m4
7637 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
7638 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
7639 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
7640 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
7641 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
7642 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
7643 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
7644 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
7645 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
7646 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
7647 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
7648 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
7649 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
7650 libc/machine/v850/configure libc/machine/w65/aclocal.m4
7651 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
7652 libc/machine/xscale/configure
7653 libc/machine/xstormy16/aclocal.m4
7654 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
7655 libc/machine/z8k/configure libc/sys/aclocal.m4
7656 libc/sys/configure libc/sys/a29khif/aclocal.m4
7657 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
7658 libc/sys/arc/configure libc/sys/arm/aclocal.m4
7659 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
7660 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
7661 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
7662 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
7663 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
7664 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
7665 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
7666 libc/sys/idt/configure libc/sys/linux/aclocal.m4
7667 libc/sys/linux/configure
7668 libc/sys/linux/machine/aclocal.m4
7669 libc/sys/linux/machine/configure
7670 libc/sys/linux/machine/i386/aclocal.m4
7671 libc/sys/linux/machine/i386/configure
7672 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
7673 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
7674 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
7675 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
7676 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
7677 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
7678 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
7679 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
7680 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
7681 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
7682 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
7683 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
7684 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
7685 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
7686 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
7687 libm/aclocal.m4 libm/configure: Regenerated.
a8615092 7688
be83844e
JJ
76892002-09-09 Jeff Johnston <jjohnstn@redhat.com>
7690
ba3ccd63
EB
7691 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
7692 code that clears the .bss section.
be83844e 7693
9c64d2a7
JJ
76942002-09-09 Jeff Johnston <jjohnstn@redhat.com>
7695
ba3ccd63
EB
7696 * libc/include/sys/_types.h (_mbstate_t): Changed to use
7697 unsigned char internally.
7698 * libc/sys/linux/sys/_types.h: Ditto.
7699 * libc/include/sys/reent.h
7700 * libc/stdlib/mblen.c (mblen): Use function-specific state
7701 value from default reentrancy structure.
7702 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
7703 _mbtowc_r is less than 0, reset state __count value and
7704 return -1.
7705 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
7706 is NULL, use the function-specific pointer provided in the
7707 default reentrancy structure.
7708 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
7709 If input state pointer is NULL, use function-specific area
7710 provided in reentrancy structure.
7711 * libc/stdlib/mbsrtowcs.c: Ditto.
7712 * libc/stdlib/wcrtomb.c: Ditto.
7713 * libc/stdlib/wcsrtombs.c: Ditto.
7714 * libc/stdlib/mbstowcs.c: Reformat.
7715 * libc/stdlib/wcstombs.c: Ditto.
7716 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
7717 reset the state's __count value and return -1.
7718 * libc/stdlib/mbtowc.c: Ditto.
7719 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
7720 If number of bytes is used up before completing a valid multibyte
7721 character, return -2 and save the state.
7722 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
7723 and change some __count references to __state for clarity.
9c64d2a7 7724
218b7a56
JJ
77252002-09-06 Jeff Johnston <jjohnstn@redhat.com>
7726
7727 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
7728 is defined by <limits.h>.
7729
c210a6ea
JJ
77302002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7731
7732 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
7733 defined.
7734
efa077ce
JJ
77352002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7736
ba3ccd63
EB
7737 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
7738 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
7739 __WCHAR_MAX__ or 0x7fffffffu.
7740 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
7741 * libc/string/wcsncmp.c: Ditto.
efa077ce 7742
e4b0ebc1
JJ
77432002-09-03 Jeff Johnston <jjohnstn@redhat.com>
7744
7745 * libc/string/wcschr.c: Add include of <stddef.h>.
7746 * libc/string/wcspbrk.c: Ditto.
7747 * libc/string/wcsrchr.c: Ditto.
7748 * libc/string/wcsstr.c: Ditto.
7749
3db40db7
JJ
77502002-09-03 Jeff Johnston <jjohnstn@redhat.com>
7751
ba3ccd63
EB
7752 * libc/include/sys/_types.h (_flock_t): Added.
7753 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
7754 (__lock_try_acquire_recursive): Ditto.
7755 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
7756 _lock field.
7757 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
7758 field.
7759 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
7760 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
7761 * libc/sys/linux/include/time.h (struct timespec): Moved from
7762 <sys/types.h> and added check for __need_timespec flag so type
7763 can be defined by itself.
7764 * libc/sys/linux/sys/_types.h (_flock_t): New type.
7765 * libc/sys/linux/sys/types.h (struct timespec): Moved to
7766 <time.h>.
3db40db7 7767
cd45f029
TF
77682002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
7769
7770 * libc/sys/linux/argp: New directory.
7771 * libc/sys/linux/getopt.c: New file.
7772 * libc/sys/linux/getopt1.c: New file.
7773 * libc/sys/linux/getoptlong.c: Remove file.
7774 * libc/sys/linux/include/argp.h: New file.
7775 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
7776 based on ELIX level.
7777 (SUBDIRS): Add argp_dir.
7778 (SUBLIBS): Add ARGP_LIB.
7779 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
7780 getopt_long.$(oext).
7781 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
7782
3c689185
JJ
77832002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7784
ba3ccd63
EB
7785 * libc/libc.texinfo: Add node reference to wide-character strings.
7786 * libc/string/wcstrings.tex: New file.
3c689185 7787 * libc/string/strtok_r.c: Remove outdated advertising clause.
ba3ccd63
EB
7788 * libc/string/Makefile.am (doc): Add wide-character string
7789 chapter to documentation.
7790 * libc/string/Makefile.in: Regenerated.
3c689185 7791
890e7a1d
JJ
77922002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7793
ba3ccd63
EB
7794 * libc/include/wchar.h: Define NULL. Define WEOF more general
7795 way. Declare functions in newlib manner.
7796 * libc/stdlib/Makefile.am: Delete wmem*.c
7797 * libc/stdlib/Makefile.in: Regenerated.
7798 * libc/stdlib/wmemchr.c: Delete.
7799 * libc/stdlib/wmemcmp.c: Ditto.
7800 * libc/stdlib/wmemcpy.c: Ditto.
7801 * libc/stdlib/wmemmove.c: Ditto.
7802 * libc/stdlib/wmemset.c: Ditto.
7803 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
7804 * libc/string/Makefile.in: Regenerated.
7805 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
7806 * libc/string/wcschr.c: Ditto.
7807 * libc/string/wcscmp.c: Ditto.
7808 * libc/string/wcscpy.c: Ditto.
7809 * libc/string/wcscspn.c: Ditto.
7810 * libc/string/wcslcat.c: Ditto.
7811 * libc/string/wcslcpy.c: Ditto.
7812 * libc/string/wcslen.c: Ditto.
7813 * libc/string/wcsncat.c: Ditto.
7814 * libc/string/wcsncmp.c: Ditto.
7815 * libc/string/wcsncpy.c: Ditto.
7816 * libc/string/wcspbrk.c: Ditto.
7817 * libc/string/wcsrchr.c: Ditto.
7818 * libc/string/wcsspn.c: Ditto.
7819 * libc/string/wcsstr.c: Ditto.
7820 * libc/string/wmemchr.c: Ditto.
7821 * libc/string/wmemcmp.c: Ditto.
7822 * libc/string/wmemcpy.c: Ditto.
7823 * libc/string/wmemmove.c: Ditto.
7824 * libc/string/wmemset.c: Ditto.
890e7a1d 7825
86620e21
JJ
78262002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7827
ba3ccd63
EB
7828 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
7829 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
7830 and is treated as if "C" was specified.
86620e21 7831
f3741c27
JJ
78322002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7833
ba3ccd63
EB
7834 * Makefile.am (install-data-local): Move install of build
7835 newlib.h after installing headers in libc/include so as to
7836 overwrite default newlib.h.
7837 * Makefile.in: Regenerated.
f3741c27 7838
48da61f5
JJ
78392002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7840
ba3ccd63
EB
7841 * libc/include/newlib.h: New file for tools that use newlib
7842 headers but don't build newlib first (e.g. gcc).
48da61f5 7843
d82a94ac
JJ
78442002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7845
7846 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
7847 * libc/stdlib/wmemcmp.c: Ditto.
7848 * libc/stdlib/wmemcpy.c: Ditto.
7849 * libc/stdlib/wmemmove.c: Ditto.
7850 * libc/stdlib/wmemset.c: Ditto.
7851
7d08241b
JJ
78522002-08-27 Egor Duda <deo@logos-m.ru>
7853
7854 * libc/stdlib/wmemchr.c: New file.
7855 * libc/stdlib/wmemcmp.c: Ditto.
7856 * libc/stdlib/wmemcpy.c: Ditto.
7857 * libc/stdlib/wmemmove.c: Ditto.
7858 * libc/stdlib/wmemset.c: Ditto.
7859 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
7860 * configure.host: Default -DMB_CAPABLE for cygwin.
7861 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
7862 wmemmove() and wmemset(). Add include of <_ansi.h>.
7863 * libc/stdlib/Makefile.in: Regenerate.
7864
8da1639b
JJ
78652002-08-27 Jeff Johnston <jjohnstn@redhat.com>
7866
ff2bf852 7867 * configure.host: Remove _ELIX_LEVEL flag setting.
8da1639b
JJ
7868 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
7869 (install-data-local): Install newlib.h.
7870 * Makefile.in: Regenerated.
7871 * aclocal.m4: Ditto.
7872 * configure: Ditto.
17c0c97d 7873 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
8da1639b
JJ
7874 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
7875 and _NEWLIB_VERSION to fill in newlib.h header file entries.
7876 In AC_OUTPUT statement, unset ac_file so multilib support does
7877 not use last ac_file temporary used in newlib.h configuration.
7878 * libc/include/_ansi.h: Include <newlib.h>.
7879 * newlib.hin: New template file for newlib.h.
7880 * stamp-h.in: New file.
7881
a4421c11
JJ
78822002-08-26 Wu Yongwei <adah@netstd.com>
7883
ba3ccd63 7884 * time.h (timezonevar): Change "#if" to "#ifdef".
a4421c11 7885
90b65e2d
JJ
78862002-08-26 Jeff Johnston <jjohnstn@redhat.com>
7887
7888 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
7889 * Makefile.in: Regenerated.
7890 * acinclude.m4: Add support for --enable-newlib-elix-level option.
7891 * aclocal.m4: Regenerated.
7892 * configure: Ditto.
7893 * configure.host: Add code to define _ELIX_LEVEL if
7894 --enable-newlib-elix-level option is used.
17c0c97d 7895 * configure.in:
90b65e2d
JJ
7896 * libc/aclocal.m4: Regenerated.
7897 * libc/configure: Ditto.
7898 * libc/argz/Makefile.am: Add EL/IX level checking.
7899 * libc/argz/Makefile.in: Regenerated.
7900 * libc/argz/dummy.c: New file.
7901 * libc/ctype/Makefile.am: Add EL/IX level checking.
7902 * libc/ctype/Makefile.in: Regenerated.
7903 * libc/locale/Makefile.am: Add EL/IX level checking.
7904 * libc/locale/Makefile.in: Regenerated.
7905 * libc/posix/Makefile.am: Add EL/IX level checking.
7906 * libc/posix/Makefile.in: Regenerated.
7907 * libc/posix/telldir.c: Add EL/IX level checking.
7908 * libc/reent/Makefile.am: Ditto.
7909 * libc/reent/fstat64r.c: Ditto.
7910 * libc/reent/lseek64r.c: Ditto.
7911 * libc/reent/open64r.c: Ditto.
7912 * libc/reent/Makefile.in: Regenerated.
7913 * libc/search/Makefile.am: Add EL/IX level checking.
7914 * libc/search/Makefile.in: Regenerated.
7915 * libc/stdio/Makefile.am: Add EL/IX level checking.
7916 * libc/stdio/Makefile.in: Regenerated.
7917 * libc/stdio64/Makefile.am: Add EL/IX level checking.
7918 * libc/stdio64/Makefile.in: Regenerated.
7919 * libc/stdio64/dummy.c: New file.
9b487837 7920 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
90b65e2d
JJ
7921 after first include.
7922 * libc/stdio64/fopen64.c: Ditto.
7923 * libc/stdio64/freopen64.c: Ditto.
7924 * libc/stdio64/fseeko64.c: Ditto.
7925 * libc/stdio64/fsetpos64.c: Ditto.
7926 * libc/stdio64/ftello64.c: Ditto.
7927 * libc/stdio64/tmpfile64.c: Ditto.
7928 * libc/stdlib/Makefile.am: Add EL/IX level checking.
7929 * libc/stdlib/Makefile.in: Regenerated.
7930 * libc/stdlib/mstats.c: Add EL/IX level checking.
7931 * libc/string/Makefile.am: Ditto.
7932 * libc/string/Makefile.in: Regenerated.
7933 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
7934 * libc/sys/linux/Makefile.in: Regenerated.
7935 * libc/sys/linux/aclocal.m4: Ditto.
7936 * libc/sys/linux/configure: Ditto.
7937 * libc/sys/linux/aio.c: Add EL/IX level checking.
7938 * libc/sys/linux/ftok.c: Ditto.
7939 * libc/sys/linux/getdate.c: Ditto.
7940 * libc/sys/linux/ids.c: Ditto.
7941 * libc/sys/linux/inode.c: Ditto.
7942 * libc/sys/linux/io.c: Ditto.
7943 * libc/sys/linux/process.c: Ditto.
7944 * libc/sys/linux/resource.c: Ditto.
7945 * libc/sys/linux/sched.c: Ditto.
7946 * libc/sys/linux/sig.c: Ditto.
7947 * libc/sys/linux/termios.c: Ditto.
7948 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
7949 __libc___waitpid weak aliases.
7950 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
7951 that generate the code for a syscall, but do not create a
7952 weak alias.
7953 * libc/syscalls/Makefile.am: Add EL/IX level checking.
7954 * libc/syscalls/Makefile.in: Regenerated.
7955 * libc/time/tzset_r.c: Change to replace strdup with equivalent
7956 functionality.
7957 * libc/unix/Makefile.am: Add EL/IX level checking.
7958 * libc/unix/Makefile.in: Regenerated.
7959
2e2b268c
CF
79602002-08-26 Christopher Faylor <cgf@redhat.com>
7961
7962 * libc/include/malloc.h: On cygwin, define malloc _r functions as
7963 wrapper macros to standard malloc functions.
7964 * libc/include/stdlib.h: Ditto.
7965 * configure.host: Always define MALLOC_PROVIDED on cygwin.
7966
8d9112f2
TF
79672002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7968
7969 * libc/include/langinfo.h: New file.
7970 * libc/include/wchar.h: Likewise.
7971 * libc/include/sys/syslimits.h: Likewise.
7972 * libc/locale/fix_grouping.c: Likewise.
7973 * libc/locale/ldpart.c: Likewise.
7974 * libc/locale/ldpart.h: Likewise.
7975 * libc/locale/lmessages.c: Likewise.
7976 * libc/locale/lmessages.h: Likewise.
7977 * libc/locale/lmonetary.c: Likewise.
7978 * libc/locale/lmonetary.h: Likewise.
7979 * libc/locale/lnumeric.c: Likewise.
7980 * libc/locale/lnumeric.h: Likewise.
7981 * libc/locale/nl_langinfo.3: Likewise.
7982 * libc/locale/nl_langinfo.c: Likewise.
7983 * libc/locale/timelocal.c: Likewise.
7984 * libc/locale/timelocal.h: Likewise.
7985 * libc/stdlib/btowc.c: Likewise.
7986 * libc/stdlib/mbrlen.c: Likewise.
7987 * libc/stdlib/mbrtowc.c: Likewise.
7988 * libc/stdlib/mbsinit.c: Likewise.
7989 * libc/stdlib/mbsrtowcs.c: Likewise.
7990 * libc/stdlib/wcrtomb.c: Likewise.
7991 * libc/stdlib/wcsrtombs.c: Likewise.
7992 * libc/stdlib/wctob.c: Likewise.
7993 * libc/sys/linux/prof-freq.c: Likewise.
7994 * libc/sys/linux/profile.c: Likewise.
7995 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
7996 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
7997 * libc/include/stdlib.h: Change re-entrant functions to take
7998 mbstate_t pointers.
7999 * libc/include/sys/_types.h: Define _mbstate_t.
8000 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
8001 * libc/include/sys/errno.h (EILSEQ): New error code.
8002 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
8003 structure to use mbstate_t.
8004 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
8005 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
8006 * libc/machine/powerpc/vfscanf.c: Likewise.
8007 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
8008 * libc/stdio/vfprintf.c: Likewise.
8009 * libc/stdio/vfscanf.c: Likewise.
8010 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
8011 * libc/stdlib/mblen.c: Use mbstate_t.
8012 * libc/stdlib/mblen_r.c: Likewise.
8013 * libc/stdlib/mbstowcs.c: Likewise.
8014 * libc/stdlib/mbstowcs_r.c: Likewise.
8015 * libc/stdlib/mbtowc.c: Likewise.
8016 * libc/stdlib/mbtowc_r.c: Likewise.
8017 * libc/stdlib/wcstombs.c: Likewise.
8018 * libc/stdlib/wcstombs_r.c: Likewise.
8019 * libc/stdlib/wctomb_r.c: Likewise.
8020 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
8021 profile.c.
8022 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
8023 dl-procinfo.c.
8024 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
8025 * libc/sys/linux/sys/types.h (off_t): Define type.
8026 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
8027 to C-UTF-8.
8028 * testsuite/newlib.locale/UTF-8.exp: Likewise.
8029
fe47ea33
JJ
80302002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
8031
ba3ccd63
EB
8032 * libc/stdlib/mallocr.c: #include windows.h on Win32.
8033 (AlignPage): Continue macro on next line.
fe47ea33 8034
ada73509
JJ
80352002-08-19 Jeff Johnston <jjohnstn@redhat.com>
8036
8037 * libc/sys/linux/include/pthread.h: New file.
8038
64b5e8f2
JJ
80392002-08-19 Jeff Johnston <jjohnstn@redhat.com>
8040
8041 * libc/include/sys/types.h: Support __need_inttypes macro
17c0c97d 8042 that only sets the __intxx and __uintxx types.
64b5e8f2
JJ
8043 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
8044 to get mprec.h.
8045 * libc/machine/powerpc/Makefile.in: Regenerated.
8046 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
8047 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
8048 redundant fixed-point conversion prototypes.
8049 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
8050 after setting __need_inttypes.
8051
a94b60ce
CF
80522002-08-18 Christopher Faylor <cgf@redhat.com>
8053
8054 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
8055
29e17a86
JJ
80562002-08-17 Jeff Johnston <jjohnstn@redhat.com>
8057
ba3ccd63
EB
8058 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
8059 _LONG_DOUBLE to double.
29e17a86 8060
936b520f
JJ
80612002-08-17 Jeff Johnston <jjohnstn@redhat.com>
8062
8063 * configure.host: Add powerpc*-*-eabispe* configuration.
8064 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
8065 * libc/machine/powerpc/atosfix32.c: Ditto.
8066 * libc/machine/powerpc/atosfix64.c: Ditto.
8067 * libc/machine/powerpc/atoufix16.c: Ditto.
8068 * libc/machine/powerpc/atoufix32.c: Ditto.
8069 * libc/machine/powerpc/atoufix64.c: Ditto.
8070 * libc/machine/powerpc/fix64.h: Ditto.
8071 * libc/machine/powerpc/simdldtoa.c: Ditto.
8072 * libc/machine/powerpc/strtosfix16.c: Ditto.
8073 * libc/machine/powerpc/strtosfix32.c: Ditto.
8074 * libc/machine/powerpc/strtosfix64.c: Ditto.
8075 * libc/machine/powerpc/strtoufix16.c: Ditto.
8076 * libc/machine/powerpc/strtoufix32.c: Ditto.
8077 * libc/machine/powerpc/strtoufix64.c: Ditto.
8078 * libc/machine/powerpc/ufix64toa.c: Ditto.
8079 * libc/machine/powerpc/configure.in: Add check for
8080 powerpc*-eabispe and add fixed-point conversion functions.
8081 * libc/machine/powerpc/configure: Regenerated.
8082 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
8083 %r and %R format specifiers which handle fixed-point data.
8084 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
8085 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
8086 function prototypes.
8087
ad552766
JJ
80882002-08-17 Jeff Johnston <jjohnstn@redhat.com>
8089
8090 * Makefile.am: Move cmath stuff into libc/sys/linux.
8091 * Makefile.in: Regenerated.
8092 * configure.host: Default -DMB_CAPABLE for x86-linux.
8093 * libc/include/reent.h: Define _sbrk to take signed int argument.
8094 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
17c0c97d
EB
8095 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
8096 make locale name checking more efficient. Also allow "C-ISO-8859-1"
ad552766
JJ
8097 locale for LC_CTYPE and LC_MESSAGES.
8098 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
8099 * libc/sys/linux/brk.c: Change sbrk prototype.
8100 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
8101 include <sys/features.h>.
8102 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
8103 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
8104 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
8105 with a few local additions.
8106 * libc/sys/linux/sys/features.h: New file.
8107 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
8108 to take signed argument.
8109 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
8110 prototypes to take signed size argument.
8111
d3bd3632
TF
81122002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
8113
8114 * libc/sys/linux/cmath: New directory.
8115 * libc/sys/linux/include/cmathcalls.h: New file.
8116 * libc/sys/linux/include/complex.h: New file.
8117 * libc/sys/linux/machine/i386/huge_val.h: New file
8118 * libm/math/w_sincos.c: New file
8119 * libm/math/wf_sincos.c: New file
8120 * libm/mathfp/s_sincos.c: New file
8121 * libm/mathfp/sf_sincos.c: New file
8122 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
8123 * libc/include/math.h: Add sincos and sincosf declarations.
8124 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
8125 (SUBLIBS): Likewise.
8126 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
8127 * libm/math/Makefile.am (src): Add w_sincos.c.
8128 (fsrc): Add wf_sincos.c.
8129 * libm/mathfp/Makefile.am (src): Add s_sincos.c
8130 (fsrc): Add sf_sincos.c.
8131
b3a9676b
JJ
81322002-08-12 Jeff Johnston <jjohnstn@redhat.com>
8133
8134 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
8135 Declare as extern chars and use the address operator to
8136 properly use values set in linker script.
8137
659e7062
JJ
81382002-08-09 Jason Tishler <jason@tishler.net>
8139
8140 * libc/stdlib/mallocr.c: Include <limits.h>.
8141 (request2size): Change macro to do
8142 unsigned long comparisons and avoid signed overflow.
8143 (mALLOc): Add overflow check for the number of bytes to allocate.
8144 (rEALLOc): Ditto.
8145
037240a2
JJ
81462002-08-09 Jeff Johnston <jjohnstn@redhat.com>
8147
8148 * configure.host: Add check for --enable-newlib-io-pos-args
8149 and define WANT_IO_POS_ARGS flag if enabled. Define
8150 the flag by default for x86-linux configurations.
8151 * configure.in: Add support for --enable-newlib-io-pos-args.
8152 * libc/configure.in: Ditto.
8153 * configure: Regenerated.
8154 * libc/configure: Ditto.
8155 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
8156 vfprintf.c and vfiprintf.c.
8157 * libc/stdio/Makefile.in: Regenerated.
8158 * libc/stdio/vfprintf.c: Add positional argument support that
8159 is enabled by compiling with -DWANT_IO_POS_ARGS.
8160
172fda76
RS
81612002-08-07 Richard Sandiford <rsandifo@redhat.com>
8162
8163 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
8164 based on __mips_soft_float rather than __mips64.
8165 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
8166 of both 32-bit and 64-bit code.
8167
4866247e
CF
81682002-08-04 Christopher Faylor <cgf@redhat.com>
8169
8170 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
8171 arguments for popen to match similar functionality in fopen.
8172
b96332ce
CV
81732002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
8174
8175 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
8176
60d99bce
JJ
81772002-07-29 Jeff Johnston <jjohnstn@redhat.com>
8178
ba3ccd63
EB
8179 * libc/sys/linux/Makefile.am: Add aio64.c.
8180 * libc/sys/linux/Makefile.in: Regenerated.
8181 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
8182 * libc/sys/linux/aio64.c: New file.
60d99bce 8183
80a21be0
JJ
81842002-07-26 Jeff Johnston <jjohnstn@redhat.com>
8185
8186 * libc/include/sys/param.h (MAX, MIN): Added macros.
8187 * libc/sys/linux/Makefile.am: Add new files.
8188 * libc/sys/linux/Makefile.in: Regenerated.
8189 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
8190 * libc/sys/linux/inode.c (fchdir): Added syscall.
8191 * libc/sys/linux/ftw.c: New file.
8192 * libc/sys/linux/ftw64.c: Ditto.
8193 * libc/sys/linux/getwd.c: Ditto.
8194 * libc/sys/linux/scandir64.c: Ditto.
8195 * libc/sys/linux/strverscmp.c: Ditto.
8196 * libc/sys/linux/versionsort.c: Ditto.
8197 * libc/sys/linux/versionsort64.c: Ditto.
8198
6b6425cb
JJ
81992002-07-26 Jeff Johnston <jjohnstn@redhat.com>
8200
8201 * libc/string/strings.tex: Fix typo for memccpy.
8202
dc8ac8e6
JJ
82032002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8204
8205 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
8206 * libc/sys/linux/sys/types.h (off64_t): Definition added.
8207
aa0ca6fd
JJ
82082002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8209
8210 * libc/sys/linux/Makefile.am: Add fclean.c.
8211 * libc/sys/linux/Makefile.in: Regenerated.
8212 * libc/sys/linux/fclean.c: New file.
8213
61921945
JJ
82142002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8215
8216 * libc/sys/linux/Makefile.am: Add confstr.c.
8217 * libc/sys/linux/Makefile.in: Regenerated.
8218 * libc/sys/linux/confstr.c: New file.
8219 * libc/sys/linux/confstr.h: Ditto.
8220 * libc/sys/linux/sys/unistd.h: Include <features.h> and
8221 <bits/environments.h>.
8222
3d966a92
JJ
82232002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8224
8225 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
8226 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
8227 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
8228 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
8229 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
8230 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
8231
53b5bff7
JJ
82322002-07-24 Jeff Johnston <jjohnstn@redhat.com>
8233
8234 * libc/sys/linux/Makefile.am: Add new files.
8235 * libc/sys/linux/Makefile.in: Regenerated.
8236 * libc/sys/linux/fstab.c: New file.
8237 * libc/sys/linux/fstatvfs.c: Ditto.
8238 * libc/sys/linux/fstatvfs64.c: Ditto.
8239 * libc/sys/linux/internal_statvfs.c: Ditto.
8240 * libc/sys/linux/mntent.c: Ditto.
8241 * libc/sys/linux/mntent_r.c: Ditto.
8242 * libc/sys/linux/statvfs.c: Ditto.
8243 * libc/sys/linux/statvfs64.c: Ditto.
8244 * libc/sys/linux/include/paths.h: Ditto.
8245 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
8246 with double-underscore weak-aliases.
8247 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
8248
9cef8ef5
JJ
82492002-07-24 Jeff Johnston <jjohnstn@redhat.com>
8250
8251 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
8252 to use _sig_func_ptr type casted constants.
8253 (_sig_func_ptr): Typedef moved to sys/signal.h.
8254 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
8255 For __rtems, use POSIX definition, otherwise default to ANSI.
8256 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
8257
a703e0f2
JJ
82582002-07-24 Stephane Carrez <stcarrez@nerim.fr>
8259
ba3ccd63
EB
8260 * configure.host: Recognize m6811-elf and m6812-elf targets.
8261 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
8262 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
8263 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
8264 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
8265 according to __INT_MAX__.
8266 (_POINTER_INT): Define to short.
8267 * libc/machine/m68hc11/Makefile.am: New file.
8268 * libc/machine/m68hc11/Makefile.in: New file.
8269 * libc/machine/m68hc11/configure.in: New file.
8270 * libc/machine/m68hc11/configure: New file.
8271 * libc/machine/m68hc11/aclocal.m4: New file.
8272 * libc/machine/m68hc11/setjmp.S: New file.
a703e0f2 8273
d254189b
JJ
82742002-07-23 Jeff Johnston <jjohnstn@redhat.com>
8275
8276 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
8277 prototypes.
8278 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
8279 * libc/stdlib/Makefile.in: Regenerated.
8280 * libc/stdlib/strdup.c: Removed.
8281 * libc/stdlib/strdup_r.c: Removed.
8282 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
8283 mempcpy.c, strndup.c, and strndup_r.c.
8284 * libc/string/Makefile.in: Regenerated.
8285 * libc/string/memccpy.c: New file.
8286 * libc/string/mempcpy.c: Ditto.
8287 * libc/string/strndup.c: Ditto.
8288 * libc/string/strndup_r.c: Ditto.
8289 * libc/string/strdup.c: New file moved from stdlib.
8290 * libc/string/strdup_r.c: Ditto.
8291 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
8292
bc100655
JJ
82932002-07-23 Jeff Johnston <jjohnstn@redhat.com>
8294
ba3ccd63
EB
8295 * libc/include/stdio.h: Move fcloseall prototype within
8296 #ifndef _REENT_ONLY section.
8297 * libc/sys/linux/Makefile.am: Add new files.
8298 * libc/sys/linux/Makefile.in: Regenerated.
8299 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
8300 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
bc100655 8301 * libc/sys/linux/sys/types.h: Add ino64_t type.
ba3ccd63
EB
8302 * libc/sys/linux/ctermid.c: New file.
8303 * libc/sys/linux/ttyname_r.c: Ditto.
bc100655
JJ
8304 * libc/sys/linux/readdir64.c: Ditto.
8305
f5f27f07
JJ
83062002-07-22 Jeff Johnston <jjohnstn@redhat.com>
8307
8308 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
8309 * libc/stdio/Makefile.am: Added fcloseall.c support.
8310 * libc/stdio/Makefile.in: Regenerated.
8311 * libc/stdio/fcloseall.c: New file.
8312 * libc/stdio64/Makefile.am: Remove missing .def references.
8313 * libc/stdio64/Makefile.in: Regenerated.
8314
d541ba3e
JJ
83152002-07-22 Jeff Johnston <jjohnstn@redhat.com>
8316
8317 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
8318 * libc/machine/powerpc/times.c: New file.
8319 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
8320 * libc/machine/powerpc/Makefile.in: Regenerated.
8321
83222002-07-22 Aldy Hernandez <aldyh@redhat.com>
e964bca8 8323
ba3ccd63
EB
8324 * libc/machine/powerpc/time.c: New file.
8325 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
8326 time.c.
e964bca8
JJ
8327 * libc/machine/powerpc/Makefile.in: Regenerated.
8328
5e7d0a55
TF
83292002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
8330
8331 * libc/libc.texinfo: Change copyright notices to Red Hat from
8332 Cygnus.
8333 * libm/libm.texinfo: Likewise.
8334 * README: Change docs URL to
8335 http://sources.redhat.com/newlib/docs.html.
8336
504628e7
JJ
83372002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8338
ba3ccd63
EB
8339 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
8340 * libc/sys/linux/Makefile.in: Regenerated.
8341 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
8342 * libc/sys/linux/io.c: Add ftruncate syscall.
8343 * libc/sys/linux/fpathconf.c: New file.
8344 * libc/sys/linux/pathconf.c: Ditto.
504628e7 8345 * libc/sys/linux/linux_fsinfo.h: Ditto.
ba3ccd63 8346 * libc/sys/linux/sys/unistd.h: Ditto.
504628e7 8347
b155ad9f
JJ
83482002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8349
8350 * libc/stdio64/Makefile.am: Remove missing files.
8351 * libc/stdio64/Makefile.in: Regenerated.
8352
c119e0ab
JJ
83532002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8354
ba3ccd63
EB
8355 * libc/include/sys/config.h[__i386__][__linux__]: Define
8356 _LARGE64FILE_SOURCE to 1.
8357 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
8358 * libc/sys/linux/Makefile.in: Regenerated.
8359 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
8360 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
8361 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
8362 of <linux/resource.h>.
8363 * libc/sys/linux/getrlimit64.c: New file.
8364 * libc/sys/linux/setrlimit64.c: Ditto.
c119e0ab 8365
9b022d6d
TF
83662002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
8367
8368 * libc/argz/argz_replace.c: Include buf_findstr.h.
8369 * libc/argz/buf_findstr.c: Likewise.
8370 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
8371 value to (char *).
8372 * libc/argz/envz_get.c: Likewise.
8373 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
8374 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
8375 * libc/stdlib/getsubopt.3: New file.
8376 * libc/stdlib/getsubopt.c: New file.
8377 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
8378 Change esp to ebp.
8379
dee51391
JJ
83802002-07-17 Jeff Johnston <jjohnstn@redhat.com>
8381
8382 * configure.host(stdio64_dir): New setting that is used to
8383 enable building of new stdio64 directory.
8384 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
8385 large files.
8386 (stmp-stdio64,stdio64.texi): New targets to optionally add in
8387 stdio64 info to info files.
8388 * libc/Makefile.in: Regenerated.
8389 * libc/configure: Ditto.
8390 * libc/configure.in: Add configuration variables that are set
8391 when stdio64 is selected as subdir in configure.host.
8392 * libc/libc.texinfo: Add optional menu item for Stdio64, based
8393 on whether STDIO64 flag is set or not.
8394 * libc/sys.tex: Add optional stdio64 syscalls based on whether
8395 STDIO64 flag is set or not.
8396 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
8397 _r sycall routines.
8398 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
8399 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
8400 (__SL64): New file flag indicating file is opened via fopen64.
8401 * libc/include/sys/_types.h(_off64_t): Added.
8402 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
8403 * libc/include/sys/reent.h(struct __sFILE64): New file structure
8404 for 64-bit offset large file support.
8405 (__FILE): New intermediate type either set to struct __sFILE64 or
8406 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
8407 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
8408 * libc/reent/Makefile.in: Regenerated.
8409 * libc/reent/fstat64r.c: New file.
8410 * libc/reent/lseek64r.c: Ditto.
8411 * libc/reent/open64r.c: Ditto.
8412 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
17c0c97d 8413 based on whether STDIO64 flag is set.
dee51391
JJ
8414 * libc/stdio/stdio.tex: Add blank line.
8415 * libc/stdio64/Makefile.am: New file.
8416 * libc/stdio64/Makefile.in: Ditto.
8417 * libc/stdio64/fgetpos64.c: Ditto.
8418 * libc/stdio64/fopen64.: Ditto.
8419 * libc/stdio64/freopen64.c: Ditto.
8420 * libc/stdio64/fseeko64.c: Ditto.
8421 * libc/stdio64/fsetpos64.c: Ditto.
8422 * libc/stdio64/ftello64.c: Ditto.
8423 * libc/stdio64/local64.h: Ditto.
8424 * libc/stdio64/stdio64.c: Ditto.
8425 * libc/stdio64/stdio64.tex: Ditto.
8426 * libc/stdio64/tmpfile64.c: Ditto.
8427 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
8428 open64.
8429
778876f6
JJ
84302002-07-16 Jeff Johnston <jjohnstn@redhat.com>
8431
ba3ccd63
EB
8432 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
8433 if LIBC_EXTRA_LIB is present.
8434 * libc/Makefile.in: Regenerated.
778876f6 8435 * libc/libc.texinfo: Add blank line.
ba3ccd63
EB
8436 * libc/argz/Makefile.am: Add doc support.
8437 * libc/search/Makefile.am: Ditto.
8438 * libc/argz/Makefile.in: Regenerated.
8439 * libc/search/Makefile.in: Ditto.
8440 * libc/misc/misc.tex: Add ffs function.
8441 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
778876f6 8442
37981145
JJ
84432002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8444
8445 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
8446 definition that was removed in error.
8447
38b5dc59
JJ
84482002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8449
8450 * libc/include/machine/ieeefp.h: Change to only define
17c0c97d 8451 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
38b5dc59
JJ
8452 __IEEE_LITTLE_ENDIAN must be defined for each platform).
8453 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
8454 remove redundant floating point definitions.
8455
8cb61a96
JJ
84562002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8457
ba3ccd63
EB
8458 * libc/sys/linux/callocr.c: Fix so code references
8459 calloc.
8cb61a96 8460
edba3282
JJ
84612002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8462
ba3ccd63
EB
8463 * libc/sys/linux/Makefile.am: Add new files.
8464 * libc/sys/linux/Makefile.in: Regenerated.
8465 * libc/sys/linux/bp-sym.h: Moved to include directory.
8466 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
8467 * libc/sys/linux/inode.c: Set _LIBC to 1.
8468 * libc/sys/linux/mq_close.c: Ditto.
8469 * libc/sys/linux/mq_getattr.c: Ditto.
8470 * libc/sys/linux/mq_open.c: Ditto.
8471 * libc/sys/linux/mq_receive.c: Ditto.
8472 * libc/sys/linux/mq_send.c: Ditto.
8473 * libc/sys/linux/mq_setattr.c: Ditto.
8474 * libc/sys/linux/mq_unlink.c: Ditto.
8475 * libc/sys/linux/calloc.c: New file.
8476 * libc/sys/linux/callocr.c: Ditto.
8477 * libc/sys/linux/cfreer.c: Ditto.
8478 * libc/sys/linux/config.h: Ditto.
8479 * libc/sys/linux/free.c: Ditto.
8480 * libc/sys/linux/freer.c: Ditto.
8481 * libc/sys/linux/msize.c: Ditto.
8482 * libc/sys/linux/msizer.c: Ditto.
8483 * libc/sys/linux/mstats.c: Ditto.
8484 * libc/sys/linux/mtrim.c: Ditto.
8485 * libc/sys/linux/mtrimr.c: Ditto.
8486 * libc/sys/linux/pvallocr.c: Ditto.
8487 * libc/sys/linux/realloc.c: Ditto.
8488 * libc/sys/linux/reallocr.c: Ditto.
8489 * libc/sys/linux/thread-m.h: Ditto.
8490 * libc/sys/linux/vallocr.c: Ditto.
8491 * libc/sys/linux/bp-checks.h: Ditto.
8492 * libc/sys/linux/libc-symbols.h: Ditto.
8493 * libc/sys/linux/libc-tsd.h: Ditto.
8494 * libc/sys/linux/libintl.h: Ditto.
8495 * libc/sys/linux/malign.c: Ditto.
8496 * libc/sys/linux/malignr.c: Ditto.
8497 * libc/sys/linux/mallinfor.c: Ditto.
8498 * libc/sys/linux/malloc.c: Ditto.
8499 * libc/sys/linux/mallocr.c: Ditto.
8500 * libc/sys/linux/malloptr.c: Ditto.
8501 * libc/sys/linux/mallstatsr.c: Ditto.
8502 * libc/sys/linux/mcheck.c: Ditto.
8503 * libc/sys/linux/mhooks.h: Ditto.
8504 * libc/sys/linux/include/bp-sym.h: Ditto.
8505 * libc/sys/linux/include/malloc.h: Ditto.
8506 * libc/sys/linux/include/mcheck.h: Ditto.
8507 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
8508 getpagesize.c.
8509 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
8510 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
8511 * libc/sys/linux/machine/i386/getpagesize.c: New file.
8512 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
8513 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8514 * libc/sys/linux/machine/i386/sysdep.h: New file.
8515 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
8516 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
8517 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
edba3282 8518
ea20b60a
JJ
85192002-07-12 Jeff Johnston <jjohnstn@redhat.com>
8520
8521 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
8522 instead of <asm/siginfo.h>.
8523 * libc/sys/linux/sys/signal.h: Change to include various linux
8524 <bits/xxx.h> header files, rather than <linux/signal.h> so as
8525 to work with multiple releases of glibc header files.
8526
2fc82912
JJ
85272002-07-11 Chris Demetriou <cgd@broadcom.com>
8528
ba3ccd63
EB
8529 * testsuite/newlib.search/hsearchtest.c: New file to test
8530 newlib/libc/search.
8531 * testsuite/newlib.search/hsearchtest.exp: Likewise.
2fc82912 8532
4a404e97 85332002-07-10 Florian Schrack <florian.schrack@freenet.de>
2a8b4ea3
JJ
8534
8535 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
8536 a terminal.
8537 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
8538
6aec558e
JJ
85392002-07-08 Jeff Johnston <jjohnstn@redhat.com>
8540
ba3ccd63 8541 * libc/include/math.h (MAXFLOAT): Added.
6aec558e 8542
e47e6f0e 8543Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
a31df303
JR
8544
8545 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
8546 Make strcmp.S unconditional.
8547 * libc/machine/sh/Makefile.in: Regenerate.
8548 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
8549 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
8550 for SHcompact.
8551
89ffbd66
JJ
85522002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8553
8554 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
8555 define before including <sys/lock.h>.
8556
ae6c4c84
JJ
85572002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8558
8559 * libc/include/utime.h: Add include of <_ansi.h>.
8560 * libc/sys/linux/Makefile.am: Add utimes.c.
8561 * libc/sys/linux/Makefile.in: Regenerated.
8562 * libc/sys/linux/inode.c(__umask): New static routine.
8563 (umask): Written to use __umask and attempt to thread lock.
8564 (getumask): New function written to use __umask and thread lock.
8565 * libc/sys/linux/utimes.c: New file.
8566 * libc/sys/linux/sys/time.h: Fix utimes prototype.
8567 * libc/sys/linux/sys/utime.h: New file.
8568
a6cac46c
TF
85692002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
8570
8571 * libtool.m4: New file.
8572 * libc/sys/linux/process.c: Implement vfork in terms of fork,
8573 rather than as a syscall.
8574
30b2092f
JJ
85752002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8576
8577 * libc/include/stdio.h: Add new prototypes.
8578 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
8579 * libc/stdio/Makefile.in: Regenerated.
8580 * libc/stdio/fseek.c: Add fseeko documentation.
8581 * libc/stdio/ftell.c: Add ftello documentation.
8582 * libc/stdio/fseeko.c: New file.
8583 * libc/stdio/ftello.c: New file.
8584
7501704d
JJ
85852002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8586
ba3ccd63
EB
8587 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
8588 * libc/stdio/Makefile.in: Regenerated.
8589 * libc/stdio/asprintf.c: New file.
8590 * libc/stdio/vasprintf.c: Ditto.
8591 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
8592 the buffer for asprintf support.
8593 * libc/stdio/sprintf.c: Add asprintf documentation.
8594 * libc/stdio/vfprintf.c: Add vasprintf documentation.
8595 * libc/include/stdio.h: Add new prototypes.
7501704d 8596
66eee32b
TF
85972002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
8598
8599 * libc/search/hcreate.c: Remove advertising clause from license.
8600 * libc/search/hcreate_r.c: Likewise.
8601
cec4a9f8
JJ
86022002-07-02 Chris Demetriou <cgd@broadcom.com>
8603
ba3ccd63
EB
8604 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
8605 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
8606 Check that one of them is defined and error out if not.
cec4a9f8 8607 Add any platforms defined in <machine/ieeefp.h> that are missing.
ba3ccd63
EB
8608 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
8609 (DB_LITTLE_ENDIAN): New defines.
8610 * libc/search/hash.c: Replace all incorrect checks for
8611 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
8612 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
8613 * libc/search/hash_page.c: Likewise.
cec4a9f8 8614
2d5eb17e
TF
86152002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
8616
8617 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
8618
c1a3171f
JJ
86192002-06-27 Benjamin Kosnik <bkoz@redhat.com>
8620
ba3ccd63
EB
8621 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
8622 * libc/include/time.h: Same.
8623 * libc/include/string.h: Same.
8624 * libc/include/stdlib.h: Same.
8625 * libc/include/signal.h: Same.
8626 * libc/include/setjmp.h: Same.
8627 * libc/include/math.h: Same.
8628 * libc/include/locale.h: Same.
8629 * libc/include/ctype.h: Same.
8630 * libc/include/machine/setjmp.h: Same.
8631 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
8632 (_END_STD_C): Add.
c1a3171f 8633
533b4e66
JJ
86342002-06-27 Jeff Johnston <jjohnstn@redhat.com>
8635
ba3ccd63
EB
8636 * libc/include/sys/_types.h: Define _ssize_t as int if int is
8637 32-bits, otherwise define it as long.
8638 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
8639 and define ssize_t as _ssize_t.
8640 * libc/reent/readr.c: Change return type to _ssize_t.
8641 * libc/reent/writer.c: Ditto.
8642 * libc/sys/linux/Makefile.am: Add aio.c.
8643 * libc/sys/linux/Makefile.in: Regenerated.
8644 * libc/sys/linux/aio.c: New file.
8645 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
8646 * libm/common/fdlibm.h: Undef __P before defining it.
533b4e66 8647
c36e6dd7
TF
86482002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
8649
54be629f
TF
8650 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
8651 exponent_is_even_int variable. Handle case where x is
8652 negative, and y is an odd integer.
8653 * libm/mathfp/sf_pow.c (powf): Likewise.
8654
c36e6dd7
TF
8655 * libm/mathfp/er_lgamma.c: Remove __kernel references.
8656 * libm/mathfp/erf_lgamma.c: Likewise.
8657 * libm/mathfp/s_tgamma.c: Likewise.
8658 * libm/mathfp/sf_tgamma.c: Likewise.
8659
baf051ca
JJ
86602002-06-27 Jeff Johnston <jjohnstn@redhat.com>
8661
ba3ccd63
EB
8662 * libc/sys/linux/Makefile.am: Add new clock routines.
8663 * libc/sys/linux/Makefile.in: Regenerated.
8664 * libc/sys/linux/clock_getres.c: New file.
8665 * libc/sys/linux/clock_gettime.c: Ditto.
8666 * libc/sys/linux/clock_settime.c: Ditto.
8667 * libc/sys/linux/hp-timing.h: Ditto.
8668 * libc/sys/linux/libc-internal.h: Ditto.
8669 * libc/sys/linux/sysconf.c: Fix typo.
8670 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
8671 * libc/sys/linux/machine/hp-timing.h: New file.
8672 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
8673 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8674 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
8675 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
8676 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
8677 * libc/sys/linux/sys/linux_time.h: New file.
8678 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
8679 replace with <sys/linux_time.h>.
baf051ca 8680
0431ed4e
JR
8681Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
8682
8683 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
8684
fc067ba5
JJ
86852002-06-25 Jeff Johnston <jjohnstn@redhat.com>
8686
ba3ccd63
EB
8687 * libc/sys/linux/Makefile.am: Consolidate additional items under
8688 ADD_OBJS.
8689 * libc/sys/linux/Makefile.in: Regenerated.
fc067ba5 8690
ffddf61e
JJ
86912002-06-25 Jeff Johnston <jjohnstn@redhat.com>
8692
ba3ccd63
EB
8693 * libc/sys/linux/sethostname.c: New file.
8694 * libc/sys/linux/Makefile.am: Add sethostname.c support.
8695 * libc/sys/linux/Makefile.in: Regenerated.
ffddf61e 8696
d5487d3f
TF
86972002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8698
8699 * libc/search/db_local.h: New file.
8700 * libc/include/db.h: Remove.
8701 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
8702 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
8703 "db_local.h".
8704 * libc/search/hash_bigkey.c: Likewise.
8705 * libc/search/hash_buf.c: Likewise.
8706 * libc/search/hash_func.c: Likewise.
8707 * libc/search/hash_log2.c: Likewise.
8708 * libc/search/hash_page.c: Likewise.
8709
87102002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
e08a6118 8711
1e7ca711 8712 * libc/machine/sh/strlen.S: New file.
e08a6118
JR
8713 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
8714 * libc/machine/sh/Makefile.am: Regenerate.
8715
59c6d6c4
JJ
87162002-06-24 Jeff Johnston <jjohnstn@redhat.com>
8717
ba3ccd63
EB
8718 * libc/sys/linux/gethostname.c: Change name to __gethostname and
8719 add gethostname alias.
59c6d6c4 8720
a70486d7
JJ
87212002-06-24 Jeff Johnston <jjohnstn@redhat.com>
8722
8723 * libc/include/math.h: Remove <sys/types.h>.
a5dadf33 8724 (__dmath): Use __ULong instead of __uint32_t.
a70486d7 8725 * libc/include/sys/reent.h: If long or int is not 32-bits,
a5dadf33 8726 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
a70486d7
JJ
8727 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
8728 * libm/common/fdlibm.h: Ditto.
8729
3118725a
TF
87302002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8731
8732 * libc/include/ndbm.h: Remove.
8733 * libc/search/ndbm.c: Remove.
8734
30a06168
TF
87352002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
8736
8737 * libc/stdio/fseek.c (fseek): Fix braces.
8738
01f5155e
CV
87392002-06-21 Corinna Vinschen <corinna@vinschen.de>
8740
8741 * libc/time/strftime.c (strftime): Add %e format specifier.
8742
930bc96b
TF
87432002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8744
8745 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
8746 previously defined.
8747
55105f86
JJ
87482002-06-21 Richard Earnshaw (rearnsha@arm.com)
8749
ba3ccd63
EB
8750 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
8751 (BYTE_ORDER): Define as appropriate for the target.
55105f86 8752
2e78444a
JJ
87532002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8754
8755 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
8756 to _ssize_t.
8757 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
8758
d427d092
JJ
87592002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8760
8761 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
8762 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
8763 [HAVE_GETDATE](getdate_err): New error code.
8764 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
8765 * libc/stdio/Makefile.in: Regenerated.
8766 * libc/stdio/getdelim.c: New file.
8767 * libc/stdio/getline.c: Ditto.
8768 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
8769 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
8770 * libc/sys/linux/Makefile.in: Regenerated.
8771 * libc/sys/linux/getdate.c: New file.
8772 * libc/sys/linux/getdate_err.c: Ditto.
8773 * libc/sys/linux/ntp_gettime.c: Ditto.
8774 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
8775 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
8776
35728d4f
JJ
87772002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8778
8779 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
8780 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
8781 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
8782 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
8783 * libc/include/sys/param.h: Remove i386 case which is handled
8784 by default case.
8785 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
8786 definitions in case they are already defined.
8787 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
8788 _IEEE_LITTLE_ENDIAN flags.
8789 * libc/include/sys/reent.h: Change __uint32_t references to
8790 use _ULong instead.
8791 (_REENT_GETDATE_REENT_P): New macro.
8792 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
8793 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
8794 * libc/search/hash.h: Add default setting of BYTE_ORDER,
8795 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
8796 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
8797 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
8798 pid_t, off_t, loff_t, caddr_t, and daddr_t type
8799 definitions which are done by subsequent glibc headers.
8800 Add macro definitions to prevent subsequent header files from
8801 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
8802 intptr_t to after glibc definitions of types they are based on.
8803
4a2bfab7
JJ
88042002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8805
8806 * libc/include/errno.h: Protect from multiple inclusion.
8807
f42d18ea
NC
88082002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
8809
8810 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
8811
a7b23a8f
TF
88122002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
8813
8814 * Makefile.am (LIB_OBJECTLISTS): Add
8815 libc/search/objectlist.awk.in.
8816 * libc/Makefile.am (SUBDIRS): Add search.
8817 (SUBLIBS): Add search/libsearch.la.
8818 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
8819 * libc/search: New directory.
8820 * libc/search/Makefile.am: New file.
8821 * libc/search/extern.h: New file.
8822 * libc/search/hash.c: New file.
8823 * libc/search/hash.h: New file.
8824 * libc/search/hash_bigkey.c: New file.
8825 * libc/search/hash_buf.c: New file.
8826 * libc/search/hash_func.c: New file.
8827 * libc/search/hash_log2.c: New file.
8828 * libc/search/hash_page.c: New file.
8829 * libc/search/hcreate.3: New file.
8830 * libc/search/hcreate.c: New file.
a7b23a8f
TF
8831 * libc/search/hcreate_r.c: New file.
8832 * libc/search/ndbm.c: New file.
8833 * libc/search/page.h: New file.
8834 * libc/search/tdelete.c: New file.
8835 * libc/search/tdestroy.c: New file.
8836 * libc/search/tfind.c: New file.
8837 * libc/search/tsearch.3: New file.
8838 * libc/search/tsearch.c: New file.
8839 * libc/search/twalk.c: New file.
8840 * libc/include/db.h: New file.
8841 * libc/include/ndbm.h: New file.
8842 * libc/include/search.h: New file.
8843 * libc/include/sys/queue.h: New file.
8844 * libc/include/sys/cdefs.h: New file.
8845 * libc/include/sys/param.h
8846 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
8847 LITTLE_ENDIAN or BIG_ENDIAN.
8848 * libc/include/sys/errno.h (EFTYPE): New macro.
8849 * libc/search/bsearch.c: Move from libc/stdlib.
8850 * libc/search/qsort.c: Likewise.
8851 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
8852 qsort.c.
8853 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
8854 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
8855
ef467338
JJ
88562002-06-19 Jeff Johnston <jjohnstn@redhat.com>
8857
ba3ccd63
EB
8858 * libc/sys/linux/Makefile.am: Add support for message queue routines,
8859 ipc routines, and ftok.
8860 * libc/sys/linux/Makefile.in: Regenerated.
8861 * libc/sys/linux/ftok.c: New file.
8862 * libc/sys/linux/ipc.c: Ditto.
8863 * libc/sys/linux/mq_close.c: Ditto.
8864 * libc/sys/linux/mq_getattr.c: Ditto.
8865 * libc/sys/linux/mq_notify.c: Ditto.
8866 * libc/sys/linux/mq_open.c: Ditto.
8867 * libc/sys/linux/mq_receive.c: Ditto.
8868 * libc/sys/linux/mq_send.c: Ditto.
8869 * libc/sys/linux/mq_setattr.c: Ditto.
8870 * libc/sys/linux/mq_unlink.c: Ditto.
8871 * libc/sys/linux/mqlocal.h: Ditto.
8872 * libc/sys/linux/include/mqueue.h: Ditto.
8873 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
8874 __uid_t_defined.
ef467338 8875
7f55c08c
TF
88762002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
8877
8878 * libm/common/sf_lround.c (round): Change name to: (lround).
8879 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
8880 remquof.
8881
c9ca68d7
TF
88822002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8883
8884 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
8885 procedure.
8886 (newlib_pass_fail): Change to compile and run only one file.
8887 * testsuite/newlib.locale/locale.exp: Use new
8888 newlib_pass_fail_all procedure.
8889 * testsuite/newlib.string/string.exp: Likewise.
8890
4ecedd09
DB
88912002-06-18 Dave Brolley <brolley@redhat.com>
8892
8893 From Catherine Moore, Michael Meissner, Richard Sandiford:
8894 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
8895 (_JBTYPE): Ditto.
8896 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
8897 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
8898 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
8899 * configure.host: Support frv-*-*.
8900 * libc/machine/frv/Makefile.am: New file.
8901 * libc/machine/frv/configure.in: New file.
8902 * libc/machine/frv/setjmp.S: New file.
8903
af1c257a
TF
89042002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8905
8906 * libc/include/ctype.h: Remove isblank macro.
8907
8908 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
8909 * libc/ctype/isblank.c: New file.
8910 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
8911 declaration. Add isblank macro.
8912
4e04fa90
JJ
89132002-06-18 Jeff Johnston <jjohnstn@redhat.com>
8914
ba3ccd63
EB
8915 * testsuite/newlib.stdlib/atexit.c: New file.
8916 * testsuite/newlib.stdlib/atexit.exp: Ditto.
8917 * testsuite/newlib.string/tstring.c: Change default start size
8918 to something more reasonable for embedded platforms.
4e04fa90 8919
b56d7e79
TF
89202002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8921
ece3c72f
TF
8922 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
8923
b56d7e79
TF
8924 * libc/argz: New directory.
8925 * libc/argz/*: New files.
8926 * libc/argz/argz_add.c: New file.
8927 * libc/argz/argz_add_sep.c: New file.
8928 * libc/argz/argz_append.c: New file.
8929 * libc/argz/argz_count.c: New file.
8930 * libc/argz/argz_create.c: New file.
8931 * libc/argz/argz_create_sep.c: New file.
8932 * libc/argz/argz_delete.c: New file.
8933 * libc/argz/argz_extract.c: New file.
8934 * libc/argz/argz_insert.c: New file.
8935 * libc/argz/argz_next.c: New file.
8936 * libc/argz/argz_replace.c: New file.
8937 * libc/argz/argz_stringify.c: New file.
8938 * libc/argz/buf_findstr.c: New file.
8939 * libc/argz/envz_add.c: New file.
8940 * libc/argz/envz_entry.c: New file.
8941 * libc/argz/envz_get.c: New file.
8942 * libc/argz/envz_merge.c: New file.
8943 * libc/argz/envz_remove.c: New file.
8944 * libc/argz/envz_strip.c: New file.
8945 * libc/include/argz.h: New file.
8946 * libc/include/envz.h: New file.
8947 * Makefile.am (LIBC_OBJECTLISTS): Add
8948 libc/argz/objectlist.awk.in.
8949 * libc/Makefile.am (SUBDIRS): Add argz.
8950 (SUBLIBS): Add argz/libargz.la.
8951 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
8952 * libc/include/errno.h: Add error_t typedef.
8953
d062d3dd
JJ
89542002-06-13 Jeff Johnston <jjohnstn@redhat.com>
8955
8956 * libc/include/stdlib.h: Add _Exit prototype.
8957 * libc/stdlib/Makefile.am: Add _Exit.c support.
8958 * libc/stdlib/Makefile.in: Ditto.
8959 * libc/stdlib/_Exit.c: New file.
8960
a47e66ae
JJ
89612002-06-13 Stephen L. Moshier <steve@moshier.net>
8962
8963 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
8964 x is close to -1.0 and y is very large to use ax (absolute value)
8965 instead of x.
8966 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
8967
13f7d71f
JR
8968Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
8969
8970 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
8971 Fix clobbering bytes before destination if src and dst have same
8972 non-zero misalignment.
1f1fb421
JR
8973
8974 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
8975 Fixed bug in writing end of set region.
8976
b2e8018f
CF
89772002-06-10 Christopher Faylor <cgf@redhat.com>
8978
8979 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
8980 spawnve declaration.
8981
0953fe64
TF
89822002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
8983
8984 * libm/common/s_fdim.c: New file.
8985 * libm/common/s_fma.c: Likewise.
8986 * libm/common/s_fmax.c: Likewise.
8987 * libm/common/s_fmin.c: Likewise.
8988 * libm/common/s_fpclassify.c: Likewise.
8989 * libm/common/s_lrint.c: Likewise.
8990 * libm/common/s_lround.c: Likewise.
8991 * libm/common/s_nearbyint.c: Likewise.
8992 * libm/common/s_remquo.c: Likewise.
8993 * libm/common/s_round.c: Likewise.
8994 * libm/common/s_scalbln.c: Likewise.
8995 * libm/common/s_signbit.c: Likewise.
8996 * libm/common/s_trunc.c: Likewise.
8997 * libm/common/sf_fdim.c: Likewise.
8998 * libm/common/sf_fma.c: Likewise.
8999 * libm/common/sf_fmax.c: Likewise.
9000 * libm/common/sf_fmin.c: Likewise.
9001 * libm/common/sf_lrint.c: Likewise.
9002 * libm/common/sf_lround.c: Likewise.
9003 * libm/common/sf_nearbyint.c: Likewise.
9004 * libm/common/sf_remquo.c: Likewise.
9005 * libm/common/sf_round.c: Likewise.
9006 * libm/common/sf_scalbln.c: Likewise.
9007 * libm/common/sf_trunc.c: Likewise.
9008 * libm/math/w_exp2.c: Likewise.
9009 * libm/math/w_tgamma.c: Likewise.
9010 * libm/math/wf_exp2.c: Likewise.
9011 * libm/math/wf_tgamma.c: Likewise.
9012 * libm/mathfp/s_exp2.c: Likewise.
9013 * libm/mathfp/s_tgamma.c: Likewise.
9014 * libm/mathfp/sf_exp2.c: Likewise.
9015 * libm/mathfp/sf_tgamma.c: Likewise.
9016 * libm/math/er_gamma.c: Fix return value.
9017 * libm/math/erf_gamma.c: Likewise.
9018 * libm/mathfp/er_gamma.c: Likewise.
9019 * libm/mathfp/erf_gamma.c: Likewise.
9020 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
9021 declarations and macros.
9022 Regenerated all Makefile.in, aclocal.m4 and configure files to
9023 use new libtool macros in top-level libtool.m4
9024
39e65e01
JJ
90252002-06-05 Jeff Johnston <jjohnstn@redhat.com>
9026
ba3ccd63
EB
9027 * libc/include/string.h[__linux__]: Add strsignal prototype.
9028 * libc/include/sys/lock.h: New file with default locking support.
9029 * libc/include/sys/reent.h: Add signal buffer support for strsignal
9030 and psignal.
9031 * libc/posix/Makefile.am: Add support for readdir_r.c.
9032 * libc/posix/Makefile.in: Regenerated.
9033 * libc/posix/closedir.c: Add locking support and hash table cleanup.
9034 * libc/posix/opendir.c: Add lock support.
9035 * libc/posix/readdir.c: Ditto.
9036 * libc/posix/rewinddir.c: Ditto.
9037 * libc/posix/scandir.c: Ditto.
9038 * libc/posix/seekdir.c: Ditto.
9039 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
9040 clean up leftover hash table entries.
9041 * libc/posix/readdir_r.c: New file.
9042 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
9043 * libc/sys/linux/Makefile.in: Regenerated.
9044 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
9045 * libc/sys/linux/sys/signal.h: Add psignal prototype.
9046 * libc/sys/linux/psignal.c: New file.
9047 * libc/sys/linux/strsignal.c: Ditto.
39e65e01 9048
cc890e89
CV
90492002-06-03 Corinna Vinschen <corinna@vinschen.de>
9050
9051 * libc/include/sys/types.h: Don't define dev_t when compiling for
9052 Cygwin.
9053
ea55e3f7
JJ
90542002-05-31 Jeff Johnston <jjohnstn@redhat.com>
9055
ba3ccd63
EB
9056 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
9057 make siglist.inc dependent on sig.c instead of signal.c.
9058 * libc/sys/linux/Makefile.in: Regenerated.
9059 * libc/sys/linux/sig.c: Rename from signal.c and change code to
9060 use NSIG instead of _NSIG.
9061 * libc/sys/linux/sigaction.c: New file.
9062 * libc/sys/linux/signal.c: Changed to be linux signal() function
9063 so as to override regular newlib default signal.c.
9064 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
9065 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9066 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
9067 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
9068 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
9069 default linux sigset_t typedef by defining it equal to __sigset_t.
9070 * libc/unix/sigset.c: Add check so code isn't compiled on systems
9071 with a sigset_t that isn't implemented with a single int.
ea55e3f7 9072
9d362914
JJ
90732002-05-30 Jeff Johnston <jjohnstn@redhat.com>
9074
ba3ccd63
EB
9075 * libc/sys/linux/Makefile.am: Add support for new files.
9076 * libc/sys/linux/Makefile.in: Regenerated.
9077 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
9078 * libc/sys/linux/signal.c: Change to use real-time syscalls for
9079 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
9080 it is in a separate file now.
9081 * libc/sys/linux/machine/i386/Makefile.am
9082 * libc/sys/linux/machine/i386/Makefile.in
9083 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
9084 * libc/sys/linux/sigaction.c: New file.
9085 * libc/sys/linux/sigqueue.c: Ditto.
9086 * libc/sys/linux/sigwait.c: Ditto.
9087 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
9088 * libc/sys/linux/kernel_sigaction.h: Ditto.
9d362914 9089
b1f07180
JJ
90902002-05-28 Jeff Johnston <jjohnstn@redhat.com>
9091
ba3ccd63
EB
9092 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
9093 tcsendbrk.c.
9094 * libc/sys/linux/Makefile.in: Regenerated.
9095 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
9096 tcgetpgrp(), and tcsetpgrp() functions.
9097 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
9098 to get __MAX_BAUD rate.
9099 * libc/sys/linux/machine/i386/include/termios.h: New file.
9100 * libc/include/machine/termios.h: Ditto.
9101 * libc/sys/linux/cfspeed.c: Ditto.
9102 * libc/sys/linux/tcsendbrk.c: Ditto.
b1f07180 9103
d29587b4
JJ
91042002-05-24 Jeff Johnston <jjohnstn@redhat.com>
9105
ba3ccd63
EB
9106 * libc/include/string.h: Add strnlen and strerror_r prototypes.
9107 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
9108 * libc/string/Makefile.in: Regenerated.
9109 * libc/string/strerror_r.c: New file.
9110 * libc/string/strnlen.c: New file.
9111 * libc/sys/linux/Makefile.am: Add rename.c.
9112 * libc/sys/linux/Makefile.in: Regenerated.
9113 * libc/sys/linux/rename.c: New file to override default rename.
d29587b4 9114
9a292385
TF
91152002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9116
9117 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
9118 * libc/sys/linux/sys/time.h: Add conversion macros.
9119 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
9120 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
9121 * libc/sys/linux/gethostname.c: New file.
9122 * libc/sys/linux/seteuid.c: New file.
9123 * libc/sys/linux/sysctl.c: New file.
17c0c97d 9124
7a364eb3
JJ
91252002-05-23 Jeff Johnston <jjohnstn@redhat.com>
9126
ba3ccd63
EB
9127 * libc/string/Makefile.am: Add support for strsep.c.
9128 * libc/string/Makefile.in: Regenerated.
9129 * libc/string/strsep.c: New file.
9130 * libc/string/strtok.c: Change to call __strtok_r service routine.
9131 * libc/string/strtok_r.c: Add __strtok_r routine which takes
9132 additional flag parameter regarding whether to skip leading delimeters.
9133 Change strtok_r to call __strtok_r.
7a364eb3 9134
164ee5b0
JJ
91352002-05-23 Gareth Pearce <tilps@hotmail.com>
9136
ba3ccd63
EB
9137 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
9138 * libc/stdio/Makefile.in: Regenerated.
9139 * libc/stdio/setbuffer.c: New file.
9140 * libc/stdio/setlinebuf.c: New file.
164ee5b0 9141
f6b2b567
JJ
91422002-05-23 Jeff Johnston <jjohnstn@redhat.com>
9143
ba3ccd63
EB
9144 * libc/sys/linux/Makefile.am: Add resource.c.
9145 * libc/sys/linux/Makefile.in: Regenerated.
9146 * libc/sys/linux/resource.c: New file.
9147 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
9148 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
9149 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9150 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
9151 are now found in libc/sys/linux/resource.c.
f6b2b567 9152
afe56517
JJ
91532002-05-23 Jeff Johnston <jjohnstn@redhat.com>
9154
ba3ccd63
EB
9155 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
9156 to use void * pointers and comply with Single Unix spec.
9157 * libc/string/bcmp.c: Change to use void * instead of char *.
9158 * libc/string/bcopy.c: Ditto.
9159 * libc/string/bzero.c: Ditto.
afe56517 9160
7736feb2
JJ
91612002-05-22 Jeff Johnston <jjohnstn@redhat.com>
9162
9163 * libc/sys/linux/shm_open.c: New file.
9164 * libc/sys/linux/shm_unlink.c: Ditto.
9165 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
9166 shm_unlink.c.
9167 * libc/sys/linux/Makefile.in: Regenerated.
9168 * libc/sys/linux/sys/types.h: Add some additional checks to see
9169 if clock_t or time_t is already defined.
9170
19f111bd
JJ
91712002-05-22 Jeff Johnston <jjohnstn@redhat.com>
9172
ba3ccd63
EB
9173 * Makefile.am: Don't pass $toollibdir down directly in
9174 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
9175 Pass it under the name: top_toollibdir.
9176 * Makefile.in: Regenerated.
19f111bd 9177
c811b1ee
CV
91782002-05-22 Corinna Vinschen <vinschen@redhat.com>
9179
9180 * libc/include/sys/types.h: Revert previous patch.
9181
2b43ad33
CV
91822002-05-22 Corinna Vinschen <vinschen@redhat.com>
9183
9184 * libc/include/sys/types.h: Include cygwin/types.h always under
9185 Cygwin, not only if _POSIX_THREADS is defined.
9186
dd671cde
TF
91872002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
9188
9189 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
9190
5e2cbfb6
JJ
91912002-05-17 Jeff Johnston <jjohnstn@redhat.com>
9192
9193 * Makefile.am: Copy and install headers from sys/machine/include
9194 directory. Also pass $toollibdir to lower-level directories.
9195 * Makefile.in: Regenerated.
17c0c97d 9196 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
5e2cbfb6
JJ
9197 stderr to use _REENT macro instead of _impure_ptr directly.
9198 * libc/include/sys/config.h[__i386__][__linux__]: Define
9199 __DYNAMIC_REENT__.
17c0c97d 9200 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
5e2cbfb6
JJ
9201 call to __getreent() function if !__SINGLE_THREAD__ and
9202 __DYNAMIC_REENT__ is set.
9203 * libc/reent/Makefile.am: Add support for getreent.c.
9204 * libc/reent/Makefile.in: Regenerated.
9205 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
9206 * libc/sys/linux/Makefile.am: Add support for new files.
9207 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
9208 * libc/sys/linux/Makefile.in: Regenerated.
9209 * libc/sys/linux/configure: Ditto.
9210 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
9211 __close, __read, __write, __poll, __open, __lseek, __fcntl from
9212 their __libc_ counterparts.
9213 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
9214 and weak-alias to regular names.
9215 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
9216 to pread64 and __pread64.
9217 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
9218 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
9219 weak-alias to pwrite64.
9220 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
9221 __libc_sched_getscheduler, __libc_sched_get_priority_max,
9222 __libc_sched_get_priority_min, and __libc_sched_setschedule to
17c0c97d 9223 name with __ instead of __libc_.
5e2cbfb6
JJ
9224 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
9225 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
9226 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
9227 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
9228 to raise.
9229 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
9230 __libc_send to __send.
9231 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
9232 __gettimeofday.
9233 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
9234 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
9235 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
9236 type and typedef __jmp_buf to jmp_buf.
9237 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
9238 setjmp.S.
9239 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9240 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
9241 section.
9242 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
9243 prefix for function macros and then use weak_alias() to regular names.
9244 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9245 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
9246 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
9247 to be flockfile() and funlockfile() respectively.
9248 * libc/sys/linux/sys/types.h
9249 * libc/reent/getreent.c: New file.
9250 * libc/sys/linux/flockfile.c: Ditto.
9251 * libc/sys/linux/funlockfile.c: Ditto.
9252 * libc/sys/linux/getreent.c: Ditto.
9253 * libc/sys/linux/pread.c: Ditto.
9254 * libc/sys/linux/pwrite.c: Ditto.
9255 * libc/sys/linux/raise.c: Ditto.
9256 * libc/sys/linux/system.c: Ditto.
9257 * libc/sys/linux/tcdrain.c: Ditto.
9258 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
9259 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
9260 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
9261 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
9262 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
9263
7fc85bd1
TF
92642002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
9265
9266 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
9267 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
9268 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
9269 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
9270
6935231f 9271Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
d7a2f413
JR
9272
9273 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6935231f
JR
9274 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
9275 exit point.
d7a2f413 9276
3a6cb01b
TF
92772002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
9278
a68fa571
TF
9279 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
9280 options when testing natively on i[3456]86-*-linux.
9281
3a6cb01b
TF
9282 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
9283 only one pass or fail per test file. Trim \r's from output
9284 values received from test programs. Remove support for named
9285 tests.
9286 * testsuite/newlib.locale/UTF-8.exp: Update to support new
9287 newlib_check_output behaviour.
9288 * testsuite/newlib.locale/UTF-8.c: Likewise.
9289
dc824ef7
JJ
92902002-05-15 Jeff Johnston <jjohnstn@redhat.com>
9291
ba3ccd63
EB
9292 * libc/include/stdlib.h: Add on_exit prototype.
9293 * libc/include/sys/reent.h (struct _atexit): Add argument array
9294 and bits to track type of exit routine to support both on_exit
9295 and atexit.
9296 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
9297 by default and change the setting of the atexit structure.
9298 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
9299 * libc/stdlib/on_exit.c: New file.
9300 * libc/stdlib/Makefile.am: Add support for on_exit.
9301 * libc/stdlib/Makefile.in: Regenerated.
9302 * libc/stdlib/atexit.c: Change to initialize types field.
9303 * libc/stdlib/exit.c: Change to look at types field for each
9304 exit routine and either call an atexit-style or an on_exit-style
9305 routine accordingly.
dc824ef7 9306
48d91b4a
JJ
93072002-05-13 Jeff Johnston <jjohnstn@redhat.com>
9308
ba3ccd63
EB
9309 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
9310 allow v specifier with n or L specifiers. For vector c format,
9311 move tmp declaration to the top.
48d91b4a 9312
024739eb
JJ
93132002-05-13 Jeff Johnston <jjohnstn@redhat.com>
9314
ba3ccd63
EB
9315 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
9316 the original format specifier when looping for vectors to compensate
9317 for any changes made in vector %g format processing.
9318 Also add syntax checking for various invalid scenarios
9319 involving vector format extensions.
9320 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
9321 return code setting for vector formats. Also treat vector
9322 separator mismatch as a match error instead of an input error.
9323 Perform some syntax checking for vector formats.
024739eb 9324
7d2ce898
TF
93252002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9326
9327 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
9328 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
9329 * libc/string/strlcat.c: New file.
9330 * libc/string/strlcpy.c: New file.
9331
809b6ce7
JJ
93322002-05-10 Jeff Johnston <jjohnstn@redhat.com>
9333
9334 * libc/string/strchr.c: Fix comment typo.
9335
76490806
TF
93362002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
9337
0c048a9a
TF
9338 * acinclude.m4: Add support for --enable-newlib-multithread.
9339 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
9340 --enable-newlib-multithread=no.
9341
76490806
TF
9342 * libc/stdio/getc_u.c: New file.
9343 * libc/stdio/getchar_u.c: New file.
9344 * libc/stdio/putc_u.c: New file.
9345 * libc/stdio/putchar_u.c: New file.
9346 * libc/include/stdio.h: Add declarations for getc_unlocked,
9347 getchar_unlocked, putc_unlocked and putchar_unlocked.
9348 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
9349 (CHEWOUT_FILES): Add new files' .def's.
9350 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
9351
96bff22c
JR
9352Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
9353
9354 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
9355 Also handle as single quad word when destination ends at last
9356 byte of first quad word. Fix byte selection in single quad code.
9357
e71372fa
TF
93582002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
9359
9360 * libc/include/sys/stdio.h: New file.
9361 * libc/sys/linux/sys/stdio.h: New file.
9362 * libc/include/stdio.h: Add declarations for flockfile,
9363 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
9364 * libc/stdio/clearerr.c: Add file locking.
9365 * libc/stdio/fclose.c: Likewise.
9366 * libc/stdio/feof.c: Likewise.
9367 * libc/stdio/ferror.c: Likewise.
9368 * libc/stdio/fflush.c: Likewise.
9369 * libc/stdio/fgetc.c: Likewise.
9370 * libc/stdio/fgetpos.c: Likewise.
9371 * libc/stdio/fgets.c: Likewise.
9372 * libc/stdio/fileno.c: Likewise.
9373 * libc/stdio/fputc.c: Likewise.
9374 * libc/stdio/fputs.c: Likewise.
9375 * libc/stdio/fread.c: Likewise.
9376 * libc/stdio/freopen.c: Likewise.
9377 * libc/stdio/fseek.c: Likewise.
9378 * libc/stdio/ftell.c: Likewise.
9379 * libc/stdio/fwrite.c: Likewise.
9380 * libc/stdio/getc.c: Likewise.
9381 * libc/stdio/putc.c: Likewise.
9382 * libc/stdio/setvbuf.c: Likewise.
9383 * libc/stdio/ungetc.c: Likewise.
9384 * libc/stdio/vfprintf.c: Likewise.
9385
a03790e4
JJ
93862002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9387
60b2107c
TF
9388 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
9389 support for 'p' format. Fix code to print bytes for vector
9390 integer formats that do not specify 'h' or 'l'.
9391 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
9392 for 'p' specifier. Fix code to scan 16 bytes for vector integer
9393 formats that do not specify 'h' or 'l'.
9394
9395 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
9396
9c7d6a9d
TF
93972002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
9398
9399 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
9400 (_sbrk): Add cast of return value.
9401
c33c3635
JJ
94022002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9403
9404 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
9405 (_REENT_L64A_BUF): New macro for accessing area.
9406 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
9407 * libc/stdlib/Makefile.in: Regenerated.
9408 * libc/stdlib/a64l.c: New file.
9409 * libc/stdlib/l64a.c: New file.
9410
f78e59a8
JJ
94112002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9412
ba3ccd63
EB
9413 * libc/unix/pread.c: Fix typo for _pread_r.
9414 * libc/unix/pwrite.c: Fix type for _pwrite_r.
9415 * libc/sys/linux/pread64.c: Fix typo for read syscall.
9416 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
f78e59a8 9417
4b3f6588
CF
94182002-05-03 Christopher Faylor <cgf@redhat.com>
9419
9420 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
9421
e911832c
TF
94222002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
9423
9424 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
9425
0d0fdc8d
CF
94262002-05-01 Christopher Faylor <cgf@redhat.com>
9427
9428 * utmp.h: Define more UNIX constants.
9429
1e997c56
TF
94302002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
9431
0717f01c
TF
9432 * Makefile.am: Add support for checking multilibs.
9433
09841445
TF
9434 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
9435 (SUBDEFS): Add LIBC_EXTRA_DEF.
9436 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
9437 (LIBC_EXTRA_DEF): Likewise.
9438 (extra_dir): Likewise.
9439 * libc/machine/xscale/machine: New directory.
9440 * libc/machine/xscale/machine/profile.h: New file.
9441
1e997c56
TF
9442 * Makefile.am (site.exp): Remove newlib_cflags. Add
9443 multibuildtop.
9444 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
9445 * testsuite/lib/flags.exp: New file.
9446 * testsuite/lib/newlib.exp: Load flags.exp.
9447 (newlib_target_compile): Remove libgloss directory references.
9448 (newlib_init): Remove newlib_cflags references.
9449
4cf4f010
TF
94502002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
9451
f6bdb6f9
TF
9452 * testsuite/lib/newlib.exp (newlib_target_compile): Change
9453 method of finding libgloss_target_dir.
9454
4cf4f010
TF
9455 * Makefile.am (site.exp): Change host_alias, host_triplet,
9456 target_alias, target_triplet to refer to gcc's host and target
9457 variables (newlib's build and host variables).
9458 * testsuite/lib/newlib.exp (newlib_init): Change build
9459 references to host references, host references to target
9460 references to reflect Makefile.am changes.
9461 (newlib_target_compile): Likewise.
9462 (newlib_finish): Likewise.
9463
83096ae8
JJ
94642002-04-29 Jeff Johnston <jjohnstn@redhat.com>
9465
9466 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
9467
822afa53
JL
94682002-04-29 Jonathan Larmour <jlarmour@redhat.com>
9469
9470 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
9471 (_system): New function. Ditto.
9472 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
9473 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
9474 targets.
9475
29798f0d
JJ
94762002-04-29 Jeff Johnston <jjohnstn@redhat.com>
9477
ba3ccd63
EB
9478 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
9479 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
9480 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
9481 * libc/sys/linux/Makefile.in: Regenerated.
9482 * libc/unix/Makefile.in: Ditto.
9483 * libc/sys/linux/pread64.c: New file.
9484 * libc/sys/linux/pwrite64.c: Ditto.
9485 * libc/unix/pread.c: Ditto.
9486 * libc/unix/pwrite.c: Ditto.
29798f0d 9487
557856bd
JJ
94882002-04-26 Jeff Johnston <jjohnstn@redhat.com>
9489
9490 * libc/sys/linux/Makefile.am: Add io64.c.
9491 * libc/sys/linux/Makefile.in: Regenerated.
9492 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
17c0c97d 9493 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
557856bd
JJ
9494 * libc/sys/linux/io64.c: New file.
9495
7b2b12d5
JJ
94962002-04-26 Jeff Johnston <jjohnstn@redhat.com>
9497
9498 * configure.in (CC_FOR_NEWLIB): New variable that
9499 bases on $(CC) and adds targ-include and libc/include as
9500 -isystem directives if they are not already part of $(CC).
9501 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
9502 $(CC_FOR_NEWLIB).
9503 * configure: Regenerated.
9504 * Makefile.in: Ditto.
9505
c62adacc
JJ
95062002-04-25 Jeff Johnston <jjohnstn@redhat.com>
9507
9508 * libc/sys/linux/Makefile.am: Add support for sched.c.
9509 * libc/sys/linux/Makefile.in: Regenerated.
9510 * libc/sys/linux/sched.c: New file.
9511 * libc/sys/linux/sys/types.h: Add struct timespec.
9512
217ad4a0
TF
95132002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
9514
9515 * configure.in (CC_FOR_BUILD): Set to gcc whether
9516 cross-compiling or not.
9517 (CC): Add -isystem's for targ-include and libc/include when they
9518 do not already appear in CC.
9519
eaa75b70
TF
95202002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9521
9522 * Makefile.am (check-DEJAGNU): New target.
9523 (site.exp): Likewise.
9524 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
9525 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
9526 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
9527 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
9528 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
9529 * testsuite: New directory.
9530 * testsuite/config: Likewise.
9531 * testsuite/lib: Likewise.
9532 * testsuite/newlib.locale: Likewise.
9533 * testsuite/newlib.string: Likewise.
9534 * testsuite/config/default.exp: New file.
9535 * testsuite/lib/checkoutput.exp: New file.
9536 * testsuite/lib/newlib.exp: New file.
9537 * testsuite/lib/passfail.exp: New file.
9538 * testsuite/newlib.locale/UTF-8.c: New file.
9539 * testsuite/newlib.locale/UTF-8.exp: New file.
9540 * testsuite/newlib.locale/locale.exp: New file.
9541 * testsuite/newlib.string/string.exp: New file.
9542 * testsuite/newlib.string/tstring.c: New file.
9543
b9f9f699
JJ
95442002-04-23 Jeff Johnston <jjohnstn@redhat.com>
9545
ba3ccd63
EB
9546 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
9547 * libc/sys/linux/Makefile.am: Add support for mmap.c.
9548 * libc/sys/linux/Makefile.in: Regenerated.
9549 * libc/sys/linux/mmap.c: New file.
9550 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
9551 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
b9f9f699 9552
7394edbb
TF
95532002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
9554
9555 * acinclude.m4 (newlib_cflags): Remove include directories that
9556 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
9557
b9f9f699 95582002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
59be2290
JJ
9559
9560 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
9561 * libc/machine/xscale/memcmp.c: Ditto.
9562 * libc/machine/xscale/memcpy.c: Ditto.
9563 * libc/machine/xscale/memmove.c: Ditto.
9564 * libc/machine/xscale/memset.c: Ditto.
9565 * libc/machine/xscale/strchr.c: Ditto.
9566 * libc/machine/xscale/strcmp.c: Ditto.
9567 * libc/machine/xscale/strcpy.c: Ditto.
9568 * libc/machine/xscale/strlen.c: Ditto.
9569
2dd4c4dc
JJ
95702002-04-19 Alexandre Oliva <aoliva@redhat.com>
9571
ba3ccd63
EB
9572 * libc/include/sys/config.h: Remove include of <limits.h>.
9573 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
9574 define INT_MAX and LONG_MAX. Use them in tests.
2dd4c4dc 9575
0d844014
JJ
95762002-04-19 Jeff Johnston <jjohnstn@redhat.com>
9577
9578 * configure.host: Add support for powerpc-eabialtivec*.
9579 * libc/include/malloc.h: Add include of <machine/malloc.h>.
9580 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
9581 * libc/include/machine/malloc.h: New file.
9582 * libc/include/machine/stdlib.h: Ditto.
9583 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
9584 * libc/machine/powerpc/Makefile.am: Add conditional objects and
9585 sources based on configuration.
9586 * libc/machine/powerpc/Makefile.in: Regenerated.
9587 * libc/machine/powerpc/configure: Ditto.
9588 * libc/machine/powerpc/configure.in: Add check for
9589 powerpc-eabialtivec* in which case add in additional source files.
9590 * libc/machine/powerpc/setjmp.S: Add altivec support.
9591 * libc/machine/powerpc/vec_calloc.c: New file.
9592 * libc/machine/powerpc/vec_free.c: Ditto.
9593 * libc/machine/powerpc/vec_malloc.c: Ditto.
9594 * libc/machine/powerpc/vec_mallocr.c: Ditto.
9595 * libc/machine/powerpc/vec_realloc.c: Ditto.
9596 * libc/machine/powerpc/machine/malloc.h: Ditto.
9597 * libc/machine/powerpc/machine/stdlib.h: Ditto.
9598 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
9599 with added altivec format specifiers.
9600 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
9601 added altivec format specifiers.
9602
d413aadc
JS
96032002-04-19 Joel Sherrill <joel@OARcorp.com>
9604
9605 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
9606 while autoconf is trying to link main(){}.
9607
27193895
JJ
96082002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9609
ba3ccd63
EB
9610 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
9611 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
27193895 9612
10d00216
JJ
96132002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9614
6b0f808e
JJ
9615 * libc/time/time.tex: Add tzset info.
9616
96172002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9618
9619 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
9620 (strptime): Moved prototype to be within !__STRICT_ANSI__.
9621 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
9622 (tzname): Defined for all platforms.
9623 (daylight, timezone): Defined only for CYGWIN.
9624 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
9625 environment set up.
9626 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
9627 environment variable is set.
9628 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
9629 tzset_r.c.
9630 * libc/time/Makefile.in: Regenerated.
9631 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
9632 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
9633 * libc/time/lcltime_r.c (lcltime_r): Ditto.
9634 * libc/time/local.h: New local header file.
9635 * libc/time/mktime.c (mktime): Add timezone support.
9636 * libc/time/mktm_r.c: New file which is the common engine
9637 for gmtime_r and lcltime_r. This code has timezone support.
9638 * libc/time/strftime.c (strftime): Add %Z timezone support.
9639 * libc/time/tzlock.c: New file containing timezone lock stubs.
9640 * libc/time/tzset.c: New file containing tzset() routine.
9641 * libc/time/tzset_r.c: New file containing _tzset_r and
9642 internal routine for calculating timezone changes for specified year.
9643
96442002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9645
9646 * configure.in (CRT0_DIR): Set to libc/.
9647 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
9648 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
9649 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
9650 $(CRT1_DIR)/$(CRT1).
9651 * libc/machine/xstormy16/Makefile.in: Regenerated.
9652 * libc/machine/xstormy16/aclocal.m4: Regenerated.
9653 * libc/machine/xstormy16/configure: Regenerated.
9654
96552002-04-13 Alexandre Oliva <aoliva@redhat.com>
9656
9657 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
9658 fails, don't bail out, and try to correct next time.
9659
9660 * libc/include/sys/config.h: Include limits.h.
9661
96622002-04-12 Eric Norum <eric.norum@usask.com>
9663
9664 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
9665 routine to allow autoconf to determine that building executables
9666 for rtems works.
9667 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
9668 (rtems_gxx_mutex_once): Ditto.
9669
96702002-04-09 Tom Rix <trix@redhat.com>
9671
9672 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
9673
96742002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9675
ba3ccd63
EB
9676 * libc/include/time.h: Fix strptime declaration.
9677 * libc/time/Makefile.am: Add strptime.c.
6b0f808e 9678 * libc/time/Makefile.in: Regenerated.
ba3ccd63 9679 * libc/time/strptime.c: New file.
6b0f808e
JJ
9680
96812002-04-08 Jeff Johnston <jjohnstn@redhat.com>
9682
9683 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
9684 siglongjmp prototype, and sigsetjmp macro definition.
9685 * libc/sys/linux/siglongjmp.c: New file.
9686 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
9687 * libc/sys/linux/Makefile.in: Regenerated.
9688
96892002-04-04 Jeff Johnston <jjohnstn@redhat.com>
9690
9691 * Makefile.am: Add support for installing crt1.o if one exists.
9692 * configure.host: Specify crt1.o for linux.
9693 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
9694 * Makefile.in: Regenerated.
9695 * configure: Ditto.
9696 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
9697 Added for non-Cygwin, non-RTEMS configurations.
9698 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
9699 * libc/sys/linux/Makefile.in: Regenerated.
9700 * libc/sys/linux/crt1.c: New empty file to override one defaulted
9701 by gcc. This fixes problem with reconfiguring linux newlib build.
9702 * libc/sys/linux/sysconf.c: New file.
9703
97042002-04-03 Jeff Johnston <jjohnstn@redhat.com>
9705
9706 * configure.host: Add support for machine subdirectory of
9707 sys subdirectory.
9708 * configure.in: Add check for sys machine subdirectory.
9709 * Makefile.am: Ditto.
9710 * configure: Regenerated.
9711 * Makefile.in: Ditto.
9712 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
9713 * libc/sys/linux/sys/syscall.h: Ditto.
9714 * libc/sys/linux/sleep.c: New file.
9715 * libc/sys/linux/socket.c: Ditto.
9716 * libc/sys/linux/sockops.h: Ditto.
9717 * libc/sys/linux/stack.c: Ditto.
9718 * libc/sys/linux/usleep.c: Ditto.
9719 * libc/sys/linux/machine/Makefile.am: Ditto.
9720 * libc/sys/linux/machine/Makefile.in: Ditto.
9721 * libc/sys/linux/machine/aclocal.m4: Ditto.
9722 * libc/sys/linux/machine/configure: Ditto.
9723 * libc/sys/linux/machine/configure.in: Ditto.
9724 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
9725 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
9726 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
9727 * libc/sys/linux/machine/i386/configure: Ditto.
9728 * libc/sys/linux/machine/i386/configure.in: Ditto.
9729 * libc/sys/linux/machine/i386/crt0.c: Ditto.
9730 * libc/sys/linux/machine/i386/sigset.c: Ditto.
9731 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
9732 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
9733 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9734 * libc/sys/linux/sys/select.h: Ditto.
9735 * libc/sys/linux/configure.in: Add support for machine directory.
9736 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
9737 * libc/sys/linux/Makefile.in: Regenerated.
9738 * libc/sys/linux/configure: Ditto.
9739 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
9740 * libc/sys/linux/inode.c: Ditto.
9741 * libc/sys/linux/linux.c: Ditto.
9742 * libc/sys/linux/process.c: Ditto.
9743 * libc/sys/linux/systat.c: Ditto.
9744 * libc/sys/linux/time.c: Ditto.
9745 * libc/sys/linux/wait.c: Ditto.
9746 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
9747 * libc/sys/linux/io.c: Change header plus add readv/writev.
9748 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
9749 use __sigsuspend syscall.
9750 * libc/sys/linux/select.c: Change header plus change select to
9751 use _newselect syscall.
9752 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
9753 used by glibc header files.
9754 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
9755 types.
9756
97572002-04-01 Jeff Johnston <jjohnstn@redhat.com>
9758
9759 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
9760 initializing a struct _reent that has been dynamically allocated.
9761 (_REENT_CHECK_MISC): New macro that checks _misc struct for
9762 _REENT_SMALL and does nothing otherwise.
9763 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
9764 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
9765 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
9766 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
9767 [_REENT_SMALL](struct _misc_reent): New structure containing
9768 miscellaneous reentrant areas needed by newlib.
9769 [_REENT_SMALL](struct _reent): Add _misc pointer.
9770 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
9771 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
9772 and _REENT_STRTOK_LAST macros.
9773 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
9774 and _REENT_MBLEN_STATE macros.
9775 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
9776 and _REENT_MBTOWC_STATE macros.
9777 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
9778 and _REENT_WCTOMB_STATE macros.
9779
97802002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
9781
9782 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
9783
9784Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
9785
9786 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
9787
9788Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
9789
9790 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
9791 Store high part of leading bytes too.
9792
97932002-03-22 Richard Sandiford <rsandifo@redhat.com>
9794
9795 * libm/math/ef_hypot.c: Increase scale factor to 68.
9796
97972002-03-13 Alexandre Oliva <aoliva@redhat.com>
9798
9799 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
9800 error.
9801
98022002-03-12 Jeff Johnston <jjohnstn@redhat.com>
9803
ba3ccd63
EB
9804 * libc/sys/go32/access.c: Change license to relaxed license
9805 used in identical file throughout newlib/libgloss.
6b0f808e
JJ
9806
98072002-03-12 Richard Earnshaw <rearnsha@arm.com>
9808
9809 * libc/sys/arm/access.c: New file.
9810 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
9811 * libc/sys/arm/Makefile.in: Regenerate.
9812 * libc/sys/arm/syscalls.c (_stat): New function.
9813
98142002-03-11 Michael Meissner <meissner@redhat.com>
9815
9816 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
9817 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
9818 * libc/machine/mips/Makefile.in: Regenerate.
9819 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
9820 * libc/machine/mips/memset.c: Dito.
9821 * libc/machine/mips/strcmp.c: Dito.
9822 * libc/machine/mips/strlen.c: Dito.
9823 * libc/machine/mips/strncmp.c: Dito.
9824
98252002-03-06 Jeff Johnston <jjohnstn@redhat.com>
9826
9827 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
9828 object so it works for shared library or statici library.
98292002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9830
10d00216
JJ
9831 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
9832 (strptime): Moved prototype to be within !__STRICT_ANSI__.
9833 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
9834 (tzname): Defined for all platforms.
9835 (daylight, timezone): Defined only for CYGWIN.
9836 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
9837 environment set up.
9838 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
9839 environment variable is set.
9840 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
9841 tzset_r.c.
9842 * libc/time/Makefile.in: Regenerated.
9843 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
9844 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
9845 * libc/time/lcltime_r.c (lcltime_r): Ditto.
9846 * libc/time/local.h: New local header file.
9847 * libc/time/mktime.c (mktime): Add timezone support.
9848 * libc/time/mktm_r.c: New file which is the common engine
9849 for gmtime_r and lcltime_r. This code has timezone support.
9850 * libc/time/strftime.c (strftime): Add %Z timezone support.
9851 * libc/time/tzlock.c: New file containing timezone lock stubs.
9852 * libc/time/tzset.c: New file containing tzset() routine.
9853 * libc/time/tzset_r.c: New file containing _tzset_r and
9854 internal routine for calculating timezone changes for specified year.
9855
5f1c13c6
TF
98562002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9857
9858 * configure.in (CRT0_DIR): Set to libc/.
9859 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
9860 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
9861 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
9862 $(CRT1_DIR)/$(CRT1).
9863 * libc/machine/xstormy16/Makefile.in: Regenerated.
9864 * libc/machine/xstormy16/aclocal.m4: Regenerated.
9865 * libc/machine/xstormy16/configure: Regenerated.
9866
0cc261b1
AO
98672002-04-13 Alexandre Oliva <aoliva@redhat.com>
9868
2f3009bd
AO
9869 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
9870 fails, don't bail out, and try to correct next time.
9871
0cc261b1
AO
9872 * libc/include/sys/config.h: Include limits.h.
9873
26116455
JJ
98742002-04-12 Eric Norum <eric.norum@usask.com>
9875
9876 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
9877 routine to allow autoconf to determine that building executables
9878 for rtems works.
9879 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
9880 (rtems_gxx_mutex_once): Ditto.
9881
4608280d
TR
98822002-04-09 Tom Rix <trix@redhat.com>
9883
9884 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
9885
dea7e25c
JJ
98862002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9887
ba3ccd63
EB
9888 * libc/include/time.h: Fix strptime declaration.
9889 * libc/time/Makefile.am: Add strptime.c.
dea7e25c 9890 * libc/time/Makefile.in: Regenerated.
ba3ccd63 9891 * libc/time/strptime.c: New file.
dea7e25c 9892
c5ef1e95
JJ
98932002-04-08 Jeff Johnston <jjohnstn@redhat.com>
9894
9895 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
9896 siglongjmp prototype, and sigsetjmp macro definition.
9897 * libc/sys/linux/siglongjmp.c: New file.
9898 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
9899 * libc/sys/linux/Makefile.in: Regenerated.
9900
6e6cd5bd
JJ
99012002-04-04 Jeff Johnston <jjohnstn@redhat.com>
9902
9903 * Makefile.am: Add support for installing crt1.o if one exists.
9904 * configure.host: Specify crt1.o for linux.
9905 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
9906 * Makefile.in: Regenerated.
9907 * configure: Ditto.
9908 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
9909 Added for non-Cygwin, non-RTEMS configurations.
9910 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
9911 * libc/sys/linux/Makefile.in: Regenerated.
9912 * libc/sys/linux/crt1.c: New empty file to override one defaulted
9913 by gcc. This fixes problem with reconfiguring linux newlib build.
9914 * libc/sys/linux/sysconf.c: New file.
9915
fa4a16a1
JJ
99162002-04-03 Jeff Johnston <jjohnstn@redhat.com>
9917
9918 * configure.host: Add support for machine subdirectory of
9919 sys subdirectory.
9920 * configure.in: Add check for sys machine subdirectory.
9921 * Makefile.am: Ditto.
9922 * configure: Regenerated.
9923 * Makefile.in: Ditto.
9924 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
9925 * libc/sys/linux/sys/syscall.h: Ditto.
9926 * libc/sys/linux/sleep.c: New file.
9927 * libc/sys/linux/socket.c: Ditto.
9928 * libc/sys/linux/sockops.h: Ditto.
9929 * libc/sys/linux/stack.c: Ditto.
9930 * libc/sys/linux/usleep.c: Ditto.
9931 * libc/sys/linux/machine/Makefile.am: Ditto.
9932 * libc/sys/linux/machine/Makefile.in: Ditto.
9933 * libc/sys/linux/machine/aclocal.m4: Ditto.
9934 * libc/sys/linux/machine/configure: Ditto.
9935 * libc/sys/linux/machine/configure.in: Ditto.
9936 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
9937 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
9938 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
9939 * libc/sys/linux/machine/i386/configure: Ditto.
9940 * libc/sys/linux/machine/i386/configure.in: Ditto.
9941 * libc/sys/linux/machine/i386/crt0.c: Ditto.
9942 * libc/sys/linux/machine/i386/sigset.c: Ditto.
9943 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
9944 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
9945 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9946 * libc/sys/linux/sys/select.h: Ditto.
9947 * libc/sys/linux/configure.in: Add support for machine directory.
9948 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
9949 * libc/sys/linux/Makefile.in: Regenerated.
9950 * libc/sys/linux/configure: Ditto.
9951 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
9952 * libc/sys/linux/inode.c: Ditto.
9953 * libc/sys/linux/linux.c: Ditto.
9954 * libc/sys/linux/process.c: Ditto.
9955 * libc/sys/linux/systat.c: Ditto.
9956 * libc/sys/linux/time.c: Ditto.
9957 * libc/sys/linux/wait.c: Ditto.
9958 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
9959 * libc/sys/linux/io.c: Change header plus add readv/writev.
9960 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
9961 use __sigsuspend syscall.
9962 * libc/sys/linux/select.c: Change header plus change select to
9963 use _newselect syscall.
9964 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
9965 used by glibc header files.
9966 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
9967 types.
9968
d4dca0e4
JJ
99692002-04-01 Jeff Johnston <jjohnstn@redhat.com>
9970
9971 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
9972 initializing a struct _reent that has been dynamically allocated.
9973 (_REENT_CHECK_MISC): New macro that checks _misc struct for
9974 _REENT_SMALL and does nothing otherwise.
9975 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
9976 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
9977 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
9978 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
9979 [_REENT_SMALL](struct _misc_reent): New structure containing
9980 miscellaneous reentrant areas needed by newlib.
9981 [_REENT_SMALL](struct _reent): Add _misc pointer.
9982 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
9983 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
9984 and _REENT_STRTOK_LAST macros.
9985 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
9986 and _REENT_MBLEN_STATE macros.
9987 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
9988 and _REENT_MBTOWC_STATE macros.
9989 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
9990 and _REENT_WCTOMB_STATE macros.
9991
54a7c6d2
JJ
99922002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
9993
9994 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
9995
c82479b1
CF
9996Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
9997
9998 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
9999
43ecf6e8
JR
10000Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
10001
10002 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
10003 Store high part of leading bytes too.
10004
a485d93f
RS
100052002-03-22 Richard Sandiford <rsandifo@redhat.com>
10006
10007 * libm/math/ef_hypot.c: Increase scale factor to 68.
10008
62a963ee
AO
100092002-03-13 Alexandre Oliva <aoliva@redhat.com>
10010
10011 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
10012 error.
10013
c53d8453
JJ
100142002-03-12 Jeff Johnston <jjohnstn@redhat.com>
10015
ba3ccd63
EB
10016 * libc/sys/go32/access.c: Change license to relaxed license
10017 used in identical file throughout newlib/libgloss.
c53d8453 10018
d2a246ad
JJ
100192002-03-12 Richard Earnshaw <rearnsha@arm.com>
10020
10021 * libc/sys/arm/access.c: New file.
10022 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
10023 * libc/sys/arm/Makefile.in: Regenerate.
10024 * libc/sys/arm/syscalls.c (_stat): New function.
10025
eabb48d5
MM
100262002-03-11 Michael Meissner <meissner@redhat.com>
10027
10028 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
10029 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
10030 * libc/machine/mips/Makefile.in: Regenerate.
10031 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
10032 * libc/machine/mips/memset.c: Dito.
10033 * libc/machine/mips/strcmp.c: Dito.
10034 * libc/machine/mips/strlen.c: Dito.
10035 * libc/machine/mips/strncmp.c: Dito.
10036
2a606041
JJ
100372002-03-06 Jeff Johnston <jjohnstn@redhat.com>
10038
eabb48d5
MM
10039 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
10040 object so it works for shared library or statici library.
10041 * libc/machine/i386/Makefile.in: Regenerated.
2a606041 10042
55f26f11
JR
10043Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
10044
96bff22c
JR
10045 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
10046 Add memcpy.S, memset.S and strcpy.S.
10047 * libc/machine/sh/Makefile.in: Regenerate.
10048 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
55f26f11 10049 (SHHI, SHLO): Define.
96bff22c
JR
10050 * libc/machine/sh/memset.S: Add code for SH5.
10051 * libc/machine/sh/memset.S: Likewise.
10052 * libc/machine/sh/strcpy.S: Likewise.
55f26f11 10053
afecf2fa
JJ
100542002-02-27 Jeff Johnston <jjohnstn@redhat.com>
10055
10056 * configure.host: Add check for --disable-newlib-io-float
10057 configuration option and add -DNO_FLOATING_POINT to newlib cflags
10058 if appropriate.
10059 * acinclude.m4: Added --disable-newlib-io-float option.
10060 * aclocal.m4: Regenerated.
10061 * configure: Ditto.
10062 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
17c0c97d 10063 * libc/*/aclocal.m4 libc/*/configure
afecf2fa
JJ
10064 * libm/*/aclocal.m4 libm/*/configure: Ditto.
10065 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
10066 if NO_FLOATING_POINT flag is not defined.
10067
c1010a63
JJ
100682002-02-25 Jeff Johnston <jjohnstn@redhat.com>
10069
10070 * libc/include/sys/config.h: Add __extension__ in front of
10071 long long references.
10072
630c657e
CV
100732002-02-23 Corinna Vinschen <corinna@vinschen.de>
10074
10075 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
10076 (_stat): Ditto.
10077
59ee2e20
CV
100782002-02-23 Corinna Vinschen <corinna@vinschen.de>
10079
10080 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
10081 of off_t.
10082
2dd68dc2
NC
100832002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
10084
10085 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
10086 clobbered registers.
10087
55500bf1
TF
100882002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
10089
10090 * configure.host (newlib_cflags): When host is in m68* add
10091 -DCOMPACT_CTYPE.
10092
ba0173f0
JJ
100932002-02-15 Jeff Johnston <jjohnstn@redhat.com>
10094
ba3ccd63
EB
10095 * libc/include/sys/config.h: Add definitions for
10096 __int16_t, __uint16_t, __int64_t, and __uint64_t.
ba0173f0 10097
7b61d0c5
JJ
100982002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
10099
ba3ccd63
EB
10100 * libc/sys/mmixware/link.c: New.
10101 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
10102 volatile.
10103 * libc/sys/mmixware/times.c (_times): Renamed from times.
10104 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
10105 properly by reading previous contents, not through BinaryReadWrite.
10106 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
10107 * libc/sys/mmixware/Makefile.in: Regenerate.
7b61d0c5 10108
a505db65
CV
101092002-02-10 Corinna Vinschen <corinna@vinschen.de>
10110
10111 * libc/include/grp.h: Don't declare group functions when compiling
10112 Cygwin.
10113
f3b39c45
CV
101142002-02-09 Corinna Vinschen <corinna@vinschen.de>
10115
10116 * libc/include/grp.h: Include Cygwin specific header.
10117 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
10118 when compiling for Cygwin.
10119 * libc/include/sys/types.h: Don't define off_t, uid_t
10120 and gid_t when compiling for Cygwin.
10121
82b3ac56
MG
101222002-02-08 matthew green <mrg@redhat.com>
10123
10124 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
10125 _REENT_EMERGENCY_SIZE, not sizeof(char *).
10126
9f25eed9
AO
101272002-02-08 Alexandre Oliva <aoliva@redhat.com>
10128
10129 Contribute sh64-elf.
10130 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
10131 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
10132 support in printf.
10133 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
10134 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
10135 any labels.
10136 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
10137 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
10138 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
10139 * libc/machine/sh/configure.in: Rework conditionals.
10140 * libc/machine/sh/Makefile.am: Likewise.
10141 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
10142 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
10143 * configure.host: Match `sh*'.
10144 * libc/include/machine/setjmp.h: Define for SH5.
10145 * libc/machine/sh/configure.in: Detect SH5.
10146 * libc/machine/sh/configure: Rebuilt.
10147 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
10148 * libc/machine/sh/Makefile.in: Rebuilt.
10149 * libc/machine/sh/asm.h: Adjust for SH5.
10150 * libc/machine/sh/setjmp.S: Implement in SHmedia.
10151 * libc/sys/sh/crt0.S: Likewise.
10152 * libc/sys/sh/trap.S: Likewise.
10153
a2a405ae
JJ
101542002-02-07 Jeff Johnston <jjohnstn@redhat.com>
10155
10156 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
10157 (mach_add_obj): Conditionally set to setjmp.o or nothing.
10158 (LIB_SOURCES): Remove $(mach_add_src).
10159 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
10160 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
10161 * libc/machine/i386/Makefile.in: Regenerate.
10162
27478365
JJ
101632002-02-05 Manik Raina <manik@cisco.com>
10164
994fa212 10165 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
27478365
JJ
10166 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
10167 s, p, k, and outstr.
10168 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
10169
815a37f7
JJ
101702002-02-04 Jeff Johnston <jjohnstn@redhat.com>
10171
10172 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
10173 _REENT_CHECK_EMERGENCY macro.
10174
a4139c12
MG
101752002-02-03 matthew green <mrg@redhat.com>
10176
10177 * libc/reent/signgam.c (__signgam): Fix error in previous.
10178
8195aff7
MG
101792002-02-02 matthew green <mrg@redhat.com>
10180
10181 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
10182
10183 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
10184 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
10185 * libc/include/sys/reent.h (struct _reent): Completely new version
10186 for _REENT_SMALL.
10187 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
10188 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
10189 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
10190 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
10191 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
10192 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
10193 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
10194 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
10195 (_REENT_EMERGENCY): Likewise.
10196
10197 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
10198 the start of the real __sFILE, used for stdin, stdout and stderr until
10199 they are setup properly.
10200 (struct __sFILE): Move location of _data in _REENT_SMALL case.
10201 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
10202 allocated stdin, stdout and stderr.
10203 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
10204 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
10205 * libc/stdio/perror.c (_perror_r): Likewise.
10206 * libc/stdio/printf.c (printf, _printf_r): Likewise.
10207 * libc/stdio/putchar.c (_putchar_r): Likewise.
10208 * libc/stdio/puts.c (_puts_r): Likewise.
10209 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
10210 * libc/stdio/vprintf.c (vprintf): Likewise.
10211 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
10212
10213 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
10214
10215 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
10216 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
10217 for _REENT_SMALL.
10218 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
10219 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
10220
10221 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
10222 _REENT_SMALL.
10223 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
10224 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
10225 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
10226 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
10227 * libc/stdlib/rand48.c (__dorand48): Likewise.
10228 * libc/stdlib/seed48.c (_seed48_r): Likewise.
10229 * libc/stdlib/srand48.c (_srand48_r): Likewise.
10230 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
10231 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
10232 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
10233 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
10234 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
10235 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
10236 * libc/stdlib/rand.c (rand): Likewise.
10237
10238 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
10239 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
10240
10241 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
10242 _REENT_MP_FREELIST() and _REENT_MP_P5S.
10243 * libc/include/sys/reent.h (struct _mprec): New structure.
10244
10245 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
10246 _unused_strtok_last.
10247 * libc/string/strtok.c (strtok): Use a local static variable.
10248
10249 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
10250 (_REENT_EMERGENCY_SIZE): Likewise.
10251 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
10252 _REENT_ASCTIME_BUF().
10253 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
10254 _REENT_TM().
10255
10256 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
10257 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
10258 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
10259 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
10260 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
10261 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
10262
9c2e7642
GK
102632002-02-01 Geoffrey Keating <geoffk@redhat.com>
10264
10265 * configure.host (xstormy16): Don't use the generic malloc.
10266 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
10267 * libc/machine/xstormy16/Makefile.in: Regenerate.
10268 * libc/machine/xstormy16/mallocr.c: New file.
10269 * libc/machine/xstormy16/tiny-malloc.c: New file.
10270
4bb6112f
TF
102712002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
10272
10273 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
10274 when _CYGWIN_TYPES_H is not defined.
10275
8d345552
TF
102762002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
10277
10278 * libc/include/sys/signal.h: Revert 2002-01-23 change.
10279
bcc49082
TF
102802002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
10281
10282 * libc/include/sys/signal.h: Remove pthread_kill declaration
10283 when __CYGWIN__ is defined.
10284
13baedeb
CF
102852002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
10286
10287 * libc/include/time.h: Add prototype for strptime for Cygwin.
10288
b2db0ebc
NC
102892002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
10290
ebf139fb
NC
10291 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
10292 dst was not word aligned.
10293
b2db0ebc
NC
10294 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
10295 if too much memory is requested.
10296
798c015d
JJ
102972002-01-11 Jeff Johnston <jjohnstn@redhat.com>
10298
10299 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
10300 reads blanks from the input file to break if EOF reached
10301 rather than end processing.
10302
46ad2ef4
JJ
103032002-01-07 Jeff Johnston <jjohnstn@redhat.com>
10304
10305 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
10306
86b06396
JJ
103072002-01-07 Alan Matsuoka <alanm@redhat.com>
10308
ba3ccd63
EB
10309 * libc/include/machine/ieeefp.h: Configure d10v doubles to
10310 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
10311 libc/include/sys/config.h: Ditto.
86b06396 10312
423d5064
CV
103132001-12-28 Corinna Vinschen <corinna@vinschen.de>
10314
10315 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
10316
f6eff1c0
GK
103172001-12-22 Geoffrey Keating <geoffk@redhat.com>
10318 Catherine Moore <clm@redhat.com>
10319 Richard Henderson <rth@redhat.com>
10320 Corinna Vinschen <vinschen@redhat.com>
10321
10322 * configure.host: Add support for xstormy16.
10323 * libc/include/machine/ieeefp.h: Add support for xstormy16.
10324 * libc/include/machine/setjmp.h: Add support for xstormy16.
10325 * libc/include/sys/config.h: Add support for xstormy16.
10326 * libc/machine/xstormy16/Makefile.am: New file.
10327 * libc/machine/xstormy16/Makefile.in: New file.
10328 * libc/machine/xstormy16/aclocal.m4: New file.
10329 * libc/machine/xstormy16/configure: New file.
10330 * libc/machine/xstormy16/configure.in: New file.
10331 * libc/machine/xstormy16/setjmp.S: New file.
10332
1f93c55f
TF
103332001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
10334
10335 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
10336 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
10337
13b918be
CV
103382001-12-19 Corinna Vinschen <corinna@vinschen.de>
10339
10340 * libm/machine/Makefile.am: Change rules to create correct lib.a.
10341 * libm/machine/Makefile.in: Regenerated through automake.
10342
08e857b4
TF
103432001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
10344
10345 * Makefile.am (DOCDIR): Force to empty string when doc
10346 directory is not present.
10347
60565ed6
TF
103482001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
10349
10350 * libc/machine/i386/f_*: Move to libm/machine/i386.
10351
103522001-12-18 Joel Sherrill <joel@OARcorp.com>
10353
10354 * libm/machine/Makefile.am: Add dummy doc stub so
10355 "make info" works.
10356
103572001-12-17 Joel Sherrill <joel@OARcorp.com>
10358
10359 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
10360
fc504135
TF
103612001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
10362
10363 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
10364 $(COMPILE) rather than $(CC).
10365 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
10366 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
10367 $(LIB_COMPILE) change.
10368 (vfiprintf.$(oext)): Likewise.
10369
efeae9a3
CV
103702001-12-17 Corinna Vinschen <vinschen@redhat.de>
10371
10372 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
10373 conditionalized including of getopt stuff.
10374
cdf7120d
TF
103752001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
10376
10377 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
10378 compile line.
f85be99c 10379 (vfiprintf.$(oext)): Likewise.
cdf7120d 10380
2e1a7175
TF
103812001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10382
10383 * Makefile.shared: New file.
10384 * libc/sys/linux/shared.ld: New file.
10385 * libm/machine/*: New files.
10386 * libm/machine/i386/*: New files.
10387 * Makefile.am: Add libtool support. Change math and mathfp
10388 references to variables.
10389 * configure.host: Add variables for libtool support. Add
10390 libm_machine_dir variable.
10391 * configure.in: Add objectlist variables, for libtool
10392 support. Add CC_FOR_BUILD tests.
10393 * libc/Makefile.am: Add libtool support. Change crt0.o
10394 reference to be a variable reference.
10395 * libc/configure.in: Add libtool support. Change sublib
10396 names to be lib${subdir}.la when using libtool.
10397 * libc/ctype/Makefile.am: Add libtool support.
10398 * libc/errno/Makefile.am: Likewise.
10399 * libc/locale/Makefile.am: Likewise.
10400 * libc/machine/Makefile.am: Likewise.
10401 * libc/machine/configure.in: Likewise.
10402 * libc/machine/i386/Makefile.am: Likewise.
10403 * libc/machine/i386/configure.in: Likewise.
10404 * libc/misc/Makefile.am: Likewise.
10405 * libc/posix/Makefile.am: Likewise.
10406 * libc/reent/Makefile.am: Likewise.
10407 * libc/signal/Makefile.am: Likewise.
10408 * libc/stdio/Makefile.am: Likewise.
10409 * libc/stdlib/Makefile.am: Likewise.
10410 * libc/string/Makefile.am: Likewise.
10411 * libc/sys/Makefile.am: Likewise.
10412 * libc/sys/configure.in: Likewise.
10413 * libc/sys/linux/Makefile.am: Add libtool support. Change
10414 awk reference to a variable reference. Change signal.h
10415 reference to a variable reference.
10416 * libc/sys/linux/configure.in: Add libtool support.
10417 * libc/syscalls/Makefile.am: Likewise.
10418 * libc/time/Makefile.am: Likewise.
10419 * libc/unix/Makefile.am: Likewise.
10420 * libm/Makefile.am: Add libtool support. Change math and
10421 mathfp references to variables.
10422 * libm/configure.in: Add libtool support. Add
10423 LIBM_MACHINE_LIB variable.
10424 * libm/common/Makefile.am: Add libtool support.
10425 * libm/math/Makefile.am: Likewise.
10426 * libm/mathfp/Makefile.am: Likewise.
10427 Regenerate all Makefile.in, aclocal.m4, and configure.
10428
b92591a1
JJ
104292001-12-13 Anita Kulkarni <anitak@kpit.com>
10430
ba3ccd63 10431 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
b92591a1 10432
355b664e
CF
104332001-12-06 John Peacock <jpeacock@rowman.com>
10434
10435 * libc/include/sys/unistd.h: Correct ualarm declaration.
10436
e9853806
NC
104372001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
10438
10439 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
10440 vector before calling the initialisation functions.
10441
a8e091b0
CF
104422001-11-29 Christopher Faylor <cgf@redhat.com>
10443
10444 * libc/include/dirent.h: Protect against multiple inclusion.
10445
ab634123
CF
104462001-11-27 Christopher Faylor <cgf@redhat.com>
10447
10448 * libc/include/sys/types.h: Define useconds_t.
10449 * libc/include/sys/ulimit.h: Declare ualarm.
10450
d37e401e
CF
104512001-11-21 Christopher Faylor <cgf@redhat.com>
10452
10453 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
10454
8ac90051
HPN
104552001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
10456
10457 * libc/sys/mmixware/*: Tweak license header in all source files.
10458
d7ca37e4
CV
104592001-11-12 Corinna Vinschen <vinschen@redhat.com>
10460
10461 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
10462 to here. Rearrange for general inclusion by stdlib.h.
10463 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
10464 isn't defined.
10465 * libc/sys/linux/include/alloca.h: Move to libc/include.
10466
28f8744e
AG
104672001-11-12 Anthony Green <green@redhat.com>
10468
10469 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
10470
4cede8c4
HPN
104712001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
10472
10473 * libc/sys/mmixware/*: Correct spacing in all source files.
10474 * libc/sys/mmixware/syscall.h: Move misplaced file...
10475 * libc/sys/mmixware/sys/syscall.h: ...here.
10476
8be9b48b
JJ
104772001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
10478
ba3ccd63
EB
10479 * libc/include/machine/ieeefp.h: Add support for mmix target.
10480 * libc/include/machine/setjmp.h: Ditto.
10481 * configure.host: Ditto.
10482 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
10483 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
10484 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
10485 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
10486 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
10487 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
10488 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
10489 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
10490 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
10491 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
10492 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
10493 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
10494 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
10495 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
10496 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
10497 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
10498 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
10499 libc/sys/mmixware/aclocal.m4: Generate.
8be9b48b 10500
c7dd4f95
CV
105012001-11-05 Corinna Vinschen <corinna@vinschen.de>
10502
10503 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
10504 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
10505 when __CYGWIN__ is defined.
10506 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
10507 logwtmp().
10508
a6a6f9fe
JJ
105092001-11-01 Arati Dikey <aratidikey@hotmail.com>
10510
10511 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
10512 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
10513 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
10514 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
10515
d0504c35
JJ
105162001-10-24 Christopher Faylor <cgf@redhat.com>
10517
10518 * libc/stdio/fseek.c: Reset pointer to buffer base
10519 when forced to seek outside of current buffer contents.
10520 This prevents the code from erroneously thinking there is
10521 anything in the current buffer.
10522
0280c8c0
GK
105232001-10-22 Geoffrey Keating <geoffk@redhat.com>
10524
10525 * libc/include/math.h: The C++ standard adds the single-precision
10526 versions of the elementary functions.
10527
333d6098
CF
105282001-10-22 Christopher Faylor <cgf@redhat.com>
10529
10530 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
10531 throughout.
10532 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
10533 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
10534 * system.c (_system_r): Ditto.
10535
c7118319
CV
105362001-10-17 Corinna Vinschen <corinna@vinschen.de>
10537
10538 * libc/include/sys/unistd.h: Add prototype for fchdir() when
b4e98df6 10539 __CYGWIN__ or __rtems__ is defined.
c7118319 10540
5665b0e1
JJ
105412001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
10542
ba3ccd63
EB
10543 * libc/include/stdlib.h: add declarations for
10544 _strtoull_r, _strtoll_r, strtoull, and strtoll.
10545 * libc/stdio/local.h: remove declarations of
10546 __strtoull_r and __strtoll_r.
10547 * libc/stdio/vfscanf.c(__svfscanf_r): call
10548 _strtoull_r instead of __strtoull_r. Ditto
10549 _strtoll_r vs. __strtoll_r.
10550 * libc/stdlib/Makefile.am: add new files to
10551 .c list and .def list
10552 * libc/stdlib/Makefile.in: regenerate
10553 * libc/stdlib/strtoll_r.c: rename __strtoll_r
10554 as _strtoll_r
10555 * libc/stdlib/strtoull_r.c: rename __strtoull_r
10556 as _strtoull_r
10557 * libc/stdlib/strtoull.c: new file
10558 * libc/stdlib/strtoll.c: new file
5665b0e1 10559
d2d5eb41
CF
10560Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
10561
10562 * libc/include/process.h: Add getpid() declaration.
10563
448e3c14
NC
105642001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
10565
10566 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
10567 for new style arm/elf ctor/dtor handling.
10568 Minor formatting tidy up.
10569
7a2afbbb
JJ
105702001-09-13 Jeff Johnston <jjohnstn@redhat.com>
10571
10572 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
10573 and strtoull_r.c.
10574 * libc/stdlib/Makefile.in: Regenerated.
10575 * libc/stdlib/strtoll_r.c: New file.
10576 * libc/stdlib/strtoull_r.c: New file.
10577 * libc/stdio/local.h: Add prototypes for long long string
10578 conversion routines.
10579 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
10580 tied to %L integer conversion specifier.
10581
6342caa4
JJ
10582Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
10583
ba3ccd63
EB
10584 * strftime.c (strftime): Fix "%W" implementation to properly handle
10585 Mondays too.
6342caa4 10586
b2d319cb
JJ
105872001-09-07 Jeff Law <law@redhat.com>
10588
ba3ccd63
EB
10589 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
10590 __fini with "mov.l" instead of "mov.w".
b2d319cb 10591
233823ba
CV
105922001-09-05 Corinna Vinschen <corinna@vinschen.de>
10593
10594 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
10595 and getopt.h.
10596
63c17b54
JJ
105972001-09-04 Jason Merrill <jason_merrill@redhat.com>
10598
10599 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
10600
a3e67ddf
CV
106012001-09-03 Corinna Vinschen <corinna@vinschen.de>
10602
10603 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
10604 field.
10605 (__DIRENT_VERSION): New define.
10606
6d47f33a
CV
106072001-09-03 Corinna Vinschen <corinna@vinschen.de>
10608
10609 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4f79e37e
CV
10610 Shrink __d_reserved accordingly to keep structure size.
10611 (dirfd): Declare external.
6d47f33a 10612
348c5e06
JJ
106132001-08-29 Joel Sherrill <joel@OARcorp.com>
10614
10615 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
10616
106172001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
10618
10619 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
10620 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
10621 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
10622 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
10623 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
10624 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
10625 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
10626 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
10627 Add conditional compilation to avoid HW FPU instructions
10628 when compiled for soft-float.
10629
f29865c5
JJ
106302001-08-29 Jeff Johnston <jjohnstn@redhat.com>
10631
10632 * Makefile.am: Add check for ln failing when creating libg.a
10633 so that cp gets used as a backup.
10634 * Makefile.in: Regenerated.
10635
9e2a4ef8
JJ
106362001-08-29 Jeff Johnston <jjohnstn@redhat.com>
10637
10638 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
10639 No longer include time.h. Add struct __tm to use for
10640 _localtime_buf in the reentrant structure. Add a
10641 _NULL definition to use in initializing the reentrant struct.
10642 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
10643 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
10644 <sys/_types.h>.
10645 * libc/include/sys/unistd.h: Include <sys/_types.h>.
10646 * libc/time/lcltime.c (localtime): Cast the reentrant struct
10647 _localtime_buf to be struct tm *.
10648
1ae900d6
JR
10649Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
10650
10651 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
10652 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
10653 __ctors_end.
10654 * libc/sys/h8300hms/syscalls.c: Include errno.h.
10655 (_unlink): New stub function.
10656
8e26d5b5
CF
10657Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
10658
10659 * libc/include/sys/errno.h: Add a cautionary comment.
10660
e8267664
JJ
106612001-08-21 Jeff Johnston <jjohnstn@redhat.com>
10662
10663 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
10664 for SIZE_SZ so that alignment ends up a minimum of 8.
10665
4acf3edf
CF
10666Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
10667
10668 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
10669 arguments.
10670
10671 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
10672 Cygwin.
10673
52c80be8
JJ
106742001-08-13 Jeff Johnston <jjohnstn@redhat.com>
10675
10676 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
10677 macro constants for mallopt options.
10678 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
10679
a7061f7f
JJ
106802001-08-02 Jeff Johnston <jjohnstn@redhat.com>
10681
10682 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
10683 otherwise default.
10684
0b4bfdd5
AH
106852001-07-12 Aldy Hernandez <aldyh@redhat.com>
10686
ba3ccd63 10687 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
0b4bfdd5 10688
2b6b730c
NC
106892001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
10690
10691 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
10692 Define for little endian ARMs.
10693
10694 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
10695 __IEEE_BYTES_LITTLE_ENDIAN is defined.
10696
25842b68
JJ
106972001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
10698
ba3ccd63 10699 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
25842b68 10700
371b76ef
JJ
107012001-06-11 Egor Duda <deo@logos-m.ru>
10702
ba3ccd63
EB
10703 * libc/ctype/ctype_.c: When compiled with gcc on platforms
10704 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
10705 initialized memory region. Platform can define COMPACT_CTYPE
10706 to avoid allocation of the additional 128 bytes of data.
10707 Add pointer to _ctype_ array. Always initialize all _ctype_
10708 array elements.
371b76ef 10709
43b44bc5
JL
107102001-06-08 Jonathan Larmour <jlarmour@redhat.com>
10711
10712 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
10713 NULL pointer.
10714
188bc140
NC
107152001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
10716
10717 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
10718
2ce88418
NC
107192001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
10720
10721 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
10722 matching, non-word alignment, and the length is <= 4 but more than
10723 enough to move them over a word boundary.
10724 Add comments explaining what each instruction does.
10725
ca60ed47
CF
10726Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
10727
10728 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
c63e9997 10729 * libc/include/sys/unistd.h: Ditto.
ca60ed47 10730
8b3bcfba
JJ
107312001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
10732
ba3ccd63 10733 * libc/string/strrchr.c: Use strchr for the speed improvements.
8b3bcfba 10734
b09e3cf8
JJ
107352001-05-01 Jeff Johnston <jjohnstn@redhat.com>
10736
10737 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
10738 real file systems, let __smakebuf() determine if line buffering
10739 should be used for stdout.
10740
0ca66974
JJ
107412001-04-27 Jeff Johnston <jjohnstn@redhat.com>
10742
10743 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
10744
7cb7017a
JJ
107452001-04-27 Jeff Johnston <jjohnstn@redhat.com>
10746
10747 * libc/include/stdlib.h: Add prototype for _strtod_r.
10748
a874cd21
JJ
107492001-04-24 Charles Wilson <cwilson@ece.gatech.edu
10750
ba3ccd63
EB
10751 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
10752 * libc/stdio/vprintf.c (_vprintf_r): new function
10753 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
10754 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
10755 _DEFUN, and call _vfprintf_r, not vfprintf.
10756 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
10757 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
10758 _DEFUN, and call _vfprintf_r, not vfprintf.
a874cd21 10759
cb4cc283 107602001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
17c0c97d 10761
cb4cc283
CF
10762 * libc/include/sys/unistd.h [X_OK]: Use better protection against
10763 Cygwin X_OK definitions in sys/file.h.
10764
8c9df1d5
CF
10765Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
10766
10767 * libc/include/sys/time.h: Define timercmp and other macros for
10768 __CYGWIN__, too.
10769
3ac6f3a7 107702001-04-20 Jeff Johnston <jjohnstn@redhat.com>
17c0c97d 10771
3ac6f3a7
JJ
10772 * acinclude.m4: Added --enable-malloc-debugging configure flag.
10773 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
10774 --enable-malloc-debugging selected.
10775 * aclocal.m4 configure: Regenerated.
10776 libm/aclocal.m4 libm/configure: Ditto.
10777 * libc/aclocal.m4 libc/configure: Ditto.
10778 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
10779 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
10780 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
10781 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
10782 * doc/aclocal.m4 doc/configure: Ditto.
10783
52cb9e69
JJ
107842001-04-20 Jeff Johnston <jjohnstn@redhat.com>
10785
10786 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
10787 into one list.
10788 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
10789 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
10790 function prototypes.
10791 (_fscanf_r, _sscanf_r): Ditto.
10792 * libc/include/stdlib.h: Added _strtod_r prototype.
10793 * libc/stdio/Makefile.am: Add new v*scanf functions.
10794 * libc/stdio/Makefile.in: Regenerate.
10795 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
10796 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
10797 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
10798 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
10799 (sscanf): Changed to call __svfscanf_r with _REENT argument.
10800 (_sscanf_r): New routine.
10801 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
10802 with __svfscanf_r prototype.
10803 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
10804 routines.
10805 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
10806 structure as argument as calls reentrant versions of helper functions
10807 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
10808 to _strtol_r and _strtod_r respectively.
10809 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
10810 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
10811 _REENT argument.
10812 * libc/stdio/vscanf.c: New file.
10813 * libc/stdio/vsscanf.c: Ditto.
10814
ee9f39fb
JJ
108152001-04-19 Robert Collins <rbtcollins@hotmail.com>
10816
10817 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
10818 Define daylight to _daylight if it is not defined
17c0c97d 10819 Prepare a variable export of timezone based on timezonevariable.
ee9f39fb
JJ
10820 (Cannot be used with the timezone() function.)
10821
273861e3
JJ
108222001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
10823
ba3ccd63
EB
10824 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
10825 Correct the numerical values.
273861e3 10826
a25b8414
CF
108272001-04-13 Robert Collins <rbtcollins@hotmail.com>
10828
10829 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
10830
b8a8c59d
CV
10831Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
10832
10833 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
10834 on case insensitve file systems.
10835
74f8cc63
CF
108362001-04-12 Robert Collins <rbtcollins@hotmail.com>
10837
10838 * libc/include/sys/features.h: Add appropriate defines for Cygwin
10839 pthread support.
10840 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
10841 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
10842 types. Include <cygwin/types.h> for the cygwin specific typedefs.
10843
16740220
RS
108442001-04-04 Richard Sandiford <rsandifo@redhat.com>
10845
10846 * libc/include/machine/ieeefp.h: Comment about new configuration
10847 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
10848 * libm/common/fdlib.h: Define new macros for testing floats.
10849 * libm/common/sf_*: Use them.
10850 * libm/math/ef_*: Likewise.
10851 * libm/math/sf_*: Likewise.
10852
0694d8d3
JJ
108532001-03-29 Jeff Johnston <jjohnstn@redhat.com>
10854
10855 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
10856 prolog to by-pass possible assembler error.
10857
4833b38c
JJ
108582001-03-21 Egor Duda <deo@logos-m.ru>
10859
ba3ccd63
EB
10860 Allow building internal stubs for non-reentrant syscalls
10861 if target provides its own malloc
10862 * libc/reent/reent.c (errno): Move definition here.
10863 * libc/reent/sbrkr.c: From here.
4833b38c 10864
d17d6d42
CF
108652001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
10866
10867 * libc/include/sys/types.h (BSD int typedefs): Guard with
10868 _BSDTYPES_DEFINED rather than _WINSOCK_H.
10869 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
10870 _SYS_TYPES_FD_SET.
10871 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
10872 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
10873
c7ee75cd
CV
10874Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
10875
10876 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
10877 _PC_POSIX_SECURITY constants for Cygwin.
10878
63dc5d80
CV
10879Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
10880
10881 * libc/sys/cygwin/crt0.c: Add copyright hint.
10882 * libc/sys/cygwin/sys/dirent.h: Ditto.
10883 * libc/sys/cygwin/sys/param.h: Ditto.
10884 * libc/sys/cygwin/sys/utime.h: Ditto.
10885 * libc/sys/cygwin/sys/utmp.h: Ditto.
10886
6f637037
AO
108872001-03-13 Alexandre Oliva <aoliva@redhat.com>
10888
10889 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
10890 equivalent to LONGINT.
10891
e69b6f73
JJ
108922001-03-08 Richard Sandiford <rsandifo@redhat.com>
10893
ba3ccd63
EB
10894 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
10895 jmpbuf on MIPS64 targets.
10896 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
e69b6f73 10897
6198dece
CF
10898Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
10899
17c0c97d 10900 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
ba3ccd63 10901 declarations.
6198dece 10902
cfc05d96
JJ
10903Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
10904
ba3ccd63
EB
10905 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
10906 For RTEMS, define to be ssize_t. Default to int if not defined.
10907 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
10908 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
10909 * libc/stdio/local.h (__sread, __swrite): Likewise.
10910 * libc/include/sys/reent.h (_read, _write): Likewise.
10911 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
10912 * libc/syscalls/sysread.c (read): Likewise.
10913 * libc/syscalls/syswrite.c (write): Likewise.
cfc05d96 10914
6249353a
JJ
109152001-03-05 Jeff Johnston <jjohnstn@redhat.com>
10916
ba3ccd63 10917 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
6249353a 10918
658b5db9
CF
10919Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
10920
10921 * libc/include/sys/stat.h: Use special defines for executable stat bits
10922 when compiling for Cygwin.
10923 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
10924 for Cygwin.
10925
19ca46d5
JJ
109262001-03-02 Jeff Johnston <jjohnstn@redhat.com>
10927
10928 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
10929 of strtok_r is always defined.
10930
b73ed85e
JJ
109312001-03-02 Jeff Johnston <jjohnstn@redhat.com>
10932
10933 * libc/include/machine/ansi.h: New dummy header file.
10934
ee37ede1
JJ
109352001-02-22 Jeff Johnston <jjohnstn@redhat.com>
10936
10937 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
10938 changed the copyright information to allow free modification of the
10939 file with no reference to "copying.dj".
10940 * libc/include/sys/stat-dj.h: Ditto.
10941 * libc/machine/i386/setjmp.S: Ditto.
10942 * libc/sys/h8300hms/sys/file.h: Ditto.
10943 * libc/sys/sysmec/access.c: Ditto.
10944 * libc/sys/sysnecv850/access.c: Ditto.
10945 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
10946 * libc/stdlib/getenv_r.c: Ditto.
10947 * libc/stdlib/putenv_r.c: Ditto.
10948 * libc/stdlib/setenv_r.c: Ditto.
10949 * libc/stdlib/getenv.c: Removed DJ reference since any possible
10950 modifications will now be in the _r version of this file.
10951 * libc/stdlib/putenv.c: Ditto.
10952 * libc/stdlib/setenv.c: Ditto.
10953 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
10954 valid. Added a reference to DJ's web page that contains his address.
10955 * libc/sys/go32/*.s: Removed references to DJ's old address.
10956 * libc/sys/go32/*.c: Ditto.
10957 * libc/sys/go32/*.h: Ditto.
10958 * libc/sys/go32/*.S: Ditto.
10959 * libc/sys/go32/sys/*.h: Ditto.
10960
3a8fc0e4
JJ
109612001-02-21 Jeff Johnston <jjohnstn@redhat.com>
10962
10963 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
10964 HAVE_FCNTL flag check.
10965 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
10966 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
10967
b24ee749
CF
10968Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
10969
10970 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
10971
ab4745dc
JJ
109722001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
10973
ba3ccd63
EB
10974 * libc/include/stdlib.h: Add declarations of rand48 functions and
10975 their reentrant versions.
10976 * libc/include/sys/reent.h: Move macros from rand48.h. Add
10977 struct _rand48 for shared parameters of rand48 functions.
10978 (struct _reent): Add a variable _r48 of struct _rand48.
10979 (_REENT_INIT): Add _r48 initialization.
10980 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
10981 (CHEWOUT_FILES): Add rand48.def.
10982 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
10983 * libc/stdlib/Makefile.in: Regenerated.
10984 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
10985 NetBSD C library.
10986 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
10987 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
10988 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
10989 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
10990 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
10991 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
10992 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
10993 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
10994 * libc/stdlib/rand48.c (__dorand48): Ditto.
10995 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
10996 parameters into macros referring them in the reentrant structure.
ab4745dc 10997
a34c461f
JJ
109982001-02-12 Jeff Johnston <jjohnstn@redhat.com>
10999
11000 * libc/include/sys/stat.h: Add mknod for Cygwin now that
11001 Cygwin definition has correct prototype.
11002
34f31ff2
JJ
110032001-02-08 Jeff Johnston <jjohnstn@redhat.com>
11004
11005 * libc/include/sys/stat.h: Must revert change for mknod
11006 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
11007 prototype.
11008
5336d6de
JJ
110092001-02-08 Jeff Johnston <jjohnstn@redhat.com>
11010
11011 * libc/include/stdio.h: Revert putw prototype.
11012
8915d10a
JJ
110132001-02-08 Edward M. Lee <tailbert@yahoo.com>
11014
ba3ccd63
EB
11015 * libc/include/grp.h: add prototype for initgroups.
11016 * libc/include/stdio.h: fix prototype for putw.
11017 * libc/include/sys/signal.h: add prototype for killpg.
11018 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
11019 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
8915d10a
JJ
11020 vhangup and remove duplicate sysconf prototype.
11021
93ac4487
JJ
110222001-02-07 Jeff Johnston <jjohnstn@redhat.com>
11023
11024 * libc/sys/rtems/sys/types.h: Removed.
11025
31f5feea
JJ
110262001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
11027
ba3ccd63 11028 * libc/include/locale.h: add LC_MESSAGES definition
31f5feea 11029
b5139f59
AO
110302001-02-01 Alexandre Oliva <aoliva@redhat.com>
11031
11032 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
11033 SYS_get_argN):
11034 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
11035 __setup_argv_and_call_main): New.
11036
e29d8355
JJ
110372001-01-31 Jeff Johnston <jjohnstn@redhat.com>
11038
11039 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
11040 if defined.
11041 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
11042 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
11043 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
11044 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
11045
82ea92f3
CF
11046Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
11047
11048 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
11049 compiling under Cygwin.
11050
3aaa66f8
JJ
110512001-01-29 Jeff Johnston <jjohnstn@redhat.com>
11052
11053 * libc/include/math.h (signgam): Change to errno-like solution
11054 using a function to return the address of the real signgam.
11055 * libc/reent/signgam.c: New file containing __signgam().
11056 * libc/reent/Makefile.am: Added signgam.c to list of files.
11057 * libc/reent/Makefile.in: Regenerated.
11058
610b895a
AO
110592001-01-25 Alexandre Oliva <aoliva@redhat.com>
11060
b0913397
AO
11061 * libc/sys/sh/syscalls.c (_times): New.
11062
610b895a
AO
11063 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
11064 * libc/sys/sh/syscalls.c (_gettimeofday): New.
11065
3643210e
JJ
110662001-01-23 Jeff Johnston <jjohnstn@redhat.com>
11067
11068 * libc/include/math.h (signgam): Regress previous fix as
11069 it does not handle programs with extern int signgam in them.
11070
841081c9
JJ
110712001-01-23 Jeff Johnston <jjohnstn@redhat.com>
11072
11073 * libc/include/math.h (signgam): Changed to a macro refering to
11074 its location in the reentrant structure.
11075
e9cd87b8
JJ
110762001-01-23 Jeff Johnston <jjohnstn@redhat.com>
11077
11078 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
11079 that suppressed . for %.0f, 0.1. Check now looks if there
11080 are padding zeroes (expt) in addition to any digits (ndig) to
11081 print.
11082
a302b48c
JJ
110832001-01-18 Jeff Johnston <jjohnstn@redhat.com>
11084
11085 * libc/sys/arc/Makefile.am: New file.
11086 * libc/sys/arc/Makefile.in: Ditto.
11087 * libc/sys/arc/aclocal.m4: Ditto.
11088 * libc/sys/arc/configure: Ditto.
11089 * libc/sys/arc/configure.in: Ditto.
11090 * libc/sys/arc/crt0.S: Ditto.
11091 * libc/sys/arc/isatty.c: Ditto.
11092 * libc/sys/arc/mem-layout.c: Ditto.
11093 * libc/sys/arc/sbrk.c: Ditto.
11094 * libc/sys/arc/syscalls.c: Ditto.
11095 * libc/sys/arc/sys/syscall.h: Ditto.
11096
d0319c3b
CF
11097Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
11098
11099 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
11100
e45ab890
CF
11101Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
11102
11103 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
11104
1376245a
DD
11105Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
11106
11107 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
11108
92b57543
NC
111092001-01-09 Nick Clifton <nickc@redhat.com>
11110
11111 * configure.host (v859): Remove unsupported compiler options.
11112
7d6d33d4
JJ
11113Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
11114
11115 * src/newlib/configure.host (*-*-rtems*): add printf long long
11116 support for RTEMS.
11117
602f8b5a 111182000-12-19 Graham Stott <grahams@redhat.com>
6286746a 11119
ba3ccd63 11120 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
6286746a 11121
9c2b8183
JJ
11122Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
11123
11124 * configure.host: Turn on long double I/O for Cygwin.
11125
804368d3
JJ
11126Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
11127
11128 * MAINTAINERS: Removed Ranjith.
11129 * NEWS: Updated for 1.9.0.
11130 * README: Updated.
11131 * acinclude.m4: Updated to release 1.9.0.
11132 * aclocal.m4 configure
11133 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
11134 libc/machine/aclocal.m4 libc/machine/configure
11135 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
11136 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
11137 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
11138 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
11139 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
11140 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
11141 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
11142 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
11143 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
11144 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
11145 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
11146 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
11147 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
11148 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
11149 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
11150 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
11151 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
11152 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
11153 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
11154 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
11155 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
11156 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
11157 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
11158 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
11159 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
11160 libc/sys/aclocal.m4 libc/sys/configure
11161 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11162 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
11163 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
11164 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11165 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11166 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11167 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11168 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11169 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
11170 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11171 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11172 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11173 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
11174 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
11175 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
11176 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
11177 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
11178 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
11179 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
11180 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
11181 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
11182 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
11183 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
11184 libm/aclocal.m4 libm/configure: Regenerated.
11185
0985d43f
CV
11186Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11187
11188 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
11189 when __CYGWIN__ is defined.
11190
b6182a09
JJ
111912000-12-13 Jeff Johnston <jjohnstn@redhat.com>
11192
11193 * libc/stdlib/ldtoa.c (_ldcheck): New routine
11194 that categorizes a long double as NaN, Infinity, or other.
17c0c97d
EB
11195 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
11196 isinfl and isnanl static routines which were i386-specific. Changed
b6182a09
JJ
11197 calls to the two removed routines to a single _ldcheck call.
11198 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
11199
adbbb034
JJ
112002000-12-13 Jeff Johnston <jjohnstn@redhat.com>
11201
11202 * Makefile.am: Fixed install-data-local target to use
11203 $(mkinstalldirs) for the installed header files to ensure
11204 the directories exist before copying.
11205 * Makefile.in: Regenerated.
11206
cbd19336
JJ
112072000-12-12 Jeff Johnston <jjohnstn@redhat.com>
11208
11209 * libc/include/sys/unistd.h: Restored Cygwin _SC
11210 constants and moved new constants appropriately
11211 so Cygwin will build.
11212
8fb37963
JJ
112132000-12-11 Joel Sherrill <joel@OARcorp.com>
11214
ba3ccd63
EB
11215 * Merge RTEMS specific .h files into main libc/include.
11216 * libc/sys/rtems/include/signal.h: Removed.
11217 * libc/sys/rtems/include/time.h: Removed.
11218 * libc/sys/rtems/sys/features.h: Removed.
11219 * libc/sys/rtems/sys/sched.h: Removed.
11220 * libc/sys/rtems/sys/siginfo.h: Removed.
11221 * libc/sys/rtems/sys/signal.h: Removed.
11222 * libc/sys/rtems/sys/time.h: Removed.
11223 * libc/sys/rtems/sys/times.h: Removed.
8fb37963
JJ
11224 definitions for time_t and clock_t since these are
11225 no longer in time.h.
ba3ccd63
EB
11226 * libc/include/pthread.h: New file.
11227 * libc/include/sys/sched.h: New file.
11228 * libc/include/sys/features.h: New file.
11229 * libc/include/time.h: Removed duplicate definition of clock_t
11230 and time_t, get them from <sys/types.h> instead. Add prototypes
11231 for POSIX clock and timer functionality.
8fb37963 11232 * libc/sys/linux/sys/types.h: Changed to include
ba3ccd63
EB
11233 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
11234 * libc/include/sys/signal.h: Add more complete set of POSIX
11235 signal functionality including real-time and threaded signals.
11236 * libc/include/sys/types.h: Add clock_t, time_t, struct
17c0c97d 11237 timespec, and struct itimerspec. Centralizing these makes
8fb37963 11238 things cleaner. RTEMS uses 64-bit dev_t.
ba3ccd63
EB
11239 Added numerous primitive definitions
11240 for pthreads including macros, pthread_attr_t,
17c0c97d 11241 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
8fb37963 11242 pthread_once_t, and pthread_t.
ba3ccd63
EB
11243 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
11244 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
11245 Feature flags removed and moved to new file <sys/features.h>.
11246 Full set of POSIX sysconf() constants
8fb37963 11247
2efbc2a7
JJ
112482000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
11249
11250 * configure.host: Added x86 linux target.
11251 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
11252 definitions provided if not already defined.
11253 * libc/sys/linux/crt0.c: New file.
11254 * libc/sys/linux/Makefile.am: Ditto.
11255 * libc/sys/linux/Makefile.in: Ditto.
11256 * libc/sys/linux/aclocal.m4: Ditto.
11257 * libc/sys/linux/brk.c: Ditto.
11258 * libc/sys/linux/configure: Ditto.
11259 * libc/sys/linux/configure.in: Ditto.
11260 * libc/sys/linux/getoptlong.c: Ditto.
11261 * libc/sys/linux/ids.c: Ditto.
11262 * libc/sys/linux/inode.c: Ditto.
11263 * libc/sys/linux/io.c: Ditto.
11264 * libc/sys/linux/linux.c: Ditto.
11265 * libc/sys/linux/process.c: Ditto.
11266 * libc/sys/linux/realpath.c: Ditto.
11267 * libc/sys/linux/select.c: Ditto.
11268 * libc/sys/linux/signal.c: Ditto.
11269 * libc/sys/linux/systat.c: Ditto.
11270 * libc/sys/linux/termios.c: Ditto.
11271 * libc/sys/linux/time.c: Ditto.
11272 * libc/sys/linux/wait.c: Ditto.
11273 * libc/sys/linux/include/alloca.h: Ditto.
11274 * libc/sys/linux/include/getopt.h: Ditto.
11275 * libc/sys/linux/include/stdint.h: Ditto.
11276 * libc/sys/linux/include/unistd.h: Ditto.
11277 * libc/sys/linux/sys/cdefs.h: Ditto.
11278 * libc/sys/linux/sys/dirent.h: Ditto.
11279 * libc/sys/linux/sys/errno.h: Ditto.
11280 * libc/sys/linux/sys/fcntl.h: Ditto.
11281 * libc/sys/linux/sys/file.h: Ditto.
11282 * libc/sys/linux/sys/ioctl.h: Ditto.
11283 * libc/sys/linux/sys/resource.h: Ditto.
11284 * libc/sys/linux/sys/signal.h: Ditto.
11285 * libc/sys/linux/sys/stat.h: Ditto.
11286 * libc/sys/linux/sys/syscall.h: Ditto.
11287 * libc/sys/linux/sys/termios.h: Ditto.
11288 * libc/sys/linux/sys/time.h: Ditto.
11289 * libc/sys/linux/sys/types.h: Ditto.
11290 * libc/sys/linux/sys/utmp.h: Ditto.
11291 * libc/sys/linux/sys/utsname.h: Ditto.
11292 * libc/sys/linux/sys/wait.h: Ditto.
11293
a08c98bb
JJ
112942000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
11295
ba3ccd63
EB
11296 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
11297 can be a relative path to $(top_srcdir)/install.sh so ensure the
11298 autoconf detected settings are properly passed recursively.
11299 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
11300 properly to subdirectories.
a08c98bb
JJ
11301 * Makefile.in: Regenerated.
11302
b294082c
JJ
113032000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
11304
ba3ccd63
EB
11305 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
11306 a floating point register unless really printing a floating
11307 point number.
b294082c 11308
2005ab6b
JJ
113092000-12-07 Jeff Johnston <jjohnstn@redhat.com>
11310
11311 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
11312 Also removed \r's.
11313 (asctoeg): Replaced alloca call with stack array and malloc
11314 when storage exceeds reasonable limit.
11315 (e53toe): Fixed einfin calls missing ldp parameter.
11316 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
11317
9f6e8f1b
JJ
113182000-12-06 Jeff Johnston <jjohnstn@redhat.com>
11319
2005ab6b 11320
9f6e8f1b
JJ
11321 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
11322
6bdac416
JJ
113232000-12-06 Jeff Johnston <jjohnstn@redhat.com>
11324
11325 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
11326 * libc/stdlib/Makefile.in: Regenerated.
11327 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
11328 * libc/stdio/vfieeefp.h: Added long double bit structures.
11329 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
11330 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
11331 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
11332 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
11333 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
11334 _strtold routines used for conversions between character
11335 and long double.
11336
ec270d31
CV
11337Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11338
11339 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
11340
db2d9549
JJ
113412000-12-04 Joel Sherrill <joel@OARcorp.com>
11342
ba3ccd63 11343 * libc/include/machine/time.h: RTEMS systems can configure clock
db2d9549
JJ
11344 tick rate so use sysconf() to ask.
11345
6ba54a15
JJ
113462000-12-04 Joel Sherrill <joel@OARcorp.com>
11347
ba3ccd63 11348 * libc/include/sys/times.h: Add reference to POSIX standard.
6ba54a15 11349
8677b819
JJ
113502000-12-04 Joel Sherrill <joel@OARcorp.com>
11351
ba3ccd63
EB
11352 * libc/include/sys/time.h: Added BSD timer manipulation macros
11353 used by RTEMS code.
8677b819 11354
1b61a706
JJ
113552000-12-04 Joel Sherrill <joel@OARcorp.com>
11356
ba3ccd63
EB
11357 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
11358 referenced by code generated by gcc 2.8.1.
11359 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
1b61a706
JJ
11360 satisfy gcc.
11361
f5e7c124
JJ
113622000-12-04 Joel Sherrill <joel@OARcorp.com>
11363
ba3ccd63 11364 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
f5e7c124 11365
768abc9c
JJ
113662000-12-04 Joel Sherrill <joel@OARcorp.com>
11367
ba3ccd63 11368 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
768abc9c 11369
9e5dd5ea
JJ
113702000-12-04 Joel Sherrill <joel@OARcorp.com>
11371
ba3ccd63 11372 * configure.host (or16, or32): New entries for OpenCores
9e5dd5ea 11373 OpenRisc CPUs.
ba3ccd63 11374 (*-*-rtems*): Add -DNO_EXEC.
9e5dd5ea 11375
768abc9c 113762000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f 11377
ba3ccd63
EB
11378 * libc/include/sys/errno.h: Added comments on many error numbers.
11379 * libc/string/strerror.c: Added some more strings.
7713fb6f 11380
b273323f
JJ
113812000-11-30 Jeff Johnston <jjohnstn@redhat.com>
11382
11383 * libc/sys/sh/syscalls.c (_link): New stub.
11384
0ffc3b94
NC
113852000-11-29 Nick Clifton <nickc@redhat.com>
11386
11387 * configure.host: Add xscale target.
11388 * libc/machine/xscale: New directory.
11389 * libc/machine/xscale/Makefile.am: New file.
11390 * libc/machine/xscale/Makefile.in: New file.
11391 * libc/machine/xscale/aclocal.m4: New file.
11392 * libc/machine/xscale/configure: New file.
11393 * libc/machine/xscale/configure.in: New file.
11394 * libc/machine/xscale/memchr.S: New file.
11395 * libc/machine/xscale/memcmp.S: New file.
11396 * libc/machine/xscale/memcpy.S: New file.
11397 * libc/machine/xscale/memmove.S: New file.
11398 * libc/machine/xscale/memset.S: New file.
11399 * libc/machine/xscale/strchr.S: New file.
11400 * libc/machine/xscale/strcmp.S: New file.
11401 * libc/machine/xscale/strcpy.S: New file.
11402 * libc/machine/xscale/strlen.S: New file.
11403
cbbf0f96
CV
11404Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11405
11406 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
11407 avoid compiler warnings.
11408
73dea790
MM
114092000-11-22 Michael Meissner <meissner@redhat.com>
11410
11411 * libc/posix/execl.c (execl): Don't reference environ directly,
11412 reference it only via a static pointer to avoid problems with some
11413 shared library systems and with different uses of small data where
11414 the user specifies his own version of environ.
11415 * libc/posix/execv.c (execv): Ditto.
11416 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
11417 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
11418 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
11419
11420 * libc/stdlib/getenv.c (environ): Delete unused reference to
11421 environ.
11422
11423 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
11424 colorization.
11425 * libc/stdlib/system.c: Ditto.
11426
08eac2ae
CF
11427Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
11428
11429 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
11430 including windows headers.
11431
5478bf37
JJ
114322000-11-20 Jeff Johnston <jjohnstn@redhat.com>
11433
11434 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
11435 * libc/include/dirent.h: Added definition of MAXNAMLEN if
11436 not defined by sys/dirent.h.
11437 * libc/posix/execvp.c: Added include of dirent.h to get
11438 MAXNAMLEN value which used to be in unistd.h.
11439
3a760728
CV
11440Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11441
11442 * libc/include/sys/types.h: Change type of i to `size_t' in
11443 FD_ZERO macro to avoid compiler warnings.
11444
86fff69f
CF
11445Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
11446
11447 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
11448 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
11449
ba9e88d2
CV
11450Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11451
11452 * libc/include/sys/unistd.h: Add defines for sysconf values
11453 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
11454 _SC_AVPHYS_PAGES.
11455
a8018ef3
CF
11456Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
11457
11458 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
11459 declarations for __CYGWIN__.
11460
b944c6f6
GK
114612000-09-19 Geoffrey Keating <geoffk@cygnus.com>
11462
11463 * libc/signal/signal.c (__sigtramp_r): ISO C requires
11464 case labels to be integral constant expressions, so
11465 use an if/else tree instead.
11466 (_raise_r): Likewise.
11467
7f18fcb4
JJ
114682000-09-13 Jeff Johnston <jjohnstn@redhat.com>
11469
11470 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
11471 clipping patch from e-mail reader.
11472
242361df
JJ
114732000-09-13 Will Cohen <wcohen@redhat.com>
11474
11475 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
11476 Added return value 0.
11477 (_longjmp): Allow longjmp to return value of second argument
11478 passed to it.
11479
8a8c59b9
JJ
114802000-09-06 Jeff Johnston <jjohnstn@redhat.com>
11481
ba3ccd63
EB
11482 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
11483 inline code to prevent having to include another header file.
8a8c59b9 11484
a385ae75
CF
11485Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
11486
11487 * Makefile.am: Fix space vs. tab problem in install-data-local.
11488 * Makefile.in: Regenerate.
11489
11490Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
11491
11492 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
11493 (_EXPARM): New macro for defining a function parameter.
11494 * libc/include/stdlib.h: Use _EXPARM.
11495 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
11496
a36cd013
JJ
114972000-09-05 Manfred Hollstein <manfredh@redhat.com>
11498
ba3ccd63
EB
11499 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
11500 required, as documented in the gnu coding standards.
11501 * Makefile.in: Regenerate.
a36cd013 11502
f825dfda
JJ
115032000-09-05 Jeff Johnston <jjohnstn@redhat.com>
11504
11505 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
11506 make O_NDELAY and O_NONBLOCK have the same value.
11507
4ba9aab7
JJ
115082000-08-30 Kazu Hirata <kazu@hxi.com>
11509
ba3ccd63 11510 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
4ba9aab7 11511
db7acc38
JJ
115122000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
11513
ba3ccd63
EB
11514 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
11515 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
11516 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
11517 everywhere else.
db7acc38 11518
44e36af4
GK
115192000-08-30 Geoffrey Keating <geoffk@cygnus.com>
11520
11521 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
11522 * libc/include/string.h: Don't include <sys/types.h>,
11523 as it causes really bad namespace pollution. Don't declare
11524 swab(), it is properly declared in unistd.h.
11525
00a2f168
JJ
115262000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
11527
ba3ccd63
EB
11528 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
11529 (broken) support for non-existent /etc/passwd field "comment".
00a2f168 11530
6beeb240
JJ
115312000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
11532
ba3ccd63
EB
11533 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
11534 only if _DIRENT_HAVE_D_NAMLEN is defined.
11535 (alphasort): aligned prototype with
11536 libc/sys/cygwin/sys/dirent.h and simplified function body.
11537 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
11538 long telldir (DIR *) as mentioned in annex B of POSIX.1
6beeb240 11539
ef44da42
JJ
115402000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
11541
ba3ccd63
EB
11542 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
11543 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
11544 Added __CLI and __STI macros (controlled via
11545 _I386MACH_ALLOW_HW_INTERRUPTS macro).
11546 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
11547 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
11548 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
11549 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
11550 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
11551 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
11552 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
11553 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
11554 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
11555 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
11556 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
11557 for all global entry points.
11558 * libc/machine/i386/setjmp.S: removed code replicated in
11559 libc/machine/i386/i386mach.h and included i386mach.h instead;
11560 Use __CLI and __STI instead of cli and sti.
ef44da42 11561
14d3488d
DD
115622000-08-25 DJ Delorie <dj@redhat.com>
11563
11564 * libc/include/sys/unistd.h (environ): this one isn't from the
11565 DLL, no __IMPORT
11566
c9ca4412
CF
11567Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
11568
11569 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
11570 environ when compiling under cygwin since it is already declared in
11571 unistd.h.
11572
2d5862de
JJ
115732000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11574
11575 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
11576 like x << y-z to the equivalent x << (y-z).
11577 (d2b): changed if statements with assignment to perform the
11578 assignment prior to the if check.
11579 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
11580 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
11581 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
11582 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
11583 precedence.
11584 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
17c0c97d 11585 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
2d5862de
JJ
11586 execve.c).
11587 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
11588 precedence.
11589 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
11590 clarify && and || precendence (and to remove pascalism).
11591 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
11592 * libm/math/s_infconst.c: added another pair of braces to all
11593 initializers for __infinity (need three: for __infinity[1] array,
11594 for union __dmath, and for i[2]).
11595
0888fedd
JJ
115962000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11597
199359f0
JJ
11598 * libc/stdlib/abort.c: changed description: uses "raise" instead of
11599 "getpid" and "kill"; added: uses "write" and "_exit".
11600 Also included unistd.h for "_exit" prototype.
11601 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
11602 reent.h for "_fork_r" and "_wait_r" prototypes.
17c0c97d 11603 (do_system): changed extern char *environ[] to POSIX-friendly
199359f0
JJ
11604 extern char **environ.
11605 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
11606 prototypes.
11607 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
11608 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
11609 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
11610 * libc/reent/openr.c: included fcntl.h for "open" prototype.
11611 * libc/reent/signalr.c: included signal.h for "kill" prototype,
11612 unistd.h for "getpid" prototype.
11613 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
11614 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
11615 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
11616 prototype. Also included stdlib.h for "abort", string.h for
11617 "strdup" and "strncmp" prototypes.
11618 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
11619 "strncpy", unistd.h for "read" and "close" prototypes.
11620 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
11621 "strcat" prototypes.
11622
116232000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
11624
0888fedd
JJ
11625 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
11626 used later (ifdef __SCLE)
11627 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
11628 used later (ifdef MB_CAPABLE)
11629 * libc/string/memset.c (memset): removed unused variables "count"
11630 and "unaligned_addr"
11631 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
11632 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
11633 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
11634 and "gid"
11635
a334e5ef
JJ
116362000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11637
ba3ccd63
EB
11638 * libc/stdlib/envlock.c: changed documented "__env_lock" and
11639 "__env_unlock" prototype from "void *" or "char *" to
11640 "struct _reent *" to match real function. Also added include
a334e5ef 11641 of envlock.h.
ba3ccd63
EB
11642 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
11643 "__malloc_unlock" prototype from "void *" or "char *" to
11644 "struct _reent *" to match real function.
11645 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
11646 prototypes (for getenv_r.c and setenv_r.c).
a334e5ef 11647
644b7f26
DD
116482000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
11649
11650 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
11651 and prototype in cygwin's utmp.h
11652
5bacbf10
JJ
116532000-08-16 Eric Fifer <efifer@sanwaint.com>
11654
ba3ccd63 11655 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
5bacbf10 11656
38a6bf98
NC
116572000-08-09 Nick Clifton <nickc@cygnus.com>
11658
11659 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
11660 epilogue and to allow the functions to be used in a Thumb based
11661 toolchain.
11662
befe0fb3
JJ
116632000-08-08 Jeff Johnston <jjohnstn@redhat.com>
11664
11665 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
11666 so size of 0 results in nothing being written to string.
11667 Also fixed code so that when size is non-zero, there is only
11668 a maximum of size - 1 characters written to the array and
11669 a nul terminator is appended at the end.
11670 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
11671
749d9bcd
DD
116722000-08-01 DJ Delorie <dj@redhat.com>
11673
11674 * libc/include/sys/config.h: define __IMPORT appropriately
11675 * libc/include/ctype.h (_ctype_): use __IMPORT
11676 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
11677 * libc/include/math.h (__mb_cur_max): ditto
11678 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
11679 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
11680 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
11681 * libc/include/unistd.h (environ): ditto
11682
7c110b17
MM
116832000-07-28 Michael Meissner <meissner@redhat.com>
11684
11685 * libc/include/math.h (__infinity): Declare as an array without
11686 bounds to get around small data support. Rewrite Cygwin support
11687 to be more general.
11688 * libm/math/s_infconst.c (__infinity): Ditto.
11689 * libm/mathfp/s_infconst.c (__infinity): Ditto.
11690
bf7be721
CF
11691Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
11692
11693 * libc/include/math.h: Use appropriate dll import linkage for
11694 __infinity under Cygwin.
11695
91a8d90b
DD
116962000-07-13 DJ Delorie <dj@cygnus.com>
11697
11698 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
11699
ba2048d3
JJ
11700Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
11701
11702 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
11703 to argument list for AngelSWI_Reason_GetCmdLine.
11704
4634da64
JJ
11705Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
11706
11707 * configure.host: Add support for AVR target.
11708 * libc/include/machine/ieeefp.h: Likewise.
11709 * libc/include/sys/config.h: Likewise.
11710
b19f72a2
RK
11711Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
11712
11713 * README: Newlib 1.8.2 must be built in a separate directory
11714 than the sources.
11715
a704d94a
JJ
11716Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11717
ba3ccd63
EB
11718 * libc/include/sys/reent.h (_rand_next): Added __extension__
11719 qualifier as long long type is not strict ANSI.
11720 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
11721 to long long constant.
a704d94a 11722
b585720b
CV
11723Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
11724
ba3ccd63
EB
11725 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
11726 `setegid' provided by Cygwin.
b585720b 11727
01c327ba
CV
11728Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
11729
ba3ccd63
EB
11730 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
11731 account for Cygwin.
01c327ba 11732
46a43a99
JJ
11733Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11734
ba3ccd63
EB
11735 * libc/include/sys/reent.h (_rand_next): Changed to
11736 unsigned long long and moved to end of _reent struct in _new union.
11737 (_REENT_INIT): Changed to move _rand_next initialization.
11738 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
11739 linear congruential algorithm that is used by DJGPP.
46a43a99 11740
a68078cb
RK
11741Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
11742
11743 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
11744 * libc/include/sys/config.h: Define __RAND_MAX.
11745
518882f3
JJ
11746Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11747
ba3ccd63
EB
11748 * libc/stdlib/rand_r.c: New algorithm that meets minimal
11749 standard.
518882f3 11750
d51d968a
CF
11751Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
11752
11753 * libc/include/string.h: Work around problem with strsignal and gdb.
11754
d2dd5765
CF
11755Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
11756
11757 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
11758 * libc/include/malloc.h: Ditto.
11759 * libc/include/process.h: Ditto.
11760 * libc/include/stdio.h: Ditto.
11761 * libc/include/stdlib.h: Ditto.
11762 * libc/include/time.h: Ditto.
11763 * libc/include/machine/setjmp.h: Ditto.
11764 * libc/include/sys/errno.h: Ditto.
11765 * libc/include/sys/signal.h: Ditto.
11766 * libc/include/sys/stat.h: Ditto.
11767 * libc/include/sys/time.h: Ditto.
11768 * libc/include/sys/unistd.h: Ditto.
11769 * libc/include/string.h: Ditto. strsignal should return a const char *.
11770
88870218
JJ
117712000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
11772
11773 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
11774 * libm/common/s_log1p.c (log1p): Likewise.
11775 * libm/common/s_scalbn.c (scalbn): Likewise.
11776 * libm/math/e_log.c: Likewise.
11777 * libm/math/e_asin.c: Likewise.
11778 * libm/math/ef_asin.c: Likewise.
11779 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
11780 * libm/math/e_j1.c (pone, qone): Likewise.
11781 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
11782 * libm/math/ef_j1.c (ponef, qonef): Likewise.
11783 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
11784 * libm/mathfp/e_j1.c (pone, qone): Likewise.
11785 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
11786 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
11787
c4e1aa01
DD
117882000-05-19 DJ Delorie <dj@cygnus.com>
11789
11790 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
11791 (__sread): always read in binary mode
11792 (__swrite): always write in binary mode
11793 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
11794 compatibility issues with different dll versions
11795 * libc/stdio/fopen.c: use __stextmode
11796 * libc/stdio/fdopen.c: ditto
11797 * libc/stdio/freopen.c: ditto
11798 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
11799 * libc/stdio/local.h: declare __stextmode
17c0c97d 11800
f4393261
DD
118012000-05-18 DJ Delorie <dj@cygnus.com>
11802
11803 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
17c0c97d 11804
2b533fac
JJ
11805Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11806
11807 * libc/include/ctype.h: Changed tolower and toupper macros
11808 to use __extension__ to prevent pedantic warnings.
11809
75362a76
RK
11810Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
11811
11812 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
11813 structures.
11814
ec463fc7
JW
11815Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
11816
11817 * libc/include/machine/ieeefp.h: Add ia64 support.
11818 * configure.host: Likewise.
11819
f35ceefa
JJ
11820Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
11821
ba3ccd63
EB
11822 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
11823 month is now padded with space, not zero. This now conforms to
f35ceefa
JJ
11824 ANSI standard.
11825
b96fca8c
CV
11826Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
11827
ba3ccd63
EB
11828 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
11829 host or network path") used by cygwin. Add some comments.
b96fca8c 11830
49d64538
JJ
11831Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
11832
11833 * libc/include/stdio.h (FILE): define __SCLE for "convert line
11834 endings" for Cygwin.
11835 (__sgetc): convert line endings if needed
11836 (__sputc): ditto
11837 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
11838 * libc/stdio/fopen.c (_fopen_r): ditto
11839 * libc/stdio/freopen.c (freopen): ditto
11840 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
11841 * libc/stdio/fvwrite.c (__sfvwrite): ditto
11842
91fb1e7f
AO
11843Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
11844
11845 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
11846 post-increment when it is worth it, spacewise.
11847
c87be3e4
JJ
11848Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
11849
11850 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
11851 * libc/stdio/findfp.c (std): Added declaration of flags and file.
17c0c97d 11852 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
c87be3e4
JJ
11853 return type.
11854 * libc/stdio/putchar.c (putchar): Added return statement.
11855 * libc/stdio/refill.c (lflush): Added correct parentheses.
11856 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
17c0c97d 11857 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
c87be3e4
JJ
11858 prints long value to use l qualifier.
11859 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
11860 messages and initialized local values: ilim, ilim1, and spec_case.
11861 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
11862 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
11863 * libc/stdlib/mprec.c: Ditto.
11864 * libc/stdlib/setenv_r.c: Ditto.
11865 * libc/stdlib/strtod.c: Ditto.
11866 * libc/stdlib/strtol.c: Ditto.
11867 * libc/stdlib/strtoul.c: Ditto.
11868 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
11869 * libm/common/sf_log1p.c: Ditto.
11870 * libm/common/sf_scalbn.c: Ditto.
11871 * libm/math/ef_log.c: Ditto.
11872
11f5b065
CV
11873Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
11874
ba3ccd63
EB
11875 * libc/posix/execvp.c (execvp): Check path for
11876 trailing slash.
11f5b065 11877
796e3b20
CV
11878Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
11879
ba3ccd63
EB
11880 * libc/include/sys/unistd.h: Add prototypes for
11881 fchmod, fchown, lchown.
796e3b20 11882
b489803a
JJ
11883Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11884
11885 * acinclude.m4: Changed release to 1.8.2.
11886 * aclocal.m4 configure doc/aclocal.m4 doc/configure
11887 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
11888 libc/machine/configure libc/machine/a29k/aclocal.m4
11889 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
11890 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
11891 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
11892 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
11893 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
11894 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
11895 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
11896 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
11897 libc/machine/i386/configure libc/machine/i960/aclocal.m4
11898 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
11899 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
11900 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
11901 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
11902 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
11903 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
11904 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
11905 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
11906 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
11907 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
11908 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
11909 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
11910 libc/machine/v850/configure libc/machine/w65/aclocal.m4
11911 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
11912 libc/machine/z8k/configure libc/sys/aclocal.m4
11913 libc/sys/aclocal.m4 libc/sys/configure
11914 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11915 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
11916 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
11917 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11918 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11919 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11920 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11921 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11922 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11923 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11924 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11925 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
11926 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
11927 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
11928 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
11929 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
11930 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
11931 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
11932 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
11933 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
11934 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
11935 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
11936 libm/aclocal.m4 libm/configure: Regenerated.
11937
79908d67
NC
119382000-03-24 Nick Clifton <nickc@cygnus.com>
11939
11940 * libc/sys/arm/syscalls.c: Fix compile time warnings.
11941 (do_AngelSWI): Add "cc" to list o registers clobbered.
11942
7684ddaf
FN
11943Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
11944
11945 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
17c0c97d 11946 information to be clobbered by an Angel C library support syscall.
7684ddaf 11947
b8ec20c8
JJ
11948Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11949
11950 * libc/stdlib/envlock.c: Fixed comment typo.
11951
fae4c299
JJ
11952Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11953
11954 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
11955 code to update nread as each character is processed instead
11956 of using buffer contents which throw away leading zeroes.
11957
dc98804b
RK
11958Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
11959
ba3ccd63 11960 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
dc98804b 11961
5ed2f523
JJ
11962Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
11963
11964 * libc/include/string.h: Include <sys/types.h>.
11965
1cf0ee34
AO
11966Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11967
11968 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
11969 with XSH5, not SVID.
11970
e9c94978
JJ
11971Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
11972
ba3ccd63 11973 * libc/include/string.h: Changed last argument back to ssize_t
17c0c97d 11974 to make it compatible with XPG4 definition which is
e9c94978
JJ
11975 defined in <unistd.h>. There is a conflict in the SVID 3
11976 and XPG4 definitions and newlib will settle with XPG4.
ba3ccd63 11977 * libc/string/swab.c: Ditto.
e9c94978 11978
3072163c
JJ
11979Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
11980
ba3ccd63
EB
11981 * libc/include/string.h: Changed last argument to size_t.
11982 * libc/string/swab.c: Changed last argument to size_t.
3072163c 11983
f205ea7a
AO
11984Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11985
11986 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
11987 (CHEWOUT_FILES): Added unlinkr.def.
11988 * libc/reent/Makefile.in: Rebuilt.
11989 * libc/sys.tex: Include unlinkr.def.
11990 * libc/reent/linkr.c (_unlink_r): Moved to...
11991 * libc/reent/unlinkr.c: ... new file.
11992
85dd2e5b
AO
11993Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11994
11995 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
11996 (CHEWOUT_FILES): Added swab.def.
11997 * libc/string/Makefile.in: Rebuilt.
11998 * libc/string/string.tex: Include swab.def.
11999 * libc/include/string.h (swab): Declare.
12000 * libc/string/swab.c: New file.
12001
c5053058
AO
12002Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12003
12004 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
12005 (CHEWOUT_FILES): Added getw.def and putw.def.
12006 * libc/stdio/Makefile.in: Rebuilt.
12007 * libc/stdio/stdio.tex: Include getw.def and putw.def.
12008 * libc/stdio/getw.c: New file.
12009 * libc/stdio/putw.c: New file.
12010
dbaf37cf
JJ
12011Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
12012
12013 * libc/stdio/flags.c (__sflags): Added check that mode[1]
12014 is non-null before looking at mode[2].
12015
bc019ef2
RK
12016Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
12017
12018 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
12019 * libm/mathfp/sf_atan.c: Ditto.
12020
12021Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
12022
12023 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
12024
cd641b2d
RK
12025Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
12026
12027 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
12028 _DOUBLE_IS_32BITS.
12029
b0ba0ac2
JJ
12030Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
12031
12032 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
12033 call prior to calling _VFPRINTF_R so reentrant data area is set.
12034 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
12035
8a0efa53
CF
12036Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
12037
12038 * libc/stdio/vfscanf.c (limits.h): #include.
12039 (MAX_LONG_LEN): #define.
12040 (__svfscanf): Handle floating point numbers with arbitrary amounts
12041 of leading zeroes.
12042
120432000-02-15 Nick Clifton <nickc@cygnus.com>
12044
12045 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
12046 zero. Set the blocksize to 1024/
12047
12048Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
12049
12050 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
12051 with line buffering.
12052
12053Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12054
17c0c97d 12055 * acinclude.m4: Changed include directory for winsup headers.
8a0efa53
CF
12056 * aclocal.m4 configure libc/aclocal.m4
12057 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
12058 libc/locale/Makefile.in libc/machine/aclocal.m4
12059 libc/machine/configure libc/machine/a29k/aclocal.m4
12060 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
12061 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
12062 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
12063 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
12064 libc/machine/fr30/configure
12065 libc/machine/h8300/aclocal.m4
12066 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
12067 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
12068 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
12069 libc/machine/i386/configure libc/machine/i960/aclocal.m4
12070 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
12071 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
12072 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
12073 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
12074 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
12075 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
12076 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
12077 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
17c0c97d 12078 libc/machine/powerpc/configure
8a0efa53
CF
12079 libc/machine/sh/aclocal.m4
12080 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
12081 libc/machine/sparc/configure
12082 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
12083 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
12084 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
12085 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
12086 libc/misc/Makefile.in libc/posix/Makefile.in
17c0c97d 12087 libc/reent/Makefile.in
8a0efa53
CF
12088 libc/signal/Makefile.in
12089 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
12090 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
12091 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
12092 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
12093 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
12094 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
12095 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
12096 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
12097 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
12098 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
12099 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
12100 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
12101 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
12102 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
12103 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
12104 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
12105 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
12106 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
12107 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
12108 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
12109 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
12110 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
12111 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
12112 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
12113 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
12114 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
12115 libm/configure: Regenerated.
12116
12117Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
12118
12119 * libc/stdlib/putenv_r.c (_putenv_r): New file.
12120 * libc/stdlib/strdup_r.c (_strdup_r): New file.
12121 * libc/include/string.h: Added _strdup_r.
17c0c97d 12122 * libc/stdlib/putenv.c: Added call to reentrant version.
8a0efa53
CF
12123 * libc/stdlib/strdup.c: Ditto.
12124 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
12125 * libc/include/stdlib.h: Ditto.
17c0c97d 12126 * libc/stdlib/Makefile.in: Regenerated.
8a0efa53
CF
12127 * libc/string/Makefile.in: Regenerated.
12128 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
12129 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
12130 management calls to reentrant versions.
12131 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
12132 * libc/stdlib/wctomb.c: Ditto.
12133 * libc/stdlib/mblen.c: Ditto.
12134 * libc/stdlib/mbstowcs.c: Ditto.
17c0c97d 12135 * libc/stdlib/mbtowc.c: Ditto.
8a0efa53
CF
12136 * libc/stdlib/getenv.c: Ditto.
12137 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
12138 and _strdup_r.
12139
12140Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
12141
12142 patch from Corinna Vinschen <corinna@vinschen.de>
12143 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
12144
bc019ef2 12145Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
12146
12147 * libm/mathfp/s_atangent.c: Fix exponent calculation.
12148 * libm/mathfp/s_ldexp.c: Ditto.
12149 * libm/mathfp/sf_atangent.c: Ditto.
12150 * libm/mathfp/sf_ldexp.c: Ditto.
12151
12152Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12153
12154 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
12155 * libc/include/locale.h: define NULL to be 0.
12156
12157Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
12158
12159 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
12160 function.
12161
12162Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
12163
12164 * libc/machine/mn10300/setjmp.S: Handle am33.
12165
121661999-11-26 Nick Clifton <nickc@cygnus.com>
12167
12168 * libc/sys/arm/syscalls.c: Add function prototypes.
12169 (stack_ptr): Move declaration before function definitions.
12170
12171Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12172
12173 * NEWS: Updated version information.
12174 * README: Ditto.
12175
12176Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
12177
12178 * libc/machine/i386/strchr.S: Fixed alignment test.
12179
12180Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
12181
12182 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
12183
12184Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
12185
12186 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
17c0c97d 12187 ensuring that there is space between the two.
8a0efa53
CF
12188
12189Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
12190
12191 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
12192 only.
12193
121941999-10-08 Vadim Egorov <egorovv@1c.ru>
12195
12196 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
12197 section
12198
12199Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
12200
12201 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
12202 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
12203
12204Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
12205 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
12206 per POSIX 1003.1b.
12207 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
12208 per POSIX 1003.1b.
12209
122101999-09-13 DJ Delorie <dj@cygnus.com>
12211
12212 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
12213 also.
12214
12215Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
12216
12217 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
12218 also note BUFSIZ as its size.
12219
12220Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
12221
12222 * configure.host: Corrected feature defines for RTEMS.
12223 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
12224 * libc/include/sys/stat.h: mkfifo() should take const path arg.
12225 * libc/include/sys/unistd.h: pathconf() should take const path arg.
12226 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
12227 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
12228 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
12229 _PC_PRIO_IO, and _PC_SYNC_IO.
12230 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
12231 * libc/machine/m68k/Makefile.in: Regenerated.
12232 * libc/machine/m68k/strcpy.c: New file.
12233 * libc/machine/m68k/strlen.c: New file.
12234 * libc/stdio/tmpnam.c: Always make the returned name usable.
12235 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
12236 * libc/sys/rtems/sys/dirent.h: New file.
12237 * libc/sys/rtems/sys/types.h: Added dev_t.
12238
12239Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
12240
12241 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
12242
12243Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
12244
12245 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
12246 my patch.
12247
12248Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
12249
12250 patch from Jeff Johnston <jjohnstn@cygnus.com>
12251 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
12252 buffer is not in a useful state.
12253
122541999-09-01 Nick Clifton <nickc@cygnus.com>
12255
12256 * libc/sys/arm/syscalls.c (_link): Add stub.
12257
12258Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12259
12260 * ftell.c (ftell): Use actual position within buffer for text mode.
12261 * findfp.c (std): Initialize ptr->_bf._size.
12262
12263Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
12264
12265 * libc/include/sys/unistd.h: Add nice() declaration.
12266
122671999-08-09 Nick Clifton <nickc@cygnus.com>
12268
12269 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
12270 declare as a thumb function so that the disassembler will see the
12271 mode change.
12272
12273Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12274
12275 * libc/reent/reent.tex: Updated list of reentrant functions.
12276
122771999-07-09 Michael Meissner <meissner@cygnus.com>
12278
12279 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
17c0c97d 12280
8a0efa53
CF
12281Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
12282
12283 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
12284 separate file.
12285 * libc/stdio/snprintf.c: New file.
12286 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
12287 separate file.
12288 * libc/stdio/vsnprintf.c: New file.
12289 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
12290 * libc/stdio/Makefile.in: Regenerated.
12291
12292Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
12293
12294 Patch submitted by Egor Duda <deo@logos-m.ru>:
12295 * libc/include/stdio.h: Add declarations for *nprintf.
12296 * libc/stdio/sprintf.c (snprintf): New function.
12297 (_snprintf_r): New function.
12298 * libc/stdio/vsprintf.c (vsnprintf): New function.
12299 (_vnsprintf_r): New function.
12300
12301Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12302
12303 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
12304 * libm/Makefile.am (stmp-targetdep): Ditto.
12305 * libc/Makefile.in: Regenerated.
12306 * libm/Makefile.in: Ditto.
12307
12308Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12309
12310 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
12311 * libm/Makefile.am (stmp-targetdep): Ditto.
12312 * libc/Makefile.in: Regenerated.
12313 * libm/Makefile.in: Ditto.
12314
12315Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
12316
12317 * Makefile.am: Removed dependencies on all-recursive and added "."
12318 to the SUBDIRS list to prevent infinite recursion from occurring.
12319 Also removed any references to EXTRA_DATA.
12320 * libc/Makefile.am: Ditto.
12321 * libc/machine/Makefile.am: Ditto.
12322 * libc/machine/i386/Makefile.am: Ditto.
12323 * libm/Makefile.am: Ditto.
12324 * libc/sys/Makefile.am: Ditto.
12325 * Makefile.in: Regenerated.
12326 * aclocal.m4: Ditto.
12327 * configure: Ditto.
12328 * doc/Makefile.in: Ditto.
12329 * doc/aclocal.m4: Ditto.
12330 * doc/configure: Ditto.
12331 * libc/Makefile.in: Ditto.
12332 * libc/aclocal.m4: Ditto.
12333 * libc/configure: Ditto.
12334 * libc/machine/Makefile.in: Ditto.
12335 * libc/machine/aclocal.m4: Ditto.
12336 * libc/machine/configure: Ditto.
12337 * libc/machine/mn10300/Makefile.in: Ditto.
12338 * libc/machine/mn10300/aclocal.m4: Ditto.
12339 * libc/machine/mn10300/configure: Ditto.
12340 * libc/sys/Makefile.in: Ditto.
12341 * libc/sys/aclocal.m4: Ditto.
12342 * libc/sys/configure: Ditto.
12343 * libm/Makefile.in: Ditto.
12344 * libm/aclocal.m4: Ditto.
12345 * libm/configure: Ditto.
12346
12347Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12348
12349 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
12350
12351Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12352
12353 * libc/include/stdlib.h: Add reentrant routines.
12354 * libc/stdlib/Makefile.am: Add reentrant routines.
12355 * libc/stdlib/Makefile.in: Ditto.
12356 * libc/stdlib/envlock.c: New file.
12357 * libc/stdlib/envlock.h: New file.
12358 * libc/stdlib/getenv.c: Modify to call reentrant routine.
12359 * libc/stdlib/getenv_r.c: New file.
12360 * libc/stdlib/mblen.c: Modify to call reentrant routine.
12361 * libc/stdlib/mblen_r.c: New file.
12362 * libc/stdlib/setenv.c: Modify to call reentrant routine.
12363 * libc/stdlib/setenv_r.c: New file.
12364 * libc/stdlib/stdlib.tex: Add reentrant routines.
12365
12366Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
12367
12368 * libc/include/sys/types.h: Define __MS_types__ whenever
12369 cygwin or win32.
12370
12371Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
12372
12373 * libc/include/machine/ieeefp.h: Always default to little
12374 endian if Windows, regardless of architecture.
12375 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
12376 regardless of architecture.
12377
12378Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
12379
12380 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
12381 _WIN32 isn't defined.
12382
12383Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
12384
12385 * libm/common/s_rint.c (rint): Add volatile qualifier for
12386 intermediate value w.
12387 * libm/common/sf_rint.c (rintf): Ditto.
12388
12389Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12390
12391 * libc/sys/arm/syscalls.c (remap_handle): Added check to
12392 ensure that std streams are initialized before being referenced.
12393
123941999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
12395
12396 * README: Update reference to newlib@cygnus.com new
12397 newlib@sourceware.cygnus.com address.
12398
12399Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
12400
12401 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
12402 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
12403 defined, even if _WIN32 isn't defined.
12404
12405Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
12406
12407 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
12408
12409Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12410
12411 * libc/include/sys/reent.h: Change Long and ULong to __Long and
12412 __ULong.
12413 * libc/stdlib/dtoa.c: Ditto.
12414 * libc/stdlib/mprec.c: Ditto.
12415 * libc/stdlib/mprec.h: Ditto.
12416 * libc/stdlib/strtod.c: Ditto.
12417
124181999-04-21 Nick Clifton <nickc@cygnus.com>
12419
12420 * configure.host (mcore): Remove mcore machine directory.
12421
124221999-04-18 Nick Clifton <nickc@cygnus.com>
12423
12424 * libc/include/machine/ieeefp.h: Add support for mcore target.
12425 * libc/include/machine/setjmp.h: Add support for mcore target.
12426 * configure.host: Add support for mcore target.
12427
124281999-04-13 Mark Salter <msalter@cygnus.com>
12429
12430 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
12431 * libc/sys/arm/syscalls.c: Added isatty.
12432
12433Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12434
12435 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
12436 insert zeroes after significant digits.
12437
12438Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
17c0c97d 12439
8a0efa53
CF
12440 * libc/stdio/vfprintf.c (cvt): Changed floating point
12441 cvt routine to use union used by dtoa to properly determine
12442 if the sign bit is on or not.
12443 * libc/stdio/vfieeefp.h: New file
17c0c97d 12444
8a0efa53
CF
12445Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12446
12447 * aclocal.m4: Regenerated.
12448 * configure: Regenerated.
12449
12450Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12451
12452 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
12453 f_tanf reference.
12454 * libc/machine/i386/Makefile.in: Regenerated.
12455
12456Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
12457
12458 * acinclude.m4: Changed to work with new automake.
12459 * configure: Regenerated.
12460 * libc/machine/i386/aclocal.m4: Regenerated.
12461 * libc/machine/i386/configure: Regenerated.
12462
12463Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
12464
12465 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
12466 for telldir() and seekdir(). Rename unused structure element
12467 for use with these two routines.
12468
12469Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
12470
12471 * libc/time/mktime.c (validate_structure): Multiple fixes to
12472 code to handle cases where input fields are outside valid ranges.
12473 * libc/stdlib/div.c (div): Modified invalid rounding check.
12474 * libc/stdlib/ldiv.c (ldiv): Ditto.
12475
12476Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
12477
12478 * libc/machine/i386/memcpy.S: Performance rewrite.
12479 * libc/machine/i386/memmove.S: Ditto.
12480 * libc/machine/i386/i386mach.h: Added more register definitions.
12481 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
12482 option used.
12483 * libc/include/machine/fastmath.h: Add definitions for x86
12484 fast-math routines.
12485
12486Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12487
12488 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
12489
12490Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
12491
12492 Adjust newlib headers for new Cygwin Win32 API header files:
12493 * libc/include/sys/time.h: Check _WINSOCK_H rather than
12494 _GNU_H_WINDOWS32_SOCKETS.
12495 * libc/include/sys/types.h: Ditto.
12496
12497Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12498
12499 *include/sys/reent.h: Add checks for size of Bigint element Long.
12500 *libc/dtoa.c: Change routines to use generic Long type.
12501 *libc/mprec.c: Change routines to use generic Long type.
12502 *libc/mprec.h: Change routines to use generic Long type.
12503
12504Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
12505
12506 * libc/Makefile.am: Add .def files.
12507 * libc/Makefile.in: Regenerate.
12508 * libc/e_acosh.c: Documentation update.
12509 * libc/e_atanh.c: Documentation update.
12510 * libc/e_hypot.c: Documentation update.
12511 * libc/e_remainder.c: Documentation update.
12512 * libc/er_lgamma.c: Documentation update.
12513 * libc/mathfp.tex: Documentation update.
12514 * libc/s_acos.c: Documentation update.
12515 * libc/s_atan.c: Documentation update.
12516 * libc/s_atan2.c: Documentation update.
12517 * libc/s_cosh.c: Documentation update.
12518 * libc/s_fmod.c: Documentation update.
12519 * libc/s_isnan.c: Documentation update.
12520 * libc/s_log10.c: Documentation update.
12521 * libc/s_pow.c: Documentation update.
12522 * libc/w_jn.c: Documentation update.
12523
12524Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
12525
12526 * aclocal.m4: Regenerate.
12527 * configure: Regenerate.
12528
12529Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
12530
ba3ccd63
EB
12531 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
12532 to return 1 if user specified return code is 0.
12533 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
8a0efa53
CF
12534
12535Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
12536
12537 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
12538 to save the return address. Fixed longjmp to return to the original
12539 calling address of setjmp and to return the user specified return code
12540 rather than default to 1.
12541 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
12542
12543Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
12544
12545 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
12546
125471999-02-10 Nick Clifton <nickc@cygnus.com>
12548
12549 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
12550 volatile so that its assignments will not be discarded.
12551
12552Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
12553
12554 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
12555 be __STRICT_ANSI__ which is generated by compiler.
12556 * libc/include/ctype.h: Ditto.
12557 * libc/include/math.h: Ditto.
12558 * libc/include/stdio.h: Ditto.
12559 * libc/include/stdlib.h: Ditto.
12560 * libc/include/string.h: Ditto.
12561 * libc/include/sys/signal.h: Ditto.
12562
125631999-02-08 Nick Clifton <nickc@cygnus.com>
12564
12565 * configure.host: Add support for StrongARM target.
12566
12567Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
12568
12569 * libc/string/strncpy.c (strncpy): Removed redundant code
12570 that was copying bytes if data unaligned.
12571
125721999-02-02 Brendan Kehoe <brendan@cygnus.com>
12573
12574 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
12575 mbstowcs.def, and wcstombs.def.
12576
12577Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
12578
12579 * libc/include/sys/errno.h: Add Cygwin errno.
12580 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
12581 is specified.
12582
125831999-01-29 Nick Clifton <nickc@cygnus.com>
12584
12585 * libc/sys/arm/syscalls.c: Move C library functions into seperate
12586 file.
17c0c97d 12587
8a0efa53
CF
12588 * libc/sys/arm/libcfunc.c: New file containing C library functions
12589 from syscalls.c
12590
12591 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
12592 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
12593
12594
125951999-01-27 Michael Meissner <meissner@cygnus.com>
12596
12597 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
12598 type, and cut size in half so that the jmp_buf array is guaranteed
12599 to be aligned on a 64-bit boundary.
12600
12601Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
12602
12603 * libc/string/strings.tex: Added information about
12604 strcasecmp and strncasecmp.
12605 * libc/stdlib/stdlib.tex: Added missing information
12606 about mblen, mbstowcs, and wcstombs.
12607 * libc/string/strchr.c: Changed how mask is built to use
12608 shift operators so register will be used instead of storage.
12609
126101999-01-22 DJ Delorie <dj@cygnus.com>
12611
12612 * libc/include/stdlib.h: don't use dllimport if we're building
12613 newlib, since it's inside cygwin.dll
12614
12615Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
12616
12617 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
12618 _ctype_ under cygwin.
12619
12620Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
12621
12622 * include/stdlib.h: Fix typo from previous checkin.
12623
12624Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
12625
12626 * include/ctype.h: Use __declspec(dllimport) method for exporting
12627 variable from cygwin DLL.
12628 * include/time.h: Ditto.
12629 * sys/errno.h: Ditto.
12630 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
12631 * libc/locale/locale.c: Use __declspec(dllexport) method for
12632 exporting variable from cygwin DLL.
12633
12634Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
12635
12636 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
12637 access of bogus pointer will result in SIGSEGV.
12638
126391999-01-07 Nick Clifton <nickc@cygnus.com>
12640
12641 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
12642 of an underscore prefix to function names.
12643
12644Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
12645
12646 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
12647 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
12648
126491998-12-31 Michael Meissner <meissner@cygnus.com>
12650
12651 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
12652 to `%' if not already defined.
12653
126541998-12-30 Michael Meissner <meissner@cygnus.com>
12655
12656 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
12657 arguments const char *, not char *.
12658 * libc/include/stdio.h (_tempnam_r): Ditto.
12659
12660 * libc/include/sys/reent.h (struct _reent): The _sig_func type
12661 points to a function taking an integer, not void.
12662
12663Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
12664
12665 * configure.host: Add a define for Cygwin builds.
12666 * libc/include/ctype.h: Don't use dll imported variables in newlib.
12667
12668Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
12669
12670 * libc/include/ctype.h: Define _ctype_ as dll imported variable
12671 for use with Cygwin.
12672 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
12673 dll imported variables for use with Cygwin.
12674 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
12675 as a dll imported variable for Cygwin.
12676
12677Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
12678
12679 * libc/include/sys/unistd.h: Add proto for getpass.
12680
12681Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
12682
12683 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
12684 alphasort.
12685
12686Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
12687
12688 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
12689 not posix_path_list_p.
12690
126911998-12-15 Nick Clifton <nickc@cygnus.com>
12692
12693 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
12694 a signed int.
12695
126961998-12-13 Nick Clifton <nickc@cygnus.com>
12697
12698 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
12699
127001998-12-12 Nick Clifton <nickc@cygnus.com>
12701
12702 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
12703 <msalter@cygnus.com>
12704 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
12705 * libc/machine/fr30/Makefile.in: Regenerated.
12706
127071998-12-11 Nick Clifton <nickc@cygnus.com>
12708
12709 * configure.host: Remove use of libc/sys for FR30 port.
12710 * libc/sys/fr30: Remove directory (replaced by libgloss).
12711
127121998-12-10 Ken Raeburn <raeburn@cygnus.com>
12713
12714 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
12715 * libc/string/strncat.c (ALIGNED): Ditto.
12716
12717Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
12718
12719 * libc/include/sys/time.h: include sys/types.h
12720
12721Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
12722
12723 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
12724 comparison found when checking word at a time.
12725
127261998-12-04 Nick Clifton <nickc@cygnus.com>
12727
12728 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
12729
127301998-12-03 Nick Clifton <nickc@cygnus.com>
12731
12732 * libc/sys/fr30/syscalls.c (_times): New function stub.
12733
12734Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
12735
12736 * configure.host (mach_add_setjmp): Replaced mach_add_objs
12737 with mach_add_setjmp flag which indicates if setjmp should
12738 be added to the machine directory objects.
12739 * acinclude.m4: Removed reference to mach_add_objs.
12740 * aclocal.m4: Regenerated.
12741 * Makefile.in: Regenerated.
12742 * configure: Regenerated.
12743 * libc/aclocal.m4: Regenerated.
12744 * libc/Makefile.in: Regenerated.
12745 * libc/configure: Regenerated.
12746 * libc/machine/aclocal.m4: Regenerated.
12747 * libc/machine/Makefile.in: Regenerated.
12748 * libc/machine/configure: Regenerated.
12749 * libc/machine/i386/aclocal.m4: Regenerated.
12750 * libc/machine/i386/Makefile.am: Altered to selectively add
12751 setjmp.S to the src files list.
12752 * libc/machine/i386/Makefile.in: Regenerated.
12753 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
12754 * libc/machine/i386/configure: Regenerated.
12755
127561998-12-02 Nick Clifton <nickc@cygnus.com>
12757
12758 * libc/sys/fr30/crt0.s (_start): Fix function names.
12759
12760 * libc/machine/fr30: New directory
12761 * libc/machine/fr30/Makefile.am: New file.
12762 * libc/machine/fr30/Makefile.in: New generated file.
12763 * libc/machine/fr30/configure.in: New file.
12764 * libc/machine/fr30/configure: New generated file.
12765 * libc/machine/fr30/aclocal.m4: New generated file.
12766 * libc/sys/fr30/Makefile.am: New file.
12767 * libc/sys/fr30/Makefile.in: New generated file.
12768 * libc/sys/fr30/configure.in: New file.
12769 * libc/sys/fr30/configure: New generated file.
12770 * libc/sys/fr30/syscalls.c: New file.
12771
12772Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
12773
12774 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
12775
127761998-12-01 Ken Raeburn <raeburn@cygnus.com>
12777
12778 * libc/time/strftime.c (strftime): Also handle %y for years before
12779 1900.
12780
12781Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
12782
12783 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
12784 UNIX convention. Perform tolower on characters before comparing
12785 them rather than use toupper.
12786 * libc/string/strncasecmp.c (strncasecmp): Ditto.
12787
12788Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
17c0c97d 12789
8a0efa53
CF
12790 * configure.host: Added using i386 machine directory
12791 for all x86 cross-compiler and configuring
12792 which added object files to use via new "mach_add_objs" variable.
12793 * configure: Regenerated.
12794 * libc/configure: Regenerated.
12795 * libc/Makefile.in: Regenerated.
12796 * libc/aclocal.m4: Regenerated.
12797 * libc/ctype/Makefile.in: Regenerated.
12798 * libc/errno/Makefile.in: Regenerated.
12799 * libc/locale/Makefile.in: Regenerated.
12800 * libc/machine/Makefile.in: Regenerated.
12801 * libc/machine/aclocal.m4: Regenerated.
12802 * libc/machine/configure: Regenerated.
12803 * libc/posix/Makefile.in: Regenerated.
12804 * libc/reent/Makefile.in: Regenerated.
12805 * libc/signal/Makefile.in: Regenerated.
12806 * libc/stdio/Makefile.in: Regenerated.
12807 * libc/stdlib/Makefile.in: Regenerated.
12808 * libc/string/Makefile.in: Regenerated.
12809 * libc/string/memmove.c: Optimized code to use memcpy
12810 logic when performing a non-destructive copy.
12811 * libc/string/strncmp.c: Altered code to allow building
12812 optimized for size or speed.
12813 * libc/syscalls/Makefile.in: Regenerated.
12814 * libc/time/Makefile.in: Regenerated.
12815 * libc/unix/Makefile.in: Regenerated.
12816 * libc/machine/i386/Makefile.am: Added new files and reference
12817 to "mach_add_objs" to indicate optional object files.
12818 * libc/machine/i386/Makefile.in: Regenerated.
12819 * libc/machine/i386/aclocal.m4: Regenerated.
12820 * libc/machine/i386/configure: Regenerated.
12821 * libc/machine/i386/memchr.S: New file that implements
12822 function in Intel assembler.
12823 * libc/machine/i386/memcmp.S: ditto.
12824 * libc/machine/i386/memcpy.S: ditto.
12825 * libc/machine/i386/memmove.S: ditto.
12826 * libc/machine/i386/memset.S: ditto.
12827 * libc/machine/i386/strchr.S: ditto.
12828 * libc/machine/i386/strlen.S: ditto.
12829 * libc/machine/i386/f_atan2.S: New file that implements
12830 fast version of math function to be used by compiler when
12831 --ffast_math compile option is used.
12832 * libc/machine/i386/f_atan2f.S: ditto.
12833 * libc/machine/i386/f_exp.c: ditto.
12834 * libc/machine/i386/f_expf.c: ditto.
12835 * libc/machine/i386/f_frexp.S: ditto.
12836 * libc/machine/i386/f_frexpf.S: ditto.
12837 * libc/machine/i386/f_ldexp.S: ditto.
12838 * libc/machine/i386/f_ldexpf.S: ditto.
12839 * libc/machine/i386/f_log.S: ditto.
12840 * libc/machine/i386/f_logf.S: ditto.
12841 * libc/machine/i386/f_log10.S: ditto.
12842 * libc/machine/i386/f_log10f.S: ditto.
12843 * libc/machine/i386/f_math.h: New file.
12844 * libc/machine/i386/f_pow.c: ditto.
12845 * libc/machine/i386/f_powf.S: ditto.
12846 * libc/machine/i386/f_tan.S: ditto.
12847 * libc/machine/i386/f_tan.S: ditto.
12848 * libc/machine/i386/i386mach.h: New file.
12849
12850Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
12851
12852 patch from Mumit Khan <khan@xraylith.wisc.edu>
12853 * libc/include/stdio.h (tempnam): Add prototype.
12854 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
12855 (tempnam): Adhere to prototype.
12856
12857Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
12858
12859 * Makefile.am: Add default for AR_FLAGS.
12860 * Makefile.in: Regenerate.
12861
12862Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
12863
12864 * libc/include/time.h: move __cplusplus wrapper after includes
12865 * libc/include/sys/time.h: ditto. If Cygwin, include
12866 sys/select.h.
12867 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
12868
128691998-11-23 Ken Raeburn <raeburn@cygnus.com>
12870
12871 * libc/time/strftime.c (strftime): Handle %y after year 2000.
12872
12873Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
12874
12875 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
12876 abnormnal end-of-crt0 marker.
12877
12878Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
12879
12880 * libc/sys/fr30/crt0.s: New file/directory.
12881 * libc/include/machine/setjmp.h: Add FR30 target.
12882 * libc/include/machine/ieeefp.h: Add FR30 target.
12883 * configure.host: Add FR30 target.
12884
12885Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12886
ba3ccd63
EB
12887 * libm/math: Files that are duplicated in common directory removed.
12888 * libm/math/fdlibm.h: Removed.
12889 * libm/math/s_cbrt.c: Removed.
12890 * libm/math/s_copysign.c: Removed.
12891 * libm/math/s_expm1.c: Removed.
12892 * libm/math/s_finite.c: Removed.
12893 * libm/math/s_ilogb.c: Removed.
12894 * libm/math/s_infinity.c: Removed.
12895 * libm/math/s_lib_ver.c: Removed.
12896 * libm/math/s_log1p.c: Removed.
12897 * libm/math/s_logb.c: Removed.
12898 * libm/math/s_matherr.c: Removed.
12899 * libm/math/s_modf.c: Removed.
12900 * libm/math/s_nan.c: Removed.
12901 * libm/math/s_nextafter.c: Removed.
12902 * libm/math/s_rint.c: Removed.
12903 * libm/math/s_scalbn.c: Removed.
12904 * libm/math/sf_cbrt.c: Removed.
12905 * libm/math/sf_copysign.c: Removed.
12906 * libm/math/sf_expm1.c: Removed.
12907 * libm/math/sf_finite.c: Removed.
12908 * libm/math/sf_ilogb.c: Removed.
12909 * libm/math/sf_infinity.c: Removed.
12910 * libm/math/sf_log1p.c: Removed.
12911 * libm/math/sf_logb.c: Removed.
12912 * libm/math/sf_modf.c: Removed.
12913 * libm/math/sf_nan.c: Removed.
12914 * libm/math/sf_nextafter.c: Removed.
12915 * libm/math/sf_rint.c: Removed.
12916 * libm/math/sf_scalbn.c: Removed.
12917 * libm/math/Makefile.am: Removed references to deleted files (above).
12918 * libm/math/Makefile.in: Regenerated.
12919 * libm/Makefile.am: Added common directory to math.
12920 * libm/Makefile.in: Regenerated.
8a0efa53
CF
12921
12922Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12923
ba3ccd63
EB
12924 * libm/mathfp: Add non-ANSI functions.
12925 * libm/mathfp/e_acosh.c acosh(): New file.
12926 * libm/mathfp/e_atanh.c atanh(): New file.
12927 * libm/mathfp/e_hypot.c hypot(): New file.
12928 * libm/mathfp/e_j0.c j0(): New file.
12929 * libm/mathfp/e_j1.c j1(): New file.
12930 * libm/mathfp/e_remainder.c remainder(): New file.
12931 * libm/mathfp/e_scalb.c scalb(): New file.
12932 * libm/mathfp/ef_acosh.c acoshf(): New file.
12933 * libm/mathfp/ef_atanh.c atanhf(): New file.
12934 * libm/mathfp/ef_hypot.c hypotf(): New file.
12935 * libm/mathfp/ef_j0.c j0f(): New file.
12936 * libm/mathfp/ef_j1.c j1f(): New file.
12937 * libm/mathfp/ef_remainder.c remainderf(): New file.
12938 * libm/mathfp/ef_scalb.c scalbf(): New file.
12939 * libm/mathfp/er_gamma.c gamma_r: New file.
12940 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
12941 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
12942 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
12943 * libm/mathfp/w_cabs.c cabs(): New file.
12944 * libm/mathfp/w_drem.c drem(): New file.
12945 * libm/mathfp/w_jn.c jn(): New file.
12946 * libm/mathfp/wf_cabs.c cabsf(): New file.
12947 * libm/mathfp/wf_drem.c dremf(): New file.
12948 * libm/mathfp/wf_jn.c jnf(): New file.
8a0efa53
CF
12949
12950Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
12951
12952 * libc/sys/cygwin32: remove directory and contents
12953 * libc/sys/cygwin: and add back, losing the "32".
12954 * configure.host: check for cygwin* instead of cygwin32.
12955 * acinclude.m4: ditto.
12956 * aclocal.m4: regenerate with aclocal
12957 * configure: regenerate with autoconf
12958
12959Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
12960
12961 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
12962 for length
12963
12964Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12965
12966 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
12967 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
12968 to make rand/srand, strtok, asctime, localtime, w_gamma,
12969 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
12970 time.h to bring in struct tm definition.
12971 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
12972 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
12973 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
12974 instead of static variable.
12975 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
12976 struct reent instead of static variable.
12977 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
12978 struct reent instead of static variable.
12979 * libm/math/Makefile.am: Removed s_signgam.o.
12980 * libm/math/Makefile.in: Regenerated.
12981 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
12982 struct reent instead of global variable 'signgam'.
12983 * libm/math/w_lgamma.c (lgamma): Likewise.
12984 * libm/math/wf_gamma.c (gammaf): Likewise.
12985 * libm/math/wf_lgamma.c (lgammaf): Likewise.
12986 * libm/math/s_signgam.c: Removed.
12987 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
12988 to be const.
12989 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
12990 to be const.
12991 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
12992 libc/include/reent.h.
12993 * libc/reent/Makefile.in: Regenerated.
12994 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
12995 to be const.
12996 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
12997 'JIS_action_table' to be const.
12998 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
12999
13000Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
13001
13002 * acinclude.m4: $with_target_subdir should default to '.'
13003 or confusion results when configuring in same directory as sources.
13004 * Regenerate all aclocal.m4 and configure files.
13005
13006Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
13007
13008 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
13009 can be set by defining MALLOC_ALIGNMENT=16. Also added support
13010 for platforms where sizeof(size_t) < sizeof(long) via
13011 SIZE_T_SMALLER_THAN_LONG macro.
17c0c97d 13012
8a0efa53
CF
13013Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
13014
13015 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
13016 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
13017 which sets _CLOCKS_PER_SEC_ for selected machines.
13018 * libc/include/machine/time.h: New file.
13019
13020Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13021
13022 * libc/syscalls/sysexecve.c: New file.
13023 * libc/syscalls/sysgettod.c: New file.
13024 * libc/syscalls/systimes.c: New file.
13025 * libc/syscalls/Makefile.am: Added new objects.
13026 * libc/syscalls/Makefile.in: Regenerated.
13027 * libc/include/_syslist.h (_execve): Moved define in file.
13028 * libc/include/reent.h: Added _execve_r declaration.
13029 * libc/Makefile.in: Regenerated.
13030 * libc/ctype/Makefile.in: Regenerated.
13031 * libc/errno/Makefile.in: Regenerated.
13032 * libc/locale/Makefile.in: Regenerated.
13033 * libc/machine/Makefile.in: Regenerated.
13034 * libc/misc/Makefile.in: Regenerated.
13035 * libc/posix/Makefile.in: Regenerated.
13036 * libc/reent/Makefile.in: Regenerated.
13037 * libc/reent/execr.c (_execve_r): Added _execve_r function.
13038 * libc/signal/Makefile.in: Regenerated.
13039 * libc/stdio/Makefile.in: Regenerated.
13040 * libc/time/Makefile.in: Regenerated.
13041 * libc/unix/Makefile.in: Regenerated.
13042 * libm/mathfp/Makefile.in: Regenerated.
13043
13044Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13045
13046 * libc/string/Makefile.in: Regenerated.
13047 * libc/string/memchr.c (memchr): Moved code to reduce object size.
13048 * libc/string/memcpy.c (memcpy): Ditto.
13049 * libc/string/memcmp.c (memcmp): Ditto.
13050 * libc/string/memset.c (memset): Ditto.
13051 * libc/string/strchr.c (strchr): Ditto.
13052 * libc/string/strcmp.c (strcmp): Ditto.
13053 * libc/string/strcpy.c (strcpy): Ditto.
13054 * libc/string/strlen.c (strlen): Ditto.
13055
13056Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13057
13058 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
13059 to generate aclocal.m4.
13060 * libm/Makefile.in: Regenerated.
13061 * libm/aclocal.m4: Regenerated.
13062 * libm/configure: Regenerated.
13063 * libm/math/Makefile.in: Regenerated.
13064 * libm/mathfp/Makefile.in: Regenerated.
13065
130661998-09-25 Mark Salter <msalter@cygnus.com>
13067
13068 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
13069 by adding leading and trailing underscores to symbol names.
13070
13071Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
13072
13073 * Makefile.in: Add default for AR_FLAGS.
13074
13075Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
13076
13077 patch from ian@airs.com (Ian Taylor):
13078 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
13079 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
13080 is needed for detecting the build machine. Required for
13081 cygwin native builds.
13082
13083 * Regenerate all aclocal.m4 and configure files.
13084
13085Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
13086
13087 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
13088 used to start with LC.
13089
13090Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13091
13092 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
13093 (longjmp): Likewise.
13094
13095Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13096
13097 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
13098 the test for small number of bytes.
13099
13100Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
13101
13102 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
13103 math library that uses floating point algorithms instead of the old
13104 libm.
13105 * Makefile.in: Regenerate with automake version 1.3b.
13106 * configure: Rebuild.
13107 * libm/Makefile.in: Regenerate with automake version 1.3b.
13108 * libm/aclocal.m4: Regenerate.
13109 * libm/configure: Rebuild.
13110 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
13111 * libm/acinclude.m4: Define macros for configure.in.
13112 * libm/config.h.in: Generate.
13113 * libm/mathfp/Makefile.am: New file.
13114 * libm/mathfp/Makefile.in: Generate.
13115 * libm/mathfp/s_acos.c (acos): New file.
13116 * libm/mathfp/s_asin.c (asin): New file.
13117 * libm/mathfp/s_asine.c (asine): New file.
13118 * libm/mathfp/s_atan.c (atan): New file.
13119 * libm/mathfp/s_atan2.c (atan2): New file.
13120 * libm/mathfp/s_atangent.c (atangent): New file.
13121 * libm/mathfp/s_ceil.c (ceil): New file.
13122 * libm/mathfp/s_copysign.c (copysign): New file.
13123 * libm/mathfp/s_cos.c (cos): New file.
13124 * libm/mathfp/s_cosh.c (cosh): New file.
13125 * libm/mathfp/s_exp.c (exp): New file.
13126 * libm/mathfp/s_fabs.c (fabs): New file.
13127 * libm/mathfp/s_finite.c (finite): New file.
13128 * libm/mathfp/s_floor.c (floor): New file.
13129 * libm/mathfp/s_fmod.c (fmod): New file.
13130 * libm/mathfp/s_frexp.c (frexp): New file.
13131 * libm/mathfp/s_infconst.c: New file.
13132 * libm/mathfp/s_isinf (isinf).c: New file.
13133 * libm/mathfp/s_isnan.c (isnan): New file.
13134 * libm/mathfp/s_ispos.c (ispos): New file.
13135 * libm/mathfp/s_ldexp.c (ldexp): New file.
13136 * libm/mathfp/s_log.c (log): New file.
13137 * libm/mathfp/s_log10.c (log10): New file.
13138 * libm/mathfp/s_logarithm.c (logarithm): New file.
13139 * libm/mathfp/s_mathcnst.c: New file.
13140 * libm/mathfp/s_modf (modf).c: New file.
13141 * libm/mathfp/s_numtest.c (numtest): New file.
13142 * libm/mathfp/s_pow.c (pow): New file.
13143 * libm/mathfp/s_scalbn.c (scalbn): New file.
13144 * libm/mathfp/s_sin (sin).c: New file.
13145 * libm/mathfp/s_sine.c (sine): New file.
13146 * libm/mathfp/s_sineh.c (sineh): New file.
13147 * libm/mathfp/s_sinf.c (sinf): New file.
13148 * libm/mathfp/s_sinh.c (sinh): New file.
13149 * libm/mathfp/s_sqrt.c (sqrt): New file.
13150 * libm/mathfp/s_tan.c (tan): New file.
13151 * libm/mathfp/s_tanh.c (tanh): New file.
13152 * libm/mathfp/sf_acos.c (acosf): New file.
13153 * libm/mathfp/sf_asin.c (asinf): New file.
13154 * libm/mathfp/sf_asine.c (asinef): New file.
13155 * libm/mathfp/sf_atan.c (atanf): New file.
13156 * libm/mathfp/sf_atan2.c (atan2f): New file.
13157 * libm/mathfp/sf_atangent.c (atangent): New file.
13158 * libm/mathfp/sf_ceil.c (ceilf): New file.
13159 * libm/mathfp/sf_copysign.c (copysignf): New file.
13160 * libm/mathfp/sf_cos.c (cosf): New file.
13161 * libm/mathfp/sf_cosh.c (coshf): New file.
13162 * libm/mathfp/sf_exp.c (expf): New file.
13163 * libm/mathfp/sf_fabs.c (fabsf): New file.
13164 * libm/mathfp/sf_finite.c (finitef): New file.
13165 * libm/mathfp/sf_floor.c (floorf): New file.
13166 * libm/mathfp/sf_fmod.c (fmodf): New file.
13167 * libm/mathfp/sf_frexp.c (frexpf): New file.
13168 * libm/mathfp/sf_isinf.c (isinff): New file.
13169 * libm/mathfp/sf_isnan.c (isnanf): New file.
13170 * libm/mathfp/sf_ispos.c (isposf): New file.
13171 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
13172 * libm/mathfp/sf_log.c (logf): New file.
13173 * libm/mathfp/sf_log10.c (log10f): New file.
13174 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
13175 * libm/mathfp/sf_modf.c (modff): New file.
13176 * libm/mathfp/sf_numtest.c (numtestf): New file.
13177 * libm/mathfp/sf_pow.c (powf): New file.
13178 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
13179 * libm/mathfp/sf_sin.c (sinf): New file.
13180 * libm/mathfp/sf_sine.c (sinef): New file.
13181 * libm/mathfp/sf_sineh.c (sinehf): New file.
13182 * libm/mathfp/sf_sinh.c (sinhf): New file.
13183 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
13184 * libm/mathfp/sf_tan.c (tanf): New file.
13185 * libm/mathfp/sf_tanh.c (tanhf): New file.
13186 * libm/mathfp/zmath.h: New file.
13187
13188Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13189
13190 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
13191 exit if it has been overwritten by pre-fetching in delay slot.
13192
131931998-09-01 Michael Meissner <meissner@cygnus.com>
13194
13195 * Makefile.am (tooldir): Add in host_alias, so that multilib
13196 libraries are installed in the directory the compiler looks in.
13197 * Makefile.in: Regenerate.
13198
13199 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
13200
13201Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
13202
13203 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
13204 ahead of test for number of bytes being moved.
13205
13206Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
13207
13208 * libc/include/sys/unistd.h: Nothing special needed for
13209 _exit under cygwin.
13210
13211Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
13212
13213 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
17c0c97d 13214 conform to user label naming conventions.
8a0efa53
CF
13215
13216Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
13217
13218 * libc/sys/cygwin32/sys/utime.h: variable names in
13219 protos should start with two leading underscores
13220 * libc/include/string.h: ditto
13221 * libc/include/sys/signal.h: ditto
13222 * libc/include/sys/stat.h: ditto
13223 * libc/include/sys/time.h: ditto
13224 * libc/include/sys/unistd.h: ditto
13225 * libc/include/ctype.h: ditto
13226 * libc/include/stdlib.h: ditto
13227 * libc/include/sys/reent.h: struct _atexit function ptr takes a
13228 void, same with _sig_func.
13229
13230Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
13231
13232 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
13233 for MB_CAPABLE to reduce code size when newlib is not configured
13234 with --enable-newlib-mb.
13235 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
17c0c97d 13236 mbtowc_r.o to minimize size.
8a0efa53 13237 * libc/stdlib/Makefile.in: Rebuild.
17c0c97d 13238
8a0efa53
CF
13239Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
13240
13241 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
13242 to -DREENT.
13243 * libc/sys/sparc64/Makefile.in: Rebuild.
17c0c97d 13244
8a0efa53
CF
13245Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
13246
13247 * Makefile.am (MAKEOVERRIDES): Define.
13248 * Makefile.in: Rebuild.
13249
13250Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
13251
13252 * libc/sys/sparc64/sys/stat.h (stat): Add const.
13253
13254Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
13255
13256 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
13257 newlib_cflags when looking for targ-include.
13258 * */aclocal.m4, */configure: Rebuild.
13259
13260Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
13261
ba3ccd63
EB
13262 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
13263 to "_end".
8a0efa53
CF
13264
13265Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
13266
13267 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
13268 on SPARCs with little-endian data.
13269 * libc/include/machine/ieeefp.h: Ditto.
13270
13271Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
13272
13273 * acinclude.m4: Handle a relative srcdir correctly when setting
13274 newlib_cflags.
13275 * */aclocal.m4, */configure: Rebuild.
13276
13277Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
13278
13279 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
17c0c97d
EB
13280 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
13281 * libm/math/wrf_gamma.c (gammaf_r): ditto
13282 * libm/math/wr_lgamma.c (lgamma_r): ditto
13283 * libm/math/wr_gamma.c (gamma_r): ditto
13284 * libm/math/wf_sqrt.c (sqrtf): ditto
13285 * libm/math/wf_sinh.c (sinhf): ditto
13286 * libm/math/wf_scalb.c (scalbf): ditto
13287 * libm/math/wf_remainder.c (remainderf): ditto
13288 * libm/math/wf_pow.c (powf): ditto
13289 * libm/math/wf_log10.c (log10f): ditto
13290 * libm/math/wf_log.c (logf): ditto
13291 * libm/math/wf_lgamma.c (lgammaf): ditto
13292 * libm/math/wf_jn.c (jnf, ynf): ditto
13293 * libm/math/wf_j1.c (j1f, y1f): ditto
13294 * libm/math/wf_j0.c (j0f, y0f): ditto
13295 * libm/math/wf_hypot.c (hypotf): ditto
13296 * libm/math/wf_gamma.c (gammaf): ditto
13297 * libm/math/wf_fmod.c (fmodf): ditto
13298 * libm/math/wf_exp.c (expf): ditto
13299 * libm/math/wf_cosh.c (coshf): ditto
13300 * libm/math/wf_atanh.c (atanhf): ditto
13301 * libm/math/wf_atan2f.c (atan2f): ditto
13302 * libm/math/wf_asin.c (asinf): ditto
13303 * libm/math/wf_acosh.c (acoshf): ditto
13304 * libm/math/wf_acos.c (acosf): ditto
13305 * libm/math/w_sqrt.c (sqrt): ditto
13306 * libm/math/w_sinh.c (sinh): ditto
13307 * libm/math/w_scalb.c (scalb): ditto
13308 * libm/math/w_remainder.c (remainder): ditto
13309 * libm/math/w_pow.c (pow): ditto
13310 * libm/math/w_log10.c (log10): ditto
13311 * libm/math/w_log.c (log): ditto
13312 * libm/math/w_lgamma.c (lgamma): ditto
13313 * libm/math/w_jn.c (jn, yn): ditto
13314 * libm/math/w_j1.c (j1, y1): ditto
13315 * libm/math/w_j0.c (j0, y0): ditto
13316 * libm/math/w_hypot.c (hypot): ditto
13317 * libm/math/w_gamma.c (gamma): ditto
13318 * libm/math/w_fmod.c (fmod): ditto
13319 * libm/math/w_exp.c (exp): ditto
13320 * libm/math/w_cosh.c (cosh): ditto
13321 * libm/math/w_atanh.c (atanh): ditto
13322 * libm/math/w_atan2f.c (atan2): ditto
13323 * libm/math/w_asin.c (asin): ditto
13324 * libm/math/w_acosh.c (acosh): ditto
13325 * libm/math/w_acos.c (acos): ditto
8a0efa53
CF
13326
13327Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
13328
13329 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
13330 (fsrc): Add wf_cabs.c and wf_drem.c.
13331 * libm/math/Makefile.in: Rebuild.
13332
13333 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
13334 unused directory variables. Remove duplicate CFLAGS.
13335 * Makefile.in: Rebuild.
13336
13337 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
13338 with $(CC_FOR_BUILD).
13339 (makedoc.o): Likewise.
13340 * doc/Makefile.in: Rebuild.
13341
13342 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
13343 force a definition of COMPILE.
13344 (libfoo_a_SOURCES): Define.
13345 * libc/sys/cygwin32/Makefile.in: Rebuild.
13346 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
13347 force a definition of COMPILE.
13348 (libfoo_a_SOURCES): Define.
13349 * libc/sys/tic80/Makefile.in: Rebuild.
13350
13351Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
13352
13353 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
13354 flag.
13355
13356Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
13357
13358 * Build using autoconf and automake. Added many Makefile.am and
13359 configure.in files, plus generated files. Old configure.in files
13360 and all old Makefile.in files completely replaced. Removed
13361 host/any. Added acinclude.m4 and configure.host.
13362
13363Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
13364
13365 * libc/stdio/vfprintf.c: enable long long support, sometimes.
13366 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
13367
13368Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13369
13370 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
13371 * libc/machine/sh/Makefile.in: Add rules for new files.
13372
13373Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13374
13375 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
13376 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
13377 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
13378
13379Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
13380
13381 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
13382 code is ignored.
13383
13384Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
13385
13386 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
13387 internal static buffer when s is NULL, as prescribed by ANSI.
13388
133891998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
13390
13391 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
13392 removed.
13393 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
13394 libc/stdlib will be used for h8300hms.
17c0c97d 13395
8a0efa53
CF
13396Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13397
13398 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
13399 version that can be built either for speed or size.
13400 * libc/machine/mn10300/memset.S (_memset): ditto
13401 * libc/machine/mn10300/memchr.S (_memchr): ditto
13402 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
13403 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
13404 * libc/machine/mn10300/strchr.S (_strchr): ditto
13405 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
13406 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
13407 * libc/machine/mn10300/Makefile.in: Added entries for
17c0c97d 13408 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
8a0efa53
CF
13409 strcmp.o, strcpy.o, and strlen.o.
13410
13411Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
13412
13413 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
13414 been replaced with libgloss/mn10200.
13415
13416Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
13417
13418 * libc/string/strchr.c (strchr): Make s a constant pointer to
13419 avoid warning.
13420
13421Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
13422
13423 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
13424 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
13425 board SWIs instead of Demon board SWIs).
13426
13427Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
13428
13429 * libc/string/strncat.c (strncat): Make -Os act the same as
13430 PREFER_SIZE_OVER_SPEED being defined.
13431
13432Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
13433
13434 * libc/string/memchr.c (memchr): Make -Os act the same as
13435 PREFER_SIZE_OVER_SPEED being defined.
13436 * libc/string/memcmp.c (memcmp): Ditto.
13437 * libc/string/memcpy.c (memcpy): Ditto.
13438 * libc/string/memset.c (memset): Ditto.
13439 * libc/string/strcat.c (strcat): Ditto.
13440 * libc/string/strchr.c (strchr): Ditto.
13441 * libc/string/strcmp.c (strcmp): Ditto.
13442 * libc/string/strcpy.c (strcpy): Ditto.
13443 * libc/string/strlen.c (strlen): Ditto.
13444 * libc/string/strncat.c (strncat): Ditto.
13445 * libc/string/strncmp.c (strncmp): Ditto.
13446 * libc/string/strncpy.c (strncpy): Ditto.
13447
13448Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
13449
13450 * libc/include/sys/itimer.h: remove
13451 * libc/include/sys/time.h: itimer stuff should be here
13452
13453Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
13454
13455 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
13456 bit instead of comparing to 0 so -0.0 can be printed correctly.
13457
13458Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13459
13460 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
13461
13462Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
13463
13464 * libc/include/sys/unistd.h: fix sync() proto
13465 * libc/include/sys/fcntl.h: remove _close which is already
13466 defined in unistd.h.
13467 * libc/include/sys/time.h: add getitimer proto
13468
13469Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
13470
13471 * libc/string/strchr.c: convert arg to unsigned char
13472 * libc/include/stdlib.h: add protos for random, srandom
13473 * libc/include/sys/stat.h: add lstat proto
13474 * libc/include/sys/time.h: add setitimer proto
13475 * libc/include/sys/unistd.h: add readlink, symlink protos
13476 * libc/include/process.h: instead of including windows.h and using
13477 HANDLEs in sexec protos, just use void *s. Need to include
13478 sys/types.h.
13479
13480Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
13481
13482 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
13483
13484Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
13485
13486 * libc/include/process.h: add secure exec protos
13487
13488Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
13489
13490 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
13491 which are accessed as both doubles and integers.
13492 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
13493 * libc/stdlib/strtod.c (_strtod_r): Likewise.
13494 * libc/stdlib/mprec.h: Add "union double_union" and change
13495 word0/word1 macros to use it.
13496
13497Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
13498
13499 * libc/include/sys/signal.h: add __cplusplus wrapper
13500
13501Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
13502
13503 * libc/include/sys/utime.h: new generic file that gets replaced by
13504 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
13505 function.
13506 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
13507 * libc/include/time.h: remove duplicate utime proto
13508 * libc/include/utime.h: add comment
13509
13510Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
13511
13512 * libc/include/sys/time.h: Add missing include to
13513 allow use of _EXFUN. Remove times function that is
13514 already defined in times.h.
13515
13516Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
13517
13518 * libc/include/time.h: Fix typo in tzset.
13519
13520Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
13521
13522 * libc/include/sys/time.h: add missing Cygwin32 function protos
13523 * libc/include/sys/unistd.h: ditto
13524 * libc/include/time.h: ditto
13525
13526Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
13527
13528 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
13529 FIXME.
13530 * libc/include/sys/types.h: add a new __MS_types__ section
13531 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
13532 __BIT_TYPES_DEFINED__.
13533
13534Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
13535
13536 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
13537 since it overrides the one in libc/include/sys. Also, start
13538 including types.h.
13539
13540Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
13541
13542 * libm/math/Makefile.in: add s_signgam.o to obj list
13543
13544Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
13545
13546 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
13547
13548Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
13549
13550 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
13551 so don't use defines.
13552
13553Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
13554
13555 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
13556
13557Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
13558
13559 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
17c0c97d 13560 _current_locale as default locale.
8a0efa53
CF
13561
13562Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
13563
13564 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
17c0c97d 13565 insufficient space in a chunk.
8a0efa53
CF
13566
13567Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
13568
13569 * configure.in (links): Added check for --enable-newlib-mb configure
13570 option which defines the MB_CAPABLE macro.
13571 * libc/locale/locale.c (_setlocale_r): Added support for setting
13572 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
13573 defined.
13574 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
13575 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
13576 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
13577 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
13578 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
17c0c97d 13579 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
8a0efa53
CF
13580 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
13581 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
13582 * libc/stdlib/Makefile.in: Added new multibyte
13583 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
13584 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
13585 _mbstowcs_r(), and _wcstombs_r().
13586 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
13587 for JIS, SJIS, and EUC-JP characters.
13588 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
17c0c97d 13589 MB_CAPABLE defined.
8a0efa53
CF
13590 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
13591 MB_CAPABLE defined.
13592 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
13593 MB_CAPABLE defined.
13594 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
13595 if MB_CAPABLE defined.
13596 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
13597 if MB_CAPABLE defined.
13598 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
13599 to the format string processing when MB_CAPABLE.
13600 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
13601 call _mbtowc_r().
13602
13603Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
13604
13605 The following modifications are courtesy of Anthony Thompson,
13606 athompson@cambridge.arm.com:
13607 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
13608 boith RDI and RDP monitors.
13609 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
13610 RDI and RDP monitors.
13611
13612Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
13613
13614 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
13615 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
13616 (_swiopen): Fixed open flags to treat write with append as just append.
13617 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
13618 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
13619
13620Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13621
13622 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
13623 When needing to transfer an initial 2-byte-word, store as
13624 two single bytes.
13625
13626Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13627
13628 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
13629 __SH3E__ .
13630 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
13631 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
13632
13633Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
13634
13635 * configure.in (target_cflags): If --enable-target-optspace, use
13636 -Os to compile newlib rather than -O2. Default to using -Os for
13637 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
13638 used.
13639
13640Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
13641
ba3ccd63
EB
13642 * libc/include/machine/setjmp.h: change sigsetjmp and
13643 siglongjmp definitions to use an array instead of a struct
13644 for __CYGWIN32__
8a0efa53
CF
13645
13646Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
13647
13648 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
13649
13650Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
13651
13652 * libc/string/strxfrm.c: fix to get correct return value
13653
13654Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
13655
13656 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
13657 builds. Make mode change labels global so that they will be seen
13658 by the debugger.
13659
13660Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
13661
13662 * configure.in (links): Do not use ARM debiugging protocols for PE
13663 builds.
13664
13665 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
17c0c97d 13666 message.
8a0efa53
CF
13667
13668Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13669
13670 * libc/stdio/findfp.c (__sinit): Made stdout default to
13671 line buffered mode as defined by ANSI.
13672
13673Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
13674
13675 * libc/include/sys/itimer.h: New file.
13676
13677 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
13678
13679Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13680
13681 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
13682 failure.
13683
13684Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
13685
13686 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
13687 insns.
13688
13689Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
13690
13691 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
13692
13693Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
13694
13695 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
13696 support.
13697
13698 * libc/include/machine/setjmp.h: Add D30V support.
13699
13700 * configure.in (d30v-*): Add d30v machine directory.
13701
13702Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
13703
13704 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
13705 been replaced with libgloss/mn10300.
13706
13707Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
13708
13709 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
13710 it is no longer needed.
13711
13712Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
13713
ba3ccd63 13714 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
8a0efa53
CF
13715
13716Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
13717
13718 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
ba3ccd63 13719 the file when O_APPEND is set, wherever the EOF happens to be at
17c0c97d 13720 that time.
8a0efa53
CF
13721
13722Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
17c0c97d 13723
8a0efa53
CF
13724 patch from cgf@bbc.com (Christopher Faylor):
13725 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
13726 convention of closing fp prior to attempting to open the file
13727 argument. This allows correct operation when reopening
13728 stdin/stdout/stderr. Replaces last freopen.c patch.
13729
13730Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
13731
ba3ccd63
EB
13732 patch from cgf@bbc.com (Christopher Faylor):
13733 * libc/stdio/freopen.c: freopen was not preserving the fd
13734 of the stream being operated on. This confuses programs that
13735 expect that the handles for stdout and stderr will be 1 and 2.
8a0efa53
CF
13736
13737Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
13738
13739 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
13740
13741Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
13742
13743 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
13744
13745Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
13746
13747 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
13748 altered to not use a branch. Also added hint that last
13749 bclr in longjmp will likely result in branch.
17c0c97d 13750
8a0efa53
CF
13751
13752Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
13753
ba3ccd63 13754 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
8a0efa53
CF
13755
13756Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
13757
13758 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
13759 v850 builds.
13760
17c0c97d 13761 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
8a0efa53
CF
13762
13763Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
13764
13765 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
13766 that loads FR14 to specify offset of 8 rather than 4
13767 so it loads from offset 96 (where setjmp stored it).
13768
13769Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13770
13771 * libc/machine/sh/memcpy.S: (_memcpy): Update to
13772 latest version supplied by customer.
13773 * libc/machine/sh/memset.S (_memset): Ditto.
13774
13775Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
13776
13777 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
17c0c97d 13778 PR14730).
8a0efa53
CF
13779
13780Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
13781
ba3ccd63 13782 * libc/include/string.h: remove redefinition of ffs
8a0efa53
CF
13783
13784Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
13785
ba3ccd63 13786 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
8a0efa53
CF
13787 defined
13788
13789Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13790
13791 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
17c0c97d
EB
13792 TI Libraries to link to libc.a
13793
8a0efa53
CF
13794Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
13795
13796 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
13797 * libc/include/sys/stat.h (_{,f}stat): Ditto.
13798 * libc/include/sys/wait.h (_wait): Ditto.
13799 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
13800 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
13801
13802Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
13803
13804 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
13805 minded stabs so function name shows up when running the simulator
13806 with -t.
13807 * libc/sys/d10v/{crt0,trap}.S: Ditto.
13808
13809Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
13810
17c0c97d 13811 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
8a0efa53
CF
13812 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
13813 Use R5 where we used to use R3.
17c0c97d 13814
8a0efa53
CF
13815Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
13816
13817 * libc/stdlib/getopt.c (getopt): replaced __progname
13818 with nargv[0] to improve portability to imbedded systems.
13819
13820Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
13821
13822 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
13823 patch supplied by Tont.Thompson@arm.com to fix the creation of the
13824 stdout file.
13825
13826Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
13827
13828 * libc/stdio/tmpnam.c (worker): Generate a different file name
13829 each time.
13830
13831 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
13832 fails, try an execlp for sh.
13833
13834 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
13835 option for the winsup include directory.
13836
13837Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
13838
13839 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
13840 debugging interface from Tony.Thompson@arm.com.
17c0c97d 13841
8a0efa53
CF
13842 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
13843 * libc/sys/arm/swi.h: ditto.
13844
13845Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
13846
13847 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
13848 DIR struct used for readdir hashes.
13849
13850Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
13851
13852 * libc/string/strchr.c: Use "unsigned chars" as necessary.
13853
13854Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
13855
13856 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
13857 integer targets.
13858
13859Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
13860
13861 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
13862 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
13863 * libc/include/malloc.h: Add extern "C" if __cplusplus.
13864 (__malloc_copy): Declare.
13865
13866Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
13867
13868 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
13869 <sys/config.h>.
13870 (POINTER_UINT): Define.
13871 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
13872 (MALLOC_ALIGNMENT): Don't define if already defined.
13873 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
13874 long.
13875
13876Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
13877
13878 * libc/string/memset.c (memset): Fiddle with code so that the long
13879 value being stored is not a stack value. Unroll storing longs 4
13880 times.
13881
13882Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
13883
13884 * Reduce code size for libm modules.
13885 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
13886 and simply move code into sqrt.
13887 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
13888 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
13889 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
13890 * libm/math/wr_gamma.c (gamma_r): Likewise.
13891 * libm/math/wf_sinh.c (sinfh): Likewise.
13892 * libm/math/w_sinh.c (sinh): Likewise.
13893 * libm/math/wf_scalb.c (scalbf): Likewise.
13894 * libm/math/w_scalb.c (scalb): Likewise.
13895 * libm/math/wf_remainder.c (remainderf): Likewise.
13896 * libm/math/w_remainder.c (remainder): Likewise.
13897 * libm/math/wf_pow.c (powf): Likewise.
13898 * libm/math/w_pow.c (pow): Likewise.
13899 * libm/math/wf_log10.c (log10f): Likewise.
13900 * libm/math/w_log10.c (log10): Likewise.
13901 * libm/math/wf_log.c (logf): Likewise.
13902 * libm/math/w_log.c (log): Likewise.
13903 * libm/math/w_lgamma.c (lgamma): Likewise.
13904 * libm/math/wf_lgamma.c (lgammaf): Likewise.
13905 * libm/math/wf_jn.c (jnf): Likewise.
13906 * libm/math/w_jn.c (jn): Likewise.
13907 * libm/math/wf_j1.c (j1f): Likewise.
13908 * libm/math/w_j1.c (j1): Likewise.
13909 * libm/math/wf_j0.c (j0f): Likewise.
13910 * libm/math/w_j0.c (j0): Likewise.
13911 * libm/math/wf_hypot.c (hypotf): Likewise.
13912 * libm/math/w_hypot.c (hypot): Likewise.
13913 * libm/math/wf_gamma.c (gammaf): Likewise.
13914 * libm/math/w_gamma.c (gamma): Likewise.
13915 * libm/math/wf_fmod.c (fmodf): Likewise.
13916 * libm/math/w_fmod.c (fmod): Likewise.
13917 * libm/math/wf_exp.c (expf): Likewise.
13918 * libm/math/w_exp.c (exp): Likewise.
13919 * libm/math/wf_cosh.c (coshf): Likewise.
13920 * libm/math/w_cosh.c (cosh): Likewise.
13921 * libm/math/wf_atanh.c (atanhf): Likewise.
13922 * libm/math/w_atanh.c (atanh): Likewise.
13923 * libm/math/wf_atan2.c (atan2f): Likewise.
13924 * libm/math/w_atan2.c (atan2): Likewise.
13925 * libm/math/wf_asin.c (asinf): Likewise.
13926 * libm/math/w_asin.c (asin): Likewise.
13927 * libm/math/wf_acosh.c (acoshf): Likewise.
13928 * libm/math/w_acosh.c (acosh): Likewise.
13929 * libm/math/wf_acos.c (asocf): Likewise.
13930 * libm/math/w_acos.c (acos): Likewise.
13931 * libm/math/wf_sqrt.c (sqrtf): Likewise.
13932 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
13933 for embedded systems.
13934
13935Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
13936
13937 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
13938 Lea in case of a foreign sbrk.
13939
13940Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
13941
13942 Incorporate Doug Lea's malloc:
13943 * libc/stdlib/mallocr.c: Completely replaced.
13944 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
13945 (realloc): Remove.
13946 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
13947 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
13948 mallopt.
13949 (mallinfo, malloc_stats, mallopt): New functions.
13950 (_mstats_r): Just call _malloc_stats_r.
13951 * libc/stdlib/malign.c: New file.
13952 * libc/stdlib/mlock.c: New file.
13953 * libc/stdlib/msize.c: New file.
13954 * libc/stdlib/mtrim.c: New file.
13955 * libc/stdlib/realloc.c: New file.
13956 * libc/stdlib/valloc.c: New file.
13957 * libc/stdlib/malloc.h: Remove.
13958 * libc/stdlib/callocr.c: Remove.
13959 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
13960 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
13961 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
13962 reallocr.o, valloc.o, vallocr.o.
13963 (CHEWOUT_FILES): Add mlock.def, mstats.def.
13964 (MALLOC_CFLAGS): New variable.
13965 (mallocr.o): New target, build from mallocr.c.
13966 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
13967 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
13968 (msizer.o, malloptr.o): Likewise.
13969 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
13970 (valloc.o): New target.
13971 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
13972 * libc/include/malloc.h: Declare struct mallinfo, and new
13973 routines.
13974 * libc/include/stdlib.h (cfree): Correct declaration.
13975
13976Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
13977
13978 * libc/include/machine/setjmp.h: Add support for Thumb target.
13979
13980 * libc/include/machine/ieeefp.h: Add support for Thumb target.
13981
13982 * configure.in (links): Add support for Thumb target.
13983
13984Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
13985
13986 * libc/sys/arm/setjmp.S: Updated with version from branch.
13987
13988Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
13989
13990 * libc/include/stdio.h: add POSIX-required define L_ctermid
13991 for ctermid
13992
13993Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
13994
13995 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
13996 addition to MISSING_SYSCALL_NAMES.
13997
13998Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
13999
14000 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
14001
14002Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
14003
ba3ccd63
EB
14004 * libc/include/string.h: change strsignal proto to return
14005 a char *. This eliminates compile problems in gdb resulting
14006 from gdb's definition of strsignal in defs.h.
8a0efa53
CF
14007
14008Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
14009
ba3ccd63
EB
14010 * libc/sys/cygwin32/sys/utime.h: new (moved here from
14011 winsup/include) so as not to conflict with the one in
14012 libc/include.
8a0efa53
CF
14013 * libc/include/string.h: add protos for strsignal, strtosigno
14014
14015Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
14016
14017 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
14018
14019 * configure.in (d30v-*-*): Add configuration.
14020
14021Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
14022
14023 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
14024 to select which kind of debug monitor is in use for an ARM target.
14025
14026 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
14027 Angel and Demon debug monitors. Part of this code was supplied by
14028 Tony Thompson at ARM: athompso@arm.com.
14029
14030Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
14031
14032 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
14033 semantics when the count is greater than the length of the second
14034 source string.
14035
14036Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
14037
14038 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
14039 * libc/include/sys/unistd.h: add protos for usleep, truncate,
14040 truncate and ftruncate take off_t, not size_t
14041
14042Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
14043
14044 * libc/string/strcat.c (strcat): Add missing comment end.
14045 * libc/string/strncat.c (strncat): Likewise.
14046
14047Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
14048
14049 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
17c0c97d
EB
14050 targets.
14051 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
8a0efa53 14052 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
17c0c97d 14053 defined.
8a0efa53
CF
14054 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
14055 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
14056 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
14057
14058Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
14059
14060 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
14061 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
14062
14063Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
14064
14065 * libc/machine/i386/setjmp.S: New file.
14066 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
14067 (OFILES): Add setjmp.o.
14068 (setjmp.o): Add rule for.
14069 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
14070
14071Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
14072 Jeffrey A Law (law@cygnus.com)
14073
14074 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
14075 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
14076 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
14077 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
14078
14079Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
14080
14081 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
17c0c97d 14082 rules.
8a0efa53
CF
14083
14084 * libc/include/sys/config.h: Use __v850 to select v850
17c0c97d 14085 endianness.
8a0efa53
CF
14086
14087 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
14088 buffer size.
14089
14090 * libc/include/machine/ieeefp.h: Use __v850 to select v850
17c0c97d 14091 endianness.
8a0efa53
CF
14092
14093Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
14094
14095 * libc/stdlib/setenv.c: change unsetenv definition to match
14096 style of setenv (with _DEFUN). The string should be a const.
14097 * libc/include/stdlib.h: unsetenv proto should return void.
14098
14099Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
14100
14101 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
14102
14103Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
14104
14105 * libc/stdio/glue.h: remove.
14106 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
14107 * libc/stdio/Makefile.in: remove glue.h dependencies
14108
14109Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
14110
14111 * libc/sys/sysnecv850/crt0.S: Created V850e version.
17c0c97d 14112
8a0efa53
CF
14113Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
14114
14115 * configure.in (target_cpu): Add `arc'.
14116
14117Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
14118
17c0c97d 14119 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
8a0efa53
CF
14120 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
14121 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
14122 * newlib/libc/reent/reent.c: Add _wrapup_reent.
14123 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
14124
14125Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
14126
14127 * libc/machine/mips/setjmp.S: Handle mips16 builds.
14128
14129Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
14130
14131 * libc/include/stdio.h (siprintf): Declare.
14132
14133Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
14134
14135 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
14136 TARGET_CFLAGS and NEWLIB_FLAGS.
14137
14138Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
14139
14140 * configure.in (links): Add support for v850ea target.
14141
14142Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
14143
14144 * configure.in (links): Add support for v850e target.
14145
14146Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
14147
14148 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
14149
14150Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
14151
14152 * configure.in (arc-*-*): Add support for.
14153 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
14154
14155Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
14156
14157 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
14158
14159Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
14160
14161 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
14162 comparison which accesses invalid memory when the key is
14163 larger than the last member of the array.
14164 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
14165 for CYGWIN32
14166 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
14167
14168Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
14169
14170 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
14171 not _STRICT_ANSI.
14172
14173Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
14174
14175 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
14176 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
14177
14178Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
14179
14180 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
14181 to load/store memory.
14182
14183Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
14184
14185 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
14186 underscores if _WIN32.
14187
14188Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
14189
14190 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
14191 support ifdef _USE_WRITE missed in last change.
14192 From Anders Blomdell <anders.blomdell@control.lth.se>.
14193
14194Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
14195
14196 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
14197 (_tmpnam_r, _tempnam_r): Update.
14198
14199Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
14200
14201 * libc/machine/sparc/setjmp.S: New file.
14202 * libc/machine/sparc/Makefile.in: Add setjmp.
14203 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
14204
14205Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
14206
14207 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
14208
14209Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
14210
14211 From Joel Sherrill <joel@oarcorp.com>.
14212 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
14213
14214 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
14215 * configure.in: Recognize *-*-rtems*.
14216 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
14217 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
14218 time.h,times.h,types.h}: New files.
14219 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
14220
14221Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
14222
14223 patch from sos@prospect.com.ru (Sergey Okhapkin):
ba3ccd63
EB
14224 * include/sys/wait.h: correct operator precidence bug
14225 in WIFSIGNALED
8a0efa53
CF
14226
14227Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
14228
14229 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
14230 with newlib's unsetenv function
14231 * libc/sys/cygwin32/sys: new directory for includes
14232 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
14233 here from winsup/include/sys
14234
14235Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
14236
14237 * libc/include/sys/unistd.h: _exit should only be
14238 labelled noreturn when not __CYGWIN32__
14239 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
14240 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
14241 increment NSIG
14242
14243Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
14244
14245 * libc/include/sys/time.h: Only define timeval and timezone if
14246 _GNU_H_WINDOWS32_SOCKETS is not defined.
14247 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
14248
14249Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
14250
14251 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
14252 * libc/machine/mn10300/setjmp.S: Likewise.
14253
14254 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
14255 the mn10300 (more relaxing opportunities).
14256
14257Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
14258
14259 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
14260 Build libraries with -mstrict-align.
14261
14262Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
14263
14264 * libc/string/strlwr.c: New file.
14265 * libc/string/strupr.c: New file.
14266 * libc/include/string.h: Declare strlwr and strupr.
14267 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
14268 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
14269 (strlwr.o, strupr.o): New targets.
14270 * libc/string/strings.tex: Include strlwr and strupr docs.
14271
14272 * libc/include/sys/types.h: Don't define u_char, et. al., if
14273 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
14274 et. al. Make FD_SETSIZE default 64 rather than 60. Define
14275 _types_fd_set rather than fd_set, and define fd_set as a macro.
14276
14277 * libc/include/malloc.h: New file.
14278
14279 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
14280 strnicmp if they are not already defined.
14281
14282 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
14283 _timezone, _daylight, and _tzname.
14284
14285Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
14286
14287 * configure.in: Sort all configuration tables.
14288
14289 From Joel Sherrill <joel@oarcorp.com>
14290 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
14291
14292Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
14293
14294 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
14295 use int when declaring kill.
14296
14297 * libc/include/sys/timeb.h: New file.
14298
14299Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
14300
14301 * libc/include/sys/time.h: add itimer support for Cygwin32
14302
14303Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
14304
14305 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
14306 out a message that abort was called to stderr.
14307
14308Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
14309
14310 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
14311 so that libio doesn't freak.
14312
14313 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
14314 int.
14315
14316 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
14317 memory sizes, not int.
14318
14319Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
14320
14321 * libm/math/ef_hypot.c: Use long constants where
17c0c97d 14322 appropriate.
8a0efa53
CF
14323 * libm/math/ef_sqrt.c: Ditto.
14324
14325 * libc/sys/sysmec/times.c(_times): Change to times.
14326
14327 * libc/sys/sysmec/read.c(_read): The third argument is
14328 size_t.
14329 * libc/sys/sysmec/write.c (_write): Ditto.
14330
14331 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
14332 (_lseek): It's off_t for the second argument.
14333
14334Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
14335
14336 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
14337 as well as machine/ieeefp.h.
14338
14339Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
14340
14341 * libc/include/sys/signal.h: add signal protos for winsup
14342 functions (when __CYGWIN32__), include types.h
14343 * libc/include/sys/types.h: Change __go32_types__ internal
14344 define to __MS_types__ since it's used for more than just
14345 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
14346 defined.
14347 * libc/include/sys/unistd.h: add ftruncate proto for
14348 winsup functions (when __CYGWIN32__)
14349
14350Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
14351
14352 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
14353
14354Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
14355
14356 * libc/include/machine/setjmp.h: Add tic80 support.
14357 * libc/machine/tic80/setjmp.S: Likewise.
14358
14359Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
14360
ba3ccd63
EB
14361 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
14362 link programs from libraries only (such as in the X11
14363 distribution)
8a0efa53
CF
14364
14365Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
14366
14367 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
14368 supplied elsewhere in newlib.
14369
14370Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
14371
14372 * Makefile.in (INSTALL): Change install.sh to install-sh.
14373
14374Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
14375
14376 * README: update WWW address for on-line documentation.
14377
14378Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
14379
14380 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
14381 increment NSIG
14382
14383Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
14384
14385 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
14386 mn10300.
14387 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
14388
14389Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
14390
14391 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
14392 * libc/sys/d10v/syscalls.c: Likewise.
14393 * libc/sys/h8300hms/sbrk.c: Likewise.
14394 * libc/sys/h8500hms/syscalls.c: Likewise.
14395 * libc/sys/m88kbug/syscalls.c: Likewise.
14396 * libc/sys/sh/syscalls.c: Likewise.
14397 * libc/sys/sysmec/sbrk.c: Likewise.
14398 * libc/sys/sysnecv850/sbrk.c: Likewise.
14399 * libc/sys/w65/syscalls.c: Likewise.
14400 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
14401
14402Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
14403
14404 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
14405 emulated syscall instead of "trap".
14406
14407Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
14408
14409 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
14410 not trap 0.
14411
14412Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
14413
14414 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
14415
14416Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
14417
14418 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
14419 not "sh".
14420 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
14421 not "d10v".
14422 * libc/sys/tic80/crt0.c: New file for TIc80.
14423 * libc/sys/tic80/Makefile.in: New file for TIc80.
14424 * libc/machine/tic80/Makefile.in: New file for TIc80.
14425
14426Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
14427
14428 * libc/machine/sh/memcpy.S: New file.
14429 * libc/machine/sh/memset.S: New file.
14430 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
14431
14432Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
14433
14434 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
14435 for TIc80.
14436
14437Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
14438
14439 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
14440 the mn10200.
14441
14442Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
14443
14444 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
14445 (patch from andrew@pogo.WV.TEK.COM).
14446
14447Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
14448
14449 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
14450 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
14451
14452Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
14453
14454 * configure.in: Add cases for "tic80" to set machine_dir,
14455 sys_dir, and syscall_dir.
14456
14457Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
14458
14459 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
14460
14461Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
14462
14463 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
14464
14465Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
14466
14467 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
14468 Use proper constant prefix.
14469
14470Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
14471
14472 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
14473 that loses on the mn10200 where ints and pointers are different
14474 sizes.
14475
14476Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
14477
14478 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
14479 target as signal is provided in winsup.
14480
14481Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
14482
14483 * libc/include/sys/process.h: Corrected const definitions
14484 in spawn functions. Added cwait.
14485
14486Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
14487
14488 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
14489 doubles.
14490 * libc/include/sys/config.h: Similarly.
14491
14492Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14493
14494 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
14495 target_cflags.
14496 (i[3456]86-*-sco*): Ditto.
14497
14498 * libc/signal/Makefile.in (OFILES): Add signal.o.
14499 (CFILES): Add signal.c.
14500
14501 * libc/signal/raise.c (_raise_r): Only compile code if
14502 SIGNAL_PROVIDED is defined.
14503
14504 * libc/signal/signal.c: Redo whole file so that it works with
14505 current newlib. Use _kill_r if no signal handler provided.
14506
14507 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
14508 signal stubs.
14509 * libc/sys/sysvnecv70/Makefile.in: Ditto.
14510 * libc/sys/sysnecv850/Makefile.in: Ditto.
14511
14512 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
14513 * libc/sys/sysmec/{raise,signal}.c: Ditto.
14514 * libc/sys/sysvnecv70/signal.s: Ditto.
14515 * libc/sys/sysnecv850/raise.c: Ditto.
14516
14517 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
14518 simulator and debugger can tell the difference between a signal
14519 being raised and an exit system call.
14520
14521 * NEWS: Document software signals being provided.
14522
14523Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14524
14525 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
14526 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
14527 include/sys/config.h.
14528 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
14529 Change from 'inpure_data'.
14530 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
14531 &impure_data, not &inpure_data.
14532
14533 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
14534 and and System V ABI, define so that _impure_ptr lives in the
14535 .sdata section.
14536
14537Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14538
14539 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
14540 nothing if not defined.
14541 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
14542 its attributes.
14543
17c0c97d 14544 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
8a0efa53
CF
14545
14546Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
14547
14548 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
14549 * libc/sys/sysmec/trap.s: Handle mn10200 too.
14550 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
14551
14552Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
14553
14554 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
14555
14556Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
14557
ba3ccd63 14558 * libc/include/sys/errno.h: Added net errno's.
8a0efa53
CF
14559
14560Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14561
14562 * libc/misc/ffs.c: New file to support ffs function for GCC test
14563 gcc.c-torture/execute/960909-1.c.
14564
14565 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
14566
14567Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
14568
14569 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
14570 * libc/sys/sysmec/trap.S: Likewise.
14571
14572Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
14573
14574 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
14575 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
14576
14577Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
14578
14579 * libc/sys/sysmec/signal.c: Dummy file.
14580 * libc/sys/sysmec/Makefile.in: Build it.
14581
14582Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
14583
14584 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
14585 mips16.
14586
14587Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
14588
14589 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
14590 c-startup and simulator traps.
14591
14592
14593 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
14594 * libc/sys/sysmec/trap0.S: Likewise.
14595
14596Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14597
14598 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
14599 round to double word alignment.
14600 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
14601 byte alignment.
14602
14603 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
14604
14605 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
14606 out of memory.
14607
14608Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
14609
14610 * configure.in: Handle mn10200 and mn10300.
14611 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
14612 * libc/include/sys/config.h: Likewise.
14613 * libc/sys/sysmec: New directory for mec stuff.
14614 * libc/machine/mn10300: New directory for mn10300 stuff.
14615 * libc/machine/mn10200: Similarly for mn10200 stuff.
14616
14617Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
14618
14619 * libc/sys/arm/crt0.S: Use .text, not .section .text.
14620 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
14621
14622 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
14623 (nlink_t): Change type from unsigned int to unsigned short.
14624 (mode_t): Ensure size is 32 bits even if int is 16.
14625 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
14626 (st_spare[123]): Change type from int to long.
14627
14628Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14629
14630 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
14631 byte boundary.
14632
14633 * configure.in (d10v*): Define SMALL_MEMORY.
14634
14635Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14636
14637 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
14638 -mrelocatable-lib and -mno-eabi flags.
14639
14640Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
14641
14642 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
14643 Fix handling of mis-aligned source operand when both the
14644 destination & length are properly aligned.
17c0c97d 14645
8a0efa53
CF
14646Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
14647
14648 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
14649 times.o, time.o and gettime.o
14650 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
14651 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
14652 SYS_gettimeofday.
14653
14654Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
14655
14656 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
14657 * libc/sys/sysnecv850/access.c: New file.
14658
14659Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
14660
14661 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
14662
14663 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
14664 long.
14665
14666Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
14667
14668 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
14669
14670Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
14671
14672 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
14673 * libc/include/sys/config.h: Add m32r support.
14674
14675Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
14676
14677 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
14678 here.
14679
14680Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
14681
14682 * libc/include/machine/setjmp.h: Add D10v support.
14683
14684Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
14685
14686 * configure.in: Configure the "libc/syscalls" directory for
14687 the v850.
14688
14689 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
14690 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
14691 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
14692 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
14693 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
14694
14695Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
14696
14697 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
14698 stack for args for main and other routines. Zero out args for
14699 main.
14700
14701 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
14702 correctly.
14703
14704Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14705
14706 * libc/stdio/findfp.c (std): Remove extraneous ';' after
14707 function.
14708
14709 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
14710
14711 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
14712 real system calls now.
14713
14714 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
14715 before casting them to int.
14716 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
14717
14718 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
14719 aligning pointer.
14720 * libc/string/memset.c (memset): Ditto.
17c0c97d 14721
8a0efa53
CF
14722 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
14723 first convert ints to _POINTER_INT to eliminate GCC warning.
14724
14725 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
14726 processing %p.
14727
14728 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
14729 from 65000 if ints are only 16 bits.
14730
14731 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
14732 from 50000 if ints are only 16 bits.
14733
14734 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
14735 int type that is the same size as a pointer.
14736
14737 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
14738 processing %p.
14739 (get_number): Explicitly cast number to long before shifting by 16
14740 or 24, in case ints are short.
14741
14742 * libc/include/sys/config.h (_POINTER_INT): Define as short.
14743
14744Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
14745
14746 * libc/string.h: Added ffs, removed swab.
14747 * libc/sys/errno.h: Added EOPNOTSUPP.
14748 * libc/sys/unistd.h: Added swab.
14749
14750Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
14751
14752 * libc/include/sys/stat.h: Added fchmod.
14753 * libc/include/sys/unistd.h: Added fsync.
14754
14755Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
14756
14757 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
14758 and ECONNRESET (104) for cygwin32.
14759
14760Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
14761
ba3ccd63
EB
14762 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
14763 do the static destructors.
17c0c97d 14764
8a0efa53
CF
14765Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
14766
14767 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
14768
14769Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
14770
14771 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
14772 * configure.in: Recognize m32r-*-*.
14773
14774Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
14775
14776 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
17c0c97d
EB
14777 __rt_stkovf_split_small): Added default software stack overflow
14778 handlers, which just call SWI_Exit.
8a0efa53 14779 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
17c0c97d 14780 limit initialisation.
8a0efa53
CF
14781
14782Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
14783
14784 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
14785
14786Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
14787
14788 * libc/include/sys/types.h: Added ssize_t definition.
17c0c97d 14789
8a0efa53
CF
14790Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14791
14792 * libc/machine/d10v/setjmp.S: Use ';' for comments.
14793 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
14794
14795 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
14796 branch around a single ldi instruction.
14797
14798 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
14799 Call exit, instead of just issuing a stop instruction.
14800
14801Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14802
14803 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
14804
14805Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14806
14807 * libc/stdlib/mprec.h: Explicitly declare all large constants as
14808 longs, and then cast them to __uint32_t.
14809
14810 * libc/include/sys/config.h: Protect against multiple inclusions.
14811
14812Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
14813
14814 * configure.in (d10v*): Set syscall_dir.
14815
14816Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
14817
14818 * libc/sys/d10v/crt0.S: Set stack pointer.
14819
14820Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
14821
14822 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
14823 in assembly for efficiency. Change calling convention to allow
14824 long ints to be returned.
14825
14826Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14827
14828 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
14829
14830Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
14831
14832 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
14833 Handle empty entries in $PATH.
14834
14835Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
14836
14837 * libc/machine/d10v/setjmp.S: Make it really work.
14838
14839Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
14840
14841 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
14842 the .stack section.
14843
14844Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
14845
14846 * sys/sysnecv850/sys/file.h: Remove.
14847 * sys/sysnecv850/sys/syscall.h: New file.
14848 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
14849 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
14850 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
14851 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
14852 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
14853 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
14854 * sys/sysnec850/trap.S: New file.
14855 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
14856 syscalls.
14857 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
14858 * sys/sysnec850/sbrk.c: New version.
14859
14860Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
14861
14862 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
14863 as long as r6 is less than r7.
14864
14865Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
14866
14867 * Makefile.in (mostlyclean): Separate from clean target. Don't
14868 remove *.a or targ-include.
14869 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
14870
14871Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14872
14873 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
14874 d10v.
14875 (__SMALL_BITFIELDS): Ditto.
14876
14877 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
14878
14879Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
14880
14881 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
14882 prefix.
14883
14884 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
14885 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
14886 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
14887 * libc/sys/sysnecv850/write.c (write): Likewise.
14888
14889 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
14890 .bss.
14891
14892Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14893
14894 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
14895 appropriately for D10V, depending on -mint16/-mint32.
14896
14897Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
14898
14899 * configure.in: Add cases for D10V.
14900
14901Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14902
14903 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
14904
14905Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
14906
14907 * libc/include/machine/ieeefp.h: Fix typo.
14908
14909Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
14910
14911 * libc/sys/d10v: New directory for D10V stuff.
14912 * libc/include/machine/ieeefp.h: Add D10V defines.
14913
14914Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
14915
14916 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
14917 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
14918 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
14919 * libc/string/strerror.c (strerror): Add them.
14920
14921Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
14922
14923 * libc/sys/sysnecv850: New directory for v850 stuff.
14924
14925 * libc/machine/v850: New directory for v850 stuff.
14926 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
14927
14928 * configure.in: Add support for the v850.
14929
14930 * libc/include/machine/ieeefp.h: Add v850 defines.
14931 * libc/include/machine/setjmp.h: Likewise.
14932 * libc/include/sys/config.h: Add v850 defines.
14933
14934Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
14935
14936 * libc/include/machine/ieeefp.h
14937 * libc/include/machine/setjmp.h
14938 * libc/include/sys/fcntl.h
14939 * libc/include/sys/signal.h
14940 * libc/include/sys/types.h
14941 * libc/stdlib/system.c:
14942 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
14943 API availability, __CYGWIN32__ for cygwin32 environment specific).
14944
14945Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
14946
ba3ccd63
EB
14947 * libc/include/stdlib.h: add multibyte character functions. Add
14948 __eprintf for assert.
8a0efa53
CF
14949
14950Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14951
14952 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
14953 arithmetic or __alignof__ to properly get the alignment, instead
14954 of hardwiring it to 4.
14955
14956Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
14957
14958 * libc/stdio/fseek.c: add fflush call to adjust seek offset
14959 on append stream (fix from NetBSD sources), adjust curoff offset
14960 for ungetc's benefit.
14961 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
14962 * libc/stdio/rewind.c: replace code with up to date NetBSD
14963 code to undo hacks made to work around above problem of not
14964 having fflush call mentioned above
14965
14966Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14967
14968 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
17c0c97d
EB
14969 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
14970 Partially revert last changes. The thread specific errno is set
14971 iff if the underlying syscall fails and the global errno is not
14972 zero.
8a0efa53
CF
14973
14974Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14975
14976 * libc/reent/filer.c: Removed files, all functions have split out
17c0c97d
EB
14977 into their own files.
14978 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
8a0efa53
CF
14979 New files containing functions formally in filer.c
14980 * libc/reent/Makefile.in: Updated for above change.
14981
14982 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
17c0c97d
EB
14983 syscall fails, not if errno is changed.
14984 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
8a0efa53
CF
14985 _write_r): Likewise.
14986 * libc/reent/fstatr.c (_fstat_r): Likewise.
14987 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
14988 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
14989 * libc/reent/signalr.c (_kill_r): Likewise.
14990 * libc/reent/statr.c (_stat_r): Likewise.
14991 * libc/reent/timer.c (_gettimeofday_r): Likewise.
14992
14993 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
17c0c97d 14994 signalr.c, statr.c, timer.c} (errno): declare extern rather
8a0efa53
CF
14995 than as a common.
14996
14997 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
17c0c97d
EB
14998 instead of calling vfprintf so that i*printf will not require
14999 floating point support code.
15000
8a0efa53
CF
15001Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
15002
15003 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
15004 path delimiter.
15005 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
15006 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
15007
15008Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
15009
15010 * libc/include/signal.h: _sig_func_ptr function takes an int
15011 * libc/include/sys/signal.h: sa_handler function takes an int
15012
15013Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
15014
15015 * libc/include/machine/ieeefp.h: Simplify H8/S support.
15016 * libc/include/sys/config.h: Add missing H8/S conditional.
15017
15018Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
15019
15020 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
15021
15022Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
15023
15024 * libc/include/machine/setjmp.h: Handle H8/S.
15025 * libc/include/machine/ieeefp.h: Likewise.
15026 * libc/include/sys/config.h: Likewise.
15027 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
15028 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
15029 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
15030 * libc/sys/h8300hms/crt0.S: Likewise.
15031
15032Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
15033
ba3ccd63 15034 * Makefile.in (datadir): Set to $(prefix)/share.
8a0efa53 15035 (oldincludedir, docdir): Removed.
ba3ccd63 15036 * doc/Makefile.in (datadir): Set to $(prefix)/share.
8a0efa53 15037 (oldincludedir, docdir): Removed.
ba3ccd63 15038 * libc/Makefile.in (datadir): Set to $(prefix)/share.
8a0efa53 15039 (oldincludedir, docdir): Removed.
ba3ccd63 15040 * libm/Makefile.in (datadir): Set to $(prefix)/share.
8a0efa53
CF
15041 (oldincludedir, docdir): Removed.
15042
15043Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
15044
15045 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
15046 _reent struct.
15047
15048Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
15049
15050 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
15051 fetch current path rules with sysconf and handler posix/win32
15052 appropriately.
15053
15054 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
15055
15056 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
15057 (WAIT_CHILD): Always define.
15058
15059Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
15060
15061 * libc/stdlib/eprintf.c: New file.
15062 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
15063 (eprintf.o): New target.
15064
15065Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
15066
15067 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
15068 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
15069
15070Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
15071
15072 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
15073 NT in PowerPC endianess cases.
15074
15075Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15076
15077 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
15078
15079Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15080
15081 * libc/string/strtok.c: Fix doc typo.
15082
15083Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15084
15085 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
17c0c97d 15086 _next, _scanpoint, _signgam fields.
8a0efa53
CF
15087
15088 * libc/include/stdlib.h (rand_r): Added new declaration.
15089 (_rand_r, _srand_r): Removed declarations.
15090 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
17c0c97d 15091 have been made obsolete by rand_r.
8a0efa53 15092 * libc/stdlib/rand_r.c: New file, rand_r function as specified
17c0c97d
EB
15093 by POSIX.1c.
15094
8a0efa53 15095 * libc/string/strtok.c: Update documentation to describe
17c0c97d 15096 strtok_r().
8a0efa53
CF
15097
15098Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
15099
15100 * libc/include/sys/stat.h (stat structure): Use the expanded stat
15101 structure on Solaris, and PowerPC systems even though __svr4__ is
15102 defined.
15103
15104Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
15105
15106 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
15107
15108Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
15109
15110 * host/any: Use ../.. rather than .. to get to the main build
17c0c97d
EB
15111 directory. This matches the current layout of the build
15112 directory.
8a0efa53
CF
15113
15114Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
15115
15116 * libc/machine/h8300/__main.S: Delete. No longer needed.
15117 * libc/machine/h8300/Makefile.in: Corresponding changes.
15118 * libc/sys/h8300hms/crt1.c: New file.
15119 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
15120 * libc/sys/h8300hms/crt0.s: Call __main.
15121
15122 * libc/sys/h8300hms/crt0.S: Use temporary label names
15123 for branch targets.
15124
15125Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
15126
15127 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
15128
15129Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15130
15131 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
15132 .sdata on the PowerPC so that we can link newlib with code
15133 compiled with -msdata.
15134
15135Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
15136
15137 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
15138
15139Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
15140
15141 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
15142 exception handler to __cygwin_exception_handler.
15143
15144Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
15145
15146 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
15147
15148Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
15149
15150 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
15151 SunOS VPATH.
15152 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
15153 wcstombs.o): Likewise.
15154
15155Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
15156
15157 * libc/stdlib/environ.c (initial_env): New static local.
15158 (environ): Point to `initial_env'.
15159
15160 * libc/include/machine/setjmp.h: Clean up.
15161 (__H8300H__,__PPC__): Define _JBTYPE.
15162 (__arm__): Provide entry for.
15163 (sigjmp_buf): Delete.
15164 (jmp_buf): Use _JBTYPE if defined, otherwise int.
15165
15166Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
15167
15168 * libc/machine/h8300/strcmp.S: Sign extend the result to
15169 32bits so we don't lose with -mint32.
15170
15171Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
15172
15173 * libc/sys/go32/sys/errno.h: New file.
15174 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
15175 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
15176 errno's address (make compatible with rest of newlib).
15177 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
15178 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
15179
15180Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
15181
15182 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
15183 * libc/machine/sparc/Makefile.in: Build them.
15184 * libc/machine/sparc/machine/sparclet.h: New file.
15185
15186Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15187
15188 * libc/machine/sh/asm.h: New file.
15189 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
17c0c97d 15190 support for SH3e's FP registers. Use asm.h.
8a0efa53
CF
15191
15192Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
15193
15194 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
15195 as first argument. Call _dtoa_r and pass the reent structure
15196 instead of calling __dtoa.
15197
15198Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
15199
15200 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
15201 the h8300, h8500, and others. Add comments for some rather
15202 dubious code.
15203
15204Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
15205
15206 * Makefile.in (check): Check that testsuite exists before cd.
15207
15208Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15209
15210 * libc/include/string.h (strsep): Correct prototype.
15211
15212Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
15213
15214 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
15215 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
15216 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
15217
15218Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
15219
15220 * libc/posix/{creat.c,isatty.c}: New files.
15221 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
15222
15223 * libc/sys/sparc64/crt0.S (environ): Delete.
15224 (.LHaveBias): Renamed from HaveBias.
15225
15226Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
15227
15228 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
15229 (_morecore_r): Delete SBRK_IS_ALLOC support.
15230
15231Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15232
15233 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
15234 module rather than touch, so we don't get warning messages when
15235 all of the libraries are combined into libc.a.
15236
15237Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
15238
15239 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
15240 crt0.s replaced by version in libgloss.
15241
15242Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15243
15244 * libc/reent/Makefile.in (OFILES): Add impure.o.
15245 * libc/reent/impure.o: New file, define initial reentrancy struct.
15246 * libc/reent/reent.c: Remove above definition.
15247
15248 * libm/math/sf_asinh.c: Fix typo.
15249
15250 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
17c0c97d
EB
15251 srf_ldexp.o.
15252
8a0efa53
CF
15253 * libm/libm.texinfo: Change documentation to reflect changes
15254 in reentrancy model.
15255 * libm/math/w_gamma.c: Likewise.
15256
15257Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
15258
15259 * configure.in (*-*-cygwin32): New.
15260 (*-*-win32): Deleted.
15261 * libc/sys/win32 renamed libc/sys/cygwin32.
15262
15263Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15264
15265 * libc/include/sys/file.h: New include file.
15266
15267Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
15268
15269 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
15270
15271Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
15272
15273 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
15274
15275Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15276
15277 * doc/makedoc.c (realloc): Declare at file scope.
15278 (catchar): Not here.
15279
15280Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
15281
15282 * Makefile.in (VERSION): Update to 1.7.0.
15283 * {libc,libm}/Makefile.in (VERSION): Likewise.
15284 * configure.in: Minor clean up of multilib stuff.
15285
15286 From David Johnson <davidj@ICSI.Berkeley.EDU>
15287 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
15288
15289 * libc/stdlib/environ.c: New file.
15290 * libc/stdlib/Makefile.in (OFILES): Build it.
15291 * libc/sys/h8500hms/crt0.c (environ): Deleted.
15292 * libc/sys/m88kbug/crt0.c (environ): Deleted.
15293 * libc/sys/z8ksim/crt0.c (environ): Deleted.
15294 * libc/sys/netware/environ.c: Deleted.
15295
15296Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
15297
15298 * configure.in (links): set sys_dir, posix_dir, syscall_dir
15299
15300Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
15301
15302 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
15303 declaration out to external scope and declare it PTR, not char *.
15304
15305Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
15306
15307 * libc/include/sys/unistd.h (getpagesize): New declaration.
15308 (_SC_PAGESIZE): New definition.
15309 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
15310 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
15311
15312Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
15313
15314 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
17c0c97d 15315 addressing. System call returns size, not (last address + 1).
8a0efa53
CF
15316
15317Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15318
15319 * libm/math/*.c: Removed _foo_r() reentrancy API.
15320 * libc/include/math.h: Removed _foo_r prototypes and macros.
15321
17c0c97d 15322 * libm/math/*.c: On systems with IEEE single precision "doubles"
8a0efa53 15323 move foo() -> foof() wrapper code from the files that implement
17c0c97d 15324 the standard IEEE double precision functions to the files that
8a0efa53
CF
15325 implement IEEE single precision functions. (ie. On those systems
15326 sin is moved from s_sin.c to sf_sin.c). There should eventually
15327 be use of a C extension (like gcc's alias attribute) so that the
15328 wrappers are not needed at all.
15329
15330 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
17c0c97d 15331 strict NEC V810 compiler.
8a0efa53 15332 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
17c0c97d 15333 for same reason.
8a0efa53
CF
15334
15335Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15336
15337 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
17c0c97d 15338 from NetBSD C library.
8a0efa53
CF
15339 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
15340
17c0c97d 15341 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
8a0efa53
CF
15342 and adapted from implementation I wrote for NetBSD C library.
15343 The difference is __assert doesn't take a format argument,
15344 so that there won't be multiple copies of the same string
15345 constant in the executable if assertions are enabled in
17c0c97d 15346 more than one source module.
8a0efa53
CF
15347 * libc/include/assert.h (assert): Changed to call __assert.
15348
15349Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15350
15351 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
15352 word1 on systems with 32 bit doubles.
15353 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
15354 so that we can do arithmetic on them.
15355 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
17c0c97d
EB
15356 compilers.
15357
8a0efa53
CF
15358Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
15359
15360 * libc/sys/arm/crt0.S: Zero bss.
15361
15362Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
15363
15364 * libc/include/unctrl.h: New file.
15365 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
15366 * configure.in (subdirs): Add libc/misc.
15367 * libc/Makefile.in (SUBDIRS): Add misc.
15368 (SUBLIBS): Add misc/lib.a.
15369
15370 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
15371
15372Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
15373
15374 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
15375 (_vfprintf_r): Call CHECK_INIT.
15376
15377Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
15378
15379 * Makefile.in (MULTITOP): Delete.
15380 (MULTISRCTOP, MULTIBUILDTOP): Add.
15381 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
15382 instead of cfg-ml-pos.in.
15383
15384Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
15385
15386 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
15387 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
17c0c97d 15388 presence.
8a0efa53
CF
15389
15390Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15391
15392 * libc/string/strtok.c: Include string.h to pick up strtok_r
15393 prototype.
15394
15395Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15396
15397 * libc/string/strtok.c: include <_ansi.h>.
15398 * libc/time/asctime_r.c: `reresult' -> `result'.
15399
15400Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15401
15402 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
15403 in #ifndef _REENT_ONLY ... #endif conditional.
15404
15405 * libc/include/string.h (_strtok_r): Remove declaration.
15406 * libc/include/time.h (_asctime_r): Remove declaration.
15407 * libc/string/strtok.c (_strtok_r): Removed.
15408 * libc/time/asctime.c (_asctime_r): Removed.
15409
15410 * libc/string/Makefile.in (OFILES): Add new object.
15411 * libc/string/strtok_r.c: New file. strtok_r function as
17c0c97d 15412 specified by POSIX.1c, adapted from strtok implementation
8a0efa53 15413 from NetBSD C library.
17c0c97d 15414 * libc/string/strtok.c (strtok): Reimplemented in terms of
8a0efa53
CF
15415 strtok_r.
15416
15417 * libc/time/Makefile.in (OFILES): Add new objects.
15418 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
15419 New files, reentrant time functions specified by POSIX.1c.
15420 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
17c0c97d 15421 reentrant time functions re-written in terms of reentrant
8a0efa53
CF
15422 functions.
15423 * libc/time/lcltime.c: Renamed from localtime.c
15424
15425 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
15426 gmtime_r, and localtime_r.
15427
15428Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
15429
15430 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
15431 * libc/include/sys/unistd.h (getlogin): Revert change of
15432 Oct 19.
15433 * libc/include/sys/signal.h (sigprocmask): Change prototype
15434 so it compiles with c++.
15435
15436Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
15437
15438 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
15439 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
15440 to give some room in case we need to align the jmp_buf.
17c0c97d 15441
8a0efa53
CF
15442 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
15443 the new ppc-asm.h include file the compiler provides to specify
15444 function prologue/epilogue. Eliminate saves of the xer and ctr
15445 registers, which are volatile. Before starting to save registers,
15446 align to 8 byte boundary.
15447
15448Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
15449
15450 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
17c0c97d 15451 referenced by standard libraries.
8a0efa53
CF
15452
15453Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
17c0c97d 15454
8a0efa53
CF
15455 * libc/unix/Makefile.in, libc/string/Makefile.in,
15456 libc/stdio/Makefile.in, libc/reent/Makefile.in,
15457 libc/posix/Makefile.in:
15458 Remove tabs from otherwise empty line. Confuses some
15459 older non-GNU versions of "make".
15460
15461Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
15462
15463 * libc/sys/unistd.h (getlogin): Returns const char *.
15464
15465Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
15466
15467 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
15468 * libc/include/errno.h: Moved into and include...
15469 * libc/include/sys/errno.h: New file.
15470 * libc/include/sys/wait.h: New file.
15471 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
15472 * libc/sys/win32/*: Moved out.
15473 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
15474 * configure.in (i[345]86-*-win32): HAVE_RENAME
15475
15476Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
15477
15478 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
15479 avoid macro expansion for these two names.
15480
15481Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
15482
15483 * libc/machine/h8500/psi.S: r6 renamed to fp.
15484
15485Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
15486
15487 * configure.in (powerpc*): No longer need to define
15488 NO_LONGLONG_POINTERS to supress warnings.
15489
15490Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15491
15492 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
15493 through PTR instead of directly.
15494
15495 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
15496 non-standard constructor support.
15497
15498Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15499
15500 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
17c0c97d
EB
15501 address of the Bigint instead of the address of its _x field,
15502 as the size the result buffer was calculated accordingly.
8a0efa53
CF
15503 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
15504
15505 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
17c0c97d 15506 from NetBSD C library. No longer special cases division by
8a0efa53
CF
15507 zero (which needs to be done by the application anyway), but
15508 it doesn't need to call abs() (or labs()) four times either.
17c0c97d
EB
15509
15510 * libc/stdlib/qsort.c: Replaced with implementation from
8a0efa53
CF
15511 NetBSD C library.
15512
15513Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15514
15515 * libc/stdio/vfprintf.c: Replaced with implementation from
ba3ccd63 15516 NetBSD C library (which is derived from the 4.4BSD C library).
8a0efa53
CF
15517 * libc/stdio/cvt.c: Removed.
15518 * libc/stdio/Makefile: Updated.
17c0c97d 15519
8a0efa53
CF
15520Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
15521
15522 * libc/sys/win32/syscalls.c (rename): New.
15523 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
15524
15525Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15526
15527 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
15528 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
15529
15530 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
15531 (setjmp.o): Delete rule to build setjmp.o.
15532 * libc/sys/sh/setjmp.S: Delete file.
15533
15534Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15535
15536 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
15537 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
15538 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
17c0c97d 15539 pow5mult and s2b to identifiers with leading underscores.
8a0efa53
CF
15540 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
15541 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
15542
15543Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
15544
15545 * libc/sys/posix/popen.c (sys/types.h): Include.
15546
15547Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
15548
15549 * libc/sys/win32/syscalls.h (fhandler): New struct.
15550 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
15551 (__fhandler_normal): Declare.
15552 (hinfo): New member op_handlers.
15553 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
15554 (__write): Likewise.
15555 (_read, _write, _open, _close, _lseek): Validate fd here.
15556 Move file type specific stuff to foo_normal.
15557 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
15558 New functions.
15559 (__lookup_fhandler): New function.
15560 (__lookup_fhandler_hook, __fhandler_normal): New variables.
15561
15562 From anders.blomdell@control.lth.se (Anders Blomdell)
15563 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
15564 Don't touch standard handles.
15565 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
15566 (_execve): Only create __FD_TABLE__ if necessary.
15567 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
15568
15569Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
15570
15571 * libc/sys/win32/sys/termios.h (FLUSHO): New.
15572 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
15573 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
15574 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
15575 without a handler is received.
15576 * libc/sys/win32/Makefile.in: Remove --nodelete.
15577 * libc/sys/win32/resouce.c (gettimeofday): New.
15578 * libc/sys/win32/syscalls.c (path_to_real_path): New.
15579 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
15580
15581Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
15582
15583 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
15584 Don't append "/*" to search pattern if trailing '/' already there,
15585 append "*".
15586 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
15587 like /'s, convert them to \'s. Handle //<drive>/ path names.
15588 Add space for quoted \'s in arg string. Print translated prog name
15589 and original prog name.
15590 (_execve): Handle parent doing exec a teensy bit better.
15591 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
15592 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
15593 path needs conversion, handle both cases. Delete `const' from result.
15594 (hash_path_name): New function.
15595 (_open): Call it.
15596 (_stat): Likewise. Fill in more fields for directories.
15597 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
15598 (wait_for_any): Fix trace message.
15599 (waitpid): Explicitly test for intpid == 0.
15600
15601 From anders.blomdell@control.lth.se (Anders Blomdell)
15602 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
15603 so `next' is valid.
15604
15605Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
15606
15607 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
15608 complicated.
15609
15610Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15611
ba3ccd63
EB
15612 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
15613 at all, not just == 1.
15614 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
8a0efa53
CF
15615
15616Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15617
ba3ccd63
EB
15618 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
15619 * libc/sys/win32/include/wintypes.h: include <winnt.h>
15620 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
15621 file.
8a0efa53
CF
15622
15623Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
15624
15625 * libc/sys/syscalls.c (getcwd): Fix off by one error.
15626
15627 * libc/sys/signal.c (sleep): Fill it in.
15628 * libc/sys/termios.c (tcflush): Use PurgeComm
15629 (tcsetattr): Set some more of the bits.
15630 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
15631
15632Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
15633
15634 * libc/sys/arm/crt0.S (fp): Initialize to 0.
15635 Conditionally include .idata$3 stuff ifdef __pe__.
15636
15637Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
15638
15639 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
15640 * libc/sys/win32/pipe.c (pipe): Ditto.
15641 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
15642 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
15643 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
15644 (tcgetattr): Contents are new.
15645 * libc/sys/win32/include/winkernel.h (DCB): New.
15646 (GetCommState, SetCommState): New.
15647
15648Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
15649
15650 * libc/sys/arm/crt0.S (_start): Define.
15651
15652Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
15653
15654 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
15655 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
15656
15657 * libc/sys/win32/sysconf.c: New
15658 * libc/sys/win32/sys/winadvapi.h: New
15659 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
15660 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
15661 * libc/sys/win32/pipe.c (pipe): Ditto.
15662 * libc/sys/win32/signal.c (_raise): New.
15663 (_kill): Moved from spawn.c
15664 * libc/sys/win32/spawn.c (kill): Moved to signal.c
15665 * libc/sys/win32/syscalls.c (__read): Use new fields.
15666 (_open): Ditto.
15667 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
15668 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
15669 * libc/include/sys/unistd.h (rmdir): Takes const path.
15670 * libc/include/sys/stat.h (mkdir): Takes const path.
15671 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
15672
15673Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
15674
15675 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
15676
15677 Add support for specifying paths as //<drive>/foo/bar.
15678 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
15679 (__path_to_real_path): Declare.
15680 (PATH_TO_REAL_PATH): New macro.
15681 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
15682 (__path_needs_conversion_p, __path_to_real_path): New functions.
15683 (_open): Fix test for error return from CreateFileA.
15684 Handle new path syntax.
15685 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
15686 * libc/sys/win32/dirsearch.c (opendir): Likewise.
15687
15688Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
15689
15690 * libc/sys/win32/include/*.h: Reorganized
15691 * libc/sys/win32/include/WINREADME: New.
15692 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
15693 * libc/sys/win32/*.c: Fix for new include scheme.
15694 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
15695 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
15696 * libc/sys/win32/passwd.c (*): Fix.
15697 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
15698 (_stat): Get directory owner and permissions right.
15699 * libc/sys/win32/syscalls.h (uinfo): New.
15700 * libc/sys/win32/version.def: Remove leading underscores.
15701
15702Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15703
15704 * libc/sys/win32/key.c: include "include/wincon.h".
15705
15706Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
15707
15708 * libc/sys/win32/{key, stubs}.c: New.
15709 * libc/sys/win32/Makefile: Adjust to cope.
15710 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
15711 (environ_init): Change env names to upper case.
15712 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
15713 * libc/sys/win32/passwd.c (*): Fill in the functions.
15714 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
15715 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
15716 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
15717 (_open): Initialze hmap->execable_p too.
15718 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
15719 (_fstat): Fill in permissions.
15720 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
15721
15722Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
15723
15724 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
15725 if defined.
15726 (cfg-ml-pos.in invocation): Likewise.
15727
15728Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15729
15730 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
15731 s_isnan.o and sf_isnan.o.
15732
15733Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
15734
15735 * All Makefile.in files: added maintainer-clean target as a
15736 synonym for realclean.
15737
15738Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
15739
15740 * libc/include/machine/setjmp.h: Add hppa support.
15741 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
15742 support.
15743 * libc/machine/hppa/Makefile.in: Related changes.
15744
15745Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
15746
15747 * configure.in (machine_dir): Don't set for v810-*-*.
15748
15749Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15750
15751 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
15752 conventions correctly.
15753
15754Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
15755
15756 * libc/stdio/puts.c: Update documentation of return value to match
15757 ANSI standard.
15758
15759Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
15760
15761 Fix file descriptor inheritance.
15762 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
15763 (NOT_OPEN_FD): Fix.
15764 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
15765 close-on-exec flag not set. Initialize child's entire fd table.
15766 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
15767 CHILD_P.
15768 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
15769 if CHILD_P. Initialize entire hmap entry.
15770 (dup): Only create new handle as inheritable if CHILD_P.
15771 (dup2): Likewise. Properly initialize hmap entry.
15772
15773 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
15774 _spawn.
15775 (_exit): Use CHILD_P.
15776 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
15777 (_stat): Likewise.
15778
15779Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15780
15781 * libc/sys/win32/crt0.c (passover): fix up the state table.
15782 * libc/posix/popen.c: Added.
15783 * libc/posix/Makefile.in: compile popen.c.
17c0c97d 15784
8a0efa53
CF
15785Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
15786
15787 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
15788 h8/500 define _DOUBLE_IS_32BITS.
15789
15790Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
15791
15792 Get vfork/exec/spawn/cwait/wait working again.
15793 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
15794 (procinfo): New member vfork_level.
15795 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
15796 (vfork_init_first): Use GetCurrentProcessId to get pid.
15797 Initialize vfork_level.
15798 (vfork_init): Delete __PID__.
15799 (environ_init): New function. Undo patch of Aug 19, Posix says
15800 environment variables are case sensitive.
15801 (mainCRTStartup): Call it.
15802 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
15803 (my_longjump: Make static.
15804 (_spawn): New argument `h'. Delete setting of __PID__.
15805 Delete local `idx'. Look for chars that need quotes, rather than
15806 ones that don't. Set handle of created process in `h'.
15807 Result is process id if created task.
15808 (allocate_spawn_entry): New function.
15809 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
15810 (_execve): Set __FD_TABLE__ before spawning child.
15811 Scan our fd table when passing fds, not our parent's.
15812 Store handle and pid in procinfo entry.
15813 (vfork0): Ensure strace message always printed.
15814 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
15815 (vfork): Don't clobber result of vfork0.
15816 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
15817 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
15818
15819 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
15820 and `exit_code'.
15821 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
15822 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
17c0c97d 15823 adding vfork level to pseudo-pid.
8a0efa53
CF
15824 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
15825 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
15826 (_exit): If child, set exit code.
15827 (__vfork_record_death): Only close process handle if valid.
15828 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
15829 didn't exec.
15830 (wait_for_any): Likewise. Start scan after root entry.
15831
15832Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15833
15834 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
15835 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
15836 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
15837 of actual file length.
15838
15839 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
15840 * libc/include/paths.h: _PATH_BSHELL added.
15841 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
15842 and STDERR_FILENO.
15843
15844Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15845
15846 * libc/include/ar.h: Added.
15847 * libc/include/sys/types.h: ino_t goes back to 32-bits.
15848 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
15849 * libc/sys/win32/syscalls.c (_open): compute .namehash based
15850 on filename.
15851 (_fstat): use .namehash for inode number of the fd.
15852
15853Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
15854
15855 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
15856 Change hinfo to __this_procinfo.
15857 * libc/sys/win32/crt0.c: Remove procinfo_list.
15858
15859Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15860
15861 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
15862 win32 environment.
15863
15864Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15865
15866 * libc/sys/win32/include/grp.h: Removed.
15867 * libc/sys/include/grp.h: Added.
15868 * libc/sys/win32/grp.c: Include <grp.h>.
15869
15870Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
15871
15872 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
15873 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
15874 Defined for all but strict ANSI.
15875 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
15876 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
15877 * libc/signal/signal.c (_signal_r): Changed from using
17c0c97d 15878 _MAX_SIGNALS to NSIG.
8a0efa53
CF
15879 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
15880 __hmap): Deleted.
15881 (__strace, __vfork_next_pid): New.
15882 (__exe_suffix): Default to 1.
15883 (passover, table): Understand quoted arguments.
15884 (vfork_init_first): New.
15885 (vfork_init): Initialize new process structure.
15886 (mainCRTStartup): Pass environ to main.
15887 * exceptions.c (__sig_mask): New
15888 (ehandler3): Ignore signals in mask.
15889 (really_exit): Remove CHILD_P test.
15890 * pipe.c (pipe, dup, dup2): Use new process and file structure.
15891 * resource.c (getrusage): Ditto.
15892 * signal.c (sigprocmask): New.
15893 * spawn.c (*): Rewritten.
15894 * syscalls.c (*): Use new process and file structure.
15895 (find_unused_handle): New.
15896 * syscalls.h (MAX_HANDLES): Deleted.
15897 (hinfo): Removed child_created_p.
15898 (MAX_CHILDREN): Deleted.
15899 (vfork_jmp_info, procinfo): New.
15900 * wait.c (*): Mostly new.
15901 * sys/strace.h (_STRACE_PARANOID): New.
15902 * sys/param.h: New file.
15903
15904Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15905
ba3ccd63
EB
15906 * libc/include/sys/stat.h: add S_BLKSIZE.
15907 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
15908 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
15909 types under win32.
15910 (mode_t): add a #else to avoid multiple definitons.
8a0efa53 15911
ba3ccd63
EB
15912 * libc/sys/win32/Makefile.in: add grp.c.
15913 * libc/sys/win32/grp.c: include grp.h correctly.
15914 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
15915 of the st structure with real information.
15916 * libc/sys/win32 (dirent): d_ino is of type ino_t.
8a0efa53
CF
15917
15918Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
15919
15920 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
15921 and (maybe) sparc64.
15922 (nlink_t): Provide typedef.
15923
15924Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15925
15926 * libc/sys/win32/grp.c: New file.
15927 * libc/sys/win32/include/grp.h: New file.
15928
15929Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15930
15931 * libc/include/machine/ieeefp.h: Added whitespace to make this
15932 file easier to maintain.
15933 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
15934 depending on the value of __LITTLE_ENDIAN__.
15935 On the sh3e, define _DOUBLE_IS_32BITS.
17c0c97d 15936
8a0efa53
CF
15937Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
15938
15939 * libc/sys/vr4300/syscalls.c: Added missing support
17c0c97d 15940 routines. _raise() and getpid().
8a0efa53
CF
15941
15942Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
15943
15944 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
15945
15946Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
15947
15948 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
ba3ccd63 15949 and VR4300 processor.
8a0efa53
CF
15950 * libc/sys/vr4300: Add directory.
15951 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
17c0c97d 15952 monitor run-time support.
8a0efa53
CF
15953
15954Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15955
15956 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
15957 * libc/stdlib/stdlib.tex: Don't include atol.def.
15958
15959Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15960
15961 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
15962
15963Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
15964
15965 * libc/ctype/Makefile.in: Fill in _to* dependencies.
15966
15967Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
15968
15969 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
15970 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
15971 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
15972 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
15973 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
15974
15975Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15976
15977 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
15978
15979Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15980
15981 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
15982 * libc/stdlib/atoff.c: New file.
15983 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
15984 * libc/stdlib/atoi.c (atol): Removed.
15985 * libc/stdlib/atol.c: Removed duplicate documentation.
15986
15987 * libc/include/ctype.h (_tolower, _toupper): Moved inside
15988 #ifndef _STRICT_ANSI conditional.
15989 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
15990 * libc/ctype/_tolower.c: New file.
15991 * libc/ctype/_toupper.c: New file.
15992 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
15993 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
15994 * libc/ctype/toascii.c (_toascii): Removed.
15995
15996Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
15997
15998 * libc/sys/sparc64/sys/types.h: Deleted.
15999
16000Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16001
16002 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
16003 and recognize Windows_95 systems.
16004
16005Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16006
16007 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
16008 and passed fds should be opened in text mode.
16009
16010Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16011
16012 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
16013 in __hmap, set to binary mode by default.
16014
16015Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16016
16017 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
16018 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
16019 vector 34.
16020
16021Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
16022
16023 * Makefile.in (install): Install all libraries found in the
16024 top level. If there's a sys/<type>/include directory,
16025 install those headers into include.
16026
16027 * libc/sys/win32/kernel.def351: Delete
16028 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
16029 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
16030 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
16031 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
16032 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
16033 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
16034 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
16035 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
16036
16037 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
16038 * libc/sys/win32/crt0.c: Force all env names to upper case.
16039 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
16040 * libc/sys/win32/*.c: Headers have moved.
16041 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
16042 __vfork_child_idx is now __vfork_child_ptr.
16043
16044 * posix/execvp (execvp): Don't crash if no PATH envname.
16045
16046Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16047
16048 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
16049 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
16050 through the _freelist instead of through the _reclaim list.
16051 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
16052 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
16053 sources.
16054
16055Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16056
16057 * libc/machine/h8500/setjmp.S: New file.
16058 * libc/include/machine/setjmp.h: Updated for H8/500.
16059
16060Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
16061
16062 * libc/sys/win32/syscalls.c (_open): More stracing.
16063 (_stat): Open the file in O_BINARY.
16064
16065Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16066
16067 * libc/machine/h8300/setjmp.S: New file.
16068 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
16069
16070Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
16071
16072 * libc/sys/win32/crt0.c (__exe_suffix): New global.
16073 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
16074 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
16075 __exe_suffix. Free fd_tab after setting env variable.
16076 (spawnv,_execve): Update.
16077 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
16078 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
16079 (__small_vfprintf): New function.
16080 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
16081 * libc/sys/win32/wait.c (cwait): Validate argument.
16082
16083 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
16084 (process_deletion_queue): Likewise.
16085
16086 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
16087
16088Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
16089
16090 * libc/sys/win32: Copyrights and gratuitous indenting.
16091
16092Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
16093
16094 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
16095 (process_deletion_queue): Likewise.
16096 (__close_all_files): New function.
16097 (_close): Only queue file deletion if really a file.
16098 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
16099 _P_APPEND_EXE.
16100 (_exit): Call __close_all_files.
16101
16102 * libc/stdlib/system.c: #include <errno.h>.
16103 (_system_r): Fix results in -DNO_EXEC case.
16104
16105 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
16106 Reorganize structure.
16107 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
16108 if argument is valid. Save directory name in DIR. malloc space
16109 for dirent struct separately.
16110 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
16111
16112 * libc/include/errno.h (ENAMETOOLONG): Define.
16113 * libc/string/strerror.c (strerror): Reword ENFILE.
16114 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
16115
16116Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
16117
16118 * libc/sys/win32/crt0.c (__progname): New global.
16119 (mainCRTStartup): Support strace=bitmask,filename.
16120 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
16121 * libc/sys/win32/syscalls.c (_write): Print parent trace message
16122 if error.
16123 (getcwd): Handle len too small. Convert '\\' to '/'.
16124 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
16125 Add prototypes for open, creat, fcntl.
16126 (O_APPEND): Change value to conform to Microsoft's value.
16127 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
16128
16129 * libc/stdlib/getopt.c: New file.
16130 * libc/stdlib/Makefile.in: Build it.
16131
16132Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
16133
16134 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
16135 Fix scanning of $PATH.
16136 * libc/posix/exec*.c: Call _execve, not execve.
16137 * libc/posix/execve.c: New file.
16138 * libc/posix/Makefile.in (OFILES): Add execve.o.
16139
16140 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
16141 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
16142 (_STRACE): If level==0, always print. Handle new bit mask scheme.
16143 * libc/sys/win32/crt0.c: Update _STRACE calls.
16144 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
16145
16146 * libc/sys/win32/smallprint.c (rn): Fix digit list.
16147
16148 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
16149 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
16150 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
16151 Print __seterrno trace message first.
16152 (_execve): Renamed from execve.
16153 (vfork): Update __strace usage.
16154 (__vfork_child_pid): Deleted.
16155 (__vfork_children, __vfork_child_idx): New globals.
16156 (_spawnvp): New function.
16157 (spawnvp, spawnv, _execve): Call _spawnvp.
16158 (init_child): Record child in __vfork_children.
16159 (__vfork_get_entry, __vfork_record_death): New functions.
16160 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
16161 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
16162 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
16163 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
16164 (children): New typedef.
16165 (__vfork_children,__vfork_child_idx): Declare.
16166 (__vfork_get_entry,__vfork_record_death): Declare.
16167 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
16168 (waitpid): Handle pid == -1.
16169 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
16170 * configure.in (i386-win32): Add -DNO_FORK.
16171 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
16172 * libc/reent/execr.c (_fork_r): Likewise.
16173 * libc/stdlib/system.c (do_system): New function.
16174 If WIN32, try to get shell path from $SH_PATH, use vfork.
16175 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
16176 otherwise return 0.
16177
16178Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
16179
16180 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
16181 * libc/sys/win32/fcntl.h: Don't include self.
16182 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
16183 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
16184 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
16185 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
16186 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
16187 Correct prototypes.
16188 * libc/sys/win32/strace.c: New file.
16189 * libc/sys/win32/smallprint.c: New file.
16190 * libc/sys/win32/crt0.c (func): Delete.
16191 (mainCRTStartup): Fix alloca usage. Set handles explictly.
16192 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
16193 * libc/sys/win32/exceptions.c: Lint.
16194 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
16195 Clean up handle usage.
16196 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
16197 (open.c): Default file type is text.
16198 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
17c0c97d 16199 * libc/sys/win32/advapi32.def: New
8a0efa53
CF
16200
16201Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
16202
16203 * configure.in (posix_dir, libc_posix_lib): New variables.
16204 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
16205 (i[345]86-*-win32): Define posix_dir.
16206 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
16207 (if unix_dir): Fix typo.
16208 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
16209 scandir,seekdir,telldir}: New files.
16210 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
16211 from libc/unix.
16212 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
16213 (SUBDIRS): Add posix.
16214 (SUBLIBS): Add $(LIBC_POSIX_LIB).
16215
16216 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
16217 (NSIG): Increase to 21.
16218 * libc/include/sys/unistd.h (pid_t): Move from here,
16219 * libc/include/sys/types.h (pid_t): to here.
16220
16221 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
16222 (__ptrace): Delete.
16223 (hinfo): New members close_exec_p, child_created_p.
16224 (struct exception_list): Define.
16225 (__hmap): Redefine as pointer to table.
16226 (__parent_hmap, __child_hmap): New globals.
16227 (__set_errno, __really_exit): Declare.
16228 (__vfork_child_pid): Declare.
16229 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
16230 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
16231 (__parent_hmap, __child_hmap): New globals.
16232 (__hmap): Redefine as pointer to active map.
16233 (__get_console): New function.
16234 (mainCRTStartup): Change leading '=' in environ vars to '!'.
16235 (env __FD_TABLE__): Watch for this and initialize our fd/handle
16236 mapping table from it if defined.
16237 (argv, envp): Dump if __strace >= 4.
16238 (main): Call here.
16239 * libc/sys/win32/exceptions.c (myp): Redefine.
16240 (__syscalls_b): Delete.
16241 (__stack_trace): New function.
16242 (ehandler3): Update to use _STRACE. Print stack trace.
16243 Call __really_exit instead of exit.
16244 (init_exceptions): Delete args argc,argv. New arg mine.
16245 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
16246 FindFirstFileA, FindNextFileA, GetComputerNameA,
16247 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
16248 * libc/sys/win32/signal.c (signal): Validate arg.
16249 (alarm, sleep): Define as stubs for now.
16250 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
16251 (__syscalls_b, errno): Delete.
16252 (__vfork_child_pid, __vfork_jmp_buf): New globals.
16253 (__seterrno): Handle more errors.
16254 (__sys_printf): Renamed from _ptrace.
16255 (__really_exit): New function.
16256 (queue_file_deletion, process_deletion_queue): New functions.
16257 (__resume_parent): New function.
16258 (_unlink): Handle trying to delete open file.
16259 (__totime_t): Renamed from totime_t.
16260 (setsid, __read, __write): New functions.
16261 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
16262 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
16263 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
16264 * libc/sys/win32/console.c: Update to new definition of __hmap.
16265 * libc/sys/win32/Makefile.in: Build new files.
16266 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
16267 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
16268 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
16269 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
16270
16271Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
16272
16273 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
16274
16275Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16276
16277 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
16278 have been made to the master dtoa.c sources (from netlib.att.com)
16279 since they were integrated into newlib in early 1992. Fixes
16280 problems with storage leaks and handling of numbers with very
16281 negative exponents.
17c0c97d 16282
8a0efa53
CF
16283Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16284
16285 * Makefile.in (all): set rootpre and srcrootpre before calling
16286 sub-makes.
16287
16288Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
16289
16290 * libc/sys/win32/crt0.c: Change __hmap usage.
16291 * libc/sys/win32/exceptions.c: Use _ptrace call.
16292 * libc/sys/win32/syscalls.c: Use _ptrace call.
16293 (read, write): Cope with DOS style CRLF when in TEXT mode.
16294 * libc/sys/win32/syscalls.h: Declare hinfo struct.
16295 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
16296 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
16297 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
16298 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
16299
16300Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16301
16302 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
16303
16304 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
16305 wrappers for hypot() and remainder() for BSD libm compatibility.
16306 These are public domain implementations written by me for the
16307 NetBSD libm some time ago. Note cabs() is required by ucbtest.
16308 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
16309 (fobj): Added wf_cabs.o and wf_drem.o.
16310
16311Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16312
16313 * libc/sys/h8500hms/misc.c: New file.
16314 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
16315
16316Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16317
16318 * libc/time/localtime.c (localtime): Fix problem with leap year
16319 handling. Stole algorithm from Arthur David Olson's tz code.
17c0c97d 16320
8a0efa53
CF
16321Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
16322
16323 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
16324
16325 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
16326 (_exit): Use argument.
16327
16328Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
16329
16330 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
16331
16332Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
16333
16334 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
16335
16336Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16337
16338 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
16339 target_cflags.
16340
16341Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
16342
16343 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
16344 ptrace with case insensitivity
16345 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
17c0c97d 16346 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
8a0efa53
CF
16347 New files.
16348
16349Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
16350
16351 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
16352 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
16353 (all, install, *clean): Use new multilib support.
16354 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
16355
16356Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
16357
16358 * libc/include/sys/signal.h (__WIN32__): New.
16359
16360 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
16361
16362 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
16363 (ulp, b2d): Handle 32 bit doubles.
16364 * libc/stdlib/mprec.h: Handle 32 bit doubles.
16365 * libc/stdlib/strtod.c (_strtod_r): Ditto.
16366
16367Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
16368
16369 from medp@primag.co.uk:
16370 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
16371 dynamically allocated buffers.
16372
16373Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
16374
16375 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
16376 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
16377
16378Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16379
16380 * configure.in (powerpc): Fix previous fix.
16381
16382Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16383
16384 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
16385 directories for this target.
16386
16387Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
16388
16389 * configure.in (hppa): Add machine_dir definition.
16390 * libc/machine/hppa: New directory with PA specific implementations
16391 of the basic memory/string functions.
16392
16393Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16394
16395 * configure.in: Update current PowerPC multilib directories.
16396 Split big and little endian configurations.
16397
16398Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
16399
16400 * configure.in: Add --enable-single-float option to configure to
16401 control use of MIPS single-float directories. Default to yes.
16402
16403 * Makefile.in (all): Don't recurse into multilib directory if it
16404 does not exist.
16405
16406Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16407
16408 * libc/sys/sh/syscalls.c: Fix typo.
16409
16410Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
16411
16412 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
16413 Pass down DLLTOOL.
16414 * libc/include/process.h: Define WAIT_CHILD.
16415 * libc/include/types.h: Get sizes right for win32.
16416 * configure.in (i386-*-pe): Becomes i386-win32.
16417 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
16418 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
16419 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
16420 is defined.
16421
16422Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
16423
16424 * configure.in (i[345]86-*-pe): New target (NT).
16425 * host/any: DLLTOOL new.
16426 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
16427 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
16428 WIN32 (just enough to cross host the comp-tools).
16429
16430Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
16431
16432 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
16433 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
16434
16435Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
16436
16437 * libc/include/machine/ieeefp.h (arm): Change to always be
16438 __IEEE_BIG_ENDIAN (even on little endian ARM's).
16439
16440Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
16441
16442 * libc/sys/crt0.S: Initialze sp, and call exit after main.
16443 * libc/sys/syscalls.c (abort): New.
16444 * configure.in (arm): Define ABORT_PROVIDED.
16445
16446Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16447
16448 * configure.in (powerpc): Define multidirs.
16449
16450Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
16451
16452 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
16453
16454Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
16455
16456 * configure.in (sparclite): Delete target_cflags. Define multidirs.
16457
16458Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
16459
16460 * configure.in, libc/include/machine/ieeefp.h: Modified
16461 for arm:
16462 libc/machine/arm/*, libc/sys/arm/*: New
16463
16464Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16465
16466 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
16467 __powerpc__ when determining endianness.
16468
16469Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16470
16471 * configure.in (m68*): Add multidir for the m68332.
16472
16473 * host/any (CC): Fix typo in last change.
16474
16475Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
16476
16477 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
16478 when determining endianness.
16479 * libc/include/machine/ieeefp.h: Ditto.
16480 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
16481 operands.
16482
16483Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
16484
16485 * libc/include/errno.h (ENOTEMPTY): Define.
16486
16487Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16488
16489 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
16490 target_cflags.
16491
16492 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
16493 and umultiply.o.
16494
16495 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
16496 instead of only when open succeeds. ANSI requires that multiple
16497 calls to tmpnam() result in different files.
16498
16499 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
16500 objects pulled in from /lib/libc.a that must be renamed before
16501 being pulled into newlib. /lib/libc.a's div.o conflicted with
16502 newlib's file with the same name.
16503
16504 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
16505
16506 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
16507 the build tree will only be used if the executables are present
16508 (instead of just the Makefiles).
16509
16510 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
16511 wcstombs): Define.
16512 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
16513 versions of these functions that I orignally wrote for the
16514 NetBSD C library.
16515 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
16516 versions I wrote for NetBSD.
16517
16518Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
16519
16520 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
16521 * libc/sys/sparclite/crt0.s: ditto.
16522
16523Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
16524
16525 * configure.in: Add soft-float for proelf.
16526
16527Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
16528
16529 * libc/stdlib/mprec.h (Bcopy): Copy the right number
16530 of bytes.
16531
16532Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
16533
16534 * Makefile.in (all): Depend on `force'.
16535 * configure.in (syscall_dir): Renamed from fake_sys_dir.
16536 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
16537 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
16538 * libc/Makefile.in: Likewise.
16539 * libc/include/reent.h: Update syscall references.
16540 (_fcntl_r): Add prototype.
16541 * libc/syscalls/*.c #include <reent.h>.
16542 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
16543
16544Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
16545
16546 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
16547 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
16548 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
16549 (time.h, sys/types.h): Always include (even if MSDOS).
16550 (stat): Fix prototype.
16551
16552Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
16553
16554 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
16555
16556Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
16557
16558 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
16559
16560Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
16561
16562 * libc/include/regdef.h: New file.
16563 * libc/machine/mips/machine/regdef.h: New file.
16564
16565Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
16566
16567 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
16568
16569Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
16570
16571 * libc/sys/sh/crt0.S: Pass main's return to exit.
16572 * libc/sys/sh/trap.S: Put errno in the right place.
16573
16574Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16575
16576 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
16577 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
16578 * libm/math/ef_rem_pio2.c: Likewise.
16579 * libm/math/e_log10.c: Remove unused static one.
16580 * libm/math/ef_log10.c: Likewise.
16581 * libm/math/s_frexp.c: Likewise.
16582 * libm/math/sf_frexp.c: Likewise.
16583
16584Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
16585
16586 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
16587 longjmp.S: Upgraded.
16588 * libc/sys/go32/sys/setjmp.h: Upgraded.
16589 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
16590
16591Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16592
16593 * configure.in: Add many entries to multidirs for mips targets.
16594
16595Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16596
16597 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
16598 5.2 which fixes bug where jn(-1,x) is three times larger than
16599 the actual answer.
16600 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
16601
16602Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
16603
16604 * libc/sys/w65/sys/syscalls.h: New file
16605 * libc/include/machine/ieeefp.h: W65 support.
16606 * libc/include/sys/config.h: Ditto.
16607 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
16608 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
16609 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
16610
16611Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16612
16613 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
16614
16615Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
16616
16617 * Makefile.in, configure.in: Remove any references to the old
16618 "stub" dir.
16619
16620Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16621
16622 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
16623 uses ... in prototype.
16624
16625
16626Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
16627
16628 * libc/sys/a29khif/sys/libconfig.h: Remove.
16629 * libc/sys/go32/sys/libconfig.h: Remove.
16630 * libc/sys/sun4/sys/libconfig.h: Remove.
16631 * libc/sys/sysvi386/sys/libconfig.h: Remove.
16632 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
16633 * libc/sys/sparc64/sys/libconfig.h: Remove.
16634
16635 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
16636 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
16637 * libc/include/math.h: Change all uses of _FLOAT_RET and
16638 _FLOAT_ARG to float.
16639 * libm/test/math.c: Likewise.
16640 * testsuite/libm.sac/math.c: Likewise.
16641 * testsuite/libm.sac/working/math.c: Likewise.
16642
16643Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
16644
16645 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
16646 gcc calls gas with endian option.
16647 * configure.in (sh): Build little endian version too.
16648
16649Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16650
16651 * configure.in: Configure big and little endian versions for MIPS
16652 targets.
16653
16654Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
16655
16656 * libc/include/limits.h: Deleted.
16657 * libc/include/machine/limits.h: Deleted.
16658
16659Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
16660
16661 * ChangeLog: Remove stub directory. This has all been rewritten
16662 and moved to devo/libgloss.
16663
16664Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16665
16666 * Makefile.in (dvi): Add to info target, use $@ in sub make.
16667 (docs): Merge into info target.
16668 * libm/Makefile.in (dvi): Add $(srcdir).
16669 * libm/math/Makefile.in (chobjs): Remove underscores from file
16670 names. Texinfo doesn't like them.
16671 (wacos.def, ...): Add explicit targets for all .def files.
16672 * libm/math/math.tex: Remove underscores from @include file names.
16673 * doc/Makefile.in (dvi): Add dummy target.
16674 * testsuite/Makefile.in (dvi): Add dummy target.
16675
16676Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
16677
16678 * Makefile.in (VERSION): Define. For net newlib releases.
16679
16680Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
16681
16682 * README: New file.
16683
16684Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
16685
16686 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
16687
16688Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16689
16690 * libc/stdlib/setenv.c (_findenv): Declare.
16691
16692 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
16693 fcntl to not use _EXFUN, and change string parameters to open and
16694 creat to be ``const char *''.
16695 * libc/sys/sparc64/sys/fcntl.h: Likewise.
16696 * libc/sys/sparc64/creat.c (creat): Make PATH const.
16697 * libc/syscalls/sysopen.c: Include <fcntl.h>.
16698 (open) Make _FILE const.
16699 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
16700 (_creat): Make PATH const.
16701 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
16702 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
16703 * libc/sys/m88kbug/syscalls.c (open): Likewise.
16704 * libc/sys/sh/syscalls.c (_open): Likewise.
16705 * stub/shared/glue.c (open): Make BUF const.
16706 * stub/ex93x/syscalls.c (open): Make FILENAME const.
16707
16708Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
16709
16710 * libc/include/errno.h: Add ENMFILE
16711 * libc/include/sys/config.h: Support Z8000.
16712 * libc/include/sys/signal.h: New signals for go32.
16713 * libc/machine/h8500/psi.S (__addpsir0r0): New function
16714 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
16715 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
16716 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
16717 size is variable, depending upon CHUNK_POWER.
16718 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
16719
16720Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
16721
16722 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
16723
16724Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16725
16726 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
16727
16728Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16729
16730 * configure.in: Change i[34]86 to i[345]86.
16731
16732 * libc/include/math.h: Don't define HUGE_VAL if it is already
16733 defined.
16734
16735Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16736
16737 * testsuite/libm.sac/test_erfc.c: Correct some result values.
16738 * testsuite/libm.sac/test_gammaf.c: Likewise.
16739 * testsuite/libm.sac/test_sin.c: Likewise.
16740 * testsuite/libm.sac/test_tanh.c: Likewise.
16741
16742Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16743
16744 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
16745 already set. Define typedefs __int32_t and __uint32_t.
16746 * libc/include/math.h: Include <machine/ieeefp.h>.
16747 (union __dmath): Use __uint32_t.
16748 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
16749 instead of int and unsigned int.
16750
16751Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16752
16753 Replace the math library with the SunPRO fdlibm package.
16754 * libm/math: Completely changed all files.
16755 * libm/ieeefp: Remove contents and directory.
16756 * libm/Makefile.in (LIBM_FP_LIB): Remove.
16757 (SUBDIRS): Just set to math/lib.a.
16758 * libm/libm.texinfo: Updated for new library.
16759 * libc/include/math.h: Extensive changes for new math library.
16760 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
16761 from _FLOAT_ARG to float.
16762 (maxpowtwo, maxpowtwof): Don't declare.
16763 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
16764 (libm_fp_lib): Removed.
16765 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
16766 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
16767 argument to ${RUNTEST}.
16768 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
16769 (.c.o): New rule.
16770 (RUNTESTFLAGS): Set CC and CFLAGS.
16771 (TESTS): Remove test_log2 and test_log2f.
16772 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
16773 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
16774 _FLOAT_ARG, for single precision argument type.
16775 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
16776 expected failure. Close the input pipe.
16777 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
16778 Correct misspelling of inaccurate.
16779 (test_mok): Use ``inaccurate'', not ``wrong''.
16780 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
16781 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
16782 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
16783 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
16784 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
16785 test_yn.c): Correct many result values. Many are still wrong.
16786
16787 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
16788 just copy the string.
16789 (_gcvt): Always return the buffer.
16790
16791Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16792
16793 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
16794
16795Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
16796
16797 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
16798 structure.
16799 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
16800 (_reclaim_reent): declare new entry point.
16801 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
16802 functions.
16803
16804 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
16805 ever allocated, so that we can later reclaim them all.
16806 (pow5mult): make reentrant.
16807
16808 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
16809 so that when given NULL as a buffer, return a pointer to static
16810 space in the rent structure. This is not documented behaviour;
16811 it's only to support ecvt and fcvt, which aren't ANSI anyway.
16812 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
16813 therefore become reentrant).
17c0c97d 16814
8a0efa53
CF
16815 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
16816
16817Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16818
16819 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
16820
16821Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16822
16823 * Makefile.in: Make link to libg.a after libc.a; this is needed
16824 for the testsuites to build executables when everything comes
16825 from the tree.
16826
16827Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
16828
16829 * libc/Makefile.in: Add a VERSION variable so we can keep track.
16830 * libm/Makefile.in: Add a VERSION variable so we can keep track.
16831
16832Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16833
16834 * libc/include/stdio.h: Use __VALIST, not va_list.
16835
16836Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
16837
16838 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
16839 testsuite/libm.sac/execute.exp:
16840 Replace error proc calls with perror calls.
16841
16842Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
16843
16844 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
16845 * libc/include/time.h: #define NULL as 0L.
16846
16847Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
16848
16849 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
16850 care of it.
16851
16852Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16853
16854 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
16855 not __unix__.
16856
16857Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
16858
16859 * configure.in (TARGET_CFLAGS): Set -O2 as default.
16860 (z8k-*-*): Use syscalls fake sys dir.
16861 * libc/sys/z8k/glue.c: Rename syscalls.
16862 * libc/sys/go32/Makefile.in: Use new routines.
16863 * libc/machine/Makefile.in: Fix typo in ln stuff.
16864
16865Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16866
16867 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
16868 * libc/Makefile.in (crt0.o): Likewise.
16869 * libc/machine/Makefile.in (lib.a): Likewise.
16870 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
16871
16872 All Makefile.in files: Added mostlyclean, realclean and distclean
16873 targets.
16874
16875 * Makefile.in: Don't bother to unexport XTRAFLAGS or
16876 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
16877 the top level Makefile.
16878
16879Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
16880
16881 * libc/sys/sparc64/sys/stat.h: New file.
16882 * libc/sys/sparc64/sys/time.h: New file.
16883 * libc/sys/sparc64/sys/types.h: New file.
16884
16885Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
16886
16887 * stub/ex93x/crt0.s (start): Add code to clear bss.
16888
16889Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
16890
16891 * libc/include/sys/types.h (time_t): Properly protect inside
16892 #ifndef __time_t_defined.
16893
16894 * libc/stdio/fileno.c: New file.
16895 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
16896 (fileno.o): Add dependency.
16897 * libc/include/stdio.h (__sgetc): Rename never to _never.
16898 (fileno macro): Disable, needs to do CHECK_INIT first.
16899
16900Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
16901
16902 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
ba3ccd63 16903 goal.
8a0efa53
CF
16904
16905 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
16906 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
16907 runtest.
16908 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
16909 runtest.
16910
16911Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
16912
16913 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
16914 of the various constants.
16915
16916Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
16917
16918 * libc/include/math.h: #ifndef __math_68881 around things which
16919 conflict with the (gcc-provided) inline functions in
16920 gcc/ginclude/math-68881.h.
16921
16922Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
16923
16924 * libc/include/_syslist.h (_gettimeofday): Define.
16925 (_times): Ditto.
16926 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
16927 (struct tms, timeval, timezone): Declare.
16928 (_gettimeofday_r, _times_r): Declare.
16929 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
16930 #ifdef _CLOCK_T_ surrounding definition of clock_t.
16931 (time_t): Add multiple definition protection, __time_t_defined.
16932 * libc/include/sys/time.h: Don't #include <time.h>.
16933 Always define struct timezone (remove #ifndef _TIME_H_).
16934 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
16935 #ifdef _CLOCK_T_ surrounding definition of clock_t.
16936 * libc/reent/Makefile.in (OFILES): Add timer.o.
16937 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
16938 * libc/reent/timer.c: New file.
16939 * libc/time/clock.c: #include <reent.h>.
16940 (clock): Call _times_r instead of times.
16941 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
16942 HAVE_GET_TIME_OF_DAY.
16943 Add comment regarding supporting OS routine(s) required (for docs).
16944 #include <reent.h>.
16945 (time): Call _gettimeofday_r instead of gettimeofday.
16946 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
16947 * libc/time/ctime.c: Ditto.
16948 * libc/time/strftime.c: Ditto.
16949 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
16950 (TEMPLATE_SFILES_R): Define here. Also define times.
16951 Add times_r.o/times.S dependence.
16952 (time2.c, junk.c): Deleted.
16953 * libc/sys/sparc64/time2.c: Deleted.
16954 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
16955
16956 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
16957 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
16958 * libc/sys/sparc64/junk.c: Deleted.
16959
16960Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
16961
16962 * libc/sys/sparc64/Makefile.in: Add times syscall.
16963 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
16964 be used with and without it. Add comment clarifying Medium/Anywhere
16965 model requirements.
16966 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
16967 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
16968 even if obsolete.
16969
16970Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
16971
16972 * configure.in (target_cflags): Move init.
16973 (sparc64-*-*): Define HAVE_BLKSIZE.
16974
16975Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
16976
16977 * libc/include/sys/_types.h: New file.
16978 * libc/include/reent.h: #include it.
16979 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
16980 MISSING_SYSCALL_NAMES.
16981 Sort syscalls.
16982 * libc/include/_syslist.h: Remove _raise.
16983 * libc/reent/signalr.c: New file.
16984 * libc/reent/Makefile.in: Compile it.
16985 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
16986 Add doc for raise and _raise_r.
16987 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
16988 (raise): Call _raise_r.
16989 (_raise_r): Call _getpid_r and _kill_r.
16990 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
16991 (abort): Loop forever calling raise and _exit.
16992
16993Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16994
16995 * configure.in: Remove extraneous echo.
16996
16997Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
16998
16999 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
17000 collision with unistd.h, and fix for svr4.
17001
17002Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
17003
17004 * libc/stdio/local.h (_llicvt): Declare.
17005 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
17006 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
17007 (_llicvt): Define.
17008 (_sicvt): Fix function header (`value' is short).
17009 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
17010 Add printing of long long's support.
17011 Add printing of 8 byte pointer support.
17012
17013Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
17014
17015 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
17c0c97d 17016 stat, chmod): New hooks.
8a0efa53
CF
17017 (sbrk): Abort if stack and heap collide.
17018 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
17019 shortcut when given small args.
17020 * libc/machine/sh/setjmp.s: Rewritten.
17021 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
17022 of cmp/str instruction.
17023
17024Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17025
17026 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
17027 and machine_dir powerpc.
17028 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
17029 Add cases for __powerpc__.
17030 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
17031 New files.
17032
17033 * libc/include/stdio.h (_iprintf_r): Declare correctly.
17034
17035Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
17036
17037 * libc/stdlib/callocr.c: New file with _calloc_r in it.
17038 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
17039
17040Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
17041
17042 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
17043 (print_e): More comments to describe args, etc.
17044 "type" arg may now be 'g' or 'G' for %g/G format --> remove
17045 trailing blanks.
17046 (_gcvt): Remove locals decpt, sign, end, p, done.
17047 More comments for print_e invocation.
17048 Pass "type" to print_e as is (g/G).
17049
17050Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
17051
17052 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
17c0c97d 17053 stock m68000.
8a0efa53
CF
17054
17055Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
17056
17057 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
17058 works with any sized pointer, including ones bigger than ints and
17059 longs.
17060
17061Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
17062
17063 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
17064
17065Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17066
17067 * libc/include/stdlib.h (_calloc_r): Add prototype.
17068 * libc/machine/h8500/negsi2.c: New file.
17069 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
17070 large unsigned numbers.
17071 * libc/machine/h8500/cmpsi.c: Add cmppsi.
17072 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
17073 works when sizeof(size_t) != sizeof(char *).
17074 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
17075 get play area
17076 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
17077
17078Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
17079
17080 * libc/include/assert.h (assert): Handle -traditional.
17081
17082Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
17083
17084 * Makefile.in: added ; after every "fi" and "done" that wasn't at
17085 the end of a line (ie. anything before a backslash continuation)
17086 so that bash handles them.
17087
17088Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
17089
17090 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
ba3ccd63 17091 stat to lstat
8a0efa53
CF
17092
17093Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
17094
17095 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
17096 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
17097 libc/machine/sh/udivsi3.s: Use new calling convention.
17098
17099Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
17100
17101 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
17102 chmod, access, chdir, chown by making _path const. Also fix _amode
17103 param of access.
17104
17105Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
17106
17107 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
17108 _khif_tmpnam, because it doesn't comply with ANSI but may be
17109 useful anyway. Real tmpnam was already in libc/stdio, and was
17c0c97d 17110 colliding with this one (pr 2176.)
8a0efa53
CF
17111 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
17112 the wrong idea anyhow.
17113
17114Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
17115
17116 * configure.in: Remove h8300h, we have multilib now.
17117
17118Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
17119
17120 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
17121 functions, to get preference over the ones in libiberty (since we
17122 provide correct declarations in <string.h>.
17123 * libc/string/Makefile.in: add support for strncasecmp,
17124 strcasecmp.
17125
17126Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
17127
17128 * Change netware config not to look for cpu explicitly.
17129
17130Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
17131
17132 * libc/sys/sparc64/{creat.c,junk.c}: New files.
17133 * libc/sys/sparc64/Makefile.in: Add dependencies.
17134
17135Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
17136
17137 * configure.in: Clean up v9 a bit, new "os" aoutv8.
17138
17139Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
17140
17141 * libc/include/sys/reent.h: make structure smaller by allocating
17142 some stuff when needed.
17143 * libc/signal/signal.c: allocate as needed
17144 * libc/stdio/findfp.c,stdio/local.h: ditto
17145 * libc/stdlib/mprec.c: ditto
17146
17147 * libc/time/localtime.c: don't return a dangling stack ptr.
17148
17149Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
17150
17151 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
17152
17153Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17154
17155 * libc/include/stdio.h (__sputc): comment out static inline which
17156 confuses coff toolchains.
17157
17158Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
17159
17160 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
17161 _write.s, getpid.c, kill.c, read.s}:
17162 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
17163 through the syscalls directory.
17164
17165Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
17166
17167 * configure.in: fixed double quote gotcha.
17168
17169Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
17170
17171 * stub/ex931: stub library for sparclite board.
17172 * stub/idp: Renamed from mc68ec. Added contructor table
17173 stuff to linker script.
17174 * stub/mvme135: Renamed from m68kmvme. Added contructor table
17175 stuff to linker script.
17176
17177Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17178
17179 * configure.in: Configure testsuites only if they exist.
17180
17181Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17182
17183 * configure.in: Don't set machine_dir for i386 until there is
17184 something in libc/machine/i386 to compile. For i[34]86-*-netware*
17185 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
17186 CLOCK_PROVIDED and MALLOC_PROVIDED.
17187
17188 * libc/sys/netware: New directory. Contains simplistic and
17189 probably incorrect stubs for NetWare. Should be enough to load
17190 the library.
17191 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
17192 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
17193 stub files.
17194
17195 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
17196 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
17197 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
17198 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
17199
17200Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
17201
17202 * testsuite/Makefile.in: add "docs" dummy target for consistency
17203 with rest of newlib; turn "info" and "install-info" into dummy
17204 targets, since they wouldn't have worked. (Depended on
17205 nonexistent "doc" subdir.)
17206
17207Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
17208
17209 * configure.in: handle mips* instead of mips
17210
17211Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
17212
17213 * libc/include/sys/dirent.h: New file. If it is not overridden by
17214 a version of libc/sys/*/sys/dirent.h, it includes the next
17215 <dirent.h> file in case there is one lurking somewhere.
17216
17217Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17218
17219 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
17220 compliance, namely: Accept a minus sign. Consider a single 0 with
17221 a radix of 0 as being a conversion. Determine overflow correctly.
17222 If an overflow occurs, set *ptr to the end of the number, not the
17223 middle.
17224 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
17225
17226Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
17227
17228 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
17229
17230Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
17231
17232 * Makefile.in (INSTALL): Use $srcrootpre.
17233 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
17234 can't handle it.
17235 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
17236 it.
17237 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
17238 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
17239 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
17240 * libm/math/Makefile.in (matherr.o): Ditto.
17241
17242Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17243
17244 * configure.in: Build multidirs for z8k.
17245 * libc/include/stdlib.h (_strtoul_r): add prototype.
17246 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
17247 * libc/include/machine/setjmp.h: Add for z8k.
17248 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
17249 * libc/sys/z8ksim/glue.c: tidy up.
17250
17251Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
17252
17253 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
17254 New files. Requires execve system call.
17255 * libc/unix/Makefile.in: Use them.
17256 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
17257 Deleted, moved to libc/unix.
17258 * libc/sys/sparc64/Makefile.in: Remove them.
17259
17260Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
17261
17262 * libc/sys/sparc64/{template.S template_r.S}: New files.
17263 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
17264 from templates.
17265 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
17266 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
17267 umask.S unlink.S wait4.S write.S}: Removed, now built from
17268 templates.
17269
17270Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
17271
17272 * libc/time/time.c: #include <_ansi.h>.
17273
17274Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
17275
17276 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
17277
17278Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17279
17280 * configure.in: match m8* rather than m88k so that m88110 is
17281 recognized as well.
17282
17283Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
17284
17285 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
17286 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
17287 misc.c: New file.
17288
17289 * configure.in: Add multilib support to h8300.
17290
17291Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
17292
17293 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
17294 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
17295 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
17296
17297Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17298
17299 * configure.in: Corrected multidirs for sparc target.
17300
17301Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17302
17303 Support for building newlib multiple times with different
17304 compilation flags.
17305 * configure.in: Only configure doc at top level. Set multidirs
17306 when appropriate for target, unless not at top level. If
17307 multidirs is set, independently configure each subdirectory.
17308 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
17309 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
17310 automagically set by configure.in.
17311 (all): If MULTIDIRS is set, build multiple copies of libraries.
17312 (install): If MULTIDIRS is set, install multiple copies of
17313 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
17314 MULTISUBDIR is set, don't bother to install header files.
17315 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
17316 ${srcrootpre}.
17317 * stub/configure.in: Set MULTISUBDIR appropriately.
17318 * stub/Makefile.in (install): Install in
17319 $(tooldir)/lib/$(MULTISUBDIR).
17320 * All Makefile.in files: Define SRCTOP as well as TOP.
17321
17322Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
17323
17324 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
17325 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
17326
17327Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
17328
17329 * libc/sys/h8300hms/exit.c (_exit): New function.
17330
17331Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17332
17333 * configure.in: recognize m88110.
17334
17335Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17336
17337 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
17338 prototype main and call with args.
17339
17340Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
17341
17342 First real try at system traps for m88k-bug.
17343 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
17344 to real trap calls.
17345 * libc/sys/m88kbug/sys/systraps.h: new file.
17346
17347Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17348
17349 Patches to fix info building when target does not use sys
17350 directory.
17351 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
17352 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
17353 libc/sys.tex.
17354 * libc/sys/Makefile.in (doc): do nothing.
17355
17356Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17357
17358 * libc/Makefile.in (CRT0): new macro.
17359 (all): depend on $(CRT0) rather than crt0.o.
17360
17361 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
17362 do not default crt0, instead, set crt0 and crt0_dir based on
17363 sys_dir and stub_dir.
17364
17365 * Makefile.in (CRT0_DIR): new macro.
17366 (all): depend on $(CRT0) rather than crt0.o which may not exist.
17367 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
17368 $(CRT0).
17369 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
17370
17371Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17372
17c0c97d
EB
17373 * testsuite/lib/libm.exp:
17374 added code to support compiling and linking of tests for
17375 libm.sac (paranoia to be added next) and processing the
8a0efa53
CF
17376 pass or failure of the tests.
17377
17378 * testsuite/config/unix-libm.exp:
17379 platform specific proc's for dealing with compiler, linker
17380 and the way we execute and process the test results.
17381
17382 * testsuite/libm.sac/execute.exp:
17c0c97d 17383 generic framework for the sac tests. the config and lib
8a0efa53
CF
17384 expect code for specific platforms tie it all together.
17385
17386 * testsuite/libm.sac/test_is.c:
17387 changed the output of the test to be consistant with the
17388 other tests. parsing of pass nad fail messages is now fixed.
17389
17390Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
17391
17392 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
17393 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
17394 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
17395 #ifdef __cplusplus, surround by extern ""C { ... }.
17396 * libc/include/assert.h: Do *not* protect assert.h against
17397 multiple inclusion! Also, #undef it before #define, to allow
17398 redefinition.
17399 * libc/include/stdio.h (getlogin, cuserid): Removed. These
17400 should be only in unistd.h.
17401
17402 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
17403 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
17404 ... }.
17405
17406Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
17407
17408 * libc/machine/sparc/Makefile.in: Must create a library, even
17409 if empty.
17410
17411Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17412
17413 * configure.in: set machine_dir for m88k. edit crt0 definition
17414 into makefiles.
17415
17416 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
17417
17418 * libc/Makefile.in (all): also build crt0.o.
17419
17420 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
17421 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
17422 to remove CRT0.
17423
17424 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
17425 (all): reworked to build in place.
17426 (clean): remove lib.a
17427 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
17428
17429 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
17430 (_start): key off edata rather than _start_bss.
17431
17432Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
17433
17434 * libc/include/sys/unistd.h, libc/include/reent.h,
17435 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
17436
17437Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17438
17439 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
17440
17441 * Makefile.in (libc.a): break into two rules, one for libc.a and
17442 one for libc/libc.a. Force subdirs current before rebuilding
17443 library.
17444 (libm.a): break into two rules, one for libm.a and one for
17445 libm/libm.a. Force subdirs current before rebuilding library.
17446
17447 * libc/Makefile.in (SUBLIBS): fix typo.
17448
17449 * libc/sys/Makefile.in (all): force descent into subdirs, then
17450 rebuild library iff out of of date.
17451
17452Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17453
17454 Rework so that library is built and then finished rather than
17455 being built on each invocation of make.
17456
17457 * host/any (machine_dir, sys_dir, signal_dir): these are not
17458 shared and have been moved to their associated Makefile.in's.
17459 (AR_FLAGS): switch to qc which is faster.
17460 * configure.in: no longer assign machine_dir for m88k. set
17461 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
17462 stub_dir set, then add to configdirs. add comment about silly
17463 configuration.
17464 (configdirs): drop stub. It will be added only
17465 when needed.
17466 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
17467 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
17468 stub_lib, crt0): new variables for tailoring lower level
17469 makefiles. Assign accordingly and edit into makefiles.
17470 * libm/Makefile.in: updated copyright.
17471 (TARGETLIB): removed.
17472 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
17473 (SUBDIRS): removed TARGETDEP_DIRS.
17474 (LIBM_FP_LIB, SUBLIBS): new macros.
17475 (all): reworked.
17476 (force): new target to force rebuilds.
17477 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17478 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
17479 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
17480 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
17481 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
17482 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
17483 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
17484 stub/m68kmvme/Makefile.in: updated copyright.
17485 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
17486 (all): reworked. made this the default rule.
17487 (clean): also remove lib.a.
17488 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17489 * stub/Makefile.in: updated copyright.
17490 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
17491 (stub_lib): new macro.
17492 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
17493 RANLIB.
17494 (all): reworked.
17495 (clean, install): assume stub_dir exists.
17496 (Makefile): depend on configure.in. call $(SHELL) rather than
17497 sh. drop redundant ./
17498 * stub/configure.in (stublib): new macro, assign it, edit it into
17499 makefiles.
17500 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
17501 updated copyright.
17502 (all): reworked.
17503 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17504 * libc/Makefile.in (TARGETCRT0): removed.
17505 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
17506 TARGETCRT0.
17507 (SUBDIRS): drop TARGETDEP_DIRS.
17508 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
17509 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
17510 (force): new target to force rebuilds.
17511 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
17512 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
17513 removed.
17514 (clean): assume sys_dir always exists.
17515 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
17516 drop redundant ./
17517 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
17518 libc/locale/Makefile.in, libc/machine/Makefile.in,
17519 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
17520 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
17521 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
17522 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
17523 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
17524 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
17525 libc/signal/Makefile.in, libc/stdio/Makefile.in,
17526 libc/stdlib/Makefile.in, libc/string/Makefile.in,
17527 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
17528 libc/time/Makefile.in, libc/unix/Makefile.in,
17529 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
17530 (TARGETLIB): removed.
17531 (all): reworked.
17532 (clean): also remove lib.a.
17533 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17534 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
17535 new macros.
17536 (SUBDIRS): moved to follow frag inclusion, change stub to
17537 stub_dir.
17538 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
17539 are now set in the libc Makefile.
17540 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
17541 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
17542 TARGETCRT0.
17543 (force): new target to force rebuilds.
17544 * stub/configure.in: determine and set stub_lib for for Makefile.
17545
17546Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
17547
17548 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
17549 crt0.s renamed to crt0.S.
17550 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
17551
17552 * libc/machine/h8300/Makefile.in: Make `all' the default target.
17553 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
17554 h8300h.
17555 * libc/machine/h8300/defines.h: Add macros to handle pointers for
17556 h8300 (16 bits) and h8300h (32 bits).
17557 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
17558 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
17559
17560Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
17561
17562 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
17563 implementation of setjmp and longjmp for the m88k.
17564 * libc/include/machine/setjmp.h: Added __m88000__ case.
17565
17566Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
17567
17568 * configure.in: Recognize h8300h as variant of h8300.
17569
17570Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17571
17572 * libc/include/sys/unistd.h (read, write): get prototypes right.
17573 (sbrk): New prototype.
17574 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
17575 * libc/stdio/local.h: Include unistd.h.
17576 * libc/machine/h8300/syscalls.c: Names have changed.
17577
17578Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
17579
17580 * configure.in: add sys_dir assignment for m88k-bug.
17581
17582Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
17583
17584 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
17585 a.out or elf.
17586 * libc/sys/sparc64: all *.S files: Use new macros.
17587 * libc/sys/sparc64/isatty.c: New file.
17588 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
17589 functions beyond what newlib provides.
17590
17591Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
17592
17593 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
17594 svr4.
17595
17596Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
17597
17598 * libc/include/machine/ieeefp.h: Add support for h8/300h.
17599
17600Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
17601
17602 * configure.in: add m88k.
17603 * libc/include/machine/ieeefp.h: add case for m88k. Also add
17604 sanity check so no one else need ever chase what I did to find
17605 this.
17606
17607 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
17608
17609Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
17610
17611 * doc/makedoc.c: Include <ctype.h>.
17612
17613Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
17614
17615 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17616 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17617 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17618
17619 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
17620
17621Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
17622
17623 * libc/include/errno.h (ENOSYS): Added.
17624
17625 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
17626
17627Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17628
17629 * libc/stdio/fflush.c (fflush): Check for reent struct
17630 initialization.
17631 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
17632
17633Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
17634
17635 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
17636 out of dtoa.c so it doesn't pollute the namespace.
17637 * libc/include/_syslist.h: new file -- mappings from _function to
17638 function, for systems where we can't win (by default, all of them,
17639 until we start updating system calls.)
17640 * libc/syscalls: new directory -- stubs for exporting _function
17641 names as unmodified function names.
17642 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
17643 _syslist.h on all platforms by default, but put hooks in for
17644 fake_sys_dir so we can include it when we've renamed the system
17645 calls.
17646 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
17647 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
17648 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
17649 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
17650 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
17651 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
17652 non ANSI functions to call _function.
17653
17654Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
17655
17656 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
17657 when base 16 is specified. Don't accept non-digits if radix > 10.
17658
17659Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
17660
17661 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
17662
17663Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
17664
17665 * libc/include/sys/stat.h: Surround text after #endif with
17666 comments.
17667
17668Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
17669
17670 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
17671 _malloc_r, _realloc_r, and free_r call the corresponding
17672 non-reentrant functions.
17673
17674 * libm/math/modf.c (modf): We now take the address of ipart, so
17675 don't make it a register variable.
17676
17677Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
17678
17679 * libm/math/*: Rename all xxx_r fns to _xxx_r.
17680
17681Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
17682
17683 * libc/libc.texinfo and embedded docn throughout: formatting
17684 improvements, minor rephrasing for clarity, and improved
17685 reentrancy docn.
17686
17687Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17688
17689 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
17690
17691 * libc/stdio/cvt.c (_licvt): Print the right value on machines
17692 where sizeof(int) != sizeof(long).
17693
17694Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
17695
17696 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
17697 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
17698 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
17699 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
17700 libm/math/matherr.c: changes for better docn formatting (info).
17701
17702 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
17703 libc/reent/reent.tex, libc/signal/signal.tex,
17704 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
17705 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
17706 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
17707 makeinfo node defaulting to get better Info file node structure.
17708 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
17709 Also include a few formerly missing sections (subroutines).
17710
17711 * doc/doc.str: delete fossil expansion for "func"
17712
17713 * default.menu, no-signal.menu: delete.
17714
17715 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
17c0c97d 17716 method used to adjust doc for missing "signals" chapter when
8a0efa53
CF
17717 signal_dir is empty.
17718
17719Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17720
17721 * configure.in: added testsuite/libm.sac
17722
17723Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
17724
17725 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
17726 code model).
17727
17728Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
17729
17730 * libm/Makefile.in: Use $(MAKE) rather than make, and define
17731 MAKEOVERRIDES to be empty.
17732
17733Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
17734
17735 * configure.in: Don't build mips-*-* with -msoft-float, since that
17736 makes it incompatible with hard floating point.
17737
17738Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17739
17740 * Makefile.in: added recursive 'make check'
17741
17742Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17743
17744 * configure.in: added ./testsuite ./testsuite/libm.paranoia
17745 * ./testsuite/Makefile.in: created
17746 * ./testsuite/libm.paranoia: paranoia tests added
17747
17748Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
17749
17750 * configure.in: For mips-*-* set machine_dir to mips.
17751
17752 * libc/machine/mips: New directory.
17753 * libc/machine/mips/Makefile.in: New file.
17754 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
17755 setjmp and longjmp.
17756 * libc/include/machine/setjmp.h: Added __mips__ case.
17757
17758 * libc/machine/lmips: Removed unused and useless directory.
17759
17760Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
17761
17762 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
17763
17764Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
17765
17766 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
17767 start up).
17768
17769Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
17770
17771 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
17772 SETJMP_H.
17773
17774Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
17775
17776 * libm/test/convert.c: structure member errno -> errno_val.
17777 Must include <errno.h> to use errno, it's a macro now.
17778 * libm/test/math.c: Ditto.
17779 * libm/test/math2.c: Include errno.h.
17780 * libm/test/string.c: Ditto.
17781 * libm/test/test.h: structure member errno -> errno_val.
17782 Remove extern int errno decl.
17783
17784Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
17785
17786 * libc/stdio/Makefile.in: Added dependencies on local header
17787 files.
17788 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
17789 files.
17790
17791Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
17792
17793 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
17794
17795Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
17796
17797 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
17798 Initialize _data.
17799
17800 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
17801 * libc/stdio/local.h: Add prototype for _licvt.
17802
17803 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
17804 instead of malloc,reealloc.
17805
17806 * libc/stdlib/local.h: New file.
17807 * libc/stdlib/efgcvt.c: #include local.h.
17808 (gcvt): Fix call to _gcvt.
17809 * libc/stdlib/ecvtbuf.c: #include local.h.
17810
17811 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
17812 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
17813 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
17814
17815 * libc/stdlib/atexit.c: moved global data to struct _reent.
17816 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
17817
17818 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
17819
17820Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
17821
17822 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
17823 here from ../reent.h.
17824
17825Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
17826
17827 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
17828 should be provided in both libc.a and libm.a.
17829 (libc.a): Depend on targ-include and libm.a. Copy
17830 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
17831 (libm.a): Depend on targ-include.
17832 * configure.in (subdirs): Removed libc/math.
17833
17834Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17835
17836 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
17837
17838Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
17839
17840 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
17841 sys/reent.h instead of reent.h.
17842 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
17c0c97d 17843 headers moved to sys/reent.h.
8a0efa53
CF
17844 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
17845 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
17846 __need__MAX_SIGNALS defined.
17847 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
17848 std{in,out,err} refer to new _std{in,out,err} members.
17849
17850Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
17851
17852 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
17853 case.
17854
17855Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
17856
17857 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
17858 rather than whatever macro seterrno() has.
17859
17860Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
17861
17862 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
17863 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17864
17865 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
17866 __STDC__.
17867
17868 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
17869 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
17870 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17871
17872 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
17873 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17874
17875 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
17876 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
17877 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
17878 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
17879 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
17880 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
17881 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
17882 renamed to _xxx_r. struct reent_struct renamed to struct _reent
17883 for ANSI. structure members given leading "_" for ANSI. Use
17884 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
17885
17886 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
17887 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
17888 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
17889 reent_struct renamed to struct _reent for ANSI.
17890 Structure members given leading "_" for ANSI.
17891 _CONST --> const in prototypes.
17892 Use _HAVE_STDC instead of __STDC__.
17893
17894 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
17895 _xxx_r.
17896 struct reent_struct renamed to struct _reent for ANSI.
17897 Structure members given leading "_" for ANSI.
17898
17899 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
17900 _xxx_r.
17901 struct reent_struct renamed to struct _reent for ANSI.
17902
17903 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
17904 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
17905 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
17906 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
17907 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
17908
17909 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
17910 signal.h, stdio.h, stdlib.h, string.h, time.h}:
17911 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
17912 #ifndef _STRICT_ANSI non-ANSI routines.
17913 Reentrant routines renamed from _r_xxx to _xxx_r.
17914 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
17915 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
17916 Clean up namespace (structure members have leading "_").
17917 struct reent_struct renamed to struct _reent for ANSI compliance.
17918 _CONST --> const in function prototypes.
17919
17920 * libc/include/string.h: Add NULL and size_t.
17921
17922 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
17923 unlink, wait, wait4. Reentrant syscall routines close, fork,
17924 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
17925 write.
17926 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
17927 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
17928 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
17929 write.S}: Define reentrant versions.
17930 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
17931 reentrant syscalls.
17932
17933 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
17934
17935 * libc/include/stdlib.h (RAND_MAX): Fix value.
17936
17937Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
17938
17939 * libc/sys/a29khif/_main.c: Removed unnecessary file.
17940 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
17941 VPATH support targets after all: target.
17942
17943 * stub/mvme135/mvme.S: Renamed exceptionhandler to
17944 exceptionHandler, which is what mvme135-stub.c expects.
17945
17946Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
17947
17948 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
17949
17950 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
17951 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
17952 compliant).
17953
17954Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
17955
17956 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
17957 first.
17958 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
17959 _r_write): Ditto.
17960 libc/reent/fstatr.c (_r_fstat): Ditto.
17961 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
17962 libc/reent/sbrkr.c (_r_sbrk): Ditto.
17963 libc/reent/statr.c (_r_stat): Ditto.
17964
17965 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
17966 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
17967 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
17968 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
17969 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
17970 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
17971 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
17972 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
17973 (__swrite): Ditto for _r_lseek, _r_write.
17974 (__sseek): Ditto for _r_lseek.
17975 (__close): Ditto for _r_close.
17976 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
17977
17978 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
17979 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
17980
17981 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
17982 to make reent_struct the first argument (and thus consistent with
17983 the rest of newlib).
17984
17985 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
17986 reference to __STDC__.
17987
17988Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
17989
17990 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
ba3ccd63 17991 global __cleanup.
8a0efa53
CF
17992
17993Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
17994
17995 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
17996 first.
17997 libc/stdio/fclose.c (fclose): Ditto.
17998
17999Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
18000
18001 * Run through indent and rename reentrant routines for ANSI.
18002 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
18003 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
18004 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
18005 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
18006 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
18007 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
18008 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
18009 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
18010 vsprintf.c wbuf.c wsetup.c local.h}
18011
18012 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
18013
18014 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
18015 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
18016 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
18017 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
18018 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
18019 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
18020
18021 * Run through indent.
18022 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
18023 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
18024 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
18025 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
18026 strxfrm.c}
18027
18028 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
18029 localtime.c mktime.c strftime.c time.c}:
18030 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
18031
18032 * Reformatting + renaming (for ANSI, GNU style, consistency).
18033 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
18034 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
18035 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
18036
18037Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
18038
18039 * libc/include/stdio.h (stdin_r): Fix.
18040
18041Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
18042
18043 * Makefile.in: Unexport some variables to keep GNU make from
18044 putting them in the environment and using up needed ARG_MAX space
18045 (a hack is used to let this work with older makes as well).
18046
18047Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
18048
18049 * Makefile.in: Use $(MAKE) rather than make.
18050 (MAKEOVERRIDES): Define to be empty.
18051 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
18052 (libc.a, libm.a): Depend on targ-include.
18053 * host/any (LD): Don't define.
17c0c97d 18054 (INCLUDES): Use targ-include.
8a0efa53
CF
18055 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
18056 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
18057 * libc/Makefile.in: Use $(MAKE) rather than make.
18058 (MAKEOVERRIDES): Define to be empty.
18059 (FLAGS_TO_PASS): Don't pass LD (it's not used).
18060 (all): Rewrote to be slightly smaller.
18061 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
18062 Define to be empty.
18063 (FLAGS_TO_PASS): Don't pass LD (it's not used).
18064 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
18065
18066Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
18067
18068 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
18069 with errno/errno.c.
18070
18071Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
18072
18073 * Changes for reentrancy.
18074 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
18075 Use ptr->_errno, not errno.
18076 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
18077 libc/stdio/remove.c (remove_r): New function.
18078 libc/stdio/rename.c (rename_r): New function.
18079 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
18080 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
18081 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
18082 reentrant versions of system calls.
18083 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
18084 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
18085 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
18086 libc/stdio/findfp.c: Include <string.h>.
18087 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
18088 "local.h".
18089 libc/stdio/wbuf.c: Include "fvwrite.h"
18090
18091 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
18092 <string.h>.
18093 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
18094 (NULL): Don't define if already defined.
18095 libc/stdlib/system.c: Call reentrant versions of system calls.
18096 (system_r): New function.
18097
18098 * Changes for reentrancy.
18099 libc/include/_ansi.h (_PARAMS): New macro.
18100 libc/include/errno.h: Define errno as a macro that calls __errno.
18101 (__errno_r): New macro for reentrant code.
18102 libc/include/math.h: Include reent.h. Declare many reentrant
18103 functions.
18104 (signgam): Now a macro, not a variable.
18105 (struct exception): Added err field.
18106 libc/include/reent.h: Don't declare __sglue. Added function
18107 declarations.
18108 (struct reent_struct): Moved errno to beginning. Added _signgam.
18109 libc/include/stdio.h, libc/include/stdlib.h: Added function
18110 declarations.
18111
18112 * More reentrancy hacking.
18113 libc/errno/errno.c (__errno): New function.
18114 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
18115 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
18116 files.
17c0c97d 18117
8a0efa53
CF
18118 * Added many new reentrant functions to libm/math/*.
18119 libm/math/error.c (__matherror): Added reent_struct pointer
18120 argument. Changed all callers.
18121 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
18122 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
18123 libm/math/tan.h: Removed obsolete unused header files.
18124
18125 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
18126
18127 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
18128
18129Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18130
18131 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
18132 delay slots.
18133
18134Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
18135
ba3ccd63 18136 * libc/libc.texinfo: comment out reentrancy chapter (duh)
8a0efa53
CF
18137
18138Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
18139
ba3ccd63 18140 * libc/reent/reent.tex: New file. (text from
8a0efa53
CF
18141 newlib/libc/libc.texinfo)
18142 * libc/stdio/tmpnam.c: fixed doc typo
18143 * libc/stdlib/rand.c: fixed doc typo
18144
18145Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
18146
ba3ccd63 18147 * libc/reent/reent.tex: New file. (text from
8a0efa53
CF
18148 newlib/libc/libc.texinfo)
18149
18150Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18151
18152 support for reentrancy
18153 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
18154 new files
18155 * libc/errno/errno.c, libc/include/ieeefp.h,
18156 libc/include/locale.h, libc/include/reent.h,
18157 libc/include/signal.h, libc/include/stdio.h,
18158 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
18159 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
18160 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
18161 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
18162 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
18163 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
18164 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
18165 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
18166 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
18167 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
18168 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
18169 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
18170 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
18171 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
18172 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
18173 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
18174 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
18175 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
18176 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
18177 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
18178 libc/time/strftime.c: modify to provide reentracy.
18179
18180 new routines:
18181 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
18182 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
18183 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
18184 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
18185 mstats_r, realloc_r, localeconv_r, setlocale_r
18186
18187Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
18188
18189 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
18190 libc/include/sys/config.h, libc/include/sys/signal.h,
18191 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
18192 provided macros (such as m68000), use the ansi version
18193 (__m68000__) so that the library can be used with code compiled
18194 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
18195 and sparc.
18196
18197Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
18198
18199 * configure.in (sparc*): Don't set -fsoft-float for sparc
18200 configurations. Do set -fsoft-float for sparclite configurations.
18201
18202Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
18203
18204 * default.menu, no-signal.menu: alternate forms of libc main menu
ba3ccd63 18205 (in newlib rather than newlib/libc due to configuration restrictions)
8a0efa53
CF
18206
18207 * configure.in: select one of the two menus above, link to
18208 libc.menu
18209
ba3ccd63 18210 * libc/libc.texinfo: include menu from separate file
8a0efa53
CF
18211
18212Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
18213
18214 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
18215 (info): Split long shell command in half.
17c0c97d
EB
18216 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
18217 sub-makes, just CHEW and TARGETDOC.
8a0efa53
CF
18218 (targetdep.tex): Removed now special handling of sys and machine
18219 subdirectories, made obsolete some time ago.
18220 * libc/machine/Makefile.in (doc): Don't pass everything to
18221 sub-make, just CHEW and TARGETDOC.
18222 (Makefile): New target.
18223 * libc/sys/Makefile.in (Makefile): New target.
18224
18225Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
18226
18227 * Makefile.in (here and most subdirectories): Only pass down CHEW
18228 and TARGETDOC when making info, not for other targets.
18229
18230 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
18231 $(AR_FLAGS) rather than $(ARUPDATE).
18232
18233Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
18234
18235 * Try to reduce command line length:
18236 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
18237 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
18238 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
18239 (info): Pass CHEW to other subdirs.
18240
18241Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
18242
18243 * configure.in: add signal_dir, like unix_dir, but by default it
18244 is set to "signal" so that a29khif can turn it off (since a29khif
18245 has raise() as part of machine-specific signal.s.)
18246
18247Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18248
18249 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
18250 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
18251 correctly.
18252 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
18253 libc/stdio/vfprintf: type lint.
18254 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
18255 initialzation code.
18256 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
18257
18258Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
18259
18260 * stub/mvme135/mvme135-asm.S: new file.
18261 stub/mvme135mvme135-stub.c: moved all assembler routines into
18262 mvme135-asm.S.
18263 stub/mvme135/Makefile.in: build mvme135-stub.o.
18264
18265Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
18266
18267 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
18268 sub-Makefiles instead, to try to avoid line length limitations.
18269
18270Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
18271
18272 * libc/include/unistd.h (read, write): Use void* instead of
18273 char*.
18274
18275Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
18276
18277 * stub/go32/resetpc: sample script to send a reset packet to the
18278 stub
18279
18280 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
18281 DOS environment, which compiles with Turbo C.
18282
18283 * stub/go32/DSER32.LNK: new file, linker commands for serial
ba3ccd63 18284 remote stub.
8a0efa53
CF
18285
18286 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
18287 start up message to identify version; call set_debug_traps.
18288
18289 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
18290 keyboard interaction); call handle_exception() in go_til_stop,
18291 rather than return, so that the remote stub gets control.
18292
18293 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
18294 rename, rather than mv), set flags that work with current Turbo C,
18295 including using the /3 flag; also, add commands to build dser32.
18296
18297 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
18298 default Turbo C installation (\tc rather than \usr)
18299
18300 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
ba3ccd63 18301 "&..."
8a0efa53
CF
18302
18303Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18304
18305 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
18306
18307Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18308
18309 * libc/stdio/cvt.c (licvt): new function to convert ints when
18310 sizeof(int) != sizeof(long).
18311
18312 * libc/include/stdio.h: added prototype for iprintf.
18313 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
18314
18315Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
18316
18317 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
18318 __REGISTER_PREFIX__.
18319
18320Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
18321
18322 * libc/sys/m68kbare: moved into stub directory.
18323
18324Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
18325
18326 * configure.in, Makefile.in: created new directory stub, to hold
18327 sample code for specific targets.
18328
18329Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
18330
18331 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
18332 in the unified libc/include/sys/fcntl.h.
18333
18334Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
18335
18336 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
18337 printed .01, not 0.01.
18338
18339Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
18340
18341 * configure.in: compile with -m68000 for m68* targets.
18342
18343Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
18344
18345 * libm/math/remainder.c (remainder): document the svr4 and sunos
18346 references used to construct the function.
18347
18348Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
18349
18350 * libm/math/remainder.c (rint, remainder): fix old typos.
18351 * libm/math/Makefile.in: actually build remainder.c (functions
18352 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
18353 page.)
18354
18355Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
18356
18357 * libc/string/bcopy.c: BSD version works on overlapping strings,
18358 so ours should too.
18359
18360 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
18361 ("SHELL").
18362
18363Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
18364
18365 * Makefile.in (docs): new target.
18366
18367Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
18368
18369 * libc/include/sys/times.h: define clock_t as required by POSIX.
18370 libc/include/time.h: protect clock_t from multiple definitions.
18371
18372Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18373
18374 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
18375 does not need more than the original three iterations to get
18376 within 1 ulp. (Paranoia tests for rounding to better than that,
18377 but further iterations *don't* help, only more subtle changes
18378 can.)
18379
18380Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
18381
18382 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
18383 were doing nothing useful.
18384
18385Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
18386
18387 * configure.in: define MALLOC_PROVIDED for vxworks targets;
18388 removed sys_dir settings of vxworks68 and vxworks960.
18389 host/any: don't pass -nostdinc to gcc, since newlib no longer
18390 provides all required header files.
18391
18392 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
18393 is not defined; this provides a hook for VxWorks.
18394
18395Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18396
18397 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
18398 buffer if buf is NULL, don't do it here -- it is already being
18399 done by makebuf elsewhere in stdio.
18400
18401Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
18402
18403 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
18404 that C programs can call functions without using initial
18405 underscores.
18406
18407Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
18408
18409 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
18410
18411Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
18412
18413 * configure.in: set TARGET_CFLAGS for certain CPU types to
18414 -msoft-float.
18415
18416Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
18417
18418 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
18419
18420Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
18421
18422 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
18423 m68k*-unknown-coff.
18424
18425Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
18426
18427 * libc/include/stdio.h: define __need___va_list before including
18428 <stdarg.h>, to avoid defining va_arg, et. al.
18429
18430Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
18431
18432 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
18433 (don't cd to the user's home directory).
18434
18435 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
18436 In general this is the wrong thing to do, but I can't get around
18437 GNU make's insistence on passing command line arguments any other
18438 way.
18439
18440Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
18441
18442 * configure.in: always configure the libc/sys directory, since it
18443 now provides a required documentation file.
18444
18445 * Makefile.in: replaced all instances of $(MAKE) with make. In
18446 general this is the wrong thing to do, but I can't get around GNU
18447 make's insistence on passing command line arguments any other way.
18448
18449Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
18450
18451 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
18452 terminated.
18453
18454 * libc/stdio/local.h: include <stdarg.h> to define va_list.
18455 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
18456
18457 * libc/include/float.h, libc/include/stdarg.h,
18458 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
18459 versions instead.
18460 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
18461 <stdarg.h>, not from <machine/types.h>. Protect definition of
18462 NULL.
18463 libc/include/time.h: get size_t from stddef.h. Protect definition
18464 of NULL.
18465 libc/include/machine/limits.h: override gcc <limits.h> by defining
18466 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
18467 get correct INT_MIN and LONG_LONG values.
18468 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
18469 size_t or va_list at all; they're now gotten from stddef.h
18470 instead.
18471 libc/include/machine/varargs.h: removed; use gcc version instead.
18472 libc/include/sys/types.h: explicitly include <machine/types.h>.
18473
18474 * libm/math/sqrt.h: using the fp-bit routines appears to require
18475 more iterations.
18476
18477 * Makefile.in, host/any: let system include files override machine
18478 include files.
18479
18480Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18481
18482 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
18483 override _*_T_ definitions defaulted here.
18484
18485Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
18486
18487 * Makefile.in (install): install the include files in
18488 $(tooldir)/include, not $(exec_prefix)/include.
18489
18490Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
18491
18492 * Makefile.in (install): fixed typo, and changed install to not
18493 force rebuild of libc.a and libm.a.
18494
18495Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
18496
18497 * libc/sys/a29khif/*: Changed all .include's to include
18498 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
18499 that they will be installed for the user.
18500
18501 * Makefile.in (all): create targ-include, a directory holding the
18502 machine and system specific header files during the build.
18503 (install): fixed installation of machine and system specific
18504 header files.
18505
18506 * Makefile.in: fixed comment.
18507 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
18508 we can pass $(INCLUDES) to it.
18509
18510Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
18511
18512 * libc/include/sys/param.h: new generic file, which may be
18513 overridden for specific systems.
18514
18515 * libc/include/sys/signal.h: define all ANSI signal names, and
18516 NSIG (which is not ANSI) for a29k.
18517
18518Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
18519
18520 * Makefile.in: don't pass down arguments the lower level makes
18521 will not need.
18522 * libc/Makefile.in: recurse directly, rather than using subdir_do,
18523 in hopes of avoiding argument length limits.
18524 * libm/Makefile.in: recurse directly, rather using subdir_do, in
18525 hopes of avoiding argument length limits.
18526
18527Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
18528
18529 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
18530 mode_t is defined.
18531
18532Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
18533
18534 * Fixed make info and make install-info for newlib, changing most
18535 Makefile.in and several *.tex files. Moved doc directory from
18536 libc to top level.
18537
18538 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
18539 Should be rewritten.
18540
18541 * libc/string/strings.tex: renamed node index to node index
18542 function, so that it does not conflict with the top level index
18543 node.
18544
18545 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
18546
18547Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
18548
18549 * Overhauled general configuration for newlib. Eliminated all
18550 target dependent Makefile fragments. Create libraries in newlib
18551 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
18552 than CROSS_CC, et. al. Broke make docs; will fix later.
18553
18554 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
18555 Should be rewritten.
18556
18557Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
18558
18559 * libc/configure.in: cleaned up somewhat; switch on ${target}
18560 rather than ${target_alias}.
17c0c97d 18561 * libm/configure.in: cleaned up somewhat; switch on ${target}
8a0efa53
CF
18562 rather than ${target_alias}.
18563
18564 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
18565 * libc/include/ctype.h: marked _ctype_ as _CONST.
18566
18567 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
18568 _CONST.
18569
18570 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
18571 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
18572 libc/stdio/gets.c (gets): removed non-ANSI warning message.
18573 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
18574
18575 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
18576 bigtens, tinytens): marked arrays _CONST.
18577 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
18578 rather than a static variable.
18579
18580 * libc/time/asctime.c (asctime), libc/time/localtime.c
18581 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
18582 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
18583 mname_len, mname): Marked static arrays _CONST.
18584
18585 * libm/math/gamma.h: made local variables non-static.
18586
18587 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
18588 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
18589 _CONST.
18590
18591 * libm/math/constants.c: removed file, because the constants it
18592 defined were never referenced.
18593 libm/math/Makefile.in: removed references to constants.c.
18594 libm/math/mathimpl.h: removed declarations of constants.
18595
18596Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
18597
18598 * libc/include/machine/varargs.h: only call __builtin_saveregs if
18599 it is sensibly defined in libgcc2. Checks preprocessor defines,
18600 which is not a good solution.
18601
18602 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
18603
18604 * libm/frexp.c: handle denormalized numbers as arguments.
18605
18606 * libm/math/Makefile.in: added some dependencies for .c files
18607 which include local .h files.
18608
18609Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
18610
18611 * libc/configure.in: set target_alias for OSE*. Replace
18612 target_makefile_frag if it is blank.
18613
18614 * libc/Makefile.in: make sure everything is passed to subsidiary
18615 makes; create all directories when installing.
18616
18617 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
18618 CROSS_ARUPDATE instead of AR.
18619
18620 * libm/configure.in: set target_alias for OSE*. Replace
18621 target_makefile_frag if it is blank.
18622
18623 * libm/Makefile.in: make sure everything is passed to subsidiary
18624 makes; create all directories when installing.
18625
18626Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
18627
ba3ccd63 18628 * add following change from libc copy.
8a0efa53
CF
18629
18630Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18631
18632 * libc/libc.texinfo: make copyright disclaimers appear on back of
18633 title page; make format of same slightly less ugly; avoid using
18634 underbars in section headings (avoids nasty texinfo bug in table
18635 of contents).
18636
18637 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
18638 comments only) avoid using underbars in section headings
18639
18640 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
18641 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
18642 changes in comments only): shorten headings ieeefp/infinity.c,
18643 ieeefp/isnan.c: (doc, comments only) more informative headings
18644
18645 * libc/math/bessel.c: (doc, comments only) shorten heading
18646
18647 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
18648 (doc, comments only) shorten headings
18649
18650 * libc/time/localtime.c (doc, comments only): shorten headings
18651
18652 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
18653 isnan
18654 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
18655 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
18656 headings
18657 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
18658 only) more informative headings
18659 * libm/math/bessel.c: (doc, comments only) shorten heading
18660
18661Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18662
18663 * .../Makefile.in: use CROSS_ARUPDATE consistently.
18664 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
18665 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
18666 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
18667 defined, the one from the .mt file will be correct.
18668 * libc/include/machine, libc/include/sys: created, and populated
18669 with common files from machine/*/machine. ifdefs were used for
18670 most, typically by handling exceptions first and then filling in
18671 defaults. Files with D.J. Delorie copyright #included rather than
18672 copied. Most files in include/sys really were the same in the
18673 original.
18674 * libc/include/...: cleaned up use of _EXFUN.
18675 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
18676 it with double quotes, not angles.
18677
18678Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
18679
18680 * libc/Makefile.in: always create installation directories.
18681
18682Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
18683
18684 * libc/configure.in: handle host properly (using canonical
18685 triples), better error message for the case of target not found
18686
18687Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
18688
18689 * libc/Makefile.in (insincdir): Ensure this directory exists
18690 before attempting installation.
18691
18692Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18693
18694 * libc/stdlib/assert.c: now calls abort like it should
18695 * libc/sys/a29khif: many many patches for 29khif work
18696 * libc/machine/i386: gnulib2 expanded there.
18697
18698Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18699
ba3ccd63 18700 Added accurate fp conversion routines to stdlib, moved dcvt from
8a0efa53
CF
18701 stdio to stdlib and called it ecvtbuf:
18702 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
18703 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
18704 routines
18705 * libc/libc.texinfo: Modifed to include the copyright info from
18706 the mprec files
18707 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
18708 * libc/test/ : many vector which tested for the implementation
18709 defined returns of strange conversion requests have been updated
18710 to relflect the new implementation
18711
18712Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18713
18714 * libc/libc.texinfo: new chapter on variable arg lists
18715 (stdarg.h/varargs.h)
18716 * libc/libc.texinfo: new title
18717 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
18718 (doc only) shorter headings for better formatting.
18719
18720Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18721
18722 * libc/libc.texinfo: three more info menu entries
18723 * libc/locale/locale.tex: new chapter
18724 * libc/locale/locale.c: new doc for setlocale, localeconv
18725 * libc/locale/Makefile.in: use new locale doc
18726 * libc/signal/signal.tex: new chapter
18727 * libc/signal/raise.c, libc/signal/signal.c: new doc
18728 * libc/signal/Makefile.in: use new doc
18729 * libc/time/time.tex: new chapter
18730 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
18731 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
18732 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
18733 * libc/time/Makefile.in: use new doc
18734
18735Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18736
18737 * libm/math/log1p.c: split to use the new function way of float
18738 function definition. math/log1p.h deleted
18739 * libm/math/scalb.c: obsolete and deleted
18740 * libm/math/scalbn.c: created from part log1p.c
18741 * libm/math/Makefile.in: know about log1p and scalbn
18742
18743Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18744
18745 * libc/ctype/isupper.c: revise doc;
18746 libc/ctype/ctype.tex: use doc from isupper.c
18747
18748 * libc/string/bzero.c: new doc
18749
18750Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18751
18752 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
18753 new doc
18754 * libc/stdlib/Makefile.in: extract new doc
18755 * libc/stdlib/stdlib.tex: use new doc
18756
18757 * libc/string/strerror.c: expanded doc.
18758
18759 * libc/stdio/Makefile.in: extract doc from more files
18760 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
18761 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
18762 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
18763 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
18764 libc/stdio/vsprintf.c: new doc
18765 * libc/stdio/stdio.tex: use new doc
18766
18767Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18768
18769 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
18770 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
18771 finitef functions.
18772 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
18773 time ago.
18774
18775 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
18776 * libc/stdio/setbuf.c: added ansi style definition.
18777 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
18778 buffer if none provided.
18779 * libc/stdio/tmpfile.c: lint
18780 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
18781 rather than using static, also make sure file isn't already
18782 present. Uses P_tmpdir. (tempnam): rewritten to use new
18783 subroutine, and uses P_tmpdir.
18784 * libc/stdio/siprintf.c: created
18785
18786Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18787
18788 Release 1.03 for NEC, major mods. Main differences from release
18789 1.02::
18790
18791 More tests in test/:
18792 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
18793 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
18794 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
18795 get/set mask, get/set sticky and get/set roundtoi. Tests
18796 that setting the bits changes the way arithmetic is done.
18797 * string.c: added test to make sure memcmp does it with unsigned
18798 chars.
18799 * test.c: cleaned up and removed lint.
18800 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
18801 dvec.c: tests for string to value conversions, sprintf, scanf,
18802 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
18803 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
18804 rounding in sprintf too.
18805 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
18806 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
18807 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
18808 and function form.
18809 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
18810 powf
18811
18812 In the library:
18813 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
18814 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
18815 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
18816 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
18817 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
18818 than sprintf.
17c0c97d 18819 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
8a0efa53
CF
18820 * Method of producting float versions of double functions has
18821 changed, functions will be modified gradually. So far:
18822 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
18823 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
18824 altered
18825 * libc/string/memcmp.c: now uses unsigned chars
18826 * libc/string/bcmp.c, libc/string/strcpy.c,
18827 libc/stsring/strxfrm.c: fixed doc
18828 * libc/sys/sysvnecv70.tex: fix example of sbrk code
18829\f
18830Local Variables:
18831version-control: never
18832End:
This page took 2.190561 seconds and 5 git commands to generate.